Fix ppc64 single step over atomic sequence testcase.
[platform/upstream/binutils.git] / gdb / testsuite / ChangeLog
1 2014-04-01  Anton Blanchard  <anton@samba.org>
2
3         * gdb.arch/ppc64-atomic-inst.c: Remove.
4         * gdb.arch/ppc64-atomic-inst.S: New file.
5         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6
7 2014-03-31  Doug Evans  <dje@google.com>
8
9         * gdb.base/print-symbol-loading-lib.c: New file.
10         * gdb.base/print-symbol-loading-main.c: New file.
11         * gdb.base/print-symbol-loading.exp: New file.
12
13 2014-03-31  Yao Qi  <yao@codesourcery.com>
14
15         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16
17 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
18
19         * gdb.ada/mi_dyn_arr: New testcase.
20
21 2014-03-27  Doug Evans  <dje@google.com>
22
23         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
24
25 2014-03-27  Yao Qi  <yao@codesourcery.com>
26
27         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
28         if target is nios2-*-*.
29
30 2014-03-26  Yao Qi  <yao@codesourcery.com>
31
32         * lib/gdb.exp (readline_is_used): New proc.
33         * gdb.base/completion.exp: Move tests on command complete up.
34         Skip the rest of tests if readline is not used.
35         * gdb.ada/complete.exp: Skp the test if readline is not
36         used.
37         * gdb.base/filesym.exp: Likewise.
38         * gdb.base/macscp.exp: Likewise.
39         * gdb.base/readline-ask.exp: Likewise.
40         * gdb.base/readline.exp: Likewise.
41         * gdb.python/py-cmd.exp: Likewise.
42         * gdb.trace/tfile.exp: Likewise.
43
44 2014-03-26  Yao Qi  <yao@codesourcery.com>
45
46         * gdb.base/macscp.exp: Fix code format issues.
47
48 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
49
50         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
51         * gdb.asm/powerpc64le.inc: New file.
52
53 2014-03-25  Pedro Alves  <palves@redhat.com>
54             Doug Evans  <dje@google.com>
55
56         * gdb.base/source-execution.c: New file.
57         * gdb.base/source-execution.exp: New file.
58         * gdb.base/source-execution.gdb: New file.
59
60 2014-03-24  Doug Evans  <dje@google.com>
61
62         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
63         using fission.
64
65 2014-03-24  Hui Zhu  <hui@codesourcery.com>
66             Pedro Alves  <palves@redhat.com>
67
68         PR breakpoints/16101
69         * gdb.base/dprintf.exp: Use unsupported rather than changing the
70         test pass/fail messages.  Detect missing support for dprintf when
71         breakpoints are actually inserted.
72         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
73         breakpoints are actually inserted.
74         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
75         fails.
76
77 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
78
79         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
80
81 2014-03-22  Doug Evans  <xdje42@gmail.com>
82
83         * gdb.python/python.exp (python not supported): Verify multi-line
84         python command issues an error.
85         * gdb.guile/guile.exp (guile not supported): Verify multi-line
86         guile command issues an error.
87
88 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
89
90         * gdb.threads/thread-specific.exp: Handle the lack of usable
91         $this_breakpoint and $this_thread.
92
93 2014-03-21  Hui Zhu  <hui@codesourcery.com>
94
95         * gdb.base/attach.exp (do_command_attach_tests): New.
96
97 2014-03-20  Tom Tromey  <tromey@redhat.com>
98             Pedro Alves  <palves@redhat.com>
99
100         PR cli/15718
101         * gdb.base/condbreak-call-false.c: New file.
102         * gdb.base/condbreak-call-false.exp: New file.
103
104 2014-03-20  Pedro Alves  <palves@redhat.com>
105
106         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
107         Delete.
108         (block_signals, unblock_signals): Delete.
109         (child_function_2, main): Remove references to deleted variable
110         and functions.
111
112 2014-03-20  Pedro Alves  <palves@redhat.com>
113
114         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
115         Use pthread_kill to signal thread 2.
116         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
117         Adjust to make the test send itself a signal rather than using the
118         host's "kill" command.
119
120 2014-03-20  Pedro Alves  <palves@redhat.com>
121
122         * gdb.threads/multiple-step-overs.c: New file.
123         * gdb.threads/multiple-step-overs.exp: New file.
124         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
125         Adjust expected infrun debug output.
126
127 2014-03-20  Pedro Alves  <palves@redhat.com>
128
129         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
130         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
131
132 2014-03-20  Pedro Alves  <palves@redhat.com>
133
134         PR breakpoints/7143
135         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
136         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
137         of gdb_test_multiple.
138         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
139         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
140
141 2014-03-20  Pedro Alves  <palves@redhat.com>
142
143         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
144         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
145
146 2014-03-19  Pedro Alves  <palves@redhat.com>
147
148         * gdb.base/async.exp: Remove early return.
149
150 2014-03-19  Pedro Alves  <palves@redhat.com>
151
152         * gdb.base/async.exp (step& tests): Pass explicit test messages.
153
154 2014-03-19  Pedro Alves  <palves@redhat.com>
155
156         * gdb.base/async.exp (test_background): Expect \r\n after
157         "completed." in the fail pattern.
158
159 2014-03-19  Pedro Alves  <palves@redhat.com>
160
161         * gdb.base/async.exp (test_background): New procedure.
162         Use it for all background execution command tests.
163
164 2014-03-19  Pedro Alves  <palves@redhat.com>
165
166         * gdb.base/async.exp: Use prepare_for_testing.
167
168 2014-03-19  Pedro Alves  <palves@redhat.com>
169
170         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
171         the same line.
172
173 2014-03-19  Pedro Alves  <palves@redhat.com>
174
175         * gdb.base/async.c (main): Add "jump here" and "until here" line
176         marker comments.
177         * gdb.base/async.exp (jump_here): New global.
178         (jump& test): Use it.
179         (until_here): New global.
180         (until& test): Use it.
181
182 2014-03-19  Pedro Alves  <palves@redhat.com>
183
184         * gdb.base/async.exp: Don't frob gdb_protocol.
185
186 2014-03-18  Doug Evans  <xdje42@gmail.com>
187
188         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
189         Fix spelling of exec-done-display.
190
191 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
192
193         PR gdb/15358
194         * gdb.base/gdb-sigterm.c: New file.
195         * gdb.base/gdb-sigterm.exp: New file.
196
197 2014-03-18  Pedro Alves  <palves@redhat.com>
198
199         PR gdb/13860
200         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
201         * lib/mi-support.exp (mi_expect_stop): Add special handling for
202         solib-event.
203
204 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
205
206         * gdb.ada/pckd_arr_ren: New testcase.
207
208 2014-03-13  Doug Evans  <xdje42@gmail.com>
209
210         PR guile/16612
211         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
212         collect after discarding symbols.
213
214 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
215             Doug Evans  <xdje42@gmail.com>
216
217         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
218         to history survives a gc.
219
220 2014-03-13  Pedro Alves  <palves@redhat.com>
221
222         * gdb.base/default.exp: Don't test "target procfs".
223
224 2014-03-13  Pedro Alves  <palves@redhat.com>
225
226         * gdb.base/default.exp: Update "target child" and "target procfs"
227         tests to not expect "Unix".
228
229 2014-03-12  Tom Tromey  <tromey@redhat.com>
230
231         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
232         New procs.  Add target-async tests.
233         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
234         Add target-async tests.
235
236 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
237
238         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
239         'func_start' and 'func_end' for the beginning and end of the
240         function code, respectively.
241         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
242         'func_end' instead of 'func' and 'main'.
243
244 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
245
246         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
247         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
248         generate the debug info assembler source.
249
250 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
251
252         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
253         * gdb.dwarf2/arr-subrange.exp: Likewise.
254         * gdb.dwarf2/dwz.exp: Likewise.
255         * gdb.dwarf2/method-ptr.exp: Likewise.
256         * gdb.dwarf2/missing-sig-type.exp: Likewise.
257         * gdb.dwarf2/subrange.exp: Likewise.
258         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
259         * gdb.dwarf2/implptrpiece.exp: Likewise.
260         * gdb.dwarf2/nostaticblock.exp: Likewise.
261
262 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
263
264         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
265         directory to absolute path name arguments.
266
267 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
268
269         * gdb.ada/tagged_access: New testcase.
270
271 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
272
273         * gdb.btrace/data.exp: Update expected output.
274
275 2014-03-06  Yao Qi  <yao@codesourcery.com>
276
277         * gdb.trace/pr16508.exp: New file.
278
279 2014-03-05  Pedro Alves  <palves@redhat.com>
280
281         PR gdb/16575
282         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
283         procedure.
284         (top level): Adjust to use it.  Add tests that exercise breakpoint
285         interaction with the code-cache.
286
287 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
288
289         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
290         test for 'history-append!'.
291
292 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
293
294         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
295         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
296         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
297         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
298         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
299         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
300
301 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
302
303         * testsuite/gdb.python/py-pp-re-notag.c: New file.
304         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
305         * testsuite/gdb.python/py-pp-re-notag.p: New file.
306
307 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
308
309         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
310
311 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
312
313         * gdb.dwarf2/arr-stride.c: New file.
314         * gdb.dwarf2/arr-stride.exp: New file.
315
316 2014-02-26  Pedro Alves  <palves@redhat.com>
317
318         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
319         that won't ever trigger.  Make sure that GDB reports the correct
320         breakpoint that caused the stop.
321
322 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
323
324         PR gdb/16626
325         * gdb.base/auto-load-script: New file.
326         * gdb.base/auto-load.c: New file.
327         * gdb.base/auto-load.exp: New file.
328
329         PR gdb/16626
330         * gdb.base/auto-load.exp: Fix out-of-srctree run.
331
332 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
333
334         Fix dw2-icycle.exp -fsanitize=address GDB crash.
335         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
336
337 2014-02-24  Doug Evans  <dje@google.com>
338
339         * lib/gdb.exp (run_on_host): Log error output if program fails.
340
341 2014-02-21  Pedro Alves  <palves@redhat.com>
342
343         * gdb.threads/step-after-sr-lock.c: Rename to ...
344         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
345         * gdb.threads/step-after-sr-lock.exp: Rename to ...
346         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
347         ... this.
348
349 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
350
351         PR tdep/16397
352         * gdb.arch/amd64-stap-special-operands.exp: New file.
353         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
354         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
355         * gdb.arch/amd64-stap-triplet.S: Likewise.
356         * gdb.arch/amd64-stap-triplet.c: Likewise.
357
358 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
359
360         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
361         in .section pseudo-op.
362
363 2014-02-20  lin zuojian  <manjian2006@gmail.com>
364             Joel Brobecker  <brobecker@adacore.com>
365             Doug Evans  <xdje42@gmail.com>
366
367         PR symtab/16581
368         * gdb.dwarf2/dw2-icycle.S: New file.
369         * gdb.dwarf2/dw2-icycle.c: New file.
370         * gdb.dwarf2/dw2-icycle.exp: New file.
371
372 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
373
374         * gdb.python/py-value-cc.cc: Improve test case to enable testing
375         operations on gdb.Value objects.
376         * gdb.python/py-value-cc.exp: Add new test to test operations on
377         gdb.Value objects.
378
379 2014-02-18  Doug Evans  <dje@google.com>
380
381         * Makefile.in (TESTS): New variable.
382         (expanded_tests, expanded_tests_or_none): New variables
383         (check-single): Pass $(expanded_tests_or_none) to runtest.
384         (check-parallel): Only run tests in $(TESTS) if non-empty.
385         (check/no-matching-tests-found): New rule.
386         * README: Document TESTS makefile variable.
387
388 2014-02-18  Doug Evans  <dje@google.com>
389
390         * Makefile.in (check-parallel): rm -rf outputs temp.
391
392 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
393
394         Fix "ERROR: no fileid for" in the testsuite.
395         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
396
397 2014-02-12  Doug Evans  <dje@google.com>
398
399         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
400         (MISCELLANEOUS): New variable.
401         (clean): rm -rf $(MISCELLANEOUS).
402         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
403         dwp live in the same directory as symlinks, with each symlink pointed
404         to a differently named file in a different directory.
405
406 2014-02-11  Doug Evans  <dje@google.com>
407
408         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
409         of Tcl file commands.
410
411 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
412
413         * gdb.threads/step-after-sr-lock.exp: Avoid executing
414         "kill -SIGUSR1 -1".
415
416 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
417
418         * gdb.ada/tick_length_array_enum_idx: New testcase.
419
420 2014-02-10  Doug Evans  <xdje42@gmail.com>
421
422         * configure.ac (AC_OUTPUT): Add gdb.guile.
423         * configure: Regenerate.
424         * lib/gdb-guile.exp: New file.
425         * lib/gdb.exp (get_target_charset): New function.
426         * gdb.base/help.exp: Update expected output from "apropos apropos".
427         * gdb.guile/Makefile.in: New file.
428         * gdb.guile/guile.exp: New file.
429         * gdb.guile/scm-arch.c: New file.
430         * gdb.guile/scm-arch.exp: New file.
431         * gdb.guile/scm-block.c: New file.
432         * gdb.guile/scm-block.exp: New file.
433         * gdb.guile/scm-breakpoint.c: New file.
434         * gdb.guile/scm-breakpoint.exp: New file.
435         * gdb.guile/scm-disasm.c: New file.
436         * gdb.guile/scm-disasm.exp: New file.
437         * gdb.guile/scm-equal.c: New file.
438         * gdb.guile/scm-equal.exp: New file.
439         * gdb.guile/scm-error.exp: New file.
440         * gdb.guile/scm-error.scm: New file.
441         * gdb.guile/scm-frame-args.c: New file.
442         * gdb.guile/scm-frame-args.exp: New file.
443         * gdb.guile/scm-frame-args.scm: New file.
444         * gdb.guile/scm-frame-inline.c: New file.
445         * gdb.guile/scm-frame-inline.exp: New file.
446         * gdb.guile/scm-frame.c: New file.
447         * gdb.guile/scm-frame.exp: New file.
448         * gdb.guile/scm-generics.exp: New file.
449         * gdb.guile/scm-gsmob.exp: New file.
450         * gdb.guile/scm-iterator.c: New file.
451         * gdb.guile/scm-iterator.exp: New file.
452         * gdb.guile/scm-math.c: New file.
453         * gdb.guile/scm-math.exp: New file.
454         * gdb.guile/scm-objfile-script-gdb.in: New file.
455         * gdb.guile/scm-objfile-script.c: New file.
456         * gdb.guile/scm-objfile-script.exp: New file.
457         * gdb.guile/scm-objfile.c: New file.
458         * gdb.guile/scm-objfile.exp: New file.
459         * gdb.guile/scm-ports.exp: New file.
460         * gdb.guile/scm-pretty-print.c: New file.
461         * gdb.guile/scm-pretty-print.exp: New file.
462         * gdb.guile/scm-pretty-print.scm: New file.
463         * gdb.guile/scm-section-script.c: New file.
464         * gdb.guile/scm-section-script.exp: New file.
465         * gdb.guile/scm-section-script.scm: New file.
466         * gdb.guile/scm-symbol.c: New file.
467         * gdb.guile/scm-symbol.exp: New file.
468         * gdb.guile/scm-symtab-2.c: New file.
469         * gdb.guile/scm-symtab.c: New file.
470         * gdb.guile/scm-symtab.exp: New file.
471         * gdb.guile/scm-type.c: New file.
472         * gdb.guile/scm-type.exp: New file.
473         * gdb.guile/scm-value-cc.cc: New file.
474         * gdb.guile/scm-value-cc.exp: New file.
475         * gdb.guile/scm-value.c: New file.
476         * gdb.guile/scm-value.exp: New file.
477         * gdb.guile/source2.scm: New file.
478         * gdb.guile/types-module.cc: New file.
479         * gdb.guile/types-module.exp: New file.
480
481 2014-02-10  Yao Qi  <yao@codesourcery.com>
482
483         PR testsuite/16543
484         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
485         * configure: Regenerated.
486         * Makefile.in: New file.
487
488 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
489
490         * gdb.python/py-framefilter.exp: Fix typo.
491
492 2014-02-08  Yao Qi  <yao@codesourcery.com>
493
494         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
495         that no =breakpoint-modified is emitted when breakpoints are
496         modified through MI commands.
497
498 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
499             Pedro Alves  <palves@redhat.com>
500
501         * gdb.threads/step-after-sr-lock.c: New file.
502         * gdb.threads/step-after-sr-lock.exp: New file.
503
504 2014-02-07  Pedro Alves  <palves@redhat.com>
505
506         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
507
508 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
509
510         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
511         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
512
513 2014-02-06  Doug Evans  <xdje42@gmail.com>
514
515         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
516         output.
517
518         * gdb.gdb/python-interrupts.exp: New file.
519
520 2014-02-05  Yao Qi  <yao@codesourcery.com>
521
522         * gdb.trace/report.exp (use_collected_data): Test the output
523         of "info threads" and "info inferiors".
524
525 2014-02-05  Yao Qi  <yao@codesourcery.com>
526
527         Revert this patch:
528
529         2013-05-24  Yao Qi  <yao@codesourcery.com>
530
531         * gdb.trace/tfile.exp: Test inferior and thread.
532
533 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
534
535         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
536         on a function.
537         * gdb.base/step-bt.c: Call hello via function pointer to make
538         sure its first instruction is executed on powerpc64le-linux.
539
540 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
541
542         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
543
544 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
545
546         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
547         of the test patterns for use on little-endian systems.
548
549 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
550
551         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
552         (decimal_vector): Fix for little-endian.
553
554 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
555
556         * gdb.arch/sparc-sysstep.exp: New file.
557         * gdb.arch/sparc-sysstep.c: Likewise.
558
559         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
560
561 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
562
563         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
564
565 2014-01-23  Tom Tromey  <tromey@redhat.com>
566
567         * gdb.ada/array_char_idx: New testcase.
568
569 2014-01-23  Tom Tromey  <tromey@redhat.com>
570
571         PR python/16487:
572         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
573         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
574         classes.
575
576 2014-01-23  Tom Tromey  <tromey@redhat.com>
577
578         PR python/16491:
579         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
580         string from an inferior frame.
581         * gdb.python/py-framefilter-mi.exp: Update.
582
583 2014-01-22  Doug Evans  <dje@google.com>
584
585         * gdb.server/server-mon.exp: Add tests for "set debug-format".
586
587 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
588
589         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
590
591 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
592
593         * gdb.trace/entry-values.exp: Remove excess space character from
594         regex patterns.  Handle s390 call instruction.
595
596 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
597
598         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
599         define "*_start" label.  Make "name" static.
600         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
601         ${name} by references to ${name}_start.
602
603 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
604
605         * gdb.base/info-macros.exp: Remove "debug" from the compile
606         options.
607
608 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
609
610         * gdb.dlang/demangle.exp: New file.
611
612 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
613
614         * gdb.dlang/primitive-types.exp: New file.
615
616 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
617
618         * configure.ac: Create gdb.dlang/Makefile.
619         * configure: Regenerate.
620         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
621         * gdb.dlang/Makefile.in: New file.
622         * lib/d-support.exp: New file.
623         * lib/gdb.exp (skip_d_tests): New proc.
624
625 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
626
627         * gdb.btrace/delta.exp: Check reverse stepi.
628         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
629         * gdb.btrace/finish.exp: New.
630         * gdb.btrace/next.exp: New.
631         * gdb.btrace/nexti.exp: New.
632         * gdb.btrace/record_goto.c: Add comments.
633         * gdb.btrace/step.exp: New.
634         * gdb.btrace/stepi.exp: New.
635         * gdb.btrace/multi-thread-step.c: New.
636         * gdb.btrace/multi-thread-step.exp: New.
637         * gdb.btrace/rn-dl-bind.c: New.
638         * gdb.btrace/rn-dl-bind.exp: New.
639         * gdb.btrace/data.c: New.
640         * gdb.btrace/data.exp: New.
641         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
642
643 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
644
645         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
646         * gdb.btrace/exception.exp: Update.
647         * gdb.btrace/instruction_history.exp: Update.
648         * gdb.btrace/record_goto.exp: Update.
649         * gdb.btrace/tailcall.exp: Update.
650         * gdb.btrace/unknown_functions.exp: Update.
651         * gdb.btrace/delta.exp: New.
652
653 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
654
655         * gdb.btrace/record_goto.exp: Add backtrace test.
656         * gdb.btrace/tailcall.exp: Add backtrace test.
657
658 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
659
660         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
661         * gdb.btrace/record_goto.c: New.
662         * gdb.btrace/record_goto.exp: New.
663         * gdb.btrace/x86-record_goto.S: New.
664
665 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
666
667         * gdb.btrace/function_call_history.exp: Update tests.
668         * gdb.btrace/instruction_history.exp: Update tests.
669
670 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
671
672         * gdb.btrace/function_call_history.exp: Fix expected field
673         order for "record function-call-history".
674         Add new tests for "record function-call-history /c".
675         * gdb.btrace/exception.cc: New.
676         * gdb.btrace/exception.exp: New.
677         * gdb.btrace/tailcall.exp: New.
678         * gdb.btrace/x86-tailcall.S: New.
679         * gdb.btrace/x86-tailcall.c: New.
680         * gdb.btrace/unknown_functions.c: New.
681         * gdb.btrace/unknown_functions.exp: New.
682         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
683
684 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
685
686         * gdb.btrace/instruction_history.exp: Update.
687         * gdb.btrace/function_call_history.exp: Update.
688
689 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
690
691         * gdb.btrace/function_call_history.exp: Fix expected function
692         trace.
693         * gdb.btrace/instruction_history.exp: Initialize traced.
694         Remove traced_functions.
695
696 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
697
698         * gdb.btrace/function_call_history.exp: Update
699         * gdb.btrace/instruction_history.exp: Update.
700
701 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
702
703         * gdb.btrace/enable.exp: Update expected text.
704
705 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
706
707         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
708         bytes.
709
710 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
711
712         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
713
714 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
715
716         * lib/gdb.exp (supports_process_record): Return true for
717         arm*-linux*.  (supports_reverse): Likewise.
718
719 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
720
721         PR python/15464
722         PR python/16113
723         * gdb.python/py-type.c: Enhance test case.
724         * gdb.python/py-value-cc.cc: Likewise
725         * gdb.python/py-type.exp: Add new tests.
726         * gdb.python/py-value-cc.exp: Likewise
727
728 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
729             Pedro Alves <palves@redhat.com>
730
731         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
732         Make "name" extern.
733         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
734         references to ${name}_start by references to ${name}.
735
736 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
737
738         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
739
740 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
741
742         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
743
744 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
745             Pedro Alves  <palves@redhat.com>
746
747         * gdb.mi/mi-info-os.exp: Connect to the target with
748         mi_gdb_target_load.
749
750 2014-01-08  Pedro Alves  <palves@redhat.com>
751
752         * gdb.threads/reconnect-signal.c: New file.
753         * gdb.threads/reconnect-signal.exp: New file.
754
755 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
756
757         * gdb.base/source-dir.exp: New file.
758
759 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
760
761         * gdb.ada/mi_interface: New testcase.
762
763 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
764
765         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
766         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
767         gdb.ada/pp-rec-component/pck.ads: New files.
768
769 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
770
771         * gdb.python/py-pp-integral.c: New file.
772         * gdb.python/py-pp-integral.py: New file.
773         * gdb.python/py-pp-integral.exp: New file.
774
775 2013-12-19  Sergio Durigan Junior  <sergiodj@redhat.com>
776
777         PR breakpoints/16297
778         * gdb.base/catch-syscall.c (read_syscall, pipe_syscall)
779         (write_syscall): New variables.
780         (main): Create a pipe, write 1 byte in it, and read 1 byte from
781         it.
782         * gdb.base/catch-syscall.exp (all_syscalls): Include "pipe,
783         "write" and "read" syscalls.
784         (fill_all_syscalls_numbers): Improve the way to obtain syscalls
785         numbers.
786
787 2013-12-19  Keven Boell  <keven.boell@intel.com>
788
789         * gdb.fortran/module.exp: Completion matches fortran module
790         names as well. ptype/whatis on modules return a proper type.
791         Add new check for having the correct scope.
792
793 2013-12-19  Keven Boell  <keven.boell@intel.com>
794
795         * gdb.fortran/type.f90: New file.
796         * gdb.fortran/whatis_type.f90: New file.
797
798 2013-12-18  Sergio Durigan Junior  <sergiodj@redhat.com>
799
800         * gdb.base/catch-syscall.c: Include <sys/syscall.h>.
801         (close_syscall, chroot_syscall, exit_group_syscall): New
802         variables.
803         * gdb.base/catch-syscall.exp: Replace gdb_compile by
804         prepare_for_testing.  Call fill_all_syscalls_numbers before
805         starting.  Replace gdb_exit, gdb_start, gdb_reinitialize_dir and
806         gdb_load by clean_restart.
807         (check_info_bp_any_syscall, check_info_bp_specific_syscall)
808         (check_info_bp_many_syscalls): Remove global gdb_prompt.
809         (check_call_to_syscall): Likewise.  Add global decimal.  Improve
810         testing regex.
811         (check_return_from_syscall): Likewise.
812         (check_continue, insert_catch_syscall_with_arg): Remove global
813         gdb_prompt.
814         (insert_catch_syscall_with_many_args): Likewise.  Add global
815         decimal.  Fix $filter_str.  Improve testing regex.
816         (check_for_program_end): Remove global gdb_prompt.
817         (test_catch_syscall_without_args): Likewise.  Add global decimal.
818         Improve testing regex.
819         (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
820         (test_catch_syscall_with_wrong_args)
821         (test_catch_syscall_restarting_inferior)
822         (test_catch_syscall_fail_nodatadir): Remove global gdb_prompt.
823         (do_syscall_tests): Likewise.  Remove global srcdir.
824         (test_catch_syscall_without_args_noxml): Remove global gdb_prompt.
825         Add global last_syscall_number.  Test for the exact syscall number
826         to be caught.
827         (test_catch_syscall_with_args_noxml): Remove global gdb_prompt.
828         Add global all_syscalls_numbers.  Test each syscall number to be
829         caught, instead of only testing "close".
830         (test_catch_syscall_with_wrong_args_noxml): Remove global gdb_prompt.
831         (do_syscall_tests_without_xml): Likewise.  Remove global srcdir.
832         Remove stale comment.
833         (fill_all_syscalls_numbers): Add global last_syscall_number.  Fill
834         the correct syscall numbers using information from the inferior.
835
836 2013-12-17  Pedro Alves  <palves@redhat.com>
837
838         * gdb.trace/circ.exp: Expect frame info to be printed when
839         switching between frames with unavailable stack, but different
840         functions.
841
842 2013-12-17  Andrew Burgess  <aburgess@broadcom.com>
843
844         * gdb.trace/unavailable-dwarf-piece.c: New file.
845         * gdb.trace/unavailable-dwarf-piece.exp: New file.
846
847 2013-12-15  Yao Qi  <yao@codesourcery.com>
848
849         * gdb.perf/skip-prologue.c: New.
850         * gdb.perf/skip-prologue.exp: New.
851         * gdb.perf/skip-prologue.py: New.
852
853 2013-12-13  Joel Brobecker  <brobecker@adacore.com>
854
855         * gdb.ada/arraydim: New testcase.
856
857 2013-12-12  Siva Chandra Reddy  <sivachandra@google.com>
858
859         PR python/16113
860         * gdb.python/py-value-cc.cc: Improve test case.
861         * gdb.python/py-value-cc.exp: Add new tests to test usage of
862         gdb.Field objects as subscripts on gdb.Value objects.
863
864 2013-12-10  Doug Evans  <dje@google.com>
865
866         PR 16286
867         * gdb.python/py-value.c: #include stdlib.h, string.h.
868         (str): New struct.
869         (main): New local xstr.
870         * gdb.python/py-value.exp (test_value_in_inferior): Add test to
871         fetch a value as a string with a length beyond the declared length
872         of the array.
873
874 2013-12-10  Andrew Burgess  <aburgess@broadcom.com>
875
876         * lib/gdb.exp (gdb_compile_shlib): Add call to get_compiler_info,
877         update comment.
878
879 2013-12-10  Joel Brobecker  <brobecker@adacore.com>
880
881         * gdb.ada/int_deref.exp: Add test verifying that we print
882         the decoded symbol name when printing the address of Ada
883         symbols.
884
885 2013-12-10  Joel Brobecker  <brobecker@adacore.com>
886
887         * gdb.mi/mi-start.exp: Add test verifying that -list-features
888         contains "exec-run-start-option".
889
890 2013-12-08  Yao Qi  <yao@codesourcery.com>
891
892         * lib/gdb.exp (support_complex_tests): Use gdb_produce_source.
893         (is_elf_target, is_ilp32_target, is_ilp64_target): Likewise.
894         (is_64_target, is_amd64_regs_target): Likewise.
895         (skip_altivec_tests, skip_vsx_tests, skip_btrace_tests): Likewise.
896
897 2013-12-07  Mike Frysinger  <vapier@gentoo.org>
898
899         * gdb.ada/uninitialized_vars/parse_controlled.ads: Remove +x file mode.
900         * gdb.base/testenv.c: Likewise.
901
902 2013-12-07  Mike Frysinger  <vapier@gentoo.org>
903
904         * gdb.hp/gdb.base-hp/so-thresh.sh: Change /bin/ksh to /bin/sh.
905         * gdb.hp/gdb.objdbg/tools/symaddr: Likewise.
906         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: Likewise.
907
908 2013-12-06  Pedro Alves  <palves@redhat.com>
909
910         * gdb.dwarf2/dw2-undefined-ret-addr.S: New file.
911         * gdb.dwarf2/dw2-undefined-ret-addr.c: New file.
912         * gdb.dwarf2/dw2-undefined-ret-addr.exp: New file.
913
914 2013-12-06  Doug Evans  <dje@google.com>
915
916         * gdb.base/break.exp: Fix setting of $baz.
917
918 2013-12-06  Andrew Burgess  <aburgess@broadcom.com>
919
920         * lib/dwarf.exp: (Dwarf::_location): Handle DW_OP_bit_piece and
921         DW_OP_plus_uconst.
922
923 2013-12-06  Keven Boell  <keven.boell@intel.com>
924
925         * lib/mi-support.exp (mi_list_varobj_children_range): Add
926         call to mi_list_array_varobj_children_with_index.
927         (mi_list_array_varobj_children_with_index): New function.
928         Add parameter to specify array start.
929
930 2013-12-03  Jose E. Marchesi  <jose.marchesi@oracle.com>
931
932         * gdb.base/sigall.exp (test_one_sig): gdb identifies SIGLOST as a
933         SIGPWR in sparc64.
934
935         * gdb.base/sigall.c (main): In some targets SIGLOST and SIGPWR
936         have the same signal number.  Handle this situation.
937
938 2013-12-03  Joel Brobecker  <brobecker@adacore.com>
939
940         * gdb.ada/dot_all: New testcase.
941
942 2013-12-03  Joel Brobecker  <brobecker@adacore.com>
943
944         * gdb.mi/mi-undefined-cmd.exp: New testcase.
945
946 2013-12-03  Joel Brobecker  <brobecker@adacore.com>
947
948         * gdb.mi/mi-i-cmd.exp: New file.
949
950 2013-12-02  Doug Evans  <dje@google.com>
951
952         * gdb.dwarf/dwp-symlink.c: Fake out gdb to not load debug info
953         at start.
954         * gdb.dwarf/dwp-symlink.exp: Test trying to load dwp when the binary
955         has been specified with a relative path and we have chdir'd before
956         accessing the debug info.
957
958 2013-11-28  Andrew Burgess  <aburgess@broadcom.com>
959
960         * gdb.trace/unavailable.exp (gdb_collect_args_test): Update
961         expected results.
962         (gdb_collect_locals_test): Likewise.
963         (gdb_collect_globals_test): Likewise.
964
965 2013-11-28  Yao Qi  <yao@codesourcery.com>
966
967         * lib/gdb.exp (with_gdb_prompt): New proc.
968         * gdb.perf/disassemble.exp: New.
969         * gdb.perf/disassemble.py: New.
970
971 2013-11-26  Luis Machado  <lgustavo@codesourcery.com>
972
973         * gdb.base/callfuncs.c (main): Assign malloc's return value
974         and free it afterwards.
975         * gdb.base/charset-malloc.c (malloc_stub): Likewise.
976         * gdb.base/printcmds.c (main): Likewise.
977         * gdb.base/randomize.c (main): Free "p" and change breakpoint
978         marker position.
979         * gdb.base/setvar.c (dummy): Assign malloc's return value
980         and free it afterwards.
981
982 2013-11-26  Andrew Burgess  <aburgess@broadcom.com>
983
984         * gdb.base/setshow.exp: Add $gdb_prompt to the patterns in
985         gdb_test_multiple.
986
987 2013-11-26  Tom Tromey  <tromey@redhat.com>
988
989         * gdb.dwarf2/dw2-unspecified-ret-addr.S: Remove.
990         * gdb.dwarf2/dw2-unspecified-ret-addr.c: Remove.
991         * gdb.dwarf2/dw2-unspecified-ret-addr.exp: Remove.
992
993 2013-11-25  Keith Seitz  <keiths@redhat.com>
994
995         PR c++/14819
996         * gdb.cp/impl-this.cc: New file.
997         * gdb.cp/impl-this.exp: New file.
998
999 2013-11-25  Yao Qi  <yao@codesourcery.com>
1000
1001         * gdb.perf/backtrace.c: New.
1002         * gdb.perf/backtrace.exp: New.
1003         * gdb.perf/backtrace.py: New.
1004
1005 2013-11-24  Yao Qi  <yao@codesourcery.com>
1006
1007         * gdb.perf/single-step.c: New.
1008         * gdb.perf/single-step.exp: New.
1009         * gdb.perf/single-step.py: New.
1010
1011 2013-11-23  Doug Evans  <xdje42@gmail.com>
1012
1013         * gdb.base/ena-dis-br.exp: Add missing quote to "step after continue
1014         with ignore count".
1015
1016 2013-11-23  Doug Evans  <xdje42@gmail.com>
1017
1018         * gdb.python/py-value.exp (test_lazy_strings): Tweak test names.
1019         (test_subscript_regression): Ditto.
1020         (top level): Run test_subscript_regression for c++ with "c++" prefix.
1021
1022 2013-11-23  Doug Evans  <xdje42@gmail.com>
1023
1024         * gdb.python/py-type.exp (test_enums): Fix typo.
1025
1026 2013-11-23  Doug Evans  <xdje42@gmail.com>
1027
1028         * gdb.python/py-symbol.exp: Add some comments.  Make all test names
1029         unique.
1030
1031 2013-11-23  Doug Evans  <xdje42@gmail.com>
1032
1033         * gdb.python/py-symbol.exp: Fix whitespace.
1034
1035 2013-11-23  Doug Evans  <xdje42@gmail.com>
1036
1037         * gdb.python/python.exp: Don't call skip_python_tests, we still want
1038         to test some things in the case where python is not configured in.
1039
1040 2013-11-22  Pedro Alves  <palves@redhat.com>
1041
1042         * gdb.dwarf2/dw2-bad-cfi.S: Rename to ...
1043         * gdb.dwarf2/dw2-unspecified-ret-addr.S: ... this.  Adjust.
1044         * gdb.dwarf2/dw2-bad-cfi.c: Rename to ...
1045         * gdb.dwarf2/dw2-unspecified-ret-addr.c: ... this.
1046         * gdb.dwarf2/dw2-bad-cfi.exp: Rename to ...
1047         * gdb.dwarf2/dw2-unspecified-ret-addr.exp: ... this.
1048
1049 2013-11-22  Tom Tromey  <tromey@redhat.com>
1050
1051         * gdb.dwarf2/dw2-bad-cfi.S: Update comment.
1052
1053 2013-11-22  Tom Tromey  <tromey@redhat.com>
1054
1055         * gdb.dwarf2/dw2-bad-cfi.c: New file.
1056         * gdb.dwarf2/dw2-bad-cfi.exp: New file.
1057         * gdb.dwarf2/dw2-bad-cfi.S: New file.
1058
1059 2013-11-22  Pedro Alves  <palves@redhat.com>
1060
1061         PR 16155
1062         * gdb.dwarf2/dw2-dup-frame.S: New file.
1063         * gdb.dwarf2/dw2-dup-frame.c: New file.
1064         * gdb.dwarf2/dw2-dup-frame.exp: New file.
1065
1066 2013-11-22  Yao Qi  <yao@codesourcery.com>
1067
1068         * lib/mi-support.exp (mi_create_dynamic_varobj): Update
1069         comment and add one more argument "has_more".
1070         * gdb.python/py-mi.exp: Callers update.
1071
1072 2013-11-22  Yao Qi  <yao@codesourcery.com>
1073
1074         * gdb.python/py-mi.exp: Use mi_create_floating_varobj instead
1075         of mi_create_dynamic_varobj.
1076
1077 2013-11-20  Pedro Alves  <palves@redhat.com>
1078
1079         * gdb.base/maint.exp (maint print objfiles): Consume one line at a
1080         time, and run it through all three milestone regexes.
1081
1082 2013-11-20  Sanimir Agovic  <sanimir.agovic@intel.com>
1083
1084         * gdb.base/eval-avoid-side-effects.exp: New file.
1085
1086 2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
1087
1088         * gdb.arch/i386-mpx.c: New file
1089         * gdb.arch/i386-mpx.exp: New file.
1090
1091 2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
1092
1093         * gdb.python/py-pp-maint.exp: Consider new pretty-print added 
1094         for bnd registers.
1095
1096 2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
1097
1098         * gdb.xml/maint_print_struct.xml (bitfield): Added bitfield having
1099         start and end equal 0.
1100
1101 2013-11-19  Yao Qi  <yao@codesourcery.com>
1102
1103         * lib/mi-support.exp (mi_child_regexp): Remove 'whatever'.
1104         (mi_list_varobj_children_range): Likewise.
1105
1106 2013-11-19  Yao Qi  <yao@codesourcery.com>
1107
1108         * lib/mi-support.exp (mi_child_regexp): Remove unnecessary '\'.
1109
1110 2013-11-19  Yao Qi  <yao@codesourcery.com>
1111
1112         * lib/mi-support.exp: Fix format.
1113
1114 2013-11-19  Joel Brobecker  <brobecker@adacore.com>
1115
1116         * gdb.ada/py_range: New testcase.
1117
1118 2013-11-18  Joel Brobecker  <brobecker@adacore.com>
1119
1120         * mi-language.exp: Add "-list-features" test verifying that
1121         its output contains "language-option".
1122
1123 2013-11-16  Joel Brobecker  <brobecker@adacore.com>
1124
1125         * info_exc/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
1126         * info_exc/foo.adb: Adjust to new exception name.
1127         * info_exc.exp: Adjust after exception renaming in const.ads.
1128         Update "info exception global" test to test "info exceptions
1129         global_gdb" instead.
1130
1131         * mi_exc_info/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
1132         * mi_exc_info/foo.adb (Adjust to new exception name.
1133         * mi_exc_info.exp: Adjust after exception renaming in const.ads.
1134         Update "-info-ada-exceptions global" test to test
1135         "-info-ada-exceptions global_gdb" instead.
1136
1137 2013-11-15  Luis Machado  <lgustavo@codesourcery.com>
1138
1139         * lib/mi-support.exp (mi_gdb_test): Expect different formats
1140         of inferior output for remote and native sessions.
1141         * gdb.mi/mi-console.exp: Remove obsolete comment.
1142         Check for semihosted inferior output pattern.
1143         (semihosted_string): New function.
1144
1145 2013-11-15  Joel Brobecker  <brobecker@adacore.com>
1146
1147         * gdb.ada/info_exc.exp: Allow other global exceptions to be
1148         listed in the output of "info exceptions".
1149         * gdb.ada/mi_exc_info.exp: Allow other global exceptions to be
1150         listed in the output of "-info-ada-exceptions".
1151
1152 2013-11-15  Joel Brobecker  <brobecker@adacore.com>
1153
1154         * gdb.ada/info_exc.exp: Start inferior before starting
1155         the "info exceptions" tests.
1156         * gdb.ada/mi_exc_info.exp: Start inferior before starting
1157         the "-info-ada-exceptions" tests.
1158
1159 2013-11-15  Tom Tromey  <tromey@redhat.com>
1160
1161         * gdb.cp/includefile: New file.
1162         * gdb.cp/filename.exp: New file.
1163         * gdb.cp/filename.cc: New file.
1164
1165 2013-11-15  Doug Evans  <xdje42@gmail.com>
1166
1167         * gdb.python/py-breakpoint.exp: Make tests have unique names.
1168
1169 2013-11-15  Doug Evans  <xdje42@gmail.com>
1170
1171         * gdb.python/py-breakpoint.exp: Reformat for 80 columns.
1172
1173 2013-11-15  Doug Evans  <xdje42@gmail.com>
1174
1175         * gdb.python/py-breakpoint.exp: Split up into several functions,
1176         each with their own test prefix.
1177
1178 2013-11-15  Joel Brobecker  <brobecker@adacore.com>
1179
1180         * gdb.ada/O2_float_param: New testcase.
1181
1182 2013-11-14  Tom Tromey  <tromey@redhat.com>
1183
1184         * Makefile.in (check-parallel): Print summary from gdb.sum.
1185
1186 2013-11-14  Omair Javaid  <Omair.Javaid@linaro.org>
1187
1188         * gdb.dwarf2/dw2-case-insensitive-debug.S: Updated compile unit
1189         and function label names.
1190         * gdb.dwarf2/dw2-case-insensitive.c: Created function and
1191         compile unit labels.
1192
1193 2013-11-14  Joel Brobecker  <brobecker@adacore.com>
1194
1195         * gdb.mi/mi-language.exp: New file.
1196
1197 2013-09-17  Keith Seitz  <keiths@redhat.com>
1198
1199         PR c++/7935
1200         PR c++/10541
1201         * gdb.cp/nsalias.exp: New file.
1202         * gdb.cp/nsalias.cc: New file.
1203         * gdb.cp/nsrecurs.exp: Remove kfails. Conditionally run
1204         tests only on known, working compiler versions.
1205
1206 2013-11-13  Tom Tromey  <tromey@redhat.com>
1207
1208         * gdb.multi/multi-arch-exec.exp: Define BASEDIR when compiling.
1209         * gdb.multi/multi-arch-exec.c (main): Use BASEDIR.
1210
1211 2013-11-12  Doug Evans  <dje@google.com>
1212
1213         * gdb.base/fileio.exp: Make $dir2 writable after the test is done
1214         so that "rm -rf $builddir" Just Works.
1215
1216 2013-11-12  Joel Brobecker  <brobecker@adacore.com>
1217
1218         * gdb.ada/mi_exc_info: New testcase.
1219
1220 2013-11-12  Joel Brobecker  <brobecker@adacore.com>
1221
1222         * gdb.ada/info_exc: New testcase.
1223
1224 2013-11-11  Doug Evans  <dje@google.com>
1225
1226         * gdb.arch/arm-bl-branch-dest.exp: Use gdb_test_file_name instead
1227         of testfile.
1228
1229 2013-11-11  Phil Muldoon  <pmuldoon@redhat.com>
1230
1231         * gdb.python/py-linetable.S: New file.
1232         * gdb.python/py-linetable.c: New file.
1233         * gdb.python/py-linetable.exp: New file.
1234
1235 2013-11-11  Joel Brobecker  <brobecker@adacore.com>
1236
1237         * gdb.ada/mi_ex_cond: New testcase.
1238
1239 2013-11-07  Doug Evans  <dje@google.com>
1240
1241         PR 11786
1242         * gdb.base/gcore-relro-pie.c: New file.
1243         * gdb.base/gcore-relro-pie.exp: New file.
1244
1245 2013-11-07  Phil Muldoon  <pmuldoon@redhat.com>
1246
1247         * gdb.python/py-cmd.exp: Add COMPLETE_EXPRESSION tests.
1248         * gdb.python/py-cmd.c: New File.
1249
1250 2013-11-07  Phil Muldoon  <pmuldoon@redhat.com>
1251
1252         * gdb.python/py-breakpoint.exp: Add temporary breakpoint tests.
1253
1254 2013-11-06  Doug Evans  <xdje42@gmail.com>
1255
1256         * gdb.python/py-arch.exp: Tweak test name for bad memory access test.
1257
1258 2013-11-06  Yao Qi  <yao@codesourcery.com>
1259
1260         * lib/gdb.exp (gdb_produce_source): New procedure.
1261         * gdb.perf/solib.c: New.
1262         * gdb.perf/solib.exp: New.
1263         * gdb.perf/solib.py: New.
1264
1265 2013-11-06  Yao Qi  <yao@codesourcery.com>
1266
1267         * README: Mention performance tests.
1268
1269 2013-11-06  Yao Qi  <yao@codesourcery.com>
1270
1271         * lib/perftest.exp: New.
1272         * gdb.perf/lib/perftest/__init__.py: New.
1273         * gdb.perf/lib/perftest/measure.py: New.
1274         * gdb.perf/lib/perftest/perftest.py: New.
1275         * gdb.perf/lib/perftest/reporter.py: New.
1276         * gdb.perf/lib/perftest/testresult.py: New.
1277
1278 2013-11-06  Yao Qi  <yao@codesourcery.com>
1279
1280         * Makefile.in (check-perf): New target.
1281         * configure.ac (AC_OUTPUT): Output Makefile in gdb.perf.
1282         * configure: Re-generated.
1283         * gdb.perf/Makefile.in: New.
1284
1285 2013-11-04  Tom Tromey  <tromey@redhat.com>
1286
1287         * Makefile.in (TEST_DIRS): Remove.
1288         (TEST_TARGETS, check-parallel): Rewrite.
1289         (check-gdb.%, BASE1_FILES, BASE2_FILES, check-gdb.base%)
1290         (subdir_do, subdirs): Remove.
1291         (do-check-parallel, check/%): New targets.
1292         (clean): Remove outputs, temp, and cache directories.
1293         (saw_dash_j): New variable.
1294         (CHECK_TARGET): Use it.
1295         (check): Depend on all, site.exp.  Rewrite.
1296         (check-single): Remove dependencies.
1297         (slow_tests, all_tests, reordered_tests): New variables.
1298
1299 2013-11-04  Tom Tromey  <tromey@redhat.com>
1300
1301         * gdb.dwarf2/fission-base.S: Remove "gdb.dwarf/".
1302         * gdb.dwarf2/fission-base.exp: Set debug-file-directory
1303         before loading binfile.
1304         * gdb.dwarf2/fission-loclists.S: Remove "gdb.dwarf/".
1305         * gdb.dwarf2/fission-loclists.exp: Set debug-file-directory
1306         before loading binfile.
1307
1308 2013-11-04  Tom Tromey  <tromey@redhat.com>
1309
1310         * gdb.base/foll-exec.c (main): Use BASEDIR.
1311         * gdb.base/foll-exec.exp: Define BASEDIR during compilation.
1312         * gdb.base/foll-vfork.c (main): Use BASEDIR.
1313         * gdb.base/foll-vfork.exp: Define BASEDIR during compilation.
1314         * gdb.multi/bkpt-multi-exec.c (main): Use BASEDIR.
1315         * gdb.multi/bkpt-multi-exec.exp: Define BASEDIR during compilation.
1316
1317 2013-11-04  Tom Tromey  <tromey@redhat.com>
1318
1319         * gdb.base/argv0-symlink.exp: Compute executable's directory
1320         dynamically.
1321
1322 2013-11-04  Tom Tromey  <tromey@redhat.com>
1323
1324         * gdb.asm/asm-source.exp: Use standard_output_file.
1325
1326 2013-11-04  Tom Tromey  <tromey@redhat.com>
1327
1328         * gdb.server/file-transfer.exp: Use standard_output_file.
1329
1330 2013-11-04  Tom Tromey  <tromey@redhat.com>
1331
1332         * gdb.base/fullname.exp: Use standard_output_file,
1333         relative_filename.
1334         * gdb.base/hashline1.exp: Use standard_testfile,
1335         standard_output_file, relative_filename, clean_restart.
1336         * gdb.base/hashline2.exp: Use standard_testfile,
1337         standard_output_file.
1338         * gdb.base/hashline3.exp: Use standard_testfile,
1339         standard_output_file, relative_filename.
1340         * lib/gdb.exp (relative_filename): New proc.
1341
1342 2013-11-04  Tom Tromey  <tromey@redhat.com>
1343
1344         * gdb.base/fileio.c (test_open, test_write, test_read)
1345         (test_lseek, test_close, test_stat, test_fstat)
1346         (test_isatty, test_system, test_rename, test_unlink):
1347         Use OUTDIR define.
1348         * gdb.base/fileio.exp: Define OUTDIR during compilation.
1349         Use standard_output_file.
1350
1351 2013-11-04  Tom Tromey  <tromey@redhat.com>
1352
1353         * gdb.base/checkpoint.c (main): Use PI_TXT and COPY1_TXT
1354         defines.
1355         * gdb.base/checkpoint.exp: Define PI_TXT and COPY1_TXT during
1356         compilation.  Use prepare_for_testing, standard_output_file.
1357
1358 2013-11-04  Tom Tromey  <tromey@redhat.com>
1359
1360         * gdb.base/advance.exp: Use standard_testfile and
1361         prepare_for_testing.
1362         * gdb.base/bigcore.exp: Use standard_output_file.  "cd" to
1363         appropriate directory when local.
1364         * gdb.base/dump.exp: Use standard_output_file.  Update all
1365         "dump" and "restore" filenames.
1366         * gdb.base/interact.exp: Use standard_output_file.
1367         * gdb.base/jit-so.exp: Don't download file when local.
1368         * gdb.base/jit.exp (compile_jit_test): Don't download file
1369         when local.
1370         * gdb.base/list.exp: Use gdb_remote_download.
1371         * gdb.base/maint.exp: Use standard_output_file.
1372         * gdb.base/prelink.exp: Use standard_output_file.
1373         * gdb.base/save-bp.exp: Use standard_output_file.
1374         * gdb.base/sepdebug.exp: Use standard_testfile,
1375         standard_output_file.
1376         (test_different_dir): Don't declare objdir.
1377         * gdb.base/solib-search.exp: Use standard_output_file.
1378         * gdb.base/step-line.exp: Use gdb_remote_download.
1379         * gdb.base/trace-commands.exp: Use standard_output_file.
1380
1381 2013-11-04  Tom Tromey  <tromey@redhat.com>
1382
1383         * gdb.trace/mi-traceframe-changed.exp: Pass -DTFILE_DIR
1384         to compilation.  Use standard_output_file.
1385         (test_tfind_tfile): Update.
1386         * gdb.trace/tfile.c (write_basic_trace_file)
1387         (write_error_trace_file): Use TFILE_DIR.
1388         * gdb.trace/tfile.exp: Pass -DTFILE_DIR to compilation.  Use
1389         standard_output_file.
1390
1391 2013-11-04  Tom Tromey  <tromey@redhat.com>
1392
1393         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1394         Use "dwarf2 always-disassemble" for the "maint set" test.
1395         * gdb.mi/mi-file-transfer.exp (test_file_transfer): Use
1396         standard_output_file.
1397         * gdb.mi/mi-logging.exp: Use standard_output_file.
1398
1399 2013-11-04  Tom Tromey  <tromey@redhat.com>
1400
1401         * gdb.xml/tdesc-arch.exp: Use standard_output_file.  Make
1402         downloads conditional on remote host.
1403         (set_arch): Likewise.
1404         * gdb.xml/tdesc-regs.exp: Use gdb_remote_download.
1405         (load_description): Use standard_output_file.
1406
1407 2013-11-04  Tom Tromey  <tromey@redhat.com>
1408
1409         * gdb.gdb/selftest.exp: Use standard_output_file.
1410         * lib/selftest-support.exp (do_self_tests): Use
1411         standard_output_file.
1412
1413 2013-11-04  Tom Tromey  <tromey@redhat.com>
1414
1415         * gdb.stabs/weird.exp: Use gdb_remote_download and
1416         standard_output_file.
1417
1418 2013-11-04  Tom Tromey  <tromey@redhat.com>
1419
1420         * gdb.base/gcore-buffer-overflow.exp: Use
1421         standard_output_file, not standard_testfile.
1422         * gdb.base/twice.exp: Use standard_testfile, not
1423         standard_output_file.  Use gdb_remote_download.
1424
1425 2013-11-04  Tom Tromey  <tromey@redhat.com>
1426
1427         * lib/gdb.exp (get_compiler_info): Use log_file -info and
1428         restore from that.
1429
1430 2013-11-02  Maciej W. Rozycki  <macro@codesourcery.com>
1431
1432         * gdb.cp/derivation.exp: s/perrro/perror/
1433
1434 2013-11-01  Maciej W. Rozycki  <macro@codesourcery.com>
1435
1436         * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
1437         `debugdir'.
1438
1439 2013-10-31  Andrew Burgess  <aburgess@broadcom.com>
1440
1441         * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
1442         tests and update expected error message.
1443         (test_watch_register_location): New tests.
1444         (do_tests): Call test_watch_register_location.
1445         * gdb.base/watchpoints.exp: Update expected error message.
1446
1447 2013-10-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1448
1449         * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
1450         the patterns in gdb_test_multiple.
1451
1452 2013-10-29  Nicolas Blanc  <nicolas.blanc@intel.com>
1453
1454         * gdb.base/sym-file-lib.c: New file.
1455         * gdb.base/sym-file-loader.c: New file.
1456         * gdb.base/sym-file-loader.h: New file.
1457         * gdb.base/sym-file-main.c: New file.
1458         * gdb.base/sym-file.exp: New file.
1459         * lib/gdb.exp (is_elf_target): New function.
1460
1461 2013-10-29  Pedro Alves  <palves@redhat.com>
1462
1463         * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
1464         variable setting change-log-default-name to ChangeLog-mi.
1465
1466 2013-10-29  Andrew Burgess  <aburgess@broadcom.com>
1467
1468         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
1469         Expect <unavailable> pattern.
1470
1471 2013-10-28  Tom de Vries  <tom@codesourcery.com>
1472
1473         * gdb.arch/thumb2-it.S (it_8): Fix typo.
1474
1475 2013-10-25  Anton Kolesov  <Anton.Kolesov@synopsys.com>  (tiny change)
1476
1477         * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
1478         remote stubs where exit() behaviour is unreliable.
1479
1480 2013-10-25  Pedro Alves  <palves@redhat.com>
1481
1482         * gdb.cp/m-static.exp: Adjust expected output of printing a
1483         nonexistent or optimized out static field.  Also test printing the
1484         the "container" object.
1485
1486 2013-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
1487
1488         * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
1489         if in the persistent mode.
1490         * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
1491
1492 2013-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
1493
1494         * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
1495         support core file generation" reply.
1496
1497 2013-10-21  Jose E. Marchesi  <jose.marchesi@oracle.com>
1498
1499         PR gdb/15986
1500         * gdb.base/run.c (main): gdb_get_line_number tag added for
1501         commands.exp.
1502         (factorial): Likewise.
1503
1504         * gdb.base/commands.exp (watchpoint_command_test): Use
1505         gdb_get_line_number in order to determine the locations in run.c
1506         where local_var is detected to go out of scope.
1507
1508 2013-10-21  Jose E. Marchesi  <jose.marchesi@oracle.com>
1509
1510         * gdb.base/gnu_vector.exp: Care about endianness when casting
1511         scalars to vectors.
1512
1513 2013-10-18  Tom Tromey  <tromey@redhat.com>
1514
1515         * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
1516         of "binfile".
1517
1518 2013-10-18  Andrew Burgess  <aburgess@broadcom.com>
1519
1520         * gdb.base/watchpoints.exp: Add test for setting software
1521         watchpoints of different types before starting the inferior.
1522
1523 2013-10-18  Pedro Alves  <palves@redhat.com>
1524
1525         PR gdb/16062
1526         * gdb.threads/stepi-random-signal.c: New file.
1527         * gdb.threads/stepi-random-signal.exp: New file.
1528
1529 2013-10-17  Maciej W. Rozycki  <macro@codesourcery.com>
1530
1531         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1532         Fix comment typo.
1533         * lib/gdb.exp (gdb_init): Likewise.
1534
1535 2013-10-17  Tom Tromey  <tromey@redhat.com>
1536
1537         * gdb.base/printcmds.exp (test_printf): Test printf flushing.
1538
1539 2013-10-14  Tom Tromey  <tromey@redhat.com>
1540
1541         * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
1542         name to gdb_test_no_output.
1543
1544 2013-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1545
1546         Canonicalize directories for EXEC_FILENAME.
1547         * gdb.base/argv0-symlink.exp
1548         (kept file symbolic link name for info inferiors): New.
1549         (kept directory symbolic link name): Setup kfail.
1550         (kept directory symbolic link name for info inferiors): New.
1551
1552 2013-10-11  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1553
1554         * gdb.arch/s390-multiarch.exp: New file.
1555         * gdb.arch/s390-multiarch.c: New file.
1556
1557 2013-10-11  Joel Brobecker  <brobecker@adacore.com>
1558
1559         * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
1560         use the appropriate GDB/MI command instead, and verify
1561         the test output.
1562
1563 2013-10-11  Joel Brobecker  <brobecker@adacore.com>
1564
1565         * gdb.base/source-nofile.gdb: New file.
1566         * gdb.base/source.exp: Add two tests verifying the behavior when
1567         the "source" command is given a non-existant filename.
1568
1569 2013-10-11  Yao Qi  <yao@codesourcery.com>
1570
1571         * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
1572          [__WIN32__]: Include "windows.h" and define macro 'dlopen'
1573          and 'dlclose'.
1574         [!__WIN32__]: Include "dlfcn.h".
1575         * gdb.mi/mi-catch-load.exp: Set up kfail.
1576
1577 2013-10-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1578
1579         * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
1580         generated corefile" by argument "$test".
1581
1582 2013-10-09  Pedro Alves  <palves@redhat.com>
1583
1584         * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
1585         output.
1586
1587 2013-10-09  Pedro Alves  <palves@redhat.com>
1588
1589         * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
1590         (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
1591         (test_catch_syscall_with_wrong_args)
1592         (test_catch_syscall_restarting_inferior)
1593         (test_catch_syscall_fail_nodatadir)
1594         (test_catch_syscall_without_args_noxml)
1595         (test_catch_syscall_with_args_noxml)
1596         (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
1597
1598 2013-10-08  Tom Tromey  <tromey@redhat.com>
1599
1600         * gdb.dwarf2/dwzbuildid.exp: New file.
1601         * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
1602         parameters.
1603         (Dwarf::_defer_output): Change "section" parameter to
1604         "section_spec"; update.
1605         (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
1606         procs.
1607
1608 2013-10-08  Joel Brobecker  <brobecker@adacore.com>
1609
1610         * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
1611
1612 2013-10-07  Tom Tromey  <tromey@redhat.com>
1613
1614         * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
1615         to 0.
1616
1617 2013-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
1618
1619         * gdb.base/corefile.exp: Test whether $_exitsignal is set and
1620         $_exitcode is void when opening a corefile.
1621         * gdb.base/exitsignal.exp: New file.
1622         * gdb.base/segv.c: Likewise.
1623         * gdb.base/normal.c: Likewise.
1624
1625 2013-10-04  Joel Brobecker  <brobecker@adacore.com>
1626
1627         * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
1628
1629 2013-10-02  Vidya Praveen  <vidyapraveen@arm.com>
1630
1631         * gdb.trace/entry-values.exp: Modify regular expression to scan for
1632         'bl' instruction instead of 'call' for ARM and AArch64 targets.
1633
1634 2013-10-02  Pedro Alves  <palves@redhat.com>
1635
1636         * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
1637         pattern_rax_rbx_rcx_info>: Set to "<not saved>".
1638         * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
1639         (not_saved_pattern): New.
1640         Replace use of the former with the latter.
1641
1642 2013-10-02  Pedro Alves  <palves@redhat.com>
1643
1644         * README (Board Settings): Document "exit_is_reliable".
1645         * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
1646         running to exit reliably reports program exits.
1647         * boards/native-gdbserver.exp: Set exit_is_reliable in the board
1648         info.
1649         * boards/native-stdio-gdbserver.exp: Likewise.
1650
1651 2013-10-01  Doug Evans  <dje@google.com>
1652
1653         * gdb.python/python.exp: Remove redundant print-stack tests.
1654         Make all print-stack test names unique.  Fix spelling of print-stack.
1655
1656 2013-09-29  Yao Qi  <yao@codesourcery.com>
1657
1658         * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
1659         is remote.
1660
1661 2013-09-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1662
1663         PR shlibs/8882
1664         * gdb.base/corefile.exp: Add a check to assure warning-free
1665         core-file load.
1666
1667 2013-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1668
1669         * gdb.dwarf2/dwp-symlink.c: New file.
1670         * gdb.dwarf2/dwp-symlink.exp: New file.
1671
1672 2013-09-20  Doug Evans  <dje@google.com>
1673
1674         * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
1675         * gdb.dwarf2/fission-base.S: Update.  Split out .dwo into separate
1676         file.
1677         * gdb.dwarf2/fission-loclists.S: Ditto.
1678         * gdb.dwarf2/fission-reread.S: Ditto.
1679         * gdb.dwarf2/fission-base.exp: Skip of remote host.  Compile with
1680         build_executable_from_fission_assembler.
1681         * gdb.dwarf2/fission-loclists.exp: Ditto.
1682         * gdb.dwarf2/fission-reread.exp: Ditto.
1683
1684         * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
1685         * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
1686         (gdb_gnu_strip_debug): Ditto.
1687         * lib/prelink-support.exp (section_get, prelink_no): Ditto.
1688         * gdb.arch/altivec-abi.exp: Ditto.
1689         * gdb.base/attach-pie-misread.exp: Ditto.
1690         * gdb.base/comprdebug.exp: Ditto.
1691         * gdb.base/dup-sect.exp: Ditto.
1692         * gdb.base/gnu-debugdata.exp: Ditto.
1693         * gdb.base/step-symless.exp: Ditto.
1694         * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1695         * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
1696         * gdb.dwarf2/gdb-index.exp: Ditto.
1697
1698 2013-09-18  Andrew Burgess  <aburgess@broadcom.com>
1699
1700         * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
1701         register to "<optimized out>", and also print the registers.
1702
1703 2013-09-18  Pedro Alves  <palves@redhat.com>
1704
1705         PR server/15967
1706         * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
1707         change text.
1708
1709 2013-09-18  Yao Qi  <yao@codesourcery.com>
1710
1711         * gdb.server/wrapper.c: New.
1712         * gdb.server/wrapper.exp: New.
1713
1714 2013-09-17  Muhammad Waqas  <mwaqas@codesourccery.com>
1715             Jan Kratochvil  <jan.kartochvil@redhat.com>
1716             Pedro Alves  <palves@redhat.com>
1717
1718         PR gdb/11568
1719         * gdb.thread/thread-specific-bp.c: New file.
1720         * gdb.thread/thread-specific-bp.exp: New file.
1721
1722 2013-09-17  Sergio Durigan Junior  <sergiodj@redhat.com>
1723
1724         * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
1725         convenience function.
1726
1727 2013-09-17  Pedro Alves  <palves@redhat.com>
1728
1729         PR gdb/15911
1730         * gdb.threads/info-threads-cur-sal-2.c: New file.
1731         * gdb.threads/info-threads-cur-sal.c: New file.
1732         * gdb.threads/info-threads-cur-sal.exp: New file.
1733
1734 2013-09-17  Yao Qi  <yao@codesourcery.com>
1735
1736         * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
1737          [__WIN32__]: Include "windows.h" and define macro dlopen
1738          and dlclose.
1739         [!__WIN32__]: Include "dlfcn.h".
1740         * gdb.base/catch-load.exp (one_catch_load_test): Match
1741         directory separator.
1742
1743 2013-09-16  Doug Evans  <dje@google.com>
1744
1745         * lib/gdb.exp (using_fission): New proc.
1746         * gdb.base/info-macros.exp: Skip test if using Fission.
1747
1748         * gdb.base/break-interp.exp: Fix indentation.
1749
1750 2013-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
1751
1752         * gdb.base/gdbvars.c (foo_void): New function.
1753         (foo_int): Likewise.
1754         * gdb.base/gdbvars.exp (test_convenience_functions): New
1755         function.  Call it.
1756
1757 2013-09-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1758
1759         * gdb.arch/s390-tdbregs.c: New file.
1760         * gdb.arch/s390-tdbregs.exp: New file.
1761
1762 2013-09-12  Stan Shebs  <stan@codesourcery.com>
1763
1764         * README: New file.
1765
1766 2013-09-12  Doug Evans  <dje@google.com>
1767
1768         * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
1769         added code to print event.inferior.
1770
1771 2013-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1772
1773         * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
1774         debug part of the binary.
1775
1776 2013-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1777
1778         * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
1779         (addlink): Add comment.
1780
1781 2013-09-10  Sanimir Agovic  <sanimir.agovic@intel.com>
1782
1783         * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
1784         canonical pathname.
1785
1786 2013-09-04  Doug Evans  <dje@google.com>
1787
1788         * gdb.python/py-events.py (exit_handler): Verify we get the expected
1789         event.
1790         (continue_handler, new_objfile_handler): Ditto.
1791         (test_events): Rename command to "test-events".
1792         (test_newobj_events): Rename command to "test-objfile-events".
1793         * gdb.python/py-events.exp: Update.
1794         * gdb.python/py-evsignal.exp: Update.
1795         * gdb.python/py-evthreads.exp: Update.
1796
1797         * gdb.base/enumval.c (ZERO): New enum value.
1798         (main): Use it
1799         * gdb.base/enumval.exp: Test ability to print ZERO.
1800
1801 2013-09-03  Muhammad Bilal  <mbilal@codesourcery.com>
1802             Pedro Alves  <palves@redhat.com>
1803
1804         * gdb.base/relocate.exp: Check that invalid options are
1805         rejected.
1806
1807 2013-08-30  Andrew Burgess  <aburgess@broadcom.com>
1808
1809         * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
1810         (my_static_symbol): Add comment.
1811         (main): Reference my_bss_symbol.
1812
1813 2013-08-30  Phil Muldoon  <pmuldoon@redhat.com>
1814
1815         * gdb.python/py-arch.exp: Tests for invalid architecture.
1816
1817 2013-08-29  Sterling Augustine  <saugustine@google.com>
1818
1819         * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
1820         rsh_prog in new conditional.  Move use of REMOTE_PORTNUM into
1821         said conditional.
1822
1823 2013-08-29  Phil Muldoon  <pmuldoon@redhat.com>
1824
1825         * gdb.python/py-arch.exp: Load gdb-python.exp.
1826
1827 2013-08-29  Phil Muldoon  <pmuldoon@redhat.com>
1828
1829         * gdb.python/py-framefilter.py (FrameFilter.filter): Check
1830         itertools for imap attribute.  Otherwise use map().
1831         (ElidingIterator): Define wrapper function __next__.
1832         * gdb.python/py-framefilter-mi.exp: Do not use execfile,
1833         use exec (open (read ())) instead.
1834         * gdb.python/py-framefilter.exp: Ditto.
1835         * gdb.python/py-arch.exp: Update print based test to Python 3.x
1836         compliance.
1837         * gdb.python/py-frame.exp: Ditto.
1838         * gdb.python/py-type.exp: Ditto.
1839
1840 2013-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1841
1842         PR gdb/15415
1843         * gdb.base/argv0-symlink.c: New file.
1844         * gdb.base/argv0-symlink.exp: New file.
1845
1846 2013-08-28  Tom Tromey  <tromey@redhat.com>
1847
1848         * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
1849         when saving index.
1850
1851 2013-08-27  Yao Qi  <yao@codesourcery.com>
1852
1853         * gdb.trace/entry-values.exp: Test unavailable entry value is
1854         not shown when option '--skip-unavailable' is specified.
1855         * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
1856         Add tests for new option '--skip-unavailable'.
1857
1858 2013-08-27  Yao Qi  <yao@codesourcery.com>
1859
1860         * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
1861         remote_download if it is empty.
1862
1863 2013-08-26  Doug Evans  <dje@google.com>
1864
1865         PR symtab/15885
1866         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
1867         (clean): rm -f *.gdb-index *.with-index.
1868         * gdb.dwarf2/gdb-index.exp: New testcase.
1869
1870         * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
1871         * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
1872         run_on_host.  All callers updated.
1873
1874 2013-08-24  Yao Qi  <yao@codesourcery.com>
1875
1876         * gdb.trace/entry-values.c (end): New
1877         (main): Call end.
1878         * gdb.trace/entry-values.exp: Load trace-support.exp.  Set
1879         tracepoint and collect data.  Test entry value is unavailable.
1880
1881 2013-08-24  Yao Qi  <yao@codesourcery.com>
1882
1883         * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
1884         * gdb.trace/entry-values.c: New.
1885         * gdb.trace/entry-values.exp: New.
1886
1887 2013-07-12  Muhammad Waqas  <mwaqas@codesourccery.com>
1888
1889         PR gdb/15501
1890         * gdb.base/ena-dis-br.exp: Add test to verify
1891         enable/disable commands work correctly with
1892         multiple arguments that include multiple locations.
1893
1894 2013-08-22  Samuel Bronson  <naesten@gmail.com>
1895
1896         ARM Linux support for `catch syscall'.
1897         * gdb.base/catch-syscall.exp: Test this on ARM now.
1898         (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
1899
1900 2013-08-22  Tom Tromey  <tromey@redhat.com>
1901
1902         * lib/dwarf.exp (cu, tu): Handle addr_size of "default".  Change
1903         default addr_size.
1904         * lib/gdb.exp (is_64_target): New gdb_caching_proc.
1905
1906 2013-08-22  Tom Tromey  <tromey@redhat.com>
1907
1908         * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
1909         standard_temp_file.
1910
1911 2013-08-22  Tom Tromey  <tromey@redhat.com>
1912
1913         * gdb.arch/amd64-byte.exp: Use standard_testfile,
1914         clean_restart.
1915         * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
1916         * gdb.arch/amd64-dword.exp: Use standard_testfile,
1917         clean_restart.
1918         * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
1919         * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
1920         * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
1921         * gdb.arch/amd64-word.exp: Use standard_testfile,
1922         clean_restart.
1923         * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
1924         * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
1925         * gdb.arch/i386-disp-step.exp: Use standard_testfile.
1926         * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
1927         * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
1928         * gdb.arch/i386-signal.exp: Use standard_testfile.
1929         * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
1930         * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
1931         * gdb.arch/i386-unwind.exp: Use standard_testfile.
1932         * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
1933
1934 2013-08-22  Tom Tromey  <tromey@redhat.com>
1935
1936         * gdb.python/py-error.exp: Use gdb_remote_download.
1937         * gdb.python/py-mi.exp: Use gdb_remote_download.
1938         * gdb.python/py-objfile-script.exp: Use standard_output_file.
1939         * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
1940         (run_lang_tests): Likewise.
1941         * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
1942         filename.
1943         * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
1944         compiling.  Use gdb_remote_download.  Update some tests.
1945         * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1946         standard_output_file.
1947         * gdb.python/py-typeprint.exp: Use gdb_remote_download.
1948         * gdb.python/py-frame-args.exp: Use gdb_remote_download.
1949         * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
1950         * gdb.python/py-framefilter.exp: Use gdb_remote_download,
1951         standard_output_file.
1952
1953 2013-08-22  Tom Tromey  <tromey@redhat.com>
1954
1955        * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
1956
1957 2013-08-22  Tom Tromey  <tromey@redhat.com>
1958
1959         * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
1960         * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
1961         * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
1962         * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
1963         * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
1964         * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
1965         * lib/gdb.exp (gdb_remote_download): New proc.
1966
1967 2013-08-22  Tom Tromey  <tromey@redhat.com>
1968
1969         * gdb.dwarf2/clztest.exp: Use standard_testfile.
1970         * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
1971         * gdb.dwarf2/fission-base.S: Remove directory from
1972         DW_AT_GNU_dwo_name.
1973         * gdb.dwarf2/fission-base.exp: Use build_executable.  Set
1974         debug-file-directory.
1975         * gdb.dwarf2/fission-reread.S: Remove directory from
1976         DW_AT_GNU_dwo_name.
1977         * gdb.dwarf2/fission-reread.exp: Use build_executable.  Set
1978         debug-file-directory.
1979
1980 2013-08-16  Doug Evans  <dje@google.com>
1981
1982         * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
1983         prelink complains about an unhandled DWARF version.
1984
1985 2013-08-14  Cary Coutant  <ccoutant@google.com>
1986
1987         * boards/fission.exp: Add -fdebug-types-section to debug_flags.
1988
1989 2013-08-13  Tom Tromey  <tromey@redhat.com>
1990             Yao Qi  <yao@codesourcery.com>
1991
1992         * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
1993         * lib/gdb.exp: Handle GDB_PARALLEL.
1994         (default_gdb_version): Kill inotify_pid if it exists.
1995         (default_gdb_exit): Emit warning if the inotify log is not
1996         empty.
1997         (standard_output_file): Respect GDB_PARALLEL.
1998         (standard_temp_file): Likewise.
1999         (gdb_init): Start inotifywait if requested.
2000
2001 2013-08-13  Andrew Burgess  <aburgess@broadcom.com>
2002
2003         * gdb.base/printcmds.exp (test_printf): Add test for printf of
2004         pointer with various flags.
2005
2006 2013-08-13  Tom Tromey  <tromey@redhat.com>
2007
2008         * lib/cache.exp: New file.
2009         * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
2010         * lib/gdb.exp: Load cache.exp.
2011         (support_complex_tests, is_ilp32_target, is_lp64_target)
2012         (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
2013         (gdb_skip_xml_test): Use gdb_caching_proc.
2014         * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
2015
2016 2013-08-13  Tom Tromey  <tromey@redhat.com>
2017
2018         * lib/gdb.exp (standard_temp_file): New proc.
2019         (support_complex_tests, is_ilp32_target, is_lp64_target)
2020         (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
2021         standard_temp_file.
2022
2023 2013-08-13  Tom Tromey  <tromey@redhat.com>
2024
2025         * lib/gdb.exp (build_id_debug_filename_get): Use
2026         standard_output_file.
2027         * lib/prelink-support.exp (section_get)
2028         (build_executable_own_libs): Use standard_output_file.
2029
2030 2013-08-12  Tom Tromey  <tromey@redhat.com>
2031
2032         * Makefile.in (ALL_SUBDIRS): Add gdb.go.
2033
2034 2013-08-12  Ali Anwar  <alianwar@codesourcery.com>
2035
2036         * gdb.base/break.exp: Test break via convenience variable
2037         with file name.
2038
2039 2013-08-09  Doug Evans  <dje@google.com>
2040
2041         * lib/future.exp (gdb_find_ldd): New proc.
2042         * lib/prelink-support.exp (build_executable_own_libs): Call it.
2043         Make "/usr/sbin/" in prelink path optional.
2044
2045 2013-08-09  Yao Qi  <yao@codesourcery.com>
2046
2047         * gdb.trace/collection.exp (gdb_collect_args_test): Set
2048         "only" and "both" to 'print entry-values' before selecting
2049         trace frame.
2050
2051 2013-08-08  Yao Qi  <yao@codesourcery.com>
2052
2053         * gdb.trace/mi-trace-unavailable.exp: Don't set
2054         "print entry-values" to "no".
2055         (test_trace_unavailable): Set various values to
2056         "print entry-values" to test that the output of
2057         '-stack-list-locals' is not affected, and then set
2058         set "print entry-values" to "no".
2059
2060 2013-08-07  Doug Evans  <dje@google.com>
2061
2062         * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
2063         * gdb.python/py-value-cc.exp: Update.
2064         * gdb.python/py-value.exp: Use different names for .o files for
2065         C and C++.  Only perform C++ tests if !skip_cplus_tests.
2066
2067 2013-08-07  Tom Tromey  <tromey@redhat.com>
2068
2069         * gdb.base/maint.exp: Allow zero symtabs to be expanded.
2070
2071 2013-08-07  Tom Tromey  <tromey@redhat.com>
2072
2073         * gdb.dwarf2/dwz.exp: New file.
2074
2075 2013-08-02  Tom Tromey  <tromey@redhat.com>
2076
2077         * gdb.base/watchpoint.c (struct foo5): New.
2078         (nullptr): New global.
2079         * gdb.base/watchpoint.exp (test_watch_location): Add test.
2080
2081 2013-08-01  Doug Evans  <dje@google.com>
2082
2083         PR symtab/15691
2084         * gdb.dwarf2/fission-mix.exp: New file.
2085         * gdb.dwarf2/fission-mix.h: New file.
2086         * gdb.dwarf2/fission-mix.c: New file.
2087         * gdb.dwarf2/fission-mix2.c: New file.
2088
2089         PR symtab/15695
2090         * gdb.base/func-ptr.exp: New file.
2091         * gdb.base/func-ptr.c: New file.
2092
2093 2013-08-01  Yao Qi  <yao@codesourcery.com>
2094
2095         * gdb.python/py-sync-interp.c: New.
2096         * gdb.python/py-sync-interp.exp: New.
2097
2098 2013-07-31  Yao Qi  <yao@codesourcery.com>
2099
2100         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
2101         'tdump' on stack frame 0 and 1 respectively.
2102
2103 2013-07-31  Yao Qi  <yao@codesourcery.com>
2104
2105         PR gdb/13443
2106         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
2107         'traceframe'.  Wrap test with with_test_prefix.
2108         (top level): Update.
2109
2110 2013-07-31  Yao Qi  <yao@codesourcery.com>
2111
2112         * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
2113         'gdb_start'.
2114         Invoke 'prepare_for_testing' instead of 'gdb_compile'.
2115         Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
2116
2117 2013-07-30  Andrew Burgess  <aburgess@broadcom.com>
2118
2119         * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
2120         when printing an optimized out value.  Expect an error when using
2121         an optimized out value in an expression.
2122
2123 2013-07-30  Andrew Burgess  <aburgess@broadcom.com>
2124
2125         * gdb.dwarf2/pieces-optimized-out.exp: New file.
2126         * gdb.dwarf2/pieces-optimized-out.c: New file.
2127         * gdb.dwarf2/pieces-optimized-out.S: New file.
2128
2129 2013-07-30  Muhammad Bilal  <mbilal@codesourcery.com>
2130
2131         PR gdb/15715
2132         * gdb.base/setshow.exp: Test that relative paths passed to
2133         'set history filename' are converted to absolute paths.
2134
2135 2013-07-26  Keith Seitz  <keiths@redhat.com>
2136
2137         * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
2138         of f77.
2139         Allow for compiler variations of integer types.
2140         Use mi_create_varobj.
2141         Use mi_list_varobj_children for the immediate children of `array'.
2142         Add "has_more" attribute for grandchildren test.
2143
2144 2013-07-26  Pedro Alves  <palves@redhat.com>
2145
2146         * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
2147         files.
2148
2149 2013-07-25  Andrew Burgess  <aburgess@broadcom.com>
2150
2151         * gdb.mi/mi-reg-undefined.exp: New file.
2152         * gdb.mi/mi-reg-undefined.c: Likewise.
2153         * gdb.mi/mi-reg-undefined.S: Likewise.
2154
2155 2013-07-25  Andrew Burgess  <aburgess@broadcom.com>
2156
2157         * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
2158         z, o, and t output formats.
2159         * gdb.base/display.exp: Use 'k' as an undefined format now that
2160         'z' is defined.
2161
2162 2013-07-24  Doug Evans  <dje@google.com>
2163
2164         * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
2165         "--" to switch.
2166
2167 2013-07-24  Yao Qi  <yao@codesourcery.com>
2168
2169         * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
2170         host.
2171         * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
2172         Likewise.  If host is remote, copy ${binfile} to host.
2173
2174 2013-07-23  Yao Qi  <yao@codesourcery.com>
2175
2176         * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
2177         message.
2178
2179 2013-07-19  Omair Javaid  <Omair.Javaid@linaro.org>
2180
2181         * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
2182         instructions and enable disp-step-syscall for arm targets.
2183
2184 2013-07-19  Omair Javaid  <Omair.Javaid@linaro.org>
2185
2186         * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
2187         assembler errors on arm.
2188         * gdb.dwarf2/mac-fileno.S: Likewise.
2189         * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
2190         * gdb.dwarf2/pr13961.S: Likewise.
2191
2192 2013-07-19  Hui Zhu  <hui@codesourcery.com>
2193
2194         PR gdb/15692
2195         * gdb.mi/mi-dprintf.exp: Add double quotes test.
2196
2197 2013-07-19  Yao Qi  <yao@codesourcery.com>
2198
2199         * gdb.trace/read-memory.exp (test_from_remote): Update test.
2200         (teset_from_exec): Likewise.
2201
2202 2013-07-19  Yao Qi  <yao@codesourcery.com>
2203
2204         * gdb.trace/read-memory.c: New.
2205         * gdb.trace/read-memory.exp: New.
2206
2207 2013-07-19  Yao Qi  <yao@codesourcery.com>
2208
2209         * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
2210         $dest to link options if host is remote.  Move the
2211         generated file to $dest.a on host if host is remote.
2212
2213 2013-07-18  Will Newton  <will.newton@linaro.org>
2214
2215         * gdb.threads/tls-nodebug.c: Call pthread_testcancel
2216         to ensure the test is linked against pthreads.
2217         * gdb.threads/tls-var-main.c: Likewise.
2218         * gdb.threads/tls-shared.c: Likewise.
2219
2220 2013-07-18  Yao Qi  <yao@codesourcery.com>
2221
2222         * lib/future.exp (gdb_default_target_compile): Use tail name
2223         of $destfile as the output name of compile.  Move the
2224         generated file to $destfile on build.
2225
2226 2013-07-18  Yao Qi  <yao@codesourcery.com>
2227
2228         * lib/gdb.exp (gdb_compile): Set
2229         gdb_saved_set_unbuffered_mode_obj to
2230         set_unbuffered_mode_saved.o if host is remote.  Invoke
2231         remote_download to copy $unbuf_obj to host.
2232
2233 2013-07-17  Doug Evans  <dje@google.com>
2234
2235         * gdb.python/py-frame-args.c: New file.
2236         * gdb.python/py-frame-args.py: New file.
2237         * gdb.python/py-frame-args.exp New file.
2238
2239 2013-07-16  Andrew Burgess  <aburgess@broadcom.com>
2240
2241         * gdb.base/printcmds.exp (test_printf): Add tests for format
2242         strings with missing format specifier.
2243
2244 2013-07-16  Tom Tromey  <tromey@redhat.com>
2245
2246         * gdb.ada/info_types.exp: Use standard_testfile.
2247
2248 2013-07-16  Tom Tromey  <tromey@redhat.com>
2249
2250         * gdb.mi/mi-basics.exp: Use standard_output_file.
2251         (test_dir_specification, test_cwd_specification)
2252         (test_path_specification): Use testsubdir, not subdir and objdir.
2253
2254 2013-07-16  Tom Tromey  <tromey@redhat.com>
2255
2256         * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
2257
2258 2013-07-09  Joel Brobecker  <brobecker@adacore.com>
2259
2260         * gdb.ada/small_reg_param.exp: Accept optional entry value
2261         for parameter "w".
2262
2263 2013-07-09  Joel Brobecker  <brobecker@adacore.com>
2264
2265         * gdb.ada/small_reg_param.exp: Remove trailing space.
2266
2267 2013-07-09  Doug Evans  <dje@google.com>
2268
2269         * gdb.base/default.exp: Update expected output of "show print array"
2270         and "show print pretty".
2271
2272 2013-07-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2273
2274         * gdb.threads/wp-replication.exp: Stop counting available hardware
2275         watchpoints after NR_THREADS iterations.
2276
2277 2013-07-08  Andrew Burgess  <aburgess@broadcom.com>
2278
2279         * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
2280
2281 2013-07-07  Yao Qi  <yao@codesourcery.com>
2282
2283         * boards/native-gdbserver.exp: Move invoke of
2284         process_multilib_options to gdbserver-base.exp.
2285         Move set_board_info 'compiler', 'gdb,noinferiorio',
2286         'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
2287         gdbserver-base.exp.
2288         Move proc ${board}_download, ${board}_upload and
2289         ${board}_file to gdbserver-base.exp.
2290         * boards/native-extended-gdbserver.exp: Likewise.
2291         * boards/native-stdio-gdbserver.exp: Likewise.
2292         * boards/gdbserver-base.exp: New file.
2293
2294 2013-07-05  Luis Machado  <lgustavo@codesourcery.com>
2295
2296         * gdb.base/dump.exp: Remove arch-specific tests and do a
2297         generic data address check to set is64bitonly correctly.
2298
2299 2013-07-05  Luis Machado  <lgustavo@codesourcery.com>
2300
2301         * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
2302         the register number instead of expecting only 0.
2303
2304 2013-07-05  Will Newton  <will.newton@linaro.org>
2305
2306         * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
2307         in asm syntax to allow building on ARM.
2308
2309 2013-07-05  Yao Qi  <yao@codesourcery.com>
2310
2311         * boards/local-remote-host.exp: Remove obsolete comments.
2312         * boards/native-extended-gdbserver.exp: Likewise.
2313         * boards/native-gdbserver.exp: Likewise.
2314         * boards/native-stdio-gdbserver.exp: Likewise.
2315
2316 2013-07-04  Andrew Burgess  <aburgess@broadcom.com>
2317
2318         * gdb.dwarf2/dw2-reg-undefined.exp: New file.
2319         * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
2320         * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
2321
2322 2013-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2323
2324         * gdb.base/break-on-linker-gcd-function.exp: Replace
2325         prepare_for_testing by build_executable_from_specs and clean_restart.
2326
2327 2013-06-27  Tom Tromey  <tromey@redhat.com>
2328
2329         * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
2330         gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
2331         gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
2332         gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
2333         gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
2334         gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
2335         gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
2336         gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
2337         gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
2338         gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
2339         gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
2340         Use standard_testfile, standard_output_file, prepare_for_testing,
2341         clean_restart.
2342
2343 2013-06-27  Tom Tromey  <tromey@redhat.com>
2344
2345         * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
2346         gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
2347         gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
2348         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2349         gdb.base/shreloc.exp, gdb.base/sigall.exp,
2350         gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
2351         gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
2352         gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
2353         gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
2354         gdb.base/signull.exp, gdb.base/sigrepeat.exp,
2355         gdb.base/sigstep.exp, gdb.base/sizeof.exp,
2356         gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
2357         gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
2358         gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
2359         gdb.base/solib-weak.exp, gdb.base/source.exp,
2360         gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
2361         gdb.base/stap-probe.exp, gdb.base/start.exp,
2362         gdb.base/step-break.exp, gdb.base/step-bt.exp,
2363         gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
2364         gdb.base/step-test.exp, gdb.base/structs.exp,
2365         gdb.base/structs2.exp, gdb.base/structs3.exp,
2366         gdb.base/symbol-without-target_section.exp: Use standard_testfile,
2367         standard_output_file, prepare_for_testing, clean_restart.
2368
2369 2013-06-27  Tom Tromey  <tromey@redhat.com>
2370
2371         * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
2372         gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
2373         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
2374         gdb.base/pending.exp, gdb.base/permissions.exp,
2375         gdb.base/pie-execl.exp, gdb.base/pointers.exp,
2376         gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
2377         gdb.base/printcmds.exp, gdb.base/prologue.exp,
2378         gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
2379         gdb.base/ptype.exp, gdb.base/randomize.exp,
2380         gdb.base/readline-ask.exp, gdb.base/recpar.exp,
2381         gdb.base/recurse.exp, gdb.base/relativedebug.exp,
2382         gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
2383         gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
2384         standard_testfile, standard_output_file, prepare_for_testing,
2385         clean_restart.
2386
2387 2013-06-27  Tom Tromey  <tromey@redhat.com>
2388
2389         * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
2390         gdb.base/huge.exp, gdb.base/included.exp,
2391         gdb.base/inferior-died.exp, gdb.base/infnan.exp,
2392         gdb.base/info-fun.exp, gdb.base/info-macros.exp,
2393         gdb.base/info-os.exp, gdb.base/info-proc.exp,
2394         gdb.base/info-target.exp, gdb.base/infoline.exp,
2395         gdb.base/interp.exp, gdb.base/interrupt.exp,
2396         gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
2397         gdb.base/kill-after-signal.exp, gdb.base/label.exp,
2398         gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
2399         gdb.base/logical.exp, gdb.base/long_long.exp,
2400         gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
2401         gdb.base/memattr.exp, gdb.base/mips_pro.exp,
2402         gdb.base/miscexprs.exp, gdb.base/morestack.exp,
2403         gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
2404         standard_testfile, standard_output_file, prepare_for_testing,
2405         clean_restart.
2406
2407 2013-06-27  Tom Tromey  <tromey@redhat.com>
2408
2409         * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
2410         gdb.base/enumval.exp, gdb.base/environ.exp,
2411         gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
2412         gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
2413         gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
2414         gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
2415         gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
2416         gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
2417         gdb.base/fullname.exp, gdb.base/funcargs.exp,
2418         gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
2419         gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
2420         gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
2421         gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
2422         gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
2423         gdb.base/gnu_vector.exp: Use standard_testfile,
2424         standard_output_file, prepare_for_testing, clean_restart.
2425
2426 2013-06-27  Tom Tromey  <tromey@redhat.com>
2427
2428         * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
2429         gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
2430         gdb.base/call-strs.exp, gdb.base/callexit.exp,
2431         gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
2432         gdb.base/catch-syscall.exp, gdb.base/charset.exp,
2433         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
2434         gdb.base/code-expr.exp, gdb.base/code_elim.exp,
2435         gdb.base/commands.exp, gdb.base/completion.exp,
2436         gdb.base/complex.exp, gdb.base/cond-expr.exp,
2437         gdb.base/condbreak.exp, gdb.base/consecutive.exp,
2438         gdb.base/constvars.exp, gdb.base/corefile.exp,
2439         gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
2440         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2441         gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
2442         gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
2443         gdb.base/dup-sect.exp: Use standard_testfile,
2444         standard_output_file, prepare_for_testing, clean_restart.
2445
2446 2013-06-27  Tom Tromey  <tromey@redhat.com>
2447
2448         * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
2449         gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
2450         gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
2451         gdb.base/async-shell.exp, gdb.base/async.exp,
2452         gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
2453         gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
2454         gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
2455         gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
2456         gdb.base/break-entry.exp, gdb.base/break-interp.exp,
2457         gdb.base/break-on-linker-gcd-function.exp,
2458         gdb.base/breakpoint-shadow.exp: Use standard_testfile,
2459         standard_output_file, prepare_for_testing, clean_restart.
2460
2461 2013-06-26  Yao Qi  <yao@codesourcery.com>
2462
2463         * gdb.trace/mi-trace-frame-collected.exp: New.
2464
2465 2013-06-25  Yao Qi  <yao@codesourcery.com>
2466
2467         * boards/native-extended-gdbserver.exp: Set board_info
2468         'gdb,predefined_tsv'.
2469         * boards/native-gdbserver.exp: Likewise.
2470         * boards/native-stdio-gdbserver.exp: Likewise.
2471         * gdb.server/ext-attach.exp: Load trace-support.exp.  Check
2472         uploaded TSVs if target supports tracing.
2473         * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
2474         tracing and target has predefined tsv.
2475
2476 2013-06-25  Yao Qi  <yao@codesourcery.com>
2477             Hui Zhu  <hui@codesourcery.com>
2478             Pedro Alves  <palves@redhat.com>
2479
2480         PR breakpoints/15075
2481         PR breakpoints/15434
2482         * gdb.base/dprintf-next.c: New file.
2483         * gdb.base/dprintf-next.exp: New file.
2484         * gdb.base/dprintf-non-stop.c: New file.
2485         * gdb.base/dprintf-non-stop.exp: New file.
2486         * gdb.base/dprintf.exp: Don't check "continue" in the output
2487         of "info breakpoints".
2488         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2489         Don't check "continue" in script field.
2490
2491 2013-06-21  Tom Tromey  <tromey@redhat.com>
2492
2493         * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
2494         name in a test name.
2495
2496 2013-06-20  Yao Qi  <yao@codesourcery.com>
2497
2498         * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
2499         and set an action.
2500         (test_trace_unavailable): Test command -data-list-register-values
2501         in the context of traceframe and with option --skip-unavailable.
2502         * gdb.trace/trace-unavailable.c (foo): New.
2503         (main): Call it.
2504         * gdb.mi/gdb2549.exp: Update matching pattern.
2505
2506 2013-06-19  Mike Frysinger  <vapier@gentoo.org>
2507
2508         * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
2509         * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
2510         * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
2511         * gdb.arch/i386-sse.c: Call new i386_cpuid function.
2512         * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
2513
2514 2013-06-19  Luis Machado  <lgustavo@codesourcery.com>
2515
2516         * gdb.base/subst.exp: Delete default rules before further
2517         tests.
2518
2519 2013-06-19  Yao Qi  <yao@codesourcery.com>
2520
2521         * gdb.base/maint.exp: Make the test to command 'maint dump-me'
2522         unsupported if it is not registered.
2523
2524 2013-06-18  Tom Tromey  <tromey@redhat.com>
2525
2526         * gdb.base/random-signal.c: New file.
2527         * gdb.base/random-signal.exp: New file.
2528
2529 2013-06-18  Will Newton  <will.newton@linaro.org>
2530
2531         * gdb.base/skip.c: Use comma to evaluate results of foo()
2532         and bar() before passing to baz().
2533         * gdb.base/skip.c: baz() now takes one argument instead of
2534         two.
2535
2536 2013-06-18  Tom Tromey  <tromey@redhat.com>
2537
2538         * gdb.dwarf2/implptrpiece.exp: New file.
2539         * gdb.dwarf2/implptrconst.exp (d): New variable.
2540         Print d.
2541         * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
2542
2543 2013-06-18  Tom Tromey  <tromey@redhat.com>
2544
2545         * lib/selftest-support.exp (do_self_tests): Reject remote or
2546         non-native targets.
2547         * gdb.gdb/complaints.exp: Remove check.
2548         * gdb.gdb/observer.exp: Remove check.
2549         * gdb.gdb/xfullpath.exp: Remove check.
2550         * gdb.gdb/complaints.exp: Remove check.
2551
2552 2013-06-07  Pedro Alves  <palves@redhat.com>
2553
2554         * boards/native-extended-gdbserver.exp: Remove semicolon.
2555         * config/arm-ice.exp: Likewise.
2556         * config/bfin.exp: Likewise.
2557         * config/cygmon.exp: Likewise.
2558         * config/h8300.exp: Likewise.
2559         * config/monitor.exp: Likewise.
2560         * config/sid.exp: Likewise.
2561         * config/sim.exp: Likewise.
2562         * config/slite.exp: Likewise.
2563         * config/vx.exp: Likewise.
2564         * gdb.arch/i386-bp_permanent.exp: Likewise.
2565         * gdb.asm/asm-source.exp: Likewise.
2566         * gdb.base/args.exp: Likewise.
2567         * gdb.base/attach-pie-misread.exp: Likewise.
2568         * gdb.base/auxv.exp: Likewise.
2569         * gdb.base/bigcore.exp: Likewise.
2570         * gdb.base/bitfields2.exp: Likewise.
2571         * gdb.base/bitfields.exp: Likewise.
2572         * gdb.base/break.exp: Likewise.
2573         * gdb.base/break-interp.exp: Likewise.
2574         * gdb.base/callfuncs.exp: Likewise.
2575         * gdb.base/call-sc.exp: Likewise.
2576         * gdb.base/commands.exp: Likewise.
2577         * gdb.base/corefile.exp: Likewise.
2578         * gdb.base/dbx.exp: Likewise.
2579         * gdb.base/ending-run.exp: Likewise.
2580         * gdb.base/exprs.exp: Likewise.
2581         * gdb.base/funcargs.exp: Likewise.
2582         * gdb.base/hbreak2.exp: Likewise.
2583         * gdb.base/huge.exp: Likewise.
2584         * gdb.base/list.exp: Likewise.
2585         * gdb.base/memattr.exp: Likewise.
2586         * gdb.base/overlays.exp: Likewise.
2587         * gdb.base/printcmds.exp: Likewise.
2588         * gdb.base/recurse.exp: Likewise.
2589         * gdb.base/remotetimeout.exp: Likewise.
2590         * gdb.base/reread.exp: Likewise.
2591         * gdb.base/savedregs.exp: Likewise.
2592         * gdb.base/scope.exp: Likewise.
2593         * gdb.base/sepdebug.exp: Likewise.
2594         * gdb.base/setshow.exp: Likewise.
2595         * gdb.base/setvar.exp: Likewise.
2596         * gdb.base/sigaltstack.exp: Likewise.
2597         * gdb.base/siginfo-addr.exp: Likewise.
2598         * gdb.base/siginfo.exp: Likewise.
2599         * gdb.base/siginfo-obj.exp: Likewise.
2600         * gdb.base/sigrepeat.exp: Likewise.
2601         * gdb.base/sigstep.exp: Likewise.
2602         * gdb.base/structs.exp: Likewise.
2603         * gdb.base/testenv.exp: Likewise.
2604         * gdb.base/twice.exp: Likewise.
2605         * gdb.base/valgrind-db-attach.exp: Likewise.
2606         * gdb.base/valgrind-infcall.exp: Likewise.
2607         * gdb.base/varargs.exp: Likewise.
2608         * gdb.base/watchpoint.exp: Likewise.
2609         * gdb.cp/gdb1355.exp: Likewise.
2610         * gdb.cp/misc.exp: Likewise.
2611         * gdb.disasm/hppa.exp: Likewise.
2612         * gdb.disasm/t01_mov.exp: Likewise.
2613         * gdb.disasm/t02_mova.exp: Likewise.
2614         * gdb.disasm/t03_add.exp: Likewise.
2615         * gdb.disasm/t04_sub.exp: Likewise.
2616         * gdb.disasm/t05_cmp.exp: Likewise.
2617         * gdb.disasm/t06_ari2.exp: Likewise.
2618         * gdb.disasm/t07_ari3.exp: Likewise.
2619         * gdb.disasm/t08_or.exp: Likewise.
2620         * gdb.disasm/t09_xor.exp: Likewise.
2621         * gdb.disasm/t10_and.exp: Likewise.
2622         * gdb.disasm/t11_logs.exp: Likewise.
2623         * gdb.disasm/t12_bit.exp: Likewise.
2624         * gdb.disasm/t13_otr.exp: Likewise.
2625         * gdb.gdb/selftest.exp: Likewise.
2626         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2627         * gdb.mi/mi-reverse.exp: Likewise.
2628         * gdb.pascal/floats.exp: Likewise.
2629         * gdb.python/py-inferior.exp: Likewise.
2630         * gdb.threads/attach-into-signal.exp: Likewise.
2631         * gdb.threads/pthreads.exp: Likewise.
2632         * gdb.threads/thread_events.exp: Likewise.
2633         * gdb.threads/watchthreads.exp: Likewise.
2634         * gdb.trace/actions-changed.exp: Likewise.
2635         * gdb.trace/actions.exp: Likewise.
2636         * gdb.trace/ax.exp: Likewise.
2637         * gdb.trace/backtrace.exp: Likewise.
2638         * gdb.trace/change-loc.exp: Likewise.
2639         * gdb.trace/deltrace.exp: Likewise.
2640         * gdb.trace/disconnected-tracing.exp: Likewise.
2641         * gdb.trace/ftrace.exp: Likewise.
2642         * gdb.trace/infotrace.exp: Likewise.
2643         * gdb.trace/passc-dyn.exp: Likewise.
2644         * gdb.trace/passcount.exp: Likewise.
2645         * gdb.trace/pending.exp: Likewise.
2646         * gdb.trace/qtro.exp: Likewise.
2647         * gdb.trace/range-stepping.exp: Likewise.
2648         * gdb.trace/report.exp: Likewise.
2649         * gdb.trace/save-trace.exp: Likewise.
2650         * gdb.trace/status-stop.exp: Likewise.
2651         * gdb.trace/strace.exp: Likewise.
2652         * gdb.trace/tfile.exp: Likewise.
2653         * gdb.trace/tfind.exp: Likewise.
2654         * gdb.trace/trace-break.exp: Likewise.
2655         * gdb.trace/tracecmd.exp: Likewise.
2656         * gdb.trace/trace-mt.exp: Likewise.
2657         * gdb.trace/tspeed.exp: Likewise.
2658         * gdb.trace/tsv.exp: Likewise.
2659         * gdb.trace/while-stepping.exp: Likewise.
2660         * lib/gdb.exp: Likewise.
2661         * lib/gdbserver-support.exp: Likewise.
2662         * lib/java.exp: Likewise.
2663         * lib/mi-support.exp: Likewise.
2664         * lib/pascal.exp: Likewise.
2665         * lib/prompt.exp: Likewise.
2666         * lib/trace-support.exp: Likewise.
2667
2668 2013-06-07  Pedro Alves  <palves@redhat.com>
2669
2670         * gdb.ada/info_types.c: Fix formating in copyright header.
2671         * gdb.base/break-on-linker-gcd-function.cc: Likewise.
2672         * gdb.base/float.c: Likewise.
2673         * gdb.base/inferior-died.c: Likewise.
2674         * gdb.base/interp.c: Likewise.
2675         * gdb.base/jit-main.c: Likewise.
2676         * gdb.base/jit-solib.c: Likewise.
2677         * gdb.base/long_long.c: Likewise.
2678         * gdb.base/longjmp.c: Likewise.
2679         * gdb.base/nextoverexit.c: Likewise.
2680         * gdb.base/pr11022.c: Likewise.
2681         * gdb.base/prelink-lib.c: Likewise.
2682         * gdb.base/prelink.c: Likewise.
2683         * gdb.base/prologue.c: Likewise.
2684         * gdb.base/restore.c: Likewise.
2685         * gdb.base/sigchld.c: Likewise.
2686         * gdb.base/solib-search-lib1.c: Likewise.
2687         * gdb.base/solib-search-lib2.c: Likewise.
2688         * gdb.base/solib-search.c: Likewise.
2689         * gdb.base/solib-search.h: Likewise.
2690         * gdb.base/whatis.c: Likewise.
2691         * gdb.cp/abstract-origin.cc: Likewise.
2692         * gdb.cp/anon-struct.cc: Likewise.
2693         * gdb.cp/baseenum.cc: Likewise.
2694         * gdb.cp/bs15503.cc: Likewise.
2695         * gdb.cp/call-c-1.c: Likewise.
2696         * gdb.cp/call-c.cc: Likewise.
2697         * gdb.cp/class2.cc: Likewise.
2698         * gdb.cp/classes.cc: Likewise.
2699         * gdb.cp/cttiadd.cc: Likewise.
2700         * gdb.cp/cttiadd1.cc: Likewise.
2701         * gdb.cp/cttiadd2.cc: Likewise.
2702         * gdb.cp/cttiadd3.cc: Likewise.
2703         * gdb.cp/derivation.cc: Likewise.
2704         * gdb.cp/derivation2.cc: Likewise.
2705         * gdb.cp/dispcxx.cc: Likewise.
2706         * gdb.cp/exception.cc: Likewise.
2707         * gdb.cp/gdb2384-base.cc: Likewise.
2708         * gdb.cp/gdb2384-base.h: Likewise.
2709         * gdb.cp/gdb2384.cc: Likewise.
2710         * gdb.cp/gdb2495.cc: Likewise.
2711         * gdb.cp/mb-inline.h: Likewise.
2712         * gdb.cp/mb-inline1.cc: Likewise.
2713         * gdb.cp/mb-inline2.cc: Likewise.
2714         * gdb.cp/member-name.cc: Likewise.
2715         * gdb.cp/member-ptr.cc: Likewise.
2716         * gdb.cp/misc.cc: Likewise.
2717         * gdb.cp/namespace1.cc: Likewise.
2718         * gdb.cp/nextoverthrow.cc: Likewise.
2719         * gdb.cp/pr-574.cc: Likewise.
2720         * gdb.cp/pr9631.cc: Likewise.
2721         * gdb.cp/printmethod.cc: Likewise.
2722         * gdb.cp/psmang1.cc: Likewise.
2723         * gdb.cp/psmang2.cc: Likewise.
2724         * gdb.cp/psymtab-parameter.cc: Likewise.
2725         * gdb.cp/ptype-flags.cc: Likewise.
2726         * gdb.cp/ref-params.cc: Likewise.
2727         * gdb.cp/ref-types.cc: Likewise.
2728         * gdb.cp/smartp.cc: Likewise.
2729         * gdb.cp/try_catch.cc: Likewise.
2730         * gdb.cp/userdef.cc: Likewise.
2731         * gdb.cp/using-crash.cc: Likewise.
2732         * gdb.cp/virtfunc.cc: Likewise.
2733         * gdb.cp/virtfunc2.cc: Likewise.
2734         * gdb.dwarf2/callframecfa.S: Likewise.
2735         * gdb.dwarf2/dw2-ranges.c: Likewise.
2736         * gdb.dwarf2/dw2-ranges2.c: Likewise.
2737         * gdb.dwarf2/dw2-ranges3.c: Likewise.
2738         * gdb.dwarf2/dw2-restore.S: Likewise.
2739         * gdb.dwarf2/pieces.S: Likewise.
2740         * gdb.dwarf2/valop.S: Likewise.
2741         * gdb.java/jnpe.java: Likewise.
2742         * gdb.mi/mi-stepn.c: Likewise.
2743         * gdb.mi/mi-var-cp.cc: Likewise.
2744         * gdb.mi/mi-var-rtti.cc: Likewise.
2745         * gdb.mi/ns-stale-regcache.c: Likewise.
2746         * gdb.mi/pr11022.c: Likewise.
2747         * gdb.mi/solib-lib.c: Likewise.
2748         * gdb.mi/solib-main.c: Likewise.
2749         * gdb.python/py-arch.c: Likewise.
2750         * gdb.python/py-block.c: Likewise.
2751         * gdb.python/py-breakpoint.c: Likewise.
2752         * gdb.python/py-events.c: Likewise.
2753         * gdb.python/py-evthreads.c: Likewise.
2754         * gdb.python/py-explore.c: Likewise.
2755         * gdb.python/py-explore.cc: Likewise.
2756         * gdb.python/py-finish-breakpoint.c: Likewise.
2757         * gdb.python/py-finish-breakpoint2.cc: Likewise.
2758         * gdb.python/py-symbol.c: Likewise.
2759         * gdb.threads/execl.c: Likewise.
2760         * gdb.threads/execl1.c: Likewise.
2761
2762 2013-06-07  Will Newton  <will.newton@linaro.org>
2763
2764         * gdb.base/long_long.exp: Fix ARM EABI target glob.
2765
2766 2013-06-07  Will Newton  <will.newton@linaro.org>
2767
2768         * gdb.cp/annota2.exp: Add empty line between "post-prompt"
2769         and "starting".
2770
2771 2013-06-07  Will Newton  <will.newton@linaro.org>
2772
2773         * gdb.cp/anon-struct.exp: Conditionalize constructor and
2774         destructor prototypes for ARM ABI.
2775         * gdb.cp/m-static.exp: Likewise.
2776
2777 2013-06-07  Yao Qi  <yao@codesourcery.com>
2778
2779         * gdb.trace/mi-trace-unavailable.exp: New.
2780         * gdb.trace/trace-unavailable.c: New.
2781
2782 2013-06-06  Doug Evans  <dje@google.com>
2783
2784         * gdb.cp/derivation.exp: Make tests have unique names.
2785
2786 2013-06-06  Tom Tromey  <tromey@redhat.com>
2787
2788         * gdb.base/dump.exp (capture_value): Don't put expression into
2789         test name if arguments passed in.
2790         Rename a couple more tests to make them unique.
2791
2792 2013-06-06  Tom Tromey  <tromey@redhat.com>
2793
2794         * gdb.base/break-always.exp: Explicitly specify test name.
2795
2796 2013-06-05  Doug Evans  <dje@google.com>
2797             Keith Seitz  <keiths@redhat.com>
2798
2799         * gdb.cp/derivation2.cc: New file.
2800         * gdb.cp/derivation.cc (main): Call foo2.
2801         * gdb.cp/derivation.exp: Add tests for typedefs in another
2802         file, and when there's an active block.
2803
2804 2013-06-05  Luis Machado  <lgustavo@codesourcery.com>
2805
2806         * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
2807         from targets that use function descriptors in the virtual tables.
2808         Handle presence of dot symbols.
2809
2810 2013-06-04  Gary Benson  <gbenson@redhat.com>
2811
2812         * gdb.base/break-probes.exp: New file.
2813         * gdb.base/break-probes.c: Likewise.
2814         * gdb.base/break-probes-solib.c: Likewise.
2815         * gdb.base/info-shared.exp: New file.
2816         * gdb.base/info-shared.c: Likewise.
2817         * gdb.base/info-shared-solib1.c: Likewise.
2818         * gdb.base/info-shared-solib2.c: Likewise.
2819
2820 2013-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2821             Gary Benson  <gbenson@redhat.com>
2822
2823         * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
2824         gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
2825         * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
2826         to be set to "no" to indicate that no ld.so copy should be made.
2827         * gdb.base/break-interp.exp (solib_bp): New constant.
2828         (reach_1): Use the above instead of "_dl_debug_state".
2829         (test_attach): Likewise.
2830         (test_ld): Likewise.
2831         * gdb.threads/dlopen-libpthread.exp: New file.
2832         * gdb.threads/dlopen-libpthread.c: Likewise.
2833         * gdb.threads/dlopen-libpthread-lib.c: Likewise.
2834         * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
2835
2836 2013-05-30  Yao Qi  <yao@codesourcery.com>
2837
2838         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2839         Add a test that no MI notification is emitted when executing
2840         -exec-arguments.
2841
2842 2013-05-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2843
2844         PR testsuite/12649
2845         * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
2846         $mi_gdb_prompt expectation by mi_expect_stop.
2847         (mi 1st dprintf, agent, mi 2nd dprintf, agent)
2848         (mi info dprintf second time): Replace them by mi_send_resuming_command
2849         and mi_expect_stop.
2850
2851 2013-05-24  Gary Benson  <gbenson@redhat.com>
2852
2853         * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
2854         backslash.
2855         * gdb.base/unload.exp (exec_opts): Remove two unnecessary
2856         backslashes.
2857         * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
2858         backslash.
2859
2860 2013-05-24  Yao Qi  <yao@codesourcery.com>
2861
2862         * gdb.trace/tfile.exp: Test inferior and thread.
2863
2864 2013-05-24  Yao Qi  <yao@codesourcery.com>
2865             Pedro Alves  <palves@redhat.com>
2866
2867         * gdb.base/range-stepping.exp: Skip the rest of tests if the
2868         test fails.
2869         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2870         Return 0 if the test passes, otherwise return 1.
2871
2872 2013-05-23  Doug Evans  <dje@google.com>
2873
2874         * boards/fission-dwp.exp: New file.
2875
2876 2013-05-23  Yao Qi  <yao@codesourcery.com>
2877             Pedro Alves  <palves@redhat.com>
2878
2879         * gdb.base/range-stepping.c: New file.
2880         * gdb.base/range-stepping.exp: New file.
2881         * gdb.trace/range-stepping.c: New file.
2882         * gdb.trace/range-stepping.exp: New file.
2883         * lib/range-stepping-support.exp: New file.
2884
2885 2013-05-22  Tom Tromey  <tromey@redhat.com>
2886
2887         * gdb.cp/class2.cc (main): New local 'aref'.
2888         * gdb.cp/class2.exp: Check printing of 'aref'.
2889
2890 2013-05-22  Doug Evans  <dje@google.com>
2891
2892         * gdb.threads/wp-replication.c (main): Insert some code at the start
2893         to ensure the breakpoint on main is only hit once.  Fix comment.
2894
2895 2013-05-21  Keith Seitz  <keiths@redhat.com>
2896             Pedro Alves  <palves@redhat.com>
2897
2898         * gdb.base/filesym.exp: Use gdb_test_multiple instead of
2899         gdb_expect.
2900         Add test to flush the remaining input buffer so that this
2901         file passes testsuite/12649.
2902
2903 2013-05-21  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
2904
2905         * gdb.base/catch-signal-fork.exp: New file.
2906         * gdb.base/catch-signal-fork.c: New file.
2907
2908 2013-05-21  Sterling Augustine  <saugustine@google.com>
2909
2910         * boards/remote-stdio-gdbserver.exp: New file.
2911
2912 2013-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
2913
2914         PR testsuite/12649
2915         * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
2916         racy matches.
2917
2918 2013-05-21  Christian Groessler  <chris@groessler.org>
2919
2920         * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
2921         since it's not supported in all shells.
2922
2923 2013-05-21  Hui Zhu  <hui@codesourcery.com>
2924
2925         * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
2926         * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
2927
2928 2013-05-20  Doug Evans  <dje@google.com>
2929
2930         * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
2931         (_handle_DW_TAG): Use it.
2932         (cu, tu): Replace parameters is_64, version, addr_size with options.
2933         All callers updated.  Add Fission support.
2934         * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
2935         * gdb.dwarf2/method-ptr.exp: Ditto.
2936         * gdb.dwarf2/nostaticblock.exp: Ditto.
2937         * gdb.dwarf2/subrange.exp: Ditto.
2938         * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
2939
2940 2013-05-20  Tom Tromey  <tromey@redhat.com>
2941
2942         * gdb.gdb/python-selftest.exp: New file.
2943
2944 2013-05-20  Doug Evans  <dje@google.com>
2945
2946         * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
2947         -fdebug-types-section.
2948
2949 2013-05-20  Joel Brobecker  <brobecker@adacore.com>
2950
2951         * gdb.ada/float_param: New testcase.
2952
2953 2013-05-17  Doug Evans  <dje@google.com>
2954
2955         * gdb.base/maint.exp: Update test for "maint check-psymtabs".
2956         Add tests for "maint check-symtabs", "maint expand-symtabs".
2957
2958         * gdb.base/maint.exp: Remove testing of individual maint command
2959         help output.
2960
2961 2013-05-16  Pedro Alves  <palves@redhat.com>
2962
2963         * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
2964         comment.  Use gdb_test_no_output.
2965
2966 2013-05-16  Joel Brobecker  <brobecker@adacore.com>
2967
2968         * gdb.ada/complete.exp: Add test verifying completion using
2969         the "tab" key.
2970
2971 2013-05-15  Keith Seitz  <keiths@redhat.com>
2972
2973         * gdb.base/filesym.exp: New completer test.
2974         * gdb.base/filesym.c: New file.
2975
2976 2013-05-15  Pedro Alves  <palves@redhat.com>
2977
2978         * gdb.base/fixsection.c: Remove attribution.
2979         * gdb.base/watch-read.exp: Ditto.
2980
2981 2013-05-13  Tom Tromey  <tromey@redhat.com>
2982
2983         * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
2984         size and change type sizes to 4 bytes.
2985
2986 2013-05-13  Tom Tromey  <tromey@redhat.com>
2987
2988         * gdb.base/exprs.exp (test_expr): Add regression test.
2989         * gdb.base/exprs.c (null_t_struct): New global.
2990
2991 2013-05-13  Muhammad Bilal  <mbilal@codesourcery.com>
2992
2993        * gdb.base/default.exp: Disable history saving.
2994        * gdb.base/setshow.exp: Likewise.
2995
2996 2013-05-10  Pedro Alves  <palves@redhat.com>
2997
2998         PR remote/15455
2999
3000         * gdb.trace/qtro.c: New file.
3001         * gdb.trace/qtro.exp: New file.
3002
3003 2013-05-10  Phil Muldoon  <pmuldoon@redhat.com>
3004
3005         * gdb.python/py-framefilter.py: New File.
3006         * gdb.python/py-framefilter-mi.exp: Ditto.
3007         * gdb.python/py-framefilter.c: Ditto.
3008         * gdb.python/py-framefilter-mi.exp: Ditto.
3009         * gdb.python/py-framefilter-mi.c: Ditto,
3010         * gdb.python/py-framefilter-gdb.py.in: Ditto.
3011
3012 2013-05-08  Tom Tromey  <tromey@redhat.com>
3013
3014         * gdb.base/solib-search.exp: Set test name for "set
3015         solib-search-path" test.
3016
3017 2013-05-08  Hafiz Abid Qadeer  <abidh@codesourcery.com>
3018
3019         * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
3020         (set_a_tracepoint): Set tracepoint before prologue.
3021         (run_trace_experiment): Test setup_tracepoints and 'break end'
3022         in it.
3023         (trace_buffer_normal): Remove.
3024         (gdb_trace_circular_tests): Remove.  Move tests to...
3025         (top level): ...here.  Call 'runto_main' before checking for
3026         trace support.  Use commands to check the support for circular
3027         trace buffer and changing of trace buffer size.  Add test
3028         to calculate size of single frame.  Use this size to
3029         calculate the size of trace buffer.  Use 'tfind pc func9'
3030         instead of 'tfind 9'.  Use 'with_test_prefix'.
3031
3032 2013-05-07  Tom Tromey  <tromey@redhat.com>
3033
3034         * lib/selftest-support.exp: New file.
3035         * gdb.gdb/complaints.exp: Load selftest-support.exp.  Use
3036         do_self_tests.
3037         (setup_test, find_gdb): Remove.
3038         * gdb.gdb/observer.exp: Load selftest-support.exp.  Use
3039         do_self_tests.
3040         (setup_test, find_gdb): Remove.
3041         (test_observer): Don't call setup_test.  Remove argument.
3042         * gdb.gdb/selftest.exp: Load selftest-support.exp.
3043         (find_gdb): Remove.
3044         * gdb.gdb/complaints.exp: Load selftest-support.exp.  Use
3045         do_self_tests.
3046         (setup_test, find_gdb): Remove.
3047         (test_with_self): Don't call setup_test.  Remove argument.
3048
3049 2013-05-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3050
3051         * gdb.arch/system-gcore.exp: Remove.
3052         * gdb.arch/gcore.c: Remove.
3053         * gdb.base/gcore.exp: Add "info reg system".
3054
3055 2013-05-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3056
3057         PR breakpoints/15413:
3058         * gdb.base/pending.exp: Add test for completion of the "condition"
3059         command for pending breakpoints.
3060         * gdb.linespec/linespec.ex: Add test for completion of the
3061         "condition" command when dealing with multiple locations.
3062
3063 2013-05-07  Luis Machado  <lgustavo@codesourcery.com>
3064
3065         * gdb.threads/wp-replication.c: New file.
3066         * gdb.threads/wp-replication.exp: New file.
3067
3068 2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
3069
3070         * gdb.xml/tdesc-regs.exp: Add case for nios2.
3071
3072 2013-05-06  Doug Evans  <dje@google.com>
3073
3074         * gdb.base/solib-search-lib1.c: New file.
3075         * gdb.base/solib-search-lib2.c: New file.
3076         * gdb.base/solib-search.c: New file.
3077         * gdb.base/solib-search.h: New file.
3078         * gdb.base/solib-search.exp: New file.
3079
3080         * lib/gdb.exp (gdb_core_cmd): New function.
3081         * gdb.arch/system-gcore.exp: Use it.
3082         * gdb.arch/vsx-regs.exp: Ditto.
3083         * gdb.base/gcore.exp: Ditto.
3084         * gdb.threads/gcore-thread.exp: Ditto.
3085
3086         * gdb.reverse/shr.h: New file.
3087         * gdb.reverse/shr1.c: New file.
3088         * gdb.reverse/shr2.c: #include "shr.h".
3089         * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
3090         #include "shr.h".  Replace calls to printf,sleep to call shr1 instead.
3091         * gdb.reverse/solib-precsave.exp: Build shr2.sl.
3092         Update tests using sleep/printf to use shr2.sl instead.
3093         * gdb.reverse/solib-reverse.exp: Ditto.
3094
3095 2013-05-06  Tom Tromey  <tromey@redhat.com>
3096
3097         * gdb.dwarf2/implptrconst.c: New file.
3098         * gdb.dwarf2/implptrconst.exp: New file.
3099         * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
3100         (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
3101         (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
3102
3103 2013-05-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
3104
3105         * gdb.base/catch-sig.c (main): Raise SIGINT.
3106         * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
3107
3108 2013-05-03  Hafiz Abid Qadeer  <abidh@codesourcery.com>
3109
3110         * status-stop.exp (test_tstart_tstart): Check for error
3111         returned by the second 'tstart' command.
3112
3113 2013-03-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
3114
3115         * gdb.xml/maint_print_struct.exp: New file.
3116         * gdb.xml/maint_print_struct.xml: New file.
3117
3118 2013-04-25  Tom Tromey  <tromey@redhat.com>
3119
3120         * gdb.dwarf2/nostaticblock.exp: New file.
3121
3122 2013-04-24  Muhammad Bilal  <mbilal@codesourcery.com>
3123
3124         PR gdb/10462
3125         * gdb.base/setshow.exp: Add test case.
3126
3127 2013-04-23  Hui Zhu  <hui@codesourcery.com>
3128
3129         PR gdb/15293
3130         * gdb.base/dprintf.exp: Add ignore command.
3131
3132 2013-04-23  Hui Zhu  <hui@codesourcery.com>
3133
3134         PR gdb/15165
3135         * gdb.base/save-bp.exp: Add test for dprintf.
3136
3137 2013-04-22  Tom Tromey  <tromey@redhat.com>
3138
3139         * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
3140         notice_open_fds.
3141
3142 2013-04-22  Sergio Durigan Junior  <sergiodj@redhat.com>
3143
3144         * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
3145         ldflags.
3146
3147 2013-04-22  Sergio Durigan Junior  <sergiodj@redhat.com>
3148
3149         * gdb.arch/arm-bl-branch-dest.c: New file.
3150         * gdb.arch/arm-bl-branch-dest.exp: Likewise.
3151
3152 2013-04-19  Vladimir Kargov  <kargov@gmail.com>
3153             Pedro Alves  <palves@redhat.com>
3154
3155         * gdb.arch/i386-float.S: New file.
3156         * gdb.arch/i386-float.exp: New file.
3157
3158 2013-04-18  Luis Machado  <lgustavo@codesourcery.com>
3159
3160         * gdb.mi/mi-var-create-rtti.exp: Create a variable of
3161         type void *.
3162
3163 2013-04-17  Doug Evans  <dje@google.com>
3164
3165         * lib/dwarf.exp (Dwarf): New proc "tu".
3166         * gdb.dwarf2/missing-sig-type.exp: New file.
3167
3168 2013-04-15  Siva Chandra Reddy  <sivachandra@google.com>
3169
3170         Add option to link testcases with Pthreads library when
3171         using 'prepare_for_testing' in tests.
3172
3173         * lib/gdb.exp (build_executable_from_specs): Use
3174         gdb_compile_pthreads to compile if option "pthreads" is
3175         specified.
3176
3177 2013-04-15  Tom Tromey  <tromey@redhat.com>
3178
3179         * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
3180
3181 2013-04-15  Tom Tromey  <tromey@redhat.com>
3182
3183         * gdb.base/default.exp: Update for $_exception.
3184         * gdb.cp/exceptprint.cc: New file.
3185         * gdb.cp/exceptprint.exp: New file.
3186         * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
3187
3188 2013-04-15  Tom Tromey  <tromey@redhat.com>
3189
3190         * gdb.cp/typeid.cc: New file.
3191         * gdb.cp/typeid.exp: New file.
3192
3193 2013-04-15  Tom Tromey  <tromey@redhat.com>
3194
3195         * gdb.cp/exception.exp: Add "catch rethrow" tests.
3196
3197 2013-04-13  Yao Qi  <yao@codesourcery.com>
3198
3199         * gdb.base/completion.exp: Test completion of command
3200         'target ctf' if target ctf is supported.
3201
3202 2013-04-10  Pedro Alves  <palves@redhat.com>
3203
3204         * gdb.base/completion.exp: Test "set height", "set listsize" and
3205         "set trace-buffer-size" completion.
3206         * gdb.base/setshow.exp: Test "set height unlimited".
3207         * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
3208         unlimited".
3209
3210 2013-04-10  Yao Qi  <yao@codesourcery.com>
3211
3212         * gdb.trace/actions.exp: Save trace data to CTF.
3213         Change to ctf target if GDB supports, read CTF data in ctf
3214         target, and check the actions of tracepoints.
3215         * gdb.trace/while-stepping.exp: Likewise.
3216         * gdb.trace/report.exp: Test GDB saves trace data to CTF
3217         format and read CTF trace file if GDB supports.
3218         * gdb.trace/tstatus.exp: Save trace data to CTF.  If ctf
3219         target is supported, change to ctf target, read trace data and
3220         check output of command "tstatus".
3221         * gdb.trace/tsv.exp: Save trace frame to CTF.  If GDB supports,
3222         read CTF data by target ctf and call check_tsv.
3223
3224 2013-04-10  Yao Qi  <yao@codesourcery.com>
3225
3226         * gdb.trace/actions.exp (check_tracepoint): New.
3227         (top level): Start the tracing and check the actions of
3228         tracepoints.  Save trace data to tfile format.  Restart GDB
3229         and read trace file in tfile target.  Check the actions of
3230         tracepoints again.
3231         * gdb.trace/while-stepping.exp: Likewise.
3232
3233 2013-04-10  Yao Qi  <yao@codesourcery.com>
3234
3235         * gdb.trace/report.exp: Use standard_output_file for saved
3236         trace file.
3237
3238 2013-04-10  Hui Zhu  <hui@codesourcery.com>
3239
3240         * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
3241         (MISCELLANEOUS): Add dprintf-pendshr.sl.
3242         * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
3243
3244 2013-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
3245
3246         * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
3247         response.
3248
3249 2013-04-08  Pedro Alves  <palves@redhat.com>
3250
3251         * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
3252         the location.
3253
3254 2013-04-04  Sandra Loosemore  <sandra@codesourcery.com>
3255
3256         * gdb.cp/cplabel.exp: Allow empty directory in file reported
3257         for breakpoint location.
3258
3259 2013-04-04  Sandra Loosemore  <sandra@codesourcery.com>
3260
3261         * gdb.linespec/linespec.exp: Make dir/file:line tests
3262         conditional for non-remote hosts only.
3263
3264 2013-04-04  Stan Shebs  <stan@codesourcery.com>
3265             Pedro Alves  <palves@redhat.com>
3266
3267         * gdb.trace/Makefile.in (PROGS): Add actions-changed.
3268         * gdb.trace/actions-changed.c: New file.
3269         * gdb.trace/actions-changed.exp: New file.
3270         * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
3271         (gdb_trace_setactions_command): ... this.  Add "actions_command"
3272         parameter, and handle it.
3273         (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
3274
3275 2013-04-04  Yao Qi  <yao@codesourcery.com>
3276
3277         * gdb.server/server-kill.exp: Use command 'tstatus' instead of
3278         'step'.
3279
3280 2013-04-03  Yao Qi  <yao@codesourcery.com>
3281
3282         * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
3283         "tfile-basic.tf".
3284         (test_tfind_tfile): Likewise.
3285
3286 2013-04-03  Yao Qi  <yao@codesourcery.com>
3287
3288         * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
3289         "tfile-basic.tf" instead of "basic.tf".
3290         (write_error_trace_file): Pass argument "tfile-error.tf"
3291         instead of "error.tf".
3292         * gdb.trace/tfile.exp: Update tfile names to
3293         "tfile-basic.tf" and "tfile-error.tf".
3294
3295 2013-04-02  Sandra Loosemore  <sandra@codesourcery.com>
3296
3297         * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
3298         empty directory in file for breakpoint hit.
3299
3300 2013-03-29  Yao Qi  <yao@codesourcery.com>
3301
3302         * gdb.base/completion.exp: Test completion of commands
3303         "target core", "target tfile" and "target exec".
3304         * gdb.trace/tfile.exp: Test completion of command
3305         "target tfile".
3306
3307 2013-03-28  Joel Brobecker  <brobecker@adacore.com>
3308
3309         * gdb.ada/win_fu_syms: New testcase.
3310
3311 2013-03-28  Doug Evans  <dje@google.com>
3312
3313         * gdb.base/maint.exp (maint print statistics): Update expected output.
3314
3315 2013-03-28  Pedro Alves  <palves@redhat.com>
3316
3317         PR gdb/15294
3318
3319         * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
3320         mean unlimited instead of $arg < 0.
3321         (test_listsize): Remove "listsize of 0 suppresses output" test.
3322         Test that "set listsize 0" ends up with an unlimited listsize.
3323
3324 2013-03-28  Pedro Alves  <palves@redhat.com>
3325
3326         * gdb.base/list.exp (last_line): New global.
3327         (last_line_re): New global.
3328         (test_listsize, test_list_function, test_list_forward)
3329         (test_repeat_list_command, test_list_range)
3330         (test_list_filename_and_function): Use them.
3331         * gdb.base/list0.c: Comment the last line of the file with "last
3332         line".
3333
3334 2013-03-28  Pedro Alves  <palves@redhat.com>
3335
3336         * gdb.base/list.exp (test_listsize): Adjust test to make sure we
3337         list the whole file.
3338
3339 2013-03-28  Pedro Alves  <palves@redhat.com>
3340
3341         * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
3342         "set listsize".
3343
3344 2013-03-26  Keith Seitz  <keiths@redhat.com>
3345
3346         * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
3347         from passing.
3348
3349 2013-03-26  Pedro Alves  <palves@redhat.com>
3350
3351         * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
3352         until after GDB has run.
3353
3354 2013-03-26  Yao Qi  <yao@codesourcery.com>
3355
3356         * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
3357         * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
3358
3359 2013-03-26  Markus Metzger  <markus.t.metzger@intel.com>
3360
3361         * gdb.btrace/enable.exp: Add regression test.
3362
3363 2013-03-25  Tom Tromey  <tromey@redhat.com>
3364
3365         * gdb.cp/m-static.exp: Add destructor-printing tests.
3366
3367 2013-03-25  Tom Tromey  <tromey@redhat.com>
3368
3369         * gdb.cp/m-static.exp: Add constructor ptype tests.
3370         * gdb.cp/m-static.cc (single_constructor): New class.
3371         (main): Make instance of single_constructor.
3372
3373 2013-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
3374             Pedro Alves  <palves@redhat.com>
3375
3376         * gdb.server/server-kill.c: New file.
3377         * gdb.server/server-kill.exp: New file.
3378
3379 2013-03-21  Pedro Alves  <palves@redhat.com>
3380
3381         * gdb.trace/trace-buffer-size.exp (get default buffer size):
3382         Expect $gdb_prompt in gdb_test_multiple.
3383
3384 2013-03-21  Doug Evans  <dje@google.com>
3385
3386         * gdb.base/maint.exp: Update tests for per-command stats.
3387
3388 2013-03-21  Tom Tromey  <tromey@redhat.com>
3389
3390         * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
3391         * gdb.cp/misc.exp: Add test for FILENAME:: case.
3392
3393 2013-03-20  Pedro Alves  <palves@redhat.com>
3394
3395         PR gdb/15289
3396
3397         * gdb.base/remote.exp: Test
3398         "set remote hardware-watchpoint-limit -1",
3399         "set remote hardware-breakpoint-limit -1",
3400         "set remote hardware-watchpoint-limit 2147483647" and
3401         "set remote hardware-breakpoint-limit 2147483647".
3402
3403 2013-03-20  Pedro Alves  <palves@redhat.com>
3404             Yao Qi  <yao@codesourcery.com>
3405
3406         * gdb.trace/tfile.c: Add comments.
3407         (nonconstglob): New global.
3408         * gdb.trace/tfile.exp: Add comments.  Test printing a non-const
3409         global that is not covered by the trace frame.  Test
3410         disassembling.
3411
3412 2013-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3413
3414         * gdb.base/valgrind-infcall.exp
3415         (continue #$continue_count) <remote connection closed>
3416         (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
3417         $valgrind_pid.
3418
3419 2013-03-15  Tom Tromey  <tromey@redhat.com>
3420
3421         * gdb.cp/overload.cc (intintfunc): New.
3422         * gdb.cp/overload.exp: Add regression test.
3423
3424 2013-03-15  Yao Qi  <yao@codesourcery.com>
3425
3426         * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
3427         using with_test_prefix.
3428         * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
3429         * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
3430         * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
3431         * gdb.threads/watchpoint-fork.exp (test): Likewise.
3432         * gdb.base/break-interp.exp (test_core): Likewise.
3433         (test_attach_gdb): Likewise.
3434         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3435         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3436         Likewise.
3437         * gdb.base/jit-so.exp (one_jit_test): Likewise.
3438         * gdb.base/jit.exp (one_jit_test): Likewise.
3439         * gdb.base/sepdebug.exp (test_different_dir): Likewise.
3440         * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
3441         * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
3442         * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
3443         Likewise.
3444         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
3445         Likewise.
3446         * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
3447         * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
3448         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
3449         (tracepoint_change_loc_2): Likewise.
3450         * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
3451         Likewise.
3452         (disconnected_tfind): Likewise.
3453         * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
3454         Likewise.
3455         (test_tfind_remote): Likewise.
3456         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
3457         Likewise.
3458         (test_pending_resolved): Likewise.
3459         * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
3460         Likewise.
3461         (test_upload_tsv): Likewise.
3462         * gdb.trace/pending.exp (pending_tracepoint_resolved):
3463         Likewise.
3464         (pending_tracepoint_works): Likewise.
3465         * gdb.trace/report.exp (use_collected_data): Likewise.
3466         * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
3467         Likewise.
3468         (test_tstart_tstart, test_buffer_full_tstart): Likewise.
3469         * gdb.trace/strace.exp (strace_info_marker): Likewise.
3470         (strace_trace_on_same_addr): Likewise.
3471         (strace_trace_on_diff_addr): Likewise.
3472         * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
3473         (gdb_collect_locals_test): Likewise.
3474         (gdb_unavailable_registers_test): Likewise.
3475         (gdb_collect_globals_test): Likewise.
3476
3477 2013-03-15  Yao Qi  <yao@codesourcery.com>
3478
3479         * gdb.base/condbreak.exp: Add semicolon back which was removed
3480         by my previous commit.
3481
3482 2013-03-14  Yao Qi  <yao@codesourcery.com>
3483
3484         * config/monitor.exp (gdb_target_cmd): Remove semicolon after
3485         'return'.
3486         (gdb_target_monitor, gdb_load): Likewise.
3487         * config/sid.exp (gdb_load): Likewise.
3488         * config/slite.exp (gdb_load): Likewise.
3489         * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
3490         * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
3491         * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
3492         (single_step_until): Likewise.
3493         * gdb.arch/powerpc-d128-regs.exp: Likewise.
3494         * gdb.arch/system-gcore.exp: Likewise.
3495         * gdb.base/bigcore.exp (extract_heap): Likewise.
3496         * gdb.base/break-on-linker-gcd-function.exp: Likewise.
3497         * gdb.base/call-ar-st.exp: Likewise.
3498         * gdb.base/call-rt-st.exp: Likewise.
3499         * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
3500         * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
3501         * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
3502         * gdb.base/corefile.exp: Likewise.
3503         * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
3504         * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
3505         * gdb.base/fixsection.exp: Likewise.
3506         * gdb.base/funcargs.exp: Likewise.
3507         * gdb.base/gcore-buffer-overflow.exp: Likewise.
3508         * gdb.base/gcore-relro.exp: Likewise.
3509         * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
3510         * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
3511         * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
3512         * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
3513         * gdb.base/list.exp: Likewise.
3514         (set_listsize): Likewise.
3515         * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
3516         * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
3517         * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
3518         * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
3519         * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
3520         * gdb.base/setvar.exp: Likewise.
3521         (test_set): Likewise.
3522         * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
3523         * gdb.base/solib-overlap.exp: Likewise.
3524         * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
3525         * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
3526         * gdb.base/watchpoint.exp (initialize): Likewise.
3527         (test_simple_watchpoint): Likewise.
3528         (test_disabling_watchpoints): Likewise.
3529         (test_watchpoint_triggered_in_syscall): Likewise.
3530         * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
3531         * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
3532         * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
3533         * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
3534         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
3535         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
3536         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3537         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3538         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
3539         * gdb.hp/gdb.compat/xdb2.exp: Likewise.
3540         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3541         * gdb.hp/gdb.defects/bs14602.exp: Likewise.
3542         * gdb.hp/gdb.defects/solib-d.exp: Likewise.
3543         * gdb.mi/gdb792.exp: Likewise.
3544         * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
3545         * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
3546         * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
3547         * gdb.threads/gcore-thread.exp: Likewise.
3548         (load_core): Likewise.
3549         * gdb.threads/pthreads.exp (all_threads_running): Likewise.
3550         (test_startup, check_control_c): Likewise.
3551         * gdb.threads/sigstep-threads.exp: Likewise.
3552         * gdb.threads/thread_check.exp: Likewise.
3553         * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
3554         * gdb.trace/circ.exp (run_trace_experiment): Likewise.
3555         (set_a_tracepoint, trace_buffer_normal): Likewise.
3556         (gdb_trace_circular_tests): Likewise.
3557         * gdb.trace/collection.exp: Likewise.
3558         * gdb.trace/disconnected-tracing.exp: Likewise.
3559         * gdb.trace/infotrace.exp: Likewise.
3560         * gdb.trace/mi-traceframe-changed.exp: Likewise.
3561         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3562         * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
3563         * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
3564         * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
3565         * gdb.trace/stap-trace.exp: Likewise.
3566         * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
3567         * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
3568         * gdb.trace/trace-buffer-size.exp: Likewise.
3569         * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
3570         * gdb.trace/unavailable.exp: Likewise.
3571         * gdb.trace/while-dyn.exp: Likewise.
3572         * lib/fortran.exp (set_lang_fortran): Likewise.
3573         * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
3574         (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
3575         (default_gdb_start, get_compiler_info): Likewise.
3576         (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
3577         (get_debug_format, setup_xfail_format): Likewise.
3578         (rerun_to_main, gdb_skip_float_test): Likewise.
3579         (build_id_debug_filename_get, get_remotetimeout): Likewise.
3580         * lib/java.exp (set_lang_java): Likewise.
3581         * lib/mi-support.exp (default_mi_gdb_start): Likewise.
3582         (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
3583         (mi_gdb_file_cmd, mi_gdb_test): Likewise.
3584         (mi_run_cmd_full, mi_expect_interrupt): Likewise.
3585         * lib/objc.exp (set_lang_objc): Likewise.
3586         * lib/pascal.exp (set_lang_pascal): Likewise.
3587         * lib/prompt.exp (default_prompt_gdb_start): Likewise.
3588         * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
3589         (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
3590
3591 2013-03-14  Sergio Durigan Junior  <sergiodj@redhat.com>
3592
3593         PR c++/15203
3594         PR c++/15210
3595         * gdb.cp/m-static.cc (keepalive_int): New function.
3596         (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
3597         * gdb.cp/m-static.exp: New test for `sintvar'.
3598
3599 2013-03-14  Yao Qi  <yao@codesourcery.com>
3600
3601         * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
3602         of 'tstatus' into tstatus_output.
3603         (top level): Save the trace data to tfile.  Read trace file in
3604         tfile target.  Check the trace status.
3605
3606 2013-03-13  Yao Qi  <yao@codesourcery.com>
3607
3608         * gdb.trace/tsv.exp (check_tsv): New.
3609         (top level): Save a tfile on current trace session. Call
3610         check_tsv on live target.  Load the tfile with target tfile
3611         and call check_tsv again.
3612
3613 2013-03-13  Yao Qi  <yao@codesourcery.com>
3614
3615         * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
3616         Replace some "gdb_test" with "gdb_test_no_output".
3617
3618 2013-03-12  Paul Hilfinger  <hilfingr@adacore.com>
3619
3620         * gdb.ada/expr_delims.exp: New file.
3621         * gdb.ada/expr_delims/foo.adb: New file.
3622         * gdb.ada/expr_delims/pck.ads: New file.
3623         * gdb.ada/expr_delims/pck.adb: New file.
3624
3625 2013-03-11  Keith Seitz  <keiths@redhat.com>
3626
3627         * watchpoint.exp (test_no_hw_watchpoints): Add test using
3628         both condition and thread.  Then delete the watchpoint.
3629
3630 2013-03-11  Christian Himpel  <christian.himpel@intel.com>
3631
3632         * Makefile.in: Add btrace testsuite.
3633         * configure: Regenerated.
3634         * configure.ac: Add btrace testsuite.
3635         * gdb.btrace/Makefile.in: New file.
3636         * gdb.btrace/enable.c: New file.
3637         * gdb.btrace/enable.exp: New file.
3638         * gdb.btrace/function_call_history.c: New file.
3639         * gdb.btrace/function_call_history.exp: New file.
3640         * gdb.btrace/instruction_history.c: New file.
3641         * gdb.btrace/instruction_history.exp: New file.
3642         * gdb.btrace/instruction_history.S: New file.
3643         * lib/gdb.exp: Add btrace skip proc.
3644
3645 2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
3646
3647         Fix entry-values if the callee called a noreturn function.
3648         * gdb.arch/amd64-tailcall-noret.S: New file.
3649         * gdb.arch/amd64-tailcall-noret.c: New file.
3650         * gdb.arch/amd64-tailcall-noret.exp: New file.
3651
3652 2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
3653
3654         Fix entry-values in C++ across CUs.
3655         * gdb.arch/amd64-tailcall-cxx.exp: New file.
3656         * gdb.arch/amd64-tailcall-cxx1.S: New file.
3657         * gdb.arch/amd64-tailcall-cxx1.cc: New file.
3658         * gdb.arch/amd64-tailcall-cxx2.S: New file.
3659         * gdb.arch/amd64-tailcall-cxx2.cc: New file.
3660
3661 2013-03-08  Stan Shebs  <stan@codesourcery.com>
3662             Hafiz Abid Qadeer  <abidh@codesourcery.com>
3663
3664         gdb/testsuite/
3665         * gdb.trace/trace-buffer-size.exp: New file.
3666         * gdb.trace/trace-buffer-size.c: New file.
3667
3668 2013-03-06  Pedro Alves  <palves@redhat.com>
3669
3670         * gdb.trace/tstatus.exp (run_trace_experiment): When the target
3671         doesn't support the tested optional feature, call "unsupported"
3672         with the same test message as the "pass" case, instead of calling
3673         "pass" with a different message.  Use the same text for the "fail"
3674         cases too.
3675
3676 2013-03-06  Yao Qi  <yao@codesourcery.com>
3677
3678         * gdb.trace/tstatus.exp: Remove the invocation of
3679         gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
3680         (test_tracepoints): Don't set fast tracepoint.
3681         (top level): Don't check agent library is loaded or not.
3682
3683 2013-03-06  Yao Qi  <yao@codesourcery.com>
3684
3685         * gdb.trace/tstatus.exp (run_trace_experiment): Escape
3686         parentheses by "\\".
3687
3688 2013-03-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
3689
3690         * gdb.linespec/base/one/thefile.cc (twodup): New.
3691         (m): Call it.
3692         * gdb.linespec/base/two/thefile.cc (dupname): New.
3693         (n): Call it.
3694         * gdb.linespec/break-ask.exp: New file.
3695         * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
3696
3697 2013-02-28  Yao Qi  <yao@codesourcery.com>
3698
3699         * gdb.trace/report.exp: Move some code to ...
3700         (use_collected_data): New.
3701         (top level): Call use_collected_data once on the live target.
3702         Save at file of the current trace session, load it with target
3703         tfile, and call use_collected_data again.
3704
3705 2013-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3706
3707         * gdb.threads/fork-thread-pending.c (main): Add alarm.
3708
3709 2013-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3710
3711         * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
3712         Add final kill of ${valgrind_pid}.
3713
3714 2013-02-20  Siva Chandra Reddy  <sivachandra@google.com>
3715
3716         * gdb.python/py-arch.c: New test case
3717         * gdb.python/py-arch.exp: New tests to test
3718         gdb.Architecture.disassemble
3719         * gdb.python/Makefile.in: Add py-arch to the list of
3720         EXECUTABLES.
3721
3722 2013-02-18  Tom Tromey  <tromey@redhat.com>
3723
3724         * gdb.dwarf2/subrange.exp: New file.
3725
3726 2013-02-15  Pedro Alves  <pedro@codesourcery.com>
3727             Hafiz Abid Qadeer  <abidh@codesourcery.com>
3728
3729         * gdb.trace/tfile.exp: Add test for -trace-status command.
3730
3731 2013-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3732
3733         * gdb.threads/pthread_cond_wait.c (main): Remove variable ts.  Replace
3734         nanosleep by sleep.
3735
3736 2013-02-14  Pedro Alves  <palves@redhat.com>
3737
3738         * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
3739
3740 2013-02-14  Pedro Alves  <pedro@codesourcery.com>
3741             Hafiz Abid Qadeer  <abidh@codesourcery.com>
3742
3743         * gdb.trace/tsv.exp: Adjust tests, and add a few more.
3744
3745 2013-02-12  Tom Tromey  <tromey@redhat.com>
3746
3747         * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
3748         * gdb.cp/m-static.exp: Add tests to print quoted destructor.
3749
3750 2013-02-12  Pedro Alves  <palves@redhat.com>
3751
3752         * gdb.base/catch-signal.c: Update copyright years.
3753         * gdb.base/catch-signal.exp: Update copyright years.
3754         * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
3755         * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
3756         * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
3757         * gdb.dwarf2/dw2-error.S: Update copyright years.
3758         * gdb.dwarf2/dw2-error.c: Update copyright years.
3759         * gdb.dwarf2/dw2-restrict.S: Update copyright years.
3760         * gdb.dwarf2/dw2-restrict.c: Update copyright years.
3761         * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
3762
3763 2013-02-12  Pedro Alves  <palves@redhat.com>
3764
3765         * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
3766         message.
3767         * gdb.base/sigaltstack.exp: Ditto.
3768         * gdb.base/siginfo.exp: Ditto.
3769         * gdb.base/sizeof.exp: Ditto.
3770
3771 2013-02-12  Pedro Alves  <palves@redhat.com>
3772
3773         * gdb.mi/mi-basics.exp: Tweak intro comment.
3774         * gdb.mi/mi-break.exp: Tweak intro comment.
3775         * gdb.mi/mi-console.exp: Tweak intro comment.
3776         * gdb.mi/mi-file.exp: Tweak intro comment.
3777         * gdb.mi/mi-read-memory.exp: Tweak intro comment.
3778         * gdb.mi/mi-return.exp: Tweak intro comment.
3779         * gdb.mi/mi-stepi.exp: Tweak intro comment.
3780         * gdb.mi/mi-until.exp: Tweak intro comment.
3781         * gdb.mi/mi-watch.exp: Tweak intro comment.
3782
3783 2013-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
3784
3785         * gdb.server/no-thread-db.exp: New file.
3786         * gdb.server/no-thread-db.c: New file.
3787         * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
3788
3789 2013-02-11  Doug Evans  <dje@google.com>
3790
3791         * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
3792         two decfloats.
3793
3794 2013-02-11  Sergio Durigan Junior  <sergiodj@redhat.com>
3795
3796         * gdb.base/bitfields.c (struct internalvartest): New declaration.
3797         * gdb.base/bitfields.exp (bitfield_internalvar): New function.
3798
3799 2013-02-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
3800
3801         * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
3802
3803 2013-02-06  Yao Qi  <yao@codesourcery.com>
3804
3805         * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
3806         to ...
3807         (test_create_delete_modify_tsv): ... here.  New test on modifying
3808         the initial value of a tsv.
3809
3810 2013-02-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
3811
3812         * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
3813         (cd .../rdir): ... here.
3814
3815 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
3816
3817         * gdb.linespec/base/one/header.h: New file.
3818         * gdb.linespec/base/two/header.h: New file.
3819         * gdb.linespec/macro-relative.c: New file.
3820         * gdb.linespec/macro-relative.exp: New file.
3821
3822 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
3823
3824         * gdb.base/fullpath-expand-func.c: New file.
3825         * gdb.base/fullpath-expand.c: New file.
3826         * gdb.base/fullpath-expand.exp: New file.
3827         * gdb.base/realname-expand-real.c: New file.
3828         * gdb.base/realname-expand.c: New file.
3829         * gdb.base/realname-expand.exp: New file.
3830
3831 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
3832
3833         * gdb.dwarf2/dw2-dir-file-name.exp: New file.
3834         * gdb.dwarf2/dw2-dir-file-name.c: New file.
3835
3836 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
3837
3838         * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
3839         (compare_filenames_for_search does not match)
3840         (compare_filenames_for_search does match): New tests.
3841
3842 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
3843
3844         * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
3845
3846 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3847
3848         * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
3849
3850 2013-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
3851
3852         * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
3853         ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
3854         ${binfile}.mini_debuginfo-debuglink and
3855         ${binfile}.mini_debuginfo-debuglink.xz.
3856
3857 2013-02-01  Tom Tromey  <tromey@redhat.com>
3858
3859         * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
3860         attributes.
3861
3862 2013-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
3863             Tom Tromey  <tromey@redhat.com>
3864
3865         * gdb.dwarf2/method-ptr.exp: Link with c++.
3866         * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
3867
3868 2013-01-31  Tom Tromey  <tromey@redhat.com>
3869
3870         * gdb.base/jit.exp (compile_jit_test): New proc.
3871         Add PIE tests.
3872
3873 2013-01-31  Tom Tromey  <tromey@redhat.com>
3874
3875         * gdb.dwarf2/method-ptr.cc: New file.
3876         * gdb.dwarf2/method-ptr.exp: New file.
3877
3878 2013-01-31  Tom Tromey  <tromey@redhat.com>
3879
3880         * lib/dwarf.exp (namespace Dwarf): New.
3881
3882 2013-01-29  Tom Tromey  <tromey@redhat.com>
3883
3884         * gdb.dwarf2/fission-reread.exp: Add unload test.
3885
3886 2013-01-28  Doug Evans  <dje@google.com>
3887
3888         * gdb.dwarf2/fission-loclists.exp: New file.
3889         * gdb.dwarf2/fission-loclists.S: New file.
3890
3891 2013-01-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
3892
3893         Code cleanup.
3894         * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
3895         gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
3896         and prepare_for_testing.
3897         * gdb.base/store.exp: Likewise.
3898
3899 2013-01-25  Tom Tromey  <tromey@redhat.com>
3900
3901         * gdb.python/py-explore.exp: Expect the gdb prompt.
3902
3903 2013-01-25  Andrew Burgess  <aburgess@broadcom.com>
3904
3905         * gdb.base/gnu_vector.c: New variable for use in tests.
3906         * gdb.base/gnu_vector.exp: Update and extend tests to reflect
3907         changes in scalar to vector casting and widening.
3908         * gdb.python/py-type.c: New variables for use in tests.
3909         * gdb.python/py-type.exp: Update vector related tests to reflect
3910         changes in scalar to vector casting and widening.
3911
3912 2013-01-24  Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
3913
3914         * gdb.base/prologue-include.c: New file.
3915         * gdb.base/prologue-include.exp: New file.
3916         * gdb.base/prologue-include.h: New file.
3917
3918 2013-01-24  Hafiz Abid Qadeer  <abidh@codesourcery.com>
3919
3920         PR gdb/13443
3921         * gdb.mi/mi-var-block.exp: Make test messages unique.
3922
3923 2013-01-23  Tom Tromey  <tromey@redhat.com>
3924
3925         * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
3926
3927 2013-01-23  Tom Tromey  <tromey@redhat.com>
3928
3929         * gdb.cp/converts.cc (main): Initialize 'a'.
3930
3931 2013-01-23  Siva Chandra Reddy  <sivachandra@google.com>
3932
3933         * testsuite/gdb.python/frame.exp: Add a test for
3934         gdb.Frame.architecture() method.
3935
3936 2013-01-22  Pedro Alves  <palves@redhat.com>
3937
3938         * gdb.base/annota1.exp (signal sent): No longer expect
3939         breakpoints-invalid.
3940         * gdb.cp/annota2.exp (continue until exit)
3941         (watch triggered on a.x): Ditto.
3942
3943 2013-01-22  Pedro Alves  <palves@redhat.com>
3944
3945         * gdb.base/annota1.exp (breakpoints_invalid): New variable.
3946         Adjust tests to breakpoints-invalid changes.
3947         * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
3948         variables.
3949         Adjust tests to breakpoints-invalid changes.
3950
3951 2013-01-22  Pedro Alves  <palves@redhat.com>
3952
3953         * gdb.base/annota1.exp (annotate ignore count change): Add
3954         expected output for failure case.
3955
3956 2013-01-22  Tom Tromey  <tromey@redhat.com>
3957
3958         * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
3959         call.
3960
3961 2013-01-21  Marc Khouzam  <marc.khouzam@ericsson.com>
3962
3963         * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
3964         * gdb.mi/mi-catch-load.exp: Ditto.
3965         * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
3966         Also handle 'thread' field.
3967         * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
3968         * gdb.mi/mi-watch.exp: Ditto.
3969         * lib/mi-support.exp: Ditto.
3970
3971 2013-01-21  Siva Chandra Reddy  <sivachandra@google.com>
3972
3973         * gdb.python/py-explore.exp: Improve a test
3974
3975 2013-01-18  David Blaikie  <dblaikie@gmail.com>
3976
3977         * gdb.base/label.c (main): Correct the type of the second
3978         parameter.
3979
3980 2013-01-18  Tom Tromey  <tromey@redhat.com>
3981
3982         * gdb.dwarf2/trace-crash.s: New file.
3983         * gdb.dwarf2/trace-crash.exp: New file.
3984
3985 2013-01-18  Hafiz Abid Qadeer<abidh@codesourcery.com>
3986
3987         PR gdb/13443
3988         * gdb.base/checkpoint.exp: Update test messages to make them
3989         unique.
3990
3991 2013-01-18  Yao Qi  <yao@codesourcery.com>
3992
3993         * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
3994         output of 'info tracepoints'.
3995         * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
3996         Likewise.
3997         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
3998         * gdb.trace/disconnected-tracing.c (struct foo): New.
3999
4000 2013-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4001
4002         * gdb.dwarf2/dw2-dos-drive.S: New file.
4003         * gdb.dwarf2/dw2-dos-drive.exp: New file.
4004
4005 2013-01-17  Doug Evans  <dje@google.com>
4006
4007         * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
4008         CXX_FOR_TARGET.
4009
4010         * boards/cc-with-tweaks.exp: New file.
4011
4012 2013-01-17  Tom Tromey  <tromey@redhat.com>
4013
4014         * gdb.base/completion.exp: Add "set cp-abi" completion test.
4015
4016 2013-01-17  Pedro Alves  <palves@redhat.com>
4017
4018         Merge dg-extract-results.sh from upstream (svn 195224).
4019
4020         2013-01-15  David Blaikie <dblaikie@gmail.com>
4021         * dg-extract-results.sh: Fix order of summary counts.
4022
4023         2013-01-15  David Blaikie <dblaikie@gmail.com>
4024         * dg-extract-results.sh: Constrain the start-of-log pattern.
4025
4026         2013-01-15  David Blaikie <dblaikie@gmail.com>
4027         * dg-extract-results.sh: Handle KPASSes.
4028
4029         2010-05-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4030         * dg-extract-results.sh: Redirect grep output to /dev/null instead
4031         of grep -q.
4032
4033 2012-01-17  Sanjoy Das <sanjoy@playingwithpointers.com>
4034
4035         * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
4036         interface.
4037         * gdb.base/jithost.c: New file.
4038         * gdb.base/jithost.h: New file.
4039         * gdb.base/jitreader.c : New file.
4040         * gdb.base/jit-protocol.h: New file.
4041
4042 2013-01-16  Tom Tromey  <tromey@redhat.com>
4043
4044         * gdb.base/catch-signal.c: New file.
4045         * gdb.base/catch-signal.exp: New file.
4046
4047 2013-01-16  Tom Tromey  <tromey@redhat.com>
4048
4049         * gdb.mi/mi-catch-load.exp: Look for "catch-type".
4050
4051 2013-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
4052
4053         * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
4054
4055 2013-01-14  Tom Tromey  <tromey@redhat.com>
4056
4057         * gdb.base/completion.exp: Add "set gnutarget" test.
4058
4059 2013-01-14  Tom Tromey  <tromey@redhat.com>
4060
4061         * gdb.dwarf2/dw2-restrict.S: New file.
4062         * gdb.dwarf2/dw2-restrict.c: New file.
4063         * gdb.dwarf2/dw2-restrict.exp: New file.
4064
4065 2013-01-14  Tom Tromey  <tromey@redhat.com>
4066
4067         * gdb.dwarf2/dw2-error.exp: New file.
4068         * gdb.dwarf2/dw2-error.c: New file.
4069         * gdb.dwarf2/dw2-error.S: New file.
4070
4071 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4072
4073         * gdb.cp/parse-lang.cc: New file.
4074         * gdb.cp/parse-lang.exp: New file.
4075
4076 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4077
4078         * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
4079         (set substitute-path): New test.
4080         (fullname present): Remove content.
4081         (substituted fullname): New test.
4082
4083 2013-01-13  Joel Brobecker  <brobecker@adacore.com>
4084
4085         * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
4086         check.  Move $gdb_py_is_py24 value check right after.
4087
4088 2013-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4089
4090         * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
4091         targets.
4092
4093 2013-01-11  Yao Qi  <yao@codesourcery.com>
4094
4095         * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
4096         for dprintf.
4097         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
4098         Check the fields in "=breakpoint-created" for dprintf.
4099
4100 2012-12-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4101
4102         * gdb.mi/mi-fullname-deleted.exp: New file.
4103
4104 2012-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4105
4106         * gdb.base/skip-solib.exp (info skip with pending file): Update the
4107         expected output.
4108         (info skip with pending file): Remove.
4109         (ignoring function in solib, info skip for function multiply): Update
4110         the expected output.
4111         * gdb.base/skip.ex (skip (main), skip function baz, info skip)
4112         (info skip (delete 1), info skip after disabling all)
4113         (info skip after enabling all, info skip after disabling 4 2-3)
4114         (info skip after enabling 2-3, info skip 2-3)
4115         (info skip after deleting 2 3): Update the expected output.
4116         * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
4117         statement to its initialization and return.
4118         * gdb.linespec/skip-two.exp: New file.
4119
4120 2012-12-19  Doug Evans  <dje@google.com>
4121
4122         * gdb.base/maint.exp: Handle testing with .gdb_index.
4123
4124 2012-12-19  Joel Brobecker  <brobecker@adacore.com>
4125
4126         * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
4127         Cavium to FSF.
4128
4129 2012-12-19  Joel Brobecker  <brobecker@adacore.com>
4130
4131         * dg-extract-results.sh: Update contact info in copyright notice.
4132         * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
4133         GPL v3 or later.  Update contact info.
4134         * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
4135         gdb.threads/watchpoint-fork-mt.c,
4136         gdb.threads/watchpoint-fork-parent.c,
4137         gdb.threads/watchpoint-fork-st.c,
4138         gdb.threads/watchpoint-fork.h: Likewise.
4139
4140 2012-12-15  Yao Qi  <yao@codesourcery.com>
4141
4142         * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
4143         'installed' field in '=breakpoint-modified'.
4144         (test_reconnect): Check 'installed' field in
4145         '=breakpoint-modified' and '=breakpoint-created'.
4146
4147         * gdb.trace/actions.exp: Update test for 'installed' field.
4148         * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
4149         (tracepoint_change_loc_2): Likewise.
4150         Check 'info tracepoint' display nothing else.
4151         * gdb.trace/deltrace.exp: Likewise.
4152         * gdb.trace/infotrace.exp: Likewise.
4153         * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
4154         Likewise.
4155         * gdb.trace/passcount.exp: Likewise.
4156         * gdb.trace/tracecmd.exp: Likewise.
4157         * gdb.trace/while-stepping.exp: Likewise.
4158
4159 2012-12-14  Tom Tromey  <tromey@redhat.com>
4160
4161         * gdb.cp/member-name.exp: New file.
4162         * gdb.cp/member-name.cc: New file.
4163
4164 2012-12-14  Tom Tromey  <tromey@redhat.com>
4165
4166         * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
4167
4168 2012-12-14  Doug Evans  <dje@google.com>
4169
4170         * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
4171         DW_OP_GNU_implicit_pointer is section-relative.
4172
4173 2012-12-14  Tom Tromey  <tromey@redhat.com>
4174
4175         * gdb.base/info-proc.exp: Add core file tests.
4176
4177 2012-12-14  Yufeng Zhang  <yufeng.zhang@arm.com>
4178
4179         * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
4180
4181 2012-12-13  Doug Evans  <dje@google.com>
4182
4183         * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
4184         * gdb.multi/multi-arch.exp: Ditto.
4185
4186 2012-12-12  Keven Boell  <keven.boell@intel.com>
4187
4188         * gdb.mi/mi-catch-load-so.c: New. Clone of the
4189         catch load test library source file.
4190         * gdb.mi/mi-catch-load.c: New. Clone of the catch
4191         load test source file.
4192         * gdb.mi/mi-catch-load.exp: New. Test file for
4193         basic MI -catch-load and -catch-unload tests.
4194
4195 2012-12-11  Paul Koning  <paul_koning@dell.com>
4196
4197         * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
4198         exception.
4199         (_iterator_except): New function.
4200         (ArrayPrinter): Use _iterator function instead of local _iterator
4201         class for Python 3 compatibility.
4202         (NoStringContainerPrinter): Use _iterator_except instead of
4203         _iterator.
4204         * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
4205         execfile for Python 3 compatibility.
4206         * gdb.python/python.exp: Handle Python 2.4 exception traceback
4207         format in error_prompt test.
4208
4209 2012-12-10  Paul Koning  <paul_koning@dell.com>
4210
4211         * gdb.base/charset.exp: Change print syntax for Python 3
4212         compatibility.
4213         * gdb.python/py-block.exp: Ditto.
4214         * gdb.python/py-breakpoint.exp: Ditto.
4215         * gdb.python/py-cmd.exp: Ditto.
4216         * gdb.python/py-events.py: Ditto.
4217         * gdb.python/py-finish-breakpoint.py: Ditto.
4218         * gdb.python/py-finish-breakpoint2.exp: Ditto.
4219         * gdb.python/py-finish-breakpoint2.py: Ditto.
4220         * gdb.python/py-frame-inline.exp: Ditto.
4221         * gdb.python/py-frame.exp: Ditto.
4222         * gdb.python/py-infthread.exp: Ditto.
4223         * gdb.python/py-objfile.exp: Ditto.
4224         * gdb.python/py-parameter.exp: Ditto.
4225         * gdb.python/py-progspace.exp: Ditto.
4226         * gdb.python/py-prompt.exp: Ditto.
4227         * gdb.python/py-symbol.exp: Ditto.
4228         * gdb.python/py-symtab.exp: Ditto.
4229         * gdb.python/py-template.exp: Ditto.
4230         * gdb.python/py-value-cc.exp: Ditto.
4231         * gdb.python/python.exp: Ditto.
4232         * gdb.python/source2.py: Ditto.
4233         * gdb.python/lib-types.exp: Change print syntax for Python 3
4234         compatibility.
4235         Use sorted() function rather than sort() method.
4236         Accept either int or long values for enum values.
4237         * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
4238         execfile for Python 3 compatibility.
4239         * gdb.python/py-evsignal.exp: Ditto.
4240         * gdb.python/py-evthreads.exp: Ditto.
4241         * gdb.python/py-mi.exp: Ditto.
4242         * gdb.python/py-pp-maint.exp: Ditto.
4243         * gdb.python/py-prettyprint.exp: Ditto.
4244         * gdb.python/py-finish-breakpoint.exp: Change print syntax for
4245         Python 3 compatibility.
4246         Skip tests for Python 2.4.
4247         * gdb.python/py-inferior.exp: Change print syntax for
4248         Python 3 compatibility.
4249         Use byte string rather than character string in memory write test
4250         if Python 3.
4251         * gdb.python/py-pp-maint.py: Change class declarations to "new
4252         class" syntax.
4253         * gdb.python/py-prettyprint.py: Change iterator class to generator
4254         function for Python 3 compatibility.
4255         Make all classes "new style".
4256         Fix indentation issue and stray semicolon.
4257         * gdb.python/py-shared.expChange print syntax for Python 3
4258         compatibility.
4259         Define "long" if Python 3.
4260         * gdb.python/py-type.exp: Change print syntax for Python 3
4261         compatibility.
4262         Accept either int or long values for enum values.
4263         * gdb.python/py-value.exp: Change print syntax for Python 3
4264         compatibility.
4265         Skip "long" and "unicode" tests if Python 3.
4266         Accept either "type" or "class" in type checks.
4267         * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
4268         (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
4269
4270 2012-12-10  Tom Tromey  <tromey@redhat.com>
4271
4272         * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
4273         (test): Add "two_cu" argument.
4274         * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
4275         for types; allow two CUs.
4276
4277 2012-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
4278
4279         * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
4280         * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
4281
4282 2012-12-08  Yao Qi  <yao@codesourcery.com>
4283             Pedro Alves  <palves@redhat.com>
4284
4285         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
4286         '=breakpoint-created' when GDB merges the tracepoints of both
4287          sides.
4288
4289 2012-12-07  Tom Tromey  <tromey@redhat.com>
4290
4291         * gdb.base/break1.c (enum some_enum, union some_union): New.
4292         (some_enum_global, some_union_global, some_value): New globals.
4293         * gdb.base/completion.exp: Add tag completion tests.
4294
4295 2012-12-07  Tom Tromey  <tromey@redhat.com>
4296
4297         * gdb.base/completion.exp: Add tests for ptype and whatis
4298         completion.
4299
4300 2012-12-07  Joel Brobecker  <brobecker@adacore.com>
4301
4302         * gdb.base/stale-infcall.exp: Fix copyright line.
4303
4304 2012-12-07  Joel Brobecker  <brobecker@adacore.com>
4305
4306         * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
4307
4308 2012-12-06  Pedro Alves  <palves@redhat.com>
4309             Tom Tromey  <tromey@redhat.com>
4310
4311         * gdb.base/exprs.exp: Add tests for cast to void.
4312
4313 2012-12-06  Jens Elmenthaler <jens.elmenthaler@advantest.com>
4314
4315         * gdb.python/py-mi.exp: Correct expected results for attribute
4316         "dynamic" returned by -var-update.
4317         Add test case for correct handling of "diplayhint" for children
4318         of dynamic varobjs.
4319         * gdb.python/py-prettyprint.c (set_itme): New function.
4320         (bug_14741) New function.
4321         (main) Add call to bug_14741().
4322         * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
4323
4324 2012-12-05  Ulrich Weigand  <uweigand@de.ibm.com>
4325
4326         * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
4327         ${binfile}.funcsyms list.
4328
4329 2012-12-04  Yao Qi  <yao@codesourcery.com>
4330
4331         PR gdb/13443
4332         * gdb.trace/actions.exp: Make test messages unique.
4333
4334 2012-11-29  Tom Tromey  <tromey@redhat.com>
4335
4336         * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
4337
4338 2012-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
4339
4340         * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
4341         * gdb.opencl/datatypes.exp: Likewise.
4342         * gdb.opencl/operators.exp: Likewise.
4343         * gdb.opencl/vec_comps.exp: Likewise.
4344
4345 2012-11-29  Jerome Guitton  <guitton@adacore.com>
4346
4347         * gdb.ada/iwide: New testcase.
4348
4349 2012-11-29  Jerome Guitton  <guitton@adacore.com>
4350
4351         * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
4352         ptype test.
4353
4354 2012-11-29  Jerome Guitton  <guitton@adacore.com>
4355
4356         * gdb.ada/variant_record_packed_array.exp: Test expressions of the
4357         form {VARIANT_TYPE}ADDRESS.
4358
4359 2012-11-27  Daniel Jacobowitz  <dan@codesourcery.com>
4360
4361         * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
4362         (func): New function.
4363         (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
4364         * gdb.cp/member-ptr.exp: Add new tests for ptype and for
4365         pointers to members with pointer-to-function type.
4366
4367 2012-11-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
4368             Tom Tromey  <tromey@redhat.com>
4369
4370         * gdb.base/gnu-debugdata.exp: New file.
4371         * gdb.base/gnu-debugdata.c: New file.
4372         * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
4373         (gdb_unload): Return 0 on success.
4374
4375 2012-11-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
4376
4377         * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
4378
4379 2012-11-26  Joel Brobecker  <brobecker@adacore.com>
4380
4381         * gdb.base/empty_exe.exp: New testcase.
4382
4383 2012-11-20  Mike Frysinger  <vapier@gentoo.org>
4384
4385         * gdb.base/completion.exp: Add test for help aliases completion.
4386
4387 2012-11-20  Yao Qi  <yao@codesourcery.com>
4388
4389         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
4390         Don't test 'maint set show-debug-regs'.
4391         Use command 'set remotecache' instead of
4392         'set circular-trace-buffer'.
4393
4394 2012-11-16  Keith Seitz  <keiths@redhat.com>
4395
4396         PR c++/13615
4397         * gdb.cp/baseenum.cc: New file.
4398         * gdb.cp/baseenum.exp: New file.
4399         * gdb.cp/derivation.cc (A): Add copyright.
4400         Add a typedef.
4401         (B): Use A::value_type instead of int.  Change all references.
4402         (D): Use value_type instead of int.  Change all references.
4403         (E): Likewise.
4404         (F); Likewise.
4405         (Z): New class.
4406         (ZZ): New class.
4407         (N, Base, Derived): New namespace and classes.
4408         (main): Add instances of Z and ZZ.
4409         Make sure all symbols from N are kept.
4410         * gdb.cp/derivation.exp: Update typedef changes in tests.
4411         Add tests for class typedefs both before and after starting
4412         the inferior.
4413         Add tests for searching for a typedef while stopped in a
4414         method.
4415
4416 2012-11-14  Luis Machado  <lgustavo@codesourcery.com>
4417
4418         * gdb.mi/mi-var-create-rtti.c: New file.
4419         * gdb.mi/mi-var-create-rtti.exp: New file.
4420
4421 2012-11-14  Luis Machado  <lgustavo@codesourcery.com>
4422
4423         * gdb.base/structs3.exp: Run to main before doing any tests.
4424
4425 2012-11-14  Andrew Burgess  <aburgess@broadcom.com>
4426
4427         * gdb.python/py-type.exp: Uniquify test names.
4428
4429 2012-11-14  Yao Qi  <yao@codesourcery.com>
4430
4431         * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
4432         (thread_function) [DEBUG]: Call 'printf'.
4433         * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
4434         command line if 'DEBUG=1' is passed to test.
4435         Remove a pattern to match inferior's output.
4436
4437 2012-11-13  Giuseppe Montalto  <giuseppe.montalto@st.com>
4438
4439         * gdb.mi/mi-fill-memory.exp: New test.
4440
4441 2012-11-12  Tom Tromey  <tromey@redhat.com>
4442
4443         * gdb.base/completion.exp: Update for "info type-printers".
4444         * gdb.python/py-typeprint.cc: New file.
4445         * gdb.python/py-typeprint.exp: New file.
4446         * gdb.python/py-typeprint.py: New file.
4447
4448 2012-11-12  Tom Tromey  <tromey@redhat.com>
4449
4450         * gdb.base/call-sc.exp: Use "ptype/r".
4451         * gdb.base/volatile.exp: Don't expect "int".
4452         * gdb.cp/ptype-flags.cc: New file.
4453         * gdb.cp/ptype-flags.exp: New file.
4454         * gdb.cp/templates.exp: Use ptype/r.
4455         (test_ptype_of_templates, test_template_typedef): Likewise.
4456         * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
4457         argument.  Handle template names and template parameters.
4458         * gdb.mi/mi-var-cmd.exp: Accept "long".
4459         * gdb.mi/mi-var-child.exp: Accept "long".
4460         * gdb.mi/mi-var-display.exp: Accept "long".
4461         * gdb.mi/mi2-var-child.exp: Accept "long".
4462
4463 2012-11-12  Tom Tromey  <tromey@redhat.com>
4464
4465         * gdb.cp/classes.exp (test_ptype_class_objects): Remove
4466         "ptype" from calls to cp_test_ptype_class.
4467         (test_enums): Likewise.
4468         * gdb.cp/derivation.exp: Remove "ptype" from calls to
4469         cp_test_ptype_class.
4470         * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
4471         calls to cp_test_ptype_class.
4472         (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
4473         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
4474         from calls to cp_test_ptype_class.
4475         * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
4476         command here.  Change "in_command" argument to "in_exp".
4477
4478 2012-11-10  Keith Seitz  <keiths@redhat.com>
4479
4480         PR gdb/14288
4481         * gdb.base/printcmds.c: Add invalid_XXX globals
4482         for repeated byte tests.
4483         * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
4484         * gdb.base/wchar.c (main): Add and construct a wchar_t
4485         array with repeated characters.
4486         * gdb.base/wchar.exp: Add repeated character tests.
4487
4488 2012-11-09  Andrew Burgess  <aburgess@broadcom.com>
4489
4490         * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
4491         disassembly output.
4492
4493 2012-11-09  Pedro Alves  <palves@redhat.com>
4494
4495         PR gdb/14306
4496
4497         * gdb.multi/multi-arch-exec.c: New file.
4498         * gdb.multi/multi-arch-exec.exp: New file.
4499
4500 2012-11-09  Yao Qi  <yao@codesourcery.com>
4501
4502         * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
4503         (top level): Call it.
4504
4505 2012-11-09  Yao Qi  <yao@codesourcery.com>
4506
4507         * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
4508         typo.
4509
4510 2012-11-09  Pedro Alves  <palves@redhat.com>
4511
4512         * gdb.multi/multi-arch.exp: New.
4513
4514 2012-11-08  Tom Tromey  <tromey@redhat.com>
4515
4516         * gdb.base/siginfo-obj.exp: Create core file.  Test siginfo from
4517         core files, if possible.
4518         * gdb.base/siginfo-thread.c: New file
4519         * gdb.base/siginfo-thread.exp: New file
4520
4521 2012-11-08  Tom Tromey  <tromey@redhat.com>
4522
4523         * gdb.base/comprdebug.exp: New file.
4524
4525 2012-11-06  Pedro Alves  <palves@redhat.com>
4526
4527         PR gdb/14810
4528
4529         * gdb.base/disabled-location.c: New file.
4530         * gdb.base/disabled-location.exp: New file.
4531
4532 2012-11-06  Tom Tromey  <tromey@redhat.com>
4533
4534         * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
4535         * gdb.python/py-strfns.exp (test_strfns_core_file): Use
4536         gdb_gcore_cmd.
4537         * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
4538         * gdb.base/gcore.exp: Use gdb_gcore_cmd.
4539         * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
4540         * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
4541         * gdb.base/auxv.exp: Use gdb_gcore_cmd.
4542         * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
4543         * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
4544         * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
4545         * lib/gdb.exp (gdb_gcore_cmd): New proc.
4546
4547 2012-11-05  Pedro Alves  <palves@redhat.com>
4548
4549         * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
4550         procedure.
4551         (do_vfork_and_follow_child_tests_exec)
4552         (do_vfork_and_follow_child_tests_exit): Call it.
4553
4554 2012-11-05  Pedro Alves  <palves@redhat.com>
4555
4556         * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
4557         fails.
4558
4559 2012-11-03  Yao Qi  <yao@codesourcery.com>
4560
4561         Fix PR gdb/14617.
4562         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
4563         Remove setup_kfail, and update test.
4564
4565 2012-11-02  Tom Tromey  <tromey@redhat.com>
4566
4567         * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
4568         test.
4569
4570 2012-11-02  Pedro Alves  <palves@redhat.com>
4571
4572         PR gdb/14766
4573
4574         * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
4575         setup_kfail.
4576         (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
4577         get registers".
4578
4579 2012-11-02  Pedro Alves  <palves@redhat.com>
4580
4581         * gdb.base/foll-vfork-exit.c: New file.
4582         * gdb.base/foll-vfork.exp (top level): New file-describing
4583         comment.
4584         (vfork_child_follow_to_exit): New procedure.
4585         (tcatch_vfork_then_child_follow): Rename as ...
4586         (tcatch_vfork_then_child_follow_exec): ... this.
4587         (tcatch_vfork_then_child_follow_exit): New procedure.
4588         (do_vfork_and_follow_parent_tests): New procedure, factored out
4589         from do_vfork_and_exec_tests.
4590         (do_vfork_and_follow_child_tests_exec): Ditto.
4591         (do_vfork_and_exec_tests): Delete.
4592         (do_vfork_and_follow_child_tests_exit): New procedure.
4593         (top level): Run tests with both the program that has the vfork
4594         child execing, and the program has the vfork child exiting.
4595
4596 2012-11-02  Pedro Alves  <palves@redhat.com>
4597
4598         * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
4599         (check_vfork_catchpoints, vfork_parent_follow_through_step)
4600         (vfork_parent_follow_to_bp): Call it.
4601         (kill_child): Delete.
4602         (vfork_and_exec_child_follow_to_main_bp)
4603         (vfork_and_exec_child_follow_through_step): Call setup_gdb.  No
4604         longer call kill_child.
4605         (tcatch_vfork_then_parent_follow): Call setup_gdb.
4606         (do_vfork_and_exec_tests): Don't runto_main before calling each
4607         test procedure.
4608         (top level): Don't clean restart and set verbose before running
4609         each test procedure.
4610
4611 2012-11-02  Pedro Alves  <palves@redhat.com>
4612
4613         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
4614         (vfork_parent_follow_to_bp)
4615         (vfork_and_exec_child_follow_to_main_bp)
4616         (vfork_and_exec_child_follow_through_step)
4617         (tcatch_vfork_then_parent_follow)
4618         (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
4619         Use with_test_prefix.
4620
4621 2012-11-02  Pedro Alves  <palves@redhat.com>
4622
4623         * gdb.base/foll-vfork.c: Add copyright header.
4624         * gdb.base/vforked-prog.c: Add copyright header.
4625
4626 2012-11-02  Pedro Alves  <palves@redhat.com>
4627
4628         * gdb.base/foll-vfork.exp
4629         (vfork_and_exec_child_follow_through_step): Don't skip on
4630         non-HP/UX targets.  Expect the next to only step one line on
4631         non-HP/UX targets, rather than stopping only after the exec.
4632
4633 2012-11-02  Pedro Alves  <palves@redhat.com>
4634
4635         Don't hard code line numbers.
4636
4637         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
4638         Expect text from the sources instead of a line number.
4639         (vfork_parent_follow_to_bp)
4640         (vfork_and_exec_child_follow_to_main_bp)
4641         (vfork_and_exec_child_follow_through_step)
4642         (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
4643         Use gdb_get_line_number.
4644
4645 2012-11-02  Pedro Alves  <palves@redhat.com>
4646
4647         Modernize.
4648
4649         * gdb.base/foll-vfork.exp: Use standard_testfile and
4650         build_executable.  Pass descriptive string to untested.
4651         (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
4652         (vfork_and_exec_child_follow_to_main_bp)
4653         (vfork_and_exec_child_follow_through_step)
4654         (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
4655         (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
4656         of send_gdb/gdb_expect.
4657
4658         (kill_child): New procedure.
4659         (vfork_and_exec_child_follow_to_main_bp)
4660         (vfork_and_exec_child_follow_through_step): Use it.
4661
4662 2012-11-02  Yao Qi  <yao@codesourcery.com>
4663
4664         * gdb.base/setvar.exp: Test setting nested struct.
4665         * gdb.base/setvar.c (v_struct3): New.
4666
4667 2012-11-01  Doug Evans  <dje@google.com>
4668
4669         * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
4670         changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
4671         use them.
4672
4673 2012-10-31  Andrew Burgess  <aburgess@broadcom.com>
4674
4675         PR cli/14772
4676         * gdb.base/gnu_vector.c (union_with_vector_1)
4677         (struct_with_vector_1): Add new struct and union for testing
4678         ptype.
4679         * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
4680         structs / unions containing vectors.
4681
4682 2012-10-25  Yao Qi  <yao@codesourcery.com>
4683
4684         * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
4685         'setup_kfail' instead of 'setup_kfail_for_target'.
4686         * gdb.base/varargs.exp: Likewise.
4687         * lib/gdb.exp (setup_kfail_for_target): Remove.
4688
4689 2012-10-25  Mark Kettenis  <kettenis@openbsd.nfra.nl>
4690
4691         * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
4692
4693 2012-10-25  Mark Kettenis  <kettenis@gnu.org>
4694
4695         * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
4696
4697 2012-10-24  Joel Brobecker  <brobecker@adacore.com>
4698
4699         * gdb.ada/set_wstr: New testcase.
4700
4701 2012-10-24  Joel Brobecker  <brobecker@adacore.com>
4702
4703         * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
4704
4705 2012-10-24  Joel Brobecker  <brobecker@adacore.com>
4706
4707         * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
4708
4709 2012-10-24  Mark Kettenis  <kettenis@gnu.org>
4710
4711         * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
4712
4713 2012-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4714
4715         * gdb.base/callfuncs.exp (do_function_calls): Fix
4716         setup_kfail_for_target for -m32 mode.
4717
4718 2012-10-23  Mark Kettenis  <kettenis@gnu.org>
4719
4720         * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
4721         are now fixed.
4722
4723 2012-10-23  Yao Qi  <yao@codesourcery.com>
4724
4725         * gdb.base/info-os.exp: Resume the inferior until it exits.
4726
4727 2012-10-18  Yufeng Zhang  <yufeng.zhang@arm.com>
4728
4729         * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
4730         * gdb.base/print-file-var.exp: Likewise.
4731         * gdb.base/type-opaque.exp: Likewise.
4732
4733 2012-10-17  Yao Qi  <yao@codesourcery.com>
4734
4735         * gdb.mi/mi-memory-changed.exp: New.
4736
4737 2012-10-16  Yao Qi  <yao@codesourcery.com>
4738
4739         * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
4740         returns true.
4741         Call gdb_load_shlibs.
4742         * gdb.reverse/solib-reverse.exp: Likewise.
4743
4744 2012-10-15  Keith Seitz  <keiths@redhat.com>
4745
4746         * lib/cp-support.exp (cp_test_ptype_class): Add support
4747         for class typedefs.
4748
4749         * gdb.cp/derivation.exp: Add tests for g_instance.
4750
4751 2012-10-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
4752
4753         Fix entry values resolving in inlined frames.
4754         * gdb.arch/amd64-entry-value-inline.S: New file.
4755         * gdb.arch/amd64-entry-value-inline.c: New file.
4756         * gdb.arch/amd64-entry-value-inline.exp: New file.
4757
4758 2012-10-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
4759             Doug Evans  <dje@google.com>
4760
4761         Fix recent gdb_breakpoint regression.
4762         * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
4763         braces from the parameter.
4764         * gdb.java/jprint.exp: Likewise.
4765
4766 2012-10-15  Doug Evans  <dje@google.com>
4767
4768         * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
4769
4770 2012-10-15  Yufeng Zhang  <yufeng.zhang@arm.com>
4771
4772         * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
4773
4774 2012-10-15  Tom Tromey  <tromey@redhat.com>
4775
4776         * gdb.python/py-symtab.exp: Test sal and symtab destructors.
4777
4778 2012-10-15  Tom Tromey  <tromey@redhat.com>
4779
4780         * gdb.python/py-symbol.exp: Test symbol destructor.
4781
4782 2012-10-14  Yao Qi  <yao@codesourcery.com>
4783
4784         * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
4785         * gdb.mi/mi-cli.exp: New.
4786
4787         * gdb.mi/mi2-basics.exp: Remove.
4788         * gdb.mi/mi2-break.exp: Remove.
4789         * gdb.mi/mi2-console.exp: Remove.
4790         * gdb.mi/mi2-disassemble.exp: Remove.
4791         * gdb.mi/mi2-eval.exp: Remove.
4792         * gdb.mi/mi2-file.exp: Remove.
4793         * gdb.mi/mi2-hack-cli.exp: Remove.
4794         * gdb.mi/mi2-pthreads.exp: Remove.
4795         * gdb.mi/mi2-read-memory.exp: Remove.
4796         * gdb.mi/mi2-regs.exp: Remove.
4797         * gdb.mi/mi2-return.exp: Remove.
4798         * gdb.mi/mi2-simplerun.exp: Remove.
4799         * gdb.mi/mi2-stack.exp: Remove.
4800         * gdb.mi/mi2-stepi.exp: Remove.
4801         * gdb.mi/mi2-syn-frame.exp: Remove.
4802         * gdb.mi/mi2-until.exp: Remove.
4803         * gdb.mi/mi2-watch.exp: Remove.
4804         * gdb.mi/mi2-var-block.exp: Remove.
4805         * gdb.mi/mi2-var-cmd.exp: Remove.
4806         * gdb.mi/mi2-var-display.exp: Remove.
4807
4808 2012-10-12  Yao Qi  <yao@codesourcery.com>
4809
4810         * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
4811         trail '.*' on matching patterns.
4812
4813 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
4814
4815         * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
4816         * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
4817         * gdb.arch/i386-disp-step.exp: Likewise.
4818         * gdb.arch/i386-gnu-cfi.exp: Likewise.
4819         * gdb.arch/i386-prologue.exp: Likewise.
4820         * gdb.arch/i386-size-overlap.exp: Likewise.
4821         * gdb.arch/i386-size.exp: Likewise.
4822         * gdb.arch/i386-unwind.exp: Likewise.
4823
4824 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
4825
4826         * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
4827         * gdb.arch/i386-word.exp: Likewise.
4828
4829 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
4830
4831         * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
4832         is_ilp32_target to set nr_regs.
4833         * gdb.arch/i386-sse.exp: Likewise.
4834
4835 2012-10-11  Doug Evans  <dje@google.com>
4836
4837         PR breakpoints/14643.
4838         * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
4839         * gdb.linespec/thread.c: New file.
4840         * gdb.linespec/thread.exp: New file.
4841
4842         * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
4843         Recognize "message" -> print pass and fail.  Add eof case.
4844         (runto): Recognize message, no-message.  Print pass/fail if requested,
4845         with same treatment as gdb_breakpoint.
4846         (runto_main): Pass no-message to runto.
4847         (gdb_internal_error_resync): Add log message.
4848         (gdb_file_cmd): Tweak internal error fail text for consistency.
4849
4850 2012-10-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
4851
4852         Fix crash during stepping on ppc32.
4853         * gdb.base/step-symless.c: New file.
4854         * gdb.base/step-symless.exp: New file.
4855
4856 2012-10-03  Doug Evans  <dje@google.com>
4857
4858         PR symtab/14601
4859         * gdb.cp/using-crash.exp: New file.
4860         * gdb.cp/using-crash.cc: New file.
4861
4862 2012-10-02  Doug Evans  <dje@google.com>
4863
4864         * lib/gdb.exp (gdb_unload): Change wording of perror text to be
4865         more consistent.
4866         (runto,gdb_debug_format): Ditto.
4867         (gdb_file_cmd): Watch for eof in nested gdb_expect.
4868         Clean up logging and error messages.
4869
4870 2012-10-01  Andrew Burgess  <aburgess@broadcom.com>
4871
4872         Test find command on unmapped memory.
4873         * gdb.base/find-unmapped.c: New file.
4874         * gdb.base/find-unmapped.exp: New file.
4875
4876 2012-09-29  Yao Qi  <yao@codesourcery.com>
4877
4878         * gdb.trace/mi-tracepoint-changed.exp: New.
4879         * gdb.mi/mi-breakpoint-changed.exp: New.
4880         * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
4881         * gdb.mi/pendshr2.c: New.
4882
4883 2012-09-28  Yao Qi  <yao@codesourcery.com>
4884
4885         * gdb.mi/pr11022.exp: New.
4886         * gdb.mi/pr11022.c: New.  Copied from gdb.base/.
4887
4888 2012-09-27  Tom Tromey  <tromey@redhat.com>
4889
4890         * gdb.cp/derivation.exp: Add regression test.
4891         * gdb.cp/derivation.cc (class V_base, class V_inter, class
4892         V_derived): New.
4893         (vderived): New global.
4894
4895 2012-09-26  Tom Tromey  <tromey@redhat.com>
4896
4897         * gdb.dwarf2/dw2-common-block.S: New file.
4898         * gdb.dwarf2/dw2-common-block.exp: New file.
4899
4900 2012-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
4901
4902         * gdb.fortran/common-block.exp: New file.
4903         * gdb.fortran/common-block.f90: New file.
4904
4905 2012-09-26  Andrew Burgess  <aburgess@broadcom.com>
4906
4907         * gdb.base/duplicate-bp.c: New file.
4908         * gdb.base/duplicate-bp.exp: New file.
4909
4910 2012-09-26  Yao Qi  <yao@codesourcery.com>
4911
4912         * gdb.mi/mi2-cli.exp:  Avoid line number in test summary.
4913
4914         Revert:
4915         2012-09-21  Yao Qi  <yao@codesourcery.com>
4916
4917         * gdb.mi/mi2-cli.exp: Remove redundant '\'.
4918
4919 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4920
4921         * gdb.base/longest-types.c: New test case.
4922         * gdb.base/longest-types.exp: New test case.
4923
4924 2012-09-25  Yao Qi  <yao@codesourcery.com>
4925
4926         * gdb.mi/mi2-cli.exp: Check breakpoint notification.
4927
4928 2012-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
4929
4930         Fix internal error on canonicalization of clang types.
4931         * gdb.dwarf2/dw2-canonicalize-type.S: New file.
4932         * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
4933         * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
4934
4935 2012-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
4936
4937         Fix disassemble without parameters in tailcall frame.
4938         * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
4939
4940 2012-09-21  Andrew Burgess  <aburgess@broadcom.com>
4941
4942         * gdb.dwarf2/dw2-op-out-param.S: New file.
4943         * gdb.dwarf2/dw2-op-out-param.exp: New file.
4944
4945 2012-09-21  Yao Qi  <yao@codesourcery.com>
4946
4947         * gdb.mi/mi2-cli.exp: Remove redundant '\'.
4948
4949 2012-09-21  Yao Qi  <yao@codesourcery.com>
4950
4951         * gdb.mi/mi-cli.exp: Remove.
4952         * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
4953
4954 2012-09-21  Yao Qi  <yao@codesourcery.com>
4955
4956         * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
4957         "=record-started" notification.
4958
4959 2012-09-21  Yao Qi  <yao@codesourcery.com>
4960
4961         * gdb.mi/mi-record-changed.exp: New.
4962         * gdb.mi/mi-reverse.exp: Adjust expected output.
4963
4964 2012-09-20  Tom Tromey  <tromey@redhat.com>
4965
4966         * gdb.python/python.exp: Test atexit.register.
4967
4968 2012-09-20  Doug Evans  <dje@google.com>
4969
4970         * boards/dwarf4-gdb-index.exp: New file.
4971
4972         * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
4973         while running the tests.
4974
4975 2012-09-18  Joel Brobecker  <brobecker@adacore.com>
4976
4977         * gdb.ada/bp_reset: New testcase.
4978
4979 2012-09-18  Yao Qi  <yao@codesourcery.com>
4980
4981         * gdb.trace/mi-tsv-changed.exp: New.
4982
4983 2012-09-18  Yao Qi  <yao@codesourcery.com>
4984
4985         * gdb.trace/mi-traceframe-changed.exp: New.
4986
4987 2012-09-17  Yao Qi  <yao@codesourcery.com>
4988
4989         * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
4990         when it is less than 0.
4991
4992 2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4993
4994         PR 14119
4995         * gdb.arch/amd64-tailcall-ret.S: New file.
4996         * gdb.arch/amd64-tailcall-ret.c: New file.
4997         * gdb.arch/amd64-tailcall-ret.exp: New file.
4998         * gdb.reverse/amd64-tailcall-reverse.S: New file.
4999         * gdb.reverse/amd64-tailcall-reverse.c: New file.
5000         * gdb.reverse/amd64-tailcall-reverse.exp: New file.
5001
5002 2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
5003
5004         PR 14548
5005         * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
5006         * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
5007         * gdb.reverse/singlejmp-reverse.S: New file.
5008         * gdb.reverse/singlejmp-reverse.c: New file.
5009         * gdb.reverse/singlejmp-reverse.exp: New file.
5010
5011 2012-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
5012
5013         Fix compatibility with old GCC (~4.1).
5014         * gdb.cp/converts.cc (my_enum_var): New variable.
5015
5016 2012-09-14  Andrew Burgess  <aburgess@broadcom.com>
5017
5018         * gdb.xml/tdesc-regs.exp: Update expected output for new
5019         vector_size syntax of vector types.
5020
5021 2012-09-13  Khoo Yit Phang  <khooyp@cs.umd.edu>
5022
5023         Refactor Python "gdb" module into a proper Python package, by
5024         introducing a new "_gdb" module for code implemented in C, and
5025         using reload/__import__ instead of exec.
5026         * gdb.python/python.exp (Test stderr location): Update module
5027         location of GDB-specific sys.stderr.
5028         (Test stdout location): Ditto for sys.stdout.
5029
5030 2012-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
5031
5032         * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
5033
5034 2012-09-12  Keith Seitz  <keiths@redhat.com>
5035
5036         * gdb.cp/converts.cc (main): Comment out the pointer to boolean
5037         conversion statement.
5038
5039 2012-09-12  Doug Evans  <dje@google.com>
5040
5041         * gdb.base/help.exp: Remove testing of individual command help text,
5042         too much of a maintenance burden.  Instead, test the functionality
5043         of "help" itself.
5044
5045 2012-09-11  Doug Evans  <dje@google.com>
5046
5047         * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
5048         breakpoint.
5049
5050         * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
5051         * gdb.dwarf2/fission-reread.S: Ditto.
5052         * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
5053         * gdb.dwarf2/fission-reread.exp: Ditto.
5054
5055 2012-09-11  Andrew Burgess  <aburgess@broadcom.com>
5056
5057         * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
5058
5059 2012-09-10  Joel Brobecker  <brobecker@adacore.com>
5060
5061         * gdb.ada/optim_drec: New testcase.
5062
5063 2012-09-10  Doug Evans  <dje@google.com>
5064
5065         * boards/fission.exp: Explicitly mark "board" as not remote.
5066
5067 2012-09-10  Keith Seitz  <keiths@redhat.com>
5068
5069         PR gdb/13483
5070         * gdb.cp/converts.cc (A::A): Add ctor.
5071         (A::member_): Add member.
5072         (enum my_enum): New enumeration.
5073         (main): Add calls to foo1_7 with various
5074         permitted arguments.
5075         * gdb.cp/converts.exp: Add tests for boolean
5076         conversions permitted by the standard.
5077
5078 2012-09-08  Khoo Yit Phang  <khooyp@cs.umd.edu>
5079
5080         Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
5081         avoid spurious results due to ~/.gdbinit.
5082         * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
5083         $INTERNAL_GDBFLAGS in run command.
5084         * gdb.gdb/observer.exp (setup_test): Ditto.
5085         * gdb.gdb/selftest.exp (test_with_self): Ditto.
5086         * gdb.gdb/xfullpath.exp (setup_test): Ditto.
5087
5088 2012-09-06  Doug Evans  <dje@google.com>
5089
5090         * boards/fission.exp: New file.
5091
5092         * gdb.python/py-value.exp: Use clean_restart.
5093
5094 2012-09-05  Doug Evans  <dje@google.com>
5095
5096         * gdb.base/info-macros.c: Fix whitespace.
5097
5098 2012-08-28  Pedro Alves  <palves@redhat.com>
5099
5100         PR gdb/14428
5101
5102         * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
5103
5104 2012-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
5105
5106         * gdb.base/break-caller-line.c: New file.
5107         * gdb.base/break-caller-line.exp: New file.
5108
5109 2012-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
5110
5111         * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
5112         * gdb.arch/i386-cfi-notcurrent.S: New file.
5113         * gdb.arch/i386-cfi-notcurrent.exp: New file.
5114
5115 2012-08-27  Wei-cheng Wang  <cole945@gmail.com>
5116             Yao Qi <yao@codesourcery.com>
5117             Pedro Alves <palves@redhat.com>
5118
5119         * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
5120         New procedures.
5121         (top level): Add overlap checking tests.
5122
5123 2012-08-24  Tom Tromey  <tromey@redhat.com>
5124
5125         * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
5126         gdb_test_multiple fails for other reasons.
5127
5128 2012-08-24  Yao Qi  <yao@codesourcery.com>
5129
5130         * lib/gdb.exp (skip_unwinder_tests): Remove pass.
5131
5132 2012-08-23  Pedro Alves  <palves@redhat.com>
5133
5134         * gdb.base/help.exp: Adjust to "handle" help text change.
5135
5136 2012-08-23  Yao Qi  <yao@codesourcery.com>
5137
5138         * gdb.trace/disconnected-tracing.c (start, end): New.
5139         (main): Call start and end.
5140         * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
5141         existing tests into this proc.
5142         (disconnected_tfind): New.
5143
5144 2012-08-23  Yao Qi  <yao@codesourcery.com>
5145
5146         * boards/native-gdbserver.exp (${board}_upload): New.
5147         * boards/native-stdio-gdbserver.exp (${board}_upload): New.
5148         * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
5149         Execute tfile on remote target.
5150         Copy trace file from target to host.
5151
5152 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
5153
5154         * gdb.arch/thumb-bx-pc.S: New file.
5155         * gdb.arch/thumb-bx-pc.exp: New file.
5156
5157 2012-08-22  Tom Tromey  <tromey@redhat.com>
5158
5159         * gdb.base/maint.exp: Update.
5160
5161 2012-08-22  Tom Tromey  <tromey@redhat.com>
5162
5163         * lib/gdb.exp (skip_unwinder_tests): New proc.
5164         * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
5165         * gdb.java/jnpe.exp: Use skip_unwinder_tests.
5166
5167 2012-08-21  Tom Tromey  <tromey@redhat.com>
5168
5169         * gdb.hp/gdb.aCC/exception.exp: Remove.
5170
5171 012-08-19  Andrew Pinski  <apinski@cavium.com>
5172
5173         * gdb.arch/mips-octeon-bbit.c: New file.
5174         * gdb.arch/mips-octeon-bbit.exp: New Test.
5175
5176 012-08-19  Keith Seitz  <keiths@redhat.com>
5177
5178         PR c++/14365
5179         * gdb.dwarf2/dw2-anon-mptr.exp: New file.
5180         * gdb.dwarf2/dw2-anon-mptr.S: New file.
5181
5182 2012-08-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
5183
5184         * gdb.base/solib-corrupted.exp (make solibs looping): Replace
5185         verbose -log by more specific untested call.
5186
5187 2012-08-18  Yao Qi  <yao@codesourcery.com>
5188
5189         * gdb.trace/tfind.exp: Move tests on various command help before
5190         checking target supports trace.
5191         Fix the expected output of 'help tfind end'.
5192
5193 2012-08-17  Keith Seitz  <keiths@redhat.com>
5194
5195         PR c++/13356
5196         * gdb.base/default.exp: Update all "check type" tests.
5197         * gdb.base/help.exp: Likewise.
5198         * gdb.base/setshow.exp: Likewise.
5199         * gdb.cp/converts.cc (foo1_type_check): New function.
5200         (foo2_type_check): New function.
5201         (foo3_type_check): New function.
5202         (main): Call new functions.
5203         * converts.exp: Add tests for integer-to-pointer conversions
5204         with/without strict type-checking.
5205
5206 2012-08-16  Mike Frysinger  <vapier@gentoo.org>
5207
5208         * gdb.base/help.exp: Update expected output.
5209
5210 2012-08-16  Joel Brobecker  <brobecker@adacore.com>
5211
5212         * gdb.ada/rdv_wait: New testcase.
5213
5214 2012-08-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
5215
5216         * gdb.base/attach-twice.exp: Remove excessive ps exec.
5217
5218 2012-08-13  Doug Evans  <dje@google.com>
5219
5220         * gdb.base/help.exp: Update expected output.
5221         * gdb.base/default.exp: Update expected output of "show convenience".
5222
5223 2012-08-10  Doug Evans  <dje@google.com>
5224
5225         * gdb.python/py-strfns.c: New file.
5226         * gdb.python/py-strfns.exp: New file.
5227         * gdb.python/py-type.exp (test_fields): Add vector tests.
5228
5229 2012-08-10  Mike Frysinger  <vapier@gentoo.org>
5230
5231         PR cli/10436:
5232         * gdb.base/completion.exp: Add tests for handle completion.
5233
5234 2012-08-09  Yao Qi  <yao@codesourcery.com>
5235
5236         * gdb.mi/mi-cmd-param-changed.exp: New.
5237         * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
5238         * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
5239         * gdb.mi/mi2-prompt.exp: Likewise.
5240
5241 2012-08-08  Doug Evans  <dje@google.com>
5242
5243         * gdb.base/debug-expr.c: New file.
5244         * gdb.base/debug-expr.exp: New file.
5245         * gdb.base/exprs.exp: Test {type} casts.
5246         * gdb.cp/debug-expr.exp: New file.
5247
5248 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
5249
5250         * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
5251         global variable loop, not a 'break'.  Add loop count limit to 100.
5252         Add new fail case for terminated vgdb.
5253
5254 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
5255             Jean-Marc Saffroy  <saffroy@gmail.com>
5256
5257         PR 11804
5258         * gdb.base/gcore-relro.exp: New file.
5259         * gdb.base/gcore-relro-main.c: New file.
5260         * gdb.base/gcore-relro-lib.c: New file.
5261
5262 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
5263
5264         Do not false FAIL with old GCCs.
5265         * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
5266         GCC < 4.5 in $no_hw mode.
5267
5268 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
5269
5270         * gdb.base/default.exp (cd): Accept new directory with no arguments.
5271
5272 2012-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
5273
5274         * gdb.base/list.exp (test_only_end): New function.
5275         Call it.
5276
5277 2012-08-06  Tom Tromey  <tromey@redhat.com>
5278
5279         * gdb.python/py-mi.exp: Add test for printer whose children
5280         are a list.
5281         * gdb.python/py-prettyprint.c (struct children_as_list): New.
5282         (main): New variable children_as_list.
5283         * gdb.python/py-prettyprint.py (class pp_children_as_list):
5284         New.
5285         (register_pretty_printers): Register new printer.
5286
5287 2012-08-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5288
5289         * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
5290         symbols. Abort if vgdb remote connection is closed.
5291
5292 2012-08-02  Doug Evans  <dje@google.com>
5293
5294         * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
5295
5296 2012-08-02  Sergio Durigan Junior  <sergiodj@redhat.com>
5297
5298         * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
5299         s390x, PowerPC 64 and m68k-linux.
5300
5301 2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
5302
5303         * gdb.base/annota1.exp: Accept no frames-invalid notification
5304         when starting up the program.
5305         * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
5306         show a symbolic value as well.
5307         * gdb.server/server-exec-info.exp: Skip test when skipping
5308         gdbserver test and/or when skipping shared library tests.
5309         * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
5310         avoid name conflicts with other tests.
5311
5312 2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
5313
5314         * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
5315         Fix wrong output on big-endian systems.
5316         * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
5317         4-byte pointer types on 64-bit s390x.
5318
5319 2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
5320
5321         * gdb.base/watchpoint.c (func2): Initialize local_a.  Add
5322         marker comment at the beginning (after intialization).
5323         * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
5324         breakpoint on marker comment instead of function begin.
5325         (test_wide_location_1): Do not expect HW watchpoints on 32-bit
5326         PowerPC.
5327         (test_wide_location_2): Do not expect HW watchpoints on 32-bit
5328         or 64-bit PowerPC.
5329         (do_tests): Consistently set can-use-hw-watchpoints to 0 if
5330         gdb,no_hardware_watchpoints flag is set.
5331         (initialize): Remove now redundant can-use-hw-watchpoints change.
5332
5333 2012-08-02  Yao Qi  <yao@codesourcery.com>
5334             Pedro Alves  <palves@redhat.com>
5335
5336         * boards/local-remote-host.exp: New.
5337
5338 2012-08-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
5339
5340         * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
5341         * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
5342         * gdb.base/print-file-var.exp: Likewise.
5343         * gdb.server/solib-list.exp: Skip on remote targets.
5344
5345 2012-08-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
5346
5347         * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
5348         watchpoints on ARM.  When expecting software watchpoints, tolerate
5349         (remote) targets that report unsupported hardware watchpoint only
5350         at continue time.
5351         (test_wide_location_2): Likewise.
5352
5353 2012-08-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
5354
5355         * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
5356         valgrind versions.
5357
5358 2012-07-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
5359
5360         * gdb.base/valgrind-infcall.c: New file.
5361         * gdb.base/valgrind-infcall.exp: New file.
5362
5363         * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
5364
5365 2012-07-30  Keith Seitz  <keiths@redhat.com>
5366
5367         * gdb.linespec/ls-errs.exp: Check some quote-enclosed
5368         linespecs.
5369
5370 2012-07-30  Doug Evans  <dje@google.com>
5371
5372         * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
5373         * gdb.dwarf2/pr13961.S: Ditto.
5374
5375         * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
5376
5377 2012-07-30  Andrew Burgess  <aburgess@broadcom.com>
5378
5379         * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
5380         change its format immediately after reloading the binary.
5381
5382 2012-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
5383
5384         Fix testsuite regression after --use-deprecated-index-sections removal.
5385         * gdb.base/annota1.exp (run until main breakpoint): Update the expect
5386         string.
5387         * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
5388
5389 2012-07-27  Yao Qi  <yao@codesourcery.com>
5390
5391         KFAIL for PR remote/14161.
5392         * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
5393         Cleanup socket files.
5394         (strace_info_marker): Detach inferior.
5395
5396 2012-07-26  Tom Tromey  <tromey@redhat.com>
5397
5398         * gdb.objc/print.exp (test_float_accepted): Remove kfails.
5399
5400 2012-07-26  Markus Metzger  <markus.t.metzger@intel.com>
5401
5402         * gdb.python/py-inferior.c (thread): New function.
5403         (check_threads): New function.
5404         (test_threads): New function.
5405         * gdb.python/py-inferior.exp: Added test.
5406         Replaced runto with continue to breakpoint.
5407
5408 2012-07-26  Tom Tromey  <tromey@redhat.com>
5409
5410         * lib/ada.exp (standard_ada_testfile): New proc.
5411         * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
5412         * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
5413         * gdb.ada/array_return.exp: Use standard_ada_testfile.
5414         * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
5415         * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
5416         * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
5417         * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
5418         * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
5419         * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
5420         * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
5421         * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
5422         * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
5423         * gdb.ada/call_pn.exp: Use standard_ada_testfile.
5424         * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
5425         * gdb.ada/char_enum.exp: Use standard_ada_testfile.
5426         * gdb.ada/char_param.exp: Use standard_ada_testfile.
5427         * gdb.ada/complete.exp: Use standard_ada_testfile.
5428         * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
5429         standard_output_file.
5430         * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
5431         * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
5432         * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
5433         standard_output_file.
5434         * gdb.ada/exprs.exp: Use standard_ada_testfile.
5435         * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
5436         * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
5437         * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
5438         * gdb.ada/frame_args.exp: Use standard_ada_testfile.
5439         * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
5440         * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
5441         * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
5442         * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
5443         * gdb.ada/homonym.exp: Use standard_ada_testfile.
5444         * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
5445         * gdb.ada/int_deref.exp: Use standard_ada_testfile.
5446         * gdb.ada/interface.exp: Use standard_ada_testfile.
5447         * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
5448         standard_output_file
5449         * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
5450         * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
5451         * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
5452         * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
5453         * gdb.ada/nested.exp: Use standard_ada_testfile.
5454         * gdb.ada/null_array.exp: Use standard_ada_testfile.
5455         * gdb.ada/null_record.exp: Use standard_ada_testfile.
5456         * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
5457         * gdb.ada/packed_array.exp: Use standard_ada_testfile.
5458         * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
5459         * gdb.ada/print_chars.exp: Use standard_ada_testfile.
5460         * gdb.ada/print_pc.exp: Use standard_ada_testfile.
5461         * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
5462         * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
5463         * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
5464         * gdb.ada/rec_return.exp: Use standard_ada_testfile.
5465         * gdb.ada/ref_param.exp: Use standard_ada_testfile.
5466         * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
5467         * gdb.ada/same_enum.exp: Use standard_ada_testfile.
5468         * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
5469         * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
5470         * gdb.ada/start.exp: Use standard_ada_testfile.
5471         * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
5472         * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
5473         * gdb.ada/taft_type.exp: Use standard_ada_testfile.
5474         * gdb.ada/tagged.exp: Use standard_ada_testfile.
5475         * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
5476         * gdb.ada/task_bp.exp: Use standard_ada_testfile.
5477         * gdb.ada/tasks.exp: Use standard_ada_testfile.
5478         * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
5479         * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
5480         * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
5481         * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
5482         * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
5483         * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
5484         * gdb.ada/widewide.exp: Use standard_ada_testfile.
5485
5486 2012-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
5487
5488         Fix testsuite regression after --use-deprecated-index-sections removal.
5489         * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
5490
5491 2012-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
5492
5493         Fix compatibility with Tcl before 7.5.
5494         * lib/future.exp (lreverse): New function if it does not exist.
5495
5496 2012-07-25  Marc Khouzam  <marc.khouzam@ericsson.com>
5497
5498         * gdb.mi/mi-pending.c: New method to set a second pending
5499         breakpoint.
5500         * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
5501         condition.
5502
5503 2012-07-20  Pedro Alves  <palves@redhat.com>
5504
5505         PR threads/11692
5506         PR gdb/12203
5507
5508         * gdb.threads/create-fail.c: New file.
5509         * gdb.threads/create-fail.exp: New file.
5510
5511 2012-07-19  Pedro Alves  <palves@redhat.com>
5512
5513         * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
5514         * config/vx.exp (gdb_start): Likewise.
5515         * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
5516         * gdb.base/setvar.exp (test_set): Likewise.
5517         * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
5518         * gdb.reverse/sigall-precsave.exp: Likewise.
5519         * gdb.reverse/sigall-reverse.exp: Likewise.
5520
5521 2012-07-19  Pedro Alves  <palves@redhat.com>
5522
5523         * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
5524         handler before recording.
5525
5526 2012-07-19  Tom Tromey  <tromey@redhat.com>
5527
5528         * gdb.cp/casts.exp: Add tests for typeof and decltype.
5529         * gdb.cp/casts.cc (decltype): New function.
5530         (main): Use it.
5531
5532 2012-07-19  Pedro Alves  <palves@redhat.com>
5533
5534         * gdb.base/sigall.exp (signals): New list.
5535         <top level>: Loop over signals in the $signals list instead of
5536         calling a test function once per signal.
5537         * gdb.reverse/sigall-precsave.exp (signals): New list.
5538         <top level>: Loop over signals in the $signals list instead of
5539         calling a test function once per signal.
5540         * gdb.reverse/sigall-reverse.exp (signals): New list.
5541         <top level>: Loop over signals in the $signals list instead of
5542         calling a test function once per signal.
5543
5544 2012-07-19  Yao Qi  <yao@codesourcery.com>
5545
5546         * gdb.base/setshow.exp: Test 'set args ~'.
5547
5548 2012-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
5549
5550         * gdb.base/store.exp (check_set): Import gdb_prompt.
5551         (continue to wack_${t}): Make it to conditional gdb_test_multiple.
5552         (${prefix}; next ${t}): Hide its name, handle it conditionally now.
5553
5554 2012-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
5555
5556         PR 11914
5557         * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
5558         (main): Call eval_sub.
5559         * gdb.python/py-prettyprint.exp:
5560         (python execfile ('py-prettyprint.py')): Move it earlier.
5561         New breakpoint for eval-break.
5562         (continue to breakpoint: eval-break, info locals): New test.
5563         (python execfile ('py-prettyprint.py')): Move it from here.
5564         * gdb.python/py-prettyprint.py (class pp_eval_type): New.
5565         (register_pretty_printers): Register pp_eval_type.
5566
5567 2012-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
5568
5569         Fix a testcase regression by me.
5570         * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
5571         DW_FORM_data4.
5572
5573 2012-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
5574             Doug Evans  <dje@google.com>
5575
5576         * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
5577         * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
5578
5579 2012-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
5580
5581         Fix gdbserver run regression.
5582         * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
5583
5584 2012-07-12  Tom Tromey  <tromey@redhat.com>
5585
5586         * lib/gdb.exp (standard_testfile): Don't declare objdir.
5587         (clean_restart): Likewise.
5588         (core_find): Use standard_output_file.
5589
5590 2012-07-12  Tom Tromey  <tromey@redhat.com>
5591
5592         * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
5593         * gdb.dwarf2/dw2-anonymous-func.exp: Use
5594         prepare_for_testing_full.
5595         * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
5596         * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
5597         * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
5598         * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
5599         * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
5600         * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
5601         * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
5602         prepare_for_testing_full.
5603         * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
5604         * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
5605         prepare_for_testing_full.
5606         * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
5607         * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
5608         * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
5609
5610 2012-07-12  Tom Tromey  <tromey@redhat.com>
5611
5612         * lib/gdb.exp (build_executable_from_specs): New proc, from
5613         build_executable.
5614         (build_executable): Use it.
5615         (prepare_for_testing_full): New proc.
5616
5617 2012-07-11  Tom Tromey  <tromey@redhat.com>
5618
5619         * gdb.reverse/break-precsave.exp: Use standard_output_file.
5620         * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
5621         * gdb.reverse/finish-precsave.exp: Use standard_output_file.
5622         * gdb.reverse/i386-precsave.exp: Use standard_output_file.
5623         * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
5624         * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
5625         * gdb.reverse/solib-precsave.exp: Use standard_output_file.
5626         * gdb.reverse/step-precsave.exp: Use standard_output_file.
5627         * gdb.reverse/until-precsave.exp: Use standard_output_file.
5628         * gdb.reverse/watch-precsave.exp: Use standard_output_file.
5629
5630 2012-07-10  Tom Tromey  <tromey@redhat.com>
5631
5632         * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
5633         standard_output_file.
5634         * gdb.mi/gdb2549.exp: Use standard_testfile.
5635         * gdb.mi/gdb669.exp: Use standard_testfile.
5636         * gdb.mi/gdb701.exp: Use standard_testfile.
5637         * gdb.mi/gdb792.exp: Use standard_testfile.
5638         * gdb.mi/mi-async.exp: Use standard_testfile.
5639         * gdb.mi/mi-basics.exp: Use standard_testfile.
5640         * gdb.mi/mi-break.exp: Use standard_testfile.
5641         * gdb.mi/mi-cli.exp: Use standard_testfile.
5642         * gdb.mi/mi-console.exp: Use standard_testfile.
5643         * gdb.mi/mi-disassemble.exp: Use standard_testfile.
5644         * gdb.mi/mi-eval.exp: Use standard_testfile.
5645         * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
5646         * gdb.mi/mi-file.exp: Use standard_testfile.
5647         * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
5648         * gdb.mi/mi-logging.exp: Use standard_testfile.
5649         * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
5650         * gdb.mi/mi-nonstop.exp: Use standard_testfile.
5651         * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
5652         * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
5653         * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
5654         * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
5655         * gdb.mi/mi-pending.exp: Use standard_testfile,
5656         standard_output_file.
5657         * gdb.mi/mi-pthreads.exp: Use standard_testfile.
5658         * gdb.mi/mi-read-memory.exp: Use standard_testfile.
5659         * gdb.mi/mi-regs.exp: Use standard_testfile.
5660         * gdb.mi/mi-return.exp: Use standard_testfile.
5661         * gdb.mi/mi-reverse.exp: Use standard_testfile.
5662         * gdb.mi/mi-simplerun.exp: Use standard_testfile.
5663         * gdb.mi/mi-solib.exp: Use standard_testfile,
5664         standard_output_file.
5665         * gdb.mi/mi-stack.exp: Use standard_testfile.
5666         * gdb.mi/mi-stepi.exp: Use standard_testfile.
5667         * gdb.mi/mi-stepn.exp: Use standard_testfile.
5668         * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
5669         * gdb.mi/mi-until.exp: Use standard_testfile.
5670         * gdb.mi/mi-var-block.exp: Use standard_testfile.
5671         * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
5672         * gdb.mi/mi-var-child.exp: Use standard_testfile.
5673         * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
5674         * gdb.mi/mi-var-cp.exp: Use standard_testfile.
5675         * gdb.mi/mi-var-display.exp: Use standard_testfile.
5676         * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
5677         standard_output_file.
5678         * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
5679         * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
5680         * gdb.mi/mi-watch.exp: Use standard_testfile.
5681         * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
5682         * gdb.mi/mi2-basics.exp: Use standard_testfile.
5683         * gdb.mi/mi2-break.exp: Use standard_testfile.
5684         * gdb.mi/mi2-cli.exp: Use standard_testfile.
5685         * gdb.mi/mi2-console.exp: Use standard_testfile.
5686         * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
5687         * gdb.mi/mi2-eval.exp: Use standard_testfile.
5688         * gdb.mi/mi2-file.exp: Use standard_testfile.
5689         * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
5690         * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
5691         * gdb.mi/mi2-regs.exp: Use standard_testfile.
5692         * gdb.mi/mi2-return.exp: Use standard_testfile.
5693         * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
5694         * gdb.mi/mi2-stack.exp: Use standard_testfile.
5695         * gdb.mi/mi2-stepi.exp: Use standard_testfile.
5696         * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
5697         * gdb.mi/mi2-until.exp: Use standard_testfile.
5698         * gdb.mi/mi2-var-block.exp: Use standard_testfile.
5699         * gdb.mi/mi2-var-child.exp: Use standard_testfile.
5700         * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
5701         * gdb.mi/mi2-var-display.exp: Use standard_testfile.
5702         * gdb.mi/mi2-watch.exp: Use standard_testfile.
5703
5704 2012-07-10  Tom Tromey  <tromey@redhat.com>
5705
5706         * gdb.cp/abstract-origin.exp: Use standard_testfile.
5707         * gdb.cp/ambiguous.exp: Use standard_testfile,
5708         prepare_for_testing.
5709         * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
5710         * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
5711         * gdb.cp/anon-ns.exp: Use standard_testfile.
5712         * gdb.cp/anon-struct.exp: Use standard_testfile.
5713         * gdb.cp/anon-union.exp: Use standard_testfile,
5714         prepare_for_testing.
5715         * gdb.cp/arg-reference.exp: Use standard_testfile,
5716         prepare_for_testing.
5717         * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
5718         * gdb.cp/breakpoint.exp: Use standard_testfile,
5719         prepare_for_testing.
5720         * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
5721         * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
5722         standard_output_file.
5723         * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
5724         * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
5725         * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
5726         (test_static_members): Update.
5727         * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
5728         * gdb.cp/converts.exp: Use standard_testfile.
5729         * gdb.cp/cp-relocate.exp: Use standard_testfile.
5730         * gdb.cp/cpcompletion.exp: Use standard_testfile,
5731         prepare_for_testing.
5732         * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
5733         * gdb.cp/cplabel.exp: Use standard_testfile.
5734         * gdb.cp/cplusfuncs.exp: Use standard_testfile,
5735         prepare_for_testing.
5736         * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
5737         * gdb.cp/derivation.exp: Use standard_testfile,
5738         prepare_for_testing.
5739         * gdb.cp/destrprint.exp: Use standard_testfile.
5740         * gdb.cp/dispcxx.exp: Use standard_testfile.
5741         * gdb.cp/exception.exp: Use standard_testfile,
5742         prepare_for_testing.
5743         * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
5744         * gdb.cp/extern-c.exp: Use standard_testfile,
5745         prepare_for_testing.
5746         * gdb.cp/formatted-ref.exp: Use standard_testfile,
5747         prepare_for_testing.
5748         * gdb.cp/fpointer.exp: Use standard_testfile.
5749         * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
5750         * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
5751         standard_output_file.
5752         * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
5753         * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
5754         * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
5755         standard_output_file.
5756         * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
5757         (do_tests): Update.
5758         * gdb.cp/koenig.exp: Use standard_testfile.
5759         * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
5760         * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
5761         * gdb.cp/m-static.exp: Use standard_testfile,
5762         prepare_for_testing.
5763         * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
5764         * gdb.cp/mb-inline.exp: Use standard_testfile,
5765         prepare_for_testing.
5766         * gdb.cp/mb-templates.exp: Use standard_testfile,
5767         prepare_for_testing.
5768         * gdb.cp/member-ptr.exp: Use standard_testfile,
5769         prepare_for_testing.
5770         * gdb.cp/meth-typedefs.exp: Use standard_testfile.
5771         * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
5772         * gdb.cp/method2.exp: Use standard_testfile.
5773         * gdb.cp/minsym-fallback.exp: Use standard_testfile,
5774         standard_output_file.
5775         * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
5776         (do_tests): Update.
5777         * gdb.cp/namespace-enum.exp: Use standard_testfile,
5778         prepare_for_testing.
5779         * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
5780         prepare_for_testing.
5781         * gdb.cp/namespace.exp: Use standard_testfile,
5782         prepare_for_testing.
5783         * gdb.cp/nextoverthrow.exp: Use standard_testfile.
5784         * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
5785         * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
5786         * gdb.cp/nsimport.exp: Use standard_testfile,
5787         prepare_for_testing.
5788         * gdb.cp/nsnested.exp: Use standard_testfile.
5789         * gdb.cp/nsnoimports.exp: Use standard_testfile.
5790         * gdb.cp/nsrecurs.exp: Use standard_testfile,
5791         prepare_for_testing.
5792         * gdb.cp/nsstress.exp: Use standard_testfile,
5793         prepare_for_testing.
5794         * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
5795         * gdb.cp/operator.exp: Use standard_testfile.
5796         * gdb.cp/oranking.exp: Use standard_testfile.
5797         * gdb.cp/overload-const.exp: Use standard_testfile.
5798         * gdb.cp/overload.exp: Use standard_testfile,
5799         prepare_for_testing.
5800         * gdb.cp/ovldbreak.exp: Use standard_testfile.
5801         * gdb.cp/ovsrch.exp: Use standard_testfile.
5802         * gdb.cp/paren-type.exp: Use standard_testfile.
5803         * gdb.cp/pass-by-ref.exp: Use standard_testfile,
5804         prepare_for_testing.
5805         * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
5806         * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
5807         * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
5808         * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
5809         * gdb.cp/pr10728.exp: Use standard_testfile,
5810         standard_output_file.
5811         * gdb.cp/pr12028.exp: Use standard_testfile.
5812         * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
5813         * gdb.cp/pr9167.exp: Use standard_testfile.
5814         * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
5815         * gdb.cp/printmethod.exp: Use standard_testfile,
5816         prepare_for_testing.
5817         * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
5818         * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
5819         * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
5820         * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
5821         standard_output_file.
5822         * gdb.cp/readnow-language.exp: Use standard_testfile.
5823         * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
5824         (gdb_start_again): Use clean_restart.
5825         * gdb.cp/ref-types.exp: Use standard_testfile,
5826         prepare_for_testing.
5827         * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
5828         * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
5829         * gdb.cp/smartp.exp: Use standard_testfile.
5830         * gdb.cp/static-method.exp: Use standard_testfile.
5831         * gdb.cp/static-print-quit.exp: Use standard_testfile.
5832         * gdb.cp/temargs.exp: Use standard_testfile.
5833         * gdb.cp/templates.exp: Use standard_testfile,
5834         prepare_for_testing.
5835         (do_tests): Update.
5836         * gdb.cp/try_catch.exp: Use standard_testfile,
5837         prepare_for_testing.
5838         * gdb.cp/typedef-operator.exp: Use standard_testfile.
5839         * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
5840         * gdb.cp/virtbase.exp: Use standard_testfile,
5841         prepare_for_testing.
5842         * gdb.cp/virtfunc.exp: Use standard_testfile,
5843         prepare_for_testing.
5844         (do_tests): Update.
5845         * gdb.cp/virtfunc2.exp: Use standard_testfile,
5846         prepare_for_testing.
5847
5848 2012-07-10  Tom Tromey  <tromey@redhat.com>
5849
5850         * lib/gdb.exp (standard_testfile): Unset output variables from
5851         earlier invocations.
5852
5853 2012-07-10  Yao Qi  <yao@codesourcery.com>
5854
5855         * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
5856         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
5857         * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
5858         * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
5859         * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
5860         * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
5861         * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
5862         * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
5863         * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
5864         * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
5865         * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
5866         * gdb.mi/mi-var-display.exp: Likewise.
5867         * gdb.mi/mi-var-invalidate.exp: Likewise.
5868         * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
5869         * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
5870         * gdb.mi/mi2-console.exp: Likewise.
5871         * gdb.mi/mi2-disassemble.exp: Likewise.
5872         * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
5873         * gdb.mi/mi2-read-memory.exp: Likewise.
5874         * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
5875         * gdb.mi/mi2-simplerun.exp: Likewise.
5876         * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
5877         * gdb.mi/mi2-syn-frame.exp: Likewise.
5878         * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
5879         * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
5880         * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
5881
5882 2012-07-09  Tom Tromey  <tromey@redhat.com>
5883
5884         * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
5885         * gdb.base/callfuncs.exp: Add cast-based test.
5886         * gdb.base/callfuncs.c (voidfunc): New function.
5887
5888 2012-07-08  Doug Evans  <dje@google.com>
5889
5890         * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
5891
5892 2012-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
5893
5894         Fix XFAIL compatibility with old i386 systems.
5895         * gdb.base/stale-infcall.exp (test system longjmp tracking support):
5896         Check also 'Cannot insert breakpoint 0'.
5897
5898 2012-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
5899
5900         PR 14321
5901         * gdb.base/find.exp
5902         (find int64_search_buf, +64/8*100, int64_search_buf): New test.
5903
5904 2012-07-06  Tom Tromey  <tromey@redhat.com>
5905
5906         * gdb.base/whatis.exp: Add test.
5907
5908 2012-07-06  Tom Tromey  <tromey@redhat.com>
5909
5910         * gdb.base/whatis.exp: Add regression test.
5911
5912 2012-07-06  Tom Tromey  <tromey@redhat.com>
5913
5914         * gdb.base/whatis.exp: Add tests.
5915
5916 2012-07-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
5917
5918         PR 12649
5919         * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
5920         gdb_test_multiple $gdb_prompt terminator.
5921
5922 2012-07-04  Pedro Alves  <palves@redhat.com>
5923
5924         * gdb.mi/mi-reverse.exp: Use supports_reverse and
5925         supports_process_record.
5926
5927 2012-07-04  Pedro Alves  <palves@redhat.com>
5928
5929         * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
5930         endings.
5931         * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
5932
5933 2012-07-03  Stan Shebs  <stan@codesourcery.com>
5934
5935         * gdb.base/info-os.c (main): Retry resource acquisition until an
5936         available one is found.
5937         * gdb.base/info-os.exp: Collect resource keys from the program
5938         and use them in matching.
5939
5940 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5941
5942         * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
5943         Wrap the test into loop for corefile and core0file.
5944
5945 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5946
5947         * gdb.dwarf2/fission-reread.S: Remove .section attributes.
5948         Change CU pointer size to 4 bytes, adjust .8byte to .4byte.  Remove
5949         .note.GNU-stack.
5950
5951         * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
5952
5953 2012-07-02  Sergio Durigan Junior  <sergiodj@redhat.com>
5954
5955         * gdb.base/help.exp (help b, help br, help bre, help brea, help
5956         break): Include help message for the new `-probe' and `-probe-stap'
5957         options.
5958
5959 2012-07-02  Stan Shebs  <stan@codesourcery.com>
5960
5961         * gdb.base/dprintf.exp: Add agent style tests.
5962
5963 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5964
5965         * gdb.base/stale-infcall.c (infcall): New label test-next.
5966         (main): New labels test-pass and test-fail.
5967         * gdb.base/stale-infcall.exp: Continue to test-next.  Put breakpoint
5968         $test_fail_bpnum to test-fail.
5969         (test system longjmp tracking support): New test.
5970         Delete $test_fail_bpnum.
5971         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
5972         breakpoint.
5973
5974 2012-06-30  Doug Evans  <dje@google.com>
5975
5976         * gdb.dwarf2/fission-reread.S: New file.
5977         * gdb.dwarf2/fission-reread.exp: New file.
5978
5979 2012-06-28  Stan Shebs  <stan@codesourcery.com>
5980
5981         * gdb.mi/mi-logging.exp: New file.
5982
5983 2012-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5984             Pedro Alves  <palves@redhat.com>
5985
5986         * gdb.threads/siginfo-threads.exp: New file.
5987         * gdb.threads/siginfo-threads.c: New file.
5988         * gdb.threads/sigstep-threads.exp: New file.
5989         * gdb.threads/sigstep-threads.c: New file.
5990
5991 2012-06-28  Tom Tromey  <tromey@redhat.com>
5992
5993         * gdb.go/package.exp: Partially revert earlier patch; use
5994         gdb_compile again.  Use standard_output_file.
5995
5996 2012-06-27  Doug Evans  <dje@google.com>
5997
5998         * gdb.dwarf2/fission-base.c: New file.
5999         * gdb.dwarf2/fission-base.S: New file.
6000         * gdb.dwarf2/fission-base.exp: New file.
6001
6002 2012-06-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6003
6004         * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
6005
6006 2012-06-27  Tom Tromey  <tromey@redhat.com>
6007
6008         * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
6009         * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
6010
6011 2012-06-27  Tom Tromey  <tromey@redhat.com>
6012
6013         * gdb.dwarf2/pr10770.exp: Use standard_testfile.
6014         * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
6015         * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
6016         * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
6017         * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
6018         prepare_for_testing.
6019         * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
6020         * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
6021         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
6022         standard_testfile.
6023         * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
6024         * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
6025         * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
6026         * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
6027         prepare_for_testing.
6028         * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
6029         * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
6030         * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
6031         * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
6032         * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
6033         * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
6034         * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
6035         * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
6036         * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
6037         * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
6038         * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
6039         * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
6040         * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
6041         * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
6042         * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
6043         * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
6044         * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
6045         * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
6046         * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
6047         * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
6048         * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
6049         * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
6050         standard_output_file.
6051         * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
6052         standard_output_file.
6053         * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
6054         * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
6055         * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
6056         * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
6057         * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
6058         * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
6059         * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
6060         * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
6061         * gdb.dwarf2/implptr.exp: Use standard_testfile.
6062         * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
6063         * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
6064         * gdb.dwarf2/pieces.exp: Use standard_testfile.
6065         * gdb.dwarf2/pr11465.exp: Use standard_testfile.
6066         * gdb.dwarf2/pr13961.exp: Use standard_testfile.
6067         * gdb.dwarf2/valop.exp: Use standard_testfile,
6068         prepare_for_testing.
6069
6070 2012-06-27  Tom Tromey  <tromey@redhat.com>
6071
6072         * gdb.python/python.exp: Fix regexps in pagination tests.
6073
6074 2012-06-26  Siva Chandra Reddy  <sivachandra@google.com>
6075
6076         * gdb.python/py-symtab.exp: Add tests to test the new attribute
6077         'last' of gdb.Symtab_and_line.
6078         * gdb.python/py-symbol.c: Move break point comment to enable
6079         testing of gdb.Symtab_and_line.last.
6080
6081 2012-06-26  Tom Tromey  <tromey@redhat.com>
6082
6083         * gdb.threads/step.c: Remove.
6084         * gdb.threads/step.exp: Remove.
6085         * gdb.threads/step2.exp: Remove.
6086
6087 2012-06-26  Tom Tromey  <tromey@redhat.com>
6088
6089         * gdb.threads/watchpoint-fork.exp (test): Use
6090         standard_output_file.  Don't declare objdir.
6091         * gdb.threads/attach-into-signal.exp: Use standard_testfile,
6092         standard_output_file.
6093         * gdb.threads/attach-stopped.exp: Use standard_testfile.
6094         * gdb.threads/bp_in_thread.exp: Use standard_testfile,
6095         clean_restart.  Remove incdir.
6096         * gdb.threads/corethreads.exp: Use standard_testfile.
6097         * gdb.threads/execl.exp: Use standard_testfile,
6098         standard_output_file, clean_restart.
6099         * gdb.threads/fork-child-threads.exp: Use standard_testfile,
6100         clean_restart.
6101         * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
6102         clean_restart.
6103         * gdb.threads/gcore-thread.exp: Use standard_testfile.  Remove
6104         incdir.
6105         * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
6106         clean_restart.  Remove incdir.
6107         * gdb.threads/ia64-sigill.exp: Use standard_testfile.
6108         * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
6109         clean_restart.  Remove incdir.
6110         * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
6111         Remove incdir.
6112         * gdb.threads/leader-exit.exp: Use standard_testfile.
6113         * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
6114         * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
6115         clean_restart.
6116         * gdb.threads/manythreads.exp: Use standard_testfile,
6117         clean_restart.  Remove incdir.
6118         * gdb.threads/multi-create.exp: Use standard_testfile,
6119         clean_restart.
6120         * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
6121         * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
6122         * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
6123         * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
6124         * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
6125         * gdb.threads/pending-step.exp: Use standard_testfile,
6126         clean_restart.  Remove incdir.
6127         * gdb.threads/print-threads.exp: Use standard_testfile,
6128         clean_restart.  Remove incdir.
6129         * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
6130         clean_restart.  Remove incdir.
6131         * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
6132         Remove incdir.
6133         * gdb.threads/schedlock.exp: Use standard_testfile.  Remove
6134         incdir.
6135         * gdb.threads/sigthread.exp: Use standard_testfile,
6136         clean_restart.
6137         * gdb.threads/staticthreads.exp: Use standard_testfile,
6138         clean_restart.  Remove incdir.
6139         * gdb.threads/switch-threads.exp: Use standard_testfile,
6140         clean_restart.  Remove incdir.
6141         * gdb.threads/thread-execl.exp: Use standard_testfile,
6142         clean_restart.  Remove incdir.
6143         * gdb.threads/thread-find.exp: Use standard_testfile,
6144         clean_restart.
6145         * gdb.threads/thread-specific.exp: Use standard_testfile,
6146         clean_restart.  Remove incdir.
6147         * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
6148         clean_restart.  Remove incdir.
6149         * gdb.threads/thread_check.exp: Use standard_testfile,
6150         clean_restart.  Remove incdir.
6151         * gdb.threads/thread_events.exp: Use standard_testfile.  Remove
6152         incdir.
6153         * gdb.threads/threadapply.exp: Use standard_testfile,
6154         clean_restart.  Remove incdir.
6155         * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
6156         clean_restart.  Remove incdir.
6157         * gdb.threads/tls-nodebug.exp: Use standard_testfile,
6158         clean_restart.
6159         * gdb.threads/tls-shared.exp: Use standard_testfile,
6160         clean_restart, standard_output_file.
6161         * gdb.threads/tls-var.exp: Use standard_testfile,
6162         standard_output_file.
6163         * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
6164         Remove incdir.
6165         * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
6166         * gdb.threads/watchthreads.exp: Use standard_testfile.  Remove
6167         incdir.
6168         * gdb.threads/watchthreads2.exp: Use standard_testfile,
6169         clean_restart.  Remove incdir.
6170
6171 2012-06-26  Tom Tromey  <tromey@redhat.com>
6172
6173         * gdb.trace/actions.exp: Use standard_testfile.
6174         * gdb.trace/ax.exp: Use standard_testfile.
6175         * gdb.trace/backtrace.exp: Use standard_testfile.
6176         * gdb.trace/change-loc.exp: Use standard_testfile.
6177         * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
6178         * gdb.trace/collection.exp: Use standard_testfile,
6179         prepare_for_testing.
6180         * gdb.trace/deltrace.exp: Use standard_testfile.
6181         * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
6182         * gdb.trace/ftrace.exp: Use standard_testfile.
6183         * gdb.trace/infotrace.exp: Use standard_testfile.
6184         * gdb.trace/packetlen.exp: Use standard_testfile.
6185         * gdb.trace/passc-dyn.exp: Use standard_testfile.
6186         * gdb.trace/passcount.exp: Use standard_testfile.
6187         * gdb.trace/pending.exp: Use standard_testfile.
6188         * gdb.trace/report.exp: Use standard_testfile.
6189         * gdb.trace/save-trace.exp: Use standard_testfile.
6190         * gdb.trace/stap-trace.exp: Use standard_testfile.
6191         * gdb.trace/status-stop.exp: Use standard_testfile.
6192         * gdb.trace/strace.exp: Use standard_testfile.
6193         * gdb.trace/tfile.exp: Use standard_testfile.
6194         * gdb.trace/tfind.exp: Use standard_testfile.
6195         * gdb.trace/trace-break.exp: Use standard_testfile.
6196         * gdb.trace/trace-mt.exp: Use standard_testfile.
6197         * gdb.trace/tracecmd.exp: Use standard_testfile.
6198         * gdb.trace/tspeed.exp: Use standard_testfile.
6199         * gdb.trace/tstatus.exp: Use standard_testfile.
6200         * gdb.trace/tsv.exp: Use standard_testfile.
6201         * gdb.trace/unavailable.exp: Use standard_testfile,
6202         prepare_for_testing.
6203         * gdb.trace/while-dyn.exp: Use standard_testfile.
6204         * gdb.trace/while-stepping.exp: Use standard_testfile.
6205
6206 2012-06-26  Tom Tromey  <tromey@redhat.com>
6207
6208         * gdb.reverse/break-precsave.exp: Use standard_testfile.
6209         * gdb.reverse/break-reverse.exp: Use standard_testfile.
6210         * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
6211         * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
6212         * gdb.reverse/finish-precsave.exp: Use standard_testfile.
6213         * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
6214         * gdb.reverse/finish-reverse.exp: Use standard_testfile.
6215         * gdb.reverse/i386-precsave.exp: Use standard_testfile,
6216         prepare_for_testing.
6217         * gdb.reverse/i386-reverse.exp: Use standard_testfile,
6218         prepare_for_testing.
6219         * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
6220         prepare_for_testing.
6221         * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
6222         prepare_for_testing.
6223         * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
6224         prepare_for_testing
6225         * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
6226         * gdb.reverse/machinestate.exp: Use standard_testfile.
6227         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
6228         * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
6229         build_executable.
6230         * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
6231         build_executable.
6232         * gdb.reverse/solib-precsave.exp: Use standard_testfile,
6233         standard_output_file.
6234         * gdb.reverse/solib-reverse.exp: Use standard_testfile,
6235         standard_output_file.
6236         * gdb.reverse/step-precsave.exp: Use standard_testfile.
6237         * gdb.reverse/step-reverse.exp: Use standard_testfile.
6238         * gdb.reverse/until-precsave.exp: Use standard_testfile.
6239         * gdb.reverse/until-reverse.exp: Use standard_testfile.
6240         * gdb.reverse/watch-precsave.exp: Use standard_testfile.
6241         * gdb.reverse/watch-reverse.exp: Use standard_testfile.
6242
6243 2012-06-26  Tom Tromey  <tromey@redhat.com>
6244
6245         * gdb.stabs/weird.exp: Remove directory-checking code.  Use
6246         standard_output_file.
6247         * gdb.stabs/exclfwd.exp: Use standard_testfile,
6248         prepare_for_testing.  Remove directory-checking code.
6249
6250 2012-06-25  Tom Tromey  <tromey@redhat.com>
6251
6252         * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
6253         * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file.  Use
6254         build_executable, not prepare_for_testing.
6255         * gdb.multi/base.exp: Use standard_output_file.  Use
6256         build_executable,  not prepare_for_testing.
6257
6258 2012-06-25  Tom Tromey  <tromey@redhat.com>
6259
6260         * gdb.fortran/subarray.exp: Use standard_testfile,
6261         prepare_for_testing.
6262         * gdb.fortran/multi-dim.exp: Use standard_testfile.
6263         * gdb.fortran/module.exp: Use standard_testfile.
6264         * gdb.fortran/logical.exp: Use standard_testfile.
6265         * gdb.fortran/library-module.exp: Use standard_testfile,
6266         standard_output_file.
6267         * gdb.fortran/derived-type.exp: Use standard_testfile,
6268         prepare_for_testing.
6269         * gdb.fortran/complex.exp: Use standard_testfile,
6270         prepare_for_testing.
6271         * gdb.fortran/charset.exp: Use standard_testfile.
6272         * gdb.fortran/array-element.exp: Use standard_testfile,
6273         prepare_for_testing.
6274
6275 2012-06-25  Keith Seitz  <keiths@redhat.com>
6276
6277         * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
6278         Change rbreak-related tests to KFAIL and add bugzilla numbers.
6279
6280 2012-06-25  Tom Tromey  <tromey@redhat.com>
6281
6282         * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
6283         * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
6284         * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
6285         * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
6286
6287 2012-06-25  Tom Tromey  <tromey@redhat.com>
6288
6289         * gdb.linespec/ls-errs.exp: Use standard_testfile.
6290         * gdb.linespec/ls-dollar.exp: Use standard_testfile.
6291         * gdb.linespec/linespec.exp: Use standard_testfile.
6292
6293 2012-06-25  Tom Tromey  <tromey@redhat.com>
6294
6295         * gdb.modula2/unbounded-array.exp: Use standard_testfile,
6296         prepare_for_testing.
6297
6298 2012-06-25  Tom Tromey  <tromey@redhat.com>
6299
6300         * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
6301         prepare_for_testing.
6302         * gdb.opt/inline-break.exp: Use standard_testfile,
6303         prepare_for_testing.
6304         * gdb.opt/inline-bt.exp: Use standard_testfile,
6305         prepare_for_testing.
6306         * gdb.opt/inline-cmds.exp: Use standard_testfile,
6307         prepare_for_testing.
6308         * gdb.opt/inline-locals.exp: Use standard_testfile,
6309         prepare_for_testing.
6310
6311 2012-06-25  Tom Tromey  <tromey@redhat.com>
6312
6313         * gdb.asm/asm-source.exp: Use standard_output_file,
6314         standard_testfile.  Construct .o files in proper subdir.
6315
6316 2012-06-25  Tom Tromey  <tromey@redhat.com>
6317
6318         * gdb.server/ext-attach.exp: Use standard_testfile,
6319         prepare_for_testing.
6320         * gdb.server/ext-run.exp: Use standard_testfile,
6321         build_executable.
6322         * gdb.server/file-transfer.exp: Use standard_testfile,
6323         prepare_for_testing.
6324         * gdb.server/server-exec-info.exp: Use standard_testfile.
6325         * gdb.server/server-mon.exp: Use standard_testfile,
6326         prepare_for_testing.
6327         * gdb.server/server-run.exp: Use standard_testfile,
6328         build_executable.
6329         * gdb.server/solib-list.exp: Use standard_testfile,
6330         standard_output_file.
6331
6332 2012-06-25  Tom Tromey  <tromey@redhat.com>
6333
6334         * lib/gdb.exp (standard_output_file): Use "file join".
6335         * gdb.go/chan.exp: Use standard_testfile.
6336         * gdb.go/handcall.exp: Use standard_testfile.
6337         * gdb.go/hello.exp: Use standard_testfile.
6338         * gdb.integers/chan.exp: Use standard_testfile.
6339         * gdb.go/methods.exp: Use standard_testfile.
6340         * gdb.go/package.exp: Use standard_testfile.
6341         * gdb.go/strings.exp: Use standard_testfile.
6342         * gdb.go/types.exp: Use standard_testfile.
6343         * gdb.go/unsafe.exp: Use standard_testfile.
6344
6345 2012-06-25  Greta Yorsh  <greta.yorsh@arm.com>
6346
6347         * gdb.arch/arm-disp-step.S: Fix use of .global directives.
6348
6349 2012-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6350
6351         Fix regression by the previous commit.
6352         * gdb.python/lib-types.exp: Add c++ to the compilation flags.
6353
6354 2012-06-22  Tom Tromey  <tromey@redhat.com>
6355
6356         * gdb.python/lib-types.exp: Use standard_testfile,
6357         prepare_for_testing.
6358         * gdb.python/py-block.exp: Use standard_testfile.
6359         * gdb.python/py-breakpoint.exp: Use standard_testfile.
6360         * gdb.python/py-events.exp: Use standard_testfile,
6361         standard_output_file.
6362         * gdb.python/py-evsignal.exp: Use standard_testfile.
6363         * gdb.python/py-evethreads.exp: Use standard_testfile.
6364         * gdb.python/py-explore-cc.exp: Use standard_testfile.
6365         * gdb.python/py-explore.exp: Use standard_testfile.
6366         * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
6367         standard_output_file.
6368         * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
6369         prepare_for_testing.
6370         * gdb.python/py-frame-inline.exp: Use standard_testfile.
6371         * gdb.python/py-frame.exp: Use standard_testfile.
6372         * gdb.python/py-inferior.exp: Use standard_testfile.
6373         * gdb.python/py-infthread.exp: Use standard_testfile.
6374         * gdb.python/py-mi.exp: Use standard_testfile.
6375         * gdb.python/py-objfile-script.exp: Use standard_testfile,
6376         build_executable.
6377         * gdb.python/py-objfile.exp: Use standard_testfile.
6378         * gdb.python/py-pp-maint.exp: Use standard_testfile,
6379         prepare_for_testing.
6380         * gdb.python/py-prettyprint.exp: Use standard_testfile.
6381         * gdb.python/py-progspace.exp: Use standard_testfile,
6382         build_executable.
6383         * gdb.python/py-prompt.exp: Use standard_testfile,
6384         build_executable.
6385         * gdb.python/py-section-script.exp: Use standard_testfile,
6386         build_executable.
6387         * gdb.python/py-shared.exp: Use standard_testfile,
6388         standard_output_file, clean_restart.
6389         * gdb.python/py-symbol.exp: Use standard_output_file,
6390         prepare_for_testing.
6391         * gdb.python/py-symtab.exp: Use standard_output_file,
6392         prepare_for_testing
6393         * gdb.python/py-template.exp: Use standard_testfile.
6394         * gdb.python/py-type.exp: Use standard_testfile.
6395         * gdb.python/py-value-cc.exp: Use standard_testfile.
6396         * gdb.python/py-value.exp: Use standard_testfile.
6397         * gdb.python/python.exp: Use standard_testfile, build_executable.
6398
6399 2012-06-22  Tom Tromey  <tromey@redhat.com>
6400
6401         * gdb.objc/basicclass.exp: Use standard_testfile.
6402         (do_objc_tests): Don't declare objdir.
6403         * gdb.objc/nondebug.exp: Use standard_testfile.
6404         (do_objc_tests): Don't declare objdir.
6405         * gdb.objc/objcdecode.exp: Use standard_testfile.
6406         (do_objc_tests): Don't declare objdir.
6407
6408 2012-06-22  Tom Tromey  <tromey@redhat.com>
6409
6410         * gdb.java/jmain.exp: Use standard_testfile.
6411         * gdb.java/jmisc.exp: Use standard_testfile.
6412         * gdb.java/jnpe.exp: Use standard_testfile.
6413         * gdb.java/jprint.exp: Use standard_testfile.
6414
6415 2012-06-22  Tom Tromey  <tromey@redhat.com>
6416
6417         * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
6418         (standard_output_file, standard_testfile): New procs.
6419         (build_executable, clean_restart): Use standard_output_file.
6420
6421 2012-06-22  Yao Qi  <yao@codesourcery.com>
6422
6423         * boards/native-gdbserver.exp: New proc ${board}_exec.
6424         * boards/native-stdio-gdbserver.exp: Likewise.
6425
6426 2012-06-21  Tom Tromey  <tromey@redhat.com>
6427
6428         * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
6429         (build_executable): Update.
6430         (get_compiler_info): Remove 'binfile' argument.
6431         * gdb.ada/arrayidx.exp: Update.
6432         * gdb.ada/null_array.exp: Update.
6433         * gdb.arch/altivec-abi.exp: Update.
6434         * gdb.arch/altivec-regs.exp: Update.
6435         * gdb.arch/amd64-byte.exp: Update.
6436         * gdb.arch/amd64-dword.exp: Update.
6437         * gdb.arch/amd64-word.exp: Update.
6438         * gdb.arch/i386-avx.exp: Update.
6439         * gdb.arch/i386-byte.exp: Update.
6440         * gdb.arch/i386-sse.exp: Update.
6441         * gdb.arch/i386-word.exp: Update.
6442         * gdb.arch/ppc-dfp.exp: Update.
6443         * gdb.arch/ppc-fp.exp: Update.
6444         * gdb.arch/vsx-regs.exp: Update.
6445         * gdb.base/all-bin.exp: Update.
6446         * gdb.base/annota1.exp: Update.
6447         * gdb.base/async.exp: Update.
6448         * gdb.base/attach.exp: Update.
6449         * gdb.base/break-interp.exp: Update.
6450         * gdb.base/call-ar-st.exp: Update.
6451         * gdb.base/call-rt-st.exp: Update.
6452         * gdb.base/call-sc.exp: Update.
6453         * gdb.base/callfuncs.exp: Update.
6454         * gdb.base/catch-load.exp: Update.
6455         * gdb.base/completion.exp: Update.
6456         * gdb.base/complex.exp: Update.
6457         * gdb.base/condbreak.exp: Update.
6458         * gdb.base/consecutive.exp: Update.
6459         * gdb.base/constvars.exp: Update.
6460         * gdb.base/corefile.exp: Update.
6461         * gdb.base/eval-skip.exp: Update.
6462         * gdb.base/expand-psymtabs.exp: Update.
6463         * gdb.base/exprs.exp: Update.
6464         * gdb.base/fileio.exp: Update.
6465         * gdb.base/fixsection.exp: Update.
6466         * gdb.base/funcargs.exp: Update.
6467         * gdb.base/gdb11530.exp: Update.
6468         * gdb.base/gdb1555.exp: Update.
6469         * gdb.base/gnu-ifunc.exp: Update.
6470         * gdb.base/gnu_vector.exp: Update.
6471         * gdb.base/info-macros.exp: Update.
6472         * gdb.base/jit-simple.exp: Update.
6473         * gdb.base/jit-so.exp: Update.
6474         * gdb.base/jit.exp: Update.
6475         * gdb.base/langs.exp: Update.
6476         * gdb.base/list.exp: Update.
6477         * gdb.base/logical.exp: Update.
6478         * gdb.base/long_long.exp: Update.
6479         * gdb.base/longjmp.exp: Update.
6480         * gdb.base/macscp.exp: Update.
6481         * gdb.base/mips_pro.exp: Update.
6482         * gdb.base/miscexprs.exp: Update.
6483         * gdb.base/morestack.exp: Update.
6484         * gdb.base/nodebug.exp: Update.
6485         * gdb.base/opaque.exp: Update.
6486         * gdb.base/pc-fp.exp: Update.
6487         * gdb.base/pending.exp: Update.
6488         * gdb.base/permissions.exp: Update.
6489         * gdb.base/pointers.exp: Update.
6490         * gdb.base/prelink.exp: Update.
6491         * gdb.base/printcmds.exp: Update.
6492         * gdb.base/psymtab.exp: Update.
6493         * gdb.base/ptype.exp: Update.
6494         * gdb.base/relational.exp: Update.
6495         * gdb.base/scope.exp: Update.
6496         * gdb.base/setvar.exp: Update.
6497         * gdb.base/shlib-call.exp: Update.
6498         * gdb.base/shreloc.exp: Update.
6499         * gdb.base/signals.exp: Update.
6500         * gdb.base/sizeof.exp: Update.
6501         * gdb.base/so-impl-ld.exp: Update.
6502         * gdb.base/so-indr-cl.exp: Update.
6503         * gdb.base/solib-disc.exp: Update.
6504         * gdb.base/solib-display.exp: Update.
6505         * gdb.base/solib-nodir.exp: Update.
6506         * gdb.base/solib-overlap.exp: Update.
6507         * gdb.base/solib-symbol.exp: Update.
6508         * gdb.base/solib-weak.exp: Update.
6509         * gdb.base/solib.exp: Update.
6510         * gdb.base/store.exp: Update.
6511         * gdb.base/structs.exp: Update.
6512         * gdb.base/structs2.exp: Update.
6513         * gdb.base/type-opaque.exp: Update.
6514         * gdb.base/unload.exp: Update.
6515         * gdb.base/varargs.exp: Update.
6516         * gdb.base/volatile.exp: Update.
6517         * gdb.base/watch_thread_num.exp: Update.
6518         * gdb.base/watchpoint-solib.exp: Update.
6519         * gdb.base/watchpoint.exp: Update.
6520         * gdb.base/watchpoints.exp: Update.
6521         * gdb.base/whatis.exp: Update.
6522         * gdb.cell/arch.exp: Update.
6523         * gdb.cell/break.exp: Update.
6524         * gdb.cell/bt.exp: Update.
6525         * gdb.cell/core.exp: Update.
6526         * gdb.cell/data.exp: Update.
6527         * gdb.cell/ea-cache.exp: Update.
6528         * gdb.cell/f-regs.exp: Update.
6529         * gdb.cell/fork.exp: Update.
6530         * gdb.cell/gcore.exp: Update.
6531         * gdb.cell/mem-access.exp: Update.
6532         * gdb.cell/ptype.exp: Update.
6533         * gdb.cell/registers.exp: Update.
6534         * gdb.cell/sizeof.exp: Update.
6535         * gdb.cell/solib-symbol.exp: Update.
6536         * gdb.cell/solib.exp: Update.
6537         * gdb.cp/ambiguous.exp: Update.
6538         * gdb.cp/breakpoint.exp: Update.
6539         * gdb.cp/bs15503.exp: Update.
6540         * gdb.cp/casts.exp: Update.
6541         * gdb.cp/class2.exp: Update.
6542         * gdb.cp/cpexprs.exp: Update.
6543         * gdb.cp/cplusfuncs.exp: Update.
6544         * gdb.cp/ctti.exp: Update.
6545         * gdb.cp/dispcxx.exp: Update.
6546         * gdb.cp/gdb1355.exp: Update.
6547         * gdb.cp/gdb2384.exp: Update.
6548         * gdb.cp/gdb2495.exp: Update.
6549         * gdb.cp/infcall-dlopen.exp: Update.
6550         * gdb.cp/local.exp: Update.
6551         * gdb.cp/m-data.exp: Update.
6552         * gdb.cp/m-static.exp: Update.
6553         * gdb.cp/mb-ctor.exp: Update.
6554         * gdb.cp/mb-inline.exp: Update.
6555         * gdb.cp/mb-templates.exp: Update.
6556         * gdb.cp/member-ptr.exp: Update.
6557         * gdb.cp/method.exp: Update.
6558         * gdb.cp/namespace.exp: Update.
6559         * gdb.cp/nextoverthrow.exp: Update.
6560         * gdb.cp/nsdecl.exp: Update.
6561         * gdb.cp/nsrecurs.exp: Update.
6562         * gdb.cp/nsstress.exp: Update.
6563         * gdb.cp/nsusing.exp: Update.
6564         * gdb.cp/pr-1023.exp: Update.
6565         * gdb.cp/pr-1210.exp: Update.
6566         * gdb.cp/pr-574.exp: Update.
6567         * gdb.cp/pr9631.exp: Update.
6568         * gdb.cp/printmethod.exp: Update.
6569         * gdb.cp/psmang.exp: Update.
6570         * gdb.cp/re-set-overloaded.exp: Update.
6571         * gdb.cp/rtti.exp: Update.
6572         * gdb.cp/shadow.exp: Update.
6573         * gdb.cp/templates.exp: Update.
6574         * gdb.cp/try_catch.exp: Update.
6575         * gdb.dwarf2/dw2-ranges.exp: Update.
6576         * gdb.dwarf2/pr10770.exp: Update.
6577         * gdb.fortran/library-module.exp: Update.
6578         * gdb.hp/gdb.aCC/optimize.exp: Update.
6579         * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
6580         * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
6581         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
6582         * gdb.hp/gdb.base-hp/pxdb.exp: Update.
6583         * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
6584         * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
6585         * gdb.hp/gdb.compat/xdb1.exp: Update.
6586         * gdb.hp/gdb.compat/xdb2.exp: Update.
6587         * gdb.hp/gdb.compat/xdb3.exp: Update.
6588         * gdb.hp/gdb.defects/bs14602.exp: Update.
6589         * gdb.hp/gdb.defects/solib-d.exp: Update.
6590         * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
6591         * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
6592         * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
6593         * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
6594         * gdb.mi/gdb792.exp: Update.
6595         * gdb.mi/mi-pending.exp: Update.
6596         * gdb.mi/mi-solib.exp: Update.
6597         * gdb.mi/mi-var-cp.exp: Update.
6598         * gdb.opt/clobbered-registers-O2.exp: Update.
6599         * gdb.opt/inline-bt.exp: Update.
6600         * gdb.opt/inline-cmds.exp: Update.
6601         * gdb.opt/inline-locals.exp: Update.
6602         * gdb.python/py-events.exp: Update.
6603         * gdb.python/py-finish-breakpoint.exp: Update.
6604         * gdb.python/py-type.exp: Update.
6605         * gdb.reverse/solib-precsave.exp: Update.
6606         * gdb.reverse/solib-reverse.exp: Update.
6607         * gdb.server/solib-list.exp: Update.
6608         * gdb.stabs/weird.exp: Update.
6609         * gdb.threads/attach-into-signal.exp: Update.
6610         * gdb.threads/attach-stopped.exp: Update.
6611         * gdb.threads/tls-shared.exp: Update.
6612         * gdb.trace/change-loc.exp: Update.
6613         * gdb.trace/strace.exp: Update.
6614
6615 2012-06-19  Tom Tromey  <tromey@redhat.com>
6616
6617         * gdb.base/whatis.exp: Add tests.
6618
6619 2012-06-19  Tom Tromey  <tromey@redhat.com>
6620
6621         * gdb.cp/m-static.cc (keepalive): New function.
6622         (gnu_obj_1::method): Use it.
6623
6624 2012-06-18  Doug Evans  <dje@google.com>
6625
6626         * gdb.base/info-fun.exp: New file.
6627         * gdb.base/info-fun.c: New file.
6628         * gdb.base/info-fun-solib.c: New file.
6629
6630 2012-06-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
6631
6632         Remove stale dummy frames.
6633         * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
6634         (maintenance info breakpoints): New tests.
6635         * gdb.base/stale-infcall.c: New file.
6636         * gdb.base/stale-infcall.exp: New file.
6637
6638 2012-06-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
6639
6640         * gdb.arch/amd64-entry-value-param.S: New file.
6641         * gdb.arch/amd64-entry-value-param.c: New file.
6642         * gdb.arch/amd64-entry-value-param.exp: New file.
6643
6644 2012-06-15  Tom Tromey  <tromey@redhat.com>
6645
6646         * gdb.cp/namespace.exp: Add "show lang" test.
6647
6648 2012-06-15  Iain Sandoe <iain@codesourcery.com>
6649
6650         * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
6651         case. (top level): Use gdb_file_cmd instead of gdb_load.
6652
6653 2012-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6654
6655         PR tdep/14222
6656         * gdb.arch/i386-sse-stack-align.S: New file.
6657         * gdb.arch/i386-sse-stack-align.c: New file.
6658         * gdb.arch/i386-sse-stack-align.exp: New file.
6659
6660 2012-06-13  Keith Seitz  <keiths@redhat.com>
6661
6662         PR breakpoints/13798 and mi/11541
6663         * gdb.linespec/ls-errs.exp: Add a few more tests for
6664         filenames with spaces and colons.
6665
6666 2012-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6667
6668         PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
6669         * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
6670         (test_function): Call CV_f.
6671         * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
6672         (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
6673         (p CV::m(int) volatile, p 'CV::m(int) const volatile')
6674         (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
6675         (p CV_f(CV::i)): New tests.
6676
6677 2012-06-13  Tom Tromey  <tromey@redhat.com>
6678
6679         * gdb.base/condbreak.exp: Add tests for "condition" completion.
6680
6681 2012-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6682
6683         Fix regression by the "ambiguous linespec" series.
6684         * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
6685         tests.
6686
6687 2012-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6688
6689         * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
6690         missing.
6691
6692 2012-06-11  Tom Tromey  <tromey@redhat.com>
6693
6694         * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
6695         location...
6696         (main): ...here.
6697
6698 2012-06-07  Yao Qi  <yao@codesourcery.com>
6699
6700         * gdb.trace/strace.exp: Shorten some too-long lines.
6701
6702 2012-06-06  Pedro Alves  <palves@redhat.com>
6703
6704         * gdb.threads/clone-new-thread-event.c: New file.
6705         * gdb.threads/clone-new-thread-event.exp: New file.
6706
6707 2012-06-06  Yao Qi  <yao@codesourcery.com>
6708
6709         * gdb.base/dprintf.c (main): Add extra parameter when calling
6710         printf and fprintf.
6711         (bar): New function.  It is a dead function, but to ensure
6712         'malloc' is linked explicitly.
6713
6714 2012-06-06  Yao Qi  <yao@codesourcery.com>
6715
6716         * gdb.base/info-proc.exp: Return if target doesn't support
6717         'info proc'.
6718
6719 2012-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6720
6721         * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
6722         (run program with breakpoint commands): XFAIl if it is not.
6723
6724 2012-06-05  Joel Brobecker  <brobecker@adacore.com>
6725
6726         * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
6727         and add comment.
6728         * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
6729         * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
6730         "STOP" marker.  Adjust testing strategy to make it work on
6731         all targets.
6732
6733         * gdb.base/print-file-var-main.c (main): Rewrite using local
6734         variables and adjust get_version_2's return value check.
6735         Add small comment.
6736         * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
6737         marker.  Adjust testing strategy to make it work on all targets.
6738
6739 2012-06-05  Joel Brobecker  <brobecker@adacore.com>
6740
6741         * gdb.ada/bad-task-bp-keyword: New testcase.
6742
6743 2012-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6744
6745         * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
6746         Simplify it to ...
6747         (symbol-file ${testfile1}): ... here.
6748         (test eliminated var my_global_symbol)
6749         (test eliminated var my_static_symbol)
6750         (test eliminated var my_global_func, get address of main): Wrap them to
6751         'single psymtabs' and 'single symtabs'
6752         (get address of my_global_symbol, get address of my_static_symbol)
6753         (get address of my_global_func, get address of main): Wrap them to
6754         'order1' and 'order2'.
6755
6756         * gdb.base/code_elim.exp
6757         (add-symbol-file ${testfile1} 0x100000)
6758         (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
6759         'order2'.
6760         (order1: add-symbol-file ${testfile1} 0x100000)
6761         (order1: add-symbol-file ${testfile2} 0x200000)
6762         (order2: add-symbol-file ${testfile2} 0x200000)
6763         (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
6764         .bss as appropriate.
6765
6766 2012-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6767
6768         * gdb.server/solib-list-lib.c: New file.
6769         * gdb.server/solib-list-main.c: New file.
6770         * gdb.server/solib-list.exp: New file.
6771
6772 2012-05-25  Maciej W. Rozycki  <macro@codesourcery.com>
6773
6774         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
6775         for 'set print symbol' change.
6776
6777 2012-05-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6778
6779         * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
6780         .debug_abbrev_seg3.
6781
6782 2012-05-24  John Steele Scott  <toojays@toojays.net>
6783
6784         PR symtab/13277: Resolving opaque structures in ICC generated binaries.
6785         * gdb.dwarf2/dw2-icc-opaque.S: New file.
6786         * gdb.dwarf2/dw2-icc-opaque.exp: New file.
6787
6788 2012-05-23  Stan Shebs  <stan@codesourcery.com>
6789
6790         * gdb.mi/mi-info-os.exp: New file.
6791
6792 2012-05-23  Keith Seitz  <keiths@redhat.com>
6793
6794         * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
6795         return -1 to suppress the rest of the tests.
6796         (compile_stap_bin): Return boolean success value.
6797
6798 2012-05-21  Tom Tromey  <tromey@redhat.com>
6799
6800         * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
6801         Remove kfails.
6802         (test_print_mi_member_types): Likewise.
6803
6804 2012-05-21  Tom Tromey  <tromey@redhat.com>
6805
6806         * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
6807         print symbol' change.
6808
6809 2012-05-18  Thiago Jung Bauermann  <thiago.bauermann@linaro.org>
6810
6811         * gdb.python/py-prompt.exp: Quit if the target is remote.
6812
6813 2012-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
6814
6815         Fix ERROR: internal buffer is full.
6816         * gdb.base/info-os.exp (expect_multiline): New function.
6817         (get process list, get process groups, get threads)
6818         (get file descriptors, get internet-domain sockets)
6819         (get shared-memory regions, get semaphores, get message queues): Use
6820         it for these tests.
6821
6822 2012-05-18  Tom Tromey  <tromey@redhat.com>
6823
6824         * gdb.mi/mi-var-cmd.exp: Update.
6825         * gdb.objc/basicclass.exp (do_objc_tests): Update.
6826         * gdb.cp/virtbase.exp: Update.
6827         * gdb.cp/classes.exp (test_static_members): Update.
6828         * gdb.cp/casts.exp: Update.
6829         * gdb.base/pointers.exp: Update.
6830         * gdb.base/funcargs.exp (pointer_args): Update.
6831         (structs_by_reference): Update.
6832         * gdb.base/find.exp: Update.
6833         * gdb.base/call-strs.exp: Send "set print symbol off".
6834         * gdb.base/call-ar-st.exp: Update.
6835         * gdb.ada/fun_addr.exp: Update.
6836         * gdb.base/printcmds.exp (test_print_symbol): New proc.
6837         Call it.
6838         (test_print_repeats_10, test_print_strings)
6839         (test_print_char_arrays): Update.
6840
6841 2012-05-18  Tom Tromey  <tromey@redhat.com>
6842
6843         * gdb.base/charset.exp (string_display): Update.
6844
6845 2012-05-18  Tom Tromey  <tromey@redhat.com>
6846
6847         * gdb.mi/mi2-var-display.exp: Update.
6848         * gdb.mi/mi-var-display.exp: Update.
6849         * gdb.mi/mi-var-child.exp: Update.
6850         * gdb.cp/expand-psymtabs-cxx.exp: Update.
6851         * gdb.cp/cp-relocate.exp (get_func_address): Update.
6852
6853 2012-05-17  Doug Evans  <dje@google.com>
6854
6855         * info-macros.exp: Pass "debug" to prepare_for_testing.
6856
6857         * Makefile.in (clean): Remove Fission .dwo and .dwp files.
6858         * gdb.ada/Makefile.in (clean): Ditto.
6859         * gdb.arch/Makefile.in (clean): Ditto.
6860         * gdb.asm/Makefile.in (clean): Ditto.
6861         * gdb.base/Makefile.in (clean): Ditto.
6862         * gdb.cell/Makefile.in (clean): Ditto.
6863         * gdb.cp/Makefile.in (clean): Ditto.
6864         * gdb.disasm/Makefile.in (clean): Ditto.
6865         * gdb.dwarf2/Makefile.in (clean): Ditto.
6866         * gdb.fortran/Makefile.in (clean): Ditto.
6867         * gdb.go/Makefile.in (clean): Ditto.
6868         * gdb.hp/Makefile.in (clean): Ditto.
6869         * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
6870         * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
6871         * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
6872         * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
6873         * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
6874         * gdb.java/Makefile.in (clean): Ditto.
6875         * gdb.linespec/Makefile.in (clean): Ditto.
6876         * gdb.mi/Makefile.in (clean): Ditto.
6877         * gdb.modula2/Makefile.in (clean): Ditto.
6878         * gdb.multi/Makefile.in (clean): Ditto.
6879         * gdb.objc/Makefile.in (clean): Ditto.
6880         * gdb.opencl/Makefile.in (clean): Ditto.
6881         * gdb.opt/Makefile.in (clean): Ditto.
6882         * gdb.pascal/Makefile.in (clean): Ditto.
6883         * gdb.python/Makefile.in (clean): Ditto.
6884         * gdb.reverse/Makefile.in (clean): Ditto.
6885         * gdb.server/Makefile.in (clean): Ditto.
6886         * gdb.stabs/Makefile.in (clean): Ditto.
6887         * gdb.threads/Makefile.in (clean): Ditto.
6888         * gdb.trace/Makefile.in (clean): Ditto.
6889         * gdb.xml/Makefile.in (clean): Ditto.
6890
6891 2012-05-16  Tom Tromey  <tromey@redhat.com>
6892
6893         * gdb.base/macscp1.c (macscp_expr): Add comment.
6894         * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
6895
6896 2012-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6897
6898         * gdb.base/return-nodebug.exp: Also test float and double types.
6899
6900 2012-05-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6901
6902         PR testsuite/12649
6903         * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
6904
6905         * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
6906
6907 2012-05-14  Sergio Durigan Junior  <sergiodj@redhat.com>
6908
6909         * gdb.base/stap-probe.exp (stap_test): Remove calls to
6910         `rerun_to_main'.
6911         (stap_test_no_debuginfo): Likewise.
6912
6913 2012-05-14  Stan Shebs  <stan@codesourcery.com>
6914
6915         * gdb.base/dprintf.c: New file.
6916         * gdb.base/dprintf.exp: New file.
6917
6918 2012-05-14  Hui Zhu  <hui_zhu@mentor.com>
6919
6920         * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
6921         * gdb.trace/disconnected-tracing.c: New file.
6922         * gdb.trace/disconnected-tracing.exp: New file.
6923
6924 2012-05-13  Siva Chandra Reddy  <sivachandra@google.com>
6925
6926         * gdb.python/python.c: Add a new breakpoint comment.
6927         * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
6928
6929 2011-12-26  Kwok Cheung Yeung  <kcy@codesourcery.com>
6930
6931         * gdb.base/info-os.exp: New file.
6932         * gdb.base/info-os.c: New file.
6933
6934 2012-05-10  Joel Brobecker  <brobecker@adacore.com>
6935
6936         * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
6937         gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
6938         New files.
6939
6940 2012-05-10  Joel Brobecker  <brobecker@adacore.com>
6941
6942         * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
6943         gdb.base/ctxobj.exp: New files.
6944
6945 2012-05-09  Tom Tromey  <tromey@redhat.com>
6946
6947         * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
6948
6949 2012-05-09  Maciej W. Rozycki  <macro@codesourcery.com>
6950
6951         * lib/gdb.exp (gdb_test_multiple): Correct formatting.
6952
6953 2012-05-08  Maciej W. Rozycki  <macro@codesourcery.com>
6954
6955         * gdb.mi/mi-var-display.exp: Check for the existence of $fp
6956         before using it.
6957
6958 2012-05-04  Tristan Gingold  <gingold@adacore.com>
6959
6960         * gdb.base/set-noassign.exp: New test.
6961
6962 2012-05-03  Siva Chandra Reddy  <sivachandra@google.com>
6963
6964         * gdb.python/py-symbol.exp: Add tests to test the new methods
6965         gdb.Symtab.global_block() and gdb.Symtab.static_block().
6966         * gdb.python/py-symbol.c: Add new struct to help test
6967         gdb.Symtab.static_block().
6968
6969 2012-05-03  Doug Evans  <dje@google.com>
6970
6971         * gdb.dwarf2/pr13961.S: Add file and source location, but leave
6972         commented out.
6973
6974 2012-05-03  Yao Qi  <yao@codesourcery.com>
6975
6976         * gdb.base/catch-syscall.exp: Skip it before compilation if target
6977         doesn't support.
6978         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
6979         * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
6980
6981 2012-05-03  Yao Qi  <yao@codesourcery.com>
6982
6983         * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
6984
6985 2012-04-30  Doug Evans  <dje@google.com>
6986
6987         PR testsuite/13961
6988         * gdb.dwarf2/pr13961.S: New file.
6989         * gdb.dwarf2/pr13961.exp: New file.
6990
6991 2012-04-29  Yao Qi  <yao@codesourcery.com>
6992
6993         * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
6994
6995 2012-04-28  Doug Evans  <dje@google.com>
6996
6997         * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
6998         .Ltype_int_in_cu2.  Use name "int2" instead of "int".
6999         All uses updated.
7000         * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
7001         "ptype func_cu1" to expand cu2 before cu1.
7002
7003 2012-04-27  Sergio Durigan Junior  <sergiodj@redhat.com>
7004             Tom Tromey  <tromey@redhat.com>
7005
7006         * gdb.base/default.exp: Add `$_probe_arg*' convenience
7007         variables.
7008         * gdb.base/stap-probe.c: New file.
7009         * gdb.base/stap-probe.exp: New file.
7010         * gdb.trace/stap-trace.c: New file.
7011         * gdb.trace/stap-trace.exp: New file.
7012         * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
7013         libgcc's unwinder.
7014
7015 2012-04-26  Maciej W. Rozycki  <macro@codesourcery.com>
7016
7017         * gdb.arch/mips16-thunks-inmain.c: New file.
7018         * gdb.arch/mips16-thunks-main.c: New file.
7019         * gdb.arch/mips16-thunks-sin.c: New file.
7020         * gdb.arch/mips16-thunks-sinfrob.c: New file.
7021         * gdb.arch/mips16-thunks-sinfrob16.c: New file.
7022         * gdb.arch/mips16-thunks-sinmain.c: New file.
7023         * gdb.arch/mips16-thunks-sinmips16.c: New file.
7024         * gdb.arch/mips16-thunks.exp: New file.
7025
7026 2012-04-25  Doug Evans  <dje@google.com>
7027
7028         * configure.ac: Create gdb.go/Makefile.
7029         * configure: Regenerate.
7030         * gdb.base/default.exp: Add "go" to "set language" testing.
7031         * gdb.go/Makefile.in: New file.
7032         * gdb.go/basic-types.exp: New file.
7033         * gdb.go/chan.exp: New file.
7034         * gdb.go/chan.go: New file.
7035         * gdb.go/handcall.exp: New file.
7036         * gdb.go/handcall.go: New file.
7037         * gdb.go/hello.exp: New file.
7038         * gdb.go/hello.go: New file.
7039         * gdb.go/integers.exp: New file.
7040         * gdb.go/integers.go: New file.
7041         * gdb.go/methods.exp: New file.
7042         * gdb.go/methods.go: New file.
7043         * gdb.go/package.exp: New file.
7044         * gdb.go/package1.go: New file.
7045         * gdb.go/package2.go: New file.
7046         * gdb.go/print.exp: New file.
7047         * gdb.go/strings.exp: New file.
7048         * gdb.go/strings.go: New file.
7049         * gdb.go/types.exp: New file.
7050         * gdb.go/types.go: New file.
7051         * gdb.go/unsafe.exp: New file.
7052         * gdb.go/unsafe.go: New file.
7053         * lib/future.exp: Add Go support.
7054         (gdb_find_go, gdb_find_go_linker): New procs.
7055         (gdb_default_target_compile): Add Go support.
7056         * lib/gdb.exp (skip_go_tests): New proc.
7057         * lib/go.exp: New file.
7058
7059 2012-04-25  Tom Tromey  <tromey@redhat.com>
7060
7061         * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
7062
7063 2012-04-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7064             Jan Kratochvil  <jan.kratochvil@redhat.com>
7065
7066         PR symtab/7259:
7067         * gdb.base/enumval.c: New test case.
7068         * gdb.base/enumval.exp: New test case.
7069         * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
7070         field.bitpos.
7071
7072 2012-04-17  Pedro Alves  <palves@redhat.com>
7073
7074         * Makefile.in (site.exp): Make site.exp source
7075         $srcdir/lib/append_gdb_boards_dir.exp.
7076         * lib/append_gdb_boards_dir.exp: New file.
7077
7078 2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
7079
7080         New option "set auto-load safe-path".
7081         * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
7082         * gdb.python/py-section-script.exp (set auto-load safe-path): New.
7083
7084 2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
7085
7086         auto-load: Implementation.
7087         * gdb.base/help.exp (test set height): Increase the height.
7088         * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
7089         to ...
7090         (info auto-load python-scripts): ... here.
7091         * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
7092         to ...
7093         (info auto-load python-scripts *): ... here.
7094
7095 2012-04-16  Yao Qi  <yao@codesourcery.com>
7096
7097         * lib/trace-support.exp (get_in_proc_agent): New.
7098         * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
7099         of in process trace agent.
7100         * gdb.trace/ftrace.exp: Likewise.
7101         * gdb.trace/pending.exp: Likewise.
7102         * gdb.trace/trace-break.exp: Likewise.
7103         * gdb.trace/trace-mt.exp
7104         * gdb.trace/tspeed.exp: Likewise.
7105         * gdb.trace/tstatus.exp
7106         * gdb.trace/strace.exp: Likewise.
7107
7108 2012-04-16  Thomas Schwinge  <thomas@codesourcery.com>
7109
7110         * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
7111         symbol _stack is defined.  Get rid of a hard-coded constant for _stack.
7112
7113         * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
7114
7115 2012-04-14  Anton Gorenkov <xgsa@yandex.ru>
7116
7117         PR mi/13393
7118         * gdb.mi/mi-var-rtti.cc: New file.
7119         * gdb.mi/mi-var-rtti.exp: New file.
7120         * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
7121         function.
7122         (mi_varobj_update_with_type_change): updated to avoid code duplication.
7123
7124 2012-04-11  Siva Chandra Reddy  <sivachandra@google.com>
7125
7126         * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
7127         EXECUTABLES.
7128         * gdb.python/py-explore.c: C program used for testing the new
7129         'explore' command on C constructs.
7130         * gdb.python/py-explore.cc: C++ program used for testing the new
7131         'explore' command on C++ constructs.
7132         * gdb-python/py-explore.exp: Tests for the new 'explore'
7133         command on C constructs.
7134         * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
7135         command on C++ constructs.
7136
7137 2012-04-07  Mark Kettenis  <kettenis@gnu.org>
7138
7139         * gdb.base/funcargs.exp (complex_args): Fix typo.
7140
7141 2012-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7142
7143         * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
7144         (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
7145
7146 2012-04-05  Keith Seitz  <keiths@redhat.com>
7147
7148         * gdb.base/advance.exp: Update error message for
7149         "advance malformed" test.
7150         * gdb.base/break.exp: Likewise for "breakpoint with
7151         trailing garbage" test.
7152         * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
7153         with trailing garbage" test.
7154         * gdb.base/sepdebug.exp: Likewise for "breakpoint with
7155         trailng garbage" test.
7156         * gdb.base/until.exp: Likewise for "malformed until" test.
7157         * gdb.cp/ovldbreak.exp: Create the breakpoint table
7158         for "breakpoint info (after setting on all)".
7159         * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
7160         tests.
7161         * gdb.cp/cplabel.cc: New file.
7162         * gdb.cp/cplabel.exp: New test.
7163         * gdb.linespec/ls-errs.c: New file.
7164         * gdb.linespec/ls-errs.exp: New test.
7165
7166 2012-04-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
7167
7168         * gdb.trace/unavailable.exp
7169         (collect globals: print object on: print derived_partial)
7170         (collect globals: print object on: print derived_whole)
7171         (collect globals: print object off: print derived_partial)
7172         (collect globals: print object off: print derived_whole): Update
7173         expected output.
7174
7175 2012-03-30  Keith Seitz  <keiths@redhat.com>
7176
7177         * gdb.python: Add test for linespecs with commas.
7178
7179 2012-03-28  Keith Seitz  <keiths@redhat.com>
7180
7181         * gdb.linespec/ls-dollar.cc: New file.
7182         * gdb.linespec/ls-dollar.exp: New test.
7183
7184 2012-03-28  Keith Seitz  <keiths@redhat.com>
7185
7186         * gdb.cp/namespace.exp: Add breakpoint tests for functions
7187         starting with the global namespace.
7188
7189 2012-03-23  Doug Evans  <dje@google.com>
7190
7191         * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
7192
7193 2012-03-22  Siva Chandra Reddy  <sivachandra@google.com>
7194
7195         * gdb.python/py-value.cc: Add test case for testing the
7196         methodology exposing C++ values to Python.
7197         * gdb.python/py-value-cc.exp: Add tests testing the methodology
7198         exposing C++ values to Python.
7199         * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
7200
7201 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
7202             Siddhesh Poyarekar  <siddhesh@redhat.com>
7203
7204         * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
7205         * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
7206         (generate native core dump): Make the test unsupported if core cannot
7207         be generated.
7208
7209 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
7210
7211         * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
7212         for cmdarg_vec = NULL.  Remove entries for cmdsize = 1, cmdarg = and
7213         ncmd = 0.  New entry for VEC_cleanup cmdarg_s.
7214
7215 2012-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7216
7217         * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
7218
7219 2012-03-17  Doug Evans  <dje@google.com>
7220
7221         * dg-extract-results.sh: Handle KFAILs.
7222
7223 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7224
7225         PR symtab/13777
7226         * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
7227
7228 2012-03-16  Joel Brobecker  <brobecker@adacore.com>
7229
7230         * gdb.ada/set_pckd_arr_elt: New testcase.
7231
7232 2012-03-16  Gary Benson  <gbenson@redhat.com>
7233
7234         PR breakpoints/10738
7235         * gdb.opt/inline-break.exp: New file.
7236         * gdb.opt/inline-break.c: Likewise.
7237         * gdb.dwarf2/dw2-inline-break.exp: Likewise.
7238         * gdb.dwarf2/dw2-inline-break.S: Likewise.
7239         * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
7240         * gdb.base/async-shell.exp: Likewise.
7241         * lib/mi-support.exp (library_loaded_re): Likewise.
7242
7243 2012-03-15  Tom Tromey  <tromey@redhat.com>
7244
7245         * gdb.cp/virtfunc2.exp: Update expected output.
7246         * gdb.cp/pr9631.exp: Update expected output.
7247         * gdb.cp/member-ptr.exp: Update expected output.
7248         * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
7249         output.
7250         * gdb.cp/casts.exp: Update expected output.
7251
7252 2012-03-15  Tom Tromey  <tromey@redhat.com>
7253
7254         * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
7255         (test_info_vtbl): Likewise.
7256         (do_tests): Call test_info_vtbl.
7257         * gdb.cp/virtfunc.cc (va): New global.
7258
7259 2012-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7260
7261         * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
7262         describing DWARF data structures.
7263         * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
7264         * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
7265         * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
7266         * gdb.dwarf2/dw2-entry-value.S: Likewise.
7267         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7268         * gdb.dwarf2/dw2-param-error.S: Likewise.
7269         * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
7270         * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
7271         * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
7272         * gdb.dwarf2/implptr-optimized-out.S: Likewise.
7273         * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
7274         * gdb.dwarf2/pr11465.S: Likewise.
7275
7276 2012-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7277
7278         * gdb.mi/mi2-prompt.exp: New file.
7279
7280 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
7281
7282         * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
7283
7284 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
7285
7286         * gdb.ada/bp_range_type: New testcase.
7287
7288 2012-03-13  Doug Evans  <dje@google.com>
7289
7290         * gdb.base/default.exp: Delete tests for symbol-reloading.
7291         * gdb.base/help.exp: Ditto.
7292         * gdb.base/setshow.exp: Ditto.
7293         * gdb.base/gdb_history: Delete references to symbol-reloading.
7294
7295 2012-03-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7296
7297         * gdb.base/attach-twice.c: New files.
7298         * gdb.base/attach-twice.exp: New files.
7299
7300 2012-03-08  Keith Seitz  <keiths@redhat.com>
7301
7302         * lib/gdb.exp (gdb_get_line_number): Throw an
7303         error instead of returning -1.
7304         * gdb.base/break.exp: Remove unused variable
7305         bp_location5.
7306         * gdb.base/hbreak2.exp: Likewise.
7307         * gdb.base/sepdebug.exp: Likewise.
7308
7309 2012-03-08  Yao Qi  <yao@codesourcery.com>
7310             Pedro Alves  <palves@redhat.com>
7311
7312         Fix PR server/13392.
7313         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
7314         (tracepoint_change_loc_2): Remove kfail.  Return if failed to
7315         download tracepoints.
7316         * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
7317         (pending_tracepoint_resolved_during_trace): Likewise.
7318         (pending_tracepoint_installed_during_trace): Likewise.
7319         (pending_tracepoint_with_action_resolved): Likewise.
7320
7321 2012-03-08  Keith Seitz  <keiths@redhat.com>
7322
7323         * gdb.ada/array_bounds.exp: Get breakpoint for line
7324         with "START", not "STOP".
7325         * gdb.python/py-infthread.exp: Do not continue to
7326         line marked "Break here.", which is undefined.
7327
7328 2012-03-08  Luis Machado  <lgustavo@codesourcery.com>
7329
7330         Revert:
7331
7332         2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
7333
7334         Implement testsuite workaround for PR breakpoints/13781.
7335         * gdb.cp/mb-templates.exp: New loop with variable $workaround.
7336         (set breakpoint condition-evaluation host): New conditional command.
7337
7338 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7339
7340         Fix CU relative vs. absolute DIE offsets.
7341         * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
7342         one.
7343
7344 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7345
7346         Fix false FAIL on distros with relro linkage as default.
7347         * gdb.reverse/solib-precsave.exp: Try to compile the test using
7348         -Wl,-z,norelro first.
7349
7350 2012-03-06  Joel Brobecker  <brobecker@adacore.com>
7351
7352         * gdb.ada/bp_on_var: New testcase.
7353
7354 2012-03-06  Joel Brobecker  <brobecker@adacore.com>
7355
7356         * gdb.ada/bp_enum_homonym: New testcase.
7357
7358 2012-03-06  Yao Qi  <yao@codesourcery.com>
7359
7360         * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
7361         x86_64-*-* and i?86-*-*.
7362         Set up KFAIL for gdb/13808.
7363
7364 2012-03-05  Tom Tromey  <tromey@redhat.com>
7365
7366         * gdb.ada/operator_bp.exp: Clear debug-file-directory.
7367         * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
7368
7369 2012-03-05  Tom Tromey  <tromey@redhat.com>
7370
7371         * gdb.java/jprint.java (jprint.main): Keep 'x' live.
7372
7373 2012-03-04  Yao Qi  <yao@codesourcery.com>
7374
7375         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
7376         messages for KFAIL.
7377
7378 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
7379
7380         * gdb.ada/arrayidx.exp: Call get_compiler_info.  New variable old_gcc.
7381         (print one_two_three, indexes off, print few_reps, indexes off)
7382         (print many_reps, indexes off, print empty, indexes off)
7383         (print one_two_three, print few_reps, print many_reps, print empty):
7384         Call setup_xfail if $gcc_old.
7385
7386 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
7387
7388         Implement testsuite workaround for PR breakpoints/13781.
7389         * gdb.cp/mb-templates.exp: New loop with variable $workaround.
7390         (set breakpoint condition-evaluation host): New conditional command.
7391
7392 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
7393
7394         Code cleanup.
7395         * gdb.cp/mb-templates.exp: New variables executable.  Use it for
7396         binfile.  use clean_restart.  Replace gdb_expect by gdb_test_multiple.
7397         Replace GDB restart by kill and delete_breakpoints.  Replace breakpoint
7398         number 1 by $bpnum.  Four times.
7399
7400 2012-03-03  Yao Qi  <yao@codesourcery.com>
7401
7402         * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
7403
7404 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
7405
7406         Setup KFAIL for PR server/13796.
7407         * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
7408
7409 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
7410
7411         * gdb.ada/operator_bp: New testcase.
7412
7413 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
7414
7415         * gdb.ada/info_locals_renaming: New testcase.
7416
7417 2012-03-02  Tom Tromey  <tromey@redhat.com>
7418
7419         * gdb.base/nextoverexit.c: New file.
7420         * gdb.base/nextoverexit.exp: New file.
7421
7422 2012-03-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7423
7424         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
7425         parameter.
7426
7427 2012-03-01  Maciej W. Rozycki  <macro@mips.com>
7428
7429         * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
7430         core registers.
7431
7432 2012-03-01  Maciej W. Rozycki  <macro@mips.com>
7433             Maciej W. Rozycki  <macro@codesourcery.com>
7434             Daniel Jacobowitz  <dan@codesourcery.com>
7435
7436         * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
7437
7438 2012-03-01  Pedro Alves  <palves@redhat.com>
7439
7440         PR gdb/13767
7441
7442         * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
7443         (gdb_collect_globals_test): Call it.
7444
7445 2012-03-01  Keith Seitz  <keiths@redhat.com>
7446
7447         * gdb.cp/method2.exp: Output of overload menu is now
7448         alphabetized.  Update tests for "break A::method".
7449         * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
7450         of hard-coding them.
7451         Overload menu is alphabetized: rewrite to accommodate.
7452         Unset variables LINE and TYPES which are used in other tests.
7453         Compute the output of "info break".
7454         Update the breakpoint table after all breakpoints are deleted.
7455         (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
7456         compute ACTUALS and the method body based on parameters.
7457         Update expected output accordingly.
7458         * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
7459         unique comments to allow the use of gdb_get_line_number.
7460
7461 2012-03-01  Keith Seitz  <keiths@redhat.com>
7462
7463         * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
7464         some Tcl syntax.
7465         * gdb.cp/ovldbreak.exp: Likewise.
7466
7467 2012-03-01  Keith Seitz  <keiths@redhat.com>
7468
7469         * gdb.base/help.exp (help show user): Update expected result
7470         for new doc string changes (add "non-python").
7471
7472 2012-03-01  Scott J. Goldman <scottjg@vmware.com>
7473
7474         * gdb.python/py-cmd.exp: Add test to verify that python commands can
7475         be put in the user-defined category and that the commands appear in
7476         "help user-defined".
7477
7478 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
7479
7480         * gdb.ada/tagged_not_init: New testcase.
7481
7482 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
7483
7484         * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
7485         * gdb.ada/enum_idx_packed: New testcase.
7486
7487 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
7488
7489         * gdb.ada/aliased_array: New testcase.
7490
7491 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
7492
7493         * gdb.ada/whatis_array_val: New testcase.
7494
7495 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7496
7497         Fix disp-step-syscall.exp: fork: single step over fork.
7498         * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
7499         whitespaces.
7500         (single step over $syscall): Remove its check.
7501         (single step over $syscall final pc): New check.
7502
7503 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7504
7505         Support processors without SSSE3.
7506         * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
7507         pabsd into ...
7508         (ssse3_test): ... a new function.
7509         (main): Call ssse3_test.
7510         * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
7511         Update expected values everywhere.
7512         (reverse-step to pabsd, verify xmm0 after reverse pabsd)
7513         (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
7514         (reverse-step to pabsw, verify xmm0 after reverse pabsw)
7515         (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
7516         (reverse-step to pabsb, verify xmm0 after reverse pabsb)
7517         (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
7518         Move these tests lower.
7519         (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
7520         (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
7521         (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
7522         New tests.
7523
7524 2012-02-29  Yao Qi  <yao@codesourcery.com>
7525             Pedro Alves  <palves@redhat.com>
7526
7527         * gdb.trace/trace-mt.c: New.
7528         * gdb.trace/trace-mt.exp: New.
7529
7530 2012-02-28  Thomas Schwinge  <thomas@codesourcery.com>
7531
7532         * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
7533         numbers instead of hardcoding them.
7534         * gdb.base/annota1.c: Provide suitable markers.
7535         * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
7536         numbers instead of hardcoding them.
7537         * gdb.base/annota3.c: Provide suitable markers.
7538
7539         * gdb.base/annota1.c [__sh__]: Remove any special-casing.
7540         * gdb.base/annota3.c: Likewise.
7541         * gdb.base/sigall.c: Likewise.
7542         * gdb.base/signals.c: Likewise.
7543         * gdb.reverse/sigall-reverse.c: Likewise.
7544
7545 2012-02-27  Maciej W. Rozycki  <macro@codesourcery.com>
7546
7547         * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
7548         failure return path.
7549
7550 2012-02-27  Luis Machado  <lgustavo@codesourcery.com>
7551
7552         * gdb.base/save-bp.exp: Account for new condition evaluator output.
7553
7554 2012-02-24  Luis Machado  <lgustavo@codesourcery.com>
7555
7556         * gdb.base/cond-eval-mode.exp: New file.
7557
7558 2012-02-24  Pedro Alves  <palves@redhat.com>
7559
7560         * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
7561         (top level): Use with_test_prefix.
7562
7563 2012-02-24  Pedro Alves  <palves@redhat.com>
7564
7565         * gdb.threads/attach-into-signal.exp (corefunc): Use
7566         with_test_prefix.
7567
7568 2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
7569
7570         Fix false FAILs on old CPUs without SSE.
7571         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
7572         Return untested for Illegal instruction.
7573
7574 2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
7575
7576         Fix false FAILs with glibc debug infos installed.
7577         * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
7578         * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
7579
7580 2012-02-22  Sterling Augustine  <saugustine@google.com>
7581
7582         * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
7583         constant with cast.
7584
7585 2012-02-21  Pedro Alves  <palves@redhat.com>
7586
7587         * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
7588
7589 2012-02-21  Pedro Alves  <palves@redhat.com>
7590
7591         * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
7592
7593 2012-02-21  Pedro Alves  <palves@redhat.com>
7594
7595         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
7596         with_test_prefix.
7597
7598 2012-02-21  Pedro Alves  <palves@redhat.com>
7599
7600         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
7601         with_test_prefix here.
7602         (top level): Do it here instead.  Remove `:' from the
7603         with_test_prefix string.
7604         * gdb.base/attach-pie-misread.exp: Remove the leading space the
7605         the suffix `:' from the with_test_prefix prefix string.
7606         * gdb.base/break-interp.exp: Ditto.
7607         * gdb.base/catch-load.exp: Ditto.
7608         * gdb.base/disp-step-syscall.exp: Ditto.
7609         * gdb.base/jit-so.exp: Ditto.
7610         * gdb.base/jit.exp: Ditto.
7611         * gdb.base/sepdebug.exp: Ditto.
7612         * gdb.base/solib-display.exp: Ditto.
7613         * gdb.base/solib-overlap.exp: Ditto.
7614         * gdb.base/watch-cond-infcall.exp: Ditto.
7615         * gdb.base/watchpoint.exp: Ditto.
7616         * gdb.dwarf2/dw2-noloc.exp: Ditto.
7617         * gdb.mi/mi-watch.exp: Ditto.
7618         * gdb.mi/mi2-watch.exp: Ditto.
7619         * gdb.threads/non-ldr-exc-1.exp: Ditto.
7620         * gdb.threads/non-ldr-exc-2.exp: Ditto.
7621         * gdb.threads/non-ldr-exc-3.exp: Ditto.
7622         * gdb.threads/non-ldr-exc-4.exp: Ditto.
7623         * gdb.threads/watchpoint-fork.exp: Ditto.
7624         * gdb.threads/watchthreads-reorder.exp: Ditto.
7625         * gdb.trace/change-loc.exp: Ditto.
7626         * gdb.trace/pending.exp: Ditto.
7627         * gdb.trace/status-stop.exp: Ditto.
7628         * gdb.trace/strace.exp: Ditto.
7629         * gdb.trace/trace-break.exp: Ditto.
7630         * gdb.trace/unavailable.exp: Ditto.
7631         * lib/gdb.exp (with_test_prefix): Always prefix with space and
7632         suffix with colon.  Adjust leading comments.
7633
7634 2012-02-21  Pedro Alves  <palves@redhat.com>
7635             Tom Tromey  <tromey@redhat.com>
7636
7637         * lib/gdb.exp: Add description of test prefixes.
7638         (with_test_prefix): New procedure.
7639         * gdb.arch/altivec-abi.exp: Use with_test_prefix.
7640         * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
7641         * gdb.base/break-interp.exp: Use with_test_prefix.  Use append
7642         instead of lappend to append to pf_prefix.
7643         * gdb.base/catch-load.exp: Use with_test_prefix.
7644         * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
7645         * gdb.base/jit-so.exp: Use with_test_prefix.
7646         * gdb.base/jit.exp: Use with_test_prefix.
7647         * gdb.base/return-nodebug.exp (do_test): Use append instead of
7648         lappend to append to pf_prefix.
7649         * gdb.base/sepdebug.exp: Use with_test_prefix.
7650         * gdb.base/solib-display.exp: Use with_test_prefix.
7651         * gdb.base/solib-overlap.exp: Use with_test_prefix.
7652         * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
7653         * gdb.base/watchpoint.exp: Use with_test_prefix.
7654         * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
7655         * gdb.mi/mi-watch.exp: Use with_test_prefix.
7656         * gdb.mi/mi2-watch.exp: Use with_test_prefix.
7657         * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
7658         * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
7659         * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
7660         * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
7661         * gdb.threads/watchpoint-fork.exp: Use with_test_prefix.  Use
7662         append instead of lappend to append to pf_prefix.
7663         * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
7664         * gdb.trace/change-loc.exp: Use with_test_prefix.
7665         * gdb.trace/pending.exp: Use with_test_prefix.
7666         * gdb.trace/status-stop.exp: Use with_test_prefix.
7667         * gdb.trace/strace.exp: Use with_test_prefix.
7668         * gdb.trace/trace-break.exp: Use with_test_prefix.
7669         * gdb.trace/unavailable.exp: Use with_test_prefix.  Use append
7670         instead of lappend to append to pf_prefix.
7671
7672 2012-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7673
7674         Fix racy FAILs.
7675         * gdb.base/inferior-died.c (main): Add return of 0.
7676         * gdb.base/inferior-died.exp (continue): Fix expectation of
7677         asynchronous events.
7678         (p 1): New test.
7679
7680 2012-02-20  Pedro Alves  <palves@redhat.com>
7681
7682         * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
7683         lin-lwp output.  Set SIGALRM to stop.  Adjust tests to not rely on
7684         gdb's internal debug output.  For the non-threaded case, look for
7685         "Program received signal SIGLARM", for the threaded case, peek at
7686         the thread's siginfo.
7687
7688 2012-02-20  Pedro Alves  <palves@redhat.com>
7689
7690         General cleanup, make output test messages unique, and build
7691         different executable files for the non-threaded and threaded
7692         cases.
7693
7694         * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
7695         Delete.
7696         (executable_nothr, executable_thr): New globals.
7697         (top level): Adjust to delete both executables.
7698         (corefunc): New parameter $executable.  Set $pf_prefix instead of
7699         hand writing a prefix in tests.  Issue a clean_restart and enable
7700         lin-lwp debug output here.
7701         (top level): Adjust.  Use build_executable.  Don't start gdb here,
7702         and don't enable lin-lwp debug output here.
7703         * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
7704
7705 2012-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7706
7707         Fix racy FAILs.
7708         * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
7709         "continue" command.
7710
7711 2012-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
7712
7713         Fix for gdbserver non-extended mode.
7714         * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
7715         and gdb_run_cmd.
7716
7717 2012-02-17  Tom Tromey  <tromey@redhat.com>
7718
7719         * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
7720         * gdb.python/py-events.exp: Check 'dir' output.
7721         * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
7722
7723 2012-02-17  Yao Qi  <yao@codesourcery.com>
7724
7725         * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
7726
7727 2012-02-16  Tom Tromey  <tromey@redhat.com>
7728
7729         * gdb.base/inferior-died.c: Don't include stdio.h.
7730
7731 2012-02-16  Tom Tromey  <tromey@redhat.com>
7732
7733         * gdb.base/inferior-died.c: New file.
7734         * gdb.base/inferior-died.exp: New file.
7735
7736 2012-02-15  Aleksandar Ristovski  <aristovski@qnx.com>
7737
7738         * gdb.base/break-inline.exp: New file.
7739         * gdb.base/break-inline.c: New file.
7740
7741 2012-02-15  Tom Tromey  <tromey@redhat.com>
7742
7743         * gdb.base/pc-fp.exp: Add "info register" tests.
7744
7745 2012-02-15  Tom Tromey  <tromey@redhat.com>
7746
7747         * gdb.base/regs.exp: Remove.
7748
7749 2012-02-15  Pedro Alves  <palves@redhat.com>
7750
7751         * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
7752         the target doesn't support tracepoints.
7753         * gdb.trace/circ.exp: Ditto.
7754         * gdb.trace/collection.exp: Ditto.
7755         * gdb.trace/packetlen.exp: Ditto.
7756         * gdb.trace/passc-dyn.exp: Ditto.
7757         * gdb.trace/report.exp: Ditto.
7758         * gdb.trace/tfind.exp: Ditto.
7759         * gdb.trace/tspeed.exp: Ditto.
7760         * gdb.trace/tsv.exp: Ditto.
7761         * gdb.trace/unavailable.exp: Ditto.
7762         * gdb.trace/while-dyn.exp: Ditto.
7763
7764 2012-02-15  Pedro Alves  <palves@redhat.com>
7765
7766         * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
7767         gdb_test_multiple, and call unsupported instead of fail, if the
7768         remote side does not support the request.
7769
7770 2012-02-15  Pedro Alves  <palves@redhat.com>
7771
7772         * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
7773         * gdb.server/ext-run.exp: Make sure gdb is disconnected.
7774         * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
7775         * gdb.server/server-mon.exp: Make sure gdb is disconnected.
7776         * gdb.server/server-run.exp: Make sure gdb is disconnected.
7777         * lib/gdbserver-support.exp (gdbserver_start_extended): Only
7778         prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
7779         doesn't start with "extended-" already.
7780
7781 2012-02-15  Pedro Alves  <palves@redhat.com>
7782
7783         Support extended-remote.  Avoid cascading timeouts.
7784
7785         * gdb.base/attach.exp (do_attach_tests): Add expected output for
7786         the extended-remote target.  If attaching with no file fails, load
7787         the file manually.
7788         * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
7789
7790 2012-02-14  Stan Shebs  <stan@codesourcery.com>
7791
7792         * gdb.base/ena-dis-br.exp: Add enable count test.
7793
7794 2012-02-13  Pedro Alves  <palves@redhat.com>
7795
7796         * config/mips-idt.exp: Delete.
7797         * gdb.base/a2-run.exp: Remove mips-idt xfails.
7798         * gdb.base/bitfields.exp: Remove mips-idt restarts.
7799         * gdb.base/break.exp: Remove mips-idt references.
7800         * gdb.base/chng-syms.exp: Ditto.
7801         * gdb.base/default.exp: Ditto.
7802         * gdb.base/funcargs.exp (funcargs_reload): Delete.
7803         (top level): Don't call it.
7804         * gdb.base/opaque.exp: Remove mips-idt restarts.
7805         * gdb.base/ptype.exp: Remove mips-idt xfails.
7806         * gdb.base/scope.exp: Remove mips-idt restarts.
7807         * gdb.base/sepdebug.exp: Remove mips-idt references.
7808         * gdb.base/watchpoint.exp (maybe_clean_restart)
7809         (maybe_reinitialize): Delete.
7810         (test_disabling_watchpoints, test_disabling_watchpoints)
7811         (test_watchpoint_triggered_in_syscall)
7812         (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
7813         Don't call them.
7814
7815 2012-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
7816
7817         * gdb.server/server-exec-info.exp: New file.
7818
7819 2012-02-10  Pedro Alves  <palves@redhat.com>
7820
7821         * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
7822         always non-empty.
7823         (test_attach): Always pass $exec to test_attach_gdb.
7824
7825 2012-02-08  Tom Tromey  <tromey@redhat.com>
7826
7827         * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
7828         before inferior is started.
7829
7830 2012-02-07  Tom Tromey  <tromey@redhat.com>
7831
7832         * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
7833         Symbol.value.
7834         * gdb.python/py-symbol.c (qq): Set default value.
7835
7836 2012-02-07  Tom Tromey  <tromey@redhat.com>
7837
7838         * gdb.python/py-symbol.c (qq): New global.
7839         * gdb.python/py-symbol.exp: Add test for frame-less
7840         lookup_symbol.
7841         * gdb.python/py-symtab.exp: Fix line number.
7842
7843 2012-02-03  Joel Brobecker  <brobecker@adacore.com>
7844
7845         * gdb.ada/mi_task_arg: New testcase.
7846
7847 2012-02-02  Pedro Alves  <palves@redhat.com>
7848
7849         * gdb.reverse/until-precsave.exp: Also put "record save" under the
7850         extended timeout.
7851
7852 2012-02-02  Pedro Alves  <palves@redhat.com>
7853
7854         * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
7855         * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
7856
7857 2012-02-02  Pedro Alves  <palves@redhat.com>
7858
7859         * gdb.base/term.exp: Rewrite.
7860         * gdb.base/term.c: New.
7861
7862 2012-02-02  Pedro Alves  <palves@redhat.com>
7863
7864         * gdb.base/default.exp (run "r" abbreviation, run): Add
7865         extended-remote expected output.
7866
7867 2012-02-02  Tom Tromey  <tromey@redhat.com>
7868
7869         * gdb.cp/dispcxx.exp: New file.
7870         * gdb.cp/dispcxx.cc: New file.
7871
7872 2012-02-01  Tom Tromey  <tromey@redhat.com>
7873
7874         * gdb.base/jit-simple.exp: New file.
7875         * gdb.base/jit-simple.c: New file.
7876
7877 2012-01-30  Yao Qi  <yao@codesourcery.com>
7878
7879         * gdb.base/skip.exp: Make test result unique.
7880
7881 2012-01-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7882
7883         * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
7884         compatibility with valgrind-3.7.0.
7885
7886 2012-01-27  Pedro Alves  <palves@redhat.com>
7887
7888         * gdb.base/watchpoint.exp (no_hw): New global.
7889         (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
7890         disable hw watchpoints.
7891         (test_wide_location_1, test_wide_location_2): If no_hw is set,
7892         don't expect hw watchpoints.
7893         (no_hw_watchpoints): Always clean restart.
7894         (do_tests): New procedure, factored out from the top level.
7895         (top level): Run tests twice.  Once with hw watchpoints enabled,
7896         another time with hw watchpoints disabled.
7897
7898 2012-01-27  Pedro Alves  <palves@redhat.com>
7899
7900         * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
7901         out from the top level.
7902         (top level): Call it instead.
7903
7904 2012-01-27  Pedro Alves  <palves@redhat.com>
7905
7906         * gdb.base/watchpoint.exp (top level): Re-enable hardware
7907         watchpoints sooner.
7908
7909 2012-01-27  Pedro Alves  <palves@redhat.com>
7910
7911         * gdb.base/watchpoint.exp (top level): Delete watch ival3.
7912
7913 2012-01-27  Pedro Alves  <palves@redhat.com>
7914
7915         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
7916         "You may have requested too many hardware
7917         breakpoints/watchpoints".
7918
7919 2012-01-27  Pedro Alves  <palves@redhat.com>
7920
7921         * gdb.base/watchpoint.exp (maybe_clean_restart)
7922         (maybe_reinitialize): New.
7923         (test_disabling_watchpoints): Call maybe_reinitialize.  Don't
7924         expect "hit N times".
7925         (test_disabling_watchpoints, test_complex_watchpoint)
7926         (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
7927         Call maybe_clean_restart.
7928         (top level): Use clean_restart.  Remove "mips-idt-*"
7929         reinitialization.
7930
7931 2012-01-27  Pedro Alves  <palves@redhat.com>
7932
7933         * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
7934
7935 2012-01-27  Pedro Alves  <palves@redhat.com>
7936
7937         * gdb.base/watchpoint.exp: Clean restart after tests that don't
7938         require `initialize' anymore.  Remove unnecessary `initialize'
7939         calls.
7940
7941 2012-01-27  Pedro Alves  <palves@redhat.com>
7942
7943         * gdb.base/watchpoint.exp (wp_set): Delete.
7944         (initialize, test_simple_watchpoint, top level): Remove dead code.
7945
7946 2012-01-27  Pedro Alves  <palves@redhat.com>
7947
7948         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
7949         typo.
7950
7951 2012-01-27  Pedro Alves  <palves@redhat.com>
7952
7953         * config/extended-gdbserver.exp: New file.
7954         * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
7955         comment.
7956         (gdbserver_start_multi, mi_gdbserver_start_multi): New.
7957         * boards/native-extended-gdbserver.exp: New file.
7958
7959 2012-01-26  Pedro Alves  <palves@redhat.com>
7960
7961         * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
7962         and gdb_test_multiple.
7963
7964 2012-01-26  Pedro Alves  <palves@redhat.com>
7965
7966         Make test messages unique, and more identifiable.
7967         * gdb.multi/watchpoint-multi.exp: Change test messages.
7968
7969 2012-01-25  Tom Tromey  <tromey@redhat.com>
7970
7971         * gdb.base/solib-disc.exp: Fix regexps.
7972
7973 2012-01-24  Tom Tromey  <tromey@redhat.com>
7974
7975         * lib/mi-support.exp (mi_expect_stop): Add special case for
7976         solib-event.
7977         * gdb.base/catch-load-so.c: New file.
7978         * gdb.base/catch-load.exp: New file.
7979         * gdb.base/catch-load.c: New file.
7980         * gdb.base/break-interp.exp (reach_1): Update regexp.
7981
7982 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
7983
7984         Fix fuzzy results.
7985         * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
7986         lpsimple and func.
7987
7988 2012-01-24  Gary Benson  <gbenson@redhat.com>
7989
7990         Delete #if 0'd out code.
7991         * gdb.base/default.exp (info catch): Remove.
7992         * gdb.base/gdb_history (info catch): Likewise.
7993         * gdb.base/help.exp (info catch): Likewise.
7994
7995 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
7996
7997         Fix watchpoints to be specific for each inferior.
7998         * gdb.multi/watchpoint-multi.c: New file.
7999         * gdb.multi/watchpoint-multi.exp: New file.
8000
8001 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
8002
8003         Fix watchpoints across inferior fork.
8004         * gdb.threads/watchpoint-fork-child.c: New file.
8005         * gdb.threads/watchpoint-fork-mt.c: New file.
8006         * gdb.threads/watchpoint-fork-parent.c: New file.
8007         * gdb.threads/watchpoint-fork-st.c: New file.
8008         * gdb.threads/watchpoint-fork.exp: New file.
8009         * gdb.threads/watchpoint-fork.h: New file.
8010
8011 2012-01-23  Pedro Alves  <palves@redhat.com>
8012
8013         * gdb.base/call-signal-resume.exp: Allow output after "return".
8014
8015 2012-01-20  Pedro Alves  <palves@redhat.com>
8016
8017         * gdb.python/py-finish-breakpoint.py: Fix typo.
8018
8019 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
8020
8021         * gdb.base/info-proc.exp: Also run on remote targets.  Main
8022         "info proc" command is now always present; whether target supports
8023         actual info proc operation is detected when attempting to issue
8024         the command.
8025
8026 2012-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
8027
8028         * .gdbinit: Remove.
8029
8030 2012-01-19  Pedro Alves  <palves@redhat.com>
8031
8032         * gdb.java/jprint.exp: Don't rely on inferior output, but instead
8033         look at the funtions' returns.
8034         * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
8035         (jprint.print(int, int)): Change return type to int.  Adjust.
8036
8037 2012-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8038
8039         PR gdb/9538
8040         * gdb.base/sepdebug.exp: New test.
8041
8042 2012-01-18  Pedro Alves  <palves@redhat.com>
8043
8044         * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
8045         Allow output before ^done.
8046
8047 2012-01-16  Tom Tromey  <tromey@redhat.com>
8048
8049         * gdb.linespec/linespec.exp: Change some tests to use $decimal.
8050         Add tests for relative directory.
8051
8052 2012-01-16  Tom Tromey  <tromey@redhat.com>
8053
8054         * gdb.base/printcmds.c (enum flag_enum): New.
8055         (three): New global.
8056         * gdb.base/printcmds.exp (test_print_enums): Add test for flag
8057         enum printing.
8058         * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
8059         FlagEnumerationPrinter.
8060         * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
8061         * gdb.python/py-pp-maint.c (enum flag_enum): New.
8062         (fval): New global.
8063
8064 2012-01-16  Pedro Alves  <palves@redhat.com>
8065
8066         * lib/gdb.exp (banned_procedures): New variable.
8067         (banned_variables_traced): Rename to ...
8068         (banned_traced): ... this.
8069         (gdb_init): Also trace banned procedures.
8070         (gdb_finish): Also untrace banned procedures.
8071
8072 2012-01-16  Pedro Alves  <palves@redhat.com>
8073
8074         Remove all calls to strace.
8075
8076 2012-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
8077
8078         * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
8079         * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
8080
8081 2012-01-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
8082
8083         * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
8084         * gdb.base/pie-execl.exp: Likewise.
8085
8086 2012-01-12  Keith Seitz  <keiths@redhat.com>
8087
8088         PR mi/10586
8089         * gdb.mi/var-cmd.c (struct anonymous): New structure.
8090         (do_anonymous_type_tests): New function.
8091         (main): Call do_anonymous_type_tests.
8092         * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
8093         (verify_everything): New procedure.
8094         * gdb.mi/mi-var-cp.cc (class A): New class.
8095         (anonymous_structs_and_unions): New function.
8096         (main): Call anonymous_structs_and_unions.
8097         * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
8098         (verify_everything): New procedure.
8099
8100 2012-01-12  Keith Seitz  <keiths@redhat.com>
8101
8102         * lib/mi-support.exp: Expand comments about PATH_EXPR.
8103         (varobj_tree::get_path_expr): Assume that all varobjs are
8104         compound unless they are known simple types.
8105         Adjust path expressions based on parent type, path parent type,
8106         and tree language.
8107         (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
8108         the root varobj.
8109         (mi_walk_varobj_tree): Add LANGUAGE parameter.
8110
8111 2012-01-11  Pedro Alves  <palves@redhat.com>
8112
8113         * gdb.base/default.exp (core-file): Don't expect "GDB can't read
8114         core files on this machine" anymore.
8115
8116 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
8117
8118         * gdb.base/watchpoint.c (recurser): Initialize local_x.
8119         (main): Repeat recurser call.
8120         * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
8121         equivalent to 'local_x'.
8122
8123 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
8124             Joel Brobecker <brobecker@adacore.com>
8125
8126         * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
8127
8128 2012-01-05  Pedro Alves  <alves.ped@gmail.com>
8129
8130         * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
8131         * gdb.python/py-events.c (first): Add bits for new "step N" test.
8132         * gdb.python/py-events.exp: Test that "step N" tripping on a
8133         breakpoint emits a breakpoint event.
8134
8135 2012-01-03  Joel Brobecker  <brobecker@adacore.com>
8136
8137         * gdb.base/auxv.exp: Reformat the copyright notice.
8138
8139 2012-01-03  Yao Qi  <yao@codesourcery.com>
8140
8141         * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
8142         (strace_trace_on_diff_addr): New.
8143         * gdb.trace/strace.c: (main): Add two local variables.
8144
8145 2011-01-02  Ulrich Weigand  <uweigand@de.ibm.com>
8146
8147         * gdb.cell/fork.exp: Delete breakpoints after reaching main.
8148         * gdb.cell/gcore.exp: Likewise.
8149         * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
8150         to verify the correct instance of main is selected.
8151
8152 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
8153
8154         * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
8155         gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
8156         gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
8157         gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
8158         gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
8159         gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
8160         gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
8161         gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
8162         gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
8163         gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
8164         gdb.threads/thread_check.c: Reformat copyright header.
8165
8166 2011-12-30  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8167
8168         * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
8169         * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
8170         is not enabled.
8171
8172 2011-12-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8173
8174         * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
8175         parameter to self_exec, adjust the function.
8176         (main): Check for argv[1] "exit".  Use argv[0] for test_exec_exit.
8177         * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
8178         (set var do_exit = 0): Remove test.
8179         (newline at end of file): Add one.
8180
8181 2011-12-27  Joel Brobecker  <brobecker@adacore.com>
8182
8183         * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
8184         New files.
8185
8186 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
8187
8188         Fix racy FAILs.
8189         * gdb.threads/fork-thread-pending.c (barrier): New variable.
8190         (thread_function, thread_forker): Call pthread_barrier_wait for it.
8191         (main): Call pthread_barrier_init for it.
8192
8193 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
8194
8195         Fix double send_gdb leading to racy FAILs.
8196         * gdb.base/break.exp (set silent break bp_location1): Replace
8197         3x send_gdb and gdb_expect by gdb_test.
8198         * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
8199         * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
8200         (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
8201         instead of send_gdb.  Twice.
8202         * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
8203         3x send_gdb and gdb_expect by gdb_test.
8204         * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
8205
8206 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
8207
8208         * gdb.linespec/linespec.exp: Compile using {c++}.
8209
8210 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
8211
8212         * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
8213         (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
8214         (verify GCC PR debug/51668): New test.
8215
8216 2011-12-23  Kevin Pouget  <kevin.pouget@st.com>
8217
8218         Introduce gdb.FinishBreakpoint in Python.
8219         * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
8220         py-finish-breakpoint2
8221         (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
8222         * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
8223         instead of line number.
8224         * gdb.python/py-finish-breakpoint.c: New file.
8225         * gdb.python/py-finish-breakpoint.exp: New file.
8226         * gdb.python/py-finish-breakpoint.py: New file.
8227         * gdb.python/py-finish-breakpoint2.cc: New file.
8228         * gdb.python/py-finish-breakpoint2.exp: New file.
8229         * gdb.python/py-finish-breakpoint2.py: New file.
8230
8231 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
8232
8233         Partial fix of compatibility with gcc-4.7.
8234         * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
8235         into XFAIL "new without size_t".  Permit size_t for the KFAIL case.
8236         Add comment to add a PASS case in the future.
8237
8238         Fix compatibility with gcc-4.7.
8239         * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
8240
8241 2011-12-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
8242
8243         PR tdep/12797
8244         * gdb.base/callfuncs.exp: Remove KFAIL.
8245
8246 2011-12-21  Joel Brobecker  <brobecker@adacore.com>
8247
8248         * gdb.ada/task_bp: New testcase.
8249
8250 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
8251
8252         * gdb.base/reread.exp: If srcfile2 fails to build retry it with
8253         -DNO_SECTIONS.
8254         * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
8255
8256 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
8257
8258         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
8259         PR gcc/45997 XFAIL conditional for gcc <= 4.5.
8260         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
8261         Change PR gcc/41736 to the more specific PR gcc/46955.  Make it
8262         conditional for gcc <= 4.5.
8263
8264 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
8265
8266         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
8267         by XFAIL.
8268         * gdb.cp/static-method.exp (info addr A::func())
8269         (list static-method.cc:xxx::(anonymous namespace)::A::func)
8270         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
8271         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
8272         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
8273         * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
8274         (test value of F in k3_m): Likewise.
8275         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
8276         Likewise.
8277
8278 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
8279
8280         * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
8281         (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
8282         Remove.
8283         * gdb.threads/attachstop-mt.c: Remove.
8284         * gdb.threads/attachstop-mt.exp: Remove.
8285
8286 2011-12-17  Mark Kettenis  <kettenis@gnu.org>
8287
8288         * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
8289
8290 2011-12-16  Doug Evans  <dje@google.com>
8291
8292         * boards/native-stdio-gdbserver.exp: New file.
8293         * boards/native-gdbserver.exp: New file.
8294
8295         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
8296         gdbserver output.
8297         (gdbserver_default_get_remote_address): New function.
8298         (gdbserver_start): Call gdb,get_remote_address to compute argument
8299         to "target remote" command.
8300
8301 2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
8302
8303         * gdb.python/py-function.exp: Change "on" to "full" for
8304         python print-stack.  Add set/show python print-stack
8305         off|full|message tests.
8306
8307 2011-12-15  Yao Qi  <yao@codesourcery.com>
8308
8309         * gdb.trace/strace.c: New
8310         * gdb.trace/strace.exp: New.
8311
8312 2011-12-14  Tom Tromey  <tromey@redhat.com>
8313
8314         * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
8315
8316 2011-12-14  Doug Evans  <dje@google.com>
8317
8318         * lib/gdb.exp (gdb_start_cmd): Fix error return value.
8319
8320 2011-12-14  Pedro Alves  <pedro@codesourcery.com>
8321
8322         PR threads/10729
8323
8324         * gdb.mi/watch-nonstop.c: New file.
8325         * gdb.mi/mi-watch-nonstop.exp: New file.
8326
8327 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
8328             Doug Evans  <dje@google.com>
8329
8330         * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
8331         (clean_restart): Remove references to the gdb_stub target board
8332         variable.
8333         (gdb_step_for_stub): Delete.
8334
8335         * gdb.base/annota1.exp: Remove all references to [target_info
8336         exists gdb_stub], gdb_step_for_stub and usestubs.
8337         * gdb.base/annota3.exp: Ditto.
8338         * gdb.base/async.exp: Ditto.
8339         * gdb.base/break.exp: Ditto.
8340         * gdb.base/code-expr.exp: Ditto.
8341         * gdb.base/commands.exp: Ditto.
8342         * gdb.base/completion.exp: Ditto.
8343         * gdb.base/condbreak.exp: Ditto.
8344         * gdb.base/consecutive.exp: Ditto.
8345         * gdb.base/cvexpr.exp: Ditto.
8346         * gdb.base/define.exp: Ditto.
8347         * gdb.base/display.exp: Ditto.
8348         * gdb.base/ena-dis-br.exp: Ditto.
8349         * gdb.base/environ.exp: Ditto.
8350         * gdb.base/gnu-ifunc.exp: Ditto.
8351         * gdb.base/maint.exp: Ditto.
8352         * gdb.base/pending.exp: Ditto.
8353         * gdb.base/sect-cmd.exp: Ditto.
8354         * gdb.base/sepdebug.exp: Ditto.
8355         * gdb.base/unload.exp: Ditto.
8356         * gdb.base/watchpoint-solib.exp: Ditto.
8357         * gdb.cp/annota2.exp: Ditto.
8358         * gdb.cp/annota3.exp: Ditto.
8359         * gdb.dwarf2/dw2-inline-param.exp: Ditto.
8360         * gdb.hp/gdb.compat/xdb1.exp: Ditto.
8361         * gdb.mi/mi-pending.exp: Ditto.
8362         * gdb.trace/circ.exp: Ditto.
8363         * gdb.cp/ovldbreak.exp: Ditto.  Adjust expected line numbers.
8364         * gdb.base/list.exp: Ditto.
8365
8366         * gdb.base/all-types.c: Remove all calls to set_debug_traps and
8367         breakpoint function and all references to the usestubs macro.
8368         * gdb.base/exprs.c: Ditto.
8369         * gdb.base/freebpcmd.c: Ditto.
8370         * gdb.base/bitfields.c: Ditto.
8371         * gdb.base/bitfields2.c: Ditto.
8372         * gdb.base/break.c: Ditto.
8373         * gdb.base/call-sc.c: Ditto.
8374         * gdb.base/call-signals.c: Ditto.
8375         * gdb.base/callfuncs.c: Ditto.
8376         * gdb.base/charset.c: Ditto.
8377         * gdb.base/consecutive.c: Ditto.
8378         * gdb.base/constvars.c: Ditto.
8379         * gdb.base/funcargs.c: Ditto.
8380         * gdb.base/int-type.c: Ditto.
8381         * gdb.base/interrupt.c: Ditto.
8382         * gdb.base/langs0.c: Ditto.
8383         * gdb.base/list0.c: Ditto.
8384         * gdb.base/mips_pro.c: Ditto.
8385         * gdb.base/miscexprs.c: Ditto.
8386         * gdb.base/nodebug.c: Ditto.
8387         * gdb.base/opaque0.c: Ditto.
8388         * gdb.base/pointers.c: Ditto.
8389         * gdb.base/printcmds.c: Ditto.
8390         * gdb.base/ptype.c: Ditto.
8391         * gdb.base/recurse.c: Ditto.
8392         * gdb.base/reread1.c: Ditto.
8393         * gdb.base/reread2.c: Ditto.
8394         * gdb.base/restore.c: Ditto.
8395         * gdb.base/return.c: Ditto.
8396         * gdb.base/run.c: Ditto.
8397         * gdb.base/scope0.c: Ditto.
8398         * gdb.base/sepdebug.c: Ditto.
8399         * gdb.base/setshow.c: Ditto.
8400         * gdb.base/setvar.c: Ditto.
8401         * gdb.base/sigall.c: Ditto.
8402         * gdb.base/signals.c: Ditto.
8403         * gdb.base/structs.c: Ditto.
8404         * gdb.base/structs2.c: Ditto.
8405         * gdb.base/testenv.c: Ditto.
8406         * gdb.base/twice.c: Ditto.
8407         * gdb.base/unwindonsignal.c: Ditto.
8408         * gdb.base/watchpoint.c: Ditto.
8409         * gdb.base/watchpoints.c: Ditto.
8410         * gdb.base/whatis.c: Ditto.
8411         * gdb.cp/classes.cc: Ditto.
8412         * gdb.cp/cplusfuncs.cc: Ditto.
8413         * gdb.cp/derivation.cc: Ditto.
8414         * gdb.cp/formatted-ref.cc: Ditto.
8415         * gdb.cp/misc.cc: Ditto.
8416         * gdb.cp/overload.cc: Ditto.
8417         * gdb.cp/ovldbreak.cc: Ditto.
8418         * gdb.cp/ref-params.cc: Ditto.
8419         * gdb.cp/ref-types.cc: Ditto.
8420         * gdb.cp/templates.cc: Ditto.
8421         * gdb.cp/virtfunc.cc: Ditto.
8422         * gdb.hp/gdb.aCC/run.c: Ditto.
8423         * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
8424         * gdb.hp/gdb.compat/xdb0.c: Ditto.
8425         * gdb.reverse/consecutive-reverse.c: Ditto.
8426         * gdb.reverse/sigall-reverse.c: Ditto.
8427         * gdb.reverse/until-reverse.c: Ditto.
8428         * gdb.reverse/watch-reverse.c: Ditto.
8429         * gdb.trace/actions.c: Ditto.
8430         * gdb.trace/circ.c: Ditto.
8431         * gdb.trace/collection.c: Ditto.
8432
8433 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
8434
8435         * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
8436         (func6, func7): New.
8437         (main): Call func6 and func7.
8438         * gdb.base/watchpoint.exp (test_wide_location_1)
8439         (test_wide_location_2): New.
8440         (top level): Re-enable hardware watchpoints if necessary.  Call
8441         test_wide_location_1 and test_wide_location_2.
8442
8443 2011-12-11  Yao Qi  <yao@codesourcery.com>
8444
8445         * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
8446
8447 2011-12-11  Joel Brobecker  <brobecker@adacore.com>
8448
8449         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
8450         expected output for unsupported case.
8451
8452 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
8453
8454         PR testsuite/12649
8455         * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
8456         Protect gdb_test_multiple by final $gdb_prompt match.
8457
8458 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
8459
8460         * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
8461         New variable, new test.
8462         (list static-method.cc:xxx::(anonymous namespace)::A::func)
8463         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
8464         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
8465         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
8466         them if HAVE_GCC_45682_FIXED is not set.
8467
8468 2011-12-10  Yao Qi  <yao@codesourcery.com>
8469
8470         * gdb.trace/status-stop.exp: New.
8471         * gdb.trace/status-stop.c: New.
8472
8473 2011-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
8474
8475         * gdb.reverse/until-precsave.exp (run to end of main) Extend the
8476         timeout.
8477
8478 2011-12-08  Tom Tromey  <tromey@redhat.com>
8479
8480         * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
8481         condition.
8482
8483 2011-12-07  Stan Shebs  <stan@codesourcery.com>
8484
8485         * gdb.trace/tfind.exp: Update for output changes.
8486
8487 2011-12-07  Pedro Alves  <pedro@codesourcery.com>
8488
8489         * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
8490         throws "Cannot insert catchpoints in this configuration".
8491         * gdb.ada/mi_catch_ex.exp: Likewise.
8492
8493 2011-12-06  Pedro Alves  <pedro@codesourcery.com>
8494
8495         * gdb.base/break-always.exp: Test changing memory at addresses
8496         with breakpoints inserted.
8497
8498 2011-12-06  Joel Brobecker  <brobecker@acacore.com>
8499
8500         * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
8501         involving a fully qualified function name.
8502
8503 2011-12-06  Tom Tromey  <tromey@redhat.com>
8504
8505         * gdb.ada/homonym.exp: Add three breakpoint tests.
8506
8507 2011-12-06  Tom Tromey  <tromey@redhat.com>
8508
8509         * gdb.base/solib-weak.exp (do_test): Remove kfail.
8510         * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
8511         * gdb.objc/objcdecode.exp: Update for output changes.
8512         * gdb.linespec/linespec.exp: New file.
8513         * gdb.linespec/lspec.cc: New file.
8514         * gdb.linespec/lspec.h: New file.
8515         * gdb.linespec/body.h: New file.
8516         * gdb.linespec/base/two/thefile.cc: New file.
8517         * gdb.linespec/base/one/thefile.cc: New file.
8518         * gdb.linespec/Makefile.in: New file.
8519         * gdb.cp/templates.exp (test_template_breakpoints): Update for
8520         output changes.
8521         * gdb.cp/re-set-overloaded.exp: Remove kfail.
8522         * gdb.cp/ovldbreak.exp: Update for output changes.  "all" test now
8523         makes one breakpoint.
8524         * gdb.cp/method2.exp (test_break): Update for output changes.
8525         * gdb.cp/mb-templates.exp: Update for output changes.
8526         * gdb.cp/mb-inline.exp: Update for output changes.
8527         * gdb.cp/mb-ctor.exp: Update for output changes.
8528         * gdb.cp/ovsrch.exp: Use fully-qualified names.
8529         * gdb.base/solib-symbol.exp: Run to main later.  Breakpoint now
8530         has multiple matches.
8531         * gdb.base/sepdebug.exp: Disable pending breakpoints.  Update for
8532         error message change.
8533         * gdb.base/list.exp (test_list_filename_and_number): Update for
8534         error message change.
8535         * gdb.base/break.exp: Disable pending breakpoints.  Update for
8536         output changes.
8537         * configure.ac: Add gdb.linespec.
8538         * configure: Rebuild.
8539         * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
8540
8541 2011-12-06  Ulrich Weigand  <uweigand@de.ibm.com>
8542
8543         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
8544         last_break register on s390*-*-* targets.
8545
8546 2011-12-06  Joel Brobecker  <brobecker@adacore.com>
8547
8548         * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
8549         * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
8550         of parameter X in procedure Foo.
8551
8552 2011-12-05  Stan Shebs  <stan@codesourcery.com>
8553
8554         * gdb.trace/tfind.exp: Update help string matches.
8555
8556 2011-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
8557
8558         * gdb.server/ext-run.exp (get process list): Accept also systemd
8559         as PID 1.
8560
8561 2011-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8562             Pedro Alves  <pedro@codesourcery.com>
8563
8564         * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
8565         starting GDB.
8566         * gdb.base/default.exp: Replace target use_gdb_stub checks by global
8567         $use_gdb_stub.
8568         * gdb.base/display.exp: Likewise.
8569         * gdb.base/ending-run.exp: Likewise.
8570         * gdb.base/list.exp (test_listsize): Likewise.
8571         * gdb.base/setshow.exp: Likewise.
8572         * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
8573         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
8574         check by global $use_gdb_stub.
8575         (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
8576         (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
8577         (default_gdb_init): Unset global $use_gdb_stub.
8578         (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
8579         by global $use_gdb_stub.
8580         * lib/gdbserver-support.exp: Extend comments for set_board_info
8581         gdb_protocol and gdb,socketport.
8582         (gdbserver_start_extended): Set global gdbserver_protocol and
8583         gdbserver_gdbport.  Clear global use_gdb_stub.
8584         * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
8585         from target use_gdb_stub.
8586         (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
8587
8588 2011-12-03  Doug Evans  <dje@google.com>
8589
8590         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
8591         (gdb_step_for_stub): Add comments.
8592
8593 2011-12-02  Maciej W. Rozycki  <macro@codesourcery.com>
8594
8595         * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
8596         to the caller.
8597         (gdb_test_multiple): Likewise.
8598
8599 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8600
8601         Fix gdb.mi/mi-solib.exp without system debug info installed.
8602         * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
8603         expect attribute, return 0 for it.  Update comments.
8604
8605 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8606
8607         * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
8608         (corrupted list): Adjust the expectation.
8609
8610 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8611
8612         PR threads/13448
8613         * gdb.dwarf2/dw2-var-zero-addr.S: New file.
8614         * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
8615         * gdb.threads/tls-var-main.c: New file.
8616         * gdb.threads/tls-var.c: New file.
8617         * gdb.threads/tls-var.exp: New file.
8618
8619 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8620
8621         PR testsuite/12649
8622         * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
8623         Protect gdb_test_multiple by final $gdb_prompt match.
8624         * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
8625         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
8626         (test_tracepoints): Likewise.
8627
8628 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8629
8630         PR breakpoints/13346
8631         * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
8632         * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
8633         * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
8634
8635 2011-12-01  Joel Brobecker  <brobecker@adacore.com>
8636
8637         * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
8638         * gdb.ada/homonym/homonym.adb: For use of all types defined
8639         locally inside both Get_Value subprograms.
8640
8641 2011-12-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
8642
8643         Fix racy FAILs.
8644         * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
8645         of send_gdb.
8646
8647 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
8648
8649         * gdb.base/testenv.exp: Skip on remote targets.  Unset global
8650         environment variable after test completed.
8651
8652 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
8653
8654         * gdb.base/solib-nodir.exp: Skip if remote target.
8655         * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
8656         application.  Call gdb_load_shlibs.
8657         * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
8658
8659 2011-11-29  Joel Brobecker  <brobecker@adacore.com>
8660
8661         * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
8662
8663 2011-11-28  Joel Brobecker  <brobecker@adacore.com>
8664
8665         * gdb.ada/fullname_bp: New testcase.
8666
8667 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8668
8669         PR testsuite/12649
8670         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
8671         Wrap send_gdb into a new gdb_test.
8672
8673         Code cleanup.
8674         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
8675         Convert send_gdb and gdb_expect to gdb_test_multiple.
8676
8677 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8678
8679         * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
8680
8681 2011-11-23  Keith Seitz  <keiths@redhat.com>
8682
8683         * lib/mi-support.exp (varobj_tree): New namespace and procs.
8684         (mi_varobj_tree_test_children_callback): New proc.
8685         (mi_walk_varobj_tree): New proc.
8686
8687 2011-11-22  Tom Tromey  <tromey@redhat.com>
8688
8689         * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
8690         Add "use_mi_command" argument.
8691         (mi_run_cmd, mi_run_with_cli): New procs.
8692         * gdb.mi/solib-lib.c: New file.
8693         * gdb.mi/solib-main.c: New file.
8694         * gdb.mi/mi-solib.exp: New file.
8695
8696 2011-11-21  Doug Evans  <dje@google.com>
8697
8698         * gdb.cp/nextoverthrow.exp: Skip test if debug info for
8699         _Unwind_DebugHook is missing.
8700
8701 2011-11-20  Stan Shebs  <stan@codesourcery.com>
8702
8703         * gdb.trace/tstatus.exp: New.
8704         * gdb.trace/actions.c: Include string.h.
8705
8706 2011-11-18  Yao Qi  <yao@codesourcery.com>
8707
8708         * gdb.trace/pending.exp: New.
8709         * gdb.trace/pending.c: New.
8710         * gdb.trace/pendshr1.c: New.
8711         * gdb.trace/pendshr2.c: New.
8712         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
8713         tracepoint location becomes pending.
8714         (tracepoint_change_loc_2): New.
8715
8716 2011-11-16  David S. Miller  <davem@davemloft.net>
8717
8718         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
8719         target is sparc*-*-linux*
8720
8721 2011-11-15  Paul Koning  <paul_koning@dell.com>
8722
8723         * gdb.python/py-type.exp: New testcases for exceptions on scalar
8724         types.
8725
8726 2011-11-14  Doug Evans  <dje@google.com>
8727
8728         * gdb.base/shell.exp: New file.
8729
8730 2011-11-14  Stan Shebs  <stan@codesourcery.com>
8731
8732         * gdb.trace/ftrace.c: New.
8733         * gdb.trace/ftrace.exp: New.
8734
8735 2011-11-14  Yao Qi  <yao@codesourcery.com>
8736
8737         * gdb.trace/change-loc-1.c: New.
8738         * gdb.trace/change-loc-2.c: New.
8739         * gdb.trace/change-loc.c: New.
8740         * gdb.trace/change-loc.exp:  New.
8741         * gdb.trace/change-loc.h:  New.
8742         * gdb.trace/trace-break.c (marker): Define new symbol.
8743         * gdb.trace/trace-break.exp (break_trace_same_addr_5):
8744         New.
8745         (break_trace_same_addr_6): New.
8746
8747 2011-11-12  Matt Rice  <ratmice@gmail.com>
8748
8749         * gdb.base/info-macros.exp: Make tests for info definitions
8750         test info macro.  Add tests for info macro argument processing.
8751         Rename a few tests.
8752
8753 2011-11-11  Keith Seitz  <keiths@redhat.com>
8754
8755         PR gdb/12843
8756         * gdb.base/linespecs.exp: New file.
8757
8758 2011-11-11  Doug Evans  <dje@google.com>
8759
8760         * gdb.threads/print-threads.exp: Extend timeout for slower
8761         tests.
8762
8763 2011-11-10  Doug Evans  <dje@google.com>
8764
8765         * gdb.reverse/i387-env-reverse.exp: Extend timeout of
8766         "record to end of main" test.
8767
8768         * gdb.python/py-type.c (TS): New typedef.
8769         (ts): New global.
8770         * gdb.python/py-type.exp: Test field list of typedef.
8771
8772 2011-11-10  Joel Brobecker  <brobecker@adacore.com>
8773
8774         * gdb.ada/small_reg_param: New testcase.
8775
8776 2011-11-09  Tom Tromey  <tromey@redhat.com>
8777
8778         * gdb.cp/destrprint.exp: New file.
8779         * gdb.cp/destrprint.cc: New file.
8780
8781 2011-11-08  Meador Inge  <meadori@codesourcery.com>
8782
8783         * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
8784         (switch_stack_to_other): New test function.
8785         * gdb.arch/thumb-prologue.exp: New test cases.
8786
8787 2011-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
8788
8789         * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
8790
8791 2011-11-08  Yao Qi  <yao@codesourcery.com>
8792
8793         * gdb.exp (supports_process_record): New.
8794         (supports_reverse): New.
8795         * gdb.reverse/break-precsave.exp: Call support_process_record
8796         to run test conditionally.
8797         * gdb.reverse/consecutive-precsave.exp: Likewise.
8798         * gdb.reverse/i386-precsave.exp: Likewise.
8799         * gdb.reverse/machinestate-precsave.exp: Likewise.
8800         * gdb.reverse/solib-precsave.exp: Likewise.
8801         * gdb.reverse/step-precsave.exp: Likewise.
8802         * gdb.reverse/until-precsave.exp: Likewise.
8803         * gdb.reverse/watch-precsave.exp: Likewise.
8804         * gdb.reverse/break-reverse.exp: Call support_reverse  to run
8805         test conditionally.
8806         * gdb.reverse/consecutive-reverse.exp: Likewise.
8807         * gdb.reverse/finish-precsave.exp: Likewise.
8808         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8809         * gdb.reverse/finish-reverse.exp: Likewise.
8810         * gdb.reverse/i386-reverse.exp: Likewise.
8811         * gdb.reverse/i386-sse-reverse.exp: Likewise.
8812         * gdb.reverse/machinestate.exp: Likewise.
8813         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
8814         * gdb.reverse/sigall-precsave.exp: Likewise.
8815         * gdb.reverse/sigall-reverse.exp: Likewise.
8816         * gdb.reverse/solib-reverse.exp: Likewise.
8817         * gdb.reverse/step-reverse.exp: Likewise.
8818         * gdb.reverse/until-reverse.exp: Likewise.
8819         * gdb.reverse/watch-reverse.exp: Likewise.
8820
8821 2011-11-05  Yao Qi  <yao@codesourcery.com>
8822
8823         * gdb.trace/trace-break.exp: Add test on setting two
8824         fast tracepoints at the same address.
8825
8826 2011-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8827
8828         * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
8829
8830 2011-11-02  Stan Shebs  <stan@codesourcery.com>
8831
8832         * gdb.trace/collection.c: Add code using strings.
8833         * gdb.trace/collection.exp: Add tests of string collection.
8834
8835 2011-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8836
8837         * gdb.base/skip-solib.exp (executable_main): New variable.
8838         (binfile_main): Base it on that.
8839         Use $executable_main in clean_restart calls.  Drop gdb_exit and
8840         gdb_start calls.
8841
8842 2011-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
8843
8844         Fix racy FAILs.
8845         * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
8846         breakpoint_re globals import by async.  Set string_regex to .* for
8847         async.  Remove the optional thread_selected_re and breakpoint_re
8848         globals expectations.
8849
8850 2011-11-01  Joseph Myers  <joseph@codesourcery.com>
8851
8852         * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
8853         well as Cygwin.
8854
8855 2011-11-01  Justin Lebar <justin.lebar@gmail.com>
8856
8857         Add tests for skip command.
8858         * gdb.base/skip-solib-lib.c: New
8859         * gdb.base/skip-solib-main.c: New
8860         * gdb.base/skip-solib.exp: New
8861         * gdb.base/skip.c: New
8862         * gdb.base/skip.exp: New
8863         * gdb.base/skip1.c: New
8864         * gdb.base/Makefile.in: Adding new files.
8865
8866 2011-10-31  Yao Qi  <yao@codesourcery.com>
8867             Pedro Alves  <pedro@codesourcery.com>
8868
8869         * gdb.trace/trace-break.c: New.
8870         * gdb.trace/trace-break.exp: New.
8871
8872 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8873
8874         * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
8875         break-here-2.
8876
8877 2011-10-28  Pedro Alves  <pedro@codesourcery.com>
8878
8879         * gdb.threads/no-unwaited-for-left.c: New.
8880         * gdb.threads/no-unwaited-for-left.exp: New.
8881         * gdb.threads/non-ldr-exc-1.c: New.
8882         * gdb.threads/non-ldr-exc-1.exp: New.
8883         * gdb.threads/non-ldr-exc-2.c: New.
8884         * gdb.threads/non-ldr-exc-2.exp: New.
8885         * gdb.threads/non-ldr-exc-3.c: New.
8886         * gdb.threads/non-ldr-exc-3.exp: New.
8887         * gdb.threads/non-ldr-exc-4.c: New.
8888         * gdb.threads/non-ldr-exc-4.exp: New.
8889
8890 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8891
8892         * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
8893         * gdb.base/attach-pie-misread.exp: Likewise.
8894         * gdb.base/break-interp.exp: Likewise.
8895         * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
8896         testcases for use_gdb_stub.
8897         * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
8898         (continue): New testcase.
8899         * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
8900         * gdb.threads/attach-into-signal.exp: Likewise.
8901         * gdb.threads/attach-stopped.exp: Likewise.
8902         * gdb.threads/attachstop-mt.exp: Likewise.
8903
8904 2011-10-28  Paul Koning  <paul_koning@dell.com>
8905
8906         * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
8907
8908 2011-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8909
8910         * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
8911         (mi_gdb_test): Import globals thread_selected_re
8912         and breakpoint_re.  Expect them optionally at the regex start.
8913
8914 2011-10-27  Doug Evans  <dje@google.com>
8915
8916         * gdb.python/python.exp: Test source -s.
8917
8918 2011-10-26  Paul Koning  <paul_koning@dell.com>
8919
8920         * gdb.python/lib-types.cc (struct A): New structure.
8921         * gdb.python/lib-types.exp (deepitems): New tests.
8922
8923 2011-10-25  Paul Koning  <paul_koning@dell.com>
8924
8925         PR python/13327
8926
8927         * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
8928         fetch_lazy method.
8929
8930 2011-10-24  Yao Qi  <yao@codesourcery.com>
8931
8932         * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
8933         target is tic6x-*-*.
8934
8935 2011-10-21  Joel Brobecker  <brobecker@adacore.com>
8936
8937         * gdb.ada/mi_task_info/task_switch.adb: New file.
8938         * gdb.ada/mi_task_info.exp: New file.
8939
8940 2011-10-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8941
8942         * gdb.cp/expand-psymtabs-cxx.exp: New file.
8943         * gdb.cp/expand-psymtabs-cxx.cc: New file.
8944
8945 2011-10-20  Phil Muldoon  <pmuldoon@redhat.com>
8946
8947         PR python/12656
8948
8949         * gdb.python/py-block.exp: Add is_global, is_static, static_block,
8950         global_block tests.
8951
8952 2011-10-18  Tom Tromey  <tromey@redhat.com>
8953
8954         * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
8955
8956 2011-10-18  Tom Tromey  <tromey@redhat.com>
8957
8958         * gdb.base/source.exp: Don't include full file name in test name.
8959         * gdb.python/python.exp: Don't include full file name in test
8960         name.
8961
8962 2011-10-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
8963
8964         * gdb.base/attach-pie-noexec.c: New files.
8965         * gdb.base/attach-pie-noexec.exp: New files.
8966
8967 2011-10-17  Joseph Myers  <joseph@codesourcery.com>
8968
8969         * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
8970         prompt for each extra line in command.
8971
8972 2011-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8973
8974         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
8975         Revert the part of:
8976         2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8977         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8978         Change the expected string.
8979
8980 2011-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
8981
8982         Fix results with system glibc debug info installed.
8983         * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
8984         (continue to $syscall (2nd time), continue to $syscall (3rd time)):
8985         Accept also __libc_ symbol prefix and no prefix.
8986
8987 2011-10-14  Keith Seitz  <keiths@redhat.com>
8988
8989         PR c++/13225
8990         * gdb.cp/converts.cc (foo3_1): New function.
8991         (foo3_2): New functions.
8992         * gdb.cp/converts.exp: Add tests for int to pointer conversion
8993         and null pointer conversions of integer constant zero.
8994         Add test to check if all arguments are checked for incompatible
8995         conversion BADNESS.
8996
8997 2011-10-14  Tom Tromey  <tromey@redhat.com>
8998
8999         * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
9000         * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
9001         linespec.
9002
9003 2011-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9004
9005         Fix internal error regression.
9006         * gdb.dwarf2/implptr-optimized-out.S: New file.
9007         * gdb.dwarf2/implptr-optimized-out.exp: New file.
9008
9009 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
9010
9011         Fix empty DWARF expressions DATA vs. SIZE conditionals.
9012         * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
9013         (loclist): New.
9014         (4): New abbrev.
9015         * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
9016         Use prepare_for_testing, remove clean_restart.
9017         (p arraynoloc, p arraycallnoloc): New tests.
9018
9019 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
9020
9021         * gdb.cp/namespace-enum.exp (executable): New variable.
9022         (binfile): Use ${objdir}/${subdir}/ prefix.
9023         Use ${executable} for clean_restart.
9024
9025 2011-10-11  Sterling Augustine  <saugustine@google.com>
9026
9027         * gdb.cp/Makefile.in: Add namespace-enum test.
9028         * gdb.cp/namespace-enum.exp: New file.
9029         * gdb.cp/namespace-enum.c: New file.
9030         * gdb.cp/namespace-enum-main.c: New file.
9031
9032 2011-10-11  Ulrich Weigand  <ulrich.weigand@linaro.org>
9033
9034         * gdb.python/py-shared.exp: Relax filename check to handle remote:
9035         sysroot.
9036
9037 2011-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9038
9039         Reimplement @entry in input expressions.
9040         * gdb.base/exprs.c (v_int_array_init): New variable.
9041         * gdb.base/exprs.exp (print v_int_array_init)
9042         (print *v_int_array_init@1, print *v_int_array_init@2)
9043         (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
9044         (print v_int_array_init[1]@1): New tests.
9045
9046 2011-10-10  Joseph Myers  <joseph@codesourcery.com>
9047
9048         * gdb.cp/gdb2495.exp: Do not include directories in filename in
9049         expected message.
9050
9051 2011-10-09  Doug Evans  <dje@google.com>
9052
9053         * gdb.base/alias.exp: Add tests for alias command.
9054
9055 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9056
9057         * gdb.arch/amd64-entry-value.s: New file.
9058         * gdb.mi/mi2-amd64-entry-value.s: New file.
9059
9060 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9061
9062         Display @entry parameter values even for references.
9063         * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
9064         functions.
9065         (main): New variables regvar, nodatavarp, stackvar1, stackvar2.  Call
9066         reference and datap_input.
9067         * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
9068         breakpoints.
9069         (continue to breakpoint: entry_reference: reference)
9070         (entry_reference: bt at entry)
9071         (continue to breakpoint: entry_reference: breakhere_reference)
9072         (entry_reference: bt, entry_reference: ptype regparam)
9073         (entry_reference: p regparam, entry_reference: ptype regparam@entry)
9074         (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
9075         (entry_reference: p regcopy, entry_reference: p nodataparam)
9076         (entry_reference: p nodataparam@entry): New tests.
9077
9078 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9079
9080         Support @entry in input expressions.
9081         * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
9082         (entry_stack: p s1@entry, entry_stack: p s2@entry)
9083         (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
9084         (tailcall: p j@entry): New tests.
9085         * gdb.cp/koenig.cc (A::entry): New function.
9086         (main): Call it.
9087         * gdb.cp/koenig.exp (p entry (c)): New test.
9088
9089 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9090
9091         Display @entry parameter values (without references).
9092         * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
9093         (different, validity, invalid): New functions.
9094         (main): Call them.
9095         * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
9096         stacktest, breakhere_stacktest, different, breakhere_different,
9097         breakhere_validity and breakhere_invalid.
9098         (entry: bt): Update for @entry.
9099         (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
9100         (entry_validity: *, entry_invalid: *): Many new tests.
9101         * gdb.base/break.exp
9102         (run until breakpoint set at small function, optimized file): Accept
9103         also the @entry suffix.
9104         * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
9105         * gdb.mi/mi2-amd64-entry-value.c: New files.
9106         * gdb.mi/mi2-amd64-entry-value.exp: New files.
9107
9108 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9109
9110         Protect entry values against self tail calls.
9111         * gdb.arch/amd64-entry-value.cc (self2, self): New.
9112         (main): Call self.
9113         * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
9114         (set debug entry-values 1, self: bt debug entry-values): New tests.
9115
9116 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9117
9118         Recognize virtual tail call frames.
9119         * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
9120         (amb_b, amb_a): New.
9121         (main): Call a and b.
9122         * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
9123         (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
9124         (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
9125         New tests.
9126
9127 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9128
9129         Implement basic support for DW_TAG_GNU_call_site.
9130         * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
9131         * gdb.arch/amd64-entry-value.cc: New file.
9132         * gdb.arch/amd64-entry-value.exp: New file.
9133
9134 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9135
9136         Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
9137         * gdb.dwarf2/implptr-64bit.S: New file.
9138         * gdb.dwarf2/implptr-64bit.exp: New file.
9139
9140 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9141
9142         Fix initial language detection with -readnow.
9143         * gdb.cp/readnow-language.cc: New file.
9144         * gdb.cp/readnow-language.exp: New file.
9145
9146 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9147
9148         Fix printed anonymous struct name.
9149         * gdb.cp/anon-struct.exp (print type of X::t2): New test.
9150
9151 2011-10-09  Joseph Myers  <joseph@codesourcery.com>
9152
9153         * gdb.base/solib-symbol.exp: Do not include directories in
9154         filenames in expected messages.
9155
9156 2011-10-07  Doug Evans  <dje@google.com>
9157
9158         * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
9159
9160 2011-10-07  Kevin Pouget  <kevin.pouget@st.com>
9161
9162         Allow Python notification of new object-file loadings.
9163         * gdb.python/py-events.exp: Test newobjfile event.
9164         * gdb.python/py-events.py: Register newobjfile callback.
9165         * gdb.python/py-events.c: Add call to shared library
9166         * gdb.python/py-events-shlib.c: New file.
9167
9168 2011-10-06  Joseph Myers  <joseph@codesourcery.com>
9169
9170         * gdb.base/fixsection.exp: Do not include directories in filename
9171         in expected message.
9172
9173 2011-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
9174
9175         Add tests for passing of environment variables to inferior.
9176         * gdb.base/testenv.c: New test source.
9177         * gdb.base/testenv.exp: New expect test.
9178
9179 2011-10-04  Paul Koning  <paul_koning@dell.com>
9180
9181         * gdb.python/py-value.c (main): Break before return.
9182
9183 2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
9184
9185         PR python/12691: Add the inferior to Python exited event
9186         * gdb.python/py-events.exp: Test the inferior attribute of exited
9187         event with a fork.
9188         * gdb.python/py-events.py: Print inferior number on exit.
9189         * gdb.python/py-events.c: Fork the inferior.
9190
9191 2011-10-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9192
9193         * gdb.base/jit.exp: Add testcase name to log message
9194
9195 2011-10-03  Paul Koning  <paul_koning@dell.com>
9196             Jan Kratochvil  <jan.kratochvil@redhat.com>
9197
9198         * gdb.python/py-value.exp
9199         (python inval = gdb.parse_and_eval('*(int*)0'))
9200         (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
9201         (set argc=2, python print argc_lazy): New tests.
9202
9203 2011-10-02  Joel Brobecker  <brobecker@adacore.com>
9204
9205         * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
9206
9207 2011-10-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9208             Pedro Alves  <pedro@codesourcery.com>
9209
9210         * gdb.python/py-value.exp (test_value_in_inferior): New variable
9211         can_read_0, test for it.
9212         (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
9213         (parse_and_eval with memory error): ... here, make it untested if
9214         can_read_0.
9215
9216 2011-09-30  Marek Polacek  <mpolacek@redhat.com>
9217
9218         * gdb.python/python.exp (verify pagination beforehand)
9219         (verify pagination afterwards): Fix race by splitting the line.
9220
9221 2011-09-29  Joseph Myers  <joseph@codesourcery.com>
9222
9223         * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
9224         for 64-bit multilibs from i?86-* targets.
9225
9226 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
9227
9228         * lib/gdb.exp: Fix a typo in one of the comments.
9229
9230 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
9231
9232         * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
9233         matching pattern.
9234
9235 2011-09-28  Paul Koning  <paul_koning@dell.com>
9236
9237         * gdb.python/py-type.c (enum E): New.
9238         * gdb.python/py-type.exp (test_fields): Add tests for Python
9239         mapping access to fields.
9240         (test_enums): New test for field access on enums.
9241
9242 2011-09-27  Stan Shebs  <stan@codesourcery.com>
9243
9244         * gdb.trace/collection.exp: Test collection of $_ret.
9245
9246 2011-09-22  Andreas Tobler  <andreast@fgznet.ch>
9247
9248         * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
9249         list of compilation switches for <*-*-freebsd*>.
9250
9251 2011-09-19  Stan Shebs  <stan@codesourcery.com>
9252
9253         * gdb.trace/tspeed.exp: New file.
9254         * gdb.trace/tspeed.c: New file.
9255
9256 2011-09-18  Yao Qi  <yao@codesourcery.com>
9257
9258         * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
9259         instructions.
9260         (test_adr_32bit, test_pop_pc): Likewise.
9261         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
9262         Thumb instructions.
9263         * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
9264         in gdb_test_multiple.
9265         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
9266
9267 2011-09-17  Yao Qi  <yao@codesourcery.com>
9268
9269         * lib/gdb.exp (can_single_step_to_signal_handler): New.
9270         * gdb.base/kill-after-signal.exp: Call it.  Skip if target doesn't
9271         support single step to signal handler.
9272
9273 2011-09-17  Yao Qi  <yao@codesourcery.com>
9274
9275         * gdb.base/disp-step-fork.c: New.
9276         * gdb.base/disp-step-syscall.exp: New.
9277         * gdb.base/disp-step-vfork.c: New.
9278
9279 2011-09-16  Joel Brobecker  <brobecker@adacore.com>
9280
9281         * gdb.ada/tasks.exp: Make the expected output for
9282         the `info tasks' tests more resilient to spacing
9283         changes.
9284
9285 2011-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9286
9287         * gdb.python/py-evthreads.exp (Run to breakpoint 1)
9288         (reached breakpoint 2, reached breakpoint 3): Update expected output.
9289
9290 2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
9291
9292         PR Python/12692 Add gdb.selected_inferior() to Python interface.
9293         * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
9294
9295 2011-04-30  Kevin Pouget  <kevin.pouget@st.com>
9296
9297         Handle multiple breakpoint hits in Python interface:
9298         * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
9299         presence.
9300         * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
9301         breakpoint hits.
9302
9303 2011-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
9304             Jan Kratochvil  <jan.kratochvil@redhat.com>
9305
9306         * gdb.python/py-events.exp: Remove pretty printing comment.
9307         * gdb.python/py-evsignal.exp: New file.
9308         * gdb.python/py-evthreads.c: Include signal.h.
9309         (thread3): Remove variable count3.  Remove variable bad and use raise
9310         instead.
9311         (thread2): Remove variable count2.  Move thread3 pthread_create here,
9312         merge pthread_join to a single line.
9313         (main): Remove variable count1.  Merge pthread_join with pthread_create
9314         to a single line.
9315         * gdb.python/py-evthreads.exp: Remove pretty printing comment.  New
9316         KFAIL python/12966 for gdbserver.  Test return value of
9317         gdb_compile_pthreads.  Use gdb_run_cmd.  Replace send_gdb and
9318         gdb_expect by gdb_test and gdb_test_multiple.
9319         (thread 2, thread 3): New tests.
9320
9321 2011-09-12  Matt Rice  <ratmice@gmail.com>
9322             Pedro Alves  <pedro@codesourcery.com>
9323
9324         PR gdb/13175
9325
9326         * gdb.base/interp.exp: New tests.
9327         * gdb.base/interp.c: New file.
9328
9329 2011-09-12  Doug Evans  <dje@google.com>
9330
9331         * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
9332         * gdb.dwarf2/typeddwarf.exp: Ditto.
9333
9334 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9335
9336         Fix compatibility with x32 arch.
9337         * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
9338         * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
9339         is_x86_like_target.
9340         * testsuite/gdb.trace/collection.exp: Likewise.
9341         * testsuite/gdb.trace/report.exp: Likewise.
9342         * testsuite/gdb.trace/unavailable.exp: Likewise.
9343         * testsuite/gdb.trace/while-dyn.exp: Likewise.
9344         * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
9345         (is_x86_like_target): Check also is_amd64_regs_target.
9346
9347 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9348
9349         PR breakpoints/12435
9350         * gdb.arch/amd64-prologue-xmm.c: New file.
9351         * gdb.arch/amd64-prologue-xmm.exp: New file.
9352         * gdb.arch/amd64-prologue-xmm.s: New file.
9353
9354 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9355
9356         * gdb.dwarf2/dw2-param-error-main.c: New file.
9357         * gdb.dwarf2/dw2-param-error.S: New file.
9358         * gdb.dwarf2/dw2-param-error.exp: New file.
9359
9360 2011-09-08  Pedro Alves  <pedro@codesourcery.com>
9361
9362         * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
9363         inferior's pid and look for a core dump named core.$pid.  Use
9364         `remote_file' commands on the host instead of hand coding shell
9365         commands on the build.
9366         * gdb.base/valgrind-db-attach.exp: Kill the program before
9367         finishing the test.
9368
9369 2011-09-02  Matt Rice  <ratmice@gmail.com>
9370
9371         * lib/prompt.exp: New file for testing the first prompt.
9372         * gdb.python/py-prompt.exp: Ditto.
9373         * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
9374
9375 2011-09-02  Pedro Alves  <pedro@codesourcery.com>
9376
9377         * gdb.threads/gcore-thread.exp: Set the global core_supported to
9378         0, before testing gcore.
9379
9380 2011-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9381
9382         * dw2-ifort-parameter-debug.S: Update copyright year.
9383         * dw2-ifort-parameter.c: Update copyright year.
9384         * dw2-ifort-parameter.exp: Update copyright year.
9385
9386         * dw2-ifort-parameter-debug.S: New file.
9387         * dw2-ifort-parameter.c: New file.
9388         * dw2-ifort-parameter.exp: New file.
9389
9390 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9391
9392         * gdb.base/commands.exp (error_clears_commands_left): New function.
9393         (): Call it.
9394
9395 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9396
9397         * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
9398         (C): Initialize `a'.
9399         * gdb.mi/mi-inheritance-syntax-error.exp
9400         (-data-evaluate-expression $path):  Expect `a' as 5.
9401
9402 2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
9403
9404         PR mi/11912
9405         * gdb.mi/mi-inheritance-syntax-error.cc: New file.
9406         * gdb.mi/mi-inheritance-syntax-error.exp: New file.
9407         * gdb.mi/mi-var-cp.cc: Updated for new 'class'
9408         keyword in output of -var-info-path-expression.
9409
9410 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9411
9412         * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
9413         * gdb.trace/collection.exp: Likewise.
9414         * gdb.trace/report.exp: Likewise.
9415         * gdb.trace/unavailable.exp: Likewise.
9416         * gdb.trace/while-dyn.exp: Likewise.
9417
9418 2011-08-18  Keith Seitz  <keiths@redhat.com>
9419
9420         PR c++/12266
9421         * gdb.cp/meth-typedefs.cc: New file.
9422         * gdb.cp/meth-typedefs.exp: New file.
9423
9424 2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
9425
9426         * gdb.python/python.exp: Add extended-prompt tests.
9427
9428 2011-08-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9429
9430         * gdb.arch/i386-dr3-watch.exp
9431         (watchpoint on gap1 does not fit debug registers)
9432         (delete all watchpoints): Fix racy expect strings.
9433
9434 2011-08-14  Yao Qi  <yao@codesourcery.com>
9435
9436         * gdb.base/maint.exp: set data_section to ".neardata".
9437         * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
9438         * gdb.base/savedregs.exp: Handle SIGILL.
9439         * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
9440         * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
9441
9442 2011-08-12  Doug Evans  <dje@google.com>
9443
9444         * gdb.python/py-symbol.exp: Add test for symbol.type.
9445
9446 2011-08-12  Ulrich Weigand  <ulrich.weigand@linaro.org>
9447
9448         * gdb.threads/pthreads.exp: Enable on non-native configurations.
9449         * gdb.mi/mi-pthreads.exp: Likewise.
9450         * gdb.mi/mi2-pthreads.exp: Likewise.
9451         * gdb.mi/gdb669.exp.exp: Likewise.
9452
9453 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
9454
9455         * lib/mi-support.exp (detect_async): Rename to...
9456         (mi_detect_async): ... this.
9457         * gdb.mi/mi-nonstop-exit.exp: Adjust.
9458         * gdb.mi/mi-nonstop.exp: Adjust.
9459         * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
9460         * gdb.mi/mi-nsintrall.exp: Adjust.
9461         * gdb.mi/mi-nsmoribund.exp: Adjust.
9462         * gdb.mi/mi-nsthrexec.exp: Adjust.
9463
9464 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
9465
9466         * gdb.base/display.c (do_loops): New `p_i' local.
9467         * gdb.base/display.exp: Test displaying a variable that is
9468         temporarily at a bad address.
9469
9470 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9471
9472         * gdb.dwarf2/dw2-op-stack-value.S: New file.
9473         * gdb.dwarf2/dw2-op-stack-value.exp: New file.
9474
9475 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9476
9477         * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
9478         * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
9479         (p fuNC_symtab): Permit also ppc64 leading dot.
9480
9481 2011-08-05  Pedro Alves  <pedro@codesourcery.com>
9482
9483         * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
9484         procedure.
9485         (gdb_collect_args_test, gdb_collect_locals_test): Use it.
9486
9487 2011-08-05  Yao Qi  <yao@codesourcery.com>
9488
9489         * gdb.base/callfuncs.exp: Set language after main.
9490         * gdb.cp/cplusfuncs.exp: Likewise.
9491         * gdb.cp/inherit.exp: Likewise.
9492
9493 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
9494
9495         * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
9496         * gdb.base/watch-vfork.exp: Skip on remote targets.
9497
9498 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
9499
9500         * gdb.threads/thread-find.exp: Support remote targets.
9501
9502 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
9503
9504         * gdb.base/jit.exp: Download solib_binfile to target.
9505         * gdb.base/jit-so.exp:  Likewise.  Also, use gdb_load_shlibs
9506         and call dlopen without full path name.
9507         * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
9508         dlopen without full path name.
9509
9510 2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
9511
9512         * gdb.base/break-always.exp: Complete the test
9513         with duplicated breakpoints and enabling/disabling them.
9514
9515 2011-08-02  Tom Tromey  <tromey@redhat.com>
9516
9517         PR gdb/11289:
9518         * gdb.cp/overload.exp: Fix regexps.  Remove kfails.
9519
9520 2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9521
9522         PR gdb/13045
9523         * gdb.base/float.exp: Add new test case for PR gdb/13045
9524         * gdb.base/float.c: New file.
9525
9526 2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
9527
9528         * gdb.python/py-mi.exp: Test printers returning string hint, and
9529         also not returning a value.
9530         * gdb.python/py-prettyprint.c: Add testcase for above.
9531         * gdb.python/py-prettyprint.py: Add test printer for above.
9532
9533 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
9534
9535         * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
9536         (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
9537         (.Ldie30) Add as field "data4".
9538         (.Ldie32) Rename field "b" to "shl".
9539         (abbrev4) Change for the "data4" field.
9540         (abbrev5, abbrev6) Remove.
9541         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
9542         (p &s.shl): ... here.  Add comment.
9543         (p &s.data4): New.
9544
9545 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
9546
9547         Fix crash on lval_computed values.
9548         * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
9549
9550 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
9551
9552         * gdb.base/help.exp (help whatis): Update the expected string.
9553
9554 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
9555
9556         * gdb.dwarf2/dw2-simple-locdesc.S: New file.
9557         * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
9558         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
9559         Change the expected string.
9560
9561 2011-07-26  Pedro Alves  <pedro@codesourcery.com>
9562
9563         * gdb.base/watchpoint.exp
9564         (test_disable_enable_software_watchpoint): New procedure.
9565         (top level): Run it.
9566
9567 2011-07-26  Ulrich Weigand  <ulrich.weigand@linaro.org>
9568
9569         * gdb.python/py-mi.exp: Avoid '+' in filenames.  Call C version of
9570         executable file "${binfile}", C++ version "${binfile}-cxx".
9571         * gdb.python/py-prettyprint.exp: Likewise.
9572         * gdb.python/py-symbol.exp: Likewise.
9573         * gdb.python/py-type.exp: Likewise.
9574         * gdb.python/py-value.exp: Likewise.
9575         * gdb.python/py-template.exp (test_template_arg): Pass full executable
9576         file name instead of just suffix.
9577
9578 2011-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9579
9580         Fix implicit pointer offsets.
9581         * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
9582         * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
9583         (continue to breakpoint: continue to baz breakpoint for implptr)
9584         (sanity check element 0, sanity check element 1)
9585         (enter the inlined function, check element 0 for the offset)
9586         (check element 1 for the offset)
9587         (continue to breakpoint: ignore the second baz breakpoint): New tests.
9588         (set foo breakpoint for implptr): Update the breakpoint number.
9589
9590 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
9591
9592         * gdb.python/py-mi.exp: Use different file names for different
9593         versions of the executable under test.
9594         * gdb.python/py-prettyprint.exp: Likewise.
9595         * gdb.python/py-symbol.exp: Likewise.
9596         * gdb.python/py-template.exp: Likewise.
9597         * gdb.python/py-type.exp: Likewise.
9598         * gdb.python/py-value.exp: Likewise.
9599
9600 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
9601
9602         * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
9603         flag after restarting GDB if necessary.
9604
9605 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
9606
9607         * gdb.python/py-shared.exp: Call gdb_load_shlibs.
9608
9609 2011-07-22  Pedro Alves  <pedro@codesourcery.com>
9610
9611         * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
9612         backend doesn't leave used debug registers behind.
9613
9614 2011-07-22  Tom Tromey  <tromey@redhat.com>
9615
9616         * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
9617         * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
9618         argument.
9619         * gdb.dwarf2/typeddwarf-amd64.S: New file.
9620
9621 2011-07-21  Matt Rice  <ratmice@gmail.com>
9622
9623         * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
9624         in mostlyclean rule.  Add files ending in .core.
9625
9626 2011-07-21  Matt Rice  <ratmice@gmail.com>
9627
9628         PR macros/12999
9629         * gdb.base/info-macros.c: New test sources.
9630         * gdb.base/info-macros.exp: New tests.
9631
9632 2011-07-21  Phil Muldoon  <pmuldoon@redhat.com>
9633
9634         * gdb.python/python.exp: Add prompt substitution tests.
9635
9636 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
9637
9638         Fix crash if referenced CU is aged out.
9639         * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
9640         New.
9641         * gdb.dwarf2/implptr.exp: Likewise.
9642
9643 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
9644
9645         * gdb.dwarf2/implptr.S: Rebuilt.
9646         * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
9647         (bar): Use them for j, k, l.
9648         * gdb.dwarf2/implptr.exp: New variable opts.  Support runtest parameter
9649         COMPILE.
9650         (print j in implptr:bar): Update for the intp typedef.
9651         (print p[0].x in implptr:foo): Use more exact regex.
9652
9653 2011-07-18  Tom Tromey  <tromey@redhat.com>
9654
9655         * gdb.cp/static-method.exp: Add missing single quote.
9656
9657 2011-07-18  Yao Qi  <yao@codesourcery.com>
9658
9659         * gdb.base/async-shell.exp: Skip test if displaced stepping is not
9660         supported.
9661         * gdb.mi/mi-nonstop-exit.exp: Likewise.
9662         * gdb.mi/mi-nonstop.exp: Likewise.
9663         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9664         * gdb.mi/mi-nsintrall.exp: Likewise.
9665         * gdb.mi/mi-nsmoribund.exp: Likewise.
9666         * gdb.mi/mi-nsthrexec.exp: Likewise.
9667         * gdb.python/py-evthreads.exp: Likewise.
9668
9669 2011-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9670
9671         Code cleanup.
9672         * gdb.cp/namespace.exp (xfail_class_types): New variable.  Initialize
9673         it.  Substitute it instead of test_compiler_info everywhere.
9674
9675 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
9676
9677         * gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
9678         remote targets as well.
9679
9680 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
9681
9682         * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
9683         * gdb.threads/tls-shared.exp: Use it.  Call gdb_load_shlibs.
9684
9685 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
9686
9687         * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
9688         a remote machine, not the host.
9689         (gdb_compile_shlib): Set soname if target is remote.
9690
9691 2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9692
9693         * gdb.cp/minsym-fallback.exp: Link in C++ mode.
9694
9695 2011-07-13  Matt Rice <ratmice@gmail.com>
9696
9697         * gdb.python/py-objfile-script-gdb.py: Renamed to
9698         py-objfile-script-gdb.py.in.
9699         * gdb.python/py-objfile-script-gdb.py.in: Renamed from
9700         py-objfile-script-gdb.py.
9701         * gdb.python/py-objfile-script.exp: Update reference to
9702         py-objfile-script-gdb.py.
9703
9704 2011-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9705
9706         * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
9707         reference undefined label.
9708
9709 2011-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9710
9711         * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
9712         (DW_AT_high_pc, DW_AT_low_pc): Remove them.
9713         (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
9714         * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
9715
9716 2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>
9717
9718         PR python/12438
9719         * gdb.python/python.exp: Add maint set/show python print-stack
9720         deprecated tests.  Add set/show python print-backtrace tests.
9721
9722 2011-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
9723
9724         * gdb.java/jprint.exp (print a java.lang.String): xfail without system
9725         debug info.
9726
9727 2011-07-06  Matt Rice  <ratmice@gmail.com>
9728
9729         * gdb.python/python.exp: Update filename paths.
9730         * gdb.python/py-symtab.exp: Ditto.
9731
9732 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
9733
9734         * gdb.python/py-evthreads.exp: Add missing `$'.
9735
9736 2011-07-06  Jie Zhang  <jie.zhang@analog.com>
9737
9738         * config/bfin.exp: New file.
9739         * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
9740         * gdb.asm/bfin.inc: New file.
9741
9742 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
9743
9744         * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
9745         the whole output.
9746
9747 2011-07-05  Tom Tromey  <tromey@redhat.com>
9748
9749         * gdb.java/jprint.java (jprint.hi): New field.
9750         * gdb.java/jprint.exp: Print string.
9751
9752 2011-07-05  Thiago Jung Bauermann  <bauerman.ibm.com>
9753
9754         * gdb.base/call-sc.c: Fix typos.
9755         * gdb.base/ifelse.exp: Likewise.
9756         * gdb.base/structs.c: Likewise.
9757
9758 2011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9759
9760         * gdb.base/jit-so.exp: New test.
9761         * gdb.base/jit-dlmain.c: New file.
9762         * gdb.base/jit-main.c: Allow "main" to be elsewhere.
9763
9764 2011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9765
9766         * gdb.cp/m-static.exp: Call get_compiler_info.
9767         (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
9768         * gdb.cp/pr9167.exp (p b): Likewise.
9769         * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
9770         (test value of P in inner_m, test type of Z in inner_m): Call
9771         setup_xfail for gcc <= 4.5.
9772
9773 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9774
9775         * gdb.cp/paren-type.cc: New files.
9776         * gdb.cp/paren-type.exp: New files.
9777
9778 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9779
9780         Stop on first linespec terminator instead of eating what we can.
9781         * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
9782         * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
9783         * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
9784         (break C::f()): ... this one.
9785         (break C::operator()()): New test.
9786         * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
9787         * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
9788         test.
9789
9790 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9791
9792         Fall back linespec to minimal symbols.
9793         * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
9794         error message.
9795         * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
9796         * gdb.cp/minsym-fallback-main.cc: New file.
9797         * gdb.cp/minsym-fallback.cc: New file.
9798         * gdb.cp/minsym-fallback.exp: New file.
9799         * gdb.cp/minsym-fallback.h: New file.
9800
9801 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9802
9803         * gdb.cp/no-dmgl-verbose.cc: New file.
9804         * gdb.cp/no-dmgl-verbose.exp: New file.
9805
9806 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9807
9808         * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
9809         __GI_.
9810         * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
9811         (f): New function.
9812         * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
9813         (complete p 'func<short>(): ... here.
9814         * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
9815         * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
9816         * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
9817         * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
9818         Make them KFAIL gcc/49546.
9819
9820 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
9821
9822         * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
9823
9824 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9825
9826         Test GCC PR debug/49546.
9827         * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
9828         (test type of F in k3_m, test value of F in k3_m): New.
9829         * gdb.cp/temargs.cc (struct S3, struct K3): New.
9830         (main): New variable k3.  Call k3.k3_m.
9831
9832 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
9833
9834         * gdb.ada/packed_array.exp: Fix expected outout.
9835
9836 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
9837
9838         * gdb.ada/packed_array.exp: fixed expected output.
9839
9840 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
9841
9842         * gdb.ada/same_enum: New testcase.
9843
9844 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
9845
9846         * gdb.ada/ptr_typedef: New testcase.
9847
9848 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
9849
9850         * gdb.ada/arrayptr.exp: Add ptype test.
9851
9852 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
9853
9854         * gdb.ada/char_enum: New testcase.
9855
9856 2011-07-01  Yao Qi  <yao@codesourcery.com>
9857
9858         * gdb.base/dump.exp (capture_pointer_with_type): New.
9859         Get value from address instead of name.
9860         Start GDB once, and do `dump' and `restore'
9861         tests together.
9862
9863 2011-06-30  Jie Zhang <jie.zhang@analog.com>
9864             Mike Frysinger  <vapier@gentoo.org>
9865
9866         * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
9867         helper functions for getting/setting remotetimeout variable.
9868         * lib/gdb.exp (gdb_load): If the target is remote, set
9869         $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
9870         with $loadtimeout.  Set $load_ok to 0 before doing the load.
9871         Instead of returning, immediately, set $load_ok to 0.  Call
9872         set_remotetimeout with $oldremotetimeout, and then return if
9873         $load_ok is 1.
9874
9875 2011-06-30  Andrew Burgess  <aburgess@broadcom.com>
9876
9877         * gdb.python/py-template.exp: Don't run this test if the target
9878         does not support c++ tests.
9879
9880 2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
9881
9882         Fix non-only rename list for Fortran modules import.
9883         * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
9884         tests.
9885         * gdb.fortran/module.f90 (module moduse): New.
9886         (program module): use moduse, test var_x, var_y and var_z.
9887
9888 2011-06-29  Tom Tromey  <tromey@redhat.com>
9889
9890         PR testsuite/12040:
9891         * gdb.fortran/array-element.exp: Use f90, not f77.
9892         * gdb.fortran/complex.exp: Use f90, not f77.
9893         * gdb.fortran/derived-type.exp: Use f90, not f77.
9894         * gdb.fortran/library-module.exp: Use f90, not f77.
9895         * gdb.fortran/logical.exp: Use f90, not f77.
9896         * gdb.fortran/module.exp: Use f90, not f77.
9897         * gdb.fortran/multi-dim.exp: Use f90, not f77.
9898         * gdb.fortran/subarray.exp: Use f90, not f77.
9899
9900 2011-06-29  Tom Tromey  <tromey@redhat.com>
9901
9902         * gdb.fortran/charset.exp: New file.
9903         * gdb.fortran/charset.f90: New file.
9904
9905 2011-06-29  Tom Tromey  <tromey@redhat.com>
9906
9907         PR testsuite/12040:
9908         * lib/future.exp: New file, mostly extracted from ada.exp.
9909         Rewrote compatibility code to use rename.
9910         (gdb_find_gfortran): New proc.
9911         (gdb_default_target_compile): Refresh from dejagnu; plus a pending
9912         gfortran patch.
9913         * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
9914         Move to future.exp.
9915         * lib/gdb.exp: Always load future.exp.
9916
9917 2011-06-28  Yao Qi  <yao@codesourcery.com>
9918
9919         * gdb.cp/exception.cc: Don't include iostream.
9920         (bar): Remove print statement.
9921         (catcher): New.
9922         (main): Remove print statements.  Call function catcher.
9923         * gdb.cp/exception.exp : Don't match inferior's output in regexp.
9924         Set breakpoint on catcher, and check the value of parameter.
9925
9926 2011-06-23  Yao Qi  <yao@codesourcery.com>
9927
9928         * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
9929         breakpoint 1.2 is disabled.  KFAIL for uclinux.
9930
9931 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9932
9933         * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
9934         mi_gdb_test.
9935
9936 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9937
9938         * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
9939
9940 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9941
9942         * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
9943
9944 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9945
9946         * gdb.mi/mi2-basics.exp: Fix races.  Honour the
9947         `test_exec_and_symbol_mi_operatons' return value.
9948         (test_mi_interpreter_selection): Use mi_gdb_test instead of
9949         gdb_test_multiple.
9950         (test_exec_and_symbol_mi_operatons): Likewise.
9951         (test_path_specification): Likewise.
9952
9953 2011-06-23  Yao Qi  <yao@codesourcery.com>
9954
9955         * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
9956         supported.
9957         * lib/gdb.exp (support_displaced_stepping): New.
9958
9959 2011-06-23  Yao Qi  <yao@codesourcery.com>
9960
9961         * gdb.threads/execl.exp: Skip on remote target.
9962
9963 2011-06-21  Marek Polacek  <mpolacek@redhat.com>
9964
9965         * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
9966         mi_gdb_test.
9967
9968 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
9969
9970         * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
9971
9972 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
9973
9974         * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
9975         mi_gdb_test.
9976
9977 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
9978
9979         * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
9980
9981 2011-06-14  Yao Qi  <yao@codesourcery.com>
9982
9983         gdb/testsuite/
9984         * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
9985
9986 2011-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9987
9988         * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
9989
9990 2011-06-10  Tom Tromey  <tromey@redhat.com>
9991
9992         * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
9993         Add tests for pointer-to-member-function.
9994         * gdb.cp/temargs.cc (S::somefunc): New function.
9995         (K2): New class.
9996         (main): Instantiate K2; call method.
9997
9998 2011-06-08  Joel Brobecker  <brobecker@adacore.com>
9999
10000         * gdb.python/py-inferior.c (f2): Make str an array rather
10001         than a pointer.
10002         * gdb.python/py-inferior.exp: Adjust testcase accordingly.
10003
10004 2011-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
10005
10006         * gdb.base/async-shell.c: New file.
10007         * gdb.base/async-shell.exp: New file.
10008
10009 2011-06-06  Pedro Alves  <pedro@codesourcery.com>
10010
10011         * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
10012
10013 2011-06-03  Joel Brobecker  <brobecker@adacore.com>  (obvious fix)
10014
10015         From Stephen Kitt  <steve@sk2.org>
10016         * gdb.base/help.exp: Adjust following some spelling corrections
10017         in GDB.
10018
10019 2011-06-01  Yao Qi  <yao@codesourcery.com>
10020
10021         * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
10022
10023 2010-05-31  Keith Seitz  <keiths@redhat.com>
10024
10025         PR c++/12750
10026         * gdb.cp/static-method.cc: New file.
10027         * gdb.cp/static-method.exp: New file.
10028
10029 2010-05-31  Keith Seitz  <keiths@redhat.com>
10030
10031         PR symtab/12704
10032         * gdb.cp/anon-ns.cc: New file.
10033         * gdb.cp/anon-ns.exp: New file.
10034
10035 2011-05-31  Pedro Alves  <pedro@codesourcery.com>
10036
10037         * gdb.arch/i386-dr3-watch.c: New file.
10038         * gdb.arch/i386-dr3-watch.exp: New file.
10039
10040 2011-05-30  Yao Qi  <yao@codesourcery.com>
10041
10042         * gdb.base/callfuncs.c (t_structs_fc): New.
10043         (t_structs_dc, t_structs_ldc): New.
10044         (t_double_many_args):
10045         (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
10046         (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
10047         (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
10048         * gdb.base/callfuncs.exp: Call new functions.
10049
10050 2011-05-30  Yao Qi  <yao@codesourcery.com>
10051
10052         * gdb.base/callfuncs.exp (rerun_and_prepare): New.
10053         Call rerun_and_prepare for each test to isolate effects.
10054
10055 2011-05-30  Yao Qi  <yao@codesourcery.com>
10056
10057         * gdb.base/varargs.c (find_max_float_real): New.
10058         (find_max_double_real, find_max_long_double_real): New.
10059         * gdb.base/varargs.exp: Call these new added functions.
10060         * lib/gdb.exp (setup_kfail_for_target): New.
10061
10062 2011-05-30  Yao Qi  <yao@codesourcery.com>
10063
10064         * gdb.base/funcargs.c (callca, callcb, callcc): New.
10065         (callcd, callce, callcf, callc1a, callc1b): New.
10066         (callc2a, callc2b): New.
10067         * gdb.base/funcargs.exp (complex_args): New.
10068         (complex_integral_args, complex_float_integral_args): New.
10069         * lib/gdb.exp (support_complex_tests): New.  Determine
10070         whether to run test cases on _Complex types.
10071
10072 2011-05-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
10073
10074         * gdb.threads/leader-exit.c: New file.
10075         * gdb.threads/leader-exit.exp: New file.
10076
10077 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
10078
10079         * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
10080
10081 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
10082
10083         * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
10084         remove the `supported' variable.
10085         * gdb.mi/mi-nonstop.exp: Likewise.
10086         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10087         * gdb.mi/mi-nsintrall.exp: Likewise.
10088         * gdb.mi/mi-nsmoribund.exp: Likewise.
10089         * gdb.mi/mi-nsthrexec.exp: Likewise.
10090
10091 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
10092
10093         * gdb.reverse/finish-reverse-bkpt.exp: New test.
10094
10095 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
10096
10097         * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
10098
10099 2011-05-24  Keith Seitz  <keiths@redhat.com>
10100
10101         PR breakpoint/12803
10102         * gdb.cp/cmpd-minsyms.cc (a): New method.
10103         (b): New method.
10104         (c): New method.
10105         * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
10106
10107 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
10108
10109         * gdb.base/commands.exp (watchpoint_command_test): Check that the
10110         watchpoint's command list didn't execute when the watchpoint went
10111         out of scope.
10112
10113 2011-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
10114
10115         Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
10116         * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
10117         * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
10118         * gdb.arch/i386-gnu-cfi.exp: Likewise.
10119         * gdb.arch/i386-permbkpt.exp: Likewise.
10120         * gdb.arch/i386-prologue.exp: Likewise.
10121         * gdb.arch/i386-size-overlap.exp: Likewise.
10122         * gdb.arch/i386-size.exp: Likewise.
10123         * gdb.arch/i386-unwind.exp: Likewise.
10124         * gdb.reverse/i386-precsave.exp: Likewise.
10125         * gdb.reverse/i386-reverse.exp: Likewise.
10126         * gdb.reverse/i386-sse-reverse.exp: Likewise.
10127         * gdb.reverse/i387-env-reverse.exp: Likewise.
10128         * gdb.reverse/i387-stack-reverse.exp: Likewise.
10129
10130 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
10131
10132         * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
10133         file doesn't error, using MI.
10134
10135 2011-05-23  Tom Tromey  <tromey@redhat.com>
10136
10137         * gdb.base/charset.exp (string_display): Add tests to assign to
10138         arrays.
10139         * gdb.base/charset.c (short_array, int_array, long_array): New.
10140
10141 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
10142
10143         Cope with async mode.
10144
10145         * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
10146         into gdb_test + mi_expect_stop.
10147
10148 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
10149
10150         * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
10151         (callme): Remove printf call.
10152
10153 2011-05-20  Pierre Muller  <muller@ics.u-strasbg.fr>
10154
10155         * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
10156         quote pattern to avoid problems with Cygwin/mingw expect versions.
10157         * gdb.base/default.exp (show convenience): Use double
10158         quote pattern for regular expressions.
10159
10160 2011-05-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10161
10162         Fix -readnow for -gdwarf-4 unused type units.
10163         * gdb.dwarf2/dw4-sig-type-unused.S: New file.
10164         * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
10165
10166 2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
10167
10168         * gdb.base/kill-after-signal.c: New file.
10169         * gdb.base/kill-after-signal.exp: New file.
10170
10171 2011-05-16  Pedro Alves  <pedro@codesourcery.com>
10172
10173         * gdb.ada/start.exp: Call untested with the correct test filename.
10174         * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
10175         test filename.  Make the test's binary unique.
10176         * gdb.arch/i386-signal.exp: Call untested with the correct test
10177         filename.
10178         * gdb.arch/i386-size-overlap.exp: Ditto.
10179         * gdb.arch/Makefile.in (EXECUTABLES): Update.
10180         * gdb.base/gcore-buffer-overflow.exp: Ditto.
10181         * gdb.cp/call-c.exp: Ditto.
10182         * gdb.mi/mi-reverse.exp: Call untested with the correct test
10183         filename.  Make the test's binary unique.
10184         * gdb.mi/Makefile.in (EXECUTABLES): Update.
10185         * gdb.python/py-mi.exp: Ditto.
10186         * gdb.python/Makefile.in (EXECUTABLES): Update.
10187         * gdb.reverse/i386-precsave.exp: Ditto.
10188         * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
10189         test filename.
10190         * gdb.reverse/i387-stack-reverse.exp: Ditto.
10191         * gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
10192         unique.
10193         * gdb.reverse/sigall-reverse.exp: Call untested with the correct
10194         test filename.
10195         * gdb.reverse/Makefile.in (EXECUTABLES): Update.
10196         * gdb.trace/tfile.exp: Ditto.
10197
10198 2011-05-14  Yao Qi  <yao@codesourcery.com>
10199
10200         * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
10201         type.
10202
10203 2011-05-13  Doug Evans  <dje@google.com>
10204
10205         * gdb.python/py-objfile-script.exp: New file.
10206         * gdb.python/py-objfile-script.c: New file.
10207         * gdb.python/py-objfile-script-gdb.py: New file.
10208         * testsuite/gdb.python/py-section-script.exp: Test
10209         "info auto-load-scripts".
10210
10211 2011-05-13  Tom Tromey  <tromey@redhat.com>
10212
10213         * gdb.dwarf2/clztest.exp: New file.
10214         * gdb.dwarf2/clztest.c: New file.
10215         * gdb.dwarf2/clztest.S: New file.
10216
10217 2011-05-13  Doug Evans  <dje@google.com>
10218
10219         * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
10220         String16 tests.
10221
10222 2011-05-13  Tom Tromey  <tromey@redhat.com>
10223
10224         * lib/gdb.exp (is_x86_like_target): New proc.
10225         * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
10226         * gdb.dwarf2/valop.exp: Use is_x86_like_target.
10227         * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
10228         -nostdlib to compiler.
10229         * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
10230         * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
10231         * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
10232         * gdb.dwarf2/dw2-restore.exp: Check for LP64.
10233         * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
10234
10235 2011-05-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10236
10237         * gdb.python/py-function.exp: Test setting a value from a function
10238         which executes a command.
10239
10240 2011-05-12  Tom Tromey  <tromey@redhat.com>
10241
10242         * gdb.dwarf2/typeddwarf.S: New file.
10243         * gdb.dwarf2/typeddwarf.c: New file.
10244         * gdb.dwarf2/typeddwarf.exp: New file.
10245
10246 2011-05-12  Marek Polacek  <mpolacek@redhat.com>
10247
10248         * gdb.mi/mi-basics.exp: Fix races.  Honour the
10249         `test_exec_and_symbol_mi_operatons' return value.
10250         (test_mi_interpreter_selection): Use mi_gdb_test instead of
10251         gdb_test_multiple.
10252         (test_exec_and_symbol_mi_operatons): Likewise.
10253         (test_path_specification): Likewise.
10254
10255 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10256
10257         * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
10258         (gdb_touch_execfile): Remove catch wrappers.  New variable time.
10259         Replace `file copy' and `file rename' by `file mtime'.  Twice.
10260
10261 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10262
10263         * gdb.base/readline-ask.c: New file.
10264         * gdb.base/readline-ask.exp: New file.
10265         * gdb.base/readline-ask.inputrc: New file.
10266
10267 2011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
10268
10269         * gdb.cell/bt.exp: Delete breakpoints before running to signal
10270         to avoid race condition.
10271         * gdb.cell/coremaker.c: Use small stack size.
10272         * gdb.cell/ea-standalone.exp: Use file name without path as
10273         argument to c_to.
10274         * gdb.cell/fork.exp: Allow other output when continuing to end.
10275
10276 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
10277
10278         * gdb.threads/corethreads.c: New file.
10279         * gdb.threads/corethreads.exp: New file.
10280
10281 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
10282
10283         * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
10284         Try to compile the test using -Wl,-z,norelro first.
10285         (load_core): New variable libthread_db_seen, initialize it.
10286         (zeroed-threads cannot be listed): Protect it by XFAIL on
10287         !$libthread_db_seen.
10288
10289 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
10290
10291         PR 12573
10292         * gdb.dwarf2/dw2-skip-prologue.S: New file.
10293         * gdb.dwarf2/dw2-skip-prologue.c: New file.
10294         * gdb.dwarf2/dw2-skip-prologue.exp: New file.
10295
10296 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
10297
10298         * gdb.cp/psymtab-parameter.cc: New file.
10299         * gdb.cp/psymtab-parameter.exp: New file.
10300
10301 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
10302
10303         Fix a race.
10304         * gdb.cp/static-print-quit.exp (print c): Split to ...
10305         (print c - <return>, print c - q <return>, print c - to quit):
10306         ... these.  Make the testfile untested on gdb-7.1.
10307
10308 2011-5-05  Janis Johnson  <janisjo@codesourcery.com>
10309
10310         * lib/gdb.exp (exec_target_file, exec_symbol_file,
10311         gdb_rename_execfile, gdb_touch_execfile): New.
10312         * gdb.base/reread.exp: Use new procs to handle multiple
10313         exec files.
10314
10315 2011-05-05  Yao Qi  <yao@codesourcery.com>
10316
10317         * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
10318         (test_adr_32bit, test_pop_pc): New.
10319         * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
10320         (test_adr_32bit, test_pop_pc): New.
10321
10322 2011-05-04  Joseph Myers  <joseph@codesourcery.com>
10323
10324         * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
10325         * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
10326         targets.
10327         * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
10328         handle targets.
10329
10330 2011-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10331
10332         * gdb.base/completion.exp (complete help info wat): Rename to ...
10333         (complete 'help info wat'): ... here.
10334         Remove all `-re ".*' and `-re "^.*' redundant regexes.
10335         (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
10336
10337 2011-05-04  Pedro Alves  <pedro@codesourcery.com>
10338
10339         * gdb.base/completion.exp: Use gdb_test_multiple instead of
10340         gdb_test and explicit $gdb_prompt/timeout matches.
10341
10342 2011-05-04  Yao Qi  <yao@codesourcery.com>
10343
10344         * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
10345         and __thumb2__.
10346
10347 2011-05-03  Marek Polacek  <mpolacek@redhat.com>
10348
10349         * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
10350         in place of `gdb_test "delete breakpoints"'.  This eliminates two
10351         testcases.
10352
10353 2011-05-02  Pedro Alves  <pedro@codesourcery.com>
10354
10355         PR testsuite/12649
10356         Fix races.
10357
10358         * gdb.base/completion.exp: Remove all sleep calls.  Remove
10359         unnecessary regexs.  Don't explicitly expect anything after the
10360         prompt.  Eat the prompt if necessary.
10361
10362 2011-05-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10363
10364         * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
10365         accept to show the caller line again as well as the line after.
10366
10367 2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>
10368
10369         PR mi/12531
10370
10371         * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
10372         compile target.
10373         * gdb.python/py-prettyprint.exp: Add C++ object for
10374         CPLUS_FAKE_CHILD test.
10375
10376 2011-04-28  Ulrich Weigand  <ulrich.weigand@linaro.org>
10377
10378         * gdb.base/signest.exp: New file.
10379         * gdb.base/signest.c: Likewise.
10380
10381 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10382
10383         * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
10384         thread and breakpoint notifications.
10385
10386 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
10387
10388         * gdb.base/fortran-sym-case.c: New file.
10389         * gdb.base/fortran-sym-case.exp: New file.
10390         * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
10391         * gdb.dwarf2/dw2-case-insensitive.c: New file.
10392         * gdb.dwarf2/dw2-case-insensitive.exp: New file.
10393
10394 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
10395
10396         * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
10397         * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
10398         false #1', `if true else false #2' and `if true else false #3'.
10399
10400 2011-04-27  Ulrich Weigand  <ulrich.weigand@linaro.org>
10401
10402         * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
10403         while delivering signal.
10404
10405 2011-04-27  Vladimir Prus  <vladimir@codesourcery.com>
10406
10407         MI breakpoint notifications.
10408
10409         * testsuite/gdb.mi/mi-cli.exp: Adust.
10410         * testsuite/gdb.mi/mi2-cli.exp: Adust.
10411         * testsuite/gdb.mi/mi-watch.exp: Adust.
10412         * testsuite/gdb.mi/mi2-watch.exp: Adust.
10413         * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
10414         notifications.
10415
10416 2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
10417
10418         * gdb.base/gdbindex-stabs-dwarf.c: New file.
10419         * gdb.base/gdbindex-stabs.c: New file.
10420         * gdb.base/gdbindex-stabs.exp: New file.
10421
10422 2011-04-25  Yao Qi  <yao@codesourcery.com>
10423
10424         * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
10425         with /*...*/.
10426         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
10427
10428 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
10429
10430         * gdb.python/py-value.exp (test_objfiles): Name the first test
10431         `py-value in file.filename'.
10432
10433 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
10434
10435         * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
10436         * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
10437         * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
10438         !gdbserver_reconnect_p..
10439         (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
10440
10441 2011-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10442
10443         * gdb.cp/cpcompletion.exp (complete class methods)
10444         (complete class methods beginning with F): Move them above runto.  New
10445         comment about the runto delimiter.
10446
10447 2011-04-20  Pedro Alves  <pedro@codesourcery.com>
10448
10449         * gdb.base/maint.exp: Test that "maint print registers" works
10450         without a running program.
10451
10452 2011-04-20  Marek Polacek  <mpolacek@redhat.com>
10453
10454         * gdb.base/setshow.exp: Fix racy tests.
10455         ($old_gdb_prompt): New variable.
10456
10457 2011-04-19  Tom Tromey  <tromey@redhat.com>
10458
10459         * gdb.mi/mi-nsmoribund.exp:
10460         * gdb.hp/gdb.objdbg/objdbg01.exp:
10461         * gdb.base/structs.exp (test_struct_returns):
10462         * gdb.base/call-sc.exp (test_scalar_returns):
10463         * gdb.base/bigcore.exp: Remove duplicate words.
10464
10465 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
10466
10467         * gdb.base/break-interp-lib.c (v, vptr): New variables.
10468         * gdb.base/break-interp.exp (test_attach): New comment.
10469
10470 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
10471
10472         * gdb.threads/gcore-thread.exp ($core0file): New variable.
10473         (clear __stack_user.next, clear stack_used.next)
10474         (save a zeroed-threads corefile): New test.
10475         Call core_load for $core0file.
10476         (zeroed-threads cannot be listed): New test.
10477
10478 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
10479
10480         * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
10481         filename.
10482         ($srcfile): Preserve the original value.
10483         ($testfile): Match it the .exp filename.
10484         ($corefile): New variable.  Substitute it around.
10485         Use clean_restart.
10486         ($prev_timeout): Remove.
10487         (load_core): Move core loading into this proc.
10488         Fix restore of $timeout if load_core fails.
10489
10490 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
10491
10492         * gdb.base/eu-strip-infcall.c: New file.
10493         * gdb.base/eu-strip-infcall.exp: New file.
10494
10495 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
10496
10497         * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
10498         * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
10499
10500 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
10501
10502         Fix Python access to inlined frames.
10503         * gdb.python/py-frame-inline.c: New file.
10504         * gdb.python/py-frame-inline.exp: New file.
10505
10506 2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10507
10508         * gdb.base/gdb1090.exp: Change breakpoint location to read the
10509         content of 's24' correctly (avoiding "optimized out").
10510         * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
10511
10512 2011-04-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
10513
10514         * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
10515
10516 2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10517
10518         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
10519         expect a colon in watch -location output.
10520
10521 2011-04-13  Marek Polacek  <mpolacek@redhat.com>
10522
10523         * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
10524         New testcase `expect response to define backtrace'.  Also remove
10525         redundant `default' block.
10526
10527 2011-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10528
10529         * gdb.python/py-prettyprint.c (struct hint_error): New.
10530         (main): New variable hint_error.
10531         * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
10532         "print hint_error".
10533         * gdb.python/py-prettyprint.py (class pp_hint_error): New.
10534         (register_pretty_printers): Register it.
10535
10536 2011-04-04  Tom Tromey  <tromey@redhat.com>
10537
10538         * gdb.cp/maint.exp (test_help): Update.
10539         (test_namespace): Likewise.
10540
10541 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
10542
10543         * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
10544         * gdb.ada/arrayptr.exp: Add new tests.
10545
10546 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
10547
10548         * gdb.ada/mi_catch_ex: New testcase.
10549
10550 2011-04-01  Pedro Alves  <pedro@codesourcery.com>
10551
10552         * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
10553         base::overload(void) method without specifying "const".
10554
10555 2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
10556
10557         * gdb.arch/thumb-singlestep.S: New file.
10558         * gdb.arch/thumb-singlestep.exp: Likewise.
10559
10560 2011-03-31  Tom Tromey  <tromey@redhat.com>
10561
10562         * gdb.python/py-prettyprint.py (exception_flag): New global.
10563         (NoStringContainerPrinter._iterator.next): Check it.
10564         * gdb.python/py-prettyprint.c (main): New variable nstype2.
10565         * gdb.python/py-mi.exp: Set exception_flag and do more tests.
10566
10567 2011-03-29  Tom Tromey  <tromey@redhat.com>
10568
10569         * gdb.cp/anon-struct.cc: New file.
10570         * gdb.cp/anon-struct.exp: New file.
10571
10572 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10573
10574         Test STT_GNU_IFUNC support.
10575         * gdb.base/gnu-ifunc-lib.c: New file.
10576         * gdb.base/gnu-ifunc.c: New file.
10577         * gdb.base/gnu-ifunc.exp: New file.
10578
10579 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10580
10581         Support a ring of related breakpoints.
10582         * gdb.base/watchpoint-delete.c: New file.
10583         * gdb.base/watchpoint-delete.exp: New file.
10584
10585 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10586
10587         * gdb.ada/arrayparam.exp (print first after function call): Use
10588         explicit package name.  Add a comment
10589         (print lasta after function call): Rename ...
10590         (print last after function call): ... it and use explicit package
10591         name.
10592         (print length after function call): Use explicit package name.
10593         * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
10594         * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
10595         (multiple matches for symbol i): Rename ...
10596         (multiple matches for symbol integervar): ... it.
10597         * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
10598         * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
10599
10600 2011-03-25  Andrew Burgess  <aburgess@broadcom.com>
10601
10602         * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
10603         environment variable to make grep output more predictable. Move
10604         all the environment setup into gdb_init so it's done once per test
10605         case rather than each time we start gdb.
10606
10607 2011-03-24  Tom Tromey  <tromey@redhat.com>
10608
10609         * gdb.base/label.exp: Use `main:there' linespec.  Add re-running
10610         test.
10611
10612 2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
10613
10614         * gdb.dwarf2/dw2-entry-value-main.c: New file.
10615         * gdb.dwarf2/dw2-entry-value.S: New file.
10616         * gdb.dwarf2/dw2-entry-value.exp: New file.
10617
10618 2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
10619
10620         PR python/12183
10621
10622         * gdb.python/py-function.exp: Add GdbError tests.
10623
10624 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
10625
10626         * gdb.trace/unavailable.cc (args_test_func, local_test_func)
10627         (reglocal_test_func, statlocal_test_func): New functions.
10628         (globals_test_func): Call new functions.
10629         * gdb.trace/unavailable.exp (gdb_collect_args_test)
10630         (gdb_collect_locals_test): New procedure.
10631         (gdb_trace_collection_test): Call new procedures.
10632
10633 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
10634
10635         * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
10636         (test_register, test_register_unavailable): New procedures.
10637         (gdb_unavailable_registers_test): New procedure.
10638         (gdb_trace_collection_test): Call it.
10639
10640 2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
10641
10642         PR python/12149
10643
10644         * gdb.python/python.exp: Add gdb.write tests.
10645
10646 2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
10647
10648         * gdb.python/Makefile.in: Add py-objfile.
10649         * gdb.python/py-objfile.exp: New file.
10650         * gdb.python/py-objfile.c: New file.
10651         * gdb.python/py-block.exp: Add is_valid tests.
10652         * gdb.python/py-inferior.exp: Ditto.
10653         * gdb.python/py-infthread.exp: Ditto.
10654         * gdb.python/py-symbol.exp: Ditto.
10655         * gdb.python/py-symtab.exp: Ditto.
10656
10657 2011-03-16  Keith Seitz  <keiths@redhat.com>
10658
10659         PR c++/12273
10660         * gdb.cp/cmpd-minsyms.exp: New test.
10661         * gdb.cp/cmpd-minsyms.cc: New file.
10662
10663         PR c++/11734
10664         * gdb.cp/ovsrch.exp: New test.
10665         * gdb.cp/ovsrch.h: New file.
10666         * gdb.cp/ovsrch1.cc: New file.
10667         * gdb.cp/ovsrch2.cc: New file.
10668         * gdb.cp/ovsrch3.cc: New file.
10669         * gdb.cp/ovsrch4.cc: New file.
10670
10671 2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
10672
10673         PR gdb/12528
10674         * gdb.base/Makefile.in: Adjust EXECUTABLES.
10675         * gdb.base/break-on-linker-gcd-function.exp: New test.
10676         * gdb.base/break-on-linker-gcd-function.cc: New file.
10677
10678 2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
10679
10680         * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
10681
10682 2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
10683
10684         * lib/gdb.exp (gdb_unload): Add another termination case.
10685
10686 2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
10687
10688         * gdb.dwarf2/dw2-empty-pc-range.S: New file.
10689         * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
10690         * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
10691         Provide a stub byte there.
10692         (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
10693         DW_AT_entry_pc.
10694         (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
10695
10696 2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
10697
10698         * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
10699         using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
10700         "generic ABI, auto".
10701         (altivec_abi_tests): Accept vectors returned by reference.
10702
10703 2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
10704
10705         * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
10706
10707 2011-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
10708
10709         * gdb.python/py-section-script.exp: Skip test if no Python support.
10710
10711 2011-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
10712
10713         * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
10714
10715 2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
10716
10717         * gdb.python/py-parameter.exp: Update tests to the new Python
10718         parameter API. Add "no documentation" test.  Add deprecated API
10719         backward compatibility test.
10720
10721 2011-03-09  Tom Tromey  <tromey@redhat.com>
10722
10723         * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
10724         gdb_continue_to_end.
10725
10726 2011-03-09  Mark Kettenis  <kettenis@gnu.org>
10727
10728         * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
10729         tabs.
10730
10731 2011-03-09  Tom Tromey  <tromey@redhat.com>
10732
10733         * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
10734         parentheses.
10735         (gdb_continue_to_end): Add "allow_extra" parameter.  Use
10736         $command.
10737         * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
10738         argument to gdb_continue_to_end.
10739         * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
10740         argument to gdb_continue_to_end.
10741         * gdb.cp/annota3.exp: Fix regex.
10742         * gdb.cp/annota2.exp: Fix regex.
10743         * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
10744         gdb_continue_to_end.
10745         * gdb.base/call-signal-resume.exp: Revert earlier patch.
10746         * gdb.ada/tasks.exp: Pass "allow_extra" argument to
10747         gdb_continue_to_end.
10748
10749 2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
10750
10751         * gdb.server/ext-run.exp
10752         (load new file without any gdbserver inferior): New test.
10753
10754 2011-03-07  Tom Tromey  <tromey@redhat.com>
10755
10756         * Makefile.in (TAGS): Rewrite.
10757
10758 2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
10759
10760         * gdb.trace/report.exp (12.1: trace report #1): New match for the
10761         initial commands echo.  New match for `Found trace'.  Anchor all the
10762         other matches.  Anchor and match for `No trace frame found' the final
10763         match.
10764
10765 2011-03-07  Tom Tromey  <tromey@redhat.com>
10766
10767         * Makefile.in (TAGS): New target.
10768
10769 2011-03-07  Tom Tromey  <tromey@redhat.com>
10770
10771         * lib/opencl.exp (skip_opencl_tests): Update for exit message
10772         change.
10773         * lib/mi-support.exp (mi_gdb_test): Update for exit message
10774         change.
10775         * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
10776         exit message change.
10777         (skip_altivec_tests): Update for exit message change.
10778         (skip_vsx_tests): Likewise.
10779         (gdb_continue_to_end): Likewise.  Add 'command' argument.
10780         * lib/cell.exp (skip_cell_tests): Update for exit message change.
10781         * gdb.threads/tls.exp: Update for exit message change.
10782         * gdb.threads/thread-unwindonsignal.exp: Use
10783         gdb_continue_to_end.
10784         * gdb.threads/step.exp (step_it): Update for exit message change.
10785         (continue_all): Likewise.
10786         * gdb.threads/print-threads.exp (test_all_threads): Update for
10787         exit message change.
10788         * gdb.threads/interrupted-hand-call.exp: Use
10789         gdb_continue_to_end.
10790         * gdb.threads/execl.exp: Use gdb_continue_to_end.
10791         * gdb.python/py-prettyprint.exp (run_lang_tests): Use
10792         gdb_continue_to_end.
10793         * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
10794         * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
10795         * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
10796         * gdb.cp/method.exp: Update for exit message change.
10797         * gdb.cp/mb-templates.exp: Update for exit message change.
10798         * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
10799         * gdb.cp/annota3.exp: Update for exit message change.
10800         * gdb.cp/annota2.exp: Update for exit message change.
10801         * gdb.cell/fork.exp: Use gdb_continue_to_end.
10802         * gdb.base/term.exp: Update for exit message change.
10803         * gdb.base/step-test.exp (test_i): Update for exit message change.
10804         * gdb.base/sigstep.exp (advance): Update for exit message change.
10805         (advancei): Likewise.
10806         * gdb.base/siginfo.exp: Update for exit message change.
10807         * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
10808         * gdb.base/reread.exp: Use gdb_continue_to_end.
10809         * gdb.base/langs.exp: Use gdb_continue_to_end.
10810         * gdb.base/interrupt.exp: Update for exit message change.
10811         * gdb.base/gdb1555.exp: Update for exit message change.
10812         * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
10813         * gdb.base/ending-run.exp: Update for exit message change.
10814         * gdb.base/chng-syms.exp: Update for exit message change.
10815         * gdb.base/checkpoint.exp: Update for exit message change.
10816         * gdb.base/catch-syscall.exp (check_for_program_end): Use
10817         gdb_continue_to_end.
10818         (test_catch_syscall_with_wrong_args): Likewise.
10819         * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
10820         * gdb.base/break-interp.exp (test_ld): Update for exit message
10821         change.
10822         * gdb.base/bang.exp: Update for exit message change.
10823         * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
10824         (do_call_attach_tests): Likewise.
10825         * gdb.base/a2-run.exp: Update for exit message change.
10826         * gdb.arch/ppc-dfp.exp: Update for exit message change.
10827         * gdb.ada/tasks.exp: Use gdb_continue_to_end.
10828         * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
10829
10830 2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10831
10832         * gdb.base/help.exp (help thread find): Fix one forgotten quote.
10833
10834 2011-03-03  Tom Tromey  <tromey@redhat.com>
10835
10836         * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
10837         * gdb.hp/gdb.aCC/configure (Makefile): Remove.
10838         * gdb.hp/gdb.aCC/configure.ac: Remove.
10839         * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
10840         * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
10841         * gdb.hp/gdb.base-hp/configure.ac: Remove.
10842         * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
10843         * gdb.hp/gdb.compat/configure (Makefile): Remove.
10844         * gdb.hp/gdb.compat/configure.ac: Remove.
10845         * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
10846         * gdb.hp/gdb.defects/configure (Makefile): Remove.
10847         * gdb.hp/gdb.defects/configure.ac: Remove.
10848         * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
10849         * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
10850         * gdb.hp/gdb.objdbg/configure.ac: Remove.
10851         * gdb.hp/configure.ac: Remove.
10852         * gdb.hp/configure: Remove.
10853         * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
10854         substitution.
10855         (Makefile): Remove rule.
10856         * gdb.cell/configure.ac: Remove.
10857         * gdb.cell/configure: Remove.
10858         * gdb.stabs/Makefile.in (Makefile): Remove.
10859         (distclean): Don't remove config.status or config.log.
10860         * gdb.stabs/configure (Makefile): Remove.
10861         * gdb.stabs/configure.ac: Remove.
10862         * configure: Rebuild.
10863         * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
10864         Remove stabs- and cell-specific logic.  Test for existence of
10865         ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
10866         subdirectories, gdb.cell, and and gdb.stabs.
10867         * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
10868
10869 2011-03-03  Joel Brobecker  <brobecker@adacore.com>
10870
10871         * gdb.python/py-inferior.exp: Avoid searching pattern beyond
10872         end of buffer.
10873
10874 2011-03-02  Joel Brobecker  <brobecker@adacore.com>
10875
10876         * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
10877         gdb_test when running a test where we expected no output back.
10878
10879 2011-02-28  Michael Snyder  <msnyder@vmware.com>
10880
10881         * gdb.cp/overload.cc: Change initializer value to integer.
10882
10883 2011-02-27  Michael Snyder  <msnyder@vmware.com>
10884
10885         * gdb.multi/base.exp: Add test for remove-inferiors.
10886
10887 2011-02-26  Joel Brobecker  <brobecker@adacore.com>
10888
10889         * gdb.python/py-frame.exp: Simplify the initialization phase
10890         using prepare_for_testing.
10891
10892 2011-02-25  Michael Snyder  <msnyder@vmware.com>
10893
10894         * gdb.multi/base.exp: Add tests for info inferiors with args.
10895
10896 2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
10897
10898         * gdb.dwarf2/dw2-ranges.S: Rename to ...
10899         * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
10900         * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
10901         Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
10902         asmfile3.  Comment the STABS (#3) file compilation.  Compile
10903         everything through assembler.  Provide KFAIL for symtab/12497.
10904         * gdb.dwarf2/dw2-ranges2.S: Rename to ...
10905         * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
10906         * gdb.dwarf2/dw2-ranges3.S: Rename to ...
10907         * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
10908
10909 2011-02-24  Michael Snyder  <msnyder@vmware.com>
10910
10911         * gdb.base/break.exp: Add tests for delete breakpoints using
10912         convenience variables and value history references.
10913
10914 2011-02-24  Michael Snyder  <msnyder@vmware.com>
10915
10916         * gdb.base/break.exp: Remove debugging 'printf' accidentally
10917         left behind in previous check-in.
10918
10919 2011-02-23  Michael Snyder  <msnyder@vmware.com>
10920
10921         * gdb.base/break.exp: Add tests for "info break" with arguments.
10922         * gdb.trace/infotrace.exp: Update patterns for error and help.
10923         * gdb.base/completion.exp: Update pattern.
10924         * gdb.base/ena-dis-br.exp: Update pattern.
10925         * gdb.base/help.exp: Update patterns.
10926
10927 2011-02-23  Michael Snyder  <msnyder@vmware.com>
10928
10929         * gdb.base/memattr.exp: New test.
10930         * gdb.base/memattr.c: Test load for memattr.exp.
10931
10932 2011-02-22  Doug Evans  <dje@google.com>
10933
10934         * gdb.python/py-symbol.exp: Test lookup_global_symbol.
10935
10936 2011-02-22  Michael Snyder  <msnyder@vmware.com>
10937
10938         * Makefile.in: Make more clean.
10939         * gdb.ada/Makefile.in: Ditto.
10940         * gdb.arch/Makefile.in: Ditto.
10941         * gdb.asm/Makefile.in: Ditto.
10942         * gdb.base/Makefile.in: Ditto.
10943         * gdb.cp/Makefile.in: Ditto.
10944         * gdb.dwarf2/Makefile.in: Ditto.
10945         * gdb.java/Makefile.in: Ditto.
10946         * gdb.mi/Makefile.in: Ditto.
10947         * gdb.modula2/Makefile.in: Ditto.
10948         * gdb.python/Makefile.in: Ditto.
10949         * gdb.server/Makefile.in: Ditto.
10950         * gdb.stabs/Makefile.in: Ditto.
10951         * gdb.threads/Makefile.in: Ditto.
10952         * gdb.trace/Makefile.in: Ditto.
10953
10954 2011-02-22  Michael Snyder  <msnyder@vmware.com>
10955
10956         * gdb.threads/thread-find.exp: Add tests for bad input to
10957         info threads.
10958
10959 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
10960
10961         * gdb.python/py-breakpoint.exp: Fix the expected output of
10962         one of the "maint info breakpoints" tests to accept the output
10963         generated on platforms that do not have hardware watchpoints.
10964
10965 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
10966
10967         * gdb.python/py-breakpoint.exp: Remove unnecessary call to
10968         clean_restart.  Be a little stricter in the expected output
10969         for one of the tests.  Fix a typo in one of the comments.
10970
10971 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
10972
10973         * gdb.python/py-block.exp: Simplify using prepare_for_testing.
10974         Delete variable binfile, no longer use.  Add or modify test
10975         comments to make them unique.
10976
10977 2011-02-21  Michael Snyder  <msnyder@vmware.com>
10978
10979         * Makefile.in: Update for make clean.
10980         * gdb.ada/Makefile.in: Ditto.
10981         * gdb.arch/Makefile.in: Ditto.
10982         * gdb.asm/Makefile.in: Ditto.
10983         * gdb.base/Makefile.in: Ditto.
10984         * gdb.cp/Makefile.in: Ditto.
10985         * gdb.dwarf2/Makefile.in: Ditto.
10986         * gdb.java/Makefile.in: Ditto.
10987         * gdb.mi/Makefile.in: Ditto.
10988         * gdb.modula2/Makefile.in: Ditto.
10989         * gdb.python/Makefile.in: Ditto.
10990         * gdb.server/Makefile.in: Ditto.
10991         * gdb.stabs/Makefile.in: Ditto.
10992         * gdb.threads/Makefile.in: Ditto.
10993         * gdb.trace/Makefile.in: Ditto.
10994
10995 2011-02-21  Michael Snyder  <msnyder@vmware.com>
10996
10997         * gdb.threads/thread-find.exp: Update patterns for changes in
10998         output of "info threads" command.
10999
11000 2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
11001             Ulrich Weigand  <uweigand@de.ibm.com>
11002
11003         * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
11004         (skip_hw_watchpoint_tests): Likewise.
11005         (skip_hw_watchpoint_multi_tests): Likewise.
11006
11007 2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
11008
11009         * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
11010         (skip_hw_watchpoint_tests): Likewise.
11011         (skip_hw_watchpoint_multi_tests): Likewise.
11012         (skip_hw_watchpoint_access_tests): Likewise.
11013
11014         * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
11015         * gdb.base/pr11022.exp: Likewise.
11016         * gdb.base/watch-read.exp: Likewise.
11017         * gdb.base/watch_thread_num.exp: Likewise.
11018         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
11019         * gdb.base/watchpoint-hw.exp: Likewise.
11020         * gdb.base/watchpoint.exp: Likewise.
11021         * gdb.threads/local-watch-wrong-thread.exp: Likewise.
11022         * gdb.threads/watchthreads-reorder.exp: Likewise.
11023         * gdb.threads/watchthreads.exp: Likewise.
11024         * gdb.threads/watchthreads2.exp: Likewise.
11025
11026 2011-02-21  Joel Brobecker  <brobecker@adacore.com>
11027
11028         * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
11029         the debugger is unable to find the array bounds.
11030
11031 2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
11032
11033         * gdb.cp/typedef-operator.exp: New file.
11034         * gdb.cp/typedef-operator.cc: New file.
11035
11036 2011-02-17  Michael Snyder  <msnyder@vmware.com>
11037
11038         * gdb.threads/thread-find.exp: Fix regular expressions.
11039
11040 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
11041
11042         * gdb.ada/packed_array: Expand testcase to test printing of
11043         unconstrained packed array.
11044
11045 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
11046
11047         * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
11048
11049 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
11050
11051         * gdb.trace/collection.c (globalarr3): New global.
11052         (main): Initialize it before collecting, and and clear it
11053         afterwards.
11054         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
11055         collecting with '{type} addr', where the addr expression is not an
11056         rvalue.
11057
11058 2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
11059
11060         * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
11061         a bool variable. Expect correct OpenCL names for vector types. Use the
11062         uc3 variable name instead of referring to the uchar3 built-in type.
11063         Escape the asterisk at the half pointer test.
11064
11065 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
11066
11067         * gdb.trace/collection.c (globalarr2): New global.
11068         (main): Initialize it before collecting, and and clear it
11069         afterwards.
11070         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
11071         collecting overlapping memory ranges.
11072
11073 2011-02-15  Michael Snyder  <msnyder@vmware.com>
11074
11075         * gdb.base/default.exp: Add tests for thread commands.
11076         * gdb.base/help.exp: Add tests for thread commands.
11077         * gdb.threads/thread-find.exp: New test for thread find command.
11078
11079 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
11080
11081         * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
11082
11083 2011-02-15  Yao Qi  <yao@codesourcery.com>
11084
11085         PR tdep/12352
11086         * gdb.arch/arm-disp-step.S : New test for str instruction.
11087         * gdb.arch/arm-disp-step.exp : Likewise.
11088
11089 2011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
11090
11091         * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
11092         "vector_register2_vr" test strings.  Test the extended floating
11093         point registers (F32~F63).
11094         * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
11095         IBM XL C compiler.  Make the test program use a register provided
11096         by the compiler for the lxvd2x instruction.
11097
11098 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
11099
11100         * gdb.trace/unavailable.cc (class Base, class Middle, class
11101         Derived): New types.
11102         (derived_unavail, derived_partial, derived_whole): New globals.
11103         (virtual_partial): New global.
11104         (virtualp): Point at virtual_partial.
11105         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
11106         related to unavailable vptr.
11107
11108 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
11109
11110         * gdb.trace/unavailable.cc (a, b, c): New globals.
11111         (main): Set and clear them.
11112         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
11113         `a' and `c', and check that `b' isn't collected, although `a' and
11114         `c' are.
11115
11116 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
11117
11118         * gdb.trace/unavailable.cc (struct Virtual): New.
11119         (virtualp): New global pointer.
11120         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
11121         printing a pointer to an object whose type has a vtable, with
11122         print object on.
11123
11124 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
11125
11126         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
11127         value repeat handles unavailableness.
11128
11129 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
11130
11131         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
11132         tests for building arrays from unavailable values, subscripting
11133         non-memory rvalue unvailable arrays, and accessing fields or
11134         baseclasses of non-lazy unavailable values,
11135         * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
11136         struct types.
11137         (g_smallstruct, g_smallstruct_b): New globals.
11138
11139 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
11140
11141         * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
11142
11143 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11144
11145         Fix const/volatile qualifiers of C++ types, PR c++/12328.
11146         * gdb.cp/overload-const.exp: New file.
11147         * gdb.cp/overload-const.cc: New file.
11148
11149 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
11150
11151         * gdb.opencl/callfuncs.cl: New file.
11152         * gdb.opencl/callfuncs.exp: New test.
11153         * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
11154
11155 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
11156
11157         * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
11158         when computing result.
11159         * gdb.arch/altivec-abi.exp: Update expected results.
11160
11161 2011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
11162
11163         * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
11164         * gdb.base/jit.exp: Likewise.
11165         * gdb.base/pie-execl.exp: Likewise.
11166         * gdb.base/solib-nodir.exp: Likewise.
11167         * gdb.base/solib-overlap.exp: Likewise.
11168
11169 2011-02-07  Pedro Alves  <pedro@codesourcery.com>
11170
11171         * gdb.trace/collection.c (global_pieces): New.
11172         * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
11173         New procedure.
11174         (gdb_trace_collection_test): Call it.
11175
11176 2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
11177
11178         * gdb.python/py-evthreads.c: New file.
11179         * gdb.python/py-evthreads.exp: New file.
11180         * gdb.python/py-events.py: New file.
11181         * gdb.python/py-events.exp: New file.
11182         * gdb.python/py-events.c: New file.
11183
11184 2011-02-04 David Daney <ddaney@caviumnetworks.com>
11185
11186         * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
11187
11188 2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
11189
11190         * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
11191         gdb.base/disasm-end-cu.exp: New test for disassembling over the
11192         boundary between two compilation units.
11193
11194 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
11195
11196         * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
11197         (Virtual): New structs.
11198         (virtual_o, virtual_middle_b): New globals.
11199         * gdb.cp/virtbase.exp: New tests.
11200
11201 2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
11202
11203         * gdb.base/jit.exp: New file.
11204         * gdb.base/jit-main.c: New file.
11205         * gdb.base/jit-solib.c: New file.
11206
11207 2011-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
11208
11209         * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
11210         proceed to initial kernel entry point.
11211         * gdb.opencl/datatypes.exp: Likewise.
11212         * gdb.opencl/operators.exp: Likewise.
11213         * gdb.opencl/vec_comps.exp: Likewise.
11214
11215 2011-01-31  Sami Wagiaalla  <swagiaal@redhat.com>
11216
11217         * gdb.cp/nsnested.cc: New.
11218         * gdb.cp/nsnested.exp: New.
11219         * gdb.cp/nsnoimports.exp: New.
11220         * gdb.cp/nsnoimports.cc: New.
11221
11222 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
11223
11224         * gdb.base/interact.exp: Add extra tests that verify that
11225         the value of the interactive-mode setting does not change
11226         after the script is sourced.
11227
11228 2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
11229
11230         * gdb.cp/noparam.exp: New file.
11231         * gdb.cp/noparam.cc: New file.
11232
11233 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
11234
11235         * gdb.trace/tfile.exp: Test that with no traceframe selected,
11236         there's no stack or registers.
11237
11238 2011-01-26  Tom Tromey  <tromey@redhat.com>
11239
11240         * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
11241         space before string output.  Add test for "set print pretty off"
11242         case.
11243
11244 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
11245
11246         * gdb.base/frame-args.exp: Adjust.
11247         * gdb.dwarf2/dw2-noloc.exp: Adjust.
11248         * gdb.dwarf2/dw2-inline-param.exp: Adjust.
11249         * gdb.dwarf2/pieces.exp: Adjust.
11250         * gdb.opt/clobbered-registers-O2.exp: Adjust.
11251         * gdb.opt/inline-locals.exp: Adjust.
11252         * gdb.threads/fork-child-threads.exp: Adjust.
11253
11254 2011-01-25  Ken Werner  <ken.werner@de.ibm.com>
11255
11256         * gdb.opencl/convs_casts.cl: Move program scope variables into the
11257         OpenCL kernel function. Add a comment as marker. Add address space
11258         qualifiers for the remaining program scope variables.
11259         * gdb.opencl/datatypes.cl: Likewise.
11260         * gdb.opencl/operators.cl: Likewise.
11261         * gdb.opencl/vec_comps.cl: Likewise.
11262         * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
11263         Add breakpoint at the marker comment.
11264         * gdb.opencl/datatypes.exp: Likewise.
11265         * gdb.opencl/operators.exp: Likewise.
11266         * gdb.opencl/vec_comps.exp: Likewise.
11267
11268 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
11269
11270         * gdb.base/printcmds.c (some_struct): New struct and instance.
11271         * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
11272         procedure.
11273         <global scope>: Call it.
11274
11275 2011-01-21  Ken Werner  <ken.werner@de.ibm.com>
11276
11277         * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
11278         argument to the gdb_compile_opencl_hostapp call.
11279
11280 2011-01-19  Yao Qi  <yao@codesourcery.com>
11281
11282         * lib/dwarf.exp (dwarf2_support): Change supported targets to a
11283         positve list.
11284
11285 2011-01-19  Yao Qi  <yao@codesourcery.com>
11286
11287         * gdb.asm/asm-source.exp: Replace ARM target triplet with a
11288         canonical form.
11289         Remove "xscale-*-*"
11290         * gdb.xml/tdesc-regs.exp: Likewise.
11291         * gdb.python/py-section-script.exp: Replace ARM target triplet
11292         with canonical form.
11293         Match arm*-*-symbianelf*.
11294         * gdb.base/dup-sect.exp: Likewise.
11295         * lib/dwarf.exp: New.
11296         * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
11297         dwarf2_support.
11298         * gdb.dwarf2/dup-psym.exp: Likewise.
11299         * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
11300         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11301         * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
11302         * gdb.dwarf2/dw2-basic.exp: Likewise.
11303         * gdb.dwarf2/dw2-compressed.exp: Likewise.
11304         * gdb.dwarf2/dw2-const.exp: Likewise.
11305         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
11306         * gdb.dwarf2/dw2-cu-size.exp: Likewise.
11307         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11308         * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
11309         * gdb.dwarf2/dw2-filename.exp: Likewise.
11310         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11311         * gdb.dwarf2/dw2-inline-param.exp: Likewise.
11312         * gdb.dwarf2/dw2-intercu.exp: Likewise.
11313         * gdb.dwarf2/dw2-intermix.exp: Likewise.
11314         * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
11315         * gdb.dwarf2/dw2-noloc.exp: Likewise.
11316         * gdb.dwarf2/dw2-op-call.exp: Likewise.
11317         * gdb.dwarf2/dw2-producer.exp: Likewise.
11318         * gdb.dwarf2/dw2-ranges.exp: Likewise.
11319         * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
11320         * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
11321         * gdb.dwarf2/dw2-strp.exp: Likewise.
11322         * gdb.dwarf2/dw2-unresolved.exp: Likewise.
11323         * gdb.dwarf2/implptr.exp: Likewise.
11324         * gdb.dwarf2/mac-fileno.exp: Likewise.
11325         * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
11326         * gdb.dwarf2/pieces.exp: Likewise.
11327         * gdb.dwarf2/pr11465.exp: Likewise.
11328         * gdb.dwarf2/valop.exp: Likewise.
11329         * gdb.dwarf2/watch-notconst.exp: Likewise.
11330         * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
11331
11332 2011-01-19  Tom Tromey  <tromey@redhat.com>
11333
11334         * gdb.python/py-infthread.exp: Add thread tests.
11335
11336 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
11337
11338         * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
11339
11340 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
11341
11342         * gdb.ada/widewide: New testcase.
11343
11344 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
11345
11346         * gdb.base/interact.exp: New testcase.
11347
11348 2011-01-12  Tom Tromey  <tromey@redhat.com>
11349
11350         * gdb.mi/gdb2549.exp: Update for error message changes.
11351         * gdb.mi/mi-cli.exp: Likewise.
11352         * gdb.mi/mi-disassemble.exp: Likewise.
11353         * gdb.mi/mi-pthreads.exp: Likewise.
11354         * gdb.mi/mi-regs.exp: Likewise.
11355         * gdb.mi/mi-stack.exp: Likewise.
11356         * gdb.mi/mi-var-block.exp: Likewise.
11357         * gdb.mi/mi-var-cmd.exp: Likewise.
11358         * gdb.mi/mi2-cli.exp: Likewise.
11359         * gdb.mi/mi2-disassemble.exp: Likewise.
11360         * gdb.mi/mi2-pthreads.exp: Likewise.
11361         * gdb.mi/mi2-regs.exp: Likewise.
11362         * gdb.mi/mi2-stack.exp: Likewise.
11363         * gdb.mi/mi2-var-block.exp: Likewise.
11364         * gdb.mi/mi2-var-cmd.exp: Likewise.
11365
11366 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
11367             Jan Kratochvil  <jan.kratochvil@redhat.com>
11368
11369         PR fortran/11104 and DWARF unbound arrays detection.
11370         * gdb.fortran/multi-dim.exp: New file.
11371         * gdb.fortran/multi-dim.f90: New file.
11372
11373 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
11374
11375         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
11376         expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
11377         add new tests for opcode dumping.
11378
11379 2011-01-11  Tom Tromey  <tromey@redhat.com>
11380
11381         * gdb.python/py-infthread.exp: Load gdb-python.exp.
11382
11383 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
11384
11385         Convert hardware watchpoints to use breakpoint_ops.
11386         * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
11387         type is not supported.
11388         * gdb.base/foll-fork.exp: Likewise.
11389         * gdb.base/foll-vfork.exp: Likewise.
11390
11391 2011-01-10  Phil Muldoon  <pmuldoon@redhat.com>
11392
11393         * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
11394         Use load_lib gdb-python.exp.
11395         * gdb.python/python.exp: Ditto.
11396         * gdb.python/py-function.exp: Ditto.
11397
11398 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
11399
11400         * gdb.threads/tls.exp ("info address me"): Fix expected output.
11401
11402 2011-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
11403
11404         * configure: Regenerate.
11405
11406 2011-01-06  Tom Tromey  <tromey@redhat.com>
11407
11408         * gdb.python/py-frame.exp: Test gdb.newest_frame.
11409
11410 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
11411
11412         * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
11413         gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
11414         gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
11415         gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
11416         gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
11417         gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
11418         gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
11419         gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
11420         gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
11421         gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
11422         gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
11423         gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
11424         gdb.ada/null_array.exp, gdb.ada/null_record.exp,
11425         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
11426         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
11427         gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
11428         gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
11429         gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
11430         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
11431         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
11432         gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
11433         gdb.ada/uninitialized_vars.exp,
11434         gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
11435         Simplify by using clean_restart.
11436
11437 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
11438
11439         Add marker to be used as anchor for inserting breakpoints.
11440         * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
11441         * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
11442         Likewise.
11443
11444         Remove uses of gdb_start_cmd.
11445         * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
11446         * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
11447
11448         Do not run testcase if testing with GDBserver.
11449         * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
11450         if testing with GDBserver.
11451
11452 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
11453
11454         * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
11455         gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
11456         copyright header.
11457
11458 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
11459
11460         * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
11461         testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
11462         testsuite/gdb.fortran/complex.f,
11463         testsuite/gdb.fortran/derived-type.f90,
11464         testsuite/gdb.fortran/library-module-lib.f90,
11465         testsuite/gdb.fortran/library-module-main.f90,
11466         testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
11467         testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
11468         Copyright year update.
11469
11470 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
11471
11472         * gdb.base/langs1.f: Add copyright header.
11473
11474 2011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
11475
11476         * gdb.base/morestack.exp: New file.
11477         * gdb.base/morestack.c: New file.
11478
11479 2011-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11480
11481         * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
11482
11483 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
11484
11485         * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
11486         * gdb.ada/arrayptr.exp: Add test printing that new variable.
11487
11488 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
11489
11490         * gdb.ada/lang_switch.exp: Correct expected parameter value.
11491
11492 2010-12-25  Andreas Schwab  <schwab@linux-m68k.org>
11493
11494         * gdb.threads/tls.exp: Fix typo.
11495
11496         * gdb.threads/thread-specific.exp (get_thread_list): Update.
11497         * gdb.threads/execl.exp: Update.
11498
11499 2010-12-23  Yao Qi  <yao@codesourcery.com>
11500
11501         * gdb.arch/arm-disp-step.exp: New.
11502         * gdb.arch/arm-disp-step.S: New.
11503
11504 2010-12-21  Tom Tromey  <tromey@redhat.com>
11505
11506         * gdb.threads/execl.exp: Update.
11507         * gdb.threads/linux-dp.exp: Update.
11508         * gdb.threads/manythreads.exp: Update.
11509         * gdb.threads/tls.exp: Update.
11510
11511 2010-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
11512
11513         * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
11514         (NextOverThrowDerivates) <resumebpt>: New.
11515         (resumebpt_test): New.
11516         (main): Call resumebpt_test.
11517         * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
11518
11519 2010-12-12  Stan Shebs  <stan@codesourcery.com>
11520
11521         * gdb.trace/tsv.exp: Test print command on trace state variables.
11522
11523 2010-12-09  Tom Tromey  <tromey@redhat.com>
11524
11525         * gdb.base/interp.exp: Add regression test.
11526
11527 2010-12-09  Tom Tromey  <tromey@redhat.com>
11528
11529         * gdb.java/jnpe.java: New file.
11530         * gdb.java/jnpe.exp: New file.
11531         * gdb.cp/nextoverthrow.exp: New file.
11532         * gdb.cp/nextoverthrow.cc: New file.
11533
11534 2010-12-07  Doug Evans  <dje@google.com>
11535
11536         * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
11537         of data-directory.
11538         * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
11539         updated.
11540         * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
11541
11542 2010-11-29  Michael Snyder  <msnyder@vmware.com>
11543
11544         * gdb.base/callfuncs.exp: Test for skip_float_tests.
11545         * gdb.base/call-sc.exp: Ditto.
11546         * gdb.base/finish.exp: Ditto.
11547         * gdb.base/return.exp: Ditto.
11548         * gdb.base/return2.exp: Ditto.
11549
11550 2010-11-30  Doug Evans  <dje@google.com>
11551
11552         * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
11553         (gdb_expect_list): Fix spelling errors in comments.
11554         * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
11555         send_gdb/gdb_expect_list where applicable.
11556         * gdb.base/call-ar-st.exp: Ditto.
11557         * gdb.base/funcargs.exp: Ditto.
11558         * gdb.base/gcore.exp: Ditto.
11559         * gdb.base/page.exp: Ditto.
11560         * gdb.base/sigaltstack.exp: Ditto.
11561         * gdb.base/siginfo.exp: Ditto.
11562         * gdb.base/sigstep.exp: Ditto.
11563         * gdb.base/trace-commands.exp: Ditto.
11564
11565 2010-11-29  Doug Evans  <dje@google.com>
11566
11567         * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
11568         printer-name;subprinter-name.
11569
11570 2010-11-29  Tom Tromey  <tromey@redhat.com>
11571
11572         * gdb.dwarf2/implptr.exp: New file.
11573         * gdb.dwarf2/implptr.c: New file.
11574         * gdb.dwarf2/implptr.S: New file.
11575
11576 2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>
11577
11578         PR python/12199
11579
11580         * gdb.python/py-breakpoint.exp: Test the delete method.
11581
11582 2010-11-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
11583
11584         Fix step_resume_breakpoint unsaved during an infcall.
11585         * gdb.base/step-resume-infcall.exp: New file.
11586         * gdb.base/step-resume-infcall.c: New file.
11587
11588 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
11589
11590         * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
11591
11592 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
11593
11594         * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
11595         on ppc64's symbols; "finish" and "return" commands must accept to
11596         show the caller line again as well as the line after.
11597         * gdb.asm/powerpc64.inc: New file.
11598
11599 2010-11-23  Doug Evans  <dje@google.com>
11600
11601         * lib/gdb.exp (gdb_test_sequence): New function.
11602         (gdb_expect_list): Add verbose -log call for each pattern.
11603         * gdb.base/signals.exp (test_handle_all_print): Call it.
11604         Reduce timeout increment from 6 minutes to 1 minute.
11605         * gdb.server/ext-run.exp: Call it.
11606
11607 2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>
11608
11609         PR python/12212
11610
11611         * gdb.python/python.exp: Check that selected_thread raises an
11612         error when no inferior is loaded.
11613
11614 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
11615
11616         * gdb.dwarf2/dw2-stack-boundary.exp: New file.
11617         * gdb.dwarf2/dw2-stack-boundary.S: New file.
11618
11619 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
11620
11621         * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
11622         * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
11623
11624 2010-11-18  Doug Evans  <dje@google.com>
11625
11626         * gdb.server/ext-run.exp: Fix intermittent failures.
11627
11628 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
11629
11630         * gdb.stabs/gdb11479.exp: Use runto_main.
11631
11632 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
11633
11634         * gdb.base/break-entry.exp: Skip if using a stub.
11635
11636 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
11637
11638         * gdb.python/py-inferior.exp: Pack values in target endianness.
11639
11640 2010-11-12  Tom Tromey  <tromey@redhat.com>
11641
11642         * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
11643         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
11644         MemoryError.
11645         * gdb.python/python.exp (gdb_py_test_multiple): Update exception
11646         type.
11647         * gdb.python/py-value.exp (test_value_in_inferior): Add test for
11648         MemoryError.
11649         (test_subscript_regression): Update exception type.
11650
11651 2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
11652
11653         * gdb.python/py-breakpoint.exp: Add internal watchpoint and
11654         breakpoint tests.
11655
11656 2010-11-09  Pedro Alves  <pedro@codesourcery.com>
11657
11658         * gdb.base/watchpoint.exp: Test "watch -location" with an
11659         innacessible location.
11660
11661 2010-11-09  Edjunior Machado  <emachado@br.ibm.com>
11662             Luis Machado  <luisgpm@br.ibm.com>
11663
11664         * gdb.base/maint.exp: Expect "." prefix.
11665         * gdb.base/nodebug.exp: Expect "." Likewise.
11666         * gdb.base/sepsymtab.exp: Expect "." Likewise.
11667         * gdb.base/watchpoint-cond-gone.exp: Likewise.
11668         * gdb.base/watchpoint.exp: Expect a software watch to be created for
11669         POWER server processors.
11670
11671 2010-11-08  Edjunior Machado  <emachado@br.ibm.com>
11672             Luis Machado  <luisgpm@br.ibm.com>
11673
11674         * gdb.base/break-entry.exp: convert entry point for
11675         ppc64 and expect leading `.' on ppc64's symbols
11676
11677 2010-11-05  Doug Evans  <dje@google.com>
11678
11679         * gdb.base/help.exp: Update expected output.
11680         * gdb.python/py-param.exp: Delete, contents moved to ...
11681         * gdb.python/py-parameter.exp: ... here.  New file.
11682         Add test for gdb.parameter ("directories").
11683
11684 2010-11-05  Ken Werner  <ken.werner@de.ibm.com>
11685
11686         * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
11687         * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
11688         * configure: Regenerate.
11689         * gdb.opencl/Makefile.in: New File.
11690         * gdb.opencl/datatypes.exp: Likewise.
11691         * gdb.opencl/datatypes.cl: Likewise.
11692         * gdb.opencl/operators.exp: Likewise.
11693         * gdb.opencl/operators.cl: Likewise.
11694         * gdb.opencl/vec_comps.exp: Likewise.
11695         * gdb.opencl/vec_comps.cl: Likewise.
11696         * gdb.opencl/convs_casts.exp: Likewise.
11697         * gdb.opencl/convs_casts.cl: Likewise.
11698         * lib/opencl.exp: Likewise.
11699         * lib/opencl_hostapp.c: Likewise.
11700         * lib/opencl_kernel.cl: Likewise.
11701         * lib/cl_util.c: Likewise.
11702         * lib/cl_util.c: Likewise.
11703         * gdb.base/default.exp (set language): Add "opencl" to the list of
11704         languages.
11705
11706 2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
11707
11708         * gdb.cp/overload.exp: Added test for inheritance overload.
11709         * gdb.cp/overload.cc: Ditto.
11710         * gdb.cp/oranking.exp: Removed releveant kfails.
11711
11712 2010-11-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
11713             Joel Brobecker  <brobecker@adacore.com>
11714
11715         * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
11716         check test_compiler_info.
11717
11718 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
11719
11720         * gdb.base/gnu_vector.exp: Adjust expect messages.
11721
11722 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
11723
11724         * gdb.base/gnu_vector.exp: Add unary operator tests.
11725
11726 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
11727
11728         * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
11729
11730 2010-11-02  Doug Evans  <dje@google.com>
11731
11732         * gdb.python/py-pp-maint.c: New file.
11733         * gdb.python/py-pp-maint.exp: New file.
11734         * gdb.python/py-pp-maint.py: New file.
11735
11736 2010-11-02  Tom Tromey  <tromey@redhat.com>
11737
11738         * gdb.base/default.exp: Remove "scheme" from language list.
11739
11740 2010-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11741
11742         Revert:
11743         2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11744         * gdb.threads/sigstep-threads.exp: New file.
11745         * gdb.threads/sigstep-threads.c: New file.
11746
11747 2010-10-20  Michael Snyder  <msnyder@vmware.com>
11748
11749         * gdb.threads/fork-child-threads.exp: Don't run on remote target.
11750
11751 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
11752
11753         * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
11754         Skip test completely if gdb,no_hardware_watchpoints.
11755
11756 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
11757
11758         * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
11759         strict, but do not check for any particular function name within libc.
11760
11761 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
11762
11763         * gdb.cp/smartp.exp: New test.
11764         * gdb.cp/smartp.cc : New test.
11765
11766 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
11767
11768         * gdb.cp/converts.exp: Test pointer to bool conversion.
11769         Test pointer to long conversion.
11770         * gdb.cp/oranking.exp: Removed relevant kfail.
11771
11772 2010-10-18  Tom Tromey  <tromey@redhat.com>
11773
11774         * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
11775         argument to lazy_string.
11776         * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
11777         (pp_ls.to_string): Use it.
11778         * gdb.python/py-prettyprint.c (main): Move declarations to top.
11779         Add "estring2" local.
11780
11781 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11782
11783         Fix s390x compatibility.
11784         * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS.  Twice.
11785         * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
11786
11787 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11788
11789         * gdb.threads/sigstep-threads.exp: New file.
11790         * gdb.threads/sigstep-threads.c: New file.
11791
11792 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11793
11794         * gdb.base/pie-execl.exp: New file.
11795         * gdb.base/pie-execl.c: New file.
11796
11797 2010-10-13  Doug Evans  <dje@google.com>
11798             Jan Kratochvil  <jan.kratochvil@redhat.com>
11799
11800         PR exp/12117
11801         * gdb.cp/ptype-cv-cp.cc: New file.
11802         * gdb.cp/ptype-cv-cp.exp: New file.
11803
11804 2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
11805
11806         * gdb.cp/converts.cc: New test program.
11807         * gdb.cp/converts.exp: New test.
11808         * gdb.cp/overload.exp: Added test for void* vs int*.
11809         * gdb.cp/overload.exp: Ditto.
11810         * gdb.cp/oranking.exp: Removed related kfail.
11811
11812 2010-10-13  Doug Evans  <dje@google.com>
11813
11814         * lib/gdb-python.exp (gdb_check_python_config): New function.
11815         * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
11816         * gdb.python/lib-types.cc: New file.
11817         * gdb.python/lib-types.exp: New file.
11818
11819 2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11820
11821         * gdb.python/py-error.exp: New file.
11822         * gdb.python/py-error.py: New file.
11823
11824 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11825
11826         * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
11827         gdb_test_multiple.
11828
11829 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11830
11831         * gdb.base/break-interp.exp: Use ldlags for linking flags.
11832         * gdb.base/prelink.exp: Likewise.
11833         * gdb.base/solib-nodir.exp: Likewise.
11834         * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
11835         (gdb_compile) <shlib_load>: Use ldlags for linking flags.
11836         * lib/prelink-support.exp (build_executable_own_libs): Likewise.
11837
11838 2010-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
11839
11840         * break-interp.exp (test_ld): Use two separate gdb_expect statements
11841         for the "info files" test to avoid timeouts on slow machines.
11842
11843 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11844
11845         * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
11846         (main): Make openlib dummy call.
11847
11848 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11849
11850         Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
11851         * break-interp.exp (reach): Move the core body ...
11852         (reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
11853         (test_ld): Provide always real argument, even to the linker.  Replace
11854         dl_main by _dl_debug_state.
11855
11856 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11857
11858         Fix results of prelinked PIEs on ppc*.
11859         * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
11860         Accept also DISPLACEMENT "PRESENT".
11861         (main): Replace "ZERO" displacements by "PRESENT".
11862
11863 2010-10-08  Sami Wagiaalla  <swagiaal@redhat.com>
11864
11865         * gdb.cp/oranking.exp: New test.
11866         * gdb.cp/oranking.cc: New test program.
11867
11868 2010-10-08  Ken Werner  <ken.werner@de.ibm.com>
11869
11870         * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
11871         * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
11872
11873 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
11874
11875         * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
11876         lush, lynx) New constant.
11877         * gdb.base/constvars.exp: Test const array types.
11878         * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
11879
11880 2010-10-06  Doug Evans  <dje@google.com>
11881
11882         * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
11883         of syscall staging area.
11884
11885 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
11886
11887         * gdb.base/gnu_vector.c: Add variable c4.
11888         * gdb.base/gnu_vector.exp: Add tests for character vector printing.
11889         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11890
11891 2010-10-05  Maciej W. Rozycki  <macro@codesourcery.com>
11892
11893         * gdb.arch/altivec-abi.exp: Fix a typo.
11894
11895 2010-10-02  Maciej W. Rozycki  <macro@codesourcery.com>
11896
11897         * lib/mi-support.exp (thread_selected_re): Correct pattern used
11898         to match a thread ID.
11899
11900 2010-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11901
11902         Fix s390x testcase compatibility.
11903         * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
11904
11905 2010-10-01  Doug Evans  <dje@google.com>
11906
11907         * lib/gdb-python.exp: New file.
11908         * gdb.python/py-block.exp: Use it.
11909         * gdb.python/py-breakpoint.exp: Ditto.
11910         * gdb.python/py-frame.exp: Ditto.
11911         * gdb.python/py-inferior.exp: Ditto.
11912         * gdb.python/py-param.exp: Ditto.
11913         * gdb.python/py-prettyprint.exp: Ditto.
11914         * gdb.python/py-shared.exp: Ditto.
11915         * gdb.python/py-symbol.exp: Ditto.
11916         * gdb.python/py-symtab.exp: Ditto.
11917         * gdb.python/py-type.exp: Ditto.
11918         * gdb.python/py-value.exp: Ditto.
11919         * gdb.python/python.exp: Ditto.
11920
11921 2010-09-30  Tom Tromey  <tromey@redhat.com>
11922
11923         * gdb.base/anon.exp: New file.
11924         * gdb.base/anon.c: New file.
11925
11926 2010-09-30  Tom Tromey  <tromey@redhat.com>
11927
11928         * gdb.base/completion.exp: Test completion through anonymous
11929         union.
11930         * gdb.base/break1.c (struct some_struct): Add anonymous union.
11931
11932 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
11933
11934         Fix printing parameters of inlined functions.
11935         * gdb.dwarf2/dw2-inline-param.exp: New file.
11936         * gdb.dwarf2/dw2-inline-param-main.c: New file.
11937         * gdb.dwarf2/dw2-inline-param.S: New file.
11938
11939 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
11940
11941         PR corefiles/12071.
11942         * gdb.base/corefile.exp (quit with a process, no question: load core)
11943         (quit with a core file): New tests.
11944
11945 2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
11946
11947         Fix GDB crash on inferior calls with self-referencing classes.
11948         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
11949         * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
11950         * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
11951
11952 2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
11953
11954         Fix lost siginfo_t for inferior calls.
11955         * gdb.base/siginfo-infcall.exp: New file.
11956         * gdb.base/siginfo-infcall.c: New file.
11957
11958 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
11959
11960         * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
11961
11962 2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11963
11964         * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
11965         New test.
11966         * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
11967
11968 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
11969
11970         * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
11971         type of our const type.
11972
11973 2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>
11974
11975         * gdb.cp/pr12028.cc: New.
11976         * gdb.cp/pr12028.exp: New.
11977
11978 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
11979
11980         * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
11981
11982 2010-09-16  Phil Muldoon  <pmuldoon@redhat.com>
11983             Jan Kratochvil  <jan.kratochvil@redhat.com>
11984
11985         PR mi/11407
11986         * gdb.mi/dw2-ref-missing-frame-func.c: New File.
11987         * gdb.mi/dw2-ref-missing-frame-main.c New File.
11988         * gdb.mi/dw2-ref-missing-frame.S New File.
11989         * gdb.mi/dw2-ref-missing-frame.exp New File.
11990
11991 2010-09-14  Tom Tromey  <tromey@redhat.com>
11992
11993         PR symtab/8399:
11994         * gdb.threads/tls.exp: Remove kfail.  Update expected output.
11995
11996 2010-09-14  Tom Tromey  <tromey@redhat.com>
11997
11998         PR exp/11803:
11999         * gdb.threads/tls.exp: Use C++.
12000         (check_thread_local): Use K::another_thread_local.
12001         * gdb.threads/tls.c (class K): New.
12002         (another_thread_local): Now a member of K.
12003         (spin): Update.  No longer K&R C.
12004
12005 2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
12006
12007         * gdb.cp/koenig.cc: created class for testing member lookup.
12008         * gdb.cp/koenig.exp: Added test for member lookup.
12009
12010 2010-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12011
12012         Fix false FAILs on sourcetree topdir directory containing "kill".
12013         * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
12014         source line matching regexp.
12015
12016 2010-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12017
12018         * gdb.python/python.exp (set height 0, collect help from uiout)
12019         (verify help to uiout): New tests.
12020
12021 2010-09-10  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12022
12023         * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
12024         is_lp64_target to check 64bit target.
12025
12026 2010-09-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
12027
12028         * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
12029         (test_ld) <powerpc64-*>: New.
12030
12031 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
12032
12033         * gdb.cp/templates.exp (test_template_args): Allow "struct".
12034
12035 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
12036
12037         * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
12038         (FunctionArg::method): New function.
12039         (empty, arg): New variables.
12040         (main): Call arg.method.
12041         * gdb.cp/templates.exp (test_template_args): New function.
12042         (do_tests): Call it.
12043
12044 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
12045
12046         * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
12047         of "next" to proceed over pthread_exit call.
12048
12049 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
12050
12051         * gdb.base/maint.exp: Avoid wildcards against potentially very long
12052         "maint print statistics" output to prevent expect timeouts.
12053
12054 2010-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
12055
12056         * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
12057         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
12058         (test_float_rejected): ... here.
12059         * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
12060         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
12061         (test_float_rejected): ... here.
12062         * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
12063         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
12064         (test_float_rejected): ... here.
12065         * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
12066         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
12067         (test_float_rejected): ... here.
12068
12069 2010-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
12070
12071         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
12072         before disabling hardware watchpoints.
12073         (test_inaccessible_watchpoint): Check that hardware watchpoints
12074         are used.  Test for watchpoints on a constant address.
12075
12076 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
12077
12078         * gdb.base/ui-redirect.exp: New file.
12079
12080 2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12081             Joel Brobecker  <brobecker@adacore.com>
12082
12083         * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
12084
12085 2010-08-31  Doug Evans  <dje@google.com>
12086
12087         * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
12088
12089 2010-08-30  Tom Tromey  <tromey@redhat.com>
12090
12091         PR python/11792:
12092         * gdb.python/py-value.exp (test_subscript_regression): Add
12093         dynamic_type test.
12094
12095 2010-08-30  Daniel Jacobowitz  <dan@codesourcery.com>
12096
12097         * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
12098         instead of running to main.  Do not test the main function.
12099         * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
12100         Add new main.
12101
12102 2010-08-26  Pedro Alves  <pedro@codesourcery.com>
12103
12104         * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
12105         one test.
12106
12107 2010-08-24  Doug Evans  <dje@google.com>
12108
12109         PR symtab/11942
12110         * gdb.dwarf2/dw4-sig-types.cc: New file.
12111         * gdb.dwarf2/dw4-sig-types.h: New file.
12112         * gdb.dwarf2/dw4-sig-types-b.cc: New file.
12113         * gdb.dwarf2/dw4-sig-types.exp: New file.
12114
12115 2010-08-23  Tom Tromey  <tromey@redhat.com>
12116
12117         PR python/11145:
12118         * gdb.python/py-value.c (Base, Derived): New types.
12119         (base): New global.
12120         * gdb.python/py-value.exp (test_subscript_regression): Add
12121         dynamic_cast test.
12122
12123 2010-08-23  Tom Tromey  <tromey@redhat.com>
12124
12125         PR python/10676:
12126         * gdb.python/py-type.exp (test_fields): Add tests for type
12127         equality.
12128
12129 2010-08-23  Tom Tromey  <tromey@redhat.com>
12130
12131         PR python/11915:
12132         * gdb.python/py-type.exp (test_fields): Add tests for array.
12133
12134 2010-08-23  Keith Seitz  <keiths@redhat.com>
12135
12136         * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
12137         have any children. Create a new abbrev for it.
12138         Add missing terminal sequence to .debug_abbrev.
12139
12140 2010-08-20  Keith Seitz  <keiths@redhat.com>
12141
12142         PR symtab/11465:
12143         * gdb.dwarf2/pr11465.exp: New test.
12144         * gdb.dwarf2/pr11465.S: New file.
12145         * gdb.dwarf2/dw2-double-set-die-type.S: New file.
12146         * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
12147
12148 2010-08-19  Thiago Jung Bauermann  <bauerman@br.ibm.com>
12149
12150         * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
12151         registers.  Update data sets with the new v2_double element in the
12152         VSX register union.  Add vector_register3_vr data set for the AltiVec
12153         registers.  Use gdb_test_no_output instead of send_gdb.
12154
12155 2010-08-19  Pedro Alves  <pedro@codesourcery.com>
12156
12157         * gdb.python/py-shared.exp: New file, factored out from
12158         python.exp.
12159         * gdb.python/py-shared.c: New file.
12160         * gdb.python/py-shared-sl.c: New file.
12161         * gdb.python/python-1.c: New file.
12162         * gdb.python/python-sl.c: Delete.
12163         * gdb.python/python.c: Mention python-1.c.
12164         * gdb.python/python.exp: Move shared library tests to
12165         py-shared.exp.
12166         * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
12167         (MISCELLANEOUS): New.
12168         (clean mostlyclean): Also remove $MISCELLANEOUS.
12169
12170 2010-08-19  Doug Evans  <dje@google.com>
12171
12172         PR exp/11926
12173         * gdb.base/printcmds.exp (test_float_accepted): New function.
12174         Move existing float tests there.  Add tests for floats with suffixes.
12175         (test_float_rejected): New function.
12176         * gdb.java/jv-print.exp (test_float_accepted): New function.
12177         (test_float_rejected): New function.
12178         * gdb.objc/print.exp: New file.
12179         * gdb.pascal/print.exp: New file.
12180         * lib/objc.exp: New file.
12181
12182 2010-08-19  Pierre Muller  <muller@ics.u-strasbg.fr>
12183
12184         * gdb.base/default.exp (info set): Avoid full buffer error and force
12185         reading up to final gdb prompt.
12186         (show): Likewise.
12187
12188 2010-08-18  Tom Tromey  <tromey@redhat.com>
12189
12190         PR symtab/11919:
12191         * gdb.base/completion.exp: Add test.
12192
12193 2010-08-18  Doug Evans  <dje@google.com>
12194
12195         * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
12196         * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
12197         * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
12198         Simplify, early exit if runto_main fails.
12199         * gdb.fortran/exprs.exp: load_lib fortran.exp.
12200         (set_lang_fortran): Moved to lib/fortran.exp.
12201         * gdb.fortran/types.exp: load_lib fortran.exp.
12202         (set_lang_fortran): Moved to lib/fortran.exp.
12203         * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
12204         * gdb.java/jprint.exp (set_lang_java): Ditto.
12205         * gdb.java/jv-exp.exp: load_lib java.exp.
12206         If set_lang_java fails, issue a warning instead of failure to be
12207         consistent with other set_lang_foo uses.
12208         (set_lang_java): Moved to lib/java.exp.
12209         * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
12210         If set_lang_java fails, issue a warning instead of failure to be
12211         consistent with other set_lang_foo uses.
12212         * gdb.pascal/types.exp: load_lib pascal.exp.
12213         (set_lang_pascal): Moved to lib/pascal.exp.
12214         * lib/fortran.exp: New file.
12215         * lib/java.exp (set_lang_java): New function.
12216         * lib/pascal.exp (set_lang_pascal): New function.
12217
12218 2010-08-18  Yao Qi  <yao@codesourcery.com
12219
12220         * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
12221         func_nofb_start and func_loopfb_start, so that address of functions
12222         is equal to these labels on Thumb.
12223
12224 2010-08-18  Yao Qi  <yao@codesourcery.com>
12225
12226         * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
12227         to reflect latest c source file.
12228
12229 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
12230
12231         * gdb.cp/infcall-dlopen.exp: New file.
12232         * gdb.cp/infcall-dlopen.cc: New file.
12233         * gdb.cp/infcall-dlopen-lib.cc: New file.
12234
12235 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
12236             Pedro Alves  <pedro@codesourcery.com>
12237
12238         PR breakpoints/11371
12239
12240         * gdb.base/watch-cond-infcall.exp: New file.
12241         * gdb.base/watch-cond-infcall.c: New file.
12242
12243 2010-08-16  Tom Tromey  <tromey@redhat.com>
12244
12245         * gdb.base/help.exp: Update.
12246         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
12247         watchpoint.
12248         (test_watch_location): New proc.
12249         (test_watchpoint_in_big_blob): Delete watchpoint.
12250         * gdb.base/watchpoint.c (func5): New function.
12251         (main): Call it.
12252
12253 2010-08-16  Doug Evans  <dje@google.com>
12254
12255         * gdb.python/python.exp: Fix syntax in "post event insertion" test.
12256
12257 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
12258
12259         * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
12260         tests.
12261
12262 2010-08-11  Ken Werner  <ken.werner@de.ibm.com>
12263
12264         * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
12265         * gdb.base/gnu_vector.c: New File.
12266         * gdb.base/gnu_vector.exp: Likewise.
12267
12268 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
12269
12270         * gdb.python/python.c: New File.
12271         * gdb.python/python-sl.c: New File.
12272         * gdb.python/python.exp: Test solib_address and decode_line
12273         * functions.
12274
12275 2010-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12276
12277         * gdb.python/python.exp (show height, set height 10)
12278         (verify pagination beforehand, verify pagination beforehand: q)
12279         (gdb.execute does not page, verify pagination afterwards)
12280         (verify pagination afterwards: q): New.
12281
12282 2010-08-02  Doug Evans  <dje@google.com>
12283
12284         * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
12285         because of an older gcc, change test2
12286         "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
12287         to unsupported.
12288
12289 2010-07-30  Kazu Hirata  <kazu@codesourcery.com>
12290
12291         * gdb.base/break-always.exp: Do not expect full paths to file
12292         names.
12293         * gdb.base/commands.exp: Likewise.
12294
12295 2010-07-30  Doug Evans  <dje@google.com>
12296
12297         * gdb.cp/temargs.exp: For new tests that require newer gccs,
12298         xfail them when run with older gccs.
12299
12300         * lib/gdb.exp (build_executable): Forward "c++" option to
12301         get_compiler_info.
12302
12303         * gdb.python/py-type.exp (test_template): Mark as xfail tests
12304         "python print ttype.template_argument(1)" and
12305         "python print isinstance(ttype.template_argument(1), gdb.Value)"
12306         if using gcc 4.4 or earlier.
12307
12308         * gdb.base/valgrind-db-attach.exp: Use unique test name for
12309         attach-to-debugger handling.
12310
12311 2010-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
12312
12313         * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
12314         * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
12315         (main): Use copyreloc.
12316         * gdb.base/prelink.exp (split debug of executable)
12317         (.dynbss vs. .bss address shift): New tests.
12318
12319 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
12320
12321         * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
12322         in gdb_test_multiple.
12323
12324 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
12325
12326         * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
12327         environment.
12328
12329 2010-07-28  Tom Tromey  <tromey@redhat.com>
12330
12331         PR python/11060:
12332         * gdb.python/py-type.c (Temargs): New template.
12333         (temvar): New variable.
12334         * gdb.python/py-type.exp (test_template): New proc.
12335
12336 2010-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
12337
12338         * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
12339         gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
12340
12341 2010-07-28  Tom Tromey  <tromey@redhat.com>
12342
12343         PR c++/9946:
12344         * gdb.cp/temargs.exp: New file.
12345         * gdb.cp/temargs.cc: New file.
12346
12347 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
12348
12349         * gdb.base/help.exp (help disassemble): Update the content.
12350
12351 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
12352
12353         * gdb.threads/ia64-sigill.exp: New file.
12354         * gdb.threads/ia64-sigill.c: New file.
12355
12356 2010-07-27  Tom Tromey  <tromey@redhat.com>
12357
12358         * gdb.opt/inline-cmds.c (ATTR): New define.
12359         (func1): Use it.
12360         (func2): Likewise.
12361         (func3): Likewise.
12362         (outer_inline1): Likewise.
12363         (outer_inline2): Likewise.
12364         * gdb.opt/inline-bt.c (ATTR): New define.
12365         (func1): Use it.
12366         (func2): Likewise.
12367         * gdb.opt/inline-locals.c (ATTR): New define.
12368         (func1): Use it.
12369         (func2): Likewise.
12370
12371 2010-07-27  Tom Tromey  <tromey@redhat.com>
12372
12373         * gdb.stabs/gdb11479.c (hack): New function.
12374         (test): Use it.
12375         (test2): Use it.
12376         * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
12377         (int32_search_buf, int64_search_buf): No longer static.
12378         (x): Remove.
12379         * gdb.base/relocate.c (hack): New function.
12380
12381 2010-07-27  Phil Muldoon  <pmuldoon@redhat.com>
12382
12383         * gdb.python/py-value.exp (test_inferior_function_call): New function.
12384         * gdb.python/py-value.c (func1): New function.
12385         (func2): Likewise.
12386
12387 2010-07-26  Corinna Vinschen  <vinschen@redhat.com>
12388
12389         * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
12390         as not to clash with .data section.
12391
12392 2010-07-26  Jerome Guitton  <guitton@adacore.com>
12393
12394         * gdb.base/code_elim.exp: New file.
12395         * gdb.base/code_elim1.c: New file.
12396         * gdb.base/code_elim2.c: New file.
12397
12398 2010-07-21  Pedro Alves  <pedro@codesourcery.com>
12399
12400         PR symtab/11827
12401
12402         * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
12403         (some_volatile_enum): New variable.
12404         * gdb.base/printcmds.exp (test_print_enums): New.
12405         <top level>: Call it.
12406
12407 2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>
12408
12409         * gdb.cp/fpointer.cc: New test.
12410         * gdb.cp/fpointer.exp: New test.
12411
12412 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
12413
12414         * gdb.base/solib-nodir.exp: New file.
12415         * lib/gdb.exp (runto): New case for a GDB internal error.
12416
12417 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
12418             Ulrich Weigand  <uweigand@de.ibm.com>
12419             Tom Tromey  <tromey@redhat.com>
12420
12421         * gdb.base/charset-malloc.c: New file.
12422         * gdb.base/charset.c (malloc_stub): New prototype.
12423         (main): Call it instead of malloc itself.
12424         * gdb.base/charset.exp: Use only prepare_for_testing.
12425         (binfile): Remove the variable.
12426
12427 2010-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
12428
12429         Make core files the process_stratum.
12430         * gdb.base/corefile.exp (run: load core again)
12431         (run: sanity check we see the core file, run: with core)
12432         (run: core file is cleared, attach: load core again)
12433         (attach: sanity check we see the core file, attach: with core)
12434         (attach: core file is cleared): New tests.
12435         * gdb.base/coremaker.c (main): New parameters.  Implement "sleep" argv.
12436
12437 2010-07-14  Ken Werner  <ken.werner@de.ibm.com>
12438
12439         * gdb.arch/altivec-abi.exp: New tests.
12440
12441 2010-07-13  Tom Tromey  <tromey@redhat.com>
12442
12443         * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
12444         (main): Use it.
12445         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
12446
12447 2010-07-13  Tom Tromey  <tromey@redhat.com>
12448
12449         * gdb.base/label.exp: New file.
12450         * gdb.base/label.c: New file.
12451
12452 2010-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
12453             H.J. Lu  <hongjiu.lu@intel.com>
12454
12455         * lib/gdb.exp (is_ilp32_target): New.
12456         (is_lp64_target): Likewise.
12457
12458         * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
12459         target.
12460         * gdb.arch/amd64-disp-step.exp: Likewise.
12461         * gdb.arch/amd64-dword.exp: Likewise.
12462         * gdb.arch/amd64-i386-address.exp: Likewise.
12463         * gdb.arch/amd64-word.exp: Likewise.
12464
12465         * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
12466         target.
12467         * gdb.arch/i386-bp_permanent.exp: Likewise.
12468         * gdb.arch/i386-byte.exp: Likewise.
12469         * gdb.arch/i386-disp-step.exp: Likewise.
12470         * gdb.arch/i386-gnu-cfi.exp: Likewise.
12471         * gdb.arch/i386-prologue.exp: Likewise.
12472         * gdb.arch/i386-size-overlap.exp: Likewise.
12473         * gdb.arch/i386-size.exp: Likewise.
12474         * gdb.arch/i386-sse.exp: Likewise.
12475         * gdb.arch/i386-unwind.exp: Likewise.
12476         * gdb.arch/i386-word.exp: Likewise.
12477
12478         * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
12479         test only when building 64-bit executables.  Do not hard-code
12480         -m64 option.
12481
12482 2010-07-07  Doug Evans  <dje@google.com>
12483
12484         * lib/gdb.exp (gdb_test_list_exact): New function.
12485         * gdb.base/default.exp (show convenience): Call it, add tests for
12486         $_sdata = void, $_thread = 0.
12487
12488 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
12489             Joel Brobecker  <brobecker@adacore.com>
12490
12491         Fix re-run of PIE executable, PR shlibs/11776.
12492         * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
12493         Remove $displacement_main to match the solib-svr4.c change.  New "kill"
12494         and re-"run" of the inferior.
12495
12496 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
12497             Joel Brobecker  <brobecker@adacore.com>
12498
12499         Cope with missing /usr/sbin/prelink.
12500         * lib/prelink-support.exp (prelink_no):
12501         <result == 1 && $output is "no such file or directory">: New.
12502         (prelink_yes): Likewise.  Return on failed prelink_no.
12503
12504 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
12505             Joel Brobecker  <brobecker@adacore.com>
12506
12507         * gdb.base/attach-pie-misread.exp: Load prelink-support.exp.  Replace
12508         build_executable by build_executable_own_libs.  Replace "prelink -R"
12509         execution by a call of prelink_yes.  Comment why "prelink -r" needs no
12510         change.
12511         * gdb.base/break-interp.exp: Load prelink-support.exp.  Rename calls of
12512         copy to file_copy.  Move setting opts --dynamic-linker and -rpath,
12513         mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
12514         Replace build_executable by build_executable_own_libs's function
12515         build_executable_own_libs.
12516         (prelinkNO): Create new stub to call prelink_no.
12517         (prelinkYES): Create new stub to call prelink_yes.
12518         (test_attach): Rename calls of copy to file_copy.
12519         (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
12520         (copy): Move to ...
12521         * lib/prelink-support.exp: ... a new file.  Rename prelinkNO to
12522         prelink_no, prelinkYES to prelink_yes, copy to file_copy.
12523         * gdb.base/prelink.exp: Disable testcase also for is_remote and
12524         skip_shlib_tests.  Load prelink-support.exp.  Replace gdb_compile with
12525         special flags by gdb_compile_shlib.  Replace second gdb_compile by
12526         build_executable_own_libs.  Replace "prelink -R" execution by a call of
12527         prelink_yes.  Replace "prelink -u" and second "prelink -R" execution by
12528         a second call of prelink_yes.  Replace restart commands by
12529         clean_restart.
12530         (prelink): Rename to ...
12531         (seen displacement message): ... this test.  Extend its expectation
12532         strictness.
12533
12534 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
12535
12536         * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
12537         * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
12538         displacement message exactly once.
12539
12540 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
12541             Joel Brobecker  <brobecker@adacore.com>
12542
12543         * gdb.base/break-interp.exp (test_attach): Keep $interp changed.  Move
12544         its restore after the <$relink_args != ""> loop.  new comment.
12545
12546 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
12547             Joel Brobecker  <brobecker@adacore.com>
12548
12549         * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
12550         code for it.  New variable relink_args.
12551         (prelinkYES): Call prelinkNO.
12552         (test_attach): Accept new parameter relink_args.  Re-prelink the binary
12553         in such case.  Move the core code to ...
12554         (test_attach_gdb): ... a new function.  Send GDB command "file".
12555         Extend expected "Attaching to " string.
12556
12557 2010-07-02  Tom Tromey  <tromey@redhat.com>
12558
12559         * gdb.base/bitops.exp: Remove extraneous "pass".
12560
12561 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
12562
12563         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
12564
12565 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
12566
12567         * gdb.base/help.exp: Adjust expected output.
12568
12569 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
12570
12571         * gdb.base/help.exp: Adjust expected output.
12572
12573 2010-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
12574
12575         * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
12576         (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
12577         c++/11702.
12578
12579 2010-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
12580             Doug Evans  <dje@google.com>
12581
12582         * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
12583         add .dynamic entry'.
12584
12585 2010-06-29  Doug Evans  <dje@google.com>
12586
12587         Test PR c++/11702.
12588         * gdb.cp/m-static.exp: Add testcase.
12589         * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
12590
12591 2010-06-28  Phil Muldoon  <pmuldoon@redhat.com>
12592             Tom Tromey  <tromey@redhat.com>
12593             Thiago Jung Bauermann  <bauerman@br.ibm.com>
12594
12595         * gdb.python/py-inferior.c: New File.
12596         * gdb.python/py-infthread.c: New File.
12597         * gdb.python/py-inferior.exp: New File.
12598         * gdb.python/py-infthread.exp: New File.
12599
12600 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
12601
12602         * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
12603         (ptype ::C::OtherFileClass typedefs): New.
12604         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
12605         (C::OtherFileClass::cOtherFileClassVar2): New.
12606         (C::OtherFileClass::cOtherFileClassVar_use): Use also
12607         cOtherFileClassVar2.
12608         (C::cOtherFileType2, C::cOtherFileVar2): New.
12609         (C::cOtherFileVar_use): use also cOtherFileVar2.
12610         * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
12611
12612 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
12613
12614         * gdb.cp/namespace.exp (whatis C::cOtherFileType)
12615         (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
12616         (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
12617         (print ::C::cOtherFileVar)
12618         (whatis C::OtherFileClass::cOtherFileClassType)
12619         (whatis ::C::OtherFileClass::cOtherFileClassType)
12620         (print C::OtherFileClass::cOtherFileClassVar)
12621         (print ::cOtherFileClassVar)
12622         (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
12623         (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
12624         trailing content.
12625         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
12626         (C::OtherFileClass::cOtherFileClassVar)
12627         (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
12628         (C::cOtherFileVar, C::cOtherFileVar_use): New.
12629
12630 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
12631
12632         Test PR c++/11703 and PR gdb/1448.
12633         * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
12634         gdb/1448.
12635
12636 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
12637
12638         * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
12639         (main) <rtti_data>: New.
12640         * gdb.cp/virtbase.exp (print rtti_data): New.
12641
12642 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
12643             Joel Brobecker  <brobecker@adacore.com>
12644
12645         * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
12646
12647 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
12648
12649         * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
12650
12651 2010-06-28  Doug Evans  <dje@google.com>
12652
12653         * gdb.base/break-interp.exp (reach): Relax expected output a bit.
12654
12655 2010-06-27  Doug Evans  <dje@google.com>
12656
12657         * gdb.cp/m-static.exp: Update expected test output.
12658
12659 2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
12660
12661         * gdb.gdb/selftest.exp: Adjust expected message for
12662         capturing start-up runtime.
12663
12664 2010-06-25  Tom Tromey  <tromey@redhat.com>
12665
12666         PR python/10808:
12667         * gdb.python/python.exp: Add new tests.
12668
12669 2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
12670
12671         * gdb.cp/operator.cc: Created an import loop.
12672         * gdb.cp/operator.exp: Added testcase for import loop.
12673
12674 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
12675
12676         Test PR python/11407.
12677         * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
12678         * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
12679         Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
12680         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
12681         executable_nofb and executable_fb.  New variables srcsfile, objsfile,
12682         srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
12683         binfile.  Call gdb_compile with clean_restart twice.
12684         (func_nofb print, func_nofb backtrace, func_loopfb print)
12685         (func_loopfb backtrace): New.
12686
12687 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
12688
12689         * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
12690         * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
12691         by a hand made one.
12692         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
12693         i?86 requirement.  Remove variables srcfile and binfile.  New variable
12694         sources, executable_nofb and executable_fb.  Call prepare_for_testing.
12695
12696 2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12697
12698         * gdb.cell/dwarfaddr.exp: New file.
12699         * gdb.cell/dwarfaddr.S: New file.
12700
12701 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
12702
12703         Test PR 9436.
12704         * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
12705
12706 2010-06-24  Hui Zhu  <teawater@gmail.com>
12707
12708         * gdb.base/eval.exp: New file.
12709
12710 2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12711
12712         * gdb.cell/fork.exp: New file.
12713         * gdb.cell/fork.c: Likewise.
12714         * gdb.cell/fork-spu.c: Likewise.
12715
12716 2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
12717
12718         * lib/gdb.exp (banned_variables_traced): New global variable.
12719         (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
12720         (gdb_init): Use `trace add variable' instead of obsolete
12721         `trace variable'.
12722
12723 2010-06-21  Doug Evans  <dje@google.com>
12724
12725         * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
12726
12727 2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12728
12729         * gdb.arch/spu-ls.exp: New file.
12730         * gdb.arch/spu-ls.c: Likewise.
12731
12732 2010-06-18  Stan Shebs  <stan@codesourcery.com>
12733
12734         * gdb.threads/thread-specific.exp: Add tests of $_thread.
12735
12736 2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12737
12738         * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
12739         * gdb.base/watch-cond.exp: Likewise.
12740         * gdb.python/py-breakpoint.exp: Likewise.
12741
12742 2010-06-18  Pedro Alves  <pedro@codesourcery.com>
12743
12744         * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
12745         clean_restart, make sure every test has a distinct message, and
12746         that messages don't include the executable' full path.
12747
12748 2010-06-17  Doug Evans  <dje@google.com>
12749
12750         * gdb.arch/i386-size.exp: Updated expected output for
12751         DISASSEMBLY_OMIT_FNAME.
12752
12753 2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
12754             Sergio Durigan Junior  <sergiodj@redhat.com>
12755
12756         * gdb.base/watch-notconst.c: New file.
12757         * gdb.base/watch-notconst.S: New file.
12758         * gdb.base/watch-notconst2.c: New file.
12759         * gdb.base/watch-notconst2.S: New file.
12760         * gdb.base/watch-notconst.exp: New file.
12761         * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
12762         (func4): Add operations on `global_ptr_ptr'.
12763         * gdb.base/watchpoint.exp (test_constant_watchpoint): New
12764         routine to test watchpoints created with a constant expression.
12765         (test_inaccessible_watchpoint): Include tests for watchpoints
12766         created with a constant expression.
12767
12768 2010-06-14  Kevin Buettner  <kevinb@redhat.com>
12769
12770         * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
12771         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
12772         gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
12773         gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
12774         gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
12775         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
12776         gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
12777         of `_start'.
12778
12779 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12780
12781         * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
12782         not supported on the target.
12783         * gdb.mi/mi-nonstop-exit.exp: Likewise.
12784         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12785         * gdb.mi/mi-nsintrall.exp: Likewise.
12786         * gdb.mi/mi-nsmoribund.exp: Likewise.
12787         * gdb.mi/mi-nsthrexec.exp: Likewise.
12788
12789 2010-06-11  Stan Shebs  <stan@codesourcery.com>
12790
12791         * gdb.base/permissions.exp: New file.
12792
12793 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12794
12795         * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
12796         does not support ELF executable class.
12797
12798 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12799
12800         * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
12801
12802 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12803
12804         * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
12805         (runto): Catch "The target does not support running in non-stop mode.".
12806
12807 2010-06-11  Michael Snyder  <msnyder@vmware.com>
12808
12809         * gdb.base/setshow.exp (set language asm): Don't use
12810         gdb_test_no_output, fails on some targets.
12811
12812 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12813
12814         * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
12815         * gdb.cp/pr9167.exp: Likewise.
12816
12817 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12818
12819         * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
12820
12821 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12822
12823         * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
12824
12825 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12826
12827         * gdb.base/charset.c (main): Make sure malloc gets linked in.
12828
12829 2010-06-11  Tom Tromey  <tromey@redhat.com>
12830
12831         PR gdb/9977, PR exp/11636::
12832         * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
12833         (pieces_test_f6): Update expected output.
12834
12835 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12836
12837         * gdb.base/moribund-step.exp: New.
12838
12839 2010-06-08  Michael Snyder  <msnyder@vmware.com>
12840
12841         * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
12842         * gdb.ada/boolean_expr.exp:
12843         * gdb.ada/frame_args.exp: Ditto.
12844         * gdb.ada/lang_switch.exp: Ditto.
12845         * gdb.ada/ptype_arith_binop.exp: Ditto.
12846         * gdb.ada/ref_param.exp: Ditto.
12847         * gdb.ada/type_coercion.exp:Ditto.
12848
12849         * gdb.asm/asm-source.exp: Ditto.
12850
12851         * gdb.base/attach.exp: Ditto.
12852         * gdb.base/bitfields2.exp: Ditto.
12853         * gdb.base/call-signal-resume.exp: Ditto.
12854         * gdb.base/callfuncs.exp: Ditto.
12855         * gdb.base/commands.exp: Ditto.
12856         * gdb.base/dbx.exp: Ditto.
12857         * gdb.base/default.exp: Ditto.
12858         * gdb.base/dump.exp: Ditto.
12859         * gdb.base/exprs.exp: Ditto.
12860         * gdb.base/freebpcmd.exp: Ditto.
12861         * gdb.base/interrupt.exp: Ditto.
12862         * gdb.base/list.exp: Ditto.
12863         * gdb.base/long_long.exp: Ditto.
12864         * gdb.base/maint.exp: Ditto.
12865         * gdb.base/ptype.exp: Ditto.
12866         * gdb.base/return.exp: Ditto.
12867         * gdb.base/setshow.exp: Ditto.
12868         * gdb.base/sigbpt.exp: Ditto.
12869         * gdb.base/sigrepeat.exp: Ditto.
12870
12871         * gdb.cp/classes.exp: Ditto.
12872
12873         * gdb.dwarf2/dw2-restore.exp: Ditto.
12874
12875         * gdb.gdb/selftest.exp: Ditto.
12876
12877         * gdb.multi/base.exp: Ditto.
12878         * gdb.multi/bkpt-multi-exec.exp: Ditto.
12879
12880         * gdb.python/py-block.exp: Ditto.
12881         * gdb.python/py-prettyprint.exp: Ditto.
12882         * gdb.python/py-template.exp: Ditto.
12883
12884         * gdb.server/ext-attach.exp: Ditto.
12885         * gdb.server/ext-run.exp: Ditto.
12886         * gdb.server/server-mon.exp: Ditto.
12887
12888         * gdb.threads/fork-thread-pending.exp: Ditto.
12889         * gdb.threads/hand-call-in-threads.exp: Ditto.
12890         * gdb.threads/interrupted-hand-call.exp: Ditto.
12891         * gdb.threads/linux-dp.exp: Ditto.
12892         * gdb.threads/manythreads.exp: Ditto.
12893         * gdb.threads/print-threads.exp: Ditto.
12894         * gdb.threads/pthreads.exp: Ditto.
12895         * gdb.threads/schedlock.exp: Ditto.
12896         * gdb.threads/thread-unwindonsignal.exp: Ditto.
12897         * gdb.threads/threadapply.exp: Ditto.
12898
12899 2010-06-08  Michael Snyder  <msnyder@vmware.com>
12900
12901         * gdb.ada/exec_changed.exp:
12902         Use ".*" instead of "" as wildcard regexp.
12903
12904         * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
12905         * gdb.base/call-ar-st.exp: Ditto.
12906         * gdb.base/checkpoint.exp: Ditto.
12907         * gdb.base/default.exp: Ditto.
12908         * gdb.base/dump.exp: Ditto.
12909         * gdb.base/ending-run.exp: Ditto.
12910         * gdb.base/fileio.exp: Ditto.
12911         * gdb.base/miscexprs.exp: Ditto.
12912         * gdb.base/pointers.exp: Ditto.
12913         * gdb.base/readline.exp: Ditto.
12914         * gdb.base/reread.exp: Ditto.
12915         * gdb.base/restore.exp: Ditto.
12916         * gdb.base/shlib-call.exp: Ditto.
12917         * gdb.base/valgrind-db-attach.exp: Ditto.
12918         * gdb.base/volatile.exp: Ditto.
12919         * gdb.base/watchpoints.exp: Ditto.
12920
12921         * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
12922
12923         * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
12924         * gdb.python/py-value.exp: Ditto.
12925
12926         * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
12927         * gdb.trace/circ.exp: Ditto.
12928         * gdb.trace/collection.exp: Ditto.
12929         * gdb.trace/packetlen.exp: Ditto.
12930         * gdb.trace/passc-dyn.exp: Ditto.
12931         * gdb.trace/report.exp: Ditto.
12932         * gdb.trace/tfile.exp: Ditto.
12933         * gdb.trace/tfind.exp: Ditto.
12934         * gdb.trace/while-dyn.exp: Ditto.
12935
12936 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
12937
12938         * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
12939
12940 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12941
12942         Test PR 10640.
12943         * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
12944
12945 2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
12946
12947         * gdb.cp/koenig.exp: Test for ADL operators.
12948         * gdb.cp/koenig.cc: Added ADL operators.
12949         * gdb.cp/operator.exp: New test.
12950         * gdb.cp/operator.cc: New test.
12951
12952 2010-06-04  Michael Snyder  <msnyder@vmware.com>
12953
12954         * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
12955         * gdb.base/pending.exp: Ditto.
12956
12957         * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
12958
12959 2010-06-04  Doug Evans  <dje@google.com>
12960
12961         * gdb.python/py-prettyprint.exp: Add new test for enabled and
12962         disabled printers.
12963         * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
12964         (enable_lookup_function): New function.
12965
12966 2010-06-04  Tom Tromey  <tromey@redhat.com>
12967
12968         * gdb.python/py-value.exp (test_value_hash): Don't test equality
12969         of hash and id.
12970
12971 2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
12972
12973         * gdb.base/commands.exp (add printf tbreak command): Remove trailing
12974         newline.
12975         * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
12976         (empty verbose non-noisy clear, empty verbose noisy clear)
12977         (empty non-verbose noisy clear): Likewise.
12978
12979 2010-06-03  Michael Snyder  <msnyder@vmware.com>
12980
12981         * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
12982         * gdb.base/display.exp: Ditto.
12983         * gdb.base/find.exp: Ditto.
12984         * gdb.base/ifelse.exp: Ditto.
12985         * gdb.base/multi-forks.exp: Ditto.
12986         * gdb.base/recurse.exp: Ditto.
12987         * gdb.base/setshow.exp: Ditto.
12988         * gdb.base/value-double-free.exp: Ditto.
12989         * gdb.base/watch-vfork.exp: Ditto.
12990         * gdb.base/watch_thread_num.exp: Ditto.
12991         * gdb.base/watchpoint-solib.exp: Ditto.
12992         * gdb.base/watchpoint.exp: Ditto.
12993         * gdb.base/watchpoints.exp: Ditto.
12994
12995         * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
12996         * gdb.cp/overload.exp: Ditto.
12997         * gdb.cp/virtfunc.exp: Ditto.
12998
12999         * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
13000
13001         * gdb.reverse/watch-precsave.exp:
13002         Replace gdb_test with gdb_test_no_output.
13003
13004         * gdb.threads/attach-into-signal.exp:
13005         Replace gdb_test with gdb_test_no_output.
13006         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
13007         * gdb.threads/watchthreads.exp: Ditto.
13008         * gdb.threads/watchthreads2.exp: Ditto.
13009
13010         * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
13011         * gdb.trace/tfind.exp: Ditto.
13012
13013 2010-06-03  Joel Brobecker  <brobecker@adacore.com>
13014
13015         * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
13016         successful test if message is the empty string.
13017
13018 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13019
13020         * gdb.fortran/module.exp (stopped language detection): New test.
13021
13022 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13023
13024         Support DW_TAG_module as separate namespaces.
13025         * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
13026         gdb.fortran/library-module-lib.f90: New.
13027         * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
13028         (print i): Remove.
13029         (continue to breakpoint: i-is-1, print var_i value 1)
13030         (continue to breakpoint: i-is-2, print var_i value 2)
13031         (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
13032         (print var_d, print var_i value 14, ptype modmany, complete `modm)
13033         (complete `modmany, complete `modmany`, complete `modmany`var)
13034         (show language, setting breakpoint at module): New tests.
13035         * gdb.fortran/module.f90 (module mod): Remove.
13036         (module mod1, module mod2, module modmany, subroutine sub1)
13037         (subroutine sub2, program module): New.
13038
13039 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13040
13041         * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
13042         (print value of rUC, print value of rI, print value of UI): ... here.
13043         * gdb.cp/anon-union.exp (pass): Rename to ...
13044         (print z 2): ... here.
13045
13046 2010-06-02  Michael Snyder  <msnyder@vmware.com>
13047
13048         * gdb.trace/actions.exp: Use gdb_test_no_output.
13049         * gdb.trace/circ.exp: Ditto.
13050         * gdb.trace/packetlen.exp: Ditto.
13051         * gdb.trace/save-trace.exp: Ditto.
13052         * gdb.trace/tracecmd.exp: Ditto.
13053         * gdb.trace/tsv.exp: Ditto.
13054
13055         * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
13056         * gdb.threads/hand-call-in-thraeds.exp: Ditto.
13057         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
13058         * gdb.threads/manythreads.exp: Ditto.
13059         * gdb.threads/print-threads.exp: Ditto.
13060         * gdb.threads/pthreads.exp: Ditto.
13061         * gdb.threads/schedlock.exp: Ditto.
13062         * gdb.threads/staticthreads.exp: Ditto.
13063         * gdb.threads/thread-specific.exp: Ditto.
13064         * gdb.threads/thread-unwindonsignal.exp: Ditto.
13065         * gdb.threads/threadapply.exp: Ditto.
13066         * gdb.threads/watchthreads.exp: Ditto.
13067         * gdb.threads/watchthreads2.exp: Ditto.
13068
13069         * gdb.python/py-block.exp: Use gdb_test_no_output.
13070         * gdb.python/py-prettyprint.exp: Ditto.
13071         * gdb.python/py-template.exp: Ditto.
13072         * gdb.python/py-value.exp: Ditto.
13073
13074         * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
13075         * gdb.reverse/watch-reverse.exp: Ditto.
13076
13077         * gdb.server/ext-attach.exp: Use gdb_test_no_output.
13078         * gdb.server/ext-run.exp: Ditto.
13079
13080         * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
13081         * gdb.dwarf2/dw2-compressed.exp: Ditto.
13082         * gdb.dwarf2/dw2-intercu.exp: Ditto.
13083         * gdb.dwarf2/dw2-intermix.exp: Ditto.
13084         * gdb.dwarf2/dw2-producer.exp: Ditto.
13085         * gdb.dwarf2/mac-fileno.exp: Ditto.
13086
13087         * gdb.gdb/observer.exp: Use gdb_test_no_output.
13088         * gdb.gdb/selftest.exp: Ditto.
13089
13090         * gdb.multi/base.exp: Use gdb_test_no_output.
13091
13092         * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
13093
13094 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13095
13096         * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
13097
13098 2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
13099
13100         * gdb.cp/class2.exp: Use gdb_test_no_output.
13101         * gdb.cp/classes.exp: Ditto.
13102         * gdb.cp/extern-c.exp: Ditto.
13103         * gdb.cp/inherit.exp: Ditto.
13104         * gdb.cp/maint.exp: Ditto.
13105         * gdb.cp/mb-inline.exp: Ditto.
13106         * gdb.cp/mb-templates.exp: Ditto.
13107         * gdb.cp/method2.exp: Ditto.
13108         * gdb.cp/misc.exp: Ditto.
13109         * gdb.cp/ovldbreak.exp: Ditto.
13110         * gdb.cp/punctuator.exp: Ditto.
13111         * gdb.cp/templates.exp: Ditto.
13112         * gdb.cp/virtbase.exp: Ditto.
13113
13114         * gdb.threads/attach-stopped.exp:
13115         Replace uses of send_gdb / gdb_expect.
13116         * gdb.threads/attachstop-mt.exp:
13117         Replace uses of send_gdb / gdb_expect.
13118         * gdb.threads/gcore-thread.exp:
13119         Replace uses of send_gdb / gdb_expect.
13120         * gdb.threads/hand-call-in-threads.exp:
13121         Replace uses of send_gdb / gdb_expect.
13122         * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
13123         * gdb.threads/print-threads.exp:
13124         Replace uses of send_gdb / gdb_expect.
13125         * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
13126         * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
13127         * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
13128
13129         * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
13130         * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
13131         * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
13132         * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
13133         * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
13134         * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
13135         * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
13136         * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
13137         * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
13138         * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
13139         * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
13140
13141 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13142
13143         * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
13144
13145 2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>
13146
13147         * gdb.cp/koenig.exp: Added new test case.
13148         * gdb.cp/koenig.cc: Ditto.
13149
13150 2010-06-01  Michael Snyder  <msnyder@vmware.com>
13151
13152         * gdb.base/arithmet.exp: Use gdb_test_no_output.
13153         * gdb.base/arrayidx.exp: Ditto.
13154         * gdb.base/attach.exp: Ditto.
13155         * gdb.base/auxv.exp: Ditto.
13156         * gdb.base/bigcre.exp: Ditto.
13157         * gdb.base/break-always.exp: Ditto.
13158         * gdb.base/break-interp.exp: Ditto.
13159         * gdb.base/break.exp: Ditto.
13160         * gdb.base/breakpoint-shadow.exp: Ditto.
13161         * gdb.base/call-ar-st.exp: Ditto.
13162         * gdb.base/call-sc.exp: Ditto.
13163         * gdb.base/call-signal-resume.exp: Ditto.
13164         * gdb.base/callfuncs.exp: Ditto.
13165         * gdb.base/catch-syscall.exp: Ditto.
13166         * gdb.base/charset.exp: Ditto.
13167         * gdb.base/code-expr.exp: Ditto.
13168         * gdb.base/commands.exp: Ditto.
13169         * gdb.base/cond-expr.exp: Ditto.
13170         * gdb.base/condbreak.exp: Ditto.
13171         * gdb.base/cursal.exp: Ditto.
13172         * gdb.base/cvexpr.exp: Ditto.
13173         * gdb.base/default.exp: Ditto.
13174         * gdb.base/del.exp: Ditto.
13175         * gdb.base/detach.exp: Ditto.
13176         * gdb.base/display.exp: Ditto.
13177         * gdb.base/ena-dis-br.exp: Ditto.
13178         * gdb.base/eval-skip.exp: Ditto.
13179         * gdb.base/foll-fork.exp: Ditto.
13180         * gdb.base/foll-vfork.exp: Ditto.
13181         * gdb.base/frame-args.exp: Ditto.
13182         * gdb.base/funcargs.exp: Ditto.
13183         * gdb.base/gcore-buffer-overflow.exp: Ditto.
13184         * gdb.base/gdbvars.exp: Ditto.
13185         * gdb.base/help.exp: Ditto.
13186         * gdb.base/ifelse.exp: Ditto.
13187         * gdb.base/included.exp: Ditto.
13188         * gdb.base/list.exp: Ditto.
13189         * gdb.base/macscp.exp: Ditto.
13190         * gdb.base/maint.exp: Ditto.
13191         * gdb.base/multi-fork.exp: Ditto.
13192         * gdb.base/overlays.exp: Ditto.
13193         * gdb.base/page.exp: Ditto.
13194         * gdb.base/pending.exp: Ditto.
13195         * gdb.base/pointers.exp: Ditto.
13196         * gdb.base/pr11022.exp: Ditto.
13197         * gdb.base/prelink.exp: Ditto.
13198         * gdb.base/printcmds.exp: Ditto.
13199         * gdb.base/psymtab.exp: Ditto.
13200         * gdb.base/randomize.exp: Ditto.
13201         * gdb.base/relational.exp: Ditto.
13202         * gdb.base/relocate.exp: Ditto.
13203         * gdb.base/remote.exp: Ditto.
13204         * gdb.base/sepdebug.exp: Ditto.
13205         * gdb.base/set-lang-auto.exp: Ditto.
13206         * gdb.base/setshow.exp: Ditto.
13207         * gdb.base/setvar.exp: Ditto.
13208         * gdb.base/signals.exp: Ditto.
13209         * gdb.base/signull.exp: Ditto.
13210         * gdb.base/sigstep.exp: Ditto.
13211         * gdb.base/sizeof.exp: Ditto.
13212         * gdb.base/solib-disc.exp: Ditto.
13213         * gdb.base/store.exp: Ditto.
13214         * gdb.base/structs.exp: Ditto.
13215         * gdb.base/structs2.exp: Ditto.
13216         * gdb.base/subst.exp: Ditto.
13217         * gdb.base/term.exp: Ditto.
13218         * gdb.base/trace-commands.exp: Ditto.
13219         * gdb.base/unwindonsignal.exp: Ditto.
13220         * gdb.base/valgrind-db-attach.exp: Ditto.
13221         * gdb.base/varargs.exp: Ditto.
13222         * gdb.base/watch-cond.exp: Ditto.
13223         * gdb.base/watch_thread_num.exp: Ditto.
13224         * gdb.base/watchpoint-cond-gone.exp: Ditto.
13225         * gdb.base/watchpoint.exp: Ditto.
13226         * gdb.base/whatis-exp.exp: Ditto.
13227
13228 2010-06-01  Michael Snyder  <msnyder@vmware.com>
13229
13230         * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
13231         * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
13232         * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
13233         * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
13234         * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
13235         * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
13236         * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
13237         * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
13238         * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
13239         * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
13240         * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
13241         * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
13242         * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
13243         * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
13244         * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
13245
13246 2010-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
13247
13248         * gdb.base/commands.exp (begin commands on watch): Remove excessive
13249         trailing newline.
13250         * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
13251         * gdb.java/jmisc.exp (p *args\n): Rename to ...
13252         (p *args): ... here and remove excessive trailing newline.
13253
13254 2010-05-31  Joel Brobecker  <brobecker@adacore.com>
13255
13256         * gdb.base/subst.exp: Fix call to gdb_test with empty message.
13257
13258 2010-05-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
13259
13260         Accept the new Linux kernel "t (tracing stop)" string.
13261         * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
13262         Update comment.
13263         (state_wait) <T (tracing stop)>: New.
13264         (main): Update the state_wait expect string.
13265
13266 2010-05-28  Pedro Alves  <pedro@codesourcery.com>
13267
13268         * limits.c, limits.exp: Delete files.
13269         * Makefile.in (clean mostlyclean): Adjust.
13270         * tracecmd.exp: Adjust.
13271
13272 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
13273
13274         * gdb.base/tui-layout.exp: New.
13275
13276 2010-05-28  Michael Snyder  <msnyder@vmware.com>
13277
13278         * gdb.reverse/break-precsave.exp:
13279         Replace uses of send_gdb / gdb_expect.
13280         * gdb.reverse/break-reverse.exp:
13281         Replace uses of send_gdb / gdb_expect.
13282         * gdb.reverse/consecutive-precsave.exp:
13283         Replace uses of send_gdb / gdb_expect.
13284         * gdb.reverse/consecutive-reverse.exp:
13285         Replace uses of send_gdb / gdb_expect.
13286         * gdb.reverse/finish-precsave.exp:
13287         Replace uses of send_gdb / gdb_expect.
13288         * gdb.reverse/finish-reverse.exp:
13289         Replace uses of send_gdb / gdb_expect.
13290         * gdb.reverse/i386-precsave.exp:
13291         Replace uses of send_gdb / gdb_expect.
13292         * gdb.reverse/i386-reverse.exp:
13293         Replace uses of send_gdb / gdb_expect.
13294         * gdb.reverse/i386-sse-reverse.exp:
13295         Replace uses of send_gdb / gdb_expect.
13296         * gdb.reverse/i387-env-reverse.exp:
13297         Replace uses of send_gdb / gdb_expect.
13298         * gdb.reverse/i387-stack-reverse.exp:
13299         Replace uses of send_gdb / gdb_expect.
13300         * gdb.reverse/machinestate-precsave.exp:
13301         Replace uses of send_gdb / gdb_expect.
13302         * gdb.reverse/machinestate.exp:
13303         Replace uses of send_gdb / gdb_expect.
13304         * gdb.reverse/sigall-precsave.exp:
13305         Replace uses of send_gdb / gdb_expect.
13306         * gdb.reverse/sigall-reverse.exp:
13307         Replace uses of send_gdb / gdb_expect.
13308         * gdb.reverse/solib-precsave.exp:
13309         Replace uses of send_gdb / gdb_expect.
13310         * gdb.reverse/solib-reverse.exp:
13311         Replace uses of send_gdb / gdb_expect.
13312         * gdb.reverse/step-precsave.exp:
13313         Replace uses of send_gdb / gdb_expect.
13314         * gdb.reverse/step-reverse.exp:
13315         Replace uses of send_gdb / gdb_expect.
13316         * gdb.reverse/until-precsave.exp:
13317         Replace uses of send_gdb / gdb_expect.
13318         * gdb.reverse/until-reverse.exp:
13319         Replace uses of send_gdb / gdb_expect.
13320         * gdb.reverse/watch-precsave.exp:
13321         Replace uses of send_gdb / gdb_expect.
13322         * gdb.reverse/watch-reverse.exp:
13323         Replace uses of send_gdb / gdb_expect.
13324
13325 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
13326
13327         * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
13328         excessive newline.
13329
13330 2010-05-27  Michael Snyder  <msnyder@vmware.com>
13331
13332         * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
13333         * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
13334         * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
13335         * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
13336         * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
13337         * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
13338         * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
13339         * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
13340         * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
13341         * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
13342         * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
13343         * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
13344         * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
13345         * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
13346         * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
13347         * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
13348         * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
13349         * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
13350         * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
13351
13352 2010-05-26  Michael Snyder  <msnyder@vmware.com>
13353
13354         * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
13355         * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
13356
13357         * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
13358         * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
13359         * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
13360
13361         * gdb.reverse/consecutive-reverse.exp:
13362         Replace uses of send_gdb / gdb_expect.
13363         * gdb.reverse/consecutive-precsave.exp:
13364         Replace uses of send_gdb / gdb_expect.
13365
13366         * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
13367         * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
13368         * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
13369         * gdb.mi/mi-ns-stale-regcache.exp:
13370         Replace uses of send_gdb / gdb_expect.
13371         * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
13372         * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
13373         * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
13374         * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
13375         * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
13376         * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
13377         * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
13378         * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
13379         * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
13380
13381 2010-05-26  Michael Snyder  <msnyder@vmware.com>
13382
13383         * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
13384
13385         * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
13386
13387         * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
13388         * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
13389         * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
13390         * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
13391         * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
13392         * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
13393         * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
13394         * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
13395         * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
13396
13397 2010-05-25  Tom Tromey  <tromey@redhat.com>
13398
13399         * gdb.base/macscp.exp: Add missing space after setup_kfail.
13400
13401 2010-05-25  Tom Tromey  <tromey@redhat.com>
13402
13403         * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
13404         argument order.
13405         * gdb.base/macscp.exp: Fix setup_kfail argument order.
13406         * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
13407         order.
13408         * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
13409         order.
13410         * gdb.base/call-sc.exp (setup_kfails): Remove.
13411         (setup_compiler_kfails): Remove.
13412         * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
13413         argument order.
13414         * gdb.base/siginfo.exp: Fix setup_kfail argument order.
13415         * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
13416         (advancei): Fix setup_kfail argument order.
13417         * gdb.base/radix.exp: Fix setup_kfail argument order.
13418         * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
13419         order.
13420         * gdb.base/structs.exp (setup_kfails): Remove.
13421         (setup_compiler_kfails): Fix setup_kfail argument order.
13422         * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
13423         order.
13424         * gdb.java/jmain.exp: Fix setup_kfail argument order.
13425         * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
13426         setup_kfail argument order.
13427         * gdb.cp/overload.exp: Fix setup_kfail argument order.
13428
13429 2010-05-25  Tom Tromey  <tromey@redhat.com>
13430
13431         * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
13432
13433 2010-05-25  Michael Snyder  <msnyder@vmware.com>
13434
13435         * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
13436         * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
13437         * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
13438         * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
13439         * gdb.base/assign.exp: Replace send_gdb with gdb_test.
13440         * gdb.base/attach.exp: Replace send_gdb with gdb_test.
13441         * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
13442         * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
13443         * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
13444         * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
13445         * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
13446         * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
13447         * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
13448         * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
13449         * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
13450         * gdb.base/charset.exp: Replace send_gdb with gdb_test.
13451         * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
13452         * gdb.base/commands.exp: Replace send_gdb with gdb_test.
13453         * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
13454         * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
13455         * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
13456         * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
13457         * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
13458         * gdb.base/default.exp: Replace send_gdb with gdb_test.
13459         * gdb.base/define.exp: Replace send_gdb with gdb_test.
13460         * gdb.base/display.exp: Replace send_gdb with gdb_test.
13461         * gdb.base/dump.exp: Replace send_gdb with gdb_test.
13462         * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
13463         * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
13464         * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
13465         * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
13466         * gdb.base/finish.exp: Replace send_gdb with gdb_test.
13467         * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
13468         * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
13469         * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
13470         * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
13471         * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
13472         * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
13473         * gdb.base/help.exp: Replace send_gdb with gdb_test.
13474         * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
13475         * gdb.base/jump.exp: Replace send_gdb with gdb_test.
13476         * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
13477         * gdb.base/maint.exp: Replace send_gdb with gdb_test.
13478         * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
13479         * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
13480         * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
13481         * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
13482         * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
13483
13484 2010-05-25  Doug Evans  <dje@google.com>
13485
13486         * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
13487         gdb.string_to_argv.
13488
13489 2010-05-21  Tom Tromey  <tromey@redhat.com>
13490
13491         * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
13492         Call it.
13493         * gdb.dwarf2/pieces.S: Update.
13494         * gdb.dwarf2/pieces.c (struct B): Remove initial field.
13495
13496 2010-05-21  Tom Tromey  <tromey@redhat.com>
13497
13498         * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
13499         Call it.
13500         * gdb.dwarf2/pieces.c (struct C): New.
13501         (f6): New function.
13502         * gdb.dwarf2/pieces.S: Replace.
13503
13504 2010-05-21  Tom Tromey  <tromey@redhat.com>
13505
13506         * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
13507         Call it.
13508
13509 2010-05-21  Tom Tromey  <tromey@redhat.com>
13510
13511         * gdb.dwarf2.pieces.exp: New file.
13512         * gdb.dwarf2.pieces.S: New file.
13513         * gdb.dwarf2.pieces.c: New file.
13514
13515 2010-05-20  Pedro Alves  <pedro@codesourcery.com>
13516             Joel Brobecker  <brobecker@adacore.com>
13517
13518         * lib/gdb.exp (gdb_test_no_output): New function.
13519         * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
13520         when testing commands that should produce no output.
13521
13522 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
13523
13524         * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
13525         parameter that we want to watch being a constant.
13526
13527 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
13528
13529         * gdb.ada/cond_lang: New testcase.
13530
13531 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
13532
13533         * lib/gdb.exp (banned_variables): New variable/constant.
13534         (gdb_init): Add write trace on variables listed in banned_variables.
13535         (gdb_finish): Remove write traces on variables listed in
13536         banned_variables.
13537
13538 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
13539
13540         * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
13541         * gdb.cp/koenig.exp: Likewise.
13542
13543 2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>
13544
13545         PR python/11482
13546
13547         * gdb.python/py-value.exp (test_value_hash): New function.
13548
13549 2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>
13550
13551         PR exp/11530.
13552         * gdb.base/gdb11530.c: New file.
13553         * gdb.base/gdb11530.exp: New file.
13554
13555 2010-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
13556
13557         * gdb.dwarf2/dw2-modula2-self-type.exp: New.
13558         * gdb.dwarf2/dw2-modula2-self-type.S: New.
13559
13560 2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
13561
13562         * gdb.cp/koenig.exp: New test.
13563         * gdb.cp/koenig.cc: New test program.
13564
13565 2010-05-05  Joel Brobecker  <brobecker@adacore.com>
13566
13567         Remove the use of prms_id and bug_id throughout the testsuite.
13568
13569 2010-05-04  Pierre Muller  <muller@ics.u-strasbg.fr>
13570
13571         PR exp/11349.
13572         * testsuite/gdb.cp/ref-types.exp: Add test to examine
13573         use a reference local variable.
13574
13575 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13576
13577         * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
13578         * gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
13579         variable different_dir. Move debugfile into a full directory pathname
13580         under DIFFERENT_DIR.
13581         * lib/gdb.exp (separate_debug_filename): Remove.
13582         (gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
13583         variable debug_dir and mkdir of it.  Update function comments.
13584
13585 2010-04-29  Pedro Alves  <pedro@codesourcery.com>
13586
13587         PR gdb/11557
13588
13589         * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
13590         files.
13591
13592 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
13593
13594         * gdb.python/py-param.exp: New File.
13595
13596 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
13597
13598         * gdb.base/default.exp: Fix "set language" test.
13599
13600 2010-04-24  Pierre Muller  <muller@ics.u-strasbg.fr>
13601
13602         PR breakpoints/11531.
13603         * gdb.base/gdb11531.c: New file.
13604         * gdb.base/gdb11531.exp: New file.
13605
13606 2010-04-26  Tom Tromey  <tromey@redhat.com>
13607
13608         * gdb.base/completion.exp: Add tests for completion and deprecated
13609         commands.
13610
13611 2010-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
13612
13613         * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
13614         (print /x char_array): Escape curly brackets.
13615
13616 2010-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13617
13618         Fix deadlock on looped list of loaded shared objects.
13619         * gdb.base/solib-corrupted.exp: New.
13620
13621 2010-04-23  Doug Evans  <dje@google.com>
13622
13623         * gdb.python/py-section-script.c: New file.
13624         * gdb.python/py-section-script.exp: New file.
13625         * gdb.python/py-section-script.py: New file.
13626
13627 2010-04-20  Chris Moller  <cmoller@redhat.com>
13628
13629         PR 10179
13630
13631         * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
13632         * gdb.base/pr10179-a.c:
13633         * gdb.base/pr10179-b.c:
13634         * gdb.base/pr10179.exp: New files.
13635
13636 2010-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13637
13638         Fix crashes on dangling display expressions.
13639         * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
13640         is SEP.
13641         (lib_flags): Remove the "debug" keyword.
13642         (libsepdebug): New variable for iterating new loop.
13643         (save_pf_prefix): New variable wrapping the loop.
13644         (sep_lib_flags): New variable derived from LIB_FLAGS.  Use it.
13645         * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
13646
13647 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
13648
13649         * gdb.threads/watchthreads.exp: Change to obtain consistent output.
13650
13651 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
13652
13653         PR stabs/11479.
13654         * gdb.stabs/gdb11479.exp: New file.
13655         * gdb.stabs/gdb11479.c: New file.
13656
13657 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
13658
13659         * gdb.base/charset.c (Strin16, String32): New variables.
13660         * gdb.base/charset.exp (gdb_test): Test correct display
13661         of 16 or 32 bit strings.
13662
13663 2010-04-21  Chris Moller  <cmoller@redhat.com>
13664
13665         PR 9167
13666         * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
13667         * gdb.cp/pr9167.cc: New file.
13668         * gdb.cp/pr9167.exp: New file.
13669
13670
13671 2010-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
13672
13673         PR pascal/11492.
13674         * gdb.pascal/gdb11492.pas: New file.
13675         * gdb.pascal/gdb11492.exp: New file.
13676
13677 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
13678
13679         * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
13680
13681 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
13682
13683         * gdb.ada/dyn_loc: New testcase.
13684
13685 2010-04-20  Chris Moller  <cmoller@redhat.com>
13686
13687         PR 10867
13688
13689         * gdb.cp/Makefile.in  (EXECUTABLES): Added pr10687
13690         * gdb.cp/pr10687.cc: New file.
13691         * gdb.cp/pr10687.exp: New file.
13692
13693
13694 2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
13695             Sergio Durigan Junior  <sergiodj@redhat.com>
13696
13697         * gdb.fortran/logical.exp: New testcase.
13698         * gdb.fortran/logical.f90: New file.
13699
13700 2010-04-19  Doug Evans  <dje@google.com>
13701
13702         * gdb.base/help.exp (help source): Update expected output.
13703
13704 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
13705
13706         * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
13707         gdb_reinitialize_dir and gdb_load by clean_restart.  Remove trailing
13708         gdb_exit and return.
13709         (executable): New variable.
13710         (binfile): Use it.
13711
13712 2010-04-19  Pedro Alves  <pedro@codesourcery.com>
13713
13714         PR breakpoints/8554.
13715
13716         * gdb.trace/save-trace.exp: Adjust.
13717
13718 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
13719
13720         PR corefiles/11511
13721         * gdb.arch/system-gcore.exp: New.
13722         * gdb.arch/gcore.c: Likewise.
13723
13724 2010-04-15  Doug Evans  <dje@google.com>
13725
13726         * gdb.python/py-progspace.c: New file.
13727         * gdb.python/py-progspace.exp: New file.
13728
13729         * gdb.base/source.exp: Add tests for "source -s".
13730
13731 2010-04-14  Phil Muldoon  <pmuldoon@redhat.com>
13732
13733         * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
13734         * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
13735         * gdb.python/py-prettyprint.exp: New test for to_string returning None.
13736         * gdb.python/py-mi.exp: New test for to_string returning None.
13737
13738 2010-04-12  Phil Muldoon  <pmuldoon@redhat.com>
13739
13740         * gdb.python/py-breakpoint.c: Make result global.
13741
13742 2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
13743
13744         Fix non-GNU make compatibility.
13745         * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
13746
13747 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
13748
13749         * gdb.python/py-breakpoint.exp: New File.
13750         * gdb.python/py-breakpoint.C: Ditto.
13751
13752 2010-04-08  Stan Shebs  <stan@codesourcery.com>
13753
13754         * gdb.trace/actions.exp: Clear default-collect.
13755         * gdb.trace/save-trace.exp: Clear default-collect.
13756
13757 2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
13758
13759         * gdb.python/py-value: Add null string variable.
13760           (test_lazy_string): Test zero length, NULL address lazy
13761           strings.
13762
13763 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
13764
13765         * gdb.arch/i386-avx.c: New.
13766         * gdb.arch/i386-avx.exp: Likewise.
13767
13768         * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
13769
13770 2010-04-06  Doug Evans  <dje@google.com>
13771
13772         * gdb.base/source-test.gdb: New file.
13773         * gdb.base/source.exp: Test source -v.
13774
13775 2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13776
13777         * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
13778
13779 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
13780
13781         * gdb.stabs/aout.sed: Convert all backslash to double backslash
13782         within one line, unless it is followed by a double quote.
13783         * gdb.stabs/hppa.sed: Idem.
13784         * gdb.stabs/weird.def: Add char and String constants
13785         * gdb.stabs/weird.exp: Check for correct parsing of
13786         char and string constants.
13787         * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
13788         in .stabs to .stabx substitution.
13789
13790 2010-04-05  Stan Shebs  <stan@codesourcery.com>
13791
13792         * gdb.trace/tfile.c: Add a variable split across two blocks, and a
13793         constant global.
13794         * gdb.trace/tfile.exp: Try to print them.
13795
13796 2010-04-04  Stan Shebs  <stan@codesourcery.com>
13797
13798         * gdb.base/completion.exp: Update for new "info watchpoints".
13799         * gdb.base/default.exp: Ditto.
13800         * gdb.base/help.exp: Ditto.
13801         * gdb.base/watchpoint.exp: Ditto.
13802         * gdb.trace/infotrace.exp: Update "info tracpoints" output.
13803
13804 2010-04-04  Stan Shebs  <stan@codesourcery.com>
13805
13806         * gdb.trace/tfile.exp: Sharpen tfind test.
13807
13808 2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
13809
13810         * gdb.base/break-entry.exp: New.
13811
13812 2010-04-02  Hui Zhu  <teawater@gmail.com>
13813             Michael Snyder <msnyder@vmware.com>
13814
13815         * gdb.reverse/i386-sse-reverse.exp: New file.
13816         * gdb.reverse/i386-sse-reverse.c: New file.
13817
13818 2010-04-02  Pedro Alves  <pedro@codesourcery.com>
13819
13820         * gdb.trace/tfind.exp: Adjust expected disassembly output.
13821
13822 2010-04-01  Stan Shebs  <stan@codesourcery.com>
13823
13824         * gdb.trace/actions.exp: Tweak expected output.
13825         * gdb.trace/while-stepping.exp: Tweak expected output.
13826
13827 2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
13828
13829         * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
13830
13831 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
13832
13833         * gdb.base/commands.exp: Adjust.
13834         * gdb.cp/extern-c.exp: Adjust.
13835
13836 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
13837
13838         * gdb.trace/collection.c (local_test_func): Define a local struct,
13839         and instanciate it.
13840
13841 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
13842
13843         * gdb.trace/collection.exp (gdb_collect_args_test)
13844         (gdb_collect_argarray_test): XFAIL the tests that assume the
13845         argarray argument's elements are collected.
13846
13847 2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
13848
13849         * gdb.dwarf2/dw2-bad-parameter-type.exp,
13850         gdb.dwarf2/dw2-bad-parameter-type.S: New.
13851
13852 2010-03-31  Stan Shebs  <stan@codesourcery.com>
13853
13854         * gdb.trace/save-trace.exp: Test save/restore of default-collect
13855         and tracepoint conditionals.
13856         (gdb_verify_tracepoints): Delete unused return.
13857
13858 2010-03-26  Keith Seitz  <keiths@redhat.com>
13859
13860         * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
13861         appear in the output before main.
13862         Remove KFAIL for gdb/2215 aka bz 9320.
13863
13864 2010-03-30  Doug Evans  <dje@google.com>
13865
13866         * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
13867         by dejagnu.
13868         * gdb.arch/amd64-dword.exp: Ditto.
13869
13870         * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
13871         match.
13872         (break printf): Ditto.
13873
13874 2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
13875
13876         * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
13877         gcc < 4.4.
13878         * gdb.cp/shadow.exp: Ditto.
13879
13880 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
13881
13882         * gdb.trace/collection.exp (run_trace_experiment): Make sure
13883         "tstart" is silent.
13884
13885 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
13886
13887         * gdb.trace/collection.exp (executable): New.
13888         (binfile): Use it.
13889         (fpreg, spreg, pcreg): New.
13890         (test_register): Use gdb_test_multiple.  Pass /x to print.
13891         (prepare_for_trace_test): New.
13892         (run_trace_experiment): Use "continue", not gdb_run_cmd.
13893         (gdb_collect_args_test, gdb_collect_argstruct_test)
13894         (gdb_collect_argarray_test, gdb_collect_locals_test): Use
13895         prepare_for_trace_test.
13896         (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
13897         fpreg, spreg and pcreg.
13898         (gdb_collect_expression_test, gdb_collect_globals_test): Use
13899         prepare_for_trace_test.
13900         (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
13901         try to detect tracing support here.  Don't set breakpoints at
13902         `begin' or `end' here.
13903         <global scope>: Use clean_restart.  Run to main before checking
13904         for tracing support.  Check for for tracing support here.
13905
13906 2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
13907
13908         * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
13909         " as $displacement" to "seen displacement message".
13910
13911 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
13912
13913         * gdb.trace/while-dyn.exp (executable): New variable.
13914         (binfile): Use it.
13915         (test_while_stepping): New function.  Move most tests here.  Call
13916         it once for each of the while-stepping, stepping and ws aliases.
13917
13918 2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13919
13920         * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
13921         that do not provide the tagless_struct type name at all.
13922         (test_print_anon_union): Do not check value of uninitialized
13923         union member.  Do not use cp_test_ptype_class, so we can accept
13924         "long" as well as "long int".
13925
13926 2010-03-26  Pedro Alves  <pedro@codesourcery.com>
13927
13928         * gdb.trace/tfile.c (tohex, bin2hex): New.
13929         (write_error_trace_file): Hexify error description.
13930
13931 2010-03-25  Stan Shebs  <stan@codesourcery.com>
13932
13933         * gdb.trace/tfile.c: Generate an additional trace file, improve
13934         portability.
13935         * gdb.trace/tfile.exp: Test trace file with an error stop, delete
13936         files in a better way.
13937
13938 2010-03-25  Keith Seitz  <keiths@redhat.com>
13939
13940         * gdb.java/jprint.exp: XFAIL printing of static class members
13941         because of GCC debuginfo problem.
13942
13943 2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
13944
13945         * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
13946
13947 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
13948
13949         * gdb.base/completion.exp: Allow long instead of long int.
13950         * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
13951         * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
13952         variable p.
13953         * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
13954         * gdb.base/pointers.exp: Allow long instead of long int.
13955         * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
13956         * gdb.base/step-line.exp: Allow a directory before the source file name.
13957
13958 2010-03-24  Tom Tromey  <tromey@redhat.com>
13959
13960         PR breakpoints/9352:
13961         * gdb.base/default.exp: Update.
13962         * gdb.base/commands.exp: Update.
13963         * gdb.cp/extern-c.exp: Test setting commands on multiple
13964         breakpoints at once.
13965
13966 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
13967
13968         * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
13969         if gdb,nosignals.
13970         * gdb.base/watchpoints.c: Do not include unnecessary headers.
13971         * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
13972         exited".
13973
13974 2010-03-24  Stan Shebs  <stan@codesourcery.com>
13975
13976         * gdb.trace/tfile.exp: Expect "trace frame", with a space.
13977
13978 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
13979
13980         * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
13981         * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
13982         argument.  Handle "short" and "long".
13983         (Top level): Pass overprototyped output for old_fptr and xptr.
13984
13985 2010-03-23  Pedro Alves  <pedro@codesourcery.com>
13986
13987         * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
13988         format strings and add casts to avoid compiler warnings.
13989
13990 2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
13991
13992         * lib/trace-support.exp (gdb_trace_setactions):
13993         Don't expect whitespace after ">" prompt.
13994         * gdb.trace/actions.exp: Adjust for output changes.
13995         * gdb.trace/while-stepping.exp: Likewise.
13996
13997 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13998
13999         * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
14000         and r157645).
14001
14002 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
14003
14004         * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
14005         New.
14006
14007 2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
14008
14009         * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
14010         * gdb.python/py-mi.exp (binfile): Rename to py-mi.
14011
14012 2010-03-19  Stan Shebs  <stan@codesourcery.com>
14013
14014         * gdb.trace/ax.exp: New file.
14015
14016 2010-03-19  Doug Evans  <dje@google.com>
14017
14018         * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
14019         output from gcc.
14020
14021         * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
14022         named /usr/sbin/prelink<foo>.
14023
14024 2010-03-18  Stan Shebs  <stan@codesourcery.com>
14025
14026         * gdb.trace/circ.exp: Test circular-trace-buffer.
14027         * gdb.trace/tfile.exp: Update tstatus test.
14028
14029 2010-03-18  Joel Brobecker  <brobecker@adacore.com>
14030
14031         * gdb.dwarf2/dw2-anonymous-func.S: New file.
14032         * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
14033
14034 2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14035
14036         * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
14037
14038 2010-03-18  Pedro Alves  <pedro@codesourcery.com>
14039
14040         * gdb.base/default.exp: Adjust the expected output of the finish
14041         and until commands when the inferior is not being run.
14042
14043 2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
14044
14045         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
14046         * gdb.cp/nsusing.exp: Ditto.
14047
14048 2010-03-15  Tom Tromey  <tromey@redhat.com>
14049
14050         * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
14051         * gdb.cp/userdef.cc (operator==): New function.
14052         (main): New locals mem1, mem2.
14053
14054 2010-03-15  Jie Zhang  <jie@codesourcery.com>
14055
14056         * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
14057         Declare and use new loadtimeout variable.
14058
14059 2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
14060
14061         * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
14062         Use gdb_load later.
14063
14064 2010-03-14  Pedro Alves  <pedro@codesourcery.com>
14065
14066         * gdb.base/solib-disc.c (main): Make format of fprintf a string
14067         literal.  Add missing endlines to prints to stderr.
14068
14069 2010-03-12  Tom Tromey  <tromey@redhat.com>
14070
14071         PR c++/9708:
14072         * gdb.cp/m-static.exp: Add regression test.
14073         * gdb.cp/m-static.cc (method): New method.
14074         (main): Call it.
14075
14076 2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
14077
14078         * gdb.cp/gdb2384-base.h: Created 'namespace B'.
14079         * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
14080
14081 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
14082
14083         * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
14084
14085 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
14086
14087         * lib/gdb.exp (skip_stl_tests): New.
14088         (gdb_compile): Symbian needs -ldl.
14089         (shlib_target_file): New.
14090         (shlib_symbol_file): New.
14091         (gdb_load_shlibs): Use shlib_target_file.
14092         * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
14093         * gdb.cp/exception.exp: Use skip_stl_tests.
14094         * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
14095         * gdb.cp/try_catch.exp: Use skip_stl_tests.
14096         * gdb.cp/mb-templates.exp: Ditto.
14097         * gdb.base/commands.exp: Relax regexes.
14098         * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
14099         shlib_target_file and shlib_symbol_file.
14100         * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
14101         sections.
14102         * gdb.base/ending-run.exp: Accept E32Main for symbian.
14103         * gdb.base/solib-disc.exp: Use
14104         shlib_target_file and shlib_symbol_file.
14105         * gdb.base/unload.exp: Don't skip on symbian.  Use
14106         shlib_target_file and shlib_symbol_file.
14107         * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
14108
14109 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
14110
14111         * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
14112         * gdb.trace/report.exp: Adjust for x86 and x86_64.
14113         Issue a tfind end before looking for a tracepoint frame.
14114         * gdb.trace/tfind.exp: Adjust tstatus output.
14115         Adjust disassembly output.
14116         * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
14117
14118 2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14119
14120         * gdb.base/break-interp.exp: Create new displacement parameter value
14121         for the test_ld calls.
14122         (reach): New parameter displacement, verify its content.  New push of
14123         pf_prefix "reach-$func:".  Import global expect_out.
14124         (test_core): New parameter displacement, verify its content.  New push
14125         of pf_prefix "core:".  New command "set verbose on".  Import global
14126         expect_out.
14127         (test_attach): New parameter displacement, verify its content.  New
14128         push of pf_prefix "attach:".  New command "set verbose on".  Import
14129         global expect_out.
14130         (test_ld): New parameter displacement, pass it to the reach, test_core
14131         and test_attach calls and verify its content in the "ld.so exit" test.
14132         * gdb.base/prelink.exp: Remove gdb_exit and final return.
14133         (prelink): Update expected text, use gdb_test.
14134
14135 2010-03-10  Doug Evans  <dje@google.com>
14136
14137         * gdb.base/checkpoint.exp: Fix comment.
14138         Lengthen timeout while doing >600 checkpoints test.
14139         Rename duplicate "kill all one" test to keep test names unique.
14140
14141 2010-03-10  Pedro Alves  <pedro@codesourcery.com>
14142
14143         * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
14144
14145 2010-03-08  Keith Seitz  <keiths@redhat.com>
14146
14147         * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
14148         * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
14149         (dm_type_long): New function.
14150         (dm_type_unsigned_short): New function.
14151         (dm_type_unsigned_long): New function.
14152         (myint): New typedef.
14153         * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
14154         long, unsigned shor and long, operator char*, and typedef.
14155         (test_lookup_operator_functions): Add operator char* test.
14156         (test_paddr_operator_functions): Likewise.
14157         (test_paddr_overloaded_functions): Use probe values for
14158         short, long, and unsigned short and long.
14159         (test_paddr_hairy_functions): If the demangler probe detected
14160         gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
14161         demangler.
14162         * gdb.cp/expand-sals.exp: Backtrace may contain class names.
14163         * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
14164         and "print null_pmf".
14165         Add test "ptype a.*pmf".
14166         * gdb.cp/overload.exp: Allow optional "int" to appear with
14167         "short" and "long".
14168         * gdb.cp/ovldbreak.exp: Use append to construct super-duper
14169         long expect value for men_overload1arg.
14170         Allow "int" to appear with "short" and "long".
14171         When testing "info break", add argument for main (void).
14172         Also allow "int" to appear with "short" and "long".
14173         Ditto with "unsigned" and "long long".
14174         * gdb.java/jmain.exp: Do not enclose methods names in single
14175         quotes.
14176         * gdb.java/jmisc.exp: Likewise.
14177         * gdb.java/jprint.exp: Likewise.
14178         * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
14179
14180         From Jan Kratochvil  <jan.kratochvil@redhat.com>:
14181         * gdb.cp/exception.exp (backtrace after first throw)
14182         (backtrace after second throw): Allow a namespace before __cxa_throw.
14183         (backtrace after first catch, backtrace after second catch): Allow
14184         a namespace before __cxa_begin_catch.
14185
14186         * gdb.cp/cpexprs.exp: New file.
14187         * gdb.cp/cpexprs.cc: New file.
14188
14189         From Daniel Jacobowitz  <dan@codesourcery.com>
14190         * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
14191         to use string_to_regexp.
14192         (ctor, dtor): New functions.  Use them to match constructor
14193         and destructor function types.
14194         (Top level): Use runto_main.
14195
14196 2010-03-05  Tom Tromey  <tromey@redhat.com>
14197
14198         * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
14199         gdb.target_charset.
14200         (pp_ns.to_string): Likewise.
14201
14202 2010-03-04  Keith Seitz  <keiths@redhat.com>
14203
14204         * gdb.cp/overload.exp: Test that the filename portion of a linespec
14205         can be quoted.  Test that both the filename and function/line
14206         portions can be quoted at the same time.
14207
14208 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
14209
14210         * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
14211
14212 2010-03-03  Doug Evans  <dje@google.com>
14213
14214         * lib/gdb.exp (gdb_compile_pthreads): Handle case where
14215         libc contains libpthread.
14216
14217         * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
14218         * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
14219         of gdb_compile.  Add another pattern to match android backtrace.
14220
14221 2010-03-03  Tom Tromey  <tromey@redhat.com>
14222
14223         PR gdb/11345:
14224         * gdb.base/printcmds.exp (test_printf): Add test.
14225
14226 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
14227
14228         * gdb.arch/amd64-byte.exp: New.
14229         * gdb.arch/amd64-dword.exp: Likewise.
14230         * gdb.arch/amd64-pseudo.c: Likewise.
14231         * gdb.arch/amd64-word.exp: Likewise.
14232         * gdb.arch/i386-byte.exp: Likewise.
14233         * gdb.arch/i386-pseudo.c: Likewise.
14234         * gdb.arch/i386-word.exp: Likewise.
14235
14236 2010-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
14237
14238         * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
14239         types.  Add structreg, bitfields, and flags registers.
14240         * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
14241         registers.
14242
14243 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
14244
14245         * gdb.xml/tdesc-regs.exp (architecture): New.  Set it for x86.
14246         (load_description): Set architecture if defined.
14247
14248 2010-02-28  Phil Muldoon  <pmuldoon@redhat.com>
14249
14250         * gdb.python/py-frame.exp: Add read_var block tests.
14251         * gdb.python/py-frame.c (block): New function.
14252
14253 2010-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
14254             Daniel Jacobowitz  <dan@codesourcery.com>
14255
14256         * gdb.base/callfuncs.exp: New tests for $spval 0 and -1.  Remove return.
14257
14258 2010-02-25  David S. Miller  <davem@davemloft.net>
14259
14260         * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
14261         fix logic for setting all_syscalls_numbers.
14262
14263 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
14264
14265         * Makefile.in: Add py-block and py-symbol.
14266         * gdb.python/py-symbol.exp: New File.
14267         * gdb.python/py-symtab.exp: New File.
14268         * gdb.python/py-block.exp: New File.
14269         * gdb.python/py-symbol.c: New File.
14270         * gdb.python/py-block.c: New File.
14271
14272 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
14273
14274         PR python/11314
14275         * lib/gdb.exp (skip_python_tests): New function.
14276         * gdb.python/py-cmd.exp: Use skip_python_tests.
14277         * gdb.python/py-frame.exp: Likewise.
14278         * gdb.python/py-function.exp: Likewise.
14279         * gdb.python/py-prettyprint.exp: Likewise.
14280         * gdb.python/py-template.exp: Likewise.
14281         * gdb.python/py-type.exp: Likewise.
14282         * gdb.python/py-value.exp: Likewise.
14283
14284 2010-02-22  Pedro Alves  <pedro@codesourcery.com>
14285
14286         PR9605
14287
14288         * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
14289
14290 2010-02-19  Tom Tromey  <tromey@redhat.com>
14291
14292         PR c++/8693, PR c++/9496:
14293         * gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
14294         regression tests.
14295
14296 2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
14297
14298         Fix compatibility with m68k as.
14299         * gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
14300         Use only /* comments */.
14301
14302 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14303
14304         * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
14305         * configure: Regenerate.
14306
14307 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
14308
14309         * gdb.python/py-type.exp: Check for Python support.
14310
14311 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
14312
14313         * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
14314         `regsub' syntax available.
14315
14316 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
14317
14318         * gdb.base/shmain.c (main): Remove printf call.
14319         * gdb.base/sizeof.c (main): Cast return of sizeof to int.
14320         * gdb.base/unload.c (main): Make format of fprintf a string
14321         literal.  Add missing endlines to prints to stderr.
14322         * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
14323
14324 2010-02-17  Tom Tromey  <tromey@redhat.com>
14325
14326         * gdb.java/jprint.java (jprint.props): New field.
14327         * gdb.java/jprint.exp (set_lang_java): Add regression test.
14328
14329 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
14330
14331         * gdb.base/charset.exp: Don't assume new `regsub' syntax
14332         available.
14333
14334 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
14335
14336         * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
14337         creation to support remote host testing.
14338
14339 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
14340
14341         * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
14342         Recognize "command not found".
14343
14344 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
14345
14346         * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
14347         single-stepping.
14348
14349 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
14350
14351         * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
14352         if arguments are not supported.
14353
14354 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
14355
14356         * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
14357         be const or non-const.
14358
14359 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
14360
14361         * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
14362         mi_send_resuming_command to send -exec-continue.
14363
14364 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
14365
14366         * gdb.base/list.exp (test_list_filename_and_function): Add test
14367         with single quotes.
14368         * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
14369         matching.
14370         * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
14371         Add KFAIL'd tests for PR gdb/11289.
14372
14373 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
14374
14375         * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
14376
14377 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
14378
14379         * gdb.base/comp-dir/subdir/dummy.txt: New file.
14380         * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
14381         a temporary directory.
14382
14383 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
14384
14385         * gdb.base/charset.exp: Use a single regular expression to match
14386         show host-charset and show target-charset output.
14387
14388 2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
14389
14390         * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
14391         "Illegal process-id" expect string more exact.
14392         (attach to digits-starting nonsense is prohibited): New.
14393
14394 2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
14395
14396         * gdb.base/prelink.exp (set verbose on): New.
14397
14398 2010-02-12  Tomas Holmberg  <th@virtutech.com>
14399
14400         * mi-reverse.exp: New file. Test for reverse option to the
14401         following MI commands: exec-continue, exec-finish, exec-next,
14402         exec-step, exec-next-instruction, exec-step-instruction.
14403
14404 2010-02-09  Joel Brobecker  <brobecker@adacore.com>
14405
14406         * gdb.ada/ptype_tagged_param: New testcase.
14407
14408 2010-02-08  Tom Tromey  <tromey@redhat.com>
14409
14410         PR c++/8017:
14411         * gdb.cp/overload.exp: Add tests.
14412         * gdb.cp/overload.cc (struct K): New.
14413         (namespace N): New.
14414         (main): Call new functions.
14415         (K::staticoverload): Define.
14416
14417 2010-02-08  Chris Moller  <moller@mollerware.com>
14418
14419         PR gdb/10728
14420         * gdb.cp/pr10728-x.h: New file.
14421         * gdb.cp/pr10728-x.cc: New file.
14422         * gdb.cp/pr10728-y.cc: New file.
14423         * gdb.cp/pr10728.exp: New file.
14424         * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
14425
14426 2010-02-08  Chris Moller  <moller@mollerware.com>
14427
14428         PR gdb/9067
14429         * gdb.cp/pr9067.exp:  New
14430         * gdb.cp/pr9067.cc:   New
14431         * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
14432
14433 2010-02-08  Joel Brobecker  <brobecker@adacore.com>
14434
14435         * lib/gdb.exp (gdb_test_timeout): New global variable.
14436         Set it to timeout if not already set.
14437         (gdb_init): Reset the value of timeout to gdb_test_timeout.
14438
14439 2010-02-05  Doug Evans  <dje@google.com>
14440
14441         * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
14442         user.
14443
14444 2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
14445
14446         PR c++/7935:
14447         * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
14448
14449 2010-02-04  Tom Tromey  <tromey@redhat.com>
14450
14451         * gdb.cp/virtbase.exp: Make test case names unique.
14452
14453 2010-02-02  Tom Tromey  <tromey@redhat.com>
14454
14455         * gdb.cp/virtbase.exp: Add regression tests.
14456         * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
14457         (main): Instantiate RHC.
14458
14459 2010-02-02  Tom Tromey  <tromey@redhat.com>
14460
14461         * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
14462         type-printing change.
14463
14464 2010-02-02  Tom Tromey  <tromey@redhat.com>
14465
14466         PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
14467         * gdb.cp/virtbase.cc: New file.
14468         * gdb.cp/virtbase.exp: New file.
14469         * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
14470
14471 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
14472
14473         PR libc/11214:
14474         * gdb.threads/current-lwp-dead.c: Include features.h.
14475         (HAS_NOMMU): New.
14476         (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
14477
14478 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
14479
14480         * gdb.base/symbol-without-target_section.exp,
14481         gdb.base/symbol-without-target_section.c: New.
14482
14483 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
14484
14485         * gdb.base/bigcore.exp: Reset increased timeout.
14486         * gdb.base/interrupt.exp: Match unexpected gdb prompt.
14487
14488 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
14489
14490         * gdb.base/gcore.exp (capture_command_output): Use
14491         gdb_test_multiple.
14492
14493 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
14494
14495         * gdb.arch/thumb2-it.S (it_breakpoints): New function.
14496         * gdb.arch/thumb2-it.exp (test_it_break): New function.
14497         (Top level): Call it.
14498
14499 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
14500
14501         * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
14502
14503 2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
14504
14505         * gdb.base/call-strs.exp, gdb.base/default.exp,
14506         gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
14507         gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
14508         gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
14509         gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
14510         gdb.base/watchpoint-solib.exp: Save and restore timeout.
14511         * gdb.base/ending-run.exp: Correct restore of timeout.
14512         * gdb.base/page.exp: Remove unnecessary timeout setting.
14513
14514 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
14515
14516         * gdb.ada/rec_return: New testcase.
14517
14518 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
14519
14520         * gdb.ada/call_pn: New testcase.
14521
14522 2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
14523
14524         * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
14525         (Top level): Use it to resume.
14526         * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
14527         the Thumb mode displaced stepping error as unsupported.
14528
14529 2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
14530
14531         * gdb.cp/nsusing.exp: Added more tests.
14532         * gdb.cp/nsrecurs.exp: Ditto.
14533         * gdb.cp/nsusing.cc: Added test functions.
14534         * gdb.cp/nsrecurs.cc: Ditto.
14535
14536 2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
14537
14538         * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
14539         absolute directory pathnames in gdb.sum file.
14540
14541 2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
14542
14543         * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
14544         * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
14545
14546 2010-01-26  Tom Tromey  <tromey@redhat.com>
14547
14548         PR exp/7643:
14549         * gdb.base/printcmds.exp (test_print_string_constants): Remove
14550         setup_kfail.
14551
14552 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
14553
14554         * gdb.cp/nsrecurs.exp: New test.
14555         * gdb.cp/nsrecurs.cc: New test program.
14556         * gdb.cp/nsstress.exp: New test.
14557         * gdb.cp/nsstress.cc: New test program.
14558         * gdb.cp/nsdecl.exp: New test.
14559         * gdb.cp/nsdecl.cc: New test program.
14560
14561 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
14562
14563         * gdb.cp/namespace-using.exp: Add test for printing of namespaces
14564         imported into file scope.
14565         Marked test as xfail.
14566         * gdb.cp/namespace-using.cc (marker5): New function.
14567         * gdb.cp/shadow.exp: New test.
14568         * gdb.cp/shadow.cc: New test program.
14569         * gdb.cp/nsimport.exp: New test.
14570         * gdb.cp/nsimport.cc: New test program.
14571
14572 2010-01-25  Tom Tromey  <tromey@redhat.com>
14573
14574         PR gdb/11049:
14575         * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
14576         with "set print null-stop on".
14577
14578 2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14579
14580         * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
14581         Adjust it for DISASSEMBLY_OMIT_FNAME.
14582
14583 2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
14584
14585         PR symtab/11199:
14586         * gdb.dwarf2/member-ptr-forwardref.exp,
14587         gdb.dwarf2/member-ptr-forwardref.S: New.
14588
14589 2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
14590
14591         * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
14592         (thread1_func): Protect thread1_tid with thread1_tid_cond by
14593         thread1_tid_mutex.  Remove gdbstop_mutex handling.
14594         (thread2_func): Protect thread2_tid with thread2_tid_cond by
14595         thread2_tid_mutex.  Remove gdbstop_mutex handling.
14596         (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
14597         pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
14598         pthread_cond_wait conditionalizations by while loops.
14599
14600 2010-01-20  Tom Tromey  <tromey@redhat.com>
14601
14602         PR backtrace/10770:
14603         * gdb.dwarf2/pr10770.exp: New file.
14604         * gdb.dwarf2/pr10770.c: New file.
14605         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
14606
14607 2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
14608
14609         * gdb.mi/mi-async.exp: Remove check for 'async' target, because
14610         that target was removed, and the test always runs native anyway.
14611
14612 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
14613
14614         * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
14615         gdb.base/watchpoint-cond-gone-stripped.c: New.
14616
14617 2010-01-19  Tom Tromey  <tromey@redhat.com>
14618
14619         PR c++/8000:
14620         * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
14621         existing tests.
14622         * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
14623         (main): Use AAA::SomeEnum.
14624
14625 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
14626
14627         * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
14628         (test_ignore_count): Declare line_callme_body global.
14629         (run to breakpoint with ignore count): Use line_callme_body.
14630         * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
14631         (set line_main_hello, set line_main_return): Reindent.
14632         (set line_callee4_head, set line_callee4_body, set line_callee4_next):
14633         New.
14634         (continue to callee4): Use line_callee4_body.
14635         (check *stopped from CLI command): Use line_callee4_next.
14636         * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
14637         (set line_main_hello, set line_main_return): Reindent.
14638         (set line_callee4_head, set line_callee4_body): New.
14639         (continue to callee4): Use line_callee4_body.
14640
14641 2010-01-18  Tom Tromey  <tromey@redhat.com>
14642
14643         PR c++/9680:
14644         * gdb.cp/casts.cc: Add new classes and variables.
14645         * gdb.cp/casts.exp: Test new operators.
14646
14647 2010-01-18  Tom Tromey  <tromey@redhat.com>
14648             Thiago Jung Bauermann  <bauerman@br.ibm.com>
14649
14650         * gdb.python/source2.py: New file.
14651         * gdb.python/source1: New file.
14652         * gdb.python/python.exp: Test "source" command.
14653
14654 2010-01-15  Stan Shebs  <stan@codesourcery.com>
14655
14656         * gdb.trace/tfile.c: New file.
14657         * gdb.trace/tfile.exp: New file.
14658
14659 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
14660
14661         * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
14662
14663 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
14664
14665         * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
14666
14667 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
14668
14669         * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
14670         (libfunc): New parameter action.  Implement also selectable "sleep".
14671         * gdb.base/break-interp-main.c: Include assert.h.
14672         (libfunc): New parameter action.
14673         (main): New parameters argc and argv.  Assert argc.  Pass argv.
14674         * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
14675         (test_attach): New proc.
14676         (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
14677         * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
14678
14679 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
14680
14681         * gdb.base/break-interp.exp (test_core): New proc.
14682         (test_ld): Call it.
14683
14684 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
14685
14686         * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
14687         * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
14688         New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
14689         and gdb_compile_shlib.  Use new -Wl compiler options.
14690         (dl bt, main bt): New tests.
14691
14692 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
14693
14694         Support PIEs with no symfile_objfile.
14695         * gdb.base/break-interp.exp: New argument at the test_ld calls.
14696         (test_ld): New parameter trynosym.
14697         (test_ld <$trynosym>): New block.
14698
14699 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
14700
14701         * gdb.base/break-interp.exp: New file.
14702
14703 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
14704
14705         * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
14706         * gdb.python/py-prettyprint.py (pp_ls): New printer.
14707         * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
14708         test.
14709         * gdb.python/py-prettyprint.c: Define lazystring test structure.
14710         * gdb.python/py-mi.exp: Add lazy string test.
14711
14712 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
14713
14714         * lib/mi-support.exp (mi_check_thread_states): Handle
14715         core number in thread listing.
14716
14717 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
14718
14719         * gdb.base/maint.exp: Adjust the expected output for the
14720         "maint print type" test. Use gdb_test_multiple instead of
14721         gdb_sent/gdb_expect.
14722
14723 2010-01-11  Doug Evans  <dje@google.com>
14724
14725         * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
14726         from gdbserver_download.  All callers updated.
14727
14728         * gdb.server/ext-run.exp: "info os processes" requires xml support.
14729
14730 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14731
14732         Implement binary numbers parsing.
14733         * gdb.base/printcmds.exp (test_integer_literals_accepted)
14734         (test_integer_literals_rejected): New binary tests.
14735
14736 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
14737
14738         * gdb.cell/configure: Regenerate.
14739
14740 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
14741
14742         * gdb.base/corefile.exp: Move the core finding block out and call it as
14743         core_find, new variable $corefile, replace corefile by $corefile and
14744         [file tail $corefile] for usage vs. test names resp.
14745         * lib/gdb.exp (core_find): Move it as a new function here.  New
14746         parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
14747         $destcore.  Return "" on error.
14748
14749 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
14750
14751         Workaround PR binutils/10802.
14752         * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
14753         (twice).
14754
14755 2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
14756
14757         * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
14758
14759 2010-01-08  Joel Brobecker  <brobecker@adacore.com>
14760
14761         * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
14762         call, to avoid interruption.
14763
14764 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
14765
14766         * gdb.stabs/weird.def (args93): New.
14767
14768 2010-01-07  Doug Evans  <dje@google.com>
14769
14770         * lib/gdb.exp (gdb_skip_xml_test): Add comment.
14771
14772 2010-01-07  Tom Tromey  <tromey@redhat.com>
14773
14774         * gdb.base/source.exp: Use correct line number.
14775
14776 2010-01-05  Stan Shebs  <stan@codesourcery.com>
14777
14778         * gdb.trace/tracecmd.exp: Test ftrace.
14779
14780 2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14781
14782         * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
14783
14784 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
14785
14786         * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
14787         "uint_for_mi_testing".
14788
14789 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
14790
14791         Test indented comment in file being sourced.
14792         * gdb.base/commands.exp: Test indented comment in file being sourced.
14793
14794 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
14795
14796         * gdb.fortran/array-element.f, gdb.fortran/complex.f,
14797         gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
14798         gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
14799         notice.
14800
14801 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
14802
14803         * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
14804         notice.
14805
14806 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
14807
14808         * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
14809         missing $after_stopped and comma (,) expectation.
14810
14811 2009-12-31  Stan Shebs  <stan@codesourcery.com>
14812
14813         * gdb.trace/actions.exp: Test teval action.
14814
14815 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14816
14817         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
14818         (top level): Call test_watchpoint_in_big_blob.
14819         * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
14820         watchpoints.
14821         (func3): Write to buf.
14822
14823 2009-12-29  Stan Shebs  <stan@codesourcery.com>
14824
14825         * gdb.trace/actions.exp: Test default-collect.
14826
14827 2009-12-28  Stan Shebs  <stan@codesourcery.com>
14828
14829         * gdb.trace/tsv.exp: New file.
14830         * gdb.base/completion.exp: Update ambiguous info output.
14831
14832 2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
14833
14834         * gdb.base/find.c (main): Reference search buffers.
14835         * gdb.base/included.c (main): Reference integer.
14836         * gdb.base/ptype.c (charfoo): Declare.
14837         (intfoo): Call charfoo.
14838         * gdb.base/scope0.c (useitp): New function.
14839         (usestatics): Use useitp.
14840         (useit): Add a type for val.
14841         * gdb.base/scope1.c (useit1): Take a pointer argument.
14842         (usestatics1): Update calls to useit1.
14843         * gdb.cp/call-c.cc: Declare foo.
14844         (main): Call foo.
14845         * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
14846         * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
14847         (main): Call C::ensureRefs and ensureOtherRefs.
14848         * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
14849         variables.
14850         (ensureOtherRefs): New function.
14851         * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
14852         * gdb.cp/templates.cc (main): Call t5i.value.
14853
14854 2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14855
14856         Fix compatibility with G++-4.5.
14857         * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
14858         * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
14859         (uncaught return): Remove.
14860
14861 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
14862             Phil Muldoon  <pmuldoon@redhat.com>
14863
14864         * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
14865         (bp_location13, bp_location14, bp_location17, bp_location18)
14866         (marker3_proto, marker4_proto): New variables.
14867         (breakpoint info): Update output.
14868         (run until breakpoint at marker3, run until breakpoint at marker4): New
14869         tests.
14870
14871 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
14872
14873         * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
14874         Replace the printf call of Y by provided "y-set-1" label.  New block
14875         for the second shared library.
14876         * gdb.base/unload.exp: Compile also the second library, call
14877         gdb_load_shlibs also for it.  Use now gdb_breakpoint.
14878         (single pending breakpoint info): Rename to ...
14879         (pending breakpoint info before run): ... this extended test.
14880         (libfile2, libname2, libsrcfile2, libsrc2)
14881         (lib_sl2): New variables.
14882         (exec_opts): Set also SHLIB_NAME2.
14883         (pending breakpoint info on first run at shrfunc1)
14884         (pending breakpoint info on second run at shrfunc1)
14885         (pending breakpoint info on second run at shrfunc2)
14886         (print y from libfile, print y from libfile2): New tests.
14887         * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
14888         * gdb.base/unloadshr2.c: New.
14889
14890 2009-12-22  Hui Zhu  <teawater@gmail.com>
14891
14892         * gdb.reverse/sigall-reverse.exp: Adjust.
14893
14894 2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
14895
14896         PR gdb/10884
14897
14898         * gdb.mi/var-cmd.c (do_bitfield_tests): New
14899         (main): Call do_bitfield_tests.
14900         * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
14901
14902 2009-12-20  Joel Brobecker  <brobecker@adacore.com>
14903
14904         * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
14905         gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
14906         gdb.base/watch_thread_num.c, gdb.java/jprint.java,
14907         gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
14908         gdb.modula2/unbounded1.c: Update copyright header.
14909
14910 2009-12-10  Chris Moller  <moller@mollerware.com>
14911
14912         PR gdb/9399
14913         * gdb.cp/virtfunc2.exp: New tests
14914         * gdb.cp/virtfunc2.cc: New tests
14915         * gdb.cp/Makefile.in: Added tests to EXECUTABLES
14916
14917 2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
14918
14919         * gdb.reverse/i387-env-reverse.c: New file.
14920         * gdb.reverse/i387-env-reverse.exp: New file.
14921         * gdb.reverse/i387-stack-reverse.c: New file.
14922         * gdb.reverse/i387-stack-reverse.exp: New file.
14923
14924 2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
14925
14926         * gdb.python/py-type.exp (test_range): New test.
14927
14928 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
14929
14930         PR python/10805
14931
14932         * gdb.python/py-type.exp: New file.
14933         * gdb.python/py-type.c: New file.
14934         * Makefile.in: Add py-type.
14935
14936 2009-12-03  Tom Tromey  <tromey@redhat.com>
14937
14938         * gdb.python/py-value.exp (test_parse_and_eval): New
14939         function.
14940
14941 2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14942
14943        PR gdb/11022
14944
14945        * gdb.base/pr11022.exp: New test.
14946        * gdb.base/pr11022.c: New test.
14947
14948 2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
14949
14950         Fix spurious false FAILs.
14951         * gdb.base/structs.c (chartest): New.
14952         (main): Fill-in chartest.
14953         * gdb.base/structs.exp (anychar_re, first): New.
14954         (start_structs_test): Import global anychar_re and first.
14955         New gdb_test call "set print elements 300; ${testfile}"
14956         (start_structs_test <$first>): New block.
14957         (any): Import global anychar_re.  New variable ac.  Use ${ac}.
14958
14959 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
14960
14961         * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
14962
14963 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
14964
14965         * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
14966         Force $srcfile file.
14967         * gdb.base/foll-fork.c (callee): Comment out the printf call.
14968
14969 2009-11-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14970
14971         * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
14972         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
14973         * gdb.threads/watchthreads-reorder.exp: Likewise.
14974
14975 2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
14976
14977         PR gdb/8704
14978
14979         * gdb.base/condbreak.exp: Test combinations of "break *EXP",
14980         "if", and "thread".  Correct matching in the previous test.
14981
14982 2009-11-25  Daniel Jacobowitz  <dan@codesourcery.com>
14983
14984         * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
14985
14986 2009-11-23  Michael Snyder  <msnyder@vmware.com>
14987
14988         * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
14989         * gdb.reverse-watch-precsave.exp: Ditto.
14990
14991 2009-11-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
14992
14993         * gdb.asm/asm-source.exp: Adjust.
14994         * gdb.base/help.exp: Adjust.
14995
14996 2009-11-22  Pedro Alves  <pedro@codesourcery.com>
14997
14998         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
14999         (do_syscall_tests_without_xml): Set data-directory to
15000         /the/path/to/nowhere.
15001
15002 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
15003
15004         * gdb.threads/local-watch-wrong-thread.c,
15005         gdb.threads/local-watch-wrong-thread.exp: New files.
15006
15007 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
15008
15009         * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
15010         assume new `regsub' syntax available.
15011
15012 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
15013
15014         * gdb.base/watchpoint-hw-hit-once.exp,
15015         gdb.base/watchpoint-hw-hit-once.c: New.
15016
15017 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
15018
15019         * gdb.threads/watchthreads-reorder.exp,
15020         gdb.threads/watchthreads-reorder.c: New.
15021
15022 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
15023
15024         * gdb.xml/tdesc-regs.exp: Use for m68k.
15025
15026 2009-11-15  Pedro Alves  <pedro@codesourcery.com>
15027
15028         * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
15029
15030 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
15031
15032         * lib/gdb.exp (current_target_name): New procedure.
15033         (gdb_wrapper_target): New variable.
15034         (gdb_wrapper_init): Set gdb_wrapper_target.
15035         (default_gdb_init): Check gdb_wrapper_target before rebuilding the
15036         wrapper.
15037
15038 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
15039
15040         * gdb.base/remote.exp: Delete the slowest load test.
15041         Do not load with fixed packet sizes.
15042
15043 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
15044
15045         * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
15046
15047 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
15048
15049         * gdb.base/freebpcmd.exp: Delete unused variable.  Specify
15050         srcfile when setting a breakpoint.
15051
15052 2009-11-13  Maciej W. Rozycki  <macro@codesourcery.com>
15053
15054         * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
15055         macros.
15056
15057 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
15058
15059         * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
15060         to be in memory.
15061         * gdb.base/display.c (force_mem): New.
15062         (do_loops): Use it.  Add breakpoint comments.
15063         (do_vars): Add a breakpoint comment.
15064         * gdb.base/display.exp: Use gdb_get_line_number.  Remove hardcoded
15065         line numbers.
15066
15067 2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
15068
15069         * gdb.base/pending.exp: Use gdb_run_cmd to start the program
15070         instead of a bare "run".
15071
15072 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
15073
15074         * gdb.python/py-prettyprint.exp: Adjust.
15075
15076 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
15077
15078         * lib/cell.exp (skip_cell_tests): Clean up test files before
15079         returning.
15080
15081 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
15082
15083         * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
15084         and the breakpoint menu.  Do not call perror if a prompt is seen.
15085         Consume the following GDB prompt.
15086         * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
15087         * gdb.cp/namespace.exp: Use gdb_test.
15088         * gdb.cp/templates.exp: Use gdb_test.
15089         (test_template_breakpoints): Use gdb_test_multiple.
15090
15091 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
15092
15093         * gdb.base/break1.c (struct some_struct, values): Move earlier.
15094         (marker4): Reference values.
15095
15096 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
15097
15098         * gdb.base/macscp.exp: Avoid the first FAIL if macro information
15099         is missing.
15100
15101 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
15102
15103         * gdb.base/break.c (need_malloc): New.
15104         * gdb.base/constvars.c (main): Reference crass and crisp.
15105         * gdb.base/gdb1821.c (main): Reference bar.
15106         * gdb.cp/gdb1355.cc (main): Reference s1.
15107         * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
15108         (main): Call them.
15109         * gdb.cp/hang2.cc (dummy2): Define.
15110         * gdb.cp/hang3.cc (dummy3): Define.
15111         * gdb.cp/m-data.cc (main): Reference shadow.
15112
15113 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
15114             Nathan Froyd  <froydnj@codesourcery.com>
15115
15116         * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
15117         remote host.
15118
15119 2009-11-12  Nathan Froyd  <froydnj@codesourcery.com>
15120
15121         * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
15122         * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
15123         * gdb.dwarf2/dw2-compressed.exp: Likewise.
15124         * gdb.dwarf2/dw2-intercu.exp: Likewise.
15125         * gdb.dwarf2/dw2-intermix.exp: Likewise.
15126         * gdb.dwarf2/dw2-producer.exp: Likewise.
15127         * gdb.dwarf2/mac-fileno.exp: Likewise.
15128         * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
15129         py-prettyprint.py to the remote host.
15130         * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
15131
15132 2009-11-11  Keith Seitz  <keiths@redhat.com>
15133
15134         * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
15135         use it instead of "Foo".
15136         * gdb.cp/classes.exp (do_tests): Add a test to access
15137         a method through a typedef'd class name.
15138
15139 2009-11-11  Nathan Froyd  <froydnj@codesourcery.com>
15140
15141         * gdb.base/long_long.exp: Permit leading zeros on floating-point
15142         exponents.
15143         * gdb.base/pointers.exp: Likewise.
15144         * gdb.cp/ref-types.exp: Likewise.
15145
15146 2009-11-11  Keith Seitz  <keiths@redhat.com>
15147
15148         * gdb.cp/cplusfuncs.cc (class foo): Add operators
15149         new[] and delete[].
15150         * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
15151         "void".
15152         (probe_demangler): Remove all single-quoting of
15153         method and variable names.
15154         (info_func_regexp): Remove the word "void" from any
15155         occurrence of "(void)".
15156         (print_addr_2): Remove all single-quoting of
15157         method names.
15158         (print_addr_2_kfail): Likewise.
15159         (print_addr): Single-quote C function names before
15160         passing to print_addr_2.
15161         (test_paddr_operator_functions): Remove single-quoting
15162         for method names.
15163         Add tests for operator new[] and operator delete[].
15164
15165 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15166
15167         * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
15168
15169 2009-11-09  Keith Seitz  <keiths@redhat.com>
15170
15171         * gdb.cp/overload.exp: Add tests for resolving overloaded
15172         methods in expression parsing/evaluation.
15173
15174 2009-11-10  Daniel Jacobowitz  <dan@codesourcery.com>
15175
15176         * lib/gdb.exp (default_gdb_version): Use --version instead of
15177         --command.
15178
15179 2009-11-10  Nathan Sidwell  <nathan@codesourcery.com>
15180
15181         * lib/gdb.exp (gdb_compile_test): New.
15182         (skip_ada_tests, skip_java_tests): New.
15183         (gdb_compile): Use gdb_compile_test for f77.
15184         * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
15185         * lib/java.exp (compile_java_from_source): Remove runtests check,
15186         use gdb_compile_test to record result.
15187         * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
15188         gdb.ada/exec_changed.exp, gdb.ada/start.exp,
15189         gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
15190         gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
15191         gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
15192         gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
15193         gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
15194         gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
15195         gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
15196         adjust gdb_compile invocations.
15197
15198 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
15199
15200         * Makefile.in (abs_builddir): New.
15201         (site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
15202         (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
15203         `$(abs_builddir)/site.exp'.
15204
15205 2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
15206
15207         * config/m68k-emc.exp, lib/emc-support.exp,
15208         gdb.trace/gdb_c_test.c: Delete.
15209         * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
15210         gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15211         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15212         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15213         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15214         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
15215         casing for m68k-*-elf.
15216
15217 2009-11-03  Pedro Alves  <pedro@codesourcery.com>
15218
15219         * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
15220         * gdb.arch/i386-prologue.exp: Likewise.
15221         * gdb.arch/i386-unwind.exp: Likewise.
15222
15223 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
15224
15225         * lib/gdb.exp (gdb_expect): Fix timeout typo.
15226
15227 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
15228
15229         * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
15230
15231 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
15232
15233         * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
15234
15235 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
15236
15237         * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
15238
15239 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
15240
15241         * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
15242         * gdb.base/sepdebug2.c: New file.
15243
15244 2009-10-31  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
15245
15246         * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
15247         the modified warnings for catch syscall.  Verify if GDB was compiled
15248         with support for lib expat, and choose which tests to run depending
15249         on this.
15250
15251 2009-10-30  Vladimir Prus  <vladimir@codesourcery.com>
15252
15253         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
15254         that composite commands are parsed OK. And also test
15255         that breakpoint commands do work.
15256
15257 2009-10-23  Michael Snyder  <msnyder@vmware.com>
15258
15259         gdb.reverse/consecutive-precsave.exp: Change expect pattern
15260         to allow for new disassembly style.
15261
15262 2009-10-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15263
15264         * gdb.asm/asm-source.exp: Adjust.
15265
15266 2009-10-22  Michael Snyder  <msnyder@vmware.com>
15267
15268         * gdb.reverse/break-precsave.exp: New test.
15269         * gdb.reverse/consecutive-precsave.exp: Ditto.
15270         * gdb.reverse/finish-precsave.exp: Ditto.
15271         * gdb.reverse/i386-precsave.exp: Ditto.
15272         * gdb.reverse/machinestate-precsave.exp: Ditto.
15273         * gdb.reverse/sigall-precsave.exp: Ditto.
15274         * gdb.reverse/solilb-precsave.exp: Ditto.
15275         * gdb.reverse/step-precsave.exp: Ditto.
15276         * gdb.reverse/until-precsave.exp: Ditto.
15277         * gdb.reverse/watch-precsave.exp: Ditto.
15278
15279 2009-10-22  Michael Snyder  <msnyder@vmware.com>
15280
15281         * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
15282         for gdb_expect.  Adjust one test's expect strings for the new
15283         format of disassemble.
15284         * gdb.reverse/finish-reverse.exp: Delete 'return'.
15285         * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
15286         gdb_test_multiple.
15287         * gdb.reverse/step-reverse.exp: Delete 'return'.
15288         * gdb.reverse/until-reverse.exp: Delete blank lines.
15289         * gdb.reverse/watch-reverse.exp: Delete blank lines.
15290
15291 2009-10-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
15292
15293         * gdb.base/consecutive.exp: Adjust.
15294         * gdb.base/display.exp: Likewise.
15295         * gdb.base/pc-fp.exp: Likewise.
15296         * gdb.base/sigbpt.exp: Likewise.
15297
15298 2009-10-19  Michael Snyder  <msnyder@vmware.com>
15299
15300         * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
15301         * gdb.reverse/finish-reverse.c: Ditto.
15302         * gdb.reverse/sigall-reverse.c: Ditto.
15303         * gdb.reverse/solib-reverse.c: Ditto.
15304         * gdb.reverse/step-reverse.c: Ditto.
15305         * gdb.reverse/watch-reverse.c: Ditto.
15306
15307 2009-10-19  Pedro Alves  <pedro@codesourcery.com>
15308             Stan Shebs  <stan@codesourcery.com>
15309
15310         * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
15311         * gdb.base/foll-exec.exp: Adjust to expect a process id before
15312         "Executing new program".
15313         * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
15314         * gdb.base/multi-forks.exp: Ditto.  Adjust to the inferior being
15315         left listed after having been killed.
15316         * gdb.base/attach.exp: Adjust to spell out "symbol-file".
15317         * gdb.base/maint.exp: Adjust test.
15318
15319         * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
15320         * gdb.multi/Makefile.in: New.
15321         * gdb.multi/base.exp: New.
15322         * gdb.multi/goodbye.c: New.
15323         * gdb.multi/hangout.c: New.
15324         * gdb.multi/hello.c: New.
15325         * gdb.multi/bkpt-multi-exec.c: New.
15326         * gdb.multi/bkpt-multi-exec.exp: New.
15327         * gdb.multi/crashme.c: New.
15328
15329 2009-10-13  Tristan Gingold  <gingold@adacore.com>
15330
15331         * gdb.base/sepdebug.exp: Check debug info are found.
15332
15333 2009-10-08  Pedro Alves  <pedro@codesourcery.com>
15334
15335         * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
15336         bits.
15337
15338 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15339
15340         * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
15341
15342 2009-10-07  Joel Brobecker  <brobecker@adacore.com>
15343
15344         * gdb.base/watchpoints.c: Add copyright header.  Reformat one
15345         of the comments.
15346
15347 2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
15348
15349         * gdb.base/annota1.exp: Remove obsolete match_max increase.
15350         * gdb.base/annota3.exp: Idem.
15351         * gdb.base/maint.exp: Idem.
15352
15353 2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
15354
15355         * lib/gdb.exp (default_gdb_init): Set current value of match_max
15356         to default.
15357
15358 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
15359
15360         * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
15361         mingw and cygwin targets.
15362
15363 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
15364             Pedro Alves  <pedro@codesourcery.com>
15365
15366         * lib/gdb.exp (gdb_compile): Avoid adding
15367         gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
15368
15369 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
15370
15371         * gdb.base/shr1.c: Use %p in format string.
15372         * gdb.base/unload.c: Avoid warning in fprintf.
15373         * gdb.base/watchpoint-solib.c: Idem.
15374
15375 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
15376
15377         * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
15378         long type.
15379         (test_unlink): Correct printf string.
15380         * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
15381         * gdb.threads/attachstop-mt.c: Add #include <string.h>.
15382
15383 2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
15384
15385         * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
15386         * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
15387         * gdb.arch/ia64-breakpoint-shadow.S: New file.
15388
15389 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15390
15391         * gdb.objc/basicclass.exp: Disable pending breakpoint query.
15392         * gdb.objc/nondebug.exp: Likewise.
15393
15394 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15395
15396         * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
15397         target_info setting.
15398
15399         * gdb.threads/thread-specific.exp (get_thread_list): Support targets
15400         that detect new threads during "info threads".
15401
15402 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15403
15404         * gdb.threads/manythreads.c (main): Increase thread stack size
15405         to 2*PTHREAD_STACK_MIN.
15406         * gdb.threads/multi-create.c (main): Likewise.
15407         (create_function): Likewise.
15408
15409 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15410
15411         * gdb.base/dump.exp: Pass difference of pointer types instead
15412         of integer types as offset to restore in intarr3.srec case.
15413
15414 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15415
15416         * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
15417
15418 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15419
15420         * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
15421
15422 2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
15423
15424         New test for two watchpoints, with disabling of
15425         the first inserted.
15426         * testsuite/gdb.base/watchpoints.c: New file.
15427         * testsuite/gdb.base/watchpoints.exp: New file.
15428
15429 2009-09-25  Tom Tromey  <tromey@redhat.com>
15430
15431         * gdb.base/charset.exp: Test utf-16 strings with Python.
15432
15433 2009-09-25  Tom Tromey  <tromey@redhat.com>
15434
15435         * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
15436         UCS-4.
15437         * gdb.base/charset.c (utf_32_string): Rename.
15438         (init_utf32): Rename.
15439         (main): Update.
15440
15441 2009-09-22  Tom Tromey  <tromey@redhat.com>
15442
15443         * gdb.python/py-function.exp: Add regression tests.
15444
15445 2009-09-21  Keith Seitz  <keiths@redhat.com>
15446
15447         * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
15448         with invalid operator.
15449
15450 2009-09-21  Keith Seitz  <keiths@redhat.com>
15451
15452         * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
15453         and destructor using typedef name of class.
15454         * gdb.cp/classes.cc (class Base1): Add a destructor.
15455         (base1): New typedef.
15456         (use_methods): Instanitate an object of type base1.
15457         * gdb.cp/templates.exp (test_template_typedef): New procedure.
15458         (do_tests): Call test_template_typedef.
15459         * gdb.cp/templates.cc (Baz::~Baz): New method.
15460         (intBazOne): New typedef.
15461         (main): Instantiate intBazOne.
15462
15463 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
15464
15465         PR python/10633
15466
15467         * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
15468         Function.
15469         (run_lang_tests): Add print elements test.
15470
15471 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
15472
15473         * gdb.python/py-value.exp (test_subscript_regression): New
15474         function.  Test for invalid subscripts.
15475         * gdb.python/py-value.c (main): Add test array, and pointer to it.
15476         (ptr_ref): New function.
15477
15478 2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15479
15480         * gdb.base/default.exp: Fix "show convenience".
15481
15482 2009-09-15  Tom Tromey  <tromey@redhat.com>
15483
15484         * lib/mi-support.exp (mi_create_varobj): Update.
15485         (mi_create_floating_varobj): Likewise.
15486         (mi_create_dynamic_varobj): New proc.
15487         (mi_varobj_update): Update.
15488         (mi_varobj_update_with_type_change): Likewise.
15489         (mi_varobj_update_kv_helper): New proc.
15490         (mi_varobj_update_dynamic_helper): Rewrite.
15491         (mi_varobj_update_dynamic): New proc.
15492         (mi_list_varobj_children): Update.
15493         (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
15494         * gdb.python/python-prettyprint.py (pp_outer): New class.
15495         (pp_nullstr): Likewise.
15496         (lookup_function): Register new printers.
15497         * gdb.python/python-prettyprint.c (struct substruct): New type.
15498         (struct outerstruct): Likewise.
15499         (substruct_test): New function.
15500         (struct nullstr): New type.
15501         (string_1, string_2): New globals.
15502         (main): Add new tests.
15503         * gdb.python/python-mi.exp: Added regression tests.
15504         * gdb.mi/mi2-var-display.exp: Update.
15505         * gdb.mi/mi2-var-cmd.exp: Update.
15506         * gdb.mi/mi2-var-child.exp: Update.
15507         * gdb.mi/mi2-var-block.exp: Update.
15508         * gdb.mi/mi-var-invalidate.exp: Update.
15509         * gdb.mi/mi-var-display.exp: Update.
15510         * gdb.mi/mi-var-cmd.exp: Update.
15511         * gdb.mi/mi-var-child.exp: Update.
15512         * gdb.mi/mi-var-block.exp: Update.
15513         * gdb.mi/mi-break.exp: Update.
15514         * gdb.mi/gdb701.exp: Update.
15515
15516 2009-09-14  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
15517
15518         * Makefile.in: Inclusion of catch-syscall object.
15519         * gdb.base/catch-syscall.c: New file.
15520         * gdb.base/catch-syscall.exp: New file.
15521
15522 2009-09-12  Michael Snyder  <msnyder@vmware.com>
15523
15524         * gdb.reverse/step-reverse.exp: Explicitly check for targets
15525         that can support reverse debuggnig.
15526
15527 2009-09-11  Tom Tromey  <tromey@redhat.com>
15528
15529         * gdb.dwarf2/valop.S: New file.
15530         * gdb.dwarf2/valop.exp: New file.
15531
15532 2009-09-11  Mark Kettenis  <kettenis@gnu.org>
15533
15534         * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
15535
15536 2009-09-10  Doug Evans  <dje@google.com>
15537
15538         * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
15539         Add $gdb_prompt to second breakpoint regexp.
15540
15541 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
15542
15543         * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
15544         names, add missing ones.
15545         * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
15546         * gdb.python/py-frame.c: Rename from python-frame.c.
15547         * gdb.python/py-frame.exp: Rename from python-frame.exp.  Adjust
15548         testfile name.
15549         * gdb.python/py-function.exp: Rename from python-function.exp.
15550         * gdb.python/py-mi.exp: Rename from python-mi.exp.  Adjust
15551         testfile name.
15552         * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
15553         * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
15554         Adjust testfile name.
15555         * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
15556         * gdb.python/py-template.cc: Rename from python-template.cc.
15557         * gdb.python/py-template.exp: Rename from python-template.exp.
15558         Adjust testfile name.
15559         * gdb.python/py-value.c: Rename from python-value.c.
15560         * gdb.python/py-value.exp: Rename from python-value.exp.  Adjust
15561         testfile name.
15562
15563 2009-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
15564
15565         * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
15566         $bpt2address.
15567         (Second breakpoint address is valid on ia64)
15568         (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
15569
15570 2009-09-03  Joseph Myers  <joseph@codesourcery.com>
15571
15572         * gdb.base/ending-run.exp: Restrict regular expression matching
15573         line number to require closing brace following.
15574
15575 2009-09-03  Doug Evans  <dje@google.com>
15576
15577         * gdb.base/store.exp (check_set): Fix typo in expected value message.
15578
15579 2009-09-02  Tom Tromey  <tromey@redhat.com>
15580
15581         * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
15582
15583 2009-09-02  Tom Tromey  <tromey@redhat.com>
15584
15585         * gdb.dwarf2/callframecfa.exp: New file.
15586         * gdb.dwarf2/callframecfa.S: New file.
15587
15588 2009-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
15589
15590         * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
15591         gdb.base/solib-overlap-main.c: New.
15592
15593 2009-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
15594
15595         PR gdb/10565
15596
15597         * gdb.base/bitfields.c (struct container, container): New.
15598         (main): Initialize it and call break5.
15599         * gdb.base/bitfields.exp (bitfield_at_offset): New test.
15600
15601 2009-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
15602
15603         Support constant DW_AT_data_member_location by GCC PR debug/40659.
15604         * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
15605
15606 2009-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
15607
15608         * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
15609
15610 2009-08-26  Michael Snyder  <msnyder@vmware.com>
15611
15612         * gdb.base/i386-reverse.c: New file.
15613         * gdb.base/i386-reverse.exp: New file.
15614         * gdb.base/Makefile.in: Add new files to be removed.
15615
15616 2009-08-26  Joseph Myers  <joseph@codesourcery.com>
15617
15618         * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
15619         environment-pwd for remote host.
15620         * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
15621
15622 2009-08-24  Keith Seitz  <keiths@redhat.com>
15623
15624         * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
15625         Add two new C++ completer tests which limit the output to a
15626         given class.
15627
15628 2009-08-24  Michael Snyder  <msnyder@vmware.com>
15629
15630         * gdb.base/del.exp: Fix typo in comment.
15631         * gdb.base/step-bt.exp: Fix cut and paste error in comment.
15632
15633 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
15634
15635         * configure: Regenerate.
15636         * gdb.hp/configure: Likewise.
15637         * gdb.hp/gdb.aCC/configure: Likewise.
15638         * gdb.hp/gdb.base-hp/configure: Likewise.
15639         * gdb.hp/gdb.compat/configure: Likewise.
15640         * gdb.hp/gdb.defects/configure: Likewise.
15641         * gdb.hp/gdb.objdbg/configure: Likewise.
15642         * gdb.stabs/configure: Likewise.
15643
15644 2009-08-19  Doug Evans  <dje@google.com>
15645
15646         * gdb.base/gdbvars.c: New file.
15647         * gdb.base/gdbvars.exp: Test convenience vars with program variables.
15648
15649 2009-08-14  Pedro Alves  <pedro@codesourcery.com>
15650
15651         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15652         gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
15653
15654 2009-08-13  Pedro Alves  <pedro@codesourcery.com>
15655
15656         * gdb.base/default.exp: Adjust "set language test": it's now an
15657         enum command.  Larger help string moved to "help set language".
15658         * gdb.base/help.exp: Adjust "help set language" expected output,
15659         now lists all known languages.
15660
15661 2009-08-11  Nathan Froyd  <froydnj@codesourcery.com>
15662
15663         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
15664         all frame arguments.
15665         * gdb.arch/altivec-regs.exp: Likewise.
15666
15667 2009-08-07  Tom Tromey  <tromey@redhat.com>
15668
15669         * gdb.base/setshow.exp: Add tests for changes to set language, set
15670         check range, and set check type.
15671
15672 2009-08-03  Vladimir Prus  <vladimir@codesourcery.com>
15673
15674         * lib/mi-support.exp (mi_list_breakpoints): Make it work.
15675         * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
15676         Call it.
15677
15678 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15679
15680         * configure.ac: Run gdb.cell tests when appropriate.
15681         * configure: Regenerate.
15682         * lib/cell.exp: New file.
15683         * gdb.cell: New directory.
15684         * gdb.cell/configure.ac: New file.
15685         * gdb.cell/configure: New file.
15686         * gdb.cell/Makefile.in: New file.
15687         * gdb.cell/arch.exp: New file.
15688         * gdb.cell/break.c: New file.
15689         * gdb.cell/break.exp: New file.
15690         * gdb.cell/break-spu.c: New file.
15691         * gdb.cell/bt.c: New file.
15692         * gdb.cell/bt2-spu.c: New file.
15693         * gdb.cell/bt-spu.c: New file.
15694         * gdb.cell/bt.exp: New file.
15695         * gdb.cell/coremaker.c: New file.
15696         * gdb.cell/coremaker-spu.c: New file.
15697         * gdb.cell/core.exp: New file.
15698         * gdb.cell/gcore.exp: New file.
15699         * gdb.cell/data.c: New file.
15700         * gdb.cell/data.exp: New file.
15701         * gdb.cell/data-spu.c: New file.
15702         * gdb.cell/ea-cache.exp: New file.
15703         * gdb.cell/ea-cache.c: New file.
15704         * gdb.cell/ea-cache-spu.c: New file.
15705         * gdb.cell/ea-standalone.c: New file.
15706         * gdb.cell/ea-standalone.exp: New file.
15707         * gdb.cell/ea-test.c: New file.
15708         * gdb.cell/ea-test.exp: New file.
15709         * gdb.cell/f-regs.exp: New file.
15710         * gdb.cell/mem-access.c: New file.
15711         * gdb.cell/mem-access.exp: New file.
15712         * gdb.cell/mem-access-spu.c: New file.
15713         * gdb.cell/ptype.exp: New file.
15714         * gdb.cell/registers.exp: New file.
15715         * gdb.cell/size.c: New file.
15716         * gdb.cell/sizeof.exp: New file.
15717         * gdb.cell/size-spu.c: New file.
15718         * gdb.cell/solib.exp: New file.
15719         * gdb.cell/solib-symbol.exp: New file.
15720
15721 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15722
15723         * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
15724
15725 2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
15726
15727         * gdb.base/float.exp: Handle VFP registers.
15728
15729 2009-07-14  Michael Snyder  <msnyder@vmware.com>
15730
15731         * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
15732         to bring gdb to the beginning of the calling line.
15733
15734         * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
15735         confusing the i386 epilogue unwinder.
15736
15737 2009-07-14  Stan Shebs  <stan@codesourcery.com>
15738
15739         * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
15740
15741 2009-07-14  Michael Snyder  <msnyder@vmware.com>
15742
15743         * gdb.reverse/step-reverse.exp (stepi into function call):
15744         Call instruction may not be first instruction in the line.
15745         (reverse stepi from a function call): Used wrong line number.
15746
15747 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
15748
15749         * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
15750
15751 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
15752
15753         Fix gdb.base/macscp.exp when using custom inputrc.
15754         * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
15755         * gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
15756         env(TERM) set.
15757         * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
15758         * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
15759
15760 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
15761
15762         Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
15763         * gdb.base/annota1.exp (thread_test): Import global $testfile.
15764         Change the compilation target to match the testcase name.
15765         * gdb.base/sect-cmd.exp: Change the compilation target to match the
15766         testcase name.
15767         * a2-run.exp: Use for setup prepare_for_testing.  Change the
15768         compilation target to match the testcase name.
15769         * gdb.base/commands.exp: Likewise.
15770         * gdb.base/finish.exp: Likewise.
15771         * gdb.base/float.exp: Likewise.
15772         * gdb.base/info-target.exp: Likewise.
15773         * gdb.base/relational.exp: Likewise.
15774         * gdb.base/term.exp: Likewise.
15775         * gdb.base/until.exp: Likewise.
15776         * gdb.base/volatile.exp: Likewise.
15777         * gdb.base/whatis-exp.exp: Likewise.
15778
15779 2009-07-11  Hui Zhu  <teawater@gmail.com>
15780
15781         * gdb.base/help.exp (disassemble): Update expected help text.
15782
15783 2009-07-09  Tom Tromey  <tromey@redhat.com>
15784
15785         * lib/gdb.exp: Handle TRANSCRIPT.
15786         (remote_spawn, remote_close, send_gdb): New procs.
15787
15788 2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
15789
15790         * gdb.python/python-prettyprint.c: Add counted null string
15791         structure.
15792         * gdb.python/python-prettyprint.exp: Print null string. Test for
15793         embedded nulls.
15794         * gdb.python/python-prettyprint.py (pp_ns): New Function.
15795         * gdb.python/python-value.exp (test_value_in_inferior): Add
15796         variable length string fetch tests.
15797         * gdb.python/python-value.c (main): Add strings for string fetch tests.
15798
15799 2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
15800
15801         * gdb.base/dump.exp (inaccessible memory is reported): New test.
15802
15803 2009-07-07  Tom Tromey  <tromey@redhat.com>
15804
15805         * gdb.base/call-rt-st.exp: Update for change to escape output.
15806         * gdb.base/callfuncs.exp: Likewise.
15807         * gdb.base/charset.exp: Likewise.
15808         * gdb.base/constvars.exp: Likewise.
15809         * gdb.base/long_long.exp: Likewise.
15810         * gdb.base/pointers.exp: Likewise.
15811         * gdb.base/printcmds.exp: Likewise.
15812         * gdb.base/setvar.exp: Likewise.
15813         * gdb.base/store.exp: Likewise.
15814         * gdb.cp/ref-types.exp: Likewise.
15815         * gdb.mi/mi-var-child.exp: Likewise.
15816         * gdb.mi/mi-var-display.exp: Likewise.
15817         * gdb.mi/mi2-var-display.exp: Likewise.
15818         * gdb.base/charset.exp: Test octal escape sequence length.
15819         Update for change to escape output.
15820
15821 2009-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15822
15823         * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
15824
15825 2009-07-06  Daniel Jacobowitz  <dan@codesourcery.com>
15826
15827         * lib/java.exp (java_init): Ignore $GCJ if it is empty.
15828
15829 2009-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
15830
15831         * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
15832         gdbserver increasing $portnum if "Can't bind address" has been seen.
15833
15834 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
15835
15836         * gdb.base/ending-run.exp: Add "step out of main" pattern for
15837         mingw32ce.
15838
15839 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
15840
15841         * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
15842         VFP format.
15843
15844 2009-07-02  Pedro Alves  <pedro@codesourcery.com>
15845
15846         * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
15847         linux.  Adjust to use "inferior", "info inferiors", "detach
15848         inferior" and "kill inferior" instead of "restart", "info fork",
15849         "detach fork" and "delete fork".
15850         * gdb.base/ending-run.exp: Spell out "info".
15851         * gdb.base/help.exp: Adjust to use test_prefix_command_help for
15852         the "kill" command.
15853
15854 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15855
15856         * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
15857         change to prefix TLS offset in hex with 0x.
15858
15859 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15860
15861         * gdb.base/default.exp: Update test case for "x" changes.
15862
15863 2009-07-01  Tristan Gingold  <gingold@adacore.com>
15864
15865         * gdb.base/bigcore.exp: Make darwin untested.
15866
15867 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
15868
15869         * gdb.base/completion.exp (directory completion): Create the directory.
15870         New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
15871         escapeuniquesub.
15872         (directory completion 2): Expect now ${escapeuniquesub}.
15873         (Glob remaining of directory test): Remove one excessive newline.
15874         Expect the real output.
15875
15876 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
15877
15878         Fix `make check//%' target after `make check' has been ran.
15879         * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency.  Add
15880         a mkdir call.
15881         (check-gdb.base%): Remove the gdb.base%/.dir dependency.
15882         (%/.dir): Remove.
15883
15884 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
15885
15886         * lib/mi-support.exp (mi_check_thread_states): Permit any output before
15887         the expected result record.
15888
15889 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
15890
15891         Remove racy FAILs relying just on the timeouts.
15892         * gdb.base/setshow.exp (set annotate 2, show annotate (2))
15893         (annotation_level 2): Remove racy FAILs.
15894
15895 2009-06-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
15896
15897         gdb/10275
15898         * gdb.dwarf2/dw2-restore.{S,exp}: New test.
15899
15900 2009-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
15901
15902         * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
15903
15904 2009-06-30  Vladimir Prus  <vladimir@codesourcery.com>
15905
15906         * gdb.mi/mi-stack.exp: Testing symbolic options
15907         to -stack-list-locals and -stack-list-arguments.
15908
15909 2009-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
15910
15911         * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
15912
15913 2009-06-29  Tom Tromey  <tromey@redhat.com>
15914
15915         * dg-extract-results.sh: New file.
15916         * Makefile.in (FORCE_PARALLEL): New variable.
15917         (CHECK_TARGET): New conditional variable.
15918         (check): Use CHECK_TARGET.
15919         (DO_RUNTEST): New variable.
15920         (check-single): New target.
15921         (TEST_DIRS): New variable.
15922         (TEST_TARGETS): Likewise.
15923         (check-parallel): New target.
15924         (check-gdb.%): New pattern.
15925         (BASE1_FILES): New variable.
15926         (BASE2_FILES): Likewise.
15927         (check-gdb.base%): New pattern.
15928         (%/.dir): New pattern.
15929         * configure: Rebuild.
15930         * aclocal.m4 (AM_CONDITIONAL): New defun.
15931         * configure.ac: Check whether user is using GNU make.
15932         (GMAKE): New conditional.
15933
15934 2009-06-29  Sami Wagiaalla  <swagiaal@redhat.com>
15935
15936         * gdb.cp/namespace-nested-import.cc: New test.
15937         * gdb.cp/namespace-nested-import.exp: New test.
15938
15939 2009-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
15940
15941         * gdb.base/break.exp: Add an XFAIL for gcc/36748.
15942         * gdb.cp/annota2.exp: Accept frames-invalid in more places.
15943         * gdb.opt/Makefile.in (EXECUTABLES): Update.
15944         * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
15945         * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
15946         gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
15947         gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
15948         gdb.opt/inline-markers.c: New files.
15949         * lib/gdb.exp (skip_inline_frame_tests): New function.
15950         (skip_inline_var_tests): New function.
15951
15952 2009-06-27  Andreas Schwab  <schwab@linux-m68k.org>
15953
15954         * gdb.cp/exception.exp: Don't require $hex before inner frame in
15955         backtrace.
15956
15957 2009-06-27  Michael Snyder  <msnyder@vmware.com>
15958
15959         * gdb.reverse: New directory.
15960         * gdb.reverse/break-reverse.c: New test.
15961         * gdb.reverse/break-reverse.exp: New test.
15962         * gdb.reverse/consecutive-reverse.c: New test.
15963         * gdb.reverse/consecutive-reverse.exp: New test.
15964         * gdb.reverse/finish-reverse.c: New test.
15965         * gdb.reverse/finish-reverse.exp: New test.
15966         * gdb.reverse/machinestate.c: New test.
15967         * gdb.reverse/ms1.c: New test.
15968         * gdb.reverse/machinestate.exp: New test.
15969         * gdb.reverse/Makefile.in: New file.
15970         * gdb.reverse/shr2.c: New test.
15971         * gdb.reverse/solib-reverse.c: New test.
15972         * gdb.reverse/solib-reverse.exp: New test.
15973         * gdb.reverse/step-reverse.c: New test.
15974         * gdb.reverse/step-reverse.exp: New test.
15975         * gdb.reverse/until-reverse.c: New test.
15976         * gdb.reverse/ur1.c: New test.
15977         * gdb.reverse/until-reverse.exp: New test.
15978         * gdb.reverse/watch-reverse.c: New test.
15979         * gdb.reverse/watch-reverse.exp: New test.
15980         * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
15981         * configure: Regenerate.
15982
15983 2009-06-26  Doug Evans  <dje@google.com>
15984
15985         * gdb.base/psymtab.exp: Turn off pending breakpoints.
15986
15987 2009-06-26  Pierre Muller  <muller@ics.u-strasbg.fr>
15988
15989         * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
15990         windows problem for 'file delete $binfile'.
15991
15992 2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
15993
15994         * gdb.cp/namespace-using.exp: New test.
15995         * gdb.cp/namespace-using.cc: New test.
15996
15997 2009-05-20  Joel Brobecker  <brobecker@adacore.com>
15998
15999         * gdb.ada/variant_record_packed_array: New testcase.
16000
16001 2009-06-23  Tom Tromey  <tromey@redhat.com>
16002
16003         * gdb.base/charset.exp (test_combination): Regression test.
16004         * gdb.base/charset.c (my_wchar_t): New typedef.
16005         (myvar): New global.
16006         (main): Set myvar.
16007
16008 2009-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
16009
16010         * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
16011         target.
16012
16013 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16014
16015         * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
16016
16017 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16018
16019         * gdb.mi/gdb680.exp: Update test for error message.
16020
16021 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16022
16023         * gdb.base/annota1.exp: Allow multiple occurrences of the
16024         frames-invalid annotation.
16025         * gdb.cp/annota2.exp: Likewise.
16026
16027 2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
16028
16029         * gdb.cp/gdb2495.cc: New file.
16030         * gdb.cp/gdb2495.exp: New file.
16031
16032 2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
16033
16034         Report error on GDB crash during runto.
16035         * lib/gdb.exp (runto <eof>): New.
16036
16037 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
16038
16039         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
16040         gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
16041         gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
16042         gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
16043         gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
16044         gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
16045         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
16046         gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
16047         gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
16048         gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
16049         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
16050         gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
16051         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
16052         gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
16053         gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
16054         gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
16055         gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
16056         gdb.server/server-mon.exp, gdb.server/server-run.exp,
16057         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16058         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16059         gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
16060         gdb.trace/passcount.exp, gdb.trace/report.exp,
16061         gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
16062         gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
16063         gdb.trace/while-stepping.exp: Use a unique name for the compiled
16064         executable.
16065
16066 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
16067
16068         * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
16069         defined before referencing it.
16070
16071 2009-06-03  Doug Evans  <dje@google.com>
16072
16073         * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
16074         * gdb.arch/i386-see.c: Ditto.
16075
16076 2009-05-30  Pierre Muller  <muller@ics.u-strasbg.fr>
16077
16078         * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
16079         (check_macro): Return 1 if undefined.
16080         If first test fails, check if macro debug information is available,
16081         and report unsupported test if no macro information is found.
16082
16083 2009-05-29  Doug Evans  <dje@google.com>
16084
16085         * gdb.threads/hand-call-in-threads.exp: New.
16086         * gdb.threads/hand-call-in-threads.c: New.
16087
16088 2009-05-29  Michael Snyder  <msnyder@vmware.com>
16089
16090         * gdb.base/break-always.exp: Change "1" to "on".
16091         Add confirmation check.
16092
16093 2009-05-28  Pedro Alves  <pedro@codesourcery.com>
16094
16095         * gdb.threads/threxit-hop-specific.c: New.
16096         * gdb.threads/threxit-hop-specific.exp: New.
16097         * gdb.threads/thread-execl.c: New.
16098         * gdb.threads/thread-execl.exp: New.
16099
16100 2009-05-27  Tom Tromey  <tromey@redhat.com>
16101             Thiago Jung Bauermann  <bauerman@br.ibm.com>
16102
16103         * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
16104         (mi_child_regexp): Likewise.
16105         (mi_list_varobj_children_range): Likewise.
16106         (mi_get_features): Likewise.
16107         (mi_list_varobj_children): Rewrite.
16108         * gdb.python/python-mi.exp: New file.
16109
16110 2009-05-27  Tom Tromey  <tromey@redhat.com>
16111             Thiago Jung Bauermann  <bauerman@br.ibm.com>
16112             Phil Muldoon  <pmuldoon@redhat.com>
16113             Paul Pluzhnikov  <ppluzhnikov@google.com>
16114
16115         * gdb.python/python-prettyprint.exp: New file.
16116         * gdb.python/python-prettyprint.c: New file.
16117         * gdb.python/python-prettyprint.py: New file.
16118         * gdb.base/display.exp: print/r is now valid.
16119
16120 2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16121             Tom Tromey  <tromey@redhat.com>
16122             Pedro Alves  <pedro@codesourcery.com>
16123             Paul Pluzhnikov  <ppluzhnikov@google.com>
16124
16125         * gdb.python/python-template.exp: New file.
16126         * gdb.python/python-template.cc: New file.
16127         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
16128         tests.
16129         * gdb.python/python-value.exp (py_objfile_tests): New proc.
16130         Call it.
16131         (test_value_after_death): New proc.
16132         * gdb.python/python-value.c (PTR): New typedef.
16133         (main): New variable 'x'.
16134
16135 2009-05-27  Tom Tromey  <tromey@redhat.com>
16136
16137         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
16138         tests.
16139         * gdb.python/python-value.exp (py_objfile_tests): New proc.
16140         Call it.
16141
16142 2009-05-27  Pedro Alves  <pedro@codesourcery.com>
16143
16144         * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
16145
16146 2009-05-24  Pedro Alves  <pedro@codesourcery.com>
16147
16148         * gdb.threads/fork-thread-pending.c: New.
16149         * gdb.threads/fork-thread-pending.exp: New.
16150
16151 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
16152
16153         * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
16154         * gdb.dwarf2/dw2-strp.S (a_string2): New.
16155
16156 2009-05-18  Jon Beniston  <jon@beniston.com>
16157
16158         * gdb.asm/asm-source.exp: Add lm32 target.
16159
16160 2009-05-17  Pedro Alves  <pedro@codesourcery.com>
16161
16162         * gdb.base/foll-fork.c: Include stdlib.h.  Add markers for
16163         `gdb_get_line_number'.  Call `callee' in both parent and child.
16164         * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
16165         `gdb_get_line_number' instead of hardcoding line numbers.
16166         (catch_fork_unpatch_child): New procedure to test detaching
16167         breakpoints from child fork.
16168         (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
16169         hardcoding line numbers.
16170         (do_fork_tests): Run `catch_fork_unpatch_child'.
16171
16172 2009-05-17  Vladimir Prus  <vladimir@codesourcery.com>
16173
16174         * gdb.mi/mi-cmd-var.exp: Check that when varobj
16175         of structure type enters or leaves the scope, it
16176         is reported by -var-update.
16177
16178 2009-05-11  Doug Evans  <dje@sebabeach.org>
16179
16180         * gdb.mi/nsintrall.c (main): Fix off-by-one error.
16181         * gdb.threads/pending-step.c (main): Fix off-by-one error.
16182         * gdb.threads/schedlock.c (main): Fix off-by-one error.
16183
16184 2009-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
16185
16186         * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
16187
16188 2009-04-30  Doug Evans  <dje@google.com>
16189
16190         * gdb.threads/watchthreads2.exp: New testcase.
16191         * gdb.threads/watchthreads2.c: New testcase.
16192
16193 2009-04-29  Doug Evans  <dje@google.com>
16194
16195         * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
16196         * gdb.cp/mb-ctor.cc: Ditto.
16197         * gdb.cp/mb-inline.exp: Add multi-line source statement test.
16198         * gdb.cp/mb-inline.h (multi_line_foo): New function.
16199         * gdb.cp/mb-inline1.cc: Call it.
16200         * gdb.cp/mb-inline2.cc: Ditto.
16201         * gdb.cp/mb-templates.exp: Add multi-line source statement test.
16202         * gdb.cp/mb-templates.cc (multi_line_foo): New template.
16203
16204 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
16205
16206         * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
16207         (info_macro): Remova `decimal' declaration.  New variable `nonzero'.
16208         Replace all uses of `decimal' by `nonzero'.
16209         (info macro FROM_COMMANDLINE): New test.
16210
16211 2009-04-27  Tom Tromey  <tromey@redhat.com>
16212
16213         * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
16214
16215 2009-04-27  Doug Evans  <dje@google.com>
16216
16217         * gdb.threads/watchthreads.c (main): Initialize args before starting
16218         the threads.  Plus formatting cleanup.
16219         * gdb.threads/watchthreads.exp: Avoid errant failures due to
16220         biased scheduling of one thread.
16221
16222 2009-04-27  Jerome Guitton  <guitton@adacore.com>
16223
16224         * gdb.cp/templates.cc (GetMax): New template.
16225         (main): Declare two instances of GetMax.
16226         * gdb.cp/templates.exp: Add new test.
16227
16228 2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
16229
16230         * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
16231
16232 2009-04-22  Joseph Myers  <joseph@codesourcery.com>
16233
16234         * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
16235
16236 2009-04-15  Tom Tromey  <tromey@redhat.com>
16237
16238         * gdb.base/charset.exp: Add regression test.
16239
16240 2009-04-14  Joel Brobecker  <brobecker@adacore.com>
16241
16242         * gdb.base/exe-lock.exp: New testcase.
16243
16244 2009-04-13  Tom Tromey  <tromey@redhat.com>
16245
16246         * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
16247         operator on Frame.
16248
16249 2009-04-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16250
16251         * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
16252         * gdb.server/ext-attach.exp: Likewise.
16253
16254 2009-04-03  Vladimir Prus  <vladimir@codesourcery.com>
16255
16256         Eliminate some sleep usage.
16257
16258         * gdb.mi/basics.c (do_nothing): New.
16259         (main): Use do_nothing instead of printf, so that
16260         not to introduce race condition between output of
16261         inferiour and output of gdb. Do not use sleep as it
16262         is not generally available on embedded targets.
16263
16264 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
16265
16266         * gdb.server/ext-attach.exp: Expect an optional process id after
16267         "Detached from remote process".
16268
16269 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
16270
16271         * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
16272         gdb.dwarf2/dw2-unresolved.exp: New.
16273
16274 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
16275
16276         * gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
16277         mi_run_to_main.
16278
16279 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
16280
16281         * gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
16282         mi_run_to_main.  Skip thread exit test on remote targets.
16283         * gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
16284         mi_run_to_main.
16285         * gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
16286         mi_run_to_main.
16287         * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
16288         when expecting ^connected.  Detect when the target doesn't support
16289         non-stop mode.
16290         (mi_run_cmd): Detect if non-stop mode was requested by isn't
16291         supported.  Return -1 on error, 0 on success.
16292         (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
16293         (mi_runto): Return mi_runto_helper's result explicitly.
16294
16295 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
16296
16297         * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
16298
16299 2009-04-01  Tom Tromey  <tromey@redhat.com>
16300
16301         * gdb.base/funcargs.exp: Set print frame-arguments to "all".
16302         * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
16303         * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
16304         * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
16305
16306 2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
16307             Jan Kratochvil  <jan.kratochvil@redhat.com>
16308
16309         PR gdb/931
16310         * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
16311         output.
16312         * gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
16313         for gdb/931.
16314         * dw2-strp.S (DW_AT_language): Change to C++.
16315         (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
16316
16317 2009-03-31  Joel Brobecker  <brobecker@adacore.com>
16318
16319         * gdb.ada/tasks: New testcase.
16320
16321 2009-03-30  Stan Shebs  <stan@codesourcery.com>
16322
16323         * gdb.trace/actions.exp: Update to match new info trace format.
16324         * gdb.trace/deltrace.exp: Ditto.
16325         * gdb.trace/infotrace.exp: Ditto.
16326         * gdb.trace/passcount.exp: Ditto.
16327         * gdb.trace/save-trace.exp: Ditto.
16328         * gdb.trace/while-stepping.exp: Ditto.
16329         * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
16330
16331 2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16332
16333         * gdb.python/python-frame.c: New file.
16334         * gdb.python/python-frame.exp: New file.
16335
16336 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16337
16338         * gdb.python/python-value.exp: Add tests for the address
16339         attribute.
16340
16341 2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>
16342
16343         * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
16344
16345 2009-03-26  Doug Evans  <dje@google.com>
16346
16347         * gdb.mi/mi-nonstop-exit.exp: New file.
16348         * gdb.mi/non-stop-exit.c: New file.
16349
16350 2009-03-26  Tom Tromey  <tromey@redhat.com>
16351
16352         Update for change to prologue skipping:
16353         * gdb.mi/mi2-simplerun.exp: Update.
16354         * gdb.mi/mi2-break.exp: Update.
16355         * gdb.mi/mi-simplerun.exp: Update.
16356         * gdb.mi/mi-break.exp: Update.
16357         * gdb.base/ending-run.exp: Update.
16358
16359 2009-03-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16360
16361         * gdb.python/python-value.exp (test_value_in_inferior): Test
16362         gdb.Value.is_optimized_out attribute.
16363
16364 2009-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
16365
16366         * gdb.dwarf2/dw2-noloc-main.c: New file.
16367         * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
16368         (.text): Remove.
16369         (.data): New.
16370         (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
16371         (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
16372         (DW_TAG_subprogram func_cu1, noloc): Remove.
16373         (main): New.
16374         * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
16375         `dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
16376         (file_symbols): New procedure.
16377
16378 2009-03-25  Tom Tromey  <tromey@redhat.com>
16379
16380         * gdb.base/charset.exp (valid_target_charset): New proc.
16381         Use it to skip tests on invalid charsets.
16382
16383 2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
16384
16385         * gdb.base/completion.exp: Add a test for directory completion.
16386
16387 2009-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
16388
16389         Fix a racy FAIL.
16390         * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
16391         * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
16392
16393 2009-03-21  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16394
16395         * gdb.python/python-cmd.exp: Add tests for keyword arguments.
16396         * gdb.python/python-function.exp: Add test for function returning
16397         a GDB value.
16398
16399 2009-03-20  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16400
16401         * gdb.python/python-function.exp: New file.
16402
16403 2009-03-20  Tom Tromey  <tromey@redhat.com>
16404
16405         * gdb.base/store.exp: Update for change to escape output.
16406         * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
16407         to escape output.
16408         * gdb.base/pointers.exp: Update for change to escape output.
16409         * gdb.base/long_long.exp (gdb_test_long_long): Update for change
16410         to escape output.
16411         * gdb.base/constvars.exp (do_constvar_tests): Update for change to
16412         escape output.
16413         * gdb.base/call-rt-st.exp (print_struct_call): Update for change
16414         to escape output.
16415         * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
16416         escape output.
16417         * gdb.base/setvar.exp: Update for change to escape output.
16418         * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
16419         * gdb.base/printcmds.exp (test_print_all_chars): Update for change
16420         to escape output.
16421         (test_print_string_constants): Likewise.
16422         * gdb.base/charset.exp (valid_host_charset): Check size of
16423         wchar_t.  Handle UCS-2 and UCS-4.  Add tests for wide and unicode
16424         cases.  Handle "auto"-related output.
16425         * gdb.base/charset.c (char16_t, char32_t): New typedefs.
16426         (uvar, Uvar): New globals.
16427
16428 2009-03-19  Jerome Guitton  <guitton@adacore.com>
16429
16430         * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
16431         deltas.
16432         * gdb.ada/fixed_points.exp: Ditto.
16433
16434 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
16435
16436         * return-nodebug.c: Don't include stdio.h.
16437         (init): Delete.
16438         (func): Delete definition and provide extern declaration.
16439         (t): New.
16440         (main): Don't call printf.  Call func and store its result in t.
16441         * return-nodebug1.c: New.
16442         * return-nodebug.exp: Don't expect stdio output.  Instead, print
16443         the global variable t.  Drop printf formatters and cast types from
16444         foreach loop.  Don't use prepare_for_testing.  Compile
16445         return-nodebug.c and return-nodebug1.c in separate steps.  Don't
16446         define FORMAT or CAST.
16447
16448 2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
16449
16450         * gdb.base/solib-display.exp: Disable test for remote targers.
16451
16452 2009-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
16453
16454         * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
16455
16456 2009-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
16457
16458         Fix a racy FAIL.
16459         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
16460         code from `follow parent, print pids'.
16461         (`follow child, print pids', `follow parent, print pids'): Call it.
16462         Replace `gdb_test "break..."' by gdb_breakpoint.
16463
16464 2009-03-13  Vladimir Prus  <vladimir@codesourcery.com>
16465
16466         * gdb.mi/mi-cli.exp: Adjust for output difference in
16467         sync and async modes.
16468
16469 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
16470
16471         * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
16472         that was checked in by mistake. Remove loading of ada.exp, since
16473         this is not necessary in this case.
16474
16475 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
16476
16477         * gdb.ada/ptype_arith_binop.exp: New testcase.
16478
16479 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
16480
16481         * gdb.ada/mod_from_name: New testcase.
16482
16483 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
16484
16485         * gdb.ada/tick_last_segv: New testcase.
16486
16487 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
16488
16489         * gdb.mi/mi-cli.exp: Remove debug print.
16490
16491 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
16492
16493         * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
16494         include the token in ^running and frame info in *stopped.
16495
16496 2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16497
16498         * solib-display.exp: New file.
16499         * solib-display-main.c: New file.
16500         * solib-display-lib.c: New file.
16501
16502 2009-03-05  Pedro Alves  <pedro@codesourcery.com>
16503
16504         * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
16505
16506 2009-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
16507
16508         * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
16509         (list_and_check_macro): Use more specific test name.
16510         (next to definition): Make the test names unique.
16511
16512 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
16513
16514         * gdb.pascal/floats.exp: Accept approximate results everywhere.
16515
16516 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
16517
16518         * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
16519         notifications.
16520         * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
16521         * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
16522         * lib/mi-support.exp (library_loaded_re): New.
16523         (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
16524
16525 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
16526
16527         * gdb.gdb/observer.exp: Use test_notification observer, not
16528         normal_stop, everywhere.
16529         (test_normal_stop_notifications): Rename to...
16530         (test_notifications): ...this.
16531         (test_observer_normal_stop): Rename to...
16532         (test_observer): ...this.
16533
16534 2009-02-16  Doug Evans  <dje@google.com>
16535
16536         * gdb.arch/amd64-disp-step.S (test_int3): New test.
16537         * gdb.arch/amd64-disp-step.exp (test_int3): New test.
16538         * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
16539         (test_prefixed_syscall,test_int3): New tests.
16540         * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
16541         (test_prefixed_syscall,test_int3): New tests.
16542
16543 2009-02-14  Vladimir Prus  <vladimir@codesourcery.com>
16544
16545         * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
16546         (mi_expect_interrupt): Likewise.
16547         * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
16548         response.
16549
16550 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
16551
16552         * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
16553         * gdb.base/pc-fp.exp (get_valueofx): Remove.
16554         Replace calls to get_valueofx by get_hexadecimal_valueof.
16555
16556 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
16557
16558         * lib/gdb.exp (get_valueof): Accept anything as a return value.
16559         (get_integer_valueof): New procedure.
16560         (get_sizeof): Use new get_integer_value_of.
16561         * gdb.base/sizeof.exp: Replace all uses of get_valueof
16562         by get_integer_valueof.
16563
16564 2009-02-13  Tom Tromey  <tromey@redhat.com>
16565
16566         * gdb.base/remote.exp (get_sizeof): Remove.
16567         * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
16568         * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
16569         * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
16570         * lib/gdb.exp (get_valueof): Move from long_long.exp.
16571         (get_sizeof): Likewise.
16572
16573 2009-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
16574
16575         PR fortran/9806
16576         * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
16577
16578 2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16579
16580         * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
16581
16582 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
16583
16584         * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
16585
16586 2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16587
16588         * gdb.python/python-cmd.exp: New file.
16589
16590 2009-02-06  Tristan Gingold  <gingold@adacore.com>
16591
16592         * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
16593
16594 2009-02-05  Tristan Gingold  <gingold@adacore.com>
16595
16596         * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
16597         pointer is dereferenced and use this signal name in regexp.
16598         * gdb.base/signull.exp: Ditto.
16599         * gdb.base/sigbpt.c (main): Catch SIGBUS too.
16600         * gdb.base/signull.c (main): Ditto.
16601
16602 2009-02-04  Tom Tromey  <tromey@redhat.com>
16603             Thiago Jung Bauermann  <bauerman@br.ibm.com>
16604
16605         * gdb.python/python-value.exp: Use `gdb.history' instead of
16606         `gdb.value_from_history'.
16607         (test_value_numeric_ops): Add test for conversion of enum constant.
16608         * gdb.python/python-value.c (enum e): New type.
16609         (evalue): New global.
16610         (main): Use argv.
16611
16612 2009-02-04  Jerome Guitton  <guitton@adacore.com>
16613
16614         * gdb.ada/uninitialized_vars: New test program.
16615         * gdb.ada/uninitialized_vars.exp: New testcase.
16616
16617 2009-02-02  Tom Tromey  <tromey@redhat.com>
16618
16619         * gdb.cp/cpcompletion.exp: Name the test "pr9594".
16620         * gdb.cp/pr2489.cc: Rename...
16621         * gdb.cp/pr9594.cc: ... to this.
16622
16623 2009-02-02  Tom Tromey  <tromey@redhat.com>
16624
16625         * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
16626         * gdb.cp/pr2489.cc: New file.
16627         * gdb.cp/cpcompletion.exp: New file.
16628
16629 2009-02-02  Tom Tromey  <tromey@redhat.com>
16630
16631         PR exp/9059:
16632         * gdb.cp/call-c.exp: Add regression test.
16633         * gdb.cp/call-c.cc (FooHandle): New typedef.
16634         (main): New variable 'handle'.
16635
16636 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
16637
16638         * lib/mi-support.exp (et_mi_thread_list)
16639         (check_mi_and_console_threads): Adjust for current thread in
16640         -thread-list-ids output.
16641
16642 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
16643
16644         * gdb.mi/mi-break.exp (test_disabled_creation): New.
16645         Call it.
16646
16647 2009-01-28  Doug Evans  <dje@google.com>
16648
16649         * gdb.arch/amd64-disp-step.S: New file.
16650         * gdb.arch/amd64-disp-step.exp: New file.
16651         * gdb.arch/i386-disp-step.S: New file.
16652         * gdb.arch/i386-disp-step.exp: New file.
16653
16654 2009-01-27  Pierre Muller  <muller@ics.u-strasbg.fr>
16655
16656         * gdb.base/find.exp: Set newline variable
16657         using quotes instead of braces to fix cygwin failures.
16658
16659 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
16660
16661         * gdb.base/radix.exp: Add tests to ensure that that set
16662         input-radix 0 and set output-radix 0 are really rejected.
16663
16664 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
16665
16666         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
16667         copyright years.
16668
16669 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
16670
16671         PR gdb/9664:
16672         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
16673
16674 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
16675
16676         PR c++/9631:
16677         * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
16678
16679 2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>
16680
16681         * gdb.server/file-transfer.exp: Use EXEEXT variable for
16682         binfile definition to fix Windows OS failure.
16683
16684 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
16685
16686         PR gdb/9346
16687         * gdb.base/interrupt.c (sigint_handler): New.
16688         (main): Install a SIGINT handler if SIGNALS is defined.  Exit
16689         on error.
16690         * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
16691         Test "signal SIGINT".
16692
16693 2009-01-19  Doug Evans  <dje@google.com>
16694
16695         * gdb.base/break.exp: Update expected gdb output.
16696         * gdb.base/sepdebug.exp: Ditto.
16697         * gdb.mi/mi-syn-frame.exp: Ditto.
16698         * gdb.mi/mi2-syn-frame.exp: Ditto.
16699         * gdb.base/call-signal-resume.exp: New file.
16700         * gdb.base/call-signals.c: New file.
16701         * gdb.base/unwindonsignal.exp: New file.
16702         * gdb.base/unwindonsignal.c: New file.
16703         * gdb.threads/interrupted-hand-call.exp: New file.
16704         * gdb.threads/interrupted-hand-call.c: New file.
16705         * gdb.threads/thread-unwindonsignal.exp: New file.
16706
16707 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
16708
16709         * gdb.base/define.exp: Test defining and hooking prefix commands.
16710         * gdb.python/python.exp: Update test for "show user" output.
16711
16712 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
16713
16714         * gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
16715         now the output exactly, using less wildcards.  Expect also the output
16716         of gfortran-4.3.  Update for the f-valprint.c modification from
16717         2008-04-22.
16718         * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
16719         Remove gdb_test test names where matching the command.
16720
16721 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
16722
16723         PR breakpoints/9681:
16724         * gdb.base/watchpoint.exp: Add regression test.
16725
16726 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
16727
16728         * gdb.threads/attach-into-signal.exp: Don't use
16729         gdb_suppress_entire_file.
16730         * gdb.threads/attach-stopped.exp: Ditto.
16731         * gdb.threads/attachstop-mt.exp: Ditto.
16732
16733 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
16734
16735         PR gdb/8812:
16736         * gdb.base/signal.exp: Change kfail to fail, and update PR number.
16737
16738 2008-12-29  Pedro Alves  <pedro@codesourcery.com>
16739
16740         PR gdb/7536:
16741         * gdb.base/radix.exp: Add tests to ensure invalid input radices
16742         and unsupported output radices are really rejected.
16743
16744 2008-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
16745
16746         * gdb.cp/punctuator.exp: Backslash the '$' signs.
16747
16748 2008-12-22  Tom Tromey  <tromey@redhat.com>
16749
16750         * gdb.cp/punctuator.exp: New file.
16751
16752 2008-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
16753
16754         * gdb.base/completion.exp (Completing non-existing component): New test.
16755
16756 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
16757
16758         Fix for PR gdb/8648.
16759         * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
16760         gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
16761         gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
16762         gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
16763
16764 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
16765
16766         * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
16767
16768 2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
16769
16770         * gdb.base/expand-psymtabs.c: Insert code in foo so that the
16771         compiler actually generate code at the expected line number.
16772
16773 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
16774
16775         * gdb.base/consecutive.exp: Don't use global in gdb_expect.
16776
16777 2008-12-12  Tom Tromey  <tromey@redhat.com>
16778
16779         * gdb.base/commands.exp (redefine_hook_test): New proc.
16780         Call it.
16781
16782 2008-12-11  Tom Tromey  <tromey@redhat.com>
16783
16784         * gdb.base/macscp.exp: New regression test.
16785
16786 2008-12-11  Tom Tromey  <tromey@redhat.com>
16787
16788         * gdb.base/macscp.exp: Print "address.addr".
16789         * gdb.base/macscp1.c (struct outer): New struct.
16790         (address): New global.
16791
16792 2008-12-09  Tom Tromey  <tromey@redhat.com>
16793
16794         * gdb.base/commands.exp (redefine_backtrace_test): New proc.
16795         Call it.
16796
16797 2008-12-04  Doug Evans  <dje@google.com>
16798
16799         * gdb.server/ext-run.exp: Relax regexp for init program.
16800
16801 2008-12-03  Tristan Gingold  <gingold@adacore.com>
16802
16803         * gdb.base/macscp.exp: Generate an object file during compilation
16804         to work around Darwin dsymutil limitations.
16805
16806 2008-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
16807
16808         Test resolving external references to TLS variables.
16809         * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
16810         FILE2_THREAD_LOCAL.
16811         (testfile2, srcfile2): New variables.
16812         * gdb.threads/tls.c (file2_thread_local)
16813         (function_referencing_file2_thread_local): New.
16814         * gdb.threads/tls2.c: New file.
16815
16816 2008-11-28  Joel Brobecker  <brobecker@adacore.com>
16817
16818         * gdb.ada/int_deref.exp: Convert the addresses into long_integer
16819         rather than integer, as integer might not be big enough when
16820         on 64bit targets.
16821
16822 2008-11-27  Jerome Guitton  <guitton@adacore.com>
16823
16824         * gdb.cp/formatted-ref.exp: Add equality test.
16825         * gdb.ada/formatted_ref.exp: Ditto.
16826
16827 2008-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
16828
16829         * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
16830         * gdb.base/start.exp: New comment about an alternative - `runto_main'.
16831
16832 2008-11-20  Andreas Schwab  <schwab@suse.de>
16833
16834         * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
16835         matching syscall entry point.
16836         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16837         (tcatch_vfork_then_child_follow): Likewise.  Finish through
16838         vfork even if we stopped at the syscall trampoline.
16839
16840 2008-11-20  Doug Evans  <dje@google.com>
16841
16842         * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
16843
16844 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16845
16846         * gdb.arch/ppc-dfp.exp: New file.
16847         * gdb.arch/ppc-dfp.c: New file.
16848
16849 2008-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16850
16851         * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
16852
16853 2008-11-17  Doug Evans  <dje@google.com>
16854
16855         * gdb.mi/mi-syn-frame.exp: Update expected output.
16856         * gdb.mi/mi2-syn-frame.exp: Update expected output.
16857
16858 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
16859
16860         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
16861         "thread N" results in =thread-selected.
16862         * lib/mi-support (mi_run_cmd, mi_expect_stop)
16863         (mi_send_resuming_command_raw): Be prepared for
16864         =thread-selected.
16865
16866 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
16867
16868         * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
16869         * lib/mi-support.exp: Likewise.
16870
16871 2008-11-16  Joel Brobecker  <brobecker@adacore.com>
16872
16873         * gdb.base/help.exp: Remove the "catch load" and "catch unload"
16874         commands from the expected output for "help catch".
16875
16876 2008-11-15  Joel Brobecker  <brobecker@adacore.com>
16877
16878         * gdb.ada/int_deref.exp: New testcase.
16879
16880 2008-11-14  Nick Roberts  <nickrob@snap.net.nz>
16881
16882         * gdb.mi/gdb2549.exp: New file.
16883
16884 2008-11-11  Doug Evans  <dje@google.com>
16885
16886         * gdb.base/callexit.exp: New file.
16887         * gdb.base/callexit.c: New file.
16888
16889 2008-11-10  Doug Evans  <dje@google.com>
16890
16891         * lib/gdb.exp (GDBFLAGS): Move -nx ...
16892         (INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
16893         (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
16894         (default_gdb_start,default_gdb_exit): Ditto.
16895         * lib/mi-support.exp (default_mi_gdb_start): Ditto.
16896         (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
16897         * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
16898         * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
16899         * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
16900         * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
16901
16902 2008-11-03  Andreas Schwab  <schwab@suse.de>
16903
16904         * gdb.base/hashline2.exp: Fix typo.
16905         * gdb.base/hashline3.exp: Likewise.
16906
16907 2008-10-30  Tom Tromey  <tromey@redhat.com>
16908
16909         * gdb.base/pointers.exp: Add test.
16910         * gdb.base/pointers.c (k, S): New typedefs.
16911         (instance): New global.
16912
16913 2008-10-30  Andreas Schwab  <schwab@suse.de>
16914
16915         * gdb.base/args.exp: Add tests for newlines.
16916
16917 2008-10-30  Joel Brobecker  <brobecker@adacore.com>
16918
16919         gdb.base/foll-exec.exp: Update the expected output of a couple
16920         of "info breakpoints" tests.
16921
16922 2008-10-28  Tom Tromey  <tromey@redhat.com>
16923
16924         * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
16925
16926 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
16927
16928         * gdb.python/python-value.exp (test_value_in_inferior): Don't use
16929         gdb_start_cmd.
16930         Use runto_main before any test that requires execution.
16931
16932 2008-10-23  Pedro Alves  <pedro@codesourcery.com>
16933
16934         * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
16935         instead of SIGINT.
16936
16937 2008-10-22  Joel Brobecker  <brobecker@adacore.com>
16938
16939         * gdb.base/completion.exp: Update expected output following
16940         the addition of the "info tasks" command.
16941
16942 2008-10-22  Tom Tromey  <tromey@redhat.com>
16943
16944         * gdb.base/exprs.exp (test_expr): Add test for string
16945         concatenation.
16946
16947 2008-10-19  Pedro Alves  <pedro@codesourcery.com>
16948
16949         * configure.ac: Output gdb.python/Makefile.
16950         * configure: Regenerate.
16951         * gdb.python/Makefile.in: New.
16952
16953 2008-10-16  Joel Brobecker  <brobecker@adacore.com>
16954
16955         * gdb.base/foll-fork.exp: Adjust the expected output to match
16956         the new description for fork/vfork catchpoints in the "info
16957         breakpoints" output.
16958
16959 2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
16960
16961         * Makefile.in: Add gdb.python to ALL_SUBDIRS.
16962
16963 2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16964
16965         * gdb.python/python-value.c: New file.
16966         * gdb.python/python-value.exp: New file.
16967
16968 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
16969
16970         * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
16971
16972 2008-10-15  Denis Pilat  <denis.pilat@st.com>
16973
16974         * gdb.cp/mb-ctor.exp: Fix a typo.
16975
16976 2008-10-09  Tom Tromey  <tromey@redhat.com>
16977
16978         * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
16979         'fprintf' and 'stderr'.
16980
16981 2008-10-07  Joel Brobecker  <brobecker@adacore.com>
16982
16983         * gdb.ada/ref_tick_size.exp: New testcase.
16984
16985 2008-10-06  Doug Evans  <dje@google.com>
16986
16987         * gdb.dwarf2/dw2-cu-size.exp: New file.
16988         * gdb.dwarf2/dw2-cu-size.S: New file.
16989
16990         * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
16991         .Ltype_int for clarity.
16992
16993 2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16994
16995         PR gdb/2384:
16996         * gdb.cp/gdb2384.exp: Extended to test more cases.
16997         * gdb.cp/gdb2384.cc: Likewise.
16998         * gdb.cp/gdb2384-base.h: Likewise.
16999         * gdb.cp/gdb2384-base.cc: Likewise.
17000
17001 2008-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
17002
17003         * gdb.base/maint.exp (maint print type): Remove printing
17004         UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
17005
17006 2008-09-30  Tom Tromey  <tromey@redhat.com>
17007
17008         * gdb.base/macscp.exp: Add completion tests.
17009         * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
17010         (TWENTY_THREE): Likewise.
17011         (FORTY_EIGHT): Likewise.
17012
17013 2008-09-30  Tom Tromey  <tromey@redhat.com>
17014
17015         * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
17016         everywhere.
17017         * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
17018
17019 2008-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
17020
17021         * gdb.threads/attachstop-mt.exp: Note a real testcase name this
17022         testcase is derived from.  Fix racy dependency on an expected PID
17023         number.  No longer support the testcase on Linux kernel 2.4.x.
17024
17025 2008-09-27  Tom Tromey  <tromey@redhat.com>
17026
17027         * gdb.base/macscp.exp: Add tests for stringification, splicing,
17028         and varargs.
17029
17030 2008-09-22  Pedro Alves  <pedro@codesourcery.com>
17031
17032         * lib/mi-support.exp (mi_expect_interrupt): New.
17033         (mi_reverse_list, mi_check_thread_states): New, moved and renamed
17034         from gdb.mi/mi-nonstop.exp.
17035         * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
17036         * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
17037         lib/mi-support.exp.
17038         Use mi_check_thread_states throughout.  Avoid ".*" and do not
17039         require an anchor after -exec-run.
17040
17041 2008-09-13  Daniel Jacobowitz  <dan@codesourcery.com>
17042
17043         * gdb.mi/mi-nonstop.exp: Do not check thread state while a
17044         stop is pending.  Avoid ".*" when two stops are pending.
17045         * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
17046         (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
17047         newlines in fullnames.
17048         * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
17049         (mi_expect_stop): Update comments.  Only anchor in sync mode.
17050         Do not match newlines.
17051         (mi_send_resuming_command_raw): Always return status.
17052         (mi_get_stop_line): Do not match more than one line by accident.
17053         Only anchor in sync mode.
17054         (mi_run_inline_test): If -exec-next fails, give up.
17055
17056 2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17057
17058         * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
17059         on SPU.
17060
17061 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
17062
17063         * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
17064
17065 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
17066
17067         * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
17068         gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
17069         gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
17070         gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
17071         gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
17072         gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
17073         gdb.ada/interface.exp, gdb.ada/null_array.exp,
17074         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
17075         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
17076         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
17077         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
17078         Include the "= " sequence in the expected output of print tests.
17079
17080 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
17081
17082         * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
17083         description for boolean types.
17084
17085 2008-09-09  Pedro Alves  <pedro@codesourcery.com>
17086
17087         * gdb.base/hook-stop-continue.c: New.
17088         * gdb.base/hook-stop-continue.exp: New.
17089
17090 2008-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
17091
17092         * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
17093
17094 2008-09-08  Jerome Guitton  <guitton@adacore.com>
17095
17096         * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
17097         (stack_check_probe_2, stack_check_probe_loop_1)
17098         (stack_check_probe_loop_2): New functions.
17099         (main): Add call to these new functions.
17100         * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
17101         functions, check that the breakpoint is inserted at the appropriate
17102         location.
17103         (insert_breakpoint): Slightly refine this procedure so that it can
17104         be called several times in the test.
17105
17106 2008-09-08  Jerome Guitton  <guitton@adacore.com>
17107
17108         * gdb.base/stack-checking.c: New file.
17109         * gdb.base/stack-checking.exp: New file.
17110
17111 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
17112
17113         * gdb.arch/altivec-abi.exp: Remove extra verbose call.
17114         * gdb.arch/altivec-regs.exp: Likewise.
17115         * gdb.arch/vsx-regs.exp: Likewise.
17116
17117 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
17118
17119         * gdb.arch/ppc-fp.exp: New file.
17120         * gdb.arch/ppc-fp.c: New file.
17121
17122 2008-09-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17123
17124         *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
17125         lest gcc-4.3.1 optimizes the whole thing away.
17126
17127 2008-09-04  Michael Snyder  <msnyder@vmware.com>
17128
17129         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
17130         as "at" (for non-debug functions such as _start).
17131
17132 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17133
17134         * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
17135         * gdb.base/watchpoint-solib.exp: Likewise.  Update tests to handle
17136         software watchpoints.
17137         * gdb.base/watch_thread_num.exp: Likewise.
17138
17139 2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
17140
17141         * gdb.arch/i386-bp_permanent.exp: New test.
17142
17143 2008-08-24  Tom Tromey  <tromey@redhat.com>
17144
17145         * gdb.base/maint.exp: Update "maint print type".
17146
17147 2008-08-21  Vladimir Prus  <vladimir@codesourcery.com>
17148
17149         * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
17150         support.  Adjust the order of "*running" notifications.
17151         * gdb.mi/non-stop.c: Don't cast from int to void* and
17152         back.
17153
17154 2008-08-20  Mark Kettenis  <kettenis@gnu.org>
17155
17156         * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
17157         expect to find it in the "info frame" output.
17158
17159 2008-08-20  Daniel Jacobowitz  <dan@codesourcery.com>
17160
17161         * gdb.base/interp.exp: Always consume both prompts.
17162
17163 2008-08-20  Pedro Alves  <pedro@codesourcery.com>
17164
17165         * gdb.base/pending.exp: Test pending breakpoints without symbols
17166         loaded.
17167
17168 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
17169
17170         * lib/mi-support.exp (mi_expect_stop): Produce
17171         more details on failures.
17172         * gdb.mi/mi-nonstop.exp: New.
17173         * gdb.mi/non-stop.c: New.
17174
17175 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
17176
17177         * gdb.mi/mi-async.exp: Use 'set target-async'.
17178         * lib/mi-support.exp: Use 'set/show target-async'.
17179
17180 2008-08-18  Daniel Jacobowitz  <dan@codesourcery.com>
17181
17182         * gdb.arch/powerpc-prologue.exp: Correct saved registers.
17183
17184 2008-08-17  Tom Tromey  <tromey@redhat.com>
17185
17186         * gdb.base/help.exp (help catch): Rewrite.
17187
17188 2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
17189
17190         * gdb.base/define.exp: Test indented command documentation.
17191         * gdb.python/python.exp: Test indented multi-line command.
17192
17193 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
17194
17195         * testsuite/gdb.arch/vsx-regs.c: New source file.
17196         * testsuite/gdb.arch/vsx-regs.exp: New testcase.
17197         * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
17198
17199 2008-08-14  Tom Tromey  <tromey@redhat.com>
17200
17201         * gdb.base/macscp.exp: Add regression test for "macro define" or
17202         "macro undef" with no arguments.
17203
17204 2008-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17205
17206         * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
17207
17208 2008-08-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17209
17210         * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
17211
17212 2008-08-06  Tom Tromey  <tromey@redhat.com>
17213
17214         * gdb.python/python.exp: New file.
17215
17216 2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
17217
17218         Fix for PR gdb/1543.
17219         * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
17220         $LOCATION.
17221         (location): New variable.
17222         * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
17223         config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
17224         config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
17225         config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
17226         gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
17227         gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
17228         gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
17229         gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
17230         gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
17231         gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
17232         gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
17233         gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
17234         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
17235         gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
17236         gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17237         gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
17238         gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
17239         gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
17240         gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
17241         gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17242         gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
17243         gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
17244         gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
17245         gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
17246         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
17247         gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
17248         gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
17249         gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
17250         gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
17251         gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
17252         gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
17253         gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
17254         gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
17255         gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
17256         gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
17257         gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
17258         gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
17259         gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17260         gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
17261         gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
17262         gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
17263         gdb.base/type-opaque.exp, gdb.base/until.exp,
17264         gdb.base/value-double-free.c, gdb.base/varargs.exp,
17265         gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
17266         gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
17267         gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
17268         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
17269         gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
17270         gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
17271         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
17272         gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
17273         gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
17274         gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
17275         gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
17276         gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
17277         gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
17278         gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
17279         gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
17280         gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17281         gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
17282         gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
17283         gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
17284         gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
17285         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
17286         gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
17287         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
17288         gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
17289         gdb.pascal/types.exp, gdb.stabs/weird.exp,
17290         gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
17291         gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
17292         gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
17293         gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
17294         gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
17295         gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
17296         gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17297         gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
17298         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17299         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
17300         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17301         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17302         lib/mi-support.exp, lib/trace-support.exp: Remove reference
17303         to bug-gdb@prep.ai.mit.edu .
17304
17305 2008-07-31  Vladimir Prus  <vladimir@codesourcery.com>
17306
17307         * lib/mi-support.exp (mi_load_shlibs): New.
17308         * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
17309
17310 2008-07-30  Vladimir Prus  <vladimir@codesourcery.com>
17311
17312         * lib/mi-support.exp (get_mi_thread_list)
17313         (check_mi_and_console_threads): New, moved from ...
17314         * gdb.mi/mi-pthread.exp: ...here.
17315         * gdb.mi/gdb669.exp (get_mi_thread_list)
17316         (check_mi_and_console_threads): Delete.
17317         * gdb.mi/mi2-pthread.exp: Likewise.
17318
17319 2008-07-28  Tom Tromey  <tromey@redhat.com>
17320
17321         * Makefile.in (just-check): Remove.  Move body to...
17322         (check): ... here.
17323
17324 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
17325
17326         * gdb.threads/manythreads.exp: Use remote_expect instead of after.
17327         Add a test for duplicated SIGINTs.
17328
17329 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
17330
17331         * gdb.threads/schedlock.exp (get_args): Update to work for any
17332         value of NUM.
17333         (Top level): Report the number of threads that did not resume.
17334
17335 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
17336
17337         * gdb.dwarf2/dw2-compressed.S: Also define __start.
17338
17339 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
17340
17341         * lib/mi-support.exp (default_mi_gdb_start): Remove check for
17342         non-MI prompt.
17343
17344 2008-07-26  Tom Tromey  <tromey@redhat.com>
17345
17346         * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
17347         (function_struct, function_struct_ptr): New globals.
17348         * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
17349         function pointer in a struct.
17350
17351 2008-07-26  Tom Tromey  <tromey@redhat.com>
17352
17353         * gdb.base/macscp.exp: Add test for macro lexing bug.
17354
17355 2008-07-18  Tom Tromey  <tromey@redhat.com>
17356
17357         * gdb.base/macscp.exp: Add macro tests.
17358
17359 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
17360
17361         * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
17362
17363 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
17364
17365         * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
17366
17367 2008-07-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17368
17369         * gdb.cp/class2.exp: fix for failure on spu-elf
17370
17371 2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17372
17373         * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
17374
17375 2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
17376
17377         * gdb.base/randomize.exp: Catch non-Linux targets as untested.
17378
17379 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
17380
17381         * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
17382
17383 2008-07-11  Kevin Buettner  <kevinb@redhat.com>
17384
17385         * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
17386         of regexp to account for changes made to GDB in the printing of
17387         byte vectors.
17388
17389 2008-07-11  Tom Tromey  <tromey@redhat.com>
17390
17391         * gdb.base/completion.exp: Add 'help' completion test.
17392
17393 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
17394
17395         * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
17396
17397 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
17398
17399         * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
17400
17401 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
17402
17403         * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
17404
17405 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
17406
17407         * gdb.base/fullname.exp: Restore pwd if compiling failed.
17408
17409 2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
17410
17411         * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
17412
17413 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
17414
17415         * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
17416         previous commit.  Add a comment.
17417
17418 2008-06-28  Pedro Alves  <pedro@codesourcery.com>
17419
17420         * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
17421
17422 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
17423
17424         * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
17425
17426 2008-06-27  Pedro Alves  <pedro@codesourcery.com>
17427
17428         * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
17429         (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
17430         compiling an executable, link in an object that forces unbuffered
17431         output.
17432         * lib/set_unbuffered_mode.c: New file.
17433
17434 2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
17435
17436         * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
17437
17438 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
17439
17440         * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
17441         mi_expect_stop.
17442         * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
17443         Demand that *running is output.
17444         (detect_async): Perform checking every time.
17445         (mi_send_resuming_command): Extract everything into...
17446         (mi_send_resuming_command_raw): ...this.
17447         (mi_expect_stop): Don't accept any output before *stopped.
17448
17449 2008-06-13  Vladimir Prus  <vladimir@codesourcery.com>
17450
17451         Robustify mi-simplerun.
17452         * gdb.mi/basics.c (main): Add a call to sleep.
17453         * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
17454         * gdb.mi/mi2-cli.exp: Likewise.
17455         * gdb.mi/mi-break.exp: Likewise.
17456
17457 2008-06-11  Vladimir Prus  <vladimir@codesourcery.com>
17458
17459         * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
17460
17461 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
17462
17463         * gdb.mi/mi-console.exp: Adjust.
17464         * gdb.mi/mi-syn-frame.exp: Adjust.
17465         * gdb.mi/mi2-console.exp: Adjust.
17466         * gdb.mi/mi2-syn-frame.exp: Adjust.
17467         * lib/mi-support.exp (mi_run_cmd): Adjust.
17468         (mi_send_resuming_command): Adjust.
17469
17470 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
17471
17472         * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
17473         * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
17474         testing of stopped.
17475         * gdb.mi/mi2-syn-frame.exp: Likewise.
17476         * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
17477         (async, detect_async): New.
17478         (mi_expect_stop, mi_continue_to_line): Adjust expectation
17479         depending on if we're running in sync or async mode.
17480
17481 2008-06-09  Tom Tromey  <tromey@redhat.com>
17482
17483         * gdb.base/completion.exp: New tests for field name completion
17484         with spaces, and field name completion with '->'.
17485
17486 2008-06-06  Tom Tromey  <tromey@redhat.com>
17487
17488         * gdb.base/break1.c (struct some_struct): New struct.
17489         (values): New global.
17490         * gdb.base/completion.exp: Add field name completion test.
17491
17492 2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17493
17494         * gdb.cp/call-c.exp: Test for incorrect handling of reference
17495         to pointer.
17496         * gdb.cp/call-c.cc: Likewise.
17497
17498 2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
17499
17500         * gdb.base/annota1.exp (thread_switch): Test for thread-changed
17501         annotation.
17502
17503 2008-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17504             Pedro Alves  <pedro@codesourcery.com>
17505
17506         * gdb.threads/execl.c, gdb.threads/execl1.c,
17507         gdb.threads/execl.exp: New tests.
17508
17509 2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
17510             Daniel Jacobowitz  <dan@codesourcery.com>
17511
17512         * gdb.cp/exception.exp: Activate test, make it work with pending
17513         catchpoints.
17514
17515 2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
17516
17517         * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
17518
17519 2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
17520
17521         * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
17522         now printed.
17523         * gdb.mi/mi2-var-cmd.exp: Likewise.
17524
17525 2008-05-27  Andreas Schwab  <schwab@suse.de>
17526
17527         * gdb.base/frame-args.exp: Handle arguments that are optimized
17528         out.
17529
17530 2008-05-26  Luis Machado  <luisgpm@br.ibm.com>
17531
17532         * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
17533         quiet for ppc32 and group options into a single variable.
17534
17535 2008-05-23  Joel Brobecker  <brobecker@adacore.com>
17536
17537         * gdb.ada/null_array/foo.adb: Add multi-dimensional array
17538         of zero-size elements.
17539         * gdb.ada/null_array.exp: Test printing this new array.
17540
17541 2008-05-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
17542
17543         * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
17544
17545 2008-05-21  Joel Brobecker  <brobecker@adacore.com>
17546
17547         * gdb.base/finish.exp: Test that "fin" works as an abbreviation
17548         of the "finish" command.
17549
17550 2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
17551
17552         * gdb.base/annota1.exp: Test for new annotation.
17553
17554 2008-05-16  Pedro Alves  <pedro@codesourcery.com>
17555
17556         * gdb.base/fixsection.exp: New file.
17557         * gdb.base/fixsection0.c: New file.
17558         * gdb.base/fixsection1.c: New file.
17559
17560 2008-05-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17561
17562         * gdb.base/annota1.exp: Accept printf@... in place of printf.
17563         * gdb.base/annota3.exp: Likewise.
17564
17565 2008-05-13  Nathan Froyd  <froydnj@codesourcery.com>
17566
17567         * gdb.base/watch_thread_num.exp: Don't run tests that require
17568         watchpoints if the target doesn't support them.
17569
17570 2008-05-12  Doug Evans  <dje@google.com>
17571
17572         * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
17573
17574 2008-05-09  Joel Brobecker  <brobecker@adacore.com>
17575
17576         * gdb.ada/assign_1.exp: New testcase.
17577
17578 2008-05-09  Doug Evans  <dje@google.com>
17579
17580         * gdb.base/find.exp: New file.
17581         * gdb.base/find.c: New file.
17582
17583 2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
17584
17585         * gdb.base/commands.exp (watchpoint_command_test): Handle
17586         gdb,no_hardware_watchpoints.
17587         * gdb.base/float.exp: Allow ARM targets without floating point.
17588         * gdb.base/step-test.exp: Allow callee@plt when stepping in.
17589
17590 2008-05-06  Jerome Guitton  <guitton@adacore.com>
17591             Joel Brobecker  <brobecker@adacore.com>
17592
17593         * gdb.ada/lang_switch: New test program.
17594         * gdb.ada/lang_switch.exp: New testcase.
17595
17596 2008-05-05  Doug Evans  <dje@google.com>
17597
17598         * gdb.base/help.exp (disassemble): Update expected help text.
17599
17600 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
17601
17602         * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
17603
17604 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
17605
17606         * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
17607         different times.
17608
17609 2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
17610
17611         * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
17612         * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
17613         `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
17614         * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
17615
17616 2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
17617
17618         * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
17619         notification to appear.
17620
17621 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
17622
17623         * gdb.base/fullname.c: New file.
17624         * gdb.base/fullname.exp: New file.
17625         * lib/gdb.exp (gdb_breakpoint): Support no-message option.
17626
17627 2008-05-03  Pedro Alves  <pedro@codesourcery.com>
17628
17629         * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
17630         expressions with macros.
17631
17632 2008-05-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
17633
17634         * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
17635
17636 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
17637
17638         * gdb.base/completion.exp: Handle lack of other symbols beginning
17639         with "a".
17640
17641         * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
17642
17643 2008-05-02  Jim Blandy  <jimb@codesourcery.com>
17644
17645         * gdb.asm/asmsrc1.s: Add scratch space.
17646
17647 2008-05-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
17648             Daniel Jacobowitz  <dan@codesourcery.com>
17649
17650         * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
17651         gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
17652         gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
17653
17654 2007-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
17655
17656         * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
17657
17658 2008-05-01  Joel Brobecker  <brobecker@adacore.com>
17659
17660         * gdb.base/info-target.exp: New testcase.
17661
17662 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
17663
17664         * gdb.cp/hang.exp: Use .cc instead of .C.
17665         * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
17666         * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
17667
17668 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
17669
17670         * gdb.base/gdb1250.exp: Remove perror.
17671         * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
17672
17673 2008-04-30  Pedro Alves  <pedro@codesourcery.com>
17674
17675         * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
17676         .2byte.
17677
17678 2008-04-25  Daniel Jacobowitz  <dan@codesourcery.com>
17679
17680         * gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
17681         (maybe_kfail): New.
17682
17683 2008-04-25  Pedro Alves  <pedro@codesourcery.com>
17684
17685         * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
17686
17687 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
17688
17689         * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
17690         * gdb.mi/mi2-syn-frame.exp: Likewise.
17691         * lib/mi-support.exp: Likewise.
17692
17693 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
17694
17695         * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
17696         to specify regexp for the location to stop at.
17697         * gdb.base/break-always.c: New.
17698         * gdb.base/break-always.exp: New.
17699
17700 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
17701
17702         * lib/mi-support.exp (mi_runto_helper): Adjust
17703         for the original-location field.
17704         (mi_create_breakpoint, mi_list_breakpoints): New.
17705         * gdb.mi/mi-break.exp: Adjust.
17706         * gdb.mi/mi2-break.exp: Adjust.
17707         * gdb.mi/mi-pending.exp: Adjust.
17708         * gdb.mi/mi-simplerun.exp: Adjust.
17709         * gdb.mi/mi2-simplerun.exp: Adjust.
17710         * gdb.mi/mi-syn-frame.exp: Adjust.
17711         * gdb.mi/mi2-syn-frame.exp: Adjust.
17712         * gdb.mi/mi-until.exp: Adjust.
17713         * gdb.mi/mi2-until.exp: Adjust.
17714         * gdb.mi/mi-var-display.exp: Adjust.
17715         * gdb.mi/mi2-var-display.exp: Adjust.
17716         * gdb.mi/mi-watch.exp: Adjust.
17717         * gdb.mi/mi2-watch.exp: Adjust.
17718
17719 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
17720
17721         * aclocal.m4: Add override.m4.
17722         * configure: Regenerate.
17723
17724 2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
17725
17726         * gdb.mi/var-cmd.c (do_at_tests): Verify that
17727         '-var-update --all-values' reports new value even the type
17728         of a variable object has changed.
17729
17730 2008-04-18  Craig Silverstein  <csilvers@google.com>
17731
17732         * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
17733         files.
17734
17735 2008-04-18  Joel Brobecker  <brobecker@adacore.com>
17736
17737         * gdb.ada/atomic_enum: New test program.
17738         * gdb.ada/atomic_enum.exp: New testcase.
17739
17740 2008-04-17  Doug Evans  <dje@google.com>
17741
17742         * gdb.opt/Makefile.in: Fix whitespace.
17743
17744 2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
17745
17746         * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
17747
17748 2008-04-17  Doug Evans  <dje@google.com>
17749
17750         * gdb.base/hashline1.exp: New testcase.
17751         * gdb.base/hashline2.exp: New testcase.
17752         * gdb.base/hashline2.exp: New testcase.
17753
17754 2008-04-17  Pedro Alves  <pedro@codesourcery.com>
17755
17756         * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
17757
17758 2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
17759
17760         * gdb.base/attach.exp (do_attach_tests): Matching pattern for
17761         temporary breakpoint to match "Temporary breakpoint".
17762         * gdb.base/break.exp (delete_breakpoints): Likewise.
17763         * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
17764         * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
17765         * gdb.base/display.exp: Likewise.
17766         * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
17767         * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
17768         * gdb.base/restore.exp (restore_tests): Likewise.
17769         * gdb.base/sepdebug.exp: Likewise.
17770         * gdb.base/watchpoint.exp: Likewise.
17771         * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
17772         * gdb.mi/mi-pending.exp: Likewise.
17773         * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
17774         * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
17775         * gdb.mi/mi-var-cmd.exp: Likewise.
17776         * gdb.mi/mi-var-display.exp: Likewise.
17777         * gdb.mi/mi2-cli.exp: Likewise.
17778         * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
17779         * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
17780         * gdb.mi/mi2-var-display.exp: Likewise.
17781         * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
17782         * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
17783         new "disp" field.
17784         (mi_expect_stop): Move after_reason argument to be really after
17785         reason. This is to support fix for PR2424.
17786
17787 2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
17788
17789         * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
17790
17791 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
17792
17793         * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
17794         field.  Add more floating varobj tests.
17795         * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
17796         field.
17797         * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
17798         (main): Call do_at_tests.
17799         * lib/mi-support.exp (mi_create_floating_varobj)
17800         (mi_varobj_update_with_type_change): New.
17801
17802 2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
17803
17804         * gdb.mi/mi2-var-display.exp: Added tests for the new -f
17805         option of -var-evaluate-expression.
17806         * gdb.mi/mi2-var-display.exp: Likewise.
17807
17808 2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
17809
17810         Introduce test setup helpers.
17811         * lib/gdb.exp (build_executable, clean_restart)
17812         (prepare_for_testing): New.
17813         * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
17814         * gdb.base/return.exp: Likewise.
17815         * gdb.base/ending-run.exp: Likewise.
17816
17817 2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
17818
17819         * gdb.mi/mi-async.exp: New test for asynchronous Machine
17820         Interface (MI) responses.
17821
17822 2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
17823
17824         * gdb.cp/breakpoint.cc: New code to test conditions involving
17825         member variables.
17826         * gdb.cp/breakpoint.exp: Test condition involving member
17827         variables.
17828
17829 2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
17830
17831         * lib/mi-support.exp (mi_expect_stop): New.
17832         (mi_run_cmd): Change the
17833         token.  Use mi_send_resuming_command, use
17834         mi_expect_stop.
17835         (mi_execute_to_helper): Rename to mi_execute_to.
17836         (mi_send_resuming_command): Add more error patterns.
17837         (mi_wait_for_stop): Renamed to...
17838         (mi_get_stop_line): ...this.
17839         (mi_run_inline_test): Adjust.
17840
17841         * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
17842         * gdb.mi/mi-console.exp: Likewise.
17843         * gdb.mi/mi-pending.exp: Likewise.
17844         * gdb.mi/mi-simplerun.exp: Likewise.
17845         * gdb.mi/mi-stack.exp: Likewise.
17846         * gdb.mi/mi-stepi.exp: Likewise.
17847         * gdb.mi/mi-syn-frame.exp: Add comment.
17848         * gdb.mi/mi-until.exp: Likewise.
17849         * gdb.mi/mi-var-display.exp: Likewise.
17850         * gdb.mi/mi-watch.exp: Likewise.
17851         * gdb.mi/mi2-cli.exp: Likewise.
17852         * gdb.mi/mi2-console.exp: Likewise.
17853         * gdb.mi/mi2-simplerun.exp: Likewise.
17854         * gdb.mi/mi2-stack.exp: Likewise.
17855         * gdb.mi/mi2-stepi.exp: Likewise.
17856         * gdb.mi/mi2-until.exp: Likewise.
17857         * gdb.mi/mi2-var-display.exp: Likewise.
17858         * gdb.mi/mi2-watch.exp: Likewise.
17859
17860 2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17861
17862         * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
17863
17864         * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
17865
17866 2008-04-04  Pedro Alves  <pedro@codesourcery.com>
17867
17868         * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
17869         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
17870         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
17871         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
17872         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
17873         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
17874         expect an mi error duplicated in stderr.
17875
17876 2008-04-03  Joel Brobecker  <brobecker@adacore.com>
17877
17878         * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
17879         * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
17880         Add a couple of tests that verify the behavior when the new setting
17881         is set to "cancel" and "all".
17882         * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
17883         "ask" before we start the testing.
17884
17885 2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
17886
17887         * gdb.cp/casts.cc: Add class reference variables.
17888         * gdb.cp/casts.exp: New test cases for up/down casting references.
17889
17890 2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
17891
17892         * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
17893         instead of beginning to make an extra test pass.
17894         * gdb.mi/mi2-var-display.exp: Likewise.
17895
17896 2008-03-31  Maciej W. Rozycki  <macro@mips.com>
17897
17898         * gdb.base/break.exp: Mark failures as such.  Fix formatting.
17899
17900 2008-03-31  Markus Deuling  <deuling@de.ibm.com>
17901             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17902
17903         * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
17904         value.  Add xfail for older kernels.
17905
17906 2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
17907
17908         Bring mi-support in line with gdb.exp.
17909         * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
17910         (mi_gdb_start): New function.
17911
17912 2008-03-28  Maciej W. Rozycki  <macro@mips.com>
17913
17914         * gdb.mi/mi-var-cmd.exp: Fix a typo.
17915
17916 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
17917
17918         * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
17919         * gdb.mi/mi2-var-display.exp: Likewise.
17920
17921 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
17922
17923         * lib/mi-support.exp (mi_create_varobj_checked): New.
17924         (mi_list_varobj_children): Allow to check for a
17925         value.
17926         (mi_list_array_varobj_children): New.
17927
17928         * gdb.mi/mi-var-child.exp: Use mi_create_varobj
17929         and mi_list_varobj_children, as opposed to hardcoding
17930         expected strings.
17931         * gdb.mi/gdb701.exp: Likewise.
17932         * gdb.mi/gdb792.exp: Likewise.
17933         * gdb.mi/mi-var-block.exp: Likewise.
17934         * gdb.mi/mi-var-cmd.exp: Likewise.
17935         * gdb.mi/mi-var-invalidate.exp: Likewise.
17936         * gdb.mi/mi2-var-block.exp: Likewise.
17937         * gdb.mi/mi2-var-child.exp: Likewise.
17938         * gdb.mi/mi2-var-cmd.exp: Likewise.
17939         * gdb.mi/mi2-var-display.exp: Likewise.
17940
17941 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
17942
17943         Fix random false FAILs on i386.
17944         * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
17945
17946 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
17947
17948         PR gdb/544
17949         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
17950
17951 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
17952
17953         PR gdb/544
17954         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
17955
17956 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
17957
17958         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
17959         fixed PR gdb/544.
17960
17961 2008-03-21  Pedro Alves  <pedro@codesourcery.com>
17962
17963         * gdb.threads/fork-child-threads.exp: Test next over fork.
17964
17965 2008-03-21  Chris Demetriou  <cgd@google.com>
17966
17967         * gdb.base/break.exp (rbreak junk): New test for rbreak
17968         "Junk at end of arguments" issue.
17969
17970 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
17971
17972         * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
17973         *& to work on created array elements.
17974         (Top level): Test print $pc with a file.  Test string operations
17975         without a target.
17976         * gdb.base/ptype.exp: Do not expect *& to work on created array
17977         elements.
17978
17979 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
17980
17981         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
17982         gdb.threads/staticthreads.exp: Update exit query.
17983
17984 2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
17985
17986         * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
17987
17988 2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
17989
17990         * gdb.base/watchpoint.c (global_ptr, func4): New.
17991         (main): Call func4.
17992         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
17993         (test_inaccessible_watchpoint): New.
17994
17995 2008-02-29  Maciej W. Rozycki  <macro@mips.com>
17996
17997         * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
17998         select the largest.
17999
18000 2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
18001
18002         * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
18003         frames-invalid annotations.
18004
18005 2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
18006
18007         * gdb.base/assign.exp: avoid same output for different tests.
18008
18009 2008-02-27  Doug Evans  <dje@google.com>
18010
18011         * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
18012         for bug 1738.
18013         (breakpoint_to_handler_entry): Ditto.
18014
18015 2008-02-27  Joel Brobecker  <brobecker@adacore.com>
18016
18017         * gdb.base/ending-run.exp: Use the first line of code inside
18018         function body to test breakpoints.
18019         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
18020         location where the breakpoint is inserted when using the line
18021         where a function is declared. Fix typo in the description of
18022         one of the tests.
18023         * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
18024
18025 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
18026
18027         * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
18028         tests.
18029
18030 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
18031
18032         * gdb.base/args.exp: avoid same output for tests
18033         with single quotes.
18034
18035 2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
18036
18037         * gdb.base/annota1.exp: Adjust for 'info break'
18038         format changes.
18039         * gdb.base/annota3.exp: Likewise.
18040         * gdb.base/break.exp: Likewise.
18041         * gdb.base/condbreak.exp: Likewise.
18042         * gdb.base/pending.exp: Likewise.
18043         * gdb.base/sepdebug.exp: Likewise.
18044         * gdb.base/unload.exp: Likewise.
18045         * gdb.cp/ovldbreak.exp: Likewise.
18046         * gdb.mi/mi-pending.exp: Likewise.
18047
18048 2008-02-07  Doug Evans  <dje@google.com>
18049
18050         * gdb.cp/mb-inline.exp: New.
18051         * gdb.cp/mb-inline.h: New.
18052         * gdb.cp/mb-inline1.cc: New.
18053         * gdb.cp/mb-inline2.cc: New.
18054
18055 2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
18056
18057         * gdb.pascal/floats.pas: New test program.
18058         * gdb.pascal/floats.exp: New testcase.
18059
18060 2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
18061
18062         * gdb.base/callfuncs.c (t_float_many_args): New function.
18063         (t_double_many_args): New function.
18064         * gdb.base/callfuncs.exp: Add tests for exceeding float
18065         and double parameters passed through the stack.
18066
18067 2008-02-05  Joel Brobecker  <brobecker@adacore.com>
18068
18069         * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
18070         gdb.ada/complete/foo.adb: New files.
18071         * gdb.ada/complete.exp: New testcase.
18072
18073 2008-02-03  Doug Evans  <dje@google.com>
18074
18075         * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
18076
18077         * gdb.cp/gdb2384.exp: New file.
18078         * gdb.cp/gdb2384.cc: New file.
18079         * gdb.cp/gdb2384-base.h: New file.
18080         * gdb.cp/gdb2384-base.cc: New file.
18081
18082 2008-02-02  Doug Evans  <dje@google.com>
18083
18084         * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
18085
18086 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
18087
18088         * gdb.ada/sym_print_name: New test program.
18089         * gdb.ada/sym_print_name.exp: New testcase.
18090
18091 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
18092
18093         * gdb.ada/nested/hello.adb: New file.
18094         * gdb.ada/nested.exp: New testcase.
18095         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
18096
18097 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
18098
18099         * gdb.mi/basic.c (return_1): New function.
18100         * gdb.mi/mi-break.exp: Make sure that failed -break-insert
18101         don't cause future evaluations of function to report
18102         creation of internal breakpoints.
18103
18104 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
18105
18106         * gdb.mi/mi-break.exp (test_error): New.
18107         Call it.
18108
18109 2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
18110
18111         * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
18112         * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
18113
18114 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
18115
18116         * gdb.pascal/integers.pas: New test program.
18117         * gdb.pascal/integers.exp: New testcase.
18118
18119 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
18120
18121         * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
18122
18123 2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
18124
18125         * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
18126         * gdb.arch/powerpc-d128-regs.c: New testcase source file.
18127
18128 2008-01-30  Paul Hilfinger  <hilfinger@adacore.com>
18129
18130         * gdb.ada/formatted_ref: New test program.
18131         * gdb.ada/formatted_ref.exp: New testcase.
18132
18133         * gdb.cp/formatted-ref.cc: New file.
18134         * gdb.cp/formatted-ref.exp: New testcase.
18135
18136 2008-01-30  Joel Brobecker  <brobecker@adacore.com>
18137
18138         * gdb.base/ptype.exp: Add testing of "ptype $pc".
18139
18140 2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
18141
18142         * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
18143         (test_file_list_exec_source_file): Update to new macro-info field.
18144
18145 2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
18146
18147         * gdb.ada/exprs: New test program.
18148         * gdb.ada/exprs.exp: New testcase.
18149
18150 2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
18151
18152         * dfp-test.c (DELTA, DELTA_B): New definitions.
18153         (double_val1, double_val2, double_val3, double_val4, double_val5,
18154         double_val6, double_val7, double_val8, double_val9, double_val10,
18155         double_val11, double_val12, double_val13, double_val14, dec32_val1,
18156         dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
18157         dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
18158         dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
18159         dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
18160         dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
18161         dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
18162         dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
18163         dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
18164         dec128_val12, dec128_val13, dec128_val14, dec128_val15,
18165         dec128_val16): New global variables.
18166         (decimal_dec128_align): New function.
18167         (decimal_mixed): Likewise.
18168         (decimal_many_args_dec32): Likewise.
18169         (decimal_many_args_dec64): Likewise.
18170         (decimal_many_args_dec128): Likewise.
18171         (decimal_many_args_mixed): Likewise.
18172         * dfp-test.exp: Add tests calling new inferior functions.
18173
18174 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
18175
18176         * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
18177         gdb.server/ext-run.exp: New files.
18178         * lib/gdbserver-support.exp (gdbserver_download): New.
18179         (gdbserver_start): New.  Update gdbserver expected
18180         output.
18181         (gdbserver_spawn): Use them.
18182         (gdbserver_start_extended): New.
18183
18184 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
18185
18186         * gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
18187         Run on GNU/Linux.
18188         (do_exec_tests): Check for systems which do not support catchpoints.
18189         Do not match START.
18190         * gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
18191         Run on GNU/Linux.  Enable verbose output.
18192         (check_fork_catchpoints): New.
18193         (explicit_fork_child_follow, catch_fork_child_follow)
18194         (tcatch_fork_parent_follow): Update expected messages.
18195         (do_fork_tests): Use check_fork_catchpoints.
18196         * gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
18197         Run on GNU/Linux.  Enable verbose output.
18198         (check_vfork_catchpoints): New.
18199         (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
18200         expected messages.
18201         (do_vfork_and_exec_tests): Use check_fork_catchpoints.
18202
18203 2008-01-29  Jim Blandy  <jimb@red-bean.com>
18204
18205         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
18206         host' errors.
18207         * lib/mi-support.exp (mi_gdb_target_cmd): Same.
18208
18209 2008-01-29  Jim Blandy  <jimb@red-bean.com>
18210
18211         * gdb.threads/sigthread.c: Use barriers to ensure that
18212         child_thread and child_thread_two are always initialized before we
18213         start to use them.
18214
18215 2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
18216
18217         * gdb.base/watchpoint-solib.exp: New.
18218         * gdb.base/watchpoint-solib.c: New.
18219         * gdb.base/watchpoint-solib-shr.c: New.
18220
18221 2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
18222
18223         * gdb.base/gdb1056.exp: Add unsigned integer test.
18224
18225 2008-01-28  Doug Evans  <dje@google.com>
18226
18227         * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
18228
18229 2008-01-27  Jim Blandy  <jimb@codesourcery.com>
18230
18231         * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
18232
18233         * gdb.base/expand-psymtabs.exp: Doc fix.
18234
18235 2008-01-26  Mark Kettenis  <kettenis@gnu.org>
18236
18237         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
18238
18239 2008-01-24  Nick Roberts  <nickrob@snap.net.nz>
18240
18241         * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
18242         -var-set-format.
18243
18244 2008-01-23  Chris Demetriou  <cgd@google.com>
18245
18246         * gdb.threads/thread_events.c: New testcase source file.
18247         * gdb.threads/thread_events.exp: New testcase expect file.
18248
18249 2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
18250
18251         * lib/gdb.exp: Add the variable octal.
18252
18253         * gdb.mi/mi-var-display.exp: Add value field to tests for output of
18254         -var-set-format.
18255
18256 2008-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
18257             Vladimir Prus  <vladimir@codesourcery.com>
18258
18259         * gdb.base/float.exp: Allow missing floating point for m68k and
18260         PowerPC.
18261
18262 2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
18263
18264         * gdb.mi/basics.c: Setup for testing breakpoints
18265         ignore count.
18266         * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
18267         * gdb.mi/mi-cli.exp: Adjust.
18268         * gdb.mi/mi2-cli.exp: Adjust.
18269
18270 2008-01-17  Pedro Alves  <pedro@codesourcery.com>
18271
18272         * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
18273         and 'dummy_ptr' integer pointer.  Initialize struct_declarations
18274         with dummy_ptr's address.
18275         * gdb.mi/var-cmd.c (do_children_tests): Likewise.
18276         * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
18277         all targets.
18278         * gdb.mi/mi2-var-child.exp: Likewise.
18279
18280 2008-01-09  Joel Brobecker  <brobecker@adacore.com>
18281
18282         * gdb.ada/null_array: New test program.
18283         * gdb.ada/null_array.exp: New testcase.
18284
18285 2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
18286
18287         * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
18288         with required float modifiers.
18289
18290 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
18291
18292         * gdb.ada/funcall_param: New test program.
18293         * gdb.ada/funcall_param.exp: New testcase.
18294
18295 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
18296
18297         * gdb.ada/arrayparam: New test program.
18298         * gdb.ada/arrayparam.exp: New testcase.
18299
18300 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
18301
18302         * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
18303         landed.  Should also fix random failures in the test following it.
18304
18305 2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
18306
18307         * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
18308         for expressions with decimal float values.
18309         (test_dfp_conversions): New function to test casts to and from
18310         decimal float types.
18311         Call test_dfp_conversions.
18312         * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
18313         elements.
18314         (main): Initialize ds.float4 and ds.double8 elements.
18315         * gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
18316         string to new error message.
18317         (d64_set_tests): Likewise.
18318         (d128_set_tests): Likewise.
18319         Add tests for expressions with decimal float variables.  Add tests for
18320         conversions to and from decimal float types.
18321
18322 2008-01-05  Joel Brobecker  <brobecker@adacore.com>
18323
18324         * gdb.ada/packed_tagged/comp_bug.adb: New file.
18325         * gdb.ada/packed_tagged.exp: New testcase.
18326
18327 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
18328
18329         * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
18330         gdb.ada/homonym/homonym_main.adb: New files.
18331         * gdb.ada/homonym.exp: New testcase.
18332
18333 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
18334
18335         * gdb.ada/packed_array.exp: Add testing of references to
18336         a packed array.
18337
18338 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
18339
18340         * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
18341         New files.
18342         * gdb.ada/type_coercion.exp: New testcase.
18343
18344 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
18345
18346         * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
18347         gdb.ada/tagged/foo.adb: New file.
18348         * gdb.ada/tagged.exp: New testcase.
18349
18350 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
18351
18352         * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
18353         gdb.ada/ptype_field/foo.adb: New files.
18354         * gdb.ada/ptype_field.exp: New testcase.
18355
18356 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
18357
18358         * gdb.ada/print_pc.exp: New testcase.
18359
18360 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
18361
18362         * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
18363         gdb.ada/taft_type/p.adb: New files.
18364         * gdb.ada/taft_type.exp: New testcase.
18365
18366 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
18367
18368         * gdb.ada/array_bounds/bar.adb: New file.
18369         * gdb.ada/array_bounds.exp: New testcase.
18370
18371 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
18372
18373         * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
18374         gdb.ada/arrayptr/foo.adb: New files.
18375         * gdb.ada/arrayptr.exp: New testcase.
18376
18377 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
18378
18379         * gdb.base/set-lang-auto.exp: New testcase.
18380
18381 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
18382
18383         * gdb.ada/fun_addr/foo.adb: New file.
18384         * gdb.ada/fun_addr.exp: New testcase.
18385
18386 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
18387
18388         * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
18389         New files
18390
18391 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
18392
18393         * array_subscript_addr/p.adb: New file.
18394         * array_subscript_addr.exp: New testcase.
18395
18396 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
18397
18398         * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
18399         New files.
18400         * gdb.ada/str_cmp_ref.exp: New testcase.
18401
18402 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
18403
18404         * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
18405         gdb.ada/fun_in_declare/foo.adb: New files.
18406         * gdb.ada/fun_in_declare.exp: New testcase.
18407
18408 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
18409
18410         * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
18411         gdb.ada/ref_param/pck.ads: New files.
18412         * gdb.ada/ref_param.exp: New testcase.
18413
18414 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
18415
18416         * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
18417         gdb.ada/interface/foo.adb: New files.
18418         * gdb.ada/interface.exp: New testcase.
18419
18420 2007-12-31  Jim Blandy  <jimb@codesourcery.com>
18421
18422         * gdb.base/multi-forks.exp: Consume all output from child
18423         processes before proceeding to next test.
18424
18425 2007-12-29  Jim Blandy  <jimb@codesourcery.com>
18426
18427         * configure: Regenerated.
18428
18429 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
18430
18431         * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
18432         gdb.ada/fixed_cmp/fixed.adb: New files.
18433         * gdb.ada/fixed_cmp.exp: New testcase.
18434
18435 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
18436
18437         * gdb.ada/boolean_expr.exp: New testcase.
18438
18439 2007-12-26  Jim Blandy  <jimb@codesourcery.com>
18440
18441         * gdb.base/multi-forks.exp: Doc fix.
18442
18443 2007-12-26  Joel Brobecker  <brobecker@adacore.com>
18444
18445         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
18446         * gdb.ada/char_param.exp: Do not compile our test program with
18447         -gnata, this is unnecessary.
18448         * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
18449
18450 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
18451
18452         * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
18453         gdb.ada/print_chars/foo.adb: New files.
18454         * gdb.ada/print_chars.exp: New testcase.
18455
18456 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
18457
18458         * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
18459         gdb.ada/char_param/foo.adb: New files.
18460         * gdb.ada/char_param.exp: New testcase.
18461
18462 2007-12-22  Jim Blandy  <jimb@codesourcery.com>
18463
18464         * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
18465         hard-coding source line numbers into the test.
18466         * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
18467         gdb_get_line_number to find.
18468
18469 2007-12-22  Joel Brobecker  <brobecker@adacore.com>
18470
18471         * gdb.base/ptype.c (highest): New struct type.
18472         (the_highest): New variable of that type.
18473         (main): Add dummy assignment to a field of variable the_highest.
18474         * gdb.base/ptype.exp: Test type printing of our new variable.
18475
18476 2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>
18477
18478         * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
18479         and record first explicitly generated thread number.
18480         Use that thread number for thread specific watchpoint test.
18481         Add iteration number to repetitive tests.
18482
18483 2007-12-16  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18484             Jim Blandy  <jimb@codesourcery.com>
18485
18486         * gdb.base/expand-psymtabs.c: New testcase
18487         source file.
18488         * gdb.base/expand-psymtabs.exp: New testcase
18489         expect file.
18490
18491 2007-12-17  Luis Machado  <luisgpm@br.ibm.com>
18492
18493         * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
18494         * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
18495
18496 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
18497
18498         * gdb.ada/frame_args/foo.adb: New file.
18499         * gdb.ada/frame_args/pck.ads: New file.
18500         * gdb.ada/frame_args/pck.adb: New file.
18501         * gdb.ada/frame_args.exp: New testcase.
18502
18503 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
18504
18505         * gdb.base/frame-args.c: New file.
18506         * gdb.base/frame-args.exp: New testcase.
18507
18508 2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
18509             Joseph Myers  <joseph@codesourcery.com>
18510
18511         * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
18512
18513 2007-12-14  Vladimir Prus  <vladimir@codesourcery.com>
18514
18515         * gdb.mi/mi-pending.exp: New.
18516         * gdb.mi/mi-pending.c: New.
18517         * gdb.mi/mi-pendshr.c: New.
18518
18519 2007-12-06  Jim Blandy  <jimb@codesourcery.com>
18520
18521         * gdb.base/default.exp: Update expected output for 'info catch'.
18522
18523 2007-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
18524
18525         * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
18526         must be set to binary.
18527
18528 2007-12-09  Pedro Alves  <pedro_alves@portugalmail.pt>
18529
18530         * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
18531
18532 2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
18533
18534         * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
18535         gdb.mi/mi-file-transfer.exp: New.
18536
18537 2007-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
18538
18539         * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
18540
18541 2007-11-22  Maciej W. Rozycki  <macro@mips.com>
18542
18543         * gdb.trace/backtrace.exp: Fix a typo.
18544         * gdb.trace/circ.exp: Likewise.
18545         * gdb.trace/collection.exp: Likewise.
18546         * gdb.trace/limits.exp: Likewise.
18547         * gdb.trace/report.exp: Likewise.
18548         * gdb.trace/tfind.exp: Likewise.
18549         * gdb.trace/while-dyn.exp: Likewise.
18550
18551 2007-11-21  Nick Roberts  <nickrob@snap.net.nz>
18552
18553         * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
18554         objects of pointers that can't be dereferenced are now
18555         "noneditable".
18556
18557 2007-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18558
18559         * Makefile.in (Makefile): Do not depend on target_makefile_frag.
18560         (target_cpu): Remove.
18561
18562 2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
18563
18564         * gdb.base/ending-run.exp: Expect the list of cleared
18565         breakpoint to come in natural order, not the reversed one.
18566
18567 2007-11-07  Vladimir Prus  <vladimir@codesourcery.com>
18568
18569         * gdb.mi/mi-var-child.c (do_child_deletion): New.
18570         * gdb.mi/mi-var-child.exp: Run child_deletion tests.
18571
18572 2007-11-05  Luis Machado  <luisgpm@br.ibm.com>
18573
18574         * gdb.base/printcmds.exp: New function
18575         test_printf_with_dfp.
18576
18577 2007-11-02  Doug Evans  <dje@google.com>
18578
18579         * gdb.disasm/t01_mov.s: Remove carriage returns.
18580         * gdb.disasm/t02_mova.s: Ditto.
18581         * gdb.disasm/t03_add.s: Ditto.
18582         * gdb.disasm/t04_sub.s: Ditto.
18583         * gdb.disasm/t05_cmp.s: Ditto.
18584         * gdb.disasm/t06_ari2.s: Ditto.
18585         * gdb.disasm/t07_ari3.s: Ditto.
18586         * gdb.disasm/t08_or.s: Ditto.
18587         * gdb.disasm/t09_xor.s: Ditto.
18588         * gdb.disasm/t10_and.s: Ditto.
18589         * gdb.disasm/t11_logs.s: Ditto.
18590         * gdb.disasm/t12_bit.s: Ditto.
18591         * gdb.disasm/t13_otr.s: Ditto.
18592
18593 2007-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
18594
18595         * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
18596
18597 2007-10-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18598
18599         * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
18600         provide DFP support.
18601
18602 2007-10-30  Daniel Jacobowitz  <dan@codesourcery.com>
18603
18604         * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
18605         Test "set powerpc vector-abi".  Skip auto-detection tests for old
18606         toolchains.
18607
18608 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
18609
18610         * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
18611         with [string compare].
18612
18613 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
18614
18615         * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
18616         * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
18617
18618 2007-10-25  Luis Machado  <luisgpm@br.ibm.com>
18619
18620         * gdb.opt/clobbered-registers-O2.c: New testcase source file.
18621         * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
18622         * gdb.opt/Makefile.in: New makefile.
18623         * Makefile.in: Create new directory "gdb.opt".
18624         * configure.ac: Add "gdb.opt" directory.
18625         * configure: Regenerated.
18626
18627 2007-10-25  Doug Evans  <dje@google.com>
18628
18629         * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
18630         * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
18631
18632 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
18633             Thiago Jung Bauermann  <bauerman@br.ibm.com>
18634
18635         * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
18636         Floating Point expressions.
18637         * gdb.base/dfp-test.exp: new file adding tests for Decimal
18638         Floating Point variables.
18639         * gdb.base/dfp-test.c: new file containing program with Decimal
18640         Floating variables, used by gdb.base/dfp-test.exp.
18641
18642 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
18643
18644         * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
18645
18646 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18647
18648         * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
18649         compiling test case with GCC.
18650         * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
18651
18652 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18653
18654         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18655         format changes.
18656
18657 2007-10-18  Michael Snyder  <msnyder@specifix.com>
18658
18659         * gdb.base/dbx.exp: Add missing "-re " operator.
18660
18661 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
18662
18663         * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
18664         * configure.ac: Removed trailing spaces after backslash.
18665         * gdb.modula2: New directory.
18666         * gdb.modula2/Makefile.in: New file.
18667         * gdb.modula2/unbounded-array.exp: New file.
18668         * gdb.modula2/unbounded1.c: New file.
18669
18670 2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
18671
18672         * gdb.xml/tdesc-regs.exp: Add PowerPC support.
18673
18674 2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
18675
18676         * gdb.base/sigstep.c (main): Add checks for
18677         return values for setitimer call.
18678         Call setitimer again with itimer = ITIMER_REAL
18679         if first call to setitimer fails.
18680
18681 2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
18682
18683         * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
18684         of $timeout.
18685
18686 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
18687
18688         * gdb.server/server-run.exp: Test for dynamic linker symbols.
18689
18690 2007-10-09  Pierre Muller  <muller@ics.u-strasbg.fr>
18691
18692         * lib/gdb.exp (gdb_run_cmd): Move comment outside
18693         of gdb_expect call, to avoid interruption.
18694
18695 2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>
18696
18697         * gdb.base/whatis.c (v_long_long, v_signed_long_long)
18698         (v_unsigned_long_long, v_long_long_array)
18699         (v_signed_long_long_array, v_unsigned_long_long_array)
18700         (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
18701         (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
18702         [!NO_LONG_LONG]: New.
18703         (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
18704         v_long_long_member.
18705
18706         (v_long_long_func, v_signed_long_long_func)
18707         (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
18708         (main) [!NO_LONG_LONG]: Initialize long long variants.
18709
18710         * gdb.base/whatis.exp: If board file requests no_long_long, build
18711         test with NO_LONG_LONG defined.  Test long long, signed long long,
18712         and unsigned long long variants but only if board file doesn't
18713         disable it.
18714
18715 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
18716             Daniel Jacobowitz  <dan@codesourcery.com>
18717
18718         * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
18719         * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
18720         * configure: Regenerated.
18721         * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
18722         gdb.pascal/types.exp, lib/pascal.exp: New files.
18723
18724 2007-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
18725
18726         * gdb.cp/classes.exp (do_tests): Always step to the line after the
18727         call.
18728         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
18729         to return to the call.
18730         * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
18731         * gdb.mi/mi-return.exp (test_return_simple): Likewise.
18732         * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
18733         * gdb.mi/mi-until.exp (test_until): Likewise.
18734         * gdb.mi/mi2-until.exp (test_until): Likewise.
18735
18736 2007-10-01  Daniel Jacobowitz  <dan@codesourcery.com>
18737
18738         * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
18739         two-char array.
18740         * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
18741
18742 2007-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
18743
18744         * gdb.threads/watchthreads.c (thread_function): Sleep between
18745         iterations.
18746         * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
18747         at once for S/390.  Generate matching fails and passes.
18748
18749 2007-09-27  Vladimir Prus  <vladimir@codesourcery.com>
18750
18751         * gdb.mi/var-cmd.c (do_children_tests): Initialize
18752         the 'struct_declarations' variable to zeros.
18753
18754 2007-09-24  Vladimir Prus  <vladimir@codesourcery.com>
18755
18756         * gdb.cp/mb-ctor.cc: New.
18757         * gdb.cp/mb-ctor.exp: New.
18758         * gdb.cp/mb-templates.cc: New.
18759         * gdb.cp/mb-templates.exp: New.
18760
18761 2007-09-23  Daniel Jacobowitz  <dan@codesourcery.com>
18762
18763         * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
18764
18765 2007-09-23  Pedro Alves  <pedro_alves@portugalmail.pt>
18766
18767         * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
18768         targets.
18769         * configure: Regenerate.
18770
18771 2007-09-23  Vladimir Prus  <vladimir@codesourcery.com>
18772
18773         * gdb.base/annota1.exp: Adjust for 'info break'
18774         format changes.
18775         * gdb.base/annota3.exp: Likewise.
18776         * gdb.base/break.exp: Likewise.
18777         * gdb.base/condbreak.exp: Likewise.
18778         * gdb.base/pending.exp: Likewise.
18779         * gdb.base/sepdebug.exp: Likewise.
18780         * gdb.base/unload.exp: Likewise.
18781         * gdb.base/ovldbreak.exp: Likewise.
18782
18783 2007-09-22  Vladimir Prus  <vladimir@codesourcery.com>
18784
18785         * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
18786         messages.
18787         * gdb.base/chng-syms.exp: Likewise.
18788         * gdb.base/unload.exp: Likewise.
18789
18790 2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
18791
18792         * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
18793
18794 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
18795
18796         * schedlock.c (NUM): Change to 1.
18797         (main): Use args[0] for the main thread.
18798         * schedlock.exp: Only expect two threads.  Only issue one pass or fail
18799         regardless of the number of threads.
18800
18801 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
18802
18803         * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
18804         type down.
18805         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
18806         test.
18807         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
18808         watchpoint type down.
18809         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
18810         test.
18811
18812 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
18813
18814         * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
18815         Move all the tests here and run them twice, once using software
18816         watchpoints and once using hardware watchpoints.
18817         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
18818
18819 2007-09-12  Daniel Jacobowitz  <dan@codesourcery.com>
18820
18821         * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
18822         test.
18823
18824 2007-09-10  Mark Kettenis  <kettenis@gnu.org>
18825
18826         * lib/gdb.exp (build_id_debug_filename_get): Improve check for
18827         build-id.
18828
18829         * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
18830         know about $ORIGIN.  Calculate output dir from $dest instead of
18831         using ${objdir}/{$subdir}.
18832
18833 2007-09-09  Mark Kettenis  <kettenis@gnu.org>
18834
18835         * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
18836         gcore, before continuing with the test.
18837
18838 2007-09-06  Daniel Jacobowitz  <dan@codesourcery.com>
18839
18840         * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
18841         * gdb.mi/mi-watch.exp: Likewise.
18842
18843 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
18844             Jim Blandy  <jimb@codesourcery.com>
18845
18846         * gdb.arch/i386-sse.exp: Do not expect character constants.
18847         * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
18848         * gdb.base/display.exp: Allow print/s.
18849         * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
18850         and unsigned char array changes.
18851
18852 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
18853
18854         * gdb.base/display.exp: Add tests for printf %p.
18855
18856 2007-09-03  Pedro Alves  <pedro_alves@portugalmail.pt>
18857
18858         * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
18859         the dll name to unicode.
18860
18861 2007-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
18862
18863         * gdb.base/default.exp (show version): Update the version text.
18864         * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
18865
18866 2007-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
18867
18868         * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
18869         New files.
18870
18871 2007-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
18872
18873         * lib/gdb.exp (build_id_debug_filename_get): New function.
18874         * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
18875         Remove the generate DEBUG file for the future testcase runs.
18876         New testcase for the NT_GNU_BUILD_ID retrieval.
18877         Move the final testing step to ...
18878         (test_different_dir): ... a new function.
18879         New parameter XFAIL to XFAIL all the tests performed.
18880         New parameter TEST_DIFFERENT_DIR parametrizing the directory.
18881         New parameter TYPE to PF_PREFIX all the tests performed.
18882
18883 2007-08-31  Vladimir Prus  <vladimir@codesourcery.com>
18884
18885         * gdb.mi/mi-var-cp.cc (path_expression): New
18886         function.
18887         * gdb.mi/mi-var-cp.exp: Run path exression tests.
18888
18889 2007-08-27  Markus Deuling  <deuling@de.ibm.com>
18890
18891         * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
18892         to fit into SPU Local Store memory.
18893
18894 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
18895
18896         * gdb.base/default.exp: Adjust the expected output of "info
18897         warranty" after the switch to GPLv3.
18898
18899 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
18900
18901         * lib/gdb.exp (default_gdb_init): Increase expect buffer size
18902         to 30000 (from 20000).
18903
18904 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
18905
18906         Switch the license of all .exp files to GPLv3.
18907         Switch the license of all .f and .f90 files to GPLv3.
18908         Switch the license of all .s and .S files to GPLv3.
18909
18910 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
18911
18912         * configure.ac: Switch license to GPLv3.
18913
18914 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
18915
18916         Switch the licensing to GPLv3 for all .ads and .adb files.
18917
18918 2007-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
18919
18920         * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
18921         and t_int_double.
18922         * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
18923
18924 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
18925
18926         * gdb.base/step-line.c: Switch license to GPL version 3, and
18927         update copyright year.
18928         * gdb.base/step-line.inp: Likewise.
18929
18930 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
18931
18932         * gdb.base/gdb1555.exp: Make expected output immune to formatting
18933         changes inside gdb1555.c.
18934         * gdb.base/pending.exp: Likewise.
18935
18936 2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>
18937
18938         * config/default.exp: New file.
18939
18940 2007-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
18941
18942         * gdb.base/prologue.c, gdb.base/prologue.exp: New.
18943         * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
18944
18945 2007-07-30  Maciej W. Rozycki  <macro@mips.com>
18946
18947         * gdb.base/dump.exp: Force the correct endianness for binary
18948         formats not carrying this information.
18949
18950 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
18951
18952         * gdb.threads/staticthreads.exp: Match .*sem_post.
18953
18954 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
18955
18956         * gdb.base/readline.exp (operate_and_get_next): Match the final
18957         prompt.
18958
18959 2007-07-23  Kevin Buettner  <kevinb@redhat.com>
18960
18961         * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
18962         to restarting SID.
18963
18964 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
18965
18966         * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
18967         prior to `gdb_start'.
18968
18969 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
18970
18971         * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
18972         return value to be compatible with gdb_run_cmd in lib/gdb.exp.
18973         Remove call to gdb_unload.
18974
18975 2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
18976             Daniel Jacobowitz  <dan@codesourcery.com>
18977
18978         * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
18979         for __WIN32__.
18980         (SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
18981         * gdb.base/unload.exp: Use shared library test routines.
18982
18983 2007-07-03  Markus Deuling  <deuling@de.ibm.com>
18984
18985         * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
18986         * gdb.base/solib-symbol-lib.c: Likewise.
18987         * gdb.base/solib-symbol-main.c: Likewise.
18988
18989 2007-07-02  Daniel Jacobowitz  <dan@codesourcery.com>
18990
18991         * config/gdbserver.exp (gdb_reconnect): New.
18992         * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
18993         gdb.base/solib-disc.exp: New files.
18994         * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
18995         remote debugging".
18996         (gdb_compile): Add shlib_load flag.
18997         * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
18998         port.
18999         (gdbserver_reconnect): New.
19000
19001 2007-07-01  Nick Roberts  <nickrob@snap.net.nz>
19002             Daniel Jacobowitz  <dan@codesourcery.com>
19003
19004         * gdb.base/annota3.exp: Test for if construct.
19005
19006 2007-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
19007
19008         * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
19009
19010 2007-06-21  Chris Dearman  <chris@mips.com>
19011             Maciej W. Rozycki  <macro@mips.com>
19012
19013         * gdb.base/display.exp: Allow a newline after display/i.
19014         * gdb.base/pc-fp.exp: Likewise.
19015         * gdb.base/sigbpt.exp: Likewise.
19016
19017 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
19018
19019         * gdb.xml/tdesc-regs.exp: Add MIPS support.  Allow multiple
19020         required features to be included.
19021
19022 2007-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
19023
19024         * gdb.threads/manythreads.exp: Prevent expect buffer overflow
19025         in info threads output.
19026
19027 2007-06-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19028             Markus Deuling  <deuling@de.ibm.com>
19029
19030         * gdb.arch/spu-info.exp: New testcase.
19031         * gdb.arch/spu-info.c: New file.
19032
19033 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
19034
19035         * gdb.arch/thumb-prologue.c: Record the breakpoint address in
19036         tpcs_offset.  Restore lr after the call.
19037         * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
19038
19039 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
19040
19041         * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
19042         (gdbserver_run): Kill any running gdbserver.
19043         * lib/mi-support.exp (mi_gdb_target_load): Likewise.
19044
19045 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
19046
19047         * gdb.base/sigbpt.exp: Preset segv_addr.
19048
19049 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
19050
19051         * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
19052         (gdb_compile_shlib): Likewise.
19053         (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
19054         (default_gdb_init): Clear cleanfiles.
19055         (gdb_finish): Delete recorded cleanfiles.
19056         * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
19057
19058         * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
19059         Do not use isnative.
19060         * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
19061         gdb.base/so-impl-ld.exp: Likewise.
19062         * gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
19063         * gdb.base/unload.exp: Likewise.  Do not pass empty option to
19064         gdb_compile.
19065
19066 2007-05-15  Vladimir Prus  <vladimir@codesourcery.com>
19067
19068         * config/unknown.exp: Remove.
19069
19070 2007-05-15  Markus Deuling  <deuling@de.ibm.com>
19071
19072         * gdb.base/info-proc.exp: Check is_remote.
19073
19074 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
19075
19076         * gdb.base/gcore.exp: Initialize variable core_supported.
19077
19078 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
19079
19080         * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
19081
19082 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
19083
19084         * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
19085         * gdb.threads/print-threads.exp (test_all_threads): Allow
19086         negative and hexadecimal thread IDs.
19087
19088 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
19089
19090         * gdb.java/jprint.java (public): Avoid invalid call to static
19091         method.
19092
19093 2007-05-14  Denis Pilat  <denis.pilat@st.com>
19094
19095         * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
19096         gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
19097         gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19098         gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
19099         gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
19100
19101 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19102
19103         * gdb.base/overlays.exp: Add support for targets with only code
19104         overlay support, not data overlay.  Support spu-*-* target in
19105         this mode.
19106         * gdb.base/ovlymgr.c: Provide stubs for spu target.
19107         * gdb.base/spu.ld: New file.
19108
19109 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
19110
19111         * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
19112
19113 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
19114
19115         * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
19116
19117 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
19118
19119         * gdb.java/jmain.exp: Handle demangled names with and without method
19120         signatures.
19121
19122 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
19123
19124         * gdb.mi/mi-syn-frame.c (main, foo, bar)
19125         (have_a_very_merry_interrupt): Remove calls to puts.
19126         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
19127         inferior output.
19128         * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
19129         test names.
19130
19131 2007-04-29  Markus Deuling  <deuling@de.ibm.com>
19132             Daniel Jacobowitz  <dan@codesourcery.com>
19133
19134         * gdb.base/auxv.exp (core_works): Also check is_remote.
19135         * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
19136
19137 2007-04-25  Vladimir Prus  <vladimir@codesourcery.com>
19138
19139         * gdb.base/sigaltstack.exp: Use 'srcfile' in error
19140         message, not the undefined 'module' variable.
19141         * gdb.base/siginfo.exp: Likewise.
19142         * gdb.base/sigstep.exp: Likewise.
19143         * lib/gdbserver-support.exp (gdb_target_cmd): Quote
19144         serialport.
19145         * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
19146
19147 2007-04-25  Corinna Vinschen <vinschen@redhat.com>
19148
19149         * config/sim.exp (gdb_target_sim): Just return with -1 when setting
19150         target sim fails.  Return 0 otherwise.
19151         (gdb_load): Return prematurely if gdb_target_sim fails.
19152
19153 2007-04-16  Denis Pilat  <denis.pilat@st.com>
19154
19155         * gdb.base/setshow.exp: Reset height after having set it to 100.
19156
19157 2007-04-16  Denis Pilat  <denis.pilat@st.com>
19158
19159         * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
19160
19161 2007-04-16  Denis Pilat  <denis.pilat@st.com>
19162
19163         * gdb.mi/mi2-var-display.exp: Test for the fullname field.
19164
19165 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
19166
19167         * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
19168         tests. Run the frozen varobjs test.
19169         * gdb.mi/var-cmd.c (do_frozen_tests): New.
19170         * lib/mi-support.exp (mi_varobj_update): Fix thinko.
19171
19172 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19173
19174         * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
19175         gdb.base/type-opaque.exp: New files.
19176
19177 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
19178
19179         * gdb.mi/mi-var-child.c
19180         (do_children_tests): User char[2] instead of
19181         char so that automatic printing of pointers to char
19182         don't give unpredicable result.
19183         * gdb.mi/var-cmd.c (do_locals_test): Initialize
19184         local variables.
19185         * gdb.mi/mi-var-child.exp: Step to right line
19186         of do_children_tests.
19187         * gdb.mi/mi2-var-child.exp: Likewise.
19188         * gdb.mi/mi-var-cmd.exp: Step to right line of
19189         do_locals_tests.
19190         (do_children_tests): User char[2] instead of
19191         char so that automatic printing of pointers to char
19192         don't give unpredicable result.
19193         * gdb.mi/mi2-var-cmd.exp: Likewise.
19194         * lib/mi-support.exp (mi_continue_to_line):
19195         Pass test name to mi_wait_for_stop.
19196
19197 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
19198
19199         * gdb.asm/asm-source.exp: Remove d10v case.
19200         * lib/gdb.exp (skip_cplus_tests): Likewise.
19201         * gdb.asm/d10v.inc: Deleted.
19202
19203 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
19204
19205         * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
19206
19207 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
19208
19209         * config/netware.exp: Delete file.
19210
19211 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
19212
19213         * gdb.dwarf2/dw2-noloc.S: New file.
19214         * gdb.dwarf2/dw2-noloc.exp: New file.
19215
19216 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
19217
19218         * gdb.cp/method2.cc: New test.
19219         * gdb.cp/method2.exp: New test.
19220         * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
19221
19222 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
19223
19224         * gdb.ada/exec_changed.exp: Avoid "set confirm off".
19225
19226 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
19227
19228         * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
19229
19230 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
19231
19232         * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
19233         (gdb_load): Delete, replace with...
19234         (gdb_reload): ...this.
19235         * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
19236         * gdb.server/server-mon.exp: Likewise.
19237         * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
19238         (gdb_start_cmd): New.
19239         (gdb_file_cmd): Save the last loaded file.
19240         (gdb_reload): New.
19241         (gdb_gnu_strip_debug): Use transform.
19242         * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
19243         support here.  Use new $last_loaded_file.  Check mtime.
19244         (gdb_target_cmd): Handle ObjC failure case.
19245         (infer_host_exec): Delete.
19246         (gdbserver_load): Rename to...
19247         (gdbserver_run): ...this.  Simplify.
19248         * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
19249         (mi_gdb_load): Move most contents to a new function...
19250         (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
19251         (mi_run_cmd): Use mi_gdb_target_load.
19252         * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
19253         gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
19254         Use gdb_run_cmd.
19255         * gdb.base/charsign.exp: Remove incorrect comment.
19256         * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
19257         * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
19258         gdb.base/start.exp: Use gdb_start_cmd.
19259
19260 2007-03-23  Nigel Stephens  <nigel@mips.com>
19261             Maciej W. Rozycki  <macro@mips.com>
19262
19263         * gdb.base/sigbpt.exp: Fix the message when skipping test.
19264         * gdb.base/signull.exp: Similarly.
19265
19266 2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19267
19268         * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
19269         messages available to test cases (like chng-sym.exp).
19270
19271 2007-03-14  Andreas Schwab  <schwab@suse.de>
19272
19273         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
19274         format changes.
19275
19276 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
19277
19278         * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
19279         (optimized_1): New.
19280         (main): Call optimized_1.
19281         (gdb2029): Correct typos.  Call gdb2029_marker.
19282         * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
19283         for gdb2029.
19284
19285 2007-03-12  Mark Kettenis  <kettenis@gnu.org>
19286
19287         * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
19288         as tabs.  Remove redundant test pattern.
19289
19290 2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19291
19292         * gdb.base/long_long.exp: Accept optional symbol name in <...>
19293         for /a format output.
19294
19295 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
19296
19297         * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
19298         collect output incrementally.
19299
19300 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19301
19302         * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
19303         for -var-create lpcharacter test.
19304         * gdb.mi/mi2-var-cmd.exp: Likewise.
19305
19306 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19307
19308         * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
19309         pass on targets where address zero is readable.
19310
19311 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19312
19313         * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
19314         just a single architecture.
19315
19316 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19317
19318         * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
19319         (fetch_all_registers): New function, uses gdb_test_multiple and
19320         exp_continue to fetch inferior output line-by-line.
19321         Replace all uses of do_get_all_registers by fetch_all_registers.
19322
19323 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19324
19325         * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
19326         in target_info.
19327
19328 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
19329
19330         * gdb.threads/manythreads.exp: Use $message string for
19331         consistancy; add a default (timeout) case.
19332
19333 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
19334
19335         * gdb.base/watchpoint.exp: Fix truncated comment.
19336
19337 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
19338
19339         * Makefile.in: Remove spurious single-quotes from sed command.
19340
19341 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
19342
19343         * gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
19344         func.
19345         * gdb.mi/mi2-var-cmd.exp: Likewise.
19346
19347 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
19348
19349         * gdb.dwarf2/dw2-producer.S: New file.
19350         * gdb.dwarf2/dw2-producer.exp: New testcase.
19351
19352 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
19353
19354         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
19355         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
19356         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
19357         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
19358         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
19359         Revert tests to use mi_gdb_test and include value field in output
19360         of -var-create.
19361
19362 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
19363
19364         * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
19365
19366 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
19367
19368         * gdb.base/maint.exp: Remove full paths from test names.
19369         * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
19370         gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
19371
19372 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
19373
19374         * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
19375
19376 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
19377
19378         * gdb.server/server-mon.exp: New test.
19379
19380 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
19381
19382         * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
19383
19384 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
19385
19386         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
19387         register capitalization.
19388
19389 2007-02-13  Denis Pilat  <denis.pilat@st.com>
19390
19391         * gdb.mi/mi-var-invalidate.exp: New file.
19392
19393 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
19394
19395         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
19396
19397 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
19398
19399         * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
19400
19401 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
19402
19403         * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
19404         gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
19405
19406 2007-02-08  Nick Roberts  <nickrob@snap.net.nz>
19407
19408         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
19409         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
19410         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
19411         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
19412         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
19413         * gdb.mi/gdb792.exp, lib/mi-support.exp:
19414         Update tests to include value field in output of -var-create.
19415
19416 2007-02-08  Andreas Schwab  <schwab@suse.de>
19417
19418         * gdb.mi/mi-var-child.exp: Fix matching display of function value.
19419
19420 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
19421
19422         * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
19423         gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
19424
19425 2007-02-02  Denis Pilat  <denis.pilat@st.com>
19426
19427         * gdb.threads/threadapply.exp: check that frame is not changed by
19428         the thread apply all command.
19429
19430 2007-01-31  Andreas Schwab  <schwab@suse.de>
19431
19432         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
19433
19434         * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
19435         in the dwarf sections.
19436         * gdb.dwarf2/mac-fileno.S: Likewise.
19437
19438         * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
19439         bspstore register on ia64.
19440
19441 2007-01-29  Andreas Schwab  <schwab@suse.de>
19442
19443         * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
19444         "frame-begin" annotation.
19445
19446         * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
19447         number of "frames-invalid" annotations.
19448
19449 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
19450
19451         * gdb.base/commands.exp: Call if_commands_test.
19452         (gdb_test_no_prompt, if_commands_test): New.
19453
19454 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
19455
19456         * gdb.threads/sigthread.c (NSIGS): Make bigger.
19457
19458 2007-01-27  Andreas Schwab  <schwab@suse.de>
19459
19460         * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
19461         .short/.int/.quad in the dwarf sections.
19462         * gdb.dwarf2/dw2-intercu.S: Likewise.
19463         * gdb.dwarf2/dw2-intermix.S: Likewise.
19464
19465 2007-01-25  Jan Kratochvil <jan.kratochvil@redhat.com>
19466
19467         * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
19468         * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
19469         array.
19470         * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
19471         * gdb.base/setvar.exp: Likewise.
19472
19473 2007-01-26  Andreas Schwab  <schwab@suse.de>
19474
19475         * gdb.base/corefile.exp: Allow non-empty argument list in reinit
19476         test.
19477
19478         * gdb.base/multi-forks.exp ("restart $i"): Also match
19479         __kernel_syscall_via_break.
19480
19481 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
19482
19483         * lib/mi-support.exp (mi_delete_varobj): New.
19484         * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
19485         testcase.
19486         * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
19487         (main): Call the above.
19488         (reference_update_test, base_in_reference_test)
19489         (reference_to_pointer): Delete the created varobjs.
19490
19491 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
19492
19493         * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
19494         * configure: Regenerated.
19495         * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
19496         * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
19497         gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
19498         gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
19499         * lib/gdb.exp (gdb_skip_xml_test): New function.
19500
19501 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
19502
19503         * gdb.base/sigrepeat.exp: Correct error message.
19504
19505 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
19506             Daniel Jacobowitz  <dan@codesourcery.com>
19507
19508         * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
19509         gdb.arch/i386-gnu-cfi-asm.S: New files.
19510
19511 2007-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
19512
19513         * lib/gdb.exp: Abort on missing `site.exp'.
19514
19515 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
19516             Daniel Jacobowitz  <dan@codesourcery.com>
19517
19518         * gdb.base/included.c, gdb.base/included.exp,
19519         gdb.base/included.h: New files.
19520
19521 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
19522
19523         * gdb.base/bigcore.c (RLIMIT_CAP): Define.
19524         (maximize_rlimit): Reduce limits on 64-bit systems.
19525
19526 2007-01-19  Mark Kettenis  <kettenis@gnu.org>
19527
19528         From Marcus Deuling <deuling@de.ibm.com>:
19529         * gdb.arch/altivec-regs.exp: Initialise variable endianness in
19530         every case.
19531
19532 2007-01-13  Nick Roberts  <nickrob@snap.net.nz>
19533
19534         * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
19535         (test_path_specification): Use objdir instead of srcdir to always
19536         get an absolute filename.
19537
19538 2007-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
19539
19540         * gdb.cp/member-ptr.cc (class Padding): Make contents public.
19541
19542 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
19543
19544         * gdb.mi/mi-var-cp.cc (reference_update_tests):
19545         Make sure the variable we're using is in scope.
19546         (reference_to_pointer): Likewise.
19547
19548 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
19549
19550         * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
19551         has no debug information.
19552
19553 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
19554
19555         * gdb.base/annota1.exp: Remove extra send_gdb.
19556
19557 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
19558
19559         * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
19560
19561 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
19562
19563         * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
19564
19565 2007-01-08  Nick Roberts  <nickrob@snap.net.nz>
19566             Daniel Jacobowitz  <dan@codesourcery.com>
19567
19568         * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
19569         lcharacter or linteger change.  Correct duplicated test name.
19570         * gdb.mi/mi2-var-cmd.exp: Likewise.
19571
19572 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
19573
19574         * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
19575
19576 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
19577
19578         * gdb.base/nofield.c: New file.
19579         * gdb.base/nofield.exp: New testcase.
19580
19581 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
19582
19583         * gdb.mi/mi-var-cp.exp: New test for references to pointers.
19584
19585         * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
19586          test.
19587
19588 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
19589
19590         * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
19591
19592 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
19593
19594         * lib/mi-support.exp (mi_runto_helper): Expect two prompts
19595         when continuing.
19596
19597 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
19598
19599         * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
19600         Expect ".exe" extension.
19601
19602 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
19603
19604         * gdb.base/charset.exp: Add explicit filename to break.
19605         * gdb.base/dbx.exp: Add explicit filename to breaks.
19606
19607 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
19608
19609         * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
19610         * gdb.mi/mi2-file.exp: Likewise.
19611
19612 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
19613
19614         Implement specification of MI tests as comments
19615         in C and C++ sources.
19616         * lib/mi-support.exp (mi_autotest_data): New variable.
19617         (mi_autotest_source): New variable.
19618         (count_newlines, mi_prepare_inline_tests)
19619         (mi_get_inline_test, mi_continue_to_line)
19620         (mi_run_inline_test, mi_tbreak)
19621         (mi_send_resuming_command, mi_wait_for_stop): New functions.
19622         * gdb.mi/mi-var-cp.exp: Move most content to the C file.
19623         Run inline tests.
19624         * gdb.mi/mi-var-cp.cc: Define tests here.
19625
19626 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
19627
19628         Simplify usage of mi_continue_to.
19629         * lib/mi-support.exp (mi_runto_helper): Renamed
19630         from mi_runto, added new parameter 'run_or_continue'.
19631         (mi_runto): Use mi_runto_helper.
19632         (mi_continue_to): Accept just function name as parameter.
19633         Use mi_runto_helper.
19634         * gdb.mi/mi-var-cmd.exp: Adjust to changes.
19635         * gdb.mi/mi2-var-cmd.exp: Likewise.
19636
19637 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
19638
19639         Make this testcase a bit more realistic. The current code
19640         is too simplistic, and allows the compiler to optimize out
19641         some of the entities we need for this testcase.
19642         * gdb.ada/null_record/bar.ads (Void_Star): New type.
19643         (Do_Nothing): Add extra parameter.
19644         * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
19645         * gdb.ada/null_record/null_record.adb: Fake use of type Empty
19646         by using a variable of type Void_Star.
19647
19648 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
19649
19650         * gdb.ada/catch_ex/foo.adb: New file.
19651         * gdb.ada/catch_ex.exp: New testcase.
19652
19653 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
19654
19655         * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
19656         pass --image-base to linker.
19657
19658 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
19659             Daniel Jacobowitz  <dan@codesourcery.com>
19660
19661         * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
19662         secondary prompts.
19663
19664 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
19665
19666         * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
19667         output.  Test the types of members and member pointers.
19668         * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
19669         gdb/2092.
19670         * gdb.cp/member-ptr.exp: Search for a comment instead of a
19671         statement.  Enable for GCC.  Update expected output for some tests
19672         and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
19673         layout.
19674         * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
19675         (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
19676         (Diamond::vget_base): New.
19677         (main): Add new tests.
19678         * gdb.cp/printmethod.exp: Update expected output for member functions.
19679         * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
19680         print pEe->D::vg().
19681
19682 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
19683
19684         * gdb.threads/tls.exp: Allow stops in sem_post.
19685
19686 2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
19687
19688         * gdb.base/annota1.exp: Allow .*printf in backtraces.
19689         * gdb.base/annota3.exp: Likewise.
19690         * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
19691         again (instead of timing out).
19692         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
19693         GCC bug 26475.
19694         * gdb.java/jmisc.exp: Adjust to work with method signatures including
19695         return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
19696         test from jmisc1.exp.
19697         * gdb.java/jmisc1.exp: Delete.
19698         * gdb.java/jprint.exp: Adjust to work with method signatures including
19699         return types.
19700         * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
19701         * gdb.threads/linux-dp.exp: Don't be confused by program output.
19702         * lib/java.exp (compile_java_from_source): Pass the correct type
19703         to target_compile.
19704
19705 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
19706
19707         * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
19708         (stack_align_edx): New function.
19709         (stack_align_eax): New function.
19710         (main): Add calls to stack_align_edx and stack_align_eax.
19711         * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
19712         Add testing for the cases where the register used during a stack
19713         realignment is edx. Same for eax.
19714
19715 2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
19716
19717         * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
19718         and generic PE targets.
19719
19720 2006-12-29  Joel Brobecker  <brobecker@adacore.com>
19721
19722         * gdb.ada/array_return.exp: Update copyright date list.
19723
19724 2006-12-27  Joel Brobecker  <brobecker@adacore.com>
19725
19726         * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
19727         (Create_Small_Float_Vector): New function.
19728         * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
19729         function body.
19730         * gdb.ada/array_return/p.adb: Use new type and function from
19731         package Pck.
19732         * gdb.ada/array_return.exp: Add a test verifying that GDB is
19733         able to print the value returned by a function returning an
19734         array of float.
19735
19736 2006-12-20  Joel Brobecker  <brobecker@adacore.com>
19737
19738         * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
19739         The associated tests should be PASSing.
19740
19741 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
19742
19743         Test for base in references.
19744         * gdb.mi/mi-var-cp.cc: Add test code.
19745         * gdb.mi/mi-var-cp.exp: Test for bases in references.
19746         * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
19747         * gdb.mi/mi2-watch.exp: Likewise.
19748         * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
19749         (mi_list_varobj_children): New function.
19750
19751 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
19752
19753         * lib/mi-support.exp
19754         (mi_runto): Accept "()" after function name.
19755         (mi_create_varobj): New function.
19756         (mi_varobj_update): New function.
19757         (mi_Check_varobj_value): New function.
19758         * gdb.mi/mi-var-cp.exp: New file.
19759         * gdb.mi/mi-var-cp.cc: New file.
19760
19761 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
19762
19763         * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
19764         gdb.base/weaklib2.c: New files.
19765
19766 2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
19767
19768         * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
19769         info.  Adjust test names.
19770
19771         * gdb.base/break.c (main): Move position of malloc.
19772         * gdb.base/break.exp: Revert mistaken checkin.
19773
19774 2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
19775
19776         * gdb.mi/mi-var-cmd.exp: Check -var-update after
19777         assignement of arrays and function pointers.
19778         * gdb.mi/var-cmd.c: Add declaration necessary for above
19779         tests.
19780
19781 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
19782
19783         * gdb.base/break.c (main): Call malloc.
19784
19785         * gdb.threads/linux-dp.exp: Read thread table before and after
19786         creating each philosopher and verify it.
19787
19788 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
19789             Paul Brook  <paul@codesourcery.com>
19790             Daniel Jacobowitz  <dan@codesourcery.com>
19791
19792         * gdb.base/ending-run.exp: Flatten expect script stepping out of
19793         main to remove duplication.  Add start function of the form
19794         '_*start[1-9]*'. Add RVDS start function.
19795
19796 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
19797
19798         * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
19799
19800 2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19801
19802         * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
19803         * gdb.asm/spu.inc: New file.
19804         * gdb.base/term.exp: Disable if [target_info exists noargs].
19805         * gdb.gdb/complaints.exp: Disable if ![isnative].
19806         * gdb.gdb/selftest.exp: Likewise.
19807         * gdb.gdb/observer.exp: Likewise.
19808         * gdb.gdb/xfullpath.exp: Likewise.
19809         * gdb.base/attach.exp: Disable on SPU target.
19810         * gdb.cp/bs145503.exp: Likewise.
19811         * gdb.cp/exception.exp: Likewise.
19812         * gdb.cp/userdef.exp: Likewise.
19813
19814 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
19815
19816         * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
19817
19818 2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
19819
19820         * gdb.base/completion.exp: Fix completion tests for
19821         'info' and 'info '.
19822         * gdb.base/help.exp (help_test_raw, test_class_help)
19823         (test_prefix_command_help): Move...
19824         * lib/gdb.exp: Here.
19825         * gdb.base/main.exp: Adjust.
19826         * gdb.cp/maint.exp: Adjust.
19827         * gdb.trace/tracecmd.exp: Use test_help_class.
19828
19829 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
19830
19831         * gdb.stabs/weird.exp (print_weird_var): Use
19832         gdb_test_multiple instead of gdb_expect.
19833
19834 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
19835
19836         * gdb.base/help.exp (help_test_raw): New.
19837         (test_class_help): New.
19838         (test_prefix_command_help): New.
19839         Adjust testcases.
19840
19841 2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
19842
19843         * gdb.base/constvars.c (main): Write to crass and crips, so that
19844         they are allocated by the compiler.
19845
19846 2006-10-27  Andreas Schwab  <schwab@suse.de>
19847
19848         * gdb.base/multi-forks.exp: Use "detach fork" instead of
19849         "detach-fork".
19850
19851 2006-10-18  Daniel Jacobowitz  <dan@codesoucery.com>
19852
19853         * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
19854         of patterns.
19855
19856 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
19857
19858         * gdb.base/sepdebug.exp: Remove debug format test.
19859         * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
19860         Handle no-symtab.
19861         * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
19862
19863 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
19864
19865         * gdb.threads/manythreads.c (thread_function, main): Don't cast
19866         int to pointer or pointer to int.
19867         * gdb.threads/manythreads.exp: Don't expect the string "LWP".
19868
19869 2006-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
19870
19871         * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
19872
19873 2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
19874
19875         * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
19876
19877 2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
19878
19879         PR c++/2116
19880         * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
19881
19882 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
19883
19884         * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
19885         the corresponding bug has been fixed in GDB (PR/2018).
19886
19887 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
19888
19889         * gdb.base/subst.exp: New testcase.
19890
19891 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
19892
19893         * gdb.ada/array_return/pck.ads: Add copyright notice.
19894         * gdb.ada/array_return/pck.adb: Likewise.
19895         * gdb.ada/array_return/p.adb: Likewise.
19896         * gdb.ada/exec_changed/first.adb: Likewise.
19897         * gdb.ada/exec_changed/second.adb: Likewise.
19898
19899 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
19900
19901         * gdb.ada/watch_arg/watch.adb: New file.
19902         * gdb.ada/watch_arg.exp: New testcase.
19903
19904 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
19905
19906         * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
19907         via string_to_regexp.
19908         * gdb.mi/mi2-basics.exp: Likewise.
19909
19910 2006-09-20  Michael Snyder  <michael.snyder@palmsource.com>
19911
19912         * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
19913         Remove unused / obsolete files.
19914
19915 2006-09-19  Nick Roberts  <nickrob@snap.net.nz>
19916
19917         * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
19918
19919 2006-09-17  Vladimir Prus  <vladimir@codesourcery.com>
19920
19921         * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
19922         HIGH_FRAME argument to -stack-list-arguments can be larger than
19923         the number of frames.
19924
19925 2006-09-15  Daniel Jacobowitz  <dan@codesourcery.com>
19926
19927         * gdb.base/args.c (main): Add breakpoint marker.
19928         * gdb.base/args.exp: Use args_test for tests.  Add new tests which
19929         really test empty arguments.
19930         (args_load): Delete.
19931         (args_test): New.
19932
19933 2006-09-13  Nick Roberts  <nickrob@snap.net.nz>
19934
19935         * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
19936         check for one file.
19937
19938 2006-09-07  Vladimir Prus  <ghost@vladimir@codesourcery.com>
19939
19940         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
19941         HIGH_FRAME argument to -stack-list-locals can be larger than
19942         the number of frames.
19943
19944 2006-08-18  Fred Fish  <fnf@specifix.com>
19945
19946         * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
19947         '$' in front of skip_vmx_tests_saved when setting that.
19948
19949 2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
19950
19951         * gdb.base/trace-commands.exp: New file.
19952
19953 2006-08-10  Joel Brobecker  <brobecker@adacore.com>
19954             Daniel Jacobowitz  <dan@codesourcery.com>
19955
19956         * gdb.base/step-bt.exp: Make hexadecimal address optional in
19957         expected output of the backtrace commands.
19958
19959 2006-08-09  Joel Brobecker  <brobecker@adacore.com>
19960
19961         * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
19962         untested followed by return combination.
19963         * gdb.arch/altivec-regs.exp: Likewise.
19964         * gdb.arch/e500-abi.exp: Likewise.
19965         * gdb.arch/e500-regs.exp: Likewise.
19966         * gdb.arch/gdb1291.exp: Likewise.
19967         * gdb.arch/gdb1431.exp: Likewise.
19968         * gdb.arch/gdb1558.exp: Likewise.
19969         * gdb.arch/i386-prologue.exp: Likewise.
19970         * gdb.arch/i386-unwind.exp: Likewise.
19971         * gdb.asm/asm-source.exp: Likewise.
19972         * gdb.base/a2-run.exp: Likewise.
19973         * gdb.base/advance.exp: Likewise.
19974         * gdb.base/all-bin.exp: Likewise.
19975         * gdb.base/annota1.exp: Likewise.
19976         * gdb.base/annota3.exp: Likewise.
19977         * gdb.base/args.exp: Likewise.
19978         * gdb.base/arithmet.exp: Likewise.
19979         * gdb.base/assign.exp: Likewise.
19980         * gdb.base/async.exp: Likewise.
19981         * gdb.base/attach.exp: Likewise.
19982         * gdb.base/bang.exp: Likewise.
19983         * gdb.base/bigcore.exp: Likewise.
19984         * gdb.base/bitfields.exp: Likewise.
19985         * gdb.base/bitfields2.exp: Likewise.
19986         * gdb.base/break.exp: Likewise.
19987         * gdb.base/call-sc.exp: Likewise.
19988         * gdb.base/call-strs.exp: Likewise.
19989         * gdb.base/callfuncs.exp: Likewise.
19990         * gdb.base/checkpoint.exp: Likewise.
19991         * gdb.base/chng-syms.exp: Likewise.
19992         * gdb.base/code-expr.exp: Likewise.
19993         * gdb.base/commands.exp: Likewise.
19994         * gdb.base/completion.exp: Likewise.
19995         * gdb.base/cond-expr.exp: Likewise.
19996         * gdb.base/condbreak.exp: Likewise.
19997         * gdb.base/consecutive.exp: Likewise.
19998         * gdb.base/constvars.exp: Likewise.
19999         * gdb.base/corefile.exp: Likewise.
20000         * gdb.base/cvexpr.exp: Likewise.
20001         * gdb.base/dbx.exp: Likewise.
20002         * gdb.base/define.exp: Likewise.
20003         * gdb.base/detach.exp: Likewise.
20004         * gdb.base/display.exp: Likewise.
20005         * gdb.base/dump.exp: Likewise.
20006         * gdb.base/ena-dis-br.exp: Likewise.
20007         * gdb.base/ending-run.exp: Likewise.
20008         * gdb.base/environ.exp: Likewise.
20009         * gdb.base/eval-skip.exp: Likewise.
20010         * gdb.base/exprs.exp: Likewise.
20011         * gdb.base/fileio.exp: Likewise.
20012         * gdb.base/finish.exp: Likewise.
20013         * gdb.base/float.exp: Likewise.
20014         * gdb.base/foll-exec.exp: Likewise.
20015         * gdb.base/foll-fork.exp: Likewise.
20016         * gdb.base/foll-vfork.exp: Likewise.
20017         * gdb.base/freebpcmd.exp: Likewise.
20018         * gdb.base/funcargs.exp: Likewise.
20019         * gdb.base/gcore.exp: Likewise.
20020         * gdb.base/gdb1090.exp: Likewise.
20021         * gdb.base/gdb1250.exp: Likewise.
20022         * gdb.base/huge.exp: Likewise.
20023         * gdb.base/info-proc.exp: Likewise.
20024         * gdb.base/interrupt.exp: Likewise.
20025         * gdb.base/jump.exp: Likewise.
20026         * gdb.base/langs.exp: Likewise.
20027         * gdb.base/lineinc.exp: Likewise.
20028         * gdb.base/list.exp: Likewise.
20029         * gdb.base/logical.exp: Likewise.
20030         * gdb.base/long_long.exp: Likewise.
20031         * gdb.base/macscp.exp: Likewise.
20032         * gdb.base/maint.exp: Likewise.
20033         * gdb.base/mips_pro.exp: Likewise.
20034         * gdb.base/miscexprs.exp: Likewise.
20035         * gdb.base/multi-forks.exp: Likewise.
20036         * gdb.base/opaque.exp: Likewise.
20037         * gdb.base/overlays.exp: Likewise.
20038         * gdb.base/pc-fp.exp: Likewise.
20039         * gdb.base/pointers.exp: Likewise.
20040         * gdb.base/printcmds.exp: Likewise.
20041         * gdb.base/psymtab.exp: Likewise.
20042         * gdb.base/ptype.exp: Likewise.
20043         * gdb.base/recurse.exp: Likewise.
20044         * gdb.base/relational.exp: Likewise.
20045         * gdb.base/relocate.exp: Likewise.
20046         * gdb.base/remote.exp: Likewise.
20047         * gdb.base/reread.exp: Likewise.
20048         * gdb.base/restore.exp: Likewise.
20049         * gdb.base/return.exp: Likewise.
20050         * gdb.base/return2.exp: Likewise.
20051         * gdb.base/scope.exp: Likewise.
20052         * gdb.base/sect-cmd.exp: Likewise.
20053         * gdb.base/sep.exp: Likewise.
20054         * gdb.base/sepdebug.exp: Likewise.
20055         * gdb.base/setshow.exp: Likewise.
20056         * gdb.base/setvar.exp: Likewise.
20057         * gdb.base/sigall.exp: Likewise.
20058         * gdb.base/sigbpt.exp: Likewise.
20059         * gdb.base/signals.exp: Likewise.
20060         * gdb.base/signull.exp: Likewise.
20061         * gdb.base/sizeof.exp: Likewise.
20062         * gdb.base/solib.exp: Likewise.
20063         * gdb.base/step-line.exp: Likewise.
20064         * gdb.base/step-test.exp: Likewise.
20065         * gdb.base/structs.exp: Likewise.
20066         * gdb.base/structs2.exp: Likewise.
20067         * gdb.base/term.exp: Likewise.
20068         * gdb.base/twice.exp: Likewise.
20069         * gdb.base/until.exp: Likewise.
20070         * gdb.base/varargs.exp: Likewise.
20071         * gdb.base/volatile.exp: Likewise.
20072         * gdb.base/watchpoint.exp: Likewise.
20073         * gdb.base/whatis-exp.exp: Likewise.
20074         * gdb.base/whatis.exp: Likewise.
20075         * gdb.cp/ambiguous.exp: Likewise.
20076         * gdb.cp/annota2.exp: Likewise.
20077         * gdb.cp/annota3.exp: Likewise.
20078         * gdb.cp/bool.exp: Likewise.
20079         * gdb.cp/breakpoint.exp: Likewise.
20080         * gdb.cp/casts.exp: Likewise.
20081         * gdb.cp/class2.exp: Likewise.
20082         * gdb.cp/classes.exp: Likewise.
20083         * gdb.cp/cplusfuncs.exp: Likewise.
20084         * gdb.cp/ctti.exp: Likewise.
20085         * gdb.cp/derivation.exp: Likewise.
20086         * gdb.cp/exception.exp: Likewise.
20087         * gdb.cp/gdb1355.exp: Likewise.
20088         * gdb.cp/hang.exp: Likewise.
20089         * gdb.cp/inherit.exp: Likewise.
20090         * gdb.cp/local.exp: Likewise.
20091         * gdb.cp/m-data.exp: Likewise.
20092         * gdb.cp/m-static.exp: Likewise.
20093         * gdb.cp/member-ptr.exp: Likewise.
20094         * gdb.cp/method.exp: Likewise.
20095         * gdb.cp/misc.exp: Likewise.
20096         * gdb.cp/namespace.exp: Likewise.
20097         * gdb.cp/overload.exp: Likewise.
20098         * gdb.cp/ovldbreak.exp: Likewise.
20099         * gdb.cp/pr-1023.exp: Likewise.
20100         * gdb.cp/pr-1210.exp: Likewise.
20101         * gdb.cp/pr-574.exp: Likewise.
20102         * gdb.cp/printmethod.exp: Likewise.
20103         * gdb.cp/psmang.exp: Likewise.
20104         * gdb.cp/ref-params.exp: Likewise.
20105         * gdb.cp/ref-types.exp: Likewise.
20106         * gdb.cp/rtti.exp: Likewise.
20107         * gdb.cp/templates.exp: Likewise.
20108         * gdb.cp/try_catch.exp: Likewise.
20109         * gdb.cp/userdef.exp: Likewise.
20110         * gdb.cp/virtfunc.exp: Likewise.
20111         * gdb.disasm/am33.exp: Likewise.
20112         * gdb.disasm/h8300s.exp: Likewise.
20113         * gdb.disasm/mn10300.exp: Likewise.
20114         * gdb.disasm/sh3.exp: Likewise.
20115         * gdb.disasm/t01_mov.exp: Likewise.
20116         * gdb.disasm/t02_mova.exp: Likewise.
20117         * gdb.disasm/t03_add.exp: Likewise.
20118         * gdb.disasm/t04_sub.exp: Likewise.
20119         * gdb.disasm/t05_cmp.exp: Likewise.
20120         * gdb.disasm/t06_ari2.exp: Likewise.
20121         * gdb.disasm/t07_ari3.exp: Likewise.
20122         * gdb.disasm/t08_or.exp: Likewise.
20123         * gdb.disasm/t09_xor.exp: Likewise.
20124         * gdb.disasm/t10_and.exp: Likewise.
20125         * gdb.disasm/t11_logs.exp: Likewise.
20126         * gdb.disasm/t12_bit.exp: Likewise.
20127         * gdb.disasm/t13_otr.exp: Likewise.
20128         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
20129         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
20130         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20131         * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
20132         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
20133         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
20134         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
20135         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
20136         * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
20137         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
20138         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
20139         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
20140         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
20141         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
20142         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
20143         * gdb.mi/gdb701.exp: Likewise.
20144         * gdb.mi/gdb792.exp: Likewise.
20145         * gdb.mi/mi-basics.exp: Likewise.
20146         * gdb.mi/mi-break.exp: Likewise.
20147         * gdb.mi/mi-cli.exp: Likewise.
20148         * gdb.mi/mi-console.exp: Likewise.
20149         * gdb.mi/mi-disassemble.exp: Likewise.
20150         * gdb.mi/mi-eval.exp: Likewise.
20151         * gdb.mi/mi-file.exp: Likewise.
20152         * gdb.mi/mi-read-memory.exp: Likewise.
20153         * gdb.mi/mi-regs.exp: Likewise.
20154         * gdb.mi/mi-return.exp: Likewise.
20155         * gdb.mi/mi-simplerun.exp: Likewise.
20156         * gdb.mi/mi-stack.exp: Likewise.
20157         * gdb.mi/mi-stepi.exp: Likewise.
20158         * gdb.mi/mi-syn-frame.exp: Likewise.
20159         * gdb.mi/mi-until.exp: Likewise.
20160         * gdb.mi/mi-var-block.exp: Likewise.
20161         * gdb.mi/mi-var-child.exp: Likewise.
20162         * gdb.mi/mi-var-cmd.exp: Likewise.
20163         * gdb.mi/mi-var-display.exp: Likewise.
20164         * gdb.mi/mi-watch.exp: Likewise.
20165         * gdb.mi/mi2-basics.exp: Likewise.
20166         * gdb.mi/mi2-break.exp: Likewise.
20167         * gdb.mi/mi2-cli.exp: Likewise.
20168         * gdb.mi/mi2-console.exp: Likewise.
20169         * gdb.mi/mi2-disassemble.exp: Likewise.
20170         * gdb.mi/mi2-eval.exp: Likewise.
20171         * gdb.mi/mi2-file.exp: Likewise.
20172         * gdb.mi/mi2-read-memory.exp: Likewise.
20173         * gdb.mi/mi2-regs.exp: Likewise.
20174         * gdb.mi/mi2-return.exp: Likewise.
20175         * gdb.mi/mi2-simplerun.exp: Likewise.
20176         * gdb.mi/mi2-stack.exp: Likewise.
20177         * gdb.mi/mi2-stepi.exp: Likewise.
20178         * gdb.mi/mi2-syn-frame.exp: Likewise.
20179         * gdb.mi/mi2-until.exp: Likewise.
20180         * gdb.mi/mi2-var-block.exp: Likewise.
20181         * gdb.mi/mi2-var-child.exp: Likewise.
20182         * gdb.mi/mi2-var-cmd.exp: Likewise.
20183         * gdb.mi/mi2-var-display.exp: Likewise.
20184         * gdb.mi/mi2-watch.exp: Likewise.
20185         * gdb.stabs/exclfwd.exp: Likewise.
20186         * gdb.stabs/weird.exp: Likewise.
20187         * gdb.threads/gcore-thread.exp: Likewise.
20188         * gdb.trace/actions.exp: Likewise.
20189         * gdb.trace/backtrace.exp: Likewise.
20190         * gdb.trace/circ.exp: Likewise.
20191         * gdb.trace/collection.exp: Likewise.
20192         * gdb.trace/deltrace.exp: Likewise.
20193         * gdb.trace/infotrace.exp: Likewise.
20194         * gdb.trace/limits.exp: Likewise.
20195         * gdb.trace/packetlen.exp: Likewise.
20196         * gdb.trace/passc-dyn.exp: Likewise.
20197         * gdb.trace/passcount.exp: Likewise.
20198         * gdb.trace/report.exp: Likewise.
20199         * gdb.trace/save-trace.exp: Likewise.
20200         * gdb.trace/tfind.exp: Likewise.
20201         * gdb.trace/tracecmd.exp: Likewise.
20202         * gdb.trace/while-dyn.exp: Likewise.
20203         * gdb.trace/while-stepping.exp: Likewise.
20204
20205 2006-08-08  Joel Brobecker  <brobecker@adacore.com>
20206
20207         * gdb.base/step-bt.c: New file.
20208         * gdb.base/step-bt.exp: New testcase.
20209
20210 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
20211
20212         * config/monitor.exp (gdb_load): Remove support for obsolete
20213         download-write-size.
20214         * gdb.base/remote.exp: Likewise.  Update all callers of
20215         gdb_timed_load.
20216
20217 2006-08-02  Daniel Jacobowitz  <dan@codesourcery.com>
20218
20219         * cursal.exp: Pass binfile to gdb_load.
20220
20221 2006-08-01  Nathan Sidwell  <nathan@codesourcery.com>
20222
20223         * gdb.base/cursal.exp: Add "" to gdb_load call.
20224
20225 2006-07-29  Mark Kettenis  <kettenis@gnu.org>
20226
20227         * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
20228         NetBSD/ELF targets.
20229
20230 2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
20231
20232         * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
20233         operator*.
20234
20235 2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
20236
20237         * gdb.base/completion.exp: Update for change in "file" behavior.
20238         * gdb.stabs/weird.exp: Likewise.
20239         * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
20240         * lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
20241
20242 2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>
20243
20244         * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
20245         * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
20246
20247 2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
20248
20249         * gdb.base/default.exp: Update source command error message.
20250         * gdb.base/help.exp: Update 'help source' message.
20251
20252 2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
20253
20254         * gdb.cp/bs15503.exp: Update comment for no longer crashing
20255         test.
20256
20257 2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>
20258
20259         * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
20260
20261 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
20262
20263         * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
20264
20265 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
20266
20267         * gdb.threads/print-threads.exp: Use gdb_breakpoint.
20268
20269 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
20270
20271         * gdb.base/long_long.exp (gdb_test_long_long): Exclude
20272         *-*-openbsd* from targets for wich we expect ARM FPA floating
20273         point format.
20274
20275 2006-07-17  Nick Roberts  <nickrob@snap.net.nz>
20276
20277         * gdb.cp/annota3.exp: Expect frame-begin annotation.
20278
20279 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
20280
20281         * gdb.base/annota3.exp: Expect frame-begin annotation.
20282
20283 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
20284
20285         * gdb.base/help.exp: Adjust "help unset" test to accept
20286         any list of unset commands.
20287
20288 2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
20289             Daniel Jacobowitz  <dan@codesourcery.com>
20290
20291         * gdb.cp/ref-params.exp: New test.
20292         * gdb.cp/ref-params.cc: New source file.
20293         * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
20294
20295 2006-07-08  Mark Kettenis  <kettenis@gnu.org>
20296
20297         * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
20298         spaces/tabs in regular expressions since they might not be there.
20299
20300 2006-07-07  Andrew Stubbs  <andrew.stubbs@st.com>
20301
20302         * gdb.base/ifelse.exp: New file.
20303
20304 2006-07-04  Nathan Sidwell  <nathan@codesourcery.com>
20305
20306         * gdb.base/huge.c: Allow CRASH_GDB to be set from command
20307         line.
20308         * gdb.base/huge.exp: Loop over compilation to find a size that
20309         is acceptable.
20310         * gdb.base/remote.exp: Correct expected strings.
20311         * gdb.dwarf2/mac-fileno.S: Avoid # comments.
20312
20313 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
20314
20315         * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
20316
20317 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
20318
20319         * gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
20320         native.
20321
20322 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
20323
20324         * gdb.stabs/exclfwd.exp: Skip the test if configure did not
20325         enable stabs testing.
20326
20327 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
20328
20329         * gdb.base/auxv.exp: Intercept undefined command messages before
20330         gdb_test_multiple does.
20331
20332 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
20333
20334         * Makefile.in (host_alias): Remove.
20335         (target_alias): Use @target_noncanonical@.
20336         (site.exp): Don't set host_alias.
20337         * aclocal.m4: Remove contents.  Include acx.m4.
20338         * configure: Regenerated.
20339         * configure.ac: Use ACX_NONCANONICAL_TARGET.
20340
20341 2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
20342
20343         * lib/gdb.exp (gdb_load_cmd): New.
20344
20345         * gdb.base/fileio.c: Add system(NULL) test.
20346         * gdb.base/fileio.exp: Check it.
20347
20348         * gdb.base/break.c: Add 10a breakpoint at }
20349         * gdb.base/break.exp: Add test for breakpoint at }
20350         * gdb.cp/anon-union.cc: Add code at end of function.
20351         * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
20352         * gdb.mi/var-cmd.c: Add code at end of function.
20353         * gdb.mi/mi-var-display.exp: Adjust end of next.
20354         * gdb.mi/mi2-var-display.exp: Likewise.
20355         * gdb.base/fileio.c: Add stop function and insert calls at
20356         stopping places.
20357         * gdb.base/fileio.exp: Breakpoint stop function and remove
20358         explicit line number references.
20359
20360 2006-05-19  Joel Brobecker  <brobecker@adacore.com>
20361
20362         * gdb.base/del.exp (test_delete_alias): New function.
20363         Now check that both "del" and "d" work as aliases for "delete".
20364
20365 2006-05-18  Fred Fish  <fnf@specifix.com>
20366
20367         * gdb.base/a2-run.exp: Allow part of test to run when args aren't
20368         required.  Check for spurious output after program exits normally.
20369
20370 2006-05-17  Fred Fish  <fnf@specifix.com>
20371
20372         * gdb.base/relocate.exp: Use gdb_file_cmd rather than
20373         gdb_load, so it works in the simulator.
20374
20375 2006-05-11  Fred Fish  <fnf@specifix.com>
20376
20377         * gdb.base/bang.exp: Ignore unexpected output between the
20378         "program exited normally" and the gdb prompt, as many other
20379         tests do.
20380
20381 2006-05-07  Mark Kettenis  <kettenis@gnu.org>
20382
20383         * gdb.base/help.exp: Make "delete checkpoint" part option for
20384         "help d" and "help delete" tests.
20385
20386 2006-05-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20387
20388         * gdb.mi/mi-basics.exp: Add missing serial number to
20389         expected output in some mi_gdb_test statements.
20390         * gdb.mi/mi2-basics.exp: Likewise.
20391
20392 2006-05-05  Joel Brobecker  <brobecker@adacore.com>
20393
20394         * gdb.base/del.c: New file.
20395         * gdb.base/del.exp: New testcase.
20396
20397 2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
20398
20399         * gdb.base/break.exp: Do not assume a breakpoint on
20400         main will actually be in $srcfile when optimizing.
20401         * gdb.base/savedregs.exp: Do not require that the dummy
20402         frame location match up to a symbol and source file location.
20403         * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
20404         will get printed without a mi_cmd_data_list_register_values prefix.
20405         (*-data-list-register-*): Correct regular expressions to expect the new
20406         pseudo d? floating point registers.
20407         * gdb.mi/mi2-regs.exp: Likewise.
20408
20409 2006-05-05  Christophe Lyon  <christophe.lyon@st.com>
20410
20411         * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
20412         * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
20413         is allocated by the compiler.
20414         * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
20415         anons, e, anone to force their allocation by the compiler.
20416
20417 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
20418
20419         * gdb.base/help.exp: Update expected text for help d and
20420         help delete.
20421
20422 2006-05-02  Mark Kettenis  <kettenis@gnu.org>
20423
20424         * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
20425         NetBSD/ELF targets.
20426
20427 2006-04-30  Mark Kettenis  <kettenis@gnu.org>
20428
20429         * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
20430         single-step breakpoint fails; make this a KFAIL on
20431         sparc*-*-openbsd*.
20432         * gdb.base/siginfo.exp: Likewise.
20433         * gdb.base/sigstep.exp (advance, advancei): Likewise.
20434
20435 2006-04-26  Michael Snyder  <msnyder@redhat.com>
20436
20437         * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
20438         which may have to consume output from other forks.
20439         Add tests to make sure that "delete fork" succeeded.
20440
20441 2006-04-20  Michael Snyder  <msnyder@redhat.com>
20442
20443         * 2006-03-22  Jim Blandy  <jimb@redhat.com>
20444         Add support for the Renesas M32C and M16C.
20445
20446         * gdb.asm/asm-source.exp: Add m32c target.
20447         * gdb.asm/m32c.inc: Support for m32c target.
20448
20449 2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
20450
20451         * gdb.base/commands.exp (recursive_source_test): New test.
20452
20453 2006-04-04  David S. Miller  <davem@sunset.davemloft.net>
20454
20455         * gdb.base/float.exp: Add pattern for sparc targets.
20456
20457 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
20458
20459         * gdb.base/commands.exp (stray_arg0_test): New test.
20460
20461 2006-03-30  Paul Brook  <paul@codesourcery.com>
20462
20463         * gdb.mi/mi-until.exp: kfail broken until command.
20464         * gdb.mi/mi2-until.exp: Ditto.
20465
20466 2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
20467
20468         * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
20469
20470 2006-03-08  Alexandre Oliva  <aoliva@redhat.com>
20471
20472         * gdb.base/prelink.exp: Anchor tested-for regular expression
20473         on gdb prompt.
20474
20475 2006-03-07  Paul Brook  <paul@codesourcery.com>
20476
20477         * gdb.base/assign.exp: Correct fail message.
20478
20479 2006-03-07  Paul Brook  <paul@codesourcery.com>
20480
20481         * lib/compiler.c: Extract armcc version number.
20482         * lib/compiler.cc: Ditto.
20483
20484 2006-03-07  Paul Brook  <paul@codesourcery.com>
20485
20486         * gdb.arch/altivec-abi.exp: Use nowarnings instead of
20487         additional_flags=-w.
20488         * gdb.arch/altivec-regs.exp: Ditto.
20489         * gdb.arch/e500-abi.exp: Ditto.
20490         * gdb.arch/e500-regs.exp: Ditto.
20491         * gdb.base/all-bin.exp: Ditto.
20492         * gdb.base/annota1.exp: Ditto.
20493         * gdb.base/annota3.exp: Ditto.
20494         * gdb.base/args.exp: Ditto.
20495         * gdb.base/arithmet.exp: Ditto.
20496         * gdb.base/assign.exp: Ditto.
20497         * gdb.base/async.exp: Ditto.
20498         * gdb.base/bang.exp: Ditto.
20499         * gdb.base/break.exp: Ditto.
20500         * gdb.base/call-rt-st.exp: Ditto.
20501         * gdb.base/completion.exp: Ditto.
20502         * gdb.base/cond-expr.exp: Ditto.
20503         * gdb.base/condbreak.exp: Ditto.
20504         * gdb.base/consecutive.exp: Ditto.
20505         * gdb.base/define.exp: Ditto.
20506         * gdb.base/display.exp: Ditto.
20507         * gdb.base/ena-dis-br.exp: Ditto.
20508         * gdb.base/environ.exp: Ditto.
20509         * gdb.base/eval-skip.exp: Ditto.
20510         * gdb.base/info-proc.exp: Ditto.
20511         * gdb.base/jump.exp: Ditto.
20512         * gdb.base/logical.exp: Ditto.
20513         * gdb.base/long_long.exp: Ditto.
20514         * gdb.base/maint.exp: Ditto.
20515         * gdb.base/miscexprs.exp: Ditto.
20516         * gdb.base/pc-fp.exp: Ditto.
20517         * gdb.base/pointers.exp: Ditto.
20518         * gdb.base/relational.exp: Ditto.
20519         * gdb.base/reread.exp: Ditto.
20520         * gdb.base/sect-cmd.exp: Ditto.
20521         * gdb.base/sep.exp: Ditto.
20522         * gdb.base/sepdebug.exp: Ditto.
20523         * gdb.base/until.exp: Ditto.
20524         * gdb.base/whatis-exp.exp: Ditto.
20525         * gdb.cp/annota2.exp: Ditto.
20526         * gdb.cp/annota3.exp: Ditto.
20527         * gdb.trace/actions.exp: Ditto.
20528         * gdb.trace/backtrace.exp: Ditto.
20529         * gdb.trace/circ.exp: Ditto.
20530         * gdb.trace/collection.exp: Ditto.
20531         * gdb.trace/deltrace.exp: Ditto.
20532         * gdb.trace/infotrace.exp: Ditto.
20533         * gdb.trace/limits.exp: Ditto.
20534         * gdb.trace/packetlen.exp: Ditto.
20535         * gdb.trace/passc-dyn.exp: Ditto.
20536         * gdb.trace/passcount.exp: Ditto.
20537         * gdb.trace/report.exp: Ditto.
20538         * gdb.trace/save-trace.exp: Ditto.
20539         * gdb.trace/tfind.exp: Ditto.
20540         * gdb.trace/tracecmd.exp: Ditto.
20541         * gdb.trace/while-dyn.exp: Ditto.
20542         * gdb.trace/while-stepping.exp: Ditto.
20543         * lib/gdb.exp: Ditto.
20544         (gdb_compile): Handle nowarning option.
20545
20546 2006-03-07  Alexandre Oliva  <aoliva@redhat.com>
20547
20548         * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
20549         * gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
20550         Rename executable to prelinkt.  Don't re-prelink if we didn't
20551         get a core file.  Test prelink -u exit status to tell whether
20552         prelinking failed.  Use gdb_test_multiple.
20553
20554 2006-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
20555
20556         * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
20557         (do_tests): Call it.
20558
20559 2006-02-28  Alexandre Oliva  <aoliva@redhat.com>
20560
20561         * gdb.base/prelink.exp: New test.
20562         * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
20563
20564 2006-02-24  Wu Zhou  <woodzltc@cn.ibm.com>
20565
20566         * gdb.fortran/derived-type.f90: New file.
20567         * gdb.fortran/derived-type.exp: New testcase.
20568
20569 2006-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
20570
20571         * gdb.base/default.exp: Allow ';' as a directory separator.
20572
20573 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
20574
20575         * gdb.base/help.exp (help add-symbol-file): Update.
20576
20577 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
20578
20579         * gdb.base/help.exp (help load): Update expected results.
20580
20581 2006-02-19  Fred Fish  <fnf@specifix.com>
20582
20583         * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
20584         specifix hex value as part of results.
20585         * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
20586
20587 2006-02-16  Fred Fish  <fnf@specifix.com>
20588
20589         * gdb.base/whatis.c: Define variables using typedefs char_addr,
20590         ushort_addr, and slong_addr, so the typedefs are not optimized
20591         away.
20592         * gdb.base/whatis.exp: Add tests using type name for struct type,
20593         union type, enum type, and typedef.
20594
20595 2006-02-13  Mark Kettenis  <kettenis@gnu.org>
20596
20597         * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
20598
20599 2006-02-13  Jim Blandy  <jimb@redhat.com>
20600
20601         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
20602         case where it takes two "next" commands to skip past the init
20603         call.
20604
20605 2006-02-12  Fred Fish  <fnf@specifix.com>
20606
20607         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
20608         to handle cases where it takes two "next" commands to skip
20609         past the init call.
20610
20611 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
20612
20613         * gdb.ada/array_return.exp: Mark the last test as expected to fail
20614         on hppa32 targets.
20615
20616 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
20617
20618         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
20619         field.
20620
20621 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
20622
20623         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
20624
20625 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
20626
20627         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
20628         files.
20629
20630 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
20631
20632         * gdb.cp/maint.exp: Set complaints to a positive value.
20633
20634 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
20635
20636         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
20637         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
20638         function name.
20639
20640 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
20641
20642         * gdb.base/checkpoint.c: Update copyright notice.  Include
20643         <stdlib.h>.
20644
20645 2006-01-04  Jim Blandy  <jimb@redhat.com>
20646
20647         * gdb.asm/asm-source.exp: Independently provide default values for
20648         asm-flags and debug-flags.  Use 'string equal' to do the
20649         comparison, not the implicit expr's '==' operator.  Remove
20650         now-unneeded assignments to asm-flags.  In h8300 case, place
20651         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
20652
20653 2006-01-04  Michael Snyder  <msnyder@redhat.com>
20654
20655         * gdb.base/checkpoint.c: New file.
20656         * gdb.base/checkpoint.exp: New file.
20657         * gdb.base/multi-fork.c: New file.
20658         * gdb.base/multi-fork.exp: New file.
20659         * gdb.base/pi.txt: New file (data for checkpoint.c test).
20660
20661 2006-01-04  Fred Fish  <fnf@specifix.com>
20662
20663         * gdb.base/ptype.c (foo): Add typedef.
20664         (intfoo): Add function.
20665         * gdb.base/ptype1.c: New file.
20666         * gdb.base/ptype.exp: Handle compilation and linking with two
20667         source files.  Test that proper type for "foo" is found based
20668         on source context rather than first match found in symtabs.
20669
20670 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
20671
20672         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
20673         * gdb.asm/openbsd.inc: Indent commands.
20674
20675 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
20676
20677         * gdb.base/freebpcmd.exp: Increase timeout.
20678
20679         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
20680
20681 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
20682
20683         * gdb.base/default.exp: Update check for "show version".
20684
20685 2005-12-09  Randolph Chung  <tausq@debian.org>
20686
20687         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
20688         * gdb.asm/pa64.inc: New file.
20689
20690 2005-12-09  Randolph Chung  <tausq@debian.org>
20691
20692         * gdb.asm/common.inc: Indent commands.
20693         * gdb.asm/asmsrc1.s: Likewise.
20694         * gdb.asm/asmsrc2.s: Likewise.
20695
20696 2005-12-09  Randolph Chung  <tausq@debian.org>
20697
20698         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
20699         (get_addr_of_sym): Remove duplicate print.
20700         (gen_core): xfail hppa*-*-hpux*, update expected output.
20701         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
20702         * gdb.arch/pa64-nullify.s: New file.
20703
20704 2005-12-09  Randolph Chung  <tausq@debian.org>
20705
20706         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
20707
20708 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
20709
20710         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
20711         code generation for these functions.
20712         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
20713         error message.
20714
20715 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
20716
20717         * gdb.base/help.exp (help b, help br, help bre, help brea)
20718         (help break): Update the expected message.
20719
20720 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
20721
20722         * gdb.asm/m68hc11.inc: Setup the data section.
20723         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
20724         script for this test.
20725         (m6812-*-*): Likewise.
20726
20727 2005-11-09  Randolph Chung <tausq@debian.org>
20728
20729         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
20730
20731 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
20732
20733         * gdb.base/break.exp: Fix a comment typo.
20734
20735 2005-11-03  Jim Blandy  <jimb@redhat.com>
20736
20737         Checked in by Elena Zannoni  <ezannoni@redhat.com>
20738
20739         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
20740
20741 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
20742
20743         * gdb.arch/gdb1558.c: Include stdio.h.
20744
20745 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
20746
20747         * gdb.asm/asm-source.exp: Use -e instead of --entry.
20748
20749 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
20750
20751         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
20752
20753 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
20754
20755         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
20756         vscr" tests to better match output.
20757
20758 2005-10-12  Jim Blandy  <jimb@redhat.com>
20759
20760         * gdb.base/structs.exp (any): New function.
20761         (test_struct_returns): Don't make any assumptions at all about
20762         what value the function returns when GDB can't set the return
20763         value.
20764
20765 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
20766
20767         * gdb.ada/arrayidx/p.adb: New file.
20768         * gdb.ada/arrayidx.exp: New testcase
20769
20770 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
20771
20772         * gdb.ada/array_return/pck.ads: New file.
20773         * gdb.ada/array_return/pck.adb: New file.
20774         * gdb.ada/array_return/p.adb: New file.
20775         * gdb.ada/array_return.exp: New testcase.
20776
20777 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
20778
20779         * gdb.base/arrayidx.c: New file.
20780         * gdb.base/arrayidx.exp: New testcase.
20781
20782 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
20783
20784         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
20785         frames-invalid and breakpoints-invalid are no longer generated
20786         with level 3 so don't expect them in the output.
20787
20788 2005-09-27  Bob Rossi  <bob@brasko.net>
20789
20790         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
20791         from test.  Escape the | in mi_gdb_test call.
20792         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
20793         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
20794         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
20795         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
20796         expected regex's in mi_gdb_test calls.
20797         * lib/mi-support.exp: Remove arbitrary .* from tests.
20798         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
20799         Fully anchor GDB/MI expected results in mi_gdb_test.
20800         * lib/gdb.exp (string_to_regexp): Escape the ] character.
20801         * gdb.base/sizeof.exp: Remove escape character. Correct test.
20802
20803 2005-09-26  Paul Brook  <paul@codesourcery.com>
20804
20805         * long_long.exp: Exclude eabi targets from arm FPA float format test.
20806
20807 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
20808
20809         * bfp-test.c: New file.
20810         * bfp-test.exp: New testcase.
20811
20812 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
20813
20814         * gdb.fortran/subarray.exp: New testcase to test the evaluation
20815         of subarray and substring variable.
20816         * gdb.fortran/subarray.f: New source file for the test of subarray
20817         and substring variable evaluation.
20818         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
20819         of string constant.
20820
20821 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
20822
20823         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
20824         copyright dates.
20825
20826 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
20827
20828         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
20829         powerpc altivec' test with an almost identical 'info vector' test.
20830
20831 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
20832
20833         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
20834         vscr" tests to match output.
20835
20836 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
20837
20838         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
20839         output.
20840
20841 2005-09-11  Bob Rossi  <bob@brasko.net>
20842
20843         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
20844         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
20845         commands that return an MI output command and an asyncronous MI output
20846         command.
20847         * gdb.mi/mi-console.exp: Ditto.
20848
20849 2005-09-11  Bob Rossi  <bob@brasko.net>
20850
20851         * gdb.mi/mi-var-child.c: Include <string.h>.
20852
20853 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
20854
20855         * killed.exp: Correct gdb_expect syntax.
20856
20857 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
20858
20859         * lib/mi-support.exp (mi_gdb_load): Fix typo.
20860
20861 2005-08-02  Bob Rossi  <bob@brasko.net>
20862
20863         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
20864         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
20865         Change tests to inferior-tty-set/show.
20866         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
20867         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
20868         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
20869         inferior.  Use mi_gdb_test to get GDB and Inferior output.
20870         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
20871         descriptor.
20872         (mi_inferior_tty_name): Add inferior PTY file name.
20873         (mi_gdb_start): Add INFERIOR_PTY parameter.
20874         (mi_gdb_test): Add IPATTERN parameter.
20875
20876 2005-08-02   Bob Rossi  <bob@brasko.net>
20877
20878         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
20879         parameter to mi_gdb_test.
20880         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
20881
20882 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
20883
20884         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
20885         struct_declarations.
20886         * gdb.mi/mi-var-child.exp: Step over the initialization of
20887         struct_declarations.
20888
20889 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
20890
20891         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
20892         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
20893         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
20894         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
20895         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
20896         file.
20897
20898 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
20899
20900         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
20901         (do_children_tests): Assign values to the extra elements.
20902
20903         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
20904         them for tests for "-var-update --no-values" and
20905         "-var-update --all-values".
20906         Add test for "-var-list-children --simple-values".
20907
20908         * gdb.mi/basics.c (callee4): Add integer array D[3]...
20909
20910         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
20911         "-stack-list-locals --simple-values"  Improve doc strings and
20912         comments.
20913
20914 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
20915
20916         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
20917         *-*-openbsd*.
20918         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
20919
20920         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
20921         sigaltsatck'.
20922
20923 2005-07-14  Bob Rossi  <bob@brasko.net>
20924
20925         * gdb.base/default.exp (tty): Changed output of command.
20926         * gdb.base/help.exp (help tty): Ditto.
20927
20928 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
20929
20930         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
20931
20932 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
20933
20934         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
20935         -stack-select-frame without arguments.
20936         (test_stack_frame_listing): Add test for newly implemented command
20937         -stack-info-frame.
20938
20939 2005-07-06  Bob Rossi  <bob@brasko.net>
20940
20941         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
20942         command.
20943         (Copyright): Update copyright.
20944
20945 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
20946
20947         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
20948         tests to evaluate exponentiation expression.
20949
20950 2005-06-29  Andreas Schwab  <schwab@suse.de>
20951
20952         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
20953         main to avoid warnings.
20954
20955         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
20956
20957 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
20958
20959         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
20960         -stack-select-frame without arguments.
20961         (test_stack_frame_listing): Add test for newly implemented command
20962         -stack-info-frame.
20963
20964 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
20965
20966         * gdb.fortran/array-element.f: New file.
20967         * gdb.fortran/array-element.exp: New testcase.
20968
20969 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
20970
20971         * gdb.base/bigcore.exp: Correct checks for systems which can
20972         not dump a large core file.
20973
20974 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
20975
20976         * gdb.base/relocate.c: Add a copyright notice.
20977         (dummy): Remove.
20978         * gdb.base/relocate.exp: Test printing the values of variables
20979         from a relocatable file.
20980
20981 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
20982
20983         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
20984         excess MI output after an error.
20985
20986 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
20987
20988         * gdb.arch/alpha-step.c: New file.
20989         * gdb.arch/alpha-step.exp: New testcase.
20990
20991 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
20992             Dennis Brueni  <dennis@slickedit.com>
20993
20994         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
20995         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
20996         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
20997         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
20998         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
20999         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
21000         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
21001
21002 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
21003             Wu Zhou  <woodzltc@cn.ibm.com>
21004
21005         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
21006         IBM's xlc compiler.
21007         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
21008         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
21009
21010 2005-05-13  Jim Blandy  <jimb@redhat.com>
21011
21012         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
21013         calling gdb_suppress_entire_file.
21014         * gdb.base/charset.exp: Same.
21015         * gdb.base/call-rt-st.exp: Same.
21016
21017 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
21018
21019         * lib/gdb.exp (fullname_syntax): Added global regex.
21020         (fullname_syntax_POSIX): Ditto.
21021         (fullname_syntax_UNC): Ditto.
21022         (fullname_syntax_DOS_CASE): Ditto.
21023         (fullname_syntax_DOS): Ditto.
21024         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
21025         fullname_syntax variable to scope and use it.
21026         (test_file_list_exec_source_files): Ditto.
21027         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
21028
21029 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
21030
21031         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
21032
21033 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
21034
21035         * lib/gdb.exp (skip_altivec_tests): New function, based on
21036         check_vmx_hw_available from the GCC testsuite.
21037         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
21038         * lib/gdb.arch/altivec-regs.exp: Likewise.
21039
21040 2005-05-02  Jim Blandy  <jimb@redhat.com>
21041
21042         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
21043         calling gdb_suppress_entire_file.
21044
21045 2005-04-30  Randolph Chung  <tausq@debian.org>
21046
21047         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
21048         Slightly relax "sem_post" name checking.
21049
21050 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
21051
21052         * gdb.base/unload.exp: Use new shared library infrastructure.
21053
21054 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
21055
21056         * gdb.base/so-impl-ld.exp: Use new shared library
21057         infrastructure.
21058
21059 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
21060
21061         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
21062         * gdb.asm/h8300.inc: New file.
21063
21064 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
21065
21066         * gdb.base/shlib-call.exp: Change to use new shared library
21067         infrastructure.
21068
21069 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
21070
21071         * gdb.base/pending.exp: Change to use new shared library
21072         infrastructure.
21073
21074 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
21075
21076         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
21077         use test_compiler_info instead of gcc_compiled, and update copyright.
21078
21079 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
21080
21081         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
21082         shared objects being adjusted and update copyright years.
21083
21084 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
21085
21086         * ChangeLog: Correct some 2003-01-13 dates.
21087         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
21088         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
21089         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
21090         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
21091         gdb.trace/tfind.exp: Update copyright years.
21092
21093 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
21094             Daniel Jacobowitz  <dan@codesourcery.com>
21095
21096         * lib/gdb.exp (gdb_compile): Handle shlib=.
21097         (gdb_compile_shlib): New function.
21098
21099 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
21100
21101         * lib/gdb.exp (test_compiler_info): Give argument a default value.
21102
21103 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
21104
21105         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
21106         gdb.server.
21107         * configure.ac: Likewise.
21108         * configure: Regenerated.
21109         * gdb.gdbserver/Makefile.in: Moved to...
21110         * gdb.server/Makefile.in: ... here.
21111         * gdb.gdbserver/server.c: Moved to...
21112         * gdb.server/server.c: ... here.
21113         * gdb.gdbserver/server-run.exp: Moved to...
21114         * gdb.server/server-run.exp: ... here.
21115
21116 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
21117
21118         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
21119         * configure.ac: Create gdb.gdbserver/Makefile.
21120         * configure: Regenerated.
21121         * lib/gdbserver-support.exp: New file, derived from
21122         config/gdbserver.exp.
21123         * config/gdbserver.exp: Use gdbserver-support.exp.
21124         * gdb.gdbserver/Makefile.in: New file.
21125         * gdb.gdbserver/server.c: New file.
21126         * gdb.gdbserver/server-run.exp: New file.
21127
21128 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
21129
21130         * lib/gdb.exp (test_compiler_info): Return compiler_info
21131         if no arguments are given.
21132
21133 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
21134
21135         * gdb.arch/altivec-abi.exp: Check for compiler and set
21136         use altivec' flag accordingly.
21137         * gdb.arch/altivec-regs.exp: Likewise.
21138
21139 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
21140
21141         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
21142
21143 2005-03-27  Andreas Schwab  <schwab@suse.de>
21144
21145         * gdb.base/bigcore.c (main): Add missing mode argument in open
21146         call.
21147
21148 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
21149
21150         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
21151         downloads.
21152         * config/gdbserver.exp (gdb_load): Likewise.
21153
21154 2005-03-14  Paul Brook  <paul@codesourcery.com>
21155
21156         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
21157         targets.
21158
21159 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
21160
21161         * gdb.dwarf2/dup-psym.S: New file.
21162         * gdb.dwarf2/dup-psym.exp: New testcase.
21163
21164 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
21165
21166         * gdb.ada/exec_changed/first.adb: New file.
21167         * gdb.ada/exec_changed/second.adb: New file.
21168         * gdb.ada/exec_changed.exp: New testcase.
21169
21170 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
21171
21172         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
21173         (A2): New class.
21174         (main): Test operator+.
21175         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
21176         breakpoint test.
21177
21178         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
21179         * gdb.base/signull.exp: Disable if gdb,nosignals.
21180         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
21181         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
21182         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
21183         * gdb.mi/mi2-console.exp: Likewise.
21184         * gdb.trace/collection.exp (run_trace_experiment): Consume the
21185         continue output at start.
21186         (gdb_collect_locals_test): Robustify regexp.
21187         * gdb.trace/passc-dyn.exp: Fix comment typo.
21188         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
21189
21190 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
21191
21192         * gdb.asm/asm-source.exp: Add iq2000 case.
21193         * gdb.asm/iq2000.inc: New file.
21194
21195 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
21196
21197         * gdb.base/command.exp: Change hardcoded value to regular expression.
21198         * gdb.base/float.exp: Add powerpc to the list of targets checked.
21199
21200 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
21201
21202         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
21203         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
21204         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
21205         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
21206         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
21207
21208 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
21209
21210         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
21211         changes.
21212
21213 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
21214
21215         * lib/compiler.c: Add test for IBM's xlc compiler.
21216         * lib/compiler.cc: Likewise.
21217
21218 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
21219
21220         * gdb.ada/fixed_points.exp: Create compilation object directory
21221         before running the test.
21222         * gdb.ada/null_record.exp: Likewise.
21223         * gdb.ada/packed_array.exp: Likewise.
21224         * gdb.ada/start.exp: Likewise.
21225
21226 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
21227
21228         * gdb.ada/packed_array/pa.adb: New file.
21229         * gdb.ada/packed_array.exp: New testcase.
21230
21231 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
21232
21233         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
21234         files.
21235
21236         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
21237         on *-*-openbsd*.  Correctly match whitespace in regukar
21238         expressions.
21239
21240 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
21241
21242         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
21243         PR exp/1821
21244         * gdb.base/gdb1821.c: New test file.
21245         * gdb.base/gdb1821.exp: New test file.
21246
21247 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
21248
21249         * gdb.base/start.c: New file.
21250         * gdb.base/start.exp: New testcase.
21251
21252 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
21253
21254         * gdb.ada/start/dummy.adb: New file.
21255         * gdb.ada/start.exp: New testcase.
21256
21257 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
21258
21259         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
21260         for printing symbols and statistics.
21261         Add test for using relative pathnames in "maint print msymbols" test.
21262         Mark "maint info sections DATA" XFAIL on Cygwin.
21263         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
21264         tests.
21265
21266 2005-02-09  Andreas Schwab  <schwab@suse.de>
21267
21268         Committed by Andrew Cagney  <cagney@gnu.org>
21269         * gdb.base/remotetimeout.exp: New file.
21270
21271 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
21272
21273         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
21274
21275 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
21276
21277         * gdb.ada/gnat_ada.gpr: New file.
21278         * gdb.ada/gnat_ada.gin: Delete, no longer used.
21279         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
21280         * configure.ac: No longer generate gnat_ada.gpr.
21281         * configure: Regenerate.
21282         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
21283         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
21284         * gdb.ada/null_record/bar.ads: Likewise.
21285         * gdb.ada/null_record/bar.adb: Likewise.
21286         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
21287         * gdb.ada/null_record.exp (testdir): New variable.
21288         (testfile): executable is now in testdir subdirectory.
21289         (srcfile): Use full path to the main compilation unit.
21290         * gdb.ada/fixed_points.exp: Same changes as above.
21291
21292 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
21293
21294         * gdb.base/interp.exp: New test.
21295
21296 2005-01-24  Andrew Cagney  <cagney@gnu.org>
21297
21298         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
21299
21300 2005-01-19  Andrew Cagney  <cagney@gnu.org>
21301
21302         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
21303         configure.ac not configure.in.
21304
21305         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
21306         of powerpc*-*-*.
21307         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
21308         * gdb.base/list.exp (test_list_function)
21309         (test_list_filename_and_function): Ditto.
21310         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
21311
21312 2005-01-16  Andrew Cagney  <cagney@gnu.org>
21313
21314         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
21315
21316         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
21317
21318 2005-01-14  Andrew Cagney  <cagney@gnu.org>
21319
21320         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
21321         * gdb.mi/mi2-var-cmd.exp: Ditto.
21322
21323 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
21324
21325         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
21326
21327 2005-01-07  Andrew Cagney  <cagney@gnu.org>
21328
21329         * configure.ac: Rename configure.in, require autoconf 2.59.
21330         * configure: Re-generate.
21331         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
21332         * gdb.stabs/configure: Re-generate.
21333         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
21334         * gdb.hp/configure: Re-generate.
21335         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
21336         autoconf 2.59.
21337         * gdb.hp/gdb.objdbg/configure: Re-generate.
21338         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
21339         autoconf 2.59.
21340         * gdb.hp/gdb.defects/configure: Re-generate.
21341         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
21342         autoconf 2.59.
21343         * gdb.hp/gdb.compat/configure: Re-generate.
21344         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
21345         autoconf 2.59.
21346         * gdb.hp/gdb.base-hp/configure: Re-generate.
21347         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
21348         autoconf 2.59.
21349         * gdb.hp/gdb.aCC/configure: Re-generate.
21350
21351 2004-12-15  Jim Blandy  <jimb@redhat.com>
21352
21353         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
21354         under NPTL when there is debugging info available for libpthread.
21355
21356 2004-12-13  Jerome Guitton  <guitton@gnat.com>
21357
21358         * gdb.ada/fixed_points.c: New file.
21359         * gdb.ada/fixed_points.exp: New file.
21360
21361 2004-12-03  Randolph Chung  <tausq@debian.org>
21362
21363         * gdb.arch/pa-nullify.exp: New file.
21364         * gdb.arch/pa-nullify.s: New file.
21365
21366 2004-11-30  Randolph Chung  <tausq@debian.org>
21367
21368         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
21369         instead of "tbug".  Fix regexp to work properly with gdb_test.
21370
21371 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
21372
21373         * gdb.base/bitfields2.exp: New test.
21374         * gdb.base/bitfields2.c: New file.
21375
21376 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
21377
21378         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
21379
21380 2004-11-16  Randolph Chung  <tausq@debian.org>
21381
21382         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
21383
21384 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
21385
21386         * gdb.threads/threadapply.exp: Correct "macro details" test.
21387
21388 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
21389
21390         * gdb.threads/threadapply.exp: New test.
21391         * gdb.threads/threadapply.c: New file.
21392
21393 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
21394
21395         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
21396         frames.
21397
21398 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
21399
21400         * gdb.base/cursal.exp: New file.
21401         * gdb.base/cursal.c: New file.
21402
21403 2004-11-03  Andrew Cagney  <cagney@gnu.org>
21404
21405         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
21406
21407 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
21408
21409         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
21410         NetBSD/ELF targets.
21411
21412 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
21413
21414         * gdb.threads/bp_in_thread.c: New file, copied from
21415         pthread_cond_wait.c.
21416         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
21417         file, rather than reusing the .c file from another testcase.
21418
21419 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
21420
21421         * gdb.ada/null_record.exp: Check where we stopped after
21422         sending the start command, instead of where the associated
21423         temporary breakpoint was inserted.
21424
21425 2004-10-14  Andrew Cagney  <cagney@gnu.org>
21426
21427         * gdb.mi/gdb701.c (main): Return 0.
21428
21429 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
21430
21431         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
21432
21433 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
21434
21435         * gdb.threads/schedlock.c: Add comment markers to use to find
21436         line numbers.
21437         * gdb.threads/schedlock.exp: Adjust regex to handle the new
21438         comments.
21439         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
21440         breakpoint lines.
21441
21442 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
21443
21444         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
21445
21446 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
21447
21448         * configure.in: Add gdb.dwarf2.
21449         * configure: Regenerated.
21450         * Makefile.in: Add gdb.dwarf2.
21451         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
21452         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
21453         gdb.dwarf2/file1.txt: New files.
21454
21455 2004-10-11  Orjan Friberg  <orjanf@axis.com>
21456
21457         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
21458         of "run", since the latter doesn't work with remote targets.  Adjust
21459         the breakpoint numbering accordingly.
21460         * gdb.threads/pthread_cond_wait.exp: Ditto.
21461
21462 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
21463
21464         * gdb.base/overlays.exp: Update copyright years.
21465
21466 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
21467
21468         * gdb.base/overlays.exp: Disable if target is Linux.
21469
21470 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
21471
21472         * config/gdbserver.exp (gdb_load): Use right filename on remote.
21473
21474 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
21475
21476         * gdb.asm/asm-source.exp: Add m32r-linux target.
21477         * gdb.asm/m32r-linux.inc: New file.
21478
21479 2004-09-24  Andrew Cagney  <cagney@redhat.com>
21480             David Anderson <anderson@redhat.com>
21481
21482         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
21483         command fails, assume things will work.
21484         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
21485         (_GNU_SOURCE): Define.
21486         (print_unsigned, print_hex): Change parameter to "long long".
21487         (print_byte_count): New function, use to print byte counts.
21488         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
21489         O_LARGEFILE.
21490         (main): Compute an upper bound on a corefile in max_core_size.
21491         Limit memory chunk size to max_core_size.  Limit total memory
21492         allocated to max_core_size.
21493
21494 2004-09-23  Andrew Cagney  <cagney@gnu.org>
21495
21496         * gdb.base/bigcore.exp: Replace the code that creates a corefile
21497         from a separate process with code that creates a corefile by
21498         making the inferior dump core.
21499
21500 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
21501
21502         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
21503         block.
21504
21505 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
21506
21507         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
21508         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
21509         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
21510         Likewise.
21511
21512 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
21513
21514         * gdb.java/jprint.exp: New test case for java inferior call.
21515         * gdb.java/jprint.java: Ditto.
21516
21517 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
21518
21519         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
21520
21521 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
21522
21523         * gdb.threads/killed.c: Include <stdlib.h>.
21524         * gdb.threads/pthreads.c: Likewise.
21525
21526 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
21527
21528         * gdb.threads/killed.c: Add copyright notice.
21529
21530 2004-09-10  Jason Molenda  (jmolenda@apple.com)
21531
21532         * gdb.base/define.exp: Two new tests to verify zero space chars
21533         after 'if' and 'while' commands in a user-defined command is correctly
21534         parsed.
21535
21536 2004-09-08  Andrew Cagney  <cagney@gnu.org>
21537
21538         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
21539         delivery test with duplicate at end of file.
21540
21541 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
21542
21543         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
21544
21545 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
21546
21547         * config/hppro.exp: Removed.
21548
21549 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
21550
21551         * config/sparclet.exp: Removed.
21552
21553 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
21554
21555         * config/udi.exp: Removed.
21556
21557 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
21558
21559         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
21560         of "exp_continue".
21561         (advancei): Likewise.
21562
21563 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
21564
21565         * gdb.base/unload.exp: Fix so messages aren't duplicated.
21566
21567 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
21568
21569         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
21570         to check for nodebug in executable.
21571         * gdb.gdb/observer.exp (setup_test): Likewise.
21572         * gdb.gdb/selftest.exp (test_with_self): Likewise.
21573         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
21574
21575 2004-09-01  Andrew Cagney  <cagney@gnu.org>
21576
21577         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
21578         files.
21579
21580 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
21581
21582         * gdb.base/unload.exp: Fix expected warning message to match
21583         latest format.
21584
21585 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
21586
21587         * gdb.base/call-rt-st.exp: Fix typos.
21588
21589 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
21590
21591         * gdb.threads/thread_check.exp: New testcase.
21592         * gdb.threads/thread_check.c: New testcase.
21593
21594 2004-08-31  Andrew Cagney  <cagney@gnu.org>
21595
21596         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
21597         (skip_to_handler_entry): New procedures.  Test stepping into a
21598         handler when the breakpoint is at the handler's entry point.
21599
21600 2004-08-30  Andrew Cagney  <cagney@gnu.org>
21601
21602         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
21603         gdb/1757.
21604
21605 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
21606
21607         With code from Manoj Iyer <manjo@austin.ibm.com>:
21608         * lib/gdb.exp (gdb_file_cmd): Return more information in the
21609         return value.  Add an arm for "no debugging symbols found".
21610         Change a stray "error" to "perror".
21611         (gdb_run_cmd): Adapt to new return value.
21612         * gdb.base/remote.exp: Adapt to new return value.
21613         * gdb.gdb/complaints.exp: Likewise.
21614         * gdb.gdb/observer.exp: Likewise.
21615         * gdb.gdb/selftest.exp: Likewise.
21616         * gdb.gdb/xfullpath.exp: Likewise.
21617
21618 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
21619
21620         * gdb.threads/bp_in_thread.exp: New testcase.
21621
21622 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
21623
21624         Fix PR testsuite/1735.
21625         * gdb.threads/schedlock.c (thread_function): Add a cast
21626         to suppress a gcc warning.
21627         * gdb.threads/thread-specific.c (thread_function): Likewise.
21628
21629 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
21630
21631         * gdb.base/unload.c: Include <stdlib.h>.
21632
21633 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
21634
21635         From Paul Gilliam <pgilliam@us.ibm.com>:
21636         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
21637         synchronized after the "return".
21638
21639 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
21640
21641         * gdb.mi/basics.c: Include <stdio.h>.
21642         * gdb.mi/pthreads.c: Include <stdlib.h>.
21643         * gdb.mi/var-cmd.c: Include <stdlib.h>.
21644
21645 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
21646
21647         * gdb.threads/schedlock.c: Add copyright notice.
21648
21649 2004-08-25  Andrew Cagney  <cagney@gnu.org>
21650
21651         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
21652         (skip_over_handler, breakpoint_over_hander): New test procedures.
21653         (advance, advancei): Add a proper prefix, do not use
21654         rerun_to_main.
21655         * gdb.base/sigstep.c (main): Change to use an infinite loop.
21656
21657 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
21658
21659         * gdb.mi/basics.c: Add copyright notice.
21660         * gdb.mi/var-cmd.c: Add copyright notice.
21661
21662 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
21663
21664         * lib/gdb.exp: Remove signed_keyword_not_used.
21665         * lib/compiler.c: Likewise.
21666         * lib/compiler.cc: Likewise.
21667
21668 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
21669
21670         * gdb.base/whatis.c: Remove conditional disabling of "signed".
21671         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
21672
21673 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
21674
21675         * gdb.base/whatis.c: Add copyright notice.
21676
21677 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
21678
21679         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
21680         it to skip the breakpoints encoded in the inline assembly.
21681
21682 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
21683
21684         * Makefile.in: Add gdb.fortran.
21685
21686 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
21687
21688         * gdb.base/call-sc.exp (test_scalar_returns):
21689         Fix cut-and-paste glitch in "Make fun return now".
21690
21691 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
21692
21693         * configure.in: Add gdb.fortran.
21694         * configure: Regenerate.
21695         * gdb.fortran/Makefile.in: New file.
21696         * lib/gdb.exp (skip_fortran_tests): New procedure.
21697
21698 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
21699
21700         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
21701         reference to bug-gnu@prep.ai.mit.edu.
21702         * gdb.mi/mi-var-child.exp: Likewise.
21703         * gdb.mi/mi-var-cmd.exp: Likewise.
21704         * gdb.mi/mi-var-display.exp: Likewise.
21705         * gdb.mi/mi2-var-block.exp: Likewise.
21706         * gdb.mi/mi2-var-child.exp: Likewise.
21707         * gdb.mi/mi2-var-cmd.exp: Likewise.
21708         * gdb.mi/mi2-var-display.exp: Likewise.
21709
21710 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
21711
21712         * gdb.base/unload.c (main): Make local variable msg const.
21713
21714 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
21715
21716         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
21717         to bug-gnu@prep.ai.mit.edu.
21718         * gdb.mi/mi-disassemble.exp: Likewise.
21719         * gdb.mi/mi-eval.exp: Likewise.
21720         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
21721         default line number.
21722         * gdb.mi/mi-return.exp: Likewise.
21723         * gdb.mi/mi-simplerun.exp: Likewise.
21724         * gdb.mi/mi-stack.exp: Likewise.
21725         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
21726         number with explicit range test.
21727         * gdb.mi/mi-watch.exp: Likewise.
21728         * gdb.mi/mi2-break.exp: Likewise.
21729         * gdb.mi/mi2-cli.exp: Likewise.
21730         * gdb.mi/mi2-disassemble.exp: Likewise.
21731         * gdb.mi/mi2-eval.exp: Likewise.
21732         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
21733         default line number.
21734         * gdb.mi/mi2-return.exp: Likewise.
21735         * gdb.mi/mi2-simplerun.exp: Likewise.
21736         * gdb.mi/mi2-stack.exp: Likewise.
21737         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
21738         number with explicit range test.
21739         * gdb.mi/mi2-watch.exp: Likewise.
21740
21741 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
21742
21743         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
21744         * gdb.cp/m-static.exp: Likewise.
21745         * gdb.cp/rtti.exp: Likewise.
21746
21747 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
21748
21749         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
21750
21751 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
21752
21753         * ChangeLog: Prefix Local Variables with semi-colons and indent
21754         the reference to older ChangeLog files, to fix fontification in
21755         Emacs.
21756
21757 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
21758
21759         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
21760         * gdb.mi/mi2-break.exp: Likewise.
21761
21762 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
21763
21764         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
21765
21766 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
21767
21768         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
21769
21770 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
21771
21772         * gdb.cp/classes.exp: Remove unused declarations.  Just let
21773         test names default instead of providing special names.  Remove
21774         extraneous demangler test.
21775
21776 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
21777
21778         * gdb.base/unload.exp: New test for breakpoints in dynamically
21779         loaded libraries.
21780         * gdb.base/unload.c: Ditto.
21781         * gdb.base/unloadshr.c: Ditto.
21782
21783 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
21784
21785         * gdb.cp/classes.exp (test_ptype_class_objects): Call
21786         cp_test_ptype_class.
21787         (test_enums): Likewise.
21788
21789 2004-08-10  Andrew Cagney  <cagney@gnu.org>
21790
21791         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
21792         files.
21793
21794 2004-08-10  Andrew Cagney  <cagney@gnu.org>
21795
21796         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
21797         init_malloc call.
21798
21799 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
21800
21801         * ChangeLog: Add copyright notice.  The notice is copied
21802         from emacs 21.3 top level ChangeLog.
21803
21804 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
21805
21806         * lib/cp-support.exp: New file.
21807         * lib/cp-support.exp (cp_test_type_class): New function.
21808         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
21809         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
21810         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
21811         cp_test_ptype_class.
21812
21813 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
21814
21815         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
21816         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
21817         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
21818         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
21819         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
21820         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
21821         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
21822         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
21823         gdb.mi/mi2-watch.exp: Update copyright years.
21824
21825 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
21826
21827         * gdb.base/sigaltstack.exp: Provide proper anchoring.
21828
21829 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
21830
21831         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
21832         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
21833         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
21834         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
21835         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
21836         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
21837         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
21838         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
21839         gdb.mi/mi-watch.exp: Update copyright years.
21840
21841 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
21842
21843         PR gdb/1738
21844         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
21845         from a breakpoint with a pending signal.
21846
21847 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
21848
21849         PR gdb/1736
21850         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
21851         * gdb.base/sigaltstack.exp (finish_test): Consume output until
21852         the prompt.
21853         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
21854
21855 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
21856
21857         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
21858
21859 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
21860
21861         PR gdb/1736
21862         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
21863         for i?86-*-linux*.
21864
21865 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
21866
21867         * gdb.arch/i386-prologue.exp: Compile without debug information.
21868
21869 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
21870
21871         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
21872         rather than asking gdb to search.
21873
21874 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
21875
21876         * gdb.base/gcore.c: Include <string.h>.
21877
21878 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
21879
21880         * gdb.base/gcore.c: Add copyright notice.
21881
21882 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
21883
21884         * gdb.base/freebpcmd.c: Include <stdio.h>.
21885         * gdb.base/long_long.c: Include <string.h>.
21886         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
21887         * gdb.base/siginfo.c: Include <string.h>.
21888         * gdb.base/sigstep.c: Include <string.h>.
21889
21890 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
21891
21892         * gdb.base/complex.c: Include <stdlib.h>.
21893
21894 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
21895
21896         * gdb.base/complex.c: Add copyright notice.
21897
21898 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
21899
21900         * gdb.base/charset.c: Include <stdlib.h>.
21901
21902 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
21903
21904         * gdb.base/auxv.c: Include <stdlib.h>.
21905
21906 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
21907
21908         * gdb.base/auxv.c: Add copyright notice.
21909
21910 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
21911
21912         * gdb.base/coremaker.c: Add copyright notice.
21913         * gdb.base/coremaker2.c: Add copyright notice.
21914
21915 2004-08-04  Andrew Cagney  <cagney@gnu.org>
21916
21917         * gdb.base/store.exp: Update copyright.
21918         (check_set, up_set, check_struct, up_struct): Add a prefix to test
21919         names, do not import gdb_prompt.
21920
21921 2004-08-01  Andrew Cagney  <cagney@gnu.org>
21922
21923         Fix PR testsuite/1729.
21924         * gdb.base/dump.exp: Add test name to callers of capture_value, do
21925         not use capture_value with value 4.
21926         (capture_value): Add optional test name parameter.
21927         (test_reload_saved_value, test_restore_saved_value): Use $msg as
21928         the prefix, pass to capture_value.
21929
21930 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
21931
21932         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
21933         * gdb.arch/i386-prologue.c (standard): New prototype and function.
21934         (main): Call new function.
21935
21936 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
21937
21938         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
21939
21940 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
21941
21942         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
21943
21944 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
21945
21946         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
21947         Accept more values of vtbl pointer.  Remove some messages
21948         about "obsolete gcc or gdb".
21949
21950 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
21951
21952         * gdb.cp/classes.exp: Accept more varieties of ptype output.
21953
21954 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
21955
21956         * gdb.base/asm-source.exp: Properly convert target board
21957         debug flags from gcc format to binutils format.
21958
21959 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
21960
21961         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
21962         gdb1718".  PR backtrace/1718 partially fixed.
21963
21964 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
21965
21966         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
21967
21968 2004-07-26  Nick Clifton  <nickc@redhat.com>
21969
21970         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
21971         good default value for a specific architecture is available then
21972         set it to that value.  Otherwise default to the -gstabs switch.
21973         Remove the -g... switches from the asm-flags variable.  Allow the
21974         target board info to override the value if it wants to.  Pass the
21975         switch on the assembler command line.
21976
21977 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
21978
21979         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
21980         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
21981         (main): Call new function.
21982
21983 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
21984
21985         Test for PR exp/1715.
21986         * gdb.base/radix.exp: Refactor common procedures.  Make all
21987         test names unique.  Change XFAIL to KFAIL.
21988
21989 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
21990
21991         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
21992         * gdb.ada/gnat_ada.gin: ... to here.
21993         * configure.in: Use gnat_ada.gin.
21994         * configure: Regenerate.
21995
21996 2004-07-20  Andrew Cagney  <cagney@gnu.org>
21997
21998         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
21999         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
22000         XFAILs.  Clean up test messages and comments.  Check backtraces.
22001         Delete re-sync code.
22002
22003 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
22004
22005         Fix PR cli/740.
22006         * gdb.base/annota1.exp: Honor gdb,nosignals.
22007         * gdb.base/annota3.exp: Likewise.
22008
22009 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
22010
22011         * lib/java.exp: Update copyright notice.
22012
22013 2004-07-19  Andrew Cagney  <cagney@gnu.org>
22014
22015         * gdb.base/selftest.exp: Copy file from here ...
22016         * gdb.gdb/selftest.exp: ... to here.
22017
22018 2004-07-16  Andrew Cagney  <cagney@redhat.com>
22019
22020         * lib/insight-support.exp: Delete file.
22021         * lib/java.exp (java_init): Fix copyright.
22022
22023 2004-07-16  Andrew Cagney  <cagney@gnu.org>
22024
22025         * gdb.base/restore.c: Append "prologue" to comments marking the a
22026         function's prologue.
22027         * gdb.base/restore.exp: Update copyright, re-indent.
22028         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
22029         callerN" prefix where needed.  Update patterns that match a
22030         function's prologue.
22031
22032 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
22033
22034         * gdb.base/restore.c: Add copyright notice.
22035
22036 2004-07-16  Andrew Cagney  <cagney@gnu.org>
22037
22038         * gdb.base/logical.exp: Update copyright.
22039         (evaluate): New procedure.  Use to re-implement tests using
22040         several tables.
22041
22042 2004-07-14  Martin Hunt  <hunt@redhat.com>
22043
22044         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
22045         which fixes some problems where init.tcl was not found.
22046
22047 2004-07-13  Andrew Cagney  <cagney@gnu.org>
22048
22049         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
22050         (check_sizeof, check_valueof): Do not include the output in the
22051         test name.  Use gdb_test.
22052         (get_valueof): Use gdb_test_multiple.
22053
22054         * gdb.base/step-test.exp: Update copyright.  Use
22055         gdb_test_multiple.  Ensure that test names do not include
22056         architecture dependent output.
22057
22058         * gdb.gdb/observer.exp: Update copyright.
22059         (setup_test): Use gdb_test_multiple.
22060         (attach_first_observer, attach_second_observer)
22061         (attach_third_observer, detach_first_observer)
22062         (detach_second_observer, detach_third_observer)
22063         (reset_counters, check_counters): Make $message a prefix.
22064         (test_normal_stop_notifications): Add "args" parameter - a list of
22065         init functions to be called.  Make $message a prefix,
22066         (test_observer_normal_stop): Change the message prefixes so that
22067         they are unique, pass the attach / detach procedures to
22068         test_normal_stop_notifications.
22069
22070         * gdb.base/signull.exp (test_segv): Prefix all tests with
22071         "${name}".  Clean up test messages.
22072
22073         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
22074
22075         * gdb.base/ena-dis-br.exp: Update copyright.
22076         (break_at): New function.  Replace send_gdb with gdb_test,
22077         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
22078         ignore count, not stopped at bpt", with KFAIL.
22079
22080 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
22081
22082         * gdb.base/attach.exp: Remove cleanupfile handling.
22083
22084 2004-07-12  Andrew Cagney  <cagney@gnu.org>
22085
22086         * gdb.base/annota1.exp: Cleanup corefile test name.
22087         * gdb.base/annota3.exp: Ditto.
22088
22089 2004-07-12  Andrew Cagney  <cagney@gnu.org>
22090
22091         * gdb.base/signals.exp: Clean up copyright, re-indent.
22092
22093         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
22094         gdb_test and gdb_test_multiple.
22095
22096 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
22097
22098         * gdb.java/jmain.exp: Fix expected line number for main to
22099         break at.  Set XFAIL for break at main test since gcj does not
22100         provide line number info for first statement in main.
22101
22102 2004-07-08  Andrew Cagney  <cagney@gnu.org>
22103
22104         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
22105
22106         * gdb.base/sigbpt.exp: Make the common part of each test name a
22107         prefix instead of suffix.
22108
22109 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
22110
22111         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
22112         test from test_tbreak_creation_and_listing to
22113         test_file_list_exec_source_file
22114         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
22115         Changed name of test from test_tbreak_creation_and_listing to
22116         test_file_list_exec_source_file
22117
22118 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
22119
22120         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
22121         the jmisc() constructor instead of <init>.
22122         * gdb.java/jmisc1.exp: Ditto.
22123
22124 2004-07-07  Andrew Cagney  <cagney@gnu.org>
22125
22126         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
22127         corrupting the PC.
22128
22129 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
22130
22131         * gdb.cp/templates.exp: Accept whitespace change in demangler
22132         output.
22133
22134 2004-07-06  Andrew Cagney  <cagney@gnu.org>
22135
22136         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
22137
22138 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
22139
22140         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
22141         * lib/compiler.cc: Likewise.
22142
22143 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
22144
22145         * lib/compiler.cc: Work around string preprocessing problem
22146         with old hp c++ compiler.
22147         * lib/compiler.c: Likewise.
22148
22149 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
22150
22151         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
22152         directives to conditionalize symbol prefixing.
22153         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
22154         additional_flags handling.  Add underscore prefix for Cygwin.
22155         * gdb.arch/i386-unwind.c: Use preprocessor directives to
22156         conditionalize symbol prefixing.
22157         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
22158         additional_flags handling.  Add underscore prefix for Cygwin.
22159
22160 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
22161
22162         * gdb.base/bigcore.exp: Skip test on Cygwin.
22163
22164 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
22165
22166         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
22167         formats for "info register".  Use gdb_test_multiple.  Fix
22168         the "invalid register" test.
22169
22170 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
22171
22172         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
22173         PID for Cygwin.  Add Cygwin specific strings to check for in some
22174         tests.
22175         (do_attach_tests): Add a test for user interaction when attaching
22176         to a process with no matching symbol table already loaded.
22177
22178 2004-06-26  Andrew Cagney  <cagney@gnu.org>
22179
22180         Test PR java/1567 and PR java/1565.
22181         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
22182         * gdb.java/jmisc2.exp: Delete file.
22183
22184 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
22185
22186         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
22187
22188 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
22189
22190         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
22191         attach process.
22192
22193 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
22194
22195         * gdb.cp/pr-1553.exp: Remove.
22196
22197 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
22198
22199         * gdb.cp/pr-1553.cc: Remove.
22200         * gdb.cp/pr-1553.exp: Disable this test.
22201
22202 2004-06-20  Jim Blandy  <jimb@redhat.com>
22203
22204         Fix PR testsuite/1680.
22205         * gdb.arch/i386-sse.exp: Properly quote curly braces in
22206         regular expressions.
22207
22208 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
22209
22210         Fix PR testsuite/1679.
22211         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
22212         Issue an UNSUPPORTED result instead.
22213
22214 2004-06-18  Jim Blandy  <jimb@redhat.com>
22215
22216         * gdb.base/charset.exp: Only send a control-C if we see a new
22217         prompt and incomplete command.
22218
22219 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
22220
22221         * gdb.cp/pr-574.cc: Add copyright notice.
22222
22223 2004-06-17  Jim Blandy  <jimb@redhat.com>
22224
22225         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
22226         cases where the regexp has no groups; this grabs random text from
22227         the previous test suite, whatever that was.
22228
22229 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
22230
22231         * gdb.cp/printmethod.cc: Add copyright notice.
22232
22233 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
22234
22235         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
22236
22237 2004-06-16  Andrew Cagney  <cagney@gnu.org>
22238
22239         * gdb.base/signull.c: Update copyright.  Include <string.h>.
22240         (bowler): Replace data_pointer with data_read
22241         and data_write cases.  Add code_descriptor case.
22242         (zero, desc): New array and pointer.
22243         (data, code): Change to simple pointers.
22244         * gdb.base/signull.exp: Fix probe pattern matching a function
22245         descriptor SIGSEGV.  Replace data_pointer with data_read and
22246         data_write tests.
22247
22248 2004-06-16  Andrew Cagney  <cagney@gnu.org>
22249
22250         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
22251
22252 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
22253
22254         * gdb.base/long_long.c: Add copyright notice.
22255
22256 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
22257
22258         * gdb.base/long_long.exp: Remove reference to
22259         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
22260         to gdb_breakpoint and gdb_continue_to_breakpoint.
22261
22262 2004-06-14  Jim Blandy  <jimb@redhat.com>
22263
22264         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
22265         endian case.
22266
22267 2004-06-14  Andrew Cagney  <cagney@gnu.org>
22268
22269         * gdb.base/gcore.exp (capture_command_output): Delete the always
22270         passing tests containing inferior values.
22271         * gdb.base/ending-run.exp: Do not include the breakpoint address
22272         in the test message.  Update copyright.
22273         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
22274         size in the test name, use gdb_test_multiple.  Update copyright.
22275
22276 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
22277
22278         * gdb.cp/ref-types.cc: Add copyright notice.
22279
22280 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
22281
22282         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
22283         hp_aCC_compiler.
22284         * lib/compiler.cc: Likewise.
22285         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
22286         'set' commands.  Log diagnostics for other lines.  Set
22287         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
22288
22289 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
22290
22291         * gdb.cp/try_catch.cc: Add copyright notice.
22292
22293 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
22294
22295         * gdb.cp/userdef.cc: Add copyright notice.
22296
22297 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
22298
22299         * gdb.cp/virtfunc.cc: Add copyright notice.
22300
22301 2004-06-11  Randolph Chung  <tausq@debian.org>
22302
22303         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
22304         problem.
22305
22306 2004-06-10  Andrew Cagney  <cagney@gnu.org>
22307
22308         * lib/compiler.cc, lib/compiler.c: Append either
22309         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
22310         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
22311         instead of gcc-3-3.
22312
22313 2004-06-09  Andrew Cagney  <cagney@gnu.org>
22314
22315         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
22316         gdb/1455, bug is specific to "long long" and "double".
22317
22318         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
22319         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
22320         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
22321         fixed.
22322
22323 2004-06-09  Andrew Cagney  <cagney@gnu.org>
22324
22325         * gdb.base/structs.exp (test_struct_returns): Replace
22326         "return_value_unknown" and "finish_value_unknown" by
22327         "return_value_known" and "finish_value_known".  Instead of
22328         "return_value_unknown" iff "finish_value_unknown", check
22329         "return_value_known" implies "finish_value_known".
22330
22331 2004-06-08  Martin Hunt  <hunt@redhat.com>
22332
22333         * gdb.base/float.exp: Add pattern for mips targets.
22334
22335 2004-06-08  Randolph Chung  <tausq@debian.org>
22336
22337         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
22338         message for unknown architectures more clear.
22339
22340 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
22341
22342         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
22343         start the execution of the program.
22344
22345 2004-06-07  Jim Blandy  <jimb@redhat.com>
22346
22347         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
22348         * gdb.arch/i386-cpuid.h: New helper file.
22349
22350 2004-06-07  Randolph Chung  <tausq@debian.org>
22351
22352         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
22353         has started.
22354
22355 2004-06-04  Roland McGrath  <roland@redhat.com>
22356
22357         Fix PR gdb/1647.
22358         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
22359         differently to be robust to output buffering differences.
22360
22361 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
22362
22363         * gdb.threads/pthreads.exp: Update copyright years.
22364         (check_control_c): Change asynchronous 'after' to synchronous.
22365
22366 2004-06-04  Roland McGrath  <roland@redhat.com>
22367
22368         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
22369         next gdb prompt.
22370
22371 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
22372
22373         Fix PR gdb/1636.
22374         * gdb.threads/manythreads.exp: Change asynchronous 'after'
22375         calls to synchronous.
22376
22377 2004-05-26  Jim Blandy  <jimb@redhat.com>
22378
22379         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
22380
22381 2004-05-24  Randolph Chung  <tausq@debian.org>
22382
22383         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
22384         * gdb.asm/pa.inc: New file.
22385
22386 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
22387
22388         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
22389
22390 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
22391             Daniel Jacobowitz  <drow@mvista.com>
22392
22393         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
22394         GDB prompt.
22395
22396 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22397
22398         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
22399         setjmp/longjmp.  Use sigaction instead of signal.
22400
22401 2004-05-19  J. Brobecker  <brobecker@gnat.com>
22402             Michael Snyder  <msnyder@redhat.com>
22403
22404         * gdb.threads/pthread_cond_wait.c: New file.
22405         * gdb.threads/pthread_cond_wait.exp: New testcase.
22406
22407 2004-05-13  Andrew Cagney  <cagney@redhat.com>
22408
22409         * gdb.base/signull.exp, gdb.base/signull.c: New files.
22410         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
22411
22412 2004-05-11  Andrew Cagney  <cagney@redhat.com>
22413
22414         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
22415         fixed but revealed gdb/1639.
22416
22417 2004-05-10  Andrew Cagney  <cagney@redhat.com>
22418
22419         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
22420         func1" and "next to 2nd alarm", kernel bug avoided.
22421
22422 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
22423
22424         PR external/1568
22425         * gdb.base/bigcore.exp: Check the size of the dumped core file.
22426         XFAIL if it is smaller than bytes_allocated.
22427         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
22428         (main): Make chunks_allocated unsigned.  Correct comment.
22429
22430 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
22431
22432         * gdb.arch/powerpc-aix-prologue.c: New file.
22433         * gdb.arch/powerpc-aix-prologue.exp: New file.
22434
22435 2004-05-07  Jim Blandy  <jimb@redhat.com>
22436
22437         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
22438         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
22439
22440 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
22441
22442         * gdb.base/sep.exp: No longer setup_kfail when the program was
22443         built with dwarf2.
22444
22445 2004-05-05  Jim Ingham  <jingham@apple.com>
22446
22447         * gdb.base/pending.exp: Make sure pending breakpoints
22448         preserve the ignore count.
22449
22450 2004-04-27  Jerome Guitton  <guitton@gnat.com>
22451
22452         * i386-prologue.exp: Add testcase for jump instruction as first
22453         instruction of the real code.
22454         * i386-prologue.c (jump_at_beginning): New function.
22455
22456 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
22457
22458         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
22459         x86_64-*-*.
22460
22461 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
22462
22463         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
22464         i*86-*-*.
22465
22466 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
22467
22468         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
22469         expression that checks the return type.
22470
22471 2004-04-23  Andrew Cagney  <cagney@redhat.com>
22472
22473         * gdb.base/call-sc.exp: New test of scalar call/return values.
22474         * gdb.base/call-sc.c: Ditto.
22475
22476 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22477
22478         * gdb.threads/manythreads.c: Reduce thread stack size.
22479
22480 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
22481
22482         * gdb.threads/manythreads.c: Add copyright notice.
22483
22484 2004-04-23  Andrew Cagney  <cagney@redhat.com>
22485
22486         * gdb.base/siginfo.exp: Better handle step out of signal.
22487         * gdb.base/sigstep.exp: Ditto.
22488
22489 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
22490             Daniel Jacobowitz  <drow@mvista.com>
22491
22492         * gdb.threads/manythreads.c: New testcase.
22493         * gdb.threads/manythreads.exp: Ditto.
22494
22495 2004-04-22  Jim Blandy  <jimb@redhat.com>
22496
22497         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
22498         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
22499
22500 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
22501
22502         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
22503
22504 2004-04-21  Andrew Cagney  <cagney@redhat.com>
22505
22506         * gdb.base/sigstep.c: New file.
22507         * gdb.base/sigstep.exp: New file.
22508
22509 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
22510
22511         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
22512         call to observer_notify_normal_stop.
22513
22514 2004-04-15  Andrew Cagney  <cagney@redhat.com>
22515
22516         * gdb.base/siginfo.c: New file.
22517         * gdb.base/siginfo.exp: New file.
22518
22519 2004-04-12  J. Brobecker  <brobecker@gnat.com>
22520
22521         * gdb.base/sep.exp: Fix typo in comment.
22522
22523 2004-04-12  J. Brobecker  <brobecker@gnat.com>
22524
22525         * gdb.base/sep.c: New file.
22526         * gdb.base/sep-proc.c: New file.
22527         * gdb.base/sep.exp: New testcase.
22528
22529 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
22530
22531         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
22532         support.
22533
22534 2004-04-05  Andrew Cagney  <cagney@redhat.com>
22535
22536         * gdb.base/sigaltstack.c: New file.
22537         * gdb.base/sigaltstack.exp: New file.
22538
22539 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
22540
22541         * gdb.base/foll-fork.exp: Update the expected output for
22542         "help set follow-fork-mode", to match a change that was made
22543         to the help of this variable on 2004-01-13.
22544
22545 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
22546
22547         * lib/ada.exp: Add copyright notice.
22548         * bar.ads: Likewise.
22549         * bar.adb: Likewise.
22550         * null_record.adb: Likewise.
22551         * null_record.exp: Likewise.
22552         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
22553
22554 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
22555
22556         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
22557         * configure: Regenerate.
22558
22559 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
22560
22561         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
22562         to build the application. Remove the message printed when in
22563         verbose mode, redundant with the UNSUPPORTED message above.
22564
22565 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
22566
22567         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
22568         * gdb.ada (null_record.exp): New testcase.
22569
22570 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
22571
22572         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
22573
22574 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
22575
22576         * gdb.ada: New subdirectory.
22577         * gdb.ada/Makefile.in: New file.
22578         * gdb.ada/gnat_ada.gpr.in: New file.
22579
22580 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
22581
22582         * lib/ada.exp: New file.
22583
22584 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
22585
22586         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
22587         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
22588
22589 2004-03-22  Andrew Cagney  <cagney@redhat.com>
22590
22591         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
22592         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
22593         Problem identified by Ulrich Weigand.
22594
22595 2004-03-17  David Carlton  <carlton@kealia.com>
22596
22597         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
22598         PR c++/826.
22599
22600 2004-03-16  Roland McGrath  <roland@redhat.com>
22601
22602         * gdb.base/auxv.exp: New file.
22603         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
22604
22605 2004-03-12  David Carlton  <carlton@kealia.com>
22606
22607         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
22608         * gdb.cp/pr-1553.cc: Ditto.
22609         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
22610         pass branch.
22611
22612 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
22613
22614         * gdb.cp/templates.exp: Accept more template types.
22615
22616 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
22617
22618         From Corinna Vinschen with modifications.
22619         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
22620         local variable obj_with_enum.
22621         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
22622         results with obj_with_enum.
22623
22624 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
22625
22626         * gdb.cp/classes.cc: New file, copied from misc.cc.
22627         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
22628
22629 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
22630
22631         * gdb.cp/misc.cc: Add copyright notice.
22632
22633 2004-03-05  David Carlton  <carlton@kealia.com>
22634
22635         * gdb.cp/rtti.exp: Add 'print *obj3' test.
22636         * gdb.cp/rtti.h: Update copyright.
22637         (namespace n2::n3): New.
22638         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
22639         (n2::n3::func3): New.
22640         (main): Call n2::n3::func3.
22641         * gdb.cp/rtti2.cc: Update copyright.
22642         (n2::create3): New.
22643
22644 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
22645
22646         * gdb.asm/openbsd.inc: Fix typo.
22647
22648 2004-03-03  Fred Fish  <fnf@redhat.com>
22649
22650         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
22651         "val" instead of unused "size".  Update copyright year.
22652
22653 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
22654
22655         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
22656         to use unsigned char.
22657         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
22658         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
22659
22660 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
22661
22662         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
22663         line of output.
22664
22665 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
22666
22667         * gdb.base/relocate.c (dummy): Initialize.
22668
22669 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
22670
22671         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
22672         a breakpoint at exit.
22673
22674 2004-02-27  Fred Fish  <fnf@redhat.com>
22675
22676         * gdb.base/chng-syms.exp: Add expect condition to match failing
22677         case that isn't a timeout.
22678
22679 2004-02-27  Andrew Cagney  <cagney@redhat.com>
22680
22681         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
22682         support.
22683
22684 2004-02-26  Fred Fish  <fnf@redhat.com>
22685
22686         * gdb.arch/gdb1431.c: Remove.
22687         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
22688         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
22689         of "until" incorrectly.
22690
22691 2004-02-26  J. Brobecker  <brobecker@gnat.com>
22692
22693         * gdb.cp/class2.cc (empty): New class.
22694         (refer): New function.
22695         (main): Declare an object of type empty and use it.
22696         * gdb.cp/class2.exp: Print the value of an object of type empty.
22697
22698 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
22699
22700         * gdb.base/langs.exp: Update query string to match the
22701         new nquery format used for pending breakpoints.
22702
22703 2004-02-26  Andrew Cagney  <cagney@redhat.com>
22704
22705         Fix PR i18n/1570.
22706         * gdb.base/charset.c: Update copyright notice.
22707         (main, init_string): Remove the escape character '\e' tests.
22708         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
22709         * gdb.base/charset.exp (valid_host_charset): Ditto.
22710         * gdb.base/setvar.exp: Ditto.
22711
22712 2004-02-24  Andrew Cagney  <cagney@redhat.com>
22713
22714         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
22715         mmapped data in core file" PASS and FAIL messages consistent.
22716
22717         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
22718         setting a breakpoint.  Work around PR java/1565.
22719
22720 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
22721
22722         * lib/gdb.exp (gdb_breakpoint): Update query string to match
22723         new nquery format.
22724         * gdb.base/pending.exp: Ditto.
22725
22726 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
22727
22728         * configure.in: Run stabs tests on *BSD.
22729         * configure: Regenerated.
22730
22731 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
22732
22733         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
22734
22735 2004-02-20  Fred Fish  <fnf@redhat.com>
22736
22737         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
22738         blank in test for "returns short", for consistency with other
22739         "returns xxx" tests.  Update copyright year.
22740
22741 2004-02-19  Fred Fish  <fnf@redhat.com>
22742
22743         New testcase for PR breakpoint/1558.
22744         * gdb.arch/gdb1558.exp: New file.
22745         * gdb.arch/gdb1558.c: New file.
22746
22747 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
22748
22749         * gdb.base/nodebug.exp: Fix typo.
22750
22751 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22752
22753         Committed by Jim Blandy  <jimb@redhat.com>.
22754
22755         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
22756
22757         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
22758
22759         * gdb.base/float.exp: Support s390*-*-* targets.
22760
22761 2004-02-17  Adam Fedor  <fedor@gnu.org>
22762
22763         * gdb.base/gdb1555.exp: New file.
22764         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
22765
22766 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
22767
22768         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
22769
22770 2004-02-16  Fred Fish  <fnf@redhat.com>
22771
22772         * gdb.arch/gdb1291.c: Remove
22773         * gdb.arch/gdb1291.s: New test input file.
22774         * gdb.arch/gdb1291.exp: Expand test to check case that should not
22775         fail.  Test for correct result, known incorrect result, other
22776         failures and timeouts.
22777
22778 2004-02-16  Andrew Cagney  <cagney@redhat.com>
22779
22780         * gdb.base/bigcore.exp: New file.
22781         * gdb.base/bigcore.c: New file.
22782
22783 2004-02-13  Andrew Cagney  <cagney@redhat.com>
22784
22785         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
22786         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
22787         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
22788         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
22789         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
22790         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
22791         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
22792         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
22793         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
22794         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
22795
22796 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
22797
22798         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
22799         executed is an alloc instruction.
22800
22801 2004-02-11  David Carlton  <carlton@kealia.com>
22802
22803         * gdb.cp/breakpoint.exp: New.
22804         * gdb.cp/breakpoint.cc: New.
22805
22806 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
22807
22808         Partial fix for PR gdb/1543.
22809         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
22810         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
22811         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
22812         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
22813         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
22814         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
22815         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
22816         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
22817         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
22818         to bug-gdb@prep.ai.mit.edu .
22819         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
22820         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
22821         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
22822         Likewise.
22823
22824 2004-02-10  Andrew Cagney  <cagney@redhat.com>
22825
22826         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
22827         using gdb_internal_error_resync.
22828
22829 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
22830
22831         * gdb.threads/thread-specific.exp: Stop early if no threads are
22832         found.
22833
22834 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
22835
22836         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
22837
22838 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
22839
22840         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
22841         breakpoints.
22842
22843 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
22844
22845         * config/sim.exp (gdb_load): Handle $arg == "".
22846         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
22847         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
22848
22849 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
22850
22851         * gdb.base/maint.exp: Update test to reflect
22852          obstack changes.
22853
22854 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
22855
22856         * gdb.base/pendshr.c (pendfunc): New function that calls
22857         pendfunc1.
22858         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
22859
22860 2004-02-04  Fred Fish  <fnf@redhat.com>
22861
22862         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
22863         function symbols and update copyright years.
22864         * gdb.arch/gdb1291.c: Ditto.
22865
22866 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
22867
22868         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
22869
22870 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
22871
22872         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
22873
22874 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
22875
22876         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
22877
22878 2004-02-02  Fred Fish  <fnf@redhat.com>
22879
22880         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
22881         remote targets.  Update copyright years.
22882
22883 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
22884
22885         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
22886         support.
22887         * gdb.base/langs.exp: Fix test which attempts to create
22888         breakpoint on non-existent function to handle new pending
22889         support.
22890         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
22891         a breakpoint.
22892         * gdb.base/pending.exp: New test.
22893         * gdb.base/pending.c: New file.
22894         * gdb.base/pendshr.c: Ditto.
22895
22896 2004-02-02  David Carlton  <carlton@kealia.com>
22897
22898         * gdb.cp/overload.exp: Add overloadNamespace tests.
22899         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
22900         (overloadNamespace, XXX): New.
22901         (main): Call XXX::marker2.
22902
22903 2004-02-01  Fred Fish  <fnf@redhat.com>
22904
22905         * gdb.base/dump.exp: Use runto_main instead of "runto main".
22906         * gdb.base/finish.exp: Ditto.
22907         * gdb.base/gcore.exp: Ditto.
22908         * gdb.base/huge.exp: Ditto.
22909         * gdb.base/info-proc.exp: Ditto.
22910         * gdb.base/return2.exp: Ditto.
22911         * gdb.threads/gcore-thread.exp: Ditto.
22912
22913 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
22914
22915         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
22916
22917 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
22918
22919         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
22920         that opening the file succeeds on OpenBSD.
22921
22922 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
22923
22924         * gdb.threads/thread-specific.c: New file.
22925         * gdb.threads/threads-specific.exp: New test script.
22926         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
22927         to expect_out.
22928
22929 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
22930
22931         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
22932         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
22933         only on the "print_small_structs from print_long_arg_list" test.
22934
22935 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
22936
22937         * gdb.base/completion.exp: Kill a stray backslash.
22938
22939         From Jim Ingham <jingham@apple.com>:
22940         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
22941         agrees with the result from sending a tab.
22942
22943 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
22944
22945         * gdb.base/chng-syms.exp: Remove stray newline.
22946
22947 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
22948
22949         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
22950         *-*-openbsd*.
22951         * gdb.asm/openbsd.inc: New file.
22952
22953 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
22954
22955         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
22956         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
22957         *-*solaris2*.  Remove commented out default settings for
22958         asm-flags.  Replace gdb_compile with target_link.
22959
22960 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
22961
22962         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
22963         for all tests.  Remove old hp-ux and cygnus xfail cases.
22964
22965 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
22966
22967         * gdb.base/chng-syms.exp: New file.
22968         * gdb.base/chng-syms.c: New file.
22969
22970 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
22971
22972         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
22973         Provide arms for current output in all my configurations.
22974
22975 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
22976
22977         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
22978         * lib/compiler.cc: Likewise.
22979         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
22980         get the right preprocessor.  Eval the output directly.  Remove
22981         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
22982         hp_f77_compiler and hp_f90_compiler completely.
22983         (gdb_preprocess): Delete.
22984         (get_compiler): Delete.
22985
22986 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
22987
22988         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
22989         <string.h>.
22990
22991 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
22992
22993         * gdb.mi/mi-stack.exp: Update copyright.
22994
22995 2004-01-23  David Carlton  <carlton@kealia.com>
22996
22997         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
22998         test for cp_lookup_transparent_type.
22999         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
23000         call them.
23001
23002 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
23003
23004         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
23005         after -var-update.
23006
23007 2004-01-23  David Carlton  <carlton@kealia.com>
23008
23009         * gdb.cp/namespace.cc (C::ensureRefs): New.
23010         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
23011
23012 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
23013
23014         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
23015         case "-stack-list-locals 2".
23016         * gdb.mi/mi-var-child.exp: Test for case
23017         "-var-list-children --all-values NAME".
23018
23019 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
23020
23021         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
23022
23023 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
23024
23025         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
23026         used with gdb_test_multiple.
23027
23028         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
23029         read at address 0.  This fixes PR testsuite/1504.
23030
23031 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
23032
23033         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
23034         Remove downloading, guessing the host executable, the calls to
23035         gdb_file_cmd and gdb_target_cmd, and "load" support.
23036         (infer_host_exec): New function broken out from gdb_load.
23037         (gdb_load): New wrapper for gdbserver_gdb_load.
23038         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
23039         gdb_target_cmd.  Use -target-select.
23040         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
23041         Download binaries to the host.  Clear last_mi_remote_file when
23042         we load a new binary.
23043         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
23044         call gdbserver_gdb_load and mi_gdb_target_cmd.
23045
23046 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
23047
23048         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
23049         type patterns.
23050
23051 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
23052
23053         * gdb.cp/templates.exp: Fix typo in test name of
23054         "print Foo<volatile char*>::foo".
23055
23056 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
23057
23058         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
23059
23060 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
23061
23062         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
23063         (clean mostlyclean): Remove empty rm.
23064
23065 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
23066
23067         * gdb.base/setvar.exp: Add copyright years.
23068
23069 2004-01-14  David Carlton  <carlton@bactrian.org>
23070
23071         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
23072         PR c++/1511 and update coment.
23073         * gdb.cp/templates.exp: Update patterns to match current output.
23074         If changes involve something other than whitespace, KFAIL
23075         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
23076
23077 2004-01-14  David Carlton  <carlton@kealia.com>
23078
23079         * gdb.cp/namespace.exp: Add tests involving classes defined within
23080         namespaces.
23081         * gdb.cp/namespace.cc (C::CClass): New.
23082         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
23083
23084 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
23085
23086         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
23087         what debug info we have. Print a better message if something goes
23088         wrong while producing the separate debug info file.
23089
23090 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
23091
23092         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
23093
23094 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
23095
23096         * gdb.base/callfuncs.c: Add copyright notice.
23097
23098 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
23099
23100         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
23101         inheritance.  PR gdb/1498, PR gcc/13539.
23102
23103 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
23104
23105          * gdb.threads/gcore-thread.exp: Prefix name of binary with
23106          test specific name.
23107          * gdb.mi/gdb669.exp: Ditto.
23108          * gdb.mi/mi-pthreads.exp: Ditto.
23109          * gdb.mi/mi1-pthreads.exp: Ditto.
23110          * gdb.mi/mi2-pthreads.exp: Ditto.
23111
23112 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
23113
23114         * gdb.cp/member-ptr.cc: Add copyright notice.
23115
23116 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
23117
23118         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
23119         some patterns for recent versions of gcc and hpacc.  Delete
23120         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
23121         Delete tests that access a NULL pointer-to-member-data.  This
23122         script is still disabled for gcc.
23123
23124 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
23125
23126         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
23127         escaped correctly.
23128
23129 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
23130
23131         * gdb.base/sepdebug.exp: New file.
23132         * gdb.base/sepdebug.c: New file.
23133         * lib/gdb.exp (separate_debug_filename): New procedure.
23134         (gdb_gnu_strip_debug): New procedure.
23135
23136 2004-01-12  Andrew Cagney  <cagney@redhat.com>
23137
23138         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
23139         * gdb.mi/ChangeLog-1999-2003: New file.
23140
23141 2004-01-12  Andrew Cagney  <cagney@redhat.com>
23142
23143         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
23144         "Renaming a directory to a non-empty directory returns ENOTEMPTY
23145         or EEXIST", treat EBUSY as an XFAIL.
23146
23147 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
23148
23149         * gdb.base/scope.exp: Remove obsolete setup_xfail for
23150         hp_cc_compiler.
23151
23152 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
23153
23154         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
23155         decorations.
23156
23157 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
23158
23159         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
23160         and "(aCC)" decorations.  Remove obsolete doco about old
23161         test results.
23162
23163 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
23164
23165         * gdb.cp/exception.exp: Fix typo in doco.
23166
23167 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
23168
23169         * gdb.base/gdb1476.exp: Fix typo.
23170
23171 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
23172
23173         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
23174         file.
23175
23176 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
23177
23178         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
23179         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
23180         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
23181         for recent version of gdb.  Delete second half, which was a copy
23182         of the first half with different build flags.  This test is
23183         still disabled because it is still not ready for production.
23184
23185 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
23186
23187         * gdb.cp/exception.cc: Add copyright notice.
23188         * gdb.cp/exception.exp: Add a notice that this file is broken
23189         because of line number changes caused by addition of copyright
23190         notice.
23191
23192 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
23193
23194         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
23195         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
23196
23197 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
23198
23199         * gdb.cp/classes.exp: Accept gnu abi 2.
23200         * gdb.cp/derivation.exp: Likewise.
23201         * gdb.cp/overload.exp: Likewise.
23202         * gdb.cp/virtfunc.exp: Likewise.
23203
23204 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
23205
23206         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
23207         semicolon after end of function.
23208
23209 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
23210
23211         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
23212         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
23213         boilerplate code for compiling and running the program under
23214         test.  Add some string method tests.
23215
23216 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
23217
23218         * gdb.cp/bs15503.cc: Add copyright notice.
23219         * gdb.cp/bs15503.exp: Adjust line number.
23220
23221 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
23222
23223         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
23224         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
23225
23226 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
23227
23228         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
23229         hp_cc_compiler.
23230
23231 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
23232
23233         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
23234         * gdb.cp/ctti.exp: Use the marker instead of "next".
23235         With gcc, run further before bailing.
23236
23237 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
23238
23239         * gdb.cp/cttiadd.cc: Add copyright notice.
23240         * gdb.cp/cttiadd1.cc: Likewise.
23241         * gdb.cp/cttiadd2.cc: Likewise.
23242         * gdb.cp/cttiadd3.cc: Likewise.
23243
23244 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
23245
23246         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
23247         Use gdb_test, gdb_test_multiple.  Use floating-point values that
23248         have exact representations in IEEE-ish formats.
23249
23250 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
23251
23252         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
23253         compilers.  Delete duplicate call to get_compiler_info.
23254         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
23255         * gdb.base/volatile.exp: Likewise.
23256
23257 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
23258
23259         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
23260         memory at address 0.
23261
23262 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
23263
23264         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
23265         to test for hp-ux assembler.  Fix copyright years.
23266
23267 2004-01-07  Andrew Cagney  <cagney@redhat.com>
23268
23269         * gdb.base/fileio.c (strerrno): Add "EBUSY".
23270
23271 2004-01-07  Andrew Cagney  <cagney@redhat.com>
23272
23273         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
23274         when creating the read-only file.  From analysis by Roland McGrath
23275         and Elena Zannoni.
23276
23277 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
23278
23279         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
23280
23281 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
23282
23283         * gdb.base/cvexpr.c: Be type-safe with function pointers and
23284         data pointers.
23285
23286 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
23287
23288         * gdb.cp/m-static.exp: Compile one source file at a time.
23289         Delete unused call to get_compiler_info.
23290
23291 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
23292
23293         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
23294         * gdb.base/call-rt-st.exp: Likewise.
23295         * gdb.base/nodebug.exp: Likewise.
23296         * gdb.base/volatile.exp: Likewise.
23297         * gdb.cp/ref-types.exp: Likewise.
23298         * gdb.cp/templates.exp: Likewise.
23299
23300 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
23301
23302         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
23303
23304 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
23305
23306         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
23307         hppa*-hp-hpux*.
23308
23309 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
23310
23311         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
23312         x86_64-*-*.
23313
23314         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
23315         sparc64-*-* and sparc*-solaris2*.
23316
23317 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
23318
23319         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
23320         return ${tests}" test.  The ${tests} already mentions the
23321         filename.
23322
23323 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
23324
23325         * gdb.cp/local.exp: Accept gcc abi 2.
23326
23327 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
23328
23329         * gdb.cp/templates.exp: Accept gcc abi 2.
23330
23331 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
23332
23333         * lib/compiler.cc: Remove supports_template_debugging.
23334         * gdb.cp/templates.exp: Do not test supports_template_debugging.
23335
23336 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
23337
23338         * gdb.cp/namespace.exp: Accept gcc abi 2.
23339
23340 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
23341
23342         * gdb.cp/method.exp: Accept gcc abi 2.
23343
23344 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
23345
23346         * gdb.cp/classes.exp: Generate identical results as old version.
23347         * gdb.cp/derivation.exp: Likewise.
23348         * gdb.cp/overload.exp: Likewise.
23349         * gdb.cp/virtfunc.exp: Likewise.
23350
23351 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
23352
23353         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
23354         mysterious bug with sourceware version of expect.
23355
23356 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
23357
23358         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
23359         current versions of gcc, including gcc abi 2.  Remove gratuitous
23360         restart of test program.  Use gdb_test_multiple and gdb_test for
23361         all tests.  Add patterns to xfail missing "const" in "const char *"
23362         and kfail PR gdb/1155.
23363
23364 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
23365
23366         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
23367         current versions of gcc, including gcc abi 2.  Remove gratuitous
23368         restart of test program.  Use gdb_test_multiple and gdb_test for
23369         all tests.  Add patterns to kfail PR gdb/1498.
23370
23371 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
23372
23373         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
23374         current versions of gcc, including gcc abi 2.  Use "breakpoint"
23375         and "continue" instead of restarting the target program.  Use
23376         gdb_test_multiple and gdb_test for all tests.
23377
23378 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
23379
23380         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
23381         for *-*-solaris2*.
23382
23383 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
23384
23385         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
23386         current versions of gcc, including gcc abi 2.  Use "breakpoint"
23387         and "continue" instead of restarting the target program several
23388         times.  Use gdb_test_multiple and gdb_test for all tests.
23389
23390 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
23391
23392         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
23393         source files.
23394
23395 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
23396
23397         * gdb.base/environ.exp: Handle compiling test case from multiple
23398         source files.
23399
23400 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
23401
23402         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
23403
23404 2003-12-17  Jim Blandy  <jimb@redhat.com>
23405
23406         * gdb.base/freebpcmd.c: Add copyright notice.
23407
23408         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
23409
23410 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
23411
23412         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
23413
23414 2003-12-13  Jim Blandy  <jimb@redhat.com>
23415
23416         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
23417
23418 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
23419
23420         * gdb.asm/frv.inc: New file.
23421         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
23422
23423 2003-12-09  Fred Fish  <fnf@redhat.com>
23424
23425         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
23426         functions to break1.c and leave prototypes behind.  Add more
23427         "set breakpoint NN here" comments.
23428         * gdb.base/break1.c: New file.
23429
23430         * gdb.base/break.exp: Handle compiling test case from multiple
23431         source files and change source file references as needed.
23432         * gdb.base/completion.exp: Ditto.
23433         * gdb.base/condbreak.exp: Ditto.
23434         * gdb.base/define.exp: Ditto.
23435         * gdb.base/ena-dis-br.exp: Ditto.
23436         * gdb.base/info-proc.exp: Ditto.
23437         * gdb.base/maint.exp: Ditto.
23438         * gdb.base/until.exp: Ditto.
23439
23440         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
23441         hardcoded line numbers.
23442         * gdb.base/define.exp: Ditto.
23443         * gdb.base/ena-dis-br.exp: Ditto.
23444         * gdb.base/maint.exp: Ditto.
23445         * gdb.base/until.exp: Ditto.
23446
23447         * gdb.base/completion.exp: Use "break1" for completion tests since
23448         "break" is no longer a unique prefix.
23449
23450 2003-12-06  Andrew Cagney  <cagney@redhat.com>
23451
23452         * gdb.base/structs.exp (test_struct_returns): When applicable, set
23453         "return_value_unimplemented".  When an unimplemented struct return
23454         architecture, report incorrect values as a KFAIL
23455
23456 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
23457
23458         * gdb.cp/rtti.exp: Accept new wording of warning from
23459         cp_lookup_rtti_type.
23460
23461 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
23462
23463         Partial fix for PR testsuite/1456.
23464         * gdb.base/scope.exp (test_at_main): Replace references to
23465         gcc_compiled with calls to test_compiler_info.
23466         (test_at_foo): Likewise.
23467         (test_at_bar): Likewise.
23468
23469 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
23470
23471         Partial fix for PR testsuite/1456.
23472         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
23473         to test_compiler_info.
23474
23475 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
23476
23477         * gdb.base/so-impl-ld.exp: Update copyright notice.
23478
23479 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
23480
23481         Partial fix for PR testsuite/1456.
23482         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
23483         to test_compiler_info.
23484
23485 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
23486
23487         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
23488         from current versions of gdb.  Clean up regular expressions.
23489         Delete redundant timeout case.
23490
23491 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
23492
23493         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
23494         from current versions of gdb.  Clean up regular expressions.
23495         Delete redundant timeout case.
23496
23497 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
23498
23499         Partial fix for PR testsuite/1456.
23500         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
23501         gcc_compiled with call to test_compiler_info.
23502
23503 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
23504
23505         Partial fix for PR testsuite/1456.
23506         * gdb.base/list.exp (test_list_function): Delete unused declaration
23507         of gcc_compiled.
23508
23509 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
23510
23511         Partial fix for PR testsuite/1456.
23512         * gdb.base/complex.exp: Replace reference to gcc_compiled with
23513         call to test_compiler_info.
23514
23515 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
23516
23517         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
23518         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
23519         it to create the appropriate note.inc.
23520         * gdb.asm/asmsrc1.s: Include "note.inc".
23521         * gdb.asm/netbsd.inc: New file.
23522         * gdb.asm/empty.inc: New file.
23523
23524 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
23525
23526         Partial fix for PR testsuite/1456.
23527         * gdb.base/constvars.exp: Replace references to gcc_compiled with
23528         calls to test_compiler_info.
23529
23530 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
23531
23532         Partial fix for PR testsuite/1456.
23533         * gdb.base/volatile.exp: Replace references to gcc_compiled with
23534         calls to test_compiler_info.
23535
23536 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
23537
23538         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
23539         pattern for the KFAILs.
23540
23541 2003-11-25  Adam Fedor  <fedor@gnu.org>
23542
23543         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
23544         * gdb.objc/objcdecode.m: New file.
23545
23546 2003-11-25  Adam Fedor  <fedor@gnu.org>
23547
23548         * gdb.objc/nondebug.exp: Test for PR objc/1236.
23549         * gdb.objc/nondebug.m: New file.
23550
23551 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
23552
23553         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
23554         NetBSD as it does on FreeBSD.  Modelled on a similar change by
23555         Mark Kettenis on 2003-05-30.
23556         (link-flags): Set to "--entry _start" regardless of target.
23557         Special linker flags are to be appended to $link-flags.
23558         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
23559
23560 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
23561
23562         * gdb.cp/method.exp: Accept output of new demangler.
23563
23564 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
23565
23566         * gdb/class2.exp: New file.
23567         * gdb/class2.cc: New file.
23568
23569 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
23570
23571         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
23572         of new demangler.
23573
23574 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
23575
23576         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
23577         of gdb_test "run".
23578
23579 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
23580
23581         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
23582         "continue" into "run".
23583
23584 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
23585
23586         Partial fix for PR testsuite/1456.
23587         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
23588         call to test_compiler_info.
23589         * gdb.cp/ctti.exp: Likewise.
23590         * gdb.cp/derivation.exp: Likewise.
23591         * gdb.cp/member-ptr.exp: Likewise.
23592         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
23593         reference to gcc_compiled.
23594
23595 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
23596
23597         Fix PR testsuite/1463.
23598         * gdb.base/structs.exp (start_structs_test): Call
23599         get_debug_format before using the debug format.
23600
23601 2003-11-22  Andrew Cagney  <cagney@redhat.com>
23602
23603         * lib/gdb.exp (gdb_test_multiple): Add simple example.
23604         * gdb.base/structs.exp: Use gdb_test_multiple.
23605
23606 2003-11-20  Andrew Cagney  <cagney@redhat.com>
23607
23608         * gdb.base/structs.exp: Handle and recover from internal errors.
23609         Replace "foo${n}" with "foo<n>" in test messages.
23610
23611         * gdb.base/structs.exp: Update copyright.  Rewrite.
23612         * gdb.base/structs.c: Update copyright.  Rewrite.
23613
23614         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
23615         resync count exceeded.
23616
23617         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
23618         from the internal error.
23619         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
23620         Original from Jim Blandy.
23621         (gdb_test_multiple): Use gdb_internal_error_resync.
23622
23623 2003-11-19  Andrew Cagney  <cagney@redhat.com>
23624
23625         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
23626         KFAIL.
23627
23628 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
23629
23630         New testcase for PR backtrace/1435.
23631         * gdb.arch/i386-unwind.exp: New file.
23632         * gdb.arch/i386-unwind.c: New file.
23633
23634 2003-11-17  Andrew Cagney  <cagney@redhat.com>
23635
23636         * lib/gdb.exp (compiler_info): New global.
23637         (test_compiler_info): New function.
23638         (get_compiler_info): Set compiler_info.
23639         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
23640         "compiler_info" to gcc-<major>-<minor>.
23641
23642 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
23643
23644         * gdb.trace/configure: Remove.
23645
23646 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
23647
23648         * gdb.base/break.c: Add comments to aid finding line numbers for
23649         breakpoints.
23650         * gdb.base/break.exp: Remove all references to explicit line
23651         numbers.
23652
23653 2003-11-11  Nick Clifton  <nickc@redhat.com>
23654
23655         * gdb.base/shreloc.exp: Do not run for targets which do not
23656         support shared objects.
23657
23658 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
23659
23660         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
23661         Don't run tests if nofileio flag is given.
23662
23663 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
23664
23665         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
23666         as well as 'Watchpoint'.
23667
23668 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
23669
23670         Reported by Jim Ingham <jingham@apple.com>:
23671         * gdb.base/annota1.exp: Match at least one occurrence of the
23672         signal handler annotation.
23673
23674 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
23675
23676         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
23677         as well as 'Watchpoint'.
23678
23679 2003-11-05  Michael Chastain  <mec@shout.net>
23680
23681         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
23682
23683 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
23684
23685         * gdb.arch/gdb1291.c: New test file.
23686         * gdb.arch/gdb1291.exp: New test script.
23687         * gdb.arch/gdb1431.c: New test file.
23688         * gdb.arch/gdb1431.exp: New test script.
23689
23690 2003-10-22  Michael Chastain  <mec@shout.net>
23691
23692         * gdb.mi/pthreads.c: Add copyright notice.
23693
23694 2003-10-22  Michael Chastain  <mec@shout.net>
23695
23696         * gdb.threads/pthreads.c: Add copyright notice.
23697
23698 2003-10-20  Michael Chastain  <mec@shout.net>
23699
23700         * gdb.base/gdb1056.exp: New test script.
23701
23702 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
23703
23704         * gdb.threads/killed.exp: Use gdb_run_cmd.
23705
23706 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
23707
23708         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
23709         create a core file.
23710         * gdb.threads/gcore-thread.exp: Likewise.
23711
23712 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
23713
23714         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
23715         type, based on char type.
23716         (struct bit_flags_short_t): New bitfield type, based on short type.
23717         (init_bit_flags_char): New fuction.
23718         (init_bit_flags_short): Ditto.
23719         (print_bit_flags_char): Ditto.
23720         (print_bit_flags_short): Ditto.
23721         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
23722
23723 2003-10-11  Michael Chastain  <mec@shout.net>
23724
23725         * gdb.base/call-rt-st.exp: Update copyright year.
23726
23727 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
23728
23729         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
23730         * gdb.disasm/sh3.s: Ditto.
23731
23732 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
23733
23734         * gdb.threads/switch-threads.exp: New test.
23735         * gdb.threads/switch-threads.c: New source file.
23736
23737 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
23738
23739         * gdb.base/ending-run.exp: Add sh specific case.
23740
23741 2003-10-06  Andrew Cagney  <cagney@redhat.com>
23742
23743         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
23744         * gdb.disasm/mn10200.exp: Delete obsolete file.
23745
23746 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
23747
23748         * ChangeLog: Correct an entry command.exp -> commands.exp.
23749         * gdb.base/commands.exp (bp_deleted_in_command_test)
23750         (temporary_breakpoint_commands): Check noargs.
23751
23752 2003-09-25  David Carlton  <carlton@kealia.com>
23753
23754         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
23755         of some print tests, where appropriate.  Add tests for C::D::cd,
23756         E::ce, F::cXfX, G::XgX.
23757         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
23758
23759 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
23760
23761         * lib/java.exp (java_init): Import target_alias before using it.
23762
23763 2003-09-25  David Carlton  <carlton@kealia.com>
23764
23765         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
23766
23767 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
23768
23769         * gdb.base/selftest.exp: Accomodate more instruction reordering
23770         weirdness.
23771
23772 2003-09-17  Michael Chastain  <mec@shout.net>
23773
23774         * gdb.cp/gdb1355.exp: New file.
23775         * gdb.cp/gdb1355.c: New file.
23776
23777 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
23778
23779         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
23780         * gdb.asm/sh.inc: New file.
23781
23782 2003-09-11  David Carlton  <carlton@kealia.com>
23783
23784         * gdb.cp/namespace.exp: Add tests for namespace types.
23785         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
23786         (test_namespace): New.
23787
23788 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
23789
23790         * gdb.base/relocate.exp: Handle new gdb output at startup.
23791         * gdb.stabs/weird.exp: Ditto.
23792
23793 2003-09-08  Michael Chastain  <mec@shout.net>
23794
23795         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
23796
23797 2003-09-07  Michael Chastain  <mec@shout.net>
23798
23799         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
23800         'parse error'.
23801
23802 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
23803
23804         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
23805
23806 2003-08-30  Michael Chastain  <mec@shout.net>
23807
23808         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
23809         * gdb.gdb/observer.exp: Ditto.
23810         * gdb.gdb/xfullpath.exp: Ditto.
23811
23812 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
23813
23814         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
23815         *-*-*bsd*.
23816
23817 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
23818
23819         * gdb.base/dump.exp: Skip for ia64.
23820
23821 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
23822
23823         * gdb.asm/asm-source.exp: Add ia64 support.
23824         * gdb.asm/ia64.inc: New file.
23825
23826 2003-08-22  Michael Chastain  <mec@shout.net>
23827
23828         * gdb.cp: New directory.
23829         * gdb.cp/*: Copy from gdb.c++/*.
23830         * gdb.c++/*: Remove.
23831         * Makefile.in: Change gdb.c++ to gdb.cp.
23832         * configure.in:  Ditto.
23833         * configure: Regnerate.
23834
23835 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
23836
23837         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
23838         * gdb.arch/i386-prologue.c (gdb1338): Add function.
23839
23840 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
23841
23842         * mi-var-display.exp (-var-list-children weird): Accept function
23843         pointers with argument types.
23844         * mi1-var-display.exp (-var-list-children weird): Likewise.
23845         * mi2-var-display.exp (-var-list-children weird): Likewise.
23846
23847 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
23848
23849         * gdb.base/annota3.exp: Add missing newline.
23850
23851 2003-08-06  Michael Chastain  <mec@shout.net>
23852
23853         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
23854
23855 2003-08-12  Michael Snyder  <msnyder@redhat.com>
23856
23857         * gdb.base/float.exp: Add test for SH.
23858
23859 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
23860
23861         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
23862
23863 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
23864
23865        * gdb.base/completion.exp: Remove reduntant completion test
23866        on filename.
23867
23868 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
23869
23870         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
23871         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
23872         gdb.trace/save-trace.exp: Make sure that full pathnames are
23873         escaped correctly.
23874
23875 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
23876
23877         * configure.in: Don't generate config.h from config.hin.
23878         * configure: Regenerate.
23879         * config.hin: Remove file.
23880         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
23881         * gdb.threads/pthreads.c: Ditto.
23882
23883 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
23884
23885         From Kei Sakamoto <sakamoto.kei@renesas.com>:
23886         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
23887         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
23888         Replace ld24 with seth/add3.
23889
23890 2003-08-02  Andrew Cagney  <cagney@redhat.com>
23891
23892         * gdb.base/annota3.exp: New file.
23893         * gdb.base/annota3.c: New file.
23894         * gdb.c++/annota3.exp: New file.
23895         * gdb.c++/annota3.cc: New file.
23896
23897 2003-07-29  Michael Chastain  <mec@shout.net>
23898
23899         * gdb.threads/tls.c (spin): Check errno only if sem_wait
23900         actually failed.
23901         (do_pass): Likewise.
23902         * gdb.threads/tls.exp: Always initialize no_of_threads.
23903
23904 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
23905
23906         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
23907         pattern.
23908         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
23909         * gdb.threads/tls.exp: Recognize one case of the host library not
23910         supporting TLS.
23911
23912 2003-07-27  Andrew Cagney  <cagney@redhat.com>
23913
23914         * gdb.base/fileio.exp: Use SH when running commands using
23915         remote_exec.
23916
23917 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
23918
23919         From Kei Sakamoto <sakamoto.kei@renesas.com>:
23920         * gdb.base/relocate.c (dummy): New padding array.
23921
23922 2003-07-22  Michael Snyder  <msnyder@redhat.com>
23923
23924         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
23925
23926         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
23927         patterns to be more general, accepting old and new output.
23928         Some output chars (such as '+') also must be quoted.
23929         Some addresses are displayed numerically instead of
23930         symbolically.
23931
23932 2003-07-23  Michael Snyder  <msnyder@redhat.com>
23933
23934         * gdb.base/return2.exp: Don't test long-long return.
23935
23936         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
23937         * gdb.disasm/t01_mov.exp: Ditto.
23938         * gdb.disasm/t02_mova.s: Ditto.
23939         * gdb.disasm/t02_mova.exp: Ditto.
23940         * gdb.disasm/t03_add.s: Ditto.
23941         * gdb.disasm/t03_add.exp: Ditto.
23942         * gdb.disasm/t04_sub.s: Ditto.
23943         * gdb.disasm/t04_sub.exp: Ditto.
23944         * gdb.disasm/t05_cmp.s: Ditto.
23945         * gdb.disasm/t05_cmp.exp: Ditto.
23946         * gdb.disasm/t06_ari2.s: Ditto.
23947         * gdb.disasm/t06_ari2.exp: Ditto.
23948         * gdb.disasm/t07_ari3.s: Ditto.
23949         * gdb.disasm/t07_ari3.exp: Ditto.
23950         * gdb.disasm/t08_or.s: Ditto.
23951         * gdb.disasm/t08_or.exp: Ditto.
23952         * gdb.disasm/t09_xor.s: Ditto.
23953         * gdb.disasm/t09_xor.exp: Ditto.
23954         * gdb.disasm/t10_and.s: Ditto.
23955         * gdb.disasm/t10_and.exp: Ditto.
23956         * gdb.disasm/t11_logs.s: Ditto.
23957         * gdb.disasm/t11_logs.exp: Ditto.
23958         * gdb.disasm/t12_bit.s: Ditto.
23959         * gdb.disasm/t12_bit.exp: Ditto.
23960         * gdb.disasm/t13_otr.s: Ditto.
23961         * gdb.disasm/t13_otr.exp: Ditto.
23962
23963 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
23964
23965         * gdb.threads/tls.exp :Add kfail for 'info address' case.
23966
23967 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
23968
23969         * gdb.threads/tls.c : New file.
23970         * gdb.threads/tls.exp : New file.
23971         * gdb.threads/tls-main.c : New file.
23972         * gdb.threads/tls-shared.c : New file.
23973         * gdb.threads/tls-shared.exp : New file.
23974
23975 2003-07-22  Andreas Schwab  <schwab@suse.de>
23976
23977         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
23978
23979 2003-07-20  Andreas Schwab  <schwab@suse.de>
23980
23981         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
23982         due to insn reordering.
23983
23984 2003-07-15  Andrew Cagney  <cagney@redhat.com>
23985
23986         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
23987
23988 2003-07-15  Michael Chastain  <mec@shout.net>
23989
23990         * gdb.base/gdb1250.exp: New file.
23991         * gdb.base/gdb1250.c: New file.
23992
23993 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
23994
23995         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
23996         expansion of size_t to 'unsigned long', not only to 'unsigned'.
23997
23998 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
23999
24000         * gdb.threads/tls.c: New file.
24001         * gdb.threads/tls.exp: New file.
24002         * gdb.threads/tls-main.c: New file.
24003         * gdb.threads/tls-shared.c: New file.
24004         * gdb.threads/tls-shared.exp: New file.
24005
24006 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
24007
24008         * gdb.base/annota1.exp: Make sure that we properly escape the
24009         full path of the source file. Xfail more permissive patterns,
24010         due to a compiler debug info problem.
24011
24012 2003-07-07  Andreas Schwab  <schwab@suse.de>
24013
24014         * gdb.asm/m68k.inc: New file.
24015         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
24016
24017         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
24018         arguments"): Also match negative number.
24019
24020         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
24021
24022 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
24023
24024         * gdb.base/store.c (charest): New typedef.
24025         (add_char): Rename to add_charest, update.
24026         (wack_char): Rename to wack_charest, update types.  Return l + r
24027         to keep r live across the call.
24028         (wack_short, wack_int, wack_long, wack_longest, wack_float)
24029         (wack_double, wack_doublest): Return l + r to keep r live across
24030         the call.
24031         * gdb.base/store.exp: Accomodate store.c changes.
24032
24033 2003-06-30  David Carlton  <carlton@kealia.com>
24034
24035         * gdb.c++/maint.exp (test_invalid_name): New.
24036         (test_first_component): Add tests for invalid names.
24037
24038 2003-06-29  Michael Chastain  <mec@shout.net>
24039
24040         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
24041         output of '<VTT for class>' for virtual base classes.
24042
24043 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
24044
24045         * gdb.base/completion.exp: Tab-complete "complet" instead of
24046         "compl".
24047         * gdb.base/complex.exp, gdb.base/complex.c: New files.
24048
24049 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
24050
24051         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
24052         * gdb.base/volatile.exp: Likewise.
24053
24054 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
24055
24056         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
24057         gdb/1265.
24058
24059 2003-06-28  Michael Chastain  <mec@shout.net>
24060             Daniel Jacobowitz  <drow@mvista.com>
24061
24062         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
24063         initial line count of 'captured_main' from 26 to 32.
24064         (test_with_self): Allow xmalloc call to be interleaved with the
24065         preceding two lines.
24066
24067 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
24068
24069         * gdb.base/bang.exp: New testcase.
24070
24071 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
24072
24073         * gdb.base/langs.exp: Add some tests for the "minimal" language
24074         support.
24075
24076 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
24077
24078         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
24079         the testcase.
24080
24081 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
24082
24083         * gdb.base/relocate.exp: Test add-symbol-file with a variable
24084         offset.
24085
24086 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
24087
24088         * gdb.c++/pr-1210.cc: New file.
24089         * gdb.c++/pr-1210.exp: New file.
24090
24091 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
24092
24093         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
24094         000-exec-continue.
24095
24096 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
24097
24098         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
24099         on *-*-*bsd* instead of *-*-freebsd*.
24100
24101 2003-06-14  Andrew Cagney  <cagney@redhat.com>
24102
24103         * gdb.base/store.exp: Test longest and doublest.  Test all
24104         parameters.  Weaken return statement match.
24105         * gdb.base/store.c: Add longest and doublest - aka long long and
24106         long double functions.  Put all parameters into local register
24107         variables.  Use negative values.
24108
24109 2003-06-14  Andrew Cagney  <cagney@redhat.com>
24110
24111         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
24112         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
24113         exit status.
24114         * gdb.base/fileio.exp: Disable target when nointerrupts and
24115         noinferiorio, instead of limiting it to remote.  Use remote_exec
24116         instead of system.
24117
24118 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
24119
24120         * gdb.base/float.exp: Add ia64 support.
24121
24122 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
24123
24124         * gdb.base/fileio.exp: Run only on remote targets.
24125
24126 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
24127
24128         * gdb.base/fileio.c: New file, testing File-I/O.
24129         * gdb.base/fileio.exp: Ditto.
24130
24131 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
24132
24133         * gdb.base/shreloc.exp: New file, check symbol values obtained from
24134         shared objects after relocation at load time (gdb PR/1132).
24135         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
24136         as above, part of the shared object relocation test.
24137
24138 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
24139
24140         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
24141         fully filled history list.
24142         * gdb.base/gdb_history: New file.
24143
24144         * gdb.base/signals.exp: XFAIL "continue to func1" on
24145         i*86-*-freebsd*.
24146
24147         * gdb.base/attach.exp: When trying to attach to a nonexistent
24148         process, make it possible to specify the PID based on the target,
24149         and do so for *-*-freebsd*.
24150
24151 2003-06-02  Richard Henderson  <rth@redhat.com>
24152
24153         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
24154
24155 2003-06-02  Richard Henderson  <rth@redhat.com>
24156
24157         * gdb.base/selftest.exp: Next over lim_at_start initialization.
24158
24159 2003-06-02  Richard Henderson  <rth@redhat.com>
24160
24161         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
24162
24163 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
24164
24165         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
24166         of globalvar.
24167
24168 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
24169
24170         * gdb.asm/asm-source.exp: Check for memory read errors in
24171         disassembler test on *BSD too.
24172
24173 2003-06-01  Richard Henderson  <rth@redhat.com>
24174
24175         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
24176         for .frame.
24177         (gdbasm_call): Lose ldgp.
24178         (gdbasm_startup): Add frame information.
24179         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
24180
24181 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
24182
24183         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
24184         i?86-*-*.
24185
24186 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
24187
24188         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
24189         FreeBSD.
24190
24191 2003-05-29  Richard Henderson  <rth@redhat.com>
24192
24193         * gdb.asm/alpha.inc: New file.
24194         * gdb.asm/asm-source.exp: Use it.
24195
24196 2003-05-29  Jim Blandy  <jimb@redhat.com>
24197
24198         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
24199         'core.PID'.
24200
24201 2003-05-22  Jim Blandy  <jimb@redhat.com>
24202
24203         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
24204         backtrace.
24205
24206 2003-05-20  David Carlton  <carlton@math.stanford.edu>
24207
24208         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
24209         this time.
24210
24211 2003-05-19  David Carlton  <carlton@bactrian.org>
24212
24213         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
24214         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
24215
24216 2003-05-19  David Carlton  <carlton@bactrian.org>
24217
24218         * gdb.c++/namespace.exp: Add namespace scope and anonymous
24219         namespace tests.
24220         Bump copyright date.
24221         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
24222         (main): Call C::D::marker2.
24223         * gdb.c++/namespace1.cc: New file.
24224
24225 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
24226
24227         Roland McGrath  <roland@redhat.com>
24228         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
24229         there is no manager thread.
24230
24231 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
24232
24233         * gdb.threads/schedlock.exp: Remove assumption that all threads
24234         will run in a particular small time slice.  Also ensure we break
24235         in one of the child threads rather than the main thread.
24236
24237 2003-05-07  Jim Blandy  <jimb@redhat.com>
24238
24239         Add support for assembly source testing on the s390x.
24240         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
24241         architecture.
24242         * gdb.asm/s390x.inc: New file.
24243
24244         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
24245         succession of 'if' statements.
24246
24247 2003-05-05  Andrew Cagney  <cagney@redhat.com>
24248
24249         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
24250
24251 2003-05-05  Andrew Cagney  <cagney@redhat.com>
24252
24253         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
24254         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
24255
24256 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
24257
24258         * gdb.base/charset.exp: Update based on new behavior of set/show
24259         charset commands.
24260
24261 2003-05-01  Andrew Cagney  <cagney@redhat.com>
24262
24263         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
24264         variable do not give memory errors.
24265
24266 2003-04-30  Adam Fedor  <fedor@gnu.org>
24267
24268         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
24269         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
24270         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
24271         gdb.objc/basicclass.m: : New files
24272
24273         * lib/gdb.exp (gdb_compile_objc): New procedure.
24274
24275 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
24276
24277         * gdb.base/signals.exp: Make backtrace tests more specific.
24278
24279 2003-04-23  David Carlton  <carlton@bactrian.org>
24280
24281         * gdb.c++/maint.exp (test_first_component): Add tests for
24282         'operator' in more locations.
24283
24284 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
24285
24286         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
24287
24288 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
24289
24290         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
24291         func marke' instead. Update test name.
24292
24293 2003-04-15  David Carlton  <carlton@math.stanford.edu>
24294
24295         * gdb.c++/maint.exp: New file.
24296
24297 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
24298
24299         * gdb.threads/schedlock.c: Change type of thread function argument
24300         to long, to avoid warnings on 64-bit platforms.
24301
24302 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
24303
24304         * gdb.base/attach.exp: Add new message from ptrace in case of
24305         attaching to nonexistent process.
24306
24307 2003-04-11  Jim Blandy  <jimb@redhat.com>
24308
24309         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24310         gdb.c++/userdef.cc: Place comments on the lines to which the
24311         marker function might return.
24312         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24313         gdb.c++/userdef.exp: Look for those comments to check that we've
24314         returned to the right place, instead of checking line numbers.
24315
24316 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
24317
24318         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
24319         match on sourcefile name, instead of directory name.
24320
24321 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
24322
24323         * gdb.base/completion.exp: Use string_to_regexp to match the
24324         working directory name.
24325
24326 2003-04-09  Jim Blandy  <jimb@redhat.com>
24327
24328         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24329         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
24330         after an inferior function call, report the failure, but allow the
24331         test to continue.
24332
24333 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
24334
24335         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
24336         with -DPROTOTYPES.
24337
24338 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
24339
24340         * gdb.base/break.exp: Revert last patch.
24341
24342 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
24343
24344         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
24345         with -DPROTOTYPES.
24346
24347 2003-04-02  Andrew Cagney  <cagney@redhat.com>
24348
24349         * gdb.base/callfuncs.exp: Make "print add" messages unique.
24350         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
24351         matching directories by the name breakpoint.
24352         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
24353         Make "continue to marker1" consistent.
24354         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
24355         message consistent.
24356         * lib/gdb.exp: Put "the program is no longer running", and "the
24357         program exited" in parenthesis.
24358         * lib/mi-support.exp: Ditto.
24359
24360 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
24361
24362         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
24363
24364 2003-03-29  Andrew Cagney  <cagney@redhat.com>
24365
24366         * gdb.base/sizeof.c (main): Print the value of '\377'.
24367         * gdb.base/sizeof.exp: Check the sign of '\377'.
24368
24369 2003-03-27  Michael Chastain  <mec@shout.net>
24370
24371         * gdb.base/gdb1090.exp: New file.
24372         * gdb.base/gdb1090.cc: New file.
24373
24374 2003-03-27  J. Brobecker  <brobecker@gnat.com>
24375
24376         * gdb.gdb/observer.exp: New regression test.
24377
24378 2003-03-27  Michael Chastain  <mec@shout.net>
24379
24380         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
24381         * gdb.base/ptype.exp: Likewise.
24382
24383 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
24384
24385         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
24386
24387 2003-03-26  Michael Chastain  <mec@shout.net>
24388
24389         * gdb.base/ptype.exp: Actually use some typedef'd types.
24390
24391 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
24392
24393         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
24394         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
24395
24396 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
24397
24398         * gdb.base/default.exp: Fix regular expression.
24399
24400 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
24401
24402         * gdb.base/args.exp: Fix regular expression.
24403
24404 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
24405
24406         * gdb.base/help.exp: Allow Win32 child process.
24407
24408 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
24409
24410         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
24411         when stepping out of main().
24412
24413 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
24414
24415         * gdb.base/default.exp: Check for win32 specific message when calling
24416         "run" without executable.
24417
24418 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
24419
24420         * gdb.base/args.exp: Expect .exe in output.
24421
24422 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
24423
24424         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
24425         Cygwin native.
24426
24427 2003-03-17  Andrew Cagney  <cagney@redhat.com>
24428
24429         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
24430         vector registes.
24431         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
24432         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
24433
24434 2003-03-17  David Carlton  <carlton@math.stanford.edu>
24435
24436         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
24437         test, for PR breakpoints/38.
24438         Call test_watchpoint_and_breakpoint.
24439         * gdb.base/watchpoint.c (func3): New function.
24440         (main): Call func3.
24441
24442 2003-03-04  David Carlton  <carlton@math.stanford.edu>
24443
24444         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
24445         Garply<Garply<char> >:: garply".
24446         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
24447         with respect to PR c++/1111; note also PR c++/1113.
24448         (test_template_breakpoints): KFAIL "constructor breakpoint" with
24449         respect to PR c++/1062.
24450         KFAIL "destructor breakpoint" with respect to PR c++/1112.
24451
24452 2003-03-03  David Carlton  <carlton@math.stanford.edu>
24453
24454         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
24455         with respect to PR c++/57.
24456         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
24457         c++/826.
24458         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
24459         respect to PR c++/57.
24460
24461 2003-03-03  David Carlton  <carlton@math.stanford.edu>
24462
24463         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
24464         respect to PR c++/33 into FAILs.
24465
24466 2003-03-03  Michael Chastain  <mec@shout.net>
24467
24468         * configure.in: Update copyright years.
24469
24470 2003-03-03  Michael Chastain  <mec@shout.net>
24471
24472         * Makefile.in: Update copyright years.
24473
24474 2003-02-28  David Carlton  <carlton@math.stanford.edu>
24475
24476         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
24477         print class instead of struct and/or superfluous protection
24478         specifiers, as long as the resulting output is equivalent to the
24479         source code.
24480         Delete FIXME from end of messages on tests that don't need
24481         fixing.
24482
24483 2003-02-28  David Carlton  <carlton@math.stanford.edu>
24484
24485         * gdb.c++/templates.exp (do_tests): Allow const in the two
24486         Foo<volatile char *>::foo tests.
24487
24488 2003-02-27  Michael Snyder  <msnyder@redhat.com>
24489
24490         * gdb.base/restore.c (main): Return zero, so exit code
24491         will be consistant.
24492
24493 2003-02-26  David Carlton  <carlton@math.stanford.edu>
24494
24495         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
24496         char *>::foo" test with respect to PR c++/33.  Create a new test
24497         which is identical to that one except that it doesn't put the
24498         space between the "char" and the "*"; KFAIL it, too.
24499
24500 2003-02-26  David Carlton  <carlton@math.stanford.edu>
24501
24502         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
24503         template types into either PASSes or KFAILs (corresponding to PR
24504         c++/57).  Tweak indentation.  Update copyright.
24505
24506 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
24507
24508         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
24509
24510 2003-02-13  Michael Chastain  <mec@shout.net>
24511
24512         * gdb.base/exprs.exp: Remove i960 remnants.
24513         * gdb.base/funcargs.exp: Likewise.
24514         * gdb.base/list.exp: Likewise.
24515         * gdb.base/ptype.exp: Likewise.
24516
24517 2003-02-14  David Carlton  <carlton@math.stanford.edu>
24518
24519         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
24520         pEe->D::vg()" from XFAIL to KFAIL.
24521
24522 2003-02-13  Jason Molenda  (jmolenda@apple.com)
24523
24524         * gdb.base/maint.exp: Update maint print statistics regexp to include
24525         new entries.
24526
24527 2003-02-13  Michael Chastain  <mec@shout.net>
24528
24529         * gdb.c++/inherit.exp: Remove call to get_debug_format.
24530
24531 2003-02-12  Michael Chastain  <mec@shout.net>
24532
24533         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
24534         * gdb.c++/inherit.exp: Likewise.
24535         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
24536         * gdb.c++/templates.exp: Likewise.
24537         * gdb.c++/virtfunc.exp: Likewise.
24538
24539 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
24540
24541         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
24542         why the code is written that way.
24543
24544 2003-02-05  Michael Chastain  <mec@shout.net>
24545
24546         * gdb.base/dump.exp: Add missing copyright line.
24547
24548 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
24549
24550         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
24551         at the beginning so the breakpoint doesn't get set on the loop.
24552
24553 2003-02-05  Michael Chastain  <mec@shout.net>
24554
24555         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
24556         output for configurations with gcc 2.95.3.
24557
24558 2003-02-05  Keith Seitz  <keiths@redhat.com>
24559             Andrew Cagney  <ac131313@redhat.com>
24560
24561         * gdb.mi/mi-cli.exp: New file.
24562
24563 2003-02-04  Michael Chastain  <mec@shout.net>
24564
24565         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
24566         Call perror and then continue.
24567
24568 2003-02-03  Michael Chastain  <mec@shout.net>
24569
24570         * gdb.c++/pr-1023.cc: New file.
24571         * gdb.c++/pr-1023.exp: New file.
24572
24573 2003-02-05  Jim Blandy  <jimb@redhat.com>
24574
24575         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
24576         it's local to foobar.  Check for it there, and check that it's not
24577         present in main.
24578         * gdb.c++/local.cc (marker2): New function.
24579         (foobar): Call marker1.
24580         (main): Call marker2 instead of marker1.
24581
24582 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
24583
24584         * gdb.disasm/mn10200.exp: Obsolete file.
24585         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
24586         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
24587         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
24588
24589 2003-02-04  David Carlton  <carlton@math.stanford.edu>
24590
24591         * gdb.c++/overload.exp: Test intToChar(1).
24592         * gdb.c++/overload.cc (intToChar): New.
24593         (main): Call intToChar.
24594
24595 2003-02-03  David Carlton  <carlton@math.stanford.edu>
24596
24597         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
24598         'might_kfail' arg.
24599         KFAIL some of the continue_to_bp_overloaded calls, according to
24600         PR c++/1025.
24601
24602 2003-02-01  Michael Chastain  <mec@shout.net>
24603
24604         * gdb.base/advance.c (marker1): New marker function.
24605         * gdb.base/advance.exp: When the 'advance' command lands on the
24606         return breakpoint, it can legitimately stop on either the
24607         current line or the next line.  Accommodate both outcomes.
24608         * gdb.base/until.exp: Likewise.
24609
24610 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
24611
24612         2002-11-10 Jason Molenda (jason-cl@molenda.com):
24613         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
24614         now a list, not a tuple.
24615         * gdb.mi/mi-var-display.exp: Ditto.
24616         * gdb.mi/gdb792.exp: Ditto.
24617
24618 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
24619
24620         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
24621         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
24622         stack backtraces.
24623         * gdb.mi/mi-syn-frame.c: Part of same.
24624
24625 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
24626
24627         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
24628         gdb.mi/mi1-pthreads.exp: Return instead of calling
24629         gdb_suppress_entire_file.
24630
24631 2003-02-01  Mark Salter  <msalter@redhat.com>
24632
24633         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
24634
24635 2003-01-31  Mark Salter  <msalter@redhat.com>
24636
24637         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
24638         Support empty arg.
24639
24640 2003-01-30  Michael Chastain  <mec@shout.net>
24641
24642         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
24643         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
24644         has been fixed in gdb/readline on 2003-01-09.
24645
24646 2003-01-29  Michael Snyder  <msnyder@redhat.com>
24647
24648         * gdb.base/maint.exp: Allow for leading underscore in symbol.
24649         * gdb.base/display.exp: Allow for leading underscore in symbol.
24650         * gdb.base/args.exp: Skip if target does not support args passing.
24651
24652 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
24653
24654         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
24655         gdb_test.  Accept a list of expect arguments as the third
24656         parameter.
24657         (gdb_test): Use it.
24658
24659 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
24660
24661         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
24662         allow for different test tree configurations.  Update some
24663         tescases accordingly.
24664         * gdb.arch/altivec-regs.exp: Ditto.
24665         * gdb.asm/asm-source.exp: Ditto.
24666         * gdb.base/advance.exp: Ditto.
24667         * gdb.base/display.exp: Ditto.
24668         * gdb.base/long_long.exp: Ditto.
24669         * gdb.base/mips_pro.exp: Ditto.
24670         * gdb.base/overlays.exp: Ditto.
24671         * gdb.base/relocate.exp: Ditto.
24672         * gdb.base/setshow.exp: Ditto.
24673         * gdb.base/step-line.exp: Ditto.
24674         * gdb.base/step-test.exp: Ditto.
24675         * gdb.base/until.exp: Ditto.
24676         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
24677
24678 2003-01-17  David Carlton  <carlton@math.stanford.edu>
24679
24680         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
24681         corresponding to PR c++/945.
24682         Update copyright.
24683
24684 2003-01-17  David Carlton  <carlton@math.stanford.edu>
24685
24686         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
24687         corresponding to PR c++/68.
24688
24689 2003-01-17  David Carlton  <carlton@math.stanford.edu>
24690
24691         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
24692         (test_paddr_hairy_functions): Call print_addr_2_kfail for
24693         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
24694
24695 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
24696
24697         * gdb.base/break.exp: Fix change of default location, because of
24698         removal of until tests.
24699         * gdb.base/help.exp: Update test for new 'until' help message.
24700         Add test for help on 'advance'.
24701         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
24702
24703 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
24704
24705         * gdb.base/default.exp: Adapt "info float" test for recent changes
24706         to that command.  Add test for "info vector".
24707         * gdb.base/float.exp: New file.  Add test for "info float" that
24708         resembles the old test in gdb.base/default.exp.
24709
24710 2003-01-15  David Carlton  <carlton@math.stanford.edu>
24711
24712         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
24713
24714 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
24715
24716         * gdb.base/break.exp: Move the tests of until command from here...
24717         * gdb.base/until.exp: ... to here. New file. Add other tests.
24718         * gdb.base/advance.c: New file.
24719         * gdb.base/advance.exp: New file.
24720
24721 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
24722
24723         * gdb.base/args.c: New file.
24724         * gdb.base/args.exp: New file.
24725
24726 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
24727
24728         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
24729
24730 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
24731
24732         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
24733
24734 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
24735
24736         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
24737         dates.
24738
24739 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
24740
24741         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
24742
24743 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
24744
24745         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
24746         (ptype &*"foo").
24747         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
24748
24749 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
24750
24751         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
24752         * gdb.mi/mi1-console.exp: Likewise.
24753
24754 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
24755
24756         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
24757         * gdb.mi/mi1-console.exp: Likewise.
24758
24759 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
24760
24761         * gdb.c++/overload.exp: Remove some fixed XFAILs.
24762
24763 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
24764
24765         * gdb.base/detach.exp: New test.
24766
24767 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
24768
24769         * Makefile.in (ALL_SUBDIRS): New variable.
24770         (subdirs, clean, distclean): Use it.
24771         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
24772         regenerating Makefile, since it is generated from the top level.
24773         * gdb.asm/Makefile.in: Likewise.
24774         * gdb.base/Makefile.in: Likewise.
24775         * gdb.c++/Makefile.in: Likewise.
24776         * gdb.disasm/Makefile.in: Likewise.
24777         * gdb.java/Makefile.in: Likewise.
24778         * gdb.mi/Makefile.in: Likewise.
24779         * gdb.threads/Makefile.in: Likewise.
24780         * gdb.trace/Makefile.in: Likewise.
24781
24782 2003-01-09  David Carlton  <carlton@math.stanford.edu>
24783
24784         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
24785         Add copyright year 2003.
24786
24787 2003-01-06  Michael Chastain  <mec@shout.net>
24788
24789         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
24790         When selecting a thread, 'line' and 'file' are optional.
24791         * gdb.mi/mi1-pthreads.exp: Likewise.
24792
24793 2003-01-06  Andreas Schwab  <schwab@suse.de>
24794
24795         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
24796         failures.
24797
24798 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
24799
24800         Fix PR gdb/844
24801         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
24802         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
24803
24804         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
24805         instead of calling gdb_suppress_entire_file.
24806         * gdb.threads/print-threads.exp: Likewise.
24807         * gdb.threads/schedlock.exp: Likewise.
24808
24809         * gdb.threads/killed.exp: Return instead of calling
24810         gdb_suppress_entire_file.
24811         * gdb.threads/linux-dp.exp: Likewise.
24812         * gdb.threads/pthreads.exp: Likewise.
24813
24814 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
24815
24816         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
24817         stabs.
24818         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
24819         * gdb.base/whatis.exp: Always allow (void) after function names.
24820
24821 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
24822
24823         * gdb.c++/casts.exp: Correct regexp.
24824
24825 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
24826
24827         * configure.in: Call AC_CONFIG_HEADER.  Don't call
24828         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
24829         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
24830         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
24831         aforementioned directories in the AC_OUPUT call.
24832         * config.hin: New file.
24833         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
24834         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
24835         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
24836         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
24837         pass -I$objdir instead of -I$objdir/$subdir in compilation.
24838         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
24839         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
24840         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
24841         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
24842         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
24843         gdb.threads/configure.in, gdb.threads/configure,
24844         gdb.threads/config.in, gdb.trace/configure.in,
24845         gdb.trace/configure: Removed.
24846
24847 2003-01-03  Michael Chastain  <mec@shout.net>
24848
24849         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
24850         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
24851
24852 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
24853
24854         * gdb.base/store.exp: Fix regular expressions.
24855
24856 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
24857
24858         * configure.in: Rewrite.
24859         * configure: Regenerated.
24860
24861 2003-01-03  David Carlton  <carlton@math.stanford.edu>
24862
24863         * gdb.base/psymtab.exp: New file.
24864         * gdb.base/psymtab1.c: Ditto.
24865         * gdb.base/psymtab2.c: Ditto.
24866
24867 2002-12-23  Adam Fedor  <fedor@gnu.org>
24868
24869         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
24870
24871 2002-12-23  David Carlton  <carlton@math.stanford.edu>
24872
24873         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
24874         and current_directory initialization.
24875
24876 2002-12-22  Jim Blandy  <jimb@redhat.com>
24877
24878         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
24879         rather than as part of the output file name.
24880
24881         * gdb.base/attach.exp: There's no need to copy the test program to
24882         /tmp; that was only ever necessary on HP/UX, and this test is
24883         entirely disabled there anyway.
24884
24885 2002-12-21  Jim Blandy  <jimb@redhat.com>
24886
24887         * gdb.c++/psmang.exp: Doc fix.
24888
24889         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
24890         test.
24891
24892 2002-12-20  David Carlton  <carlton@math.stanford.edu>
24893
24894         * gdb.c++/annota2.exp: KFAIL annotate-quit.
24895
24896 2002-12-18  Michael Chastain  <mec@shout.net>
24897
24898         * gdb.c++/annota2.exp: Add copyright year 2002.
24899
24900 2002-12-17  David Carlton  <carlton@math.stanford.edu>
24901
24902         * gdb.c++/try_catch.cc: Add marker comments.
24903         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
24904         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
24905         * gdb.c++/m-static.cc: Ditto.
24906         * gdb.c++/m-static1.cc: Ditto.
24907         * gdb.c++/try_catch.cc: Ditto.
24908
24909 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
24910
24911         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
24912         to see whether we are using the new -environment-directory
24913         command which resets via -r or the old version of the command
24914         which may prompt the user.  Part of fix for gdb/741.
24915
24916 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
24917
24918         * gdb.fortran/types.exp: Update obsolete comment.
24919         * gdb.fortran/exprs.exp: Ditto.
24920         * lib/gdb.exp: Delete obsolete code.
24921         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
24922         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
24923         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
24924         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
24925         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
24926         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
24927         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
24928         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
24929         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
24930         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
24931         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
24932         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
24933         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
24934         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
24935         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
24936         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
24937         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
24938         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
24939         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
24940         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
24941         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
24942         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
24943         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
24944         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
24945         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
24946         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
24947         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
24948         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
24949         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
24950         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
24951         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
24952         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
24953         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
24954         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
24955         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
24956         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
24957         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
24958
24959 2002-12-11  David Carlton  <carlton@math.stanford.edu>
24960
24961         * gdb.c++/m-data.exp: Add test for members that shadow global
24962         variables: see PR gdb/804.
24963         * gdb.c++/m-data.cc: Ditto.
24964
24965 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
24966
24967         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
24968
24969 2002-12-06  David Carlton  <carlton@math.stanford.edu>
24970
24971         * gdb.base/store.c: Don't declare functions static.
24972
24973 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
24974
24975         * gdb.base/store.exp, gdb.base/store.c: New files.
24976
24977 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
24978
24979         * gdb.base/selftest.exp: Update for current gdb.
24980
24981 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
24982
24983         * gdb.base/maint.exp: Only dump symbols from one source file
24984         or objfile.
24985
24986 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
24987
24988         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
24989         function call.
24990
24991 2002-11-25  Jim Blandy  <jimb@redhat.com>
24992
24993         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
24994         function appearing in error message.
24995
24996 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
24997
24998         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
24999
25000 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
25001
25002         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
25003         for mi1 and current mi is in correct format.  New mi startup message
25004         should be in mi console format.  This is part of fix for PR gdb/604.
25005
25006 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
25007
25008         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
25009         which explicitly prints the zero offset as "+0".
25010
25011 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
25012
25013         * gdb.threads/schedlock.c (args): Make unsigned.
25014
25015 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
25016
25017         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
25018         numbers.  Allow "foo2|selected stack frame".
25019         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
25020         * gdb.asm/asmsrc2.s: Likewise.
25021         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
25022         comments.
25023         * gdb.asm/mips.inc: New file.
25024
25025 2002-10-18  Adam Fedor  <fedor@gnu.org>
25026
25027         * gdb.base/default.exp: Update expected output to include 'ObjC'.
25028         * gdb.base/help.exp: Likewise.
25029
25030 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
25031
25032         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
25033         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
25034
25035 2002-10-02  Jim Blandy  <jimb@redhat.com>
25036
25037         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
25038
25039 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
25040
25041         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
25042         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
25043         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
25044         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
25045         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
25046         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
25047         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
25048
25049 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
25050
25051         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
25052         * mi0-disassemble.exp, mi0-eval.exp: Delete.
25053         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
25054         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
25055         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
25056         * mi0-var-block.exp, mi0-var-child.exp: Delete.
25057         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
25058
25059 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
25060
25061         * gdb.base/annota1.exp (info break): Make directory components of
25062         path optional since not all compilers emit this debug information.
25063
25064         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
25065         step ends up stepping out of the function instead of stopping on
25066         the epilogue.
25067
25068 2002-09-26  Keith Seitz  <keiths@redhat.com>
25069
25070         * lib/insight-support.exp (gdbtk_start): Figure out where
25071         the insight executable is based on where gdb is. Use this
25072         executable to start insight instead of gdb.
25073
25074 2002-09-25  Andrew Cagney  <cagney@redhat.com>
25075
25076         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
25077
25078 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
25079
25080         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
25081         test_isolated_complaints.
25082         (test_empty_complaint): New function.
25083         (test_empty_complaints): New function.  Check no output when no
25084         complaints.
25085
25086 2002-09-19  Jim Blandy  <jimb@redhat.com>
25087
25088         * gdb.base/charset.exp, gdb.base/charset.c: New files.
25089
25090 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
25091
25092         * gdb.gdb/complaints.exp: New file.
25093
25094 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
25095
25096         * gdb.base/maint.exp: Check `help maint internal-warning'.
25097
25098 2002-09-18  David Carlton  <carlton@math.stanford.edu>
25099
25100         * gdb.c++/m-static.exp: Remove breakpoints depending on line
25101         numbers, and replace them by a single breakpoint after the
25102         constructors are all finished.
25103         Add test 4.
25104         * gdb.c++/m-static.cc: Add test 4.
25105         * gdb.c++/m-static.h: New file.
25106         * gdb.c++/m-static1.cc: New file.
25107
25108         * gdb.c++/printmethod.exp: New file.
25109         * gdb.c++/printmethod.cc: New file.
25110
25111         * gdb.c++/pr-574.exp: New file.
25112         * gdb.c++/pr-574.cc: New file.
25113
25114 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
25115
25116         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
25117         embedded targets which never actually exit.
25118
25119 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
25120
25121         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
25122         "don't step after run" as unresolved or unsupported, instead of xfail.
25123
25124 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
25125
25126         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
25127         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
25128         Add newline to expected string in "step out of main (status wrapper)"
25129         case.
25130
25131 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
25132
25133         * lib/gdb.exp (rerun_to_main): Allow restarting application.
25134         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
25135
25136 2002-09-17  Tom Tromey  <tromey@redhat.com>
25137
25138         * gdb.base/printcmds.exp (test_print_string_constants): Expect
25139         \000, not \0, in double-quoted string.
25140
25141 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
25142
25143         * gdb.base/commands.exp: Don't expect a "Program exited normally"
25144         string after running the commands execution on breakpoint tests.
25145
25146 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
25147
25148         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
25149
25150 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
25151
25152         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
25153
25154 2002-09-10  Keith Seitz  <keiths@redhat.com>
25155
25156         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
25157         runto proc.
25158         (mi_run_to_main): Use mi_runto.
25159         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
25160
25161 2002-09-10  Keith Seitz  <keiths@redhat.com>
25162
25163         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
25164         regexp for stopping at main. Could have multiple event notifications.
25165         Don't assume that main was declared with no parameters.
25166         (mi_next): Use mi_step_to.
25167         (mi_step): Use mi_next_to.
25168
25169 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
25170
25171         * gdb.base/default.exp: Fix expected string in `info float' test.
25172
25173 2002-09-09  Ben Elliston  <bje@redhat.com>
25174
25175         * config/mips.exp: Update comments.
25176         * config/mips-idt.exp: Likewise.
25177         * config/nind.exp: Likewise.
25178         * config/slite.exp: Likewise.
25179         * config/sparclet.exp: Likewise.
25180         * config/udi.exp: Likewise.
25181         * config/vx.exp: Likewise.
25182         * config/vxworks29k.exp: Likewise.
25183
25184 2002-09-05  Jim Blandy  <jimb@redhat.com>
25185
25186         * gdb.threads/killed.exp: Fix test failure message.
25187
25188 2002-09-04  Keith Seitz  <keiths@redhat.com>
25189
25190         * lib/mi-support.exp: Update copyright.
25191         (mi_gdb_test): Increase the priority of the expected pattern
25192         so that it matches gdb_test.
25193
25194 2002-09-03  Keith Seitz  <keiths@redhat.com>
25195
25196         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
25197         Use integer comparison instead of string comparison for testing
25198         whether binary was built.
25199
25200 2002-09-03  Jim Blandy  <jimb@redhat.com>
25201
25202         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
25203
25204 2002-08-29  Jim Blandy  <jimb@redhat.com>
25205
25206         * gdb.threads/pthreads.exp: Move the portable thread compilation
25207         code into a function in lib/gdb.exp, and call that from here.
25208         * lib/gdb.exp (gdb_compile_pthreads): New function.
25209
25210 2002-08-29  Keith Seitz  <keiths@redhat.com>
25211
25212         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
25213         expect_out so that callers can get at it.
25214
25215 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
25216
25217         * gdb.threads/print-threads.c: New file.
25218         * gdb.threads/print-threads.exp: New file.
25219         * gdb.threads/schedlock.c: New file.
25220         * gdb.threads/schedlock.exp: New file.
25221
25222 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
25223
25224         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
25225         not altivec.c.
25226
25227 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
25228
25229         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
25230         targets.  The problem should be fixed now.
25231
25232 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
25233
25234         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
25235         2002-07-24 change that removes final dots from error messages.
25236
25237 2002-08-13  Tom Tromey  <tromey@redhat.com>
25238
25239         * gdb.base/readline.exp: New file.
25240
25241 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
25242
25243         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
25244         supress message.
25245
25246 2002-08-01  Andrew Cagney  <cagney@redhat.com>
25247
25248         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
25249         CHILL_FOR_TARGET and CHILL_LIB.
25250         * configure.in (configdirs): Remove gdb.chill.
25251         * configure: Regenerate.
25252         * lib/gdb.exp: Obsolete references to chill.
25253         * gdb.fortran/types.exp: Ditto.
25254         * gdb.fortran/exprs.exp: Ditto.
25255
25256 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
25257
25258         * gdb.base/shlib-call.exp (additional_flags): Conditionally
25259         set Irix-specific compile and link flags.
25260
25261 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
25262
25263         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
25264         source files.  The ``-o'' option doesn't work with the ``-E'' option
25265         when using the Irix compiler.
25266
25267 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
25268
25269         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
25270         Improve support for reusing an exec file.  Copy exec file
25271         to target, and run gdbserver on the target instead of on the host.
25272
25273 2002-07-18  Jim Blandy  <jimb@redhat.com>
25274
25275         * gdb.base/ending-run.exp: Don't expect to see the program end in
25276         some orderly fashion when we're running on a real stand-alone
25277         board.
25278
25279         * gdb.base/interrupt.exp: Correct logic for skipping tests on
25280         targets that don't support interrupts.
25281
25282 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
25283
25284         * gdb.base/attach.exp: Add patterns to match output from /proc-based
25285         systems.
25286         Move comments in expect statements to inside the actions, so that they
25287         don't get matched against.
25288
25289 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
25290
25291         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
25292         function when asleep" test.
25293
25294 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
25295
25296         * gdb.base/page.exp: Rewrite to handle problems with very long
25297         `info set' output.  Update copyright.
25298
25299 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
25300
25301         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
25302         gdb.threads-hp.
25303         * gdb.hp/configure: Regenerate.
25304         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
25305         * gdb.hp/gdb.threads-hp/configure: Delete file.
25306         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
25307
25308 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
25309
25310         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
25311         setlocale, bindtextdomain and textdomain.
25312
25313 2002-06-11  Jim Blandy  <jimb@redhat.com>
25314
25315         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
25316         preprocessor macro information is present.
25317
25318         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
25319         tests.
25320
25321 2002-06-06  Michael Snyder  <msnyder@redhat.com>
25322
25323         * gdb.base/overlays.exp: Record addresses of overlay
25324         functions in TCL variables rather than in GDB variables,
25325         to avoid having GDB convert them to pointers (with loss
25326         of information).
25327
25328         * gdb.base/d10v.ld: Merge in several years worth of
25329         default linker script changes.
25330         * gdb.base/long_long.exp: Add check for sizeof (long double).
25331
25332 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
25333
25334         * gdb.asm/asm-source.exp: Add x86-64 target.
25335         * gdb.asm/x86_64.inc: New.
25336
25337 2002-05-30  Michael Chastain  <mec@shout.net>
25338
25339         From Benjamin Kosnik <bkoz@redhat.com>:
25340         * gdb.c++/m-static.cc: New file.
25341         * gdb.c++/m-static.exp: New file.
25342
25343 2002-05-28  Michael Snyder  <msnyder@redhat.com>
25344
25345         * gdb.base/call-ar-st.exp: Allow for reduced floating point
25346         precision.
25347
25348 2002-05-27  Michael Chastain  <mec@shout.net>
25349
25350         From Benjamin Kosnik <bkoz@redhat.com>:
25351         * gdb.c++/m-data.cc: New file.
25352         * gdb.c++/m-data.exp: New file.
25353
25354 2002-05-27  Michael Chastain  <mec@shout.net>
25355
25356         From Benjamin Kosnik <bkoz@redhat.com>:
25357         * gdb.c++/try_catch.cc: New file.
25358         * gdb.c++/try_catch.exp: New file.
25359
25360 2002-05-27  Michael Chastain  <mec@shout.net>
25361
25362         * gdb.c++/local.exp: Accept more nested types in output.
25363
25364 2002-05-26  Michael Chastain  <mec@shout.net>
25365
25366         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
25367
25368 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
25369
25370         * lib/gdb.exp (gdb_wrapper_init): Just because
25371         gdb_wrapper_file exists, this does not mean that the file
25372         should not be rebuilt.  That is what gdb_wrapper_initialized
25373         is for.
25374         (default_gdb_init): Reset gdb_wrapper_initialized.
25375
25376 2002-05-23  Michael Snyder  <msnyder@redhat.com>
25377
25378         * gdb.base/all-bin.exp: Revise previous patch by just reducing
25379         the precision of the floating point test results.
25380         * gdb.base/call-rt-st.exp: Ditto.
25381
25382         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
25383         * gdb.base/call-rt-st.exp: Ditto.
25384
25385 2002-05-19  Michael Chastain  <mec@shout.net>
25386
25387         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
25388
25389 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
25390
25391         * configure.in (configdirs): Add gdb.arch.
25392         * configure: Regenerate.
25393
25394 2002-05-17  Jim Blandy  <jimb@redhat.com>
25395
25396         * gdb.base/completion.exp: Recognize the more detailed error
25397         messages produced by the macro expander's lexical analyzer.
25398
25399 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
25400
25401         * gdb.arch/altivec-abi.c: New file.
25402         * gdb.arch/altivec-abi.exp: New file.
25403         * gdb.arch/altivec-regs.c: New file.
25404         * gdb.arch/altivec-regs.exp: New file.
25405
25406 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
25407
25408         * gdb.base/maint.exp (maint print type): Update for new type
25409         structure.
25410
25411 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
25412
25413         * gdb.arch: New directory.
25414         * gdb.arch/configure.in: New file.
25415         * gdb.arch/configure: New file.
25416         * gdb.arch/Makefile.in: New file.
25417
25418 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
25419
25420         * gdb.asm/asm-source.exp: Add v850 as supported target.
25421         * gdb.asm/v850.inc: New file.
25422
25423 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
25424
25425         * gdb.c++/annota2.exp (annotate-quit): Add comment.
25426
25427 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
25428
25429         * gdb.base/break.exp: Check 'break "marker2"'.
25430
25431 2002-05-10  Michael Snyder  <msnyder@redhat.com>
25432
25433         * gdb.base/long_long.exp: Fix typo.
25434
25435 2002-05-10  Jim Blandy  <jimb@redhat.com>
25436
25437         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
25438         a bug.
25439
25440         * gdb.base/printcmds.exp (test_integer_literals_rejected):
25441         Recognize more detailed error message produced by the macro
25442         expander's lexical analyzer.
25443         * lib/gdb.exp (test_print_reject): Same.
25444
25445 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
25446
25447         * gdb.c++/method.exp: Fix typo.
25448
25449 2002-05-08  Michael Snyder  <msnyder@redhat.com>
25450
25451         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
25452         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
25453         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
25454         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
25455         Add iftarget clause for strongarm.
25456
25457 2002-05-06  Michael Snyder  <msnyder@redhat.com>
25458
25459         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
25460         (gdb_continue_to_end): Accept output from status wrapper.
25461         * gdb.base/ending-run.exp: Add case for output from status wrapper.
25462         Clean up fail messages to match pass messages.
25463
25464         Enable the "needs_status_wrapper" testsuite feature.
25465         * lib/gdb.exp (gdb_wrapper_init): New procedure.
25466         (gdb_compile): Conditionally call gdb_wrapper_init.
25467         * gdb.base/a2-run.exp: Recognize output from status wrapper.
25468         * gdb.c++/method.exp: Recognize output from status wrapper.
25469
25470 2002-05-06  Ben Elliston  <bje@redhat.com>
25471 From Graydon Hoare  <graydon@redhat.com>
25472
25473         * config/sid.exp: Include support for "rawsid" protocol.
25474
25475 2002-05-03  Jim Blandy  <jimb@redhat.com>
25476
25477         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
25478         * gdb.c++/hang3.C: New file.
25479
25480 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
25481
25482         * gdb.base/default.exp: Remove obsolete code.
25483         * gdb.c++/misc.exp: Ditto.  Update copyright.
25484         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
25485         * gdb.base/whatis.exp: Ditto.  Update copyright.
25486         * gdb.base/scope.exp: Ditto.  Update copyright.
25487         * gdb.base/ptype.exp: Ditto.  Update copyright.
25488         * gdb.base/printcmds.exp: Ditto.  Update copyright.
25489         * gdb.base/opaque.exp: Ditto.  Update copyright.
25490         * gdb.base/list.exp: Ditto.
25491         * gdb.base/funcargs.exp: Ditto.  Update copyright.
25492         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
25493         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
25494         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
25495         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
25496         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
25497         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
25498
25499 2002-05-02  Michael Snyder  <msnyder@redhat.com>
25500
25501         * gdb.base/watchpoint.exp: Add xscale target.
25502         * gdb.base/long_long.exp: Add xscale target.
25503         * gdb.base/default.exp: Add xscale target.
25504
25505 2002-05-01  Jim Blandy  <jimb@redhat.com>
25506
25507         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
25508         gdb.c++/hang.exp: New test.
25509
25510 2002-05-01  Fred Fish  <fnf@redhat.com>
25511
25512         * gdb.base/completion.exp: Handle completions of "./Make" for
25513         more than one completion possibility, as is the case when we
25514         build and test in the source tree.
25515
25516 2002-04-29  Anthony Green  <green@redhat.com>
25517
25518         * gdb.java/jmisc1.exp: New file.
25519         * gdb.java/jmisc2.exp: New file.
25520
25521 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
25522
25523         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
25524
25525 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
25526
25527         * gdb.base/help.exp: Change 'help status' to allow for target
25528         dependent output differences.
25529
25530 2002-04-22  Michael Chastain  <mec@shout.net>
25531
25532         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
25533
25534 2002-04-22  Michael Chastain  <mec@shout.net>
25535
25536         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
25537
25538 2002-04-17  David S. Miller  <davem@redhat.com>
25539
25540         * gdb.asm/sparc64.inc: New file.
25541         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
25542
25543 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
25544
25545         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
25546         instruction file directly into the build tree.  Clean up at end of
25547         test.
25548
25549 2002-04-18  David S. Miller  <davem@redhat.com>
25550
25551         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
25552         handle 64-bit platforms correctly.
25553         * gdb.base/maint.exp: Likewise.
25554
25555 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
25556
25557         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
25558         ``-fpic'' when compiling files comprising a shared library, but
25559         it does need additional linker flags in order to find shared
25560         libraries at run time.
25561
25562 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
25563
25564         * gdb.base/cvexpr.c (use): New function.
25565         (main): Invoke use() on all global variables to prevent
25566         some linkers from deleting these otherwise unused symbols.
25567
25568 2002-04-17  Michael Chastain  <mec@shout.net>
25569 From David S. Miller  <davem@redhat.com>
25570
25571         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
25572         handle 64-bit platforms correctly.
25573
25574 2002-04-12  Michael Snyder  <msnyder@redhat.com>
25575 From Jim Blandy  <jimb@redhat.com>
25576         * gdb.base/foo.c (foox): Remove section attribute; the linker
25577         script can handle this instead.
25578         * gdb.base/bar.c (barx): Same.
25579         * gdb.base/baz.c (bazx): Same.
25580         * gdb.base/grbx.c (grbxx): Same.
25581
25582         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
25583         manager doesn't automatically unmap overlays unnecessarily.
25584
25585 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
25586
25587         * gdb.base/ending-run.exp: Fix pattern for Mips targets
25588         stepping out of main.
25589
25590 2002-04-09  Michael Chastain  <mec@shout.net>
25591
25592         * gdb.c++/local.cc (main): Move call to marker1() inside nested
25593         scope so that the nested scope tests will make sense.
25594         * gdb.c++/local.exp: Write patterns that actually work with gcc
25595         (the HP patterns "were never known to work with gcc").
25596         Keep the old aCC patterns too.
25597
25598 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
25599
25600         * gdb.base/attach.exp: Correct target board test.
25601
25602 2002-04-08  Michael Chastain  <mec@shout.net>
25603
25604         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
25605         in a const method.  Add some xfail and fail cases for configurations
25606         that do not emit the "const ...".
25607
25608 2002-04-07  Michael Chastain  <mec@shout.net>
25609
25610         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
25611         Accept "A * const" and "const A * const" as type of "this".
25612         Fix spelling of getFunky throughout.  Make messages uniform.
25613
25614 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
25615
25616         Work around for PR gdb/285:
25617         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
25618
25619 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
25620
25621         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
25622         instructions file at run time instead of configure time.
25623         Sometimes we run the test in a directory that is not the one we
25624         configured in.
25625         * gdb.asm/configure.in: Delete creation of symlink.
25626         * gdb.asm/configure: Regenerate.
25627
25628 2002-04-05  J. Brobecker  <brobecker@gnat.com>
25629
25630         * gdb.gdb/xfullpath.exp: New test, to exercise the new
25631         xfullpath () function.
25632
25633 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
25634
25635         * gdb.asm/Makefile.in: Correct dependencies.
25636
25637         * gdb.asm/powerpc.inc: New file.
25638         * gdb.asm/asm-source.exp: Add PowerPC.
25639         * gdb.asm/configure.in: Likewise.
25640         * gdb.asm/configure: Regenerated.
25641
25642 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
25643
25644         * gdb.base/relocate.exp: New file.
25645         * gdb.base/relocate.c: New file.
25646
25647 2002-04-04  Fred Fish  <fnf@redhat.com>
25648
25649         * gdb.base/step-test.exp: Update comment regarding stopping in
25650         memcpy/bcopy calls inserted as part of the compiler runtime.
25651
25652 2002-04-04  Michael Snyder  <msnyder@redhat.com>
25653
25654         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
25655
25656 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
25657
25658         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
25659         (gdb_expect): Remove $notransfer hack.
25660
25661 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
25662
25663         * gdb.c++/classes.exp ("calling method for small class"): Match
25664         updated register output.
25665
25666 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
25667
25668         Fix PR gdb/452
25669         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
25670         when finished.  Make gdb_file_cmd send "exec-file" when
25671         appropriate.
25672
25673 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
25674
25675         * gdb.base/attach.exp: Remove extra setup_xfail.
25676
25677 2002-03-26  Michael Snyder  <msnyder@redhat.com>
25678
25679         * gdb.base/default.exp: Add tests for dump, append, and restore.
25680         * gdb.base/help.exp: Add tests for dump, append, and restore.
25681         * gdb.base/dump.exp: New file, test dump, append and restore.
25682         * gdb.base/dump.c: New file.
25683
25684 2002-03-27  Michael Snyder  <msnyder@redhat.com>
25685
25686         * gdb.base/help.exp: Modify expect strings to reflect
25687         clean-ups in help messages.
25688
25689 2002-03-26  Fred Fish  <fnf@redhat.com>
25690
25691         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
25692         have debugging info for those functions and the compiler uses them
25693         internally to copy structs around.
25694
25695 2002-03-26  Fred Fish  <fnf@redhat.com>
25696
25697         * gdb.base/list.exp: Revert the change made yesterday and add note
25698         about why we don't list the default lines for remote targets.
25699
25700 2002-03-25  Michael Snyder  <msnyder@redhat.com>
25701
25702         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
25703
25704 2002-03-25  Fred Fish  <fnf@redhat.com>
25705
25706         * gdb.base/list.exp: This test works on remote targets so remove
25707         the short circuit for remote targets.  Update copyright.
25708
25709 2002-03-25  Fred Fish  <fnf@redhat.com>
25710
25711         * gdb.base/attach.exp: Fix logic error that was suppressing this
25712         test for all non hppa*-*-hpux* targets, instead of the hp target.
25713         Move comments closer to the suppression point.  Also now need to
25714         check that we are running natively.
25715
25716 2002-03-22  Michael Snyder  <msnyder@redhat.com>
25717
25718         * gdb.base/default.exp: Add test for gcore.  Update copyright.
25719         * gdb.base/help.exp: Add test for gcore.  Update copyright.
25720
25721 2002-03-06  Fred Fish  <fnf@redhat.com>
25722
25723         * gdb.base/funcargs.c:  Remove extraneous ';' character.
25724         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
25725
25726 2002-03-04  Michael Chastain  <mec@shout.net>
25727
25728         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
25729         accommodate gcc v3 function signature.
25730         * gdb.mi/mi0-var-cmd-exp: Ditto.
25731
25732 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
25733
25734         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
25735         ``GNU/Linux'' or ``Linux kernel''
25736         * testsuite/gdb.threads/pthreads.c: Ditto.
25737
25738 2002-02-24  Michael Chastain  <mec@shout.net>
25739
25740         * gdb.threads/pthreads.c (thread1): Add a return statement.
25741         (thread2): Likewise.
25742         (foo): Likewise.
25743
25744 2002-02-23  Michael Chastain  <mec@shout.net>
25745
25746         * gdb.threads/linux-dp.c (philosopher): Add a return statement
25747         to placate gcc.
25748
25749 2002-02-23  Michael Chastain  <mec@shout.net>
25750
25751         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
25752         test "ptype bint".  The test passes on all my stabs configurations.
25753
25754 2002-02-21  Jim Blandy  <jimb@redhat.com>
25755
25756         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
25757         filename at a time, and watch for the ones we want to see.
25758
25759         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
25760         types of pointers to prototyped functions.
25761
25762 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
25763
25764         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
25765         signed, unsigned and straight char.
25766         (padding_char, padding_short, padding_int, padding_long,
25767         padding_long_long, padding_float, padding_double,
25768         padding_long_double): New global variables.
25769         (fill, fill_structs): New functions.
25770
25771         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
25772         for correctly sized writes.  Update copyright.
25773         (get_valueof): New procedure.
25774         (get_sizeof): Call get_valueof.
25775         (check_valueof): New procedure.
25776         (check_padding): New procedure.
25777
25778 2002-02-20  Michael Chastain  <mec@shout.net>
25779
25780         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
25781         to setup_xfail.  Document some of the remaining calls.
25782
25783 2002-02-18  Michael Chastain  <mec@shout.net>
25784
25785         * gdb.c++/userdef.exp: Update copyright year.
25786
25787 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
25788
25789         * gdb.c++/userdef.exp: Test overloaded operators properly.
25790         Remove xfails.
25791
25792 2002-02-14  Michael Snyder  <msnyder@redhat.com>
25793
25794         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
25795
25796 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
25797
25798         * gdb.base/a2-run.exp: Check for a remote target properly.
25799         * gdb.base/annota1.exp: Likewise.
25800         * gdb.base/list.exp: Likewise.
25801         * gdb.base/reread.exp: Likewise.
25802         * gdb.base/scope.exp: Likewise.
25803         * gdb.base/shlib-call.exp: Likewise.
25804         * gdb.base/term.exp: Likewise.
25805         * gdb.c++/annota2.exp: Likewise.
25806
25807 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
25808
25809         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
25810
25811 2002-02-10  Michael Chastain  <mec@shout.net>
25812
25813         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
25814         (call_after_alloca): Ditto.
25815
25816 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
25817
25818         * gdb.base/ending-run.exp: Guard "cont" test with
25819         gdb_skip_stdio_test.
25820
25821 2002-02-06  Jim Blandy  <jimb@redhat.com>
25822
25823         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
25824         from here...
25825         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
25826         To here.  Disable this test on non-HP platforms.  Add big comment.
25827
25828 2002-02-04  Michael Snyder  <msnyder@redhat.com>
25829
25830         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
25831           other than d10v and m32r.
25832
25833 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
25834
25835         * gdb.base/default.exp: Rewrite test patterns to reduce time
25836         taken to match them.
25837
25838 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
25839
25840         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
25841         Allow a start function above main.
25842         * gdb.threads/linux-dp.exp: Fix copyright date.
25843
25844 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
25845
25846         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
25847         (check_philosopher_stack): Check for manager thread before checking
25848         for a just-starting thread.
25849
25850 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
25851
25852         From Neil Booth <neil@daikokuya.demon.co.uk>:
25853         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
25854         warnings.
25855
25856 2002-01-21  Fred Fish  <fnf@redhat.com>
25857
25858         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
25859         not caller.
25860
25861 2002-01-21  Jim Blandy  <jimb@redhat.com>
25862
25863         * gdb.base/reread.exp: Check that GDB properly re-reads the
25864         executable file when it changes while no inferior is running.
25865
25866 2002-01-21  Fred Fish  <fnf@redhat.com>
25867
25868         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
25869         optionally accept the "shlib events" variation.
25870
25871 2002-01-21  Jim Blandy  <jimb@redhat.com>
25872
25873         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
25874         call `fflush' after every `printf', so that the output is produced
25875         at predictable points, regardless of whatever buffering does (or
25876         doesn't) take place.
25877         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
25878         at different points.
25879
25880 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
25881
25882         * gdb.c++/inherit.exp: Update copyright years.
25883         * gdb.c++/method.exp: Likewise.
25884
25885 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
25886
25887         * gdb.c++/classes.exp: Update for improved v3 support and skipping
25888         artificial methods/arguments.
25889         * gdb.c++/derivation.exp: Likewise.
25890         * gdb.c++/inherit.exp: Likewise.
25891         * gdb.c++/method.exp: Likewise.
25892         * gdb.c++/virtfunc.exp: Likewise.
25893
25894 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
25895
25896         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
25897         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
25898         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
25899         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
25900         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
25901         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
25902
25903 2002-01-17  Jim Blandy  <jimb@redhat.com>
25904
25905         * gdb.asm/asm-source.exp (info symbol): Take another shot at
25906         anchoring the pattern matching the entry point symbol's name.
25907
25908 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
25909
25910         * gdb.base/maint.exp: Update ``maint internal-error'' to match
25911         continue/quit query.  Update copyright.
25912
25913 2002-01-14  Michael Snyder  <msnyder@redhat.com>
25914
25915         * gdb.base/gcore.exp: Remove extra debugging output.
25916
25917 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
25918
25919         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
25920         for slightly dubious v2 mangled string.
25921
25922 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
25923
25924         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
25925
25926 2002-01-10  Jason Merrill  <jason@redhat.com>
25927
25928         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
25929
25930         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
25931         constructors.
25932         * gdb.c++/derivation.exp: Likewise.
25933         * gdb.c++/templates.exp: Likewise.
25934         * gdb.c++/virtfunc.exp: Likewise.
25935
25936 2002-01-10  Michael Snyder  <msnyder@redhat.com>
25937
25938         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
25939
25940 2002-01-08  Michael Snyder  <msnyder@redhat.com>
25941
25942         * gdb.base/gcore.exp: New test for generate-core-file command.
25943         * gdb.base/gcore.c: Testcase for above.
25944         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
25945
25946 2002-01-08  Jason Merrill  <jason@redhat.com>
25947
25948         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
25949
25950 2002-01-07  Fred Fish  <fnf@redhat.com>
25951
25952         * gdb.c++/overload.exp: Remove unconditional xfails for:
25953         print foo_instance1.overloadargs(1)
25954         print foo_instance1.overloadargs(1, 2)
25955         print foo_instance1.overloadargs(1, 2, 3)
25956         print foo_instance1.overloadargs(1, 2, 3, 4)
25957         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
25958         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
25959         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
25960         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
25961         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
25962         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
25963         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
25964         print foo_instance1.overload1arg()
25965         print foo_instance1.overload1arg((char)arg2)
25966         print foo_instance1.overload1arg((signed char)arg3)
25967         print foo_instance1.overload1arg((unsigned char)arg4)
25968         print foo_instance1.overload1arg((int)arg7)
25969         print foo_instance1.overload1arg((unsigned int)arg8)
25970         print foo_instance1.overload1arg((float)arg11)
25971         print foo_instance1.overload1arg((double)arg12)
25972
25973 2002-01-07  Michael Snyder  <msnyder@redhat.com>
25974
25975         * gdb.base/huge.exp: New test.  Print a very large target data object.
25976         (skip_huge_test): New test variable.  Define if you want to skip this
25977         test.  The test reads an 8 megabyte data object from the target, so it
25978         might be very time consuming on remote targets with a slow connection.
25979         * gdb.base/huge.c: New file.  Test case for above.
25980
25981 2002-01-07  Fred Fish  <fnf@redhat.com>
25982
25983         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
25984         g_instance.bfoo, and g_instance.cfoo.
25985
25986 2002-01-07  Jeffrey A Law  <law@redhat.com>
25987
25988         * gdb.base/break.c (multi_line_if_conditional): New function.
25989         (multi_ilne_while_conditional): Likewise.
25990         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
25991         IF or WHILE condition puts the breakpoint at the start of
25992         the condition.
25993
25994         * gdb.base/selftest.exp (backtrace through signal handler): Remove
25995         hppa*-*-hpux* expected failure.
25996         * gdb.base/structs.exp (do_function_calls): Similarly.
25997
25998         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
25999         watchpoints.
26000
26001 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
26002
26003         Fix PR gdb/66.
26004         * gdb.base/structs.exp: Replace skip for a29k with skip for
26005         gdb,cannot_call_functions.
26006         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
26007         * gdb.base/callfuncs.exp: Ditto.
26008         * gdb.base/call-rt-st.exp: Ditto.
26009         * gdb.base/call-strs.exp: Ditto.
26010         * gdb.base/callfwmall.exp: Ditto.
26011         * gdb.base/scope.exp: Obsolete xfail a29k.
26012         * gdb.c++/misc.exp: Ditto.
26013         * gdb.c++/cplusfuncs.exp: Ditto.
26014         * gdb.base/ptype.exp: Ditto.
26015         * gdb.base/printcmds.exp: Ditto.
26016         * gdb.base/opaque.exp: Ditto.
26017         * gdb.base/list.exp: Ditto.
26018         * gdb.base/funcargs.exp: Ditto.
26019         * gdb.base/default.exp: Ditto.
26020
26021 2002-01-04  Michael Snyder  <msnyder@redhat.com>
26022
26023         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
26024         * gdb.base/maint.exp: Add tests for maint info sections options.
26025
26026 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
26027
26028         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
26029
26030 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
26031
26032         * gdb.asm/arm.inc: New file.
26033         * gdb.asm/asm-source.exp: Add arm targets.
26034         * gdb.asm/configure.in: Ditto.
26035         * gdb.asm/configure: Recreated from configure.in.
26036
26037 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
26038
26039         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
26040         with HP's compiler.
26041         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
26042         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
26043         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
26044         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
26045
26046         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
26047         either HP's compilers or GCC.
26048
26049         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
26050         a SIGBUS or SIGSEGV.
26051
26052         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
26053
26054         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
26055         can be compiled with either HP's compiler or GCC.
26056
26057         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
26058         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
26059         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
26060
26061         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
26062         to match current gdb output.  Update due to using auto-solib-limit
26063         for limiting instead of overloading auto-solib-add.
26064         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
26065         test program.
26066
26067         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
26068         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
26069         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
26070         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
26071         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
26072         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
26073         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
26074         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
26075         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
26076         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
26077         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
26078         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
26079         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
26080
26081         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
26082         a SIGTRAP to the inferior.
26083
26084 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
26085
26086         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
26087         Substitute call to target_link by call to gdb_compile.
26088
26089 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
26090
26091         * gdb.base/break.exp: Fix HP specific search string when testing
26092         backtracing in a called function.
26093
26094         * gdb.base/constvars.exp: Only set lang to C++ if we're
26095         compiling the test with HP's compilers.
26096         * gdb.base/volatile.exp: Similarly.
26097
26098 2001-12-19  Jim Blandy  <jimb@redhat.com>
26099
26100         * gdb.base/printcmds.exp: Expect the null character to be printed
26101         as '\0', and the '\013' to be printed as '\v'.
26102         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
26103         * gdb.base/setvar.exp: Same.
26104
26105 2001-12-17  Jim Blandy  <jimb@redhat.com>
26106
26107         * gdb.base/completion.exp: Rather than completing very long
26108         filenames, which can make the readline library produce output we
26109         don't recognize, cd to the directory first, and then complete
26110         using nice, short relative paths.
26111
26112         * gdb.base/completion.exp: On some systems, there is, in fact, a
26113         variable named `b' in scope, since GDB treats all static
26114         variables as being in scope.  So use `no_var_named_this'
26115         instead of `b'.
26116
26117         * gdb.base/corefile.exp: Recognize the message saying that GDB
26118         can't find the core file's registers as a failure.
26119
26120 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
26121
26122         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
26123         test expect string more specific.
26124
26125 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
26126
26127         * gdb.asm/asm-source.exp: Add support for xstormy16.
26128         * gdb.asm/configure.in: Ditto.
26129         * gdb.asm/configure: Rebuild.
26130         * gdb.asm/xstormy16.inc: New file.
26131
26132 2001-12-10  Fred Fish  <fnf@redhat.com>
26133
26134         * gdb.base/maint.exp: Update to match changes in type dumping code.
26135
26136 2001-12-10  Jim Blandy  <jimb@redhat.com>
26137
26138         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
26139         matching the entry point symbol's name at the beginning of the
26140         line.
26141
26142 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
26143
26144         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
26145         gdb.c++/inherit.exp, gdb.c++/method.exp,
26146         gdb.c++/namespace.exp, gdb.c++/templates.exp,
26147         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
26148         and class layout support.
26149
26150 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
26151
26152         * gdb.c++/classes.exp: Add test for static member function.
26153         * gdb.c++/misc.cc: Add class with static member function.
26154
26155 2001-12-07  Jim Blandy  <jimb@redhat.com>
26156
26157         If GDB says it can't find the struct the function returned, report
26158         those tests as `unsupported'.
26159         * gdb.base/call-rt-st.exp (print_struct_call): New function.
26160         Rewrite subsequent tests to use it.
26161
26162         If GDB says it can't find the struct the function returned, report
26163         those tests as `unsupported'.
26164         * gdb.base/structs.exp (call_struct_func): New function.
26165         (do_function_calls): Use call_struct_func to call the functions
26166         returning structs.
26167
26168         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
26169         whether functions are prototyped or not, so we can't possibly pass
26170         arguments to t_float_values2 properly.
26171
26172         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
26173         value of `timeout' for targets other than the mips*tx39-*.
26174
26175 2001-12-06  Michael Snyder  <msnyder@redhat.com>
26176
26177         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
26178         and detect whether the start symbol has a leading underscore.
26179
26180 2001-12-04  Jim Blandy  <jimb@redhat.com>
26181
26182         * gdb.base/completion.exp: Clarify indentation.
26183
26184 2001-12-03  Jim Blandy  <jimb@redhat.com>
26185
26186         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
26187         variables on the S/390, not `.word'.
26188
26189 2001-11-30  Jim Blandy  <jimb@redhat.com>
26190
26191         Add assembly-source tests for s390-ibm-linux.
26192         * gdb.asm/s390.inc: New file.
26193         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
26194         the S/390 architecture.
26195         * gdb.asm/configure: Regenerated.
26196
26197 2001-11-30  Michael Snyder  <msnyder@redhat.com>
26198
26199         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
26200         next, info source, info sources, info line, global and static
26201         variables, and static functions.
26202         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
26203         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
26204         * gdb.asm/asmsrc1.s: Add a static function and some variables.
26205         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
26206         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
26207         (gdbasm_leave): Restore frame pointer.
26208         (gdbasm_startup): Copy stack set-up from crt0.S.
26209
26210 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
26211
26212         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
26213         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
26214         to a local (non-static) variable. Copy tstruct.a to a static buffer
26215         and return a pointer to that buffer.
26216         * gdb.base/callfwmall.c (t_structs_a): Ditto.
26217
26218 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
26219
26220         * gdb.asm/configure.in: Fix recognition of ix86 target.
26221         * gdb.asm/configure: Regenerate.
26222
26223 2001-11-21  Michael Snyder  <msnyder@redhat.com>
26224
26225         * gdb.asm/sparc.inc: New file.
26226         * gdb.asm/asm-source.exp: Recognize sparc target.
26227         * gdb.asm/configure.in: Recognize sparc target.
26228         * gdb.asm/configure: Regenerate.
26229
26230 2001-11-21  Michael Snyder  <msnyder@redhat.com>
26231
26232         * gdb.asm/m32r.inc: New file.
26233         * gdb.asm/asm-source.exp: Recognize m32r target.
26234         * gdb.asm/configure.in: Recognize m32r target.
26235         * gdb.asm/configure: Regenerate.
26236
26237 2001-11-20  Michael Snyder  <msnyder@redhat.com>
26238
26239         * gdb.asm/i386.inc: New file.
26240         * gdb.asm/asm-source.exp: Recognize ix86 target.
26241         * gdb.asm/configure.in: Recognize ix86 target.
26242         * gdb.asm/configure: Regenerate.
26243
26244         * gdb.c++/namespace.exp: Fix quotes in output messages.
26245
26246 2001-11-14  Michael Snyder  <msnyder@redhat.com>
26247
26248         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
26249         qualifier in a type cast expression, to designate an address
26250         in the instruction space (Harvard architecture).
26251
26252 2001-11-13  Michael Snyder  <msnyder@redhat.com>
26253
26254         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
26255         Tests for expressions using 'const' and 'volatile'.
26256
26257 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
26258
26259         * gdb.asm/asm-sources.exp: Allow defining linker flags.
26260
26261 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
26262
26263         * lib/mi-support.exp (mi_run_to_helper): Move comments
26264         outside of gdb_expect.
26265
26266 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
26267
26268         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
26269         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
26270         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
26271         mi0_run_to): New functions.
26272         * gdb.mi/mi-simplerun.exp: Use them.
26273         * gdb.mi/mi0-simplerun.exp: Likewise.
26274         * gdb.mi/mi-var-cmd.exp: Likewise.
26275         * gdb.mi/mi0-var-cmd.exp: Likewise.
26276
26277 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
26278
26279         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
26280         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
26281
26282 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
26283
26284         * gdb.base/restore.exp: Include $expected value in restored test
26285         message.
26286
26287 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
26288
26289         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
26290         implemented.
26291
26292 2001-11-08  Michael Snyder  <msnyder@redhat.com>
26293
26294         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
26295         Add pass/fail message for stop at breakpoint in call dummy function.
26296
26297 2001-11-07  Michael Snyder  <msnyder@redhat.com>
26298
26299         * gdb.c++/templates.exp (test_template_breakpoints):
26300         If we get an overload menu, but it does not match what
26301         we expect, we still need to issue the "cancel" command.
26302         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
26303         making the whitespace optional.  Argument for "new" may be
26304         "unsigned" as well as "unsigned int/long".
26305         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
26306         making the whitespace optional.  Also replace "(void) with
26307         "((void|)), making the keyword "void" optional.
26308         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
26309         making the whitespace optional.  Also replace "(void) with
26310         "((void|)), making the keyword "void" optional.
26311         * gdb.base/callfuncs.c (t_float_values): This function must
26312         _not_ be prototyped, and the following function (t_float_values2)
26313         must be prototyped (if the compiler supports it), so that GDB
26314         can be tested against both cases.  Usually one case involves
26315         promotion of float to double, while the other does not.
26316         * gdb.base/callfwmall.c: Ditto.
26317         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
26318         includes a stack frame for "start".
26319
26320 2001-11-05  Jim Blandy  <jimb@redhat.com>
26321
26322         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
26323         pointers are 32 bits long, and that offsets of relocs are always
26324         stored in the data (REL-style), and not in the reloc entry itself
26325         (RELA-style).
26326         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
26327         stabs.
26328
26329 2001-11-01  Michael Snyder  <msnyder@redhat.com>
26330
26331         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
26332         and regular expression operators by using quoting.
26333
26334 2001-10-31  Michael Snyder  <msnyder@redhat.com>
26335
26336         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
26337         depending on what the symbol table contains.
26338         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
26339         the output of the ptype command.  Similarly, accept both "const &"
26340         and "const&".
26341
26342 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
26343
26344         * gdb.base/miscexprs.c (main): Add usage of preprocessor
26345         symbol `STORAGE' to allow to choose the storage class of
26346         the local datastructures.
26347         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
26348         compiler directive.
26349
26350 2001-10-30  Michael Snyder  <msnyder@redhat.com>
26351
26352         * gdb.base/jump.exp: Allow it to run for all targets.
26353
26354 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
26355
26356         * gdb.base/call-ar-st.c (print_double_array): Match for loop
26357         with new double_array size.
26358         (main): Change storage class of all local variables to static.
26359         Reduce size of double_array to 9.
26360         * gdb.base/call-ar-st.exp:  Increase timeout value.
26361         Change expected output for double array to match new size in
26362         call-ar-st.c.
26363
26364 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
26365
26366         * gdb.base/ending-run.exp: Create identical output when passing
26367         `step to end of run' case.  Add regular expression branch satisfying
26368         Stormy16 target.
26369
26370 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
26371
26372         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
26373         that we catch the expected failure under Linux/x86.
26374
26375 2001-10-29  Orjan Friberg  <orjanf@axis.com>
26376
26377         * gdb.base/setvar.exp: Escape curly braces.
26378         * gdb.stabs/weird.exp: Ditto.
26379
26380 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
26381
26382         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
26383         * gdm.mi/mi0-hack-cli.exp: Likewise.
26384
26385 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
26386
26387         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
26388         messages.
26389
26390 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
26391
26392         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
26393         checking MI enabled.
26394
26395 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
26396
26397         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
26398
26399 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
26400
26401         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
26402         if gdb child process crashes, just signal an error.
26403
26404 2001-10-02  Jim Blandy  <jimb@redhat.com>
26405
26406         * lib/gdb.exp (test_xfail_format): Simplify.
26407
26408         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
26409         front of the variable name `format'.  Simplify `if'.
26410
26411 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
26412
26413         * gdb.threads/pthreads.exp: Wait for output and delay
26414         before sending ^C.
26415
26416 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
26417
26418         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
26419         some incorrect output instead of timing out.
26420         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
26421
26422 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
26423
26424         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
26425         check to allow additional `int'.
26426
26427 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
26428
26429         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
26430         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
26431
26432 2001-09-27  Michael Snyder  <msnyder@redhat.com>
26433
26434         * lib/gdb.exp (test_debug_format): New proc.
26435         (setup_xfail_format): Use new proc test_debug_format.
26436         * gdb.base/constvars.exp (local_compiler_xfail_check): New
26437         proc; use new service proc test_debug_format.
26438         Replace all other "gcc_compiled" tests with this test.
26439         * gdb.base/volatile.exp (local_compiler_xfail_check): New
26440         proc; use new service proc test_debug_format.
26441         Replace all other "gcc_compiled" tests with this test.
26442
26443 2001-09-27  Michael Snyder  <msnyder@redhat.com>
26444
26445         * gdb.base/cvexpr.exp: New file.
26446         * gdb.base/cvexpr.c: New file
26447         Test for expressions using const and volatile keywords.
26448
26449 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
26450
26451         * gdb.base/constvars.exp: Check for different orders of keywords
26452         and additional "int" strings in output.
26453
26454 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
26455
26456         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
26457         responses from "help maint".
26458
26459 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
26460
26461         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
26462         to localhost:NNN instead of :NNN, in case Xvfb is listening
26463         only on TCP.
26464
26465 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
26466
26467         * gdb.base/recurse.exp: When checking leaving the watchpoint
26468         scope, recognize when gdb is in function's epilogue and pass.
26469
26470 2001-09-18  Keith Seitz  <keiths@redhat.com>
26471
26472         * lib/insight-support.exp (_gdbtk_export_target_info): Add
26473         support for running tests against sid targets.
26474         (gdbtk_done): Ditto.
26475
26476 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
26477
26478         * gdb.base/ending-run.c (main): Set stdout buffersize
26479         to the same reasonable value for any target.
26480         * gdb.base/ending-run.exp: Add a regular expression
26481         to make testsuite happy on Sanyo Stormy16 target.
26482
26483 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
26484
26485         * gdb.base/display.c (do_loops): Add float variable `f'.
26486         Increment f in loop.
26487         * gdb.base/display.exp: Increment timeout by 60 seconds.
26488         Change float display test to use variable `f'.
26489
26490 2001-09-17  Jim Blandy  <jimb@redhat.com>
26491
26492         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
26493         overflowing the limited breakpoint tables on some ROM monitors
26494         (like the ROM68K).
26495
26496 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
26497
26498         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
26499         the "-ac" (disable access control) flag.
26500
26501 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
26502
26503         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
26504         ints.
26505
26506 2001-08-30  Keith Seitz  <keiths@redhat.com>
26507
26508         * lib/gdb.exp: Move all insight-related functionality into
26509         separate file.
26510         * lib/insight-support.exp: New file.
26511
26512 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
26513
26514         * config/sid.exp (sid_start): Never set sid verbosity; disable
26515         expect_background {} that consumed its stdout; tolerate </dev/null.
26516         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
26517
26518 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
26519
26520         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
26521         CLI jump command to start it.
26522         (mi_run_to_main): Fail immediatly when unexpected output.
26523
26524 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
26525
26526         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
26527         beginning of function.  Fix PR gdb/191.
26528
26529 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
26530
26531         * config/sid.exp (sid_start): Don't warn if we cannot figure out
26532         what to force sid endianness to.
26533
26534 2001-08-15  Keith Seitz  <keiths@redhat.com>
26535
26536         * lib/gdb.exp (gdbtk_start): Don't set environment
26537         variables for TCL_LIBRARY and friends. Insight will
26538         now figure these out for itself.
26539
26540 2001-08-02  Michael Snyder  <msnyder@redhat.com>
26541
26542         * gdb.base/completion.exp: Remove the symbol "a64l" from
26543         the expect string; this is target-specific, and not related
26544         to what is being tested.
26545
26546 2001-08-02  Dave Brolley  <brolley@redhat.com>
26547
26548         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
26549
26550 2001-07-25  Michael Snyder  <msnyder@redhat.com>
26551
26552         * gdb.base/consecutive.exp: New file.  Test stepping over
26553         breakpoints on consecutive instructions.
26554         * gdb.base/consecutive.c: New file.
26555
26556         * gdb.base/call-rt-st.exp: Use double-backslash to quote
26557         curly braces in regular expressions.
26558
26559 2001-07-25  Michael Snyder  <msnyder@redhat.com>
26560
26561         * gdb.base/ending-run.exp: Accept "Program exited normally" as
26562         legitimate output from stepping out of main.
26563
26564 2001-07-22  Keith Seitz  <keiths@redhat.com>
26565
26566         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
26567         the empty string, do not run the tests.
26568
26569 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
26570
26571         * gdb.base/long_long.exp: Detect size of pointer.  Take into
26572         account 2-byte pointers when testing for p/a results.
26573
26574 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
26575
26576         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
26577         and defined to 1K for m68hc11.
26578         (random_data): Reduce table to 1K for embedded platforms (68hc11).
26579         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
26580         (sizeof_random_data): New variable to tell the size of the data table;
26581         don't test past this size; always run to main.
26582
26583 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
26584
26585         * gdb.base/return2.exp: return of long long and double fails for
26586         68HC11; don't execute these tests on that platform.
26587         * gdb.base/return.exp: Return of a double fails for 68hc11.
26588
26589 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
26590
26591         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
26592         tests that print a float.
26593         * call-rt-st.exp: Likewise.
26594
26595 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
26596
26597         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
26598         running this test on Linux.
26599
26600 2001-06-24  Michael Chastain  <chastain@redhat.com>
26601
26602         * gdb.base/arithmet.exp: Remove some tests to make all test names
26603         unique.
26604
26605 2001-07-03  Michael Snyder  <msnyder@redhat.com>
26606
26607         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
26608         the output of the ptype command.
26609
26610 2001-07-02  Michael Snyder  <msnyder@redhat.com>
26611
26612         * gdb.base/completion.exp: Don't assume that break.c is the only
26613         source file that may contain functions named "marker".
26614         * gdb.base/corefile.exp: Quote the curly braces in regexp.
26615
26616 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
26617
26618         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
26619         of files to delete.
26620
26621         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
26622         * gdb.disasm/h8300s.exp: New file.
26623         gdb.disasm/h8300s.s: Likewise.
26624
26625 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
26626
26627         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
26628         empty breakpoint tables.
26629
26630 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
26631
26632         * lib/mi-support.exp: Update args=... part of stop-reason
26633         patterns. Accept either a list or a tuple.
26634
26635 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
26636
26637         * lib/mi-support.exp: Remove local emacs variable defining
26638         change-log-default-name.
26639
26640 2001-06-22  Michael Chastain  <chastain@redhat.com>
26641
26642         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
26643         This is operationally compatible with the previous version.
26644
26645 2001-06-13  Jim Blandy  <jimb@redhat.com>
26646
26647         * lib/gdb.exp (gdb_test): Doc fix.
26648
26649 2001-06-10  Michael Chastain  <chastain@redhat.com>
26650
26651         * gdb.base/exprs.exp: Remove a duplicate test.
26652
26653 2001-06-06  Jim Blandy  <jimb@redhat.com>
26654
26655         * gdb.base/return2.exp (main): Use values to test float and double
26656         returns that are not NaN's, to avoid being confused by IEEE
26657         comparison rules.
26658
26659 2001-06-04  Michael Snyder  <msnyder@redhat.com>
26660
26661         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
26662         non-zero if control_c fails.  Terminate the test on failure,
26663         rather than wait for 12 more tests to time out.
26664
26665 2001-06-06  Jim Blandy  <jimb@redhat.com>
26666
26667         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
26668         Don't forget to match the GDB prompt.
26669
26670         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
26671
26672 2001-06-04  Jim Blandy  <jimb@redhat.com>
26673
26674         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
26675         command.
26676
26677 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
26678
26679         * gdb.base/annota1.exp (info break): Match four or more spaces
26680         after "Address".
26681
26682 2001-05-31  Michael Chastain  <chastain@redhat.com>
26683
26684         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
26685         (dm_type_int_star): Likewise.
26686         (dm_type_long_star): Likewise.
26687         (dm_type_void_star): Likewise.
26688
26689 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
26690
26691         * gdb.base/completion.exp (INPUTRC): Set this environment variable
26692         to a known value in order to get consistent results regardless
26693         of the setting of INPUTRC or the presence or contents of .inputrc.
26694
26695 2001-05-24  Michael Snyder  <msnyder@redhat.com>
26696
26697         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
26698         Don't require that the main thread and the manager thread are the
26699         first in the list.
26700
26701         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
26702         debugging.  If test fails, issue an "unsupported" not a "fail".
26703
26704 2001-05-24  Jim Blandy  <jimb@redhat.com>
26705
26706         Don't assume that short is shorter than int.
26707         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
26708         assume that shorts are smaller than ints.  On a 16-bit machine,
26709         this isn't true.
26710         ("print unsigned char == (~0)"): Add test that verifies that ~0,
26711         an int, is not equal to ~0 stored in an unsigned char.  This tests
26712         the same thing that the previous test meant to, but works on
26713         16-bit machines, too.
26714         ("print unsigned char != (~0)"): Same test, complemented.
26715
26716 2001-05-24  Michael Snyder  <msnyder@redhat.com>
26717
26718         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
26719         test for (full_coverage == 0).  This makes the test run faster,
26720         and prevents dejagnu getting out of step.
26721
26722 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
26723
26724         * gdb.base/finish.exp (finish_void): Revise pattern for
26725         stopping on the call statement to not permit stopping at
26726         the start of the instructions comprising the call sequence.
26727
26728 2001-05-19  Michael Chastain  <chastain@redhat.com>
26729
26730         * gdb.base/callfuncs.exp: Make all test names unique.
26731         * gdb.base/commands.exp: Make all test names unique.
26732         * gdb.base/condbreak.exp: Make all test names unique.
26733         * gdb.base/dbx.exp: Make all test names unique.
26734         * gdb.base/default.exp: Make all test names unique.
26735         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
26736         and TIMEOUT messages to their corresponding PASS message.
26737         * gdb.base/ending-run.exp: Make all test names unique.
26738         * gdb.base/long_long.exp: Remove duplicate test.
26739
26740 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
26741
26742         * gdb.base/finish.exp (finish_void): Allow "finish" command to
26743         stop on the call statement as well as the statement after the
26744         call.
26745
26746 2001-05-21  Michael Snyder  <msnyder@redhat.com>
26747
26748         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
26749
26750 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
26751
26752         * gdb.base/completion.exp: Revamp test. Make it execute on all
26753         platforms.
26754
26755 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
26756
26757         * config/gdbserver.exp (gdb_load): Handle the case
26758         in which the arguments to gdbserver are given in the
26759         baseboard configuration file.
26760         Also handle the case in which the server needs to do a
26761         load.
26762
26763 2001-05-07  Keith Seitz <keiths@cygnus.com>
26764
26765         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
26766         set up the display for testing.
26767         (gdbtk_start): Convert all paths to paths that tcl will like.
26768         Export target information to environment.
26769         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
26770         necessary.
26771         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
26772         (to_tcl_path): New proc to convert a given pathname into
26773         a path acceptible as an argument to a tcl command.
26774         (_gdbtk_export_target_info): New proc to export target info
26775         into the environment for gdbtk testing.
26776         (gdbtk_done): New proc to signal end-of-test.
26777
26778 2001-05-06  Jim Blandy  <jimb@redhat.com>
26779
26780         * restore.c: Make the code of caller0 correspond to its comment.
26781
26782 2001-05-03  Michael Snyder  <msnyder@redhat.com>
26783
26784         * config/sid.exp (gdb_target_sid): Check for error messages.
26785         On error or timeout, don't make expect exit (which will terminate
26786         all subsequent tests); instead just make gdb exit.
26787         (gdb_load): Check for error messages.  On error or timeout,
26788         return a negative value.
26789
26790 2001-04-24  Jim Blandy  <jimb@redhat.com>
26791
26792         * gdb.c++/templates.exp: If we see the prompt for the overload
26793         list, but we haven't recognized any of the longer patterns,
26794         arrange for this test to fail, not hang.
26795
26796         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
26797         variations.
26798
26799 2001-04-22  Michael Chastain  <chastain@redhat.com>
26800
26801         * gdb.c++/local.exp: Use the 'runto' library function.
26802         * gdb.c++/namespace.exp: Likewise.
26803         * gdb.c++/overload.exp: Likewise.
26804
26805 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
26806
26807         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
26808         * gdb.base/step-line.exp: New file.  Test step/next in presence of
26809         #line directives.
26810         * gdb.base/step-line.c: New file.  Test program for the above.
26811         * gdb.base/step-line.inp: New file.  We pretend that this file has
26812         been transformed by some other tool into step-line.c.
26813
26814 2001-03-21  Jim Blandy  <jimb@redhat.com>
26815
26816         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
26817         unmangled operator names.
26818
26819 2001-03-20  Jim Blandy  <jimb@redhat.com>
26820
26821         * gdb.threads/linux-dp.exp: Recognize an additional message
26822         generated by GDB when it doesn't understand how to debug threads
26823         on the target system.
26824
26825 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
26826
26827         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
26828
26829 2001-03-12  Michael Chastain  <chastain@redhat.com>
26830
26831         * gdb.c++/derivation.exp: Use the 'runto' library function.
26832
26833 2001-03-12  Michael Chastain  <chastain@redhat.com>
26834
26835         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
26836
26837 2001-02-24  Michael Chastain  <chastain@redhat.com>
26838
26839         * gdb.c++/ref-types.exp: Change handwritten code to library
26840         function 'runto'.
26841
26842 2001-03-16  Orjan Friberg  <orjanf@axis.com>
26843
26844         * gdb.base/signals.exp: Set count to 0 explicitly.
26845
26846 2001-03-15  Mark Salter  <msalter@redhat.com>
26847
26848         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
26849         (gdb_target_monitor): Add check of gdb_target_cmd return value.
26850         (gdb_load): Add support for additional target_info: gdb_download_size
26851         and gdb_load_timeout.
26852
26853 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
26854
26855         * gdb.base/annota1.exp: Move test of isnative to earlier in the
26856         file -- to prevent failing when the compile fails but we have no
26857         intention of running the tests anyway.
26858
26859         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
26860         tests if set.
26861
26862         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
26863         integers.
26864
26865         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
26866         * gdb.c++/namespace.exp: Ditto.
26867
26868 2001-03-07  Orjan Friberg  <orjanf@axis.com>
26869
26870         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
26871         * gdb.base/pointers.exp: Relax pattern match of decimals.
26872
26873 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
26874
26875         * Makefile.in, config/abug.exp, config/cfdbug.exp,
26876         config/cpu32bug.exp, config/dve.exp, config/est.exp,
26877         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
26878         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
26879         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
26880         config/sh.exp, config/sid.exp, config/slite.exp,
26881         config/sparclet.exp, config/udi.exp, config/unknown.exp,
26882         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
26883         config/vxworks.exp, config/vxworks29k.exp,
26884         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
26885         gdb.base/all-bin.exp, gdb.base/annota1.exp,
26886         gdb.base/arithmet.exp, gdb.base/assign.exp,
26887         gdb.base/async.exp, gdb.base/attach.exp,
26888         gdb.base/bitfields.exp, gdb.base/bitops.exp,
26889         gdb.base/break.exp, gdb.base/call-ar-st.exp,
26890         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
26891         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
26892         gdb.base/commands.exp, gdb.base/completion.exp,
26893         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
26894         gdb.base/constvars.exp, gdb.base/corefile.exp,
26895         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
26896         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
26897         gdb.base/ending-run.exp, gdb.base/environ.exp,
26898         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
26899         gdb.base/finish.exp, gdb.base/foll-exec.exp,
26900         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
26901         gdb.base/funcargs.exp, gdb.base/help.exp,
26902         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
26903         gdb.base/logical.exp, gdb.base/long_long.exp,
26904         gdb.base/maint.exp, gdb.base/mips_pro.exp,
26905         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
26906         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
26907         gdb.base/pointers.exp, gdb.base/printcmds.exp,
26908         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
26909         gdb.base/regs.exp, gdb.base/relational.exp,
26910         gdb.base/remote.exp, gdb.base/reread.exp,
26911         gdb.base/restore.exp, gdb.base/return2.exp,
26912         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
26913         gdb.base/selftest.exp, gdb.base/setshow.exp,
26914         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
26915         gdb.base/sigall.exp, gdb.base/signals.exp,
26916         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
26917         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
26918         gdb.base/step-test.exp, gdb.base/structs.c,
26919         gdb.base/structs.exp, gdb.base/structs2.exp,
26920         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
26921         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
26922         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
26923         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
26924         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
26925         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
26926         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
26927         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
26928         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
26929         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
26930         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
26931         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
26932         gdb.fortran/types.exp, gdb.java/jmisc.exp,
26933         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
26934         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
26935         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
26936         gdb.trace/circ.exp, gdb.trace/collection.exp,
26937         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
26938         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
26939         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
26940         gdb.trace/report.exp, gdb.trace/save-trace.exp,
26941         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
26942         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
26943         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
26944         notices.
26945
26946 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
26947
26948         * gdb.base/varargs.c (find_max_double): Fix printf format string:
26949         first arg is int not float.
26950
26951 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
26952
26953         * gdb.base/reread.exp: Unsupported for non-native targets;
26954         doesn't work for remote debugging.
26955
26956 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
26957
26958         From  Drew Moseley  <dmoseley@redhat.com>
26959         * gdb.base/ending-run.exp: Properly handle the BSP state when
26960         stepping past the end of main.
26961
26962 2001-02-19  John Moore  <jmoore@redhat.com>
26963
26964         * gdb.base/commands.exp (infrun_breakpoint_command_test):
26965         Converted HPUX fix for non-expected items following multiple
26966         step commands into general solution for all platforms.
26967
26968 2001-02-18  Michael Chastain  <chastain@redhat.com>
26969
26970         * gdb.c++/classes.exp (do_tests): Change runto statements
26971         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
26972         statements demangler agnostic.
26973         * gdb.c++/virtfunc.exp (do_tests): Likewise.
26974         (gdb_virtfunc_restart): Likewise.
26975
26976 2001-02-14  Michael Chastain  <chastain@redhat.com>
26977
26978         * gdb.c++/inherit.exp (do_tests): Change runto statements
26979         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
26980         statements demangler agnostic.
26981
26982 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
26983
26984         * gdb.threads/pthreads.exp: Unify pass/fail messages for
26985         ``continue to bkpt at common_routine in thread 2'' and ``stopped
26986         before calling common_routine 15 times'' tests.
26987
26988 2001-02-11  Michael Chastain  <chastain@redhat.com>
26989
26990         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
26991         Helps the test script figure out which demangler is in use.
26992         (dm_type_foo_ref): Ditto.
26993         (dm_type_int_star): Ditto.
26994         (dm_type_long_star): Ditto.
26995         (dm_type_unsigned_int): Ditto.
26996         (dm_type_void): Ditto.
26997         (dm_type_void_star): Ditto.
26998         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
26999         Probe the gdb demangler and set variables to accommodate
27000         formatting differences.
27001         (info_func_regexp): New function.  Same as info_func, but
27002         matches against a regexp.
27003         (info_func): Match against a literal string.
27004         (print_addr_2): New function.  Match against a literal string,
27005         which can be different from the input to gdb.
27006         (print_addr): Simply call print_addr_2 with the same argument twice.
27007         (test_lookup_operator_functions): Use demangler formatting variables.
27008         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
27009         the tests in the same order as the C++ class declaration.
27010         (test_paddr_operator_functions): Ditto.
27011         (test_paddr_overloaded_functions): Ditto.
27012         (test_paddr_hairy_functions): Use demangler formatting variables.
27013         Add reference to gdb/19 for related tests.
27014         (do_tests): Call probe_demangler.
27015
27016 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
27017
27018         * gdb.c++/templates.cc (printf): Remove unused function definition.
27019
27020 2001-01-26  Felix Lee  <flee@redhat.com>
27021
27022         * sid.exp (sid_exit): Pass host, not target, to remote_close.
27023
27024 2001-01-25  matthew green  <mrg@redhat.com>
27025
27026         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
27027         up sid.
27028         (sid_exit): Call `remote_pop_conn' after GDB is gone.
27029
27030 2001-01-25  matthew green  <mrg@redhat.com>
27031
27032         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
27033         Deprecate $sid_spawn_id.
27034         (sid_exit): Remove code necessary only for `spawn.'
27035
27036 2001-01-25  matthew green  <mrg@redhat.com>
27037
27038         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
27039
27040 2001-01-28  Michael Chastain  <chastain@redhat.com>
27041
27042         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
27043         to call when tests fail.  It takes gdb out of the overloaded
27044         function choice menu back to the main prompt, so that the test
27045         program stays synchronized.
27046         (set_bp_overloaded): New proc to collect all the common
27047         code for setting a breakpoint on an overloaded name.  Calls
27048         take_gdb_out_of_choice_menu when needed.
27049         (menu_overload1arg): New variable to collect the repeated
27050         instances of the expected menu for an overloaded name.  Change
27051         the regular expression to handle changes in g++ type encoding:
27052         "void" can be either "void" or "", and "unsigned int" can be
27053         either "unsigned int" or "unsigned".
27054         (continue_to_bp_overloaded): Change regular expressions to handle
27055         changes in g++ type encoding.
27056         (no proc): Call take_gdb_out_of_choice_menu when needed.
27057         Remove redundant calls to "info break".  Accept either "canceled"
27058         or "cancelled".  Change regular expressions in "info break"
27059         calls to handle changes in g++ type encoding.  Give all tests
27060         unique strings.
27061
27062 2001-01-17  Ben Elliston  <bje@redhat.com>
27063
27064         * config/sid.exp: New file.
27065
27066 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
27067
27068         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
27069
27070 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
27071
27072         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
27073         Add a RE to accept a non-ascii char if one is ever presented.
27074
27075 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
27076
27077         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
27078
27079 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
27080
27081         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
27082         in regexp.  One '\' does not suffice on Linux.
27083
27084 2000-12-09  Michael Chastain  <chastain@redhat.com>
27085
27086         * gdb.base/break.exp (test_clear_command): Use a marker function
27087         rather than 'main' for the test function.  Also move this
27088         test to an execution point where the marker function names are
27089         guaranteed to be bound to functions.  (Executing tests after a
27090         'finish' from main runs into name conflicts with local names
27091         in __libc_start_main).
27092
27093 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
27094
27095         * gdb.base/finish.exp: New test for gdb's "finish" command.
27096         * gdb.base/return2.exp: New test for gdb's "return" command.
27097         * gdb.base/return2.c: New source file for above.
27098
27099 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
27100
27101         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
27102         * gdb.base/miscexprs.exp: Ditto.
27103         * gdb.base/pointers.exp:  Ditto.
27104         * gdb.c++/derivation.exp: Ditto.
27105         * gdb.c++/local.exp:      Ditto.
27106         * gdb.c++/namespace.exp:  Ditto.
27107         * gdb.c++/overload.exp:   Ditto.
27108         * gdb.c++/ref-types.exp:  Ditto.
27109
27110 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
27111
27112         * gdb.base/constvars.exp: Test result of "up" command.
27113         * gdb.base/miscexprs.exp: Ditto.
27114         * gdb.base/pointers.exp:  Ditto.
27115         * gdb.base/scope.exp:     Ditto.
27116         * gdb.c++/derivation.exp: Ditto.
27117         * gdb.c++/local.exp:      Ditto.
27118         * gdb.c++/namespace.exp:  Ditto.
27119         * gdb.c++/overload.exp:   Ditto.
27120         * gdb.c++/ref-types.exp:  Ditto.
27121
27122 2000-11-22  Michael Chastain  <chastain@redhat.com>
27123
27124         * mips_pro.exp: Accept either "middle -> top -> main" or
27125         "middle -> main" in the backtrace, because gcc can optimize
27126         tail calls to jumps.  Remove setup_xfail for the hppa case.
27127         Add a comment with the original warning messages from PR 3016,
27128         which was filed in 1993, to preserve them for posterity.
27129
27130 2000-11-17  Nick Duffek  <nsd@redhat.com>
27131
27132         * lib/gdb.exp (gdb_test): Override timeout with board info.
27133
27134 2000-11-17  Nick Duffek  <nsd@redhat.com>
27135
27136         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
27137         the second kill and detach messages.
27138
27139 2000-11-17  Nick Duffek  <nsd@redhat.com>
27140
27141         * configure.in: Add AC_EXEEXT.
27142         * configure: Regenerate.
27143         * Makefile.in (just-check): Export EXEEXT.
27144         * lib/gdb.exp ($EXEEXT): Import from environment.
27145         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
27146         expect "maint dump-me" on Cygwin.
27147         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
27148         $EXEEXT.
27149
27150 2000-11-17  Nick Duffek  <nsd@redhat.com>
27151
27152         * gdb.base/break.exp: Test backtrace and finish from called
27153         function on all platforms, not just HP-UX.
27154
27155 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
27156
27157         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
27158         code from gdb_target_monitor, so it can be used independantly
27159         for gdbserver.  Also comment out an unnecessary PUTS.
27160
27161 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
27162
27163         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
27164         * gdb.base/corefile.exp: Expect the message "Program is being
27165         debugged already" when we send the "corefile" command, since
27166         the preceeding gdb_load may have connected gdb to a remote target.
27167         * gdb.base/display.exp: Disable hardware watchpoints if new
27168         board info variable "no_hardware_watchpoints" is true.
27169         Replace single-letter commands with more readable ones.
27170         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
27171         if new board info variable "no_hardware_watchpoints" is true.
27172         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
27173         to see if stdio (printf) testing is possible.
27174         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
27175         board info variable "no_hardware_watchpoints" is true.  Use new
27176         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
27177
27178 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
27179
27180         From Orjan Friberg  <orjanf@axis.com>:
27181         * gdb.base/printcmds.exp: Escape curly braces followed by a number
27182         in array print pattern match.
27183
27184 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
27185
27186         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
27187         spelling "cancelled" to U.S. spelling "canceled" to match changes
27188         made to gdb.
27189         * gdb.c++/ovldbreak.exp: Ditto.
27190
27191 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
27192
27193         * gdb.base/callfuncs.c (main):  Moved to end of file, call
27194         t_double_values to initialize the FPU before inferior calls are made.
27195         * gdb.base/callfuncs.exp:  Test for register preservation after calling
27196         inferior functions.  Add tests for continuining, finishing and
27197         returning from a stop in a call dummy.
27198
27199 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
27200
27201         * gdb.base/commands.exp: Break up long lines, and re-indent.
27202
27203 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
27204
27205         * config/gdbserver.exp:  Rewritten from the ground up, to make it
27206         compatible with the current dejagnu tree, and to make it work with
27207         the new "gdbserver" in libremote.
27208
27209 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
27210
27211         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
27212         * gdb.base/varargs.exp: Skip entire test if no printf support.
27213         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
27214         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
27215
27216 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
27217
27218         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
27219         no floating point support.
27220         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
27221         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
27222         * gdb.base/call-rt-st.exp: Ditto.
27223         * gdb.base/call-strs.exp: Ditto.
27224
27225 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
27226
27227         * gdb.base/sizeof.c: include <stdio.h>.
27228
27229         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
27230         'finish', otherwise uncaptured gdb_prompt would potentially
27231         throw remaining test points out of sync.
27232
27233 2000-07-26  Scott Bambrough <scottb@netwinder.org>
27234
27235         * gdb.base/recurse.exp: Run tests for all targets.
27236         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
27237         gnu-oldld case on ARM.
27238         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
27239         for ARM targets.
27240
27241 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
27242
27243         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
27244         * gdb.java/configure: Rebuild.
27245
27246 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
27247
27248         * gdb.java/jv-exp.exp: New file.
27249
27250 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
27251
27252         * configure: Rebuilt.
27253         * configure.in (configdirs): Add gdb.java.
27254         * gdb.java/jmisc.java: New file.
27255         * gdb.java/jmisc.exp: New file.
27256         * gdb.java/Makefile.in: New file.
27257         * gdb.java/configure: Rebuilt.
27258         * gdb.java/configure.in: New file.
27259         * lib/java.exp: New file.
27260
27261 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
27262
27263         * gdb.base/exprs.exp: Test casts to a pointer including over and
27264         underflow.
27265
27266 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
27267
27268         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
27269         and the compilers sizes.
27270
27271 2000-07-09  Nick Duffek  <nsd@redhat.com>
27272
27273         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
27274         (use_methods): New function.
27275         (main): Call use_methods().
27276         * gdb.c++/classes.exp (test_method_param_class): New procedure.
27277         (do_tests): Call test_method_param_class.
27278
27279 2000-07-09  Nick Duffek  <nsd@redhat.com>
27280
27281         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
27282         spelling.
27283         (test_enums): New procedure.  Move enum tests from end of script
27284         to here.  Set breakpoint on function name instead of line number.
27285         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
27286         (enums2): New marker function.
27287         (enums1): New function.
27288         (main): Call enums1().  Move enum tests to enums1().
27289
27290 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
27291
27292         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
27293         compile/link program.  Update line numbers.
27294         * gdb.asm/d10v.inc: Define ``startup''.
27295         * gdb.asm/asmsrc1.s: Add definition of _start.
27296
27297 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
27298
27299         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
27300
27301 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
27302
27303         * gdb.base/maint.exp: Add 'maint print architecture' item to output
27304         of 'help maint print' command.
27305
27306 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
27307
27308         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
27309         they use gdb_expect_list.
27310
27311 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
27312
27313         * gdb.base/commands.exp: Use ``set remote
27314         memory-read-packet-size'' instead of ``set endian big'' to test
27315         long commands.
27316
27317 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
27318
27319         * gdb.c++/templates.exp (do_tests): Make all of these work under
27320         g++, and stop skipping them.
27321
27322         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
27323         work under g++.
27324
27325         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
27326         initialization.
27327
27328 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
27329
27330         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
27331         the regular expression: accept an (almost) arbitrary sequence of
27332         "frames-invalid" and "breakpoints-invalid" messages both before
27333         and after the "starting" message.
27334
27335 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
27336
27337         * gdb.c++/local.exp: This test has never been known to work with g++.
27338
27339 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
27340
27341         * gdb.base/annota1.exp (annotate-signal-handler-caller):
27342         Relax the regular expression a little, make it pass on Solaris 8.
27343
27344 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
27345
27346         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
27347         a call, do not require that gdb stop on the line after the call.
27348         Instead, it is permissible for gdb to stop on the line of the
27349         call itself.
27350
27351 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
27352
27353         * gdb.base/break.exp (bp on small function, optimized file):
27354         Add a second pass pattern.  The behavior differs here between stabs
27355         and dwarf for one-line functions.  Stabs preserves two line symbols
27356         (one before the prologue and one after) with the same line number,
27357         but dwarf regards these as duplicates and discards one of them.
27358         Therefore the address after the prologue (where the breakpoint is)
27359         has no exactly matching line symbol, and GDB reports the breakpoint
27360         as if it were in the middle of a line rather than at the beginning.
27361
27362 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
27363
27364         * gdb.base/interrupt.exp: Make "pass" message say "send"
27365         rather than "send_gdb" (for consistancy).
27366
27367 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
27368
27369         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
27370         * gdb.c++/templates.cc: Properly check for GCC version number.
27371         * lib/compiler.cc: Likewise
27372
27373 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
27374
27375         * gdb.base/break.exp: When compiled with -O2 optimization,
27376         gdb may not stop at the first line of main, due to code motion.
27377
27378 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
27379
27380         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
27381         This test depends on parsing the printf output from the target.
27382         Since the sparclet stub doesn't do stdio, this will never work.
27383         * gdb.base/call-rt-st.exp: ditto.
27384         * gdb.base/call-strs: ditto.
27385
27386 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
27387
27388         * gdb.base/miscexprs.exp: make sizeof long array test portable.
27389
27390         * gdb.base/ending-run.exp: After connecting to a remote target,
27391         but before running, the target will appear to be in a random
27392         location.  Specify both a file and a line for breakpoints.
27393         Also, the function that calls main may be called 'init'
27394         rather than 'start'.
27395
27396 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
27397
27398         * gdb.base/help.exp: Update output for add-symbol-file command.
27399
27400 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
27401
27402         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27403         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
27404
27405 2000-04-07  J.T. Conklin  <jtc@redback.com>
27406
27407         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
27408
27409         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
27410
27411 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
27412
27413         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
27414         values that can be represented exactly.
27415         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
27416         above change, and to not check against the directory part of the source
27417         file name.
27418         (step into print_long_arg_list): Likewise.
27419         (print print_small_structs from print_long_arg_list): Likewise.
27420         (print print_long_arg_list): Likewise.
27421
27422 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
27423
27424         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
27425
27426 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
27427
27428         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
27429
27430 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
27431
27432         * gdb.base/commands.exp (deprecated_command_test): Add test for
27433         deprecate with no arguments.
27434
27435 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
27436
27437         * gdb.base/break.exp: Add new test for setting breakpoints on
27438         optimized code so we can test breakpoints work even when function
27439         prologues may be optimized away
27440
27441 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
27442
27443         From David Whedon <dwhedon@gordian.com>
27444         * gdb.base/commands.exp : Added command deprecator tests.
27445
27446 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
27447
27448        * gdb.base/help.exp: Added test for new apropos command.
27449
27450 2000-03-21  Kevin Buettner <kevinb@redhat.com>
27451
27452         * gdb.base/pointers.c (usevar): New function.
27453         (main): Make sure that global variables v_int_pointer2, rptr,
27454         and y are all referenced someplace in the program by calling
27455         usevar() on them.  [Some linkers delete symbols which are
27456         never referenced.  The space remains, but there's no way to
27457         get a (symbolic) handle on the variable from the debugger.]
27458
27459 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
27460
27461         * gdb.base/printcmds.c: Add typedeffed arrays.
27462
27463         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
27464         procedure to test arrays that are typedef'd.
27465
27466 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
27467
27468         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
27469         the library directories.
27470
27471 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
27472
27473         * configure.in (configdirs): Add sub directory gdb.mi.
27474         * configure: Re-generate.
27475
27476         * gdb.mi: New directory.
27477
27478 2000-02-25  Scott Bambrough <scottb@netwinder.org>
27479
27480         * gdb.base/long_long.exp: Correct test suite failure when printing
27481         a long long value as a double on ARM platforms.
27482
27483 2000-02-16  Jim Blandy  <jimb@redhat.com>
27484
27485         * gdb.base/break.exp ("breakpoint line number"): Make sure the
27486         default source file is set properly before running this test.
27487
27488 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
27489
27490         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
27491         gdbtk/library directory, not in gdbtcl2.
27492
27493 2000-02-04  Jim Blandy  <jimb@redhat.com>
27494
27495         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
27496         backslash from regexp pattern.
27497
27498         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
27499         procedure.  Use it to run all the "continue to bp overloaded"
27500         tests.  Note that this changes the names of the tests slightly.
27501         If the breakpoint hit message includes a hex PC value, because
27502         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
27503         from the real source code, still consider that a pass.
27504
27505         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
27506         XFAIL here if the breakpoint message contains a hex address.  Note
27507         similar change on 1999-11-02.
27508
27509         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
27510
27511         * gdb.base/ptype.exp: Establish a default source file before
27512         calling get_debug_format.
27513
27514 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
27515
27516         * gdb.base/watchpoint.exp: Remove duplication of test messages.
27517
27518 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
27519
27520         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
27521         of successive stepi commands -- while in the prologue we should see
27522         the function entry bracket.
27523
27524 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
27525
27526         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
27527         reach __change_mode() when stepping through the end of main().
27528
27529 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
27530
27531         * gdb.base/default.exp: Fix expected pattern.
27532         * gdb.base/help.exp: Same.
27533
27534 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
27535
27536         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
27537         Don't use xfail's because that affects only the following test.
27538
27539         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
27540         solaris or linux.
27541
27542         * gdb.base/selftest.exp: Update to reflect changes to main.c.
27543
27544 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
27545
27546         * gdb.base/display.exp: Some yacc parsers like to say
27547         "A syntax error" rather than "A parse error".  Accept both.
27548
27549 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
27550
27551         * gdb.base/default.exp: Remove OS dependent string from "target
27552         remote" test.
27553         * gdb.base/help.exp: Same for "help target remote" test.
27554
27555 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
27556
27557         From Jim Kingdon <kingdon@redhat.com>:
27558
27559         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
27560         prompt (cleanup rather than necessity, but still might keep output
27561         from spilling to next test).
27562
27563 2000-01-02  Fred Fish  <fnf@cygnus.com>
27564
27565         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
27566         AIX, which defines them in <sys/types.h>.
27567
27568 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
27569
27570         * gdb.base/default.exp: Match arm* etc instead of arm in "info
27571         float" test.
27572
27573 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
27574
27575         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
27576
27577         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
27578         outermost frame disallowed".
27579
27580 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
27581
27582         * gdb.base/setvar.exp: New tests for setting the value of a struct
27583         with a constant list.
27584
27585 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
27586
27587         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
27588         require the user to type a cast before setting the value of a struct.
27589
27590 1999-12-06  Jim Blandy  <jimb@cygnus.com>
27591
27592         * gdb.base/default.exp: Expect the new 'info float' command on
27593         all i386 platforms.
27594
27595         * gdb.threads/linux-dp.exp: Expand our ability to recognize
27596         LinuxThreads libraries that don't support debugging.
27597
27598 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
27599
27600         * gdb.base/remote.c: Fill the buffer with truely random data.
27601         Change the buffer type to ``unsigned char'' to simplify size
27602         arithmetic.
27603
27604         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
27605         stub only handles 400-1 byte packets.  Verify that the download
27606         worked.
27607
27608 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
27609
27610         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
27611         tests, using UNRESOLVED for the untested cases.  Also, does not wait
27612         for a timeout if the prompt was received before a recognizable pattern.
27613
27614 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
27615
27616         * lib/gdb.exp (gdb_expect_list): Fix spelling.
27617
27618 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
27619
27620         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
27621         watchpoints.
27622
27623 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
27624
27625         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
27626
27627         * gdb.c++/local.exp: Be more flexible in recognizing local class
27628         name mangling.  Don't allow horribly truncated method names.
27629         * gdb.c++/derivation.exp: Expect protected inheritance.
27630         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
27631         * gdb.c++/virtfunc.exp: Likewise.
27632         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
27633         when printing a nested enum.
27634
27635 1999-11-22  Jim Blandy  <jimb@cygnus.com>
27636
27637         * gdb.base/step-test.exp: Properly await GDB's response to setting
27638         a breakpoint on the call to large_struct_by_value.
27639
27640         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
27641         just because we have debug info for the `start' function.
27642
27643 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
27644
27645         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
27646         "Unknown signal" messages, which indicate (on LinuxThreads) that
27647         GDB doesn't know how to debug threads on this system.  This is
27648         better than hanging while philosopher 0 dumps chatter into gdb.log.
27649
27650 1999-11-18  Tom Tromey  <tromey@cygnus.com>
27651
27652         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
27653
27654 1999-11-18  Fred Fish  <fnf@cygnus.com>
27655
27656         * gdb.base/coremaker2.c: Add sample program for generating
27657         cores that is more self contained than coremaker.c.  Eventually
27658         I'll add more code to this and tie it into the testsuite.
27659
27660 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
27661
27662         * gdb.base/dollar.exp: Remove, now in gdb.hp.
27663
27664 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
27665
27666         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
27667         from $srcdir/lib/.
27668         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
27669         and gdb.c++/.
27670
27671         * gdb.c++/derivation.exp: remove redundant get compiler info code.
27672
27673         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
27674         'continue with watch' test point.
27675
27676 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
27677
27678         Merged from p2linux-990323-branch:
27679
27680         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
27681
27682 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
27683
27684         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
27685         {limit,fixed}''.  Test ``set download-write-size''.
27686
27687 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
27688
27689         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
27690         gdb_expect_list.
27691
27692 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
27693
27694         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
27695
27696 1999-11-03  Mark Salter  <msalter@cygnus.com>
27697
27698         * gdb.base/break.exp: Fix "stub continue" pattern.
27699
27700 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
27701
27702         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
27703
27704 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
27705
27706         * gdb.base/display.exp ("finish"): Add timeout clause.
27707
27708         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
27709         plain prompt clause, so this doesn't have to time out in order to
27710         fail.
27711
27712         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
27713         breakpoint hit messages include an address.
27714
27715         * gdb.base/display.exp: Don't forget to escape parens in regular
27716         expressions.  Unix regexp notatation sucks.
27717
27718 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
27719
27720         * gdb.base/annota1.exp: Test for annotate-signalled: change output
27721         order for 'signalled' message.
27722
27723 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
27724
27725         From Jimmy Guo  <guo@cup.hp.com>:
27726         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
27727         * gdb.base/annota1.c: Add code for tests to work with.
27728
27729 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
27730
27731         * gdb.base/remote.exp: New test for remote downloading settings.
27732         * gdb.base/remote.c: New file with large .data.
27733
27734 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
27735
27736         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
27737         for LinuxThreads support, merged from the Code Fusion branch.
27738
27739 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
27740
27741         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
27742         containing exp_continue into a while within an expect.  Don't
27743         attempt a start more than three times.  Check return value from
27744         gdb_load.
27745
27746 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
27747
27748         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
27749         a pass case.
27750
27751 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
27752
27753         * gdb.base/break.c (main): Added a statement that we can step
27754         off of.
27755         * gdb.base/break.exp: Added tests for setting a breakpoint
27756         at an offset and stepping onto a breakpoint.
27757
27758 1999-10-01  Fred Fish  <fnf@cygnus.com>
27759
27760         * gdb.base/help.exp (help add-symbol-file): Update to match current
27761         gdb output.
27762
27763 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
27764
27765         * gdb.base/break.exp: Code locations are in hex, don't forget!
27766         (For HP-UX.)
27767
27768 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
27769
27770         * condbreak.exp: Use break.c as test program.
27771         * condbreak.c: Remove, redundant with break.c.
27772
27773 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
27774
27775         * config/monitor.exp (gdb_target_monitor): Disable X- and
27776         Z-packets if the target needs it.
27777
27778 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
27779
27780         * gdb.c++/overload.exp: Added tests for listing overloaded
27781         functions with function pointers in the arg, explicitly calling
27782         out the version you want.
27783
27784 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
27785
27786         * long_long.exp: Add variations of test cases that work for
27787         targets with 16-bit ints and 32-bit doubles.
27788
27789 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
27790
27791         * break.c (main): Compare a possibly-uninitialized argc with an
27792         unlikely value that fits in 16 bits.
27793
27794 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
27795
27796         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
27797         0xfeeb, don't want negative numbers if ints are 16 bits.
27798
27799         * lib/gdb.exp (skip_cplus_tests): New proc.
27800         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
27801         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
27802         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
27803         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
27804         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
27805         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
27806         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
27807         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
27808
27809         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
27810
27811 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
27812
27813         * gdb.base/corefile.exp (up): Allow a parameter to appear
27814         in the frame that we're going up to.
27815
27816         From Jim Blandy <jimb@cygnus.com>:
27817
27818         * gdb.base/default.exp (info float): Expect some output now.
27819
27820         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
27821         returning floating-point values to fail on the x86.
27822         * gdb.base/callfwmall.exp (do_function_calls): Same.
27823
27824         * gdb.base/list.exp (test_listsize): Correct expectations for
27825         listing line 1 with listsize 2.  Also, listing a single line
27826         works now, as does listing three lines.  [Kevin's note: There
27827         were a number of other cases fixed too where the expectations
27828         differed...]
27829
27830 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
27831
27832         * gdb.base/selftest.exp: Add case for when version prints as
27833         constant string instead of char pointer.
27834
27835 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
27836
27837         * gdb.base/ending-run.exp: Add Solaris case for what happens when
27838         stepping out of main.
27839
27840         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
27841         G++ used.
27842
27843         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
27844         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
27845
27846         * gdb.c++/ovldbreak.exp: Update match string in test that
27847         includes a warning of multiple breakpoints.
27848
27849 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
27850
27851         * gdb.base/display.exp: Improve precision of step-after-finish
27852         added yesterday.
27853
27854         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
27855         test.
27856
27857         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
27858         configs when using G++, not just hppa*.
27859
27860 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
27861
27862         * gdb.base/async.c: New file.
27863         * gdb.base/async.exp: New file.
27864
27865 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
27866
27867         * gdb.base/break.exp: Tweak PA specific tests to properly handle
27868         PA64.
27869
27870 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
27871
27872         * gdb.base/display.exp: "finish" can leave us mid-line on many
27873         targets, deal with it.  Add a small constant to main, instead of
27874         1000 since main+1000 may not be a valid address in the target.
27875
27876         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
27877         on hpux11.
27878
27879         * gdb.base/attach.exp: Handle another hpux11 error message variant
27880         when attaching to a process that does not exist.
27881
27882 1999-08-19  J.T. Conklin  <jtc@redback.com>
27883
27884         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
27885         characters in 'continue to 1241' test.
27886
27887 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
27888
27889         * gdb.base/call-ar-st.exp: Add a shorter match case for the
27890         stop in print_long_arg_list, define and use a whitespace
27891         variable in print_small_structs test, add an XFAIL for Solaris.
27892         * gdb.base/dbx.exp: XFAIL func commands until somebody is
27893         interested enough to fix.
27894
27895 1999-08-13  Keith Seitz  <keiths@cygnus.com>
27896
27897         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
27898         (dbx_gdb_load): Remove. Use gdb_load instead, since that
27899         proc knows about targets other than the natives.
27900         (test_assign): Use "gdb_run_cmd" to "run" the target.
27901         Check that we've actually hit the breakpoint at main.
27902         When we attempt to assign a value to a local variable, check
27903         that the variable is in the current scope, i.e., don't use
27904         a test with an empty result.
27905
27906 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
27907
27908         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
27909         command.
27910
27911 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
27912
27913         From Jimmy Guo <guo@cup.hp.com> and others at HP:
27914         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
27915         gdb.compat, gdb.threads-hp.
27916         gdb.hp/configure, gdb.hp/configure.in: New files.
27917         gdb.hp/Makefile.in: Recurse into new subdirs.
27918         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
27919         gdb.hp/gdb.objdbg: New directory, tests for debugging info
27920         in object files.
27921         gdb.hp/tools: New directory, aux tools for HP-specific tests.
27922
27923 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
27924
27925         * gdb.base/display.exp: Help expect by putting a newline in the
27926         funky printf, remove a bogus p/a test.
27927
27928 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
27929
27930         * gdb.base/display.exp: Make sure that when we say 'run', we are
27931         connected to the target. This is necessary when running not
27932         natively.
27933
27934 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
27935
27936         * gdb.base/step-test.exp: Removed some extraneous messages.
27937
27938         * gdb.base/long_long.exp: Don't run memory examination tests
27939         on little-endian targets (they will need a different set of
27940         results to match).
27941
27942 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
27943
27944         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
27945         until somebody decides to fix GDB.
27946
27947         * gdb.base/long_long.c: Stop compiler complaint by specifying long
27948         constant as "ULL".
27949         * gdb.base/long_long.exp: Loosen x/c test, add partial result
27950         matches for a couple x/2 commands.
27951
27952 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
27953
27954         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
27955         by merging in ref-types2 tests.
27956         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
27957
27958         From Jimmy Guo <guo@cup.hp.com> and others at HP:
27959         * gdb.c++/Makefile.in: Add standard actions.
27960         (EXECUTABLES): Rename from PROGS, update list.
27961         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
27962         from gdb.hp.
27963         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
27964         foo and bar locals.
27965         * gdb.c++/anon-union.exp: Fix tests to match.
27966         * gdb.c++/classes.exp: Run if HP compiler used, add extra
27967         expect matches to handle output variations.
27968         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
27969         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
27970         output, add HP alternatives for new and delete prints.
27971         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
27972         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
27973         * gdb.c++/demangle.exp: Use $style when reporting failure.
27974         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
27975         * gdb.c++/inherit.exp: Run if HP compiler used, add some
27976         match alternatives.
27977         * gdb.c++/local.exp: Add match alternatives or xfails for HP
27978         compilers.
27979         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
27980         * gdb.c++/method.exp: Add match alternatives.
27981         * gdb.c++/misc.cc: Add bool types.
27982         * gdb.c++/misc.exp: Add tests for bool types.
27983         * gdb.c++/overload.exp: Add xfails.
27984         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
27985         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
27986         add some more template parameter tests (only for HP currently).
27987         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
27988         * gdb.c++/virtfunc.cc: Add return type and value for main.
27989         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
27990         match alternatives.
27991
27992 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
27993
27994         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
27995
27996 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
27997
27998         * gdb.base/signals.exp: Don't expect getting a backtrace from
27999         within a signal handler to fail on Linux.
28000
28001 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
28002
28003         From Jimmy Guo <guo@cup.hp.com> and others at HP:
28004         * lib/gdb.exp: Remove some gratuitious semicolons.
28005         (delete_breakpoints): Increase timeout.
28006         (gdb_expect): Add -notransfer option.
28007         (gdb_test): Use -notransfer option.
28008         (get_compiler_info): Add f77 case.
28009         (get_compiler): New proc, split out from gdb_preprocess, add f77
28010         case.
28011         (gdb_preprocess): Call get_compiler.
28012
28013         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
28014         * gdb.base/attach.exp, gdb.base/display.exp,
28015         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
28016         gdb.base/long_long.exp, gdb.base/printcmds.exp,
28017         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
28018         third arg to gdb_test.
28019         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
28020         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
28021         HP-UX xfails, add others.
28022         * gdb.base/completion.exp: Reflect name change of self-test.
28023         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
28024         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
28025         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
28026         HP failure number.
28027         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
28028         useless HP-UX 10.30 references.
28029         * gdb.base/maint.exp: Loosen matches.
28030         * gdb.base/pointers.c (main): Declare more_code.
28031         * gdb.base/pointers.exp: Match on output of a `next'.
28032         * gdb.base/structs.c: Add prototypes.
28033         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
28034         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
28035
28036 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
28037
28038         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
28039         command.
28040
28041 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
28042
28043         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
28044         Fix run to main failures. Watchpoint can be hardware watchpoint.
28045
28046         * gdb.base/annota1.exp: Clean up some more, in case printf has
28047         debug info.  Deal with lack of signal hanlder info in stack.
28048
28049         From Jim Kingdon  <kingdon@redhat.com>:
28050         * gdb.base/annota1.exp: If printf has debug info, deal with it.
28051
28052 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
28053
28054         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
28055         gdb.base/foll-vfork.exp: Don't run for crosses.
28056
28057 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
28058
28059         * gdb.base/configure.in: Check for gdbvars.exp instead of
28060         a1-selftest.exp.
28061         * gdb.base/configure: Re-generate.
28062
28063 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
28064
28065         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
28066         in trying to run first and name is too long.
28067
28068         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
28069         pointers2.c and pointers2.exp, respectively.
28070         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
28071         doschk happier.
28072
28073 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
28074
28075         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
28076         callfuncs2.c and callfuncs2.exp.
28077
28078         * gdb.base/list.exp: Remove mistaken xfails.
28079         * gdb.base/list0.h: Add optional prototypes.
28080
28081 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
28082
28083         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
28084         calling malloc.
28085         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
28086         * ptype.exp: Move test for get_debug_format to before its first
28087         use.
28088
28089 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
28090
28091         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
28092         * gdb.base/annota2.cc, annota2.exp: Move from here.
28093         * gdb.c++/annota2.cc, annota2.exp: To here.
28094         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
28095
28096 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
28097
28098         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
28099         a consistent format.
28100
28101 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
28102
28103         From Jimmy Guo <guo@cup.hp.com> and others at HP:
28104         * lib/gdb.exp (get_compiler_info): Add detection for assorted
28105         HP compilers, also set the globals $true and $false.
28106
28107         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
28108         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
28109         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
28110         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
28111         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
28112         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
28113         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
28114         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
28115         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
28116         whatis.c} Add C++ compatible function definitions and return
28117         types, add includes for library functions.
28118         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
28119         * gdb.base/step-test.c (myglob): Rename from glob.
28120         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
28121         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
28122         files, move here from gdb.hp.
28123         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
28124         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
28125         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
28126         Adjust line numbers in regexps.
28127
28128         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
28129         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
28130         instead of 0/1.
28131
28132         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
28133         foll-vfork.exp: New files, move here from gdb.hp.
28134         * gdb.base/page.exp: New file, test of pagination command.
28135
28136         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
28137         recursion test.
28138         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
28139
28140         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
28141         gdb.base/solib.exp: Fix compiler invocation process.
28142
28143         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
28144         HP-UX 11, turn off overload resolution explicitly.
28145         * gdb.base/commands.exp: Set argument list explicitly, add
28146         watchpoint test.
28147         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
28148         them work.
28149         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
28150         expressions properly.
28151         * gdb.base/corefile.exp: Loosen the match slightly.
28152         * gdb.base/default.exp: Allow "Error accessing memory" message
28153         also.
28154         * gdb.base/display.exp: Skip over x/0 j if PA64.
28155         * gdb.base/funcargs.exp: Add xfails for HP-UX.
28156         * gdb.base/interrupt.exp: Ditto.
28157         * gdb.base/langs.exp: Add symbolic matches governed by compiler
28158         in use.
28159         * gdb.base/list.exp: Add xfails for HP-UX.
28160         * gdb.base/long_long.exp: Refine some of the numeric matches.
28161         * gdb.base/mips_pro.exp: Xfail on HP-UX.
28162         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
28163         * gdb.base/nodebug.exp: Succeed on more varieties of output.
28164         * gdb.base/opaque.exp: Remove some HP-UX xfails.
28165         * gdb.base/ptype.exp: Succeed on more varieties of output.
28166         * gdb.base/scope.exp: Add xfails for HP-UX.
28167         * gdb.base/sect-cmd.exp: Add more cases.
28168         * gdb.base/setvar.exp: Add xfails for HP-UX.
28169         * gdb.base/shlib-call.exp: Loosen some matches slightly.
28170         * gdb.base/signals.exp: Match on void symbolically.
28171         * gdb.base/step-test.exp: Add case for PA64.
28172         * gdb.base/term.exp: Add exit and restart.
28173         * gdb.base/twice.exp: Clean up after self.
28174         * gdb.base/varargs.exp: Disable overload resolution explicitly.
28175         * gdb.base/whatis.exp: Allow more ways to pass tests.
28176
28177         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
28178         no longer useful.
28179
28180 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
28181
28182         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
28183         list of patterns.
28184         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
28185         print_double_array(double_array)", "continuing to breakpoint
28186         1018", "print print_double_array(array_d)" and "continuing to
28187         1034" tests.
28188
28189 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
28190
28191         * Makefile.in: Add empty html and install-html targets.
28192
28193 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
28194
28195         * config/mt-*: Remove, these haven't been used since 1996.
28196
28197 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
28198
28199         * gdb.base/call-strs.c, gdb.base/ending-run.c,
28200         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
28201         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
28202
28203 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
28204
28205         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
28206         simpler match case for the ptype of the big class.
28207
28208 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
28209
28210         * gdb.exp: Fix test for gdb_prompt existence.
28211
28212 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
28213
28214         * gdb.exp (gdb_test): Add fail after calls to perror.
28215
28216 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
28217
28218         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
28219
28220 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
28221
28222         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
28223
28224 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
28225
28226         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
28227         malloc() is linked in.
28228
28229 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
28230
28231         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
28232         step at end.
28233
28234         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
28235
28236 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
28237
28238         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
28239
28240 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
28241
28242         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
28243         * gdb.base/mips_pro.exp: Likewise.
28244
28245 1999-06-02  Keith Seitz  <keiths@cygnus.com>
28246
28247         * gdb.c++/templates.cc: Change all "new" operators to throw
28248         an exception.
28249         * gdb.c++/cplusfuncs.cc: Likewise.
28250
28251         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
28252
28253 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
28254
28255         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
28256         * gdb.base/ending-run.exp: When stepping out of main, accept a
28257         step into an arbitrary assembler file.
28258
28259 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
28260
28261         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
28262         "breakpoint-invalid" to be printed.
28263         * gdb.base/annota2.exp: Revise line number for main
28264         breakpoint. Allow any number of "frames-invalid" and
28265         "breakpoint-invalid" to be printed.
28266         * gdb.base/annota2.cc: Initialize a.x to 0.
28267
28268 1999-05-17  Keith Seitz  <keiths@cygnus.com>
28269
28270         * gdb.base/call-ar-st.exp: Skip
28271         "print print_double_array (double_array)" when "skip_float_tests" set.
28272         Ditto for "print print_double_array(array_d)",
28273         "print print_small_structs", "print print_ten_doubles", and
28274         "step into print_long_arg_list".
28275         Don't assume we can step into "print_long_arg_list": we could step
28276         into memcpy.
28277         * gdb.base/call-rt-st.exp: Don't run float-related tests when
28278         "skip_float_tests" is set: "print print_one_double(*d1)"
28279         and "print print_two_floats(*f3)".
28280         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
28281         "skip_float_tests" is set.
28282         * gdb.base/varargs.exp: Skip
28283         "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
28284         "skip_float_tests" set.
28285
28286 1999-05-06  Keith Seitz  <keiths@cygnus.com>
28287
28288         * gdb.base/annota2.cc: Include stdio.h.
28289
28290 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
28291
28292         * gdb.base/crossload.exp: Remove, this has been disabled ever
28293         since BFD stopped including all targets, and cross-GDB gets
28294         plenty of testing anyway.
28295         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
28296         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
28297         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
28298         * gdb.base/README: Remove, was doc for this.
28299         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
28300         needed.
28301
28302 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
28303
28304         * gdb.base/call-ar-st.exp: Fix one regular expression in test
28305         output.
28306
28307         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
28308         * gdb.base/annota2.exp: New file. More annotation tests.
28309         * gdb.base/annota1.c: New file. Source file for annota1.exp.
28310         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
28311
28312 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
28313
28314         * config/cfdbug.exp: New file.
28315
28316 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
28317
28318         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
28319         Marcus Daniel's and Dale Hawkins's demangler crashes.
28320
28321         * gdb.c++/demangle.exp (test_gnu_style_demangling,
28322         test_lucid_style_demangling, test_arm_style_demangling,
28323         test_hp_style_demangling): Try Tom Tromey's core-dumping
28324         identifier under each demangling style.
28325
28326 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
28327
28328         * gdb.c++/demangle.exp: Include the current demangling style
28329         in all test names.
28330         (current_demangling_style): New global variable.
28331         (set_demangling_style, test_demangling_core, test_demangling,
28332         test_demangling_exact): New functions.
28333         (test_gnu_style_demangling, test_lucid_style_demangling,
28334         test_arm_style_demangling, test_hp_style_demangling): Use those,
28335         instead of calling gdb_test and gdb_test_exact directly.
28336         (catch_demangling_errors): New function, which reports errors
28337         signalled by the demangling test functions in an orderly way.
28338         (do_tests): Use catch_demangling_errors.
28339
28340 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
28341
28342         * gdb.base/signals.exp (test_handle_all_print): Use () for
28343         grouping in expressions, not {}.
28344
28345         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
28346         initialized yet.
28347
28348 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
28349
28350         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
28351         are listed.
28352
28353 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
28354
28355         * gdb.stabs/weird.exp: Test for CC being defined before
28356         looking at its value.
28357
28358 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
28359
28360         * gdb.base/call-ar-st.exp: Remove stray '#'.
28361         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
28362         "short int" and "long int".
28363         * gdb.c++/overload.cc: Cast the string added in the previous
28364         change, to mollify finicky HP compiler.
28365         * gdb.hp/reg-test.exp (testfile): Fix file name.
28366         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
28367
28368         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
28369         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
28370         alternate form of enum ptype.
28371
28372 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
28373
28374         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
28375         * gdb.hp/*.exp: Change all to run compiler probe only after
28376         passing skip_hp_tests, so as not to waste time on guaranteed
28377         failure.
28378
28379         * gdb.c++/overload.cc: Pass string instead of char addr, always
28380         init ccpfoo.
28381         * gdb.c++/templates.cc: Fix syntax error.
28382
28383 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
28384
28385         * gdb.base/commands.exp: Add test for correct position of '>'
28386         when issuing the 'commands' command after a 'while' or 'if'
28387         command.
28388
28389 1999-03-18  James Ingham  <jingham@cygnus.com>
28390
28391         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
28392
28393         * gdb.c++/method.exp: It was testing an uninitialized int on the
28394         stack and assuming it was positive.
28395
28396         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
28397
28398         * gdb.base/step-test.exp: Catch a case where finish is broken and
28399         keep it from killing the rest of the tests.
28400         Use gdb_continue_to_end.
28401
28402         * gdb.base/sigall.exp: use gdb_continue_to_end.
28403
28404         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
28405
28406         * gdb.base/display.exp: use runto_main, not run.
28407
28408         * gdb.base/default.exp: Check for the current error message in the
28409         r abbreviation test.
28410         Add strongarm to the targets that know info float.
28411
28412         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
28413         run which doesn't work with monitors.
28414
28415         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
28416         1034 test.
28417
28418         * gdb.base/break.exp: use the gdb_continue_to_end proc.
28419
28420         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
28421         end of a program.  Traps the case (in Cygmon) when the program
28422         never really exits.  Same as Mark's continue_to_exit, but I had
28423         put it in a lot more places, so I used my name.  Sorry Mark...
28424
28425         * config/monitor.exp (gdb_target_monitor): added another
28426         target_info parameter: remotebinarydownload.  This will set the
28427         remotebinarydownload flag if this is causing some boards trouble.
28428
28429 1999-03-18  Mark Salter  <msalter@cygnus.com>
28430
28431         * lib/gdb.exp (continue_to_exit): New function.
28432
28433         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
28434         * gdb.base/ending-run.exp: Ditto.
28435         * gdb.base/step-test.exp: Ditto.
28436
28437 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
28438
28439         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
28440         (suggested by Art Haas <ahaas@neosoft.com>).
28441
28442 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
28443
28444         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
28445
28446 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
28447
28448         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
28449         descriptions of types (short unsigned int vs unsigned short, etc).
28450
28451 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
28452
28453         * gdb.base/call-strs.exp: Don't assume that `step' will step over
28454         a call to strlen; sometimes we do have sources.
28455
28456 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
28457
28458         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
28459         character, so GDB won't print garbage after its end.
28460
28461         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
28462         breakpoint there instead.  Sometimes GCC emits memcpy to handle
28463         the large structures being passed by value, so we step into that
28464         instead of sum_array_print, which obscures what we're really testing.
28465         * gdb.base/step-test.exp: However, we do want a test that notices
28466         the bizarre steps into memcpy, so do that here.  Add check for
28467         stepping into function calls that pass large structures by value.
28468         ("Is that a noun clause, or are you just happy to see me?")
28469         Remove all references to specific line numbers.
28470         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
28471         New type and function.
28472         (main): Call large_struct_by_value, passing it a large struct by value.
28473         * lib/gdb.exp (gdb_get_line_number): New function.
28474
28475         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
28476         more portable.
28477
28478 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
28479
28480         * lib/gdb.exp: Doc fixes.
28481
28482 1999-03-05  Nick Clifton  <nickc@cygnus.com>
28483
28484         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
28485
28486 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
28487
28488         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
28489         commands.  They're not germane to this test, and they don't work
28490         that way on remote targets.
28491
28492 1999-03-01  James Ingham  <jingham@cygnus.com>
28493
28494         * Changelog entries merged over from gdb development branch.
28495
28496        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
28497
28498                * lib/gdb.exp (gdbtk_analyze_results): Generic function
28499                for outputting results of test run.
28500
28501         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
28502
28503                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
28504
28505 1999-02-25  Felix Lee  <flee@cygnus.com>
28506
28507         * lib/gdb.exp (debug_format): initialize
28508
28509 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
28510
28511         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
28512         * gdb.base/call-rt-st.c: Ditto.
28513
28514 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
28515
28516         * gdb.threads/pthreads.exp (horiz): New variable.
28517         (test_startup): Fix regexps that capture thread numbers.
28518
28519 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
28520
28521         * gdb.base/smoke.exp: Disambiguate two test case names (both
28522         called ``print'').
28523
28524 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
28525
28526         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
28527         compilation.
28528
28529 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
28530
28531         * gdb.base/miscexprs.exp: Change patterns to match GDB's
28532         actual output formatting.
28533         * gdb.base/smoke.exp: GDB removes leading 0's.
28534         * gdb.base/volatile.exp: Don't check type of remuneration;
28535         that variable is no longer defined in constvars.c.
28536         * gdb.base/step-test.c (main): Exit with explicit exit code.
28537         * gdb.base/step-test.exp: Remove two nexti checks--they are
28538         not portable.
28539
28540 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
28541
28542         * gdb.base/help.exp ("help delete display"): Fix test to match
28543         gdb's output.
28544
28545         * gdb.base/long_long.c (known_types): Initialize values to zero.
28546         * gdb.base/long_long.exp: Step one more line
28547         so 'dec' is initialized in "get to known place".  GDB removes
28548         leading zeros.  Explicitly ask for hex formatting.  Use
28549         unique test case names.
28550
28551 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
28552
28553         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
28554
28555         * gdb.c++/method.exp: Add missing close brace.
28556
28557 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
28558
28559         * gdb.base/maint.exp: Use 'set height 0' to disable page
28560         prompting, not 'set height 400'.
28561
28562         Fix a bunch of timeouts.
28563         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
28564         four separate tests, so expect doesn't take forever to match a ton
28565         of text against a regexp with lots of .* forms.
28566         ("maint print psymbols", "maint print symbols"): Make some of
28567         these greps more selective, so that expect doesn't try to wade
28568         through huge piles of output and time out.
28569
28570         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
28571
28572         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
28573         tests: one which doesn't expect shlib events to be reported, and
28574         another which does, but is XFAIL for all platforms other than
28575         HP/UX.
28576
28577         * gdb.base/break.exp: Teach the test suite that the `catch
28578         fork', `catch vfork', and `catch exec' commands produce error
28579         messages on platforms that don't provide these features.
28580
28581 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
28582
28583         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
28584         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
28585         (shortening names from solib_threshold.exp etc), won't run on
28586         anything but HP-UX for the foreseeable future.
28587         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
28588         reflect move.
28589
28590 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
28591
28592         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
28593         gdb.trace/Makefile.in (clean): Remove all test executables.
28594
28595 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
28596
28597         * gdb.base/shlib-call.exp: add test cases to verify that gdb
28598         successfully re-sets breakpoints in shared libraries.
28599         * gdb.base/shmain.c (main): return 0, don't fall off the end.
28600
28601 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
28602
28603         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
28604         and compiled w/o GCC.
28605
28606         * gdb.hp/watch-cmd.exp: ditto.
28607
28608         * gdb.hp/watch-hp.exp: ditto.
28609
28610         * gdb.hp/xdb1.exp: ditto.
28611
28612         * gdb.hp/xdb2.exp: ditto.
28613
28614         * gdb.hp/dbx.exp: ditto.
28615
28616 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
28617
28618         * constvars.c: Remove C++-isms.
28619         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
28620         with GCC.
28621
28622 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
28623
28624         The following changes are part of the HP merge.
28625
28626         * gdb.base/break.exp: new tests to verify that catchpoints for
28627         fork, vfork, and exec don't trigger inappropriately.
28628
28629         * gdb.base/opaque.exp: compile one file at a time, then link.
28630
28631         * gdb.base/signals.exp: be more restrictive about which hppa
28632         systems receive a setup_xfail.  new tests.
28633
28634         * gdb.base/solib_threshold.build: new file.
28635         * gdb.base/solib_threshold.exp: new file.
28636         * gdb.base/solib_threshold.link_opts: new file.
28637         * gdb.base/solib_threshold.mk: new file.
28638         * gdb.base/gen_solib_threshold.c: new file.
28639
28640         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
28641         tests.  New tests for enums inside classes.
28642
28643         * gdb.c++/compiler.cc: indicate support of template debugging.
28644
28645         * gdb.c++/demangle.exp: run hp style demangling tests.
28646
28647         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
28648         tests.
28649
28650         * gdb.c++/misc.cc: changes to support new tests.
28651
28652         * gdb.c++/templates.cc: changes to support HP's compiler; changes
28653         to support new tests.
28654
28655         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
28656         gcc, then skip these tests.
28657
28658 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
28659
28660         The following files are part of the HP merge; some had longer
28661         names at HP, but have been renamed to be no more than 14
28662         characters in length.
28663
28664         * gdb.hp/ambiguous.cc: new file.
28665         * gdb.hp/ambiguous.exp: new file.
28666         * gdb.hp/attach.exp: new file.
28667         * gdb.hp/attach2.exp: new file.
28668         * gdb.hp/classes-hp.exp: new file.
28669         * gdb.hp/ctti.exp: new file.
28670         * gdb.hp/ctti-add.cc: new file.
28671         * gdb.hp/ctti-add1.cc: new file.
28672         * gdb.hp/ctti-add2.cc: new file.
28673         * gdb.hp/ctti-add3.cc: new file.
28674         * gdb.hp/dbx.exp: new file.
28675         * gdb.hp/exception.cc: new file.
28676         * gdb.hp/exception.exp: new file.
28677         * gdb.hp/foll-exec.c: new file.
28678         * gdb.hp/foll-exec.exp: new file.
28679         * gdb.hp/foll-fork.c: new file.
28680         * gdb.hp/foll-fork.exp: new file.
28681         * gdb.hp/foll-vfork.c: new file.
28682         * gdb.hp/foll-vfork.exp: new file.
28683         * gdb.hp/inherit-hp.exp: new file.
28684         * gdb.hp/more-steps.exp: new file.
28685         * gdb.hp/namespace.cc: new file.
28686         * gdb.hp/namespace.exp: new file.
28687         * gdb.hp/optimize.exp: new file.
28688         * gdb.hp/pxdb.c: new file.
28689         * gdb.hp/pxdb.exp: new file.
28690         * gdb.hp/quicksort.exp: new file.
28691         * gdb.hp/reg-test.exp: new file.
28692         * gdb.hp/reg-test.s: new file.
28693         * gdb.hp/sized-enum.c: new file.
28694         * gdb.hp/sized-enum.exp: new file.
28695         * gdb.hp/start-stop.exp: new file.
28696         * gdb.hp/templ-hp.cc: new file.
28697         * gdb.hp/templ-hp.exp: new file.
28698         * gdb.hp/thr-lib.c: new file.
28699         * gdb.hp/thr-lib.exp: new file.
28700         * gdb.hp/thr-lib.h: new file.
28701         * gdb.hp/thr-liblib.c: new file.
28702         * gdb.hp/virtfun-hp.c: new file.
28703         * gdb.hp/virtfun-hp.exp: new file.
28704         * gdb.hp/watch-cmd.exp: new file.
28705         * gdb.hp/watch-hp.exp: new file.
28706         * gdb.hp/xdb1.exp: new file.
28707         * gdb.hp/xdb2.exp: new file.
28708         * gdb.hp/xdb3.exp: new file.
28709
28710 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
28711
28712         The following files are part of the HP merge; some had longer
28713         names at HP, but have been renamed to be no more than 14
28714         characters in length.
28715
28716         * gdb.base/ss.h: new file.
28717         * gdb.base/call-ar-st.c: new file.
28718         * gdb.base/call-ar-st.exp: new file.
28719         * gdb.base/call-rt-st.c: new file.
28720         * gdb.base/call-rt-st-exp: new file.
28721         * gdb.base/call-strs.exp: new file.
28722         * gdb.base/ena-dis-br.exp: new file.
28723         * gdb.base/environ.exp: new file.
28724         * gdb.base/long_long.exp: new file.
28725         * gdb.base/sect-cmd.exp: new file.
28726         * gdb.base/shlib-cl2.exp: new file.
28727         * gdb.base/smoke.exp: new file.
28728         * gdb.base/so-impl-ld.c: new file.
28729         * gdb.base/so-impl-ld.exp: new file.
28730         * gdb.base/so-indr-cl.c: new file.
28731         * gdb.base/so-indr-cl.exp: new file.
28732         * gdb.base/varargs.exp: new file.
28733         * gdb.base/volatile.exp: new file.
28734         * gdb.base/whatis-exp.exp: new file.
28735         * gdb.base/display.exp: new file.
28736         * gdb.c++/derivation.exp: new file.
28737         * gdb.c++/local.exp: new file.
28738         * gdb.c++/member-ptr.exp: new file.
28739         * gdb.c++/overload.exp: new file.
28740         * gdb.c++/ovldbreak.exp: new file.
28741         * gdb.c++/ref-types.exp: new file.
28742         * gdb.c++/ref-types2.exp: new file.
28743         * gdb.c++/userdef.exp: new file.
28744
28745 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
28746
28747         * gdb.base/default.exp: Reflect wording change in remote.c.
28748
28749 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
28750
28751         * gdb.base/help.exp: Update to reflect current text.
28752
28753 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
28754
28755         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
28756         they're stack variables and contain garbage.
28757         * gdb.c++/anon-union.exp: new file.
28758
28759         The following changes were made by David Taylor
28760         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
28761         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
28762         in changes by HP.
28763
28764         * gdb.base/bitops.exp: new file.
28765         * gdb.base/default.exp: change expected messages for catch and
28766         info catch tests to reflect HP merge changes.
28767         * gdb.base/enable-disable-break.exp
28768         * gdb.base/ending-run.c: new file.
28769         * gdb.base/long_long.c: new file.
28770         * gdb.base/maint.exp: new file.
28771         * gdb.base/pointers2.exp: new file.
28772         * gdb.base/shlib-call2.exp: new file.
28773         * gdb.base/solib.exp: new file.
28774         * gdb.base/step-test.c: new file.
28775         * gdb.c++/anon-union.cc: new file.
28776         * gdb.c++/local.cc: new file.
28777         * gdb.c++/member-pointer.cc: new file.
28778         * gdb.c++/method.cc: new file.
28779         * gdb.c++/ref-types.cc: new file.
28780         * gdb.c++/ref-types2.cc: new file.
28781         * gdb.c++/userdef.cc: new file.
28782
28783         * gdb.base/scope.exp: compile one file at a time, then link.
28784         * gdb.base/langs.exp: ditto.
28785         * gdb.base/list.exp: ditto.
28786
28787 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
28788
28789         The following changes were made by David Taylor
28790         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
28791         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
28792         in changes by HP.
28793
28794         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
28795         skip tests.  When compiling pass c++ flag to gdb_compile.
28796         * gdb.c++/
28797
28798         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
28799         test for on hppa*-*-hpux*; use args to see if c++ was specified.
28800         (skip_hp_tests): new function.
28801         (gdb_preprocess): new function.
28802
28803         * configure.in (hpdir): decide whether to configure gdb.hp.
28804         * configure: regenerated.
28805
28806         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
28807         to delete on clean.
28808         (EXECUTABLES): update to reflect new additions.
28809         * gdb.base/commands.exp: update message expected.
28810         * gdb.base/default.exp: add copyright notice.
28811         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
28812         * gdb.base/help.exp: update messages to reflect current text.
28813         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
28814         targets for recurse tests.
28815         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
28816         skip this file.
28817
28818         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
28819         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
28820         compilation.
28821         * gdb.c++/misc.exp: ditto.
28822         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
28823         run the tests.  tell gdb_compile that it's a c++ compilation.
28824
28825         * gdb.threads/pthreads.exp: fix typo in message.
28826
28827         * gdb.base/all-bin.exp: new file.
28828         * gdb.base/arithmet.exp: new file.
28829         * gdb.base/assign.exp: new file.
28830         * gdb.base/completion.exp: new file.
28831         * gdb.base/cond-expr.exp: new file.
28832         * gdb.base/condbreak.exp: new file.
28833         * gdb.base/define.exp: new file.
28834         * gdb.base/dollar.exp: new file.
28835         * gdb.base/environment.exp: new file.
28836         * gdb.base/eval-skip.exp: new file.
28837         * gdb.base/jump.exp: new file.
28838         * gdb.base/logical.exp: new file.
28839         * gdb.base/pointers.exp: new file.
28840         * gdb.base/relational.exp: new file.
28841         * gdb.base/section_command.exp: new file.
28842         * gdb.base/whatis-expr.exp: new file.
28843
28844         * gdb.base/all-types.c: new file.
28845         * gdb.base/call-array-struct.c: new file.
28846         * gdb.base/call-return-struct.c: new file.
28847         * gdb.base/call-strings.c: new file.
28848         * gdb.base/callfuncs2.c: new file.
28849         * gdb.base/condbreak.c: new file.
28850         * gdb.base/constvars.c: new file.
28851         * gdb.base/display.c: new file.
28852         * gdb.base/int-type.c: new file.
28853         * gdb.base/jump.c: new file.
28854         * gdb.base/miscexprs.c: new file.
28855         * gdb.base/pointers.c: new file.
28856         * gdb.base/pointers2.c: new file.
28857         * gdb.base/shmain.c: new file.
28858         * gdb.base/shr1.c: new file.
28859         * gdb.base/shr2.c: new file.
28860         * gdb.base/solib.c: new file.
28861         * gdb.base/solib1.c: new file.
28862         * gdb.base/solib2.c: new file.
28863         * gdb.base/varargs.c: new file.
28864         * gdb.c++/derivation.cc: new file.
28865         * gdb.c++/overload.cc: new file.
28866         * gdb.c++/ovldbreak.cc: new file.
28867         * gdb.hp/attach.c: new file.
28868         * gdb.hp/attach2.c: new file.
28869         * gdb.hp/average.c: new file.
28870         * gdb.hp/compiler.c: new file.
28871         * gdb.hp/compiler.cc: new file.
28872         * gdb.hp/execd-program.c: new file.
28873         * gdb.hp/follow-exec.c: new file.
28874         * gdb.hp/follow-fork.c: new file.
28875         * gdb.hp/follow-vfork-and-exec.c: new file.
28876         * gdb.hp/misc-hp.cc: new file.
28877         * gdb.hp/more-steps.c: new file.
28878         * gdb.hp/optimize.c: new file.
28879         * gdb.hp/quicksort.c: new file.
28880         * gdb.hp/run-hp.c: new file.
28881         * gdb.hp/start-stop.c: new file.
28882         * gdb.hp/sum.c: new file.
28883         * gdb.hp/templates-hp.cc: new file.
28884         * gdb.hp/thread-local-in-lib.c: new file.
28885         * gdb.hp/thread-local-in-lib.h: new file.
28886         * gdb.hp/thread-local-in-lib.lib.c: new file.
28887         * gdb.hp/vforked-program.c: new file.
28888         * gdb.hp/virtfunc-hp.cc: new file.
28889         * gdb.hp/watchpoint-hp.c: new file.
28890         * gdb.hp/xdb.c: new file.
28891         * gdb.hp/xdb0.c: new file.
28892         * gdb.hp/xdb0.h: new file.
28893         * gdb.hp/xdb1.c: new file.
28894
28895 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
28896
28897         The following change was made by Edith Epstein
28898         <eepstein@cygnus.com> as part of a project to merge in changes
28899         originally made by HP; HP did not create ChangeLog entries.
28900
28901         * gdb.c++/demangle.exp: changed the expected output for some
28902         ARM-style mangling -- removed second reference to datatype.
28903         For example, maint demangle __dt__11T1__pt__2_cFv
28904                      T1<char>::~T1<char>(void)
28905         becomes,
28906                      maint demangle __dt__11T1__pt__2_cFv
28907                      T1<char>::~T1(void)
28908
28909         (test_hp_style_demangling): new hp specific demangling test cases.
28910
28911 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
28912
28913         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
28914         * gdb.trace/backtrace.exp: Likewise.
28915         * gdb.trace/circ.exp: Likewise.
28916         * gdb.trace/collection.exp: Likewise.
28917         * gdb.trace/deltrace.exp: Likewise.
28918         * gdb.trace/infotrace.exp: Likewise.
28919         * gdb.trace/limits.exp: Likewise.
28920         * gdb.trace/packetlen.exp: Likewise.
28921         * gdb.trace/passc-dyn.exp: Likewise.
28922         * gdb.trace/passcount.exp: Likewise.
28923         * gdb.trace/report.exp: Likewise.
28924         * gdb.trace/save-trace.exp: Likewise.
28925         * gdb.trace/tfind.exp: Likewise.
28926         * gdb.trace/tracecmd.exp: Likewise.
28927         * gdb.trace/while-dyn.exp: Likewise.
28928         * gdb.trace/while-stepping.exp: Likewise.
28929
28930 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
28931
28932         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
28933
28934 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
28935
28936         From Brendan Kehoe:
28937         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
28938         int return types.
28939
28940 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
28941
28942         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
28943         remote dos host testing right.
28944
28945 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
28946
28947         * gdb.base/corefile.exp: remove some xfails.
28948
28949 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
28950
28951         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
28952         have different timestamps.
28953
28954 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
28955
28956         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
28957         gdb.base/default.exp: Replace "exec" with "executable".
28958
28959 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
28960
28961         * gdb.base/default.exp: Change else if to elseif from previous
28962         delta.
28963
28964 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
28965
28966         * gdb.base/default.exp: Add brace missing from previous delta.
28967
28968 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
28969
28970         * gdb.base/default.exp: Support test for info float for all
28971         varieties of arm toolchain.
28972
28973 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
28974
28975         * gdb.trace/*.exp: remove "remote_download" command.
28976
28977 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
28978
28979         * gdb.trace/*.exp: remove -gdwarf from compile.
28980
28981 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
28982
28983         * gdb.trace/configure.in(AC_INIT): typo
28984         * gdb.trace/configure: regenerated
28985
28986 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
28987
28988         * config/m68k-emc.exp: New file.
28989         * lib/<emc-support.exp trace-support.exp}: New files.
28990         * configure.in: add new test directory gdb.trace.
28991         * gdb.trace/{configure configure.in Makefile.in}: New files.
28992         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
28993         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
28994         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
28995         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
28996         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
28997         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
28998         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
28999
29000 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
29001
29002         * gdb.c++/classes.exp: Change all regular expressions to match
29003         arbitrary combinations of newline/carriage-return, so that they
29004         will work equally well on Unix and Windows.
29005         * gdb.c++/inherit.exp: ditto.
29006         * gdb.c++/virtfunc.exp: ditto.
29007
29008 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
29009
29010         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
29011
29012 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
29013
29014         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
29015         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
29016         to use a0-a3/d0-d3 as needed.
29017
29018 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
29019
29020         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
29021         * gdb.disasm/am33.exp: Corresponding changes.
29022
29023 1998-07-11  Felix Lee  <flee@cygnus.com>
29024
29025         * gdb.base/callfuncs.exp: add cmp10 test.
29026         * gdb.base/callfuncs.c (cmp10): new function.
29027
29028 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
29029
29030         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
29031         into two parts to get around a synchronization problem in expect.
29032
29033 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
29034
29035         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
29036
29037         * configure.in: Add options for gdbtk testsuite.
29038
29039         * configure: Regenerate.
29040
29041         * gdb.gdbtk: New directory to hold gdbtk tests.
29042
29043 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
29044
29045         * gdb.fortran/types.exp:  Escape brackets in expect patterns
29046         for test_float_literal_types_accepted tests.
29047         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
29048         before run test.
29049
29050 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
29051
29052         * am33.exp: Just compile, do not link the testcase.
29053         * am33.s: Add ".am33" pseudoop to force am33 mode.
29054
29055 1998-06-25  Felix Lee  <flee@cygnus.com>
29056
29057         * gdb.base/setshow.exp: make sure $pc is sane.
29058
29059         * gdb.stabs/weird.exp: split expect patterns properly.
29060
29061 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
29062
29063         * gdb.disasm/am33.s: New disassembler testfile for the am33.
29064         * gdb.disasm/am33.exp: Run it.
29065
29066 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
29067
29068         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
29069         match processing (and eliminate spurious timeouts when running).
29070
29071 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
29072
29073         * gdb.base/signals.exp (test_handle_all_print): put back Mach
29074         exception test, but conditionalize it on target [mach | gnu].
29075
29076 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
29077
29078         * gdb.base/overlays.exp: fixup compile line for linker script.
29079
29080 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
29081
29082         * gdb.fortran/types.exp: don't guess at float size.
29083
29084 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
29085
29086         * gdb.base/exprs.exp: delete test that depends on int size.
29087
29088 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
29089
29090         * config/sim.exp: Removed checks for target triplets.
29091         (gdb_target_sim): Use gdb,target_sim_options.
29092
29093 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
29094
29095         * gdb.base/reread.exp: New file.
29096         * gdb.base/reread1.c: New file.
29097         * gdb.base/reread2.c: New file.
29098
29099 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
29100
29101         * config/sim.exp: Use 'target sim -sparclite' when running
29102         SPARClite programs.
29103
29104 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
29105
29106         * gdb.base/structs2.exp: New file.
29107         * gdb.base/structs2.c: New file.
29108
29109 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
29110
29111         * gdb.asm/common.inc: New file.
29112         * gdb.asm/d10v.inc: New file.
29113         * asm-source.exp: Pass -I's to gas to find .inc files.
29114         Update line numbers in expected output.
29115         * asmsrc1.s: Rewrite.
29116         * asmsrc2.s: Rewrite.
29117         * configure.in: Create arch.inc symlink.
29118         * configure: Regenerate.
29119         * Makefile.in (distclean): Delete arch.inc.
29120
29121 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
29122
29123         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
29124         (t_enum_value2): ditto
29125         (t_enum_value3): ditto
29126         (main): ditto
29127 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
29128
29129         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
29130         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
29131         change.
29132         Use gdb_test instead of send_gdb/gdb_expect sequences.
29133
29134 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
29135
29136         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
29137         not void.
29138
29139 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
29140
29141         * gdb.base/branches.c: Code with lots of loops and
29142         subroutines. Used to test gdbs ability to single step through PC
29143         changes, especially to test mips-tdep.c:mips_next_pc
29144
29145 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
29146
29147         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
29148         more rigorous EGCS C++ error checking.
29149
29150 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29151
29152         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
29153         tests.
29154         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
29155         function when asleep.
29156         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
29157         for i*86 Linux and SVR4 signal handling problems.
29158         Remove linux xfail for `next to handler in signals_tests_1', fixed
29159         by recent infrun.c change.
29160         Limit backtrace to 10 frames to avoid timeout problems with infinite
29161         stack backtraces.
29162         Adjust expect pattern in `handle all print' test to match Apr 28 1997
29163         target.[ch] change.
29164
29165 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
29166
29167         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
29168         for a newline from gdb before continuing.
29169         (default_gdb_exit): Just look for y or n.
29170         (gdb_test): Detect abnormal exit from GDB running on DOS; if
29171         it does, fail the rests of the tests in the file.
29172
29173 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
29174
29175         * config/cygmon.exp: New file.
29176
29177 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
29178
29179         * gdb.base/list.exp: Fix problem with "list default lines around
29180         main" test on remote targets.
29181
29182         * gdb.base/scope.exp: Fix problem with filelocal_bss before
29183         run test on remote targets.
29184
29185 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
29186
29187         * gdb.asm: New directory.
29188         * configure.in: Configure it.
29189         * configure: Regenerate.
29190         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
29191         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
29192
29193 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
29194
29195         * config/mn10300-eval.exp: New file to support MN10300 eval board.
29196
29197 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
29198
29199         * gdb.base/overlays (several files): Merge the two overlay
29200         managers into one.  Change variables (foox, barx, bazx, grbxx)
29201         back into ints but force them to load in their proper sections.
29202
29203 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
29204
29205         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
29206         on-chip insn memory and IMAP1 to upper 128k.
29207         (D10VCopy): Handle memory regions crossing 16k boundaries.
29208         (D10VCopy): Transfer data in 32 bit chunks.
29209
29210 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
29211
29212         * gdb.base/overlays.c (main): Exit normally when result is
29213         correct.
29214
29215         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
29216         map.  Include space for printf in .text segment.
29217
29218         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
29219         updated d10v memory VMA/LMA map.
29220         (D10VCopy): Call D10VTranslate.
29221
29222 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
29223
29224         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
29225
29226         * gdb.base/bar.c (barx, bar): Change variable to small array so
29227         that it won't be put into the .sdata - small data -
29228         section. Update reference.
29229         * gdb.base/baz.c (bazx, baz): Ditto.
29230         * gdb.base/foo.c (foox, foo): Ditto.
29231         * gdb.base/grbx.c (grbxx, grbx): Ditto.
29232
29233         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
29234         to be arrays.
29235
29236 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
29237
29238         * gdb.base/overlays.exp: fix up and get working again.
29239         Add tests for backtraces from an overlay function.
29240
29241 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
29242
29243         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
29244         "calling function with watchpoint enabled".
29245
29246 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
29247
29248         * gdb.base/break.exp (test_next_with_recursion): Remove
29249         gdb_suppress_tests for d10v-*-*.
29250         * lib/gdb.exp (gdb_suppress_tests): Disable this function
29251         pending review of whether it is useful or not.
29252
29253 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
29254
29255         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
29256
29257 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
29258
29259         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
29260         * config/dve.exp: New file to support Densan boards.
29261
29262 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
29263
29264         * gdb.base/interrupt.exp: Document problem of simulators, signals,
29265         reads and BSD.
29266
29267 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
29268
29269         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
29270         response.
29271
29272         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
29273
29274 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
29275
29276         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
29277         test.
29278
29279         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
29280         target_sizeof_long and target_bigendian_p.
29281         (structs_by_value, structs_by_reference): Check values according
29282         to targets word size and endianess.
29283
29284 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
29285
29286         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
29287         output.
29288
29289 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
29290
29291         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
29292         Update test of set args help to match source change.
29293
29294 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
29295
29296         * gdb.base/default.exp: Expect help system output to be in
29297         alphabetical order.
29298         * gdb.base/help.exp: Ditto.
29299
29300 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
29301
29302         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
29303         "i*86-pc-linux-gnu*".
29304         * gdb.base/interrupt.exp: Ditto.
29305         * gdb.base/corefile.exp: Ditto.
29306
29307         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
29308         define vxworks when building the testcase.
29309
29310         * gdb.base/ptype.exp: Fix testnames to be unique.
29311         * gdb.base/radix.exp: Ditto.
29312         * gdb.base/term.exp: Ditto.
29313         * gdb.base/whatis.exp: Ditto.
29314         * gdb.c++/classes.exp: Ditto.
29315
29316 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
29317
29318         * gdb.base/callfuncs.exp: Fix indentation.
29319
29320         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
29321         suppress_flag has been set.
29322         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
29323         target feature.
29324
29325 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
29326
29327         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
29328         the testcase.
29329
29330         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
29331         set_debug_traps() and breakpoint().
29332         * gdb.c++/misc.cc (main): Ditto.
29333         * gdb.c++/templates.cc (main): Ditto.
29334         * gdb.c++/virtfunc.cc (main): Ditto.
29335
29336 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
29337
29338         * lib/gdb.exp(gdb_step_for_stub): New function.
29339         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
29340         exists, reload the executable and do a "continue" instead of
29341         doing a jump.
29342         (runto_main): Use gdb_step_for_stub.
29343
29344         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
29345         tests to have unique names.
29346         * gdb.base/callfuncs.exp: Ditto.
29347         * gdb.base/commands.exp: Ditto.
29348         * gdb.base/default.exp: Ditto.
29349         * gdb.base/help.exp: Ditto.
29350         * gdb.base/list.exp: Ditto.
29351         * gdb.base/opaque.exp: Ditto.
29352         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
29353         similar tests.
29354
29355         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
29356         * gdb.c++/cplusfuncs.cc: Ditto.
29357         * gdb.c++/virtfunc.cc: Ditto.
29358
29359         * config/monitor.exp: Keep track of the last file we saw, rather
29360         than trying to get the info from gdb.
29361
29362         * gdb.fortran/types.exp: Move comment to previous line.
29363
29364 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
29365
29366         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
29367         target mode.
29368
29369 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
29370
29371         From Bob Manson:
29372         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
29373         string from GDB when it connects.
29374
29375         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
29376
29377 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
29378
29379         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
29380         if we can't get a debug format from GDB (we may be testing an
29381         older GDB). Use a 10 second timeout when checking for the format.
29382
29383         * gdb.stabs/weird.exp: Fix quoting.
29384
29385         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
29386
29387 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
29388
29389         * config/arm-ice.exp: New file.
29390
29391 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
29392
29393         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
29394         until it has been modified to work with the new testsuite.
29395
29396         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
29397         testcase won't compile, cause all of the testcases in the file to
29398         fail instead.
29399
29400         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
29401         (gdb_clear_suppressed): New procedure.
29402         (gdb_stop_suppressing_tests): Only clear suppress_flag if
29403         it contains a positive value.
29404
29405 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
29406
29407         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
29408
29409         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
29410
29411 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
29412
29413         * lib/gdb.exp (setup_xfail_format): New function.
29414         (get_debug_format): New function to get debug format.
29415         (debug_format): New global variable to hold last value set
29416         by get_debug_format.
29417         * gdb.base/list.exp: Call get_debug_format and expect some
29418         tests to fail for DWARF 1 and COFF formats.
29419         * gdb.c++/ptype.exp: Ditto.
29420         * gdb.c++/classes.exp: Ditto.
29421         * gdb.c++/cplusfuncs.exp: Ditto.
29422         * gdb.c++/inherit.exp: Ditto.
29423         * gdb.c++/templates.exp: Ditto.
29424         * gdb.c++/virtfunc.exp: Ditto.
29425
29426 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
29427
29428         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
29429         host doesn't have a currently-open connection.
29430
29431         * config/sparclet.exp: Cleanups and fixes to make it generic for
29432         any gdb stub target. Handle cases where gdb doesn't respond when
29433         interrupted in a sane fashion.
29434
29435         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
29436         same thing in a totally different way.
29437
29438         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
29439         setting "timeout".
29440         (gdb_start): We set the global gdb_prompt variable in
29441         default_gdb_init now.
29442
29443 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
29444
29445         * gdb.base/printcmds.exp: Fix "check for floating addition"
29446         regexp to accept results within approx +/- .01 of exact value.
29447         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
29448
29449 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
29450
29451         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
29452         properly.
29453         (gdb_expect): Add optional timeout parameter, and add timeout
29454         value to various calls.
29455         (gdb_suppress_tests): Only give one warning message per group.
29456
29457 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
29458
29459         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
29460         global variables. Handle getting a value for $timeout more
29461         gracefully.
29462
29463 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
29464
29465         * lib/gdb.exp: Close connection to remote host if gdb doesn't
29466         initialize.
29467         (default_gdb_init): New procedure; allow gdb_init to be overridden
29468         by a target configuration file.
29469         (gdb_expect): Pass the timeout to remote_expect.
29470
29471         * config/monitor.exp(gdb_load): Fix typo in regexp.
29472
29473 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
29474
29475         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
29476
29477 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
29478
29479         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
29480         here. Call gdb_target_exec before rebooting the target, to make
29481         sure the connection to the target is closed.
29482         (gdb_load): Pass the name of the executable to gdb_target_monitor.
29483         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
29484         Also detect "Timeout reading from remote" error.
29485
29486         * config/gdbserver.exp: Pass the executable being loaded to
29487         gdb_target_monitor. Don't call gdb_file_cmd here; let
29488         gdb_target_monitor do it.
29489
29490         * gdb.disasm/hppa.exp: Don't use exec_output.
29491
29492 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
29493
29494         * gdb.base/list.exp: If we're debugging a non-native target,
29495         try to set the pc register to point to the start of the
29496         program before doing the first list command.
29497
29498         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
29499         test_calls after restarting.
29500
29501         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
29502         reloading.
29503
29504         * gdb.base/watchpoint.exp: Fix typo.
29505
29506         * gdb.base/setshow.exp: Check for use_gdb_stub.
29507
29508         * gdb.base/break.exp: Fix continue until exit test for the gdb
29509         stub case.
29510         * gdb.base/langs.exp: Ditto.
29511
29512         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
29513         gdb_load_offset. If we weren't given a file to load, figure out
29514         what the current file is and use it.
29515
29516         * config/i386-bozo.exp: New file.
29517
29518 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
29519
29520         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
29521         feature.
29522
29523         * config/proelf.exp: New entry.
29524
29525 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
29526
29527         * lib/gdb.exp: Remove spurious .* patterns at the beginning
29528         of regexps.
29529
29530         * gdb.base/watchpoint.exp: Don't run the test_stepping
29531         tests if gdb can't call functions on the target.
29532
29533         * gdb.base/setshow.exp: Don't run the set prompt tests if
29534         the board has gdb_prompt set.
29535
29536 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
29537
29538         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
29539         * gdb.base/commands.exp: Likewise.
29540         * gdb.base/setshow.exp: Likewise.
29541
29542 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
29543
29544         * config/monitor.exp(gdb_start): Look for gdb_prompt target
29545         feature.
29546
29547         * config/i960.exp: New file.
29548
29549 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
29550
29551         * gdb.base/funcargs.exp: Check for gdb,short_int target
29552         feature instead of looking for explicit target triplets.
29553
29554 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
29555
29556         * gdb.base/printcmds.exp: add a couple more tests a la
29557         "p 123DEADBEEF", to check parse_number.
29558         * top.c: change "to enable to enable" to "to enable" in a couple
29559         of help strings.
29560
29561 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
29562
29563         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
29564         on the mn10300.
29565
29566 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
29567
29568         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
29569         where the test executable is run with explicit args.
29570         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
29571
29572 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
29573
29574         * gdb.base/run.c: Use FAKEARGV to build test executable that
29575         does not require a command line arg, since most simulators
29576         don't currently support passing such an arg into the simulated
29577         program.
29578         * gdb.base/commands.exp: Change tests to insert the proper
29579         value as the arg to the first recursive factorial call.  Change
29580         compilation line to define FAKEARGV at compile time.
29581
29582 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
29583
29584         * gdb.base/recurse.exp: Enable these tests for the mn10300.
29585         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
29586         function with watchpoint enabled" test.
29587
29588 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
29589
29590         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
29591         Don't call gdb_test when the command doesn't return to a gdb prompt.
29592
29593         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
29594         "Tests restarted" messages.
29595
29596 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
29597
29598         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
29599
29600 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
29601
29602         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
29603         for INFO SYMBOL; add help tests for OVERLAY commands.
29604         * gdb.base/default.exp: add tests for INFO SYMBOL command;
29605         add tests for OVERLAY commands
29606         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
29607         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
29608         * gdb.base/sigall.c: add usestubs code frag
29609         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
29610
29611 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
29612
29613         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
29614         failures.
29615         (gdb_stop_suppressing_tests): Note that tests have restarted.
29616
29617 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
29618
29619         * config/h8300.exp: New file.
29620
29621 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
29622
29623         * gdb.base/setshow.exp: Check for the existence of a
29624         feature, not its value.
29625
29626 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
29627
29628         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
29629
29630         * gdb.base/scope.exp: It's now init0(), not init().
29631
29632         * gdb.base/scope0.c: For now, change init() to be init0().
29633
29634         * config/monitor.exp: Use gdb_serial in preference to serial
29635         or netport.
29636
29637         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
29638         and it's not already set.
29639
29640 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
29641
29642         * gdb.base/setshow.exp: Only test the run command if the target
29643         isn't using a stub and if it supports argument passing.
29644
29645 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
29646
29647         * config/udi.exp(gdb_start): Make sure UDICONF is set
29648         properly before starting gdb.
29649
29650 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
29651
29652         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
29653         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
29654         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
29655
29656 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
29657
29658         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
29659         specialized code to reboot the board, use remote_reboot instead.
29660
29661         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
29662
29663         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
29664
29665         * config/monitor.exp: Make sure we disconnect from the target.
29666         Also, try a reboot/reload cycle instead of failing if the
29667         load fails.
29668
29669 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
29670
29671         * gdb.base/default.exp: Don't set match_max.
29672         * gdb.base/help.exp: Ditto.
29673         * gdb.base/list.exp: Ditto.
29674         * gdb.base/signals.exp: Ditto.
29675
29676         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
29677         set, use remote_ld to download the testcase instead of
29678         the GDB loader.
29679
29680 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
29681
29682         * config/vr5000.exp: New file.
29683
29684         * config/monitor.exp(gdb_target_monitor): Add pattern for
29685         "Ending remote" to detect errors in connecting.
29686
29687         * gdb.base/setshow.exp: Add .* within auto language test.
29688
29689         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
29690         target feature.
29691
29692         * config/monitor.exp(gdb_load): Check for a failure when loading,
29693         and reboot the board if necessary.
29694
29695         * gdb.base/setvar.exp(test_set): Handle multiple prints within
29696         a set of tests. Remove print.* from the patterns being checked.
29697
29698 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
29699
29700         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
29701         refer to gdb_spawn_id.
29702
29703         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
29704         longer used.
29705         * config/sparclet.exp: Ditto.
29706         * config/sparclet-old.exp: Ditto.
29707         * config/slite.exp: Ditto.
29708         * config/sim.exp: Ditto.
29709         * gdb.base/funcargs.exp: Ditto.
29710
29711         * lib/gdb.exp:Remove references to gdb_spawn_id.
29712         (gdb_expect): Move to remote.exp.
29713
29714 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
29715
29716         * config/monitor.exp: Detect the "Couldn't establish connection"
29717         message from GDB.
29718
29719 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
29720
29721         * gdb.base/bitfields.exp: Use runto instead of explicit
29722         gdb_run_cmd/gdb_expect sequences.
29723
29724         * gdb.base/break.exp(text_next_with_recursion): Add match for
29725         gdb_expect call.
29726
29727         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
29728         We also need to handle the "A program is being debugged already"
29729         prompt from gdb. Use gdb_test to set the baud rate.
29730
29731         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
29732         to 20000. Really. I mean it.
29733
29734 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
29735
29736         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
29737         fails. If suppress_flag is set, skip perror message about not
29738         being able to send to GDB.
29739         (send_gdb): If suppress_flag is set, don't try to send commands to
29740         GDB.
29741         (gdb_expect): If suppress_flag is set, always fail immediately.
29742         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
29743         (gdb_init): Call gdb_stop_suppressing_tests.
29744         (default_gdb_exit): Ditto.
29745         (default_gdb_start): Ditto.
29746
29747         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
29748         gdb_stop_suppressing_tests as appropriate.
29749         * gdb.base/break.exp: Ditto.
29750         * gdb.base/callfuncs.exp: Ditto.
29751         * gdb.base/commands.exp: Ditto.
29752         * gdb.base/exprs.exp: Ditto.
29753         * gdb.base/funcargs.exp: Ditto.
29754         * gdb.base/list.exp: Ditto.
29755         * gdb.base/recurse.exp: Ditto.
29756         * gdb.base/scope.exp:  Ditto.
29757         * gdb.base/structs.exp: Ditto.
29758         * gdb.c++/inherit.exp: Ditto.
29759
29760 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
29761
29762         * config/vr4300.exp: New file.
29763
29764         * gdb.*/*.exp: Call gdb_expect instead of expect.
29765
29766         * lib/gdb.exp(gdb_expect): New function.
29767
29768 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
29769
29770         * lib/gdb.exp(gdb_init): New function.
29771
29772         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
29773         for each individual variable set.
29774
29775         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
29776         name.
29777
29778         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
29779
29780         * gdb.base/scope.exp: Use gdb_test.
29781
29782         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
29783         aborting; the testsuite driver will do that for us (see
29784         gdb_finish). Also, use gdb_test in a few more places.
29785
29786 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
29787
29788         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
29789
29790 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
29791
29792         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
29793         and "add_tests" are not at the same address.
29794
29795 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
29796
29797         * gdb.base/ptype.exp: Use gdb_test.
29798
29799 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
29800
29801         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
29802         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
29803         left in.  No longer expect them to fail.
29804
29805         * gdb.stabs/*.mt; Deleted, no longer used.
29806         * gdb.stabs/configure.in: Remove references to target makefile
29807         frags.
29808         * gdb.stabs/configure: Rebuilt.
29809
29810         * gdb.disasm/*.mt: Deleted, no longer used.
29811         * gdb.disasm/configure.in: Remove references to target makefile
29812         frags.  Use "sh3.s" as the unique filename for this directory.
29813         * gdb.disasm/configure: Rebuilt.
29814
29815         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
29816         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
29817         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
29818
29819 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
29820
29821         * config/udi.exp: Use mondfe,name instead of remote_host.
29822
29823 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
29824
29825         * gdb.base/watchpoint.exp: Don't expect a failure when calling
29826         a function with a watchpoint enabled on the mn10200.
29827
29828         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
29829         before trying to create it!
29830
29831 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
29832
29833         * config/vx.exp: Use hostname instead of netport.
29834
29835         * config/vxworks.exp: New file.
29836
29837         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
29838
29839         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
29840         gdb before assuming everything worked. Send a ^C if a timeout
29841         occurs.
29842
29843         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
29844         $gdb_spawn_id directly.
29845         (gdb_run_cmd): Try _start as well as start. Use the target feature
29846         gdb,start_symbol as the symbol to start from when jumping.
29847
29848 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
29849
29850         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
29851         redundant) test.
29852
29853         * gdb.base/recurse.exp: Relax final value test for 'b' so that
29854         it doesn't lose for 16bit integer systems.
29855
29856 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
29857
29858         * gdb.fortran/types.exp: If the target doesn't support "double"
29859         data types, then expect "real" types to only be 4 bytes.
29860
29861         * gdb.c++/virtfunc.exp: Expect failure for virtual function
29862         call tests if the target doesn't support inferior function calls.
29863
29864         * gdb.base/printcmds.exp: Allow minor deviation in FP values
29865         in printf tests.
29866
29867 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
29868
29869         * gdb.base/help.exp: Disable "help set", "help show", and
29870         "help support".  Simplify regexp for "help stack".
29871
29872         * gdb.base/default.exp: Set match_max to 5000 and the timeout
29873         to 60 seconds.  Temporarily set match_max to 15000 around the
29874         "info copying" test.
29875
29876         * gdb.base/nodebug.exp: Don't try to do an inferior function
29877         call if the target doesn't support them.
29878         * gdb.base/printcmds.exp: Likewise.
29879         * gdb.base/setvar.exp: Likewise.
29880         * gdb.base/structs.exp: Likewise.
29881         * gdb.c++/templates.exp: Likewise.
29882         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
29883
29884         * gdb.base/recurse.exp: Enable for the mn10200.
29885
29886         * configure.in: Do configure gdb.stabs directory for *-*-elf
29887         targets.
29888         * configure: Rebuilt.
29889
29890         * gdb.base/break.exp: Check for gdb,noresults before testing
29891         exit status and/or results from the target.
29892         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
29893         * lib/gdb.exp: Remove old (now bogus) initialization of
29894         noinferior, noargs, noresults and nosignals.
29895
29896 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
29897
29898         * config/sh.exp: New file.
29899
29900         * config/slite.exp: Try to connect multiple times to the board
29901         before rebooting. Only send a "monitor run" if need_monitor_run
29902         is set.
29903
29904         * gdb.base/break.exp: Don't do the "stub continue" test if
29905         the target has gdb_stub set.
29906
29907         * gdb.base/callfuncs.exp: Increase the timeout.
29908
29909         * gdb.base/interrupt.exp: Don't even try to compile the testcase
29910         if the target has gdb,noinferiorio set.
29911
29912         * gdb.base/list.exp: Increase match_max to 10000 characters.
29913
29914         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
29915
29916         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
29917         target.
29918
29919         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
29920
29921 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
29922
29923         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
29924         trying to delete the copy of gdb. Catch the file delete so we
29925         don't die if the delete fails; also, the file should be copied to
29926         the host, not to the build.
29927
29928 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
29929
29930         * lib/gdb.exp(gdb_test): Surround the result pattern with
29931         parenthesis in case it contains multiple regexps separated
29932         with |.
29933
29934         * gdb.base/watchpoint.exp: Use gdb_test.
29935         * gdb.base/default.exp: Ditto.
29936
29937 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
29938
29939         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
29940
29941         * gdb.base/scope.exp: Use gdb_test.
29942         * gdb.c++/classes.exp: Ditto.
29943         * gdb.c++/inherit.exp: Ditto.
29944
29945 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
29946
29947         * gdb.base/crossload.exp: Don't use execute_anywhere, use
29948         remote_exec instead.
29949         * gdb.base/corefile.exp: Don't be ridiculous.
29950         * gdb.base/*.c: Add missing stub invocations.
29951
29952 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
29953
29954         * config/slite.exp: Miscellaneous fixes.
29955
29956         * lib/gdb.exp: Fix runto.
29957
29958         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
29959         the target.
29960
29961         * gdb.base/watchpoint.exp: Fix regexp.
29962
29963         * lib/gdb.exp(default_gdb_exit): Add a catch to the
29964         close and wait commands, as the descriptor may now be
29965         invalid. Always call "remote_close host".
29966
29967 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
29968
29969            Major rewrite for testsuite revision.
29970
29971         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
29972         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
29973         instead of relying on spawn_id to always contain a valid
29974         spawn id.
29975         (get_compiler_info): New procedure to build the ${binfile}.ci
29976         file, instead of replicating this in N different places.
29977         (gdb_compile): New procedure.
29978
29979         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
29980         appropriate arguments) instead of compile. Use gdb_test in a lot
29981         more places.  Use send_gdb instead of send. Always run gdb_start
29982         at the start of a testcase, as this is no longer done magically.
29983
29984         config/*-gdb.exp: Rename without the -gdb suffix.
29985
29986         config/mips.exp: Use remote_close instead of exit_remote_shell.
29987         config/monitor.exp: Use target_info instead of looking at
29988         baud, timeout, etc.
29989         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
29990
29991 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29992
29993         * gdb.c++/templates.exp (test_ptype_of_templates),
29994         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
29995         Update expect patterns for destructors and assignment operators
29996         to match corresponding c-typeprint.c changes.
29997         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
29998         to destructor breakpoint test, GDB should be able to set the
29999         destructor breakpoint without specifying arguments.
30000
30001 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
30002
30003         * gdb.threads/pthreads.exp: Change result for failure to compile due
30004         to lack of pthreads runtime support from an error to simply an
30005         unsupported test, per dejagnu standards.
30006
30007 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30008
30009         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
30010         where GDB exits to reduce pattern match time.
30011         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
30012
30013         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
30014
30015 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
30016
30017         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
30018         * gdb.base/default.exp:   ditto.
30019         * gdb.base/nodebug.exp:   ditto.
30020         * gdb.base/printcmds.exp: ditto.
30021         * gdb.base/ptype.exp:     ditto.
30022         * gdb.base/setvar.exp:    ditto.
30023         * gdb.base/structs.exp:   ditto.
30024         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
30025
30026 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
30027
30028         * configure, */configure: Rebuild with autoconf 2.12.
30029
30030 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
30031
30032         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
30033         use new i*86-pc-linux*-gnu quads.
30034         * gdb.base/corefile.exp: Ditto.
30035         * gdb.base/signals.exp: Ditto.
30036         * gdb.base/sigall.exp: Ditto.
30037         * gdb.base/interrupt.exp: Ditto.
30038
30039         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
30040         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
30041         RedHat 4.0.
30042
30043         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
30044         linux.  This allows the test case to at least compile on latest
30045         linux, but still not run due to missing the threads runtime library.
30046
30047 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30048
30049         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
30050         directory to search gdb directory. Accept and step over conditional
30051         stack alignment code. Consume $prompt in failure cases.
30052         Reset timeout to $oldtimeout instead of some arbitrary value.
30053         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
30054         timeout problems with infinite stack backtraces.
30055         * gdb.base/ptype.exp (ptype struct link, union tu_link):
30056         Accept function parameters for linkfunc member.
30057
30058 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
30059
30060         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
30061         (CXXFLAGS): Remove, unreferenced.
30062         (B_OPTIONS): Add for -B options and add code to initialize with
30063         previous -B options and also add -B option to pick up cross compiled
30064         runtime.
30065         (TARGET_INCLUDES): Add for -I options and add code to initialize when
30066         doing cross compiles.
30067         (target_alias): Declare global.
30068         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
30069         to verify that gcc exists in build tree, and if so set CC to that
30070         gcc and to use B_OPTIONS and TARGET_INCLUDES.
30071
30072 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
30073
30074         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
30075         ptype test for anonymous union.  Fixup testcase to match
30076         current gcc debug output.
30077
30078 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
30079
30080         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
30081         force argument to an unsigned long type.
30082
30083 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
30084
30085         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
30086         tests and anonymous union print/ptype tests.
30087         * gdb.base/list.exp (test_forward-search): Increase timeout by
30088         5 minutes for the "search extremely long line" case.
30089         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
30090         completely optional and that the pass/fail messages use the command as
30091         the message if that third arg is a null string.
30092         (gdb_test_exact):  Arrange that a null string pattern means match a
30093         null string output rather than any output, which might include random
30094         errors.
30095         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
30096         backtrace test.
30097         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
30098         always failing and failure is now exposed by gdb.exp changes.
30099
30100 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
30101
30102         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
30103         weren't being noted.
30104
30105 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30106
30107         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
30108         * gdb.stabs/weird.exp:  Remove v_comb xfails.
30109
30110 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
30111
30112         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
30113                     list.exp scope.exp watchpoint.exp]
30114           Make all timeout error msgs explicitly say "(timeout)".
30115
30116 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
30117
30118         * config/monitor.exp: Increase download timeout to 1000 seconds.
30119
30120 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
30121
30122         * config/m32r.exp: Increase timeout to 120 seconds.
30123
30124 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
30125
30126         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
30127         and accept older ordering as obsolescent gcc or gdb.
30128         * gdb.c++/templates.exp: Ditto.
30129         * gdb.c++/virtfunc.exp: Ditto.
30130
30131 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
30132
30133         * gdb.base/coremaker.c: Add code to mmap some data so we
30134         can check that it ends up in the core file.
30135         * gdb.base/corefile.exp: Add test to read mmapped data
30136         from core file.
30137
30138 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
30139
30140         * config/m32r.exp: New file.
30141
30142 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
30143
30144         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
30145         that cflags can contains -gstabs, and work correctly for other tests.
30146
30147 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
30148
30149         * gdb.base/setshow.exp: New file, tests show and set.
30150         * gdb.base/setshow.c:   New file, tests show and set.
30151         * gdb.base/help.exp: Add test for help set|show annotate.
30152         * gdb.base/default.exp: Add test for set|show annotate.
30153
30154 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
30155
30156         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
30157         errors unique.
30158         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
30159         explicitly.
30160
30161 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
30162
30163         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
30164         and width commands.  This is done elsewhere.
30165         * (gdb_start):  Don't call gdb_start_sim here.  That's already
30166         done in gdb_load.  This fixes lots of failures in default.exp.
30167
30168 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
30169
30170         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
30171         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
30172         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
30173         in the same we we treat other failures (since it may be an expected
30174         condition), rather than as an error.
30175         * gdb.base/signals.exp (test_handle_all_print): Revert back to
30176         old test format.
30177
30178 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
30179
30180         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
30181         (distclean maintainer-clean realclean): No need to remove files
30182         twice.  Nuke the duplicates.
30183         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
30184         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
30185         Remove config.h along with other config files.
30186
30187 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
30188
30189         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
30190         "p func1 ()" and note that rests of tests are skipped.
30191         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
30192         setup_xfails for "print func2::coremaker_local".
30193         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
30194         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
30195         affected by the previous run test.
30196         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
30197         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
30198         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
30199         "pass int powerset tuple" and "pass modeless int powerset tuple".
30200         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
30201         "real write 4" and "real write 8".
30202         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
30203         setup_xfails for "print vs1 after tuple assign 2",
30204         "print \$i after tuple assign 2", and
30205         "print vs2 after tuple assign 2".
30206         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
30207         meaningful error message and return -1 so the caller can
30208         suppress further tests and avoid a cascade of errors.
30209
30210 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
30211
30212         * gdb.base/a1-selftest.exp: Tweak tests to account for new
30213         format for printing version.
30214         * gdb.base/default.exp: Ditto.
30215         * gdb.base/interrupt.exp: Fix problem with cascade of
30216         errors if child process dies while calling a function.
30217
30218 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
30219
30220         * Makefile.in (VPATH): Add
30221         * Makefile.in (Makefile, config.status): Fix rules so things get
30222         remade when necessary.
30223
30224 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
30225
30226         * Makefile.in (just-check): Add path to sibling expect dir
30227         to environment variable specified by RPATH_ENVVAR.
30228
30229 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
30230
30231         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
30232         (just-check): Add shared library paths for libstdc++, tk,
30233         tcl, bfd, and opcodes to the environment variable specified
30234         in RPATH_ENVVAR.
30235         * configure.in: Add support to recognize --enable-shared flag
30236         and generate correct value for RPATH_ENVVAR.
30237         * configure: Regenerated with autoconf.
30238
30239 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
30240
30241         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
30242         include all osf versions.
30243         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
30244         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
30245         when target is linux.  When failing to build pthreads test
30246         executable, give more meaningful message.
30247         * gdb.threads/pthreads.c: Hpux also uses old definition of second
30248         arg for pthread_create.
30249
30250 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
30251
30252         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
30253         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
30254         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
30255         and -lpthreads (everybody else).
30256         (test_startup): Fail gracefully if threads are not supported.
30257         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
30258         "p/c array_index("abcdef",2)" when not gcc compiled.
30259         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
30260         "print func2::coremaker_local" when not gcc compiled.
30261         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
30262         "ptype on opaque struct tagname (statically)",
30263         "ptype on opaque struct tagname (dynamically) 1", and
30264         "ptype on opaque struct tagname (dynamically) 2"
30265         for not compiled with gcc.
30266         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
30267         backtrace when compiled with gcc.
30268         * lib/gdb.exp (runto_main): Return result of "runto main" rather
30269         than always return success.
30270
30271 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
30272
30273         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
30274
30275 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
30276
30277         * gdb.base/structs.exp: Undo last change.
30278
30279 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
30280
30281         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
30282         encapsulate all the steps/nexts done during self test, starting
30283         at main, and makes them less sensitive to optimization issues.
30284         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
30285         signal handler" test.
30286         * gdb.threads/pthreads.exp: Only run this for native configs.
30287         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
30288         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
30289         tests.
30290         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
30291         for "runto test_calls(void)" test.
30292
30293 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
30294
30295         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
30296         and don't expect address info in breakpoint confirmations.
30297
30298 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
30299
30300         * gdb.base/list.exp (test_forward_search): Increase timeout
30301         temporarily by 60 seconds for searching extremely long line,
30302         and then reset to old value when done.  Increase expect input
30303         buffer to 10000.
30304
30305 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
30306
30307         * gdb.base/list.exp (test_forward_search): Fix to handle very
30308         long source line without overflowing expect's input buffer.
30309
30310 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
30311
30312         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
30313         "buffer_full".
30314
30315         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
30316         "buffer_full".
30317
30318         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
30319         "buffer_full".
30320
30321         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
30322         "buffer_full".
30323
30324 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
30325
30326         * configure.in (configdirs): Add gdb.threads.
30327         * configure: Regenerated with autoconf.
30328         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
30329         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
30330         * gdb.threads/configure: New, generated with autoconf.
30331
30332 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
30333
30334         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
30335
30336 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
30337
30338         * gdb.base/signals.exp (test_handle_all_print): Test separately for
30339         each signal's status in the output of "handle all print".
30340         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
30341         the \r\n sequence that immediately precedes the gdb prompt.
30342         * gdb.base/a1-selftest.exp: Save original timeout and restore
30343         after test.
30344
30345 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
30346
30347         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
30348         symbol.
30349
30350 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
30351
30352         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
30353
30354 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
30355
30356         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
30357         timeout by 60 seconds.
30358
30359 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
30360
30361         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
30362         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
30363         error return.
30364
30365 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
30366
30367         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
30368         gdb initialization, also report how long dejagnu waited.  Restore
30369         old timeout before doing error return.  Temporarily increase timeout
30370         by 3 minutes to allow for slow startups over heavy NFS use.
30371
30372 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
30373
30374         * lib/gdb.exp: Report timeout value for verbosity level 2.
30375         * config/gdbserver.exp: Ditto.
30376         * config/hppro.exp: Ditto.
30377         * config/mips-gdb.exp: Ditto.
30378         * config/monitor.exp: Ditto.
30379         * config/netware.exp: Ditto.
30380         * config/sim-gdb.exp: Ditto.
30381         * config/slite-gdb.exp: Ditto.
30382         * config/udi-gdb.exp: Ditto.
30383         * config/unix-gdb.exp: Ditto.
30384         * config/vx-gdb.exp: Ditto.
30385         * gdb.base/a1-selftest.exp: Ditto.
30386         * gdb.base/a2-run.exp: Ditto.
30387         * gdb.base/break.exp: Ditto.
30388         * gdb.base/corefile.exp: Ditto.
30389         * gdb.base/list.exp: Ditto.
30390         * gdb.base/recurse.exp: Ditto.
30391         * gdb.base/scope.exp: Ditto.
30392         * gdb.base/signals.exp: Ditto.
30393
30394 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
30395
30396         * gdb.threads/Makefile.in (docdir): Removed.
30397
30398 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
30399
30400         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
30401         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
30402         @srcdir@.
30403         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
30404         autoconf 2.5 or higher.
30405         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
30406
30407 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
30408
30409         * configure: Regenerated.
30410         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
30411         avoid name clashes with SunOS headers.
30412
30413 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
30414
30415         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
30416
30417 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
30418
30419         * gdb.base/callfuncs.exp: Finish last change -- make sure the
30420         prototype information ends up in the compiler info file.
30421
30422 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
30423
30424         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
30425         attempting to regenerate it.  Eliminate use of a temporary file
30426         and just generate the info file directly.  Source it immediately,
30427         for consistency of use.
30428         * gdb.base/corefile.exp: Ditto
30429         * gdb.base/exprs.exp: Ditto.
30430         * gdb.base/funcargs.exp: Ditto.
30431         * gdb.base/langs.exp: Ditto.
30432         * gdb.base/list.exp: Ditto.
30433         * gdb.base/mips_pro.exp: Ditto.
30434         * gdb.base/nodebug.exp: Ditto.
30435         * gdb.base/opaque.exp: Ditto.
30436         * gdb.base/ptype.exp: Ditto.
30437         * gdb.base/scope.exp: Ditto.
30438         * gdb.base/setvar.exp: Ditto.
30439         * gdb.base/signals.exp: Ditto.
30440         * gdb.base/whatis.exp: Ditto.
30441         * gdb.c++/templates.exp: Ditto.
30442         * gdb.c++/virtfunc.exp: Ditto.
30443         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
30444         whether or not to add -lstdc++ to the compile command line args.
30445
30446 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30447
30448         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
30449         it got fixed by the recent lookup_minimal_symbol_by_pc change.
30450         Increase timeout, a lot of single stepping might be needed if the
30451         target has no hardware watchpoints.
30452
30453 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
30454
30455         * gdb.base/break.exp: Ignore compiler warnings when compiling
30456         break.c.
30457         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
30458         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
30459         from remote-sim.
30460         * gdb.base/exprs.exp: Add h8300 xfails.
30461         * gdb.base/funcargs.exp: Likewise.
30462         * gdb.base/nodebug.exp: Likewise.
30463         * gdb.base/printcmds.exp: Likewise.
30464         * gdb.base/ptype.exp: Likewise.
30465         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
30466         h8300 xfails.
30467         * gdb.base/return.exp: Handle float/double precision problems
30468         on the h8300.
30469         * gdb.base/funcargs.c: Explicitly make last constant argument to
30470         call_after_alloca_subr an unsigned long type.
30471         * gdb.base/return.c: Include stdio.h.
30472
30473 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
30474
30475         * config/abug.exp: New file for the older Motorola Bug monitor
30476         that runs on the mvme13x series VME boards.
30477         * config/monitor.exp: Use the new config array for target settings
30478         if they exist.
30479
30480 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
30481
30482         * sim-gdb.exp: Make the SH simulator allocate less space when
30483         it is targeted.
30484
30485 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
30486
30487         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
30488         test.
30489
30490 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
30491
30492         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
30493         "rs6000-*-*" for "list function in include file" when gcc compiled.
30494         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
30495         for "p ctable1[120]".
30496         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
30497         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
30498         Remove setup_xfail for "rs6000-*-*" for
30499         "print 'scope0.c'::filelocal before run".
30500         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
30501         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
30502         since some compilers don't allow both options to be given
30503         on the same command line.  Create object file and move it.
30504
30505 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
30506
30507         * gdb.base/corefile.exp: Always regenerate the core file, since
30508         we always regenerate the coremaker program.  Detect special case
30509         where registers cannot be read from core file.
30510
30511 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
30512
30513         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
30514         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
30515         * gdb.c++/templates.exp: Only match on basename of file since
30516         some formats like xcoff don't encode directory information.
30517         * gdb.stabs/weird.exp: Use the right sed script for powerpc
30518         and rs6000 AIX xcoff targets.
30519         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
30520         * configure: Regenerate.
30521         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
30522         here, rather than in distclean.
30523
30524 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
30525
30526         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
30527         defined, and use it to compile the test case with -O2.  The
30528         native compilation still uses no optimization.
30529         * gdb.base/mips_pro.c: Remove inline assembly code since
30530         it is compiled PIC by default, which results in assembler
30531         warnings that make the testsuite think the compilation
30532         was unsuccessful.
30533
30534 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
30535
30536         * gdb.c++/misc.exp: Add note to message for
30537         "print s.a for foo struct" that this is a known gcc 2.7.2
30538         and earlier bug.
30539
30540 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
30541
30542         * gdb.base/break.exp: Fix pattern for matching "Delete all
30543         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
30544         setup_xfail for deleting all breakpoints test.  Fix various
30545         timeout messages to include "(timeout)".
30546         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
30547         for "p t_float_values2(3.14159,float_val2)".
30548         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
30549         for "continue to call2g" when gcc compiled.
30550         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
30551         "up to foo in langs.exp", "show language at foo in langs.exp",
30552         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
30553         and "show language at fsub in langs.exp".
30554         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
30555         "list line 1 in include file", "list message for lines past EOF",
30556         "list function in include file", "list list0.h:foo", and
30557         "list filename:function; nonexistant function".
30558         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
30559         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
30560         and "ptype t_char_array" to be for native cc only.
30561
30562 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
30563
30564         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
30565         setup_xfail for "print coremaker_bss", "print coremaker_ro",
30566         "print func2::coremaker_local", and "backtrace in corefile.exp".
30567
30568 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
30569
30570         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
30571         "bt in signals.exp".  This problem only appears when running
30572         the testsuite, and then only intermittently.
30573
30574 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
30575
30576         * gdb.base/return.exp (return_tests): Differentiate between
30577         two tests of continuing.
30578
30579 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
30580
30581         * */Makefile.in (maintainer-clean): Remove config.log.
30582         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
30583         * gdb.c++/Makefile.in (PROGS): Add inherit.
30584         (clean): Remove *.ci.
30585
30586 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
30587
30588         * gdb.c++/misc.cc: Add test code from Mike Stump.
30589         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
30590
30591 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
30592
30593         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
30594         to "alpha-*-osf2*" and add comment.
30595         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
30596         setup_xfail for "step over execarg initialization" and
30597         "step over corearg initialization".
30598         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
30599         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
30600         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
30601         gcc compiled for "print coremaker_bss", "print coremaker_ro",
30602         "print func2::coremaker_local", and "backtrace in corefile.exp".
30603         * gdb.base/signals.exp: Build and source signals.ci.
30604         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
30605         to be for gcc only.
30606         * lib/gdb.exp: Move verbose statements outside conditionals.
30607
30608 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30609
30610         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
30611         Feb 3 procfs.c change.
30612
30613 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
30614
30615         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
30616
30617 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
30618
30619         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
30620         from dejagnu's apparent default of 10 seconds, which gives random
30621         results when running the tests over NFS on moderately loaded systems.
30622         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
30623
30624 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
30625
30626         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
30627         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
30628         result reports.
30629
30630 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
30631
30632         * configure.in (CY_AC_PATH_TCLH): Remove.
30633         * configure: Regenerate.
30634
30635 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
30636
30637         * gdb.c++/Makefile.in (clean): Add missing '{'.
30638
30639 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
30640
30641         * lib/gdb.exp: Provide a default value for noinferior.
30642
30643         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
30644         Load libgloss.exp.
30645
30646 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
30647
30648         * gdb.disasm/hppa.exp: Compile directly into an executable, use
30649         the executable, not the .o to run the tests from.
30650
30651 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
30652
30653         * gdb.base/break.exp: Don't test for program exit or exit status
30654         if $noresults if nonzero.
30655         * gdb.base/langs.exp: Likewise.
30656         * gdb.base/watchpoint.exp: Likewise.
30657
30658         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
30659         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
30660         trying to compile the testcase.
30661
30662 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
30663
30664         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
30665         * gdb.base/signals.exp (continue to handler): Likewise.
30666
30667 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
30668
30669         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
30670
30671         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
30672
30673 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
30674
30675         * gdb.base/corefile.exp: Recognize "not found" as failure
30676         when trying to determine if a core file was generated.
30677         If no core file was generate the first time, try again without
30678         the ulimit -c to work around braindamaged shells.
30679
30680 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
30681
30682         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
30683         [] tests with "test" and enclose string in quotes.
30684         * gdb.stabs/configure: Rebuild
30685
30686 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
30687
30688         Changes in sync with expect:
30689         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
30690         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
30691         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
30692         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
30693         argument to AC_REQUIRE.
30694         * configure: Regenerated.
30695
30696 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
30697
30698         * gdb.base/corefile.exp: When generating a core, discard any
30699         error messages about ulimit not found and the "core dumped"
30700         message from the shell that runs the coredumper.
30701
30702 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
30703
30704         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
30705
30706         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
30707         which sed script to run.  Expect failure for v_comb test
30708         on PA targets too.
30709
30710 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
30711
30712         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
30713         "print func2::coremaker_local" and for "backtrace in corefile.exp"
30714
30715 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
30716
30717         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
30718         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
30719         "sparc-sun-solaris*" xfails for "p v_comb".
30720         * lib/gdb.exp (default_gdb_start): Fix typo.
30721         * gdb.base/corefile.exp: Allow "Core was generated by ..."
30722         messages to not include the full program name that caused
30723         the core dump since some systems (such as solaris) apparently
30724         truncate this path to about 80 characters.
30725         When generating a core file first try increasing the core file
30726         size limit to unlimited since some systems may default it to
30727         zero, and it is harmless to try it.  Move the test for failing
30728         to generate a core file to where it will actually get executed.
30729         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
30730         new gdb result from g++ debug info improvements and make old
30731         pattern obsolescent.  Also account for size_t differences
30732         (may be int or long).
30733         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
30734         initialization before function call is placed in the delay slot
30735         and thus appears to be skipped over by commands such as "next".
30736
30737 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
30738
30739         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
30740
30741 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
30742
30743         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
30744         input source file; fix code to compile test to deal with this
30745         convention.
30746         * gdb.c++/*.exp: Likewise.
30747
30748 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
30749
30750         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
30751         "bt in signals.exp".
30752
30753 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
30754
30755         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
30756         "step over execarg initialization" and
30757         "step over corearg initialization".
30758
30759 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
30760
30761         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
30762         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
30763
30764 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
30765
30766         From Rob Savoye  (rob@poseidon.cygnus.com)
30767         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
30768         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
30769         configure.in}, gdb.disasm/{Makefile.in, configure.in},
30770         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
30771         configure.in}: Major reworking for autoconfig.
30772         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
30773         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
30774         New files.
30775         * config/unix-gdb.exp:  Make GDB global.
30776         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
30777         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
30778         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
30779         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
30780         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
30781         term.exp, twice.exp, watchpoint.exp, whatis.exp},
30782         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
30783         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
30784         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
30785         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
30786         pr-8136.exp, result.exp, string.exp, tuples.exp},
30787         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
30788         to returns as necessary, arrange for test to compile own testcase
30789         executable.
30790         * lib/gdb.exp: Changes for testsuite to compile own test cases.
30791
30792 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
30793
30794         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
30795         clear_xfail at end of test which might not call either pass or fail.
30796         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
30797         "backtrace through signal handler".
30798
30799 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30800
30801         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
30802         continuing from a job control stop signal.
30803         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
30804
30805 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
30806
30807         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
30808         * gdb.base/corefile.exp: Likewise.
30809         * gdb.base/funcargs.exp: Likewise.
30810
30811 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
30812
30813         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
30814         * config/monitor.exp:  Add support for setting baud rate.
30815
30816 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
30817
30818         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
30819         i*86-*-linux* xfails for "backtrace through signal handler".
30820         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
30821         "print func2::coremaker_local".
30822         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
30823         alpha-dec-osf2* xfail for
30824         "delete all breakpoints when none".
30825
30826 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
30827
30828         * gdb.base/break.exp: Change test that deletes all breakpoints
30829         when no user breakpoints are installed.  A post 4.15 change
30830         causes gdb to no longer prompt in this case.
30831
30832 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
30833
30834         * gdb.base/return.exp (return_tests):  Change xfail for test
30835         "correct value returned double test" to stop xfailing at
30836         Solaris 2.5.  Apparently the bug has been fixed.
30837
30838 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
30839
30840         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
30841         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
30842
30843 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
30844
30845         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
30846         * gdb.disasm/hppa.s: Corresponding changes.
30847
30848 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
30849
30850         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
30851         makefile fragment.
30852         * config/mt-hpux: Deleted.
30853
30854 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
30855
30856         * Many files: When warning about suppressed tests due to a
30857         nonexistant test binary, avoid incrementing the warning count.
30858
30859 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
30860
30861         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
30862
30863 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30864
30865         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
30866         "sparc-*-solaris2*".
30867
30868 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30869
30870         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
30871         Add global and local variables and initialize them.
30872         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
30873         by printing variables. Remove rs6000 and powerpc xfails, BFD now
30874         extracts the file name and terminating signal from the core file.
30875         * TODO:  Remove note about tests for correct mapping of corefile.
30876         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
30877         from optimizing it away.
30878         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
30879         handles common blocks.
30880
30881 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
30882
30883         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
30884         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
30885
30886 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
30887
30888         * Makefile.in (maintainer-clean): New target, synonym for
30889         realclean.
30890         * gdb.base/Makefile.in (maintainer-clean): Likewise.
30891         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
30892         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
30893         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
30894         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
30895         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
30896
30897 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
30898
30899         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
30900         xfails when not gcc compiled for "print foo::funclocal".
30901         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
30902         "print foo::funclocal at foo",
30903         "print 'scope1.c'::foo::funclocal at foo",
30904         "print foo::funclocal_bss at foo",
30905         "print 'scope1.c'::foo::funclocal_bss at foo",
30906         "print foo::funclocal_ro at foo",
30907         "print 'scope1.c'::foo::funclocal_ro at foo",
30908         "print bar::funclocal at foo" and
30909         "print 'scope1.c'::bar::funclocal at foo".
30910         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
30911         gcc compiled for "print foo::funclocal at bar".
30912         Expand all messages to ensure that they identify that
30913         the test is at bar().
30914         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
30915         gcc compiled for:
30916         "ptype on opaque struct pointer (statically)",
30917         "ptype on opaque struct tagname (statically)",
30918         "ptype on opaque struct pointer (dynamically) 1",
30919         "ptype on opaque struct tagname (dynamically) 1",
30920         "ptype on opaque struct pointer (dynamically) 2" and
30921         "ptype on opaque struct tagname (dynamically) 2
30922         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
30923         gcc compiled for:
30924         "p datalocal"
30925         "whatis datalocal",
30926         "ptype datalocal",
30927         "p bsslocal",
30928         "whatis bsslocal", and
30929         "ptype bsslocal".
30930         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
30931         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
30932         when not gcc compiled.
30933         * gdb.base/funcargs.exp (float_and_integral_args):  Add
30934         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
30935         compiled.
30936         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
30937         "backtrace from call6a" when not gcc compiled.
30938         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
30939         "backtrace from call7a" when not gcc compiled.
30940         * gdb.base/callfuncs.exp (do_function_calls):
30941         Add "hppa*-*-hpux*" xfail when not gcc compiled for
30942         "p t_char_array_values(char_array_val2,char_array_val1)",
30943         "p t_char_array_values(char_array_val1,char_array_val2)",
30944         "p t_char_array_values("carray 1","carray 2")",
30945         "p t_char_array_values("carray 1",char_array_val2)",
30946         "p t_char_array_values(char_array_val1,"carray 2")",
30947         "p sum_args(1,{2})",
30948         "p sum_args(2,{2,3})",
30949         "p sum_args(3,{2,3,4})",
30950         "p sum_args(4,{2,3,4,5})"
30951         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
30952         "backtrace in corefile.exp" when not gcc compiled.
30953
30954 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30955
30956         * gdb.base/signals.exp:  Rewrite `handle all print' test as
30957         a procedure. Accept blanks or TABs as whitespace, increase
30958         timeout and expect input buffer size for the large output
30959         from the command. Remove "i*86-*-bsdi2.0" xfail.
30960
30961 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30962
30963         * gdb.base/setvar.exp:  Add new testcases for truncation when
30964         assigning invalid values to bitfields.
30965
30966 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
30967
30968         * gdb.base/callfuncs.exp (do_function_calls):  Remove
30969         mips-sgi-irix* xfail for
30970         "call inferior func with struct - returns char *"
30971         and fix test so that an optional (unsigned char *) cast is
30972         accepted in the result.
30973
30974 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
30975
30976         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
30977         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
30978         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
30979         * gdb.base/signals.exp: Remove duplicate "handle all print" test
30980         that accidentally got checked in.
30981
30982 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
30983
30984         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
30985         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
30986         compiled test.
30987         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
30988         Add mips-sgi-irix5* xfail for not gcc compiled.
30989         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
30990         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
30991         compiled for "p top", "whatis top", "p middle", and "whatis
30992         middle".
30993         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
30994         "whatis signed char" for not gcc compiled.
30995         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
30996         "set variable signed char=-1 (-1)" and
30997         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
30998         * gdb.base/funcargs.exp (float_and_integral_args):
30999         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
31000         Add mips-sgi-irix* xfail when not gcc compiled for
31001         "continue to call2b".
31002         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
31003         "continue to call2g".
31004         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
31005         compiled for "backtrace from call6a"
31006         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
31007         compiled for "backtrace from call7k".  Add mips-sgi-irix5* xfail
31008         when not gcc compiled for "backtrace from call7a".
31009         (localvars_after_alloca):  Fix gdb_test cmds for
31010         "print * after runto ...".
31011         Remove rs6000-*-* xfails for
31012         "print i after runto localvars_after_alloca" and
31013         "print l after runto localvars_after_alloca"
31014         for all compilers.
31015         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
31016         when not compiled with gcc, for:
31017         "print signed char == (minus)",
31018         "print signed char != (minus)",
31019         "print signed char < (minus)",
31020         "print signed char > (minus)".
31021         * gdb.base/callfuncs.exp (do_function_calls):
31022         Add mips-sgi-irix* xfail, when compiled with native compiler, for
31023         "call inferior func with struct - returns char *".
31024         * gdb.base/return.exp (return_tests): Change xfail for
31025         "correct value returned double test" to include Solaris 2.4.
31026         * gdb.base/funcargs.exp (float_and_integral_args):
31027         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
31028
31029 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31030
31031         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
31032         enumeration bitfields if compiling with GNU C.
31033         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
31034         to empty' prompt.
31035
31036 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
31037
31038         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
31039         test for PRO targets.
31040
31041         * gdb.base/funcargs.exp: Avoid ever setting more than 8
31042         breakpoints in the inferior at any given time by making
31043         two groups of breakpoints for call2*, call6* and call7*
31044         tests.
31045
31046 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31047
31048         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
31049         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
31050         from optimizing it away.
31051         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
31052         "call inferior func with struct".
31053
31054 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
31055
31056         * configure.in: Only configure gdb.chill for particular targets.
31057
31058 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
31059
31060         * gdb.base/Makefile.in:  Add action to .c.o transformation
31061         rule that generates a .ci file for each .o file and remove
31062         explicit .c.o rules except for callfuncs.o.
31063         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
31064         generates a .ci file for each .o file and remove explicit
31065         .cc.o rules.
31066         (clean): Remove *.tmp *.ci files.
31067         (EXECUTABLES): Remove templ-info.exp.
31068         * gdb.base/compiler.c: New file.
31069         * gdb.c++/compiler.cc: New file
31070         * gdb.base/scope.exp: Source gdb.base/scope.ci.
31071         Change rs6000-*-* xfail for
31072         "print 'scope0.c'::filelocal_ro" and
31073         "print 'scope1.c'::filelocal" and
31074         "print 'scope1.c'::filelocal_bss" and
31075         "print 'scope1.c'::filelocal_ro" and
31076         "print 'scope1.c'::foo::funclocal" and
31077         "print 'scope1.c'::foo::funclocal_ro" and
31078         "print 'scope1.c'::bar::funclocal" and
31079         "print 'scope0.c'::filelocal_ro" and
31080         "print 'scope1.c'::filelocal at foo" and
31081         "print 'scope1.c'::filelocal_bss at foo" and
31082         "print 'scope1.c'::filelocal_ro at foo" and
31083         "print 'scope1.c'::foo::funclocal at foo" and
31084         "print 'scope1.c'::foo::funclocal_bss at foo" and
31085         "print 'scope1.c'::foo::funclocal_ro at foo" and
31086         "print 'scope1.c'::bar::funclocal at foo" and
31087         "print 'scope0.c'::filelocal_ro" and
31088         "print 'scope1.c'::filelocal" and
31089         "print 'scope1.c'::filelocal_bss" and
31090         "print 'scope1.c'::filelocal_ro" and
31091         "print 'scope1.c'::foo::funclocal" and
31092         "print 'scope1.c'::foo::funclocal_bss" and
31093         "print 'scope1.c'::foo::funclocal_ro" and
31094         "print 'scope1.c'::bar::funclocal" and
31095         "print 'scope1.c'::bar::funclocal_bss"
31096         to only be xfail'd when not compiled with gcc.
31097         Add rs6000-*-* xfail for
31098         "print 'scope0.c'::filelocal_bss before run"
31099         when compiled with gcc.
31100         (test_at_main): Add rs6000-*-* xfail for
31101         "print filelocal_ro in test_at_main"
31102         when compiled with gcc.
31103         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
31104         Add rs6000-*-aix* xfail for
31105         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
31106         "ptype t_char_array",  not compiled with gcc.
31107         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
31108         xfail for "list foo (in include file)" when gcc compiled.
31109         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
31110         (integral_args): Add rs6000-*-* xfail for
31111         "run to call0a" if not compiled with gcc.
31112         (unsigned_integral_args): Add rs6000-*-* xfail for
31113         "run to call1a" if not compiled with gcc.
31114         (float_and_integral_args):  Add rs6000-*-* xfail for
31115         "run to call2a" if not compiled with gcc and for
31116         "continue to call2b" for any compiler.
31117         Add rs6000-*-* xfail to
31118         "print f1 after run to call2a" for gcc compiled.
31119         (discard_and_shuffle): Add rs6000-*-* xfail for
31120         "run to call6a".
31121         (shuffle_round_robin): Add rs6000-*-* xfail for
31122         "backtrace from call7a" if not compiled with gcc.
31123         Add rs6000-*-* xfail for
31124         "backtrace from call7b" if compiled with gcc.
31125         (call_after_alloca): Add rs6000-*-* xfail for
31126         "print c in call_after_alloca" and
31127         "print s in call_after_alloca" and
31128         "backtrace from call_after_alloca_subr"
31129         if not compiled with gcc.
31130         (localvars_in_indirect_call): Add rs6000-*-* xfail for
31131         "print c in localvars_in_indirect_call" and
31132         "print c in localvars_in_indirect_call" and
31133         "backtrace in indirectly called function" and
31134         "stepping into indirectly called function"
31135         if not compiled with gcc.
31136         (localvars_after_alloca): Add rs6000-*-* xfail for
31137         "print c after runto localvars_after_alloca" and
31138         "print s after runto localvars_after_alloca" and
31139         "print i after runto localvars_after_alloca" and
31140         "print l after runto localvars_after_alloca"
31141         for all compilers.
31142         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
31143         than whatis-info.exp.
31144         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
31145         than opaque-info.exp.
31146         Setup rs6000-*-* xfail for
31147         "ptype on opaque struct pointer (statically)" and
31148         "ptype on opaque struct pointer (dynamically)" when
31149         not compiled with gcc.
31150         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
31151         rather than callf-info.exp.
31152         (do_function_calls):  Add clear_xfail for rs6000-*-* for
31153         "p t_float_values2(3.14159,float_val2)".  Seems to work
31154         fine there, both with xlc and gcc.  Need to find out what
31155         it is doing right and fix other platforms.
31156         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
31157         "call inferior func with struct - returns int",
31158         "call inferior func with struct - returns long",
31159         "call inferior func with struct - returns float",
31160         "call inferior func with struct - returns double",
31161         "call inferior func with struct - returns char *",
31162         but only if not gcc compiled (presumes xlc compiled).
31163         Change rs6000-*-* xfails for
31164         "call inferior func with struct - returns char" and
31165         " call inferior func with struct -  returns short" to only
31166         xfail if not using gcc.
31167         (clean mostlyclean):  Remove *.ci and *.tmp files.
31168         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
31169         than templ-info.exp.
31170         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
31171         Add rs6000-*-* xfail for "up to foo in langs.exp"
31172         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
31173         when not gcc compiled.
31174
31175 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
31176
31177         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
31178         * gdb.base/corefile.exp: Likewise.
31179         * gdb.base/list.exp: Likewise.
31180         * gdb.base/scope.exp: Likewise.
31181         * gdb.base/siganls.exp: Likewise.
31182
31183         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
31184         compiler output.
31185         * gdb.base/whatis.exp: Likewise.
31186
31187 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
31188
31189         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
31190         failure (opcode table has been fixed to match reality).
31191
31192 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
31193
31194         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
31195         "call inferior func with struct - returns char",
31196         "call inferior func with struct - returns short"
31197
31198         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
31199         "print 'scope0.c'::filelocal at main",
31200         "print 'scope0.c'::filelocal_bss in test_at_main",
31201         "print 'scope0.c'::filelocal at foo",
31202         "print 'scope0.c'::filelocal_bss in test_at_foo",
31203         "print 'scope0.c'::filelocal at bar",
31204         "print 'scope0.c'::filelocal_bss in test_at_bar"
31205
31206         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
31207         in source file 1".  This bug seems to have been fixed with both
31208         gcc and native cc (was native assembler bug?).
31209
31210 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
31211
31212         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
31213         "backtrace through signal handler" to "i*86-*-sysv4*".
31214         * gdb.base/signals.exp: Add xfail for "'next' behaved as
31215         continue" case.  Add "known SVR4 bug" to fail message.
31216         Add "i*86-*-bsdi2.0" xfail for "handle all print".
31217         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
31218         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
31219         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
31220         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
31221         "up to foo in langs.exp", "show language at foo in
31222         langs.exp", "up to cppsub_ in langs.exp", "show
31223         language at cppsub_ in langs.exp", "up to fsub in
31224         langs.exp", and "show language at fsub in langs.exp".
31225         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
31226         "bactrace in corefile.exp".
31227         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
31228         "call inferior function with struct - returns float" and
31229         "call inferior function with struct - returns double".
31230
31231 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
31232
31233         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
31234         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
31235         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
31236         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
31237
31238 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
31239
31240         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
31241         (or overriden) "CHILL" macro rather then bare "gcc".
31242         Also look for ../../gcc/xgcc since that is what we will
31243         actually need, not "Makefile".  Remove following assignment
31244         of CHILL to CHILL_FOR_TARGET because that results in
31245         recursive definition.
31246
31247 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
31248
31249         * gdb.base/corefile.exp:  Change xfail for backtrace in
31250         corefile.exp from linuxaout to all linux.
31251         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
31252         cases where we miss the breakpoint at the signal handler
31253         for some reason.  Setup xfail for linuxoldld/linuxaout and
31254         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
31255         hitting SIGURG breakpoint.
31256         * gdb.base/signals.exp:  Setup xfail for "next" acting like
31257         continue to add linuxoldld.  Setup xfail for all linux for
31258         "next to handler in signals_tests_1", "backtrace in
31259         signals_tests_1", "continue to func1", "pass SIGUSR1",
31260         and continue to handler".
31261
31262 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
31263
31264         * Update all FSF addresses except those in COPYING* files.
31265
31266 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
31267
31268         * gdb.base/a2-run.exp: Change messages to be more explicit about
31269         the status of args, and quote binfile in results.
31270
31271 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
31272
31273         * gdb.base/callfuncs.exp: Add tests for passing structs to
31274         inferior functions and return various types.
31275         * gdb.base/callfuncs.c: Add functions to receive a struct
31276         and return a member of the struct, in various types.
31277
31278 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31279
31280         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
31281
31282 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
31283
31284         * config/vxworks29k.exp: New file, sources vxworks.exp.
31285
31286 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
31287
31288         * config/gdbremote.exp: New file.  Testing framework using
31289         gdbserver.
31290
31291 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
31292
31293         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
31294         "call function when asleep" and "send end of file".
31295         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
31296         for "backtrace in corefile.exp".
31297         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
31298         for "backtrace through signal handler".
31299         * gdb.base/corefile.exp: Make sure we actually generate a core file
31300         before trying the core tests.  Some systems allow the user to suppress
31301         generation of core files and default to that (linux for example).
31302         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
31303         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
31304
31305 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
31306
31307         * gdb.threads: New directory with some crude multi-threaded
31308         gdb tests (step.exp and step2.exp).
31309         * config/mt-lynx (STEP_EXECUTABLE): Define.
31310         (THREADFLAGS): Define.
31311
31312 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
31313
31314         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
31315
31316         * gdb.base/signals.exp: Disable whole file for lynx until
31317         further notice.
31318
31319         * gdb.base/signals.exp: xfail test where "next" acts like
31320         "continue" for lynx.
31321
31322         * gdb.base/interrupt.exp: xfail test for calling function while
31323         inferior is asleep for lynx.
31324
31325         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
31326         than one cr-lf  after each command.
31327
31328 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31329
31330         * configure.in:  Reinstate setting of stabsdirs variable, fix
31331         typo in setting up configdirs for native builds.
31332
31333         * gdb.base/return.exp:  Fix typo in return double test.
31334         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
31335         compiler from optimizing them away.
31336
31337 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
31338
31339         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
31340         sequences to be echo'd by gdb when using gdb_test.
31341         * gdb.chill/chexp.exp: Likewise.
31342         * gdb.fortran/exprs.exp: Likewise
31343
31344 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
31345
31346         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
31347         after the inferior gdb has started.
31348
31349         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
31350         after each command.
31351         * gdb.base/funcargs.exp: Likewise.
31352         * gdb.base/gdbvars.exp: Likewise.
31353         * gdb.base/interrupt.exp: Likewise.
31354         * gdb.base/list.exp: Likewise.
31355         * gdb.base/watchpoint.exp: Likewise.
31356         * gdb.c++/demangle.exp: Likewise.
31357         * gdb.c++/inherit.exp: Likewise.
31358         * gdb.chill/chexp.exp: Likewise.
31359         * gdb.fortran/exprs.exp: Likewise.
31360
31361         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
31362         test if we can't handle IO to/from the inferior.
31363
31364         * gdb.c++/misc.exp: Always check for a program already being
31365         started after sending a "run" command to gdb.
31366
31367         * gdb.base/twice.exp: Start with a fresh gdb.
31368
31369         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
31370         only depend on gdb's expression code, not the chill runtime.
31371
31372         * gdb.base/return.c: Put return values into variables so we
31373         can have gdb print them rather than depending on the program
31374         to print them.
31375         * gdb.base/return.exp: Corresponding changes.
31376
31377         * lib/gdb.exp: Provide default value for noinferiorio.
31378         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
31379         the inferior.
31380
31381         * gdb.base/break.exp: Always check for a program already being
31382         started after sending a "run" command to gdb.
31383         (text_next_with_recursion): Don't check the output from the
31384         program's printf statement.  Instead just make sure the program
31385         exited.
31386
31387         * gdb.base/commands.exp: Protect tests which need arguments with
31388         $noargs conditionals.
31389
31390 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31391
31392         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
31393         of structure member arrays to match gdb/valops.c:value_addr change.
31394
31395 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
31396
31397         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
31398         cases.
31399
31400 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
31401
31402         * configure.in (configdirs):  Remove gdb.chill from default list
31403         of subdirs and then add it back in only if doing a native build.
31404         The current chill compiler does not yet work in any cross build.
31405         * Revert all signal changes from Jul 6.
31406         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
31407         for sh-hms targets, allowing these tests to link, with no other
31408         changes.  Testing is suppressed by setting "nosignals" in site.exp.
31409
31410 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
31411
31412         * configure.in (signaldirs): Define and add to configdirs for all
31413         targets except some specific ones that are known to not support signals.
31414         Also clean up formatting.
31415         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
31416         (signals, sigall):  Remove rules to build.
31417         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
31418         Moved to new gdb.signals directory.
31419         * gdb.signals: New test directory.
31420         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
31421         signals.c signals.exp}:  New or moved files.
31422
31423 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
31424
31425         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
31426
31427 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
31428
31429         * gdb.base/return.exp:  Xfail `return double' test failure
31430         on at least Solaris 2.3 and handle future/past versions on
31431         a case by case basis as appropriate.  Also update message
31432         to include i*86 failures.
31433
31434 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31435
31436         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
31437
31438         * lib/gdb.exp: Fix comment which erroneously identified
31439         gdb_file_cmd as gdb_load (the 19 May change was in fact to
31440         gdb_file_cmd not gdb_load).
31441         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
31442
31443         * gdb.base/setvar.exp: Make test names consistent between pass and
31444         fail cases.  Use gdb_test more.
31445
31446 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31447
31448         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
31449
31450 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31451
31452         * gdb.base/help.exp:  Fix expected help string for `show commands'.
31453
31454 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
31455
31456         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
31457
31458         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
31459         of a text section.
31460
31461 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
31462
31463         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
31464         that loop eventually terminates.  Fix Connection refused logic so
31465         that testsuite will expire nicely.
31466
31467 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
31468
31469         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
31470         config/rom68k.exp:  New tcl glue for the appropriate monitors.
31471         These all just end up calling monitor.exp.
31472         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
31473         refused' by retrying.  Cleanup some timeout issues.
31474         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
31475         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
31476         callers don't have to set/restore global timeout variable.
31477
31478         * The following set of changes centralizes management of the global
31479         timeout variable.  This way, it can be set in one target dependent
31480         place instead of dozens of places scattered throughout the test suite.
31481         If you need to lengthen a timeout, then you should either set timeout
31482         in one of the config/{target}.exp files, or multiply it by a factor.
31483         Setting it to an absolute value is always going to lose for some
31484         targets.
31485         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
31486         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
31487         * gdb.base/funcargs.exp:  Don't set timeout.
31488         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
31489         * gdb.base/printcmds.exp (test_print_string_constants
31490         test_print_array_constants):  Don't set timeout.
31491         * gdb.base/ptype.exp:  Don't set timeout.
31492         * gdb.base/recurse.exp:  Don't set timeout.
31493         * gdb.base/return.exp:  Don't set timeout.
31494         * gdb.base/watchpoint.exp:  Don't set timeout.
31495         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
31496         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
31497
31498 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
31499
31500         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
31501
31502 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31503
31504         * lib/gdb.exp: Disable chill tests for irix5.
31505
31506 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31507
31508         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
31509         each test pass or fail.
31510
31511 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31512
31513         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
31514         xlc not gcc.
31515
31516 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
31517
31518         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
31519
31520 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
31521
31522         * config/est.exp:  Fix copyright and comments.  Remove dead code.
31523         Use targetname, serialport and baud variables instead of fixed
31524         constants.
31525         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
31526         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
31527
31528 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31529
31530         * gdb.base/watchpoint.exp: Don't run
31531         test_watchpoint_triggered_in_syscall for sunos.
31532
31533 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31534
31535         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
31536         they don't seem to exist.  Do include stdio.h.
31537
31538 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31539
31540         * gdb.base/a1-selftest.exp: Add alpha xfail.
31541
31542 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31543
31544         * gdb.base/watchpoint.c (main): Prompt before calling read().
31545         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
31546         Revise accordingly.  Remove cruft about sending "123" several
31547         times, until it gets noticed.  Clean up the "print buf[0]" stuff
31548         so that it passes or fails, and waits for prompts in the usual way.
31549
31550 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31551
31552         * gdb.base/recurse.exp: Fix comment.
31553
31554         * TODO: Remove item about printing variables in nodebug.exp.  Add
31555         item about enabling tests which are only run on some targets.
31556
31557         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
31558         fail, make test names unique, use new gdb_test convention
31559         regarding pattern, use gdb_test more, etc.).
31560
31561         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
31562         fail, make test names unique, etc.).
31563
31564 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31565
31566         * gdb.base/nodebug.c:  Change return type of top and middle to
31567         short.
31568         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
31569         are fixed by the recent mdebugread.c changes. Allow `short ()'
31570         as type for top and middle.
31571
31572 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31573
31574         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
31575         nearly as I can tell, the whole thing was an accident in Stu's
31576         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
31577         to replace a send/expect pair with gdb_test, but ended up only
31578         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
31579         of 30 Mar 1995 took care of it, but left this vestigial comment
31580         which I am now nuking.
31581
31582 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31583
31584         * gdb.base/break.exp: Look for different line number for
31585         breakpoint at main depending on usestubs.
31586
31587 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31588
31589         * gdb.base/list.exp:  Adjust some alternate expect patterns to
31590         match recent list0.c change. Add alternate expect pattern for
31591         output from `list default lines around main' for optimizing
31592         compilers.
31593
31594 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31595
31596         * lib/gdb.exp: If nosignals is not set, set it to 0.
31597
31598 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
31599
31600         * config/slite-gdb.exp: Responds to load symbol table prompt.
31601         * gdb.base/break.exp: Adjust line number, fix rerun.
31602         * gdb.base/langs0.c: Add #ifdef usestubs.
31603
31604 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
31605
31606         * gdb.base/list.exp: Adjust line contents after adding new lines in
31607         list0.c. Also fix a syntax error.
31608
31609         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
31610         * gdb.base/break.exp: ditto.
31611         * gdb.base/list.exp: ditto.
31612         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
31613         * gdb.base/run.c: ditto.
31614         * gdb.base/list0.c: ditto.
31615         * gdb.base/funcargs.c: ditto.
31616
31617 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
31618
31619         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
31620         $targetname, $serialport and $baud instead of hardwired variables.
31621         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
31622         target doesn't support signals.
31623
31624 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
31625
31626         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
31627
31628 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31629
31630         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
31631         Don't rely on the value of an auto variable before it has been
31632         initialized.  Use gdb_test more.
31633
31634 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31635
31636         * lib/gdb.exp (default_gdb_version): A version number must start
31637         with a digit, but other than that contains all characters up to
31638         the first whitespace character.
31639
31640 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31641
31642         * gdb.base/commands.exp (breakpoint_command_test): New tests.
31643
31644 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31645
31646         * gdb.c++/*.exp: Warn if executable does not exist.  The original
31647         reason for skipping the warning was that configure.in sometimes
31648         intentionally skipped building the executables but the tcl code
31649         had no way of knowing.  That (a) was always bogus with respect to
31650         error handling, (b) is no longer true (right now there is no way
31651         to skip C++ tests).
31652
31653         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
31654
31655 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31656
31657         * gdb.base/list.exp:  Add expect patterns for output from
31658         SunPRO compiled executables.
31659         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
31660         types.
31661
31662 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31663
31664         * gdb.base/break.exp (test_next_with_recursion): Accept any line
31665         number (we are already testing that the correct source line text
31666         gets printed).
31667
31668         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
31669         that is what is intended, but something needed to be done to get
31670         sunos4 native working again.
31671
31672         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
31673
31674         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
31675         apparently went with a (very) old xfail.
31676
31677 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
31678
31679         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
31680         runto_main is a proc in gdb.exp that will do 'step' for target use
31681         stubs.
31682         * gdb.base/exprs.exp: ditto.
31683         * gdb.base/interrupt.exp: ditto.
31684         * gdb.base/opaque.exp: ditto.
31685         * gdb.base/printcmds.exp: ditto.
31686         * gdb.base/ptype.exp: ditto.
31687         * gdb.base/scope.exp: ditto.
31688         * gdb.base/setvar.exp: ditto.
31689         * gdb.base/signals.exp: ditto.
31690         * gdb.base/twice.exp: ditto.
31691         * gdb.c++/classes.exp: ditto.
31692         * gdb.c++/inherit.exp: ditto.
31693         * gdb.c++/templates.exp: ditto.
31694         * gdb.base/break.exp: no run and hit main for stubs. Change line
31695         numbers for breakpoints and info breakpoint.
31696         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
31697         breakpoint().
31698         * gdb.base/callfuncs.c: ditto.
31699         * gdb.base/exprs: ditto.
31700         * gdb.base/interrupt.c: ditto.
31701         * gdb.base/opaque0.c: ditto.
31702         * gdb.base/printcmds.c: ditto.
31703         * gdb.base/ptype.c: ditto.
31704         * gdb.base/scope0.c: ditto.
31705         * gdb.base/setvar.c: ditto.
31706         * gdb.base/signals.c: ditto.
31707         * gdb.base/twice.c: ditto.
31708         * gdb.c++/misc.cc: ditto.
31709         * gdb.c++/templates.cc: ditto.
31710
31711 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31712
31713         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
31714
31715         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
31716         somewhere between `read' and `main.c'.  I'm pretty sure the
31717         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
31718         and it isn't particularly useful.
31719
31720         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
31721
31722 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31723
31724         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
31725
31726 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
31727
31728         * config/mt-slite: add LIBS and -nostdlib.
31729         * config/slite-gdb.exp: add this new file to support sparclite target.
31730
31731 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
31732
31733         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
31734
31735         * gdb.base/a2-run.exp: Change argument to istarget from
31736         "*-*-vxworks" to "*-*-vxworks*".
31737         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
31738
31739 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
31740
31741         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
31742         will not runto main but do a 'step' to step out of breakpoint().
31743         * config/mt-slite: add -Dusestubs.
31744
31745 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31746
31747         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
31748         instead of just @.
31749
31750         * gdb.base/signals.exp: Add test for "handle all print".
31751         * TODO: Remove "handle all print".  Also remove item about
31752         checking copyright date (I don't like the idea of a spurious FAIL
31753         based on when we run the tests).
31754
31755         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
31756         for SunOS4 (reason for failure not investigated).  Remove
31757         redundant test for $binfile.
31758
31759         * gdb.base/nodebug.c (array_index): Call malloc.
31760
31761         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
31762
31763 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
31764
31765         * gdb.base/recurse.exp: Update gdb_test invocation to use new
31766         conventions and slightly simplify the matching regexp.
31767
31768 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31769
31770         * gdb.base/break.exp: Update gdb_test invocation to use new
31771         convention.
31772
31773         * lib/gdb.exp: If noargs is not set, set it to 0.
31774
31775         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
31776         tests unique.
31777
31778         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
31779
31780 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31781
31782         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
31783         one argument of type "<non-float parameter>".
31784
31785 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
31786
31787         * config/rom68k.exp:  New file to support Motorola IDP board.
31788         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
31789         * gdb.base/break.c:  Change things around so that this program
31790         doesn't depend upon args.  This is necessary to make remote
31791         targets work (in general, they can't take args).
31792         * gdb.base/break.exp:  Don't try to send args to program.  Don't
31793         expect output.  Also, replace lots of code with gdb_test.
31794
31795 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31796
31797         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
31798         printing of '\'' (which is what the comment says we are testing,
31799         even though we were not), not '''.
31800         (test_integer_literals_rejected): Test that printing ''' is an error.
31801
31802         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
31803         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
31804         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
31805         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
31806         Use gdb_test not test_print_accept.
31807         * lib/gdb.exp: Remove test_print_accept.
31808
31809         * gdb.base/signals.exp (signal_tests_1): Make pass message
31810         consistent with fail message.
31811
31812         * gdb.base/whatis.exp: Remove xfails for printing char vs.
31813         unsigned char; the bug (PR 1821) is fixed.
31814
31815         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
31816
31817         * gdb.base/scope.exp (test_at_localscopes): Call pass for
31818         successful tests--makes xfailing them work right.
31819
31820 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31821
31822         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
31823         only \r\n, not .*.  The test can pass .* as the last thing in
31824         $pattern if that is what it wants.  In addition to providing this
31825         flexibility, this change should speed up pattern matching in cases
31826         where the pattern already ended with .* (there were a number of
31827         them).  This change also helps catch bad patterns--in the old
31828         scheme the typo "char \*" instead of "char \\*" would pass.  Now
31829         it is caught.
31830         * Many .exp files: Update callers.
31831
31832         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
31833         clearer and does not spuriously match multiple ('s.  Likewise for
31834         ) and *.
31835
31836         * gdb.base/nodebug.exp: Test ability to call a function and pass
31837         it a string (even with no debugging info).
31838
31839         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
31840         "p '\'", which is the same as "p ''" once tcl gets done with
31841         quoting, to "p '\\'", which I suspect is what is intended (one
31842         backslash gets sent to GDB).
31843
31844         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
31845
31846 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31847
31848         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
31849         1817) was fixed literally years ago.
31850
31851 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31852
31853         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
31854         test, it causes stepping out of call_after_alloca_subr with
31855         optimizing compilers.
31856         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
31857         fails.
31858
31859         * gdb.c++/templates.exp:  Source templ-info.exp only if
31860         the templates executable exists.
31861
31862         * gdb.c++/misc.cc (class Contains_static_instance,
31863         class Contains_nested_static_instance),
31864         gdb.c++/classes.exp (test_static_members):  Test printing of
31865         a class that contains a static instance of the class.
31866
31867 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31868
31869         * gdb.base/langs2.c (cppsub_): Don't prototype.
31870         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
31871         only, I believe).
31872
31873 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31874
31875         * lib/gdb.exp (skip_chill_tests): New procedure.
31876
31877         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
31878
31879 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
31880
31881         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
31882         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
31883
31884 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31885
31886         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
31887
31888         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
31889         disassemble 8, not 16, instructions for part 4.
31890
31891         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
31892         support the latter anymore.
31893
31894         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
31895         -DNO_PROTOTYPES.
31896         * gdb.base/callfuncs.c: Control use of prototypes based on
31897         NO_PROTOTYPES, not __STDC__.
31898         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
31899         t_float_values2 tests if prototypes in use.
31900
31901         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
31902         t_double_values):  When checking differences against DELTA, check
31903         that difference is within the range (-DELTA,DELTA), not just
31904         (-infinity,DELTA).
31905
31906 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
31907
31908         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
31909         'file' command firts, then 'target', then 'load', this is due to gdb
31910         target set up.
31911         * config/mips-gdb.exp: Fix a couple regular exp bugs.
31912
31913 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
31914
31915         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
31916         FP load/store variants.
31917         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
31918
31919 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
31920
31921         * gdb.base/term.exp: Do not give a warning if not native, it is
31922         not an abnormal condition.
31923
31924 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
31925
31926         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
31927         t_char_array".
31928
31929 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
31930
31931         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
31932         are getting the version number.
31933
31934         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
31935         if not native, it is not an abnormal condition.
31936
31937 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31938
31939         * lib/gdb.exp: Just use "file exists", rather than undocumented
31940         dejagnu procedure "findfile".
31941
31942 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
31943
31944         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
31945           (LDFLAGS): Set to -Xlinker -Ur.
31946
31947         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
31948           Removed, these values are set by lib/gdb.exp.
31949
31950         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
31951
31952 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
31953
31954         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
31955           of replicating gdb startup code.
31956
31957         * config/mt-vxworks (LDFLAGS): Set to -r.
31958           (CFLAGS_FOR_TARGET): Removed.
31959
31960         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
31961           (gdb) and gdb for vxworks uses (vxgdb).
31962
31963         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
31964           executable is not in the tree and host != target, use sed and
31965           program_transform_name to determine the gdb name used by the
31966           target.
31967
31968         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
31969           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
31970
31971 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31972
31973         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
31974         floats, chars, and shorts where there are ANSI-style function
31975         definitions.
31976
31977         * gdb.base/langs.exp, gdb.base/langs*: New test.
31978         * gdb.base/Makefile.in: Build it.
31979         * TODO: Remove item about checking that C names don't get C++
31980         demangling applied; this test tests it.
31981
31982 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31983
31984         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
31985         went with the const70 xfail.  The xfail went away a year ago.
31986
31987         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
31988
31989         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
31990         for hp300.
31991
31992         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
31993
31994         * gdb.base/a1-selftest.exp: Don't run on hp300.
31995
31996 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
31997
31998         * Makefile.in (site.exp): Set host_alias and target_alias as well
31999         as host_triplet and target_triplet.
32000
32001 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
32002
32003         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
32004
32005         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
32006         places as other ecoff systems).
32007
32008         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
32009         ultrix.
32010
32011 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
32012
32013         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
32014         remove them.
32015         * gdb.base/nodebug.exp: Accept "function" in addition to "text
32016         variable and "variable" in addition to "data variable".
32017         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
32018
32019         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
32020         2.
32021         * gdb.base/list1.c (long_line): Add additional statement at start
32022         of function.
32023         * gdb.base/list.exp (test_forward_search): Update line number to
32024         reflect new statement.
32025
32026 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32027
32028         * gdb.base/signals.exp:  Reinitialize searched source directories
32029         after gdb_start call.
32030
32031 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
32032
32033         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
32034         * gdb.stabs/Makefile.in: Likewise.
32035
32036         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
32037         change.  Instead split the tests into smaller pieces.
32038         * gdb.disasm/hppa.s: Corresponding changes.
32039
32040 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
32041
32042         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
32043         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
32044
32045         * gdb.base/funcargs.exp: Modify many tests so that every test
32046         either passes or fails.  Make some test names unique.
32047
32048 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
32049
32050         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
32051         Call stty to set interrupt character.
32052
32053         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
32054         for HP assembler versus GNU assembler based on actual behavior of
32055         $(CC), rather than assuming that $(AS) is always the GNU assembler.
32056
32057         * TODO: Suggest a few more stepping tests.
32058
32059 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
32060
32061         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
32062         restart GDB for h8300 after a continue.
32063         (return): Add pattern to match a29k-udi behavior.
32064         * gdb.base/nodebug.exp: Remove obsolete comment.
32065         * gdb.base/regs.exp: New file, testing of register displays.
32066         * gdb.base/return.exp: Fix typo in reference to $objdir.
32067         * gdb.base/whatis.exp: Always start with a fresh GDB.
32068
32069 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
32070
32071         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
32072         higher, these tests generate a lot of output.
32073
32074 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
32075
32076         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
32077         code following the catch silently ignored some errors; without the
32078         catch they should be thrown like any other tcl error.  Also, the
32079         catch used "" instead of {} which meant all the callers who wanted
32080         to include one of the characters "[]$ had to quote it an extra time.
32081         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
32082         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
32083         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
32084         Remove extra quoting.
32085
32086 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
32087
32088         * gdb.base/commands.exp: Make test names unique; every test either
32089         passes or fails.  Update some comments.
32090
32091         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
32092
32093 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
32094
32095         The following fixes a FAIL caused by the fact that the alpha stabs
32096         configuration didn't use the ".if alpha" code in weird.def.
32097         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
32098         bit pointer, so the 32 bit version works even on the alpha.
32099         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
32100         Remove the stuff which allowed us to have separate versions for
32101         alpha and everything else.
32102
32103         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
32104         regexp which "info func operator\[\](" is supposed to match.  Fix
32105         string to send to GDB.  Note that GDB still doesn't work right.  Add a
32106         new test for "info func .perator\[\](" which GDB does handle correctly.
32107
32108         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
32109
32110 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
32111
32112         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
32113         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
32114         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
32115         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
32116         it makes the tests harder to understand and confuses test-o-matic.
32117         The preferred style is that each test provides a PASS or a FAIL,
32118         and has a unique message (e.g. "continue #54" not just "continue")
32119         which is the same for the pass and the fail.
32120         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
32121         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
32122         to lib/gdb.exp.
32123         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
32124         prt_accept which was basically the same thing.  Likewise for
32125         test_print_reject and prt_reject.
32126         * lib/gdb.exp (test_print_reject): Add some more error message
32127         patterns to match from the former printcmds.exp (prt_reject).
32128         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
32129         One defect of the passcount stuff is that some of it failed to
32130         report XPASS where appropriate.
32131         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
32132         stuff before and after arg in expected pattern.
32133         (test_paddr_operator_functions): Re-do test without print_addr_of;
32134         this is the only test which seems to want extra stuff there.
32135
32136 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
32137
32138         * gdb.base/nodebug.exp: Update new tests to reflect improved
32139         wording of gdb output.
32140
32141         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
32142         and "ptype" work on variables in files compiled without -g.
32143         Replaces commented out "maint print msymbol" tests.
32144
32145 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
32146
32147         * gdb.base/setvar.c (dummy): Call malloc.
32148
32149         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
32150         losing with the irix4 sed.
32151
32152         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
32153         ALRM" on irix4.
32154
32155 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
32156
32157         * TODO: Remove items about corefile.exp testing new exec-file and
32158         backtrace; both are now done.  Add items about printing enums.
32159
32160 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
32161
32162         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
32163         "get signal $thissig" test fails.
32164
32165         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
32166
32167 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
32168
32169         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
32170         compiler warning with dec alpha compiler.
32171
32172         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
32173         extra \n from gdb_test call (this explains why the prompt test
32174         that I removed yesterday was there).
32175         (user_defined_command_test): Remove extra \n and prompt test.
32176
32177         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
32178         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
32179         doesn't exist.
32180         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
32181         Also remove alpha workaround, which turns out to be because
32182         SIGABRT == SIGLOST.
32183
32184         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
32185
32186         * gdb.base/help.exp: Don't test "help show".
32187
32188 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
32189
32190         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
32191         "set print address" is on.
32192         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
32193         pass prompt to gdb_test; gdb_test already looks for the prompt.
32194
32195         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
32196
32197         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
32198         was a vestige of the manual TESTSTRATEGY, and the purpose of it
32199         was to make sure that gdb can read a core file.  But (a) the "read
32200         the corefile" part didn't make it to a1-selftest.exp, we just
32201         delete the corefile after creating it, and (b) we test reading
32202         corefiles in corefile.exp anyway.  Also, this test left around a
32203         xgdb process on Solaris.
32204
32205         * gdb.base/corefile.exp: Also test backtrace.
32206
32207 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
32208
32209         * gdb.base/commands.exp: Test a simple user defined command with
32210         arguments and if/while statements; verify the full user command is
32211         printed by "show user".
32212
32213         * gdb.base/commands.exp: Test if/while commands as part of a
32214         breakpoint command list; verify they appear in breakpoint
32215         information.
32216
32217 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
32218
32219         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
32220         than by dividing by zero.
32221
32222 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
32223
32224         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
32225         performing an inferior call with watchpoints enabled.
32226         * gdb.base/watchpoint.c (main): Delete second unnecessary read
32227         call.
32228
32229 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
32230
32231         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
32232         of "file" command.
32233
32234         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
32235         Add additional pattern for when "int operator int(void);" appears
32236         in a different order.
32237
32238 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
32239
32240         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
32241
32242         * gdb.base/help.exp: Replace most of docstrings for "info signals"
32243         and "signal" with ".*".
32244
32245 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
32246
32247         * TODO: Add note about "handle all nostop".
32248
32249         * gdb.base/{sigall.c, sigall.exp}: New test.
32250         * gdb.base/Makefile.in: Add it.
32251
32252 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
32253
32254         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
32255         when invoking GDB, suppresses any windowing interface.
32256
32257 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
32258
32259         * config/sim-gdb: New file, simulator testing support.
32260
32261 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
32262
32263         * gdb.base/interrupt.exp: Test calling func1 twice.
32264
32265 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
32266
32267         * gdb.base/list.exp (test_forward_search): Set timeout higher
32268         when we'll be getting lots of output from gdb.
32269
32270         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
32271         "init_malloc" to after the expect statement.  Run it if that
32272         regexp is taken, but also for two others which happen if source
32273         cannot be found.
32274
32275 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32276
32277         * gdb.base/printcmds.exp: New test, for printing register before
32278         program is running.
32279
32280 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32281
32282         * gdb.base/list.exp:  Correct some alternate expect patterns
32283         to reflect changes in list1.c.
32284
32285 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32286
32287         * TODO: Add item regarding large frames.
32288
32289         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
32290
32291         * TODO: Remove item about enabling return.exp; it
32292         is enabled.  Suggest a few more "return" tests.
32293
32294 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32295
32296         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
32297         anonymous unions.
32298
32299 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32300
32301         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
32302         and pr-5646.o, so "make" is the same as "make all", not "make
32303         pr-4975.o".
32304
32305 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
32306
32307         * gdb.base/list.exp: Adjust expectations to reflect changes in
32308         list1.c.
32309         (test_forward_search): New test proc.
32310         * gdb.base/list1.c (long_line): New function, has long source line.
32311
32312 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
32313
32314         * gdb.base/a1-selftest.exp: Change initial stepping to know about
32315         additional line of code that was added.
32316
32317 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
32318
32319         * gdb.disasm/hppa.s: Break the large branching tests into smaller
32320         tests so as not to overflow expect's input buffers.
32321         * gdb.disasm/hppa.exp: Corresponding changes.
32322
32323 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32324
32325         Beginnings of template debugging tests.
32326         * gdb.c++/templ-info.cc:  New file to test for template
32327         debugging capability of the compiler.
32328         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
32329         templ-info.cc.
32330         * gdb.c++/templates.cc:  Add explicit template instantiations
32331         to enable compiling with -fno-implicit-templates. Add destructor
32332         and 'value' method to T5 class for template tests.
32333         * gdb.c++/templates.exp:  Add testcases for printing of template
32334         types, setting breakpoints on template methods and calling a
32335         template method.
32336
32337 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
32338
32339         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
32340         branch target since some assemblers (gas-2.5)  may emit a
32341         relocation for the branch instead of resolving it in the
32342         assembler.
32343
32344 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32345
32346         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
32347         through signal handler.
32348
32349 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
32350
32351         * configure.in (*-*-netware): Use config/mt-netware.
32352
32353         * config/mt-netware: New file.
32354         * config/mt-i386-netware: Removed, separate configs for different
32355           netware architectures are no longer needed now that we have
32356           --with-headers.
32357
32358 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32359
32360         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
32361         by the recent changes to use ANSI C arithmetic conversions.
32362
32363 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32364
32365         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
32366         bug involving using inferior_pid to figure out whether to select a
32367         frame.
32368
32369 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
32370
32371         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
32372         match the current disassembler output.
32373
32374 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
32375
32376         * gdb.fortran/exprs.exp: Expect VOID instead of void.
32377         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
32378         types, expect "int" as type of integer values (for now).
32379
32380 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
32381
32382         * gdb.base/commands.exp: New tests for if/while commands.
32383
32384 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
32385
32386         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
32387         by .*, since hex values have different syntax in Chill mode.
32388
32389 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32390
32391         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
32392         linefeed from expect pattern for repeated types with indices > 9.
32393
32394 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
32395
32396         First part of Fortran test suite.
32397         * gdb.fortran: New directory.
32398         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
32399
32400 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32401
32402         * gdb.base/default.exp:  Update expect pattern for load command
32403         without arguments.
32404
32405 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
32406
32407         * configure.in: Change i386 to i[345]86.
32408         * gdb.base/configure.in: Likewise.
32409         * gdb.c++/configure.in: Likewise.
32410         * gdb.chill/configure.in: Likewise.
32411
32412 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
32413
32414         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
32415         patterns, since that is not a valid context for comments.
32416
32417 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
32418
32419         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
32420         repeated types and repeated types with indices > 9.
32421
32422 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
32423
32424         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
32425         2417; old bug has been fixed.
32426
32427 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
32428
32429         * gdb.base/interrupt.exp: When trying to wake up the inferior,
32430         send the newline ourselves instead of assuming gdb_test will do
32431         so when passed an empty input string.
32432
32433         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
32434         stabs testcode.
32435
32436 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
32437
32438         * lib/gdb.exp (gdb_test): Don't send anything if the first
32439           argument is an empty string.  This makes cases where we want to
32440           match output that is already in expect's buffers (for example,
32441           matching a breakpoint after gdb_run_cmd has been called) work
32442           reliably.
32443
32444 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
32445
32446         * config/netware.exp: New file.
32447
32448 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
32449
32450         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
32451           the -B and -L prefixes so we can find the debugging stub.
32452
32453         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
32454           there and we are using the gcc from the tree.
32455
32456         * gdb.base/types.c: Removed.
32457
32458         * gdb.base/configure.in: Look for makefile fragments in ../config.
32459           Recognize i386-*-netware.
32460         * gdb.c++/configure.in: Likewise.
32461
32462 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32463
32464         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
32465         the correct TCL syntax.
32466
32467 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
32468
32469         * gdb.base/opaque.exp: use runto instead of messing around with
32470           breakpoints.  Simplify by using gdb_test.
32471
32472         * gdb.base/bitfields.exp: restart between tests on netware targets
32473           because breakpoints aren't relocated after target death.  Run
32474           processes to completion.
32475
32476         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
32477
32478 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
32479
32480         * Makefile.in:  Remove extra tabs that confuse some versions
32481         of "make".  Use the newly built gdb to test with by default,
32482         rather than the first one in the tester's search path.
32483
32484 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
32485
32486         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
32487
32488         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
32489         condition help.
32490
32491 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
32492
32493         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
32494
32495         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
32496           running.
32497         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
32498         * gdb.base/funcargs.exp: Likewise.
32499
32500         * gdb.base/bitfields.exp: Simplify by using gdb_test.
32501         * gdb.base/funcargs.exp: Likewise.
32502
32503         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
32504           message is "".
32505
32506 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
32507
32508         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
32509           return,signals,twice}.exp: Handle non-existant binaries
32510           consistantly.
32511
32512         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
32513         * gdb.base/Makefile.in: Don't try to generate a core dump, we
32514           might testing a cross development system.
32515
32516 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
32517
32518         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
32519           runtest script is relative to ${srcdir}, not ${rootdir}.
32520
32521 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
32522
32523         * gdb.base/signals.exp: Allow for optionality of breakpoint
32524         address.
32525
32526 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32527
32528         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
32529
32530 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
32531
32532         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
32533           for size_t definition.
32534         * gdb.c++/templates.cc: Likewise
32535
32536         * config/mt-i386-netware: New file.
32537
32538         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
32539           defined.
32540
32541         * gdb.base/Makefile.in: Added support for systems that name core
32542           files by appending "core" to the program name.
32543         * gdb.base/a1-selftest.exp: Likewise.
32544
32545 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32546
32547         * gdb.base/return.exp:  Add comment and message for `return double'
32548         test failure on Sparc Solaris.
32549
32550 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
32551
32552         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
32553
32554 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32555
32556         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
32557         from optimizing them away.
32558         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
32559         patterns to include default constructors and assignment operators,
32560         to match gcc versions beyond 2.5.8. Accept any cplus demangling
32561         character in the output of the virtual base pointer.
32562
32563 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32564
32565         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
32566         expression match in print_addr_of to avoid unintented matches.
32567         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
32568         versions up to 2.5.8.
32569
32570 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32571
32572         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
32573         included file to run under newer versions of expect.
32574         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
32575         consecutive >'s in templates to accomodate recent cplus-dem.c change.
32576         Remove xfail for the virtual table of BDDHookV.
32577
32578 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
32579
32580         * lib/gdb.exp (string_to_regexp): Set a default result.
32581         (default_gdb_start): Fix misleading message.
32582
32583 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
32584
32585         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
32586         Remove all CC, etc definitions.
32587         * config/mt-hpux: New file.
32588         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
32589         (CFLAGS, LDFLAGS): Define.
32590         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
32591
32592         * Makefile.in (site.exp): Don't insert host_os, etc.
32593         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
32594         (distclean): Check existence of subdir.
32595         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
32596         * gdb.base/Makefile.in: General cleanup and simplification.
32597         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
32598         to build executables.   Use default rule to build .o files.
32599         (EXPECT, RUNTEST, CC): Fix relative pathname.
32600         (site.exp): Don't insert host_os, etc.
32601         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
32602         and/or SIGUSR1 defined.
32603         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
32604         * gdb.c++/Makefile.in: General cleanup and simplification.
32605         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
32606         (CFLAGS): Remove.
32607         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
32608
32609 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
32610
32611         * gdb.base/recurse.exp: Misc changes to get tests running again
32612         after Kung's changes to the watchpoint code.
32613         * gdb.base/watchpoint.exp: Likewise.
32614
32615 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
32616
32617         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
32618
32619 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
32620
32621         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
32622         * lib/gdb.exp (default_gdb_start): Define.
32623         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
32624         gdb.base/funcargs.exp, gdb.base/opaque.exp,
32625         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
32626         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
32627         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
32628         Don't call gdb_target_udi in between tests.
32629
32630 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32631
32632         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
32633         (which was basically just a local version of the same thing).  In
32634         addition to avoiding duplication, gdb_test_exact is faster.
32635         * lib/gdb.exp (gdb_test_exact): Fix typo.
32636
32637         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
32638         don't give an error.
32639
32640         * gdb.base/term.exp: Call delete_breakpoints before starting.
32641
32642         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
32643         (t10): Add comment.
32644
32645 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
32646
32647         Reorganization of the GDB Test Suite.
32648
32649         * gdb.base: New directory, contains all the basic tests.
32650         * gdb.c++: New directory, tests specific to C++.
32651         * gdb.chill: New directory, tests specific to Chill.
32652         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
32653         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
32654         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
32655         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
32656         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
32657         t30-31 to chill).
32658         * */gdbme.*: Rename to match appropriate expect scripts.
32659         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
32660         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
32661         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
32662         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
32663         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
32664         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
32665         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
32666         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
32667         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
32668         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
32669         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
32670         gdb.c++/virtfunc.cc: New names of C++ files.
32671         * gdb.chill/chillvars.ch: New name of Chill file.
32672         * gdb.base/configure.in, gdb.c++/configure.in,
32673         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
32674         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
32675         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
32676         * configure.in (configdirs): Update to reflect directory changes.
32677         (target_abbrev): No longer define for any configuration.
32678         * Makefile.in: Cosmetic improvements to header comments.
32679
32680 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
32681
32682         Various changes to gdb.t31:
32683
32684         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
32685         * gdbme.ch:  Make all key-words and predefineds be upper-case.
32686         * chillvars.exp:  Expect key-words and predefinds in upper-case.
32687
32688         * chillvars.exp:  Use gdb_test_exact many places.
32689         Change expected output for arrays (which now includes index labels).
32690
32691         * pr-5020.exp, gdme.ch (module PR_5020):
32692         New test, for PR-5020.
32693
32694 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
32695
32696         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
32697         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
32698
32699 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
32700
32701         * Makefile.in:  Fix bit-rot in definitions of CHILL,
32702         CHILL_FOR_TARGET and Chill_LIB.
32703         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
32704         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
32705         CHILL, and CHILL_LIB.
32706
32707 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
32708
32709         * Revert the previous changes.  Please see Rob's directory
32710           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
32711
32712 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
32713
32714         * Makefile.in, configure.in, config/mips-gdb.exp,
32715           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
32716           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
32717           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
32718           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
32719           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
32720           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
32721           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
32722           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
32723           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
32724           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
32725           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
32726           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
32727           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
32728           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
32729           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
32730           changes from 94Q1.
32731
32732 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
32733
32734         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
32735           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
32736           Rob's new testing fragments.
32737
32738 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
32739
32740         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
32741           lib/gdb.exp: Replace error proc calls with perror.
32742
32743 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
32744
32745         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
32746         version also, match on casted version strings, and match on
32747         gdb startup case where the line numbers might be messed up.
32748
32749 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
32750
32751         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
32752           (CFLAGS): Delete it from here.
32753
32754 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
32755
32756         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
32757
32758 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
32759
32760         * Makefile.in (RUNTEST): Default to just "runtest".
32761
32762 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
32763
32764         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
32765         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
32766         the code has been restructured.
32767
32768 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32769
32770         * gdb.t00/default.exp (set write): Allow any number of \r and/or
32771         \n, not just one of each.
32772
32773         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
32774         /bin/cc gives a warning if you do.
32775
32776 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
32777
32778         * gdb.t24/demangle.exp: change expect pattern of
32779         __t10ListS_link1ZUiRCUiPT0
32780
32781 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
32782
32783         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
32784         on local variables in recursive functions.
32785
32786         * gdb.t07/Makefile.in: Build the new test.
32787
32788 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
32789
32790         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
32791         directly.  Instead compare the return values from actual calls.
32792
32793 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
32794
32795         * Makefile.in (check): Set TCL_LIBRARY for runtest.
32796
32797 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
32798
32799         * From Peter Schauer with minor modifications.
32800         * gdb.t15/return.exp (return_tests): Handle targets where "return"
32801         stops in mid-line in the caller.  Add xfail for returning a float
32802         value on X86 targets.
32803
32804 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
32805
32806         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
32807         to avoid expect lossage.
32808         (fmem_LRbug_tests): Likewise.
32809         * gdb.disasm/hppa.s: Corresponding changes.
32810
32811         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
32812         conditions to work with latest dejagnu/expect.
32813
32814         * gdb.t15/funcargs.exp (finish from indirect call): No longer
32815         expected to fail on the PA.
32816         (backtrace in call with trampolines): Explicitly require main
32817         to be frame #1 (no trampolines should show up in backtrace).
32818
32819         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
32820         "continue -expect".
32821         * gdb.t06/break.exp: Likewise.
32822         * gdb.t07/watchpoint.exp: Likewise.
32823         * gdb.t13/bitfields.exp: Likewise.
32824         * gdb.t15/{funcargs,return}.exp: Likewise.
32825         * gdb.stabs/weird.exp: Likewise.
32826         * config/{mips,udi}-gdb.exp: Likewise.
32827
32828         * hppa.sed: Enclose comments within a sed command to avoid
32829         losing with the old OSF1 sed.
32830
32831 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32832
32833         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
32834         sequent dynix.
32835         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
32836         * gdb.t15/funcargs.exp:  Conditionally step again to really
32837         finish from marker_call_with_trampolines. Handle the case where
32838         the first step from within call_with_trampolines already steps
32839         us back to main.
32840         * gdb.t15/gdbme.c:  Add comment to closing brace of
32841         call_with_trampolines for funcargs.exp.
32842
32843 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
32844
32845         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
32846         Fix typo(s).
32847
32848 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
32849
32850         * gdb.t07/gdbme.c: More code for watchpoint testing.
32851
32852         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
32853         "Hardware watchpoint" throughout file.
32854         (test_watchpoint_triggered_in_syscall): New test.
32855         (test_complex_watchpoint): New test.
32856
32857 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
32858
32859         * gdbme.c (call_with_trampolines): New function to try and step
32860         into.  Tests trampoline problems on the PA.
32861
32862         * funcargs.exp (localvars_in_indirect_call): No longer expect
32863         stepping into indirect call to fail on PAs.
32864         (test_stepping_over_trampolines): New test.
32865
32866 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32867
32868         * TODO: Add suggestions for static member function tests, and
32869         completion tests.
32870
32871 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32872
32873         * TODO: Add suggestions for "p/a" tests.
32874
32875         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
32876         (default_gdb_exit): Replace all the hair with sending "quit" to
32877         the process with a simple close.
32878
32879 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32880
32881         * TODO: Add suggestions for shared library tests.
32882
32883 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32884
32885         * TODO: Add suggestions for x/s tests.
32886
32887 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32888
32889         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
32890         "enable once", and "enable breakpoints once" with ".*".
32891
32892 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32893
32894         * TODO: Add suggestions about structure passing tests.
32895
32896 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32897
32898         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
32899         the primary1 test, use work around if __GNUC__ < 2.
32900         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
32901         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
32902         Test for bad output rather than waiting for timeout.  Issue
32903         second continue only if first continue failed.
32904
32905 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
32906
32907         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
32908         operator[] test with gdb_test because the old code didn't seem to
32909         be getting the quoting right with the new dejagnu.
32910
32911 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
32912
32913         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
32914         one from the path.
32915         * Makefile.in: Use a fresh expect if there is one, use runtest
32916         from the src tree if there is one.
32917
32918 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
32919
32920         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
32921         next over recursive call.  Revise the tests from that point on
32922         (which had been skipped) to match GDB's actual (correct) output.
32923
32924         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
32925         with next over a breakpoint whose condition is false.
32926
32927         * gdb.t00/help.exp: Comment out "help set print" tests just like
32928         (and for same reason as) "help set" test.
32929
32930 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
32931
32932         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
32933         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
32934
32935 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32936
32937         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
32938         necessary gdb_target_udi.
32939
32940         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
32941
32942         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
32943         1838 and 2417; they are fixed.
32944
32945         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
32946         gdb.t03/ptype.exp (ptype structure, ptype union):
32947         Remove xfails; the test is looser than when the xfails were added.
32948
32949         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
32950         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
32951
32952         * gdb.t01/run.exp: Only run shell test if isnative.
32953
32954         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
32955         since "run" automatically loads if necessary.  Call gdb_target_udi
32956         after the "file" since "file" kills any execution target.
32957
32958         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
32959         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
32960         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
32961         argument for UDI.
32962
32963 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
32964
32965         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
32966
32967         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
32968
32969 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
32970
32971         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
32972         properly quoting regexps.  This makes the second argument to
32973         demangle a fixed string, which matches the callers, instead of a
32974         shell-style pattern which is what the previous implementation
32975         used.  Update some of the callers.
32976
32977 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
32978
32979         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
32980         (comib_nullified_tests): Fix typo.
32981         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
32982         strings.  No longer expected to fail.
32983
32984         * gdb.disasm/hppa.s (addib_tests): Fix typo.
32985         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
32986         strings.  No longer expected to fail.
32987
32988         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
32989         string.  No longer expected to fail.
32990
32991 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
32992
32993         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
32994         No longer expected to fail.
32995
32996         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
32997         string.  No longer expected to fail.
32998
32999 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
33000
33001         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
33002         only in the names (I probably got most of them).  I was even
33003         generous with some which differed in underscores in names, and
33004         probably missed a few, and I *still* was able to remove almost a
33005         third of the file with almost no impact on testsuite coverage.
33006
33007 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
33008
33009         * gdb.t00/default.exp: Match udi_attach error message as well as
33010         the one from child_attach.
33011
33012         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
33013
33014         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
33015
33016         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
33017         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
33018
33019         * Move test with enums and partial symbols back to
33020         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
33021         Reverts the change of 26 May 93.  Per today's change to
33022         stabs.texinfo, the behavior that weird.exp was expecting was
33023         unreasonable; what is important is that the compiler+gdb get
33024         things right, which happens with a recent gcc.  Also fix the test
33025         to deal with native compilers which put out the stab gdb can't
33026         deal with.
33027
33028 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
33029
33030         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
33031         in the names.  The main thing these accomplish is to slow things down.
33032         Many more such duplicates surely remain.
33033
33034         * gdb.t00/help.exp: Comment out "help support" test just like
33035         (and for same reason as) "help set" test.
33036
33037 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
33038
33039         * gdb.t06/break.exp:  Remove setup_xfails for
33040         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
33041         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
33042         about known bug in gcc to include up through 2.5.8.
33043         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
33044         well as "_vb$".
33045         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
33046         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
33047         with latest gcc and gdb.
33048         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
33049         well as "_vb$".
33050
33051 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
33052
33053         * configure.in (hppa*-*-*): Also configure and build stabs-only
33054         tests.
33055
33056 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
33057
33058         * gdb.t10/hppa.mt: A makefile fragment for the PA.
33059         * gdb.t10/configure.in (hppa*-*-*): Use it.
33060
33061 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33062
33063         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
33064
33065 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33066
33067         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
33068         versions prior to 1.13.5.
33069
33070 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
33071
33072         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
33073         the prompt is at the start of a line.
33074
33075 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
33076
33077         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
33078         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
33079         in the copr tests now.
33080         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
33081         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
33082         expected to fail.
33083
33084 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
33085
33086         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
33087         gdb.t31/chillvars.exp, lib/gdb.exp:
33088         Tweak to run under either version of expect.
33089         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
33090         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
33091         * gdb.t11/list.exp: Remove extraneous whitespace.
33092
33093 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
33094
33095         * gdb.t16/printcmds.exp (test_print_strings): Accept
33096         "(unsigned char *) " before the string.
33097
33098         * TODO: Add notes about printing of fancy types and GDB expressions.
33099
33100 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
33101
33102         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
33103         * gdb.t06/configure.in: Don't try to compile signals test program
33104         if doing mips-idt-ecoff.
33105
33106 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
33107
33108         * Most .exp files: Tweak to run under either version of expect.
33109
33110 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
33111
33112         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
33113         xfails; I'm not sure why they are failing, but not because of PR 1806.
33114
33115 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
33116
33117         * config/unix-gdb.exp: Remove gdb_unload cause it's already
33118         defined in lib/gdb.exp.
33119
33120 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33121
33122         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
33123         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
33124         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
33125         have to be typeless.
33126
33127 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
33128
33129         * TODO: Add suggestion for copyright year test.
33130
33131 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
33132
33133         * configure.in (*-*-lynxos*): Add stabs tests.
33134
33135 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
33136
33137         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
33138         so insert a tab before any assembler directive in column zero.
33139
33140         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
33141         stores.
33142         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
33143         stores.
33144         (fpu_short_memory_tests): Likewise.
33145
33146 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33147
33148         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
33149         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
33150         .stabs directives in comments.
33151
33152 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33153
33154         * TODO: New file, describing tests we could write.
33155         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
33156
33157 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33158
33159         * gdb.t06/signals.exp: Add kludge to force re-sync.
33160
33161         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
33162         to xgdb instead of gdb, get out of gdb.
33163
33164 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
33165
33166         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
33167         for info.
33168
33169 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
33170
33171         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
33172         * gdb.stabs/configure.in (hppa*-*-*): Use it.
33173         * gdb.stabs/hppa.sed: New sed script for the PA.
33174
33175 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33176
33177         * gdb.stabs: Re-write weird.def and configuration to use sed
33178         instead of cpp.  sed is portable and POSIX; cpp is neither.
33179
33180 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33181
33182         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
33183
33184 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33185
33186         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
33187
33188 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33189
33190         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
33191         "_vb$".
33192         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
33193         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
33194
33195 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33196
33197         * lib/gdb.exp: Comment out code which depends on non-existent
33198         `transform' procedure.
33199
33200 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
33201
33202         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
33203         * lib/gdb.exp: Transform tool name.
33204         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
33205         1.1's new error handling system.
33206
33207 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33208
33209         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
33210
33211 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33212
33213         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
33214         They made pattern matching so slow that timeouts happened on
33215         heavily loaded systems.  Now any output from "show print" which
33216         gets us back to the GDB prompt is a PASS.
33217
33218 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
33219
33220         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
33221
33222 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33223
33224         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
33225
33226         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
33227         It is not from PR 3220.
33228
33229 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33230
33231         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
33232         just started failing because they depended on the order the
33233         subcommands are presented, or exact docstring text.  This kind of
33234         test is a pain and has minimal benefit.
33235
33236 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33237
33238         * gdb.t09/corefile.exp: At end of test, use "core" command with
33239         no arguments.
33240
33241 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
33242
33243         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
33244         17}/Makefile.in:  Make it possible to run the testsuite with Sun
33245         make and CC = cross gcc by adding explicit build rules for .o
33246         files.
33247
33248 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33249
33250         * gdb.t15/funcargs.exp: Don't put comments on same line as
33251         setup_xfail (@#$*%& tcl braindamage!).
33252
33253 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33254
33255         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
33256
33257 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
33258
33259         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
33260         * gdb.t20/inherit.exp: remove three dumplicate entries.
33261
33262 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33263
33264         * gdb.t06/break.exp: For "next over recursive call", fail on any
33265         incorrect output, not just on "factorial (value=2)".
33266
33267 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33268
33269         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
33270         working now. Add an xfail if accesing a bss variable causes
33271         a memory error if the target is not yet run.
33272
33273 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33274
33275         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
33276         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
33277         name of __st* demangling (2 strings).  Did Kung really get the
33278         more than 95 others right without testing them?
33279
33280 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
33281
33282         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
33283
33284 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
33285
33286         * configure.in (configdirs): Add gdb.disasm
33287         * gdb.disasm: New directory for GDB disassembler tests.
33288         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
33289
33290 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33291
33292         * gdb.t00/help.exp: Don't test "help set".
33293
33294         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
33295         from within expect statements.  None of these happen anymore and
33296         they cause regressions to be silently unnoticed.
33297
33298         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
33299         messages) about known failures with gcc cygnus-2.4.5-930417.
33300
33301         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
33302         comp-info.exp so it gets built if it doesn't exist.
33303
33304         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
33305         it is no longer used.
33306         * gdb.t13/comp-info.c: Removed.
33307
33308 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
33309
33310         * gdb.t06/signals.exp: Add xfail for sun3.
33311
33312 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33313
33314         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
33315         relevant because ^C doesn't get sent but failure can be reproduced
33316         interactively).
33317
33318 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33319
33320         * gdb.stabs/alpha.mt:  New configuration file for alpha.
33321         * gdb.stabs/configure.in:  Use it.
33322         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
33323         sharing with alpha.mt, redefine long to word via preprocessor.
33324         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
33325         for alpha.
33326         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
33327         native cc.
33328         * gdb.t00/teststrategy.exp:  Change expect string so that we
33329         consume the `(xgdb)' from the command echo and from the gdb prompt.
33330         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
33331         gdb currently compares all values as long, so this failure probably
33332         applies to any configuration where LONGEST is bigger than a target int.
33333         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
33334         with gcc.
33335         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
33336         to handle opaque pointers, gcc is.
33337         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
33338         as first argument. Include <sys/types.h> and change all operator
33339         new definitions to use size_t.
33340         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
33341         now that we use size_t.
33342
33343 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33344
33345         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
33346         a long or float array cast all array members to the same type.
33347         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
33348         with 64 bit longs.
33349         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
33350         on alpha.
33351         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
33352
33353 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33354
33355         * gdb.t24 (demangle.exp): Constructors of templates have names like
33356         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
33357         section 14.6 of the ARM.
33358
33359         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
33360         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
33361         accomplish little and slow down the testsuite.
33362
33363         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
33364         Accept spaces various places.
33365
33366 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33367
33368         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
33369         with watchpoint enabled.
33370
33371         * Makefile.in: Remove definition of CC and remove the second
33372         definition of CXX (the "CXX = gcc" one remains).  These definitions
33373         were causing backquotes to be expanded within backquotes, which
33374         doesn't work.
33375
33376 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
33377
33378         * gdb.t17/callfuncs.exp: Add "return 0" to end.
33379
33380 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33381
33382         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
33383         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
33384         by mips cc and contains no stabs entries.
33385
33386 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
33387
33388         * config/vx-gdb.exp: Use fake device to load files rather than
33389         NFS.
33390         * lib/gdb.exp: New proc to do "file" command.
33391         * config/unix-gdb.exp: Use new "file" proc.
33392
33393 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
33394
33395         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
33396         Rework board rebooting slightly.
33397         (gdb_exit): Don't exit from the remote shell; there isn't one.
33398         * gdb.stabs/weird.exp: If a program is being debugged already,
33399         kill it.
33400         * gdb.t04/setvar.exp: Stop and restart gdb.
33401         * gdb.t05/expr.exp: Likewise.
33402         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
33403         restart gdb and reload the program.
33404         * gdb.t08/opaque.exp: Likewise.
33405         * gdb.t12/scope.exp: Likewise.
33406         * gdb.t13/bitfields.exp: Likewise.
33407         * gdb.t15/funcargs.exp: Likewise.
33408         * gdb.t20/classes.exp: Likewise.
33409         * gdb.t03/ptype.exp: Increase timeout.
33410         * gdb.t16/printcmds.exp (test_print_string_constants,
33411         test_print_array_constants): Likewise.
33412         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
33413         * gdb.t20/classes.exp (do_tests): Likewise.
33414         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
33415
33416 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
33417
33418         * gdb.stabs: Renamed *wierd* to *weird*.
33419
33420 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
33421
33422         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
33423         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
33424
33425 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
33426
33427         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
33428         (do_tests): Remove xfail for whatis on one_var and two_var.
33429
33430 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
33431
33432         * Makefile.in: Made cross building work better by adding
33433         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
33434
33435 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33436
33437         * gdb.t15/{return.c,return.exp,Makefile.in}:
33438         New test, currently commented out.
33439
33440 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
33441
33442         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
33443         still running and removes the leftover named socket so GDb can do
33444         clean restarts.
33445
33446 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
33447
33448         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
33449         console, not GDB.
33450         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
33451         cross testing works better with "make check"
33452         * config/unix-gdb: Use default procedures for exit and version.
33453         * config/vx-gdb.exp: Cleaned up and massaged back to working order
33454         with the newest VxWorks.
33455
33456 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33457
33458         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
33459         old form.
33460
33461         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
33462         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
33463
33464         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
33465
33466         * config/unix-gdb.exp: Remove this version of gdb_exit
33467         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
33468         Rob says he'll look at it when he gets back to testing boards.
33469
33470 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
33471
33472         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
33473         an expected fail for certain ptype commands.
33474
33475         * gdb.t20/classes.exp:  Update expected results of "ptype class
33476         Base1" to account for the constructor that now appears in the type.
33477
33478 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
33479
33480         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
33481         disappeared from list.
33482         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
33483         "alldone" proc with call to cleanup and exit.
33484         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
33485         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
33486         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
33487         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
33488         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
33489         "alldone" proc with simple returns that suppress remaining
33490         tests.  The alldone proc went away many months ago.
33491
33492 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33493
33494         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
33495
33496         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
33497
33498 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33499
33500         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
33501         as vax gdb will display them.
33502
33503 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33504
33505         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
33506         optimizers.
33507
33508         * scope.exp: Change "bad value for localval" messages so each one
33509         is unique.
33510
33511         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
33512         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
33513
33514         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
33515
33516 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33517
33518         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
33519         doesn't exist (due to optimization).
33520
33521 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33522
33523         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
33524         contains \r because the filename is long.
33525
33526         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
33527         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
33528
33529 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33530
33531         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
33532         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
33533         Ultrix.
33534         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
33535         int tests.
33536         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
33537
33538 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
33539
33540         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
33541
33542         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
33543         to match does not match the passing case but still matches the
33544         failing case.
33545
33546 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33547
33548         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
33549
33550 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
33551
33552         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
33553         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
33554         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
33555         Remove various versions of gdb_exit.
33556         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
33557         gdb_exit.
33558         * config/unix-gdb.exp:  gdb_exit remains here, and should override
33559         the generic version, since it's doing a lot of wierd stuff that
33560         the other versions aren't.  FIXME, fold it in, or abandon this
33561         version.
33562
33563 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33564
33565         * gdb.t24/demangle.exp: Add tests for PR 3220.
33566
33567 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33568
33569         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
33570
33571 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
33572
33573         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
33574         "i386-*-*".  Works for i486 as well.
33575
33576         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
33577         bug, and expand domain of xfail to all SVR4 systems, since the
33578         actual problem is likely to be in generic SVR4 /proc support.
33579
33580 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33581
33582         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
33583
33584 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
33585
33586         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
33587         xfails for other systems.  Match a missing 'Continuing.' as an
33588         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
33589
33590         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
33591         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
33592         Only issue warning for missing executables if -all option is used.
33593
33594         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
33595         file if -all option is used.  It's like an unpredictable XFAIL.
33596
33597 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33598
33599         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
33600         for dynamically linked binaries.
33601
33602         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
33603
33604 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33605
33606         * gdb.t20/inherit.exp: Change message for "print tagless struct"
33607         to state that this is a known bug in old versions of g++.
33608
33609 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33610
33611         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
33612         while waiting for `Continuing'.
33613
33614 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
33615
33616         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
33617         in text, data, and bss.
33618         * gdb.t10/nodebug.c:  Add local and global test variables for
33619         initialized and uninitialized data.
33620
33621 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33622
33623         * config/unix-gdb.exp (gdb_exit): Add "wait".
33624
33625 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33626
33627         * gdb.t06/signals.exp:  xfail the continue from the handler for all
33628         targets.
33629
33630         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
33631         function with watchpoints enabled, the i386 call dummy starts with
33632         a call.
33633
33634         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
33635         386 bsd names its corefiles.
33636
33637 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
33638
33639         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
33640         compilers don't grok it.
33641         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
33642         with small octal ints rather than character constants, which
33643         are signed and might not fit if first promoted to int.
33644
33645 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
33646
33647         * gdb.t09/Makefile.in (clean):  Remove corefile.
33648
33649 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33650
33651         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
33652
33653 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33654                           and Jim Kingdon (kingdon@cygnus.com)
33655
33656         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
33657         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
33658         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
33659
33660 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33661
33662         * gdb.t17/interrupt.exp: Add xfail for hppa.
33663
33664 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33665
33666         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
33667         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
33668         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
33669         to determine signed-ness of bitfields and use the result to setup
33670         the xfail.
33671         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
33672         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
33673         call line is reached if necessary.
33674
33675 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33676
33677         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
33678
33679 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33680
33681         * gdb.t06/break.exp: Also test `clear' command.
33682
33683 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
33684
33685         * gdb.t00/teststrategy.exp: Remove extra quote.
33686
33687         * gdb.t07/watchpoint.exp: Change xfail for calling function with
33688         watchpoint enabled to be for all non-68k machines.
33689
33690         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
33691
33692 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33693
33694         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
33695         targets use aout.mt instead of ecoff.mt as gas understands
33696         standard aout format.
33697
33698 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
33699
33700         * lib/gdb.exp (runto): Don't insist that function we are running to
33701         was compiled with -g.
33702
33703         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
33704
33705         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
33706         to get back into the read system call.
33707         Accept leading newline in case where we woke it up.
33708
33709 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33710
33711         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
33712         to make the stabs test work on ecoff systems using gcc and -with-stabs.
33713         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
33714         enable ecoff configuration.
33715
33716 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33717
33718         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
33719
33720 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33721
33722         * gdb.t16/printcmds.exp: Add another printf test.
33723
33724 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
33725
33726         * configure.in: If configured -with-stabs on any target, add
33727         stabsdirs to configdirs.
33728
33729 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33730
33731         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
33732         fun" so pattern does not match the command itself.
33733
33734 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33735
33736         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
33737
33738 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33739
33740         * gdb.t17/interrupt.exp: Test for more things.
33741
33742 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33743
33744         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
33745         compiler arranges the code and line numbers.
33746
33747         * gdb.t17/interrupt.exp: Don't send \n after ^C.
33748
33749 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33750
33751         * gdb.t00/help.exp:  Increase expect input buffer size.
33752
33753 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33754
33755         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
33756
33757         * gdb.t07/watchpoint.exp: Add xfail for hppa.
33758
33759         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
33760
33761         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
33762         [0-9]*, not just [0-9].
33763
33764 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33765
33766         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
33767
33768         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
33769
33770 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33771
33772         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
33773
33774 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33775
33776         * gdb.t06/signals.c: Add xfails for sun3.
33777
33778         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
33779
33780         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
33781         test_stepping tests.
33782
33783 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33784
33785         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
33786
33787         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
33788
33789         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
33790         rather than actually putting it through cpp twice.
33791
33792         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
33793
33794 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
33795
33796         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
33797         no longer needed.
33798
33799 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33800
33801         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
33802
33803         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
33804         C++ features prints as "struct", make it a pass, not an xfail.
33805
33806 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33807
33808         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
33809         Don't require VA to print as "class" rather than "struct".
33810
33811 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
33812
33813         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
33814
33815 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33816
33817         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
33818
33819 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33820
33821         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
33822         order.
33823
33824 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33825
33826         * gdb.t16/printcmds.exp: Add printf tests.
33827
33828         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
33829
33830         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
33831
33832 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
33833
33834         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
33835         pass counts, to counteract any existing or future setup_xfails.
33836
33837 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33838
33839         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
33840         {BEGIN,END}_COMMON for common block instead of STAB.
33841         * gdb.stabs/wierd.exp: Add xfail for rs6000.
33842
33843         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
33844         intp_var should be N_GSYM not N_LSYM.
33845         wierd-aout.S: Use a label for the value of the N_SO.
33846         wierd.def: Remove all backslashes.
33847         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
33848
33849 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33850
33851         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
33852         get the expected next to inheritance3.
33853
33854 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
33855
33856         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
33857         now that gcc-2.4 gets it right.
33858
33859 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
33860
33861         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
33862
33863         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
33864         generating comp-info.exp which works for cross-compilation.
33865
33866 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
33867
33868         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
33869         "*-*-sysv4.*".
33870
33871 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
33872
33873         * gdb.t01/run.exp:  Start with a fresh gdb.
33874         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
33875         SVR4.x.
33876
33877 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
33878
33879         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
33880         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
33881         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
33882         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
33883         things to remove.
33884
33885 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
33886
33887         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
33888         test cases from bug reports.
33889
33890 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
33891
33892         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
33893         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
33894           avoid spurious xfails.
33895         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
33896         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
33897         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
33898
33899 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
33900
33901         * gdb.t00/teststrategy.exp:  Rework to provide more useful
33902         description of each test, fix problem with systems that define
33903         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
33904         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
33905         results for "next over recursive call" so timeouts aren't taken
33906         by error.
33907
33908 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
33909
33910         * gdb.t12/scope.exp: Test printing of variables before run.
33911
33912         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
33913         printed in wrong order due to sorting.
33914
33915 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
33916
33917         * gdb.t00/teststrategy.exp:  Fix expected results for printing
33918         user entered string constant.  Is array of char, prints with no
33919         address.
33920
33921         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
33922         commands.
33923         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
33924         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
33925         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
33926         of struct of char arrays.
33927         * gdb.t00/radix.exp:  New tests for radix commands.
33928
33929 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
33930
33931         * gdb.t16/printcmd.exp: Print a variable before running program
33932         (with xfail for AIX).
33933
33934 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
33935
33936         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
33937
33938         * gdb.t16/printcmd.exp: Don't print variables before running program.
33939
33940         * gdb.t06/break.exp: Don't require envp argument to main.
33941
33942         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
33943
33944         * gdb.t02/whatis.exp, gdb.t11/list.exp:
33945         Add xfails for rs6000.
33946
33947         * gdb.t02/whatis.exp: Change other tests not to re-test something
33948         we already tested.
33949
33950         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
33951         each type used has a variable of that type.
33952
33953 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
33954
33955         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
33956
33957 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
33958
33959         * configure.in: change srctrigger to be a file, not a directory
33960
33961 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
33962
33963         * configure.in (mips-idt-ecoff*): Added trailing '*'.
33964
33965         * gdb.t11/list.exp: Fixed a couple of typos.
33966
33967 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
33968
33969         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
33970         is fixed and PR is closed.
33971         * gdb.t16 (gdbme.c):  Add simple test string variable.
33972         * gdb.t16 (printcmds.exp):  Add tests with simple test string
33973         variable, primarily for boundaries on "set print elements".
33974
33975 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
33976
33977         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
33978         Make leading 0's optional and don't expect a tab in the middle
33979         of the number.
33980
33981         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
33982
33983         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
33984         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
33985         don't end command passed to gdb_test with newline.
33986
33987         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
33988         signed keyword away, don't expect signed bitfields to be signed.
33989
33990         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
33991         printing with only as many 1's as are in the field as well as printing
33992         with 32 1's (see comment).
33993
33994 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
33995
33996         * gdb.t00/default.exp:  Start with a fresh gdb.
33997         * configure.in (configdirs):  Remove gdb.t31 until the chill
33998         compiler works again.  It no longer is able to find chillrt0
33999         since it isn't in libchill.a anymore.
34000         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
34001         wierd.o, make more modular.
34002         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
34003         spurious newlines that caused problems.
34004
34005 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
34006
34007         * Move test with enums and partial symbols from gdb.t03/ptype.exp
34008         to gdb.stabs/wierd.exp since GCC has worked around the bug.
34009         gdb.stabs/wierd.{exp,def}: Many new tests.
34010
34011         * gdb.t00/default.exp: update info line for new message.
34012
34013         * gdb.t02/{whatis.exp,gdbme.c}:
34014         Test that "char *" doesn't print as "caddr_t".
34015
34016 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
34017
34018         * gdb.t00/help.exp: Use .* in place of some help messages which
34019         just changed.
34020         gdb.t00/default.exp: Update "info frame" test for new message.
34021         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
34022         Remove some xfails
34023
34024 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
34025
34026         * gdb.t03/{gdbme.c,ptype.exp}:
34027         Add tests for typedef'd struct and union without tags.
34028         Also check "whatis" on a variable of a typedef'd enum without a tag.
34029
34030         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
34031         PRMS 1823; the bug still exists but isn't reproduced by this test
34032         anymore), and remove rs6000 XFAIL (the bug is fixed).
34033
34034         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
34035         duplicated from whatis.exp.  For those that are left, accept
34036         "long", "long int", or "int" for long variables (whatis.exp already
34037         has an XFAIL for "int", so no need to fail it here).
34038
34039         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
34040         Deal with GCC's names for types now that GDB uses the compiler's names.
34041
34042         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
34043         setup_xfail's for sunos4.  If we #defined the signed keyword away,
34044         don't expect GDB to know that char it is signed.
34045
34046         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
34047
34048 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
34049
34050         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
34051         should work on any system, regardless of debugging format.
34052         * gdb.t21/demangle.exp:  Move to gdb.t24.
34053         * gdb.t24/demangle.exp:  Move from gdb.t21.
34054         * gdb.t24/{Makefile.in, configure.in}:  New files.
34055
34056 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
34057
34058         * configure.in: Do gdb.stabs and C++ tests only for stabs.
34059         * gdb.stabs: New directory.
34060
34061 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
34062
34063         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
34064         not just "Quit anyway?".
34065
34066 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
34067
34068         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
34069         that all setup_xfails are immediately followed by clear_xfails.
34070
34071 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
34072
34073         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
34074         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
34075         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
34076         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
34077         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
34078         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
34079         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
34080         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
34081         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
34082         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
34083         gdb.t31/chillvars.exp, lib/gdb.exp:
34084         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
34085         bug-gdb@prep.ai.mit.edu.
34086
34087 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
34088
34089         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
34090         with 0.0, not integer 0.
34091
34092 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
34093
34094         * gdb.t06/break.exp: Update for "Kill the program" message change.
34095
34096 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
34097
34098         * Makefile.in (GDBFLAGS):  Set to -nx.
34099         * Makefile.in (site.exp):  Use GDBFLAGS.
34100
34101 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
34102
34103         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
34104           Makefiles.
34105           (check): depend on just-check.
34106           (just-check): added so that tests can be run without a noop
34107           build pass.
34108
34109 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
34110
34111         Switch to using configure's configdirs.
34112         * Makefile.in (Makefile): add configure.in dependency.
34113           (SUBDIRS): removed redundant assignment.
34114         * configure.in: switch subdirs assignment to configdirs.
34115         * gdb.t*/configure.in: new files.
34116
34117 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
34118
34119         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
34120         works.
34121
34122 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
34123
34124         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
34125         in explicit rules.  Apparently this is not supported by some makes.
34126
34127 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
34128
34129         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
34130
34131 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
34132
34133         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
34134         disappeared.
34135
34136 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
34137
34138         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
34139
34140 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
34141
34142         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
34143         watchpoint problem that is now fixed.
34144         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
34145         uninitialized convenience variables.
34146         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
34147         structures.
34148
34149 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
34150
34151         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
34152         which causes expect to get out of sync with gdb on long output
34153         from help set.
34154         * gdb.t09/corefile.exp: Make expected pattern for core file
34155         failing signal and frame output format less sun specific.
34156
34157 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
34158
34159         * gdb.t31/chillvars.exp:  Add and remove initial dummy
34160         breakpoint, so that symbol table is forced in.
34161         (Needed at least on Sunos4, though it seems not SVR4.)
34162         * gdb.t31/chillvars.exp:  Update for changed output format.
34163
34164 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
34165
34166         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
34167
34168 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
34169
34170         * Makefile.in: Added --srcdir when invoking runtest, removed the
34171         need for a local config file. (optional now)
34172
34173 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
34174
34175         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
34176         failure count used to force early termination.  Add some more
34177         expected failures for gnu style demangling.
34178
34179 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
34180
34181         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
34182         pmi variable from gdb.t20/gdbme to get optimized away.
34183         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
34184         Check for written corefile upon timeout _and_ eof.
34185
34186 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
34187
34188         * config/unix-gdb.exp:  Add missing return 0.
34189
34190 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
34191
34192         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
34193         test termination.
34194
34195 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
34196
34197         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
34198         disappeared.
34199
34200 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
34201
34202         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
34203         time as i860 support works.
34204
34205         * gdb.t15/funcargs.exp:  Fix expected outputs to include
34206         "backtrace 100\r" rather than just "backtrace\r", to match last
34207         change.
34208
34209 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
34210
34211         * config/udi-gdb.exp (gdb_exit): Remove close command.
34212         (gdb_target_udi): New procedure to set the UDI target.
34213         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
34214         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
34215         Added waits for prompts after several question responses.  Added
34216         some more responses used by a29k-amd-udi-gdb.
34217         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
34218         pass different arguments, restart UDI connection after program
34219         completion.
34220         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
34221         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
34222         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
34223         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
34224         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
34225         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
34226         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
34227         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
34228         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
34229         after program completion.
34230         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
34231         compiled with a SELECT_VECS setting.
34232         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
34233         infinite recursion.
34234
34235         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
34236         Added checks for COFF results, and made them expected failures for
34237         all targets.  It would be better to make them expected failures
34238         for COFF targets only.
34239
34240 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
34241
34242         * Makefile.in: add null dvi target, don't bother to recurse
34243         through test directories for info and install-info; rename
34244         $(datadir) to be dejagnu instead of deja-gnu
34245
34246 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
34247
34248         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
34249         compiler to coredump.
34250         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
34251         code.
34252
34253 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
34254
34255         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
34256         coredump.
34257         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
34258         code.
34259
34260 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
34261
34262         * gdb.t03/ptype.exp: tests for return code from gdb_test.
34263         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
34264         which in a shell. Deletes xgdb when done.
34265         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
34266         Tests the return from the "set height" or "set width" commands.
34267         Added a few return codes where needed.
34268
34269 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
34270
34271         * Makefile.in (SUBDIRS):  Add gdb.t17.
34272         * configure.in (subdirs):  Add gdb.t17.
34273         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
34274         files to test gdb's calling of functions in the inferior with
34275         the correct arguments and gdb's ability to retrieve any
34276         result returned.
34277
34278 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
34279
34280         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
34281         may be called after gdb goes away.  Previous versions of expect
34282         needed these to avoid file descriptor leaks, but they cause
34283         errors with the current revision of expect.
34284         * gdb.t00/gdbvars.exp:  Use -re on expected output after
34285         setting sevenbit-strings.
34286         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
34287         to set sevenbit-strings consistent across tests.
34288         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
34289         set sevenbit-strings consistent across tests.
34290
34291 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
34292
34293         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
34294         expected output to match current "expect" expectations.
34295
34296 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
34297
34298         * gdb.t00/default.exp:  Change expected output for default "source"
34299         command, to match new gdb behavior which requires a filename to
34300         source.
34301
34302 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
34303
34304         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
34305         expected fail for i486-*-* that misses the marker2 function.
34306         * gdb.t10/crossload.exp (bfddefault):  Allow successful
34307         recognition of a format to pass even if no symbols are found.
34308         Explicitly catch failures where the format is not recognized
34309         or is ambiguous, and add the reason to the fail message.
34310         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
34311         the cause is and invalid target and add reason to failure message.
34312         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
34313         elf32-i386, elf32-sparc, and elf32-i860.
34314         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
34315         Set up expected failure for 'filename'::variable scope resolution,
34316         which is now apparently broken on all targets.
34317         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
34318         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
34319         gdb.t23/templates.exp:   Change failure for missing binfile into
34320         just a warning.
34321         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
34322         references.
34323
34324 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
34325
34326         * gdb.t00/default.exp:  Add expected output for default "source"
34327         command, to match new gdb behavior.
34328         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
34329
34330 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
34331
34332         * config/*-gdb.exp: returns an error, rather than exiting on
34333         internal errors.
34334
34335 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
34336
34337         * gdb.t03/gdbme.c:  Add pointer to struct variable.
34338         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
34339         referencing struct members.
34340
34341 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
34342
34343         * configure.in (mips-idt-ecoff): New target.
34344         * config/mips-gdb.exp: New file for remote board using MIPS remote
34345         debugging protocol.
34346
34347         * Redid configuration scheme.  Removed gdb.t*/configure.in.
34348         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
34349         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
34350         distclean targets.  Built executables via .o files.  Adjusted
34351         tests to account for source files in $(srcdir) rather than
34352         $(objdir).
34353         * lib/gdb.exp (runto): Don't expect () after the function name,
34354         because it may have arguments.
34355
34356 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
34357
34358         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
34359         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
34360         expected failures for mips-idt-* and mips-sgi-*.
34361         * gdb.t00/default.exp (attach): Kill process if requested.
34362         * gdb.t00/help.exp (help target core, help target): Accept a gdb
34363         that does not read core files.
34364         * gdb.t01/run.exp: Removed checks for exit status code.
34365         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
34366         it is linked in.
34367         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
34368         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
34369         appropriate, rather than doing it by hand.
34370         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
34371         execution.
34372         * gdb.t10/crossload.exp: Kill existing program if needed.
34373         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
34374         appropriate, rather than doing it by hand.  Always increase
34375         timeout for this test, not just for VxWorks.
34376
34377 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
34378
34379         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
34380         of Chill STRUCT types and STRUCT values.
34381         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
34382         than "char".
34383         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
34384         struct2):  New struct definitions and initializations to test
34385         simple Chill STRUCT types.
34386
34387 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
34388
34389         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
34390         the null byte at the end of strings.
34391         * gdb.t00/default.exp:  Make show version insensitive to copyright
34392         date.
34393         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
34394         to avoid dependencies on target char signedness.
34395         * gdb.t16/printcmds.exp:  Update expected results for explicitly
34396         unsigned char.
34397         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
34398         now work.
34399         * gdb.t21/demangle.exp:  Add many more patterns for template
34400         demangling, most of them being expected failures.
34401         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
34402         string we are matching for, to match on the whole string.
34403         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
34404         and fix a whole bunch that had incorrect expected output but were
34405         passing anyway because of the bug in "proc demangle".
34406         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
34407         type.
34408         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
34409
34410 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
34411
34412         * gdb/testsuite: made modifications to testcases, etc., to allow
34413         them to work properly  given the reorganization of deja-gnu and the
34414         relocation of the testcases from deja-gnu to a "tool" subdirectory.
34415
34416 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
34417
34418         * gdb/testsuite: Initial creation of gdb/testsuite.
34419         Migrated dejagnu testcases and support files for testing nm to
34420         gdb/testsuite from deja-gnu.  These files were moved "as is"
34421         with no modifications.  This migration is part of a major overhaul
34422         of dejagnu.  The modifications to these testcases, etc., which
34423         will allow them to work with the new version of dejagnu will be
34424         made in a future update.
34425
34426  For additional changes see gdb.mi/ChangeLog-1999-2003.
34427 \f
34428 ;; Local Variables:
34429 ;; mode: change-log
34430 ;; left-margin: 8
34431 ;; fill-column: 74
34432 ;; version-control: never
34433 ;; End:
34434
34435     Copyright 1993-2014 Free Software Foundation, Inc.
34436   Copying and distribution of this file, with or without modification,
34437   are permitted provided the copyright notice and this notice are preserved.