2012-05-04 Tristan Gingold <gingold@adacore.com>
[platform/upstream/binutils.git] / gdb / testsuite / ChangeLog
1 2012-05-04  Tristan Gingold  <gingold@adacore.com>
2
3         * gdb.base/set-noassign.exp: New test.
4
5 2012-05-03  Siva Chandra Reddy  <sivachandra@google.com>
6
7         * gdb.python/py-symbol.exp: Add tests to test the new methods
8         gdb.Symtab.global_block() and gdb.Symtab.static_block().
9         * gdb.python/py-symbol.c: Add new struct to help test
10         gdb.Symtab.static_block().
11
12 2012-05-03  Doug Evans  <dje@google.com>
13
14         * gdb.dwarf2/pr13961.S: Add file and source location, but leave
15         commented out.
16
17 2012-05-03  Yao Qi  <yao@codesourcery.com>
18
19         * gdb.base/catch-syscall.exp: Skip it before compilation if target
20         doesn't support.
21         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
22         * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
23
24 2012-05-03  Yao Qi  <yao@codesourcery.com>
25
26         * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
27
28 2012-04-30  Doug Evans  <dje@google.com>
29
30         PR testsuite/13961
31         * gdb.dwarf2/pr13961.S: New file.
32         * gdb.dwarf2/pr13961.exp: New file.
33
34 2012-04-29  Yao Qi  <yao@codesourcery.com>
35
36         * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
37
38 2012-04-28  Doug Evans  <dje@google.com>
39
40         * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
41         .Ltype_int_in_cu2.  Use name "int2" instead of "int".
42         All uses updated.
43         * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
44         "ptype func_cu1" to expand cu2 before cu1.
45
46 2012-04-27  Sergio Durigan Junior  <sergiodj@redhat.com>
47             Tom Tromey  <tromey@redhat.com>
48
49         * gdb.base/default.exp: Add `$_probe_arg*' convenience
50         variables.
51         * gdb.base/stap-probe.c: New file.
52         * gdb.base/stap-probe.exp: New file.
53         * gdb.trace/stap-trace.c: New file.
54         * gdb.trace/stap-trace.exp: New file.
55         * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
56         libgcc's unwinder.
57
58 2012-04-26  Maciej W. Rozycki  <macro@codesourcery.com>
59
60         * gdb.arch/mips16-thunks-inmain.c: New file.
61         * gdb.arch/mips16-thunks-main.c: New file.
62         * gdb.arch/mips16-thunks-sin.c: New file.
63         * gdb.arch/mips16-thunks-sinfrob.c: New file.
64         * gdb.arch/mips16-thunks-sinfrob16.c: New file.
65         * gdb.arch/mips16-thunks-sinmain.c: New file.
66         * gdb.arch/mips16-thunks-sinmips16.c: New file.
67         * gdb.arch/mips16-thunks.exp: New file.
68
69 2012-04-25  Doug Evans  <dje@google.com>
70
71         * configure.ac: Create gdb.go/Makefile.
72         * configure: Regenerate.
73         * gdb.base/default.exp: Add "go" to "set language" testing.
74         * gdb.go/Makefile.in: New file.
75         * gdb.go/basic-types.exp: New file.
76         * gdb.go/chan.exp: New file.
77         * gdb.go/chan.go: New file.
78         * gdb.go/handcall.exp: New file.
79         * gdb.go/handcall.go: New file.
80         * gdb.go/hello.exp: New file.
81         * gdb.go/hello.go: New file.
82         * gdb.go/integers.exp: New file.
83         * gdb.go/integers.go: New file.
84         * gdb.go/methods.exp: New file.
85         * gdb.go/methods.go: New file.
86         * gdb.go/package.exp: New file.
87         * gdb.go/package1.go: New file.
88         * gdb.go/package2.go: New file.
89         * gdb.go/print.exp: New file.
90         * gdb.go/strings.exp: New file.
91         * gdb.go/strings.go: New file.
92         * gdb.go/types.exp: New file.
93         * gdb.go/types.go: New file.
94         * gdb.go/unsafe.exp: New file.
95         * gdb.go/unsafe.go: New file.
96         * lib/future.exp: Add Go support.
97         (gdb_find_go, gdb_find_go_linker): New procs.
98         (gdb_default_target_compile): Add Go support.
99         * lib/gdb.exp (skip_go_tests): New proc.
100         * lib/go.exp: New file.
101
102 2012-04-25  Tom Tromey  <tromey@redhat.com>
103
104         * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
105
106 2012-04-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
107             Jan Kratochvil  <jan.kratochvil@redhat.com>
108
109         PR symtab/7259:
110         * gdb.base/enumval.c: New test case.
111         * gdb.base/enumval.exp: New test case.
112         * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
113         field.bitpos.
114
115 2012-04-17  Pedro Alves  <palves@redhat.com>
116
117         * Makefile.in (site.exp): Make site.exp source
118         $srcdir/lib/append_gdb_boards_dir.exp.
119         * lib/append_gdb_boards_dir.exp: New file.
120
121 2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
122
123         New option "set auto-load safe-path".
124         * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
125         * gdb.python/py-section-script.exp (set auto-load safe-path): New.
126
127 2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
128
129         auto-load: Implementation.
130         * gdb.base/help.exp (test set height): Increase the height.
131         * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
132         to ...
133         (info auto-load python-scripts): ... here.
134         * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
135         to ...
136         (info auto-load python-scripts *): ... here.
137
138 2012-04-16  Yao Qi  <yao@codesourcery.com>
139
140         * lib/trace-support.exp (get_in_proc_agent): New.
141         * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
142         of in process trace agent.
143         * gdb.trace/ftrace.exp: Likewise.
144         * gdb.trace/pending.exp: Likewise.
145         * gdb.trace/trace-break.exp: Likewise.
146         * gdb.trace/trace-mt.exp
147         * gdb.trace/tspeed.exp: Likewise.
148         * gdb.trace/tstatus.exp
149         * gdb.trace/strace.exp: Likewise.
150
151 2012-04-16  Thomas Schwinge  <thomas@codesourcery.com>
152
153         * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
154         symbol _stack is defined.  Get rid of a hard-coded constant for _stack.
155
156         * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
157
158 2012-04-14  Anton Gorenkov <xgsa@yandex.ru>
159
160         PR mi/13393
161         * gdb.mi/mi-var-rtti.cc: New file.
162         * gdb.mi/mi-var-rtti.exp: New file.
163         * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
164         function.
165         (mi_varobj_update_with_type_change): updated to avoid code duplication.
166
167 2012-04-11  Siva Chandra Reddy  <sivachandra@google.com>
168
169         * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
170         EXECUTABLES.
171         * gdb.python/py-explore.c: C program used for testing the new
172         'explore' command on C constructs.
173         * gdb.python/py-explore.cc: C++ program used for testing the new
174         'explore' command on C++ constructs.
175         * gdb-python/py-explore.exp: Tests for the new 'explore'
176         command on C constructs.
177         * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
178         command on C++ constructs.
179
180 2012-04-07  Mark Kettenis  <kettenis@gnu.org>
181
182         * gdb.base/funcargs.exp (complex_args): Fix typo.
183
184 2012-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
185
186         * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
187         (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
188
189 2012-04-05  Keith Seitz  <keiths@redhat.com>
190
191         * gdb.base/advance.exp: Update error message for
192         "advance malformed" test.
193         * gdb.base/break.exp: Likewise for "breakpoint with
194         trailing garbage" test.
195         * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
196         with trailing garbage" test.
197         * gdb.base/sepdebug.exp: Likewise for "breakpoint with
198         trailng garbage" test.
199         * gdb.base/until.exp: Likewise for "malformed until" test.
200         * gdb.cp/ovldbreak.exp: Create the breakpoint table
201         for "breakpoint info (after setting on all)".
202         * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
203         tests.
204         * gdb.cp/cplabel.cc: New file.
205         * gdb.cp/cplabel.exp: New test.
206         * gdb.linespec/ls-errs.c: New file.
207         * gdb.linespec/ls-errs.exp: New test.
208
209 2012-04-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
210
211         * gdb.trace/unavailable.exp
212         (collect globals: print object on: print derived_partial)
213         (collect globals: print object on: print derived_whole)
214         (collect globals: print object off: print derived_partial)
215         (collect globals: print object off: print derived_whole): Update
216         expected output.
217
218 2012-03-30  Keith Seitz  <keiths@redhat.com>
219
220         * gdb.python: Add test for linespecs with commas.
221
222 2012-03-28  Keith Seitz  <keiths@redhat.com>
223
224         * gdb.linespec/ls-dollar.cc: New file.
225         * gdb.linespec/ls-dollar.exp: New test.
226
227 2012-03-28  Keith Seitz  <keiths@redhat.com>
228
229         * gdb.cp/namespace.exp: Add breakpoint tests for functions
230         starting with the global namespace.
231
232 2012-03-23  Doug Evans  <dje@google.com>
233
234         * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
235
236 2012-03-22  Siva Chandra Reddy  <sivachandra@google.com>
237
238         * gdb.python/py-value.cc: Add test case for testing the
239         methodology exposing C++ values to Python.
240         * gdb.python/py-value-cc.exp: Add tests testing the methodology
241         exposing C++ values to Python.
242         * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
243
244 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
245             Siddhesh Poyarekar  <siddhesh@redhat.com>
246
247         * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
248         * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
249         (generate native core dump): Make the test unsupported if core cannot
250         be generated.
251
252 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
253
254         * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
255         for cmdarg_vec = NULL.  Remove entries for cmdsize = 1, cmdarg = and
256         ncmd = 0.  New entry for VEC_cleanup cmdarg_s.
257
258 2012-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
259
260         * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
261
262 2012-03-17  Doug Evans  <dje@google.com>
263
264         * dg-extract-results.sh: Handle KFAILs.
265
266 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
267
268         PR symtab/13777
269         * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
270
271 2012-03-16  Joel Brobecker  <brobecker@adacore.com>
272
273         * gdb.ada/set_pckd_arr_elt: New testcase.
274
275 2012-03-16  Gary Benson  <gbenson@redhat.com>
276
277         PR breakpoints/10738
278         * gdb.opt/inline-break.exp: New file.
279         * gdb.opt/inline-break.c: Likewise.
280         * gdb.dwarf2/dw2-inline-break.exp: Likewise.
281         * gdb.dwarf2/dw2-inline-break.S: Likewise.
282         * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
283         * gdb.base/async-shell.exp: Likewise.
284         * lib/mi-support.exp (library_loaded_re): Likewise.
285
286 2012-03-15  Tom Tromey  <tromey@redhat.com>
287
288         * gdb.cp/virtfunc2.exp: Update expected output.
289         * gdb.cp/pr9631.exp: Update expected output.
290         * gdb.cp/member-ptr.exp: Update expected output.
291         * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
292         output.
293         * gdb.cp/casts.exp: Update expected output.
294
295 2012-03-15  Tom Tromey  <tromey@redhat.com>
296
297         * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
298         (test_info_vtbl): Likewise.
299         (do_tests): Call test_info_vtbl.
300         * gdb.cp/virtfunc.cc (va): New global.
301
302 2012-03-15  Thomas Schwinge  <thomas@codesourcery.com>
303
304         * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
305         describing DWARF data structures.
306         * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
307         * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
308         * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
309         * gdb.dwarf2/dw2-entry-value.S: Likewise.
310         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
311         * gdb.dwarf2/dw2-param-error.S: Likewise.
312         * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
313         * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
314         * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
315         * gdb.dwarf2/implptr-optimized-out.S: Likewise.
316         * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
317         * gdb.dwarf2/pr11465.S: Likewise.
318
319 2012-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
320
321         * gdb.mi/mi2-prompt.exp: New file.
322
323 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
324
325         * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
326
327 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
328
329         * gdb.ada/bp_range_type: New testcase.
330
331 2012-03-13  Doug Evans  <dje@google.com>
332
333         * gdb.base/default.exp: Delete tests for symbol-reloading.
334         * gdb.base/help.exp: Ditto.
335         * gdb.base/setshow.exp: Ditto.
336         * gdb.base/gdb_history: Delete references to symbol-reloading.
337
338 2012-03-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
339
340         * gdb.base/attach-twice.c: New files.
341         * gdb.base/attach-twice.exp: New files.
342
343 2012-03-08  Keith Seitz  <keiths@redhat.com>
344
345         * lib/gdb.exp (gdb_get_line_number): Throw an
346         error instead of returning -1.
347         * gdb.base/break.exp: Remove unused variable
348         bp_location5.
349         * gdb.base/hbreak2.exp: Likewise.
350         * gdb.base/sepdebug.exp: Likewise.
351
352 2012-03-08  Yao Qi  <yao@codesourcery.com>
353             Pedro Alves  <palves@redhat.com>
354
355         Fix PR server/13392.
356         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
357         (tracepoint_change_loc_2): Remove kfail.  Return if failed to
358         download tracepoints.
359         * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
360         (pending_tracepoint_resolved_during_trace): Likewise.
361         (pending_tracepoint_installed_during_trace): Likewise.
362         (pending_tracepoint_with_action_resolved): Likewise.
363
364 2012-03-08  Keith Seitz  <keiths@redhat.com>
365
366         * gdb.ada/array_bounds.exp: Get breakpoint for line
367         with "START", not "STOP".
368         * gdb.python/py-infthread.exp: Do not continue to
369         line marked "Break here.", which is undefined.
370
371 2012-03-08  Luis Machado  <lgustavo@codesourcery.com>
372
373         Revert:
374
375         2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
376
377         Implement testsuite workaround for PR breakpoints/13781.
378         * gdb.cp/mb-templates.exp: New loop with variable $workaround.
379         (set breakpoint condition-evaluation host): New conditional command.
380
381 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
382
383         Fix CU relative vs. absolute DIE offsets.
384         * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
385         one.
386
387 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
388
389         Fix false FAIL on distros with relro linkage as default.
390         * gdb.reverse/solib-precsave.exp: Try to compile the test using
391         -Wl,-z,norelro first.
392
393 2012-03-06  Joel Brobecker  <brobecker@adacore.com>
394
395         * gdb.ada/bp_on_var: New testcase.
396
397 2012-03-06  Joel Brobecker  <brobecker@adacore.com>
398
399         * gdb.ada/bp_enum_homonym: New testcase.
400
401 2012-03-06  Yao Qi  <yao@codesourcery.com>
402
403         * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
404         x86_64-*-* and i?86-*-*.
405         Set up KFAIL for gdb/13808.
406
407 2012-03-05  Tom Tromey  <tromey@redhat.com>
408
409         * gdb.ada/operator_bp.exp: Clear debug-file-directory.
410         * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
411
412 2012-03-05  Tom Tromey  <tromey@redhat.com>
413
414         * gdb.java/jprint.java (jprint.main): Keep 'x' live.
415
416 2012-03-04  Yao Qi  <yao@codesourcery.com>
417
418         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
419         messages for KFAIL.
420
421 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
422
423         * gdb.ada/arrayidx.exp: Call get_compiler_info.  New variable old_gcc.
424         (print one_two_three, indexes off, print few_reps, indexes off)
425         (print many_reps, indexes off, print empty, indexes off)
426         (print one_two_three, print few_reps, print many_reps, print empty):
427         Call setup_xfail if $gcc_old.
428
429 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
430
431         Implement testsuite workaround for PR breakpoints/13781.
432         * gdb.cp/mb-templates.exp: New loop with variable $workaround.
433         (set breakpoint condition-evaluation host): New conditional command.
434
435 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
436
437         Code cleanup.
438         * gdb.cp/mb-templates.exp: New variables executable.  Use it for
439         binfile.  use clean_restart.  Replace gdb_expect by gdb_test_multiple.
440         Replace GDB restart by kill and delete_breakpoints.  Replace breakpoint
441         number 1 by $bpnum.  Four times.
442
443 2012-03-03  Yao Qi  <yao@codesourcery.com>
444
445         * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
446
447 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
448
449         Setup KFAIL for PR server/13796.
450         * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
451
452 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
453
454         * gdb.ada/operator_bp: New testcase.
455
456 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
457
458         * gdb.ada/info_locals_renaming: New testcase.
459
460 2012-03-02  Tom Tromey  <tromey@redhat.com>
461
462         * gdb.base/nextoverexit.c: New file.
463         * gdb.base/nextoverexit.exp: New file.
464
465 2012-03-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
466
467         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
468         parameter.
469
470 2012-03-01  Maciej W. Rozycki  <macro@mips.com>
471
472         * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
473         core registers.
474
475 2012-03-01  Maciej W. Rozycki  <macro@mips.com>
476             Maciej W. Rozycki  <macro@codesourcery.com>
477             Daniel Jacobowitz  <dan@codesourcery.com>
478
479         * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
480
481 2012-03-01  Pedro Alves  <palves@redhat.com>
482
483         PR gdb/13767
484
485         * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
486         (gdb_collect_globals_test): Call it.
487
488 2012-03-01  Keith Seitz  <keiths@redhat.com>
489
490         * gdb.cp/method2.exp: Output of overload menu is now
491         alphabetized.  Update tests for "break A::method".
492         * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
493         of hard-coding them.
494         Overload menu is alphabetized: rewrite to accommodate.
495         Unset variables LINE and TYPES which are used in other tests.
496         Compute the output of "info break".
497         Update the breakpoint table after all breakpoints are deleted.
498         (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
499         compute ACTUALS and the method body based on parameters.
500         Update expected output accordingly.
501         * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
502         unique comments to allow the use of gdb_get_line_number.
503
504 2012-03-01  Keith Seitz  <keiths@redhat.com>
505
506         * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
507         some Tcl syntax.
508         * gdb.cp/ovldbreak.exp: Likewise.
509
510 2012-03-01  Keith Seitz  <keiths@redhat.com>
511
512         * gdb.base/help.exp (help show user): Update expected result
513         for new doc string changes (add "non-python").
514
515 2012-03-01  Scott J. Goldman <scottjg@vmware.com>
516
517         * gdb.python/py-cmd.exp: Add test to verify that python commands can
518         be put in the user-defined category and that the commands appear in
519         "help user-defined".
520
521 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
522
523         * gdb.ada/tagged_not_init: New testcase.
524
525 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
526
527         * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
528         * gdb.ada/enum_idx_packed: New testcase.
529
530 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
531
532         * gdb.ada/aliased_array: New testcase.
533
534 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
535
536         * gdb.ada/whatis_array_val: New testcase.
537
538 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
539
540         Fix disp-step-syscall.exp: fork: single step over fork.
541         * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
542         whitespaces.
543         (single step over $syscall): Remove its check.
544         (single step over $syscall final pc): New check.
545
546 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
547
548         Support processors without SSSE3.
549         * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
550         pabsd into ...
551         (ssse3_test): ... a new function.
552         (main): Call ssse3_test.
553         * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
554         Update expected values everywhere.
555         (reverse-step to pabsd, verify xmm0 after reverse pabsd)
556         (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
557         (reverse-step to pabsw, verify xmm0 after reverse pabsw)
558         (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
559         (reverse-step to pabsb, verify xmm0 after reverse pabsb)
560         (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
561         Move these tests lower.
562         (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
563         (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
564         (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
565         New tests.
566
567 2012-02-29  Yao Qi  <yao@codesourcery.com>
568             Pedro Alves  <palves@redhat.com>
569
570         * gdb.trace/trace-mt.c: New.
571         * gdb.trace/trace-mt.exp: New.
572
573 2012-02-28  Thomas Schwinge  <thomas@codesourcery.com>
574
575         * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
576         numbers instead of hardcoding them.
577         * gdb.base/annota1.c: Provide suitable markers.
578         * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
579         numbers instead of hardcoding them.
580         * gdb.base/annota3.c: Provide suitable markers.
581
582         * gdb.base/annota1.c [__sh__]: Remove any special-casing.
583         * gdb.base/annota3.c: Likewise.
584         * gdb.base/sigall.c: Likewise.
585         * gdb.base/signals.c: Likewise.
586         * gdb.reverse/sigall-reverse.c: Likewise.
587
588 2012-02-27  Maciej W. Rozycki  <macro@codesourcery.com>
589
590         * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
591         failure return path.
592
593 2012-02-27  Luis Machado  <lgustavo@codesourcery.com>
594
595         * gdb.base/save-bp.exp: Account for new condition evaluator output.
596
597 2012-02-24  Luis Machado  <lgustavo@codesourcery.com>
598
599         * gdb.base/cond-eval-mode.exp: New file.
600
601 2012-02-24  Pedro Alves  <palves@redhat.com>
602
603         * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
604         (top level): Use with_test_prefix.
605
606 2012-02-24  Pedro Alves  <palves@redhat.com>
607
608         * gdb.threads/attach-into-signal.exp (corefunc): Use
609         with_test_prefix.
610
611 2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
612
613         Fix false FAILs on old CPUs without SSE.
614         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
615         Return untested for Illegal instruction.
616
617 2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
618
619         Fix false FAILs with glibc debug infos installed.
620         * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
621         * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
622
623 2012-02-22  Sterling Augustine  <saugustine@google.com>
624
625         * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
626         constant with cast.
627
628 2012-02-21  Pedro Alves  <palves@redhat.com>
629
630         * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
631
632 2012-02-21  Pedro Alves  <palves@redhat.com>
633
634         * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
635
636 2012-02-21  Pedro Alves  <palves@redhat.com>
637
638         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
639         with_test_prefix.
640
641 2012-02-21  Pedro Alves  <palves@redhat.com>
642
643         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
644         with_test_prefix here.
645         (top level): Do it here instead.  Remove `:' from the
646         with_test_prefix string.
647         * gdb.base/attach-pie-misread.exp: Remove the leading space the
648         the suffix `:' from the with_test_prefix prefix string.
649         * gdb.base/break-interp.exp: Ditto.
650         * gdb.base/catch-load.exp: Ditto.
651         * gdb.base/disp-step-syscall.exp: Ditto.
652         * gdb.base/jit-so.exp: Ditto.
653         * gdb.base/jit.exp: Ditto.
654         * gdb.base/sepdebug.exp: Ditto.
655         * gdb.base/solib-display.exp: Ditto.
656         * gdb.base/solib-overlap.exp: Ditto.
657         * gdb.base/watch-cond-infcall.exp: Ditto.
658         * gdb.base/watchpoint.exp: Ditto.
659         * gdb.dwarf2/dw2-noloc.exp: Ditto.
660         * gdb.mi/mi-watch.exp: Ditto.
661         * gdb.mi/mi2-watch.exp: Ditto.
662         * gdb.threads/non-ldr-exc-1.exp: Ditto.
663         * gdb.threads/non-ldr-exc-2.exp: Ditto.
664         * gdb.threads/non-ldr-exc-3.exp: Ditto.
665         * gdb.threads/non-ldr-exc-4.exp: Ditto.
666         * gdb.threads/watchpoint-fork.exp: Ditto.
667         * gdb.threads/watchthreads-reorder.exp: Ditto.
668         * gdb.trace/change-loc.exp: Ditto.
669         * gdb.trace/pending.exp: Ditto.
670         * gdb.trace/status-stop.exp: Ditto.
671         * gdb.trace/strace.exp: Ditto.
672         * gdb.trace/trace-break.exp: Ditto.
673         * gdb.trace/unavailable.exp: Ditto.
674         * lib/gdb.exp (with_test_prefix): Always prefix with space and
675         suffix with colon.  Adjust leading comments.
676
677 2012-02-21  Pedro Alves  <palves@redhat.com>
678             Tom Tromey  <tromey@redhat.com>
679
680         * lib/gdb.exp: Add description of test prefixes.
681         (with_test_prefix): New procedure.
682         * gdb.arch/altivec-abi.exp: Use with_test_prefix.
683         * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
684         * gdb.base/break-interp.exp: Use with_test_prefix.  Use append
685         instead of lappend to append to pf_prefix.
686         * gdb.base/catch-load.exp: Use with_test_prefix.
687         * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
688         * gdb.base/jit-so.exp: Use with_test_prefix.
689         * gdb.base/jit.exp: Use with_test_prefix.
690         * gdb.base/return-nodebug.exp (do_test): Use append instead of
691         lappend to append to pf_prefix.
692         * gdb.base/sepdebug.exp: Use with_test_prefix.
693         * gdb.base/solib-display.exp: Use with_test_prefix.
694         * gdb.base/solib-overlap.exp: Use with_test_prefix.
695         * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
696         * gdb.base/watchpoint.exp: Use with_test_prefix.
697         * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
698         * gdb.mi/mi-watch.exp: Use with_test_prefix.
699         * gdb.mi/mi2-watch.exp: Use with_test_prefix.
700         * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
701         * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
702         * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
703         * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
704         * gdb.threads/watchpoint-fork.exp: Use with_test_prefix.  Use
705         append instead of lappend to append to pf_prefix.
706         * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
707         * gdb.trace/change-loc.exp: Use with_test_prefix.
708         * gdb.trace/pending.exp: Use with_test_prefix.
709         * gdb.trace/status-stop.exp: Use with_test_prefix.
710         * gdb.trace/strace.exp: Use with_test_prefix.
711         * gdb.trace/trace-break.exp: Use with_test_prefix.
712         * gdb.trace/unavailable.exp: Use with_test_prefix.  Use append
713         instead of lappend to append to pf_prefix.
714
715 2012-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
716
717         Fix racy FAILs.
718         * gdb.base/inferior-died.c (main): Add return of 0.
719         * gdb.base/inferior-died.exp (continue): Fix expectation of
720         asynchronous events.
721         (p 1): New test.
722
723 2012-02-20  Pedro Alves  <palves@redhat.com>
724
725         * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
726         lin-lwp output.  Set SIGALRM to stop.  Adjust tests to not rely on
727         gdb's internal debug output.  For the non-threaded case, look for
728         "Program received signal SIGLARM", for the threaded case, peek at
729         the thread's siginfo.
730
731 2012-02-20  Pedro Alves  <palves@redhat.com>
732
733         General cleanup, make output test messages unique, and build
734         different executable files for the non-threaded and threaded
735         cases.
736
737         * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
738         Delete.
739         (executable_nothr, executable_thr): New globals.
740         (top level): Adjust to delete both executables.
741         (corefunc): New parameter $executable.  Set $pf_prefix instead of
742         hand writing a prefix in tests.  Issue a clean_restart and enable
743         lin-lwp debug output here.
744         (top level): Adjust.  Use build_executable.  Don't start gdb here,
745         and don't enable lin-lwp debug output here.
746         * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
747
748 2012-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
749
750         Fix racy FAILs.
751         * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
752         "continue" command.
753
754 2012-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
755
756         Fix for gdbserver non-extended mode.
757         * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
758         and gdb_run_cmd.
759
760 2012-02-17  Tom Tromey  <tromey@redhat.com>
761
762         * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
763         * gdb.python/py-events.exp: Check 'dir' output.
764         * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
765
766 2012-02-17  Yao Qi  <yao@codesourcery.com>
767
768         * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
769
770 2012-02-16  Tom Tromey  <tromey@redhat.com>
771
772         * gdb.base/inferior-died.c: Don't include stdio.h.
773
774 2012-02-16  Tom Tromey  <tromey@redhat.com>
775
776         * gdb.base/inferior-died.c: New file.
777         * gdb.base/inferior-died.exp: New file.
778
779 2012-02-15  Aleksandar Ristovski  <aristovski@qnx.com>
780
781         * gdb.base/break-inline.exp: New file.
782         * gdb.base/break-inline.c: New file.
783
784 2012-02-15  Tom Tromey  <tromey@redhat.com>
785
786         * gdb.base/pc-fp.exp: Add "info register" tests.
787
788 2012-02-15  Tom Tromey  <tromey@redhat.com>
789
790         * gdb.base/regs.exp: Remove.
791
792 2012-02-15  Pedro Alves  <palves@redhat.com>
793
794         * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
795         the target doesn't support tracepoints.
796         * gdb.trace/circ.exp: Ditto.
797         * gdb.trace/collection.exp: Ditto.
798         * gdb.trace/packetlen.exp: Ditto.
799         * gdb.trace/passc-dyn.exp: Ditto.
800         * gdb.trace/report.exp: Ditto.
801         * gdb.trace/tfind.exp: Ditto.
802         * gdb.trace/tspeed.exp: Ditto.
803         * gdb.trace/tsv.exp: Ditto.
804         * gdb.trace/unavailable.exp: Ditto.
805         * gdb.trace/while-dyn.exp: Ditto.
806
807 2012-02-15  Pedro Alves  <palves@redhat.com>
808
809         * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
810         gdb_test_multiple, and call unsupported instead of fail, if the
811         remote side does not support the request.
812
813 2012-02-15  Pedro Alves  <palves@redhat.com>
814
815         * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
816         * gdb.server/ext-run.exp: Make sure gdb is disconnected.
817         * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
818         * gdb.server/server-mon.exp: Make sure gdb is disconnected.
819         * gdb.server/server-run.exp: Make sure gdb is disconnected.
820         * lib/gdbserver-support.exp (gdbserver_start_extended): Only
821         prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
822         doesn't start with "extended-" already.
823
824 2012-02-15  Pedro Alves  <palves@redhat.com>
825
826         Support extended-remote.  Avoid cascading timeouts.
827
828         * gdb.base/attach.exp (do_attach_tests): Add expected output for
829         the extended-remote target.  If attaching with no file fails, load
830         the file manually.
831         * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
832
833 2012-02-14  Stan Shebs  <stan@codesourcery.com>
834
835         * gdb.base/ena-dis-br.exp: Add enable count test.
836
837 2012-02-13  Pedro Alves  <palves@redhat.com>
838
839         * config/mips-idt.exp: Delete.
840         * gdb.base/a2-run.exp: Remove mips-idt xfails.
841         * gdb.base/bitfields.exp: Remove mips-idt restarts.
842         * gdb.base/break.exp: Remove mips-idt references.
843         * gdb.base/chng-syms.exp: Ditto.
844         * gdb.base/default.exp: Ditto.
845         * gdb.base/funcargs.exp (funcargs_reload): Delete.
846         (top level): Don't call it.
847         * gdb.base/opaque.exp: Remove mips-idt restarts.
848         * gdb.base/ptype.exp: Remove mips-idt xfails.
849         * gdb.base/scope.exp: Remove mips-idt restarts.
850         * gdb.base/sepdebug.exp: Remove mips-idt references.
851         * gdb.base/watchpoint.exp (maybe_clean_restart)
852         (maybe_reinitialize): Delete.
853         (test_disabling_watchpoints, test_disabling_watchpoints)
854         (test_watchpoint_triggered_in_syscall)
855         (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
856         Don't call them.
857
858 2012-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
859
860         * gdb.server/server-exec-info.exp: New file.
861
862 2012-02-10  Pedro Alves  <palves@redhat.com>
863
864         * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
865         always non-empty.
866         (test_attach): Always pass $exec to test_attach_gdb.
867
868 2012-02-08  Tom Tromey  <tromey@redhat.com>
869
870         * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
871         before inferior is started.
872
873 2012-02-07  Tom Tromey  <tromey@redhat.com>
874
875         * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
876         Symbol.value.
877         * gdb.python/py-symbol.c (qq): Set default value.
878
879 2012-02-07  Tom Tromey  <tromey@redhat.com>
880
881         * gdb.python/py-symbol.c (qq): New global.
882         * gdb.python/py-symbol.exp: Add test for frame-less
883         lookup_symbol.
884         * gdb.python/py-symtab.exp: Fix line number.
885
886 2012-02-03  Joel Brobecker  <brobecker@adacore.com>
887
888         * gdb.ada/mi_task_arg: New testcase.
889
890 2012-02-02  Pedro Alves  <palves@redhat.com>
891
892         * gdb.reverse/until-precsave.exp: Also put "record save" under the
893         extended timeout.
894
895 2012-02-02  Pedro Alves  <palves@redhat.com>
896
897         * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
898         * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
899
900 2012-02-02  Pedro Alves  <palves@redhat.com>
901
902         * gdb.base/term.exp: Rewrite.
903         * gdb.base/term.c: New.
904
905 2012-02-02  Pedro Alves  <palves@redhat.com>
906
907         * gdb.base/default.exp (run "r" abbreviation, run): Add
908         extended-remote expected output.
909
910 2012-02-02  Tom Tromey  <tromey@redhat.com>
911
912         * gdb.cp/dispcxx.exp: New file.
913         * gdb.cp/dispcxx.cc: New file.
914
915 2012-02-01  Tom Tromey  <tromey@redhat.com>
916
917         * gdb.base/jit-simple.exp: New file.
918         * gdb.base/jit-simple.c: New file.
919
920 2012-01-30  Yao Qi  <yao@codesourcery.com>
921
922         * gdb.base/skip.exp: Make test result unique.
923
924 2012-01-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
925
926         * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
927         compatibility with valgrind-3.7.0.
928
929 2012-01-27  Pedro Alves  <palves@redhat.com>
930
931         * gdb.base/watchpoint.exp (no_hw): New global.
932         (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
933         disable hw watchpoints.
934         (test_wide_location_1, test_wide_location_2): If no_hw is set,
935         don't expect hw watchpoints.
936         (no_hw_watchpoints): Always clean restart.
937         (do_tests): New procedure, factored out from the top level.
938         (top level): Run tests twice.  Once with hw watchpoints enabled,
939         another time with hw watchpoints disabled.
940
941 2012-01-27  Pedro Alves  <palves@redhat.com>
942
943         * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
944         out from the top level.
945         (top level): Call it instead.
946
947 2012-01-27  Pedro Alves  <palves@redhat.com>
948
949         * gdb.base/watchpoint.exp (top level): Re-enable hardware
950         watchpoints sooner.
951
952 2012-01-27  Pedro Alves  <palves@redhat.com>
953
954         * gdb.base/watchpoint.exp (top level): Delete watch ival3.
955
956 2012-01-27  Pedro Alves  <palves@redhat.com>
957
958         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
959         "You may have requested too many hardware
960         breakpoints/watchpoints".
961
962 2012-01-27  Pedro Alves  <palves@redhat.com>
963
964         * gdb.base/watchpoint.exp (maybe_clean_restart)
965         (maybe_reinitialize): New.
966         (test_disabling_watchpoints): Call maybe_reinitialize.  Don't
967         expect "hit N times".
968         (test_disabling_watchpoints, test_complex_watchpoint)
969         (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
970         Call maybe_clean_restart.
971         (top level): Use clean_restart.  Remove "mips-idt-*"
972         reinitialization.
973
974 2012-01-27  Pedro Alves  <palves@redhat.com>
975
976         * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
977
978 2012-01-27  Pedro Alves  <palves@redhat.com>
979
980         * gdb.base/watchpoint.exp: Clean restart after tests that don't
981         require `initialize' anymore.  Remove unnecessary `initialize'
982         calls.
983
984 2012-01-27  Pedro Alves  <palves@redhat.com>
985
986         * gdb.base/watchpoint.exp (wp_set): Delete.
987         (initialize, test_simple_watchpoint, top level): Remove dead code.
988
989 2012-01-27  Pedro Alves  <palves@redhat.com>
990
991         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
992         typo.
993
994 2012-01-27  Pedro Alves  <palves@redhat.com>
995
996         * config/extended-gdbserver.exp: New file.
997         * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
998         comment.
999         (gdbserver_start_multi, mi_gdbserver_start_multi): New.
1000         * boards/native-extended-gdbserver.exp: New file.
1001
1002 2012-01-26  Pedro Alves  <palves@redhat.com>
1003
1004         * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
1005         and gdb_test_multiple.
1006
1007 2012-01-26  Pedro Alves  <palves@redhat.com>
1008
1009         Make test messages unique, and more identifiable.
1010         * gdb.multi/watchpoint-multi.exp: Change test messages.
1011
1012 2012-01-25  Tom Tromey  <tromey@redhat.com>
1013
1014         * gdb.base/solib-disc.exp: Fix regexps.
1015
1016 2012-01-24  Tom Tromey  <tromey@redhat.com>
1017
1018         * lib/mi-support.exp (mi_expect_stop): Add special case for
1019         solib-event.
1020         * gdb.base/catch-load-so.c: New file.
1021         * gdb.base/catch-load.exp: New file.
1022         * gdb.base/catch-load.c: New file.
1023         * gdb.base/break-interp.exp (reach_1): Update regexp.
1024
1025 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1026
1027         Fix fuzzy results.
1028         * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
1029         lpsimple and func.
1030
1031 2012-01-24  Gary Benson  <gbenson@redhat.com>
1032
1033         Delete #if 0'd out code.
1034         * gdb.base/default.exp (info catch): Remove.
1035         * gdb.base/gdb_history (info catch): Likewise.
1036         * gdb.base/help.exp (info catch): Likewise.
1037
1038 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1039
1040         Fix watchpoints to be specific for each inferior.
1041         * gdb.multi/watchpoint-multi.c: New file.
1042         * gdb.multi/watchpoint-multi.exp: New file.
1043
1044 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1045
1046         Fix watchpoints across inferior fork.
1047         * gdb.threads/watchpoint-fork-child.c: New file.
1048         * gdb.threads/watchpoint-fork-mt.c: New file.
1049         * gdb.threads/watchpoint-fork-parent.c: New file.
1050         * gdb.threads/watchpoint-fork-st.c: New file.
1051         * gdb.threads/watchpoint-fork.exp: New file.
1052         * gdb.threads/watchpoint-fork.h: New file.
1053
1054 2012-01-23  Pedro Alves  <palves@redhat.com>
1055
1056         * gdb.base/call-signal-resume.exp: Allow output after "return".
1057
1058 2012-01-20  Pedro Alves  <palves@redhat.com>
1059
1060         * gdb.python/py-finish-breakpoint.py: Fix typo.
1061
1062 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
1063
1064         * gdb.base/info-proc.exp: Also run on remote targets.  Main
1065         "info proc" command is now always present; whether target supports
1066         actual info proc operation is detected when attempting to issue
1067         the command.
1068
1069 2012-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1070
1071         * .gdbinit: Remove.
1072
1073 2012-01-19  Pedro Alves  <palves@redhat.com>
1074
1075         * gdb.java/jprint.exp: Don't rely on inferior output, but instead
1076         look at the funtions' returns.
1077         * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
1078         (jprint.print(int, int)): Change return type to int.  Adjust.
1079
1080 2012-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1081
1082         PR gdb/9538
1083         * gdb.base/sepdebug.exp: New test.
1084
1085 2012-01-18  Pedro Alves  <palves@redhat.com>
1086
1087         * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
1088         Allow output before ^done.
1089
1090 2012-01-16  Tom Tromey  <tromey@redhat.com>
1091
1092         * gdb.linespec/linespec.exp: Change some tests to use $decimal.
1093         Add tests for relative directory.
1094
1095 2012-01-16  Tom Tromey  <tromey@redhat.com>
1096
1097         * gdb.base/printcmds.c (enum flag_enum): New.
1098         (three): New global.
1099         * gdb.base/printcmds.exp (test_print_enums): Add test for flag
1100         enum printing.
1101         * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
1102         FlagEnumerationPrinter.
1103         * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
1104         * gdb.python/py-pp-maint.c (enum flag_enum): New.
1105         (fval): New global.
1106
1107 2012-01-16  Pedro Alves  <palves@redhat.com>
1108
1109         * lib/gdb.exp (banned_procedures): New variable.
1110         (banned_variables_traced): Rename to ...
1111         (banned_traced): ... this.
1112         (gdb_init): Also trace banned procedures.
1113         (gdb_finish): Also untrace banned procedures.
1114
1115 2012-01-16  Pedro Alves  <palves@redhat.com>
1116
1117         Remove all calls to strace.
1118
1119 2012-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
1120
1121         * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
1122         * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
1123
1124 2012-01-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
1125
1126         * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
1127         * gdb.base/pie-execl.exp: Likewise.
1128
1129 2012-01-12  Keith Seitz  <keiths@redhat.com>
1130
1131         PR mi/10586
1132         * gdb.mi/var-cmd.c (struct anonymous): New structure.
1133         (do_anonymous_type_tests): New function.
1134         (main): Call do_anonymous_type_tests.
1135         * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
1136         (verify_everything): New procedure.
1137         * gdb.mi/mi-var-cp.cc (class A): New class.
1138         (anonymous_structs_and_unions): New function.
1139         (main): Call anonymous_structs_and_unions.
1140         * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
1141         (verify_everything): New procedure.
1142
1143 2012-01-12  Keith Seitz  <keiths@redhat.com>
1144
1145         * lib/mi-support.exp: Expand comments about PATH_EXPR.
1146         (varobj_tree::get_path_expr): Assume that all varobjs are
1147         compound unless they are known simple types.
1148         Adjust path expressions based on parent type, path parent type,
1149         and tree language.
1150         (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
1151         the root varobj.
1152         (mi_walk_varobj_tree): Add LANGUAGE parameter.
1153
1154 2012-01-11  Pedro Alves  <palves@redhat.com>
1155
1156         * gdb.base/default.exp (core-file): Don't expect "GDB can't read
1157         core files on this machine" anymore.
1158
1159 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
1160
1161         * gdb.base/watchpoint.c (recurser): Initialize local_x.
1162         (main): Repeat recurser call.
1163         * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
1164         equivalent to 'local_x'.
1165
1166 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
1167             Joel Brobecker <brobecker@adacore.com>
1168
1169         * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
1170
1171 2012-01-05  Pedro Alves  <alves.ped@gmail.com>
1172
1173         * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
1174         * gdb.python/py-events.c (first): Add bits for new "step N" test.
1175         * gdb.python/py-events.exp: Test that "step N" tripping on a
1176         breakpoint emits a breakpoint event.
1177
1178 2012-01-03  Joel Brobecker  <brobecker@adacore.com>
1179
1180         * gdb.base/auxv.exp: Reformat the copyright notice.
1181
1182 2012-01-03  Yao Qi  <yao@codesourcery.com>
1183
1184         * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
1185         (strace_trace_on_diff_addr): New.
1186         * gdb.trace/strace.c: (main): Add two local variables.
1187
1188 2011-01-02  Ulrich Weigand  <uweigand@de.ibm.com>
1189
1190         * gdb.cell/fork.exp: Delete breakpoints after reaching main.
1191         * gdb.cell/gcore.exp: Likewise.
1192         * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
1193         to verify the correct instance of main is selected.
1194
1195 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
1196
1197         * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
1198         gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
1199         gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
1200         gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
1201         gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
1202         gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
1203         gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
1204         gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
1205         gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
1206         gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
1207         gdb.threads/thread_check.c: Reformat copyright header.
1208
1209 2011-12-30  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1210
1211         * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
1212         * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
1213         is not enabled.
1214
1215 2011-12-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1216
1217         * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
1218         parameter to self_exec, adjust the function.
1219         (main): Check for argv[1] "exit".  Use argv[0] for test_exec_exit.
1220         * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
1221         (set var do_exit = 0): Remove test.
1222         (newline at end of file): Add one.
1223
1224 2011-12-27  Joel Brobecker  <brobecker@adacore.com>
1225
1226         * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
1227         New files.
1228
1229 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1230
1231         Fix racy FAILs.
1232         * gdb.threads/fork-thread-pending.c (barrier): New variable.
1233         (thread_function, thread_forker): Call pthread_barrier_wait for it.
1234         (main): Call pthread_barrier_init for it.
1235
1236 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1237
1238         Fix double send_gdb leading to racy FAILs.
1239         * gdb.base/break.exp (set silent break bp_location1): Replace
1240         3x send_gdb and gdb_expect by gdb_test.
1241         * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
1242         * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
1243         (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
1244         instead of send_gdb.  Twice.
1245         * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
1246         3x send_gdb and gdb_expect by gdb_test.
1247         * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
1248
1249 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
1250
1251         * gdb.linespec/linespec.exp: Compile using {c++}.
1252
1253 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
1254
1255         * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
1256         (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
1257         (verify GCC PR debug/51668): New test.
1258
1259 2011-12-23  Kevin Pouget  <kevin.pouget@st.com>
1260
1261         Introduce gdb.FinishBreakpoint in Python.
1262         * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
1263         py-finish-breakpoint2
1264         (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
1265         * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
1266         instead of line number.
1267         * gdb.python/py-finish-breakpoint.c: New file.
1268         * gdb.python/py-finish-breakpoint.exp: New file.
1269         * gdb.python/py-finish-breakpoint.py: New file.
1270         * gdb.python/py-finish-breakpoint2.cc: New file.
1271         * gdb.python/py-finish-breakpoint2.exp: New file.
1272         * gdb.python/py-finish-breakpoint2.py: New file.
1273
1274 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
1275
1276         Partial fix of compatibility with gcc-4.7.
1277         * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
1278         into XFAIL "new without size_t".  Permit size_t for the KFAIL case.
1279         Add comment to add a PASS case in the future.
1280
1281         Fix compatibility with gcc-4.7.
1282         * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
1283
1284 2011-12-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
1285
1286         PR tdep/12797
1287         * gdb.base/callfuncs.exp: Remove KFAIL.
1288
1289 2011-12-21  Joel Brobecker  <brobecker@adacore.com>
1290
1291         * gdb.ada/task_bp: New testcase.
1292
1293 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1294
1295         * gdb.base/reread.exp: If srcfile2 fails to build retry it with
1296         -DNO_SECTIONS.
1297         * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
1298
1299 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1300
1301         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
1302         PR gcc/45997 XFAIL conditional for gcc <= 4.5.
1303         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
1304         Change PR gcc/41736 to the more specific PR gcc/46955.  Make it
1305         conditional for gcc <= 4.5.
1306
1307 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1308
1309         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
1310         by XFAIL.
1311         * gdb.cp/static-method.exp (info addr A::func())
1312         (list static-method.cc:xxx::(anonymous namespace)::A::func)
1313         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1314         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1315         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
1316         * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
1317         (test value of F in k3_m): Likewise.
1318         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
1319         Likewise.
1320
1321 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1322
1323         * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
1324         (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
1325         Remove.
1326         * gdb.threads/attachstop-mt.c: Remove.
1327         * gdb.threads/attachstop-mt.exp: Remove.
1328
1329 2011-12-17  Mark Kettenis  <kettenis@gnu.org>
1330
1331         * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
1332
1333 2011-12-16  Doug Evans  <dje@google.com>
1334
1335         * boards/native-stdio-gdbserver.exp: New file.
1336         * boards/native-gdbserver.exp: New file.
1337
1338         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
1339         gdbserver output.
1340         (gdbserver_default_get_remote_address): New function.
1341         (gdbserver_start): Call gdb,get_remote_address to compute argument
1342         to "target remote" command.
1343
1344 2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
1345
1346         * gdb.python/py-function.exp: Change "on" to "full" for
1347         python print-stack.  Add set/show python print-stack
1348         off|full|message tests.
1349
1350 2011-12-15  Yao Qi  <yao@codesourcery.com>
1351
1352         * gdb.trace/strace.c: New
1353         * gdb.trace/strace.exp: New.
1354
1355 2011-12-14  Tom Tromey  <tromey@redhat.com>
1356
1357         * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
1358
1359 2011-12-14  Doug Evans  <dje@google.com>
1360
1361         * lib/gdb.exp (gdb_start_cmd): Fix error return value.
1362
1363 2011-12-14  Pedro Alves  <pedro@codesourcery.com>
1364
1365         PR threads/10729
1366
1367         * gdb.mi/watch-nonstop.c: New file.
1368         * gdb.mi/mi-watch-nonstop.exp: New file.
1369
1370 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
1371             Doug Evans  <dje@google.com>
1372
1373         * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
1374         (clean_restart): Remove references to the gdb_stub target board
1375         variable.
1376         (gdb_step_for_stub): Delete.
1377
1378         * gdb.base/annota1.exp: Remove all references to [target_info
1379         exists gdb_stub], gdb_step_for_stub and usestubs.
1380         * gdb.base/annota3.exp: Ditto.
1381         * gdb.base/async.exp: Ditto.
1382         * gdb.base/break.exp: Ditto.
1383         * gdb.base/code-expr.exp: Ditto.
1384         * gdb.base/commands.exp: Ditto.
1385         * gdb.base/completion.exp: Ditto.
1386         * gdb.base/condbreak.exp: Ditto.
1387         * gdb.base/consecutive.exp: Ditto.
1388         * gdb.base/cvexpr.exp: Ditto.
1389         * gdb.base/define.exp: Ditto.
1390         * gdb.base/display.exp: Ditto.
1391         * gdb.base/ena-dis-br.exp: Ditto.
1392         * gdb.base/environ.exp: Ditto.
1393         * gdb.base/gnu-ifunc.exp: Ditto.
1394         * gdb.base/maint.exp: Ditto.
1395         * gdb.base/pending.exp: Ditto.
1396         * gdb.base/sect-cmd.exp: Ditto.
1397         * gdb.base/sepdebug.exp: Ditto.
1398         * gdb.base/unload.exp: Ditto.
1399         * gdb.base/watchpoint-solib.exp: Ditto.
1400         * gdb.cp/annota2.exp: Ditto.
1401         * gdb.cp/annota3.exp: Ditto.
1402         * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1403         * gdb.hp/gdb.compat/xdb1.exp: Ditto.
1404         * gdb.mi/mi-pending.exp: Ditto.
1405         * gdb.trace/circ.exp: Ditto.
1406         * gdb.cp/ovldbreak.exp: Ditto.  Adjust expected line numbers.
1407         * gdb.base/list.exp: Ditto.
1408
1409         * gdb.base/all-types.c: Remove all calls to set_debug_traps and
1410         breakpoint function and all references to the usestubs macro.
1411         * gdb.base/exprs.c: Ditto.
1412         * gdb.base/freebpcmd.c: Ditto.
1413         * gdb.base/bitfields.c: Ditto.
1414         * gdb.base/bitfields2.c: Ditto.
1415         * gdb.base/break.c: Ditto.
1416         * gdb.base/call-sc.c: Ditto.
1417         * gdb.base/call-signals.c: Ditto.
1418         * gdb.base/callfuncs.c: Ditto.
1419         * gdb.base/charset.c: Ditto.
1420         * gdb.base/consecutive.c: Ditto.
1421         * gdb.base/constvars.c: Ditto.
1422         * gdb.base/funcargs.c: Ditto.
1423         * gdb.base/int-type.c: Ditto.
1424         * gdb.base/interrupt.c: Ditto.
1425         * gdb.base/langs0.c: Ditto.
1426         * gdb.base/list0.c: Ditto.
1427         * gdb.base/mips_pro.c: Ditto.
1428         * gdb.base/miscexprs.c: Ditto.
1429         * gdb.base/nodebug.c: Ditto.
1430         * gdb.base/opaque0.c: Ditto.
1431         * gdb.base/pointers.c: Ditto.
1432         * gdb.base/printcmds.c: Ditto.
1433         * gdb.base/ptype.c: Ditto.
1434         * gdb.base/recurse.c: Ditto.
1435         * gdb.base/reread1.c: Ditto.
1436         * gdb.base/reread2.c: Ditto.
1437         * gdb.base/restore.c: Ditto.
1438         * gdb.base/return.c: Ditto.
1439         * gdb.base/run.c: Ditto.
1440         * gdb.base/scope0.c: Ditto.
1441         * gdb.base/sepdebug.c: Ditto.
1442         * gdb.base/setshow.c: Ditto.
1443         * gdb.base/setvar.c: Ditto.
1444         * gdb.base/sigall.c: Ditto.
1445         * gdb.base/signals.c: Ditto.
1446         * gdb.base/structs.c: Ditto.
1447         * gdb.base/structs2.c: Ditto.
1448         * gdb.base/testenv.c: Ditto.
1449         * gdb.base/twice.c: Ditto.
1450         * gdb.base/unwindonsignal.c: Ditto.
1451         * gdb.base/watchpoint.c: Ditto.
1452         * gdb.base/watchpoints.c: Ditto.
1453         * gdb.base/whatis.c: Ditto.
1454         * gdb.cp/classes.cc: Ditto.
1455         * gdb.cp/cplusfuncs.cc: Ditto.
1456         * gdb.cp/derivation.cc: Ditto.
1457         * gdb.cp/formatted-ref.cc: Ditto.
1458         * gdb.cp/misc.cc: Ditto.
1459         * gdb.cp/overload.cc: Ditto.
1460         * gdb.cp/ovldbreak.cc: Ditto.
1461         * gdb.cp/ref-params.cc: Ditto.
1462         * gdb.cp/ref-types.cc: Ditto.
1463         * gdb.cp/templates.cc: Ditto.
1464         * gdb.cp/virtfunc.cc: Ditto.
1465         * gdb.hp/gdb.aCC/run.c: Ditto.
1466         * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
1467         * gdb.hp/gdb.compat/xdb0.c: Ditto.
1468         * gdb.reverse/consecutive-reverse.c: Ditto.
1469         * gdb.reverse/sigall-reverse.c: Ditto.
1470         * gdb.reverse/until-reverse.c: Ditto.
1471         * gdb.reverse/watch-reverse.c: Ditto.
1472         * gdb.trace/actions.c: Ditto.
1473         * gdb.trace/circ.c: Ditto.
1474         * gdb.trace/collection.c: Ditto.
1475
1476 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
1477
1478         * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
1479         (func6, func7): New.
1480         (main): Call func6 and func7.
1481         * gdb.base/watchpoint.exp (test_wide_location_1)
1482         (test_wide_location_2): New.
1483         (top level): Re-enable hardware watchpoints if necessary.  Call
1484         test_wide_location_1 and test_wide_location_2.
1485
1486 2011-12-11  Yao Qi  <yao@codesourcery.com>
1487
1488         * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
1489
1490 2011-12-11  Joel Brobecker  <brobecker@adacore.com>
1491
1492         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
1493         expected output for unsupported case.
1494
1495 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1496
1497         PR testsuite/12649
1498         * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
1499         Protect gdb_test_multiple by final $gdb_prompt match.
1500
1501 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1502
1503         * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
1504         New variable, new test.
1505         (list static-method.cc:xxx::(anonymous namespace)::A::func)
1506         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1507         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1508         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
1509         them if HAVE_GCC_45682_FIXED is not set.
1510
1511 2011-12-10  Yao Qi  <yao@codesourcery.com>
1512
1513         * gdb.trace/status-stop.exp: New.
1514         * gdb.trace/status-stop.c: New.
1515
1516 2011-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1517
1518         * gdb.reverse/until-precsave.exp (run to end of main) Extend the
1519         timeout.
1520
1521 2011-12-08  Tom Tromey  <tromey@redhat.com>
1522
1523         * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
1524         condition.
1525
1526 2011-12-07  Stan Shebs  <stan@codesourcery.com>
1527
1528         * gdb.trace/tfind.exp: Update for output changes.
1529
1530 2011-12-07  Pedro Alves  <pedro@codesourcery.com>
1531
1532         * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
1533         throws "Cannot insert catchpoints in this configuration".
1534         * gdb.ada/mi_catch_ex.exp: Likewise.
1535
1536 2011-12-06  Pedro Alves  <pedro@codesourcery.com>
1537
1538         * gdb.base/break-always.exp: Test changing memory at addresses
1539         with breakpoints inserted.
1540
1541 2011-12-06  Joel Brobecker  <brobecker@acacore.com>
1542
1543         * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
1544         involving a fully qualified function name.
1545
1546 2011-12-06  Tom Tromey  <tromey@redhat.com>
1547
1548         * gdb.ada/homonym.exp: Add three breakpoint tests.
1549
1550 2011-12-06  Tom Tromey  <tromey@redhat.com>
1551
1552         * gdb.base/solib-weak.exp (do_test): Remove kfail.
1553         * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
1554         * gdb.objc/objcdecode.exp: Update for output changes.
1555         * gdb.linespec/linespec.exp: New file.
1556         * gdb.linespec/lspec.cc: New file.
1557         * gdb.linespec/lspec.h: New file.
1558         * gdb.linespec/body.h: New file.
1559         * gdb.linespec/base/two/thefile.cc: New file.
1560         * gdb.linespec/base/one/thefile.cc: New file.
1561         * gdb.linespec/Makefile.in: New file.
1562         * gdb.cp/templates.exp (test_template_breakpoints): Update for
1563         output changes.
1564         * gdb.cp/re-set-overloaded.exp: Remove kfail.
1565         * gdb.cp/ovldbreak.exp: Update for output changes.  "all" test now
1566         makes one breakpoint.
1567         * gdb.cp/method2.exp (test_break): Update for output changes.
1568         * gdb.cp/mb-templates.exp: Update for output changes.
1569         * gdb.cp/mb-inline.exp: Update for output changes.
1570         * gdb.cp/mb-ctor.exp: Update for output changes.
1571         * gdb.cp/ovsrch.exp: Use fully-qualified names.
1572         * gdb.base/solib-symbol.exp: Run to main later.  Breakpoint now
1573         has multiple matches.
1574         * gdb.base/sepdebug.exp: Disable pending breakpoints.  Update for
1575         error message change.
1576         * gdb.base/list.exp (test_list_filename_and_number): Update for
1577         error message change.
1578         * gdb.base/break.exp: Disable pending breakpoints.  Update for
1579         output changes.
1580         * configure.ac: Add gdb.linespec.
1581         * configure: Rebuild.
1582         * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1583
1584 2011-12-06  Ulrich Weigand  <uweigand@de.ibm.com>
1585
1586         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1587         last_break register on s390*-*-* targets.
1588
1589 2011-12-06  Joel Brobecker  <brobecker@adacore.com>
1590
1591         * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1592         * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1593         of parameter X in procedure Foo.
1594
1595 2011-12-05  Stan Shebs  <stan@codesourcery.com>
1596
1597         * gdb.trace/tfind.exp: Update help string matches.
1598
1599 2011-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1600
1601         * gdb.server/ext-run.exp (get process list): Accept also systemd
1602         as PID 1.
1603
1604 2011-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1605             Pedro Alves  <pedro@codesourcery.com>
1606
1607         * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1608         starting GDB.
1609         * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1610         $use_gdb_stub.
1611         * gdb.base/display.exp: Likewise.
1612         * gdb.base/ending-run.exp: Likewise.
1613         * gdb.base/list.exp (test_listsize): Likewise.
1614         * gdb.base/setshow.exp: Likewise.
1615         * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1616         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1617         check by global $use_gdb_stub.
1618         (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1619         (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1620         (default_gdb_init): Unset global $use_gdb_stub.
1621         (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1622         by global $use_gdb_stub.
1623         * lib/gdbserver-support.exp: Extend comments for set_board_info
1624         gdb_protocol and gdb,socketport.
1625         (gdbserver_start_extended): Set global gdbserver_protocol and
1626         gdbserver_gdbport.  Clear global use_gdb_stub.
1627         * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1628         from target use_gdb_stub.
1629         (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1630
1631 2011-12-03  Doug Evans  <dje@google.com>
1632
1633         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1634         (gdb_step_for_stub): Add comments.
1635
1636 2011-12-02  Maciej W. Rozycki  <macro@codesourcery.com>
1637
1638         * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1639         to the caller.
1640         (gdb_test_multiple): Likewise.
1641
1642 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1643
1644         Fix gdb.mi/mi-solib.exp without system debug info installed.
1645         * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1646         expect attribute, return 0 for it.  Update comments.
1647
1648 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1649
1650         * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1651         (corrupted list): Adjust the expectation.
1652
1653 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1654
1655         PR threads/13448
1656         * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1657         * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1658         * gdb.threads/tls-var-main.c: New file.
1659         * gdb.threads/tls-var.c: New file.
1660         * gdb.threads/tls-var.exp: New file.
1661
1662 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1663
1664         PR testsuite/12649
1665         * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1666         Protect gdb_test_multiple by final $gdb_prompt match.
1667         * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1668         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1669         (test_tracepoints): Likewise.
1670
1671 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1672
1673         PR breakpoints/13346
1674         * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1675         * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1676         * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1677
1678 2011-12-01  Joel Brobecker  <brobecker@adacore.com>
1679
1680         * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1681         * gdb.ada/homonym/homonym.adb: For use of all types defined
1682         locally inside both Get_Value subprograms.
1683
1684 2011-12-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1685
1686         Fix racy FAILs.
1687         * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1688         of send_gdb.
1689
1690 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
1691
1692         * gdb.base/testenv.exp: Skip on remote targets.  Unset global
1693         environment variable after test completed.
1694
1695 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
1696
1697         * gdb.base/solib-nodir.exp: Skip if remote target.
1698         * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1699         application.  Call gdb_load_shlibs.
1700         * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1701
1702 2011-11-29  Joel Brobecker  <brobecker@adacore.com>
1703
1704         * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1705
1706 2011-11-28  Joel Brobecker  <brobecker@adacore.com>
1707
1708         * gdb.ada/fullname_bp: New testcase.
1709
1710 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1711
1712         PR testsuite/12649
1713         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1714         Wrap send_gdb into a new gdb_test.
1715
1716         Code cleanup.
1717         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1718         Convert send_gdb and gdb_expect to gdb_test_multiple.
1719
1720 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1721
1722         * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1723
1724 2011-11-23  Keith Seitz  <keiths@redhat.com>
1725
1726         * lib/mi-support.exp (varobj_tree): New namespace and procs.
1727         (mi_varobj_tree_test_children_callback): New proc.
1728         (mi_walk_varobj_tree): New proc.
1729
1730 2011-11-22  Tom Tromey  <tromey@redhat.com>
1731
1732         * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1733         Add "use_mi_command" argument.
1734         (mi_run_cmd, mi_run_with_cli): New procs.
1735         * gdb.mi/solib-lib.c: New file.
1736         * gdb.mi/solib-main.c: New file.
1737         * gdb.mi/mi-solib.exp: New file.
1738
1739 2011-11-21  Doug Evans  <dje@google.com>
1740
1741         * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1742         _Unwind_DebugHook is missing.
1743
1744 2011-11-20  Stan Shebs  <stan@codesourcery.com>
1745
1746         * gdb.trace/tstatus.exp: New.
1747         * gdb.trace/actions.c: Include string.h.
1748
1749 2011-11-18  Yao Qi  <yao@codesourcery.com>
1750
1751         * gdb.trace/pending.exp: New.
1752         * gdb.trace/pending.c: New.
1753         * gdb.trace/pendshr1.c: New.
1754         * gdb.trace/pendshr2.c: New.
1755         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1756         tracepoint location becomes pending.
1757         (tracepoint_change_loc_2): New.
1758
1759 2011-11-16  David S. Miller  <davem@davemloft.net>
1760
1761         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1762         target is sparc*-*-linux*
1763
1764 2011-11-15  Paul Koning  <paul_koning@dell.com>
1765
1766         * gdb.python/py-type.exp: New testcases for exceptions on scalar
1767         types.
1768
1769 2011-11-14  Doug Evans  <dje@google.com>
1770
1771         * gdb.base/shell.exp: New file.
1772
1773 2011-11-14  Stan Shebs  <stan@codesourcery.com>
1774
1775         * gdb.trace/ftrace.c: New.
1776         * gdb.trace/ftrace.exp: New.
1777
1778 2011-11-14  Yao Qi  <yao@codesourcery.com>
1779
1780         * gdb.trace/change-loc-1.c: New.
1781         * gdb.trace/change-loc-2.c: New.
1782         * gdb.trace/change-loc.c: New.
1783         * gdb.trace/change-loc.exp:  New.
1784         * gdb.trace/change-loc.h:  New.
1785         * gdb.trace/trace-break.c (marker): Define new symbol.
1786         * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1787         New.
1788         (break_trace_same_addr_6): New.
1789
1790 2011-11-12  Matt Rice  <ratmice@gmail.com>
1791
1792         * gdb.base/info-macros.exp: Make tests for info definitions
1793         test info macro.  Add tests for info macro argument processing.
1794         Rename a few tests.
1795
1796 2011-11-11  Keith Seitz  <keiths@redhat.com>
1797
1798         PR gdb/12843
1799         * gdb.base/linespecs.exp: New file.
1800
1801 2011-11-11  Doug Evans  <dje@google.com>
1802
1803         * gdb.threads/print-threads.exp: Extend timeout for slower
1804         tests.
1805
1806 2011-11-10  Doug Evans  <dje@google.com>
1807
1808         * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1809         "record to end of main" test.
1810
1811         * gdb.python/py-type.c (TS): New typedef.
1812         (ts): New global.
1813         * gdb.python/py-type.exp: Test field list of typedef.
1814
1815 2011-11-10  Joel Brobecker  <brobecker@adacore.com>
1816
1817         * gdb.ada/small_reg_param: New testcase.
1818
1819 2011-11-09  Tom Tromey  <tromey@redhat.com>
1820
1821         * gdb.cp/destrprint.exp: New file.
1822         * gdb.cp/destrprint.cc: New file.
1823
1824 2011-11-08  Meador Inge  <meadori@codesourcery.com>
1825
1826         * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1827         (switch_stack_to_other): New test function.
1828         * gdb.arch/thumb-prologue.exp: New test cases.
1829
1830 2011-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
1831
1832         * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1833
1834 2011-11-08  Yao Qi  <yao@codesourcery.com>
1835
1836         * gdb.exp (supports_process_record): New.
1837         (supports_reverse): New.
1838         * gdb.reverse/break-precsave.exp: Call support_process_record
1839         to run test conditionally.
1840         * gdb.reverse/consecutive-precsave.exp: Likewise.
1841         * gdb.reverse/i386-precsave.exp: Likewise.
1842         * gdb.reverse/machinestate-precsave.exp: Likewise.
1843         * gdb.reverse/solib-precsave.exp: Likewise.
1844         * gdb.reverse/step-precsave.exp: Likewise.
1845         * gdb.reverse/until-precsave.exp: Likewise.
1846         * gdb.reverse/watch-precsave.exp: Likewise.
1847         * gdb.reverse/break-reverse.exp: Call support_reverse  to run
1848         test conditionally.
1849         * gdb.reverse/consecutive-reverse.exp: Likewise.
1850         * gdb.reverse/finish-precsave.exp: Likewise.
1851         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1852         * gdb.reverse/finish-reverse.exp: Likewise.
1853         * gdb.reverse/i386-reverse.exp: Likewise.
1854         * gdb.reverse/i386-sse-reverse.exp: Likewise.
1855         * gdb.reverse/machinestate.exp: Likewise.
1856         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1857         * gdb.reverse/sigall-precsave.exp: Likewise.
1858         * gdb.reverse/sigall-reverse.exp: Likewise.
1859         * gdb.reverse/solib-reverse.exp: Likewise.
1860         * gdb.reverse/step-reverse.exp: Likewise.
1861         * gdb.reverse/until-reverse.exp: Likewise.
1862         * gdb.reverse/watch-reverse.exp: Likewise.
1863
1864 2011-11-05  Yao Qi  <yao@codesourcery.com>
1865
1866         * gdb.trace/trace-break.exp: Add test on setting two
1867         fast tracepoints at the same address.
1868
1869 2011-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1870
1871         * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1872
1873 2011-11-02  Stan Shebs  <stan@codesourcery.com>
1874
1875         * gdb.trace/collection.c: Add code using strings.
1876         * gdb.trace/collection.exp: Add tests of string collection.
1877
1878 2011-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1879
1880         * gdb.base/skip-solib.exp (executable_main): New variable.
1881         (binfile_main): Base it on that.
1882         Use $executable_main in clean_restart calls.  Drop gdb_exit and
1883         gdb_start calls.
1884
1885 2011-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1886
1887         Fix racy FAILs.
1888         * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1889         breakpoint_re globals import by async.  Set string_regex to .* for
1890         async.  Remove the optional thread_selected_re and breakpoint_re
1891         globals expectations.
1892
1893 2011-11-01  Joseph Myers  <joseph@codesourcery.com>
1894
1895         * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1896         well as Cygwin.
1897
1898 2011-11-01  Justin Lebar <justin.lebar@gmail.com>
1899
1900         Add tests for skip command.
1901         * gdb.base/skip-solib-lib.c: New
1902         * gdb.base/skip-solib-main.c: New
1903         * gdb.base/skip-solib.exp: New
1904         * gdb.base/skip.c: New
1905         * gdb.base/skip.exp: New
1906         * gdb.base/skip1.c: New
1907         * gdb.base/Makefile.in: Adding new files.
1908
1909 2011-10-31  Yao Qi  <yao@codesourcery.com>
1910             Pedro Alves  <pedro@codesourcery.com>
1911
1912         * gdb.trace/trace-break.c: New.
1913         * gdb.trace/trace-break.exp: New.
1914
1915 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1916
1917         * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1918         break-here-2.
1919
1920 2011-10-28  Pedro Alves  <pedro@codesourcery.com>
1921
1922         * gdb.threads/no-unwaited-for-left.c: New.
1923         * gdb.threads/no-unwaited-for-left.exp: New.
1924         * gdb.threads/non-ldr-exc-1.c: New.
1925         * gdb.threads/non-ldr-exc-1.exp: New.
1926         * gdb.threads/non-ldr-exc-2.c: New.
1927         * gdb.threads/non-ldr-exc-2.exp: New.
1928         * gdb.threads/non-ldr-exc-3.c: New.
1929         * gdb.threads/non-ldr-exc-3.exp: New.
1930         * gdb.threads/non-ldr-exc-4.c: New.
1931         * gdb.threads/non-ldr-exc-4.exp: New.
1932
1933 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1934
1935         * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1936         * gdb.base/attach-pie-misread.exp: Likewise.
1937         * gdb.base/break-interp.exp: Likewise.
1938         * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1939         testcases for use_gdb_stub.
1940         * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1941         (continue): New testcase.
1942         * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1943         * gdb.threads/attach-into-signal.exp: Likewise.
1944         * gdb.threads/attach-stopped.exp: Likewise.
1945         * gdb.threads/attachstop-mt.exp: Likewise.
1946
1947 2011-10-28  Paul Koning  <paul_koning@dell.com>
1948
1949         * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1950
1951 2011-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1952
1953         * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1954         (mi_gdb_test): Import globals thread_selected_re
1955         and breakpoint_re.  Expect them optionally at the regex start.
1956
1957 2011-10-27  Doug Evans  <dje@google.com>
1958
1959         * gdb.python/python.exp: Test source -s.
1960
1961 2011-10-26  Paul Koning  <paul_koning@dell.com>
1962
1963         * gdb.python/lib-types.cc (struct A): New structure.
1964         * gdb.python/lib-types.exp (deepitems): New tests.
1965
1966 2011-10-25  Paul Koning  <paul_koning@dell.com>
1967
1968         PR python/13327
1969
1970         * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1971         fetch_lazy method.
1972
1973 2011-10-24  Yao Qi  <yao@codesourcery.com>
1974
1975         * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1976         target is tic6x-*-*.
1977
1978 2011-10-21  Joel Brobecker  <brobecker@adacore.com>
1979
1980         * gdb.ada/mi_task_info/task_switch.adb: New file.
1981         * gdb.ada/mi_task_info.exp: New file.
1982
1983 2011-10-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
1984
1985         * gdb.cp/expand-psymtabs-cxx.exp: New file.
1986         * gdb.cp/expand-psymtabs-cxx.cc: New file.
1987
1988 2011-10-20  Phil Muldoon  <pmuldoon@redhat.com>
1989
1990         PR python/12656
1991
1992         * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1993         global_block tests.
1994
1995 2011-10-18  Tom Tromey  <tromey@redhat.com>
1996
1997         * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1998
1999 2011-10-18  Tom Tromey  <tromey@redhat.com>
2000
2001         * gdb.base/source.exp: Don't include full file name in test name.
2002         * gdb.python/python.exp: Don't include full file name in test
2003         name.
2004
2005 2011-10-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
2006
2007         * gdb.base/attach-pie-noexec.c: New files.
2008         * gdb.base/attach-pie-noexec.exp: New files.
2009
2010 2011-10-17  Joseph Myers  <joseph@codesourcery.com>
2011
2012         * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
2013         prompt for each extra line in command.
2014
2015 2011-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2016
2017         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
2018         Revert the part of:
2019         2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2020         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2021         Change the expected string.
2022
2023 2011-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2024
2025         Fix results with system glibc debug info installed.
2026         * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
2027         (continue to $syscall (2nd time), continue to $syscall (3rd time)):
2028         Accept also __libc_ symbol prefix and no prefix.
2029
2030 2011-10-14  Keith Seitz  <keiths@redhat.com>
2031
2032         PR c++/13225
2033         * gdb.cp/converts.cc (foo3_1): New function.
2034         (foo3_2): New functions.
2035         * gdb.cp/converts.exp: Add tests for int to pointer conversion
2036         and null pointer conversions of integer constant zero.
2037         Add test to check if all arguments are checked for incompatible
2038         conversion BADNESS.
2039
2040 2011-10-14  Tom Tromey  <tromey@redhat.com>
2041
2042         * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
2043         * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
2044         linespec.
2045
2046 2011-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2047
2048         Fix internal error regression.
2049         * gdb.dwarf2/implptr-optimized-out.S: New file.
2050         * gdb.dwarf2/implptr-optimized-out.exp: New file.
2051
2052 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
2053
2054         Fix empty DWARF expressions DATA vs. SIZE conditionals.
2055         * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
2056         (loclist): New.
2057         (4): New abbrev.
2058         * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
2059         Use prepare_for_testing, remove clean_restart.
2060         (p arraynoloc, p arraycallnoloc): New tests.
2061
2062 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
2063
2064         * gdb.cp/namespace-enum.exp (executable): New variable.
2065         (binfile): Use ${objdir}/${subdir}/ prefix.
2066         Use ${executable} for clean_restart.
2067
2068 2011-10-11  Sterling Augustine  <saugustine@google.com>
2069
2070         * gdb.cp/Makefile.in: Add namespace-enum test.
2071         * gdb.cp/namespace-enum.exp: New file.
2072         * gdb.cp/namespace-enum.c: New file.
2073         * gdb.cp/namespace-enum-main.c: New file.
2074
2075 2011-10-11  Ulrich Weigand  <ulrich.weigand@linaro.org>
2076
2077         * gdb.python/py-shared.exp: Relax filename check to handle remote:
2078         sysroot.
2079
2080 2011-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2081
2082         Reimplement @entry in input expressions.
2083         * gdb.base/exprs.c (v_int_array_init): New variable.
2084         * gdb.base/exprs.exp (print v_int_array_init)
2085         (print *v_int_array_init@1, print *v_int_array_init@2)
2086         (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
2087         (print v_int_array_init[1]@1): New tests.
2088
2089 2011-10-10  Joseph Myers  <joseph@codesourcery.com>
2090
2091         * gdb.cp/gdb2495.exp: Do not include directories in filename in
2092         expected message.
2093
2094 2011-10-09  Doug Evans  <dje@google.com>
2095
2096         * gdb.base/alias.exp: Add tests for alias command.
2097
2098 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2099
2100         * gdb.arch/amd64-entry-value.s: New file.
2101         * gdb.mi/mi2-amd64-entry-value.s: New file.
2102
2103 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2104
2105         Display @entry parameter values even for references.
2106         * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
2107         functions.
2108         (main): New variables regvar, nodatavarp, stackvar1, stackvar2.  Call
2109         reference and datap_input.
2110         * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
2111         breakpoints.
2112         (continue to breakpoint: entry_reference: reference)
2113         (entry_reference: bt at entry)
2114         (continue to breakpoint: entry_reference: breakhere_reference)
2115         (entry_reference: bt, entry_reference: ptype regparam)
2116         (entry_reference: p regparam, entry_reference: ptype regparam@entry)
2117         (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
2118         (entry_reference: p regcopy, entry_reference: p nodataparam)
2119         (entry_reference: p nodataparam@entry): New tests.
2120
2121 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2122
2123         Support @entry in input expressions.
2124         * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
2125         (entry_stack: p s1@entry, entry_stack: p s2@entry)
2126         (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
2127         (tailcall: p j@entry): New tests.
2128         * gdb.cp/koenig.cc (A::entry): New function.
2129         (main): Call it.
2130         * gdb.cp/koenig.exp (p entry (c)): New test.
2131
2132 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2133
2134         Display @entry parameter values (without references).
2135         * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
2136         (different, validity, invalid): New functions.
2137         (main): Call them.
2138         * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
2139         stacktest, breakhere_stacktest, different, breakhere_different,
2140         breakhere_validity and breakhere_invalid.
2141         (entry: bt): Update for @entry.
2142         (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
2143         (entry_validity: *, entry_invalid: *): Many new tests.
2144         * gdb.base/break.exp
2145         (run until breakpoint set at small function, optimized file): Accept
2146         also the @entry suffix.
2147         * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
2148         * gdb.mi/mi2-amd64-entry-value.c: New files.
2149         * gdb.mi/mi2-amd64-entry-value.exp: New files.
2150
2151 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2152
2153         Protect entry values against self tail calls.
2154         * gdb.arch/amd64-entry-value.cc (self2, self): New.
2155         (main): Call self.
2156         * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
2157         (set debug entry-values 1, self: bt debug entry-values): New tests.
2158
2159 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2160
2161         Recognize virtual tail call frames.
2162         * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
2163         (amb_b, amb_a): New.
2164         (main): Call a and b.
2165         * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
2166         (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
2167         (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
2168         New tests.
2169
2170 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2171
2172         Implement basic support for DW_TAG_GNU_call_site.
2173         * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
2174         * gdb.arch/amd64-entry-value.cc: New file.
2175         * gdb.arch/amd64-entry-value.exp: New file.
2176
2177 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2178
2179         Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
2180         * gdb.dwarf2/implptr-64bit.S: New file.
2181         * gdb.dwarf2/implptr-64bit.exp: New file.
2182
2183 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2184
2185         Fix initial language detection with -readnow.
2186         * gdb.cp/readnow-language.cc: New file.
2187         * gdb.cp/readnow-language.exp: New file.
2188
2189 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2190
2191         Fix printed anonymous struct name.
2192         * gdb.cp/anon-struct.exp (print type of X::t2): New test.
2193
2194 2011-10-09  Joseph Myers  <joseph@codesourcery.com>
2195
2196         * gdb.base/solib-symbol.exp: Do not include directories in
2197         filenames in expected messages.
2198
2199 2011-10-07  Doug Evans  <dje@google.com>
2200
2201         * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
2202
2203 2011-10-07  Kevin Pouget  <kevin.pouget@st.com>
2204
2205         Allow Python notification of new object-file loadings.
2206         * gdb.python/py-events.exp: Test newobjfile event.
2207         * gdb.python/py-events.py: Register newobjfile callback.
2208         * gdb.python/py-events.c: Add call to shared library
2209         * gdb.python/py-events-shlib.c: New file.
2210
2211 2011-10-06  Joseph Myers  <joseph@codesourcery.com>
2212
2213         * gdb.base/fixsection.exp: Do not include directories in filename
2214         in expected message.
2215
2216 2011-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
2217
2218         Add tests for passing of environment variables to inferior.
2219         * gdb.base/testenv.c: New test source.
2220         * gdb.base/testenv.exp: New expect test.
2221
2222 2011-10-04  Paul Koning  <paul_koning@dell.com>
2223
2224         * gdb.python/py-value.c (main): Break before return.
2225
2226 2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
2227
2228         PR python/12691: Add the inferior to Python exited event
2229         * gdb.python/py-events.exp: Test the inferior attribute of exited
2230         event with a fork.
2231         * gdb.python/py-events.py: Print inferior number on exit.
2232         * gdb.python/py-events.c: Fork the inferior.
2233
2234 2011-10-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2235
2236         * gdb.base/jit.exp: Add testcase name to log message
2237
2238 2011-10-03  Paul Koning  <paul_koning@dell.com>
2239             Jan Kratochvil  <jan.kratochvil@redhat.com>
2240
2241         * gdb.python/py-value.exp
2242         (python inval = gdb.parse_and_eval('*(int*)0'))
2243         (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
2244         (set argc=2, python print argc_lazy): New tests.
2245
2246 2011-10-02  Joel Brobecker  <brobecker@adacore.com>
2247
2248         * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
2249
2250 2011-10-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2251             Pedro Alves  <pedro@codesourcery.com>
2252
2253         * gdb.python/py-value.exp (test_value_in_inferior): New variable
2254         can_read_0, test for it.
2255         (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
2256         (parse_and_eval with memory error): ... here, make it untested if
2257         can_read_0.
2258
2259 2011-09-30  Marek Polacek  <mpolacek@redhat.com>
2260
2261         * gdb.python/python.exp (verify pagination beforehand)
2262         (verify pagination afterwards): Fix race by splitting the line.
2263
2264 2011-09-29  Joseph Myers  <joseph@codesourcery.com>
2265
2266         * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
2267         for 64-bit multilibs from i?86-* targets.
2268
2269 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
2270
2271         * lib/gdb.exp: Fix a typo in one of the comments.
2272
2273 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
2274
2275         * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
2276         matching pattern.
2277
2278 2011-09-28  Paul Koning  <paul_koning@dell.com>
2279
2280         * gdb.python/py-type.c (enum E): New.
2281         * gdb.python/py-type.exp (test_fields): Add tests for Python
2282         mapping access to fields.
2283         (test_enums): New test for field access on enums.
2284
2285 2011-09-27  Stan Shebs  <stan@codesourcery.com>
2286
2287         * gdb.trace/collection.exp: Test collection of $_ret.
2288
2289 2011-09-22  Andreas Tobler  <andreast@fgznet.ch>
2290
2291         * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
2292         list of compilation switches for <*-*-freebsd*>.
2293
2294 2011-09-19  Stan Shebs  <stan@codesourcery.com>
2295
2296         * gdb.trace/tspeed.exp: New file.
2297         * gdb.trace/tspeed.c: New file.
2298
2299 2011-09-18  Yao Qi  <yao@codesourcery.com>
2300
2301         * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
2302         instructions.
2303         (test_adr_32bit, test_pop_pc): Likewise.
2304         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
2305         Thumb instructions.
2306         * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
2307         in gdb_test_multiple.
2308         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
2309
2310 2011-09-17  Yao Qi  <yao@codesourcery.com>
2311
2312         * lib/gdb.exp (can_single_step_to_signal_handler): New.
2313         * gdb.base/kill-after-signal.exp: Call it.  Skip if target doesn't
2314         support single step to signal handler.
2315
2316 2011-09-17  Yao Qi  <yao@codesourcery.com>
2317
2318         * gdb.base/disp-step-fork.c: New.
2319         * gdb.base/disp-step-syscall.exp: New.
2320         * gdb.base/disp-step-vfork.c: New.
2321
2322 2011-09-16  Joel Brobecker  <brobecker@adacore.com>
2323
2324         * gdb.ada/tasks.exp: Make the expected output for
2325         the `info tasks' tests more resilient to spacing
2326         changes.
2327
2328 2011-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2329
2330         * gdb.python/py-evthreads.exp (Run to breakpoint 1)
2331         (reached breakpoint 2, reached breakpoint 3): Update expected output.
2332
2333 2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
2334
2335         PR Python/12692 Add gdb.selected_inferior() to Python interface.
2336         * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
2337
2338 2011-04-30  Kevin Pouget  <kevin.pouget@st.com>
2339
2340         Handle multiple breakpoint hits in Python interface:
2341         * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
2342         presence.
2343         * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
2344         breakpoint hits.
2345
2346 2011-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
2347             Jan Kratochvil  <jan.kratochvil@redhat.com>
2348
2349         * gdb.python/py-events.exp: Remove pretty printing comment.
2350         * gdb.python/py-evsignal.exp: New file.
2351         * gdb.python/py-evthreads.c: Include signal.h.
2352         (thread3): Remove variable count3.  Remove variable bad and use raise
2353         instead.
2354         (thread2): Remove variable count2.  Move thread3 pthread_create here,
2355         merge pthread_join to a single line.
2356         (main): Remove variable count1.  Merge pthread_join with pthread_create
2357         to a single line.
2358         * gdb.python/py-evthreads.exp: Remove pretty printing comment.  New
2359         KFAIL python/12966 for gdbserver.  Test return value of
2360         gdb_compile_pthreads.  Use gdb_run_cmd.  Replace send_gdb and
2361         gdb_expect by gdb_test and gdb_test_multiple.
2362         (thread 2, thread 3): New tests.
2363
2364 2011-09-12  Matt Rice  <ratmice@gmail.com>
2365             Pedro Alves  <pedro@codesourcery.com>
2366
2367         PR gdb/13175
2368
2369         * gdb.base/interp.exp: New tests.
2370         * gdb.base/interp.c: New file.
2371
2372 2011-09-12  Doug Evans  <dje@google.com>
2373
2374         * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
2375         * gdb.dwarf2/typeddwarf.exp: Ditto.
2376
2377 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2378
2379         Fix compatibility with x32 arch.
2380         * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
2381         * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
2382         is_x86_like_target.
2383         * testsuite/gdb.trace/collection.exp: Likewise.
2384         * testsuite/gdb.trace/report.exp: Likewise.
2385         * testsuite/gdb.trace/unavailable.exp: Likewise.
2386         * testsuite/gdb.trace/while-dyn.exp: Likewise.
2387         * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
2388         (is_x86_like_target): Check also is_amd64_regs_target.
2389
2390 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2391
2392         PR breakpoints/12435
2393         * gdb.arch/amd64-prologue-xmm.c: New file.
2394         * gdb.arch/amd64-prologue-xmm.exp: New file.
2395         * gdb.arch/amd64-prologue-xmm.s: New file.
2396
2397 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2398
2399         * gdb.dwarf2/dw2-param-error-main.c: New file.
2400         * gdb.dwarf2/dw2-param-error.S: New file.
2401         * gdb.dwarf2/dw2-param-error.exp: New file.
2402
2403 2011-09-08  Pedro Alves  <pedro@codesourcery.com>
2404
2405         * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
2406         inferior's pid and look for a core dump named core.$pid.  Use
2407         `remote_file' commands on the host instead of hand coding shell
2408         commands on the build.
2409         * gdb.base/valgrind-db-attach.exp: Kill the program before
2410         finishing the test.
2411
2412 2011-09-02  Matt Rice  <ratmice@gmail.com>
2413
2414         * lib/prompt.exp: New file for testing the first prompt.
2415         * gdb.python/py-prompt.exp: Ditto.
2416         * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
2417
2418 2011-09-02  Pedro Alves  <pedro@codesourcery.com>
2419
2420         * gdb.threads/gcore-thread.exp: Set the global core_supported to
2421         0, before testing gcore.
2422
2423 2011-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2424
2425         * dw2-ifort-parameter-debug.S: Update copyright year.
2426         * dw2-ifort-parameter.c: Update copyright year.
2427         * dw2-ifort-parameter.exp: Update copyright year.
2428
2429         * dw2-ifort-parameter-debug.S: New file.
2430         * dw2-ifort-parameter.c: New file.
2431         * dw2-ifort-parameter.exp: New file.
2432
2433 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2434
2435         * gdb.base/commands.exp (error_clears_commands_left): New function.
2436         (): Call it.
2437
2438 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2439
2440         * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
2441         (C): Initialize `a'.
2442         * gdb.mi/mi-inheritance-syntax-error.exp
2443         (-data-evaluate-expression $path):  Expect `a' as 5.
2444
2445 2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
2446
2447         PR mi/11912
2448         * gdb.mi/mi-inheritance-syntax-error.cc: New file.
2449         * gdb.mi/mi-inheritance-syntax-error.exp: New file.
2450         * gdb.mi/mi-var-cp.cc: Updated for new 'class'
2451         keyword in output of -var-info-path-expression.
2452
2453 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2454
2455         * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
2456         * gdb.trace/collection.exp: Likewise.
2457         * gdb.trace/report.exp: Likewise.
2458         * gdb.trace/unavailable.exp: Likewise.
2459         * gdb.trace/while-dyn.exp: Likewise.
2460
2461 2011-08-18  Keith Seitz  <keiths@redhat.com>
2462
2463         PR c++/12266
2464         * gdb.cp/meth-typedefs.cc: New file.
2465         * gdb.cp/meth-typedefs.exp: New file.
2466
2467 2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
2468
2469         * gdb.python/python.exp: Add extended-prompt tests.
2470
2471 2011-08-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2472
2473         * gdb.arch/i386-dr3-watch.exp
2474         (watchpoint on gap1 does not fit debug registers)
2475         (delete all watchpoints): Fix racy expect strings.
2476
2477 2011-08-14  Yao Qi  <yao@codesourcery.com>
2478
2479         * gdb.base/maint.exp: set data_section to ".neardata".
2480         * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
2481         * gdb.base/savedregs.exp: Handle SIGILL.
2482         * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
2483         * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
2484
2485 2011-08-12  Doug Evans  <dje@google.com>
2486
2487         * gdb.python/py-symbol.exp: Add test for symbol.type.
2488
2489 2011-08-12  Ulrich Weigand  <ulrich.weigand@linaro.org>
2490
2491         * gdb.threads/pthreads.exp: Enable on non-native configurations.
2492         * gdb.mi/mi-pthreads.exp: Likewise.
2493         * gdb.mi/mi2-pthreads.exp: Likewise.
2494         * gdb.mi/gdb669.exp.exp: Likewise.
2495
2496 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
2497
2498         * lib/mi-support.exp (detect_async): Rename to...
2499         (mi_detect_async): ... this.
2500         * gdb.mi/mi-nonstop-exit.exp: Adjust.
2501         * gdb.mi/mi-nonstop.exp: Adjust.
2502         * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
2503         * gdb.mi/mi-nsintrall.exp: Adjust.
2504         * gdb.mi/mi-nsmoribund.exp: Adjust.
2505         * gdb.mi/mi-nsthrexec.exp: Adjust.
2506
2507 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
2508
2509         * gdb.base/display.c (do_loops): New `p_i' local.
2510         * gdb.base/display.exp: Test displaying a variable that is
2511         temporarily at a bad address.
2512
2513 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2514
2515         * gdb.dwarf2/dw2-op-stack-value.S: New file.
2516         * gdb.dwarf2/dw2-op-stack-value.exp: New file.
2517
2518 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2519
2520         * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
2521         * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
2522         (p fuNC_symtab): Permit also ppc64 leading dot.
2523
2524 2011-08-05  Pedro Alves  <pedro@codesourcery.com>
2525
2526         * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
2527         procedure.
2528         (gdb_collect_args_test, gdb_collect_locals_test): Use it.
2529
2530 2011-08-05  Yao Qi  <yao@codesourcery.com>
2531
2532         * gdb.base/callfuncs.exp: Set language after main.
2533         * gdb.cp/cplusfuncs.exp: Likewise.
2534         * gdb.cp/inherit.exp: Likewise.
2535
2536 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
2537
2538         * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
2539         * gdb.base/watch-vfork.exp: Skip on remote targets.
2540
2541 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
2542
2543         * gdb.threads/thread-find.exp: Support remote targets.
2544
2545 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
2546
2547         * gdb.base/jit.exp: Download solib_binfile to target.
2548         * gdb.base/jit-so.exp:  Likewise.  Also, use gdb_load_shlibs
2549         and call dlopen without full path name.
2550         * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
2551         dlopen without full path name.
2552
2553 2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
2554
2555         * gdb.base/break-always.exp: Complete the test
2556         with duplicated breakpoints and enabling/disabling them.
2557
2558 2011-08-02  Tom Tromey  <tromey@redhat.com>
2559
2560         PR gdb/11289:
2561         * gdb.cp/overload.exp: Fix regexps.  Remove kfails.
2562
2563 2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2564
2565         PR gdb/13045
2566         * gdb.base/float.exp: Add new test case for PR gdb/13045
2567         * gdb.base/float.c: New file.
2568
2569 2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
2570
2571         * gdb.python/py-mi.exp: Test printers returning string hint, and
2572         also not returning a value.
2573         * gdb.python/py-prettyprint.c: Add testcase for above.
2574         * gdb.python/py-prettyprint.py: Add test printer for above.
2575
2576 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2577
2578         * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2579         (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2580         (.Ldie30) Add as field "data4".
2581         (.Ldie32) Rename field "b" to "shl".
2582         (abbrev4) Change for the "data4" field.
2583         (abbrev5, abbrev6) Remove.
2584         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2585         (p &s.shl): ... here.  Add comment.
2586         (p &s.data4): New.
2587
2588 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2589
2590         Fix crash on lval_computed values.
2591         * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2592
2593 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2594
2595         * gdb.base/help.exp (help whatis): Update the expected string.
2596
2597 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2598
2599         * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2600         * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2601         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2602         Change the expected string.
2603
2604 2011-07-26  Pedro Alves  <pedro@codesourcery.com>
2605
2606         * gdb.base/watchpoint.exp
2607         (test_disable_enable_software_watchpoint): New procedure.
2608         (top level): Run it.
2609
2610 2011-07-26  Ulrich Weigand  <ulrich.weigand@linaro.org>
2611
2612         * gdb.python/py-mi.exp: Avoid '+' in filenames.  Call C version of
2613         executable file "${binfile}", C++ version "${binfile}-cxx".
2614         * gdb.python/py-prettyprint.exp: Likewise.
2615         * gdb.python/py-symbol.exp: Likewise.
2616         * gdb.python/py-type.exp: Likewise.
2617         * gdb.python/py-value.exp: Likewise.
2618         * gdb.python/py-template.exp (test_template_arg): Pass full executable
2619         file name instead of just suffix.
2620
2621 2011-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2622
2623         Fix implicit pointer offsets.
2624         * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2625         * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2626         (continue to breakpoint: continue to baz breakpoint for implptr)
2627         (sanity check element 0, sanity check element 1)
2628         (enter the inlined function, check element 0 for the offset)
2629         (check element 1 for the offset)
2630         (continue to breakpoint: ignore the second baz breakpoint): New tests.
2631         (set foo breakpoint for implptr): Update the breakpoint number.
2632
2633 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
2634
2635         * gdb.python/py-mi.exp: Use different file names for different
2636         versions of the executable under test.
2637         * gdb.python/py-prettyprint.exp: Likewise.
2638         * gdb.python/py-symbol.exp: Likewise.
2639         * gdb.python/py-template.exp: Likewise.
2640         * gdb.python/py-type.exp: Likewise.
2641         * gdb.python/py-value.exp: Likewise.
2642
2643 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
2644
2645         * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2646         flag after restarting GDB if necessary.
2647
2648 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
2649
2650         * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2651
2652 2011-07-22  Pedro Alves  <pedro@codesourcery.com>
2653
2654         * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2655         backend doesn't leave used debug registers behind.
2656
2657 2011-07-22  Tom Tromey  <tromey@redhat.com>
2658
2659         * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2660         * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2661         argument.
2662         * gdb.dwarf2/typeddwarf-amd64.S: New file.
2663
2664 2011-07-21  Matt Rice  <ratmice@gmail.com>
2665
2666         * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2667         in mostlyclean rule.  Add files ending in .core.
2668
2669 2011-07-21  Matt Rice  <ratmice@gmail.com>
2670
2671         PR macros/12999
2672         * gdb.base/info-macros.c: New test sources.
2673         * gdb.base/info-macros.exp: New tests.
2674
2675 2011-07-21  Phil Muldoon  <pmuldoon@redhat.com>
2676
2677         * gdb.python/python.exp: Add prompt substitution tests.
2678
2679 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
2680
2681         Fix crash if referenced CU is aged out.
2682         * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2683         New.
2684         * gdb.dwarf2/implptr.exp: Likewise.
2685
2686 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
2687
2688         * gdb.dwarf2/implptr.S: Rebuilt.
2689         * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2690         (bar): Use them for j, k, l.
2691         * gdb.dwarf2/implptr.exp: New variable opts.  Support runtest parameter
2692         COMPILE.
2693         (print j in implptr:bar): Update for the intp typedef.
2694         (print p[0].x in implptr:foo): Use more exact regex.
2695
2696 2011-07-18  Tom Tromey  <tromey@redhat.com>
2697
2698         * gdb.cp/static-method.exp: Add missing single quote.
2699
2700 2011-07-18  Yao Qi  <yao@codesourcery.com>
2701
2702         * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2703         supported.
2704         * gdb.mi/mi-nonstop-exit.exp: Likewise.
2705         * gdb.mi/mi-nonstop.exp: Likewise.
2706         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2707         * gdb.mi/mi-nsintrall.exp: Likewise.
2708         * gdb.mi/mi-nsmoribund.exp: Likewise.
2709         * gdb.mi/mi-nsthrexec.exp: Likewise.
2710         * gdb.python/py-evthreads.exp: Likewise.
2711
2712 2011-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2713
2714         Code cleanup.
2715         * gdb.cp/namespace.exp (xfail_class_types): New variable.  Initialize
2716         it.  Substitute it instead of test_compiler_info everywhere.
2717
2718 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
2719
2720         * gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
2721         remote targets as well.
2722
2723 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
2724
2725         * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2726         * gdb.threads/tls-shared.exp: Use it.  Call gdb_load_shlibs.
2727
2728 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
2729
2730         * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2731         a remote machine, not the host.
2732         (gdb_compile_shlib): Set soname if target is remote.
2733
2734 2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
2735
2736         * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2737
2738 2011-07-13  Matt Rice <ratmice@gmail.com>
2739
2740         * gdb.python/py-objfile-script-gdb.py: Renamed to
2741         py-objfile-script-gdb.py.in.
2742         * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2743         py-objfile-script-gdb.py.
2744         * gdb.python/py-objfile-script.exp: Update reference to
2745         py-objfile-script-gdb.py.
2746
2747 2011-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2748
2749         * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2750         reference undefined label.
2751
2752 2011-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2753
2754         * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2755         (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2756         (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2757         * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2758
2759 2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>
2760
2761         PR python/12438
2762         * gdb.python/python.exp: Add maint set/show python print-stack
2763           deprecated tests.  Add set/show python print-backtrace tests.
2764
2765 2011-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2766
2767         * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2768         debug info.
2769
2770 2011-07-06  Matt Rice  <ratmice@gmail.com>
2771
2772         * gdb.python/python.exp: Update filename paths.
2773         * gdb.python/py-symtab.exp: Ditto.
2774
2775 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
2776
2777         * gdb.python/py-evthreads.exp: Add missing `$'.
2778
2779 2011-07-06  Jie Zhang  <jie.zhang@analog.com>
2780
2781         * config/bfin.exp: New file.
2782         * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2783         * gdb.asm/bfin.inc: New file.
2784
2785 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
2786
2787         * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
2788         the whole output.
2789
2790 2011-07-05  Tom Tromey  <tromey@redhat.com>
2791
2792         * gdb.java/jprint.java (jprint.hi): New field.
2793         * gdb.java/jprint.exp: Print string.
2794
2795 2011-07-05  Thiago Jung Bauermann  <bauerman.ibm.com>
2796
2797         * gdb.base/call-sc.c: Fix typos.
2798         * gdb.base/ifelse.exp: Likewise.
2799         * gdb.base/structs.c: Likewise.
2800
2801 2011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2802
2803         * gdb.base/jit-so.exp: New test.
2804         * gdb.base/jit-dlmain.c: New file.
2805         * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2806
2807 2011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2808
2809         * gdb.cp/m-static.exp: Call get_compiler_info.
2810         (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2811         * gdb.cp/pr9167.exp (p b): Likewise.
2812         * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2813         (test value of P in inner_m, test type of Z in inner_m): Call
2814         setup_xfail for gcc <= 4.5.
2815
2816 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2817
2818         * gdb.cp/paren-type.cc: New files.
2819         * gdb.cp/paren-type.exp: New files.
2820
2821 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2822
2823         Stop on first linespec terminator instead of eating what we can.
2824         * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2825         * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2826         * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2827         (break C::f()): ... this one.
2828         (break C::operator()()): New test.
2829         * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2830         * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2831         test.
2832
2833 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2834
2835         Fall back linespec to minimal symbols.
2836         * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2837         error message.
2838         * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2839         * gdb.cp/minsym-fallback-main.cc: New file.
2840         * gdb.cp/minsym-fallback.cc: New file.
2841         * gdb.cp/minsym-fallback.exp: New file.
2842         * gdb.cp/minsym-fallback.h: New file.
2843
2844 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2845
2846         * gdb.cp/no-dmgl-verbose.cc: New file.
2847         * gdb.cp/no-dmgl-verbose.exp: New file.
2848
2849 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2850
2851         * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2852         __GI_.
2853         * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2854         (f): New function.
2855         * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2856         (complete p 'func<short>(): ... here.
2857         * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2858         * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2859         * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2860         * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2861         Make them KFAIL gcc/49546.
2862
2863 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
2864
2865         * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2866
2867 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2868
2869         Test GCC PR debug/49546.
2870         * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2871         (test type of F in k3_m, test value of F in k3_m): New.
2872         * gdb.cp/temargs.cc (struct S3, struct K3): New.
2873         (main): New variable k3.  Call k3.k3_m.
2874
2875 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
2876
2877         * gdb.ada/packed_array.exp: Fix expected outout.
2878
2879 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
2880
2881         * gdb.ada/packed_array.exp: fixed expected output.
2882
2883 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
2884
2885         * gdb.ada/same_enum: New testcase.
2886
2887 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
2888
2889         * gdb.ada/ptr_typedef: New testcase.
2890
2891 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
2892
2893         * gdb.ada/arrayptr.exp: Add ptype test.
2894
2895 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
2896
2897         * gdb.ada/char_enum: New testcase.
2898
2899 2011-07-01  Yao Qi  <yao@codesourcery.com>
2900
2901         * gdb.base/dump.exp (capture_pointer_with_type): New.
2902         Get value from address instead of name.
2903         Start GDB once, and do `dump' and `restore'
2904         tests together.
2905
2906 2011-06-30  Jie Zhang <jie.zhang@analog.com>
2907             Mike Frysinger  <vapier@gentoo.org>
2908
2909         * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2910         helper functions for getting/setting remotetimeout variable.
2911         * lib/gdb.exp (gdb_load): If the target is remote, set
2912         $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2913         with $loadtimeout.  Set $load_ok to 0 before doing the load.
2914         Instead of returning, immediately, set $load_ok to 0.  Call
2915         set_remotetimeout with $oldremotetimeout, and then return if
2916         $load_ok is 1.
2917
2918 2011-06-30  Andrew Burgess  <aburgess@broadcom.com>
2919
2920         * gdb.python/py-template.exp: Don't run this test if the target
2921         does not support c++ tests.
2922
2923 2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
2924
2925         Fix non-only rename list for Fortran modules import.
2926         * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2927         tests.
2928         * gdb.fortran/module.f90 (module moduse): New.
2929         (program module): use moduse, test var_x, var_y and var_z.
2930
2931 2011-06-29  Tom Tromey  <tromey@redhat.com>
2932
2933         PR testsuite/12040:
2934         * gdb.fortran/array-element.exp: Use f90, not f77.
2935         * gdb.fortran/complex.exp: Use f90, not f77.
2936         * gdb.fortran/derived-type.exp: Use f90, not f77.
2937         * gdb.fortran/library-module.exp: Use f90, not f77.
2938         * gdb.fortran/logical.exp: Use f90, not f77.
2939         * gdb.fortran/module.exp: Use f90, not f77.
2940         * gdb.fortran/multi-dim.exp: Use f90, not f77.
2941         * gdb.fortran/subarray.exp: Use f90, not f77.
2942
2943 2011-06-29  Tom Tromey  <tromey@redhat.com>
2944
2945         * gdb.fortran/charset.exp: New file.
2946         * gdb.fortran/charset.f90: New file.
2947
2948 2011-06-29  Tom Tromey  <tromey@redhat.com>
2949
2950         PR testsuite/12040:
2951         * lib/future.exp: New file, mostly extracted from ada.exp.
2952         Rewrote compatibility code to use rename.
2953         (gdb_find_gfortran): New proc.
2954         (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2955         gfortran patch.
2956         * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2957         Move to future.exp.
2958         * lib/gdb.exp: Always load future.exp.
2959
2960 2011-06-28  Yao Qi  <yao@codesourcery.com>
2961
2962         * gdb.cp/exception.cc: Don't include iostream.
2963         (bar): Remove print statement.
2964         (catcher): New.
2965         (main): Remove print statements.  Call function catcher.
2966         * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2967         Set breakpoint on catcher, and check the value of parameter.
2968
2969 2011-06-23  Yao Qi  <yao@codesourcery.com>
2970
2971         * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2972         1.2 is disabled.  KFAIL for uclinux.
2973
2974 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
2975
2976         * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2977         mi_gdb_test.
2978
2979 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
2980
2981         * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2982
2983 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
2984
2985         * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2986
2987 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
2988
2989         * gdb.mi/mi2-basics.exp: Fix races.  Honour the
2990         `test_exec_and_symbol_mi_operatons' return value.
2991         (test_mi_interpreter_selection): Use mi_gdb_test instead of
2992         gdb_test_multiple.
2993         (test_exec_and_symbol_mi_operatons): Likewise.
2994         (test_path_specification): Likewise.
2995
2996 2011-06-23  Yao Qi  <yao@codesourcery.com>
2997
2998         * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2999         supported.
3000         * lib/gdb.exp (support_displaced_stepping): New.
3001
3002 2011-06-23  Yao Qi  <yao@codesourcery.com>
3003
3004         * gdb.threads/execl.exp: Skip on remote target.
3005
3006 2011-06-21  Marek Polacek  <mpolacek@redhat.com>
3007
3008         * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
3009         mi_gdb_test.
3010
3011 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
3012
3013         * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
3014
3015 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
3016
3017         * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
3018         mi_gdb_test.
3019
3020 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
3021
3022         * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
3023
3024 2011-06-14  Yao Qi  <yao@codesourcery.com>
3025
3026         gdb/testsuite/
3027         * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
3028
3029 2011-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
3030
3031         * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
3032
3033 2011-06-10  Tom Tromey  <tromey@redhat.com>
3034
3035         * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
3036         Add tests for pointer-to-member-function.
3037         * gdb.cp/temargs.cc (S::somefunc): New function.
3038         (K2): New class.
3039         (main): Instantiate K2; call method.
3040
3041 2011-06-08  Joel Brobecker  <brobecker@adacore.com>
3042
3043         * gdb.python/py-inferior.c (f2): Make str an array rather
3044         than a pointer.
3045         * gdb.python/py-inferior.exp: Adjust testcase accordingly.
3046
3047 2011-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3048
3049         * gdb.base/async-shell.c: New file.
3050         * gdb.base/async-shell.exp: New file.
3051
3052 2011-06-06  Pedro Alves  <pedro@codesourcery.com>
3053
3054         * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
3055
3056 2011-06-03  Joel Brobecker  <brobecker@adacore.com>  (obvious fix)
3057
3058         From Stephen Kitt  <steve@sk2.org>
3059         * gdb.base/help.exp: Adjust following some spelling corrections
3060         in GDB.
3061
3062 2011-06-01  Yao Qi  <yao@codesourcery.com>
3063
3064         * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
3065
3066 2010-05-31  Keith Seitz  <keiths@redhat.com>
3067
3068         PR c++/12750
3069         * gdb.cp/static-method.cc: New file.
3070         * gdb.cp/static-method.exp: New file.
3071
3072 2010-05-31  Keith Seitz  <keiths@redhat.com>
3073
3074         PR symtab/12704
3075         * gdb.cp/anon-ns.cc: New file.
3076         * gdb.cp/anon-ns.exp: New file.
3077
3078 2011-05-31  Pedro Alves  <pedro@codesourcery.com>
3079
3080         * gdb.arch/i386-dr3-watch.c: New file.
3081         * gdb.arch/i386-dr3-watch.exp: New file.
3082
3083 2011-05-30  Yao Qi  <yao@codesourcery.com>
3084
3085         * gdb.base/callfuncs.c (t_structs_fc): New.
3086         (t_structs_dc, t_structs_ldc): New.
3087         (t_double_many_args):
3088         (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
3089         (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
3090         (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
3091         * gdb.base/callfuncs.exp: Call new functions.
3092
3093 2011-05-30  Yao Qi  <yao@codesourcery.com>
3094
3095         * gdb.base/callfuncs.exp (rerun_and_prepare): New.
3096         Call rerun_and_prepare for each test to isolate effects.
3097
3098 2011-05-30  Yao Qi  <yao@codesourcery.com>
3099
3100         * gdb.base/varargs.c (find_max_float_real): New.
3101         (find_max_double_real, find_max_long_double_real): New.
3102         * gdb.base/varargs.exp: Call these new added functions.
3103         * lib/gdb.exp (setup_kfail_for_target): New.
3104
3105 2011-05-30  Yao Qi  <yao@codesourcery.com>
3106
3107         * gdb.base/funcargs.c (callca, callcb, callcc): New.
3108         (callcd, callce, callcf, callc1a, callc1b): New.
3109         (callc2a, callc2b): New.
3110         * gdb.base/funcargs.exp (complex_args): New.
3111         (complex_integral_args, complex_float_integral_args): New.
3112         * lib/gdb.exp (support_complex_tests): New.  Determine
3113         whether to run test cases on _Complex types.
3114
3115 2011-05-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3116
3117         * gdb.threads/leader-exit.c: New file.
3118         * gdb.threads/leader-exit.exp: New file.
3119
3120 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
3121
3122         * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
3123
3124 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
3125
3126         * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
3127         remove the `supported' variable.
3128         * gdb.mi/mi-nonstop.exp: Likewise.
3129         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3130         * gdb.mi/mi-nsintrall.exp: Likewise.
3131         * gdb.mi/mi-nsmoribund.exp: Likewise.
3132         * gdb.mi/mi-nsthrexec.exp: Likewise.
3133
3134 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
3135
3136         * gdb.reverse/finish-reverse-bkpt.exp: New test.
3137
3138 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
3139
3140         * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
3141
3142 2011-05-24  Keith Seitz  <keiths@redhat.com>
3143
3144         PR breakpoint/12803
3145         * gdb.cp/cmpd-minsyms.cc (a): New method.
3146         (b): New method.
3147         (c): New method.
3148         * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
3149
3150 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
3151
3152         * gdb.base/commands.exp (watchpoint_command_test): Check that the
3153         watchpoint's command list didn't execute when the watchpoint went
3154         out of scope.
3155
3156 2011-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
3157
3158         Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
3159         * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
3160         * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
3161         * gdb.arch/i386-gnu-cfi.exp: Likewise.
3162         * gdb.arch/i386-permbkpt.exp: Likewise.
3163         * gdb.arch/i386-prologue.exp: Likewise.
3164         * gdb.arch/i386-size-overlap.exp: Likewise.
3165         * gdb.arch/i386-size.exp: Likewise.
3166         * gdb.arch/i386-unwind.exp: Likewise.
3167         * gdb.reverse/i386-precsave.exp: Likewise.
3168         * gdb.reverse/i386-reverse.exp: Likewise.
3169         * gdb.reverse/i386-sse-reverse.exp: Likewise.
3170         * gdb.reverse/i387-env-reverse.exp: Likewise.
3171         * gdb.reverse/i387-stack-reverse.exp: Likewise.
3172
3173 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
3174
3175         * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
3176         file doesn't error, using MI.
3177
3178 2011-05-23  Tom Tromey  <tromey@redhat.com>
3179
3180         * gdb.base/charset.exp (string_display): Add tests to assign to
3181         arrays.
3182         * gdb.base/charset.c (short_array, int_array, long_array): New.
3183
3184 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
3185
3186         Cope with async mode.
3187
3188         * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
3189         into gdb_test + mi_expect_stop.
3190
3191 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
3192
3193         * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
3194         (callme): Remove printf call.
3195
3196 2011-05-20  Pierre Muller  <muller@ics.u-strasbg.fr>
3197
3198         * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
3199         quote pattern to avoid problems with Cygwin/mingw expect versions.
3200         * gdb.base/default.exp (show convenience): Use double
3201         quote pattern for regular expressions.
3202
3203 2011-05-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3204
3205         Fix -readnow for -gdwarf-4 unused type units.
3206         * gdb.dwarf2/dw4-sig-type-unused.S: New file.
3207         * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
3208
3209 2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
3210
3211         * gdb.base/kill-after-signal.c: New file.
3212         * gdb.base/kill-after-signal.exp: New file.
3213
3214 2011-05-16  Pedro Alves  <pedro@codesourcery.com>
3215
3216         * gdb.ada/start.exp: Call untested with the correct test filename.
3217         * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
3218         test filename.  Make the test's binary unique.
3219         * gdb.arch/i386-signal.exp: Call untested with the correct test
3220         filename.
3221         * gdb.arch/i386-size-overlap.exp: Ditto.
3222         * gdb.arch/Makefile.in (EXECUTABLES): Update.
3223         * gdb.base/gcore-buffer-overflow.exp: Ditto.
3224         * gdb.cp/call-c.exp: Ditto.
3225         * gdb.mi/mi-reverse.exp: Call untested with the correct test
3226         filename.  Make the test's binary unique.
3227         * gdb.mi/Makefile.in (EXECUTABLES): Update.
3228         * gdb.python/py-mi.exp: Ditto.
3229         * gdb.python/Makefile.in (EXECUTABLES): Update.
3230         * gdb.reverse/i386-precsave.exp: Ditto.
3231         * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
3232         test filename.
3233         * gdb.reverse/i387-stack-reverse.exp: Ditto.
3234         * gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
3235         unique.
3236         * gdb.reverse/sigall-reverse.exp: Call untested with the correct
3237         test filename.
3238         * gdb.reverse/Makefile.in (EXECUTABLES): Update.
3239         * gdb.trace/tfile.exp: Ditto.
3240
3241 2011-05-14  Yao Qi  <yao@codesourcery.com>
3242
3243         * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
3244         type.
3245
3246 2011-05-13  Doug Evans  <dje@google.com>
3247
3248         * gdb.python/py-objfile-script.exp: New file.
3249         * gdb.python/py-objfile-script.c: New file.
3250         * gdb.python/py-objfile-script-gdb.py: New file.
3251         * testsuite/gdb.python/py-section-script.exp: Test
3252         "info auto-load-scripts".
3253
3254 2011-05-13  Tom Tromey  <tromey@redhat.com>
3255
3256         * gdb.dwarf2/clztest.exp: New file.
3257         * gdb.dwarf2/clztest.c: New file.
3258         * gdb.dwarf2/clztest.S: New file.
3259
3260 2011-05-13  Doug Evans  <dje@google.com>
3261
3262         * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
3263         String16 tests.
3264
3265 2011-05-13  Tom Tromey  <tromey@redhat.com>
3266
3267         * lib/gdb.exp (is_x86_like_target): New proc.
3268         * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
3269         * gdb.dwarf2/valop.exp: Use is_x86_like_target.
3270         * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
3271         -nostdlib to compiler.
3272         * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
3273         * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
3274         * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
3275         * gdb.dwarf2/dw2-restore.exp: Check for LP64.
3276         * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
3277
3278 2011-05-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3279
3280         * gdb.python/py-function.exp: Test setting a value from a function
3281         which executes a command.
3282
3283 2011-05-12  Tom Tromey  <tromey@redhat.com>
3284
3285         * gdb.dwarf2/typeddwarf.S: New file.
3286         * gdb.dwarf2/typeddwarf.c: New file.
3287         * gdb.dwarf2/typeddwarf.exp: New file.
3288
3289 2011-05-12  Marek Polacek  <mpolacek@redhat.com>
3290
3291         * gdb.mi/mi-basics.exp: Fix races.  Honour the
3292         `test_exec_and_symbol_mi_operatons' return value.
3293         (test_mi_interpreter_selection): Use mi_gdb_test instead of
3294         gdb_test_multiple.
3295         (test_exec_and_symbol_mi_operatons): Likewise.
3296         (test_path_specification): Likewise.
3297
3298 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3299
3300         * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
3301         (gdb_touch_execfile): Remove catch wrappers.  New variable time.
3302         Replace `file copy' and `file rename' by `file mtime'.  Twice.
3303
3304 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3305
3306         * gdb.base/readline-ask.c: New file.
3307         * gdb.base/readline-ask.exp: New file.
3308         * gdb.base/readline-ask.inputrc: New file.
3309
3310 2011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
3311
3312         * gdb.cell/bt.exp: Delete breakpoints before running to signal
3313         to avoid race condition.
3314         * gdb.cell/coremaker.c: Use small stack size.
3315         * gdb.cell/ea-standalone.exp: Use file name without path as
3316         argument to c_to.
3317         * gdb.cell/fork.exp: Allow other output when continuing to end.
3318
3319 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3320
3321         * gdb.threads/corethreads.c: New file.
3322         * gdb.threads/corethreads.exp: New file.
3323
3324 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3325
3326         * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
3327         Try to compile the test using -Wl,-z,norelro first.
3328         (load_core): New variable libthread_db_seen, initialize it.
3329         (zeroed-threads cannot be listed): Protect it by XFAIL on
3330         !$libthread_db_seen.
3331
3332 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3333
3334         PR 12573
3335         * gdb.dwarf2/dw2-skip-prologue.S: New file.
3336         * gdb.dwarf2/dw2-skip-prologue.c: New file.
3337         * gdb.dwarf2/dw2-skip-prologue.exp: New file.
3338
3339 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3340
3341         * gdb.cp/psymtab-parameter.cc: New file.
3342         * gdb.cp/psymtab-parameter.exp: New file.
3343
3344 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3345
3346         Fix a race.
3347         * gdb.cp/static-print-quit.exp (print c): Split to ...
3348         (print c - <return>, print c - q <return>, print c - to quit):
3349         ... these.  Make the testfile untested on gdb-7.1.
3350
3351 2011-5-05  Janis Johnson  <janisjo@codesourcery.com>
3352
3353         * lib/gdb.exp (exec_target_file, exec_symbol_file,
3354         gdb_rename_execfile, gdb_touch_execfile): New.
3355         * gdb.base/reread.exp: Use new procs to handle multiple
3356         exec files.
3357
3358 2011-05-05  Yao Qi  <yao@codesourcery.com>
3359
3360         * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
3361         (test_adr_32bit, test_pop_pc): New.
3362         * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
3363         (test_adr_32bit, test_pop_pc): New.
3364
3365 2011-05-04  Joseph Myers  <joseph@codesourcery.com>
3366
3367         * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
3368         * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
3369         targets.
3370         * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
3371         handle targets.
3372
3373 2011-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
3374
3375         * gdb.base/completion.exp (complete help info wat): Rename to ...
3376         (complete 'help info wat'): ... here.
3377         Remove all `-re ".*' and `-re "^.*' redundant regexes.
3378         (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
3379
3380 2011-05-04  Pedro Alves  <pedro@codesourcery.com>
3381
3382         * gdb.base/completion.exp: Use gdb_test_multiple instead of
3383         gdb_test and explicit $gdb_prompt/timeout matches.
3384
3385 2011-05-04  Yao Qi  <yao@codesourcery.com>
3386
3387         * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
3388         and __thumb2__.
3389
3390 2011-05-03  Marek Polacek  <mpolacek@redhat.com>
3391
3392         * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
3393         in place of `gdb_test "delete breakpoints"'.  This eliminates two
3394         testcases.
3395
3396 2011-05-02  Pedro Alves  <pedro@codesourcery.com>
3397
3398         PR testsuite/12649
3399         Fix races.
3400
3401         * gdb.base/completion.exp: Remove all sleep calls.  Remove
3402         unnecessary regexs.  Don't explicitly expect anything after the
3403         prompt.  Eat the prompt if necessary.
3404
3405 2011-05-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3406
3407         * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
3408         accept to show the caller line again as well as the line after.
3409
3410 2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>
3411
3412         PR mi/12531
3413
3414         * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
3415         compile target.
3416         * gdb.python/py-prettyprint.exp: Add C++ object for
3417         CPLUS_FAKE_CHILD test.
3418
3419 2011-04-28  Ulrich Weigand  <ulrich.weigand@linaro.org>
3420
3421         * gdb.base/signest.exp: New file.
3422         * gdb.base/signest.c: Likewise.
3423
3424 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3425
3426         * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
3427         thread and breakpoint notifications.
3428
3429 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3430
3431         * gdb.base/fortran-sym-case.c: New file.
3432         * gdb.base/fortran-sym-case.exp: New file.
3433         * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
3434         * gdb.dwarf2/dw2-case-insensitive.c: New file.
3435         * gdb.dwarf2/dw2-case-insensitive.exp: New file.
3436
3437 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3438
3439         * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
3440         * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
3441         false #1', `if true else false #2' and `if true else false #3'.
3442
3443 2011-04-27  Ulrich Weigand  <ulrich.weigand@linaro.org>
3444
3445         * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
3446         while delivering signal.
3447
3448 2011-04-27  Vladimir Prus  <vladimir@codesourcery.com>
3449
3450         MI breakpoint notifications.
3451
3452         * testsuite/gdb.mi/mi-cli.exp: Adust.
3453         * testsuite/gdb.mi/mi2-cli.exp: Adust.
3454         * testsuite/gdb.mi/mi-watch.exp: Adust.
3455         * testsuite/gdb.mi/mi2-watch.exp: Adust.
3456         * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
3457         notifications.
3458
3459 2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
3460
3461         * gdb.base/gdbindex-stabs-dwarf.c: New file.
3462         * gdb.base/gdbindex-stabs.c: New file.
3463         * gdb.base/gdbindex-stabs.exp: New file.
3464
3465 2011-04-25  Yao Qi  <yao@codesourcery.com>
3466
3467         * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
3468         with /*...*/.
3469         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3470
3471 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3472
3473         * gdb.python/py-value.exp (test_objfiles): Name the first test
3474         `py-value in file.filename'.
3475
3476 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3477
3478         * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
3479         * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
3480         * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
3481         !gdbserver_reconnect_p..
3482         (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
3483
3484 2011-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3485
3486         * gdb.cp/cpcompletion.exp (complete class methods)
3487         (complete class methods beginning with F): Move them above runto.  New
3488         comment about the runto delimiter.
3489
3490 2011-04-20  Pedro Alves  <pedro@codesourcery.com>
3491
3492         * gdb.base/maint.exp: Test that "maint print registers" works
3493         without a running program.
3494
3495 2011-04-20  Marek Polacek  <mpolacek@redhat.com>
3496
3497         * gdb.base/setshow.exp: Fix racy tests.
3498         ($old_gdb_prompt): New variable.
3499
3500 2011-04-19  Tom Tromey  <tromey@redhat.com>
3501
3502         * gdb.mi/mi-nsmoribund.exp:
3503         * gdb.hp/gdb.objdbg/objdbg01.exp:
3504         * gdb.base/structs.exp (test_struct_returns):
3505         * gdb.base/call-sc.exp (test_scalar_returns):
3506         * gdb.base/bigcore.exp: Remove duplicate words.
3507
3508 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3509
3510         * gdb.base/break-interp-lib.c (v, vptr): New variables.
3511         * gdb.base/break-interp.exp (test_attach): New comment.
3512
3513 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3514
3515         * gdb.threads/gcore-thread.exp ($core0file): New variable.
3516         (clear __stack_user.next, clear stack_used.next)
3517         (save a zeroed-threads corefile): New test.
3518         Call core_load for $core0file.
3519         (zeroed-threads cannot be listed): New test.
3520
3521 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3522
3523         * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
3524         filename.
3525         ($srcfile): Preserve the original value.
3526         ($testfile): Match it the .exp filename.
3527         ($corefile): New variable.  Substitute it around.
3528         Use clean_restart.
3529         ($prev_timeout): Remove.
3530         (load_core): Move core loading into this proc.
3531         Fix restore of $timeout if load_core fails.
3532
3533 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3534
3535         * gdb.base/eu-strip-infcall.c: New file.
3536         * gdb.base/eu-strip-infcall.exp: New file.
3537
3538 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3539
3540         * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
3541         * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
3542
3543 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3544
3545         Fix Python access to inlined frames.
3546         * gdb.python/py-frame-inline.c: New file.
3547         * gdb.python/py-frame-inline.exp: New file.
3548
3549 2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3550
3551         * gdb.base/gdb1090.exp: Change breakpoint location to read the
3552         content of 's24' correctly (avoiding "optimized out").
3553         * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
3554
3555 2011-04-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3556
3557         * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
3558
3559 2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3560
3561         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
3562         expect a colon in watch -location output.
3563
3564 2011-04-13  Marek Polacek  <mpolacek@redhat.com>
3565
3566         * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
3567         New testcase `expect response to define backtrace'.  Also remove
3568         redundant `default' block.
3569
3570 2011-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3571
3572         * gdb.python/py-prettyprint.c (struct hint_error): New.
3573         (main): New variable hint_error.
3574         * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3575         "print hint_error".
3576         * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3577         (register_pretty_printers): Register it.
3578
3579 2011-04-04  Tom Tromey  <tromey@redhat.com>
3580
3581         * gdb.cp/maint.exp (test_help): Update.
3582         (test_namespace): Likewise.
3583
3584 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
3585
3586         * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3587         * gdb.ada/arrayptr.exp: Add new tests.
3588
3589 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
3590
3591         * gdb.ada/mi_catch_ex: New testcase.
3592
3593 2011-04-01  Pedro Alves  <pedro@codesourcery.com>
3594
3595         * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3596         base::overload(void) method without specifying "const".
3597
3598 2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
3599
3600         * gdb.arch/thumb-singlestep.S: New file.
3601         * gdb.arch/thumb-singlestep.exp: Likewise.
3602
3603 2011-03-31  Tom Tromey  <tromey@redhat.com>
3604
3605         * gdb.python/py-prettyprint.py (exception_flag): New global.
3606         (NoStringContainerPrinter._iterator.next): Check it.
3607         * gdb.python/py-prettyprint.c (main): New variable nstype2.
3608         * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3609
3610 2011-03-29  Tom Tromey  <tromey@redhat.com>
3611
3612         * gdb.cp/anon-struct.cc: New file.
3613         * gdb.cp/anon-struct.exp: New file.
3614
3615 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3616
3617         Test STT_GNU_IFUNC support.
3618         * gdb.base/gnu-ifunc-lib.c: New file.
3619         * gdb.base/gnu-ifunc.c: New file.
3620         * gdb.base/gnu-ifunc.exp: New file.
3621
3622 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3623
3624         Support a ring of related breakpoints.
3625         * gdb.base/watchpoint-delete.c: New file.
3626         * gdb.base/watchpoint-delete.exp: New file.
3627
3628 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3629
3630         * gdb.ada/arrayparam.exp (print first after function call): Use
3631         explicit package name.  Add a comment
3632         (print lasta after function call): Rename ...
3633         (print last after function call): ... it and use explicit package
3634         name.
3635         (print length after function call): Use explicit package name.
3636         * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3637         * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3638         (multiple matches for symbol i): Rename ...
3639         (multiple matches for symbol integervar): ... it.
3640         * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3641         * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3642
3643 2011-03-25  Andrew Burgess  <aburgess@broadcom.com>
3644
3645         * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3646         environment variable to make grep output more predictable. Move
3647         all the environment setup into gdb_init so it's done once per test
3648         case rather than each time we start gdb.
3649
3650 2011-03-24  Tom Tromey  <tromey@redhat.com>
3651
3652         * gdb.base/label.exp: Use `main:there' linespec.  Add re-running
3653         test.
3654
3655 2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
3656
3657         * gdb.dwarf2/dw2-entry-value-main.c: New file.
3658         * gdb.dwarf2/dw2-entry-value.S: New file.
3659         * gdb.dwarf2/dw2-entry-value.exp: New file.
3660
3661 2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
3662
3663         PR python/12183
3664
3665         * gdb.python/py-function.exp: Add GdbError tests.
3666
3667 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
3668
3669         * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3670         (reglocal_test_func, statlocal_test_func): New functions.
3671         (globals_test_func): Call new functions.
3672         * gdb.trace/unavailable.exp (gdb_collect_args_test)
3673         (gdb_collect_locals_test): New procedure.
3674         (gdb_trace_collection_test): Call new procedures.
3675
3676 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
3677
3678         * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3679         (test_register, test_register_unavailable): New procedures.
3680         (gdb_unavailable_registers_test): New procedure.
3681         (gdb_trace_collection_test): Call it.
3682
3683 2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
3684
3685         PR python/12149
3686
3687         * gdb.python/python.exp: Add gdb.write tests.
3688
3689 2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
3690
3691         * gdb.python/Makefile.in: Add py-objfile.
3692         * gdb.python/py-objfile.exp: New file.
3693         * gdb.python/py-objfile.c: New file.
3694         * gdb.python/py-block.exp: Add is_valid tests.
3695         * gdb.python/py-inferior.exp: Ditto.
3696         * gdb.python/py-infthread.exp: Ditto.
3697         * gdb.python/py-symbol.exp: Ditto.
3698         * gdb.python/py-symtab.exp: Ditto.
3699
3700 2011-03-16  Keith Seitz  <keiths@redhat.com>
3701
3702         PR c++/12273
3703         * gdb.cp/cmpd-minsyms.exp: New test.
3704         * gdb.cp/cmpd-minsyms.cc: New file.
3705
3706         PR c++/11734
3707         * gdb.cp/ovsrch.exp: New test.
3708         * gdb.cp/ovsrch.h: New file.
3709         * gdb.cp/ovsrch1.cc: New file.
3710         * gdb.cp/ovsrch2.cc: New file.
3711         * gdb.cp/ovsrch3.cc: New file.
3712         * gdb.cp/ovsrch4.cc: New file.
3713
3714 2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
3715
3716         PR gdb/12528
3717         * gdb.base/Makefile.in: Adjust EXECUTABLES.
3718         * gdb.base/break-on-linker-gcd-function.exp: New test.
3719         * gdb.base/break-on-linker-gcd-function.cc: New file.
3720
3721 2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
3722
3723         * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3724
3725 2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
3726
3727         * lib/gdb.exp (gdb_unload): Add another termination case.
3728
3729 2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
3730
3731         * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3732         * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3733         * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3734         Provide a stub byte there.
3735         (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3736         DW_AT_entry_pc.
3737         (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3738
3739 2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
3740
3741         * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3742         using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
3743         "generic ABI, auto".
3744         (altivec_abi_tests): Accept vectors returned by reference.
3745
3746 2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
3747
3748         * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3749
3750 2011-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
3751
3752         * gdb.python/py-section-script.exp: Skip test if no Python support.
3753
3754 2011-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
3755
3756         * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3757
3758 2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
3759
3760         * gdb.python/py-parameter.exp: Update tests to the new Python
3761         parameter API. Add "no documentation" test.  Add deprecated API
3762         backward compatibility test.
3763
3764 2011-03-09  Tom Tromey  <tromey@redhat.com>
3765
3766         * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3767         gdb_continue_to_end.
3768
3769 2011-03-09  Mark Kettenis  <kettenis@gnu.org>
3770
3771         * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3772         tabs.
3773
3774 2011-03-09  Tom Tromey  <tromey@redhat.com>
3775
3776         * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
3777         parentheses.
3778         (gdb_continue_to_end): Add "allow_extra" parameter.  Use
3779         $command.
3780         * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3781         argument to gdb_continue_to_end.
3782         * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3783         argument to gdb_continue_to_end.
3784         * gdb.cp/annota3.exp: Fix regex.
3785         * gdb.cp/annota2.exp: Fix regex.
3786         * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3787         gdb_continue_to_end.
3788         * gdb.base/call-signal-resume.exp: Revert earlier patch.
3789         * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3790         gdb_continue_to_end.
3791
3792 2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
3793
3794         * gdb.server/ext-run.exp
3795         (load new file without any gdbserver inferior): New test.
3796
3797 2011-03-07  Tom Tromey  <tromey@redhat.com>
3798
3799         * Makefile.in (TAGS): Rewrite.
3800
3801 2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3802
3803         * gdb.trace/report.exp (12.1: trace report #1): New match for the
3804         initial commands echo.  New match for `Found trace'.  Anchor all the
3805         other matches.  Anchor and match for `No trace frame found' the final
3806         match.
3807
3808 2011-03-07  Tom Tromey  <tromey@redhat.com>
3809
3810         * Makefile.in (TAGS): New target.
3811
3812 2011-03-07  Tom Tromey  <tromey@redhat.com>
3813
3814         * lib/opencl.exp (skip_opencl_tests): Update for exit message
3815         change.
3816         * lib/mi-support.exp (mi_gdb_test): Update for exit message
3817         change.
3818         * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
3819         exit message change.
3820         (skip_altivec_tests): Update for exit message change.
3821         (skip_vsx_tests): Likewise.
3822         (gdb_continue_to_end): Likewise.  Add 'command' argument.
3823         * lib/cell.exp (skip_cell_tests): Update for exit message change.
3824         * gdb.threads/tls.exp: Update for exit message change.
3825         * gdb.threads/thread-unwindonsignal.exp: Use
3826         gdb_continue_to_end.
3827         * gdb.threads/step.exp (step_it): Update for exit message change.
3828         (continue_all): Likewise.
3829         * gdb.threads/print-threads.exp (test_all_threads): Update for
3830         exit message change.
3831         * gdb.threads/interrupted-hand-call.exp: Use
3832         gdb_continue_to_end.
3833         * gdb.threads/execl.exp: Use gdb_continue_to_end.
3834         * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3835         gdb_continue_to_end.
3836         * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3837         * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3838         * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3839         * gdb.cp/method.exp: Update for exit message change.
3840         * gdb.cp/mb-templates.exp: Update for exit message change.
3841         * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3842         * gdb.cp/annota3.exp: Update for exit message change.
3843         * gdb.cp/annota2.exp: Update for exit message change.
3844         * gdb.cell/fork.exp: Use gdb_continue_to_end.
3845         * gdb.base/term.exp: Update for exit message change.
3846         * gdb.base/step-test.exp (test_i): Update for exit message change.
3847         * gdb.base/sigstep.exp (advance): Update for exit message change.
3848         (advancei): Likewise.
3849         * gdb.base/siginfo.exp: Update for exit message change.
3850         * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3851         * gdb.base/reread.exp: Use gdb_continue_to_end.
3852         * gdb.base/langs.exp: Use gdb_continue_to_end.
3853         * gdb.base/interrupt.exp: Update for exit message change.
3854         * gdb.base/gdb1555.exp: Update for exit message change.
3855         * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3856         * gdb.base/ending-run.exp: Update for exit message change.
3857         * gdb.base/chng-syms.exp: Update for exit message change.
3858         * gdb.base/checkpoint.exp: Update for exit message change.
3859         * gdb.base/catch-syscall.exp (check_for_program_end): Use
3860         gdb_continue_to_end.
3861         (test_catch_syscall_with_wrong_args): Likewise.
3862         * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3863         * gdb.base/break-interp.exp (test_ld): Update for exit message
3864         change.
3865         * gdb.base/bang.exp: Update for exit message change.
3866         * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3867         (do_call_attach_tests): Likewise.
3868         * gdb.base/a2-run.exp: Update for exit message change.
3869         * gdb.arch/ppc-dfp.exp: Update for exit message change.
3870         * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3871         * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3872
3873 2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
3874
3875         * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3876
3877 2011-03-03  Tom Tromey  <tromey@redhat.com>
3878
3879         * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3880         * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3881         * gdb.hp/gdb.aCC/configure.ac: Remove.
3882         * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3883         * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3884         * gdb.hp/gdb.base-hp/configure.ac: Remove.
3885         * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3886         * gdb.hp/gdb.compat/configure (Makefile): Remove.
3887         * gdb.hp/gdb.compat/configure.ac: Remove.
3888         * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3889         * gdb.hp/gdb.defects/configure (Makefile): Remove.
3890         * gdb.hp/gdb.defects/configure.ac: Remove.
3891         * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3892         * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3893         * gdb.hp/gdb.objdbg/configure.ac: Remove.
3894         * gdb.hp/configure.ac: Remove.
3895         * gdb.hp/configure: Remove.
3896         * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3897         substitution.
3898         (Makefile): Remove rule.
3899         * gdb.cell/configure.ac: Remove.
3900         * gdb.cell/configure: Remove.
3901         * gdb.stabs/Makefile.in (Makefile): Remove.
3902         (distclean): Don't remove config.status or config.log.
3903         * gdb.stabs/configure (Makefile): Remove.
3904         * gdb.stabs/configure.ac: Remove.
3905         * configure: Rebuild.
3906         * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3907         Remove stabs- and cell-specific logic.  Test for existence of
3908         ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
3909         subdirectories, gdb.cell, and and gdb.stabs.
3910         * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3911
3912 2011-03-03  Joel Brobecker  <brobecker@adacore.com>
3913
3914         * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3915         end of buffer.
3916
3917 2011-03-02  Joel Brobecker  <brobecker@adacore.com>
3918
3919         * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3920         gdb_test when running a test where we expected no output back.
3921
3922 2011-02-28  Michael Snyder  <msnyder@vmware.com>
3923
3924         * gdb.cp/overload.cc: Change initializer value to integer.
3925
3926 2011-02-27  Michael Snyder  <msnyder@vmware.com>
3927
3928         * gdb.multi/base.exp: Add test for remove-inferiors.
3929
3930 2011-02-26  Joel Brobecker  <brobecker@adacore.com>
3931
3932         * gdb.python/py-frame.exp: Simplify the initialization phase
3933         using prepare_for_testing.
3934
3935 2011-02-25  Michael Snyder  <msnyder@vmware.com>
3936
3937         * gdb.multi/base.exp: Add tests for info inferiors with args.
3938
3939 2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
3940
3941         * gdb.dwarf2/dw2-ranges.S: Rename to ...
3942         * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3943         * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3944         Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3945         asmfile3.  Comment the STABS (#3) file compilation.  Compile
3946         everything through assembler.  Provide KFAIL for symtab/12497.
3947         * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3948         * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3949         * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3950         * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3951
3952 2011-02-24  Michael Snyder  <msnyder@vmware.com>
3953
3954         * gdb.base/break.exp: Add tests for delete breakpoints using
3955         convenience variables and value history references.
3956
3957 2011-02-24  Michael Snyder  <msnyder@vmware.com>
3958
3959         * gdb.base/break.exp: Remove debugging 'printf' accidentally
3960         left behind in previous check-in.
3961
3962 2011-02-23  Michael Snyder  <msnyder@vmware.com>
3963
3964         * gdb.base/break.exp: Add tests for "info break" with arguments.
3965         * gdb.trace/infotrace.exp: Update patterns for error and help.
3966         * gdb.base/completion.exp: Update pattern.
3967         * gdb.base/ena-dis-br.exp: Update pattern.
3968         * gdb.base/help.exp: Update patterns.
3969
3970 2011-02-23  Michael Snyder  <msnyder@vmware.com>
3971
3972         * gdb.base/memattr.exp: New test.
3973         * gdb.base/memattr.c: Test load for memattr.exp.
3974
3975 2011-02-22  Doug Evans  <dje@google.com>
3976
3977         * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3978
3979 2011-02-22  Michael Snyder  <msnyder@vmware.com>
3980
3981         * Makefile.in: Make more clean.
3982         * gdb.ada/Makefile.in: Ditto.
3983         * gdb.arch/Makefile.in: Ditto.
3984         * gdb.asm/Makefile.in: Ditto.
3985         * gdb.base/Makefile.in: Ditto.
3986         * gdb.cp/Makefile.in: Ditto.
3987         * gdb.dwarf2/Makefile.in: Ditto.
3988         * gdb.java/Makefile.in: Ditto.
3989         * gdb.mi/Makefile.in: Ditto.
3990         * gdb.modula2/Makefile.in: Ditto.
3991         * gdb.python/Makefile.in: Ditto.
3992         * gdb.server/Makefile.in: Ditto.
3993         * gdb.stabs/Makefile.in: Ditto.
3994         * gdb.threads/Makefile.in: Ditto.
3995         * gdb.trace/Makefile.in: Ditto.
3996
3997 2011-02-22  Michael Snyder  <msnyder@vmware.com>
3998
3999         * gdb.threads/thread-find.exp: Add tests for bad input to
4000         info threads.
4001
4002 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
4003
4004         * gdb.python/py-breakpoint.exp: Fix the expected output of
4005         one of the "maint info breakpoints" tests to accept the output
4006         generated on platforms that do not have hardware watchpoints.
4007
4008 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
4009
4010         * gdb.python/py-breakpoint.exp: Remove unnecessary call to
4011         clean_restart.  Be a little stricter in the expected output
4012         for one of the tests.  Fix a typo in one of the comments.
4013
4014 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
4015
4016         * gdb.python/py-block.exp: Simplify using prepare_for_testing.
4017         Delete variable binfile, no longer use.  Add or modify test
4018         comments to make them unique.
4019
4020 2011-02-21  Michael Snyder  <msnyder@vmware.com>
4021
4022         * Makefile.in: Update for make clean.
4023         * gdb.ada/Makefile.in: Ditto.
4024         * gdb.arch/Makefile.in: Ditto.
4025         * gdb.asm/Makefile.in: Ditto.
4026         * gdb.base/Makefile.in: Ditto.
4027         * gdb.cp/Makefile.in: Ditto.
4028         * gdb.dwarf2/Makefile.in: Ditto.
4029         * gdb.java/Makefile.in: Ditto.
4030         * gdb.mi/Makefile.in: Ditto.
4031         * gdb.modula2/Makefile.in: Ditto.
4032         * gdb.python/Makefile.in: Ditto.
4033         * gdb.server/Makefile.in: Ditto.
4034         * gdb.stabs/Makefile.in: Ditto.
4035         * gdb.threads/Makefile.in: Ditto.
4036         * gdb.trace/Makefile.in: Ditto.
4037
4038 2011-02-21  Michael Snyder  <msnyder@vmware.com>
4039
4040         * gdb.threads/thread-find.exp: Update patterns for changes in
4041         output of "info threads" command.
4042
4043 2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4044             Ulrich Weigand  <uweigand@de.ibm.com>
4045
4046         * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
4047         (skip_hw_watchpoint_tests): Likewise.
4048         (skip_hw_watchpoint_multi_tests): Likewise.
4049
4050 2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
4051
4052         * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
4053         (skip_hw_watchpoint_tests): Likewise.
4054         (skip_hw_watchpoint_multi_tests): Likewise.
4055         (skip_hw_watchpoint_access_tests): Likewise.
4056
4057         * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
4058         * gdb.base/pr11022.exp: Likewise.
4059         * gdb.base/watch-read.exp: Likewise.
4060         * gdb.base/watch_thread_num.exp: Likewise.
4061         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4062         * gdb.base/watchpoint-hw.exp: Likewise.
4063         * gdb.base/watchpoint.exp: Likewise.
4064         * gdb.threads/local-watch-wrong-thread.exp: Likewise.
4065         * gdb.threads/watchthreads-reorder.exp: Likewise.
4066         * gdb.threads/watchthreads.exp: Likewise.
4067         * gdb.threads/watchthreads2.exp: Likewise.
4068
4069 2011-02-21  Joel Brobecker  <brobecker@adacore.com>
4070
4071         * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
4072         the debugger is unable to find the array bounds.
4073
4074 2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
4075
4076         * gdb.cp/typedef-operator.exp: New file.
4077         * gdb.cp/typedef-operator.cc: New file.
4078
4079 2011-02-17  Michael Snyder  <msnyder@vmware.com>
4080
4081         * gdb.threads/thread-find.exp: Fix regular expressions.
4082
4083 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
4084
4085         * gdb.ada/packed_array: Expand testcase to test printing of
4086         unconstrained packed array.
4087
4088 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
4089
4090         * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
4091
4092 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
4093
4094         * gdb.trace/collection.c (globalarr3): New global.
4095         (main): Initialize it before collecting, and and clear it
4096         afterwards.
4097         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
4098         collecting with '{type} addr', where the addr expression is not an
4099         rvalue.
4100
4101 2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
4102
4103         * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
4104         a bool variable. Expect correct OpenCL names for vector types. Use the
4105         uc3 variable name instead of referring to the uchar3 built-in type.
4106         Escape the asterisk at the half pointer test.
4107
4108 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
4109
4110         * gdb.trace/collection.c (globalarr2): New global.
4111         (main): Initialize it before collecting, and and clear it
4112         afterwards.
4113         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
4114         collecting overlapping memory ranges.
4115
4116 2011-02-15  Michael Snyder  <msnyder@vmware.com>
4117
4118         * gdb.base/default.exp: Add tests for thread commands.
4119         * gdb.base/help.exp: Add tests for thread commands.
4120         * gdb.threads/thread-find.exp: New test for thread find command.
4121
4122 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
4123
4124         * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
4125
4126 2011-02-15  Yao Qi  <yao@codesourcery.com>
4127
4128         PR tdep/12352
4129         * gdb.arch/arm-disp-step.S : New test for str instruction.
4130         * gdb.arch/arm-disp-step.exp : Likewise.
4131
4132 2011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4133
4134         * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
4135         "vector_register2_vr" test strings.  Test the extended floating
4136         point registers (F32~F63).
4137         * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
4138         IBM XL C compiler.  Make the test program use a register provided
4139         by the compiler for the lxvd2x instruction.
4140
4141 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
4142
4143         * gdb.trace/unavailable.cc (class Base, class Middle, class
4144         Derived): New types.
4145         (derived_unavail, derived_partial, derived_whole): New globals.
4146         (virtual_partial): New global.
4147         (virtualp): Point at virtual_partial.
4148         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
4149         related to unavailable vptr.
4150
4151 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
4152
4153         * gdb.trace/unavailable.cc (a, b, c): New globals.
4154         (main): Set and clear them.
4155         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
4156         `a' and `c', and check that `b' isn't collected, although `a' and
4157         `c' are.
4158
4159 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
4160
4161         * gdb.trace/unavailable.cc (struct Virtual): New.
4162         (virtualp): New global pointer.
4163         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
4164         printing a pointer to an object whose type has a vtable, with
4165         print object on.
4166
4167 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
4168
4169         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
4170         value repeat handles unavailableness.
4171
4172 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
4173
4174         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
4175         tests for building arrays from unavailable values, subscripting
4176         non-memory rvalue unvailable arrays, and accessing fields or
4177         baseclasses of non-lazy unavailable values,
4178         * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
4179         struct types.
4180         (g_smallstruct, g_smallstruct_b): New globals.
4181
4182 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
4183
4184         * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
4185
4186 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4187
4188         Fix const/volatile qualifiers of C++ types, PR c++/12328.
4189         * gdb.cp/overload-const.exp: New file.
4190         * gdb.cp/overload-const.cc: New file.
4191
4192 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
4193
4194         * gdb.opencl/callfuncs.cl: New file.
4195         * gdb.opencl/callfuncs.exp: New test.
4196         * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
4197
4198 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
4199
4200         * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
4201         when computing result.
4202         * gdb.arch/altivec-abi.exp: Update expected results.
4203
4204 2011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4205
4206         * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
4207         * gdb.base/jit.exp: Likewise.
4208         * gdb.base/pie-execl.exp: Likewise.
4209         * gdb.base/solib-nodir.exp: Likewise.
4210         * gdb.base/solib-overlap.exp: Likewise.
4211
4212 2011-02-07  Pedro Alves  <pedro@codesourcery.com>
4213
4214         * gdb.trace/collection.c (global_pieces): New.
4215         * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
4216         New procedure.
4217         (gdb_trace_collection_test): Call it.
4218
4219 2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
4220
4221         * gdb.python/py-evthreads.c: New file.
4222         * gdb.python/py-evthreads.exp: New file.
4223         * gdb.python/py-events.py: New file.
4224         * gdb.python/py-events.exp: New file.
4225         * gdb.python/py-events.c: New file.
4226
4227 2011-02-04 David Daney <ddaney@caviumnetworks.com>
4228
4229         * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
4230
4231 2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
4232
4233         * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
4234         gdb.base/disasm-end-cu.exp: New test for disassembling over the
4235         boundary between two compilation units.
4236
4237 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
4238
4239         * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
4240         (Virtual): New structs.
4241         (virtual_o, virtual_middle_b): New globals.
4242         * gdb.cp/virtbase.exp: New tests.
4243
4244 2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
4245
4246         * gdb.base/jit.exp: New file.
4247         * gdb.base/jit-main.c: New file.
4248         * gdb.base/jit-solib.c: New file.
4249
4250 2011-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
4251
4252         * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
4253         proceed to initial kernel entry point.
4254         * gdb.opencl/datatypes.exp: Likewise.
4255         * gdb.opencl/operators.exp: Likewise.
4256         * gdb.opencl/vec_comps.exp: Likewise.
4257
4258 2011-01-31  Sami Wagiaalla  <swagiaal@redhat.com>
4259
4260         * gdb.cp/nsnested.cc: New.
4261         * gdb.cp/nsnested.exp: New.
4262         * gdb.cp/nsnoimports.exp: New.
4263         * gdb.cp/nsnoimports.cc: New.
4264
4265 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
4266
4267         * gdb.base/interact.exp: Add extra tests that verify that
4268         the value of the interactive-mode setting does not change
4269         after the script is sourced.
4270
4271 2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4272
4273         * gdb.cp/noparam.exp: New file.
4274         * gdb.cp/noparam.cc: New file.
4275
4276 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
4277
4278         * gdb.trace/tfile.exp: Test that with no traceframe selected,
4279         there's no stack or registers.
4280
4281 2011-01-26  Tom Tromey  <tromey@redhat.com>
4282
4283         * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
4284         space before string output.  Add test for "set print pretty off"
4285         case.
4286
4287 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
4288
4289         * gdb.base/frame-args.exp: Adjust.
4290         * gdb.dwarf2/dw2-noloc.exp: Adjust.
4291         * gdb.dwarf2/dw2-inline-param.exp: Adjust.
4292         * gdb.dwarf2/pieces.exp: Adjust.
4293         * gdb.opt/clobbered-registers-O2.exp: Adjust.
4294         * gdb.opt/inline-locals.exp: Adjust.
4295         * gdb.threads/fork-child-threads.exp: Adjust.
4296
4297 2011-01-25  Ken Werner  <ken.werner@de.ibm.com>
4298
4299         * gdb.opencl/convs_casts.cl: Move program scope variables into the
4300         OpenCL kernel function. Add a comment as marker. Add address space
4301         qualifiers for the remaining program scope variables.
4302         * gdb.opencl/datatypes.cl: Likewise.
4303         * gdb.opencl/operators.cl: Likewise.
4304         * gdb.opencl/vec_comps.cl: Likewise.
4305         * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
4306         Add breakpoint at the marker comment.
4307         * gdb.opencl/datatypes.exp: Likewise.
4308         * gdb.opencl/operators.exp: Likewise.
4309         * gdb.opencl/vec_comps.exp: Likewise.
4310
4311 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
4312
4313         * gdb.base/printcmds.c (some_struct): New struct and instance.
4314         * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
4315         procedure.
4316         <global scope>: Call it.
4317
4318 2011-01-21  Ken Werner  <ken.werner@de.ibm.com>
4319
4320         * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
4321         argument to the gdb_compile_opencl_hostapp call.
4322
4323 2011-01-19  Yao Qi  <yao@codesourcery.com>
4324
4325         * lib/dwarf.exp (dwarf2_support): Change supported targets to a
4326         positve list.
4327
4328 2011-01-19  Yao Qi  <yao@codesourcery.com>
4329
4330         * gdb.asm/asm-source.exp: Replace ARM target triplet with a
4331         canonical form.
4332         Remove "xscale-*-*"
4333         * gdb.xml/tdesc-regs.exp: Likewise.
4334         * gdb.python/py-section-script.exp: Replace ARM target triplet
4335         with canonical form.
4336         Match arm*-*-symbianelf*.
4337         * gdb.base/dup-sect.exp: Likewise.
4338         * lib/dwarf.exp: New.
4339         * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
4340         dwarf2_support.
4341         * gdb.dwarf2/dup-psym.exp: Likewise.
4342         * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
4343         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4344         * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
4345         * gdb.dwarf2/dw2-basic.exp: Likewise.
4346         * gdb.dwarf2/dw2-compressed.exp: Likewise.
4347         * gdb.dwarf2/dw2-const.exp: Likewise.
4348         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
4349         * gdb.dwarf2/dw2-cu-size.exp: Likewise.
4350         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4351         * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
4352         * gdb.dwarf2/dw2-filename.exp: Likewise.
4353         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4354         * gdb.dwarf2/dw2-inline-param.exp: Likewise.
4355         * gdb.dwarf2/dw2-intercu.exp: Likewise.
4356         * gdb.dwarf2/dw2-intermix.exp: Likewise.
4357         * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
4358         * gdb.dwarf2/dw2-noloc.exp: Likewise.
4359         * gdb.dwarf2/dw2-op-call.exp: Likewise.
4360         * gdb.dwarf2/dw2-producer.exp: Likewise.
4361         * gdb.dwarf2/dw2-ranges.exp: Likewise.
4362         * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
4363         * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
4364         * gdb.dwarf2/dw2-strp.exp: Likewise.
4365         * gdb.dwarf2/dw2-unresolved.exp: Likewise.
4366         * gdb.dwarf2/implptr.exp: Likewise.
4367         * gdb.dwarf2/mac-fileno.exp: Likewise.
4368         * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
4369         * gdb.dwarf2/pieces.exp: Likewise.
4370         * gdb.dwarf2/pr11465.exp: Likewise.
4371         * gdb.dwarf2/valop.exp: Likewise.
4372         * gdb.dwarf2/watch-notconst.exp: Likewise.
4373         * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
4374
4375 2011-01-19  Tom Tromey  <tromey@redhat.com>
4376
4377         * gdb.python/py-infthread.exp: Add thread tests.
4378
4379 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
4380
4381         * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
4382
4383 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
4384
4385         * gdb.ada/widewide: New testcase.
4386
4387 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
4388
4389         * gdb.base/interact.exp: New testcase.
4390
4391 2011-01-12  Tom Tromey  <tromey@redhat.com>
4392
4393         * gdb.mi/gdb2549.exp: Update for error message changes.
4394         * gdb.mi/mi-cli.exp: Likewise.
4395         * gdb.mi/mi-disassemble.exp: Likewise.
4396         * gdb.mi/mi-pthreads.exp: Likewise.
4397         * gdb.mi/mi-regs.exp: Likewise.
4398         * gdb.mi/mi-stack.exp: Likewise.
4399         * gdb.mi/mi-var-block.exp: Likewise.
4400         * gdb.mi/mi-var-cmd.exp: Likewise.
4401         * gdb.mi/mi2-cli.exp: Likewise.
4402         * gdb.mi/mi2-disassemble.exp: Likewise.
4403         * gdb.mi/mi2-pthreads.exp: Likewise.
4404         * gdb.mi/mi2-regs.exp: Likewise.
4405         * gdb.mi/mi2-stack.exp: Likewise.
4406         * gdb.mi/mi2-var-block.exp: Likewise.
4407         * gdb.mi/mi2-var-cmd.exp: Likewise.
4408
4409 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
4410             Jan Kratochvil  <jan.kratochvil@redhat.com>
4411
4412         PR fortran/11104 and DWARF unbound arrays detection.
4413         * gdb.fortran/multi-dim.exp: New file.
4414         * gdb.fortran/multi-dim.f90: New file.
4415
4416 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
4417
4418         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
4419         expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
4420         add new tests for opcode dumping.
4421
4422 2011-01-11  Tom Tromey  <tromey@redhat.com>
4423
4424         * gdb.python/py-infthread.exp: Load gdb-python.exp.
4425
4426 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4427
4428         Convert hardware watchpoints to use breakpoint_ops.
4429         * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
4430         type is not supported.
4431         * gdb.base/foll-fork.exp: Likewise.
4432         * gdb.base/foll-vfork.exp: Likewise.
4433
4434 2011-01-10  Phil Muldoon  <pmuldoon@redhat.com>
4435
4436         * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
4437         Use load_lib gdb-python.exp.
4438         * gdb.python/python.exp: Ditto.
4439         * gdb.python/py-function.exp: Ditto.
4440
4441 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
4442
4443         * gdb.threads/tls.exp ("info address me"): Fix expected output.
4444
4445 2011-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4446
4447         * configure: Regenerate.
4448
4449 2011-01-06  Tom Tromey  <tromey@redhat.com>
4450
4451         * gdb.python/py-frame.exp: Test gdb.newest_frame.
4452
4453 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
4454
4455         * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
4456         gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
4457         gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4458         gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
4459         gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
4460         gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4461         gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
4462         gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
4463         gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
4464         gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
4465         gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
4466         gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
4467         gdb.ada/null_array.exp, gdb.ada/null_record.exp,
4468         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4469         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4470         gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
4471         gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
4472         gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
4473         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4474         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
4475         gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
4476         gdb.ada/uninitialized_vars.exp,
4477         gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
4478         Simplify by using clean_restart.
4479
4480 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
4481
4482         Add marker to be used as anchor for inserting breakpoints.
4483         * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
4484         * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
4485         Likewise.
4486
4487         Remove uses of gdb_start_cmd.
4488         * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
4489         * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
4490
4491         Do not run testcase if testing with GDBserver.
4492         * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
4493         if testing with GDBserver.
4494
4495 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
4496
4497         * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
4498         gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
4499         copyright header.
4500
4501 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
4502
4503         * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
4504         testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
4505         testsuite/gdb.fortran/complex.f,
4506         testsuite/gdb.fortran/derived-type.f90,
4507         testsuite/gdb.fortran/library-module-lib.f90,
4508         testsuite/gdb.fortran/library-module-main.f90,
4509         testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
4510         testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
4511         Copyright year update.
4512
4513 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
4514
4515         * gdb.base/langs1.f: Add copyright header.
4516
4517 2011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4518
4519         * gdb.base/morestack.exp: New file.
4520         * gdb.base/morestack.c: New file.
4521
4522 2011-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4523
4524         * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
4525
4526 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
4527
4528         * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
4529         * gdb.ada/arrayptr.exp: Add test printing that new variable.
4530
4531 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
4532
4533         * gdb.ada/lang_switch.exp: Correct expected parameter value.
4534
4535 2010-12-25  Andreas Schwab  <schwab@linux-m68k.org>
4536
4537         * gdb.threads/tls.exp: Fix typo.
4538
4539         * gdb.threads/thread-specific.exp (get_thread_list): Update.
4540         * gdb.threads/execl.exp: Update.
4541
4542 2010-12-23  Yao Qi  <yao@codesourcery.com>
4543
4544         * gdb.arch/arm-disp-step.exp: New.
4545         * gdb.arch/arm-disp-step.S: New.
4546
4547 2010-12-21  Tom Tromey  <tromey@redhat.com>
4548
4549         * gdb.threads/execl.exp: Update.
4550         * gdb.threads/linux-dp.exp: Update.
4551         * gdb.threads/manythreads.exp: Update.
4552         * gdb.threads/tls.exp: Update.
4553
4554 2010-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
4555
4556         * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
4557         (NextOverThrowDerivates) <resumebpt>: New.
4558         (resumebpt_test): New.
4559         (main): Call resumebpt_test.
4560         * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
4561
4562 2010-12-12  Stan Shebs  <stan@codesourcery.com>
4563
4564         * gdb.trace/tsv.exp: Test print command on trace state variables.
4565
4566 2010-12-09  Tom Tromey  <tromey@redhat.com>
4567
4568         * gdb.base/interp.exp: Add regression test.
4569
4570 2010-12-09  Tom Tromey  <tromey@redhat.com>
4571
4572         * gdb.java/jnpe.java: New file.
4573         * gdb.java/jnpe.exp: New file.
4574         * gdb.cp/nextoverthrow.exp: New file.
4575         * gdb.cp/nextoverthrow.cc: New file.
4576
4577 2010-12-07  Doug Evans  <dje@google.com>
4578
4579         * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4580         of data-directory.
4581         * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4582         updated.
4583         * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4584
4585 2010-11-29  Michael Snyder  <msnyder@vmware.com>
4586
4587         * gdb.base/callfuncs.exp: Test for skip_float_tests.
4588         * gdb.base/call-sc.exp: Ditto.
4589         * gdb.base/finish.exp: Ditto.
4590         * gdb.base/return.exp: Ditto.
4591         * gdb.base/return2.exp: Ditto.
4592
4593 2010-11-30  Doug Evans  <dje@google.com>
4594
4595         * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4596         (gdb_expect_list): Fix spelling errors in comments.
4597         * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4598         send_gdb/gdb_expect_list where applicable.
4599         * gdb.base/call-ar-st.exp: Ditto.
4600         * gdb.base/funcargs.exp: Ditto.
4601         * gdb.base/gcore.exp: Ditto.
4602         * gdb.base/page.exp: Ditto.
4603         * gdb.base/sigaltstack.exp: Ditto.
4604         * gdb.base/siginfo.exp: Ditto.
4605         * gdb.base/sigstep.exp: Ditto.
4606         * gdb.base/trace-commands.exp: Ditto.
4607
4608 2010-11-29  Doug Evans  <dje@google.com>
4609
4610         * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4611         printer-name;subprinter-name.
4612
4613 2010-11-29  Tom Tromey  <tromey@redhat.com>
4614
4615         * gdb.dwarf2/implptr.exp: New file.
4616         * gdb.dwarf2/implptr.c: New file.
4617         * gdb.dwarf2/implptr.S: New file.
4618
4619 2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>
4620
4621         PR python/12199
4622
4623         * gdb.python/py-breakpoint.exp: Test the delete method.
4624
4625 2010-11-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4626
4627         Fix step_resume_breakpoint unsaved during an infcall.
4628         * gdb.base/step-resume-infcall.exp: New file.
4629         * gdb.base/step-resume-infcall.c: New file.
4630
4631 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
4632
4633         * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4634
4635 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
4636
4637         * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4638         on ppc64's symbols; "finish" and "return" commands must accept to
4639         show the caller line again as well as the line after.
4640         * gdb.asm/powerpc64.inc: New file.
4641
4642 2010-11-23  Doug Evans  <dje@google.com>
4643
4644         * lib/gdb.exp (gdb_test_sequence): New function.
4645         (gdb_expect_list): Add verbose -log call for each pattern.
4646         * gdb.base/signals.exp (test_handle_all_print): Call it.
4647         Reduce timeout increment from 6 minutes to 1 minute.
4648         * gdb.server/ext-run.exp: Call it.
4649
4650 2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>
4651
4652         PR python/12212
4653
4654         * gdb.python/python.exp: Check that selected_thread raises an
4655         error when no inferior is loaded.
4656
4657 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4658
4659         * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4660         * gdb.dwarf2/dw2-stack-boundary.S: New file.
4661
4662 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4663
4664         * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4665         * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4666
4667 2010-11-18  Doug Evans  <dje@google.com>
4668
4669         * gdb.server/ext-run.exp: Fix intermittent failures.
4670
4671 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
4672
4673         * gdb.stabs/gdb11479.exp: Use runto_main.
4674
4675 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
4676
4677         * gdb.base/break-entry.exp: Skip if using a stub.
4678
4679 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
4680
4681         * gdb.python/py-inferior.exp: Pack values in target endianness.
4682
4683 2010-11-12  Tom Tromey  <tromey@redhat.com>
4684
4685         * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4686         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4687         MemoryError.
4688         * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4689         type.
4690         * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4691         MemoryError.
4692         (test_subscript_regression): Update exception type.
4693
4694 2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
4695
4696         * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4697         breakpoint tests.
4698
4699 2010-11-09  Pedro Alves  <pedro@codesourcery.com>
4700
4701         * gdb.base/watchpoint.exp: Test "watch -location" with an
4702         innacessible location.
4703
4704 2010-11-09  Edjunior Machado  <emachado@br.ibm.com>
4705             Luis Machado  <luisgpm@br.ibm.com>
4706
4707         * gdb.base/maint.exp: Expect "." prefix.
4708         * gdb.base/nodebug.exp: Expect "." Likewise.
4709         * gdb.base/sepsymtab.exp: Expect "." Likewise.
4710         * gdb.base/watchpoint-cond-gone.exp: Likewise.
4711         * gdb.base/watchpoint.exp: Expect a software watch to be created for
4712         POWER server processors.
4713
4714 2010-11-08  Edjunior Machado  <emachado@br.ibm.com>
4715             Luis Machado  <luisgpm@br.ibm.com>
4716
4717         * gdb.base/break-entry.exp: convert entry point for
4718         ppc64 and expect leading `.' on ppc64's symbols
4719
4720 2010-11-05  Doug Evans  <dje@google.com>
4721
4722         * gdb.base/help.exp: Update expected output.
4723         * gdb.python/py-param.exp: Delete, contents moved to ...
4724         * gdb.python/py-parameter.exp: ... here.  New file.
4725         Add test for gdb.parameter ("directories").
4726
4727 2010-11-05  Ken Werner  <ken.werner@de.ibm.com>
4728
4729         * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4730         * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4731         * configure: Regenerate.
4732         * gdb.opencl/Makefile.in: New File.
4733         * gdb.opencl/datatypes.exp: Likewise.
4734         * gdb.opencl/datatypes.cl: Likewise.
4735         * gdb.opencl/operators.exp: Likewise.
4736         * gdb.opencl/operators.cl: Likewise.
4737         * gdb.opencl/vec_comps.exp: Likewise.
4738         * gdb.opencl/vec_comps.cl: Likewise.
4739         * gdb.opencl/convs_casts.exp: Likewise.
4740         * gdb.opencl/convs_casts.cl: Likewise.
4741         * lib/opencl.exp: Likewise.
4742         * lib/opencl_hostapp.c: Likewise.
4743         * lib/opencl_kernel.cl: Likewise.
4744         * lib/cl_util.c: Likewise.
4745         * lib/cl_util.c: Likewise.
4746         * gdb.base/default.exp (set language): Add "opencl" to the list of
4747         languages.
4748
4749 2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
4750
4751         * gdb.cp/overload.exp: Added test for inheritance overload.
4752         * gdb.cp/overload.cc: Ditto.
4753         * gdb.cp/oranking.exp: Removed releveant kfails.
4754
4755 2010-11-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
4756             Joel Brobecker  <brobecker@adacore.com>
4757
4758         * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4759         check test_compiler_info.
4760
4761 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
4762
4763         * gdb.base/gnu_vector.exp: Adjust expect messages.
4764
4765 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
4766
4767         * gdb.base/gnu_vector.exp: Add unary operator tests.
4768
4769 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
4770
4771         * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4772
4773 2010-11-02  Doug Evans  <dje@google.com>
4774
4775         * gdb.python/py-pp-maint.c: New file.
4776         * gdb.python/py-pp-maint.exp: New file.
4777         * gdb.python/py-pp-maint.py: New file.
4778
4779 2010-11-02  Tom Tromey  <tromey@redhat.com>
4780
4781         * gdb.base/default.exp: Remove "scheme" from language list.
4782
4783 2010-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4784
4785         Revert:
4786         2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4787         * gdb.threads/sigstep-threads.exp: New file.
4788         * gdb.threads/sigstep-threads.c: New file.
4789
4790 2010-10-20  Michael Snyder  <msnyder@vmware.com>
4791
4792         * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4793
4794 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
4795
4796         * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4797         Skip test completely if gdb,no_hardware_watchpoints.
4798
4799 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
4800
4801         * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4802         strict, but do not check for any particular function name within libc.
4803
4804 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
4805
4806         * gdb.cp/smartp.exp: New test.
4807         * gdb.cp/smartp.cc : New test.
4808
4809 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
4810
4811         * gdb.cp/converts.exp: Test pointer to bool conversion.
4812         Test pointer to long conversion.
4813         * gdb.cp/oranking.exp: Removed relevant kfail.
4814
4815 2010-10-18  Tom Tromey  <tromey@redhat.com>
4816
4817         * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4818         argument to lazy_string.
4819         * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4820         (pp_ls.to_string): Use it.
4821         * gdb.python/py-prettyprint.c (main): Move declarations to top.
4822         Add "estring2" local.
4823
4824 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4825
4826         Fix s390x compatibility.
4827         * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS.  Twice.
4828         * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4829
4830 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4831
4832         * gdb.threads/sigstep-threads.exp: New file.
4833         * gdb.threads/sigstep-threads.c: New file.
4834
4835 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4836
4837         * gdb.base/pie-execl.exp: New file.
4838         * gdb.base/pie-execl.c: New file.
4839
4840 2010-10-13  Doug Evans  <dje@google.com>
4841             Jan Kratochvil  <jan.kratochvil@redhat.com>
4842
4843         PR exp/12117
4844         * gdb.cp/ptype-cv-cp.cc: New file.
4845         * gdb.cp/ptype-cv-cp.exp: New file.
4846
4847 2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
4848
4849         * gdb.cp/converts.cc: New test program.
4850         * gdb.cp/converts.exp: New test.
4851         * gdb.cp/overload.exp: Added test for void* vs int*.
4852         * gdb.cp/overload.exp: Ditto.
4853         * gdb.cp/oranking.exp: Removed related kfail.
4854
4855 2010-10-13  Doug Evans  <dje@google.com>
4856
4857         * lib/gdb-python.exp (gdb_check_python_config): New function.
4858         * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4859         * gdb.python/lib-types.cc: New file.
4860         * gdb.python/lib-types.exp: New file.
4861
4862 2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4863
4864         * gdb.python/py-error.exp: New file.
4865         * gdb.python/py-error.py: New file.
4866
4867 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
4868
4869         * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4870         gdb_test_multiple.
4871
4872 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
4873
4874         * gdb.base/break-interp.exp: Use ldlags for linking flags.
4875         * gdb.base/prelink.exp: Likewise.
4876         * gdb.base/solib-nodir.exp: Likewise.
4877         * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4878         (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4879         * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4880
4881 2010-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
4882
4883         * break-interp.exp (test_ld): Use two separate gdb_expect statements
4884         for the "info files" test to avoid timeouts on slow machines.
4885
4886 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4887
4888         * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4889         (main): Make openlib dummy call.
4890
4891 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4892
4893         Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4894         * break-interp.exp (reach): Move the core body ...
4895         (reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
4896         (test_ld): Provide always real argument, even to the linker.  Replace
4897         dl_main by _dl_debug_state.
4898
4899 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4900
4901         Fix results of prelinked PIEs on ppc*.
4902         * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4903         Accept also DISPLACEMENT "PRESENT".
4904         (main): Replace "ZERO" displacements by "PRESENT".
4905
4906 2010-10-08  Sami Wagiaalla  <swagiaal@redhat.com>
4907
4908         * gdb.cp/oranking.exp: New test.
4909         * gdb.cp/oranking.cc: New test program.
4910
4911 2010-10-08  Ken Werner  <ken.werner@de.ibm.com>
4912
4913         * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4914         * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4915
4916 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
4917
4918         * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4919         lush, lynx) New constant.
4920         * gdb.base/constvars.exp: Test const array types.
4921         * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4922
4923 2010-10-06  Doug Evans  <dje@google.com>
4924
4925         * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4926         of syscall staging area.
4927
4928 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
4929
4930         * gdb.base/gnu_vector.c: Add variable c4.
4931         * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4932         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4933
4934 2010-10-05  Maciej W. Rozycki  <macro@codesourcery.com>
4935
4936         * gdb.arch/altivec-abi.exp: Fix a typo.
4937
4938 2010-10-02  Maciej W. Rozycki  <macro@codesourcery.com>
4939
4940         * lib/mi-support.exp (thread_selected_re): Correct pattern used
4941         to match a thread ID.
4942
4943 2010-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4944
4945         Fix s390x testcase compatibility.
4946         * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4947
4948 2010-10-01  Doug Evans  <dje@google.com>
4949
4950         * lib/gdb-python.exp: New file.
4951         * gdb.python/py-block.exp: Use it.
4952         * gdb.python/py-breakpoint.exp: Ditto.
4953         * gdb.python/py-frame.exp: Ditto.
4954         * gdb.python/py-inferior.exp: Ditto.
4955         * gdb.python/py-param.exp: Ditto.
4956         * gdb.python/py-prettyprint.exp: Ditto.
4957         * gdb.python/py-shared.exp: Ditto.
4958         * gdb.python/py-symbol.exp: Ditto.
4959         * gdb.python/py-symtab.exp: Ditto.
4960         * gdb.python/py-type.exp: Ditto.
4961         * gdb.python/py-value.exp: Ditto.
4962         * gdb.python/python.exp: Ditto.
4963
4964 2010-09-30  Tom Tromey  <tromey@redhat.com>
4965
4966         * gdb.base/anon.exp: New file.
4967         * gdb.base/anon.c: New file.
4968
4969 2010-09-30  Tom Tromey  <tromey@redhat.com>
4970
4971         * gdb.base/completion.exp: Test completion through anonymous
4972         union.
4973         * gdb.base/break1.c (struct some_struct): Add anonymous union.
4974
4975 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4976
4977         Fix printing parameters of inlined functions.
4978         * gdb.dwarf2/dw2-inline-param.exp: New file.
4979         * gdb.dwarf2/dw2-inline-param-main.c: New file.
4980         * gdb.dwarf2/dw2-inline-param.S: New file.
4981
4982 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4983
4984         PR corefiles/12071.
4985         * gdb.base/corefile.exp (quit with a process, no question: load core)
4986         (quit with a core file): New tests.
4987
4988 2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4989
4990         Fix GDB crash on inferior calls with self-referencing classes.
4991         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4992         * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4993         * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4994
4995 2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4996
4997         Fix lost siginfo_t for inferior calls.
4998         * gdb.base/siginfo-infcall.exp: New file.
4999         * gdb.base/siginfo-infcall.c: New file.
5000
5001 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
5002
5003         * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
5004
5005 2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5006
5007         * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
5008         New test.
5009         * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
5010
5011 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
5012
5013         * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
5014         type of our const type.
5015
5016 2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>
5017
5018         * gdb.cp/pr12028.cc: New.
5019         * gdb.cp/pr12028.exp: New.
5020
5021 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
5022
5023         * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
5024
5025 2010-09-16  Phil Muldoon  <pmuldoon@redhat.com>
5026             Jan Kratochvil  <jan.kratochvil@redhat.com>
5027
5028         PR mi/11407
5029         * gdb.mi/dw2-ref-missing-frame-func.c: New File.
5030         * gdb.mi/dw2-ref-missing-frame-main.c New File.
5031         * gdb.mi/dw2-ref-missing-frame.S New File.
5032         * gdb.mi/dw2-ref-missing-frame.exp New File.
5033
5034 2010-09-14  Tom Tromey  <tromey@redhat.com>
5035
5036         PR symtab/8399:
5037         * gdb.threads/tls.exp: Remove kfail.  Update expected output.
5038
5039 2010-09-14  Tom Tromey  <tromey@redhat.com>
5040
5041         PR exp/11803:
5042         * gdb.threads/tls.exp: Use C++.
5043         (check_thread_local): Use K::another_thread_local.
5044         * gdb.threads/tls.c (class K): New.
5045         (another_thread_local): Now a member of K.
5046         (spin): Update.  No longer K&R C.
5047
5048 2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
5049
5050         * gdb.cp/koenig.cc: created class for testing member lookup.
5051         * gdb.cp/koenig.exp: Added test for member lookup.
5052
5053 2010-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
5054
5055         Fix false FAILs on sourcetree topdir directory containing "kill".
5056         * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
5057         source line matching regexp.
5058
5059 2010-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5060
5061         * gdb.python/python.exp (set height 0, collect help from uiout)
5062         (verify help to uiout): New tests.
5063
5064 2010-09-10  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5065
5066         * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
5067         is_lp64_target to check 64bit target.
5068
5069 2010-09-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
5070
5071         * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
5072         (test_ld) <powerpc64-*>: New.
5073
5074 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
5075
5076         * gdb.cp/templates.exp (test_template_args): Allow "struct".
5077
5078 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
5079
5080         * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
5081         (FunctionArg::method): New function.
5082         (empty, arg): New variables.
5083         (main): Call arg.method.
5084         * gdb.cp/templates.exp (test_template_args): New function.
5085         (do_tests): Call it.
5086
5087 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
5088
5089         * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
5090         of "next" to proceed over pthread_exit call.
5091
5092 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
5093
5094         * gdb.base/maint.exp: Avoid wildcards against potentially very long
5095         "maint print statistics" output to prevent expect timeouts.
5096
5097 2010-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
5098
5099         * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
5100         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
5101         (test_float_rejected): ... here.
5102         * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
5103         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
5104         (test_float_rejected): ... here.
5105         * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
5106         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
5107         (test_float_rejected): ... here.
5108         * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
5109         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
5110         (test_float_rejected): ... here.
5111
5112 2010-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
5113
5114         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
5115         before disabling hardware watchpoints.
5116         (test_inaccessible_watchpoint): Check that hardware watchpoints
5117         are used.  Test for watchpoints on a constant address.
5118
5119 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5120
5121         * gdb.base/ui-redirect.exp: New file.
5122
5123 2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5124             Joel Brobecker  <brobecker@adacore.com>
5125
5126         * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
5127
5128 2010-08-31  Doug Evans  <dje@google.com>
5129
5130         * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
5131
5132 2010-08-30  Tom Tromey  <tromey@redhat.com>
5133
5134         PR python/11792:
5135         * gdb.python/py-value.exp (test_subscript_regression): Add
5136         dynamic_type test.
5137
5138 2010-08-30  Daniel Jacobowitz  <dan@codesourcery.com>
5139
5140         * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
5141         instead of running to main.  Do not test the main function.
5142         * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
5143         Add new main.
5144
5145 2010-08-26  Pedro Alves  <pedro@codesourcery.com>
5146
5147         * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
5148         one test.
5149
5150 2010-08-24  Doug Evans  <dje@google.com>
5151
5152         PR symtab/11942
5153         * gdb.dwarf2/dw4-sig-types.cc: New file.
5154         * gdb.dwarf2/dw4-sig-types.h: New file.
5155         * gdb.dwarf2/dw4-sig-types-b.cc: New file.
5156         * gdb.dwarf2/dw4-sig-types.exp: New file.
5157
5158 2010-08-23  Tom Tromey  <tromey@redhat.com>
5159
5160         PR python/11145:
5161         * gdb.python/py-value.c (Base, Derived): New types.
5162         (base): New global.
5163         * gdb.python/py-value.exp (test_subscript_regression): Add
5164         dynamic_cast test.
5165
5166 2010-08-23  Tom Tromey  <tromey@redhat.com>
5167
5168         PR python/10676:
5169         * gdb.python/py-type.exp (test_fields): Add tests for type
5170         equality.
5171
5172 2010-08-23  Tom Tromey  <tromey@redhat.com>
5173
5174         PR python/11915:
5175         * gdb.python/py-type.exp (test_fields): Add tests for array.
5176
5177 2010-08-23  Keith Seitz  <keiths@redhat.com>
5178
5179         * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
5180         have any children. Create a new abbrev for it.
5181         Add missing terminal sequence to .debug_abbrev.
5182
5183 2010-08-20  Keith Seitz  <keiths@redhat.com>
5184
5185         PR symtab/11465:
5186         * gdb.dwarf2/pr11465.exp: New test.
5187         * gdb.dwarf2/pr11465.S: New file.
5188         * gdb.dwarf2/dw2-double-set-die-type.S: New file.
5189         * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
5190
5191 2010-08-19  Thiago Jung Bauermann  <bauerman@br.ibm.com>
5192
5193         * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
5194         registers.  Update data sets with the new v2_double element in the
5195         VSX register union.  Add vector_register3_vr data set for the AltiVec
5196         registers.  Use gdb_test_no_output instead of send_gdb.
5197
5198 2010-08-19  Pedro Alves  <pedro@codesourcery.com>
5199
5200         * gdb.python/py-shared.exp: New file, factored out from
5201         python.exp.
5202         * gdb.python/py-shared.c: New file.
5203         * gdb.python/py-shared-sl.c: New file.
5204         * gdb.python/python-1.c: New file.
5205         * gdb.python/python-sl.c: Delete.
5206         * gdb.python/python.c: Mention python-1.c.
5207         * gdb.python/python.exp: Move shared library tests to
5208         py-shared.exp.
5209         * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
5210         (MISCELLANEOUS): New.
5211         (clean mostlyclean): Also remove $MISCELLANEOUS.
5212
5213 2010-08-19  Doug Evans  <dje@google.com>
5214
5215         PR exp/11926
5216         * gdb.base/printcmds.exp (test_float_accepted): New function.
5217         Move existing float tests there.  Add tests for floats with suffixes.
5218         (test_float_rejected): New function.
5219         * gdb.java/jv-print.exp (test_float_accepted): New function.
5220         (test_float_rejected): New function.
5221         * gdb.objc/print.exp: New file.
5222         * gdb.pascal/print.exp: New file.
5223         * lib/objc.exp: New file.
5224
5225 2010-08-19  Pierre Muller  <muller@ics.u-strasbg.fr>
5226
5227         * gdb.base/default.exp (info set): Avoid full buffer error and force
5228         reading up to final gdb prompt.
5229         (show): Likewise.
5230
5231 2010-08-18  Tom Tromey  <tromey@redhat.com>
5232
5233         PR symtab/11919:
5234         * gdb.base/completion.exp: Add test.
5235
5236 2010-08-18  Doug Evans  <dje@google.com>
5237
5238         * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
5239         * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
5240         * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
5241         Simplify, early exit if runto_main fails.
5242         * gdb.fortran/exprs.exp: load_lib fortran.exp.
5243         (set_lang_fortran): Moved to lib/fortran.exp.
5244         * gdb.fortran/types.exp: load_lib fortran.exp.
5245         (set_lang_fortran): Moved to lib/fortran.exp.
5246         * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
5247         * gdb.java/jprint.exp (set_lang_java): Ditto.
5248         * gdb.java/jv-exp.exp: load_lib java.exp.
5249         If set_lang_java fails, issue a warning instead of failure to be
5250         consistent with other set_lang_foo uses.
5251         (set_lang_java): Moved to lib/java.exp.
5252         * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
5253         If set_lang_java fails, issue a warning instead of failure to be
5254         consistent with other set_lang_foo uses.
5255         * gdb.pascal/types.exp: load_lib pascal.exp.
5256         (set_lang_pascal): Moved to lib/pascal.exp.
5257         * lib/fortran.exp: New file.
5258         * lib/java.exp (set_lang_java): New function.
5259         * lib/pascal.exp (set_lang_pascal): New function.
5260
5261 2010-08-18  Yao Qi  <yao@codesourcery.com
5262
5263         * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
5264         func_nofb_start and func_loopfb_start, so that address of functions
5265         is equal to these labels on Thumb.
5266
5267 2010-08-18  Yao Qi  <yao@codesourcery.com>
5268
5269         * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
5270         to reflect latest c source file.
5271
5272 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
5273
5274         * gdb.cp/infcall-dlopen.exp: New file.
5275         * gdb.cp/infcall-dlopen.cc: New file.
5276         * gdb.cp/infcall-dlopen-lib.cc: New file.
5277
5278 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
5279             Pedro Alves  <pedro@codesourcery.com>
5280
5281         PR breakpoints/11371
5282
5283         * gdb.base/watch-cond-infcall.exp: New file.
5284         * gdb.base/watch-cond-infcall.c: New file.
5285
5286 2010-08-16  Tom Tromey  <tromey@redhat.com>
5287
5288         * gdb.base/help.exp: Update.
5289         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
5290         watchpoint.
5291         (test_watch_location): New proc.
5292         (test_watchpoint_in_big_blob): Delete watchpoint.
5293         * gdb.base/watchpoint.c (func5): New function.
5294         (main): Call it.
5295
5296 2010-08-16  Doug Evans  <dje@google.com>
5297
5298         * gdb.python/python.exp: Fix syntax in "post event insertion" test.
5299
5300 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
5301
5302         * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
5303         tests.
5304
5305 2010-08-11  Ken Werner  <ken.werner@de.ibm.com>
5306
5307         * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
5308         * gdb.base/gnu_vector.c: New File.
5309         * gdb.base/gnu_vector.exp: Likewise.
5310
5311 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
5312
5313         * gdb.python/python.c: New File.
5314         * gdb.python/python-sl.c: New File.
5315         * gdb.python/python.exp: Test solib_address and decode_line
5316         * functions.
5317
5318 2010-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
5319
5320         * gdb.python/python.exp (show height, set height 10)
5321         (verify pagination beforehand, verify pagination beforehand: q)
5322         (gdb.execute does not page, verify pagination afterwards)
5323         (verify pagination afterwards: q): New.
5324
5325 2010-08-02  Doug Evans  <dje@google.com>
5326
5327         * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
5328         because of an older gcc, change test2
5329         "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
5330         to unsupported.
5331
5332 2010-07-30  Kazu Hirata  <kazu@codesourcery.com>
5333
5334         * gdb.base/break-always.exp: Do not expect full paths to file
5335         names.
5336         * gdb.base/commands.exp: Likewise.
5337
5338 2010-07-30  Doug Evans  <dje@google.com>
5339
5340         * gdb.cp/temargs.exp: For new tests that require newer gccs,
5341         xfail them when run with older gccs.
5342
5343         * lib/gdb.exp (build_executable): Forward "c++" option to
5344         get_compiler_info.
5345
5346         * gdb.python/py-type.exp (test_template): Mark as xfail tests
5347         "python print ttype.template_argument(1)" and
5348         "python print isinstance(ttype.template_argument(1), gdb.Value)"
5349         if using gcc 4.4 or earlier.
5350
5351         * gdb.base/valgrind-db-attach.exp: Use unique test name for
5352         attach-to-debugger handling.
5353
5354 2010-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
5355
5356         * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
5357         * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
5358         (main): Use copyreloc.
5359         * gdb.base/prelink.exp (split debug of executable)
5360         (.dynbss vs. .bss address shift): New tests.
5361
5362 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
5363
5364         * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
5365         in gdb_test_multiple.
5366
5367 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
5368
5369         * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
5370         environment.
5371
5372 2010-07-28  Tom Tromey  <tromey@redhat.com>
5373
5374         PR python/11060:
5375         * gdb.python/py-type.c (Temargs): New template.
5376         (temvar): New variable.
5377         * gdb.python/py-type.exp (test_template): New proc.
5378
5379 2010-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
5380
5381         * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
5382         gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
5383
5384 2010-07-28  Tom Tromey  <tromey@redhat.com>
5385
5386         PR c++/9946:
5387         * gdb.cp/temargs.exp: New file.
5388         * gdb.cp/temargs.cc: New file.
5389
5390 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
5391
5392         * gdb.base/help.exp (help disassemble): Update the content.
5393
5394 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
5395
5396         * gdb.threads/ia64-sigill.exp: New file.
5397         * gdb.threads/ia64-sigill.c: New file.
5398
5399 2010-07-27  Tom Tromey  <tromey@redhat.com>
5400
5401         * gdb.opt/inline-cmds.c (ATTR): New define.
5402         (func1): Use it.
5403         (func2): Likewise.
5404         (func3): Likewise.
5405         (outer_inline1): Likewise.
5406         (outer_inline2): Likewise.
5407         * gdb.opt/inline-bt.c (ATTR): New define.
5408         (func1): Use it.
5409         (func2): Likewise.
5410         * gdb.opt/inline-locals.c (ATTR): New define.
5411         (func1): Use it.
5412         (func2): Likewise.
5413
5414 2010-07-27  Tom Tromey  <tromey@redhat.com>
5415
5416         * gdb.stabs/gdb11479.c (hack): New function.
5417         (test): Use it.
5418         (test2): Use it.
5419         * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
5420         (int32_search_buf, int64_search_buf): No longer static.
5421         (x): Remove.
5422         * gdb.base/relocate.c (hack): New function.
5423
5424 2010-07-27  Phil Muldoon  <pmuldoon@redhat.com>
5425
5426         * gdb.python/py-value.exp (test_inferior_function_call): New function.
5427         * gdb.python/py-value.c (func1): New function.
5428         (func2): Likewise.
5429
5430 2010-07-26  Corinna Vinschen  <vinschen@redhat.com>
5431
5432         * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
5433         as not to clash with .data section.
5434
5435 2010-07-26  Jerome Guitton  <guitton@adacore.com>
5436
5437         * gdb.base/code_elim.exp: New file.
5438         * gdb.base/code_elim1.c: New file.
5439         * gdb.base/code_elim2.c: New file.
5440
5441 2010-07-21  Pedro Alves  <pedro@codesourcery.com>
5442
5443         PR symtab/11827
5444
5445         * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
5446         (some_volatile_enum): New variable.
5447         * gdb.base/printcmds.exp (test_print_enums): New.
5448         <top level>: Call it.
5449
5450 2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>
5451
5452         * gdb.cp/fpointer.cc: New test.
5453         * gdb.cp/fpointer.exp: New test.
5454
5455 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5456
5457         * gdb.base/solib-nodir.exp: New file.
5458         * lib/gdb.exp (runto): New case for a GDB internal error.
5459
5460 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5461             Ulrich Weigand  <uweigand@de.ibm.com>
5462             Tom Tromey  <tromey@redhat.com>
5463
5464         * gdb.base/charset-malloc.c: New file.
5465         * gdb.base/charset.c (malloc_stub): New prototype.
5466         (main): Call it instead of malloc itself.
5467         * gdb.base/charset.exp: Use only prepare_for_testing.
5468         (binfile): Remove the variable.
5469
5470 2010-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5471
5472         Make core files the process_stratum.
5473         * gdb.base/corefile.exp (run: load core again)
5474         (run: sanity check we see the core file, run: with core)
5475         (run: core file is cleared, attach: load core again)
5476         (attach: sanity check we see the core file, attach: with core)
5477         (attach: core file is cleared): New tests.
5478         * gdb.base/coremaker.c (main): New parameters.  Implement "sleep" argv.
5479
5480 2010-07-14  Ken Werner  <ken.werner@de.ibm.com>
5481
5482         * gdb.arch/altivec-abi.exp: New tests.
5483
5484 2010-07-13  Tom Tromey  <tromey@redhat.com>
5485
5486         * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
5487         (main): Use it.
5488         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
5489
5490 2010-07-13  Tom Tromey  <tromey@redhat.com>
5491
5492         * gdb.base/label.exp: New file.
5493         * gdb.base/label.c: New file.
5494
5495 2010-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
5496             H.J. Lu  <hongjiu.lu@intel.com>
5497
5498         * lib/gdb.exp (is_ilp32_target): New.
5499         (is_lp64_target): Likewise.
5500
5501         * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
5502         target.
5503         * gdb.arch/amd64-disp-step.exp: Likewise.
5504         * gdb.arch/amd64-dword.exp: Likewise.
5505         * gdb.arch/amd64-i386-address.exp: Likewise.
5506         * gdb.arch/amd64-word.exp: Likewise.
5507
5508         * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
5509         target.
5510         * gdb.arch/i386-bp_permanent.exp: Likewise.
5511         * gdb.arch/i386-byte.exp: Likewise.
5512         * gdb.arch/i386-disp-step.exp: Likewise.
5513         * gdb.arch/i386-gnu-cfi.exp: Likewise.
5514         * gdb.arch/i386-prologue.exp: Likewise.
5515         * gdb.arch/i386-size-overlap.exp: Likewise.
5516         * gdb.arch/i386-size.exp: Likewise.
5517         * gdb.arch/i386-sse.exp: Likewise.
5518         * gdb.arch/i386-unwind.exp: Likewise.
5519         * gdb.arch/i386-word.exp: Likewise.
5520
5521         * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
5522         test only when building 64-bit executables.  Do not hard-code
5523         -m64 option.
5524
5525 2010-07-07  Doug Evans  <dje@google.com>
5526
5527         * lib/gdb.exp (gdb_test_list_exact): New function.
5528         * gdb.base/default.exp (show convenience): Call it, add tests for
5529         $_sdata = void, $_thread = 0.
5530
5531 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5532             Joel Brobecker  <brobecker@adacore.com>
5533
5534         Fix re-run of PIE executable, PR shlibs/11776.
5535         * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
5536         Remove $displacement_main to match the solib-svr4.c change.  New "kill"
5537         and re-"run" of the inferior.
5538
5539 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5540             Joel Brobecker  <brobecker@adacore.com>
5541
5542         Cope with missing /usr/sbin/prelink.
5543         * lib/prelink-support.exp (prelink_no):
5544         <result == 1 && $output is "no such file or directory">: New.
5545         (prelink_yes): Likewise.  Return on failed prelink_no.
5546
5547 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5548             Joel Brobecker  <brobecker@adacore.com>
5549
5550         * gdb.base/attach-pie-misread.exp: Load prelink-support.exp.  Replace
5551         build_executable by build_executable_own_libs.  Replace "prelink -R"
5552         execution by a call of prelink_yes.  Comment why "prelink -r" needs no
5553         change.
5554         * gdb.base/break-interp.exp: Load prelink-support.exp.  Rename calls of
5555         copy to file_copy.  Move setting opts --dynamic-linker and -rpath,
5556         mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
5557         Replace build_executable by build_executable_own_libs's function
5558         build_executable_own_libs.
5559         (prelinkNO): Create new stub to call prelink_no.
5560         (prelinkYES): Create new stub to call prelink_yes.
5561         (test_attach): Rename calls of copy to file_copy.
5562         (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
5563         (copy): Move to ...
5564         * lib/prelink-support.exp: ... a new file.  Rename prelinkNO to
5565         prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5566         * gdb.base/prelink.exp: Disable testcase also for is_remote and
5567         skip_shlib_tests.  Load prelink-support.exp.  Replace gdb_compile with
5568         special flags by gdb_compile_shlib.  Replace second gdb_compile by
5569         build_executable_own_libs.  Replace "prelink -R" execution by a call of
5570         prelink_yes.  Replace "prelink -u" and second "prelink -R" execution by
5571         a second call of prelink_yes.  Replace restart commands by
5572         clean_restart.
5573         (prelink): Rename to ...
5574         (seen displacement message): ... this test.  Extend its expectation
5575         strictness.
5576
5577 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5578
5579         * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5580         * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5581         displacement message exactly once.
5582
5583 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5584             Joel Brobecker  <brobecker@adacore.com>
5585
5586         * gdb.base/break-interp.exp (test_attach): Keep $interp changed.  Move
5587         its restore after the <$relink_args != ""> loop.  new comment.
5588
5589 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5590             Joel Brobecker  <brobecker@adacore.com>
5591
5592         * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5593         code for it.  New variable relink_args.
5594         (prelinkYES): Call prelinkNO.
5595         (test_attach): Accept new parameter relink_args.  Re-prelink the binary
5596         in such case.  Move the core code to ...
5597         (test_attach_gdb): ... a new function.  Send GDB command "file".
5598         Extend expected "Attaching to " string.
5599
5600 2010-07-02  Tom Tromey  <tromey@redhat.com>
5601
5602         * gdb.base/bitops.exp: Remove extraneous "pass".
5603
5604 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
5605
5606         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5607
5608 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
5609
5610         * gdb.base/help.exp: Adjust expected output.
5611
5612 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
5613
5614         * gdb.base/help.exp: Adjust expected output.
5615
5616 2010-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
5617
5618         * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5619         (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5620         c++/11702.
5621
5622 2010-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
5623             Doug Evans  <dje@google.com>
5624
5625         * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5626         add .dynamic entry'.
5627
5628 2010-06-29  Doug Evans  <dje@google.com>
5629
5630         Test PR c++/11702.
5631         * gdb.cp/m-static.exp: Add testcase.
5632         * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5633
5634 2010-06-28  Phil Muldoon  <pmuldoon@redhat.com>
5635             Tom Tromey  <tromey@redhat.com>
5636             Thiago Jung Bauermann  <bauerman@br.ibm.com>
5637
5638         * gdb.python/py-inferior.c: New File.
5639         * gdb.python/py-infthread.c: New File.
5640         * gdb.python/py-inferior.exp: New File.
5641         * gdb.python/py-infthread.exp: New File.
5642
5643 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5644
5645         * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5646         (ptype ::C::OtherFileClass typedefs): New.
5647         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5648         (C::OtherFileClass::cOtherFileClassVar2): New.
5649         (C::OtherFileClass::cOtherFileClassVar_use): Use also
5650         cOtherFileClassVar2.
5651         (C::cOtherFileType2, C::cOtherFileVar2): New.
5652         (C::cOtherFileVar_use): use also cOtherFileVar2.
5653         * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5654
5655 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5656
5657         * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5658         (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5659         (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5660         (print ::C::cOtherFileVar)
5661         (whatis C::OtherFileClass::cOtherFileClassType)
5662         (whatis ::C::OtherFileClass::cOtherFileClassType)
5663         (print C::OtherFileClass::cOtherFileClassVar)
5664         (print ::cOtherFileClassVar)
5665         (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5666         (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5667         trailing content.
5668         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5669         (C::OtherFileClass::cOtherFileClassVar)
5670         (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5671         (C::cOtherFileVar, C::cOtherFileVar_use): New.
5672
5673 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5674
5675         Test PR c++/11703 and PR gdb/1448.
5676         * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5677         gdb/1448.
5678
5679 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5680
5681         * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5682         (main) <rtti_data>: New.
5683         * gdb.cp/virtbase.exp (print rtti_data): New.
5684
5685 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5686             Joel Brobecker  <brobecker@adacore.com>
5687
5688         * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5689
5690 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5691
5692         * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5693
5694 2010-06-28  Doug Evans  <dje@google.com>
5695
5696         * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5697
5698 2010-06-27  Doug Evans  <dje@google.com>
5699
5700         * gdb.cp/m-static.exp: Update expected test output.
5701
5702 2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
5703
5704         * gdb.gdb/selftest.exp: Adjust expected message for
5705         capturing start-up runtime.
5706
5707 2010-06-25  Tom Tromey  <tromey@redhat.com>
5708
5709         PR python/10808:
5710         * gdb.python/python.exp: Add new tests.
5711
5712 2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
5713
5714         * gdb.cp/operator.cc: Created an import loop.
5715         * gdb.cp/operator.exp: Added testcase for import loop.
5716
5717 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
5718
5719         Test PR python/11407.
5720         * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5721         * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5722         Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5723         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5724         executable_nofb and executable_fb.  New variables srcsfile, objsfile,
5725         srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5726         binfile.  Call gdb_compile with clean_restart twice.
5727         (func_nofb print, func_nofb backtrace, func_loopfb print)
5728         (func_loopfb backtrace): New.
5729
5730 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
5731
5732         * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5733         * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5734         by a hand made one.
5735         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
5736         i?86 requirement.  Remove variables srcfile and binfile.  New variable
5737         sources, executable_nofb and executable_fb.  Call prepare_for_testing.
5738
5739 2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5740
5741         * gdb.cell/dwarfaddr.exp: New file.
5742         * gdb.cell/dwarfaddr.S: New file.
5743
5744 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5745
5746         Test PR 9436.
5747         * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5748
5749 2010-06-24  Hui Zhu  <teawater@gmail.com>
5750
5751         * gdb.base/eval.exp: New file.
5752
5753 2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5754
5755         * gdb.cell/fork.exp: New file.
5756         * gdb.cell/fork.c: Likewise.
5757         * gdb.cell/fork-spu.c: Likewise.
5758
5759 2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5760
5761         * lib/gdb.exp (banned_variables_traced): New global variable.
5762         (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5763         (gdb_init): Use `trace add variable' instead of obsolete
5764         `trace variable'.
5765
5766 2010-06-21  Doug Evans  <dje@google.com>
5767
5768         * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5769
5770 2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5771
5772         * gdb.arch/spu-ls.exp: New file.
5773         * gdb.arch/spu-ls.c: Likewise.
5774
5775 2010-06-18  Stan Shebs  <stan@codesourcery.com>
5776
5777         * gdb.threads/thread-specific.exp: Add tests of $_thread.
5778
5779 2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5780
5781         * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5782         * gdb.base/watch-cond.exp: Likewise.
5783         * gdb.python/py-breakpoint.exp: Likewise.
5784
5785 2010-06-18  Pedro Alves  <pedro@codesourcery.com>
5786
5787         * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5788         clean_restart, make sure every test has a distinct message, and
5789         that messages don't include the executable' full path.
5790
5791 2010-06-17  Doug Evans  <dje@google.com>
5792
5793         * gdb.arch/i386-size.exp: Updated expected output for
5794         DISASSEMBLY_OMIT_FNAME.
5795
5796 2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
5797             Sergio Durigan Junior  <sergiodj@redhat.com>
5798
5799         * gdb.base/watch-notconst.c: New file.
5800         * gdb.base/watch-notconst.S: New file.
5801         * gdb.base/watch-notconst2.c: New file.
5802         * gdb.base/watch-notconst2.S: New file.
5803         * gdb.base/watch-notconst.exp: New file.
5804         * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5805         (func4): Add operations on `global_ptr_ptr'.
5806         * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5807         routine to test watchpoints created with a constant expression.
5808         (test_inaccessible_watchpoint): Include tests for watchpoints
5809         created with a constant expression.
5810
5811 2010-06-14  Kevin Buettner  <kevinb@redhat.com>
5812
5813         * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5814         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5815         gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5816         gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5817         gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5818         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5819         gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5820         of `_start'.
5821
5822 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5823
5824         * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5825         not supported on the target.
5826         * gdb.mi/mi-nonstop-exit.exp: Likewise.
5827         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5828         * gdb.mi/mi-nsintrall.exp: Likewise.
5829         * gdb.mi/mi-nsmoribund.exp: Likewise.
5830         * gdb.mi/mi-nsthrexec.exp: Likewise.
5831
5832 2010-06-11  Stan Shebs  <stan@codesourcery.com>
5833
5834         * gdb.base/permissions.exp: New file.
5835
5836 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5837
5838         * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5839         does not support ELF executable class.
5840
5841 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5842
5843         * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5844
5845 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5846
5847         * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5848         (runto): Catch "The target does not support running in non-stop mode.".
5849
5850 2010-06-11  Michael Snyder  <msnyder@vmware.com>
5851
5852         * gdb.base/setshow.exp (set language asm): Don't use
5853         gdb_test_no_output, fails on some targets.
5854
5855 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5856
5857         * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5858         * gdb.cp/pr9167.exp: Likewise.
5859
5860 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5861
5862         * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5863
5864 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5865
5866         * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5867
5868 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5869
5870         * gdb.base/charset.c (main): Make sure malloc gets linked in.
5871
5872 2010-06-11  Tom Tromey  <tromey@redhat.com>
5873
5874         PR gdb/9977, PR exp/11636::
5875         * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5876         (pieces_test_f6): Update expected output.
5877
5878 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5879
5880         * gdb.base/moribund-step.exp: New.
5881
5882 2010-06-08  Michael Snyder  <msnyder@vmware.com>
5883
5884         * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
5885         * gdb.ada/boolean_expr.exp:
5886         * gdb.ada/frame_args.exp: Ditto.
5887         * gdb.ada/lang_switch.exp: Ditto.
5888         * gdb.ada/ptype_arith_binop.exp: Ditto.
5889         * gdb.ada/ref_param.exp: Ditto.
5890         * gdb.ada/type_coercion.exp:Ditto.
5891
5892         * gdb.asm/asm-source.exp: Ditto.
5893
5894         * gdb.base/attach.exp: Ditto.
5895         * gdb.base/bitfields2.exp: Ditto.
5896         * gdb.base/call-signal-resume.exp: Ditto.
5897         * gdb.base/callfuncs.exp: Ditto.
5898         * gdb.base/commands.exp: Ditto.
5899         * gdb.base/dbx.exp: Ditto.
5900         * gdb.base/default.exp: Ditto.
5901         * gdb.base/dump.exp: Ditto.
5902         * gdb.base/exprs.exp: Ditto.
5903         * gdb.base/freebpcmd.exp: Ditto.
5904         * gdb.base/interrupt.exp: Ditto.
5905         * gdb.base/list.exp: Ditto.
5906         * gdb.base/long_long.exp: Ditto.
5907         * gdb.base/maint.exp: Ditto.
5908         * gdb.base/ptype.exp: Ditto.
5909         * gdb.base/return.exp: Ditto.
5910         * gdb.base/setshow.exp: Ditto.
5911         * gdb.base/sigbpt.exp: Ditto.
5912         * gdb.base/sigrepeat.exp: Ditto.
5913
5914         * gdb.cp/classes.exp: Ditto.
5915
5916         * gdb.dwarf2/dw2-restore.exp: Ditto.
5917
5918         * gdb.gdb/selftest.exp: Ditto.
5919
5920         * gdb.multi/base.exp: Ditto.
5921         * gdb.multi/bkpt-multi-exec.exp: Ditto.
5922
5923         * gdb.python/py-block.exp: Ditto.
5924         * gdb.python/py-prettyprint.exp: Ditto.
5925         * gdb.python/py-template.exp: Ditto.
5926
5927         * gdb.server/ext-attach.exp: Ditto.
5928         * gdb.server/ext-run.exp: Ditto.
5929         * gdb.server/server-mon.exp: Ditto.
5930
5931         * gdb.threads/fork-thread-pending.exp: Ditto.
5932         * gdb.threads/hand-call-in-threads.exp: Ditto.
5933         * gdb.threads/interrupted-hand-call.exp: Ditto.
5934         * gdb.threads/linux-dp.exp: Ditto.
5935         * gdb.threads/manythreads.exp: Ditto.
5936         * gdb.threads/print-threads.exp: Ditto.
5937         * gdb.threads/pthreads.exp: Ditto.
5938         * gdb.threads/schedlock.exp: Ditto.
5939         * gdb.threads/thread-unwindonsignal.exp: Ditto.
5940         * gdb.threads/threadapply.exp: Ditto.
5941
5942 2010-06-08  Michael Snyder  <msnyder@vmware.com>
5943
5944         * gdb.ada/exec_changed.exp:
5945         Use ".*" instead of "" as wildcard regexp.
5946
5947         * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5948         * gdb.base/call-ar-st.exp: Ditto.
5949         * gdb.base/checkpoint.exp: Ditto.
5950         * gdb.base/default.exp: Ditto.
5951         * gdb.base/dump.exp: Ditto.
5952         * gdb.base/ending-run.exp: Ditto.
5953         * gdb.base/fileio.exp: Ditto.
5954         * gdb.base/miscexprs.exp: Ditto.
5955         * gdb.base/pointers.exp: Ditto.
5956         * gdb.base/readline.exp: Ditto.
5957         * gdb.base/reread.exp: Ditto.
5958         * gdb.base/restore.exp: Ditto.
5959         * gdb.base/shlib-call.exp: Ditto.
5960         * gdb.base/valgrind-db-attach.exp: Ditto.
5961         * gdb.base/volatile.exp: Ditto.
5962         * gdb.base/watchpoints.exp: Ditto.
5963
5964         * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5965
5966         * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5967         * gdb.python/py-value.exp: Ditto.
5968
5969         * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5970         * gdb.trace/circ.exp: Ditto.
5971         * gdb.trace/collection.exp: Ditto.
5972         * gdb.trace/packetlen.exp: Ditto.
5973         * gdb.trace/passc-dyn.exp: Ditto.
5974         * gdb.trace/report.exp: Ditto.
5975         * gdb.trace/tfile.exp: Ditto.
5976         * gdb.trace/tfind.exp: Ditto.
5977         * gdb.trace/while-dyn.exp: Ditto.
5978
5979 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
5980
5981         * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5982
5983 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
5984
5985         Test PR 10640.
5986         * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5987
5988 2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
5989
5990         * gdb.cp/koenig.exp: Test for ADL operators.
5991         * gdb.cp/koenig.cc: Added ADL operators.
5992         * gdb.cp/operator.exp: New test.
5993         * gdb.cp/operator.cc: New test.
5994
5995 2010-06-04  Michael Snyder  <msnyder@vmware.com>
5996
5997         * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5998         * gdb.base/pending.exp: Ditto.
5999
6000         * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
6001
6002 2010-06-04  Doug Evans  <dje@google.com>
6003
6004         * gdb.python/py-prettyprint.exp: Add new test for enabled and
6005         disabled printers.
6006         * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
6007         (enable_lookup_function): New function.
6008
6009 2010-06-04  Tom Tromey  <tromey@redhat.com>
6010
6011         * gdb.python/py-value.exp (test_value_hash): Don't test equality
6012         of hash and id.
6013
6014 2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
6015
6016         * gdb.base/commands.exp (add printf tbreak command): Remove trailing
6017         newline.
6018         * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
6019         (empty verbose non-noisy clear, empty verbose noisy clear)
6020         (empty non-verbose noisy clear): Likewise.
6021
6022 2010-06-03  Michael Snyder  <msnyder@vmware.com>
6023
6024         * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
6025         * gdb.base/display.exp: Ditto.
6026         * gdb.base/find.exp: Ditto.
6027         * gdb.base/ifelse.exp: Ditto.
6028         * gdb.base/multi-forks.exp: Ditto.
6029         * gdb.base/recurse.exp: Ditto.
6030         * gdb.base/setshow.exp: Ditto.
6031         * gdb.base/value-double-free.exp: Ditto.
6032         * gdb.base/watch-vfork.exp: Ditto.
6033         * gdb.base/watch_thread_num.exp: Ditto.
6034         * gdb.base/watchpoint-solib.exp: Ditto.
6035         * gdb.base/watchpoint.exp: Ditto.
6036         * gdb.base/watchpoints.exp: Ditto.
6037
6038         * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
6039         * gdb.cp/overload.exp: Ditto.
6040         * gdb.cp/virtfunc.exp: Ditto.
6041
6042         * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
6043
6044         * gdb.reverse/watch-precsave.exp:
6045         Replace gdb_test with gdb_test_no_output.
6046
6047         * gdb.threads/attach-into-signal.exp:
6048         Replace gdb_test with gdb_test_no_output.
6049         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
6050         * gdb.threads/watchthreads.exp: Ditto.
6051         * gdb.threads/watchthreads2.exp: Ditto.
6052
6053         * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
6054         * gdb.trace/tfind.exp: Ditto.
6055
6056 2010-06-03  Joel Brobecker  <brobecker@adacore.com>
6057
6058         * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
6059         successful test if message is the empty string.
6060
6061 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6062
6063         * gdb.fortran/module.exp (stopped language detection): New test.
6064
6065 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6066
6067         Support DW_TAG_module as separate namespaces.
6068         * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
6069         gdb.fortran/library-module-lib.f90: New.
6070         * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
6071         (print i): Remove.
6072         (continue to breakpoint: i-is-1, print var_i value 1)
6073         (continue to breakpoint: i-is-2, print var_i value 2)
6074         (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
6075         (print var_d, print var_i value 14, ptype modmany, complete `modm)
6076         (complete `modmany, complete `modmany`, complete `modmany`var)
6077         (show language, setting breakpoint at module): New tests.
6078         * gdb.fortran/module.f90 (module mod): Remove.
6079         (module mod1, module mod2, module modmany, subroutine sub1)
6080         (subroutine sub2, program module): New.
6081
6082 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6083
6084         * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
6085         (print value of rUC, print value of rI, print value of UI): ... here.
6086         * gdb.cp/anon-union.exp (pass): Rename to ...
6087         (print z 2): ... here.
6088
6089 2010-06-02  Michael Snyder  <msnyder@vmware.com>
6090
6091         * gdb.trace/actions.exp: Use gdb_test_no_output.
6092         * gdb.trace/circ.exp: Ditto.
6093         * gdb.trace/packetlen.exp: Ditto.
6094         * gdb.trace/save-trace.exp: Ditto.
6095         * gdb.trace/tracecmd.exp: Ditto.
6096         * gdb.trace/tsv.exp: Ditto.
6097
6098         * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
6099         * gdb.threads/hand-call-in-thraeds.exp: Ditto.
6100         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
6101         * gdb.threads/manythreads.exp: Ditto.
6102         * gdb.threads/print-threads.exp: Ditto.
6103         * gdb.threads/pthreads.exp: Ditto.
6104         * gdb.threads/schedlock.exp: Ditto.
6105         * gdb.threads/staticthreads.exp: Ditto.
6106         * gdb.threads/thread-specific.exp: Ditto.
6107         * gdb.threads/thread-unwindonsignal.exp: Ditto.
6108         * gdb.threads/threadapply.exp: Ditto.
6109         * gdb.threads/watchthreads.exp: Ditto.
6110         * gdb.threads/watchthreads2.exp: Ditto.
6111
6112         * gdb.python/py-block.exp: Use gdb_test_no_output.
6113         * gdb.python/py-prettyprint.exp: Ditto.
6114         * gdb.python/py-template.exp: Ditto.
6115         * gdb.python/py-value.exp: Ditto.
6116
6117         * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
6118         * gdb.reverse/watch-reverse.exp: Ditto.
6119
6120         * gdb.server/ext-attach.exp: Use gdb_test_no_output.
6121         * gdb.server/ext-run.exp: Ditto.
6122
6123         * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
6124         * gdb.dwarf2/dw2-compressed.exp: Ditto.
6125         * gdb.dwarf2/dw2-intercu.exp: Ditto.
6126         * gdb.dwarf2/dw2-intermix.exp: Ditto.
6127         * gdb.dwarf2/dw2-producer.exp: Ditto.
6128         * gdb.dwarf2/mac-fileno.exp: Ditto.
6129
6130         * gdb.gdb/observer.exp: Use gdb_test_no_output.
6131         * gdb.gdb/selftest.exp: Ditto.
6132
6133         * gdb.multi/base.exp: Use gdb_test_no_output.
6134
6135         * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
6136
6137 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6138
6139         * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
6140
6141 2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
6142
6143         * gdb.cp/class2.exp: Use gdb_test_no_output.
6144         * gdb.cp/classes.exp: Ditto.
6145         * gdb.cp/extern-c.exp: Ditto.
6146         * gdb.cp/inherit.exp: Ditto.
6147         * gdb.cp/maint.exp: Ditto.
6148         * gdb.cp/mb-inline.exp: Ditto.
6149         * gdb.cp/mb-templates.exp: Ditto.
6150         * gdb.cp/method2.exp: Ditto.
6151         * gdb.cp/misc.exp: Ditto.
6152         * gdb.cp/ovldbreak.exp: Ditto.
6153         * gdb.cp/punctuator.exp: Ditto.
6154         * gdb.cp/templates.exp: Ditto.
6155         * gdb.cp/virtbase.exp: Ditto.
6156
6157         * gdb.threads/attach-stopped.exp:
6158         Replace uses of send_gdb / gdb_expect.
6159         * gdb.threads/attachstop-mt.exp:
6160         Replace uses of send_gdb / gdb_expect.
6161         * gdb.threads/gcore-thread.exp:
6162         Replace uses of send_gdb / gdb_expect.
6163         * gdb.threads/hand-call-in-threads.exp:
6164         Replace uses of send_gdb / gdb_expect.
6165         * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
6166         * gdb.threads/print-threads.exp:
6167         Replace uses of send_gdb / gdb_expect.
6168         * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
6169         * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
6170         * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
6171
6172         * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
6173         * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
6174         * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
6175         * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
6176         * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
6177         * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
6178         * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
6179         * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
6180         * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
6181         * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
6182         * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
6183
6184 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6185
6186         * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
6187
6188 2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>
6189
6190         * gdb.cp/koenig.exp: Added new test case.
6191         * gdb.cp/koenig.cc: Ditto.
6192
6193 2010-06-01  Michael Snyder  <msnyder@vmware.com>
6194
6195         * gdb.base/arithmet.exp: Use gdb_test_no_output.
6196         * gdb.base/arrayidx.exp: Ditto.
6197         * gdb.base/attach.exp: Ditto.
6198         * gdb.base/auxv.exp: Ditto.
6199         * gdb.base/bigcre.exp: Ditto.
6200         * gdb.base/break-always.exp: Ditto.
6201         * gdb.base/break-interp.exp: Ditto.
6202         * gdb.base/break.exp: Ditto.
6203         * gdb.base/breakpoint-shadow.exp: Ditto.
6204         * gdb.base/call-ar-st.exp: Ditto.
6205         * gdb.base/call-sc.exp: Ditto.
6206         * gdb.base/call-signal-resume.exp: Ditto.
6207         * gdb.base/callfuncs.exp: Ditto.
6208         * gdb.base/catch-syscall.exp: Ditto.
6209         * gdb.base/charset.exp: Ditto.
6210         * gdb.base/code-expr.exp: Ditto.
6211         * gdb.base/commands.exp: Ditto.
6212         * gdb.base/cond-expr.exp: Ditto.
6213         * gdb.base/condbreak.exp: Ditto.
6214         * gdb.base/cursal.exp: Ditto.
6215         * gdb.base/cvexpr.exp: Ditto.
6216         * gdb.base/default.exp: Ditto.
6217         * gdb.base/del.exp: Ditto.
6218         * gdb.base/detach.exp: Ditto.
6219         * gdb.base/display.exp: Ditto.
6220         * gdb.base/ena-dis-br.exp: Ditto.
6221         * gdb.base/eval-skip.exp: Ditto.
6222         * gdb.base/foll-fork.exp: Ditto.
6223         * gdb.base/foll-vfork.exp: Ditto.
6224         * gdb.base/frame-args.exp: Ditto.
6225         * gdb.base/funcargs.exp: Ditto.
6226         * gdb.base/gcore-buffer-overflow.exp: Ditto.
6227         * gdb.base/gdbvars.exp: Ditto.
6228         * gdb.base/help.exp: Ditto.
6229         * gdb.base/ifelse.exp: Ditto.
6230         * gdb.base/included.exp: Ditto.
6231         * gdb.base/list.exp: Ditto.
6232         * gdb.base/macscp.exp: Ditto.
6233         * gdb.base/maint.exp: Ditto.
6234         * gdb.base/multi-fork.exp: Ditto.
6235         * gdb.base/overlays.exp: Ditto.
6236         * gdb.base/page.exp: Ditto.
6237         * gdb.base/pending.exp: Ditto.
6238         * gdb.base/pointers.exp: Ditto.
6239         * gdb.base/pr11022.exp: Ditto.
6240         * gdb.base/prelink.exp: Ditto.
6241         * gdb.base/printcmds.exp: Ditto.
6242         * gdb.base/psymtab.exp: Ditto.
6243         * gdb.base/randomize.exp: Ditto.
6244         * gdb.base/relational.exp: Ditto.
6245         * gdb.base/relocate.exp: Ditto.
6246         * gdb.base/remote.exp: Ditto.
6247         * gdb.base/sepdebug.exp: Ditto.
6248         * gdb.base/set-lang-auto.exp: Ditto.
6249         * gdb.base/setshow.exp: Ditto.
6250         * gdb.base/setvar.exp: Ditto.
6251         * gdb.base/signals.exp: Ditto.
6252         * gdb.base/signull.exp: Ditto.
6253         * gdb.base/sigstep.exp: Ditto.
6254         * gdb.base/sizeof.exp: Ditto.
6255         * gdb.base/solib-disc.exp: Ditto.
6256         * gdb.base/store.exp: Ditto.
6257         * gdb.base/structs.exp: Ditto.
6258         * gdb.base/structs2.exp: Ditto.
6259         * gdb.base/subst.exp: Ditto.
6260         * gdb.base/term.exp: Ditto.
6261         * gdb.base/trace-commands.exp: Ditto.
6262         * gdb.base/unwindonsignal.exp: Ditto.
6263         * gdb.base/valgrind-db-attach.exp: Ditto.
6264         * gdb.base/varargs.exp: Ditto.
6265         * gdb.base/watch-cond.exp: Ditto.
6266         * gdb.base/watch_thread_num.exp: Ditto.
6267         * gdb.base/watchpoint-cond-gone.exp: Ditto.
6268         * gdb.base/watchpoint.exp: Ditto.
6269         * gdb.base/whatis-exp.exp: Ditto.
6270
6271 2010-06-01  Michael Snyder  <msnyder@vmware.com>
6272
6273         * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
6274         * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
6275         * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
6276         * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
6277         * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
6278         * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
6279         * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
6280         * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
6281         * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
6282         * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
6283         * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
6284         * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
6285         * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
6286         * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
6287         * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
6288
6289 2010-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6290
6291         * gdb.base/commands.exp (begin commands on watch): Remove excessive
6292         trailing newline.
6293         * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
6294         * gdb.java/jmisc.exp (p *args\n): Rename to ...
6295         (p *args): ... here and remove excessive trailing newline.
6296
6297 2010-05-31  Joel Brobecker  <brobecker@adacore.com>
6298
6299         * gdb.base/subst.exp: Fix call to gdb_test with empty message.
6300
6301 2010-05-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
6302
6303         Accept the new Linux kernel "t (tracing stop)" string.
6304         * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
6305         Update comment.
6306         (state_wait) <T (tracing stop)>: New.
6307         (main): Update the state_wait expect string.
6308
6309 2010-05-28  Pedro Alves  <pedro@codesourcery.com>
6310
6311         * limits.c, limits.exp: Delete files.
6312         * Makefile.in (clean mostlyclean): Adjust.
6313         * tracecmd.exp: Adjust.
6314
6315 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6316
6317         * gdb.base/tui-layout.exp: New.
6318
6319 2010-05-28  Michael Snyder  <msnyder@vmware.com>
6320
6321         * gdb.reverse/break-precsave.exp:
6322         Replace uses of send_gdb / gdb_expect.
6323         * gdb.reverse/break-reverse.exp:
6324         Replace uses of send_gdb / gdb_expect.
6325         * gdb.reverse/consecutive-precsave.exp:
6326         Replace uses of send_gdb / gdb_expect.
6327         * gdb.reverse/consecutive-reverse.exp:
6328         Replace uses of send_gdb / gdb_expect.
6329         * gdb.reverse/finish-precsave.exp:
6330         Replace uses of send_gdb / gdb_expect.
6331         * gdb.reverse/finish-reverse.exp:
6332         Replace uses of send_gdb / gdb_expect.
6333         * gdb.reverse/i386-precsave.exp:
6334         Replace uses of send_gdb / gdb_expect.
6335         * gdb.reverse/i386-reverse.exp:
6336         Replace uses of send_gdb / gdb_expect.
6337         * gdb.reverse/i386-sse-reverse.exp:
6338         Replace uses of send_gdb / gdb_expect.
6339         * gdb.reverse/i387-env-reverse.exp:
6340         Replace uses of send_gdb / gdb_expect.
6341         * gdb.reverse/i387-stack-reverse.exp:
6342         Replace uses of send_gdb / gdb_expect.
6343         * gdb.reverse/machinestate-precsave.exp:
6344         Replace uses of send_gdb / gdb_expect.
6345         * gdb.reverse/machinestate.exp:
6346         Replace uses of send_gdb / gdb_expect.
6347         * gdb.reverse/sigall-precsave.exp:
6348         Replace uses of send_gdb / gdb_expect.
6349         * gdb.reverse/sigall-reverse.exp:
6350         Replace uses of send_gdb / gdb_expect.
6351         * gdb.reverse/solib-precsave.exp:
6352         Replace uses of send_gdb / gdb_expect.
6353         * gdb.reverse/solib-reverse.exp:
6354         Replace uses of send_gdb / gdb_expect.
6355         * gdb.reverse/step-precsave.exp:
6356         Replace uses of send_gdb / gdb_expect.
6357         * gdb.reverse/step-reverse.exp:
6358         Replace uses of send_gdb / gdb_expect.
6359         * gdb.reverse/until-precsave.exp:
6360         Replace uses of send_gdb / gdb_expect.
6361         * gdb.reverse/until-reverse.exp:
6362         Replace uses of send_gdb / gdb_expect.
6363         * gdb.reverse/watch-precsave.exp:
6364         Replace uses of send_gdb / gdb_expect.
6365         * gdb.reverse/watch-reverse.exp:
6366         Replace uses of send_gdb / gdb_expect.
6367
6368 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6369
6370         * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
6371         excessive newline.
6372
6373 2010-05-27  Michael Snyder  <msnyder@vmware.com>
6374
6375         * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
6376         * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
6377         * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
6378         * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
6379         * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
6380         * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
6381         * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
6382         * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
6383         * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
6384         * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
6385         * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
6386         * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
6387         * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
6388         * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
6389         * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
6390         * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
6391         * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
6392         * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
6393         * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
6394
6395 2010-05-26  Michael Snyder  <msnyder@vmware.com>
6396
6397         * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
6398         * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
6399
6400         * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
6401         * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
6402         * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
6403
6404         * gdb.reverse/consecutive-reverse.exp:
6405         Replace uses of send_gdb / gdb_expect.
6406         * gdb.reverse/consecutive-precsave.exp:
6407         Replace uses of send_gdb / gdb_expect.
6408
6409         * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
6410         * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
6411         * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
6412         * gdb.mi/mi-ns-stale-regcache.exp:
6413         Replace uses of send_gdb / gdb_expect.
6414         * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
6415         * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
6416         * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
6417         * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
6418         * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
6419         * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
6420         * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
6421         * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
6422         * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
6423
6424 2010-05-26  Michael Snyder  <msnyder@vmware.com>
6425
6426         * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6427
6428         * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6429
6430         * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
6431         * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
6432         * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
6433         * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
6434         * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
6435         * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
6436         * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
6437         * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
6438         * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6439
6440 2010-05-25  Tom Tromey  <tromey@redhat.com>
6441
6442         * gdb.base/macscp.exp: Add missing space after setup_kfail.
6443
6444 2010-05-25  Tom Tromey  <tromey@redhat.com>
6445
6446         * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
6447         argument order.
6448         * gdb.base/macscp.exp: Fix setup_kfail argument order.
6449         * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
6450         order.
6451         * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
6452         order.
6453         * gdb.base/call-sc.exp (setup_kfails): Remove.
6454         (setup_compiler_kfails): Remove.
6455         * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
6456         argument order.
6457         * gdb.base/siginfo.exp: Fix setup_kfail argument order.
6458         * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
6459         (advancei): Fix setup_kfail argument order.
6460         * gdb.base/radix.exp: Fix setup_kfail argument order.
6461         * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
6462         order.
6463         * gdb.base/structs.exp (setup_kfails): Remove.
6464         (setup_compiler_kfails): Fix setup_kfail argument order.
6465         * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
6466         order.
6467         * gdb.java/jmain.exp: Fix setup_kfail argument order.
6468         * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
6469         setup_kfail argument order.
6470         * gdb.cp/overload.exp: Fix setup_kfail argument order.
6471
6472 2010-05-25  Tom Tromey  <tromey@redhat.com>
6473
6474         * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
6475
6476 2010-05-25  Michael Snyder  <msnyder@vmware.com>
6477
6478         * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
6479         * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
6480         * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
6481         * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
6482         * gdb.base/assign.exp: Replace send_gdb with gdb_test.
6483         * gdb.base/attach.exp: Replace send_gdb with gdb_test.
6484         * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
6485         * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
6486         * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
6487         * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
6488         * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
6489         * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
6490         * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
6491         * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
6492         * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
6493         * gdb.base/charset.exp: Replace send_gdb with gdb_test.
6494         * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
6495         * gdb.base/commands.exp: Replace send_gdb with gdb_test.
6496         * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
6497         * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
6498         * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
6499         * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
6500         * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
6501         * gdb.base/default.exp: Replace send_gdb with gdb_test.
6502         * gdb.base/define.exp: Replace send_gdb with gdb_test.
6503         * gdb.base/display.exp: Replace send_gdb with gdb_test.
6504         * gdb.base/dump.exp: Replace send_gdb with gdb_test.
6505         * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
6506         * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
6507         * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
6508         * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
6509         * gdb.base/finish.exp: Replace send_gdb with gdb_test.
6510         * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
6511         * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
6512         * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
6513         * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
6514         * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
6515         * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
6516         * gdb.base/help.exp: Replace send_gdb with gdb_test.
6517         * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
6518         * gdb.base/jump.exp: Replace send_gdb with gdb_test.
6519         * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
6520         * gdb.base/maint.exp: Replace send_gdb with gdb_test.
6521         * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
6522         * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
6523         * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
6524         * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6525         * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
6526
6527 2010-05-25  Doug Evans  <dje@google.com>
6528
6529         * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
6530         gdb.string_to_argv.
6531
6532 2010-05-21  Tom Tromey  <tromey@redhat.com>
6533
6534         * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
6535         Call it.
6536         * gdb.dwarf2/pieces.S: Update.
6537         * gdb.dwarf2/pieces.c (struct B): Remove initial field.
6538
6539 2010-05-21  Tom Tromey  <tromey@redhat.com>
6540
6541         * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
6542         Call it.
6543         * gdb.dwarf2/pieces.c (struct C): New.
6544         (f6): New function.
6545         * gdb.dwarf2/pieces.S: Replace.
6546
6547 2010-05-21  Tom Tromey  <tromey@redhat.com>
6548
6549         * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
6550         Call it.
6551
6552 2010-05-21  Tom Tromey  <tromey@redhat.com>
6553
6554         * gdb.dwarf2.pieces.exp: New file.
6555         * gdb.dwarf2.pieces.S: New file.
6556         * gdb.dwarf2.pieces.c: New file.
6557
6558 2010-05-20  Pedro Alves  <pedro@codesourcery.com>
6559             Joel Brobecker  <brobecker@adacore.com>
6560
6561         * lib/gdb.exp (gdb_test_no_output): New function.
6562         * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
6563         when testing commands that should produce no output.
6564
6565 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
6566
6567         * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6568         parameter that we want to watch being a constant.
6569
6570 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
6571
6572         * gdb.ada/cond_lang: New testcase.
6573
6574 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
6575
6576         * lib/gdb.exp (banned_variables): New variable/constant.
6577         (gdb_init): Add write trace on variables listed in banned_variables.
6578         (gdb_finish): Remove write traces on variables listed in
6579         banned_variables.
6580
6581 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
6582
6583         * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6584         * gdb.cp/koenig.exp: Likewise.
6585
6586 2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>
6587
6588         PR python/11482
6589
6590         * gdb.python/py-value.exp (test_value_hash): New function.
6591
6592 2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>
6593
6594         PR exp/11530.
6595         * gdb.base/gdb11530.c: New file.
6596         * gdb.base/gdb11530.exp: New file.
6597
6598 2010-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6599
6600         * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6601         * gdb.dwarf2/dw2-modula2-self-type.S: New.
6602
6603 2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
6604
6605         * gdb.cp/koenig.exp: New test.
6606         * gdb.cp/koenig.cc: New test program.
6607
6608 2010-05-05  Joel Brobecker  <brobecker@adacore.com>
6609
6610         Remove the use of prms_id and bug_id throughout the testsuite.
6611
6612 2010-05-04  Pierre Muller  <muller@ics.u-strasbg.fr>
6613
6614         PR exp/11349.
6615         * testsuite/gdb.cp/ref-types.exp: Add test to examine
6616         use a reference local variable.
6617
6618 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6619
6620         * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6621         * gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
6622         variable different_dir. Move debugfile into a full directory pathname
6623         under DIFFERENT_DIR.
6624         * lib/gdb.exp (separate_debug_filename): Remove.
6625         (gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
6626         variable debug_dir and mkdir of it.  Update function comments.
6627
6628 2010-04-29  Pedro Alves  <pedro@codesourcery.com>
6629
6630         PR gdb/11557
6631
6632         * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6633         files.
6634
6635 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
6636
6637         * gdb.python/py-param.exp: New File.
6638
6639 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
6640
6641         * gdb.base/default.exp: Fix "set language" test.
6642
6643 2010-04-24  Pierre Muller  <muller@ics.u-strasbg.fr>
6644
6645         PR breakpoints/11531.
6646         * gdb.base/gdb11531.c: New file.
6647         * gdb.base/gdb11531.exp: New file.
6648
6649 2010-04-26  Tom Tromey  <tromey@redhat.com>
6650
6651         * gdb.base/completion.exp: Add tests for completion and deprecated
6652         commands.
6653
6654 2010-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
6655
6656         * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6657         (print /x char_array): Escape curly brackets.
6658
6659 2010-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6660
6661         Fix deadlock on looped list of loaded shared objects.
6662         * gdb.base/solib-corrupted.exp: New.
6663
6664 2010-04-23  Doug Evans  <dje@google.com>
6665
6666         * gdb.python/py-section-script.c: New file.
6667         * gdb.python/py-section-script.exp: New file.
6668         * gdb.python/py-section-script.py: New file.
6669
6670 2010-04-20  Chris Moller  <cmoller@redhat.com>
6671
6672         PR 10179
6673
6674         * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6675         * gdb.base/pr10179-a.c:
6676         * gdb.base/pr10179-b.c:
6677         * gdb.base/pr10179.exp: New files.
6678
6679 2010-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
6680
6681         Fix crashes on dangling display expressions.
6682         * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6683         is SEP.
6684         (lib_flags): Remove the "debug" keyword.
6685         (libsepdebug): New variable for iterating new loop.
6686         (save_pf_prefix): New variable wrapping the loop.
6687         (sep_lib_flags): New variable derived from LIB_FLAGS.  Use it.
6688         * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6689
6690 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
6691
6692         * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6693
6694 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
6695
6696         PR stabs/11479.
6697         * gdb.stabs/gdb11479.exp: New file.
6698         * gdb.stabs/gdb11479.c: New file.
6699
6700 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
6701
6702         * gdb.base/charset.c (Strin16, String32): New variables.
6703         * gdb.base/charset.exp (gdb_test): Test correct display
6704         of 16 or 32 bit strings.
6705
6706 2010-04-21  Chris Moller  <cmoller@redhat.com>
6707
6708         PR 9167
6709         * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6710         * gdb.cp/pr9167.cc: New file.
6711         * gdb.cp/pr9167.exp: New file.
6712
6713
6714 2010-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
6715
6716         PR pascal/11492.
6717         * gdb.pascal/gdb11492.pas: New file.
6718         * gdb.pascal/gdb11492.exp: New file.
6719
6720 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
6721
6722         * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
6723
6724 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
6725
6726         * gdb.ada/dyn_loc: New testcase.
6727
6728 2010-04-20  Chris Moller  <cmoller@redhat.com>
6729
6730         PR 10867
6731
6732         * gdb.cp/Makefile.in  (EXECUTABLES): Added pr10687
6733         * gdb.cp/pr10687.cc: New file.
6734         * gdb.cp/pr10687.exp: New file.
6735
6736
6737 2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6738             Sergio Durigan Junior  <sergiodj@redhat.com>
6739
6740         * gdb.fortran/logical.exp: New testcase.
6741         * gdb.fortran/logical.f90: New file.
6742
6743 2010-04-19  Doug Evans  <dje@google.com>
6744
6745         * gdb.base/help.exp (help source): Update expected output.
6746
6747 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6748
6749         * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6750         gdb_reinitialize_dir and gdb_load by clean_restart.  Remove trailing
6751         gdb_exit and return.
6752         (executable): New variable.
6753         (binfile): Use it.
6754
6755 2010-04-19  Pedro Alves  <pedro@codesourcery.com>
6756
6757         PR breakpoints/8554.
6758
6759         * gdb.trace/save-trace.exp: Adjust.
6760
6761 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
6762
6763         PR corefiles/11511
6764         * gdb.arch/system-gcore.exp: New.
6765         * gdb.arch/gcore.c: Likewise.
6766
6767 2010-04-15  Doug Evans  <dje@google.com>
6768
6769         * gdb.python/py-progspace.c: New file.
6770         * gdb.python/py-progspace.exp: New file.
6771
6772         * gdb.base/source.exp: Add tests for "source -s".
6773
6774 2010-04-14  Phil Muldoon  <pmuldoon@redhat.com>
6775
6776         * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6777         * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6778         * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6779         * gdb.python/py-mi.exp: New test for to_string returning None.
6780
6781 2010-04-12  Phil Muldoon  <pmuldoon@redhat.com>
6782
6783         * gdb.python/py-breakpoint.c: Make result global.
6784
6785 2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6786
6787         Fix non-GNU make compatibility.
6788         * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6789
6790 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
6791
6792         * gdb.python/py-breakpoint.exp: New File.
6793         * gdb.python/py-breakpoint.C: Ditto.
6794
6795 2010-04-08  Stan Shebs  <stan@codesourcery.com>
6796
6797         * gdb.trace/actions.exp: Clear default-collect.
6798         * gdb.trace/save-trace.exp: Clear default-collect.
6799
6800 2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
6801
6802         * gdb.python/py-value: Add null string variable.
6803           (test_lazy_string): Test zero length, NULL address lazy
6804           strings.
6805
6806 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
6807
6808         * gdb.arch/i386-avx.c: New.
6809         * gdb.arch/i386-avx.exp: Likewise.
6810
6811         * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6812
6813 2010-04-06  Doug Evans  <dje@google.com>
6814
6815         * gdb.base/source-test.gdb: New file.
6816         * gdb.base/source.exp: Test source -v.
6817
6818 2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6819
6820         * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6821
6822 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
6823
6824         * gdb.stabs/aout.sed: Convert all backslash to double backslash
6825         within one line, unless it is followed by a double quote.
6826         * gdb.stabs/hppa.sed: Idem.
6827         * gdb.stabs/weird.def: Add char and String constants
6828         * gdb.stabs/weird.exp: Check for correct parsing of
6829         char and string constants.
6830         * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6831         in .stabs to .stabx substitution.
6832
6833 2010-04-05  Stan Shebs  <stan@codesourcery.com>
6834
6835         * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6836         constant global.
6837         * gdb.trace/tfile.exp: Try to print them.
6838
6839 2010-04-04  Stan Shebs  <stan@codesourcery.com>
6840
6841         * gdb.base/completion.exp: Update for new "info watchpoints".
6842         * gdb.base/default.exp: Ditto.
6843         * gdb.base/help.exp: Ditto.
6844         * gdb.base/watchpoint.exp: Ditto.
6845         * gdb.trace/infotrace.exp: Update "info tracpoints" output.
6846
6847 2010-04-04  Stan Shebs  <stan@codesourcery.com>
6848
6849         * gdb.trace/tfile.exp: Sharpen tfind test.
6850
6851 2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
6852
6853         * gdb.base/break-entry.exp: New.
6854
6855 2010-04-02  Hui Zhu  <teawater@gmail.com>
6856             Michael Snyder <msnyder@vmware.com>
6857
6858         * gdb.reverse/i386-sse-reverse.exp: New file.
6859         * gdb.reverse/i386-sse-reverse.c: New file.
6860
6861 2010-04-02  Pedro Alves  <pedro@codesourcery.com>
6862
6863         * gdb.trace/tfind.exp: Adjust expected disassembly output.
6864
6865 2010-04-01  Stan Shebs  <stan@codesourcery.com>
6866
6867         * gdb.trace/actions.exp: Tweak expected output.
6868         * gdb.trace/while-stepping.exp: Tweak expected output.
6869
6870 2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
6871
6872         * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6873
6874 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
6875
6876         * gdb.base/commands.exp: Adjust.
6877         * gdb.cp/extern-c.exp: Adjust.
6878
6879 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
6880
6881         * gdb.trace/collection.c (local_test_func): Define a local struct,
6882         and instanciate it.
6883
6884 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
6885
6886         * gdb.trace/collection.exp (gdb_collect_args_test)
6887         (gdb_collect_argarray_test): XFAIL the tests that assume the
6888         argarray argument's elements are collected.
6889
6890 2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
6891
6892         * gdb.dwarf2/dw2-bad-parameter-type.exp,
6893         gdb.dwarf2/dw2-bad-parameter-type.S: New.
6894
6895 2010-03-31  Stan Shebs  <stan@codesourcery.com>
6896
6897         * gdb.trace/save-trace.exp: Test save/restore of default-collect
6898         and tracepoint conditionals.
6899         (gdb_verify_tracepoints): Delete unused return.
6900
6901 2010-03-26  Keith Seitz  <keiths@redhat.com>
6902
6903         * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6904         appear in the output before main.
6905         Remove KFAIL for gdb/2215 aka bz 9320.
6906
6907 2010-03-30  Doug Evans  <dje@google.com>
6908
6909         * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6910         by dejagnu.
6911         * gdb.arch/amd64-dword.exp: Ditto.
6912
6913         * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6914         match.
6915         (break printf): Ditto.
6916
6917 2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
6918
6919         * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6920         gcc < 4.4.
6921         * gdb.cp/shadow.exp: Ditto.
6922
6923 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
6924
6925         * gdb.trace/collection.exp (run_trace_experiment): Make sure
6926         "tstart" is silent.
6927
6928 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
6929
6930         * gdb.trace/collection.exp (executable): New.
6931         (binfile): Use it.
6932         (fpreg, spreg, pcreg): New.
6933         (test_register): Use gdb_test_multiple.  Pass /x to print.
6934         (prepare_for_trace_test): New.
6935         (run_trace_experiment): Use "continue", not gdb_run_cmd.
6936         (gdb_collect_args_test, gdb_collect_argstruct_test)
6937         (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6938         prepare_for_trace_test.
6939         (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
6940         fpreg, spreg and pcreg.
6941         (gdb_collect_expression_test, gdb_collect_globals_test): Use
6942         prepare_for_trace_test.
6943         (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
6944         try to detect tracing support here.  Don't set breakpoints at
6945         `begin' or `end' here.
6946         <global scope>: Use clean_restart.  Run to main before checking
6947         for tracing support.  Check for for tracing support here.
6948
6949 2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6950
6951         * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6952         " as $displacement" to "seen displacement message".
6953
6954 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
6955
6956         * gdb.trace/while-dyn.exp (executable): New variable.
6957         (binfile): Use it.
6958         (test_while_stepping): New function.  Move most tests here.  Call
6959         it once for each of the while-stepping, stepping and ws aliases.
6960
6961 2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6962
6963         * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6964         that do not provide the tagless_struct type name at all.
6965         (test_print_anon_union): Do not check value of uninitialized
6966         union member.  Do not use cp_test_ptype_class, so we can accept
6967         "long" as well as "long int".
6968
6969 2010-03-26  Pedro Alves  <pedro@codesourcery.com>
6970
6971         * gdb.trace/tfile.c (tohex, bin2hex): New.
6972         (write_error_trace_file): Hexify error description.
6973
6974 2010-03-25  Stan Shebs  <stan@codesourcery.com>
6975
6976         * gdb.trace/tfile.c: Generate an additional trace file, improve
6977         portability.
6978         * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6979         files in a better way.
6980
6981 2010-03-25  Keith Seitz  <keiths@redhat.com>
6982
6983         * gdb.java/jprint.exp: XFAIL printing of static class members
6984         because of GCC debuginfo problem.
6985
6986 2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
6987
6988         * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6989
6990 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
6991
6992         * gdb.base/completion.exp: Allow long instead of long int.
6993         * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6994         * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
6995         variable p.
6996         * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6997         * gdb.base/pointers.exp: Allow long instead of long int.
6998         * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6999         * gdb.base/step-line.exp: Allow a directory before the source file name.
7000
7001 2010-03-24  Tom Tromey  <tromey@redhat.com>
7002
7003         PR breakpoints/9352:
7004         * gdb.base/default.exp: Update.
7005         * gdb.base/commands.exp: Update.
7006         * gdb.cp/extern-c.exp: Test setting commands on multiple
7007         breakpoints at once.
7008
7009 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
7010
7011         * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
7012         if gdb,nosignals.
7013         * gdb.base/watchpoints.c: Do not include unnecessary headers.
7014         * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
7015         exited".
7016
7017 2010-03-24  Stan Shebs  <stan@codesourcery.com>
7018
7019         * gdb.trace/tfile.exp: Expect "trace frame", with a space.
7020
7021 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
7022
7023         * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
7024         * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
7025         argument.  Handle "short" and "long".
7026         (Top level): Pass overprototyped output for old_fptr and xptr.
7027
7028 2010-03-23  Pedro Alves  <pedro@codesourcery.com>
7029
7030         * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
7031         format strings and add casts to avoid compiler warnings.
7032
7033 2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
7034
7035         * lib/trace-support.exp (gdb_trace_setactions):
7036         Don't expect whitespace after ">" prompt.
7037         * gdb.trace/actions.exp: Adjust for output changes.
7038         * gdb.trace/while-stepping.exp: Likewise.
7039
7040 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7041
7042         * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
7043         and r157645).
7044
7045 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7046
7047         * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
7048         New.
7049
7050 2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
7051
7052         * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
7053         * gdb.python/py-mi.exp (binfile): Rename to py-mi.
7054
7055 2010-03-19  Stan Shebs  <stan@codesourcery.com>
7056
7057         * gdb.trace/ax.exp: New file.
7058
7059 2010-03-19  Doug Evans  <dje@google.com>
7060
7061         * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
7062         output from gcc.
7063
7064         * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
7065         named /usr/sbin/prelink<foo>.
7066
7067 2010-03-18  Stan Shebs  <stan@codesourcery.com>
7068
7069         * gdb.trace/circ.exp: Test circular-trace-buffer.
7070         * gdb.trace/tfile.exp: Update tstatus test.
7071
7072 2010-03-18  Joel Brobecker  <brobecker@adacore.com>
7073
7074         * gdb.dwarf2/dw2-anonymous-func.S: New file.
7075         * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
7076
7077 2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7078
7079         * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
7080
7081 2010-03-18  Pedro Alves  <pedro@codesourcery.com>
7082
7083         * gdb.base/default.exp: Adjust the expected output of the finish
7084         and until commands when the inferior is not being run.
7085
7086 2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
7087
7088         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
7089         * gdb.cp/nsusing.exp: Ditto.
7090
7091 2010-03-15  Tom Tromey  <tromey@redhat.com>
7092
7093         * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
7094         * gdb.cp/userdef.cc (operator==): New function.
7095         (main): New locals mem1, mem2.
7096
7097 2010-03-15  Jie Zhang  <jie@codesourcery.com>
7098
7099         * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
7100         Declare and use new loadtimeout variable.
7101
7102 2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
7103
7104         * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
7105         Use gdb_load later.
7106
7107 2010-03-14  Pedro Alves  <pedro@codesourcery.com>
7108
7109         * gdb.base/solib-disc.c (main): Make format of fprintf a string
7110         literal.  Add missing endlines to prints to stderr.
7111
7112 2010-03-12  Tom Tromey  <tromey@redhat.com>
7113
7114         PR c++/9708:
7115         * gdb.cp/m-static.exp: Add regression test.
7116         * gdb.cp/m-static.cc (method): New method.
7117         (main): Call it.
7118
7119 2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
7120
7121         * gdb.cp/gdb2384-base.h: Created 'namespace B'.
7122         * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
7123
7124 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
7125
7126         * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
7127
7128 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
7129
7130         * lib/gdb.exp (skip_stl_tests): New.
7131         (gdb_compile): Symbian needs -ldl.
7132         (shlib_target_file): New.
7133         (shlib_symbol_file): New.
7134         (gdb_load_shlibs): Use shlib_target_file.
7135         * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
7136         * gdb.cp/exception.exp: Use skip_stl_tests.
7137         * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
7138         * gdb.cp/try_catch.exp: Use skip_stl_tests.
7139         * gdb.cp/mb-templates.exp: Ditto.
7140         * gdb.base/commands.exp: Relax regexes.
7141         * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
7142         shlib_target_file and shlib_symbol_file.
7143         * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
7144         sections.
7145         * gdb.base/ending-run.exp: Accept E32Main for symbian.
7146         * gdb.base/solib-disc.exp: Use
7147         shlib_target_file and shlib_symbol_file.
7148         * gdb.base/unload.exp: Don't skip on symbian.  Use
7149         shlib_target_file and shlib_symbol_file.
7150         * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
7151
7152 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
7153
7154         * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
7155         * gdb.trace/report.exp: Adjust for x86 and x86_64.
7156         Issue a tfind end before looking for a tracepoint frame.
7157         * gdb.trace/tfind.exp: Adjust tstatus output.
7158         Adjust disassembly output.
7159         * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
7160
7161 2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7162
7163         * gdb.base/break-interp.exp: Create new displacement parameter value
7164         for the test_ld calls.
7165         (reach): New parameter displacement, verify its content.  New push of
7166         pf_prefix "reach-$func:".  Import global expect_out.
7167         (test_core): New parameter displacement, verify its content.  New push
7168         of pf_prefix "core:".  New command "set verbose on".  Import global
7169         expect_out.
7170         (test_attach): New parameter displacement, verify its content.  New
7171         push of pf_prefix "attach:".  New command "set verbose on".  Import
7172         global expect_out.
7173         (test_ld): New parameter displacement, pass it to the reach, test_core
7174         and test_attach calls and verify its content in the "ld.so exit" test.
7175         * gdb.base/prelink.exp: Remove gdb_exit and final return.
7176         (prelink): Update expected text, use gdb_test.
7177
7178 2010-03-10  Doug Evans  <dje@google.com>
7179
7180         * gdb.base/checkpoint.exp: Fix comment.
7181         Lengthen timeout while doing >600 checkpoints test.
7182         Rename duplicate "kill all one" test to keep test names unique.
7183
7184 2010-03-10  Pedro Alves  <pedro@codesourcery.com>
7185
7186         * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
7187
7188 2010-03-08  Keith Seitz  <keiths@redhat.com>
7189
7190         * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
7191         * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
7192         (dm_type_long): New function.
7193         (dm_type_unsigned_short): New function.
7194         (dm_type_unsigned_long): New function.
7195         (myint): New typedef.
7196         * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
7197         long, unsigned shor and long, operator char*, and typedef.
7198         (test_lookup_operator_functions): Add operator char* test.
7199         (test_paddr_operator_functions): Likewise.
7200         (test_paddr_overloaded_functions): Use probe values for
7201         short, long, and unsigned short and long.
7202         (test_paddr_hairy_functions): If the demangler probe detected
7203         gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
7204         demangler.
7205         * gdb.cp/expand-sals.exp: Backtrace may contain class names.
7206         * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
7207         and "print null_pmf".
7208         Add test "ptype a.*pmf".
7209         * gdb.cp/overload.exp: Allow optional "int" to appear with
7210         "short" and "long".
7211         * gdb.cp/ovldbreak.exp: Use append to construct super-duper
7212         long expect value for men_overload1arg.
7213         Allow "int" to appear with "short" and "long".
7214         When testing "info break", add argument for main (void).
7215         Also allow "int" to appear with "short" and "long".
7216         Ditto with "unsigned" and "long long".
7217         * gdb.java/jmain.exp: Do not enclose methods names in single
7218         quotes.
7219         * gdb.java/jmisc.exp: Likewise.
7220         * gdb.java/jprint.exp: Likewise.
7221         * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
7222
7223         From Jan Kratochvil  <jan.kratochvil@redhat.com>:
7224         * gdb.cp/exception.exp (backtrace after first throw)
7225         (backtrace after second throw): Allow a namespace before __cxa_throw.
7226         (backtrace after first catch, backtrace after second catch): Allow
7227         a namespace before __cxa_begin_catch.
7228
7229         * gdb.cp/cpexprs.exp: New file.
7230         * gdb.cp/cpexprs.cc: New file.
7231
7232         From Daniel Jacobowitz  <dan@codesourcery.com>
7233         * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
7234         to use string_to_regexp.
7235         (ctor, dtor): New functions.  Use them to match constructor
7236         and destructor function types.
7237         (Top level): Use runto_main.
7238
7239 2010-03-05  Tom Tromey  <tromey@redhat.com>
7240
7241         * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
7242         gdb.target_charset.
7243         (pp_ns.to_string): Likewise.
7244
7245 2010-03-04  Keith Seitz  <keiths@redhat.com>
7246
7247         * gdb.cp/overload.exp: Test that the filename portion of a linespec
7248         can be quoted.  Test that both the filename and function/line
7249         portions can be quoted at the same time.
7250
7251 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
7252
7253         * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
7254
7255 2010-03-03  Doug Evans  <dje@google.com>
7256
7257         * lib/gdb.exp (gdb_compile_pthreads): Handle case where
7258         libc contains libpthread.
7259
7260         * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
7261         * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
7262         of gdb_compile.  Add another pattern to match android backtrace.
7263
7264 2010-03-03  Tom Tromey  <tromey@redhat.com>
7265
7266         PR gdb/11345:
7267         * gdb.base/printcmds.exp (test_printf): Add test.
7268
7269 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
7270
7271         * gdb.arch/amd64-byte.exp: New.
7272         * gdb.arch/amd64-dword.exp: Likewise.
7273         * gdb.arch/amd64-pseudo.c: Likewise.
7274         * gdb.arch/amd64-word.exp: Likewise.
7275         * gdb.arch/i386-byte.exp: Likewise.
7276         * gdb.arch/i386-pseudo.c: Likewise.
7277         * gdb.arch/i386-word.exp: Likewise.
7278
7279 2010-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
7280
7281         * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
7282         types.  Add structreg, bitfields, and flags registers.
7283         * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
7284         registers.
7285
7286 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7287
7288         * gdb.xml/tdesc-regs.exp (architecture): New.  Set it for x86.
7289         (load_description): Set architecture if defined.
7290
7291 2010-02-28  Phil Muldoon  <pmuldoon@redhat.com>
7292
7293         * gdb.python/py-frame.exp: Add read_var block tests.
7294         * gdb.python/py-frame.c (block): New function.
7295
7296 2010-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
7297             Daniel Jacobowitz  <dan@codesourcery.com>
7298
7299         * gdb.base/callfuncs.exp: New tests for $spval 0 and -1.  Remove return.
7300
7301 2010-02-25  David S. Miller  <davem@davemloft.net>
7302
7303         * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
7304         fix logic for setting all_syscalls_numbers.
7305
7306 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
7307
7308         * Makefile.in: Add py-block and py-symbol.
7309         * gdb.python/py-symbol.exp: New File.
7310         * gdb.python/py-symtab.exp: New File.
7311         * gdb.python/py-block.exp: New File.
7312         * gdb.python/py-symbol.c: New File.
7313         * gdb.python/py-block.c: New File.
7314
7315 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
7316
7317         PR python/11314
7318         * lib/gdb.exp (skip_python_tests): New function.
7319         * gdb.python/py-cmd.exp: Use skip_python_tests.
7320         * gdb.python/py-frame.exp: Likewise.
7321         * gdb.python/py-function.exp: Likewise.
7322         * gdb.python/py-prettyprint.exp: Likewise.
7323         * gdb.python/py-template.exp: Likewise.
7324         * gdb.python/py-type.exp: Likewise.
7325         * gdb.python/py-value.exp: Likewise.
7326
7327 2010-02-22  Pedro Alves  <pedro@codesourcery.com>
7328
7329         PR9605
7330
7331         * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
7332
7333 2010-02-19  Tom Tromey  <tromey@redhat.com>
7334
7335         PR c++/8693, PR c++/9496:
7336         * gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
7337         regression tests.
7338
7339 2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
7340
7341         Fix compatibility with m68k as.
7342         * gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
7343         Use only /* comments */.
7344
7345 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7346
7347         * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
7348         * configure: Regenerate.
7349
7350 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
7351
7352         * gdb.python/py-type.exp: Check for Python support.
7353
7354 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
7355
7356         * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
7357         `regsub' syntax available.
7358
7359 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
7360
7361         * gdb.base/shmain.c (main): Remove printf call.
7362         * gdb.base/sizeof.c (main): Cast return of sizeof to int.
7363         * gdb.base/unload.c (main): Make format of fprintf a string
7364         literal.  Add missing endlines to prints to stderr.
7365         * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
7366
7367 2010-02-17  Tom Tromey  <tromey@redhat.com>
7368
7369         * gdb.java/jprint.java (jprint.props): New field.
7370         * gdb.java/jprint.exp (set_lang_java): Add regression test.
7371
7372 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
7373
7374         * gdb.base/charset.exp: Don't assume new `regsub' syntax
7375         available.
7376
7377 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
7378
7379         * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
7380         creation to support remote host testing.
7381
7382 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
7383
7384         * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
7385         Recognize "command not found".
7386
7387 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
7388
7389         * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
7390         single-stepping.
7391
7392 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
7393
7394         * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
7395         if arguments are not supported.
7396
7397 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
7398
7399         * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
7400         be const or non-const.
7401
7402 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
7403
7404         * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
7405         mi_send_resuming_command to send -exec-continue.
7406
7407 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
7408
7409         * gdb.base/list.exp (test_list_filename_and_function): Add test
7410         with single quotes.
7411         * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
7412         matching.
7413         * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
7414         Add KFAIL'd tests for PR gdb/11289.
7415
7416 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
7417
7418         * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
7419
7420 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
7421
7422         * gdb.base/comp-dir/subdir/dummy.txt: New file.
7423         * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
7424         a temporary directory.
7425
7426 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
7427
7428         * gdb.base/charset.exp: Use a single regular expression to match
7429         show host-charset and show target-charset output.
7430
7431 2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7432
7433         * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
7434         "Illegal process-id" expect string more exact.
7435         (attach to digits-starting nonsense is prohibited): New.
7436
7437 2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7438
7439         * gdb.base/prelink.exp (set verbose on): New.
7440
7441 2010-02-12  Tomas Holmberg  <th@virtutech.com>
7442
7443         * mi-reverse.exp: New file. Test for reverse option to the
7444         following MI commands: exec-continue, exec-finish, exec-next,
7445         exec-step, exec-next-instruction, exec-step-instruction.
7446
7447 2010-02-09  Joel Brobecker  <brobecker@adacore.com>
7448
7449         * gdb.ada/ptype_tagged_param: New testcase.
7450
7451 2010-02-08  Tom Tromey  <tromey@redhat.com>
7452
7453         PR c++/8017:
7454         * gdb.cp/overload.exp: Add tests.
7455         * gdb.cp/overload.cc (struct K): New.
7456         (namespace N): New.
7457         (main): Call new functions.
7458         (K::staticoverload): Define.
7459
7460 2010-02-08  Chris Moller  <moller@mollerware.com>
7461
7462         PR gdb/10728
7463         * gdb.cp/pr10728-x.h: New file.
7464         * gdb.cp/pr10728-x.cc: New file.
7465         * gdb.cp/pr10728-y.cc: New file.
7466         * gdb.cp/pr10728.exp: New file.
7467         * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
7468
7469 2010-02-08  Chris Moller  <moller@mollerware.com>
7470
7471         PR gdb/9067
7472         * gdb.cp/pr9067.exp:  New
7473         * gdb.cp/pr9067.cc:   New
7474         * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
7475
7476 2010-02-08  Joel Brobecker  <brobecker@adacore.com>
7477
7478         * lib/gdb.exp (gdb_test_timeout): New global variable.
7479         Set it to timeout if not already set.
7480         (gdb_init): Reset the value of timeout to gdb_test_timeout.
7481
7482 2010-02-05  Doug Evans  <dje@google.com>
7483
7484         * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
7485         user.
7486
7487 2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
7488
7489         PR c++/7935:
7490         * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
7491
7492 2010-02-04  Tom Tromey  <tromey@redhat.com>
7493
7494         * gdb.cp/virtbase.exp: Make test case names unique.
7495
7496 2010-02-02  Tom Tromey  <tromey@redhat.com>
7497
7498         * gdb.cp/virtbase.exp: Add regression tests.
7499         * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
7500         (main): Instantiate RHC.
7501
7502 2010-02-02  Tom Tromey  <tromey@redhat.com>
7503
7504         * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
7505         type-printing change.
7506
7507 2010-02-02  Tom Tromey  <tromey@redhat.com>
7508
7509         PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
7510         * gdb.cp/virtbase.cc: New file.
7511         * gdb.cp/virtbase.exp: New file.
7512         * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
7513
7514 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7515
7516         PR libc/11214:
7517         * gdb.threads/current-lwp-dead.c: Include features.h.
7518         (HAS_NOMMU): New.
7519         (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
7520
7521 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7522
7523         * gdb.base/symbol-without-target_section.exp,
7524         gdb.base/symbol-without-target_section.c: New.
7525
7526 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
7527
7528         * gdb.base/bigcore.exp: Reset increased timeout.
7529         * gdb.base/interrupt.exp: Match unexpected gdb prompt.
7530
7531 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
7532
7533         * gdb.base/gcore.exp (capture_command_output): Use
7534         gdb_test_multiple.
7535
7536 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
7537
7538         * gdb.arch/thumb2-it.S (it_breakpoints): New function.
7539         * gdb.arch/thumb2-it.exp (test_it_break): New function.
7540         (Top level): Call it.
7541
7542 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
7543
7544         * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
7545
7546 2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
7547
7548         * gdb.base/call-strs.exp, gdb.base/default.exp,
7549         gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
7550         gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
7551         gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
7552         gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
7553         gdb.base/watchpoint-solib.exp: Save and restore timeout.
7554         * gdb.base/ending-run.exp: Correct restore of timeout.
7555         * gdb.base/page.exp: Remove unnecessary timeout setting.
7556
7557 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
7558
7559         * gdb.ada/rec_return: New testcase.
7560
7561 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
7562
7563         * gdb.ada/call_pn: New testcase.
7564
7565 2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
7566
7567         * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7568         (Top level): Use it to resume.
7569         * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7570         the Thumb mode displaced stepping error as unsupported.
7571
7572 2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
7573
7574         * gdb.cp/nsusing.exp: Added more tests.
7575         * gdb.cp/nsrecurs.exp: Ditto.
7576         * gdb.cp/nsusing.cc: Added test functions.
7577         * gdb.cp/nsrecurs.cc: Ditto.
7578
7579 2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7580
7581         * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7582         absolute directory pathnames in gdb.sum file.
7583
7584 2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
7585
7586         * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7587         * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7588
7589 2010-01-26  Tom Tromey  <tromey@redhat.com>
7590
7591         PR exp/7643:
7592         * gdb.base/printcmds.exp (test_print_string_constants): Remove
7593         setup_kfail.
7594
7595 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
7596
7597         * gdb.cp/nsrecurs.exp: New test.
7598         * gdb.cp/nsrecurs.cc: New test program.
7599         * gdb.cp/nsstress.exp: New test.
7600         * gdb.cp/nsstress.cc: New test program.
7601         * gdb.cp/nsdecl.exp: New test.
7602         * gdb.cp/nsdecl.cc: New test program.
7603
7604 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
7605
7606         * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7607         imported into file scope.
7608         Marked test as xfail.
7609         * gdb.cp/namespace-using.cc (marker5): New function.
7610         * gdb.cp/shadow.exp: New test.
7611         * gdb.cp/shadow.cc: New test program.
7612         * gdb.cp/nsimport.exp: New test.
7613         * gdb.cp/nsimport.cc: New test program.
7614
7615 2010-01-25  Tom Tromey  <tromey@redhat.com>
7616
7617         PR gdb/11049:
7618         * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7619         with "set print null-stop on".
7620
7621 2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
7622
7623         * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7624         Adjust it for DISASSEMBLY_OMIT_FNAME.
7625
7626 2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7627
7628         PR symtab/11199:
7629         * gdb.dwarf2/member-ptr-forwardref.exp,
7630         gdb.dwarf2/member-ptr-forwardref.S: New.
7631
7632 2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7633
7634         * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7635         (thread1_func): Protect thread1_tid with thread1_tid_cond by
7636         thread1_tid_mutex.  Remove gdbstop_mutex handling.
7637         (thread2_func): Protect thread2_tid with thread2_tid_cond by
7638         thread2_tid_mutex.  Remove gdbstop_mutex handling.
7639         (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7640         pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
7641         pthread_cond_wait conditionalizations by while loops.
7642
7643 2010-01-20  Tom Tromey  <tromey@redhat.com>
7644
7645         PR backtrace/10770:
7646         * gdb.dwarf2/pr10770.exp: New file.
7647         * gdb.dwarf2/pr10770.c: New file.
7648         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7649
7650 2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
7651
7652         * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7653         that target was removed, and the test always runs native anyway.
7654
7655 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
7656
7657         * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7658         gdb.base/watchpoint-cond-gone-stripped.c: New.
7659
7660 2010-01-19  Tom Tromey  <tromey@redhat.com>
7661
7662         PR c++/8000:
7663         * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
7664         existing tests.
7665         * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7666         (main): Use AAA::SomeEnum.
7667
7668 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
7669
7670         * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7671         (test_ignore_count): Declare line_callme_body global.
7672         (run to breakpoint with ignore count): Use line_callme_body.
7673         * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7674         (set line_main_hello, set line_main_return): Reindent.
7675         (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7676         New.
7677         (continue to callee4): Use line_callee4_body.
7678         (check *stopped from CLI command): Use line_callee4_next.
7679         * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7680         (set line_main_hello, set line_main_return): Reindent.
7681         (set line_callee4_head, set line_callee4_body): New.
7682         (continue to callee4): Use line_callee4_body.
7683
7684 2010-01-18  Tom Tromey  <tromey@redhat.com>
7685
7686         PR c++/9680:
7687         * gdb.cp/casts.cc: Add new classes and variables.
7688         * gdb.cp/casts.exp: Test new operators.
7689
7690 2010-01-18  Tom Tromey  <tromey@redhat.com>
7691             Thiago Jung Bauermann  <bauerman@br.ibm.com>
7692
7693         * gdb.python/source2.py: New file.
7694         * gdb.python/source1: New file.
7695         * gdb.python/python.exp: Test "source" command.
7696
7697 2010-01-15  Stan Shebs  <stan@codesourcery.com>
7698
7699         * gdb.trace/tfile.c: New file.
7700         * gdb.trace/tfile.exp: New file.
7701
7702 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7703
7704         * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7705
7706 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7707
7708         * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7709
7710 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7711
7712         * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7713         (libfunc): New parameter action.  Implement also selectable "sleep".
7714         * gdb.base/break-interp-main.c: Include assert.h.
7715         (libfunc): New parameter action.
7716         (main): New parameters argc and argv.  Assert argc.  Pass argv.
7717         * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7718         (test_attach): New proc.
7719         (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
7720         * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
7721
7722 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7723
7724         * gdb.base/break-interp.exp (test_core): New proc.
7725         (test_ld): Call it.
7726
7727 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7728
7729         * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7730         * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
7731         New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
7732         and gdb_compile_shlib.  Use new -Wl compiler options.
7733         (dl bt, main bt): New tests.
7734
7735 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7736
7737         Support PIEs with no symfile_objfile.
7738         * gdb.base/break-interp.exp: New argument at the test_ld calls.
7739         (test_ld): New parameter trynosym.
7740         (test_ld <$trynosym>): New block.
7741
7742 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7743
7744         * gdb.base/break-interp.exp: New file.
7745
7746 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
7747
7748         * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7749         * gdb.python/py-prettyprint.py (pp_ls): New printer.
7750         * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7751         test.
7752         * gdb.python/py-prettyprint.c: Define lazystring test structure.
7753         * gdb.python/py-mi.exp: Add lazy string test.
7754
7755 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
7756
7757         * lib/mi-support.exp (mi_check_thread_states): Handle
7758         core number in thread listing.
7759
7760 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
7761
7762         * gdb.base/maint.exp: Adjust the expected output for the
7763         "maint print type" test. Use gdb_test_multiple instead of
7764         gdb_sent/gdb_expect.
7765
7766 2010-01-11  Doug Evans  <dje@google.com>
7767
7768         * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7769         from gdbserver_download.  All callers updated.
7770
7771         * gdb.server/ext-run.exp: "info os processes" requires xml support.
7772
7773 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7774
7775         Implement binary numbers parsing.
7776         * gdb.base/printcmds.exp (test_integer_literals_accepted)
7777         (test_integer_literals_rejected): New binary tests.
7778
7779 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7780
7781         * gdb.cell/configure: Regenerate.
7782
7783 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7784
7785         * gdb.base/corefile.exp: Move the core finding block out and call it as
7786         core_find, new variable $corefile, replace corefile by $corefile and
7787         [file tail $corefile] for usage vs. test names resp.
7788         * lib/gdb.exp (core_find): Move it as a new function here.  New
7789         parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
7790         $destcore.  Return "" on error.
7791
7792 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7793
7794         Workaround PR binutils/10802.
7795         * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7796         (twice).
7797
7798 2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
7799
7800         * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7801
7802 2010-01-08  Joel Brobecker  <brobecker@adacore.com>
7803
7804         * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7805         call, to avoid interruption.
7806
7807 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7808
7809         * gdb.stabs/weird.def (args93): New.
7810
7811 2010-01-07  Doug Evans  <dje@google.com>
7812
7813         * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7814
7815 2010-01-07  Tom Tromey  <tromey@redhat.com>
7816
7817         * gdb.base/source.exp: Use correct line number.
7818
7819 2010-01-05  Stan Shebs  <stan@codesourcery.com>
7820
7821         * gdb.trace/tracecmd.exp: Test ftrace.
7822
7823 2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7824
7825         * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7826
7827 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
7828
7829         * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7830         "uint_for_mi_testing".
7831
7832 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
7833
7834         Test indented comment in file being sourced.
7835         * gdb.base/commands.exp: Test indented comment in file being sourced.
7836
7837 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
7838
7839         * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7840         gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7841         gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7842         notice.
7843
7844 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
7845
7846         * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7847         notice.
7848
7849 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7850
7851         * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7852         missing $after_stopped and comma (,) expectation.
7853
7854 2009-12-31  Stan Shebs  <stan@codesourcery.com>
7855
7856         * gdb.trace/actions.exp: Test teval action.
7857
7858 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7859
7860         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7861         (top level): Call test_watchpoint_in_big_blob.
7862         * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7863         watchpoints.
7864         (func3): Write to buf.
7865
7866 2009-12-29  Stan Shebs  <stan@codesourcery.com>
7867
7868         * gdb.trace/actions.exp: Test default-collect.
7869
7870 2009-12-28  Stan Shebs  <stan@codesourcery.com>
7871
7872         * gdb.trace/tsv.exp: New file.
7873         * gdb.base/completion.exp: Update ambiguous info output.
7874
7875 2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
7876
7877         * gdb.base/find.c (main): Reference search buffers.
7878         * gdb.base/included.c (main): Reference integer.
7879         * gdb.base/ptype.c (charfoo): Declare.
7880         (intfoo): Call charfoo.
7881         * gdb.base/scope0.c (useitp): New function.
7882         (usestatics): Use useitp.
7883         (useit): Add a type for val.
7884         * gdb.base/scope1.c (useit1): Take a pointer argument.
7885         (usestatics1): Update calls to useit1.
7886         * gdb.cp/call-c.cc: Declare foo.
7887         (main): Call foo.
7888         * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7889         * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7890         (main): Call C::ensureRefs and ensureOtherRefs.
7891         * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7892         variables.
7893         (ensureOtherRefs): New function.
7894         * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7895         * gdb.cp/templates.cc (main): Call t5i.value.
7896
7897 2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
7898
7899         Fix compatibility with G++-4.5.
7900         * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7901         * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7902         (uncaught return): Remove.
7903
7904 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
7905             Phil Muldoon  <pmuldoon@redhat.com>
7906
7907         * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7908         (bp_location13, bp_location14, bp_location17, bp_location18)
7909         (marker3_proto, marker4_proto): New variables.
7910         (breakpoint info): Update output.
7911         (run until breakpoint at marker3, run until breakpoint at marker4): New
7912         tests.
7913
7914 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
7915
7916         * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7917         Replace the printf call of Y by provided "y-set-1" label.  New block
7918         for the second shared library.
7919         * gdb.base/unload.exp: Compile also the second library, call
7920         gdb_load_shlibs also for it.  Use now gdb_breakpoint.
7921         (single pending breakpoint info): Rename to ...
7922         (pending breakpoint info before run): ... this extended test.
7923         (libfile2, libname2, libsrcfile2, libsrc2)
7924         (lib_sl2): New variables.
7925         (exec_opts): Set also SHLIB_NAME2.
7926         (pending breakpoint info on first run at shrfunc1)
7927         (pending breakpoint info on second run at shrfunc1)
7928         (pending breakpoint info on second run at shrfunc2)
7929         (print y from libfile, print y from libfile2): New tests.
7930         * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7931         * gdb.base/unloadshr2.c: New.
7932
7933 2009-12-22  Hui Zhu  <teawater@gmail.com>
7934
7935         * gdb.reverse/sigall-reverse.exp: Adjust.
7936
7937 2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
7938
7939         PR gdb/10884
7940
7941         * gdb.mi/var-cmd.c (do_bitfield_tests): New
7942         (main): Call do_bitfield_tests.
7943         * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
7944
7945 2009-12-20  Joel Brobecker  <brobecker@adacore.com>
7946
7947         * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7948         gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7949         gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7950         gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7951         gdb.modula2/unbounded1.c: Update copyright header.
7952
7953 2009-12-10  Chris Moller  <moller@mollerware.com>
7954
7955         PR gdb/9399
7956         * gdb.cp/virtfunc2.exp: New tests
7957         * gdb.cp/virtfunc2.cc: New tests
7958         * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7959
7960 2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
7961
7962         * gdb.reverse/i387-env-reverse.c: New file.
7963         * gdb.reverse/i387-env-reverse.exp: New file.
7964         * gdb.reverse/i387-stack-reverse.c: New file.
7965         * gdb.reverse/i387-stack-reverse.exp: New file.
7966
7967 2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
7968
7969         * gdb.python/py-type.exp (test_range): New test.
7970
7971 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
7972
7973         PR python/10805
7974
7975         * gdb.python/py-type.exp: New file.
7976         * gdb.python/py-type.c: New file.
7977         * Makefile.in: Add py-type.
7978
7979 2009-12-03  Tom Tromey  <tromey@redhat.com>
7980
7981         * gdb.python/py-value.exp (test_parse_and_eval): New
7982         function.
7983
7984 2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7985
7986        PR gdb/11022
7987
7988        * gdb.base/pr11022.exp: New test.
7989        * gdb.base/pr11022.c: New test.
7990
7991 2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
7992
7993         Fix spurious false FAILs.
7994         * gdb.base/structs.c (chartest): New.
7995         (main): Fill-in chartest.
7996         * gdb.base/structs.exp (anychar_re, first): New.
7997         (start_structs_test): Import global anychar_re and first.
7998         New gdb_test call "set print elements 300; ${testfile}"
7999         (start_structs_test <$first>): New block.
8000         (any): Import global anychar_re.  New variable ac.  Use ${ac}.
8001
8002 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
8003
8004         * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
8005
8006 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
8007
8008         * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
8009         Force $srcfile file.
8010         * gdb.base/foll-fork.c (callee): Comment out the printf call.
8011
8012 2009-11-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8013
8014         * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
8015         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8016         * gdb.threads/watchthreads-reorder.exp: Likewise.
8017
8018 2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
8019
8020         PR gdb/8704
8021
8022         * gdb.base/condbreak.exp: Test combinations of "break *EXP",
8023         "if", and "thread".  Correct matching in the previous test.
8024
8025 2009-11-25  Daniel Jacobowitz  <dan@codesourcery.com>
8026
8027         * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
8028
8029 2009-11-23  Michael Snyder  <msnyder@vmware.com>
8030
8031         * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
8032         * gdb.reverse-watch-precsave.exp: Ditto.
8033
8034 2009-11-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
8035
8036         * gdb.asm/asm-source.exp: Adjust.
8037         * gdb.base/help.exp: Adjust.
8038
8039 2009-11-22  Pedro Alves  <pedro@codesourcery.com>
8040
8041         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
8042         (do_syscall_tests_without_xml): Set data-directory to
8043         /the/path/to/nowhere.
8044
8045 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
8046
8047         * gdb.threads/local-watch-wrong-thread.c,
8048         gdb.threads/local-watch-wrong-thread.exp: New files.
8049
8050 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
8051
8052         * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
8053         assume new `regsub' syntax available.
8054
8055 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8056
8057         * gdb.base/watchpoint-hw-hit-once.exp,
8058         gdb.base/watchpoint-hw-hit-once.c: New.
8059
8060 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8061
8062         * gdb.threads/watchthreads-reorder.exp,
8063         gdb.threads/watchthreads-reorder.c: New.
8064
8065 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
8066
8067         * gdb.xml/tdesc-regs.exp: Use for m68k.
8068
8069 2009-11-15  Pedro Alves  <pedro@codesourcery.com>
8070
8071         * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
8072
8073 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
8074
8075         * lib/gdb.exp (current_target_name): New procedure.
8076         (gdb_wrapper_target): New variable.
8077         (gdb_wrapper_init): Set gdb_wrapper_target.
8078         (default_gdb_init): Check gdb_wrapper_target before rebuilding the
8079         wrapper.
8080
8081 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
8082
8083         * gdb.base/remote.exp: Delete the slowest load test.
8084         Do not load with fixed packet sizes.
8085
8086 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
8087
8088         * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
8089
8090 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
8091
8092         * gdb.base/freebpcmd.exp: Delete unused variable.  Specify
8093         srcfile when setting a breakpoint.
8094
8095 2009-11-13  Maciej W. Rozycki  <macro@codesourcery.com>
8096
8097         * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
8098         macros.
8099
8100 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
8101
8102         * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
8103         to be in memory.
8104         * gdb.base/display.c (force_mem): New.
8105         (do_loops): Use it.  Add breakpoint comments.
8106         (do_vars): Add a breakpoint comment.
8107         * gdb.base/display.exp: Use gdb_get_line_number.  Remove hardcoded
8108         line numbers.
8109
8110 2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
8111
8112         * gdb.base/pending.exp: Use gdb_run_cmd to start the program
8113         instead of a bare "run".
8114
8115 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
8116
8117         * gdb.python/py-prettyprint.exp: Adjust.
8118
8119 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
8120
8121         * lib/cell.exp (skip_cell_tests): Clean up test files before
8122         returning.
8123
8124 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
8125
8126         * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
8127         and the breakpoint menu.  Do not call perror if a prompt is seen.
8128         Consume the following GDB prompt.
8129         * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
8130         * gdb.cp/namespace.exp: Use gdb_test.
8131         * gdb.cp/templates.exp: Use gdb_test.
8132         (test_template_breakpoints): Use gdb_test_multiple.
8133
8134 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
8135
8136         * gdb.base/break1.c (struct some_struct, values): Move earlier.
8137         (marker4): Reference values.
8138
8139 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
8140
8141         * gdb.base/macscp.exp: Avoid the first FAIL if macro information
8142         is missing.
8143
8144 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
8145
8146         * gdb.base/break.c (need_malloc): New.
8147         * gdb.base/constvars.c (main): Reference crass and crisp.
8148         * gdb.base/gdb1821.c (main): Reference bar.
8149         * gdb.cp/gdb1355.cc (main): Reference s1.
8150         * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
8151         (main): Call them.
8152         * gdb.cp/hang2.cc (dummy2): Define.
8153         * gdb.cp/hang3.cc (dummy3): Define.
8154         * gdb.cp/m-data.cc (main): Reference shadow.
8155
8156 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
8157             Nathan Froyd  <froydnj@codesourcery.com>
8158
8159         * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
8160         remote host.
8161
8162 2009-11-12  Nathan Froyd  <froydnj@codesourcery.com>
8163
8164         * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
8165         * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
8166         * gdb.dwarf2/dw2-compressed.exp: Likewise.
8167         * gdb.dwarf2/dw2-intercu.exp: Likewise.
8168         * gdb.dwarf2/dw2-intermix.exp: Likewise.
8169         * gdb.dwarf2/dw2-producer.exp: Likewise.
8170         * gdb.dwarf2/mac-fileno.exp: Likewise.
8171         * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
8172         py-prettyprint.py to the remote host.
8173         * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
8174
8175 2009-11-11  Keith Seitz  <keiths@redhat.com>
8176
8177         * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
8178         use it instead of "Foo".
8179         * gdb.cp/classes.exp (do_tests): Add a test to access
8180         a method through a typedef'd class name.
8181
8182 2009-11-11  Nathan Froyd  <froydnj@codesourcery.com>
8183
8184         * gdb.base/long_long.exp: Permit leading zeros on floating-point
8185         exponents.
8186         * gdb.base/pointers.exp: Likewise.
8187         * gdb.cp/ref-types.exp: Likewise.
8188
8189 2009-11-11  Keith Seitz  <keiths@redhat.com>
8190
8191         * gdb.cp/cplusfuncs.cc (class foo): Add operators
8192         new[] and delete[].
8193         * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
8194         "void".
8195         (probe_demangler): Remove all single-quoting of
8196         method and variable names.
8197         (info_func_regexp): Remove the word "void" from any
8198         occurrence of "(void)".
8199         (print_addr_2): Remove all single-quoting of
8200         method names.
8201         (print_addr_2_kfail): Likewise.
8202         (print_addr): Single-quote C function names before
8203         passing to print_addr_2.
8204         (test_paddr_operator_functions): Remove single-quoting
8205         for method names.
8206         Add tests for operator new[] and operator delete[].
8207
8208 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8209
8210         * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
8211
8212 2009-11-09  Keith Seitz  <keiths@redhat.com>
8213
8214         * gdb.cp/overload.exp: Add tests for resolving overloaded
8215         methods in expression parsing/evaluation.
8216
8217 2009-11-10  Daniel Jacobowitz  <dan@codesourcery.com>
8218
8219         * lib/gdb.exp (default_gdb_version): Use --version instead of
8220         --command.
8221
8222 2009-11-10  Nathan Sidwell  <nathan@codesourcery.com>
8223
8224         * lib/gdb.exp (gdb_compile_test): New.
8225         (skip_ada_tests, skip_java_tests): New.
8226         (gdb_compile): Use gdb_compile_test for f77.
8227         * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
8228         * lib/java.exp (compile_java_from_source): Remove runtests check,
8229         use gdb_compile_test to record result.
8230         * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
8231         gdb.ada/exec_changed.exp, gdb.ada/start.exp,
8232         gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
8233         gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
8234         gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
8235         gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
8236         gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
8237         gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
8238         gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
8239         adjust gdb_compile invocations.
8240
8241 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
8242
8243         * Makefile.in (abs_builddir): New.
8244         (site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
8245         (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
8246         `$(abs_builddir)/site.exp'.
8247
8248 2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
8249
8250         * config/m68k-emc.exp, lib/emc-support.exp,
8251         gdb.trace/gdb_c_test.c: Delete.
8252         * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
8253         gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8254         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8255         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8256         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8257         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
8258         casing for m68k-*-elf.
8259
8260 2009-11-03  Pedro Alves  <pedro@codesourcery.com>
8261
8262         * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
8263         * gdb.arch/i386-prologue.exp: Likewise.
8264         * gdb.arch/i386-unwind.exp: Likewise.
8265
8266 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
8267
8268         * lib/gdb.exp (gdb_expect): Fix timeout typo.
8269
8270 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
8271
8272         * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
8273
8274 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
8275
8276         * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
8277
8278 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8279
8280         * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
8281
8282 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8283
8284         * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
8285         * gdb.base/sepdebug2.c: New file.
8286
8287 2009-10-31  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8288
8289         * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
8290         the modified warnings for catch syscall.  Verify if GDB was compiled
8291         with support for lib expat, and choose which tests to run depending
8292         on this.
8293
8294 2009-10-30  Vladimir Prus  <vladimir@codesourcery.com>
8295
8296         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
8297         that composite commands are parsed OK. And also test
8298         that breakpoint commands do work.
8299
8300 2009-10-23  Michael Snyder  <msnyder@vmware.com>
8301
8302         gdb.reverse/consecutive-precsave.exp: Change expect pattern
8303         to allow for new disassembly style.
8304
8305 2009-10-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8306
8307         * gdb.asm/asm-source.exp: Adjust.
8308
8309 2009-10-22  Michael Snyder  <msnyder@vmware.com>
8310
8311         * gdb.reverse/break-precsave.exp: New test.
8312         * gdb.reverse/consecutive-precsave.exp: Ditto.
8313         * gdb.reverse/finish-precsave.exp: Ditto.
8314         * gdb.reverse/i386-precsave.exp: Ditto.
8315         * gdb.reverse/machinestate-precsave.exp: Ditto.
8316         * gdb.reverse/sigall-precsave.exp: Ditto.
8317         * gdb.reverse/solilb-precsave.exp: Ditto.
8318         * gdb.reverse/step-precsave.exp: Ditto.
8319         * gdb.reverse/until-precsave.exp: Ditto.
8320         * gdb.reverse/watch-precsave.exp: Ditto.
8321
8322 2009-10-22  Michael Snyder  <msnyder@vmware.com>
8323
8324         * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
8325         for gdb_expect.  Adjust one test's expect strings for the new
8326         format of disassemble.
8327         * gdb.reverse/finish-reverse.exp: Delete 'return'.
8328         * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
8329         gdb_test_multiple.
8330         * gdb.reverse/step-reverse.exp: Delete 'return'.
8331         * gdb.reverse/until-reverse.exp: Delete blank lines.
8332         * gdb.reverse/watch-reverse.exp: Delete blank lines.
8333
8334 2009-10-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
8335
8336         * gdb.base/consecutive.exp: Adjust.
8337         * gdb.base/display.exp: Likewise.
8338         * gdb.base/pc-fp.exp: Likewise.
8339         * gdb.base/sigbpt.exp: Likewise.
8340
8341 2009-10-19  Michael Snyder  <msnyder@vmware.com>
8342
8343         * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
8344         * gdb.reverse/finish-reverse.c: Ditto.
8345         * gdb.reverse/sigall-reverse.c: Ditto.
8346         * gdb.reverse/solib-reverse.c: Ditto.
8347         * gdb.reverse/step-reverse.c: Ditto.
8348         * gdb.reverse/watch-reverse.c: Ditto.
8349
8350 2009-10-19  Pedro Alves  <pedro@codesourcery.com>
8351             Stan Shebs  <stan@codesourcery.com>
8352
8353         * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
8354         * gdb.base/foll-exec.exp: Adjust to expect a process id before
8355         "Executing new program".
8356         * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
8357         * gdb.base/multi-forks.exp: Ditto.  Adjust to the inferior being
8358         left listed after having been killed.
8359         * gdb.base/attach.exp: Adjust to spell out "symbol-file".
8360         * gdb.base/maint.exp: Adjust test.
8361
8362         * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
8363         * gdb.multi/Makefile.in: New.
8364         * gdb.multi/base.exp: New.
8365         * gdb.multi/goodbye.c: New.
8366         * gdb.multi/hangout.c: New.
8367         * gdb.multi/hello.c: New.
8368         * gdb.multi/bkpt-multi-exec.c: New.
8369         * gdb.multi/bkpt-multi-exec.exp: New.
8370         * gdb.multi/crashme.c: New.
8371
8372 2009-10-13  Tristan Gingold  <gingold@adacore.com>
8373
8374         * gdb.base/sepdebug.exp: Check debug info are found.
8375
8376 2009-10-08  Pedro Alves  <pedro@codesourcery.com>
8377
8378         * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
8379         bits.
8380
8381 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8382
8383         * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
8384
8385 2009-10-07  Joel Brobecker  <brobecker@adacore.com>
8386
8387         * gdb.base/watchpoints.c: Add copyright header.  Reformat one
8388         of the comments.
8389
8390 2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
8391
8392         * gdb.base/annota1.exp: Remove obsolete match_max increase.
8393         * gdb.base/annota3.exp: Idem.
8394         * gdb.base/maint.exp: Idem.
8395
8396 2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
8397
8398         * lib/gdb.exp (default_gdb_init): Set current value of match_max
8399         to default.
8400
8401 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
8402
8403         * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
8404         mingw and cygwin targets.
8405
8406 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
8407             Pedro Alves  <pedro@codesourcery.com>
8408
8409         * lib/gdb.exp (gdb_compile): Avoid adding
8410         gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
8411
8412 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
8413
8414         * gdb.base/shr1.c: Use %p in format string.
8415         * gdb.base/unload.c: Avoid warning in fprintf.
8416         * gdb.base/watchpoint-solib.c: Idem.
8417
8418 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
8419
8420         * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
8421         long type.
8422         (test_unlink): Correct printf string.
8423         * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
8424         * gdb.threads/attachstop-mt.c: Add #include <string.h>.
8425
8426 2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
8427
8428         * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
8429         * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
8430         * gdb.arch/ia64-breakpoint-shadow.S: New file.
8431
8432 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8433
8434         * gdb.objc/basicclass.exp: Disable pending breakpoint query.
8435         * gdb.objc/nondebug.exp: Likewise.
8436
8437 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8438
8439         * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
8440         target_info setting.
8441
8442         * gdb.threads/thread-specific.exp (get_thread_list): Support targets
8443         that detect new threads during "info threads".
8444
8445 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8446
8447         * gdb.threads/manythreads.c (main): Increase thread stack size
8448         to 2*PTHREAD_STACK_MIN.
8449         * gdb.threads/multi-create.c (main): Likewise.
8450         (create_function): Likewise.
8451
8452 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8453
8454         * gdb.base/dump.exp: Pass difference of pointer types instead
8455         of integer types as offset to restore in intarr3.srec case.
8456
8457 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8458
8459         * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
8460
8461 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8462
8463         * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
8464
8465 2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
8466
8467         New test for two watchpoints, with disabling of
8468         the first inserted.
8469         * testsuite/gdb.base/watchpoints.c: New file.
8470         * testsuite/gdb.base/watchpoints.exp: New file.
8471
8472 2009-09-25  Tom Tromey  <tromey@redhat.com>
8473
8474         * gdb.base/charset.exp: Test utf-16 strings with Python.
8475
8476 2009-09-25  Tom Tromey  <tromey@redhat.com>
8477
8478         * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
8479         UCS-4.
8480         * gdb.base/charset.c (utf_32_string): Rename.
8481         (init_utf32): Rename.
8482         (main): Update.
8483
8484 2009-09-22  Tom Tromey  <tromey@redhat.com>
8485
8486         * gdb.python/py-function.exp: Add regression tests.
8487
8488 2009-09-21  Keith Seitz  <keiths@redhat.com>
8489
8490         * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
8491         with invalid operator.
8492
8493 2009-09-21  Keith Seitz  <keiths@redhat.com>
8494
8495         * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
8496         and destructor using typedef name of class.
8497         * gdb.cp/classes.cc (class Base1): Add a destructor.
8498         (base1): New typedef.
8499         (use_methods): Instanitate an object of type base1.
8500         * gdb.cp/templates.exp (test_template_typedef): New procedure.
8501         (do_tests): Call test_template_typedef.
8502         * gdb.cp/templates.cc (Baz::~Baz): New method.
8503         (intBazOne): New typedef.
8504         (main): Instantiate intBazOne.
8505
8506 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
8507
8508         PR python/10633
8509
8510         * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
8511         Function.
8512         (run_lang_tests): Add print elements test.
8513
8514 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
8515
8516         * gdb.python/py-value.exp (test_subscript_regression): New
8517         function.  Test for invalid subscripts.
8518         * gdb.python/py-value.c (main): Add test array, and pointer to it.
8519         (ptr_ref): New function.
8520
8521 2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
8522
8523         * gdb.base/default.exp: Fix "show convenience".
8524
8525 2009-09-15  Tom Tromey  <tromey@redhat.com>
8526
8527         * lib/mi-support.exp (mi_create_varobj): Update.
8528         (mi_create_floating_varobj): Likewise.
8529         (mi_create_dynamic_varobj): New proc.
8530         (mi_varobj_update): Update.
8531         (mi_varobj_update_with_type_change): Likewise.
8532         (mi_varobj_update_kv_helper): New proc.
8533         (mi_varobj_update_dynamic_helper): Rewrite.
8534         (mi_varobj_update_dynamic): New proc.
8535         (mi_list_varobj_children): Update.
8536         (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
8537         * gdb.python/python-prettyprint.py (pp_outer): New class.
8538         (pp_nullstr): Likewise.
8539         (lookup_function): Register new printers.
8540         * gdb.python/python-prettyprint.c (struct substruct): New type.
8541         (struct outerstruct): Likewise.
8542         (substruct_test): New function.
8543         (struct nullstr): New type.
8544         (string_1, string_2): New globals.
8545         (main): Add new tests.
8546         * gdb.python/python-mi.exp: Added regression tests.
8547         * gdb.mi/mi2-var-display.exp: Update.
8548         * gdb.mi/mi2-var-cmd.exp: Update.
8549         * gdb.mi/mi2-var-child.exp: Update.
8550         * gdb.mi/mi2-var-block.exp: Update.
8551         * gdb.mi/mi-var-invalidate.exp: Update.
8552         * gdb.mi/mi-var-display.exp: Update.
8553         * gdb.mi/mi-var-cmd.exp: Update.
8554         * gdb.mi/mi-var-child.exp: Update.
8555         * gdb.mi/mi-var-block.exp: Update.
8556         * gdb.mi/mi-break.exp: Update.
8557         * gdb.mi/gdb701.exp: Update.
8558
8559 2009-09-14  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8560
8561         * Makefile.in: Inclusion of catch-syscall object.
8562         * gdb.base/catch-syscall.c: New file.
8563         * gdb.base/catch-syscall.exp: New file.
8564
8565 2009-09-12  Michael Snyder  <msnyder@vmware.com>
8566
8567         * gdb.reverse/step-reverse.exp: Explicitly check for targets
8568         that can support reverse debuggnig.
8569
8570 2009-09-11  Tom Tromey  <tromey@redhat.com>
8571
8572         * gdb.dwarf2/valop.S: New file.
8573         * gdb.dwarf2/valop.exp: New file.
8574
8575 2009-09-11  Mark Kettenis  <kettenis@gnu.org>
8576
8577         * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8578
8579 2009-09-10  Doug Evans  <dje@google.com>
8580
8581         * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8582         Add $gdb_prompt to second breakpoint regexp.
8583
8584 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
8585
8586         * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8587         names, add missing ones.
8588         * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8589         * gdb.python/py-frame.c: Rename from python-frame.c.
8590         * gdb.python/py-frame.exp: Rename from python-frame.exp.  Adjust
8591         testfile name.
8592         * gdb.python/py-function.exp: Rename from python-function.exp.
8593         * gdb.python/py-mi.exp: Rename from python-mi.exp.  Adjust
8594         testfile name.
8595         * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8596         * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8597         Adjust testfile name.
8598         * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8599         * gdb.python/py-template.cc: Rename from python-template.cc.
8600         * gdb.python/py-template.exp: Rename from python-template.exp.
8601         Adjust testfile name.
8602         * gdb.python/py-value.c: Rename from python-value.c.
8603         * gdb.python/py-value.exp: Rename from python-value.exp.  Adjust
8604         testfile name.
8605
8606 2009-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8607
8608         * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8609         $bpt2address.
8610         (Second breakpoint address is valid on ia64)
8611         (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8612
8613 2009-09-03  Joseph Myers  <joseph@codesourcery.com>
8614
8615         * gdb.base/ending-run.exp: Restrict regular expression matching
8616         line number to require closing brace following.
8617
8618 2009-09-03  Doug Evans  <dje@google.com>
8619
8620         * gdb.base/store.exp (check_set): Fix typo in expected value message.
8621
8622 2009-09-02  Tom Tromey  <tromey@redhat.com>
8623
8624         * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8625
8626 2009-09-02  Tom Tromey  <tromey@redhat.com>
8627
8628         * gdb.dwarf2/callframecfa.exp: New file.
8629         * gdb.dwarf2/callframecfa.S: New file.
8630
8631 2009-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
8632
8633         * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8634         gdb.base/solib-overlap-main.c: New.
8635
8636 2009-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
8637
8638         PR gdb/10565
8639
8640         * gdb.base/bitfields.c (struct container, container): New.
8641         (main): Initialize it and call break5.
8642         * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8643
8644 2009-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8645
8646         Support constant DW_AT_data_member_location by GCC PR debug/40659.
8647         * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8648
8649 2009-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8650
8651         * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8652
8653 2009-08-26  Michael Snyder  <msnyder@vmware.com>
8654
8655         * gdb.base/i386-reverse.c: New file.
8656         * gdb.base/i386-reverse.exp: New file.
8657         * gdb.base/Makefile.in: Add new files to be removed.
8658
8659 2009-08-26  Joseph Myers  <joseph@codesourcery.com>
8660
8661         * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8662         environment-pwd for remote host.
8663         * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8664
8665 2009-08-24  Keith Seitz  <keiths@redhat.com>
8666
8667         * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8668         Add two new C++ completer tests which limit the output to a
8669         given class.
8670
8671 2009-08-24  Michael Snyder  <msnyder@vmware.com>
8672
8673         * gdb.base/del.exp: Fix typo in comment.
8674         * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8675
8676 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8677
8678         * configure: Regenerate.
8679         * gdb.hp/configure: Likewise.
8680         * gdb.hp/gdb.aCC/configure: Likewise.
8681         * gdb.hp/gdb.base-hp/configure: Likewise.
8682         * gdb.hp/gdb.compat/configure: Likewise.
8683         * gdb.hp/gdb.defects/configure: Likewise.
8684         * gdb.hp/gdb.objdbg/configure: Likewise.
8685         * gdb.stabs/configure: Likewise.
8686
8687 2009-08-19  Doug Evans  <dje@google.com>
8688
8689         * gdb.base/gdbvars.c: New file.
8690         * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8691
8692 2009-08-14  Pedro Alves  <pedro@codesourcery.com>
8693
8694         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8695         gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8696
8697 2009-08-13  Pedro Alves  <pedro@codesourcery.com>
8698
8699         * gdb.base/default.exp: Adjust "set language test": it's now an
8700         enum command.  Larger help string moved to "help set language".
8701         * gdb.base/help.exp: Adjust "help set language" expected output,
8702         now lists all known languages.
8703
8704 2009-08-11  Nathan Froyd  <froydnj@codesourcery.com>
8705
8706         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8707         all frame arguments.
8708         * gdb.arch/altivec-regs.exp: Likewise.
8709
8710 2009-08-07  Tom Tromey  <tromey@redhat.com>
8711
8712         * gdb.base/setshow.exp: Add tests for changes to set language, set
8713         check range, and set check type.
8714
8715 2009-08-03  Vladimir Prus  <vladimir@codesourcery.com>
8716
8717         * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8718         * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
8719         Call it.
8720
8721 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8722
8723         * configure.ac: Run gdb.cell tests when appropriate.
8724         * configure: Regenerate.
8725         * lib/cell.exp: New file.
8726         * gdb.cell: New directory.
8727         * gdb.cell/configure.ac: New file.
8728         * gdb.cell/configure: New file.
8729         * gdb.cell/Makefile.in: New file.
8730         * gdb.cell/arch.exp: New file.
8731         * gdb.cell/break.c: New file.
8732         * gdb.cell/break.exp: New file.
8733         * gdb.cell/break-spu.c: New file.
8734         * gdb.cell/bt.c: New file.
8735         * gdb.cell/bt2-spu.c: New file.
8736         * gdb.cell/bt-spu.c: New file.
8737         * gdb.cell/bt.exp: New file.
8738         * gdb.cell/coremaker.c: New file.
8739         * gdb.cell/coremaker-spu.c: New file.
8740         * gdb.cell/core.exp: New file.
8741         * gdb.cell/gcore.exp: New file.
8742         * gdb.cell/data.c: New file.
8743         * gdb.cell/data.exp: New file.
8744         * gdb.cell/data-spu.c: New file.
8745         * gdb.cell/ea-cache.exp: New file.
8746         * gdb.cell/ea-cache.c: New file.
8747         * gdb.cell/ea-cache-spu.c: New file.
8748         * gdb.cell/ea-standalone.c: New file.
8749         * gdb.cell/ea-standalone.exp: New file.
8750         * gdb.cell/ea-test.c: New file.
8751         * gdb.cell/ea-test.exp: New file.
8752         * gdb.cell/f-regs.exp: New file.
8753         * gdb.cell/mem-access.c: New file.
8754         * gdb.cell/mem-access.exp: New file.
8755         * gdb.cell/mem-access-spu.c: New file.
8756         * gdb.cell/ptype.exp: New file.
8757         * gdb.cell/registers.exp: New file.
8758         * gdb.cell/size.c: New file.
8759         * gdb.cell/sizeof.exp: New file.
8760         * gdb.cell/size-spu.c: New file.
8761         * gdb.cell/solib.exp: New file.
8762         * gdb.cell/solib-symbol.exp: New file.
8763
8764 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8765
8766         * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8767
8768 2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
8769
8770         * gdb.base/float.exp: Handle VFP registers.
8771
8772 2009-07-14  Michael Snyder  <msnyder@vmware.com>
8773
8774         * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8775         to bring gdb to the beginning of the calling line.
8776
8777         * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8778         confusing the i386 epilogue unwinder.
8779
8780 2009-07-14  Stan Shebs  <stan@codesourcery.com>
8781
8782         * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8783
8784 2009-07-14  Michael Snyder  <msnyder@vmware.com>
8785
8786         * gdb.reverse/step-reverse.exp (stepi into function call):
8787         Call instruction may not be first instruction in the line.
8788         (reverse stepi from a function call): Used wrong line number.
8789
8790 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
8791
8792         * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8793
8794 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
8795
8796         Fix gdb.base/macscp.exp when using custom inputrc.
8797         * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8798         * gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
8799         env(TERM) set.
8800         * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8801         * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8802
8803 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
8804
8805         Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8806         * gdb.base/annota1.exp (thread_test): Import global $testfile.
8807         Change the compilation target to match the testcase name.
8808         * gdb.base/sect-cmd.exp: Change the compilation target to match the
8809         testcase name.
8810         * a2-run.exp: Use for setup prepare_for_testing.  Change the
8811         compilation target to match the testcase name.
8812         * gdb.base/commands.exp: Likewise.
8813         * gdb.base/finish.exp: Likewise.
8814         * gdb.base/float.exp: Likewise.
8815         * gdb.base/info-target.exp: Likewise.
8816         * gdb.base/relational.exp: Likewise.
8817         * gdb.base/term.exp: Likewise.
8818         * gdb.base/until.exp: Likewise.
8819         * gdb.base/volatile.exp: Likewise.
8820         * gdb.base/whatis-exp.exp: Likewise.
8821
8822 2009-07-11  Hui Zhu  <teawater@gmail.com>
8823
8824         * gdb.base/help.exp (disassemble): Update expected help text.
8825
8826 2009-07-09  Tom Tromey  <tromey@redhat.com>
8827
8828         * lib/gdb.exp: Handle TRANSCRIPT.
8829         (remote_spawn, remote_close, send_gdb): New procs.
8830
8831 2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
8832
8833         * gdb.python/python-prettyprint.c: Add counted null string
8834         structure.
8835         * gdb.python/python-prettyprint.exp: Print null string. Test for
8836         embedded nulls.
8837         * gdb.python/python-prettyprint.py (pp_ns): New Function.
8838         * gdb.python/python-value.exp (test_value_in_inferior): Add
8839         variable length string fetch tests.
8840         * gdb.python/python-value.c (main): Add strings for string fetch tests.
8841
8842 2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
8843
8844         * gdb.base/dump.exp (inaccessible memory is reported): New test.
8845
8846 2009-07-07  Tom Tromey  <tromey@redhat.com>
8847
8848         * gdb.base/call-rt-st.exp: Update for change to escape output.
8849         * gdb.base/callfuncs.exp: Likewise.
8850         * gdb.base/charset.exp: Likewise.
8851         * gdb.base/constvars.exp: Likewise.
8852         * gdb.base/long_long.exp: Likewise.
8853         * gdb.base/pointers.exp: Likewise.
8854         * gdb.base/printcmds.exp: Likewise.
8855         * gdb.base/setvar.exp: Likewise.
8856         * gdb.base/store.exp: Likewise.
8857         * gdb.cp/ref-types.exp: Likewise.
8858         * gdb.mi/mi-var-child.exp: Likewise.
8859         * gdb.mi/mi-var-display.exp: Likewise.
8860         * gdb.mi/mi2-var-display.exp: Likewise.
8861         * gdb.base/charset.exp: Test octal escape sequence length.
8862         Update for change to escape output.
8863
8864 2009-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8865
8866         * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8867
8868 2009-07-06  Daniel Jacobowitz  <dan@codesourcery.com>
8869
8870         * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8871
8872 2009-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8873
8874         * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8875         gdbserver increasing $portnum if "Can't bind address" has been seen.
8876
8877 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
8878
8879         * gdb.base/ending-run.exp: Add "step out of main" pattern for
8880         mingw32ce.
8881
8882 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
8883
8884         * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8885         VFP format.
8886
8887 2009-07-02  Pedro Alves  <pedro@codesourcery.com>
8888
8889         * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8890         linux.  Adjust to use "inferior", "info inferiors", "detach
8891         inferior" and "kill inferior" instead of "restart", "info fork",
8892         "detach fork" and "delete fork".
8893         * gdb.base/ending-run.exp: Spell out "info".
8894         * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8895         the "kill" command.
8896
8897 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8898
8899         * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8900         change to prefix TLS offset in hex with 0x.
8901
8902 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8903
8904         * gdb.base/default.exp: Update test case for "x" changes.
8905
8906 2009-07-01  Tristan Gingold  <gingold@adacore.com>
8907
8908         * gdb.base/bigcore.exp: Make darwin untested.
8909
8910 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
8911
8912         * gdb.base/completion.exp (directory completion): Create the directory.
8913         New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8914         escapeuniquesub.
8915         (directory completion 2): Expect now ${escapeuniquesub}.
8916         (Glob remaining of directory test): Remove one excessive newline.
8917         Expect the real output.
8918
8919 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
8920
8921         Fix `make check//%' target after `make check' has been ran.
8922         * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency.  Add
8923         a mkdir call.
8924         (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8925         (%/.dir): Remove.
8926
8927 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
8928
8929         * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8930         the expected result record.
8931
8932 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
8933
8934         Remove racy FAILs relying just on the timeouts.
8935         * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8936         (annotation_level 2): Remove racy FAILs.
8937
8938 2009-06-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
8939
8940         gdb/10275
8941         * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8942
8943 2009-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
8944
8945         * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8946
8947 2009-06-30  Vladimir Prus  <vladimir@codesourcery.com>
8948
8949         * gdb.mi/mi-stack.exp: Testing symbolic options
8950         to -stack-list-locals and -stack-list-arguments.
8951
8952 2009-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
8953
8954         * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8955
8956 2009-06-29  Tom Tromey  <tromey@redhat.com>
8957
8958         * dg-extract-results.sh: New file.
8959         * Makefile.in (FORCE_PARALLEL): New variable.
8960         (CHECK_TARGET): New conditional variable.
8961         (check): Use CHECK_TARGET.
8962         (DO_RUNTEST): New variable.
8963         (check-single): New target.
8964         (TEST_DIRS): New variable.
8965         (TEST_TARGETS): Likewise.
8966         (check-parallel): New target.
8967         (check-gdb.%): New pattern.
8968         (BASE1_FILES): New variable.
8969         (BASE2_FILES): Likewise.
8970         (check-gdb.base%): New pattern.
8971         (%/.dir): New pattern.
8972         * configure: Rebuild.
8973         * aclocal.m4 (AM_CONDITIONAL): New defun.
8974         * configure.ac: Check whether user is using GNU make.
8975         (GMAKE): New conditional.
8976
8977 2009-06-29  Sami Wagiaalla  <swagiaal@redhat.com>
8978
8979         * gdb.cp/namespace-nested-import.cc: New test.
8980         * gdb.cp/namespace-nested-import.exp: New test.
8981
8982 2009-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
8983
8984         * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8985         * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8986         * gdb.opt/Makefile.in (EXECUTABLES): Update.
8987         * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8988         * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8989         gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8990         gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8991         gdb.opt/inline-markers.c: New files.
8992         * lib/gdb.exp (skip_inline_frame_tests): New function.
8993         (skip_inline_var_tests): New function.
8994
8995 2009-06-27  Andreas Schwab  <schwab@linux-m68k.org>
8996
8997         * gdb.cp/exception.exp: Don't require $hex before inner frame in
8998         backtrace.
8999
9000 2009-06-27  Michael Snyder  <msnyder@vmware.com>
9001
9002         * gdb.reverse: New directory.
9003         * gdb.reverse/break-reverse.c: New test.
9004         * gdb.reverse/break-reverse.exp: New test.
9005         * gdb.reverse/consecutive-reverse.c: New test.
9006         * gdb.reverse/consecutive-reverse.exp: New test.
9007         * gdb.reverse/finish-reverse.c: New test.
9008         * gdb.reverse/finish-reverse.exp: New test.
9009         * gdb.reverse/machinestate.c: New test.
9010         * gdb.reverse/ms1.c: New test.
9011         * gdb.reverse/machinestate.exp: New test.
9012         * gdb.reverse/Makefile.in: New file.
9013         * gdb.reverse/shr2.c: New test.
9014         * gdb.reverse/solib-reverse.c: New test.
9015         * gdb.reverse/solib-reverse.exp: New test.
9016         * gdb.reverse/step-reverse.c: New test.
9017         * gdb.reverse/step-reverse.exp: New test.
9018         * gdb.reverse/until-reverse.c: New test.
9019         * gdb.reverse/ur1.c: New test.
9020         * gdb.reverse/until-reverse.exp: New test.
9021         * gdb.reverse/watch-reverse.c: New test.
9022         * gdb.reverse/watch-reverse.exp: New test.
9023         * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
9024         * configure: Regenerate.
9025
9026 2009-06-26  Doug Evans  <dje@google.com>
9027
9028         * gdb.base/psymtab.exp: Turn off pending breakpoints.
9029
9030 2009-06-26  Pierre Muller  <muller@ics.u-strasbg.fr>
9031
9032         * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
9033         windows problem for 'file delete $binfile'.
9034
9035 2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
9036
9037         * gdb.cp/namespace-using.exp: New test.
9038         * gdb.cp/namespace-using.cc: New test.
9039
9040 2009-05-20  Joel Brobecker  <brobecker@adacore.com>
9041
9042         * gdb.ada/variant_record_packed_array: New testcase.
9043
9044 2009-06-23  Tom Tromey  <tromey@redhat.com>
9045
9046         * gdb.base/charset.exp (test_combination): Regression test.
9047         * gdb.base/charset.c (my_wchar_t): New typedef.
9048         (myvar): New global.
9049         (main): Set myvar.
9050
9051 2009-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
9052
9053         * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
9054         target.
9055
9056 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9057
9058         * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
9059
9060 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9061
9062         * gdb.mi/gdb680.exp: Update test for error message.
9063
9064 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9065
9066         * gdb.base/annota1.exp: Allow multiple occurrences of the
9067         frames-invalid annotation.
9068         * gdb.cp/annota2.exp: Likewise.
9069
9070 2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
9071
9072         * gdb.cp/gdb2495.cc: New file.
9073         * gdb.cp/gdb2495.exp: New file.
9074
9075 2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
9076
9077         Report error on GDB crash during runto.
9078         * lib/gdb.exp (runto <eof>): New.
9079
9080 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
9081
9082         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
9083         gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
9084         gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
9085         gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
9086         gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
9087         gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
9088         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
9089         gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
9090         gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
9091         gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
9092         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
9093         gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
9094         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
9095         gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
9096         gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
9097         gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
9098         gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
9099         gdb.server/server-mon.exp, gdb.server/server-run.exp,
9100         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9101         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
9102         gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
9103         gdb.trace/passcount.exp, gdb.trace/report.exp,
9104         gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
9105         gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
9106         gdb.trace/while-stepping.exp: Use a unique name for the compiled
9107         executable.
9108
9109 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
9110
9111         * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
9112         defined before referencing it.
9113
9114 2009-06-03  Doug Evans  <dje@google.com>
9115
9116         * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
9117         * gdb.arch/i386-see.c: Ditto.
9118
9119 2009-05-30  Pierre Muller  <muller@ics.u-strasbg.fr>
9120
9121         * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
9122         (check_macro): Return 1 if undefined.
9123         If first test fails, check if macro debug information is available,
9124         and report unsupported test if no macro information is found.
9125
9126 2009-05-29  Doug Evans  <dje@google.com>
9127
9128         * gdb.threads/hand-call-in-threads.exp: New.
9129         * gdb.threads/hand-call-in-threads.c: New.
9130
9131 2009-05-29  Michael Snyder  <msnyder@vmware.com>
9132
9133         * gdb.base/break-always.exp: Change "1" to "on".
9134         Add confirmation check.
9135
9136 2009-05-28  Pedro Alves  <pedro@codesourcery.com>
9137
9138         * gdb.threads/threxit-hop-specific.c: New.
9139         * gdb.threads/threxit-hop-specific.exp: New.
9140         * gdb.threads/thread-execl.c: New.
9141         * gdb.threads/thread-execl.exp: New.
9142
9143 2009-05-27  Tom Tromey  <tromey@redhat.com>
9144             Thiago Jung Bauermann  <bauerman@br.ibm.com>
9145
9146         * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
9147         (mi_child_regexp): Likewise.
9148         (mi_list_varobj_children_range): Likewise.
9149         (mi_get_features): Likewise.
9150         (mi_list_varobj_children): Rewrite.
9151         * gdb.python/python-mi.exp: New file.
9152
9153 2009-05-27  Tom Tromey  <tromey@redhat.com>
9154             Thiago Jung Bauermann  <bauerman@br.ibm.com>
9155             Phil Muldoon  <pmuldoon@redhat.com>
9156             Paul Pluzhnikov  <ppluzhnikov@google.com>
9157
9158         * gdb.python/python-prettyprint.exp: New file.
9159         * gdb.python/python-prettyprint.c: New file.
9160         * gdb.python/python-prettyprint.py: New file.
9161         * gdb.base/display.exp: print/r is now valid.
9162
9163 2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9164             Tom Tromey  <tromey@redhat.com>
9165             Pedro Alves  <pedro@codesourcery.com>
9166             Paul Pluzhnikov  <ppluzhnikov@google.com>
9167
9168         * gdb.python/python-template.exp: New file.
9169         * gdb.python/python-template.cc: New file.
9170         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
9171         tests.
9172         * gdb.python/python-value.exp (py_objfile_tests): New proc.
9173         Call it.
9174         (test_value_after_death): New proc.
9175         * gdb.python/python-value.c (PTR): New typedef.
9176         (main): New variable 'x'.
9177
9178 2009-05-27  Tom Tromey  <tromey@redhat.com>
9179
9180         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
9181         tests.
9182         * gdb.python/python-value.exp (py_objfile_tests): New proc.
9183         Call it.
9184
9185 2009-05-27  Pedro Alves  <pedro@codesourcery.com>
9186
9187         * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
9188
9189 2009-05-24  Pedro Alves  <pedro@codesourcery.com>
9190
9191         * gdb.threads/fork-thread-pending.c: New.
9192         * gdb.threads/fork-thread-pending.exp: New.
9193
9194 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
9195
9196         * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
9197         * gdb.dwarf2/dw2-strp.S (a_string2): New.
9198
9199 2009-05-18  Jon Beniston  <jon@beniston.com>
9200
9201         * gdb.asm/asm-source.exp: Add lm32 target.
9202
9203 2009-05-17  Pedro Alves  <pedro@codesourcery.com>
9204
9205         * gdb.base/foll-fork.c: Include stdlib.h.  Add markers for
9206         `gdb_get_line_number'.  Call `callee' in both parent and child.
9207         * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
9208         `gdb_get_line_number' instead of hardcoding line numbers.
9209         (catch_fork_unpatch_child): New procedure to test detaching
9210         breakpoints from child fork.
9211         (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
9212         hardcoding line numbers.
9213         (do_fork_tests): Run `catch_fork_unpatch_child'.
9214
9215 2009-05-17  Vladimir Prus  <vladimir@codesourcery.com>
9216
9217         * gdb.mi/mi-cmd-var.exp: Check that when varobj
9218         of structure type enters or leaves the scope, it
9219         is reported by -var-update.
9220
9221 2009-05-11  Doug Evans  <dje@sebabeach.org>
9222
9223         * gdb.mi/nsintrall.c (main): Fix off-by-one error.
9224         * gdb.threads/pending-step.c (main): Fix off-by-one error.
9225         * gdb.threads/schedlock.c (main): Fix off-by-one error.
9226
9227 2009-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9228
9229         * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
9230
9231 2009-04-30  Doug Evans  <dje@google.com>
9232
9233         * gdb.threads/watchthreads2.exp: New testcase.
9234         * gdb.threads/watchthreads2.c: New testcase.
9235
9236 2009-04-29  Doug Evans  <dje@google.com>
9237
9238         * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
9239         * gdb.cp/mb-ctor.cc: Ditto.
9240         * gdb.cp/mb-inline.exp: Add multi-line source statement test.
9241         * gdb.cp/mb-inline.h (multi_line_foo): New function.
9242         * gdb.cp/mb-inline1.cc: Call it.
9243         * gdb.cp/mb-inline2.cc: Ditto.
9244         * gdb.cp/mb-templates.exp: Add multi-line source statement test.
9245         * gdb.cp/mb-templates.cc (multi_line_foo): New template.
9246
9247 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
9248
9249         * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
9250         (info_macro): Remova `decimal' declaration.  New variable `nonzero'.
9251         Replace all uses of `decimal' by `nonzero'.
9252         (info macro FROM_COMMANDLINE): New test.
9253
9254 2009-04-27  Tom Tromey  <tromey@redhat.com>
9255
9256         * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
9257
9258 2009-04-27  Doug Evans  <dje@google.com>
9259
9260         * gdb.threads/watchthreads.c (main): Initialize args before starting
9261         the threads.  Plus formatting cleanup.
9262         * gdb.threads/watchthreads.exp: Avoid errant failures due to
9263         biased scheduling of one thread.
9264
9265 2009-04-27  Jerome Guitton  <guitton@adacore.com>
9266
9267         * gdb.cp/templates.cc (GetMax): New template.
9268         (main): Declare two instances of GetMax.
9269         * gdb.cp/templates.exp: Add new test.
9270
9271 2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
9272
9273         * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
9274
9275 2009-04-22  Joseph Myers  <joseph@codesourcery.com>
9276
9277         * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
9278
9279 2009-04-15  Tom Tromey  <tromey@redhat.com>
9280
9281         * gdb.base/charset.exp: Add regression test.
9282
9283 2009-04-14  Joel Brobecker  <brobecker@adacore.com>
9284
9285         * gdb.base/exe-lock.exp: New testcase.
9286
9287 2009-04-13  Tom Tromey  <tromey@redhat.com>
9288
9289         * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
9290         operator on Frame.
9291
9292 2009-04-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9293
9294         * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
9295         * gdb.server/ext-attach.exp: Likewise.
9296
9297 2009-04-03  Vladimir Prus  <vladimir@codesourcery.com>
9298
9299         Eliminate some sleep usage.
9300
9301         * gdb.mi/basics.c (do_nothing): New.
9302         (main): Use do_nothing instead of printf, so that
9303         not to introduce race condition between output of
9304         inferiour and output of gdb. Do not use sleep as it
9305         is not generally available on embedded targets.
9306
9307 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
9308
9309         * gdb.server/ext-attach.exp: Expect an optional process id after
9310         "Detached from remote process".
9311
9312 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9313
9314         * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
9315         gdb.dwarf2/dw2-unresolved.exp: New.
9316
9317 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
9318
9319         * gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
9320         mi_run_to_main.
9321
9322 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
9323
9324         * gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
9325         mi_run_to_main.  Skip thread exit test on remote targets.
9326         * gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
9327         mi_run_to_main.
9328         * gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
9329         mi_run_to_main.
9330         * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
9331         when expecting ^connected.  Detect when the target doesn't support
9332         non-stop mode.
9333         (mi_run_cmd): Detect if non-stop mode was requested by isn't
9334         supported.  Return -1 on error, 0 on success.
9335         (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
9336         (mi_runto): Return mi_runto_helper's result explicitly.
9337
9338 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
9339
9340         * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
9341
9342 2009-04-01  Tom Tromey  <tromey@redhat.com>
9343
9344         * gdb.base/funcargs.exp: Set print frame-arguments to "all".
9345         * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
9346         * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
9347         * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
9348
9349 2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
9350             Jan Kratochvil  <jan.kratochvil@redhat.com>
9351
9352         PR gdb/931
9353         * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
9354         output.
9355         * gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
9356         for gdb/931.
9357         * dw2-strp.S (DW_AT_language): Change to C++.
9358         (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
9359
9360 2009-03-31  Joel Brobecker  <brobecker@adacore.com>
9361
9362         * gdb.ada/tasks: New testcase.
9363
9364 2009-03-30  Stan Shebs  <stan@codesourcery.com>
9365
9366         * gdb.trace/actions.exp: Update to match new info trace format.
9367         * gdb.trace/deltrace.exp: Ditto.
9368         * gdb.trace/infotrace.exp: Ditto.
9369         * gdb.trace/passcount.exp: Ditto.
9370         * gdb.trace/save-trace.exp: Ditto.
9371         * gdb.trace/while-stepping.exp: Ditto.
9372         * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
9373
9374 2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9375
9376         * gdb.python/python-frame.c: New file.
9377         * gdb.python/python-frame.exp: New file.
9378
9379 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9380
9381         * gdb.python/python-value.exp: Add tests for the address
9382         attribute.
9383
9384 2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>
9385
9386         * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
9387
9388 2009-03-26  Doug Evans  <dje@google.com>
9389
9390         * gdb.mi/mi-nonstop-exit.exp: New file.
9391         * gdb.mi/non-stop-exit.c: New file.
9392
9393 2009-03-26  Tom Tromey  <tromey@redhat.com>
9394
9395         Update for change to prologue skipping:
9396         * gdb.mi/mi2-simplerun.exp: Update.
9397         * gdb.mi/mi2-break.exp: Update.
9398         * gdb.mi/mi-simplerun.exp: Update.
9399         * gdb.mi/mi-break.exp: Update.
9400         * gdb.base/ending-run.exp: Update.
9401
9402 2009-03-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9403
9404         * gdb.python/python-value.exp (test_value_in_inferior): Test
9405         gdb.Value.is_optimized_out attribute.
9406
9407 2009-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9408
9409         * gdb.dwarf2/dw2-noloc-main.c: New file.
9410         * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
9411         (.text): Remove.
9412         (.data): New.
9413         (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
9414         (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
9415         (DW_TAG_subprogram func_cu1, noloc): Remove.
9416         (main): New.
9417         * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
9418         `dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
9419         (file_symbols): New procedure.
9420
9421 2009-03-25  Tom Tromey  <tromey@redhat.com>
9422
9423         * gdb.base/charset.exp (valid_target_charset): New proc.
9424         Use it to skip tests on invalid charsets.
9425
9426 2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
9427
9428         * gdb.base/completion.exp: Add a test for directory completion.
9429
9430 2009-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9431
9432         Fix a racy FAIL.
9433         * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
9434         * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
9435
9436 2009-03-21  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9437
9438         * gdb.python/python-cmd.exp: Add tests for keyword arguments.
9439         * gdb.python/python-function.exp: Add test for function returning
9440         a GDB value.
9441
9442 2009-03-20  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9443
9444         * gdb.python/python-function.exp: New file.
9445
9446 2009-03-20  Tom Tromey  <tromey@redhat.com>
9447
9448         * gdb.base/store.exp: Update for change to escape output.
9449         * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
9450         to escape output.
9451         * gdb.base/pointers.exp: Update for change to escape output.
9452         * gdb.base/long_long.exp (gdb_test_long_long): Update for change
9453         to escape output.
9454         * gdb.base/constvars.exp (do_constvar_tests): Update for change to
9455         escape output.
9456         * gdb.base/call-rt-st.exp (print_struct_call): Update for change
9457         to escape output.
9458         * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
9459         escape output.
9460         * gdb.base/setvar.exp: Update for change to escape output.
9461         * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
9462         * gdb.base/printcmds.exp (test_print_all_chars): Update for change
9463         to escape output.
9464         (test_print_string_constants): Likewise.
9465         * gdb.base/charset.exp (valid_host_charset): Check size of
9466         wchar_t.  Handle UCS-2 and UCS-4.  Add tests for wide and unicode
9467         cases.  Handle "auto"-related output.
9468         * gdb.base/charset.c (char16_t, char32_t): New typedefs.
9469         (uvar, Uvar): New globals.
9470
9471 2009-03-19  Jerome Guitton  <guitton@adacore.com>
9472
9473         * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
9474         deltas.
9475         * gdb.ada/fixed_points.exp: Ditto.
9476
9477 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
9478
9479         * return-nodebug.c: Don't include stdio.h.
9480         (init): Delete.
9481         (func): Delete definition and provide extern declaration.
9482         (t): New.
9483         (main): Don't call printf.  Call func and store its result in t.
9484         * return-nodebug1.c: New.
9485         * return-nodebug.exp: Don't expect stdio output.  Instead, print
9486         the global variable t.  Drop printf formatters and cast types from
9487         foreach loop.  Don't use prepare_for_testing.  Compile
9488         return-nodebug.c and return-nodebug1.c in separate steps.  Don't
9489         define FORMAT or CAST.
9490
9491 2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9492
9493         * gdb.base/solib-display.exp: Disable test for remote targers.
9494
9495 2009-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9496
9497         * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
9498
9499 2009-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
9500
9501         Fix a racy FAIL.
9502         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
9503         code from `follow parent, print pids'.
9504         (`follow child, print pids', `follow parent, print pids'): Call it.
9505         Replace `gdb_test "break..."' by gdb_breakpoint.
9506
9507 2009-03-13  Vladimir Prus  <vladimir@codesourcery.com>
9508
9509         * gdb.mi/mi-cli.exp: Adjust for output difference in
9510         sync and async modes.
9511
9512 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
9513
9514         * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
9515         that was checked in by mistake. Remove loading of ada.exp, since
9516         this is not necessary in this case.
9517
9518 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
9519
9520         * gdb.ada/ptype_arith_binop.exp: New testcase.
9521
9522 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
9523
9524         * gdb.ada/mod_from_name: New testcase.
9525
9526 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
9527
9528         * gdb.ada/tick_last_segv: New testcase.
9529
9530 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
9531
9532         * gdb.mi/mi-cli.exp: Remove debug print.
9533
9534 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
9535
9536         * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
9537         include the token in ^running and frame info in *stopped.
9538
9539 2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9540
9541         * solib-display.exp: New file.
9542         * solib-display-main.c: New file.
9543         * solib-display-lib.c: New file.
9544
9545 2009-03-05  Pedro Alves  <pedro@codesourcery.com>
9546
9547         * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
9548
9549 2009-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
9550
9551         * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
9552         (list_and_check_macro): Use more specific test name.
9553         (next to definition): Make the test names unique.
9554
9555 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
9556
9557         * gdb.pascal/floats.exp: Accept approximate results everywhere.
9558
9559 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
9560
9561         * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
9562         notifications.
9563         * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
9564         * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
9565         * lib/mi-support.exp (library_loaded_re): New.
9566         (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9567
9568 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
9569
9570         * gdb.gdb/observer.exp: Use test_notification observer, not
9571         normal_stop, everywhere.
9572         (test_normal_stop_notifications): Rename to...
9573         (test_notifications): ...this.
9574         (test_observer_normal_stop): Rename to...
9575         (test_observer): ...this.
9576
9577 2009-02-16  Doug Evans  <dje@google.com>
9578
9579         * gdb.arch/amd64-disp-step.S (test_int3): New test.
9580         * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9581         * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9582         (test_prefixed_syscall,test_int3): New tests.
9583         * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9584         (test_prefixed_syscall,test_int3): New tests.
9585
9586 2009-02-14  Vladimir Prus  <vladimir@codesourcery.com>
9587
9588         * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9589         (mi_expect_interrupt): Likewise.
9590         * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9591         response.
9592
9593 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
9594
9595         * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9596         * gdb.base/pc-fp.exp (get_valueofx): Remove.
9597         Replace calls to get_valueofx by get_hexadecimal_valueof.
9598
9599 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
9600
9601         * lib/gdb.exp (get_valueof): Accept anything as a return value.
9602         (get_integer_valueof): New procedure.
9603         (get_sizeof): Use new get_integer_value_of.
9604         * gdb.base/sizeof.exp: Replace all uses of get_valueof
9605         by get_integer_valueof.
9606
9607 2009-02-13  Tom Tromey  <tromey@redhat.com>
9608
9609         * gdb.base/remote.exp (get_sizeof): Remove.
9610         * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9611         * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9612         * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9613         * lib/gdb.exp (get_valueof): Move from long_long.exp.
9614         (get_sizeof): Likewise.
9615
9616 2009-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
9617
9618         PR fortran/9806
9619         * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9620
9621 2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9622
9623         * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9624
9625 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
9626
9627         * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9628
9629 2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9630
9631         * gdb.python/python-cmd.exp: New file.
9632
9633 2009-02-06  Tristan Gingold  <gingold@adacore.com>
9634
9635         * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9636
9637 2009-02-05  Tristan Gingold  <gingold@adacore.com>
9638
9639         * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9640         pointer is dereferenced and use this signal name in regexp.
9641         * gdb.base/signull.exp: Ditto.
9642         * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9643         * gdb.base/signull.c (main): Ditto.
9644
9645 2009-02-04  Tom Tromey  <tromey@redhat.com>
9646             Thiago Jung Bauermann  <bauerman@br.ibm.com>
9647
9648         * gdb.python/python-value.exp: Use `gdb.history' instead of
9649         `gdb.value_from_history'.
9650         (test_value_numeric_ops): Add test for conversion of enum constant.
9651         * gdb.python/python-value.c (enum e): New type.
9652         (evalue): New global.
9653         (main): Use argv.
9654
9655 2009-02-04  Jerome Guitton  <guitton@adacore.com>
9656
9657         * gdb.ada/uninitialized_vars: New test program.
9658         * gdb.ada/uninitialized_vars.exp: New testcase.
9659
9660 2009-02-02  Tom Tromey  <tromey@redhat.com>
9661
9662         * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9663         * gdb.cp/pr2489.cc: Rename...
9664         * gdb.cp/pr9594.cc: ... to this.
9665
9666 2009-02-02  Tom Tromey  <tromey@redhat.com>
9667
9668         * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9669         * gdb.cp/pr2489.cc: New file.
9670         * gdb.cp/cpcompletion.exp: New file.
9671
9672 2009-02-02  Tom Tromey  <tromey@redhat.com>
9673
9674         PR exp/9059:
9675         * gdb.cp/call-c.exp: Add regression test.
9676         * gdb.cp/call-c.cc (FooHandle): New typedef.
9677         (main): New variable 'handle'.
9678
9679 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
9680
9681         * lib/mi-support.exp (et_mi_thread_list)
9682         (check_mi_and_console_threads): Adjust for current thread in
9683         -thread-list-ids output.
9684
9685 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
9686
9687         * gdb.mi/mi-break.exp (test_disabled_creation): New.
9688         Call it.
9689
9690 2009-01-28  Doug Evans  <dje@google.com>
9691
9692         * gdb.arch/amd64-disp-step.S: New file.
9693         * gdb.arch/amd64-disp-step.exp: New file.
9694         * gdb.arch/i386-disp-step.S: New file.
9695         * gdb.arch/i386-disp-step.exp: New file.
9696
9697 2009-01-27  Pierre Muller  <muller@ics.u-strasbg.fr>
9698
9699         * gdb.base/find.exp: Set newline variable
9700         using quotes instead of braces to fix cygwin failures.
9701
9702 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
9703
9704         * gdb.base/radix.exp: Add tests to ensure that that set
9705         input-radix 0 and set output-radix 0 are really rejected.
9706
9707 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
9708
9709         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9710         copyright years.
9711
9712 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
9713
9714         PR gdb/9664:
9715         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9716
9717 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
9718
9719         PR c++/9631:
9720         * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9721
9722 2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>
9723
9724         * gdb.server/file-transfer.exp: Use EXEEXT variable for
9725         binfile definition to fix Windows OS failure.
9726
9727 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
9728
9729         PR gdb/9346
9730         * gdb.base/interrupt.c (sigint_handler): New.
9731         (main): Install a SIGINT handler if SIGNALS is defined.  Exit
9732         on error.
9733         * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9734         Test "signal SIGINT".
9735
9736 2009-01-19  Doug Evans  <dje@google.com>
9737
9738         * gdb.base/break.exp: Update expected gdb output.
9739         * gdb.base/sepdebug.exp: Ditto.
9740         * gdb.mi/mi-syn-frame.exp: Ditto.
9741         * gdb.mi/mi2-syn-frame.exp: Ditto.
9742         * gdb.base/call-signal-resume.exp: New file.
9743         * gdb.base/call-signals.c: New file.
9744         * gdb.base/unwindonsignal.exp: New file.
9745         * gdb.base/unwindonsignal.c: New file.
9746         * gdb.threads/interrupted-hand-call.exp: New file.
9747         * gdb.threads/interrupted-hand-call.c: New file.
9748         * gdb.threads/thread-unwindonsignal.exp: New file.
9749
9750 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
9751
9752         * gdb.base/define.exp: Test defining and hooking prefix commands.
9753         * gdb.python/python.exp: Update test for "show user" output.
9754
9755 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
9756
9757         * gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
9758         now the output exactly, using less wildcards.  Expect also the output
9759         of gfortran-4.3.  Update for the f-valprint.c modification from
9760         2008-04-22.
9761         * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9762         Remove gdb_test test names where matching the command.
9763
9764 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
9765
9766         PR breakpoints/9681:
9767         * gdb.base/watchpoint.exp: Add regression test.
9768
9769 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
9770
9771         * gdb.threads/attach-into-signal.exp: Don't use
9772         gdb_suppress_entire_file.
9773         * gdb.threads/attach-stopped.exp: Ditto.
9774         * gdb.threads/attachstop-mt.exp: Ditto.
9775
9776 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
9777
9778         PR gdb/8812:
9779         * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9780
9781 2008-12-29  Pedro Alves  <pedro@codesourcery.com>
9782
9783         PR gdb/7536:
9784         * gdb.base/radix.exp: Add tests to ensure invalid input radices
9785         and unsupported output radices are really rejected.
9786
9787 2008-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
9788
9789         * gdb.cp/punctuator.exp: Backslash the '$' signs.
9790
9791 2008-12-22  Tom Tromey  <tromey@redhat.com>
9792
9793         * gdb.cp/punctuator.exp: New file.
9794
9795 2008-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9796
9797         * gdb.base/completion.exp (Completing non-existing component): New test.
9798
9799 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
9800
9801         Fix for PR gdb/8648.
9802         * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9803         gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9804         gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9805         gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9806
9807 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
9808
9809         * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9810
9811 2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
9812
9813         * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9814         compiler actually generate code at the expected line number.
9815
9816 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
9817
9818         * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9819
9820 2008-12-12  Tom Tromey  <tromey@redhat.com>
9821
9822         * gdb.base/commands.exp (redefine_hook_test): New proc.
9823         Call it.
9824
9825 2008-12-11  Tom Tromey  <tromey@redhat.com>
9826
9827         * gdb.base/macscp.exp: New regression test.
9828
9829 2008-12-11  Tom Tromey  <tromey@redhat.com>
9830
9831         * gdb.base/macscp.exp: Print "address.addr".
9832         * gdb.base/macscp1.c (struct outer): New struct.
9833         (address): New global.
9834
9835 2008-12-09  Tom Tromey  <tromey@redhat.com>
9836
9837         * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9838         Call it.
9839
9840 2008-12-04  Doug Evans  <dje@google.com>
9841
9842         * gdb.server/ext-run.exp: Relax regexp for init program.
9843
9844 2008-12-03  Tristan Gingold  <gingold@adacore.com>
9845
9846         * gdb.base/macscp.exp: Generate an object file during compilation
9847         to work around Darwin dsymutil limitations.
9848
9849 2008-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9850
9851         Test resolving external references to TLS variables.
9852         * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9853         FILE2_THREAD_LOCAL.
9854         (testfile2, srcfile2): New variables.
9855         * gdb.threads/tls.c (file2_thread_local)
9856         (function_referencing_file2_thread_local): New.
9857         * gdb.threads/tls2.c: New file.
9858
9859 2008-11-28  Joel Brobecker  <brobecker@adacore.com>
9860
9861         * gdb.ada/int_deref.exp: Convert the addresses into long_integer
9862         rather than integer, as integer might not be big enough when
9863         on 64bit targets.
9864
9865 2008-11-27  Jerome Guitton  <guitton@adacore.com>
9866
9867         * gdb.cp/formatted-ref.exp: Add equality test.
9868         * gdb.ada/formatted_ref.exp: Ditto.
9869
9870 2008-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9871
9872         * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9873         * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9874
9875 2008-11-20  Andreas Schwab  <schwab@suse.de>
9876
9877         * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9878         matching syscall entry point.
9879         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9880         (tcatch_vfork_then_child_follow): Likewise.  Finish through
9881         vfork even if we stopped at the syscall trampoline.
9882
9883 2008-11-20  Doug Evans  <dje@google.com>
9884
9885         * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9886
9887 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9888
9889         * gdb.arch/ppc-dfp.exp: New file.
9890         * gdb.arch/ppc-dfp.c: New file.
9891
9892 2008-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9893
9894         * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
9895
9896 2008-11-17  Doug Evans  <dje@google.com>
9897
9898         * gdb.mi/mi-syn-frame.exp: Update expected output.
9899         * gdb.mi/mi2-syn-frame.exp: Update expected output.
9900
9901 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
9902
9903         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
9904         "thread N" results in =thread-selected.
9905         * lib/mi-support (mi_run_cmd, mi_expect_stop)
9906         (mi_send_resuming_command_raw): Be prepared for
9907         =thread-selected.
9908
9909 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
9910
9911         * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9912         * lib/mi-support.exp: Likewise.
9913
9914 2008-11-16  Joel Brobecker  <brobecker@adacore.com>
9915
9916         * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9917         commands from the expected output for "help catch".
9918
9919 2008-11-15  Joel Brobecker  <brobecker@adacore.com>
9920
9921         * gdb.ada/int_deref.exp: New testcase.
9922
9923 2008-11-14  Nick Roberts  <nickrob@snap.net.nz>
9924
9925         * gdb.mi/gdb2549.exp: New file.
9926
9927 2008-11-11  Doug Evans  <dje@google.com>
9928
9929         * gdb.base/callexit.exp: New file.
9930         * gdb.base/callexit.c: New file.
9931
9932 2008-11-10  Doug Evans  <dje@google.com>
9933
9934         * lib/gdb.exp (GDBFLAGS): Move -nx ...
9935         (INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
9936         (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9937         (default_gdb_start,default_gdb_exit): Ditto.
9938         * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9939         (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9940         * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9941         * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9942         * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9943         * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9944
9945 2008-11-03  Andreas Schwab  <schwab@suse.de>
9946
9947         * gdb.base/hashline2.exp: Fix typo.
9948         * gdb.base/hashline3.exp: Likewise.
9949
9950 2008-10-30  Tom Tromey  <tromey@redhat.com>
9951
9952         * gdb.base/pointers.exp: Add test.
9953         * gdb.base/pointers.c (k, S): New typedefs.
9954         (instance): New global.
9955
9956 2008-10-30  Andreas Schwab  <schwab@suse.de>
9957
9958         * gdb.base/args.exp: Add tests for newlines.
9959
9960 2008-10-30  Joel Brobecker  <brobecker@adacore.com>
9961
9962         gdb.base/foll-exec.exp: Update the expected output of a couple
9963         of "info breakpoints" tests.
9964
9965 2008-10-28  Tom Tromey  <tromey@redhat.com>
9966
9967         * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9968
9969 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
9970
9971         * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9972         gdb_start_cmd.
9973         Use runto_main before any test that requires execution.
9974
9975 2008-10-23  Pedro Alves  <pedro@codesourcery.com>
9976
9977         * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9978         instead of SIGINT.
9979
9980 2008-10-22  Joel Brobecker  <brobecker@adacore.com>
9981
9982         * gdb.base/completion.exp: Update expected output following
9983         the addition of the "info tasks" command.
9984
9985 2008-10-22  Tom Tromey  <tromey@redhat.com>
9986
9987         * gdb.base/exprs.exp (test_expr): Add test for string
9988         concatenation.
9989
9990 2008-10-19  Pedro Alves  <pedro@codesourcery.com>
9991
9992         * configure.ac: Output gdb.python/Makefile.
9993         * configure: Regenerate.
9994         * gdb.python/Makefile.in: New.
9995
9996 2008-10-16  Joel Brobecker  <brobecker@adacore.com>
9997
9998         * gdb.base/foll-fork.exp: Adjust the expected output to match
9999         the new description for fork/vfork catchpoints in the "info
10000         breakpoints" output.
10001
10002 2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
10003
10004         * Makefile.in: Add gdb.python to ALL_SUBDIRS.
10005
10006 2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10007
10008         * gdb.python/python-value.c: New file.
10009         * gdb.python/python-value.exp: New file.
10010
10011 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
10012
10013         * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
10014
10015 2008-10-15  Denis Pilat  <denis.pilat@st.com>
10016
10017         * gdb.cp/mb-ctor.exp: Fix a typo.
10018
10019 2008-10-09  Tom Tromey  <tromey@redhat.com>
10020
10021         * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
10022         'fprintf' and 'stderr'.
10023
10024 2008-10-07  Joel Brobecker  <brobecker@adacore.com>
10025
10026         * gdb.ada/ref_tick_size.exp: New testcase.
10027
10028 2008-10-06  Doug Evans  <dje@google.com>
10029
10030         * gdb.dwarf2/dw2-cu-size.exp: New file.
10031         * gdb.dwarf2/dw2-cu-size.S: New file.
10032
10033         * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
10034         .Ltype_int for clarity.
10035
10036 2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10037
10038         PR gdb/2384:
10039         * gdb.cp/gdb2384.exp: Extended to test more cases.
10040         * gdb.cp/gdb2384.cc: Likewise.
10041         * gdb.cp/gdb2384-base.h: Likewise.
10042         * gdb.cp/gdb2384-base.cc: Likewise.
10043
10044 2008-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10045
10046         * gdb.base/maint.exp (maint print type): Remove printing
10047         UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
10048
10049 2008-09-30  Tom Tromey  <tromey@redhat.com>
10050
10051         * gdb.base/macscp.exp: Add completion tests.
10052         * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
10053         (TWENTY_THREE): Likewise.
10054         (FORTY_EIGHT): Likewise.
10055
10056 2008-09-30  Tom Tromey  <tromey@redhat.com>
10057
10058         * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
10059         everywhere.
10060         * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
10061
10062 2008-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10063
10064         * gdb.threads/attachstop-mt.exp: Note a real testcase name this
10065         testcase is derived from.  Fix racy dependency on an expected PID
10066         number.  No longer support the testcase on Linux kernel 2.4.x.
10067
10068 2008-09-27  Tom Tromey  <tromey@redhat.com>
10069
10070         * gdb.base/macscp.exp: Add tests for stringification, splicing,
10071         and varargs.
10072
10073 2008-09-22  Pedro Alves  <pedro@codesourcery.com>
10074
10075         * lib/mi-support.exp (mi_expect_interrupt): New.
10076         (mi_reverse_list, mi_check_thread_states): New, moved and renamed
10077         from gdb.mi/mi-nonstop.exp.
10078         * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
10079         * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
10080         lib/mi-support.exp.
10081         Use mi_check_thread_states throughout.  Avoid ".*" and do not
10082         require an anchor after -exec-run.
10083
10084 2008-09-13  Daniel Jacobowitz  <dan@codesourcery.com>
10085
10086         * gdb.mi/mi-nonstop.exp: Do not check thread state while a
10087         stop is pending.  Avoid ".*" when two stops are pending.
10088         * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
10089         (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
10090         newlines in fullnames.
10091         * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
10092         (mi_expect_stop): Update comments.  Only anchor in sync mode.
10093         Do not match newlines.
10094         (mi_send_resuming_command_raw): Always return status.
10095         (mi_get_stop_line): Do not match more than one line by accident.
10096         Only anchor in sync mode.
10097         (mi_run_inline_test): If -exec-next fails, give up.
10098
10099 2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10100
10101         * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
10102         on SPU.
10103
10104 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
10105
10106         * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
10107
10108 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
10109
10110         * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
10111         gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
10112         gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
10113         gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
10114         gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
10115         gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
10116         gdb.ada/interface.exp, gdb.ada/null_array.exp,
10117         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
10118         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
10119         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
10120         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
10121         Include the "= " sequence in the expected output of print tests.
10122
10123 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
10124
10125         * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
10126         description for boolean types.
10127
10128 2008-09-09  Pedro Alves  <pedro@codesourcery.com>
10129
10130         * gdb.base/hook-stop-continue.c: New.
10131         * gdb.base/hook-stop-continue.exp: New.
10132
10133 2008-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
10134
10135         * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
10136
10137 2008-09-08  Jerome Guitton  <guitton@adacore.com>
10138
10139         * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
10140         (stack_check_probe_2, stack_check_probe_loop_1)
10141         (stack_check_probe_loop_2): New functions.
10142         (main): Add call to these new functions.
10143         * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
10144         functions, check that the breakpoint is inserted at the appropriate
10145         location.
10146         (insert_breakpoint): Slightly refine this procedure so that it can
10147         be called several times in the test.
10148
10149 2008-09-08  Jerome Guitton  <guitton@adacore.com>
10150
10151         * gdb.base/stack-checking.c: New file.
10152         * gdb.base/stack-checking.exp: New file.
10153
10154 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10155
10156         * gdb.arch/altivec-abi.exp: Remove extra verbose call.
10157         * gdb.arch/altivec-regs.exp: Likewise.
10158         * gdb.arch/vsx-regs.exp: Likewise.
10159
10160 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10161
10162         * gdb.arch/ppc-fp.exp: New file.
10163         * gdb.arch/ppc-fp.c: New file.
10164
10165 2008-09-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10166
10167         *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
10168         lest gcc-4.3.1 optimizes the whole thing away.
10169
10170 2008-09-04  Michael Snyder  <msnyder@vmware.com>
10171
10172         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
10173         as "at" (for non-debug functions such as _start).
10174
10175 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10176
10177         * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
10178         * gdb.base/watchpoint-solib.exp: Likewise.  Update tests to handle
10179         software watchpoints.
10180         * gdb.base/watch_thread_num.exp: Likewise.
10181
10182 2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
10183
10184         * gdb.arch/i386-bp_permanent.exp: New test.
10185
10186 2008-08-24  Tom Tromey  <tromey@redhat.com>
10187
10188         * gdb.base/maint.exp: Update "maint print type".
10189
10190 2008-08-21  Vladimir Prus  <vladimir@codesourcery.com>
10191
10192         * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
10193         support.  Adjust the order of "*running" notifications.
10194         * gdb.mi/non-stop.c: Don't cast from int to void* and
10195         back.
10196
10197 2008-08-20  Mark Kettenis  <kettenis@gnu.org>
10198
10199         * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
10200         expect to find it in the "info frame" output.
10201
10202 2008-08-20  Daniel Jacobowitz  <dan@codesourcery.com>
10203
10204         * gdb.base/interp.exp: Always consume both prompts.
10205
10206 2008-08-20  Pedro Alves  <pedro@codesourcery.com>
10207
10208         * gdb.base/pending.exp: Test pending breakpoints without symbols
10209         loaded.
10210
10211 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
10212
10213         * lib/mi-support.exp (mi_expect_stop): Produce
10214         more details on failures.
10215         * gdb.mi/mi-nonstop.exp: New.
10216         * gdb.mi/non-stop.c: New.
10217
10218 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
10219
10220         * gdb.mi/mi-async.exp: Use 'set target-async'.
10221         * lib/mi-support.exp: Use 'set/show target-async'.
10222
10223 2008-08-18  Daniel Jacobowitz  <dan@codesourcery.com>
10224
10225         * gdb.arch/powerpc-prologue.exp: Correct saved registers.
10226
10227 2008-08-17  Tom Tromey  <tromey@redhat.com>
10228
10229         * gdb.base/help.exp (help catch): Rewrite.
10230
10231 2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10232
10233         * gdb.base/define.exp: Test indented command documentation.
10234         * gdb.python/python.exp: Test indented multi-line command.
10235
10236 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
10237
10238         * testsuite/gdb.arch/vsx-regs.c: New source file.
10239         * testsuite/gdb.arch/vsx-regs.exp: New testcase.
10240         * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
10241
10242 2008-08-14  Tom Tromey  <tromey@redhat.com>
10243
10244         * gdb.base/macscp.exp: Add regression test for "macro define" or
10245         "macro undef" with no arguments.
10246
10247 2008-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10248
10249         * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
10250
10251 2008-08-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10252
10253         * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
10254
10255 2008-08-06  Tom Tromey  <tromey@redhat.com>
10256
10257         * gdb.python/python.exp: New file.
10258
10259 2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
10260
10261         Fix for PR gdb/1543.
10262         * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
10263         $LOCATION.
10264         (location): New variable.
10265         * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
10266         config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
10267         config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
10268         config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
10269         gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
10270         gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
10271         gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
10272         gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
10273         gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
10274         gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
10275         gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
10276         gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
10277         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
10278         gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
10279         gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
10280         gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
10281         gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
10282         gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
10283         gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
10284         gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
10285         gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
10286         gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
10287         gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
10288         gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
10289         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
10290         gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
10291         gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
10292         gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
10293         gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
10294         gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
10295         gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
10296         gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
10297         gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
10298         gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
10299         gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
10300         gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
10301         gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
10302         gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
10303         gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
10304         gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
10305         gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
10306         gdb.base/type-opaque.exp, gdb.base/until.exp,
10307         gdb.base/value-double-free.c, gdb.base/varargs.exp,
10308         gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
10309         gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
10310         gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10311         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
10312         gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
10313         gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10314         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10315         gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10316         gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
10317         gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
10318         gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
10319         gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
10320         gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
10321         gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
10322         gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
10323         gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
10324         gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
10325         gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
10326         gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
10327         gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10328         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
10329         gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
10330         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
10331         gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10332         gdb.pascal/types.exp, gdb.stabs/weird.exp,
10333         gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
10334         gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
10335         gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
10336         gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
10337         gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
10338         gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
10339         gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
10340         gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
10341         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
10342         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
10343         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
10344         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
10345         lib/mi-support.exp, lib/trace-support.exp: Remove reference
10346         to bug-gdb@prep.ai.mit.edu .
10347
10348 2008-07-31  Vladimir Prus  <vladimir@codesourcery.com>
10349
10350         * lib/mi-support.exp (mi_load_shlibs): New.
10351         * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
10352
10353 2008-07-30  Vladimir Prus  <vladimir@codesourcery.com>
10354
10355         * lib/mi-support.exp (get_mi_thread_list)
10356         (check_mi_and_console_threads): New, moved from ...
10357         * gdb.mi/mi-pthread.exp: ...here.
10358         * gdb.mi/gdb669.exp (get_mi_thread_list)
10359         (check_mi_and_console_threads): Delete.
10360         * gdb.mi/mi2-pthread.exp: Likewise.
10361
10362 2008-07-28  Tom Tromey  <tromey@redhat.com>
10363
10364         * Makefile.in (just-check): Remove.  Move body to...
10365         (check): ... here.
10366
10367 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10368
10369         * gdb.threads/manythreads.exp: Use remote_expect instead of after.
10370         Add a test for duplicated SIGINTs.
10371
10372 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10373
10374         * gdb.threads/schedlock.exp (get_args): Update to work for any
10375         value of NUM.
10376         (Top level): Report the number of threads that did not resume.
10377
10378 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10379
10380         * gdb.dwarf2/dw2-compressed.S: Also define __start.
10381
10382 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10383
10384         * lib/mi-support.exp (default_mi_gdb_start): Remove check for
10385         non-MI prompt.
10386
10387 2008-07-26  Tom Tromey  <tromey@redhat.com>
10388
10389         * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
10390         (function_struct, function_struct_ptr): New globals.
10391         * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
10392         function pointer in a struct.
10393
10394 2008-07-26  Tom Tromey  <tromey@redhat.com>
10395
10396         * gdb.base/macscp.exp: Add test for macro lexing bug.
10397
10398 2008-07-18  Tom Tromey  <tromey@redhat.com>
10399
10400         * gdb.base/macscp.exp: Add macro tests.
10401
10402 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
10403
10404         * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
10405
10406 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
10407
10408         * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
10409
10410 2008-07-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
10411
10412         * gdb.cp/class2.exp: fix for failure on spu-elf
10413
10414 2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10415
10416         * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
10417
10418 2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
10419
10420         * gdb.base/randomize.exp: Catch non-Linux targets as untested.
10421
10422 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
10423
10424         * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
10425
10426 2008-07-11  Kevin Buettner  <kevinb@redhat.com>
10427
10428         * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
10429         of regexp to account for changes made to GDB in the printing of
10430         byte vectors.
10431
10432 2008-07-11  Tom Tromey  <tromey@redhat.com>
10433
10434         * gdb.base/completion.exp: Add 'help' completion test.
10435
10436 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10437
10438         * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
10439
10440 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10441
10442         * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
10443
10444 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
10445
10446         * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
10447
10448 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
10449
10450         * gdb.base/fullname.exp: Restore pwd if compiling failed.
10451
10452 2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
10453
10454         * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
10455
10456 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
10457
10458         * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
10459         previous commit.  Add a comment.
10460
10461 2008-06-28  Pedro Alves  <pedro@codesourcery.com>
10462
10463         * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
10464
10465 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
10466
10467         * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
10468
10469 2008-06-27  Pedro Alves  <pedro@codesourcery.com>
10470
10471         * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
10472         (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
10473         compiling an executable, link in an object that forces unbuffered
10474         output.
10475         * lib/set_unbuffered_mode.c: New file.
10476
10477 2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
10478
10479         * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
10480
10481 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
10482
10483         * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
10484         mi_expect_stop.
10485         * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
10486         Demand that *running is output.
10487         (detect_async): Perform checking every time.
10488         (mi_send_resuming_command): Extract everything into...
10489         (mi_send_resuming_command_raw): ...this.
10490         (mi_expect_stop): Don't accept any output before *stopped.
10491
10492 2008-06-13  Vladimir Prus  <vladimir@codesourcery.com>
10493
10494         Robustify mi-simplerun.
10495         * gdb.mi/basics.c (main): Add a call to sleep.
10496         * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
10497         * gdb.mi/mi2-cli.exp: Likewise.
10498         * gdb.mi/mi-break.exp: Likewise.
10499
10500 2008-06-11  Vladimir Prus  <vladimir@codesourcery.com>
10501
10502         * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
10503
10504 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
10505
10506         * gdb.mi/mi-console.exp: Adjust.
10507         * gdb.mi/mi-syn-frame.exp: Adjust.
10508         * gdb.mi/mi2-console.exp: Adjust.
10509         * gdb.mi/mi2-syn-frame.exp: Adjust.
10510         * lib/mi-support.exp (mi_run_cmd): Adjust.
10511         (mi_send_resuming_command): Adjust.
10512
10513 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
10514
10515         * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
10516         * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
10517         testing of stopped.
10518         * gdb.mi/mi2-syn-frame.exp: Likewise.
10519         * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
10520         (async, detect_async): New.
10521         (mi_expect_stop, mi_continue_to_line): Adjust expectation
10522         depending on if we're running in sync or async mode.
10523
10524 2008-06-09  Tom Tromey  <tromey@redhat.com>
10525
10526         * gdb.base/completion.exp: New tests for field name completion
10527         with spaces, and field name completion with '->'.
10528
10529 2008-06-06  Tom Tromey  <tromey@redhat.com>
10530
10531         * gdb.base/break1.c (struct some_struct): New struct.
10532         (values): New global.
10533         * gdb.base/completion.exp: Add field name completion test.
10534
10535 2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10536
10537         * gdb.cp/call-c.exp: Test for incorrect handling of reference
10538         to pointer.
10539         * gdb.cp/call-c.cc: Likewise.
10540
10541 2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
10542
10543         * gdb.base/annota1.exp (thread_switch): Test for thread-changed
10544         annotation.
10545
10546 2008-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10547             Pedro Alves  <pedro@codesourcery.com>
10548
10549         * gdb.threads/execl.c, gdb.threads/execl1.c,
10550         gdb.threads/execl.exp: New tests.
10551
10552 2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
10553             Daniel Jacobowitz  <dan@codesourcery.com>
10554
10555         * gdb.cp/exception.exp: Activate test, make it work with pending
10556         catchpoints.
10557
10558 2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10559
10560         * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
10561
10562 2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
10563
10564         * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
10565         now printed.
10566         * gdb.mi/mi2-var-cmd.exp: Likewise.
10567
10568 2008-05-27  Andreas Schwab  <schwab@suse.de>
10569
10570         * gdb.base/frame-args.exp: Handle arguments that are optimized
10571         out.
10572
10573 2008-05-26  Luis Machado  <luisgpm@br.ibm.com>
10574
10575         * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10576         quiet for ppc32 and group options into a single variable.
10577
10578 2008-05-23  Joel Brobecker  <brobecker@adacore.com>
10579
10580         * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10581         of zero-size elements.
10582         * gdb.ada/null_array.exp: Test printing this new array.
10583
10584 2008-05-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
10585
10586         * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10587
10588 2008-05-21  Joel Brobecker  <brobecker@adacore.com>
10589
10590         * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10591         of the "finish" command.
10592
10593 2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
10594
10595         * gdb.base/annota1.exp: Test for new annotation.
10596
10597 2008-05-16  Pedro Alves  <pedro@codesourcery.com>
10598
10599         * gdb.base/fixsection.exp: New file.
10600         * gdb.base/fixsection0.c: New file.
10601         * gdb.base/fixsection1.c: New file.
10602
10603 2008-05-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10604
10605         * gdb.base/annota1.exp: Accept printf@... in place of printf.
10606         * gdb.base/annota3.exp: Likewise.
10607
10608 2008-05-13  Nathan Froyd  <froydnj@codesourcery.com>
10609
10610         * gdb.base/watch_thread_num.exp: Don't run tests that require
10611         watchpoints if the target doesn't support them.
10612
10613 2008-05-12  Doug Evans  <dje@google.com>
10614
10615         * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10616
10617 2008-05-09  Joel Brobecker  <brobecker@adacore.com>
10618
10619         * gdb.ada/assign_1.exp: New testcase.
10620
10621 2008-05-09  Doug Evans  <dje@google.com>
10622
10623         * gdb.base/find.exp: New file.
10624         * gdb.base/find.c: New file.
10625
10626 2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
10627
10628         * gdb.base/commands.exp (watchpoint_command_test): Handle
10629         gdb,no_hardware_watchpoints.
10630         * gdb.base/float.exp: Allow ARM targets without floating point.
10631         * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10632
10633 2008-05-06  Jerome Guitton  <guitton@adacore.com>
10634             Joel Brobecker  <brobecker@adacore.com>
10635
10636         * gdb.ada/lang_switch: New test program.
10637         * gdb.ada/lang_switch.exp: New testcase.
10638
10639 2008-05-05  Doug Evans  <dje@google.com>
10640
10641         * gdb.base/help.exp (disassemble): Update expected help text.
10642
10643 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
10644
10645         * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10646
10647 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
10648
10649         * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10650         different times.
10651
10652 2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10653
10654         * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10655         * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10656         `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10657         * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10658
10659 2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
10660
10661         * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10662         notification to appear.
10663
10664 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
10665
10666         * gdb.base/fullname.c: New file.
10667         * gdb.base/fullname.exp: New file.
10668         * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10669
10670 2008-05-03  Pedro Alves  <pedro@codesourcery.com>
10671
10672         * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10673         expressions with macros.
10674
10675 2008-05-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10676
10677         * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10678
10679 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
10680
10681         * gdb.base/completion.exp: Handle lack of other symbols beginning
10682         with "a".
10683
10684         * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10685
10686 2008-05-02  Jim Blandy  <jimb@codesourcery.com>
10687
10688         * gdb.asm/asmsrc1.s: Add scratch space.
10689
10690 2008-05-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10691             Daniel Jacobowitz  <dan@codesourcery.com>
10692
10693         * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10694         gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10695         gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10696
10697 2007-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
10698
10699         * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10700
10701 2008-05-01  Joel Brobecker  <brobecker@adacore.com>
10702
10703         * gdb.base/info-target.exp: New testcase.
10704
10705 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
10706
10707         * gdb.cp/hang.exp: Use .cc instead of .C.
10708         * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10709         * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10710
10711 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
10712
10713         * gdb.base/gdb1250.exp: Remove perror.
10714         * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10715
10716 2008-04-30  Pedro Alves  <pedro@codesourcery.com>
10717
10718         * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10719         .2byte.
10720
10721 2008-04-25  Daniel Jacobowitz  <dan@codesourcery.com>
10722
10723         * gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
10724         (maybe_kfail): New.
10725
10726 2008-04-25  Pedro Alves  <pedro@codesourcery.com>
10727
10728         * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10729
10730 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
10731
10732         * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10733         * gdb.mi/mi2-syn-frame.exp: Likewise.
10734         * lib/mi-support.exp: Likewise.
10735
10736 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
10737
10738         * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10739         to specify regexp for the location to stop at.
10740         * gdb.base/break-always.c: New.
10741         * gdb.base/break-always.exp: New.
10742
10743 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
10744
10745         * lib/mi-support.exp (mi_runto_helper): Adjust
10746         for the original-location field.
10747         (mi_create_breakpoint, mi_list_breakpoints): New.
10748         * gdb.mi/mi-break.exp: Adjust.
10749         * gdb.mi/mi2-break.exp: Adjust.
10750         * gdb.mi/mi-pending.exp: Adjust.
10751         * gdb.mi/mi-simplerun.exp: Adjust.
10752         * gdb.mi/mi2-simplerun.exp: Adjust.
10753         * gdb.mi/mi-syn-frame.exp: Adjust.
10754         * gdb.mi/mi2-syn-frame.exp: Adjust.
10755         * gdb.mi/mi-until.exp: Adjust.
10756         * gdb.mi/mi2-until.exp: Adjust.
10757         * gdb.mi/mi-var-display.exp: Adjust.
10758         * gdb.mi/mi2-var-display.exp: Adjust.
10759         * gdb.mi/mi-watch.exp: Adjust.
10760         * gdb.mi/mi2-watch.exp: Adjust.
10761
10762 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
10763
10764         * aclocal.m4: Add override.m4.
10765         * configure: Regenerate.
10766
10767 2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
10768
10769         * gdb.mi/var-cmd.c (do_at_tests): Verify that
10770         '-var-update --all-values' reports new value even the type
10771         of a variable object has changed.
10772
10773 2008-04-18  Craig Silverstein  <csilvers@google.com>
10774
10775         * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10776         files.
10777
10778 2008-04-18  Joel Brobecker  <brobecker@adacore.com>
10779
10780         * gdb.ada/atomic_enum: New test program.
10781         * gdb.ada/atomic_enum.exp: New testcase.
10782
10783 2008-04-17  Doug Evans  <dje@google.com>
10784
10785         * gdb.opt/Makefile.in: Fix whitespace.
10786
10787 2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
10788
10789         * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10790
10791 2008-04-17  Doug Evans  <dje@google.com>
10792
10793         * gdb.base/hashline1.exp: New testcase.
10794         * gdb.base/hashline2.exp: New testcase.
10795         * gdb.base/hashline2.exp: New testcase.
10796
10797 2008-04-17  Pedro Alves  <pedro@codesourcery.com>
10798
10799         * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10800
10801 2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
10802
10803         * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10804         temporary breakpoint to match "Temporary breakpoint".
10805         * gdb.base/break.exp (delete_breakpoints): Likewise.
10806         * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10807         * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10808         * gdb.base/display.exp: Likewise.
10809         * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10810         * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10811         * gdb.base/restore.exp (restore_tests): Likewise.
10812         * gdb.base/sepdebug.exp: Likewise.
10813         * gdb.base/watchpoint.exp: Likewise.
10814         * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10815         * gdb.mi/mi-pending.exp: Likewise.
10816         * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10817         * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10818         * gdb.mi/mi-var-cmd.exp: Likewise.
10819         * gdb.mi/mi-var-display.exp: Likewise.
10820         * gdb.mi/mi2-cli.exp: Likewise.
10821         * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10822         * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10823         * gdb.mi/mi2-var-display.exp: Likewise.
10824         * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10825         * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10826         new "disp" field.
10827         (mi_expect_stop): Move after_reason argument to be really after
10828         reason. This is to support fix for PR2424.
10829
10830 2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
10831
10832         * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10833
10834 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
10835
10836         * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
10837         field.  Add more floating varobj tests.
10838         * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
10839         field.
10840         * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10841         (main): Call do_at_tests.
10842         * lib/mi-support.exp (mi_create_floating_varobj)
10843         (mi_varobj_update_with_type_change): New.
10844
10845 2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
10846
10847         * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10848         option of -var-evaluate-expression.
10849         * gdb.mi/mi2-var-display.exp: Likewise.
10850
10851 2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
10852
10853         Introduce test setup helpers.
10854         * lib/gdb.exp (build_executable, clean_restart)
10855         (prepare_for_testing): New.
10856         * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10857         * gdb.base/return.exp: Likewise.
10858         * gdb.base/ending-run.exp: Likewise.
10859
10860 2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
10861
10862         * gdb.mi/mi-async.exp: New test for asynchronous Machine
10863         Interface (MI) responses.
10864
10865 2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
10866
10867         * gdb.cp/breakpoint.cc: New code to test conditions involving
10868         member variables.
10869         * gdb.cp/breakpoint.exp: Test condition involving member
10870         variables.
10871
10872 2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
10873
10874         * lib/mi-support.exp (mi_expect_stop): New.
10875         (mi_run_cmd): Change the
10876         token.  Use mi_send_resuming_command, use
10877         mi_expect_stop.
10878         (mi_execute_to_helper): Rename to mi_execute_to.
10879         (mi_send_resuming_command): Add more error patterns.
10880         (mi_wait_for_stop): Renamed to...
10881         (mi_get_stop_line): ...this.
10882         (mi_run_inline_test): Adjust.
10883
10884         * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10885         * gdb.mi/mi-console.exp: Likewise.
10886         * gdb.mi/mi-pending.exp: Likewise.
10887         * gdb.mi/mi-simplerun.exp: Likewise.
10888         * gdb.mi/mi-stack.exp: Likewise.
10889         * gdb.mi/mi-stepi.exp: Likewise.
10890         * gdb.mi/mi-syn-frame.exp: Add comment.
10891         * gdb.mi/mi-until.exp: Likewise.
10892         * gdb.mi/mi-var-display.exp: Likewise.
10893         * gdb.mi/mi-watch.exp: Likewise.
10894         * gdb.mi/mi2-cli.exp: Likewise.
10895         * gdb.mi/mi2-console.exp: Likewise.
10896         * gdb.mi/mi2-simplerun.exp: Likewise.
10897         * gdb.mi/mi2-stack.exp: Likewise.
10898         * gdb.mi/mi2-stepi.exp: Likewise.
10899         * gdb.mi/mi2-until.exp: Likewise.
10900         * gdb.mi/mi2-var-display.exp: Likewise.
10901         * gdb.mi/mi2-watch.exp: Likewise.
10902
10903 2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10904
10905         * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10906
10907         * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10908
10909 2008-04-04  Pedro Alves  <pedro@codesourcery.com>
10910
10911         * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10912         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10913         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10914         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10915         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10916         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10917         expect an mi error duplicated in stderr.
10918
10919 2008-04-03  Joel Brobecker  <brobecker@adacore.com>
10920
10921         * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10922         * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10923         Add a couple of tests that verify the behavior when the new setting
10924         is set to "cancel" and "all".
10925         * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10926         "ask" before we start the testing.
10927
10928 2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
10929
10930         * gdb.cp/casts.cc: Add class reference variables.
10931         * gdb.cp/casts.exp: New test cases for up/down casting references.
10932
10933 2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
10934
10935         * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10936         instead of beginning to make an extra test pass.
10937         * gdb.mi/mi2-var-display.exp: Likewise.
10938
10939 2008-03-31  Maciej W. Rozycki  <macro@mips.com>
10940
10941         * gdb.base/break.exp: Mark failures as such.  Fix formatting.
10942
10943 2008-03-31  Markus Deuling  <deuling@de.ibm.com>
10944             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10945
10946         * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10947         value.  Add xfail for older kernels.
10948
10949 2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
10950
10951         Bring mi-support in line with gdb.exp.
10952         * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10953         (mi_gdb_start): New function.
10954
10955 2008-03-28  Maciej W. Rozycki  <macro@mips.com>
10956
10957         * gdb.mi/mi-var-cmd.exp: Fix a typo.
10958
10959 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
10960
10961         * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10962         * gdb.mi/mi2-var-display.exp: Likewise.
10963
10964 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
10965
10966         * lib/mi-support.exp (mi_create_varobj_checked): New.
10967         (mi_list_varobj_children): Allow to check for a
10968         value.
10969         (mi_list_array_varobj_children): New.
10970
10971         * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10972         and mi_list_varobj_children, as opposed to hardcoding
10973         expected strings.
10974         * gdb.mi/gdb701.exp: Likewise.
10975         * gdb.mi/gdb792.exp: Likewise.
10976         * gdb.mi/mi-var-block.exp: Likewise.
10977         * gdb.mi/mi-var-cmd.exp: Likewise.
10978         * gdb.mi/mi-var-invalidate.exp: Likewise.
10979         * gdb.mi/mi2-var-block.exp: Likewise.
10980         * gdb.mi/mi2-var-child.exp: Likewise.
10981         * gdb.mi/mi2-var-cmd.exp: Likewise.
10982         * gdb.mi/mi2-var-display.exp: Likewise.
10983
10984 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
10985
10986         Fix random false FAILs on i386.
10987         * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10988
10989 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
10990
10991         PR gdb/544
10992         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10993
10994 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
10995
10996         PR gdb/544
10997         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10998
10999 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
11000
11001         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
11002         fixed PR gdb/544.
11003
11004 2008-03-21  Pedro Alves  <pedro@codesourcery.com>
11005
11006         * gdb.threads/fork-child-threads.exp: Test next over fork.
11007
11008 2008-03-21  Chris Demetriou  <cgd@google.com>
11009
11010         * gdb.base/break.exp (rbreak junk): New test for rbreak
11011         "Junk at end of arguments" issue.
11012
11013 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
11014
11015         * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
11016         *& to work on created array elements.
11017         (Top level): Test print $pc with a file.  Test string operations
11018         without a target.
11019         * gdb.base/ptype.exp: Do not expect *& to work on created array
11020         elements.
11021
11022 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
11023
11024         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
11025         gdb.threads/staticthreads.exp: Update exit query.
11026
11027 2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
11028
11029         * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
11030
11031 2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
11032
11033         * gdb.base/watchpoint.c (global_ptr, func4): New.
11034         (main): Call func4.
11035         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
11036         (test_inaccessible_watchpoint): New.
11037
11038 2008-02-29  Maciej W. Rozycki  <macro@mips.com>
11039
11040         * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
11041         select the largest.
11042
11043 2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
11044
11045         * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
11046         frames-invalid annotations.
11047
11048 2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
11049
11050         * gdb.base/assign.exp: avoid same output for different tests.
11051
11052 2008-02-27  Doug Evans  <dje@google.com>
11053
11054         * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
11055         for bug 1738.
11056         (breakpoint_to_handler_entry): Ditto.
11057
11058 2008-02-27  Joel Brobecker  <brobecker@adacore.com>
11059
11060         * gdb.base/ending-run.exp: Use the first line of code inside
11061         function body to test breakpoints.
11062         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
11063         location where the breakpoint is inserted when using the line
11064         where a function is declared. Fix typo in the description of
11065         one of the tests.
11066         * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
11067
11068 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
11069
11070         * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
11071         tests.
11072
11073 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
11074
11075         * gdb.base/args.exp: avoid same output for tests
11076         with single quotes.
11077
11078 2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
11079
11080         * gdb.base/annota1.exp: Adjust for 'info break'
11081         format changes.
11082         * gdb.base/annota3.exp: Likewise.
11083         * gdb.base/break.exp: Likewise.
11084         * gdb.base/condbreak.exp: Likewise.
11085         * gdb.base/pending.exp: Likewise.
11086         * gdb.base/sepdebug.exp: Likewise.
11087         * gdb.base/unload.exp: Likewise.
11088         * gdb.cp/ovldbreak.exp: Likewise.
11089         * gdb.mi/mi-pending.exp: Likewise.
11090
11091 2008-02-07  Doug Evans  <dje@google.com>
11092
11093         * gdb.cp/mb-inline.exp: New.
11094         * gdb.cp/mb-inline.h: New.
11095         * gdb.cp/mb-inline1.cc: New.
11096         * gdb.cp/mb-inline2.cc: New.
11097
11098 2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
11099
11100         * gdb.pascal/floats.pas: New test program.
11101         * gdb.pascal/floats.exp: New testcase.
11102
11103 2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
11104
11105         * gdb.base/callfuncs.c (t_float_many_args): New function.
11106         (t_double_many_args): New function.
11107         * gdb.base/callfuncs.exp: Add tests for exceeding float
11108         and double parameters passed through the stack.
11109
11110 2008-02-05  Joel Brobecker  <brobecker@adacore.com>
11111
11112         * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
11113         gdb.ada/complete/foo.adb: New files.
11114         * gdb.ada/complete.exp: New testcase.
11115
11116 2008-02-03  Doug Evans  <dje@google.com>
11117
11118         * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
11119
11120         * gdb.cp/gdb2384.exp: New file.
11121         * gdb.cp/gdb2384.cc: New file.
11122         * gdb.cp/gdb2384-base.h: New file.
11123         * gdb.cp/gdb2384-base.cc: New file.
11124
11125 2008-02-02  Doug Evans  <dje@google.com>
11126
11127         * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
11128
11129 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
11130
11131         * gdb.ada/sym_print_name: New test program.
11132         * gdb.ada/sym_print_name.exp: New testcase.
11133
11134 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
11135
11136         * gdb.ada/nested/hello.adb: New file.
11137         * gdb.ada/nested.exp: New testcase.
11138         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11139
11140 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
11141
11142         * gdb.mi/basic.c (return_1): New function.
11143         * gdb.mi/mi-break.exp: Make sure that failed -break-insert
11144         don't cause future evaluations of function to report
11145         creation of internal breakpoints.
11146
11147 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
11148
11149         * gdb.mi/mi-break.exp (test_error): New.
11150         Call it.
11151
11152 2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
11153
11154         * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
11155         * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
11156
11157 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
11158
11159         * gdb.pascal/integers.pas: New test program.
11160         * gdb.pascal/integers.exp: New testcase.
11161
11162 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
11163
11164         * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
11165
11166 2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
11167
11168         * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
11169         * gdb.arch/powerpc-d128-regs.c: New testcase source file.
11170
11171 2008-01-30  Paul Hilfinger  <hilfinger@adacore.com>
11172
11173         * gdb.ada/formatted_ref: New test program.
11174         * gdb.ada/formatted_ref.exp: New testcase.
11175
11176         * gdb.cp/formatted-ref.cc: New file.
11177         * gdb.cp/formatted-ref.exp: New testcase.
11178
11179 2008-01-30  Joel Brobecker  <brobecker@adacore.com>
11180
11181         * gdb.base/ptype.exp: Add testing of "ptype $pc".
11182
11183 2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
11184
11185         * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
11186         (test_file_list_exec_source_file): Update to new macro-info field.
11187
11188 2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
11189
11190         * gdb.ada/exprs: New test program.
11191         * gdb.ada/exprs.exp: New testcase.
11192
11193 2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
11194
11195         * dfp-test.c (DELTA, DELTA_B): New definitions.
11196         (double_val1, double_val2, double_val3, double_val4, double_val5,
11197         double_val6, double_val7, double_val8, double_val9, double_val10,
11198         double_val11, double_val12, double_val13, double_val14, dec32_val1,
11199         dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
11200         dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
11201         dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
11202         dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
11203         dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
11204         dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
11205         dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
11206         dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
11207         dec128_val12, dec128_val13, dec128_val14, dec128_val15,
11208         dec128_val16): New global variables.
11209         (decimal_dec128_align): New function.
11210         (decimal_mixed): Likewise.
11211         (decimal_many_args_dec32): Likewise.
11212         (decimal_many_args_dec64): Likewise.
11213         (decimal_many_args_dec128): Likewise.
11214         (decimal_many_args_mixed): Likewise.
11215         * dfp-test.exp: Add tests calling new inferior functions.
11216
11217 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
11218
11219         * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
11220         gdb.server/ext-run.exp: New files.
11221         * lib/gdbserver-support.exp (gdbserver_download): New.
11222         (gdbserver_start): New.  Update gdbserver expected
11223         output.
11224         (gdbserver_spawn): Use them.
11225         (gdbserver_start_extended): New.
11226
11227 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
11228
11229         * gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
11230         Run on GNU/Linux.
11231         (do_exec_tests): Check for systems which do not support catchpoints.
11232         Do not match START.
11233         * gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
11234         Run on GNU/Linux.  Enable verbose output.
11235         (check_fork_catchpoints): New.
11236         (explicit_fork_child_follow, catch_fork_child_follow)
11237         (tcatch_fork_parent_follow): Update expected messages.
11238         (do_fork_tests): Use check_fork_catchpoints.
11239         * gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
11240         Run on GNU/Linux.  Enable verbose output.
11241         (check_vfork_catchpoints): New.
11242         (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
11243         expected messages.
11244         (do_vfork_and_exec_tests): Use check_fork_catchpoints.
11245
11246 2008-01-29  Jim Blandy  <jimb@red-bean.com>
11247
11248         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
11249         host' errors.
11250         * lib/mi-support.exp (mi_gdb_target_cmd): Same.
11251
11252 2008-01-29  Jim Blandy  <jimb@red-bean.com>
11253
11254         * gdb.threads/sigthread.c: Use barriers to ensure that
11255         child_thread and child_thread_two are always initialized before we
11256         start to use them.
11257
11258 2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
11259
11260         * gdb.base/watchpoint-solib.exp: New.
11261         * gdb.base/watchpoint-solib.c: New.
11262         * gdb.base/watchpoint-solib-shr.c: New.
11263
11264 2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
11265
11266         * gdb.base/gdb1056.exp: Add unsigned integer test.
11267
11268 2008-01-28  Doug Evans  <dje@google.com>
11269
11270         * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
11271
11272 2008-01-27  Jim Blandy  <jimb@codesourcery.com>
11273
11274         * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
11275
11276         * gdb.base/expand-psymtabs.exp: Doc fix.
11277
11278 2008-01-26  Mark Kettenis  <kettenis@gnu.org>
11279
11280         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11281
11282 2008-01-24  Nick Roberts  <nickrob@snap.net.nz>
11283
11284         * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
11285         -var-set-format.
11286
11287 2008-01-23  Chris Demetriou  <cgd@google.com>
11288
11289         * gdb.threads/thread_events.c: New testcase source file.
11290         * gdb.threads/thread_events.exp: New testcase expect file.
11291
11292 2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
11293
11294         * lib/gdb.exp: Add the variable octal.
11295
11296         * gdb.mi/mi-var-display.exp: Add value field to tests for output of
11297         -var-set-format.
11298
11299 2008-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
11300             Vladimir Prus  <vladimir@codesourcery.com>
11301
11302         * gdb.base/float.exp: Allow missing floating point for m68k and
11303         PowerPC.
11304
11305 2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
11306
11307         * gdb.mi/basics.c: Setup for testing breakpoints
11308         ignore count.
11309         * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
11310         * gdb.mi/mi-cli.exp: Adjust.
11311         * gdb.mi/mi2-cli.exp: Adjust.
11312
11313 2008-01-17  Pedro Alves  <pedro@codesourcery.com>
11314
11315         * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
11316         and 'dummy_ptr' integer pointer.  Initialize struct_declarations
11317         with dummy_ptr's address.
11318         * gdb.mi/var-cmd.c (do_children_tests): Likewise.
11319         * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
11320         all targets.
11321         * gdb.mi/mi2-var-child.exp: Likewise.
11322
11323 2008-01-09  Joel Brobecker  <brobecker@adacore.com>
11324
11325         * gdb.ada/null_array: New test program.
11326         * gdb.ada/null_array.exp: New testcase.
11327
11328 2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
11329
11330         * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
11331         with required float modifiers.
11332
11333 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
11334
11335         * gdb.ada/funcall_param: New test program.
11336         * gdb.ada/funcall_param.exp: New testcase.
11337
11338 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
11339
11340         * gdb.ada/arrayparam: New test program.
11341         * gdb.ada/arrayparam.exp: New testcase.
11342
11343 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
11344
11345         * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
11346         landed.  Should also fix random failures in the test following it.
11347
11348 2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
11349
11350         * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
11351         for expressions with decimal float values.
11352         (test_dfp_conversions): New function to test casts to and from
11353         decimal float types.
11354         Call test_dfp_conversions.
11355         * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
11356         elements.
11357         (main): Initialize ds.float4 and ds.double8 elements.
11358         * gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
11359         string to new error message.
11360         (d64_set_tests): Likewise.
11361         (d128_set_tests): Likewise.
11362         Add tests for expressions with decimal float variables.  Add tests for
11363         conversions to and from decimal float types.
11364
11365 2008-01-05  Joel Brobecker  <brobecker@adacore.com>
11366
11367         * gdb.ada/packed_tagged/comp_bug.adb: New file.
11368         * gdb.ada/packed_tagged.exp: New testcase.
11369
11370 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
11371
11372         * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
11373         gdb.ada/homonym/homonym_main.adb: New files.
11374         * gdb.ada/homonym.exp: New testcase.
11375
11376 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
11377
11378         * gdb.ada/packed_array.exp: Add testing of references to
11379         a packed array.
11380
11381 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
11382
11383         * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
11384         New files.
11385         * gdb.ada/type_coercion.exp: New testcase.
11386
11387 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
11388
11389         * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
11390         gdb.ada/tagged/foo.adb: New file.
11391         * gdb.ada/tagged.exp: New testcase.
11392
11393 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
11394
11395         * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
11396         gdb.ada/ptype_field/foo.adb: New files.
11397         * gdb.ada/ptype_field.exp: New testcase.
11398
11399 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
11400
11401         * gdb.ada/print_pc.exp: New testcase.
11402
11403 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
11404
11405         * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
11406         gdb.ada/taft_type/p.adb: New files.
11407         * gdb.ada/taft_type.exp: New testcase.
11408
11409 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
11410
11411         * gdb.ada/array_bounds/bar.adb: New file.
11412         * gdb.ada/array_bounds.exp: New testcase.
11413
11414 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
11415
11416         * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
11417         gdb.ada/arrayptr/foo.adb: New files.
11418         * gdb.ada/arrayptr.exp: New testcase.
11419
11420 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
11421
11422         * gdb.base/set-lang-auto.exp: New testcase.
11423
11424 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
11425
11426         * gdb.ada/fun_addr/foo.adb: New file.
11427         * gdb.ada/fun_addr.exp: New testcase.
11428
11429 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11430
11431         * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
11432         New files
11433
11434 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
11435
11436         * array_subscript_addr/p.adb: New file.
11437         * array_subscript_addr.exp: New testcase.
11438
11439 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
11440
11441         * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
11442         New files.
11443         * gdb.ada/str_cmp_ref.exp: New testcase.
11444
11445 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
11446
11447         * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
11448         gdb.ada/fun_in_declare/foo.adb: New files.
11449         * gdb.ada/fun_in_declare.exp: New testcase.
11450
11451 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
11452
11453         * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
11454         gdb.ada/ref_param/pck.ads: New files.
11455         * gdb.ada/ref_param.exp: New testcase.
11456
11457 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
11458
11459         * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
11460         gdb.ada/interface/foo.adb: New files.
11461         * gdb.ada/interface.exp: New testcase.
11462
11463 2007-12-31  Jim Blandy  <jimb@codesourcery.com>
11464
11465         * gdb.base/multi-forks.exp: Consume all output from child
11466         processes before proceeding to next test.
11467
11468 2007-12-29  Jim Blandy  <jimb@codesourcery.com>
11469
11470         * configure: Regenerated.
11471
11472 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
11473
11474         * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
11475         gdb.ada/fixed_cmp/fixed.adb: New files.
11476         * gdb.ada/fixed_cmp.exp: New testcase.
11477
11478 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
11479
11480         * gdb.ada/boolean_expr.exp: New testcase.
11481
11482 2007-12-26  Jim Blandy  <jimb@codesourcery.com>
11483
11484         * gdb.base/multi-forks.exp: Doc fix.
11485
11486 2007-12-26  Joel Brobecker  <brobecker@adacore.com>
11487
11488         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11489         * gdb.ada/char_param.exp: Do not compile our test program with
11490         -gnata, this is unnecessary.
11491         * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
11492
11493 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
11494
11495         * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
11496         gdb.ada/print_chars/foo.adb: New files.
11497         * gdb.ada/print_chars.exp: New testcase.
11498
11499 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
11500
11501         * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
11502         gdb.ada/char_param/foo.adb: New files.
11503         * gdb.ada/char_param.exp: New testcase.
11504
11505 2007-12-22  Jim Blandy  <jimb@codesourcery.com>
11506
11507         * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
11508         hard-coding source line numbers into the test.
11509         * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
11510         gdb_get_line_number to find.
11511
11512 2007-12-22  Joel Brobecker  <brobecker@adacore.com>
11513
11514         * gdb.base/ptype.c (highest): New struct type.
11515         (the_highest): New variable of that type.
11516         (main): Add dummy assignment to a field of variable the_highest.
11517         * gdb.base/ptype.exp: Test type printing of our new variable.
11518
11519 2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>
11520
11521         * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
11522         and record first explicitly generated thread number.
11523         Use that thread number for thread specific watchpoint test.
11524         Add iteration number to repetitive tests.
11525
11526 2007-12-16  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11527             Jim Blandy  <jimb@codesourcery.com>
11528
11529         * gdb.base/expand-psymtabs.c: New testcase
11530         source file.
11531         * gdb.base/expand-psymtabs.exp: New testcase
11532         expect file.
11533
11534 2007-12-17  Luis Machado  <luisgpm@br.ibm.com>
11535
11536         * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
11537         * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
11538
11539 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
11540
11541         * gdb.ada/frame_args/foo.adb: New file.
11542         * gdb.ada/frame_args/pck.ads: New file.
11543         * gdb.ada/frame_args/pck.adb: New file.
11544         * gdb.ada/frame_args.exp: New testcase.
11545
11546 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
11547
11548         * gdb.base/frame-args.c: New file.
11549         * gdb.base/frame-args.exp: New testcase.
11550
11551 2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
11552             Joseph Myers  <joseph@codesourcery.com>
11553
11554         * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
11555
11556 2007-12-14  Vladimir Prus  <vladimir@codesourcery.com>
11557
11558         * gdb.mi/mi-pending.exp: New.
11559         * gdb.mi/mi-pending.c: New.
11560         * gdb.mi/mi-pendshr.c: New.
11561
11562 2007-12-06  Jim Blandy  <jimb@codesourcery.com>
11563
11564         * gdb.base/default.exp: Update expected output for 'info catch'.
11565
11566 2007-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
11567
11568         * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11569         must be set to binary.
11570
11571 2007-12-09  Pedro Alves  <pedro_alves@portugalmail.pt>
11572
11573         * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11574
11575 2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
11576
11577         * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11578         gdb.mi/mi-file-transfer.exp: New.
11579
11580 2007-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
11581
11582         * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11583
11584 2007-11-22  Maciej W. Rozycki  <macro@mips.com>
11585
11586         * gdb.trace/backtrace.exp: Fix a typo.
11587         * gdb.trace/circ.exp: Likewise.
11588         * gdb.trace/collection.exp: Likewise.
11589         * gdb.trace/limits.exp: Likewise.
11590         * gdb.trace/report.exp: Likewise.
11591         * gdb.trace/tfind.exp: Likewise.
11592         * gdb.trace/while-dyn.exp: Likewise.
11593
11594 2007-11-21  Nick Roberts  <nickrob@snap.net.nz>
11595
11596         * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11597         objects of pointers that can't be dereferenced are now
11598         "noneditable".
11599
11600 2007-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11601
11602         * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11603         (target_cpu): Remove.
11604
11605 2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
11606
11607         * gdb.base/ending-run.exp: Expect the list of cleared
11608         breakpoint to come in natural order, not the reversed one.
11609
11610 2007-11-07  Vladimir Prus  <vladimir@codesourcery.com>
11611
11612         * gdb.mi/mi-var-child.c (do_child_deletion): New.
11613         * gdb.mi/mi-var-child.exp: Run child_deletion tests.
11614
11615 2007-11-05  Luis Machado  <luisgpm@br.ibm.com>
11616
11617         * gdb.base/printcmds.exp: New function
11618         test_printf_with_dfp.
11619
11620 2007-11-02  Doug Evans  <dje@google.com>
11621
11622         * gdb.disasm/t01_mov.s: Remove carriage returns.
11623         * gdb.disasm/t02_mova.s: Ditto.
11624         * gdb.disasm/t03_add.s: Ditto.
11625         * gdb.disasm/t04_sub.s: Ditto.
11626         * gdb.disasm/t05_cmp.s: Ditto.
11627         * gdb.disasm/t06_ari2.s: Ditto.
11628         * gdb.disasm/t07_ari3.s: Ditto.
11629         * gdb.disasm/t08_or.s: Ditto.
11630         * gdb.disasm/t09_xor.s: Ditto.
11631         * gdb.disasm/t10_and.s: Ditto.
11632         * gdb.disasm/t11_logs.s: Ditto.
11633         * gdb.disasm/t12_bit.s: Ditto.
11634         * gdb.disasm/t13_otr.s: Ditto.
11635
11636 2007-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
11637
11638         * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11639
11640 2007-10-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11641
11642         * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11643         provide DFP support.
11644
11645 2007-10-30  Daniel Jacobowitz  <dan@codesourcery.com>
11646
11647         * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11648         Test "set powerpc vector-abi".  Skip auto-detection tests for old
11649         toolchains.
11650
11651 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
11652
11653         * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11654         with [string compare].
11655
11656 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
11657
11658         * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11659         * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11660
11661 2007-10-25  Luis Machado  <luisgpm@br.ibm.com>
11662
11663         * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11664         * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11665         * gdb.opt/Makefile.in: New makefile.
11666         * Makefile.in: Create new directory "gdb.opt".
11667         * configure.ac: Add "gdb.opt" directory.
11668         * configure: Regenerated.
11669
11670 2007-10-25  Doug Evans  <dje@google.com>
11671
11672         * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11673         * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11674
11675 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
11676             Thiago Jung Bauermann  <bauerman@br.ibm.com>
11677
11678         * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11679         Floating Point expressions.
11680         * gdb.base/dfp-test.exp: new file adding tests for Decimal
11681         Floating Point variables.
11682         * gdb.base/dfp-test.c: new file containing program with Decimal
11683         Floating variables, used by gdb.base/dfp-test.exp.
11684
11685 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
11686
11687         * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11688
11689 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11690
11691         * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11692         compiling test case with GCC.
11693         * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11694
11695 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11696
11697         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11698         format changes.
11699
11700 2007-10-18  Michael Snyder  <msnyder@specifix.com>
11701
11702         * gdb.base/dbx.exp: Add missing "-re " operator.
11703
11704 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
11705
11706         * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11707         * configure.ac: Removed trailing spaces after backslash.
11708         * gdb.modula2: New directory.
11709         * gdb.modula2/Makefile.in: New file.
11710         * gdb.modula2/unbounded-array.exp: New file.
11711         * gdb.modula2/unbounded1.c: New file.
11712
11713 2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
11714
11715         * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11716
11717 2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
11718
11719         * gdb.base/sigstep.c (main): Add checks for
11720         return values for setitimer call.
11721         Call setitimer again with itimer = ITIMER_REAL
11722         if first call to setitimer fails.
11723
11724 2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
11725
11726         * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11727         of $timeout.
11728
11729 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
11730
11731         * gdb.server/server-run.exp: Test for dynamic linker symbols.
11732
11733 2007-10-09  Pierre Muller  <muller@ics.u-strasbg.fr>
11734
11735         * lib/gdb.exp (gdb_run_cmd): Move comment outside
11736         of gdb_expect call, to avoid interruption.
11737
11738 2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>
11739
11740         * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11741         (v_unsigned_long_long, v_long_long_array)
11742         (v_signed_long_long_array, v_unsigned_long_long_array)
11743         (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11744         (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11745         [!NO_LONG_LONG]: New.
11746         (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11747         v_long_long_member.
11748
11749         (v_long_long_func, v_signed_long_long_func)
11750         (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11751         (main) [!NO_LONG_LONG]: Initialize long long variants.
11752
11753         * gdb.base/whatis.exp: If board file requests no_long_long, build
11754         test with NO_LONG_LONG defined.  Test long long, signed long long,
11755         and unsigned long long variants but only if board file doesn't
11756         disable it.
11757
11758 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
11759             Daniel Jacobowitz  <dan@codesourcery.com>
11760
11761         * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11762         * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11763         * configure: Regenerated.
11764         * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11765         gdb.pascal/types.exp, lib/pascal.exp: New files.
11766
11767 2007-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
11768
11769         * gdb.cp/classes.exp (do_tests): Always step to the line after the
11770         call.
11771         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11772         to return to the call.
11773         * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11774         * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11775         * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11776         * gdb.mi/mi-until.exp (test_until): Likewise.
11777         * gdb.mi/mi2-until.exp (test_until): Likewise.
11778
11779 2007-10-01  Daniel Jacobowitz  <dan@codesourcery.com>
11780
11781         * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11782         two-char array.
11783         * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11784
11785 2007-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
11786
11787         * gdb.threads/watchthreads.c (thread_function): Sleep between
11788         iterations.
11789         * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11790         at once for S/390.  Generate matching fails and passes.
11791
11792 2007-09-27  Vladimir Prus  <vladimir@codesourcery.com>
11793
11794         * gdb.mi/var-cmd.c (do_children_tests): Initialize
11795         the 'struct_declarations' variable to zeros.
11796
11797 2007-09-24  Vladimir Prus  <vladimir@codesourcery.com>
11798
11799         * gdb.cp/mb-ctor.cc: New.
11800         * gdb.cp/mb-ctor.exp: New.
11801         * gdb.cp/mb-templates.cc: New.
11802         * gdb.cp/mb-templates.exp: New.
11803
11804 2007-09-23  Daniel Jacobowitz  <dan@codesourcery.com>
11805
11806         * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11807
11808 2007-09-23  Pedro Alves  <pedro_alves@portugalmail.pt>
11809
11810         * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11811         targets.
11812         * configure: Regenerate.
11813
11814 2007-09-23  Vladimir Prus  <vladimir@codesourcery.com>
11815
11816         * gdb.base/annota1.exp: Adjust for 'info break'
11817         format changes.
11818         * gdb.base/annota3.exp: Likewise.
11819         * gdb.base/break.exp: Likewise.
11820         * gdb.base/condbreak.exp: Likewise.
11821         * gdb.base/pending.exp: Likewise.
11822         * gdb.base/sepdebug.exp: Likewise.
11823         * gdb.base/unload.exp: Likewise.
11824         * gdb.base/ovldbreak.exp: Likewise.
11825
11826 2007-09-22  Vladimir Prus  <vladimir@codesourcery.com>
11827
11828         * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11829         messages.
11830         * gdb.base/chng-syms.exp: Likewise.
11831         * gdb.base/unload.exp: Likewise.
11832
11833 2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
11834
11835         * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11836
11837 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
11838
11839         * schedlock.c (NUM): Change to 1.
11840         (main): Use args[0] for the main thread.
11841         * schedlock.exp: Only expect two threads.  Only issue one pass or fail
11842         regardless of the number of threads.
11843
11844 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
11845
11846         * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11847         type down.
11848         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11849         test.
11850         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11851         watchpoint type down.
11852         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11853         test.
11854
11855 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
11856
11857         * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11858         Move all the tests here and run them twice, once using software
11859         watchpoints and once using hardware watchpoints.
11860         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11861
11862 2007-09-12  Daniel Jacobowitz  <dan@codesourcery.com>
11863
11864         * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11865         test.
11866
11867 2007-09-10  Mark Kettenis  <kettenis@gnu.org>
11868
11869         * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11870         build-id.
11871
11872         * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11873         know about $ORIGIN.  Calculate output dir from $dest instead of
11874         using ${objdir}/{$subdir}.
11875
11876 2007-09-09  Mark Kettenis  <kettenis@gnu.org>
11877
11878         * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11879         gcore, before continuing with the test.
11880
11881 2007-09-06  Daniel Jacobowitz  <dan@codesourcery.com>
11882
11883         * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11884         * gdb.mi/mi-watch.exp: Likewise.
11885
11886 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
11887             Jim Blandy  <jimb@codesourcery.com>
11888
11889         * gdb.arch/i386-sse.exp: Do not expect character constants.
11890         * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11891         * gdb.base/display.exp: Allow print/s.
11892         * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11893         and unsigned char array changes.
11894
11895 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
11896
11897         * gdb.base/display.exp: Add tests for printf %p.
11898
11899 2007-09-03  Pedro Alves  <pedro_alves@portugalmail.pt>
11900
11901         * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11902         the dll name to unicode.
11903
11904 2007-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
11905
11906         * gdb.base/default.exp (show version): Update the version text.
11907         * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11908
11909 2007-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11910
11911         * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11912         New files.
11913
11914 2007-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
11915
11916         * lib/gdb.exp (build_id_debug_filename_get): New function.
11917         * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11918         Remove the generate DEBUG file for the future testcase runs.
11919         New testcase for the NT_GNU_BUILD_ID retrieval.
11920         Move the final testing step to ...
11921         (test_different_dir): ... a new function.
11922         New parameter XFAIL to XFAIL all the tests performed.
11923         New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11924         New parameter TYPE to PF_PREFIX all the tests performed.
11925
11926 2007-08-31  Vladimir Prus  <vladimir@codesourcery.com>
11927
11928         * gdb.mi/mi-var-cp.cc (path_expression): New
11929         function.
11930         * gdb.mi/mi-var-cp.exp: Run path exression tests.
11931
11932 2007-08-27  Markus Deuling  <deuling@de.ibm.com>
11933
11934         * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11935         to fit into SPU Local Store memory.
11936
11937 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
11938
11939         * gdb.base/default.exp: Adjust the expected output of "info
11940         warranty" after the switch to GPLv3.
11941
11942 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
11943
11944         * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11945         to 30000 (from 20000).
11946
11947 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
11948
11949         Switch the license of all .exp files to GPLv3.
11950         Switch the license of all .f and .f90 files to GPLv3.
11951         Switch the license of all .s and .S files to GPLv3.
11952
11953 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
11954
11955         * configure.ac: Switch license to GPLv3.
11956
11957 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
11958
11959         Switch the licensing to GPLv3 for all .ads and .adb files.
11960
11961 2007-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
11962
11963         * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11964         and t_int_double.
11965         * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11966
11967 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
11968
11969         * gdb.base/step-line.c: Switch license to GPL version 3, and
11970         update copyright year.
11971         * gdb.base/step-line.inp: Likewise.
11972
11973 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
11974
11975         * gdb.base/gdb1555.exp: Make expected output immune to formatting
11976         changes inside gdb1555.c.
11977         * gdb.base/pending.exp: Likewise.
11978
11979 2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>
11980
11981         * config/default.exp: New file.
11982
11983 2007-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
11984
11985         * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11986         * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11987
11988 2007-07-30  Maciej W. Rozycki  <macro@mips.com>
11989
11990         * gdb.base/dump.exp: Force the correct endianness for binary
11991         formats not carrying this information.
11992
11993 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
11994
11995         * gdb.threads/staticthreads.exp: Match .*sem_post.
11996
11997 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
11998
11999         * gdb.base/readline.exp (operate_and_get_next): Match the final
12000         prompt.
12001
12002 2007-07-23  Kevin Buettner  <kevinb@redhat.com>
12003
12004         * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
12005         to restarting SID.
12006
12007 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
12008
12009         * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
12010         prior to `gdb_start'.
12011
12012 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
12013
12014         * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
12015         return value to be compatible with gdb_run_cmd in lib/gdb.exp.
12016         Remove call to gdb_unload.
12017
12018 2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
12019             Daniel Jacobowitz  <dan@codesourcery.com>
12020
12021         * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
12022         for __WIN32__.
12023         (SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
12024         * gdb.base/unload.exp: Use shared library test routines.
12025
12026 2007-07-03  Markus Deuling  <deuling@de.ibm.com>
12027
12028         * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
12029         * gdb.base/solib-symbol-lib.c: Likewise.
12030         * gdb.base/solib-symbol-main.c: Likewise.
12031
12032 2007-07-02  Daniel Jacobowitz  <dan@codesourcery.com>
12033
12034         * config/gdbserver.exp (gdb_reconnect): New.
12035         * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
12036         gdb.base/solib-disc.exp: New files.
12037         * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
12038         remote debugging".
12039         (gdb_compile): Add shlib_load flag.
12040         * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
12041         port.
12042         (gdbserver_reconnect): New.
12043
12044 2007-07-01  Nick Roberts  <nickrob@snap.net.nz>
12045             Daniel Jacobowitz  <dan@codesourcery.com>
12046
12047         * gdb.base/annota3.exp: Test for if construct.
12048
12049 2007-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
12050
12051         * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
12052
12053 2007-06-21  Chris Dearman  <chris@mips.com>
12054             Maciej W. Rozycki  <macro@mips.com>
12055
12056         * gdb.base/display.exp: Allow a newline after display/i.
12057         * gdb.base/pc-fp.exp: Likewise.
12058         * gdb.base/sigbpt.exp: Likewise.
12059
12060 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
12061
12062         * gdb.xml/tdesc-regs.exp: Add MIPS support.  Allow multiple
12063         required features to be included.
12064
12065 2007-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
12066
12067         * gdb.threads/manythreads.exp: Prevent expect buffer overflow
12068         in info threads output.
12069
12070 2007-06-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12071             Markus Deuling  <deuling@de.ibm.com>
12072
12073         * gdb.arch/spu-info.exp: New testcase.
12074         * gdb.arch/spu-info.c: New file.
12075
12076 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
12077
12078         * gdb.arch/thumb-prologue.c: Record the breakpoint address in
12079         tpcs_offset.  Restore lr after the call.
12080         * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
12081
12082 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
12083
12084         * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
12085         (gdbserver_run): Kill any running gdbserver.
12086         * lib/mi-support.exp (mi_gdb_target_load): Likewise.
12087
12088 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
12089
12090         * gdb.base/sigbpt.exp: Preset segv_addr.
12091
12092 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
12093
12094         * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
12095         (gdb_compile_shlib): Likewise.
12096         (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
12097         (default_gdb_init): Clear cleanfiles.
12098         (gdb_finish): Delete recorded cleanfiles.
12099         * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
12100
12101         * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
12102         Do not use isnative.
12103         * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
12104         gdb.base/so-impl-ld.exp: Likewise.
12105         * gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
12106         * gdb.base/unload.exp: Likewise.  Do not pass empty option to
12107         gdb_compile.
12108
12109 2007-05-15  Vladimir Prus  <vladimir@codesourcery.com>
12110
12111         * config/unknown.exp: Remove.
12112
12113 2007-05-15  Markus Deuling  <deuling@de.ibm.com>
12114
12115         * gdb.base/info-proc.exp: Check is_remote.
12116
12117 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
12118
12119         * gdb.base/gcore.exp: Initialize variable core_supported.
12120
12121 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
12122
12123         * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
12124
12125 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
12126
12127         * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
12128         * gdb.threads/print-threads.exp (test_all_threads): Allow
12129         negative and hexadecimal thread IDs.
12130
12131 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
12132
12133         * gdb.java/jprint.java (public): Avoid invalid call to static
12134         method.
12135
12136 2007-05-14  Denis Pilat  <denis.pilat@st.com>
12137
12138         * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
12139         gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
12140         gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12141         gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
12142         gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
12143
12144 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12145
12146         * gdb.base/overlays.exp: Add support for targets with only code
12147         overlay support, not data overlay.  Support spu-*-* target in
12148         this mode.
12149         * gdb.base/ovlymgr.c: Provide stubs for spu target.
12150         * gdb.base/spu.ld: New file.
12151
12152 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
12153
12154         * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
12155
12156 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
12157
12158         * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
12159
12160 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
12161
12162         * gdb.java/jmain.exp: Handle demangled names with and without method
12163         signatures.
12164
12165 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
12166
12167         * gdb.mi/mi-syn-frame.c (main, foo, bar)
12168         (have_a_very_merry_interrupt): Remove calls to puts.
12169         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
12170         inferior output.
12171         * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
12172         test names.
12173
12174 2007-04-29  Markus Deuling  <deuling@de.ibm.com>
12175             Daniel Jacobowitz  <dan@codesourcery.com>
12176
12177         * gdb.base/auxv.exp (core_works): Also check is_remote.
12178         * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
12179
12180 2007-04-25  Vladimir Prus  <vladimir@codesourcery.com>
12181
12182         * gdb.base/sigaltstack.exp: Use 'srcfile' in error
12183         message, not the undefined 'module' variable.
12184         * gdb.base/siginfo.exp: Likewise.
12185         * gdb.base/sigstep.exp: Likewise.
12186         * lib/gdbserver-support.exp (gdb_target_cmd): Quote
12187         serialport.
12188         * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
12189
12190 2007-04-25  Corinna Vinschen <vinschen@redhat.com>
12191
12192         * config/sim.exp (gdb_target_sim): Just return with -1 when setting
12193         target sim fails.  Return 0 otherwise.
12194         (gdb_load): Return prematurely if gdb_target_sim fails.
12195
12196 2007-04-16  Denis Pilat  <denis.pilat@st.com>
12197
12198         * gdb.base/setshow.exp: Reset height after having set it to 100.
12199
12200 2007-04-16  Denis Pilat  <denis.pilat@st.com>
12201
12202         * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
12203
12204 2007-04-16  Denis Pilat  <denis.pilat@st.com>
12205
12206         * gdb.mi/mi2-var-display.exp: Test for the fullname field.
12207
12208 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
12209
12210         * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
12211         tests. Run the frozen varobjs test.
12212         * gdb.mi/var-cmd.c (do_frozen_tests): New.
12213         * lib/mi-support.exp (mi_varobj_update): Fix thinko.
12214
12215 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12216
12217         * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
12218         gdb.base/type-opaque.exp: New files.
12219
12220 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
12221
12222         * gdb.mi/mi-var-child.c
12223         (do_children_tests): User char[2] instead of
12224         char so that automatic printing of pointers to char
12225         don't give unpredicable result.
12226         * gdb.mi/var-cmd.c (do_locals_test): Initialize
12227         local variables.
12228         * gdb.mi/mi-var-child.exp: Step to right line
12229         of do_children_tests.
12230         * gdb.mi/mi2-var-child.exp: Likewise.
12231         * gdb.mi/mi-var-cmd.exp: Step to right line of
12232         do_locals_tests.
12233         (do_children_tests): User char[2] instead of
12234         char so that automatic printing of pointers to char
12235         don't give unpredicable result.
12236         * gdb.mi/mi2-var-cmd.exp: Likewise.
12237         * lib/mi-support.exp (mi_continue_to_line):
12238         Pass test name to mi_wait_for_stop.
12239
12240 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
12241
12242         * gdb.asm/asm-source.exp: Remove d10v case.
12243         * lib/gdb.exp (skip_cplus_tests): Likewise.
12244         * gdb.asm/d10v.inc: Deleted.
12245
12246 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
12247
12248         * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
12249
12250 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
12251
12252         * config/netware.exp: Delete file.
12253
12254 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
12255
12256         * gdb.dwarf2/dw2-noloc.S: New file.
12257         * gdb.dwarf2/dw2-noloc.exp: New file.
12258
12259 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
12260
12261         * gdb.cp/method2.cc: New test.
12262         * gdb.cp/method2.exp: New test.
12263         * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
12264
12265 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
12266
12267         * gdb.ada/exec_changed.exp: Avoid "set confirm off".
12268
12269 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
12270
12271         * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
12272
12273 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
12274
12275         * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
12276         (gdb_load): Delete, replace with...
12277         (gdb_reload): ...this.
12278         * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
12279         * gdb.server/server-mon.exp: Likewise.
12280         * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
12281         (gdb_start_cmd): New.
12282         (gdb_file_cmd): Save the last loaded file.
12283         (gdb_reload): New.
12284         (gdb_gnu_strip_debug): Use transform.
12285         * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
12286         support here.  Use new $last_loaded_file.  Check mtime.
12287         (gdb_target_cmd): Handle ObjC failure case.
12288         (infer_host_exec): Delete.
12289         (gdbserver_load): Rename to...
12290         (gdbserver_run): ...this.  Simplify.
12291         * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
12292         (mi_gdb_load): Move most contents to a new function...
12293         (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
12294         (mi_run_cmd): Use mi_gdb_target_load.
12295         * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
12296         gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
12297         Use gdb_run_cmd.
12298         * gdb.base/charsign.exp: Remove incorrect comment.
12299         * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
12300         * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
12301         gdb.base/start.exp: Use gdb_start_cmd.
12302
12303 2007-03-23  Nigel Stephens  <nigel@mips.com>
12304             Maciej W. Rozycki  <macro@mips.com>
12305
12306         * gdb.base/sigbpt.exp: Fix the message when skipping test.
12307         * gdb.base/signull.exp: Similarly.
12308
12309 2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12310
12311         * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
12312         messages available to test cases (like chng-sym.exp).
12313
12314 2007-03-14  Andreas Schwab  <schwab@suse.de>
12315
12316         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
12317         format changes.
12318
12319 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
12320
12321         * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
12322         (optimized_1): New.
12323         (main): Call optimized_1.
12324         (gdb2029): Correct typos.  Call gdb2029_marker.
12325         * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
12326         for gdb2029.
12327
12328 2007-03-12  Mark Kettenis  <kettenis@gnu.org>
12329
12330         * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
12331         as tabs.  Remove redundant test pattern.
12332
12333 2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12334
12335         * gdb.base/long_long.exp: Accept optional symbol name in <...>
12336         for /a format output.
12337
12338 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
12339
12340         * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
12341         collect output incrementally.
12342
12343 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12344
12345         * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
12346         for -var-create lpcharacter test.
12347         * gdb.mi/mi2-var-cmd.exp: Likewise.
12348
12349 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12350
12351         * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
12352         pass on targets where address zero is readable.
12353
12354 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12355
12356         * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
12357         just a single architecture.
12358
12359 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12360
12361         * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
12362         (fetch_all_registers): New function, uses gdb_test_multiple and
12363         exp_continue to fetch inferior output line-by-line.
12364         Replace all uses of do_get_all_registers by fetch_all_registers.
12365
12366 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12367
12368         * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
12369         in target_info.
12370
12371 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
12372
12373         * gdb.threads/manythreads.exp: Use $message string for
12374         consistancy; add a default (timeout) case.
12375
12376 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
12377
12378         * gdb.base/watchpoint.exp: Fix truncated comment.
12379
12380 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
12381
12382         * Makefile.in: Remove spurious single-quotes from sed command.
12383
12384 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
12385
12386         * gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
12387         func.
12388         * gdb.mi/mi2-var-cmd.exp: Likewise.
12389
12390 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
12391
12392         * gdb.dwarf2/dw2-producer.S: New file.
12393         * gdb.dwarf2/dw2-producer.exp: New testcase.
12394
12395 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
12396
12397         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12398         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12399         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12400         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12401         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
12402         Revert tests to use mi_gdb_test and include value field in output
12403         of -var-create.
12404
12405 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
12406
12407         * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
12408
12409 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
12410
12411         * gdb.base/maint.exp: Remove full paths from test names.
12412         * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
12413         gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
12414
12415 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
12416
12417         * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
12418
12419 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
12420
12421         * gdb.server/server-mon.exp: New test.
12422
12423 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
12424
12425         * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
12426
12427 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
12428
12429         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
12430         register capitalization.
12431
12432 2007-02-13  Denis Pilat  <denis.pilat@st.com>
12433
12434         * gdb.mi/mi-var-invalidate.exp: New file.
12435
12436 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
12437
12438         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
12439
12440 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
12441
12442         * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
12443
12444 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
12445
12446         * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
12447         gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
12448
12449 2007-02-08  Nick Roberts  <nickrob@snap.net.nz>
12450
12451         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12452         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12453         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12454         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12455         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
12456         * gdb.mi/gdb792.exp, lib/mi-support.exp:
12457         Update tests to include value field in output of -var-create.
12458
12459 2007-02-08  Andreas Schwab  <schwab@suse.de>
12460
12461         * gdb.mi/mi-var-child.exp: Fix matching display of function value.
12462
12463 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
12464
12465         * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
12466         gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
12467
12468 2007-02-02  Denis Pilat  <denis.pilat@st.com>
12469
12470         * gdb.threads/threadapply.exp: check that frame is not changed by
12471         the thread apply all command.
12472
12473 2007-01-31  Andreas Schwab  <schwab@suse.de>
12474
12475         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12476
12477         * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
12478         in the dwarf sections.
12479         * gdb.dwarf2/mac-fileno.S: Likewise.
12480
12481         * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
12482         bspstore register on ia64.
12483
12484 2007-01-29  Andreas Schwab  <schwab@suse.de>
12485
12486         * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
12487         "frame-begin" annotation.
12488
12489         * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
12490         number of "frames-invalid" annotations.
12491
12492 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
12493
12494         * gdb.base/commands.exp: Call if_commands_test.
12495         (gdb_test_no_prompt, if_commands_test): New.
12496
12497 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
12498
12499         * gdb.threads/sigthread.c (NSIGS): Make bigger.
12500
12501 2007-01-27  Andreas Schwab  <schwab@suse.de>
12502
12503         * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
12504         .short/.int/.quad in the dwarf sections.
12505         * gdb.dwarf2/dw2-intercu.S: Likewise.
12506         * gdb.dwarf2/dw2-intermix.S: Likewise.
12507
12508 2007-01-25  Jan Kratochvil <jan.kratochvil@redhat.com>
12509
12510         * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
12511         * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
12512         array.
12513         * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
12514         * gdb.base/setvar.exp: Likewise.
12515
12516 2007-01-26  Andreas Schwab  <schwab@suse.de>
12517
12518         * gdb.base/corefile.exp: Allow non-empty argument list in reinit
12519         test.
12520
12521         * gdb.base/multi-forks.exp ("restart $i"): Also match
12522         __kernel_syscall_via_break.
12523
12524 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
12525
12526         * lib/mi-support.exp (mi_delete_varobj): New.
12527         * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
12528         testcase.
12529         * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
12530         (main): Call the above.
12531         (reference_update_test, base_in_reference_test)
12532         (reference_to_pointer): Delete the created varobjs.
12533
12534 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
12535
12536         * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
12537         * configure: Regenerated.
12538         * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
12539         * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
12540         gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
12541         gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
12542         * lib/gdb.exp (gdb_skip_xml_test): New function.
12543
12544 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
12545
12546         * gdb.base/sigrepeat.exp: Correct error message.
12547
12548 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
12549             Daniel Jacobowitz  <dan@codesourcery.com>
12550
12551         * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
12552         gdb.arch/i386-gnu-cfi-asm.S: New files.
12553
12554 2007-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12555
12556         * lib/gdb.exp: Abort on missing `site.exp'.
12557
12558 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
12559             Daniel Jacobowitz  <dan@codesourcery.com>
12560
12561         * gdb.base/included.c, gdb.base/included.exp,
12562         gdb.base/included.h: New files.
12563
12564 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
12565
12566         * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12567         (maximize_rlimit): Reduce limits on 64-bit systems.
12568
12569 2007-01-19  Mark Kettenis  <kettenis@gnu.org>
12570
12571         From Marcus Deuling <deuling@de.ibm.com>:
12572         * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12573         every case.
12574
12575 2007-01-13  Nick Roberts  <nickrob@snap.net.nz>
12576
12577         * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12578         (test_path_specification): Use objdir instead of srcdir to always
12579         get an absolute filename.
12580
12581 2007-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
12582
12583         * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12584
12585 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
12586
12587         * gdb.mi/mi-var-cp.cc (reference_update_tests):
12588         Make sure the variable we're using is in scope.
12589         (reference_to_pointer): Likewise.
12590
12591 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
12592
12593         * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12594         has no debug information.
12595
12596 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
12597
12598         * gdb.base/annota1.exp: Remove extra send_gdb.
12599
12600 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
12601
12602         * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12603
12604 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
12605
12606         * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12607
12608 2007-01-08  Nick Roberts  <nickrob@snap.net.nz>
12609             Daniel Jacobowitz  <dan@codesourcery.com>
12610
12611         * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12612         lcharacter or linteger change.  Correct duplicated test name.
12613         * gdb.mi/mi2-var-cmd.exp: Likewise.
12614
12615 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
12616
12617         * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12618
12619 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
12620
12621         * gdb.base/nofield.c: New file.
12622         * gdb.base/nofield.exp: New testcase.
12623
12624 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
12625
12626         * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12627
12628         * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12629          test.
12630
12631 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12632
12633         * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12634
12635 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12636
12637         * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12638         when continuing.
12639
12640 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
12641
12642         * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12643         Expect ".exe" extension.
12644
12645 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
12646
12647         * gdb.base/charset.exp: Add explicit filename to break.
12648         * gdb.base/dbx.exp: Add explicit filename to breaks.
12649
12650 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
12651
12652         * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12653         * gdb.mi/mi2-file.exp: Likewise.
12654
12655 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
12656
12657         Implement specification of MI tests as comments
12658         in C and C++ sources.
12659         * lib/mi-support.exp (mi_autotest_data): New variable.
12660         (mi_autotest_source): New variable.
12661         (count_newlines, mi_prepare_inline_tests)
12662         (mi_get_inline_test, mi_continue_to_line)
12663         (mi_run_inline_test, mi_tbreak)
12664         (mi_send_resuming_command, mi_wait_for_stop): New functions.
12665         * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12666         Run inline tests.
12667         * gdb.mi/mi-var-cp.cc: Define tests here.
12668
12669 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
12670
12671         Simplify usage of mi_continue_to.
12672         * lib/mi-support.exp (mi_runto_helper): Renamed
12673         from mi_runto, added new parameter 'run_or_continue'.
12674         (mi_runto): Use mi_runto_helper.
12675         (mi_continue_to): Accept just function name as parameter.
12676         Use mi_runto_helper.
12677         * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12678         * gdb.mi/mi2-var-cmd.exp: Likewise.
12679
12680 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
12681
12682         Make this testcase a bit more realistic. The current code
12683         is too simplistic, and allows the compiler to optimize out
12684         some of the entities we need for this testcase.
12685         * gdb.ada/null_record/bar.ads (Void_Star): New type.
12686         (Do_Nothing): Add extra parameter.
12687         * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12688         * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12689         by using a variable of type Void_Star.
12690
12691 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
12692
12693         * gdb.ada/catch_ex/foo.adb: New file.
12694         * gdb.ada/catch_ex.exp: New testcase.
12695
12696 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
12697
12698         * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12699         pass --image-base to linker.
12700
12701 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
12702             Daniel Jacobowitz  <dan@codesourcery.com>
12703
12704         * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
12705         secondary prompts.
12706
12707 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
12708
12709         * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12710         output.  Test the types of members and member pointers.
12711         * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12712         gdb/2092.
12713         * gdb.cp/member-ptr.exp: Search for a comment instead of a
12714         statement.  Enable for GCC.  Update expected output for some tests
12715         and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
12716         layout.
12717         * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12718         (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12719         (Diamond::vget_base): New.
12720         (main): Add new tests.
12721         * gdb.cp/printmethod.exp: Update expected output for member functions.
12722         * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12723         print pEe->D::vg().
12724
12725 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
12726
12727         * gdb.threads/tls.exp: Allow stops in sem_post.
12728
12729 2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
12730
12731         * gdb.base/annota1.exp: Allow .*printf in backtraces.
12732         * gdb.base/annota3.exp: Likewise.
12733         * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12734         again (instead of timing out).
12735         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12736         GCC bug 26475.
12737         * gdb.java/jmisc.exp: Adjust to work with method signatures including
12738         return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
12739         test from jmisc1.exp.
12740         * gdb.java/jmisc1.exp: Delete.
12741         * gdb.java/jprint.exp: Adjust to work with method signatures including
12742         return types.
12743         * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12744         * gdb.threads/linux-dp.exp: Don't be confused by program output.
12745         * lib/java.exp (compile_java_from_source): Pass the correct type
12746         to target_compile.
12747
12748 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
12749
12750         * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12751         (stack_align_edx): New function.
12752         (stack_align_eax): New function.
12753         (main): Add calls to stack_align_edx and stack_align_eax.
12754         * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12755         Add testing for the cases where the register used during a stack
12756         realignment is edx. Same for eax.
12757
12758 2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
12759
12760         * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12761         and generic PE targets.
12762
12763 2006-12-29  Joel Brobecker  <brobecker@adacore.com>
12764
12765         * gdb.ada/array_return.exp: Update copyright date list.
12766
12767 2006-12-27  Joel Brobecker  <brobecker@adacore.com>
12768
12769         * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12770         (Create_Small_Float_Vector): New function.
12771         * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12772         function body.
12773         * gdb.ada/array_return/p.adb: Use new type and function from
12774         package Pck.
12775         * gdb.ada/array_return.exp: Add a test verifying that GDB is
12776         able to print the value returned by a function returning an
12777         array of float.
12778
12779 2006-12-20  Joel Brobecker  <brobecker@adacore.com>
12780
12781         * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12782         The associated tests should be PASSing.
12783
12784 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
12785
12786         Test for base in references.
12787         * gdb.mi/mi-var-cp.cc: Add test code.
12788         * gdb.mi/mi-var-cp.exp: Test for bases in references.
12789         * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12790         * gdb.mi/mi2-watch.exp: Likewise.
12791         * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12792         (mi_list_varobj_children): New function.
12793
12794 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
12795
12796         * lib/mi-support.exp
12797         (mi_runto): Accept "()" after function name.
12798         (mi_create_varobj): New function.
12799         (mi_varobj_update): New function.
12800         (mi_Check_varobj_value): New function.
12801         * gdb.mi/mi-var-cp.exp: New file.
12802         * gdb.mi/mi-var-cp.cc: New file.
12803
12804 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
12805
12806         * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12807         gdb.base/weaklib2.c: New files.
12808
12809 2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
12810
12811         * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12812         info.  Adjust test names.
12813
12814         * gdb.base/break.c (main): Move position of malloc.
12815         * gdb.base/break.exp: Revert mistaken checkin.
12816
12817 2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
12818
12819         * gdb.mi/mi-var-cmd.exp: Check -var-update after
12820         assignement of arrays and function pointers.
12821         * gdb.mi/var-cmd.c: Add declaration necessary for above
12822         tests.
12823
12824 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
12825
12826         * gdb.base/break.c (main): Call malloc.
12827
12828         * gdb.threads/linux-dp.exp: Read thread table before and after
12829         creating each philosopher and verify it.
12830
12831 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
12832             Paul Brook  <paul@codesourcery.com>
12833             Daniel Jacobowitz  <dan@codesourcery.com>
12834
12835         * gdb.base/ending-run.exp: Flatten expect script stepping out of
12836         main to remove duplication.  Add start function of the form
12837         '_*start[1-9]*'. Add RVDS start function.
12838
12839 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
12840
12841         * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12842
12843 2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12844
12845         * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12846         * gdb.asm/spu.inc: New file.
12847         * gdb.base/term.exp: Disable if [target_info exists noargs].
12848         * gdb.gdb/complaints.exp: Disable if ![isnative].
12849         * gdb.gdb/selftest.exp: Likewise.
12850         * gdb.gdb/observer.exp: Likewise.
12851         * gdb.gdb/xfullpath.exp: Likewise.
12852         * gdb.base/attach.exp: Disable on SPU target.
12853         * gdb.cp/bs145503.exp: Likewise.
12854         * gdb.cp/exception.exp: Likewise.
12855         * gdb.cp/userdef.exp: Likewise.
12856
12857 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
12858
12859         * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12860
12861 2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
12862
12863         * gdb.base/completion.exp: Fix completion tests for
12864         'info' and 'info '.
12865         * gdb.base/help.exp (help_test_raw, test_class_help)
12866         (test_prefix_command_help): Move...
12867         * lib/gdb.exp: Here.
12868         * gdb.base/main.exp: Adjust.
12869         * gdb.cp/maint.exp: Adjust.
12870         * gdb.trace/tracecmd.exp: Use test_help_class.
12871
12872 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
12873
12874         * gdb.stabs/weird.exp (print_weird_var): Use
12875         gdb_test_multiple instead of gdb_expect.
12876
12877 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
12878
12879         * gdb.base/help.exp (help_test_raw): New.
12880         (test_class_help): New.
12881         (test_prefix_command_help): New.
12882         Adjust testcases.
12883
12884 2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
12885
12886         * gdb.base/constvars.c (main): Write to crass and crips, so that
12887         they are allocated by the compiler.
12888
12889 2006-10-27  Andreas Schwab  <schwab@suse.de>
12890
12891         * gdb.base/multi-forks.exp: Use "detach fork" instead of
12892         "detach-fork".
12893
12894 2006-10-18  Daniel Jacobowitz  <dan@codesoucery.com>
12895
12896         * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12897         of patterns.
12898
12899 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
12900
12901         * gdb.base/sepdebug.exp: Remove debug format test.
12902         * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12903         Handle no-symtab.
12904         * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12905
12906 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
12907
12908         * gdb.threads/manythreads.c (thread_function, main): Don't cast
12909         int to pointer or pointer to int.
12910         * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12911
12912 2006-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
12913
12914         * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12915
12916 2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
12917
12918         * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12919
12920 2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
12921
12922         PR c++/2116
12923         * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12924
12925 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
12926
12927         * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12928         the corresponding bug has been fixed in GDB (PR/2018).
12929
12930 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
12931
12932         * gdb.base/subst.exp: New testcase.
12933
12934 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
12935
12936         * gdb.ada/array_return/pck.ads: Add copyright notice.
12937         * gdb.ada/array_return/pck.adb: Likewise.
12938         * gdb.ada/array_return/p.adb: Likewise.
12939         * gdb.ada/exec_changed/first.adb: Likewise.
12940         * gdb.ada/exec_changed/second.adb: Likewise.
12941
12942 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
12943
12944         * gdb.ada/watch_arg/watch.adb: New file.
12945         * gdb.ada/watch_arg.exp: New testcase.
12946
12947 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
12948
12949         * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
12950         via string_to_regexp.
12951         * gdb.mi/mi2-basics.exp: Likewise.
12952
12953 2006-09-20  Michael Snyder  <michael.snyder@palmsource.com>
12954
12955         * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12956         Remove unused / obsolete files.
12957
12958 2006-09-19  Nick Roberts  <nickrob@snap.net.nz>
12959
12960         * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12961
12962 2006-09-17  Vladimir Prus  <vladimir@codesourcery.com>
12963
12964         * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12965         HIGH_FRAME argument to -stack-list-arguments can be larger than
12966         the number of frames.
12967
12968 2006-09-15  Daniel Jacobowitz  <dan@codesourcery.com>
12969
12970         * gdb.base/args.c (main): Add breakpoint marker.
12971         * gdb.base/args.exp: Use args_test for tests.  Add new tests which
12972         really test empty arguments.
12973         (args_load): Delete.
12974         (args_test): New.
12975
12976 2006-09-13  Nick Roberts  <nickrob@snap.net.nz>
12977
12978         * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
12979         check for one file.
12980
12981 2006-09-07  Vladimir Prus  <ghost@vladimir@codesourcery.com>
12982
12983         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12984         HIGH_FRAME argument to -stack-list-locals can be larger than
12985         the number of frames.
12986
12987 2006-08-18  Fred Fish  <fnf@specifix.com>
12988
12989         * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12990         '$' in front of skip_vmx_tests_saved when setting that.
12991
12992 2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
12993
12994         * gdb.base/trace-commands.exp: New file.
12995
12996 2006-08-10  Joel Brobecker  <brobecker@adacore.com>
12997             Daniel Jacobowitz  <dan@codesourcery.com>
12998
12999         * gdb.base/step-bt.exp: Make hexadecimal address optional in
13000         expected output of the backtrace commands.
13001
13002 2006-08-09  Joel Brobecker  <brobecker@adacore.com>
13003
13004         * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
13005         untested followed by return combination.
13006         * gdb.arch/altivec-regs.exp: Likewise.
13007         * gdb.arch/e500-abi.exp: Likewise.
13008         * gdb.arch/e500-regs.exp: Likewise.
13009         * gdb.arch/gdb1291.exp: Likewise.
13010         * gdb.arch/gdb1431.exp: Likewise.
13011         * gdb.arch/gdb1558.exp: Likewise.
13012         * gdb.arch/i386-prologue.exp: Likewise.
13013         * gdb.arch/i386-unwind.exp: Likewise.
13014         * gdb.asm/asm-source.exp: Likewise.
13015         * gdb.base/a2-run.exp: Likewise.
13016         * gdb.base/advance.exp: Likewise.
13017         * gdb.base/all-bin.exp: Likewise.
13018         * gdb.base/annota1.exp: Likewise.
13019         * gdb.base/annota3.exp: Likewise.
13020         * gdb.base/args.exp: Likewise.
13021         * gdb.base/arithmet.exp: Likewise.
13022         * gdb.base/assign.exp: Likewise.
13023         * gdb.base/async.exp: Likewise.
13024         * gdb.base/attach.exp: Likewise.
13025         * gdb.base/bang.exp: Likewise.
13026         * gdb.base/bigcore.exp: Likewise.
13027         * gdb.base/bitfields.exp: Likewise.
13028         * gdb.base/bitfields2.exp: Likewise.
13029         * gdb.base/break.exp: Likewise.
13030         * gdb.base/call-sc.exp: Likewise.
13031         * gdb.base/call-strs.exp: Likewise.
13032         * gdb.base/callfuncs.exp: Likewise.
13033         * gdb.base/checkpoint.exp: Likewise.
13034         * gdb.base/chng-syms.exp: Likewise.
13035         * gdb.base/code-expr.exp: Likewise.
13036         * gdb.base/commands.exp: Likewise.
13037         * gdb.base/completion.exp: Likewise.
13038         * gdb.base/cond-expr.exp: Likewise.
13039         * gdb.base/condbreak.exp: Likewise.
13040         * gdb.base/consecutive.exp: Likewise.
13041         * gdb.base/constvars.exp: Likewise.
13042         * gdb.base/corefile.exp: Likewise.
13043         * gdb.base/cvexpr.exp: Likewise.
13044         * gdb.base/dbx.exp: Likewise.
13045         * gdb.base/define.exp: Likewise.
13046         * gdb.base/detach.exp: Likewise.
13047         * gdb.base/display.exp: Likewise.
13048         * gdb.base/dump.exp: Likewise.
13049         * gdb.base/ena-dis-br.exp: Likewise.
13050         * gdb.base/ending-run.exp: Likewise.
13051         * gdb.base/environ.exp: Likewise.
13052         * gdb.base/eval-skip.exp: Likewise.
13053         * gdb.base/exprs.exp: Likewise.
13054         * gdb.base/fileio.exp: Likewise.
13055         * gdb.base/finish.exp: Likewise.
13056         * gdb.base/float.exp: Likewise.
13057         * gdb.base/foll-exec.exp: Likewise.
13058         * gdb.base/foll-fork.exp: Likewise.
13059         * gdb.base/foll-vfork.exp: Likewise.
13060         * gdb.base/freebpcmd.exp: Likewise.
13061         * gdb.base/funcargs.exp: Likewise.
13062         * gdb.base/gcore.exp: Likewise.
13063         * gdb.base/gdb1090.exp: Likewise.
13064         * gdb.base/gdb1250.exp: Likewise.
13065         * gdb.base/huge.exp: Likewise.
13066         * gdb.base/info-proc.exp: Likewise.
13067         * gdb.base/interrupt.exp: Likewise.
13068         * gdb.base/jump.exp: Likewise.
13069         * gdb.base/langs.exp: Likewise.
13070         * gdb.base/lineinc.exp: Likewise.
13071         * gdb.base/list.exp: Likewise.
13072         * gdb.base/logical.exp: Likewise.
13073         * gdb.base/long_long.exp: Likewise.
13074         * gdb.base/macscp.exp: Likewise.
13075         * gdb.base/maint.exp: Likewise.
13076         * gdb.base/mips_pro.exp: Likewise.
13077         * gdb.base/miscexprs.exp: Likewise.
13078         * gdb.base/multi-forks.exp: Likewise.
13079         * gdb.base/opaque.exp: Likewise.
13080         * gdb.base/overlays.exp: Likewise.
13081         * gdb.base/pc-fp.exp: Likewise.
13082         * gdb.base/pointers.exp: Likewise.
13083         * gdb.base/printcmds.exp: Likewise.
13084         * gdb.base/psymtab.exp: Likewise.
13085         * gdb.base/ptype.exp: Likewise.
13086         * gdb.base/recurse.exp: Likewise.
13087         * gdb.base/relational.exp: Likewise.
13088         * gdb.base/relocate.exp: Likewise.
13089         * gdb.base/remote.exp: Likewise.
13090         * gdb.base/reread.exp: Likewise.
13091         * gdb.base/restore.exp: Likewise.
13092         * gdb.base/return.exp: Likewise.
13093         * gdb.base/return2.exp: Likewise.
13094         * gdb.base/scope.exp: Likewise.
13095         * gdb.base/sect-cmd.exp: Likewise.
13096         * gdb.base/sep.exp: Likewise.
13097         * gdb.base/sepdebug.exp: Likewise.
13098         * gdb.base/setshow.exp: Likewise.
13099         * gdb.base/setvar.exp: Likewise.
13100         * gdb.base/sigall.exp: Likewise.
13101         * gdb.base/sigbpt.exp: Likewise.
13102         * gdb.base/signals.exp: Likewise.
13103         * gdb.base/signull.exp: Likewise.
13104         * gdb.base/sizeof.exp: Likewise.
13105         * gdb.base/solib.exp: Likewise.
13106         * gdb.base/step-line.exp: Likewise.
13107         * gdb.base/step-test.exp: Likewise.
13108         * gdb.base/structs.exp: Likewise.
13109         * gdb.base/structs2.exp: Likewise.
13110         * gdb.base/term.exp: Likewise.
13111         * gdb.base/twice.exp: Likewise.
13112         * gdb.base/until.exp: Likewise.
13113         * gdb.base/varargs.exp: Likewise.
13114         * gdb.base/volatile.exp: Likewise.
13115         * gdb.base/watchpoint.exp: Likewise.
13116         * gdb.base/whatis-exp.exp: Likewise.
13117         * gdb.base/whatis.exp: Likewise.
13118         * gdb.cp/ambiguous.exp: Likewise.
13119         * gdb.cp/annota2.exp: Likewise.
13120         * gdb.cp/annota3.exp: Likewise.
13121         * gdb.cp/bool.exp: Likewise.
13122         * gdb.cp/breakpoint.exp: Likewise.
13123         * gdb.cp/casts.exp: Likewise.
13124         * gdb.cp/class2.exp: Likewise.
13125         * gdb.cp/classes.exp: Likewise.
13126         * gdb.cp/cplusfuncs.exp: Likewise.
13127         * gdb.cp/ctti.exp: Likewise.
13128         * gdb.cp/derivation.exp: Likewise.
13129         * gdb.cp/exception.exp: Likewise.
13130         * gdb.cp/gdb1355.exp: Likewise.
13131         * gdb.cp/hang.exp: Likewise.
13132         * gdb.cp/inherit.exp: Likewise.
13133         * gdb.cp/local.exp: Likewise.
13134         * gdb.cp/m-data.exp: Likewise.
13135         * gdb.cp/m-static.exp: Likewise.
13136         * gdb.cp/member-ptr.exp: Likewise.
13137         * gdb.cp/method.exp: Likewise.
13138         * gdb.cp/misc.exp: Likewise.
13139         * gdb.cp/namespace.exp: Likewise.
13140         * gdb.cp/overload.exp: Likewise.
13141         * gdb.cp/ovldbreak.exp: Likewise.
13142         * gdb.cp/pr-1023.exp: Likewise.
13143         * gdb.cp/pr-1210.exp: Likewise.
13144         * gdb.cp/pr-574.exp: Likewise.
13145         * gdb.cp/printmethod.exp: Likewise.
13146         * gdb.cp/psmang.exp: Likewise.
13147         * gdb.cp/ref-params.exp: Likewise.
13148         * gdb.cp/ref-types.exp: Likewise.
13149         * gdb.cp/rtti.exp: Likewise.
13150         * gdb.cp/templates.exp: Likewise.
13151         * gdb.cp/try_catch.exp: Likewise.
13152         * gdb.cp/userdef.exp: Likewise.
13153         * gdb.cp/virtfunc.exp: Likewise.
13154         * gdb.disasm/am33.exp: Likewise.
13155         * gdb.disasm/h8300s.exp: Likewise.
13156         * gdb.disasm/mn10300.exp: Likewise.
13157         * gdb.disasm/sh3.exp: Likewise.
13158         * gdb.disasm/t01_mov.exp: Likewise.
13159         * gdb.disasm/t02_mova.exp: Likewise.
13160         * gdb.disasm/t03_add.exp: Likewise.
13161         * gdb.disasm/t04_sub.exp: Likewise.
13162         * gdb.disasm/t05_cmp.exp: Likewise.
13163         * gdb.disasm/t06_ari2.exp: Likewise.
13164         * gdb.disasm/t07_ari3.exp: Likewise.
13165         * gdb.disasm/t08_or.exp: Likewise.
13166         * gdb.disasm/t09_xor.exp: Likewise.
13167         * gdb.disasm/t10_and.exp: Likewise.
13168         * gdb.disasm/t11_logs.exp: Likewise.
13169         * gdb.disasm/t12_bit.exp: Likewise.
13170         * gdb.disasm/t13_otr.exp: Likewise.
13171         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
13172         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
13173         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13174         * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
13175         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
13176         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
13177         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
13178         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
13179         * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
13180         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
13181         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
13182         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
13183         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
13184         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
13185         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
13186         * gdb.mi/gdb701.exp: Likewise.
13187         * gdb.mi/gdb792.exp: Likewise.
13188         * gdb.mi/mi-basics.exp: Likewise.
13189         * gdb.mi/mi-break.exp: Likewise.
13190         * gdb.mi/mi-cli.exp: Likewise.
13191         * gdb.mi/mi-console.exp: Likewise.
13192         * gdb.mi/mi-disassemble.exp: Likewise.
13193         * gdb.mi/mi-eval.exp: Likewise.
13194         * gdb.mi/mi-file.exp: Likewise.
13195         * gdb.mi/mi-read-memory.exp: Likewise.
13196         * gdb.mi/mi-regs.exp: Likewise.
13197         * gdb.mi/mi-return.exp: Likewise.
13198         * gdb.mi/mi-simplerun.exp: Likewise.
13199         * gdb.mi/mi-stack.exp: Likewise.
13200         * gdb.mi/mi-stepi.exp: Likewise.
13201         * gdb.mi/mi-syn-frame.exp: Likewise.
13202         * gdb.mi/mi-until.exp: Likewise.
13203         * gdb.mi/mi-var-block.exp: Likewise.
13204         * gdb.mi/mi-var-child.exp: Likewise.
13205         * gdb.mi/mi-var-cmd.exp: Likewise.
13206         * gdb.mi/mi-var-display.exp: Likewise.
13207         * gdb.mi/mi-watch.exp: Likewise.
13208         * gdb.mi/mi2-basics.exp: Likewise.
13209         * gdb.mi/mi2-break.exp: Likewise.
13210         * gdb.mi/mi2-cli.exp: Likewise.
13211         * gdb.mi/mi2-console.exp: Likewise.
13212         * gdb.mi/mi2-disassemble.exp: Likewise.
13213         * gdb.mi/mi2-eval.exp: Likewise.
13214         * gdb.mi/mi2-file.exp: Likewise.
13215         * gdb.mi/mi2-read-memory.exp: Likewise.
13216         * gdb.mi/mi2-regs.exp: Likewise.
13217         * gdb.mi/mi2-return.exp: Likewise.
13218         * gdb.mi/mi2-simplerun.exp: Likewise.
13219         * gdb.mi/mi2-stack.exp: Likewise.
13220         * gdb.mi/mi2-stepi.exp: Likewise.
13221         * gdb.mi/mi2-syn-frame.exp: Likewise.
13222         * gdb.mi/mi2-until.exp: Likewise.
13223         * gdb.mi/mi2-var-block.exp: Likewise.
13224         * gdb.mi/mi2-var-child.exp: Likewise.
13225         * gdb.mi/mi2-var-cmd.exp: Likewise.
13226         * gdb.mi/mi2-var-display.exp: Likewise.
13227         * gdb.mi/mi2-watch.exp: Likewise.
13228         * gdb.stabs/exclfwd.exp: Likewise.
13229         * gdb.stabs/weird.exp: Likewise.
13230         * gdb.threads/gcore-thread.exp: Likewise.
13231         * gdb.trace/actions.exp: Likewise.
13232         * gdb.trace/backtrace.exp: Likewise.
13233         * gdb.trace/circ.exp: Likewise.
13234         * gdb.trace/collection.exp: Likewise.
13235         * gdb.trace/deltrace.exp: Likewise.
13236         * gdb.trace/infotrace.exp: Likewise.
13237         * gdb.trace/limits.exp: Likewise.
13238         * gdb.trace/packetlen.exp: Likewise.
13239         * gdb.trace/passc-dyn.exp: Likewise.
13240         * gdb.trace/passcount.exp: Likewise.
13241         * gdb.trace/report.exp: Likewise.
13242         * gdb.trace/save-trace.exp: Likewise.
13243         * gdb.trace/tfind.exp: Likewise.
13244         * gdb.trace/tracecmd.exp: Likewise.
13245         * gdb.trace/while-dyn.exp: Likewise.
13246         * gdb.trace/while-stepping.exp: Likewise.
13247
13248 2006-08-08  Joel Brobecker  <brobecker@adacore.com>
13249
13250         * gdb.base/step-bt.c: New file.
13251         * gdb.base/step-bt.exp: New testcase.
13252
13253 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
13254
13255         * config/monitor.exp (gdb_load): Remove support for obsolete
13256         download-write-size.
13257         * gdb.base/remote.exp: Likewise.  Update all callers of
13258         gdb_timed_load.
13259
13260 2006-08-02  Daniel Jacobowitz  <dan@codesourcery.com>
13261
13262         * cursal.exp: Pass binfile to gdb_load.
13263
13264 2006-08-01  Nathan Sidwell  <nathan@codesourcery.com>
13265
13266         * gdb.base/cursal.exp: Add "" to gdb_load call.
13267
13268 2006-07-29  Mark Kettenis  <kettenis@gnu.org>
13269
13270         * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
13271         NetBSD/ELF targets.
13272
13273 2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
13274
13275         * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
13276         operator*.
13277
13278 2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
13279
13280         * gdb.base/completion.exp: Update for change in "file" behavior.
13281         * gdb.stabs/weird.exp: Likewise.
13282         * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
13283         * lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
13284
13285 2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>
13286
13287         * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
13288         * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
13289
13290 2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
13291
13292         * gdb.base/default.exp: Update source command error message.
13293         * gdb.base/help.exp: Update 'help source' message.
13294
13295 2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
13296
13297         * gdb.cp/bs15503.exp: Update comment for no longer crashing
13298         test.
13299
13300 2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>
13301
13302         * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
13303
13304 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
13305
13306         * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
13307
13308 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
13309
13310         * gdb.threads/print-threads.exp: Use gdb_breakpoint.
13311
13312 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
13313
13314         * gdb.base/long_long.exp (gdb_test_long_long): Exclude
13315         *-*-openbsd* from targets for wich we expect ARM FPA floating
13316         point format.
13317
13318 2006-07-17  Nick Roberts  <nickrob@snap.net.nz>
13319
13320         * gdb.cp/annota3.exp: Expect frame-begin annotation.
13321
13322 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
13323
13324         * gdb.base/annota3.exp: Expect frame-begin annotation.
13325
13326 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
13327
13328         * gdb.base/help.exp: Adjust "help unset" test to accept
13329         any list of unset commands.
13330
13331 2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
13332             Daniel Jacobowitz  <dan@codesourcery.com>
13333
13334         * gdb.cp/ref-params.exp: New test.
13335         * gdb.cp/ref-params.cc: New source file.
13336         * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
13337
13338 2006-07-08  Mark Kettenis  <kettenis@gnu.org>
13339
13340         * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
13341         spaces/tabs in regular expressions since they might not be there.
13342
13343 2006-07-07  Andrew Stubbs  <andrew.stubbs@st.com>
13344
13345         * gdb.base/ifelse.exp: New file.
13346
13347 2006-07-04  Nathan Sidwell  <nathan@codesourcery.com>
13348
13349         * gdb.base/huge.c: Allow CRASH_GDB to be set from command
13350         line.
13351         * gdb.base/huge.exp: Loop over compilation to find a size that
13352         is acceptable.
13353         * gdb.base/remote.exp: Correct expected strings.
13354         * gdb.dwarf2/mac-fileno.S: Avoid # comments.
13355
13356 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
13357
13358         * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
13359
13360 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
13361
13362         * gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
13363         native.
13364
13365 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
13366
13367         * gdb.stabs/exclfwd.exp: Skip the test if configure did not
13368         enable stabs testing.
13369
13370 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
13371
13372         * gdb.base/auxv.exp: Intercept undefined command messages before
13373         gdb_test_multiple does.
13374
13375 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
13376
13377         * Makefile.in (host_alias): Remove.
13378         (target_alias): Use @target_noncanonical@.
13379         (site.exp): Don't set host_alias.
13380         * aclocal.m4: Remove contents.  Include acx.m4.
13381         * configure: Regenerated.
13382         * configure.ac: Use ACX_NONCANONICAL_TARGET.
13383
13384 2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
13385
13386         * lib/gdb.exp (gdb_load_cmd): New.
13387
13388         * gdb.base/fileio.c: Add system(NULL) test.
13389         * gdb.base/fileio.exp: Check it.
13390
13391         * gdb.base/break.c: Add 10a breakpoint at }
13392         * gdb.base/break.exp: Add test for breakpoint at }
13393         * gdb.cp/anon-union.cc: Add code at end of function.
13394         * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
13395         * gdb.mi/var-cmd.c: Add code at end of function.
13396         * gdb.mi/mi-var-display.exp: Adjust end of next.
13397         * gdb.mi/mi2-var-display.exp: Likewise.
13398         * gdb.base/fileio.c: Add stop function and insert calls at
13399         stopping places.
13400         * gdb.base/fileio.exp: Breakpoint stop function and remove
13401         explicit line number references.
13402
13403 2006-05-19  Joel Brobecker  <brobecker@adacore.com>
13404
13405         * gdb.base/del.exp (test_delete_alias): New function.
13406         Now check that both "del" and "d" work as aliases for "delete".
13407
13408 2006-05-18  Fred Fish  <fnf@specifix.com>
13409
13410         * gdb.base/a2-run.exp: Allow part of test to run when args aren't
13411         required.  Check for spurious output after program exits normally.
13412
13413 2006-05-17  Fred Fish  <fnf@specifix.com>
13414
13415         * gdb.base/relocate.exp: Use gdb_file_cmd rather than
13416         gdb_load, so it works in the simulator.
13417
13418 2006-05-11  Fred Fish  <fnf@specifix.com>
13419
13420         * gdb.base/bang.exp: Ignore unexpected output between the
13421         "program exited normally" and the gdb prompt, as many other
13422         tests do.
13423
13424 2006-05-07  Mark Kettenis  <kettenis@gnu.org>
13425
13426         * gdb.base/help.exp: Make "delete checkpoint" part option for
13427         "help d" and "help delete" tests.
13428
13429 2006-05-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13430
13431         * gdb.mi/mi-basics.exp: Add missing serial number to
13432         expected output in some mi_gdb_test statements.
13433         * gdb.mi/mi2-basics.exp: Likewise.
13434
13435 2006-05-05  Joel Brobecker  <brobecker@adacore.com>
13436
13437         * gdb.base/del.c: New file.
13438         * gdb.base/del.exp: New testcase.
13439
13440 2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
13441
13442         * gdb.base/break.exp: Do not assume a breakpoint on
13443         main will actually be in $srcfile when optimizing.
13444         * gdb.base/savedregs.exp: Do not require that the dummy
13445         frame location match up to a symbol and source file location.
13446         * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
13447         will get printed without a mi_cmd_data_list_register_values prefix.
13448         (*-data-list-register-*): Correct regular expressions to expect the new
13449         pseudo d? floating point registers.
13450         * gdb.mi/mi2-regs.exp: Likewise.
13451
13452 2006-05-05  Christophe Lyon  <christophe.lyon@st.com>
13453
13454         * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
13455         * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
13456         is allocated by the compiler.
13457         * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
13458         anons, e, anone to force their allocation by the compiler.
13459
13460 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
13461
13462         * gdb.base/help.exp: Update expected text for help d and
13463         help delete.
13464
13465 2006-05-02  Mark Kettenis  <kettenis@gnu.org>
13466
13467         * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
13468         NetBSD/ELF targets.
13469
13470 2006-04-30  Mark Kettenis  <kettenis@gnu.org>
13471
13472         * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
13473         single-step breakpoint fails; make this a KFAIL on
13474         sparc*-*-openbsd*.
13475         * gdb.base/siginfo.exp: Likewise.
13476         * gdb.base/sigstep.exp (advance, advancei): Likewise.
13477
13478 2006-04-26  Michael Snyder  <msnyder@redhat.com>
13479
13480         * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
13481         which may have to consume output from other forks.
13482         Add tests to make sure that "delete fork" succeeded.
13483
13484 2006-04-20  Michael Snyder  <msnyder@redhat.com>
13485
13486         * 2006-03-22  Jim Blandy  <jimb@redhat.com>
13487         Add support for the Renesas M32C and M16C.
13488
13489         * gdb.asm/asm-source.exp: Add m32c target.
13490         * gdb.asm/m32c.inc: Support for m32c target.
13491
13492 2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
13493
13494         * gdb.base/commands.exp (recursive_source_test): New test.
13495
13496 2006-04-04  David S. Miller  <davem@sunset.davemloft.net>
13497
13498         * gdb.base/float.exp: Add pattern for sparc targets.
13499
13500 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
13501
13502         * gdb.base/commands.exp (stray_arg0_test): New test.
13503
13504 2006-03-30  Paul Brook  <paul@codesourcery.com>
13505
13506         * gdb.mi/mi-until.exp: kfail broken until command.
13507         * gdb.mi/mi2-until.exp: Ditto.
13508
13509 2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
13510
13511         * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
13512
13513 2006-03-08  Alexandre Oliva  <aoliva@redhat.com>
13514
13515         * gdb.base/prelink.exp: Anchor tested-for regular expression
13516         on gdb prompt.
13517
13518 2006-03-07  Paul Brook  <paul@codesourcery.com>
13519
13520         * gdb.base/assign.exp: Correct fail message.
13521
13522 2006-03-07  Paul Brook  <paul@codesourcery.com>
13523
13524         * lib/compiler.c: Extract armcc version number.
13525         * lib/compiler.cc: Ditto.
13526
13527 2006-03-07  Paul Brook  <paul@codesourcery.com>
13528
13529         * gdb.arch/altivec-abi.exp: Use nowarnings instead of
13530         additional_flags=-w.
13531         * gdb.arch/altivec-regs.exp: Ditto.
13532         * gdb.arch/e500-abi.exp: Ditto.
13533         * gdb.arch/e500-regs.exp: Ditto.
13534         * gdb.base/all-bin.exp: Ditto.
13535         * gdb.base/annota1.exp: Ditto.
13536         * gdb.base/annota3.exp: Ditto.
13537         * gdb.base/args.exp: Ditto.
13538         * gdb.base/arithmet.exp: Ditto.
13539         * gdb.base/assign.exp: Ditto.
13540         * gdb.base/async.exp: Ditto.
13541         * gdb.base/bang.exp: Ditto.
13542         * gdb.base/break.exp: Ditto.
13543         * gdb.base/call-rt-st.exp: Ditto.
13544         * gdb.base/completion.exp: Ditto.
13545         * gdb.base/cond-expr.exp: Ditto.
13546         * gdb.base/condbreak.exp: Ditto.
13547         * gdb.base/consecutive.exp: Ditto.
13548         * gdb.base/define.exp: Ditto.
13549         * gdb.base/display.exp: Ditto.
13550         * gdb.base/ena-dis-br.exp: Ditto.
13551         * gdb.base/environ.exp: Ditto.
13552         * gdb.base/eval-skip.exp: Ditto.
13553         * gdb.base/info-proc.exp: Ditto.
13554         * gdb.base/jump.exp: Ditto.
13555         * gdb.base/logical.exp: Ditto.
13556         * gdb.base/long_long.exp: Ditto.
13557         * gdb.base/maint.exp: Ditto.
13558         * gdb.base/miscexprs.exp: Ditto.
13559         * gdb.base/pc-fp.exp: Ditto.
13560         * gdb.base/pointers.exp: Ditto.
13561         * gdb.base/relational.exp: Ditto.
13562         * gdb.base/reread.exp: Ditto.
13563         * gdb.base/sect-cmd.exp: Ditto.
13564         * gdb.base/sep.exp: Ditto.
13565         * gdb.base/sepdebug.exp: Ditto.
13566         * gdb.base/until.exp: Ditto.
13567         * gdb.base/whatis-exp.exp: Ditto.
13568         * gdb.cp/annota2.exp: Ditto.
13569         * gdb.cp/annota3.exp: Ditto.
13570         * gdb.trace/actions.exp: Ditto.
13571         * gdb.trace/backtrace.exp: Ditto.
13572         * gdb.trace/circ.exp: Ditto.
13573         * gdb.trace/collection.exp: Ditto.
13574         * gdb.trace/deltrace.exp: Ditto.
13575         * gdb.trace/infotrace.exp: Ditto.
13576         * gdb.trace/limits.exp: Ditto.
13577         * gdb.trace/packetlen.exp: Ditto.
13578         * gdb.trace/passc-dyn.exp: Ditto.
13579         * gdb.trace/passcount.exp: Ditto.
13580         * gdb.trace/report.exp: Ditto.
13581         * gdb.trace/save-trace.exp: Ditto.
13582         * gdb.trace/tfind.exp: Ditto.
13583         * gdb.trace/tracecmd.exp: Ditto.
13584         * gdb.trace/while-dyn.exp: Ditto.
13585         * gdb.trace/while-stepping.exp: Ditto.
13586         * lib/gdb.exp: Ditto.
13587         (gdb_compile): Handle nowarning option.
13588
13589 2006-03-07  Alexandre Oliva  <aoliva@redhat.com>
13590
13591         * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13592         * gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
13593         Rename executable to prelinkt.  Don't re-prelink if we didn't
13594         get a core file.  Test prelink -u exit status to tell whether
13595         prelinking failed.  Use gdb_test_multiple.
13596
13597 2006-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
13598
13599         * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13600         (do_tests): Call it.
13601
13602 2006-02-28  Alexandre Oliva  <aoliva@redhat.com>
13603
13604         * gdb.base/prelink.exp: New test.
13605         * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13606
13607 2006-02-24  Wu Zhou  <woodzltc@cn.ibm.com>
13608
13609         * gdb.fortran/derived-type.f90: New file.
13610         * gdb.fortran/derived-type.exp: New testcase.
13611
13612 2006-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
13613
13614         * gdb.base/default.exp: Allow ';' as a directory separator.
13615
13616 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
13617
13618         * gdb.base/help.exp (help add-symbol-file): Update.
13619
13620 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
13621
13622         * gdb.base/help.exp (help load): Update expected results.
13623
13624 2006-02-19  Fred Fish  <fnf@specifix.com>
13625
13626         * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13627         specifix hex value as part of results.
13628         * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
13629
13630 2006-02-16  Fred Fish  <fnf@specifix.com>
13631
13632         * gdb.base/whatis.c: Define variables using typedefs char_addr,
13633         ushort_addr, and slong_addr, so the typedefs are not optimized
13634         away.
13635         * gdb.base/whatis.exp: Add tests using type name for struct type,
13636         union type, enum type, and typedef.
13637
13638 2006-02-13  Mark Kettenis  <kettenis@gnu.org>
13639
13640         * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13641
13642 2006-02-13  Jim Blandy  <jimb@redhat.com>
13643
13644         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13645         case where it takes two "next" commands to skip past the init
13646         call.
13647
13648 2006-02-12  Fred Fish  <fnf@specifix.com>
13649
13650         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13651         to handle cases where it takes two "next" commands to skip
13652         past the init call.
13653
13654 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
13655
13656         * gdb.ada/array_return.exp: Mark the last test as expected to fail
13657         on hppa32 targets.
13658
13659 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
13660
13661         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13662         field.
13663
13664 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
13665
13666         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13667
13668 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
13669
13670         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13671         files.
13672
13673 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
13674
13675         * gdb.cp/maint.exp: Set complaints to a positive value.
13676
13677 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
13678
13679         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
13680         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
13681         function name.
13682
13683 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
13684
13685         * gdb.base/checkpoint.c: Update copyright notice.  Include
13686         <stdlib.h>.
13687
13688 2006-01-04  Jim Blandy  <jimb@redhat.com>
13689
13690         * gdb.asm/asm-source.exp: Independently provide default values for
13691         asm-flags and debug-flags.  Use 'string equal' to do the
13692         comparison, not the implicit expr's '==' operator.  Remove
13693         now-unneeded assignments to asm-flags.  In h8300 case, place
13694         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13695
13696 2006-01-04  Michael Snyder  <msnyder@redhat.com>
13697
13698         * gdb.base/checkpoint.c: New file.
13699         * gdb.base/checkpoint.exp: New file.
13700         * gdb.base/multi-fork.c: New file.
13701         * gdb.base/multi-fork.exp: New file.
13702         * gdb.base/pi.txt: New file (data for checkpoint.c test).
13703
13704 2006-01-04  Fred Fish  <fnf@specifix.com>
13705
13706         * gdb.base/ptype.c (foo): Add typedef.
13707         (intfoo): Add function.
13708         * gdb.base/ptype1.c: New file.
13709         * gdb.base/ptype.exp: Handle compilation and linking with two
13710         source files.  Test that proper type for "foo" is found based
13711         on source context rather than first match found in symtabs.
13712
13713 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
13714
13715         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13716         * gdb.asm/openbsd.inc: Indent commands.
13717
13718 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
13719
13720         * gdb.base/freebpcmd.exp: Increase timeout.
13721
13722         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13723
13724 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
13725
13726         * gdb.base/default.exp: Update check for "show version".
13727
13728 2005-12-09  Randolph Chung  <tausq@debian.org>
13729
13730         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13731         * gdb.asm/pa64.inc: New file.
13732
13733 2005-12-09  Randolph Chung  <tausq@debian.org>
13734
13735         * gdb.asm/common.inc: Indent commands.
13736         * gdb.asm/asmsrc1.s: Likewise.
13737         * gdb.asm/asmsrc2.s: Likewise.
13738
13739 2005-12-09  Randolph Chung  <tausq@debian.org>
13740
13741         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13742         (get_addr_of_sym): Remove duplicate print.
13743         (gen_core): xfail hppa*-*-hpux*, update expected output.
13744         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13745         * gdb.arch/pa64-nullify.s: New file.
13746
13747 2005-12-09  Randolph Chung  <tausq@debian.org>
13748
13749         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13750
13751 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
13752
13753         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13754         code generation for these functions.
13755         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13756         error message.
13757
13758 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
13759
13760         * gdb.base/help.exp (help b, help br, help bre, help brea)
13761         (help break): Update the expected message.
13762
13763 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
13764
13765         * gdb.asm/m68hc11.inc: Setup the data section.
13766         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13767         script for this test.
13768         (m6812-*-*): Likewise.
13769
13770 2005-11-09  Randolph Chung <tausq@debian.org>
13771
13772         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13773
13774 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
13775
13776         * gdb.base/break.exp: Fix a comment typo.
13777
13778 2005-11-03  Jim Blandy  <jimb@redhat.com>
13779
13780         Checked in by Elena Zannoni  <ezannoni@redhat.com>
13781
13782         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
13783
13784 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
13785
13786         * gdb.arch/gdb1558.c: Include stdio.h.
13787
13788 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
13789
13790         * gdb.asm/asm-source.exp: Use -e instead of --entry.
13791
13792 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
13793
13794         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13795
13796 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
13797
13798         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13799         vscr" tests to better match output.
13800
13801 2005-10-12  Jim Blandy  <jimb@redhat.com>
13802
13803         * gdb.base/structs.exp (any): New function.
13804         (test_struct_returns): Don't make any assumptions at all about
13805         what value the function returns when GDB can't set the return
13806         value.
13807
13808 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
13809
13810         * gdb.ada/arrayidx/p.adb: New file.
13811         * gdb.ada/arrayidx.exp: New testcase
13812
13813 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
13814
13815         * gdb.ada/array_return/pck.ads: New file.
13816         * gdb.ada/array_return/pck.adb: New file.
13817         * gdb.ada/array_return/p.adb: New file.
13818         * gdb.ada/array_return.exp: New testcase.
13819
13820 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
13821
13822         * gdb.base/arrayidx.c: New file.
13823         * gdb.base/arrayidx.exp: New testcase.
13824
13825 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
13826
13827         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13828         frames-invalid and breakpoints-invalid are no longer generated
13829         with level 3 so don't expect them in the output.
13830
13831 2005-09-27  Bob Rossi  <bob@brasko.net>
13832
13833         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
13834         from test.  Escape the | in mi_gdb_test call.
13835         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13836         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13837         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13838         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13839         expected regex's in mi_gdb_test calls.
13840         * lib/mi-support.exp: Remove arbitrary .* from tests.
13841         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13842         Fully anchor GDB/MI expected results in mi_gdb_test.
13843         * lib/gdb.exp (string_to_regexp): Escape the ] character.
13844         * gdb.base/sizeof.exp: Remove escape character. Correct test.
13845
13846 2005-09-26  Paul Brook  <paul@codesourcery.com>
13847
13848         * long_long.exp: Exclude eabi targets from arm FPA float format test.
13849
13850 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
13851
13852         * bfp-test.c: New file.
13853         * bfp-test.exp: New testcase.
13854
13855 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
13856
13857         * gdb.fortran/subarray.exp: New testcase to test the evaluation
13858         of subarray and substring variable.
13859         * gdb.fortran/subarray.f: New source file for the test of subarray
13860         and substring variable evaluation.
13861         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13862         of string constant.
13863
13864 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
13865
13866         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13867         copyright dates.
13868
13869 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
13870
13871         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13872         powerpc altivec' test with an almost identical 'info vector' test.
13873
13874 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
13875
13876         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13877         vscr" tests to match output.
13878
13879 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
13880
13881         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13882         output.
13883
13884 2005-09-11  Bob Rossi  <bob@brasko.net>
13885
13886         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13887         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13888         commands that return an MI output command and an asyncronous MI output
13889         command.
13890         * gdb.mi/mi-console.exp: Ditto.
13891
13892 2005-09-11  Bob Rossi  <bob@brasko.net>
13893
13894         * gdb.mi/mi-var-child.c: Include <string.h>.
13895
13896 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
13897
13898         * killed.exp: Correct gdb_expect syntax.
13899
13900 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
13901
13902         * lib/mi-support.exp (mi_gdb_load): Fix typo.
13903
13904 2005-08-02  Bob Rossi  <bob@brasko.net>
13905
13906         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13907         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13908         Change tests to inferior-tty-set/show.
13909         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13910         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13911         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13912         inferior.  Use mi_gdb_test to get GDB and Inferior output.
13913         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13914         descriptor.
13915         (mi_inferior_tty_name): Add inferior PTY file name.
13916         (mi_gdb_start): Add INFERIOR_PTY parameter.
13917         (mi_gdb_test): Add IPATTERN parameter.
13918
13919 2005-08-02   Bob Rossi  <bob@brasko.net>
13920
13921         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13922         parameter to mi_gdb_test.
13923         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13924
13925 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
13926
13927         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13928         struct_declarations.
13929         * gdb.mi/mi-var-child.exp: Step over the initialization of
13930         struct_declarations.
13931
13932 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
13933
13934         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13935         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13936         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13937         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13938         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13939         file.
13940
13941 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
13942
13943         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13944         (do_children_tests): Assign values to the extra elements.
13945
13946         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13947         them for tests for "-var-update --no-values" and
13948         "-var-update --all-values".
13949         Add test for "-var-list-children --simple-values".
13950
13951         * gdb.mi/basics.c (callee4): Add integer array D[3]...
13952
13953         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13954         "-stack-list-locals --simple-values"  Improve doc strings and
13955         comments.
13956
13957 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
13958
13959         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13960         *-*-openbsd*.
13961         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13962
13963         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13964         sigaltsatck'.
13965
13966 2005-07-14  Bob Rossi  <bob@brasko.net>
13967
13968         * gdb.base/default.exp (tty): Changed output of command.
13969         * gdb.base/help.exp (help tty): Ditto.
13970
13971 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
13972
13973         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13974
13975 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
13976
13977         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13978         -stack-select-frame without arguments.
13979         (test_stack_frame_listing): Add test for newly implemented command
13980         -stack-info-frame.
13981
13982 2005-07-06  Bob Rossi  <bob@brasko.net>
13983
13984         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13985         command.
13986         (Copyright): Update copyright.
13987
13988 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
13989
13990         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13991         tests to evaluate exponentiation expression.
13992
13993 2005-06-29  Andreas Schwab  <schwab@suse.de>
13994
13995         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13996         main to avoid warnings.
13997
13998         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13999
14000 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
14001
14002         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
14003         -stack-select-frame without arguments.
14004         (test_stack_frame_listing): Add test for newly implemented command
14005         -stack-info-frame.
14006
14007 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
14008
14009         * gdb.fortran/array-element.f: New file.
14010         * gdb.fortran/array-element.exp: New testcase.
14011
14012 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
14013
14014         * gdb.base/bigcore.exp: Correct checks for systems which can
14015         not dump a large core file.
14016
14017 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
14018
14019         * gdb.base/relocate.c: Add a copyright notice.
14020         (dummy): Remove.
14021         * gdb.base/relocate.exp: Test printing the values of variables
14022         from a relocatable file.
14023
14024 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
14025
14026         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
14027         excess MI output after an error.
14028
14029 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
14030
14031         * gdb.arch/alpha-step.c: New file.
14032         * gdb.arch/alpha-step.exp: New testcase.
14033
14034 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
14035             Dennis Brueni  <dennis@slickedit.com>
14036
14037         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
14038         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
14039         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
14040         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
14041         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
14042         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
14043         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
14044
14045 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
14046             Wu Zhou  <woodzltc@cn.ibm.com>
14047
14048         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
14049         IBM's xlc compiler.
14050         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
14051         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
14052
14053 2005-05-13  Jim Blandy  <jimb@redhat.com>
14054
14055         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
14056         calling gdb_suppress_entire_file.
14057         * gdb.base/charset.exp: Same.
14058         * gdb.base/call-rt-st.exp: Same.
14059
14060 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
14061
14062         * lib/gdb.exp (fullname_syntax): Added global regex.
14063         (fullname_syntax_POSIX): Ditto.
14064         (fullname_syntax_UNC): Ditto.
14065         (fullname_syntax_DOS_CASE): Ditto.
14066         (fullname_syntax_DOS): Ditto.
14067         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
14068         fullname_syntax variable to scope and use it.
14069         (test_file_list_exec_source_files): Ditto.
14070         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
14071
14072 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
14073
14074         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
14075
14076 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
14077
14078         * lib/gdb.exp (skip_altivec_tests): New function, based on
14079         check_vmx_hw_available from the GCC testsuite.
14080         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
14081         * lib/gdb.arch/altivec-regs.exp: Likewise.
14082
14083 2005-05-02  Jim Blandy  <jimb@redhat.com>
14084
14085         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
14086         calling gdb_suppress_entire_file.
14087
14088 2005-04-30  Randolph Chung  <tausq@debian.org>
14089
14090         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
14091         Slightly relax "sem_post" name checking.
14092
14093 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
14094
14095         * gdb.base/unload.exp: Use new shared library infrastructure.
14096
14097 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
14098
14099         * gdb.base/so-impl-ld.exp: Use new shared library
14100         infrastructure.
14101
14102 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
14103
14104         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
14105         * gdb.asm/h8300.inc: New file.
14106
14107 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
14108
14109         * gdb.base/shlib-call.exp: Change to use new shared library
14110         infrastructure.
14111
14112 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
14113
14114         * gdb.base/pending.exp: Change to use new shared library
14115         infrastructure.
14116
14117 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
14118
14119         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
14120         use test_compiler_info instead of gcc_compiled, and update copyright.
14121
14122 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
14123
14124         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
14125         shared objects being adjusted and update copyright years.
14126
14127 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
14128
14129         * ChangeLog: Correct some 2003-01-13 dates.
14130         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
14131         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
14132         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
14133         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
14134         gdb.trace/tfind.exp: Update copyright years.
14135
14136 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
14137             Daniel Jacobowitz  <dan@codesourcery.com>
14138
14139         * lib/gdb.exp (gdb_compile): Handle shlib=.
14140         (gdb_compile_shlib): New function.
14141
14142 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
14143
14144         * lib/gdb.exp (test_compiler_info): Give argument a default value.
14145
14146 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
14147
14148         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
14149         gdb.server.
14150         * configure.ac: Likewise.
14151         * configure: Regenerated.
14152         * gdb.gdbserver/Makefile.in: Moved to...
14153         * gdb.server/Makefile.in: ... here.
14154         * gdb.gdbserver/server.c: Moved to...
14155         * gdb.server/server.c: ... here.
14156         * gdb.gdbserver/server-run.exp: Moved to...
14157         * gdb.server/server-run.exp: ... here.
14158
14159 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
14160
14161         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
14162         * configure.ac: Create gdb.gdbserver/Makefile.
14163         * configure: Regenerated.
14164         * lib/gdbserver-support.exp: New file, derived from
14165         config/gdbserver.exp.
14166         * config/gdbserver.exp: Use gdbserver-support.exp.
14167         * gdb.gdbserver/Makefile.in: New file.
14168         * gdb.gdbserver/server.c: New file.
14169         * gdb.gdbserver/server-run.exp: New file.
14170
14171 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
14172
14173         * lib/gdb.exp (test_compiler_info): Return compiler_info
14174         if no arguments are given.
14175
14176 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
14177
14178         * gdb.arch/altivec-abi.exp: Check for compiler and set
14179         use altivec' flag accordingly.
14180         * gdb.arch/altivec-regs.exp: Likewise.
14181
14182 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
14183
14184         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
14185
14186 2005-03-27  Andreas Schwab  <schwab@suse.de>
14187
14188         * gdb.base/bigcore.c (main): Add missing mode argument in open
14189         call.
14190
14191 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
14192
14193         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
14194         downloads.
14195         * config/gdbserver.exp (gdb_load): Likewise.
14196
14197 2005-03-14  Paul Brook  <paul@codesourcery.com>
14198
14199         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
14200         targets.
14201
14202 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
14203
14204         * gdb.dwarf2/dup-psym.S: New file.
14205         * gdb.dwarf2/dup-psym.exp: New testcase.
14206
14207 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
14208
14209         * gdb.ada/exec_changed/first.adb: New file.
14210         * gdb.ada/exec_changed/second.adb: New file.
14211         * gdb.ada/exec_changed.exp: New testcase.
14212
14213 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
14214
14215         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
14216         (A2): New class.
14217         (main): Test operator+.
14218         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
14219         breakpoint test.
14220
14221         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
14222         * gdb.base/signull.exp: Disable if gdb,nosignals.
14223         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
14224         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
14225         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
14226         * gdb.mi/mi2-console.exp: Likewise.
14227         * gdb.trace/collection.exp (run_trace_experiment): Consume the
14228         continue output at start.
14229         (gdb_collect_locals_test): Robustify regexp.
14230         * gdb.trace/passc-dyn.exp: Fix comment typo.
14231         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
14232
14233 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
14234
14235         * gdb.asm/asm-source.exp: Add iq2000 case.
14236         * gdb.asm/iq2000.inc: New file.
14237
14238 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
14239
14240         * gdb.base/command.exp: Change hardcoded value to regular expression.
14241         * gdb.base/float.exp: Add powerpc to the list of targets checked.
14242
14243 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
14244
14245         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
14246         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
14247         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
14248         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
14249         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
14250
14251 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
14252
14253         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
14254         changes.
14255
14256 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
14257
14258         * lib/compiler.c: Add test for IBM's xlc compiler.
14259         * lib/compiler.cc: Likewise.
14260
14261 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
14262
14263         * gdb.ada/fixed_points.exp: Create compilation object directory
14264         before running the test.
14265         * gdb.ada/null_record.exp: Likewise.
14266         * gdb.ada/packed_array.exp: Likewise.
14267         * gdb.ada/start.exp: Likewise.
14268
14269 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
14270
14271         * gdb.ada/packed_array/pa.adb: New file.
14272         * gdb.ada/packed_array.exp: New testcase.
14273
14274 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
14275
14276         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
14277         files.
14278
14279         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
14280         on *-*-openbsd*.  Correctly match whitespace in regukar
14281         expressions.
14282
14283 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
14284
14285         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
14286         PR exp/1821
14287         * gdb.base/gdb1821.c: New test file.
14288         * gdb.base/gdb1821.exp: New test file.
14289
14290 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
14291
14292         * gdb.base/start.c: New file.
14293         * gdb.base/start.exp: New testcase.
14294
14295 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
14296
14297         * gdb.ada/start/dummy.adb: New file.
14298         * gdb.ada/start.exp: New testcase.
14299
14300 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
14301
14302         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
14303         for printing symbols and statistics.
14304         Add test for using relative pathnames in "maint print msymbols" test.
14305         Mark "maint info sections DATA" XFAIL on Cygwin.
14306         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
14307         tests.
14308
14309 2005-02-09  Andreas Schwab  <schwab@suse.de>
14310
14311         Committed by Andrew Cagney  <cagney@gnu.org>
14312         * gdb.base/remotetimeout.exp: New file.
14313
14314 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
14315
14316         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
14317
14318 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
14319
14320         * gdb.ada/gnat_ada.gpr: New file.
14321         * gdb.ada/gnat_ada.gin: Delete, no longer used.
14322         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
14323         * configure.ac: No longer generate gnat_ada.gpr.
14324         * configure: Regenerate.
14325         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
14326         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
14327         * gdb.ada/null_record/bar.ads: Likewise.
14328         * gdb.ada/null_record/bar.adb: Likewise.
14329         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
14330         * gdb.ada/null_record.exp (testdir): New variable.
14331         (testfile): executable is now in testdir subdirectory.
14332         (srcfile): Use full path to the main compilation unit.
14333         * gdb.ada/fixed_points.exp: Same changes as above.
14334
14335 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
14336
14337         * gdb.base/interp.exp: New test.
14338
14339 2005-01-24  Andrew Cagney  <cagney@gnu.org>
14340
14341         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
14342
14343 2005-01-19  Andrew Cagney  <cagney@gnu.org>
14344
14345         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
14346         configure.ac not configure.in.
14347
14348         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
14349         of powerpc*-*-*.
14350         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
14351         * gdb.base/list.exp (test_list_function)
14352         (test_list_filename_and_function): Ditto.
14353         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
14354
14355 2005-01-16  Andrew Cagney  <cagney@gnu.org>
14356
14357         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
14358
14359         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
14360
14361 2005-01-14  Andrew Cagney  <cagney@gnu.org>
14362
14363         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
14364         * gdb.mi/mi2-var-cmd.exp: Ditto.
14365
14366 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
14367
14368         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
14369
14370 2005-01-07  Andrew Cagney  <cagney@gnu.org>
14371
14372         * configure.ac: Rename configure.in, require autoconf 2.59.
14373         * configure: Re-generate.
14374         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
14375         * gdb.stabs/configure: Re-generate.
14376         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
14377         * gdb.hp/configure: Re-generate.
14378         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
14379         autoconf 2.59.
14380         * gdb.hp/gdb.objdbg/configure: Re-generate.
14381         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
14382         autoconf 2.59.
14383         * gdb.hp/gdb.defects/configure: Re-generate.
14384         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
14385         autoconf 2.59.
14386         * gdb.hp/gdb.compat/configure: Re-generate.
14387         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
14388         autoconf 2.59.
14389         * gdb.hp/gdb.base-hp/configure: Re-generate.
14390         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
14391         autoconf 2.59.
14392         * gdb.hp/gdb.aCC/configure: Re-generate.
14393
14394 2004-12-15  Jim Blandy  <jimb@redhat.com>
14395
14396         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
14397         under NPTL when there is debugging info available for libpthread.
14398
14399 2004-12-13  Jerome Guitton  <guitton@gnat.com>
14400
14401         * gdb.ada/fixed_points.c: New file.
14402         * gdb.ada/fixed_points.exp: New file.
14403
14404 2004-12-03  Randolph Chung  <tausq@debian.org>
14405
14406         * gdb.arch/pa-nullify.exp: New file.
14407         * gdb.arch/pa-nullify.s: New file.
14408
14409 2004-11-30  Randolph Chung  <tausq@debian.org>
14410
14411         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
14412         instead of "tbug".  Fix regexp to work properly with gdb_test.
14413
14414 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
14415
14416         * gdb.base/bitfields2.exp: New test.
14417         * gdb.base/bitfields2.c: New file.
14418
14419 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
14420
14421         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
14422
14423 2004-11-16  Randolph Chung  <tausq@debian.org>
14424
14425         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
14426
14427 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
14428
14429         * gdb.threads/threadapply.exp: Correct "macro details" test.
14430
14431 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
14432
14433         * gdb.threads/threadapply.exp: New test.
14434         * gdb.threads/threadapply.c: New file.
14435
14436 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
14437
14438         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
14439         frames.
14440
14441 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
14442
14443         * gdb.base/cursal.exp: New file.
14444         * gdb.base/cursal.c: New file.
14445
14446 2004-11-03  Andrew Cagney  <cagney@gnu.org>
14447
14448         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
14449
14450 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
14451
14452         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
14453         NetBSD/ELF targets.
14454
14455 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
14456
14457         * gdb.threads/bp_in_thread.c: New file, copied from
14458         pthread_cond_wait.c.
14459         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
14460         file, rather than reusing the .c file from another testcase.
14461
14462 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
14463
14464         * gdb.ada/null_record.exp: Check where we stopped after
14465         sending the start command, instead of where the associated
14466         temporary breakpoint was inserted.
14467
14468 2004-10-14  Andrew Cagney  <cagney@gnu.org>
14469
14470         * gdb.mi/gdb701.c (main): Return 0.
14471
14472 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
14473
14474         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
14475
14476 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
14477
14478         * gdb.threads/schedlock.c: Add comment markers to use to find
14479         line numbers.
14480         * gdb.threads/schedlock.exp: Adjust regex to handle the new
14481         comments.
14482         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
14483         breakpoint lines.
14484
14485 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
14486
14487         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
14488
14489 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
14490
14491         * configure.in: Add gdb.dwarf2.
14492         * configure: Regenerated.
14493         * Makefile.in: Add gdb.dwarf2.
14494         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
14495         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
14496         gdb.dwarf2/file1.txt: New files.
14497
14498 2004-10-11  Orjan Friberg  <orjanf@axis.com>
14499
14500         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
14501         of "run", since the latter doesn't work with remote targets.  Adjust
14502         the breakpoint numbering accordingly.
14503         * gdb.threads/pthread_cond_wait.exp: Ditto.
14504
14505 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
14506
14507         * gdb.base/overlays.exp: Update copyright years.
14508
14509 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
14510
14511         * gdb.base/overlays.exp: Disable if target is Linux.
14512
14513 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
14514
14515         * config/gdbserver.exp (gdb_load): Use right filename on remote.
14516
14517 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
14518
14519         * gdb.asm/asm-source.exp: Add m32r-linux target.
14520         * gdb.asm/m32r-linux.inc: New file.
14521
14522 2004-09-24  Andrew Cagney  <cagney@redhat.com>
14523             David Anderson <anderson@redhat.com>
14524
14525         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
14526         command fails, assume things will work.
14527         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
14528         (_GNU_SOURCE): Define.
14529         (print_unsigned, print_hex): Change parameter to "long long".
14530         (print_byte_count): New function, use to print byte counts.
14531         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
14532         O_LARGEFILE.
14533         (main): Compute an upper bound on a corefile in max_core_size.
14534         Limit memory chunk size to max_core_size.  Limit total memory
14535         allocated to max_core_size.
14536
14537 2004-09-23  Andrew Cagney  <cagney@gnu.org>
14538
14539         * gdb.base/bigcore.exp: Replace the code that creates a corefile
14540         from a separate process with code that creates a corefile by
14541         making the inferior dump core.
14542
14543 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
14544
14545         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
14546         block.
14547
14548 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
14549
14550         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
14551         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
14552         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
14553         Likewise.
14554
14555 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
14556
14557         * gdb.java/jprint.exp: New test case for java inferior call.
14558         * gdb.java/jprint.java: Ditto.
14559
14560 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
14561
14562         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
14563
14564 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
14565
14566         * gdb.threads/killed.c: Include <stdlib.h>.
14567         * gdb.threads/pthreads.c: Likewise.
14568
14569 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
14570
14571         * gdb.threads/killed.c: Add copyright notice.
14572
14573 2004-09-10  Jason Molenda  (jmolenda@apple.com)
14574
14575         * gdb.base/define.exp: Two new tests to verify zero space chars
14576         after 'if' and 'while' commands in a user-defined command is correctly
14577         parsed.
14578
14579 2004-09-08  Andrew Cagney  <cagney@gnu.org>
14580
14581         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
14582         delivery test with duplicate at end of file.
14583
14584 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
14585
14586         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14587
14588 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
14589
14590         * config/hppro.exp: Removed.
14591
14592 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
14593
14594         * config/sparclet.exp: Removed.
14595
14596 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
14597
14598         * config/udi.exp: Removed.
14599
14600 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
14601
14602         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14603         of "exp_continue".
14604         (advancei): Likewise.
14605
14606 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
14607
14608         * gdb.base/unload.exp: Fix so messages aren't duplicated.
14609
14610 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
14611
14612         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
14613         to check for nodebug in executable.
14614         * gdb.gdb/observer.exp (setup_test): Likewise.
14615         * gdb.gdb/selftest.exp (test_with_self): Likewise.
14616         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14617
14618 2004-09-01  Andrew Cagney  <cagney@gnu.org>
14619
14620         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14621         files.
14622
14623 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
14624
14625         * gdb.base/unload.exp: Fix expected warning message to match
14626         latest format.
14627
14628 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
14629
14630         * gdb.base/call-rt-st.exp: Fix typos.
14631
14632 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
14633
14634         * gdb.threads/thread_check.exp: New testcase.
14635         * gdb.threads/thread_check.c: New testcase.
14636
14637 2004-08-31  Andrew Cagney  <cagney@gnu.org>
14638
14639         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14640         (skip_to_handler_entry): New procedures.  Test stepping into a
14641         handler when the breakpoint is at the handler's entry point.
14642
14643 2004-08-30  Andrew Cagney  <cagney@gnu.org>
14644
14645         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14646         gdb/1757.
14647
14648 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
14649
14650         With code from Manoj Iyer <manjo@austin.ibm.com>:
14651         * lib/gdb.exp (gdb_file_cmd): Return more information in the
14652         return value.  Add an arm for "no debugging symbols found".
14653         Change a stray "error" to "perror".
14654         (gdb_run_cmd): Adapt to new return value.
14655         * gdb.base/remote.exp: Adapt to new return value.
14656         * gdb.gdb/complaints.exp: Likewise.
14657         * gdb.gdb/observer.exp: Likewise.
14658         * gdb.gdb/selftest.exp: Likewise.
14659         * gdb.gdb/xfullpath.exp: Likewise.
14660
14661 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
14662
14663         * gdb.threads/bp_in_thread.exp: New testcase.
14664
14665 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
14666
14667         Fix PR testsuite/1735.
14668         * gdb.threads/schedlock.c (thread_function): Add a cast
14669         to suppress a gcc warning.
14670         * gdb.threads/thread-specific.c (thread_function): Likewise.
14671
14672 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
14673
14674         * gdb.base/unload.c: Include <stdlib.h>.
14675
14676 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
14677
14678         From Paul Gilliam <pgilliam@us.ibm.com>:
14679         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14680         synchronized after the "return".
14681
14682 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
14683
14684         * gdb.mi/basics.c: Include <stdio.h>.
14685         * gdb.mi/pthreads.c: Include <stdlib.h>.
14686         * gdb.mi/var-cmd.c: Include <stdlib.h>.
14687
14688 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
14689
14690         * gdb.threads/schedlock.c: Add copyright notice.
14691
14692 2004-08-25  Andrew Cagney  <cagney@gnu.org>
14693
14694         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14695         (skip_over_handler, breakpoint_over_hander): New test procedures.
14696         (advance, advancei): Add a proper prefix, do not use
14697         rerun_to_main.
14698         * gdb.base/sigstep.c (main): Change to use an infinite loop.
14699
14700 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
14701
14702         * gdb.mi/basics.c: Add copyright notice.
14703         * gdb.mi/var-cmd.c: Add copyright notice.
14704
14705 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
14706
14707         * lib/gdb.exp: Remove signed_keyword_not_used.
14708         * lib/compiler.c: Likewise.
14709         * lib/compiler.cc: Likewise.
14710
14711 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
14712
14713         * gdb.base/whatis.c: Remove conditional disabling of "signed".
14714         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14715
14716 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
14717
14718         * gdb.base/whatis.c: Add copyright notice.
14719
14720 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
14721
14722         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
14723         it to skip the breakpoints encoded in the inline assembly.
14724
14725 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
14726
14727         * Makefile.in: Add gdb.fortran.
14728
14729 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
14730
14731         * gdb.base/call-sc.exp (test_scalar_returns):
14732         Fix cut-and-paste glitch in "Make fun return now".
14733
14734 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
14735
14736         * configure.in: Add gdb.fortran.
14737         * configure: Regenerate.
14738         * gdb.fortran/Makefile.in: New file.
14739         * lib/gdb.exp (skip_fortran_tests): New procedure.
14740
14741 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
14742
14743         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
14744         reference to bug-gnu@prep.ai.mit.edu.
14745         * gdb.mi/mi-var-child.exp: Likewise.
14746         * gdb.mi/mi-var-cmd.exp: Likewise.
14747         * gdb.mi/mi-var-display.exp: Likewise.
14748         * gdb.mi/mi2-var-block.exp: Likewise.
14749         * gdb.mi/mi2-var-child.exp: Likewise.
14750         * gdb.mi/mi2-var-cmd.exp: Likewise.
14751         * gdb.mi/mi2-var-display.exp: Likewise.
14752
14753 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
14754
14755         * gdb.base/unload.c (main): Make local variable msg const.
14756
14757 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
14758
14759         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
14760         to bug-gnu@prep.ai.mit.edu.
14761         * gdb.mi/mi-disassemble.exp: Likewise.
14762         * gdb.mi/mi-eval.exp: Likewise.
14763         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
14764         default line number.
14765         * gdb.mi/mi-return.exp: Likewise.
14766         * gdb.mi/mi-simplerun.exp: Likewise.
14767         * gdb.mi/mi-stack.exp: Likewise.
14768         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
14769         number with explicit range test.
14770         * gdb.mi/mi-watch.exp: Likewise.
14771         * gdb.mi/mi2-break.exp: Likewise.
14772         * gdb.mi/mi2-cli.exp: Likewise.
14773         * gdb.mi/mi2-disassemble.exp: Likewise.
14774         * gdb.mi/mi2-eval.exp: Likewise.
14775         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
14776         default line number.
14777         * gdb.mi/mi2-return.exp: Likewise.
14778         * gdb.mi/mi2-simplerun.exp: Likewise.
14779         * gdb.mi/mi2-stack.exp: Likewise.
14780         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
14781         number with explicit range test.
14782         * gdb.mi/mi2-watch.exp: Likewise.
14783
14784 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
14785
14786         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14787         * gdb.cp/m-static.exp: Likewise.
14788         * gdb.cp/rtti.exp: Likewise.
14789
14790 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
14791
14792         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14793
14794 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
14795
14796         * ChangeLog: Prefix Local Variables with semi-colons and indent
14797         the reference to older ChangeLog files, to fix fontification in
14798         Emacs.
14799
14800 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
14801
14802         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14803         * gdb.mi/mi2-break.exp: Likewise.
14804
14805 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
14806
14807         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14808
14809 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
14810
14811         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14812
14813 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
14814
14815         * gdb.cp/classes.exp: Remove unused declarations.  Just let
14816         test names default instead of providing special names.  Remove
14817         extraneous demangler test.
14818
14819 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
14820
14821         * gdb.base/unload.exp: New test for breakpoints in dynamically
14822         loaded libraries.
14823         * gdb.base/unload.c: Ditto.
14824         * gdb.base/unloadshr.c: Ditto.
14825
14826 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
14827
14828         * gdb.cp/classes.exp (test_ptype_class_objects): Call
14829         cp_test_ptype_class.
14830         (test_enums): Likewise.
14831
14832 2004-08-10  Andrew Cagney  <cagney@gnu.org>
14833
14834         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14835         files.
14836
14837 2004-08-10  Andrew Cagney  <cagney@gnu.org>
14838
14839         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14840         init_malloc call.
14841
14842 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
14843
14844         * ChangeLog: Add copyright notice.  The notice is copied
14845         from emacs 21.3 top level ChangeLog.
14846
14847 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
14848
14849         * lib/cp-support.exp: New file.
14850         * lib/cp-support.exp (cp_test_type_class): New function.
14851         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14852         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14853         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14854         cp_test_ptype_class.
14855
14856 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
14857
14858         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14859         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14860         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14861         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14862         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14863         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14864         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14865         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14866         gdb.mi/mi2-watch.exp: Update copyright years.
14867
14868 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
14869
14870         * gdb.base/sigaltstack.exp: Provide proper anchoring.
14871
14872 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
14873
14874         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14875         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14876         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14877         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14878         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14879         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14880         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14881         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14882         gdb.mi/mi-watch.exp: Update copyright years.
14883
14884 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
14885
14886         PR gdb/1738
14887         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14888         from a breakpoint with a pending signal.
14889
14890 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
14891
14892         PR gdb/1736
14893         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14894         * gdb.base/sigaltstack.exp (finish_test): Consume output until
14895         the prompt.
14896         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14897
14898 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
14899
14900         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14901
14902 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
14903
14904         PR gdb/1736
14905         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
14906         for i?86-*-linux*.
14907
14908 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
14909
14910         * gdb.arch/i386-prologue.exp: Compile without debug information.
14911
14912 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
14913
14914         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14915         rather than asking gdb to search.
14916
14917 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
14918
14919         * gdb.base/gcore.c: Include <string.h>.
14920
14921 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
14922
14923         * gdb.base/gcore.c: Add copyright notice.
14924
14925 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
14926
14927         * gdb.base/freebpcmd.c: Include <stdio.h>.
14928         * gdb.base/long_long.c: Include <string.h>.
14929         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14930         * gdb.base/siginfo.c: Include <string.h>.
14931         * gdb.base/sigstep.c: Include <string.h>.
14932
14933 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
14934
14935         * gdb.base/complex.c: Include <stdlib.h>.
14936
14937 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
14938
14939         * gdb.base/complex.c: Add copyright notice.
14940
14941 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
14942
14943         * gdb.base/charset.c: Include <stdlib.h>.
14944
14945 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
14946
14947         * gdb.base/auxv.c: Include <stdlib.h>.
14948
14949 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
14950
14951         * gdb.base/auxv.c: Add copyright notice.
14952
14953 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
14954
14955         * gdb.base/coremaker.c: Add copyright notice.
14956         * gdb.base/coremaker2.c: Add copyright notice.
14957
14958 2004-08-04  Andrew Cagney  <cagney@gnu.org>
14959
14960         * gdb.base/store.exp: Update copyright.
14961         (check_set, up_set, check_struct, up_struct): Add a prefix to test
14962         names, do not import gdb_prompt.
14963
14964 2004-08-01  Andrew Cagney  <cagney@gnu.org>
14965
14966         Fix PR testsuite/1729.
14967         * gdb.base/dump.exp: Add test name to callers of capture_value, do
14968         not use capture_value with value 4.
14969         (capture_value): Add optional test name parameter.
14970         (test_reload_saved_value, test_restore_saved_value): Use $msg as
14971         the prefix, pass to capture_value.
14972
14973 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
14974
14975         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14976         * gdb.arch/i386-prologue.c (standard): New prototype and function.
14977         (main): Call new function.
14978
14979 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
14980
14981         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14982
14983 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
14984
14985         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14986
14987 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
14988
14989         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
14990         Accept more values of vtbl pointer.  Remove some messages
14991         about "obsolete gcc or gdb".
14992
14993 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
14994
14995         * gdb.cp/classes.exp: Accept more varieties of ptype output.
14996
14997 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
14998
14999         * gdb.base/asm-source.exp: Properly convert target board
15000         debug flags from gcc format to binutils format.
15001
15002 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
15003
15004         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
15005         gdb1718".  PR backtrace/1718 partially fixed.
15006
15007 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
15008
15009         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
15010
15011 2004-07-26  Nick Clifton  <nickc@redhat.com>
15012
15013         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
15014         good default value for a specific architecture is available then
15015         set it to that value.  Otherwise default to the -gstabs switch.
15016         Remove the -g... switches from the asm-flags variable.  Allow the
15017         target board info to override the value if it wants to.  Pass the
15018         switch on the assembler command line.
15019
15020 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
15021
15022         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
15023         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
15024         (main): Call new function.
15025
15026 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
15027
15028         Test for PR exp/1715.
15029         * gdb.base/radix.exp: Refactor common procedures.  Make all
15030         test names unique.  Change XFAIL to KFAIL.
15031
15032 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
15033
15034         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
15035         * gdb.ada/gnat_ada.gin: ... to here.
15036         * configure.in: Use gnat_ada.gin.
15037         * configure: Regenerate.
15038
15039 2004-07-20  Andrew Cagney  <cagney@gnu.org>
15040
15041         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
15042         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
15043         XFAILs.  Clean up test messages and comments.  Check backtraces.
15044         Delete re-sync code.
15045
15046 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
15047
15048         Fix PR cli/740.
15049         * gdb.base/annota1.exp: Honor gdb,nosignals.
15050         * gdb.base/annota3.exp: Likewise.
15051
15052 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
15053
15054         * lib/java.exp: Update copyright notice.
15055
15056 2004-07-19  Andrew Cagney  <cagney@gnu.org>
15057
15058         * gdb.base/selftest.exp: Copy file from here ...
15059         * gdb.gdb/selftest.exp: ... to here.
15060
15061 2004-07-16  Andrew Cagney  <cagney@redhat.com>
15062
15063         * lib/insight-support.exp: Delete file.
15064         * lib/java.exp (java_init): Fix copyright.
15065
15066 2004-07-16  Andrew Cagney  <cagney@gnu.org>
15067
15068         * gdb.base/restore.c: Append "prologue" to comments marking the a
15069         function's prologue.
15070         * gdb.base/restore.exp: Update copyright, re-indent.
15071         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
15072         callerN" prefix where needed.  Update patterns that match a
15073         function's prologue.
15074
15075 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
15076
15077         * gdb.base/restore.c: Add copyright notice.
15078
15079 2004-07-16  Andrew Cagney  <cagney@gnu.org>
15080
15081         * gdb.base/logical.exp: Update copyright.
15082         (evaluate): New procedure.  Use to re-implement tests using
15083         several tables.
15084
15085 2004-07-14  Martin Hunt  <hunt@redhat.com>
15086
15087         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
15088         which fixes some problems where init.tcl was not found.
15089
15090 2004-07-13  Andrew Cagney  <cagney@gnu.org>
15091
15092         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
15093         (check_sizeof, check_valueof): Do not include the output in the
15094         test name.  Use gdb_test.
15095         (get_valueof): Use gdb_test_multiple.
15096
15097         * gdb.base/step-test.exp: Update copyright.  Use
15098         gdb_test_multiple.  Ensure that test names do not include
15099         architecture dependent output.
15100
15101         * gdb.gdb/observer.exp: Update copyright.
15102         (setup_test): Use gdb_test_multiple.
15103         (attach_first_observer, attach_second_observer)
15104         (attach_third_observer, detach_first_observer)
15105         (detach_second_observer, detach_third_observer)
15106         (reset_counters, check_counters): Make $message a prefix.
15107         (test_normal_stop_notifications): Add "args" parameter - a list of
15108         init functions to be called.  Make $message a prefix,
15109         (test_observer_normal_stop): Change the message prefixes so that
15110         they are unique, pass the attach / detach procedures to
15111         test_normal_stop_notifications.
15112
15113         * gdb.base/signull.exp (test_segv): Prefix all tests with
15114         "${name}".  Clean up test messages.
15115
15116         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
15117
15118         * gdb.base/ena-dis-br.exp: Update copyright.
15119         (break_at): New function.  Replace send_gdb with gdb_test,
15120         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
15121         ignore count, not stopped at bpt", with KFAIL.
15122
15123 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
15124
15125         * gdb.base/attach.exp: Remove cleanupfile handling.
15126
15127 2004-07-12  Andrew Cagney  <cagney@gnu.org>
15128
15129         * gdb.base/annota1.exp: Cleanup corefile test name.
15130         * gdb.base/annota3.exp: Ditto.
15131
15132 2004-07-12  Andrew Cagney  <cagney@gnu.org>
15133
15134         * gdb.base/signals.exp: Clean up copyright, re-indent.
15135
15136         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
15137         gdb_test and gdb_test_multiple.
15138
15139 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
15140
15141         * gdb.java/jmain.exp: Fix expected line number for main to
15142         break at.  Set XFAIL for break at main test since gcj does not
15143         provide line number info for first statement in main.
15144
15145 2004-07-08  Andrew Cagney  <cagney@gnu.org>
15146
15147         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
15148
15149         * gdb.base/sigbpt.exp: Make the common part of each test name a
15150         prefix instead of suffix.
15151
15152 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
15153
15154         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
15155         test from test_tbreak_creation_and_listing to
15156         test_file_list_exec_source_file
15157         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
15158         Changed name of test from test_tbreak_creation_and_listing to
15159         test_file_list_exec_source_file
15160
15161 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
15162
15163         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
15164         the jmisc() constructor instead of <init>.
15165         * gdb.java/jmisc1.exp: Ditto.
15166
15167 2004-07-07  Andrew Cagney  <cagney@gnu.org>
15168
15169         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
15170         corrupting the PC.
15171
15172 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
15173
15174         * gdb.cp/templates.exp: Accept whitespace change in demangler
15175         output.
15176
15177 2004-07-06  Andrew Cagney  <cagney@gnu.org>
15178
15179         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
15180
15181 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
15182
15183         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
15184         * lib/compiler.cc: Likewise.
15185
15186 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
15187
15188         * lib/compiler.cc: Work around string preprocessing problem
15189         with old hp c++ compiler.
15190         * lib/compiler.c: Likewise.
15191
15192 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
15193
15194         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
15195         directives to conditionalize symbol prefixing.
15196         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
15197         additional_flags handling.  Add underscore prefix for Cygwin.
15198         * gdb.arch/i386-unwind.c: Use preprocessor directives to
15199         conditionalize symbol prefixing.
15200         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
15201         additional_flags handling.  Add underscore prefix for Cygwin.
15202
15203 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
15204
15205         * gdb.base/bigcore.exp: Skip test on Cygwin.
15206
15207 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
15208
15209         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
15210         formats for "info register".  Use gdb_test_multiple.  Fix
15211         the "invalid register" test.
15212
15213 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
15214
15215         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
15216         PID for Cygwin.  Add Cygwin specific strings to check for in some
15217         tests.
15218         (do_attach_tests): Add a test for user interaction when attaching
15219         to a process with no matching symbol table already loaded.
15220
15221 2004-06-26  Andrew Cagney  <cagney@gnu.org>
15222
15223         Test PR java/1567 and PR java/1565.
15224         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
15225         * gdb.java/jmisc2.exp: Delete file.
15226
15227 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
15228
15229         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
15230
15231 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
15232
15233         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
15234         attach process.
15235
15236 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
15237
15238         * gdb.cp/pr-1553.exp: Remove.
15239
15240 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
15241
15242         * gdb.cp/pr-1553.cc: Remove.
15243         * gdb.cp/pr-1553.exp: Disable this test.
15244
15245 2004-06-20  Jim Blandy  <jimb@redhat.com>
15246
15247         Fix PR testsuite/1680.
15248         * gdb.arch/i386-sse.exp: Properly quote curly braces in
15249         regular expressions.
15250
15251 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
15252
15253         Fix PR testsuite/1679.
15254         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
15255         Issue an UNSUPPORTED result instead.
15256
15257 2004-06-18  Jim Blandy  <jimb@redhat.com>
15258
15259         * gdb.base/charset.exp: Only send a control-C if we see a new
15260         prompt and incomplete command.
15261
15262 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
15263
15264         * gdb.cp/pr-574.cc: Add copyright notice.
15265
15266 2004-06-17  Jim Blandy  <jimb@redhat.com>
15267
15268         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
15269         cases where the regexp has no groups; this grabs random text from
15270         the previous test suite, whatever that was.
15271
15272 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
15273
15274         * gdb.cp/printmethod.cc: Add copyright notice.
15275
15276 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
15277
15278         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
15279
15280 2004-06-16  Andrew Cagney  <cagney@gnu.org>
15281
15282         * gdb.base/signull.c: Update copyright.  Include <string.h>.
15283         (bowler): Replace data_pointer with data_read
15284         and data_write cases.  Add code_descriptor case.
15285         (zero, desc): New array and pointer.
15286         (data, code): Change to simple pointers.
15287         * gdb.base/signull.exp: Fix probe pattern matching a function
15288         descriptor SIGSEGV.  Replace data_pointer with data_read and
15289         data_write tests.
15290
15291 2004-06-16  Andrew Cagney  <cagney@gnu.org>
15292
15293         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
15294
15295 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
15296
15297         * gdb.base/long_long.c: Add copyright notice.
15298
15299 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
15300
15301         * gdb.base/long_long.exp: Remove reference to
15302         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
15303         to gdb_breakpoint and gdb_continue_to_breakpoint.
15304
15305 2004-06-14  Jim Blandy  <jimb@redhat.com>
15306
15307         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
15308         endian case.
15309
15310 2004-06-14  Andrew Cagney  <cagney@gnu.org>
15311
15312         * gdb.base/gcore.exp (capture_command_output): Delete the always
15313         passing tests containing inferior values.
15314         * gdb.base/ending-run.exp: Do not include the breakpoint address
15315         in the test message.  Update copyright.
15316         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
15317         size in the test name, use gdb_test_multiple.  Update copyright.
15318
15319 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
15320
15321         * gdb.cp/ref-types.cc: Add copyright notice.
15322
15323 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
15324
15325         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
15326         hp_aCC_compiler.
15327         * lib/compiler.cc: Likewise.
15328         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
15329         'set' commands.  Log diagnostics for other lines.  Set
15330         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
15331
15332 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
15333
15334         * gdb.cp/try_catch.cc: Add copyright notice.
15335
15336 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
15337
15338         * gdb.cp/userdef.cc: Add copyright notice.
15339
15340 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
15341
15342         * gdb.cp/virtfunc.cc: Add copyright notice.
15343
15344 2004-06-11  Randolph Chung  <tausq@debian.org>
15345
15346         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
15347         problem.
15348
15349 2004-06-10  Andrew Cagney  <cagney@gnu.org>
15350
15351         * lib/compiler.cc, lib/compiler.c: Append either
15352         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
15353         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
15354         instead of gcc-3-3.
15355
15356 2004-06-09  Andrew Cagney  <cagney@gnu.org>
15357
15358         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
15359         gdb/1455, bug is specific to "long long" and "double".
15360
15361         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
15362         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
15363         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
15364         fixed.
15365
15366 2004-06-09  Andrew Cagney  <cagney@gnu.org>
15367
15368         * gdb.base/structs.exp (test_struct_returns): Replace
15369         "return_value_unknown" and "finish_value_unknown" by
15370         "return_value_known" and "finish_value_known".  Instead of
15371         "return_value_unknown" iff "finish_value_unknown", check
15372         "return_value_known" implies "finish_value_known".
15373
15374 2004-06-08  Martin Hunt  <hunt@redhat.com>
15375
15376         * gdb.base/float.exp: Add pattern for mips targets.
15377
15378 2004-06-08  Randolph Chung  <tausq@debian.org>
15379
15380         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
15381         message for unknown architectures more clear.
15382
15383 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
15384
15385         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
15386         start the execution of the program.
15387
15388 2004-06-07  Jim Blandy  <jimb@redhat.com>
15389
15390         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
15391         * gdb.arch/i386-cpuid.h: New helper file.
15392
15393 2004-06-07  Randolph Chung  <tausq@debian.org>
15394
15395         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
15396         has started.
15397
15398 2004-06-04  Roland McGrath  <roland@redhat.com>
15399
15400         Fix PR gdb/1647.
15401         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
15402         differently to be robust to output buffering differences.
15403
15404 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
15405
15406         * gdb.threads/pthreads.exp: Update copyright years.
15407         (check_control_c): Change asynchronous 'after' to synchronous.
15408
15409 2004-06-04  Roland McGrath  <roland@redhat.com>
15410
15411         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
15412         next gdb prompt.
15413
15414 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
15415
15416         Fix PR gdb/1636.
15417         * gdb.threads/manythreads.exp: Change asynchronous 'after'
15418         calls to synchronous.
15419
15420 2004-05-26  Jim Blandy  <jimb@redhat.com>
15421
15422         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
15423
15424 2004-05-24  Randolph Chung  <tausq@debian.org>
15425
15426         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
15427         * gdb.asm/pa.inc: New file.
15428
15429 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
15430
15431         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
15432
15433 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
15434             Daniel Jacobowitz  <drow@mvista.com>
15435
15436         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
15437         GDB prompt.
15438
15439 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15440
15441         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
15442         setjmp/longjmp.  Use sigaction instead of signal.
15443
15444 2004-05-19  J. Brobecker  <brobecker@gnat.com>
15445             Michael Snyder  <msnyder@redhat.com>
15446
15447         * gdb.threads/pthread_cond_wait.c: New file.
15448         * gdb.threads/pthread_cond_wait.exp: New testcase.
15449
15450 2004-05-13  Andrew Cagney  <cagney@redhat.com>
15451
15452         * gdb.base/signull.exp, gdb.base/signull.c: New files.
15453         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
15454
15455 2004-05-11  Andrew Cagney  <cagney@redhat.com>
15456
15457         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
15458         fixed but revealed gdb/1639.
15459
15460 2004-05-10  Andrew Cagney  <cagney@redhat.com>
15461
15462         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
15463         func1" and "next to 2nd alarm", kernel bug avoided.
15464
15465 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
15466
15467         PR external/1568
15468         * gdb.base/bigcore.exp: Check the size of the dumped core file.
15469         XFAIL if it is smaller than bytes_allocated.
15470         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
15471         (main): Make chunks_allocated unsigned.  Correct comment.
15472
15473 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
15474
15475         * gdb.arch/powerpc-aix-prologue.c: New file.
15476         * gdb.arch/powerpc-aix-prologue.exp: New file.
15477
15478 2004-05-07  Jim Blandy  <jimb@redhat.com>
15479
15480         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
15481         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
15482
15483 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
15484
15485         * gdb.base/sep.exp: No longer setup_kfail when the program was
15486         built with dwarf2.
15487
15488 2004-05-05  Jim Ingham  <jingham@apple.com>
15489
15490         * gdb.base/pending.exp: Make sure pending breakpoints
15491         preserve the ignore count.
15492
15493 2004-04-27  Jerome Guitton  <guitton@gnat.com>
15494
15495         * i386-prologue.exp: Add testcase for jump instruction as first
15496         instruction of the real code.
15497         * i386-prologue.c (jump_at_beginning): New function.
15498
15499 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
15500
15501         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
15502         x86_64-*-*.
15503
15504 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
15505
15506         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
15507         i*86-*-*.
15508
15509 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
15510
15511         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
15512         expression that checks the return type.
15513
15514 2004-04-23  Andrew Cagney  <cagney@redhat.com>
15515
15516         * gdb.base/call-sc.exp: New test of scalar call/return values.
15517         * gdb.base/call-sc.c: Ditto.
15518
15519 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15520
15521         * gdb.threads/manythreads.c: Reduce thread stack size.
15522
15523 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
15524
15525         * gdb.threads/manythreads.c: Add copyright notice.
15526
15527 2004-04-23  Andrew Cagney  <cagney@redhat.com>
15528
15529         * gdb.base/siginfo.exp: Better handle step out of signal.
15530         * gdb.base/sigstep.exp: Ditto.
15531
15532 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
15533             Daniel Jacobowitz  <drow@mvista.com>
15534
15535         * gdb.threads/manythreads.c: New testcase.
15536         * gdb.threads/manythreads.exp: Ditto.
15537
15538 2004-04-22  Jim Blandy  <jimb@redhat.com>
15539
15540         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
15541         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
15542
15543 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
15544
15545         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
15546
15547 2004-04-21  Andrew Cagney  <cagney@redhat.com>
15548
15549         * gdb.base/sigstep.c: New file.
15550         * gdb.base/sigstep.exp: New file.
15551
15552 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
15553
15554         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
15555         call to observer_notify_normal_stop.
15556
15557 2004-04-15  Andrew Cagney  <cagney@redhat.com>
15558
15559         * gdb.base/siginfo.c: New file.
15560         * gdb.base/siginfo.exp: New file.
15561
15562 2004-04-12  J. Brobecker  <brobecker@gnat.com>
15563
15564         * gdb.base/sep.exp: Fix typo in comment.
15565
15566 2004-04-12  J. Brobecker  <brobecker@gnat.com>
15567
15568         * gdb.base/sep.c: New file.
15569         * gdb.base/sep-proc.c: New file.
15570         * gdb.base/sep.exp: New testcase.
15571
15572 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
15573
15574         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15575         support.
15576
15577 2004-04-05  Andrew Cagney  <cagney@redhat.com>
15578
15579         * gdb.base/sigaltstack.c: New file.
15580         * gdb.base/sigaltstack.exp: New file.
15581
15582 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
15583
15584         * gdb.base/foll-fork.exp: Update the expected output for
15585         "help set follow-fork-mode", to match a change that was made
15586         to the help of this variable on 2004-01-13.
15587
15588 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
15589
15590         * lib/ada.exp: Add copyright notice.
15591         * bar.ads: Likewise.
15592         * bar.adb: Likewise.
15593         * null_record.adb: Likewise.
15594         * null_record.exp: Likewise.
15595         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15596
15597 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
15598
15599         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15600         * configure: Regenerate.
15601
15602 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
15603
15604         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15605         to build the application. Remove the message printed when in
15606         verbose mode, redundant with the UNSUPPORTED message above.
15607
15608 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
15609
15610         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15611         * gdb.ada (null_record.exp): New testcase.
15612
15613 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
15614
15615         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15616
15617 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
15618
15619         * gdb.ada: New subdirectory.
15620         * gdb.ada/Makefile.in: New file.
15621         * gdb.ada/gnat_ada.gpr.in: New file.
15622
15623 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
15624
15625         * lib/ada.exp: New file.
15626
15627 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
15628
15629         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15630         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15631
15632 2004-03-22  Andrew Cagney  <cagney@redhat.com>
15633
15634         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15635         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15636         Problem identified by Ulrich Weigand.
15637
15638 2004-03-17  David Carlton  <carlton@kealia.com>
15639
15640         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15641         PR c++/826.
15642
15643 2004-03-16  Roland McGrath  <roland@redhat.com>
15644
15645         * gdb.base/auxv.exp: New file.
15646         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15647
15648 2004-03-12  David Carlton  <carlton@kealia.com>
15649
15650         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
15651         * gdb.cp/pr-1553.cc: Ditto.
15652         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15653         pass branch.
15654
15655 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
15656
15657         * gdb.cp/templates.exp: Accept more template types.
15658
15659 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
15660
15661         From Corinna Vinschen with modifications.
15662         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15663         local variable obj_with_enum.
15664         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15665         results with obj_with_enum.
15666
15667 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
15668
15669         * gdb.cp/classes.cc: New file, copied from misc.cc.
15670         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15671
15672 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
15673
15674         * gdb.cp/misc.cc: Add copyright notice.
15675
15676 2004-03-05  David Carlton  <carlton@kealia.com>
15677
15678         * gdb.cp/rtti.exp: Add 'print *obj3' test.
15679         * gdb.cp/rtti.h: Update copyright.
15680         (namespace n2::n3): New.
15681         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15682         (n2::n3::func3): New.
15683         (main): Call n2::n3::func3.
15684         * gdb.cp/rtti2.cc: Update copyright.
15685         (n2::create3): New.
15686
15687 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
15688
15689         * gdb.asm/openbsd.inc: Fix typo.
15690
15691 2004-03-03  Fred Fish  <fnf@redhat.com>
15692
15693         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15694         "val" instead of unused "size".  Update copyright year.
15695
15696 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
15697
15698         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
15699         to use unsigned char.
15700         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15701         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15702
15703 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
15704
15705         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15706         line of output.
15707
15708 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
15709
15710         * gdb.base/relocate.c (dummy): Initialize.
15711
15712 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
15713
15714         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
15715         a breakpoint at exit.
15716
15717 2004-02-27  Fred Fish  <fnf@redhat.com>
15718
15719         * gdb.base/chng-syms.exp: Add expect condition to match failing
15720         case that isn't a timeout.
15721
15722 2004-02-27  Andrew Cagney  <cagney@redhat.com>
15723
15724         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15725         support.
15726
15727 2004-02-26  Fred Fish  <fnf@redhat.com>
15728
15729         * gdb.arch/gdb1431.c: Remove.
15730         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15731         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15732         of "until" incorrectly.
15733
15734 2004-02-26  J. Brobecker  <brobecker@gnat.com>
15735
15736         * gdb.cp/class2.cc (empty): New class.
15737         (refer): New function.
15738         (main): Declare an object of type empty and use it.
15739         * gdb.cp/class2.exp: Print the value of an object of type empty.
15740
15741 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
15742
15743         * gdb.base/langs.exp: Update query string to match the
15744         new nquery format used for pending breakpoints.
15745
15746 2004-02-26  Andrew Cagney  <cagney@redhat.com>
15747
15748         Fix PR i18n/1570.
15749         * gdb.base/charset.c: Update copyright notice.
15750         (main, init_string): Remove the escape character '\e' tests.
15751         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15752         * gdb.base/charset.exp (valid_host_charset): Ditto.
15753         * gdb.base/setvar.exp: Ditto.
15754
15755 2004-02-24  Andrew Cagney  <cagney@redhat.com>
15756
15757         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15758         mmapped data in core file" PASS and FAIL messages consistent.
15759
15760         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15761         setting a breakpoint.  Work around PR java/1565.
15762
15763 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
15764
15765         * lib/gdb.exp (gdb_breakpoint): Update query string to match
15766         new nquery format.
15767         * gdb.base/pending.exp: Ditto.
15768
15769 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
15770
15771         * configure.in: Run stabs tests on *BSD.
15772         * configure: Regenerated.
15773
15774 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
15775
15776         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15777
15778 2004-02-20  Fred Fish  <fnf@redhat.com>
15779
15780         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15781         blank in test for "returns short", for consistency with other
15782         "returns xxx" tests.  Update copyright year.
15783
15784 2004-02-19  Fred Fish  <fnf@redhat.com>
15785
15786         New testcase for PR breakpoint/1558.
15787         * gdb.arch/gdb1558.exp: New file.
15788         * gdb.arch/gdb1558.c: New file.
15789
15790 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
15791
15792         * gdb.base/nodebug.exp: Fix typo.
15793
15794 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15795
15796         Committed by Jim Blandy  <jimb@redhat.com>.
15797
15798         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15799
15800         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15801
15802         * gdb.base/float.exp: Support s390*-*-* targets.
15803
15804 2004-02-17  Adam Fedor  <fedor@gnu.org>
15805
15806         * gdb.base/gdb1555.exp: New file.
15807         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15808
15809 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
15810
15811         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15812
15813 2004-02-16  Fred Fish  <fnf@redhat.com>
15814
15815         * gdb.arch/gdb1291.c: Remove
15816         * gdb.arch/gdb1291.s: New test input file.
15817         * gdb.arch/gdb1291.exp: Expand test to check case that should not
15818         fail.  Test for correct result, known incorrect result, other
15819         failures and timeouts.
15820
15821 2004-02-16  Andrew Cagney  <cagney@redhat.com>
15822
15823         * gdb.base/bigcore.exp: New file.
15824         * gdb.base/bigcore.c: New file.
15825
15826 2004-02-13  Andrew Cagney  <cagney@redhat.com>
15827
15828         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15829         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15830         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15831         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15832         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15833         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15834         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15835         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15836         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15837         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15838
15839 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
15840
15841         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15842         executed is an alloc instruction.
15843
15844 2004-02-11  David Carlton  <carlton@kealia.com>
15845
15846         * gdb.cp/breakpoint.exp: New.
15847         * gdb.cp/breakpoint.cc: New.
15848
15849 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
15850
15851         Partial fix for PR gdb/1543.
15852         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15853         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15854         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15855         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15856         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15857         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15858         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15859         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15860         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15861         to bug-gdb@prep.ai.mit.edu .
15862         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15863         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15864         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15865         Likewise.
15866
15867 2004-02-10  Andrew Cagney  <cagney@redhat.com>
15868
15869         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15870         using gdb_internal_error_resync.
15871
15872 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
15873
15874         * gdb.threads/thread-specific.exp: Stop early if no threads are
15875         found.
15876
15877 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
15878
15879         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15880
15881 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
15882
15883         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15884         breakpoints.
15885
15886 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
15887
15888         * config/sim.exp (gdb_load): Handle $arg == "".
15889         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15890         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15891
15892 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
15893
15894         * gdb.base/maint.exp: Update test to reflect
15895          obstack changes.
15896
15897 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
15898
15899         * gdb.base/pendshr.c (pendfunc): New function that calls
15900         pendfunc1.
15901         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15902
15903 2004-02-04  Fred Fish  <fnf@redhat.com>
15904
15905         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15906         function symbols and update copyright years.
15907         * gdb.arch/gdb1291.c: Ditto.
15908
15909 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
15910
15911         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15912
15913 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
15914
15915         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15916
15917 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
15918
15919         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15920
15921 2004-02-02  Fred Fish  <fnf@redhat.com>
15922
15923         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15924         remote targets.  Update copyright years.
15925
15926 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
15927
15928         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15929         support.
15930         * gdb.base/langs.exp: Fix test which attempts to create
15931         breakpoint on non-existent function to handle new pending
15932         support.
15933         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15934         a breakpoint.
15935         * gdb.base/pending.exp: New test.
15936         * gdb.base/pending.c: New file.
15937         * gdb.base/pendshr.c: Ditto.
15938
15939 2004-02-02  David Carlton  <carlton@kealia.com>
15940
15941         * gdb.cp/overload.exp: Add overloadNamespace tests.
15942         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15943         (overloadNamespace, XXX): New.
15944         (main): Call XXX::marker2.
15945
15946 2004-02-01  Fred Fish  <fnf@redhat.com>
15947
15948         * gdb.base/dump.exp: Use runto_main instead of "runto main".
15949         * gdb.base/finish.exp: Ditto.
15950         * gdb.base/gcore.exp: Ditto.
15951         * gdb.base/huge.exp: Ditto.
15952         * gdb.base/info-proc.exp: Ditto.
15953         * gdb.base/return2.exp: Ditto.
15954         * gdb.threads/gcore-thread.exp: Ditto.
15955
15956 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
15957
15958         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15959
15960 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
15961
15962         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15963         that opening the file succeeds on OpenBSD.
15964
15965 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
15966
15967         * gdb.threads/thread-specific.c: New file.
15968         * gdb.threads/threads-specific.exp: New test script.
15969         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15970         to expect_out.
15971
15972 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
15973
15974         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
15975         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15976         only on the "print_small_structs from print_long_arg_list" test.
15977
15978 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
15979
15980         * gdb.base/completion.exp: Kill a stray backslash.
15981
15982         From Jim Ingham <jingham@apple.com>:
15983         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15984         agrees with the result from sending a tab.
15985
15986 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
15987
15988         * gdb.base/chng-syms.exp: Remove stray newline.
15989
15990 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
15991
15992         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15993         *-*-openbsd*.
15994         * gdb.asm/openbsd.inc: New file.
15995
15996 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
15997
15998         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
15999         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
16000         *-*solaris2*.  Remove commented out default settings for
16001         asm-flags.  Replace gdb_compile with target_link.
16002
16003 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
16004
16005         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
16006         for all tests.  Remove old hp-ux and cygnus xfail cases.
16007
16008 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
16009
16010         * gdb.base/chng-syms.exp: New file.
16011         * gdb.base/chng-syms.c: New file.
16012
16013 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
16014
16015         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
16016         Provide arms for current output in all my configurations.
16017
16018 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
16019
16020         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
16021         * lib/compiler.cc: Likewise.
16022         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
16023         get the right preprocessor.  Eval the output directly.  Remove
16024         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
16025         hp_f77_compiler and hp_f90_compiler completely.
16026         (gdb_preprocess): Delete.
16027         (get_compiler): Delete.
16028
16029 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
16030
16031         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
16032         <string.h>.
16033
16034 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
16035
16036         * gdb.mi/mi-stack.exp: Update copyright.
16037
16038 2004-01-23  David Carlton  <carlton@kealia.com>
16039
16040         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
16041         test for cp_lookup_transparent_type.
16042         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
16043         call them.
16044
16045 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
16046
16047         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
16048         after -var-update.
16049
16050 2004-01-23  David Carlton  <carlton@kealia.com>
16051
16052         * gdb.cp/namespace.cc (C::ensureRefs): New.
16053         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
16054
16055 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
16056
16057         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
16058         case "-stack-list-locals 2".
16059         * gdb.mi/mi-var-child.exp: Test for case
16060         "-var-list-children --all-values NAME".
16061
16062 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
16063
16064         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
16065
16066 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
16067
16068         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
16069         used with gdb_test_multiple.
16070
16071         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
16072         read at address 0.  This fixes PR testsuite/1504.
16073
16074 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
16075
16076         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
16077         Remove downloading, guessing the host executable, the calls to
16078         gdb_file_cmd and gdb_target_cmd, and "load" support.
16079         (infer_host_exec): New function broken out from gdb_load.
16080         (gdb_load): New wrapper for gdbserver_gdb_load.
16081         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
16082         gdb_target_cmd.  Use -target-select.
16083         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
16084         Download binaries to the host.  Clear last_mi_remote_file when
16085         we load a new binary.
16086         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
16087         call gdbserver_gdb_load and mi_gdb_target_cmd.
16088
16089 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
16090
16091         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
16092         type patterns.
16093
16094 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
16095
16096         * gdb.cp/templates.exp: Fix typo in test name of
16097         "print Foo<volatile char*>::foo".
16098
16099 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
16100
16101         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
16102
16103 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
16104
16105         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
16106         (clean mostlyclean): Remove empty rm.
16107
16108 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
16109
16110         * gdb.base/setvar.exp: Add copyright years.
16111
16112 2004-01-14  David Carlton  <carlton@bactrian.org>
16113
16114         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
16115         PR c++/1511 and update coment.
16116         * gdb.cp/templates.exp: Update patterns to match current output.
16117         If changes involve something other than whitespace, KFAIL
16118         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
16119
16120 2004-01-14  David Carlton  <carlton@kealia.com>
16121
16122         * gdb.cp/namespace.exp: Add tests involving classes defined within
16123         namespaces.
16124         * gdb.cp/namespace.cc (C::CClass): New.
16125         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
16126
16127 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
16128
16129         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
16130         what debug info we have. Print a better message if something goes
16131         wrong while producing the separate debug info file.
16132
16133 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
16134
16135         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
16136
16137 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
16138
16139         * gdb.base/callfuncs.c: Add copyright notice.
16140
16141 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
16142
16143         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
16144         inheritance.  PR gdb/1498, PR gcc/13539.
16145
16146 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
16147
16148          * gdb.threads/gcore-thread.exp: Prefix name of binary with
16149          test specific name.
16150          * gdb.mi/gdb669.exp: Ditto.
16151          * gdb.mi/mi-pthreads.exp: Ditto.
16152          * gdb.mi/mi1-pthreads.exp: Ditto.
16153          * gdb.mi/mi2-pthreads.exp: Ditto.
16154
16155 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
16156
16157         * gdb.cp/member-ptr.cc: Add copyright notice.
16158
16159 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
16160
16161         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
16162         some patterns for recent versions of gcc and hpacc.  Delete
16163         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
16164         Delete tests that access a NULL pointer-to-member-data.  This
16165         script is still disabled for gcc.
16166
16167 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
16168
16169         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
16170         escaped correctly.
16171
16172 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
16173
16174         * gdb.base/sepdebug.exp: New file.
16175         * gdb.base/sepdebug.c: New file.
16176         * lib/gdb.exp (separate_debug_filename): New procedure.
16177         (gdb_gnu_strip_debug): New procedure.
16178
16179 2004-01-12  Andrew Cagney  <cagney@redhat.com>
16180
16181         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
16182         * gdb.mi/ChangeLog-1999-2003: New file.
16183
16184 2004-01-12  Andrew Cagney  <cagney@redhat.com>
16185
16186         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
16187         "Renaming a directory to a non-empty directory returns ENOTEMPTY
16188         or EEXIST", treat EBUSY as an XFAIL.
16189
16190 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
16191
16192         * gdb.base/scope.exp: Remove obsolete setup_xfail for
16193         hp_cc_compiler.
16194
16195 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
16196
16197         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
16198         decorations.
16199
16200 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
16201
16202         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
16203         and "(aCC)" decorations.  Remove obsolete doco about old
16204         test results.
16205
16206 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
16207
16208         * gdb.cp/exception.exp: Fix typo in doco.
16209
16210 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
16211
16212         * gdb.base/gdb1476.exp: Fix typo.
16213
16214 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
16215
16216         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
16217         file.
16218
16219 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
16220
16221         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
16222         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
16223         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
16224         for recent version of gdb.  Delete second half, which was a copy
16225         of the first half with different build flags.  This test is
16226         still disabled because it is still not ready for production.
16227
16228 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
16229
16230         * gdb.cp/exception.cc: Add copyright notice.
16231         * gdb.cp/exception.exp: Add a notice that this file is broken
16232         because of line number changes caused by addition of copyright
16233         notice.
16234
16235 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
16236
16237         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
16238         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
16239
16240 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
16241
16242         * gdb.cp/classes.exp: Accept gnu abi 2.
16243         * gdb.cp/derivation.exp: Likewise.
16244         * gdb.cp/overload.exp: Likewise.
16245         * gdb.cp/virtfunc.exp: Likewise.
16246
16247 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
16248
16249         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
16250         semicolon after end of function.
16251
16252 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
16253
16254         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
16255         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
16256         boilerplate code for compiling and running the program under
16257         test.  Add some string method tests.
16258
16259 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
16260
16261         * gdb.cp/bs15503.cc: Add copyright notice.
16262         * gdb.cp/bs15503.exp: Adjust line number.
16263
16264 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
16265
16266         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
16267         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
16268
16269 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
16270
16271         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
16272         hp_cc_compiler.
16273
16274 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
16275
16276         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
16277         * gdb.cp/ctti.exp: Use the marker instead of "next".
16278         With gcc, run further before bailing.
16279
16280 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
16281
16282         * gdb.cp/cttiadd.cc: Add copyright notice.
16283         * gdb.cp/cttiadd1.cc: Likewise.
16284         * gdb.cp/cttiadd2.cc: Likewise.
16285         * gdb.cp/cttiadd3.cc: Likewise.
16286
16287 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
16288
16289         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
16290         Use gdb_test, gdb_test_multiple.  Use floating-point values that
16291         have exact representations in IEEE-ish formats.
16292
16293 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
16294
16295         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
16296         compilers.  Delete duplicate call to get_compiler_info.
16297         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
16298         * gdb.base/volatile.exp: Likewise.
16299
16300 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
16301
16302         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
16303         memory at address 0.
16304
16305 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
16306
16307         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
16308         to test for hp-ux assembler.  Fix copyright years.
16309
16310 2004-01-07  Andrew Cagney  <cagney@redhat.com>
16311
16312         * gdb.base/fileio.c (strerrno): Add "EBUSY".
16313
16314 2004-01-07  Andrew Cagney  <cagney@redhat.com>
16315
16316         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
16317         when creating the read-only file.  From analysis by Roland McGrath
16318         and Elena Zannoni.
16319
16320 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
16321
16322         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
16323
16324 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
16325
16326         * gdb.base/cvexpr.c: Be type-safe with function pointers and
16327         data pointers.
16328
16329 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
16330
16331         * gdb.cp/m-static.exp: Compile one source file at a time.
16332         Delete unused call to get_compiler_info.
16333
16334 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
16335
16336         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
16337         * gdb.base/call-rt-st.exp: Likewise.
16338         * gdb.base/nodebug.exp: Likewise.
16339         * gdb.base/volatile.exp: Likewise.
16340         * gdb.cp/ref-types.exp: Likewise.
16341         * gdb.cp/templates.exp: Likewise.
16342
16343 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
16344
16345         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
16346
16347 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
16348
16349         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
16350         hppa*-hp-hpux*.
16351
16352 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
16353
16354         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
16355         x86_64-*-*.
16356
16357         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
16358         sparc64-*-* and sparc*-solaris2*.
16359
16360 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
16361
16362         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
16363         return ${tests}" test.  The ${tests} already mentions the
16364         filename.
16365
16366 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
16367
16368         * gdb.cp/local.exp: Accept gcc abi 2.
16369
16370 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
16371
16372         * gdb.cp/templates.exp: Accept gcc abi 2.
16373
16374 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
16375
16376         * lib/compiler.cc: Remove supports_template_debugging.
16377         * gdb.cp/templates.exp: Do not test supports_template_debugging.
16378
16379 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
16380
16381         * gdb.cp/namespace.exp: Accept gcc abi 2.
16382
16383 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
16384
16385         * gdb.cp/method.exp: Accept gcc abi 2.
16386
16387 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
16388
16389         * gdb.cp/classes.exp: Generate identical results as old version.
16390         * gdb.cp/derivation.exp: Likewise.
16391         * gdb.cp/overload.exp: Likewise.
16392         * gdb.cp/virtfunc.exp: Likewise.
16393
16394 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
16395
16396         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
16397         mysterious bug with sourceware version of expect.
16398
16399 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
16400
16401         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
16402         current versions of gcc, including gcc abi 2.  Remove gratuitous
16403         restart of test program.  Use gdb_test_multiple and gdb_test for
16404         all tests.  Add patterns to xfail missing "const" in "const char *"
16405         and kfail PR gdb/1155.
16406
16407 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
16408
16409         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
16410         current versions of gcc, including gcc abi 2.  Remove gratuitous
16411         restart of test program.  Use gdb_test_multiple and gdb_test for
16412         all tests.  Add patterns to kfail PR gdb/1498.
16413
16414 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
16415
16416         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
16417         current versions of gcc, including gcc abi 2.  Use "breakpoint"
16418         and "continue" instead of restarting the target program.  Use
16419         gdb_test_multiple and gdb_test for all tests.
16420
16421 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
16422
16423         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
16424         for *-*-solaris2*.
16425
16426 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
16427
16428         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
16429         current versions of gcc, including gcc abi 2.  Use "breakpoint"
16430         and "continue" instead of restarting the target program several
16431         times.  Use gdb_test_multiple and gdb_test for all tests.
16432
16433 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
16434
16435         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
16436         source files.
16437
16438 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
16439
16440         * gdb.base/environ.exp: Handle compiling test case from multiple
16441         source files.
16442
16443 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
16444
16445         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
16446
16447 2003-12-17  Jim Blandy  <jimb@redhat.com>
16448
16449         * gdb.base/freebpcmd.c: Add copyright notice.
16450
16451         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
16452
16453 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
16454
16455         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
16456
16457 2003-12-13  Jim Blandy  <jimb@redhat.com>
16458
16459         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
16460
16461 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
16462
16463         * gdb.asm/frv.inc: New file.
16464         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
16465
16466 2003-12-09  Fred Fish  <fnf@redhat.com>
16467
16468         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
16469         functions to break1.c and leave prototypes behind.  Add more
16470         "set breakpoint NN here" comments.
16471         * gdb.base/break1.c: New file.
16472
16473         * gdb.base/break.exp: Handle compiling test case from multiple
16474         source files and change source file references as needed.
16475         * gdb.base/completion.exp: Ditto.
16476         * gdb.base/condbreak.exp: Ditto.
16477         * gdb.base/define.exp: Ditto.
16478         * gdb.base/ena-dis-br.exp: Ditto.
16479         * gdb.base/info-proc.exp: Ditto.
16480         * gdb.base/maint.exp: Ditto.
16481         * gdb.base/until.exp: Ditto.
16482
16483         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
16484         hardcoded line numbers.
16485         * gdb.base/define.exp: Ditto.
16486         * gdb.base/ena-dis-br.exp: Ditto.
16487         * gdb.base/maint.exp: Ditto.
16488         * gdb.base/until.exp: Ditto.
16489
16490         * gdb.base/completion.exp: Use "break1" for completion tests since
16491         "break" is no longer a unique prefix.
16492
16493 2003-12-06  Andrew Cagney  <cagney@redhat.com>
16494
16495         * gdb.base/structs.exp (test_struct_returns): When applicable, set
16496         "return_value_unimplemented".  When an unimplemented struct return
16497         architecture, report incorrect values as a KFAIL
16498
16499 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
16500
16501         * gdb.cp/rtti.exp: Accept new wording of warning from
16502         cp_lookup_rtti_type.
16503
16504 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
16505
16506         Partial fix for PR testsuite/1456.
16507         * gdb.base/scope.exp (test_at_main): Replace references to
16508         gcc_compiled with calls to test_compiler_info.
16509         (test_at_foo): Likewise.
16510         (test_at_bar): Likewise.
16511
16512 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
16513
16514         Partial fix for PR testsuite/1456.
16515         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
16516         to test_compiler_info.
16517
16518 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
16519
16520         * gdb.base/so-impl-ld.exp: Update copyright notice.
16521
16522 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
16523
16524         Partial fix for PR testsuite/1456.
16525         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
16526         to test_compiler_info.
16527
16528 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
16529
16530         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
16531         from current versions of gdb.  Clean up regular expressions.
16532         Delete redundant timeout case.
16533
16534 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
16535
16536         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
16537         from current versions of gdb.  Clean up regular expressions.
16538         Delete redundant timeout case.
16539
16540 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
16541
16542         Partial fix for PR testsuite/1456.
16543         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
16544         gcc_compiled with call to test_compiler_info.
16545
16546 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
16547
16548         Partial fix for PR testsuite/1456.
16549         * gdb.base/list.exp (test_list_function): Delete unused declaration
16550         of gcc_compiled.
16551
16552 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
16553
16554         Partial fix for PR testsuite/1456.
16555         * gdb.base/complex.exp: Replace reference to gcc_compiled with
16556         call to test_compiler_info.
16557
16558 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
16559
16560         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
16561         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
16562         it to create the appropriate note.inc.
16563         * gdb.asm/asmsrc1.s: Include "note.inc".
16564         * gdb.asm/netbsd.inc: New file.
16565         * gdb.asm/empty.inc: New file.
16566
16567 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
16568
16569         Partial fix for PR testsuite/1456.
16570         * gdb.base/constvars.exp: Replace references to gcc_compiled with
16571         calls to test_compiler_info.
16572
16573 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
16574
16575         Partial fix for PR testsuite/1456.
16576         * gdb.base/volatile.exp: Replace references to gcc_compiled with
16577         calls to test_compiler_info.
16578
16579 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
16580
16581         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16582         pattern for the KFAILs.
16583
16584 2003-11-25  Adam Fedor  <fedor@gnu.org>
16585
16586         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16587         * gdb.objc/objcdecode.m: New file.
16588
16589 2003-11-25  Adam Fedor  <fedor@gnu.org>
16590
16591         * gdb.objc/nondebug.exp: Test for PR objc/1236.
16592         * gdb.objc/nondebug.m: New file.
16593
16594 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
16595
16596         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16597         NetBSD as it does on FreeBSD.  Modelled on a similar change by
16598         Mark Kettenis on 2003-05-30.
16599         (link-flags): Set to "--entry _start" regardless of target.
16600         Special linker flags are to be appended to $link-flags.
16601         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16602
16603 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
16604
16605         * gdb.cp/method.exp: Accept output of new demangler.
16606
16607 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
16608
16609         * gdb/class2.exp: New file.
16610         * gdb/class2.cc: New file.
16611
16612 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
16613
16614         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16615         of new demangler.
16616
16617 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
16618
16619         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16620         of gdb_test "run".
16621
16622 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
16623
16624         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
16625         "continue" into "run".
16626
16627 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
16628
16629         Partial fix for PR testsuite/1456.
16630         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16631         call to test_compiler_info.
16632         * gdb.cp/ctti.exp: Likewise.
16633         * gdb.cp/derivation.exp: Likewise.
16634         * gdb.cp/member-ptr.exp: Likewise.
16635         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16636         reference to gcc_compiled.
16637
16638 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
16639
16640         Fix PR testsuite/1463.
16641         * gdb.base/structs.exp (start_structs_test): Call
16642         get_debug_format before using the debug format.
16643
16644 2003-11-22  Andrew Cagney  <cagney@redhat.com>
16645
16646         * lib/gdb.exp (gdb_test_multiple): Add simple example.
16647         * gdb.base/structs.exp: Use gdb_test_multiple.
16648
16649 2003-11-20  Andrew Cagney  <cagney@redhat.com>
16650
16651         * gdb.base/structs.exp: Handle and recover from internal errors.
16652         Replace "foo${n}" with "foo<n>" in test messages.
16653
16654         * gdb.base/structs.exp: Update copyright.  Rewrite.
16655         * gdb.base/structs.c: Update copyright.  Rewrite.
16656
16657         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16658         resync count exceeded.
16659
16660         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16661         from the internal error.
16662         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16663         Original from Jim Blandy.
16664         (gdb_test_multiple): Use gdb_internal_error_resync.
16665
16666 2003-11-19  Andrew Cagney  <cagney@redhat.com>
16667
16668         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16669         KFAIL.
16670
16671 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
16672
16673         New testcase for PR backtrace/1435.
16674         * gdb.arch/i386-unwind.exp: New file.
16675         * gdb.arch/i386-unwind.c: New file.
16676
16677 2003-11-17  Andrew Cagney  <cagney@redhat.com>
16678
16679         * lib/gdb.exp (compiler_info): New global.
16680         (test_compiler_info): New function.
16681         (get_compiler_info): Set compiler_info.
16682         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
16683         "compiler_info" to gcc-<major>-<minor>.
16684
16685 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
16686
16687         * gdb.trace/configure: Remove.
16688
16689 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
16690
16691         * gdb.base/break.c: Add comments to aid finding line numbers for
16692         breakpoints.
16693         * gdb.base/break.exp: Remove all references to explicit line
16694         numbers.
16695
16696 2003-11-11  Nick Clifton  <nickc@redhat.com>
16697
16698         * gdb.base/shreloc.exp: Do not run for targets which do not
16699         support shared objects.
16700
16701 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
16702
16703         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16704         Don't run tests if nofileio flag is given.
16705
16706 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
16707
16708         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
16709         as well as 'Watchpoint'.
16710
16711 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
16712
16713         Reported by Jim Ingham <jingham@apple.com>:
16714         * gdb.base/annota1.exp: Match at least one occurrence of the
16715         signal handler annotation.
16716
16717 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
16718
16719         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16720         as well as 'Watchpoint'.
16721
16722 2003-11-05  Michael Chastain  <mec@shout.net>
16723
16724         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16725
16726 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
16727
16728         * gdb.arch/gdb1291.c: New test file.
16729         * gdb.arch/gdb1291.exp: New test script.
16730         * gdb.arch/gdb1431.c: New test file.
16731         * gdb.arch/gdb1431.exp: New test script.
16732
16733 2003-10-22  Michael Chastain  <mec@shout.net>
16734
16735         * gdb.mi/pthreads.c: Add copyright notice.
16736
16737 2003-10-22  Michael Chastain  <mec@shout.net>
16738
16739         * gdb.threads/pthreads.c: Add copyright notice.
16740
16741 2003-10-20  Michael Chastain  <mec@shout.net>
16742
16743         * gdb.base/gdb1056.exp: New test script.
16744
16745 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
16746
16747         * gdb.threads/killed.exp: Use gdb_run_cmd.
16748
16749 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
16750
16751         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16752         create a core file.
16753         * gdb.threads/gcore-thread.exp: Likewise.
16754
16755 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
16756
16757         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16758         type, based on char type.
16759         (struct bit_flags_short_t): New bitfield type, based on short type.
16760         (init_bit_flags_char): New fuction.
16761         (init_bit_flags_short): Ditto.
16762         (print_bit_flags_char): Ditto.
16763         (print_bit_flags_short): Ditto.
16764         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16765
16766 2003-10-11  Michael Chastain  <mec@shout.net>
16767
16768         * gdb.base/call-rt-st.exp: Update copyright year.
16769
16770 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
16771
16772         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16773         * gdb.disasm/sh3.s: Ditto.
16774
16775 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
16776
16777         * gdb.threads/switch-threads.exp: New test.
16778         * gdb.threads/switch-threads.c: New source file.
16779
16780 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
16781
16782         * gdb.base/ending-run.exp: Add sh specific case.
16783
16784 2003-10-06  Andrew Cagney  <cagney@redhat.com>
16785
16786         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16787         * gdb.disasm/mn10200.exp: Delete obsolete file.
16788
16789 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
16790
16791         * ChangeLog: Correct an entry command.exp -> commands.exp.
16792         * gdb.base/commands.exp (bp_deleted_in_command_test)
16793         (temporary_breakpoint_commands): Check noargs.
16794
16795 2003-09-25  David Carlton  <carlton@kealia.com>
16796
16797         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
16798         of some print tests, where appropriate.  Add tests for C::D::cd,
16799         E::ce, F::cXfX, G::XgX.
16800         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16801
16802 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
16803
16804         * lib/java.exp (java_init): Import target_alias before using it.
16805
16806 2003-09-25  David Carlton  <carlton@kealia.com>
16807
16808         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16809
16810 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
16811
16812         * gdb.base/selftest.exp: Accomodate more instruction reordering
16813         weirdness.
16814
16815 2003-09-17  Michael Chastain  <mec@shout.net>
16816
16817         * gdb.cp/gdb1355.exp: New file.
16818         * gdb.cp/gdb1355.c: New file.
16819
16820 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
16821
16822         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16823         * gdb.asm/sh.inc: New file.
16824
16825 2003-09-11  David Carlton  <carlton@kealia.com>
16826
16827         * gdb.cp/namespace.exp: Add tests for namespace types.
16828         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
16829         (test_namespace): New.
16830
16831 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
16832
16833         * gdb.base/relocate.exp: Handle new gdb output at startup.
16834         * gdb.stabs/weird.exp: Ditto.
16835
16836 2003-09-08  Michael Chastain  <mec@shout.net>
16837
16838         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16839
16840 2003-09-07  Michael Chastain  <mec@shout.net>
16841
16842         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16843         'parse error'.
16844
16845 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
16846
16847         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16848
16849 2003-08-30  Michael Chastain  <mec@shout.net>
16850
16851         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16852         * gdb.gdb/observer.exp: Ditto.
16853         * gdb.gdb/xfullpath.exp: Ditto.
16854
16855 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
16856
16857         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16858         *-*-*bsd*.
16859
16860 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
16861
16862         * gdb.base/dump.exp: Skip for ia64.
16863
16864 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
16865
16866         * gdb.asm/asm-source.exp: Add ia64 support.
16867         * gdb.asm/ia64.inc: New file.
16868
16869 2003-08-22  Michael Chastain  <mec@shout.net>
16870
16871         * gdb.cp: New directory.
16872         * gdb.cp/*: Copy from gdb.c++/*.
16873         * gdb.c++/*: Remove.
16874         * Makefile.in: Change gdb.c++ to gdb.cp.
16875         * configure.in:  Ditto.
16876         * configure: Regnerate.
16877
16878 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
16879
16880         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16881         * gdb.arch/i386-prologue.c (gdb1338): Add function.
16882
16883 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
16884
16885         * mi-var-display.exp (-var-list-children weird): Accept function
16886         pointers with argument types.
16887         * mi1-var-display.exp (-var-list-children weird): Likewise.
16888         * mi2-var-display.exp (-var-list-children weird): Likewise.
16889
16890 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
16891
16892         * gdb.base/annota3.exp: Add missing newline.
16893
16894 2003-08-06  Michael Chastain  <mec@shout.net>
16895
16896         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16897
16898 2003-08-12  Michael Snyder  <msnyder@redhat.com>
16899
16900         * gdb.base/float.exp: Add test for SH.
16901
16902 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
16903
16904         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16905
16906 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
16907
16908        * gdb.base/completion.exp: Remove reduntant completion test
16909        on filename.
16910
16911 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
16912
16913         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16914         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16915         gdb.trace/save-trace.exp: Make sure that full pathnames are
16916         escaped correctly.
16917
16918 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
16919
16920         * configure.in: Don't generate config.h from config.hin.
16921         * configure: Regenerate.
16922         * config.hin: Remove file.
16923         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16924         * gdb.threads/pthreads.c: Ditto.
16925
16926 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
16927
16928         From Kei Sakamoto <sakamoto.kei@renesas.com>:
16929         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16930         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16931         Replace ld24 with seth/add3.
16932
16933 2003-08-02  Andrew Cagney  <cagney@redhat.com>
16934
16935         * gdb.base/annota3.exp: New file.
16936         * gdb.base/annota3.c: New file.
16937         * gdb.c++/annota3.exp: New file.
16938         * gdb.c++/annota3.cc: New file.
16939
16940 2003-07-29  Michael Chastain  <mec@shout.net>
16941
16942         * gdb.threads/tls.c (spin): Check errno only if sem_wait
16943         actually failed.
16944         (do_pass): Likewise.
16945         * gdb.threads/tls.exp: Always initialize no_of_threads.
16946
16947 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
16948
16949         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16950         pattern.
16951         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16952         * gdb.threads/tls.exp: Recognize one case of the host library not
16953         supporting TLS.
16954
16955 2003-07-27  Andrew Cagney  <cagney@redhat.com>
16956
16957         * gdb.base/fileio.exp: Use SH when running commands using
16958         remote_exec.
16959
16960 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
16961
16962         From Kei Sakamoto <sakamoto.kei@renesas.com>:
16963         * gdb.base/relocate.c (dummy): New padding array.
16964
16965 2003-07-22  Michael Snyder  <msnyder@redhat.com>
16966
16967         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
16968
16969         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16970         patterns to be more general, accepting old and new output.
16971         Some output chars (such as '+') also must be quoted.
16972         Some addresses are displayed numerically instead of
16973         symbolically.
16974
16975 2003-07-23  Michael Snyder  <msnyder@redhat.com>
16976
16977         * gdb.base/return2.exp: Don't test long-long return.
16978
16979         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16980         * gdb.disasm/t01_mov.exp: Ditto.
16981         * gdb.disasm/t02_mova.s: Ditto.
16982         * gdb.disasm/t02_mova.exp: Ditto.
16983         * gdb.disasm/t03_add.s: Ditto.
16984         * gdb.disasm/t03_add.exp: Ditto.
16985         * gdb.disasm/t04_sub.s: Ditto.
16986         * gdb.disasm/t04_sub.exp: Ditto.
16987         * gdb.disasm/t05_cmp.s: Ditto.
16988         * gdb.disasm/t05_cmp.exp: Ditto.
16989         * gdb.disasm/t06_ari2.s: Ditto.
16990         * gdb.disasm/t06_ari2.exp: Ditto.
16991         * gdb.disasm/t07_ari3.s: Ditto.
16992         * gdb.disasm/t07_ari3.exp: Ditto.
16993         * gdb.disasm/t08_or.s: Ditto.
16994         * gdb.disasm/t08_or.exp: Ditto.
16995         * gdb.disasm/t09_xor.s: Ditto.
16996         * gdb.disasm/t09_xor.exp: Ditto.
16997         * gdb.disasm/t10_and.s: Ditto.
16998         * gdb.disasm/t10_and.exp: Ditto.
16999         * gdb.disasm/t11_logs.s: Ditto.
17000         * gdb.disasm/t11_logs.exp: Ditto.
17001         * gdb.disasm/t12_bit.s: Ditto.
17002         * gdb.disasm/t12_bit.exp: Ditto.
17003         * gdb.disasm/t13_otr.s: Ditto.
17004         * gdb.disasm/t13_otr.exp: Ditto.
17005
17006 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
17007
17008         * gdb.threads/tls.exp :Add kfail for 'info address' case.
17009
17010 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
17011
17012         * gdb.threads/tls.c : New file.
17013         * gdb.threads/tls.exp : New file.
17014         * gdb.threads/tls-main.c : New file.
17015         * gdb.threads/tls-shared.c : New file.
17016         * gdb.threads/tls-shared.exp : New file.
17017
17018 2003-07-22  Andreas Schwab  <schwab@suse.de>
17019
17020         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
17021
17022 2003-07-20  Andreas Schwab  <schwab@suse.de>
17023
17024         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
17025         due to insn reordering.
17026
17027 2003-07-15  Andrew Cagney  <cagney@redhat.com>
17028
17029         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
17030
17031 2003-07-15  Michael Chastain  <mec@shout.net>
17032
17033         * gdb.base/gdb1250.exp: New file.
17034         * gdb.base/gdb1250.c: New file.
17035
17036 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
17037
17038         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
17039         expansion of size_t to 'unsigned long', not only to 'unsigned'.
17040
17041 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
17042
17043         * gdb.threads/tls.c: New file.
17044         * gdb.threads/tls.exp: New file.
17045         * gdb.threads/tls-main.c: New file.
17046         * gdb.threads/tls-shared.c: New file.
17047         * gdb.threads/tls-shared.exp: New file.
17048
17049 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
17050
17051         * gdb.base/annota1.exp: Make sure that we properly escape the
17052         full path of the source file. Xfail more permissive patterns,
17053         due to a compiler debug info problem.
17054
17055 2003-07-07  Andreas Schwab  <schwab@suse.de>
17056
17057         * gdb.asm/m68k.inc: New file.
17058         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
17059
17060         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
17061         arguments"): Also match negative number.
17062
17063         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
17064
17065 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
17066
17067         * gdb.base/store.c (charest): New typedef.
17068         (add_char): Rename to add_charest, update.
17069         (wack_char): Rename to wack_charest, update types.  Return l + r
17070         to keep r live across the call.
17071         (wack_short, wack_int, wack_long, wack_longest, wack_float)
17072         (wack_double, wack_doublest): Return l + r to keep r live across
17073         the call.
17074         * gdb.base/store.exp: Accomodate store.c changes.
17075
17076 2003-06-30  David Carlton  <carlton@kealia.com>
17077
17078         * gdb.c++/maint.exp (test_invalid_name): New.
17079         (test_first_component): Add tests for invalid names.
17080
17081 2003-06-29  Michael Chastain  <mec@shout.net>
17082
17083         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
17084         output of '<VTT for class>' for virtual base classes.
17085
17086 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
17087
17088         * gdb.base/completion.exp: Tab-complete "complet" instead of
17089         "compl".
17090         * gdb.base/complex.exp, gdb.base/complex.c: New files.
17091
17092 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
17093
17094         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
17095         * gdb.base/volatile.exp: Likewise.
17096
17097 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
17098
17099         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
17100         gdb/1265.
17101
17102 2003-06-28  Michael Chastain  <mec@shout.net>
17103             Daniel Jacobowitz  <drow@mvista.com>
17104
17105         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
17106         initial line count of 'captured_main' from 26 to 32.
17107         (test_with_self): Allow xmalloc call to be interleaved with the
17108         preceding two lines.
17109
17110 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
17111
17112         * gdb.base/bang.exp: New testcase.
17113
17114 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
17115
17116         * gdb.base/langs.exp: Add some tests for the "minimal" language
17117         support.
17118
17119 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
17120
17121         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
17122         the testcase.
17123
17124 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
17125
17126         * gdb.base/relocate.exp: Test add-symbol-file with a variable
17127         offset.
17128
17129 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
17130
17131         * gdb.c++/pr-1210.cc: New file.
17132         * gdb.c++/pr-1210.exp: New file.
17133
17134 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
17135
17136         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
17137         000-exec-continue.
17138
17139 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
17140
17141         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
17142         on *-*-*bsd* instead of *-*-freebsd*.
17143
17144 2003-06-14  Andrew Cagney  <cagney@redhat.com>
17145
17146         * gdb.base/store.exp: Test longest and doublest.  Test all
17147         parameters.  Weaken return statement match.
17148         * gdb.base/store.c: Add longest and doublest - aka long long and
17149         long double functions.  Put all parameters into local register
17150         variables.  Use negative values.
17151
17152 2003-06-14  Andrew Cagney  <cagney@redhat.com>
17153
17154         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
17155         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
17156         exit status.
17157         * gdb.base/fileio.exp: Disable target when nointerrupts and
17158         noinferiorio, instead of limiting it to remote.  Use remote_exec
17159         instead of system.
17160
17161 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
17162
17163         * gdb.base/float.exp: Add ia64 support.
17164
17165 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
17166
17167         * gdb.base/fileio.exp: Run only on remote targets.
17168
17169 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
17170
17171         * gdb.base/fileio.c: New file, testing File-I/O.
17172         * gdb.base/fileio.exp: Ditto.
17173
17174 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
17175
17176         * gdb.base/shreloc.exp: New file, check symbol values obtained from
17177         shared objects after relocation at load time (gdb PR/1132).
17178         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
17179         as above, part of the shared object relocation test.
17180
17181 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
17182
17183         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
17184         fully filled history list.
17185         * gdb.base/gdb_history: New file.
17186
17187         * gdb.base/signals.exp: XFAIL "continue to func1" on
17188         i*86-*-freebsd*.
17189
17190         * gdb.base/attach.exp: When trying to attach to a nonexistent
17191         process, make it possible to specify the PID based on the target,
17192         and do so for *-*-freebsd*.
17193
17194 2003-06-02  Richard Henderson  <rth@redhat.com>
17195
17196         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
17197
17198 2003-06-02  Richard Henderson  <rth@redhat.com>
17199
17200         * gdb.base/selftest.exp: Next over lim_at_start initialization.
17201
17202 2003-06-02  Richard Henderson  <rth@redhat.com>
17203
17204         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
17205
17206 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
17207
17208         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
17209         of globalvar.
17210
17211 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
17212
17213         * gdb.asm/asm-source.exp: Check for memory read errors in
17214         disassembler test on *BSD too.
17215
17216 2003-06-01  Richard Henderson  <rth@redhat.com>
17217
17218         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
17219         for .frame.
17220         (gdbasm_call): Lose ldgp.
17221         (gdbasm_startup): Add frame information.
17222         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
17223
17224 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
17225
17226         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
17227         i?86-*-*.
17228
17229 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
17230
17231         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
17232         FreeBSD.
17233
17234 2003-05-29  Richard Henderson  <rth@redhat.com>
17235
17236         * gdb.asm/alpha.inc: New file.
17237         * gdb.asm/asm-source.exp: Use it.
17238
17239 2003-05-29  Jim Blandy  <jimb@redhat.com>
17240
17241         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
17242         'core.PID'.
17243
17244 2003-05-22  Jim Blandy  <jimb@redhat.com>
17245
17246         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
17247         backtrace.
17248
17249 2003-05-20  David Carlton  <carlton@math.stanford.edu>
17250
17251         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
17252         this time.
17253
17254 2003-05-19  David Carlton  <carlton@bactrian.org>
17255
17256         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
17257         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
17258
17259 2003-05-19  David Carlton  <carlton@bactrian.org>
17260
17261         * gdb.c++/namespace.exp: Add namespace scope and anonymous
17262         namespace tests.
17263         Bump copyright date.
17264         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
17265         (main): Call C::D::marker2.
17266         * gdb.c++/namespace1.cc: New file.
17267
17268 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
17269
17270         Roland McGrath  <roland@redhat.com>
17271         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
17272         there is no manager thread.
17273
17274 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
17275
17276         * gdb.threads/schedlock.exp: Remove assumption that all threads
17277         will run in a particular small time slice.  Also ensure we break
17278         in one of the child threads rather than the main thread.
17279
17280 2003-05-07  Jim Blandy  <jimb@redhat.com>
17281
17282         Add support for assembly source testing on the s390x.
17283         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
17284         architecture.
17285         * gdb.asm/s390x.inc: New file.
17286
17287         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
17288         succession of 'if' statements.
17289
17290 2003-05-05  Andrew Cagney  <cagney@redhat.com>
17291
17292         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
17293
17294 2003-05-05  Andrew Cagney  <cagney@redhat.com>
17295
17296         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
17297         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
17298
17299 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
17300
17301         * gdb.base/charset.exp: Update based on new behavior of set/show
17302         charset commands.
17303
17304 2003-05-01  Andrew Cagney  <cagney@redhat.com>
17305
17306         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
17307         variable do not give memory errors.
17308
17309 2003-04-30  Adam Fedor  <fedor@gnu.org>
17310
17311         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
17312         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
17313         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
17314         gdb.objc/basicclass.m: : New files
17315
17316         * lib/gdb.exp (gdb_compile_objc): New procedure.
17317
17318 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
17319
17320         * gdb.base/signals.exp: Make backtrace tests more specific.
17321
17322 2003-04-23  David Carlton  <carlton@bactrian.org>
17323
17324         * gdb.c++/maint.exp (test_first_component): Add tests for
17325         'operator' in more locations.
17326
17327 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
17328
17329         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
17330
17331 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
17332
17333         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
17334         func marke' instead. Update test name.
17335
17336 2003-04-15  David Carlton  <carlton@math.stanford.edu>
17337
17338         * gdb.c++/maint.exp: New file.
17339
17340 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
17341
17342         * gdb.threads/schedlock.c: Change type of thread function argument
17343         to long, to avoid warnings on 64-bit platforms.
17344
17345 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
17346
17347         * gdb.base/attach.exp: Add new message from ptrace in case of
17348         attaching to nonexistent process.
17349
17350 2003-04-11  Jim Blandy  <jimb@redhat.com>
17351
17352         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17353         gdb.c++/userdef.cc: Place comments on the lines to which the
17354         marker function might return.
17355         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17356         gdb.c++/userdef.exp: Look for those comments to check that we've
17357         returned to the right place, instead of checking line numbers.
17358
17359 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
17360
17361         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
17362         match on sourcefile name, instead of directory name.
17363
17364 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
17365
17366         * gdb.base/completion.exp: Use string_to_regexp to match the
17367         working directory name.
17368
17369 2003-04-09  Jim Blandy  <jimb@redhat.com>
17370
17371         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17372         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
17373         after an inferior function call, report the failure, but allow the
17374         test to continue.
17375
17376 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
17377
17378         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17379         with -DPROTOTYPES.
17380
17381 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
17382
17383         * gdb.base/break.exp: Revert last patch.
17384
17385 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
17386
17387         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17388         with -DPROTOTYPES.
17389
17390 2003-04-02  Andrew Cagney  <cagney@redhat.com>
17391
17392         * gdb.base/callfuncs.exp: Make "print add" messages unique.
17393         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
17394         matching directories by the name breakpoint.
17395         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
17396         Make "continue to marker1" consistent.
17397         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
17398         message consistent.
17399         * lib/gdb.exp: Put "the program is no longer running", and "the
17400         program exited" in parenthesis.
17401         * lib/mi-support.exp: Ditto.
17402
17403 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
17404
17405         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
17406
17407 2003-03-29  Andrew Cagney  <cagney@redhat.com>
17408
17409         * gdb.base/sizeof.c (main): Print the value of '\377'.
17410         * gdb.base/sizeof.exp: Check the sign of '\377'.
17411
17412 2003-03-27  Michael Chastain  <mec@shout.net>
17413
17414         * gdb.base/gdb1090.exp: New file.
17415         * gdb.base/gdb1090.cc: New file.
17416
17417 2003-03-27  J. Brobecker  <brobecker@gnat.com>
17418
17419         * gdb.gdb/observer.exp: New regression test.
17420
17421 2003-03-27  Michael Chastain  <mec@shout.net>
17422
17423         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
17424         * gdb.base/ptype.exp: Likewise.
17425
17426 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
17427
17428         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
17429
17430 2003-03-26  Michael Chastain  <mec@shout.net>
17431
17432         * gdb.base/ptype.exp: Actually use some typedef'd types.
17433
17434 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
17435
17436         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
17437         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
17438
17439 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
17440
17441         * gdb.base/default.exp: Fix regular expression.
17442
17443 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
17444
17445         * gdb.base/args.exp: Fix regular expression.
17446
17447 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
17448
17449         * gdb.base/help.exp: Allow Win32 child process.
17450
17451 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
17452
17453         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
17454         when stepping out of main().
17455
17456 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
17457
17458         * gdb.base/default.exp: Check for win32 specific message when calling
17459         "run" without executable.
17460
17461 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
17462
17463         * gdb.base/args.exp: Expect .exe in output.
17464
17465 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
17466
17467         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
17468         Cygwin native.
17469
17470 2003-03-17  Andrew Cagney  <cagney@redhat.com>
17471
17472         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
17473         vector registes.
17474         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
17475         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
17476
17477 2003-03-17  David Carlton  <carlton@math.stanford.edu>
17478
17479         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
17480         test, for PR breakpoints/38.
17481         Call test_watchpoint_and_breakpoint.
17482         * gdb.base/watchpoint.c (func3): New function.
17483         (main): Call func3.
17484
17485 2003-03-04  David Carlton  <carlton@math.stanford.edu>
17486
17487         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
17488         Garply<Garply<char> >:: garply".
17489         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
17490         with respect to PR c++/1111; note also PR c++/1113.
17491         (test_template_breakpoints): KFAIL "constructor breakpoint" with
17492         respect to PR c++/1062.
17493         KFAIL "destructor breakpoint" with respect to PR c++/1112.
17494
17495 2003-03-03  David Carlton  <carlton@math.stanford.edu>
17496
17497         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
17498         with respect to PR c++/57.
17499         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
17500         c++/826.
17501         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
17502         respect to PR c++/57.
17503
17504 2003-03-03  David Carlton  <carlton@math.stanford.edu>
17505
17506         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
17507         respect to PR c++/33 into FAILs.
17508
17509 2003-03-03  Michael Chastain  <mec@shout.net>
17510
17511         * configure.in: Update copyright years.
17512
17513 2003-03-03  Michael Chastain  <mec@shout.net>
17514
17515         * Makefile.in: Update copyright years.
17516
17517 2003-02-28  David Carlton  <carlton@math.stanford.edu>
17518
17519         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
17520         print class instead of struct and/or superfluous protection
17521         specifiers, as long as the resulting output is equivalent to the
17522         source code.
17523         Delete FIXME from end of messages on tests that don't need
17524         fixing.
17525
17526 2003-02-28  David Carlton  <carlton@math.stanford.edu>
17527
17528         * gdb.c++/templates.exp (do_tests): Allow const in the two
17529         Foo<volatile char *>::foo tests.
17530
17531 2003-02-27  Michael Snyder  <msnyder@redhat.com>
17532
17533         * gdb.base/restore.c (main): Return zero, so exit code
17534         will be consistant.
17535
17536 2003-02-26  David Carlton  <carlton@math.stanford.edu>
17537
17538         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
17539         char *>::foo" test with respect to PR c++/33.  Create a new test
17540         which is identical to that one except that it doesn't put the
17541         space between the "char" and the "*"; KFAIL it, too.
17542
17543 2003-02-26  David Carlton  <carlton@math.stanford.edu>
17544
17545         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
17546         template types into either PASSes or KFAILs (corresponding to PR
17547         c++/57).  Tweak indentation.  Update copyright.
17548
17549 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
17550
17551         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
17552
17553 2003-02-13  Michael Chastain  <mec@shout.net>
17554
17555         * gdb.base/exprs.exp: Remove i960 remnants.
17556         * gdb.base/funcargs.exp: Likewise.
17557         * gdb.base/list.exp: Likewise.
17558         * gdb.base/ptype.exp: Likewise.
17559
17560 2003-02-14  David Carlton  <carlton@math.stanford.edu>
17561
17562         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
17563         pEe->D::vg()" from XFAIL to KFAIL.
17564
17565 2003-02-13  Jason Molenda  (jmolenda@apple.com)
17566
17567         * gdb.base/maint.exp: Update maint print statistics regexp to include
17568         new entries.
17569
17570 2003-02-13  Michael Chastain  <mec@shout.net>
17571
17572         * gdb.c++/inherit.exp: Remove call to get_debug_format.
17573
17574 2003-02-12  Michael Chastain  <mec@shout.net>
17575
17576         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17577         * gdb.c++/inherit.exp: Likewise.
17578         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17579         * gdb.c++/templates.exp: Likewise.
17580         * gdb.c++/virtfunc.exp: Likewise.
17581
17582 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
17583
17584         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17585         why the code is written that way.
17586
17587 2003-02-05  Michael Chastain  <mec@shout.net>
17588
17589         * gdb.base/dump.exp: Add missing copyright line.
17590
17591 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
17592
17593         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
17594         at the beginning so the breakpoint doesn't get set on the loop.
17595
17596 2003-02-05  Michael Chastain  <mec@shout.net>
17597
17598         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17599         output for configurations with gcc 2.95.3.
17600
17601 2003-02-05  Keith Seitz  <keiths@redhat.com>
17602             Andrew Cagney  <ac131313@redhat.com>
17603
17604         * gdb.mi/mi-cli.exp: New file.
17605
17606 2003-02-04  Michael Chastain  <mec@shout.net>
17607
17608         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17609         Call perror and then continue.
17610
17611 2003-02-03  Michael Chastain  <mec@shout.net>
17612
17613         * gdb.c++/pr-1023.cc: New file.
17614         * gdb.c++/pr-1023.exp: New file.
17615
17616 2003-02-05  Jim Blandy  <jimb@redhat.com>
17617
17618         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17619         it's local to foobar.  Check for it there, and check that it's not
17620         present in main.
17621         * gdb.c++/local.cc (marker2): New function.
17622         (foobar): Call marker1.
17623         (main): Call marker2 instead of marker1.
17624
17625 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
17626
17627         * gdb.disasm/mn10200.exp: Obsolete file.
17628         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17629         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17630         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17631
17632 2003-02-04  David Carlton  <carlton@math.stanford.edu>
17633
17634         * gdb.c++/overload.exp: Test intToChar(1).
17635         * gdb.c++/overload.cc (intToChar): New.
17636         (main): Call intToChar.
17637
17638 2003-02-03  David Carlton  <carlton@math.stanford.edu>
17639
17640         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17641         'might_kfail' arg.
17642         KFAIL some of the continue_to_bp_overloaded calls, according to
17643         PR c++/1025.
17644
17645 2003-02-01  Michael Chastain  <mec@shout.net>
17646
17647         * gdb.base/advance.c (marker1): New marker function.
17648         * gdb.base/advance.exp: When the 'advance' command lands on the
17649         return breakpoint, it can legitimately stop on either the
17650         current line or the next line.  Accommodate both outcomes.
17651         * gdb.base/until.exp: Likewise.
17652
17653 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
17654
17655         2002-11-10 Jason Molenda (jason-cl@molenda.com):
17656         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17657         now a list, not a tuple.
17658         * gdb.mi/mi-var-display.exp: Ditto.
17659         * gdb.mi/gdb792.exp: Ditto.
17660
17661 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
17662
17663         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
17664         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17665         stack backtraces.
17666         * gdb.mi/mi-syn-frame.c: Part of same.
17667
17668 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
17669
17670         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17671         gdb.mi/mi1-pthreads.exp: Return instead of calling
17672         gdb_suppress_entire_file.
17673
17674 2003-02-01  Mark Salter  <msalter@redhat.com>
17675
17676         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17677
17678 2003-01-31  Mark Salter  <msalter@redhat.com>
17679
17680         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17681         Support empty arg.
17682
17683 2003-01-30  Michael Chastain  <mec@shout.net>
17684
17685         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17686         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
17687         has been fixed in gdb/readline on 2003-01-09.
17688
17689 2003-01-29  Michael Snyder  <msnyder@redhat.com>
17690
17691         * gdb.base/maint.exp: Allow for leading underscore in symbol.
17692         * gdb.base/display.exp: Allow for leading underscore in symbol.
17693         * gdb.base/args.exp: Skip if target does not support args passing.
17694
17695 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
17696
17697         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
17698         gdb_test.  Accept a list of expect arguments as the third
17699         parameter.
17700         (gdb_test): Use it.
17701
17702 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
17703
17704         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17705         allow for different test tree configurations.  Update some
17706         tescases accordingly.
17707         * gdb.arch/altivec-regs.exp: Ditto.
17708         * gdb.asm/asm-source.exp: Ditto.
17709         * gdb.base/advance.exp: Ditto.
17710         * gdb.base/display.exp: Ditto.
17711         * gdb.base/long_long.exp: Ditto.
17712         * gdb.base/mips_pro.exp: Ditto.
17713         * gdb.base/overlays.exp: Ditto.
17714         * gdb.base/relocate.exp: Ditto.
17715         * gdb.base/setshow.exp: Ditto.
17716         * gdb.base/step-line.exp: Ditto.
17717         * gdb.base/step-test.exp: Ditto.
17718         * gdb.base/until.exp: Ditto.
17719         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17720
17721 2003-01-17  David Carlton  <carlton@math.stanford.edu>
17722
17723         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17724         corresponding to PR c++/945.
17725         Update copyright.
17726
17727 2003-01-17  David Carlton  <carlton@math.stanford.edu>
17728
17729         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17730         corresponding to PR c++/68.
17731
17732 2003-01-17  David Carlton  <carlton@math.stanford.edu>
17733
17734         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17735         (test_paddr_hairy_functions): Call print_addr_2_kfail for
17736         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
17737
17738 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
17739
17740         * gdb.base/break.exp: Fix change of default location, because of
17741         removal of until tests.
17742         * gdb.base/help.exp: Update test for new 'until' help message.
17743         Add test for help on 'advance'.
17744         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
17745
17746 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
17747
17748         * gdb.base/default.exp: Adapt "info float" test for recent changes
17749         to that command.  Add test for "info vector".
17750         * gdb.base/float.exp: New file.  Add test for "info float" that
17751         resembles the old test in gdb.base/default.exp.
17752
17753 2003-01-15  David Carlton  <carlton@math.stanford.edu>
17754
17755         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17756
17757 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
17758
17759         * gdb.base/break.exp: Move the tests of until command from here...
17760         * gdb.base/until.exp: ... to here. New file. Add other tests.
17761         * gdb.base/advance.c: New file.
17762         * gdb.base/advance.exp: New file.
17763
17764 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
17765
17766         * gdb.base/args.c: New file.
17767         * gdb.base/args.exp: New file.
17768
17769 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
17770
17771         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17772
17773 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
17774
17775         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17776
17777 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
17778
17779         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
17780         dates.
17781
17782 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
17783
17784         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17785
17786 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
17787
17788         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17789         (ptype &*"foo").
17790         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17791
17792 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
17793
17794         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17795         * gdb.mi/mi1-console.exp: Likewise.
17796
17797 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
17798
17799         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17800         * gdb.mi/mi1-console.exp: Likewise.
17801
17802 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
17803
17804         * gdb.c++/overload.exp: Remove some fixed XFAILs.
17805
17806 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
17807
17808         * gdb.base/detach.exp: New test.
17809
17810 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
17811
17812         * Makefile.in (ALL_SUBDIRS): New variable.
17813         (subdirs, clean, distclean): Use it.
17814         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
17815         regenerating Makefile, since it is generated from the top level.
17816         * gdb.asm/Makefile.in: Likewise.
17817         * gdb.base/Makefile.in: Likewise.
17818         * gdb.c++/Makefile.in: Likewise.
17819         * gdb.disasm/Makefile.in: Likewise.
17820         * gdb.java/Makefile.in: Likewise.
17821         * gdb.mi/Makefile.in: Likewise.
17822         * gdb.threads/Makefile.in: Likewise.
17823         * gdb.trace/Makefile.in: Likewise.
17824
17825 2003-01-09  David Carlton  <carlton@math.stanford.edu>
17826
17827         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17828         Add copyright year 2003.
17829
17830 2003-01-06  Michael Chastain  <mec@shout.net>
17831
17832         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17833         When selecting a thread, 'line' and 'file' are optional.
17834         * gdb.mi/mi1-pthreads.exp: Likewise.
17835
17836 2003-01-06  Andreas Schwab  <schwab@suse.de>
17837
17838         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17839         failures.
17840
17841 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
17842
17843         Fix PR gdb/844
17844         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17845         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17846
17847         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
17848         instead of calling gdb_suppress_entire_file.
17849         * gdb.threads/print-threads.exp: Likewise.
17850         * gdb.threads/schedlock.exp: Likewise.
17851
17852         * gdb.threads/killed.exp: Return instead of calling
17853         gdb_suppress_entire_file.
17854         * gdb.threads/linux-dp.exp: Likewise.
17855         * gdb.threads/pthreads.exp: Likewise.
17856
17857 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
17858
17859         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17860         stabs.
17861         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17862         * gdb.base/whatis.exp: Always allow (void) after function names.
17863
17864 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
17865
17866         * gdb.c++/casts.exp: Correct regexp.
17867
17868 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
17869
17870         * configure.in: Call AC_CONFIG_HEADER.  Don't call
17871         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17872         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
17873         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
17874         aforementioned directories in the AC_OUPUT call.
17875         * config.hin: New file.
17876         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17877         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17878         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17879         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17880         pass -I$objdir instead of -I$objdir/$subdir in compilation.
17881         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17882         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17883         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17884         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17885         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17886         gdb.threads/configure.in, gdb.threads/configure,
17887         gdb.threads/config.in, gdb.trace/configure.in,
17888         gdb.trace/configure: Removed.
17889
17890 2003-01-03  Michael Chastain  <mec@shout.net>
17891
17892         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17893         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17894
17895 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
17896
17897         * gdb.base/store.exp: Fix regular expressions.
17898
17899 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
17900
17901         * configure.in: Rewrite.
17902         * configure: Regenerated.
17903
17904 2003-01-03  David Carlton  <carlton@math.stanford.edu>
17905
17906         * gdb.base/psymtab.exp: New file.
17907         * gdb.base/psymtab1.c: Ditto.
17908         * gdb.base/psymtab2.c: Ditto.
17909
17910 2002-12-23  Adam Fedor  <fedor@gnu.org>
17911
17912         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17913
17914 2002-12-23  David Carlton  <carlton@math.stanford.edu>
17915
17916         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17917         and current_directory initialization.
17918
17919 2002-12-22  Jim Blandy  <jimb@redhat.com>
17920
17921         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17922         rather than as part of the output file name.
17923
17924         * gdb.base/attach.exp: There's no need to copy the test program to
17925         /tmp; that was only ever necessary on HP/UX, and this test is
17926         entirely disabled there anyway.
17927
17928 2002-12-21  Jim Blandy  <jimb@redhat.com>
17929
17930         * gdb.c++/psmang.exp: Doc fix.
17931
17932         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17933         test.
17934
17935 2002-12-20  David Carlton  <carlton@math.stanford.edu>
17936
17937         * gdb.c++/annota2.exp: KFAIL annotate-quit.
17938
17939 2002-12-18  Michael Chastain  <mec@shout.net>
17940
17941         * gdb.c++/annota2.exp: Add copyright year 2002.
17942
17943 2002-12-17  David Carlton  <carlton@math.stanford.edu>
17944
17945         * gdb.c++/try_catch.cc: Add marker comments.
17946         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17947         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17948         * gdb.c++/m-static.cc: Ditto.
17949         * gdb.c++/m-static1.cc: Ditto.
17950         * gdb.c++/try_catch.cc: Ditto.
17951
17952 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
17953
17954         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17955         to see whether we are using the new -environment-directory
17956         command which resets via -r or the old version of the command
17957         which may prompt the user.  Part of fix for gdb/741.
17958
17959 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
17960
17961         * gdb.fortran/types.exp: Update obsolete comment.
17962         * gdb.fortran/exprs.exp: Ditto.
17963         * lib/gdb.exp: Delete obsolete code.
17964         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17965         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17966         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17967         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17968         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17969         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17970         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17971         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17972         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17973         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17974         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17975         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17976         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17977         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17978         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17979         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17980         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17981         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17982         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17983         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17984         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17985         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17986         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17987         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17988         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17989         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17990         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17991         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17992         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17993         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17994         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17995         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17996         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17997         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17998         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17999         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
18000         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
18001
18002 2002-12-11  David Carlton  <carlton@math.stanford.edu>
18003
18004         * gdb.c++/m-data.exp: Add test for members that shadow global
18005         variables: see PR gdb/804.
18006         * gdb.c++/m-data.cc: Ditto.
18007
18008 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
18009
18010         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
18011
18012 2002-12-06  David Carlton  <carlton@math.stanford.edu>
18013
18014         * gdb.base/store.c: Don't declare functions static.
18015
18016 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
18017
18018         * gdb.base/store.exp, gdb.base/store.c: New files.
18019
18020 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
18021
18022         * gdb.base/selftest.exp: Update for current gdb.
18023
18024 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
18025
18026         * gdb.base/maint.exp: Only dump symbols from one source file
18027         or objfile.
18028
18029 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
18030
18031         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
18032         function call.
18033
18034 2002-11-25  Jim Blandy  <jimb@redhat.com>
18035
18036         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
18037         function appearing in error message.
18038
18039 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
18040
18041         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
18042
18043 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
18044
18045         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
18046         for mi1 and current mi is in correct format.  New mi startup message
18047         should be in mi console format.  This is part of fix for PR gdb/604.
18048
18049 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
18050
18051         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
18052         which explicitly prints the zero offset as "+0".
18053
18054 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
18055
18056         * gdb.threads/schedlock.c (args): Make unsigned.
18057
18058 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
18059
18060         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
18061         numbers.  Allow "foo2|selected stack frame".
18062         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
18063         * gdb.asm/asmsrc2.s: Likewise.
18064         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
18065         comments.
18066         * gdb.asm/mips.inc: New file.
18067
18068 2002-10-18  Adam Fedor  <fedor@gnu.org>
18069
18070         * gdb.base/default.exp: Update expected output to include 'ObjC'.
18071         * gdb.base/help.exp: Likewise.
18072
18073 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
18074
18075         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
18076         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
18077
18078 2002-10-02  Jim Blandy  <jimb@redhat.com>
18079
18080         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
18081
18082 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
18083
18084         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
18085         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
18086         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
18087         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
18088         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
18089         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
18090         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
18091
18092 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
18093
18094         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
18095         * mi0-disassemble.exp, mi0-eval.exp: Delete.
18096         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
18097         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
18098         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
18099         * mi0-var-block.exp, mi0-var-child.exp: Delete.
18100         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
18101
18102 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
18103
18104         * gdb.base/annota1.exp (info break): Make directory components of
18105         path optional since not all compilers emit this debug information.
18106
18107         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
18108         step ends up stepping out of the function instead of stopping on
18109         the epilogue.
18110
18111 2002-09-26  Keith Seitz  <keiths@redhat.com>
18112
18113         * lib/insight-support.exp (gdbtk_start): Figure out where
18114         the insight executable is based on where gdb is. Use this
18115         executable to start insight instead of gdb.
18116
18117 2002-09-25  Andrew Cagney  <cagney@redhat.com>
18118
18119         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
18120
18121 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
18122
18123         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
18124         test_isolated_complaints.
18125         (test_empty_complaint): New function.
18126         (test_empty_complaints): New function.  Check no output when no
18127         complaints.
18128
18129 2002-09-19  Jim Blandy  <jimb@redhat.com>
18130
18131         * gdb.base/charset.exp, gdb.base/charset.c: New files.
18132
18133 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
18134
18135         * gdb.gdb/complaints.exp: New file.
18136
18137 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
18138
18139         * gdb.base/maint.exp: Check `help maint internal-warning'.
18140
18141 2002-09-18  David Carlton  <carlton@math.stanford.edu>
18142
18143         * gdb.c++/m-static.exp: Remove breakpoints depending on line
18144         numbers, and replace them by a single breakpoint after the
18145         constructors are all finished.
18146         Add test 4.
18147         * gdb.c++/m-static.cc: Add test 4.
18148         * gdb.c++/m-static.h: New file.
18149         * gdb.c++/m-static1.cc: New file.
18150
18151         * gdb.c++/printmethod.exp: New file.
18152         * gdb.c++/printmethod.cc: New file.
18153
18154         * gdb.c++/pr-574.exp: New file.
18155         * gdb.c++/pr-574.cc: New file.
18156
18157 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
18158
18159         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
18160         embedded targets which never actually exit.
18161
18162 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
18163
18164         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
18165         "don't step after run" as unresolved or unsupported, instead of xfail.
18166
18167 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
18168
18169         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
18170         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
18171         Add newline to expected string in "step out of main (status wrapper)"
18172         case.
18173
18174 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
18175
18176         * lib/gdb.exp (rerun_to_main): Allow restarting application.
18177         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
18178
18179 2002-09-17  Tom Tromey  <tromey@redhat.com>
18180
18181         * gdb.base/printcmds.exp (test_print_string_constants): Expect
18182         \000, not \0, in double-quoted string.
18183
18184 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
18185
18186         * gdb.base/commands.exp: Don't expect a "Program exited normally"
18187         string after running the commands execution on breakpoint tests.
18188
18189 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
18190
18191         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
18192
18193 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
18194
18195         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
18196
18197 2002-09-10  Keith Seitz  <keiths@redhat.com>
18198
18199         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
18200         runto proc.
18201         (mi_run_to_main): Use mi_runto.
18202         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
18203
18204 2002-09-10  Keith Seitz  <keiths@redhat.com>
18205
18206         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
18207         regexp for stopping at main. Could have multiple event notifications.
18208         Don't assume that main was declared with no parameters.
18209         (mi_next): Use mi_step_to.
18210         (mi_step): Use mi_next_to.
18211
18212 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
18213
18214         * gdb.base/default.exp: Fix expected string in `info float' test.
18215
18216 2002-09-09  Ben Elliston  <bje@redhat.com>
18217
18218         * config/mips.exp: Update comments.
18219         * config/mips-idt.exp: Likewise.
18220         * config/nind.exp: Likewise.
18221         * config/slite.exp: Likewise.
18222         * config/sparclet.exp: Likewise.
18223         * config/udi.exp: Likewise.
18224         * config/vx.exp: Likewise.
18225         * config/vxworks29k.exp: Likewise.
18226
18227 2002-09-05  Jim Blandy  <jimb@redhat.com>
18228
18229         * gdb.threads/killed.exp: Fix test failure message.
18230
18231 2002-09-04  Keith Seitz  <keiths@redhat.com>
18232
18233         * lib/mi-support.exp: Update copyright.
18234         (mi_gdb_test): Increase the priority of the expected pattern
18235         so that it matches gdb_test.
18236
18237 2002-09-03  Keith Seitz  <keiths@redhat.com>
18238
18239         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
18240         Use integer comparison instead of string comparison for testing
18241         whether binary was built.
18242
18243 2002-09-03  Jim Blandy  <jimb@redhat.com>
18244
18245         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
18246
18247 2002-08-29  Jim Blandy  <jimb@redhat.com>
18248
18249         * gdb.threads/pthreads.exp: Move the portable thread compilation
18250         code into a function in lib/gdb.exp, and call that from here.
18251         * lib/gdb.exp (gdb_compile_pthreads): New function.
18252
18253 2002-08-29  Keith Seitz  <keiths@redhat.com>
18254
18255         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
18256         expect_out so that callers can get at it.
18257
18258 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
18259
18260         * gdb.threads/print-threads.c: New file.
18261         * gdb.threads/print-threads.exp: New file.
18262         * gdb.threads/schedlock.c: New file.
18263         * gdb.threads/schedlock.exp: New file.
18264
18265 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
18266
18267         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
18268         not altivec.c.
18269
18270 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
18271
18272         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
18273         targets.  The problem should be fixed now.
18274
18275 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
18276
18277         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
18278         2002-07-24 change that removes final dots from error messages.
18279
18280 2002-08-13  Tom Tromey  <tromey@redhat.com>
18281
18282         * gdb.base/readline.exp: New file.
18283
18284 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
18285
18286         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
18287         supress message.
18288
18289 2002-08-01  Andrew Cagney  <cagney@redhat.com>
18290
18291         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
18292         CHILL_FOR_TARGET and CHILL_LIB.
18293         * configure.in (configdirs): Remove gdb.chill.
18294         * configure: Regenerate.
18295         * lib/gdb.exp: Obsolete references to chill.
18296         * gdb.fortran/types.exp: Ditto.
18297         * gdb.fortran/exprs.exp: Ditto.
18298
18299 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
18300
18301         * gdb.base/shlib-call.exp (additional_flags): Conditionally
18302         set Irix-specific compile and link flags.
18303
18304 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
18305
18306         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
18307         source files.  The ``-o'' option doesn't work with the ``-E'' option
18308         when using the Irix compiler.
18309
18310 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
18311
18312         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
18313         Improve support for reusing an exec file.  Copy exec file
18314         to target, and run gdbserver on the target instead of on the host.
18315
18316 2002-07-18  Jim Blandy  <jimb@redhat.com>
18317
18318         * gdb.base/ending-run.exp: Don't expect to see the program end in
18319         some orderly fashion when we're running on a real stand-alone
18320         board.
18321
18322         * gdb.base/interrupt.exp: Correct logic for skipping tests on
18323         targets that don't support interrupts.
18324
18325 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
18326
18327         * gdb.base/attach.exp: Add patterns to match output from /proc-based
18328         systems.
18329         Move comments in expect statements to inside the actions, so that they
18330         don't get matched against.
18331
18332 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
18333
18334         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
18335         function when asleep" test.
18336
18337 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
18338
18339         * gdb.base/page.exp: Rewrite to handle problems with very long
18340         `info set' output.  Update copyright.
18341
18342 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
18343
18344         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
18345         gdb.threads-hp.
18346         * gdb.hp/configure: Regenerate.
18347         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
18348         * gdb.hp/gdb.threads-hp/configure: Delete file.
18349         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
18350
18351 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
18352
18353         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
18354         setlocale, bindtextdomain and textdomain.
18355
18356 2002-06-11  Jim Blandy  <jimb@redhat.com>
18357
18358         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
18359         preprocessor macro information is present.
18360
18361         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
18362         tests.
18363
18364 2002-06-06  Michael Snyder  <msnyder@redhat.com>
18365
18366         * gdb.base/overlays.exp: Record addresses of overlay
18367         functions in TCL variables rather than in GDB variables,
18368         to avoid having GDB convert them to pointers (with loss
18369         of information).
18370
18371         * gdb.base/d10v.ld: Merge in several years worth of
18372         default linker script changes.
18373         * gdb.base/long_long.exp: Add check for sizeof (long double).
18374
18375 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
18376
18377         * gdb.asm/asm-source.exp: Add x86-64 target.
18378         * gdb.asm/x86_64.inc: New.
18379
18380 2002-05-30  Michael Chastain  <mec@shout.net>
18381
18382         From Benjamin Kosnik <bkoz@redhat.com>:
18383         * gdb.c++/m-static.cc: New file.
18384         * gdb.c++/m-static.exp: New file.
18385
18386 2002-05-28  Michael Snyder  <msnyder@redhat.com>
18387
18388         * gdb.base/call-ar-st.exp: Allow for reduced floating point
18389         precision.
18390
18391 2002-05-27  Michael Chastain  <mec@shout.net>
18392
18393         From Benjamin Kosnik <bkoz@redhat.com>:
18394         * gdb.c++/m-data.cc: New file.
18395         * gdb.c++/m-data.exp: New file.
18396
18397 2002-05-27  Michael Chastain  <mec@shout.net>
18398
18399         From Benjamin Kosnik <bkoz@redhat.com>:
18400         * gdb.c++/try_catch.cc: New file.
18401         * gdb.c++/try_catch.exp: New file.
18402
18403 2002-05-27  Michael Chastain  <mec@shout.net>
18404
18405         * gdb.c++/local.exp: Accept more nested types in output.
18406
18407 2002-05-26  Michael Chastain  <mec@shout.net>
18408
18409         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
18410
18411 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
18412
18413         * lib/gdb.exp (gdb_wrapper_init): Just because
18414         gdb_wrapper_file exists, this does not mean that the file
18415         should not be rebuilt.  That is what gdb_wrapper_initialized
18416         is for.
18417         (default_gdb_init): Reset gdb_wrapper_initialized.
18418
18419 2002-05-23  Michael Snyder  <msnyder@redhat.com>
18420
18421         * gdb.base/all-bin.exp: Revise previous patch by just reducing
18422         the precision of the floating point test results.
18423         * gdb.base/call-rt-st.exp: Ditto.
18424
18425         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
18426         * gdb.base/call-rt-st.exp: Ditto.
18427
18428 2002-05-19  Michael Chastain  <mec@shout.net>
18429
18430         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
18431
18432 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
18433
18434         * configure.in (configdirs): Add gdb.arch.
18435         * configure: Regenerate.
18436
18437 2002-05-17  Jim Blandy  <jimb@redhat.com>
18438
18439         * gdb.base/completion.exp: Recognize the more detailed error
18440         messages produced by the macro expander's lexical analyzer.
18441
18442 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
18443
18444         * gdb.arch/altivec-abi.c: New file.
18445         * gdb.arch/altivec-abi.exp: New file.
18446         * gdb.arch/altivec-regs.c: New file.
18447         * gdb.arch/altivec-regs.exp: New file.
18448
18449 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
18450
18451         * gdb.base/maint.exp (maint print type): Update for new type
18452         structure.
18453
18454 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
18455
18456         * gdb.arch: New directory.
18457         * gdb.arch/configure.in: New file.
18458         * gdb.arch/configure: New file.
18459         * gdb.arch/Makefile.in: New file.
18460
18461 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
18462
18463         * gdb.asm/asm-source.exp: Add v850 as supported target.
18464         * gdb.asm/v850.inc: New file.
18465
18466 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
18467
18468         * gdb.c++/annota2.exp (annotate-quit): Add comment.
18469
18470 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
18471
18472         * gdb.base/break.exp: Check 'break "marker2"'.
18473
18474 2002-05-10  Michael Snyder  <msnyder@redhat.com>
18475
18476         * gdb.base/long_long.exp: Fix typo.
18477
18478 2002-05-10  Jim Blandy  <jimb@redhat.com>
18479
18480         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
18481         a bug.
18482
18483         * gdb.base/printcmds.exp (test_integer_literals_rejected):
18484         Recognize more detailed error message produced by the macro
18485         expander's lexical analyzer.
18486         * lib/gdb.exp (test_print_reject): Same.
18487
18488 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
18489
18490         * gdb.c++/method.exp: Fix typo.
18491
18492 2002-05-08  Michael Snyder  <msnyder@redhat.com>
18493
18494         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
18495         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
18496         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
18497         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
18498         Add iftarget clause for strongarm.
18499
18500 2002-05-06  Michael Snyder  <msnyder@redhat.com>
18501
18502         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
18503         (gdb_continue_to_end): Accept output from status wrapper.
18504         * gdb.base/ending-run.exp: Add case for output from status wrapper.
18505         Clean up fail messages to match pass messages.
18506
18507         Enable the "needs_status_wrapper" testsuite feature.
18508         * lib/gdb.exp (gdb_wrapper_init): New procedure.
18509         (gdb_compile): Conditionally call gdb_wrapper_init.
18510         * gdb.base/a2-run.exp: Recognize output from status wrapper.
18511         * gdb.c++/method.exp: Recognize output from status wrapper.
18512
18513 2002-05-06  Ben Elliston  <bje@redhat.com>
18514 From Graydon Hoare  <graydon@redhat.com>
18515
18516         * config/sid.exp: Include support for "rawsid" protocol.
18517
18518 2002-05-03  Jim Blandy  <jimb@redhat.com>
18519
18520         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
18521         * gdb.c++/hang3.C: New file.
18522
18523 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
18524
18525         * gdb.base/default.exp: Remove obsolete code.
18526         * gdb.c++/misc.exp: Ditto.  Update copyright.
18527         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
18528         * gdb.base/whatis.exp: Ditto.  Update copyright.
18529         * gdb.base/scope.exp: Ditto.  Update copyright.
18530         * gdb.base/ptype.exp: Ditto.  Update copyright.
18531         * gdb.base/printcmds.exp: Ditto.  Update copyright.
18532         * gdb.base/opaque.exp: Ditto.  Update copyright.
18533         * gdb.base/list.exp: Ditto.
18534         * gdb.base/funcargs.exp: Ditto.  Update copyright.
18535         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
18536         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
18537         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
18538         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
18539         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18540         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
18541
18542 2002-05-02  Michael Snyder  <msnyder@redhat.com>
18543
18544         * gdb.base/watchpoint.exp: Add xscale target.
18545         * gdb.base/long_long.exp: Add xscale target.
18546         * gdb.base/default.exp: Add xscale target.
18547
18548 2002-05-01  Jim Blandy  <jimb@redhat.com>
18549
18550         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
18551         gdb.c++/hang.exp: New test.
18552
18553 2002-05-01  Fred Fish  <fnf@redhat.com>
18554
18555         * gdb.base/completion.exp: Handle completions of "./Make" for
18556         more than one completion possibility, as is the case when we
18557         build and test in the source tree.
18558
18559 2002-04-29  Anthony Green  <green@redhat.com>
18560
18561         * gdb.java/jmisc1.exp: New file.
18562         * gdb.java/jmisc2.exp: New file.
18563
18564 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
18565
18566         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18567
18568 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
18569
18570         * gdb.base/help.exp: Change 'help status' to allow for target
18571         dependent output differences.
18572
18573 2002-04-22  Michael Chastain  <mec@shout.net>
18574
18575         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18576
18577 2002-04-22  Michael Chastain  <mec@shout.net>
18578
18579         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18580
18581 2002-04-17  David S. Miller  <davem@redhat.com>
18582
18583         * gdb.asm/sparc64.inc: New file.
18584         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18585
18586 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
18587
18588         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18589         instruction file directly into the build tree.  Clean up at end of
18590         test.
18591
18592 2002-04-18  David S. Miller  <davem@redhat.com>
18593
18594         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18595         handle 64-bit platforms correctly.
18596         * gdb.base/maint.exp: Likewise.
18597
18598 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
18599
18600         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18601         ``-fpic'' when compiling files comprising a shared library, but
18602         it does need additional linker flags in order to find shared
18603         libraries at run time.
18604
18605 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
18606
18607         * gdb.base/cvexpr.c (use): New function.
18608         (main): Invoke use() on all global variables to prevent
18609         some linkers from deleting these otherwise unused symbols.
18610
18611 2002-04-17  Michael Chastain  <mec@shout.net>
18612 From David S. Miller  <davem@redhat.com>
18613
18614         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18615         handle 64-bit platforms correctly.
18616
18617 2002-04-12  Michael Snyder  <msnyder@redhat.com>
18618 From Jim Blandy  <jimb@redhat.com>
18619         * gdb.base/foo.c (foox): Remove section attribute; the linker
18620         script can handle this instead.
18621         * gdb.base/bar.c (barx): Same.
18622         * gdb.base/baz.c (bazx): Same.
18623         * gdb.base/grbx.c (grbxx): Same.
18624
18625         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18626         manager doesn't automatically unmap overlays unnecessarily.
18627
18628 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
18629
18630         * gdb.base/ending-run.exp: Fix pattern for Mips targets
18631         stepping out of main.
18632
18633 2002-04-09  Michael Chastain  <mec@shout.net>
18634
18635         * gdb.c++/local.cc (main): Move call to marker1() inside nested
18636         scope so that the nested scope tests will make sense.
18637         * gdb.c++/local.exp: Write patterns that actually work with gcc
18638         (the HP patterns "were never known to work with gcc").
18639         Keep the old aCC patterns too.
18640
18641 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
18642
18643         * gdb.base/attach.exp: Correct target board test.
18644
18645 2002-04-08  Michael Chastain  <mec@shout.net>
18646
18647         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18648         in a const method.  Add some xfail and fail cases for configurations
18649         that do not emit the "const ...".
18650
18651 2002-04-07  Michael Chastain  <mec@shout.net>
18652
18653         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18654         Accept "A * const" and "const A * const" as type of "this".
18655         Fix spelling of getFunky throughout.  Make messages uniform.
18656
18657 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
18658
18659         Work around for PR gdb/285:
18660         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18661
18662 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
18663
18664         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18665         instructions file at run time instead of configure time.
18666         Sometimes we run the test in a directory that is not the one we
18667         configured in.
18668         * gdb.asm/configure.in: Delete creation of symlink.
18669         * gdb.asm/configure: Regenerate.
18670
18671 2002-04-05  J. Brobecker  <brobecker@gnat.com>
18672
18673         * gdb.gdb/xfullpath.exp: New test, to exercise the new
18674         xfullpath () function.
18675
18676 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
18677
18678         * gdb.asm/Makefile.in: Correct dependencies.
18679
18680         * gdb.asm/powerpc.inc: New file.
18681         * gdb.asm/asm-source.exp: Add PowerPC.
18682         * gdb.asm/configure.in: Likewise.
18683         * gdb.asm/configure: Regenerated.
18684
18685 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
18686
18687         * gdb.base/relocate.exp: New file.
18688         * gdb.base/relocate.c: New file.
18689
18690 2002-04-04  Fred Fish  <fnf@redhat.com>
18691
18692         * gdb.base/step-test.exp: Update comment regarding stopping in
18693         memcpy/bcopy calls inserted as part of the compiler runtime.
18694
18695 2002-04-04  Michael Snyder  <msnyder@redhat.com>
18696
18697         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18698
18699 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
18700
18701         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18702         (gdb_expect): Remove $notransfer hack.
18703
18704 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
18705
18706         * gdb.c++/classes.exp ("calling method for small class"): Match
18707         updated register output.
18708
18709 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
18710
18711         Fix PR gdb/452
18712         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18713         when finished.  Make gdb_file_cmd send "exec-file" when
18714         appropriate.
18715
18716 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
18717
18718         * gdb.base/attach.exp: Remove extra setup_xfail.
18719
18720 2002-03-26  Michael Snyder  <msnyder@redhat.com>
18721
18722         * gdb.base/default.exp: Add tests for dump, append, and restore.
18723         * gdb.base/help.exp: Add tests for dump, append, and restore.
18724         * gdb.base/dump.exp: New file, test dump, append and restore.
18725         * gdb.base/dump.c: New file.
18726
18727 2002-03-27  Michael Snyder  <msnyder@redhat.com>
18728
18729         * gdb.base/help.exp: Modify expect strings to reflect
18730         clean-ups in help messages.
18731
18732 2002-03-26  Fred Fish  <fnf@redhat.com>
18733
18734         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18735         have debugging info for those functions and the compiler uses them
18736         internally to copy structs around.
18737
18738 2002-03-26  Fred Fish  <fnf@redhat.com>
18739
18740         * gdb.base/list.exp: Revert the change made yesterday and add note
18741         about why we don't list the default lines for remote targets.
18742
18743 2002-03-25  Michael Snyder  <msnyder@redhat.com>
18744
18745         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18746
18747 2002-03-25  Fred Fish  <fnf@redhat.com>
18748
18749         * gdb.base/list.exp: This test works on remote targets so remove
18750         the short circuit for remote targets.  Update copyright.
18751
18752 2002-03-25  Fred Fish  <fnf@redhat.com>
18753
18754         * gdb.base/attach.exp: Fix logic error that was suppressing this
18755         test for all non hppa*-*-hpux* targets, instead of the hp target.
18756         Move comments closer to the suppression point.  Also now need to
18757         check that we are running natively.
18758
18759 2002-03-22  Michael Snyder  <msnyder@redhat.com>
18760
18761         * gdb.base/default.exp: Add test for gcore.  Update copyright.
18762         * gdb.base/help.exp: Add test for gcore.  Update copyright.
18763
18764 2002-03-06  Fred Fish  <fnf@redhat.com>
18765
18766         * gdb.base/funcargs.c:  Remove extraneous ';' character.
18767         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18768
18769 2002-03-04  Michael Chastain  <mec@shout.net>
18770
18771         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18772         accommodate gcc v3 function signature.
18773         * gdb.mi/mi0-var-cmd-exp: Ditto.
18774
18775 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
18776
18777         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18778         ``GNU/Linux'' or ``Linux kernel''
18779         * testsuite/gdb.threads/pthreads.c: Ditto.
18780
18781 2002-02-24  Michael Chastain  <mec@shout.net>
18782
18783         * gdb.threads/pthreads.c (thread1): Add a return statement.
18784         (thread2): Likewise.
18785         (foo): Likewise.
18786
18787 2002-02-23  Michael Chastain  <mec@shout.net>
18788
18789         * gdb.threads/linux-dp.c (philosopher): Add a return statement
18790         to placate gcc.
18791
18792 2002-02-23  Michael Chastain  <mec@shout.net>
18793
18794         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18795         test "ptype bint".  The test passes on all my stabs configurations.
18796
18797 2002-02-21  Jim Blandy  <jimb@redhat.com>
18798
18799         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18800         filename at a time, and watch for the ones we want to see.
18801
18802         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18803         types of pointers to prototyped functions.
18804
18805 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
18806
18807         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
18808         signed, unsigned and straight char.
18809         (padding_char, padding_short, padding_int, padding_long,
18810         padding_long_long, padding_float, padding_double,
18811         padding_long_double): New global variables.
18812         (fill, fill_structs): New functions.
18813
18814         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
18815         for correctly sized writes.  Update copyright.
18816         (get_valueof): New procedure.
18817         (get_sizeof): Call get_valueof.
18818         (check_valueof): New procedure.
18819         (check_padding): New procedure.
18820
18821 2002-02-20  Michael Chastain  <mec@shout.net>
18822
18823         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18824         to setup_xfail.  Document some of the remaining calls.
18825
18826 2002-02-18  Michael Chastain  <mec@shout.net>
18827
18828         * gdb.c++/userdef.exp: Update copyright year.
18829
18830 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
18831
18832         * gdb.c++/userdef.exp: Test overloaded operators properly.
18833         Remove xfails.
18834
18835 2002-02-14  Michael Snyder  <msnyder@redhat.com>
18836
18837         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18838
18839 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
18840
18841         * gdb.base/a2-run.exp: Check for a remote target properly.
18842         * gdb.base/annota1.exp: Likewise.
18843         * gdb.base/list.exp: Likewise.
18844         * gdb.base/reread.exp: Likewise.
18845         * gdb.base/scope.exp: Likewise.
18846         * gdb.base/shlib-call.exp: Likewise.
18847         * gdb.base/term.exp: Likewise.
18848         * gdb.c++/annota2.exp: Likewise.
18849
18850 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
18851
18852         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18853
18854 2002-02-10  Michael Chastain  <mec@shout.net>
18855
18856         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18857         (call_after_alloca): Ditto.
18858
18859 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
18860
18861         * gdb.base/ending-run.exp: Guard "cont" test with
18862         gdb_skip_stdio_test.
18863
18864 2002-02-06  Jim Blandy  <jimb@redhat.com>
18865
18866         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18867         from here...
18868         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18869         To here.  Disable this test on non-HP platforms.  Add big comment.
18870
18871 2002-02-04  Michael Snyder  <msnyder@redhat.com>
18872
18873         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
18874           other than d10v and m32r.
18875
18876 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
18877
18878         * gdb.base/default.exp: Rewrite test patterns to reduce time
18879         taken to match them.
18880
18881 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
18882
18883         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18884         Allow a start function above main.
18885         * gdb.threads/linux-dp.exp: Fix copyright date.
18886
18887 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
18888
18889         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18890         (check_philosopher_stack): Check for manager thread before checking
18891         for a just-starting thread.
18892
18893 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
18894
18895         From Neil Booth <neil@daikokuya.demon.co.uk>:
18896         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18897         warnings.
18898
18899 2002-01-21  Fred Fish  <fnf@redhat.com>
18900
18901         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18902         not caller.
18903
18904 2002-01-21  Jim Blandy  <jimb@redhat.com>
18905
18906         * gdb.base/reread.exp: Check that GDB properly re-reads the
18907         executable file when it changes while no inferior is running.
18908
18909 2002-01-21  Fred Fish  <fnf@redhat.com>
18910
18911         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18912         optionally accept the "shlib events" variation.
18913
18914 2002-01-21  Jim Blandy  <jimb@redhat.com>
18915
18916         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18917         call `fflush' after every `printf', so that the output is produced
18918         at predictable points, regardless of whatever buffering does (or
18919         doesn't) take place.
18920         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18921         at different points.
18922
18923 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
18924
18925         * gdb.c++/inherit.exp: Update copyright years.
18926         * gdb.c++/method.exp: Likewise.
18927
18928 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
18929
18930         * gdb.c++/classes.exp: Update for improved v3 support and skipping
18931         artificial methods/arguments.
18932         * gdb.c++/derivation.exp: Likewise.
18933         * gdb.c++/inherit.exp: Likewise.
18934         * gdb.c++/method.exp: Likewise.
18935         * gdb.c++/virtfunc.exp: Likewise.
18936
18937 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
18938
18939         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18940         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18941         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18942         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18943         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18944         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18945
18946 2002-01-17  Jim Blandy  <jimb@redhat.com>
18947
18948         * gdb.asm/asm-source.exp (info symbol): Take another shot at
18949         anchoring the pattern matching the entry point symbol's name.
18950
18951 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
18952
18953         * gdb.base/maint.exp: Update ``maint internal-error'' to match
18954         continue/quit query.  Update copyright.
18955
18956 2002-01-14  Michael Snyder  <msnyder@redhat.com>
18957
18958         * gdb.base/gcore.exp: Remove extra debugging output.
18959
18960 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
18961
18962         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18963         for slightly dubious v2 mangled string.
18964
18965 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
18966
18967         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18968
18969 2002-01-10  Jason Merrill  <jason@redhat.com>
18970
18971         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
18972
18973         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18974         constructors.
18975         * gdb.c++/derivation.exp: Likewise.
18976         * gdb.c++/templates.exp: Likewise.
18977         * gdb.c++/virtfunc.exp: Likewise.
18978
18979 2002-01-10  Michael Snyder  <msnyder@redhat.com>
18980
18981         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
18982
18983 2002-01-08  Michael Snyder  <msnyder@redhat.com>
18984
18985         * gdb.base/gcore.exp: New test for generate-core-file command.
18986         * gdb.base/gcore.c: Testcase for above.
18987         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18988
18989 2002-01-08  Jason Merrill  <jason@redhat.com>
18990
18991         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18992
18993 2002-01-07  Fred Fish  <fnf@redhat.com>
18994
18995         * gdb.c++/overload.exp: Remove unconditional xfails for:
18996         print foo_instance1.overloadargs(1)
18997         print foo_instance1.overloadargs(1, 2)
18998         print foo_instance1.overloadargs(1, 2, 3)
18999         print foo_instance1.overloadargs(1, 2, 3, 4)
19000         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
19001         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
19002         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
19003         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
19004         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
19005         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
19006         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
19007         print foo_instance1.overload1arg()
19008         print foo_instance1.overload1arg((char)arg2)
19009         print foo_instance1.overload1arg((signed char)arg3)
19010         print foo_instance1.overload1arg((unsigned char)arg4)
19011         print foo_instance1.overload1arg((int)arg7)
19012         print foo_instance1.overload1arg((unsigned int)arg8)
19013         print foo_instance1.overload1arg((float)arg11)
19014         print foo_instance1.overload1arg((double)arg12)
19015
19016 2002-01-07  Michael Snyder  <msnyder@redhat.com>
19017
19018         * gdb.base/huge.exp: New test.  Print a very large target data object.
19019         (skip_huge_test): New test variable.  Define if you want to skip this
19020         test.  The test reads an 8 megabyte data object from the target, so it
19021         might be very time consuming on remote targets with a slow connection.
19022         * gdb.base/huge.c: New file.  Test case for above.
19023
19024 2002-01-07  Fred Fish  <fnf@redhat.com>
19025
19026         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
19027         g_instance.bfoo, and g_instance.cfoo.
19028
19029 2002-01-07  Jeffrey A Law  <law@redhat.com>
19030
19031         * gdb.base/break.c (multi_line_if_conditional): New function.
19032         (multi_ilne_while_conditional): Likewise.
19033         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
19034         IF or WHILE condition puts the breakpoint at the start of
19035         the condition.
19036
19037         * gdb.base/selftest.exp (backtrace through signal handler): Remove
19038         hppa*-*-hpux* expected failure.
19039         * gdb.base/structs.exp (do_function_calls): Similarly.
19040
19041         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
19042         watchpoints.
19043
19044 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
19045
19046         Fix PR gdb/66.
19047         * gdb.base/structs.exp: Replace skip for a29k with skip for
19048         gdb,cannot_call_functions.
19049         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
19050         * gdb.base/callfuncs.exp: Ditto.
19051         * gdb.base/call-rt-st.exp: Ditto.
19052         * gdb.base/call-strs.exp: Ditto.
19053         * gdb.base/callfwmall.exp: Ditto.
19054         * gdb.base/scope.exp: Obsolete xfail a29k.
19055         * gdb.c++/misc.exp: Ditto.
19056         * gdb.c++/cplusfuncs.exp: Ditto.
19057         * gdb.base/ptype.exp: Ditto.
19058         * gdb.base/printcmds.exp: Ditto.
19059         * gdb.base/opaque.exp: Ditto.
19060         * gdb.base/list.exp: Ditto.
19061         * gdb.base/funcargs.exp: Ditto.
19062         * gdb.base/default.exp: Ditto.
19063
19064 2002-01-04  Michael Snyder  <msnyder@redhat.com>
19065
19066         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
19067         * gdb.base/maint.exp: Add tests for maint info sections options.
19068
19069 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
19070
19071         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
19072
19073 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
19074
19075         * gdb.asm/arm.inc: New file.
19076         * gdb.asm/asm-source.exp: Add arm targets.
19077         * gdb.asm/configure.in: Ditto.
19078         * gdb.asm/configure: Recreated from configure.in.
19079
19080 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
19081
19082         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
19083         with HP's compiler.
19084         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
19085         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
19086         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
19087         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
19088
19089         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
19090         either HP's compilers or GCC.
19091
19092         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
19093         a SIGBUS or SIGSEGV.
19094
19095         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
19096
19097         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
19098         can be compiled with either HP's compiler or GCC.
19099
19100         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
19101         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
19102         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
19103
19104         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
19105         to match current gdb output.  Update due to using auto-solib-limit
19106         for limiting instead of overloading auto-solib-add.
19107         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
19108         test program.
19109
19110         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
19111         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
19112         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
19113         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
19114         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
19115         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
19116         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
19117         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
19118         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
19119         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
19120         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
19121         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
19122         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
19123
19124         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
19125         a SIGTRAP to the inferior.
19126
19127 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
19128
19129         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
19130         Substitute call to target_link by call to gdb_compile.
19131
19132 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
19133
19134         * gdb.base/break.exp: Fix HP specific search string when testing
19135         backtracing in a called function.
19136
19137         * gdb.base/constvars.exp: Only set lang to C++ if we're
19138         compiling the test with HP's compilers.
19139         * gdb.base/volatile.exp: Similarly.
19140
19141 2001-12-19  Jim Blandy  <jimb@redhat.com>
19142
19143         * gdb.base/printcmds.exp: Expect the null character to be printed
19144         as '\0', and the '\013' to be printed as '\v'.
19145         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
19146         * gdb.base/setvar.exp: Same.
19147
19148 2001-12-17  Jim Blandy  <jimb@redhat.com>
19149
19150         * gdb.base/completion.exp: Rather than completing very long
19151         filenames, which can make the readline library produce output we
19152         don't recognize, cd to the directory first, and then complete
19153         using nice, short relative paths.
19154
19155         * gdb.base/completion.exp: On some systems, there is, in fact, a
19156         variable named `b' in scope, since GDB treats all static
19157         variables as being in scope.  So use `no_var_named_this'
19158         instead of `b'.
19159
19160         * gdb.base/corefile.exp: Recognize the message saying that GDB
19161         can't find the core file's registers as a failure.
19162
19163 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
19164
19165         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
19166         test expect string more specific.
19167
19168 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
19169
19170         * gdb.asm/asm-source.exp: Add support for xstormy16.
19171         * gdb.asm/configure.in: Ditto.
19172         * gdb.asm/configure: Rebuild.
19173         * gdb.asm/xstormy16.inc: New file.
19174
19175 2001-12-10  Fred Fish  <fnf@redhat.com>
19176
19177         * gdb.base/maint.exp: Update to match changes in type dumping code.
19178
19179 2001-12-10  Jim Blandy  <jimb@redhat.com>
19180
19181         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
19182         matching the entry point symbol's name at the beginning of the
19183         line.
19184
19185 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
19186
19187         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
19188         gdb.c++/inherit.exp, gdb.c++/method.exp,
19189         gdb.c++/namespace.exp, gdb.c++/templates.exp,
19190         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
19191         and class layout support.
19192
19193 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
19194
19195         * gdb.c++/classes.exp: Add test for static member function.
19196         * gdb.c++/misc.cc: Add class with static member function.
19197
19198 2001-12-07  Jim Blandy  <jimb@redhat.com>
19199
19200         If GDB says it can't find the struct the function returned, report
19201         those tests as `unsupported'.
19202         * gdb.base/call-rt-st.exp (print_struct_call): New function.
19203         Rewrite subsequent tests to use it.
19204
19205         If GDB says it can't find the struct the function returned, report
19206         those tests as `unsupported'.
19207         * gdb.base/structs.exp (call_struct_func): New function.
19208         (do_function_calls): Use call_struct_func to call the functions
19209         returning structs.
19210
19211         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
19212         whether functions are prototyped or not, so we can't possibly pass
19213         arguments to t_float_values2 properly.
19214
19215         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
19216         value of `timeout' for targets other than the mips*tx39-*.
19217
19218 2001-12-06  Michael Snyder  <msnyder@redhat.com>
19219
19220         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
19221         and detect whether the start symbol has a leading underscore.
19222
19223 2001-12-04  Jim Blandy  <jimb@redhat.com>
19224
19225         * gdb.base/completion.exp: Clarify indentation.
19226
19227 2001-12-03  Jim Blandy  <jimb@redhat.com>
19228
19229         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
19230         variables on the S/390, not `.word'.
19231
19232 2001-11-30  Jim Blandy  <jimb@redhat.com>
19233
19234         Add assembly-source tests for s390-ibm-linux.
19235         * gdb.asm/s390.inc: New file.
19236         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
19237         the S/390 architecture.
19238         * gdb.asm/configure: Regenerated.
19239
19240 2001-11-30  Michael Snyder  <msnyder@redhat.com>
19241
19242         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
19243         next, info source, info sources, info line, global and static
19244         variables, and static functions.
19245         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
19246         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
19247         * gdb.asm/asmsrc1.s: Add a static function and some variables.
19248         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
19249         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
19250         (gdbasm_leave): Restore frame pointer.
19251         (gdbasm_startup): Copy stack set-up from crt0.S.
19252
19253 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
19254
19255         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
19256         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
19257         to a local (non-static) variable. Copy tstruct.a to a static buffer
19258         and return a pointer to that buffer.
19259         * gdb.base/callfwmall.c (t_structs_a): Ditto.
19260
19261 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
19262
19263         * gdb.asm/configure.in: Fix recognition of ix86 target.
19264         * gdb.asm/configure: Regenerate.
19265
19266 2001-11-21  Michael Snyder  <msnyder@redhat.com>
19267
19268         * gdb.asm/sparc.inc: New file.
19269         * gdb.asm/asm-source.exp: Recognize sparc target.
19270         * gdb.asm/configure.in: Recognize sparc target.
19271         * gdb.asm/configure: Regenerate.
19272
19273 2001-11-21  Michael Snyder  <msnyder@redhat.com>
19274
19275         * gdb.asm/m32r.inc: New file.
19276         * gdb.asm/asm-source.exp: Recognize m32r target.
19277         * gdb.asm/configure.in: Recognize m32r target.
19278         * gdb.asm/configure: Regenerate.
19279
19280 2001-11-20  Michael Snyder  <msnyder@redhat.com>
19281
19282         * gdb.asm/i386.inc: New file.
19283         * gdb.asm/asm-source.exp: Recognize ix86 target.
19284         * gdb.asm/configure.in: Recognize ix86 target.
19285         * gdb.asm/configure: Regenerate.
19286
19287         * gdb.c++/namespace.exp: Fix quotes in output messages.
19288
19289 2001-11-14  Michael Snyder  <msnyder@redhat.com>
19290
19291         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
19292         qualifier in a type cast expression, to designate an address
19293         in the instruction space (Harvard architecture).
19294
19295 2001-11-13  Michael Snyder  <msnyder@redhat.com>
19296
19297         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
19298         Tests for expressions using 'const' and 'volatile'.
19299
19300 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
19301
19302         * gdb.asm/asm-sources.exp: Allow defining linker flags.
19303
19304 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
19305
19306         * lib/mi-support.exp (mi_run_to_helper): Move comments
19307         outside of gdb_expect.
19308
19309 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
19310
19311         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
19312         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
19313         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
19314         mi0_run_to): New functions.
19315         * gdb.mi/mi-simplerun.exp: Use them.
19316         * gdb.mi/mi0-simplerun.exp: Likewise.
19317         * gdb.mi/mi-var-cmd.exp: Likewise.
19318         * gdb.mi/mi0-var-cmd.exp: Likewise.
19319
19320 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
19321
19322         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
19323         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
19324
19325 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
19326
19327         * gdb.base/restore.exp: Include $expected value in restored test
19328         message.
19329
19330 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
19331
19332         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
19333         implemented.
19334
19335 2001-11-08  Michael Snyder  <msnyder@redhat.com>
19336
19337         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
19338         Add pass/fail message for stop at breakpoint in call dummy function.
19339
19340 2001-11-07  Michael Snyder  <msnyder@redhat.com>
19341
19342         * gdb.c++/templates.exp (test_template_breakpoints):
19343         If we get an overload menu, but it does not match what
19344         we expect, we still need to issue the "cancel" command.
19345         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
19346         making the whitespace optional.  Argument for "new" may be
19347         "unsigned" as well as "unsigned int/long".
19348         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
19349         making the whitespace optional.  Also replace "(void) with
19350         "((void|)), making the keyword "void" optional.
19351         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
19352         making the whitespace optional.  Also replace "(void) with
19353         "((void|)), making the keyword "void" optional.
19354         * gdb.base/callfuncs.c (t_float_values): This function must
19355         _not_ be prototyped, and the following function (t_float_values2)
19356         must be prototyped (if the compiler supports it), so that GDB
19357         can be tested against both cases.  Usually one case involves
19358         promotion of float to double, while the other does not.
19359         * gdb.base/callfwmall.c: Ditto.
19360         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
19361         includes a stack frame for "start".
19362
19363 2001-11-05  Jim Blandy  <jimb@redhat.com>
19364
19365         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
19366         pointers are 32 bits long, and that offsets of relocs are always
19367         stored in the data (REL-style), and not in the reloc entry itself
19368         (RELA-style).
19369         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
19370         stabs.
19371
19372 2001-11-01  Michael Snyder  <msnyder@redhat.com>
19373
19374         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
19375         and regular expression operators by using quoting.
19376
19377 2001-10-31  Michael Snyder  <msnyder@redhat.com>
19378
19379         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
19380         depending on what the symbol table contains.
19381         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
19382         the output of the ptype command.  Similarly, accept both "const &"
19383         and "const&".
19384
19385 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
19386
19387         * gdb.base/miscexprs.c (main): Add usage of preprocessor
19388         symbol `STORAGE' to allow to choose the storage class of
19389         the local datastructures.
19390         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
19391         compiler directive.
19392
19393 2001-10-30  Michael Snyder  <msnyder@redhat.com>
19394
19395         * gdb.base/jump.exp: Allow it to run for all targets.
19396
19397 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
19398
19399         * gdb.base/call-ar-st.c (print_double_array): Match for loop
19400         with new double_array size.
19401         (main): Change storage class of all local variables to static.
19402         Reduce size of double_array to 9.
19403         * gdb.base/call-ar-st.exp:  Increase timeout value.
19404         Change expected output for double array to match new size in
19405         call-ar-st.c.
19406
19407 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
19408
19409         * gdb.base/ending-run.exp: Create identical output when passing
19410         `step to end of run' case.  Add regular expression branch satisfying
19411         Stormy16 target.
19412
19413 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
19414
19415         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
19416         that we catch the expected failure under Linux/x86.
19417
19418 2001-10-29  Orjan Friberg  <orjanf@axis.com>
19419
19420         * gdb.base/setvar.exp: Escape curly braces.
19421         * gdb.stabs/weird.exp: Ditto.
19422
19423 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
19424
19425         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
19426         * gdm.mi/mi0-hack-cli.exp: Likewise.
19427
19428 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
19429
19430         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
19431         messages.
19432
19433 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
19434
19435         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
19436         checking MI enabled.
19437
19438 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
19439
19440         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
19441
19442 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
19443
19444         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
19445         if gdb child process crashes, just signal an error.
19446
19447 2001-10-02  Jim Blandy  <jimb@redhat.com>
19448
19449         * lib/gdb.exp (test_xfail_format): Simplify.
19450
19451         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
19452         front of the variable name `format'.  Simplify `if'.
19453
19454 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
19455
19456         * gdb.threads/pthreads.exp: Wait for output and delay
19457         before sending ^C.
19458
19459 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
19460
19461         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
19462         some incorrect output instead of timing out.
19463         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
19464
19465 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
19466
19467         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
19468         check to allow additional `int'.
19469
19470 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
19471
19472         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
19473         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
19474
19475 2001-09-27  Michael Snyder  <msnyder@redhat.com>
19476
19477         * lib/gdb.exp (test_debug_format): New proc.
19478         (setup_xfail_format): Use new proc test_debug_format.
19479         * gdb.base/constvars.exp (local_compiler_xfail_check): New
19480         proc; use new service proc test_debug_format.
19481         Replace all other "gcc_compiled" tests with this test.
19482         * gdb.base/volatile.exp (local_compiler_xfail_check): New
19483         proc; use new service proc test_debug_format.
19484         Replace all other "gcc_compiled" tests with this test.
19485
19486 2001-09-27  Michael Snyder  <msnyder@redhat.com>
19487
19488         * gdb.base/cvexpr.exp: New file.
19489         * gdb.base/cvexpr.c: New file
19490         Test for expressions using const and volatile keywords.
19491
19492 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
19493
19494         * gdb.base/constvars.exp: Check for different orders of keywords
19495         and additional "int" strings in output.
19496
19497 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
19498
19499         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
19500         responses from "help maint".
19501
19502 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
19503
19504         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
19505         to localhost:NNN instead of :NNN, in case Xvfb is listening
19506         only on TCP.
19507
19508 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
19509
19510         * gdb.base/recurse.exp: When checking leaving the watchpoint
19511         scope, recognize when gdb is in function's epilogue and pass.
19512
19513 2001-09-18  Keith Seitz  <keiths@redhat.com>
19514
19515         * lib/insight-support.exp (_gdbtk_export_target_info): Add
19516         support for running tests against sid targets.
19517         (gdbtk_done): Ditto.
19518
19519 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
19520
19521         * gdb.base/ending-run.c (main): Set stdout buffersize
19522         to the same reasonable value for any target.
19523         * gdb.base/ending-run.exp: Add a regular expression
19524         to make testsuite happy on Sanyo Stormy16 target.
19525
19526 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
19527
19528         * gdb.base/display.c (do_loops): Add float variable `f'.
19529         Increment f in loop.
19530         * gdb.base/display.exp: Increment timeout by 60 seconds.
19531         Change float display test to use variable `f'.
19532
19533 2001-09-17  Jim Blandy  <jimb@redhat.com>
19534
19535         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
19536         overflowing the limited breakpoint tables on some ROM monitors
19537         (like the ROM68K).
19538
19539 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
19540
19541         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
19542         the "-ac" (disable access control) flag.
19543
19544 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
19545
19546         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
19547         ints.
19548
19549 2001-08-30  Keith Seitz  <keiths@redhat.com>
19550
19551         * lib/gdb.exp: Move all insight-related functionality into
19552         separate file.
19553         * lib/insight-support.exp: New file.
19554
19555 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
19556
19557         * config/sid.exp (sid_start): Never set sid verbosity; disable
19558         expect_background {} that consumed its stdout; tolerate </dev/null.
19559         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
19560
19561 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
19562
19563         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
19564         CLI jump command to start it.
19565         (mi_run_to_main): Fail immediatly when unexpected output.
19566
19567 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
19568
19569         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19570         beginning of function.  Fix PR gdb/191.
19571
19572 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
19573
19574         * config/sid.exp (sid_start): Don't warn if we cannot figure out
19575         what to force sid endianness to.
19576
19577 2001-08-15  Keith Seitz  <keiths@redhat.com>
19578
19579         * lib/gdb.exp (gdbtk_start): Don't set environment
19580         variables for TCL_LIBRARY and friends. Insight will
19581         now figure these out for itself.
19582
19583 2001-08-02  Michael Snyder  <msnyder@redhat.com>
19584
19585         * gdb.base/completion.exp: Remove the symbol "a64l" from
19586         the expect string; this is target-specific, and not related
19587         to what is being tested.
19588
19589 2001-08-02  Dave Brolley  <brolley@redhat.com>
19590
19591         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19592
19593 2001-07-25  Michael Snyder  <msnyder@redhat.com>
19594
19595         * gdb.base/consecutive.exp: New file.  Test stepping over
19596         breakpoints on consecutive instructions.
19597         * gdb.base/consecutive.c: New file.
19598
19599         * gdb.base/call-rt-st.exp: Use double-backslash to quote
19600         curly braces in regular expressions.
19601
19602 2001-07-25  Michael Snyder  <msnyder@redhat.com>
19603
19604         * gdb.base/ending-run.exp: Accept "Program exited normally" as
19605         legitimate output from stepping out of main.
19606
19607 2001-07-22  Keith Seitz  <keiths@redhat.com>
19608
19609         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19610         the empty string, do not run the tests.
19611
19612 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
19613
19614         * gdb.base/long_long.exp: Detect size of pointer.  Take into
19615         account 2-byte pointers when testing for p/a results.
19616
19617 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
19618
19619         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
19620         and defined to 1K for m68hc11.
19621         (random_data): Reduce table to 1K for embedded platforms (68hc11).
19622         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19623         (sizeof_random_data): New variable to tell the size of the data table;
19624         don't test past this size; always run to main.
19625
19626 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
19627
19628         * gdb.base/return2.exp: return of long long and double fails for
19629         68HC11; don't execute these tests on that platform.
19630         * gdb.base/return.exp: Return of a double fails for 68hc11.
19631
19632 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
19633
19634         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19635         tests that print a float.
19636         * call-rt-st.exp: Likewise.
19637
19638 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
19639
19640         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19641         running this test on Linux.
19642
19643 2001-06-24  Michael Chastain  <chastain@redhat.com>
19644
19645         * gdb.base/arithmet.exp: Remove some tests to make all test names
19646         unique.
19647
19648 2001-07-03  Michael Snyder  <msnyder@redhat.com>
19649
19650         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19651         the output of the ptype command.
19652
19653 2001-07-02  Michael Snyder  <msnyder@redhat.com>
19654
19655         * gdb.base/completion.exp: Don't assume that break.c is the only
19656         source file that may contain functions named "marker".
19657         * gdb.base/corefile.exp: Quote the curly braces in regexp.
19658
19659 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
19660
19661         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19662         of files to delete.
19663
19664         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19665         * gdb.disasm/h8300s.exp: New file.
19666         gdb.disasm/h8300s.s: Likewise.
19667
19668 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
19669
19670         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19671         empty breakpoint tables.
19672
19673 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
19674
19675         * lib/mi-support.exp: Update args=... part of stop-reason
19676         patterns. Accept either a list or a tuple.
19677
19678 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
19679
19680         * lib/mi-support.exp: Remove local emacs variable defining
19681         change-log-default-name.
19682
19683 2001-06-22  Michael Chastain  <chastain@redhat.com>
19684
19685         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19686         This is operationally compatible with the previous version.
19687
19688 2001-06-13  Jim Blandy  <jimb@redhat.com>
19689
19690         * lib/gdb.exp (gdb_test): Doc fix.
19691
19692 2001-06-10  Michael Chastain  <chastain@redhat.com>
19693
19694         * gdb.base/exprs.exp: Remove a duplicate test.
19695
19696 2001-06-06  Jim Blandy  <jimb@redhat.com>
19697
19698         * gdb.base/return2.exp (main): Use values to test float and double
19699         returns that are not NaN's, to avoid being confused by IEEE
19700         comparison rules.
19701
19702 2001-06-04  Michael Snyder  <msnyder@redhat.com>
19703
19704         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
19705         non-zero if control_c fails.  Terminate the test on failure,
19706         rather than wait for 12 more tests to time out.
19707
19708 2001-06-06  Jim Blandy  <jimb@redhat.com>
19709
19710         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
19711         Don't forget to match the GDB prompt.
19712
19713         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19714
19715 2001-06-04  Jim Blandy  <jimb@redhat.com>
19716
19717         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19718         command.
19719
19720 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
19721
19722         * gdb.base/annota1.exp (info break): Match four or more spaces
19723         after "Address".
19724
19725 2001-05-31  Michael Chastain  <chastain@redhat.com>
19726
19727         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19728         (dm_type_int_star): Likewise.
19729         (dm_type_long_star): Likewise.
19730         (dm_type_void_star): Likewise.
19731
19732 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
19733
19734         * gdb.base/completion.exp (INPUTRC): Set this environment variable
19735         to a known value in order to get consistent results regardless
19736         of the setting of INPUTRC or the presence or contents of .inputrc.
19737
19738 2001-05-24  Michael Snyder  <msnyder@redhat.com>
19739
19740         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19741         Don't require that the main thread and the manager thread are the
19742         first in the list.
19743
19744         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19745         debugging.  If test fails, issue an "unsupported" not a "fail".
19746
19747 2001-05-24  Jim Blandy  <jimb@redhat.com>
19748
19749         Don't assume that short is shorter than int.
19750         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19751         assume that shorts are smaller than ints.  On a 16-bit machine,
19752         this isn't true.
19753         ("print unsigned char == (~0)"): Add test that verifies that ~0,
19754         an int, is not equal to ~0 stored in an unsigned char.  This tests
19755         the same thing that the previous test meant to, but works on
19756         16-bit machines, too.
19757         ("print unsigned char != (~0)"): Same test, complemented.
19758
19759 2001-05-24  Michael Snyder  <msnyder@redhat.com>
19760
19761         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
19762         test for (full_coverage == 0).  This makes the test run faster,
19763         and prevents dejagnu getting out of step.
19764
19765 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
19766
19767         * gdb.base/finish.exp (finish_void): Revise pattern for
19768         stopping on the call statement to not permit stopping at
19769         the start of the instructions comprising the call sequence.
19770
19771 2001-05-19  Michael Chastain  <chastain@redhat.com>
19772
19773         * gdb.base/callfuncs.exp: Make all test names unique.
19774         * gdb.base/commands.exp: Make all test names unique.
19775         * gdb.base/condbreak.exp: Make all test names unique.
19776         * gdb.base/dbx.exp: Make all test names unique.
19777         * gdb.base/default.exp: Make all test names unique.
19778         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
19779         and TIMEOUT messages to their corresponding PASS message.
19780         * gdb.base/ending-run.exp: Make all test names unique.
19781         * gdb.base/long_long.exp: Remove duplicate test.
19782
19783 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
19784
19785         * gdb.base/finish.exp (finish_void): Allow "finish" command to
19786         stop on the call statement as well as the statement after the
19787         call.
19788
19789 2001-05-21  Michael Snyder  <msnyder@redhat.com>
19790
19791         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19792
19793 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
19794
19795         * gdb.base/completion.exp: Revamp test. Make it execute on all
19796         platforms.
19797
19798 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
19799
19800         * config/gdbserver.exp (gdb_load): Handle the case
19801         in which the arguments to gdbserver are given in the
19802         baseboard configuration file.
19803         Also handle the case in which the server needs to do a
19804         load.
19805
19806 2001-05-07  Keith Seitz <keiths@cygnus.com>
19807
19808         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19809         set up the display for testing.
19810         (gdbtk_start): Convert all paths to paths that tcl will like.
19811         Export target information to environment.
19812         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19813         necessary.
19814         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19815         (to_tcl_path): New proc to convert a given pathname into
19816         a path acceptible as an argument to a tcl command.
19817         (_gdbtk_export_target_info): New proc to export target info
19818         into the environment for gdbtk testing.
19819         (gdbtk_done): New proc to signal end-of-test.
19820
19821 2001-05-06  Jim Blandy  <jimb@redhat.com>
19822
19823         * restore.c: Make the code of caller0 correspond to its comment.
19824
19825 2001-05-03  Michael Snyder  <msnyder@redhat.com>
19826
19827         * config/sid.exp (gdb_target_sid): Check for error messages.
19828         On error or timeout, don't make expect exit (which will terminate
19829         all subsequent tests); instead just make gdb exit.
19830         (gdb_load): Check for error messages.  On error or timeout,
19831         return a negative value.
19832
19833 2001-04-24  Jim Blandy  <jimb@redhat.com>
19834
19835         * gdb.c++/templates.exp: If we see the prompt for the overload
19836         list, but we haven't recognized any of the longer patterns,
19837         arrange for this test to fail, not hang.
19838
19839         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19840         variations.
19841
19842 2001-04-22  Michael Chastain  <chastain@redhat.com>
19843
19844         * gdb.c++/local.exp: Use the 'runto' library function.
19845         * gdb.c++/namespace.exp: Likewise.
19846         * gdb.c++/overload.exp: Likewise.
19847
19848 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
19849
19850         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19851         * gdb.base/step-line.exp: New file.  Test step/next in presence of
19852         #line directives.
19853         * gdb.base/step-line.c: New file.  Test program for the above.
19854         * gdb.base/step-line.inp: New file.  We pretend that this file has
19855         been transformed by some other tool into step-line.c.
19856
19857 2001-03-21  Jim Blandy  <jimb@redhat.com>
19858
19859         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19860         unmangled operator names.
19861
19862 2001-03-20  Jim Blandy  <jimb@redhat.com>
19863
19864         * gdb.threads/linux-dp.exp: Recognize an additional message
19865         generated by GDB when it doesn't understand how to debug threads
19866         on the target system.
19867
19868 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
19869
19870         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19871
19872 2001-03-12  Michael Chastain  <chastain@redhat.com>
19873
19874         * gdb.c++/derivation.exp: Use the 'runto' library function.
19875
19876 2001-03-12  Michael Chastain  <chastain@redhat.com>
19877
19878         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19879
19880 2001-02-24  Michael Chastain  <chastain@redhat.com>
19881
19882         * gdb.c++/ref-types.exp: Change handwritten code to library
19883         function 'runto'.
19884
19885 2001-03-16  Orjan Friberg  <orjanf@axis.com>
19886
19887         * gdb.base/signals.exp: Set count to 0 explicitly.
19888
19889 2001-03-15  Mark Salter  <msalter@redhat.com>
19890
19891         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19892         (gdb_target_monitor): Add check of gdb_target_cmd return value.
19893         (gdb_load): Add support for additional target_info: gdb_download_size
19894         and gdb_load_timeout.
19895
19896 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
19897
19898         * gdb.base/annota1.exp: Move test of isnative to earlier in the
19899         file -- to prevent failing when the compile fails but we have no
19900         intention of running the tests anyway.
19901
19902         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19903         tests if set.
19904
19905         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
19906         integers.
19907
19908         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19909         * gdb.c++/namespace.exp: Ditto.
19910
19911 2001-03-07  Orjan Friberg  <orjanf@axis.com>
19912
19913         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19914         * gdb.base/pointers.exp: Relax pattern match of decimals.
19915
19916 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
19917
19918         * Makefile.in, config/abug.exp, config/cfdbug.exp,
19919         config/cpu32bug.exp, config/dve.exp, config/est.exp,
19920         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19921         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19922         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19923         config/sh.exp, config/sid.exp, config/slite.exp,
19924         config/sparclet.exp, config/udi.exp, config/unknown.exp,
19925         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19926         config/vxworks.exp, config/vxworks29k.exp,
19927         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19928         gdb.base/all-bin.exp, gdb.base/annota1.exp,
19929         gdb.base/arithmet.exp, gdb.base/assign.exp,
19930         gdb.base/async.exp, gdb.base/attach.exp,
19931         gdb.base/bitfields.exp, gdb.base/bitops.exp,
19932         gdb.base/break.exp, gdb.base/call-ar-st.exp,
19933         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19934         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19935         gdb.base/commands.exp, gdb.base/completion.exp,
19936         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19937         gdb.base/constvars.exp, gdb.base/corefile.exp,
19938         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19939         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19940         gdb.base/ending-run.exp, gdb.base/environ.exp,
19941         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19942         gdb.base/finish.exp, gdb.base/foll-exec.exp,
19943         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19944         gdb.base/funcargs.exp, gdb.base/help.exp,
19945         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19946         gdb.base/logical.exp, gdb.base/long_long.exp,
19947         gdb.base/maint.exp, gdb.base/mips_pro.exp,
19948         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19949         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19950         gdb.base/pointers.exp, gdb.base/printcmds.exp,
19951         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19952         gdb.base/regs.exp, gdb.base/relational.exp,
19953         gdb.base/remote.exp, gdb.base/reread.exp,
19954         gdb.base/restore.exp, gdb.base/return2.exp,
19955         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19956         gdb.base/selftest.exp, gdb.base/setshow.exp,
19957         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19958         gdb.base/sigall.exp, gdb.base/signals.exp,
19959         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19960         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19961         gdb.base/step-test.exp, gdb.base/structs.c,
19962         gdb.base/structs.exp, gdb.base/structs2.exp,
19963         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19964         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19965         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19966         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19967         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19968         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19969         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19970         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19971         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19972         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19973         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19974         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19975         gdb.fortran/types.exp, gdb.java/jmisc.exp,
19976         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19977         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19978         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19979         gdb.trace/circ.exp, gdb.trace/collection.exp,
19980         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19981         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19982         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19983         gdb.trace/report.exp, gdb.trace/save-trace.exp,
19984         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19985         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19986         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19987         notices.
19988
19989 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
19990
19991         * gdb.base/varargs.c (find_max_double): Fix printf format string:
19992         first arg is int not float.
19993
19994 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
19995
19996         * gdb.base/reread.exp: Unsupported for non-native targets;
19997         doesn't work for remote debugging.
19998
19999 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
20000
20001         From  Drew Moseley  <dmoseley@redhat.com>
20002         * gdb.base/ending-run.exp: Properly handle the BSP state when
20003         stepping past the end of main.
20004
20005 2001-02-19  John Moore  <jmoore@redhat.com>
20006
20007         * gdb.base/commands.exp (infrun_breakpoint_command_test):
20008         Converted HPUX fix for non-expected items following multiple
20009         step commands into general solution for all platforms.
20010
20011 2001-02-18  Michael Chastain  <chastain@redhat.com>
20012
20013         * gdb.c++/classes.exp (do_tests): Change runto statements
20014         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
20015         statements demangler agnostic.
20016         * gdb.c++/virtfunc.exp (do_tests): Likewise.
20017         (gdb_virtfunc_restart): Likewise.
20018
20019 2001-02-14  Michael Chastain  <chastain@redhat.com>
20020
20021         * gdb.c++/inherit.exp (do_tests): Change runto statements
20022         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
20023         statements demangler agnostic.
20024
20025 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
20026
20027         * gdb.threads/pthreads.exp: Unify pass/fail messages for
20028         ``continue to bkpt at common_routine in thread 2'' and ``stopped
20029         before calling common_routine 15 times'' tests.
20030
20031 2001-02-11  Michael Chastain  <chastain@redhat.com>
20032
20033         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
20034         Helps the test script figure out which demangler is in use.
20035         (dm_type_foo_ref): Ditto.
20036         (dm_type_int_star): Ditto.
20037         (dm_type_long_star): Ditto.
20038         (dm_type_unsigned_int): Ditto.
20039         (dm_type_void): Ditto.
20040         (dm_type_void_star): Ditto.
20041         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
20042         Probe the gdb demangler and set variables to accommodate
20043         formatting differences.
20044         (info_func_regexp): New function.  Same as info_func, but
20045         matches against a regexp.
20046         (info_func): Match against a literal string.
20047         (print_addr_2): New function.  Match against a literal string,
20048         which can be different from the input to gdb.
20049         (print_addr): Simply call print_addr_2 with the same argument twice.
20050         (test_lookup_operator_functions): Use demangler formatting variables.
20051         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
20052         the tests in the same order as the C++ class declaration.
20053         (test_paddr_operator_functions): Ditto.
20054         (test_paddr_overloaded_functions): Ditto.
20055         (test_paddr_hairy_functions): Use demangler formatting variables.
20056         Add reference to gdb/19 for related tests.
20057         (do_tests): Call probe_demangler.
20058
20059 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
20060
20061         * gdb.c++/templates.cc (printf): Remove unused function definition.
20062
20063 2001-01-26  Felix Lee  <flee@redhat.com>
20064
20065         * sid.exp (sid_exit): Pass host, not target, to remote_close.
20066
20067 2001-01-25  matthew green  <mrg@redhat.com>
20068
20069         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
20070         up sid.
20071         (sid_exit): Call `remote_pop_conn' after GDB is gone.
20072
20073 2001-01-25  matthew green  <mrg@redhat.com>
20074
20075         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
20076         Deprecate $sid_spawn_id.
20077         (sid_exit): Remove code necessary only for `spawn.'
20078
20079 2001-01-25  matthew green  <mrg@redhat.com>
20080
20081         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
20082
20083 2001-01-28  Michael Chastain  <chastain@redhat.com>
20084
20085         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
20086         to call when tests fail.  It takes gdb out of the overloaded
20087         function choice menu back to the main prompt, so that the test
20088         program stays synchronized.
20089         (set_bp_overloaded): New proc to collect all the common
20090         code for setting a breakpoint on an overloaded name.  Calls
20091         take_gdb_out_of_choice_menu when needed.
20092         (menu_overload1arg): New variable to collect the repeated
20093         instances of the expected menu for an overloaded name.  Change
20094         the regular expression to handle changes in g++ type encoding:
20095         "void" can be either "void" or "", and "unsigned int" can be
20096         either "unsigned int" or "unsigned".
20097         (continue_to_bp_overloaded): Change regular expressions to handle
20098         changes in g++ type encoding.
20099         (no proc): Call take_gdb_out_of_choice_menu when needed.
20100         Remove redundant calls to "info break".  Accept either "canceled"
20101         or "cancelled".  Change regular expressions in "info break"
20102         calls to handle changes in g++ type encoding.  Give all tests
20103         unique strings.
20104
20105 2001-01-17  Ben Elliston  <bje@redhat.com>
20106
20107         * config/sid.exp: New file.
20108
20109 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
20110
20111         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
20112
20113 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
20114
20115         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
20116         Add a RE to accept a non-ascii char if one is ever presented.
20117
20118 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
20119
20120         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
20121
20122 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
20123
20124         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
20125         in regexp.  One '\' does not suffice on Linux.
20126
20127 2000-12-09  Michael Chastain  <chastain@redhat.com>
20128
20129         * gdb.base/break.exp (test_clear_command): Use a marker function
20130         rather than 'main' for the test function.  Also move this
20131         test to an execution point where the marker function names are
20132         guaranteed to be bound to functions.  (Executing tests after a
20133         'finish' from main runs into name conflicts with local names
20134         in __libc_start_main).
20135
20136 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
20137
20138         * gdb.base/finish.exp: New test for gdb's "finish" command.
20139         * gdb.base/return2.exp: New test for gdb's "return" command.
20140         * gdb.base/return2.c: New source file for above.
20141
20142 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
20143
20144         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
20145         * gdb.base/miscexprs.exp: Ditto.
20146         * gdb.base/pointers.exp:  Ditto.
20147         * gdb.c++/derivation.exp: Ditto.
20148         * gdb.c++/local.exp:      Ditto.
20149         * gdb.c++/namespace.exp:  Ditto.
20150         * gdb.c++/overload.exp:   Ditto.
20151         * gdb.c++/ref-types.exp:  Ditto.
20152
20153 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
20154
20155         * gdb.base/constvars.exp: Test result of "up" command.
20156         * gdb.base/miscexprs.exp: Ditto.
20157         * gdb.base/pointers.exp:  Ditto.
20158         * gdb.base/scope.exp:     Ditto.
20159         * gdb.c++/derivation.exp: Ditto.
20160         * gdb.c++/local.exp:      Ditto.
20161         * gdb.c++/namespace.exp:  Ditto.
20162         * gdb.c++/overload.exp:   Ditto.
20163         * gdb.c++/ref-types.exp:  Ditto.
20164
20165 2000-11-22  Michael Chastain  <chastain@redhat.com>
20166
20167         * mips_pro.exp: Accept either "middle -> top -> main" or
20168         "middle -> main" in the backtrace, because gcc can optimize
20169         tail calls to jumps.  Remove setup_xfail for the hppa case.
20170         Add a comment with the original warning messages from PR 3016,
20171         which was filed in 1993, to preserve them for posterity.
20172
20173 2000-11-17  Nick Duffek  <nsd@redhat.com>
20174
20175         * lib/gdb.exp (gdb_test): Override timeout with board info.
20176
20177 2000-11-17  Nick Duffek  <nsd@redhat.com>
20178
20179         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
20180         the second kill and detach messages.
20181
20182 2000-11-17  Nick Duffek  <nsd@redhat.com>
20183
20184         * configure.in: Add AC_EXEEXT.
20185         * configure: Regenerate.
20186         * Makefile.in (just-check): Export EXEEXT.
20187         * lib/gdb.exp ($EXEEXT): Import from environment.
20188         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
20189         expect "maint dump-me" on Cygwin.
20190         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
20191         $EXEEXT.
20192
20193 2000-11-17  Nick Duffek  <nsd@redhat.com>
20194
20195         * gdb.base/break.exp: Test backtrace and finish from called
20196         function on all platforms, not just HP-UX.
20197
20198 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
20199
20200         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
20201         code from gdb_target_monitor, so it can be used independantly
20202         for gdbserver.  Also comment out an unnecessary PUTS.
20203
20204 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
20205
20206         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
20207         * gdb.base/corefile.exp: Expect the message "Program is being
20208         debugged already" when we send the "corefile" command, since
20209         the preceeding gdb_load may have connected gdb to a remote target.
20210         * gdb.base/display.exp: Disable hardware watchpoints if new
20211         board info variable "no_hardware_watchpoints" is true.
20212         Replace single-letter commands with more readable ones.
20213         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
20214         if new board info variable "no_hardware_watchpoints" is true.
20215         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
20216         to see if stdio (printf) testing is possible.
20217         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
20218         board info variable "no_hardware_watchpoints" is true.  Use new
20219         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
20220
20221 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
20222
20223         From Orjan Friberg  <orjanf@axis.com>:
20224         * gdb.base/printcmds.exp: Escape curly braces followed by a number
20225         in array print pattern match.
20226
20227 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
20228
20229         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
20230         spelling "cancelled" to U.S. spelling "canceled" to match changes
20231         made to gdb.
20232         * gdb.c++/ovldbreak.exp: Ditto.
20233
20234 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
20235
20236         * gdb.base/callfuncs.c (main):  Moved to end of file, call
20237         t_double_values to initialize the FPU before inferior calls are made.
20238         * gdb.base/callfuncs.exp:  Test for register preservation after calling
20239         inferior functions.  Add tests for continuining, finishing and
20240         returning from a stop in a call dummy.
20241
20242 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
20243
20244         * gdb.base/commands.exp: Break up long lines, and re-indent.
20245
20246 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
20247
20248         * config/gdbserver.exp:  Rewritten from the ground up, to make it
20249         compatible with the current dejagnu tree, and to make it work with
20250         the new "gdbserver" in libremote.
20251
20252 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
20253
20254         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
20255         * gdb.base/varargs.exp: Skip entire test if no printf support.
20256         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
20257         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
20258
20259 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
20260
20261         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
20262         no floating point support.
20263         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
20264         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
20265         * gdb.base/call-rt-st.exp: Ditto.
20266         * gdb.base/call-strs.exp: Ditto.
20267
20268 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
20269
20270         * gdb.base/sizeof.c: include <stdio.h>.
20271
20272         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
20273         'finish', otherwise uncaptured gdb_prompt would potentially
20274         throw remaining test points out of sync.
20275
20276 2000-07-26  Scott Bambrough <scottb@netwinder.org>
20277
20278         * gdb.base/recurse.exp: Run tests for all targets.
20279         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
20280         gnu-oldld case on ARM.
20281         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
20282         for ARM targets.
20283
20284 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
20285
20286         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
20287         * gdb.java/configure: Rebuild.
20288
20289 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
20290
20291         * gdb.java/jv-exp.exp: New file.
20292
20293 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
20294
20295         * configure: Rebuilt.
20296         * configure.in (configdirs): Add gdb.java.
20297         * gdb.java/jmisc.java: New file.
20298         * gdb.java/jmisc.exp: New file.
20299         * gdb.java/Makefile.in: New file.
20300         * gdb.java/configure: Rebuilt.
20301         * gdb.java/configure.in: New file.
20302         * lib/java.exp: New file.
20303
20304 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
20305
20306         * gdb.base/exprs.exp: Test casts to a pointer including over and
20307         underflow.
20308
20309 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
20310
20311         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
20312         and the compilers sizes.
20313
20314 2000-07-09  Nick Duffek  <nsd@redhat.com>
20315
20316         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
20317         (use_methods): New function.
20318         (main): Call use_methods().
20319         * gdb.c++/classes.exp (test_method_param_class): New procedure.
20320         (do_tests): Call test_method_param_class.
20321
20322 2000-07-09  Nick Duffek  <nsd@redhat.com>
20323
20324         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
20325         spelling.
20326         (test_enums): New procedure.  Move enum tests from end of script
20327         to here.  Set breakpoint on function name instead of line number.
20328         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
20329         (enums2): New marker function.
20330         (enums1): New function.
20331         (main): Call enums1().  Move enum tests to enums1().
20332
20333 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
20334
20335         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
20336         compile/link program.  Update line numbers.
20337         * gdb.asm/d10v.inc: Define ``startup''.
20338         * gdb.asm/asmsrc1.s: Add definition of _start.
20339
20340 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
20341
20342         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
20343
20344 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20345
20346         * gdb.base/maint.exp: Add 'maint print architecture' item to output
20347         of 'help maint print' command.
20348
20349 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
20350
20351         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
20352         they use gdb_expect_list.
20353
20354 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
20355
20356         * gdb.base/commands.exp: Use ``set remote
20357         memory-read-packet-size'' instead of ``set endian big'' to test
20358         long commands.
20359
20360 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
20361
20362         * gdb.c++/templates.exp (do_tests): Make all of these work under
20363         g++, and stop skipping them.
20364
20365         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
20366         work under g++.
20367
20368         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
20369         initialization.
20370
20371 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
20372
20373         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
20374         the regular expression: accept an (almost) arbitrary sequence of
20375         "frames-invalid" and "breakpoints-invalid" messages both before
20376         and after the "starting" message.
20377
20378 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
20379
20380         * gdb.c++/local.exp: This test has never been known to work with g++.
20381
20382 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
20383
20384         * gdb.base/annota1.exp (annotate-signal-handler-caller):
20385         Relax the regular expression a little, make it pass on Solaris 8.
20386
20387 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
20388
20389         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
20390         a call, do not require that gdb stop on the line after the call.
20391         Instead, it is permissible for gdb to stop on the line of the
20392         call itself.
20393
20394 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
20395
20396         * gdb.base/break.exp (bp on small function, optimized file):
20397         Add a second pass pattern.  The behavior differs here between stabs
20398         and dwarf for one-line functions.  Stabs preserves two line symbols
20399         (one before the prologue and one after) with the same line number,
20400         but dwarf regards these as duplicates and discards one of them.
20401         Therefore the address after the prologue (where the breakpoint is)
20402         has no exactly matching line symbol, and GDB reports the breakpoint
20403         as if it were in the middle of a line rather than at the beginning.
20404
20405 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
20406
20407         * gdb.base/interrupt.exp: Make "pass" message say "send"
20408         rather than "send_gdb" (for consistancy).
20409
20410 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
20411
20412         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
20413         * gdb.c++/templates.cc: Properly check for GCC version number.
20414         * lib/compiler.cc: Likewise
20415
20416 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
20417
20418         * gdb.base/break.exp: When compiled with -O2 optimization,
20419         gdb may not stop at the first line of main, due to code motion.
20420
20421 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
20422
20423         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
20424         This test depends on parsing the printf output from the target.
20425         Since the sparclet stub doesn't do stdio, this will never work.
20426         * gdb.base/call-rt-st.exp: ditto.
20427         * gdb.base/call-strs: ditto.
20428
20429 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
20430
20431         * gdb.base/miscexprs.exp: make sizeof long array test portable.
20432
20433         * gdb.base/ending-run.exp: After connecting to a remote target,
20434         but before running, the target will appear to be in a random
20435         location.  Specify both a file and a line for breakpoints.
20436         Also, the function that calls main may be called 'init'
20437         rather than 'start'.
20438
20439 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20440
20441         * gdb.base/help.exp: Update output for add-symbol-file command.
20442
20443 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
20444
20445         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20446         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
20447
20448 2000-04-07  J.T. Conklin  <jtc@redback.com>
20449
20450         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
20451
20452         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
20453
20454 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
20455
20456         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
20457         values that can be represented exactly.
20458         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
20459         above change, and to not check against the directory part of the source
20460         file name.
20461         (step into print_long_arg_list): Likewise.
20462         (print print_small_structs from print_long_arg_list): Likewise.
20463         (print print_long_arg_list): Likewise.
20464
20465 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20466
20467         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
20468
20469 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
20470
20471         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
20472
20473 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
20474
20475         * gdb.base/commands.exp (deprecated_command_test): Add test for
20476         deprecate with no arguments.
20477
20478 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
20479
20480         * gdb.base/break.exp: Add new test for setting breakpoints on
20481         optimized code so we can test breakpoints work even when function
20482         prologues may be optimized away
20483
20484 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20485
20486         From David Whedon <dwhedon@gordian.com>
20487         * gdb.base/commands.exp : Added command deprecator tests.
20488
20489 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
20490
20491        * gdb.base/help.exp: Added test for new apropos command.
20492
20493 2000-03-21  Kevin Buettner <kevinb@redhat.com>
20494
20495         * gdb.base/pointers.c (usevar): New function.
20496         (main): Make sure that global variables v_int_pointer2, rptr,
20497         and y are all referenced someplace in the program by calling
20498         usevar() on them.  [Some linkers delete symbols which are
20499         never referenced.  The space remains, but there's no way to
20500         get a (symbolic) handle on the variable from the debugger.]
20501
20502 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20503
20504         * gdb.base/printcmds.c: Add typedeffed arrays.
20505
20506         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
20507         procedure to test arrays that are typedef'd.
20508
20509 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
20510
20511         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
20512         the library directories.
20513
20514 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
20515
20516         * configure.in (configdirs): Add sub directory gdb.mi.
20517         * configure: Re-generate.
20518
20519         * gdb.mi: New directory.
20520
20521 2000-02-25  Scott Bambrough <scottb@netwinder.org>
20522
20523         * gdb.base/long_long.exp: Correct test suite failure when printing
20524         a long long value as a double on ARM platforms.
20525
20526 2000-02-16  Jim Blandy  <jimb@redhat.com>
20527
20528         * gdb.base/break.exp ("breakpoint line number"): Make sure the
20529         default source file is set properly before running this test.
20530
20531 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20532
20533         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
20534         gdbtk/library directory, not in gdbtcl2.
20535
20536 2000-02-04  Jim Blandy  <jimb@redhat.com>
20537
20538         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
20539         backslash from regexp pattern.
20540
20541         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
20542         procedure.  Use it to run all the "continue to bp overloaded"
20543         tests.  Note that this changes the names of the tests slightly.
20544         If the breakpoint hit message includes a hex PC value, because
20545         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
20546         from the real source code, still consider that a pass.
20547
20548         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
20549         XFAIL here if the breakpoint message contains a hex address.  Note
20550         similar change on 1999-11-02.
20551
20552         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
20553
20554         * gdb.base/ptype.exp: Establish a default source file before
20555         calling get_debug_format.
20556
20557 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20558
20559         * gdb.base/watchpoint.exp: Remove duplication of test messages.
20560
20561 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20562
20563         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
20564         of successive stepi commands -- while in the prologue we should see
20565         the function entry bracket.
20566
20567 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20568
20569         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20570         reach __change_mode() when stepping through the end of main().
20571
20572 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20573
20574         * gdb.base/default.exp: Fix expected pattern.
20575         * gdb.base/help.exp: Same.
20576
20577 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20578
20579         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
20580         Don't use xfail's because that affects only the following test.
20581
20582         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
20583         solaris or linux.
20584
20585         * gdb.base/selftest.exp: Update to reflect changes to main.c.
20586
20587 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
20588
20589         * gdb.base/display.exp: Some yacc parsers like to say
20590         "A syntax error" rather than "A parse error".  Accept both.
20591
20592 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20593
20594         * gdb.base/default.exp: Remove OS dependent string from "target
20595         remote" test.
20596         * gdb.base/help.exp: Same for "help target remote" test.
20597
20598 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20599
20600         From Jim Kingdon <kingdon@redhat.com>:
20601
20602         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
20603         prompt (cleanup rather than necessity, but still might keep output
20604         from spilling to next test).
20605
20606 2000-01-02  Fred Fish  <fnf@cygnus.com>
20607
20608         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20609         AIX, which defines them in <sys/types.h>.
20610
20611 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
20612
20613         * gdb.base/default.exp: Match arm* etc instead of arm in "info
20614         float" test.
20615
20616 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
20617
20618         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
20619
20620         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20621         outermost frame disallowed".
20622
20623 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20624
20625         * gdb.base/setvar.exp: New tests for setting the value of a struct
20626         with a constant list.
20627
20628 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20629
20630         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20631         require the user to type a cast before setting the value of a struct.
20632
20633 1999-12-06  Jim Blandy  <jimb@cygnus.com>
20634
20635         * gdb.base/default.exp: Expect the new 'info float' command on
20636         all i386 platforms.
20637
20638         * gdb.threads/linux-dp.exp: Expand our ability to recognize
20639         LinuxThreads libraries that don't support debugging.
20640
20641 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20642
20643         * gdb.base/remote.c: Fill the buffer with truely random data.
20644         Change the buffer type to ``unsigned char'' to simplify size
20645         arithmetic.
20646
20647         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
20648         stub only handles 400-1 byte packets.  Verify that the download
20649         worked.
20650
20651 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20652
20653         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20654         tests, using UNRESOLVED for the untested cases.  Also, does not wait
20655         for a timeout if the prompt was received before a recognizable pattern.
20656
20657 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20658
20659         * lib/gdb.exp (gdb_expect_list): Fix spelling.
20660
20661 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20662
20663         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
20664         watchpoints.
20665
20666 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
20667
20668         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20669
20670         * gdb.c++/local.exp: Be more flexible in recognizing local class
20671         name mangling.  Don't allow horribly truncated method names.
20672         * gdb.c++/derivation.exp: Expect protected inheritance.
20673         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20674         * gdb.c++/virtfunc.exp: Likewise.
20675         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
20676         when printing a nested enum.
20677
20678 1999-11-22  Jim Blandy  <jimb@cygnus.com>
20679
20680         * gdb.base/step-test.exp: Properly await GDB's response to setting
20681         a breakpoint on the call to large_struct_by_value.
20682
20683         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20684         just because we have debug info for the `start' function.
20685
20686 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
20687
20688         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20689         "Unknown signal" messages, which indicate (on LinuxThreads) that
20690         GDB doesn't know how to debug threads on this system.  This is
20691         better than hanging while philosopher 0 dumps chatter into gdb.log.
20692
20693 1999-11-18  Tom Tromey  <tromey@cygnus.com>
20694
20695         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20696
20697 1999-11-18  Fred Fish  <fnf@cygnus.com>
20698
20699         * gdb.base/coremaker2.c: Add sample program for generating
20700         cores that is more self contained than coremaker.c.  Eventually
20701         I'll add more code to this and tie it into the testsuite.
20702
20703 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
20704
20705         * gdb.base/dollar.exp: Remove, now in gdb.hp.
20706
20707 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
20708
20709         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
20710         from $srcdir/lib/.
20711         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
20712         and gdb.c++/.
20713
20714         * gdb.c++/derivation.exp: remove redundant get compiler info code.
20715
20716         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
20717         'continue with watch' test point.
20718
20719 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
20720
20721         Merged from p2linux-990323-branch:
20722
20723         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20724
20725 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
20726
20727         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
20728         {limit,fixed}''.  Test ``set download-write-size''.
20729
20730 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20731
20732         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
20733         gdb_expect_list.
20734
20735 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20736
20737         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20738
20739 1999-11-03  Mark Salter  <msalter@cygnus.com>
20740
20741         * gdb.base/break.exp: Fix "stub continue" pattern.
20742
20743 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
20744
20745         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20746
20747 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
20748
20749         * gdb.base/display.exp ("finish"): Add timeout clause.
20750
20751         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20752         plain prompt clause, so this doesn't have to time out in order to
20753         fail.
20754
20755         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
20756         breakpoint hit messages include an address.
20757
20758         * gdb.base/display.exp: Don't forget to escape parens in regular
20759         expressions.  Unix regexp notatation sucks.
20760
20761 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20762
20763         * gdb.base/annota1.exp: Test for annotate-signalled: change output
20764         order for 'signalled' message.
20765
20766 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
20767
20768         From Jimmy Guo  <guo@cup.hp.com>:
20769         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20770         * gdb.base/annota1.c: Add code for tests to work with.
20771
20772 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
20773
20774         * gdb.base/remote.exp: New test for remote downloading settings.
20775         * gdb.base/remote.c: New file with large .data.
20776
20777 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
20778
20779         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20780         for LinuxThreads support, merged from the Code Fusion branch.
20781
20782 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
20783
20784         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
20785         containing exp_continue into a while within an expect.  Don't
20786         attempt a start more than three times.  Check return value from
20787         gdb_load.
20788
20789 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20790
20791         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
20792         a pass case.
20793
20794 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
20795
20796         * gdb.base/break.c (main): Added a statement that we can step
20797         off of.
20798         * gdb.base/break.exp: Added tests for setting a breakpoint
20799         at an offset and stepping onto a breakpoint.
20800
20801 1999-10-01  Fred Fish  <fnf@cygnus.com>
20802
20803         * gdb.base/help.exp (help add-symbol-file): Update to match current
20804         gdb output.
20805
20806 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
20807
20808         * gdb.base/break.exp: Code locations are in hex, don't forget!
20809         (For HP-UX.)
20810
20811 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
20812
20813         * condbreak.exp: Use break.c as test program.
20814         * condbreak.c: Remove, redundant with break.c.
20815
20816 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
20817
20818         * config/monitor.exp (gdb_target_monitor): Disable X- and
20819         Z-packets if the target needs it.
20820
20821 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
20822
20823         * gdb.c++/overload.exp: Added tests for listing overloaded
20824         functions with function pointers in the arg, explicitly calling
20825         out the version you want.
20826
20827 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
20828
20829         * long_long.exp: Add variations of test cases that work for
20830         targets with 16-bit ints and 32-bit doubles.
20831
20832 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
20833
20834         * break.c (main): Compare a possibly-uninitialized argc with an
20835         unlikely value that fits in 16 bits.
20836
20837 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
20838
20839         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20840         0xfeeb, don't want negative numbers if ints are 16 bits.
20841
20842         * lib/gdb.exp (skip_cplus_tests): New proc.
20843         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
20844         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20845         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20846         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20847         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20848         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20849         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20850         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
20851
20852         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20853
20854 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
20855
20856         * gdb.base/corefile.exp (up): Allow a parameter to appear
20857         in the frame that we're going up to.
20858
20859         From Jim Blandy <jimb@cygnus.com>:
20860
20861         * gdb.base/default.exp (info float): Expect some output now.
20862
20863         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20864         returning floating-point values to fail on the x86.
20865         * gdb.base/callfwmall.exp (do_function_calls): Same.
20866
20867         * gdb.base/list.exp (test_listsize): Correct expectations for
20868         listing line 1 with listsize 2.  Also, listing a single line
20869         works now, as does listing three lines.  [Kevin's note: There
20870         were a number of other cases fixed too where the expectations
20871         differed...]
20872
20873 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
20874
20875         * gdb.base/selftest.exp: Add case for when version prints as
20876         constant string instead of char pointer.
20877
20878 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
20879
20880         * gdb.base/ending-run.exp: Add Solaris case for what happens when
20881         stepping out of main.
20882
20883         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20884         G++ used.
20885
20886         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
20887         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
20888
20889         * gdb.c++/ovldbreak.exp: Update match string in test that
20890         includes a warning of multiple breakpoints.
20891
20892 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
20893
20894         * gdb.base/display.exp: Improve precision of step-after-finish
20895         added yesterday.
20896
20897         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
20898         test.
20899
20900         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20901         configs when using G++, not just hppa*.
20902
20903 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20904
20905         * gdb.base/async.c: New file.
20906         * gdb.base/async.exp: New file.
20907
20908 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
20909
20910         * gdb.base/break.exp: Tweak PA specific tests to properly handle
20911         PA64.
20912
20913 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
20914
20915         * gdb.base/display.exp: "finish" can leave us mid-line on many
20916         targets, deal with it.  Add a small constant to main, instead of
20917         1000 since main+1000 may not be a valid address in the target.
20918
20919         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20920         on hpux11.
20921
20922         * gdb.base/attach.exp: Handle another hpux11 error message variant
20923         when attaching to a process that does not exist.
20924
20925 1999-08-19  J.T. Conklin  <jtc@redback.com>
20926
20927         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
20928         characters in 'continue to 1241' test.
20929
20930 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
20931
20932         * gdb.base/call-ar-st.exp: Add a shorter match case for the
20933         stop in print_long_arg_list, define and use a whitespace
20934         variable in print_small_structs test, add an XFAIL for Solaris.
20935         * gdb.base/dbx.exp: XFAIL func commands until somebody is
20936         interested enough to fix.
20937
20938 1999-08-13  Keith Seitz  <keiths@cygnus.com>
20939
20940         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20941         (dbx_gdb_load): Remove. Use gdb_load instead, since that
20942         proc knows about targets other than the natives.
20943         (test_assign): Use "gdb_run_cmd" to "run" the target.
20944         Check that we've actually hit the breakpoint at main.
20945         When we attempt to assign a value to a local variable, check
20946         that the variable is in the current scope, i.e., don't use
20947         a test with an empty result.
20948
20949 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20950
20951         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
20952         command.
20953
20954 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
20955
20956         From Jimmy Guo <guo@cup.hp.com> and others at HP:
20957         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20958         gdb.compat, gdb.threads-hp.
20959         gdb.hp/configure, gdb.hp/configure.in: New files.
20960         gdb.hp/Makefile.in: Recurse into new subdirs.
20961         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20962         gdb.hp/gdb.objdbg: New directory, tests for debugging info
20963         in object files.
20964         gdb.hp/tools: New directory, aux tools for HP-specific tests.
20965
20966 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
20967
20968         * gdb.base/display.exp: Help expect by putting a newline in the
20969         funky printf, remove a bogus p/a test.
20970
20971 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20972
20973         * gdb.base/display.exp: Make sure that when we say 'run', we are
20974         connected to the target. This is necessary when running not
20975         natively.
20976
20977 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
20978
20979         * gdb.base/step-test.exp: Removed some extraneous messages.
20980
20981         * gdb.base/long_long.exp: Don't run memory examination tests
20982         on little-endian targets (they will need a different set of
20983         results to match).
20984
20985 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
20986
20987         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20988         until somebody decides to fix GDB.
20989
20990         * gdb.base/long_long.c: Stop compiler complaint by specifying long
20991         constant as "ULL".
20992         * gdb.base/long_long.exp: Loosen x/c test, add partial result
20993         matches for a couple x/2 commands.
20994
20995 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
20996
20997         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20998         by merging in ref-types2 tests.
20999         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
21000
21001         From Jimmy Guo <guo@cup.hp.com> and others at HP:
21002         * gdb.c++/Makefile.in: Add standard actions.
21003         (EXECUTABLES): Rename from PROGS, update list.
21004         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
21005         from gdb.hp.
21006         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
21007         foo and bar locals.
21008         * gdb.c++/anon-union.exp: Fix tests to match.
21009         * gdb.c++/classes.exp: Run if HP compiler used, add extra
21010         expect matches to handle output variations.
21011         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
21012         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
21013         output, add HP alternatives for new and delete prints.
21014         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
21015         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
21016         * gdb.c++/demangle.exp: Use $style when reporting failure.
21017         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
21018         * gdb.c++/inherit.exp: Run if HP compiler used, add some
21019         match alternatives.
21020         * gdb.c++/local.exp: Add match alternatives or xfails for HP
21021         compilers.
21022         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
21023         * gdb.c++/method.exp: Add match alternatives.
21024         * gdb.c++/misc.cc: Add bool types.
21025         * gdb.c++/misc.exp: Add tests for bool types.
21026         * gdb.c++/overload.exp: Add xfails.
21027         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
21028         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
21029         add some more template parameter tests (only for HP currently).
21030         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
21031         * gdb.c++/virtfunc.cc: Add return type and value for main.
21032         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
21033         match alternatives.
21034
21035 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
21036
21037         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
21038
21039 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
21040
21041         * gdb.base/signals.exp: Don't expect getting a backtrace from
21042         within a signal handler to fail on Linux.
21043
21044 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
21045
21046         From Jimmy Guo <guo@cup.hp.com> and others at HP:
21047         * lib/gdb.exp: Remove some gratuitious semicolons.
21048         (delete_breakpoints): Increase timeout.
21049         (gdb_expect): Add -notransfer option.
21050         (gdb_test): Use -notransfer option.
21051         (get_compiler_info): Add f77 case.
21052         (get_compiler): New proc, split out from gdb_preprocess, add f77
21053         case.
21054         (gdb_preprocess): Call get_compiler.
21055
21056         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
21057         * gdb.base/attach.exp, gdb.base/display.exp,
21058         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
21059         gdb.base/long_long.exp, gdb.base/printcmds.exp,
21060         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
21061         third arg to gdb_test.
21062         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
21063         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
21064         HP-UX xfails, add others.
21065         * gdb.base/completion.exp: Reflect name change of self-test.
21066         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
21067         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
21068         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
21069         HP failure number.
21070         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
21071         useless HP-UX 10.30 references.
21072         * gdb.base/maint.exp: Loosen matches.
21073         * gdb.base/pointers.c (main): Declare more_code.
21074         * gdb.base/pointers.exp: Match on output of a `next'.
21075         * gdb.base/structs.c: Add prototypes.
21076         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
21077         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
21078
21079 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
21080
21081         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
21082         command.
21083
21084 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
21085
21086         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
21087         Fix run to main failures. Watchpoint can be hardware watchpoint.
21088
21089         * gdb.base/annota1.exp: Clean up some more, in case printf has
21090         debug info.  Deal with lack of signal hanlder info in stack.
21091
21092         From Jim Kingdon  <kingdon@redhat.com>:
21093         * gdb.base/annota1.exp: If printf has debug info, deal with it.
21094
21095 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
21096
21097         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
21098         gdb.base/foll-vfork.exp: Don't run for crosses.
21099
21100 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
21101
21102         * gdb.base/configure.in: Check for gdbvars.exp instead of
21103         a1-selftest.exp.
21104         * gdb.base/configure: Re-generate.
21105
21106 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
21107
21108         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
21109         in trying to run first and name is too long.
21110
21111         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
21112         pointers2.c and pointers2.exp, respectively.
21113         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
21114         doschk happier.
21115
21116 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
21117
21118         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
21119         callfuncs2.c and callfuncs2.exp.
21120
21121         * gdb.base/list.exp: Remove mistaken xfails.
21122         * gdb.base/list0.h: Add optional prototypes.
21123
21124 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
21125
21126         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
21127         calling malloc.
21128         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
21129         * ptype.exp: Move test for get_debug_format to before its first
21130         use.
21131
21132 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
21133
21134         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
21135         * gdb.base/annota2.cc, annota2.exp: Move from here.
21136         * gdb.c++/annota2.cc, annota2.exp: To here.
21137         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
21138
21139 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
21140
21141         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
21142         a consistent format.
21143
21144 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
21145
21146         From Jimmy Guo <guo@cup.hp.com> and others at HP:
21147         * lib/gdb.exp (get_compiler_info): Add detection for assorted
21148         HP compilers, also set the globals $true and $false.
21149
21150         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
21151         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
21152         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
21153         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
21154         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
21155         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
21156         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
21157         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
21158         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
21159         whatis.c} Add C++ compatible function definitions and return
21160         types, add includes for library functions.
21161         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
21162         * gdb.base/step-test.c (myglob): Rename from glob.
21163         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
21164         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
21165         files, move here from gdb.hp.
21166         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
21167         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
21168         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
21169         Adjust line numbers in regexps.
21170
21171         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
21172         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
21173         instead of 0/1.
21174
21175         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
21176         foll-vfork.exp: New files, move here from gdb.hp.
21177         * gdb.base/page.exp: New file, test of pagination command.
21178
21179         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
21180         recursion test.
21181         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
21182
21183         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
21184         gdb.base/solib.exp: Fix compiler invocation process.
21185
21186         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
21187         HP-UX 11, turn off overload resolution explicitly.
21188         * gdb.base/commands.exp: Set argument list explicitly, add
21189         watchpoint test.
21190         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
21191         them work.
21192         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
21193         expressions properly.
21194         * gdb.base/corefile.exp: Loosen the match slightly.
21195         * gdb.base/default.exp: Allow "Error accessing memory" message
21196         also.
21197         * gdb.base/display.exp: Skip over x/0 j if PA64.
21198         * gdb.base/funcargs.exp: Add xfails for HP-UX.
21199         * gdb.base/interrupt.exp: Ditto.
21200         * gdb.base/langs.exp: Add symbolic matches governed by compiler
21201         in use.
21202         * gdb.base/list.exp: Add xfails for HP-UX.
21203         * gdb.base/long_long.exp: Refine some of the numeric matches.
21204         * gdb.base/mips_pro.exp: Xfail on HP-UX.
21205         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
21206         * gdb.base/nodebug.exp: Succeed on more varieties of output.
21207         * gdb.base/opaque.exp: Remove some HP-UX xfails.
21208         * gdb.base/ptype.exp: Succeed on more varieties of output.
21209         * gdb.base/scope.exp: Add xfails for HP-UX.
21210         * gdb.base/sect-cmd.exp: Add more cases.
21211         * gdb.base/setvar.exp: Add xfails for HP-UX.
21212         * gdb.base/shlib-call.exp: Loosen some matches slightly.
21213         * gdb.base/signals.exp: Match on void symbolically.
21214         * gdb.base/step-test.exp: Add case for PA64.
21215         * gdb.base/term.exp: Add exit and restart.
21216         * gdb.base/twice.exp: Clean up after self.
21217         * gdb.base/varargs.exp: Disable overload resolution explicitly.
21218         * gdb.base/whatis.exp: Allow more ways to pass tests.
21219
21220         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
21221         no longer useful.
21222
21223 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
21224
21225         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
21226         list of patterns.
21227         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
21228         print_double_array(double_array)", "continuing to breakpoint
21229         1018", "print print_double_array(array_d)" and "continuing to
21230         1034" tests.
21231
21232 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
21233
21234         * Makefile.in: Add empty html and install-html targets.
21235
21236 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
21237
21238         * config/mt-*: Remove, these haven't been used since 1996.
21239
21240 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
21241
21242         * gdb.base/call-strs.c, gdb.base/ending-run.c,
21243         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
21244         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
21245
21246 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
21247
21248         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
21249         simpler match case for the ptype of the big class.
21250
21251 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
21252
21253         * gdb.exp: Fix test for gdb_prompt existence.
21254
21255 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
21256
21257         * gdb.exp (gdb_test): Add fail after calls to perror.
21258
21259 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
21260
21261         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
21262
21263 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
21264
21265         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
21266
21267 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
21268
21269         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
21270         malloc() is linked in.
21271
21272 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
21273
21274         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
21275         step at end.
21276
21277         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
21278
21279 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
21280
21281         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
21282
21283 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
21284
21285         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
21286         * gdb.base/mips_pro.exp: Likewise.
21287
21288 1999-06-02  Keith Seitz  <keiths@cygnus.com>
21289
21290         * gdb.c++/templates.cc: Change all "new" operators to throw
21291         an exception.
21292         * gdb.c++/cplusfuncs.cc: Likewise.
21293
21294         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
21295
21296 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
21297
21298         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
21299         * gdb.base/ending-run.exp: When stepping out of main, accept a
21300         step into an arbitrary assembler file.
21301
21302 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
21303
21304         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
21305         "breakpoint-invalid" to be printed.
21306         * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
21307         number of "frames-invalid" and "breakpoint-invalid" to be printed.
21308         * gdb.base/annota2.cc: Initialize a.x to 0.
21309
21310 1999-05-17  Keith Seitz  <keiths@cygnus.com>
21311
21312         * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
21313         when "skip_float_tests" set.
21314         Ditto for "print print_double_array(array_d)", "print print_small_structs",
21315         "print print_ten_doubles", and "step into print_long_arg_list".
21316         Don't assume we can step into "print_long_arg_list": we could step into memcpy.
21317         * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
21318         is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
21319         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
21320         "skip_float_tests" is set.
21321         * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
21322         when "skip_float_tests" set.
21323
21324 1999-05-06  Keith Seitz  <keiths@cygnus.com>
21325
21326         * gdb.base/annota2.cc: Include stdio.h.
21327
21328 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
21329
21330         * gdb.base/crossload.exp: Remove, this has been disabled ever
21331         since BFD stopped including all targets, and cross-GDB gets
21332         plenty of testing anyway.
21333         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
21334         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
21335         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
21336         * gdb.base/README: Remove, was doc for this.
21337         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
21338         needed.
21339
21340 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
21341
21342         * gdb.base/call-ar-st.exp: Fix one regular expression in test
21343         output.
21344
21345         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
21346         * gdb.base/annota2.exp: New file. More annotation tests.
21347         * gdb.base/annota1.c: New file. Source file for annota1.exp.
21348         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
21349
21350 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
21351
21352         * config/cfdbug.exp: New file.
21353
21354 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
21355
21356         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
21357         Marcus Daniel's and Dale Hawkins's demangler crashes.
21358
21359         * gdb.c++/demangle.exp (test_gnu_style_demangling,
21360         test_lucid_style_demangling, test_arm_style_demangling,
21361         test_hp_style_demangling): Try Tom Tromey's core-dumping
21362         identifier under each demangling style.
21363
21364 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
21365
21366         * gdb.c++/demangle.exp: Include the current demangling style
21367         in all test names.
21368         (current_demangling_style): New global variable.
21369         (set_demangling_style, test_demangling_core, test_demangling,
21370         test_demangling_exact): New functions.
21371         (test_gnu_style_demangling, test_lucid_style_demangling,
21372         test_arm_style_demangling, test_hp_style_demangling): Use those,
21373         instead of calling gdb_test and gdb_test_exact directly.
21374         (catch_demangling_errors): New function, which reports errors
21375         signalled by the demangling test functions in an orderly way.
21376         (do_tests): Use catch_demangling_errors.
21377
21378 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
21379
21380         * gdb.base/signals.exp (test_handle_all_print): Use () for
21381         grouping in expressions, not {}.
21382
21383         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
21384         initialized yet.
21385
21386 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
21387
21388         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
21389         are listed.
21390
21391 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
21392
21393         * gdb.stabs/weird.exp: Test for CC being defined before
21394         looking at its value.
21395
21396 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
21397
21398         * gdb.base/call-ar-st.exp: Remove stray '#'.
21399         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
21400         "short int" and "long int".
21401         * gdb.c++/overload.cc: Cast the string added in the previous
21402         change, to mollify finicky HP compiler.
21403         * gdb.hp/reg-test.exp (testfile): Fix file name.
21404         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
21405
21406         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
21407         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
21408         alternate form of enum ptype.
21409
21410 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
21411
21412         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
21413         * gdb.hp/*.exp: Change all to run compiler probe only after
21414         passing skip_hp_tests, so as not to waste time on guaranteed
21415         failure.
21416
21417         * gdb.c++/overload.cc: Pass string instead of char addr, always
21418         init ccpfoo.
21419         * gdb.c++/templates.cc: Fix syntax error.
21420
21421 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
21422
21423         * gdb.base/commands.exp: Add test for correct position of '>'
21424         when issuing the 'commands' command after a 'while' or 'if'
21425         command.
21426
21427 1999-03-18  James Ingham  <jingham@cygnus.com>
21428
21429         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
21430
21431         * gdb.c++/method.exp: It was testing an uninitialized int on the
21432         stack and assuming it was positive.
21433
21434         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
21435
21436         * gdb.base/step-test.exp: Catch a case where finish is broken and
21437         keep it from killing the rest of the tests.
21438         Use gdb_continue_to_end.
21439
21440         * gdb.base/sigall.exp: use gdb_continue_to_end.
21441
21442         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
21443
21444         * gdb.base/display.exp: use runto_main, not run.
21445
21446         * gdb.base/default.exp: Check for the current error message in the
21447         r abbreviation test.
21448         Add strongarm to the targets that know info float.
21449
21450         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
21451         run which doesn't work with monitors.
21452
21453         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
21454
21455         * gdb.base/break.exp: use the gdb_continue_to_end proc.
21456
21457         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
21458         program.  Traps the case (in Cygmon) when the program never really
21459         exits.  Same as Mark's continue_to_exit, but I had put it in a lot
21460         more places, so I used my name.  Sorry Mark...
21461
21462         * config/monitor.exp (gdb_target_monitor): added another
21463         target_info parameter: remotebinarydownload.  This will set the
21464         remotebinarydownload flag if this is causing some boards trouble.
21465
21466 1999-03-18  Mark Salter  <msalter@cygnus.com>
21467
21468         * lib/gdb.exp (continue_to_exit): New function.
21469
21470         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
21471         * gdb.base/ending-run.exp: Ditto.
21472         * gdb.base/step-test.exp: Ditto.
21473
21474 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
21475
21476         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
21477         (suggested by Art Haas <ahaas@neosoft.com>).
21478
21479 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
21480
21481         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
21482
21483 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
21484
21485         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
21486         descriptions of types (short unsigned int vs unsigned short, etc).
21487
21488 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
21489
21490         * gdb.base/call-strs.exp: Don't assume that `step' will step over
21491         a call to strlen; sometimes we do have sources.
21492
21493 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
21494
21495         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
21496         character, so GDB won't print garbage after its end.
21497
21498         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
21499         breakpoint there instead.  Sometimes GCC emits memcpy to handle
21500         the large structures being passed by value, so we step into that
21501         instead of sum_array_print, which obscures what we're really testing.
21502         * gdb.base/step-test.exp: However, we do want a test that notices
21503         the bizarre steps into memcpy, so do that here.  Add check for
21504         stepping into function calls that pass large structures by value.
21505         ("Is that a noun clause, or are you just happy to see me?")
21506         Remove all references to specific line numbers.
21507         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
21508         New type and function.
21509         (main): Call large_struct_by_value, passing it a large struct by value.
21510         * lib/gdb.exp (gdb_get_line_number): New function.
21511
21512         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
21513         more portable.
21514
21515 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
21516
21517         * lib/gdb.exp: Doc fixes.
21518
21519 1999-03-05  Nick Clifton  <nickc@cygnus.com>
21520
21521         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
21522
21523 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
21524
21525         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
21526         commands.  They're not germane to this test, and they don't work
21527         that way on remote targets.
21528
21529 1999-03-01  James Ingham  <jingham@cygnus.com>
21530
21531         * Changelog entries merged over from gdb development branch.
21532
21533        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
21534
21535                * lib/gdb.exp (gdbtk_analyze_results): Generic function
21536                for outputting results of test run.
21537
21538         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
21539
21540                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
21541
21542 1999-02-25  Felix Lee  <flee@cygnus.com>
21543
21544         * lib/gdb.exp (debug_format): initialize
21545
21546 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
21547
21548         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
21549         * gdb.base/call-rt-st.c: Ditto.
21550
21551 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
21552
21553         * gdb.threads/pthreads.exp (horiz): New variable.
21554         (test_startup): Fix regexps that capture thread numbers.
21555
21556 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
21557
21558         * gdb.base/smoke.exp: Disambiguate two test case names (both
21559         called ``print'').
21560
21561 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
21562
21563         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
21564         compilation.
21565
21566 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
21567
21568         * gdb.base/miscexprs.exp: Change patterns to match GDB's
21569         actual output formatting.
21570         * gdb.base/smoke.exp: GDB removes leading 0's.
21571         * gdb.base/volatile.exp: Don't check type of remuneration;
21572         that variable is no longer defined in constvars.c.
21573         * gdb.base/step-test.c (main): Exit with explicit exit code.
21574         * gdb.base/step-test.exp: Remove two nexti checks--they are
21575         not portable.
21576
21577 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
21578
21579         * gdb.base/help.exp ("help delete display"): Fix test to match
21580         gdb's output.
21581
21582         * gdb.base/long_long.c (known_types): Initialize values to zero.
21583         * gdb.base/long_long.exp: Step one more line
21584         so 'dec' is initialized in "get to known place".  GDB removes
21585         leading zeros.  Explicitly ask for hex formatting.  Use
21586         unique test case names.
21587
21588 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
21589
21590         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
21591
21592         * gdb.c++/method.exp: Add missing close brace.
21593
21594 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
21595
21596         * gdb.base/maint.exp: Use 'set height 0' to disable page
21597         prompting, not 'set height 400'.
21598
21599         Fix a bunch of timeouts.
21600         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21601         four separate tests, so expect doesn't take forever to match a ton
21602         of text against a regexp with lots of .* forms.
21603         ("maint print psymbols", "maint print symbols"): Make some of
21604         these greps more selective, so that expect doesn't try to wade
21605         through huge piles of output and time out.
21606
21607         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21608
21609         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
21610         tests: one which doesn't expect shlib events to be reported, and
21611         another which does, but is XFAIL for all platforms other than
21612         HP/UX.
21613
21614         * gdb.base/break.exp: Teach the test suite that the `catch
21615         fork', `catch vfork', and `catch exec' commands produce error
21616         messages on platforms that don't provide these features.
21617
21618 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
21619
21620         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
21621         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21622         (shortening names from solib_threshold.exp etc), won't run on
21623         anything but HP-UX for the foreseeable future.
21624         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
21625         reflect move.
21626
21627 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
21628
21629         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21630         gdb.trace/Makefile.in (clean): Remove all test executables.
21631
21632 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
21633
21634         * gdb.base/shlib-call.exp: add test cases to verify that gdb
21635         successfully re-sets breakpoints in shared libraries.
21636         * gdb.base/shmain.c (main): return 0, don't fall off the end.
21637
21638 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
21639
21640         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21641         and compiled w/o GCC.
21642
21643         * gdb.hp/watch-cmd.exp: ditto.
21644
21645         * gdb.hp/watch-hp.exp: ditto.
21646
21647         * gdb.hp/xdb1.exp: ditto.
21648
21649         * gdb.hp/xdb2.exp: ditto.
21650
21651         * gdb.hp/dbx.exp: ditto.
21652
21653 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
21654
21655         * constvars.c: Remove C++-isms.
21656         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
21657         with GCC.
21658
21659 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
21660
21661         The following changes are part of the HP merge.
21662
21663         * gdb.base/break.exp: new tests to verify that catchpoints for
21664         fork, vfork, and exec don't trigger inappropriately.
21665
21666         * gdb.base/opaque.exp: compile one file at a time, then link.
21667
21668         * gdb.base/signals.exp: be more restrictive about which hppa
21669         systems receive a setup_xfail.  new tests.
21670
21671         * gdb.base/solib_threshold.build: new file.
21672         * gdb.base/solib_threshold.exp: new file.
21673         * gdb.base/solib_threshold.link_opts: new file.
21674         * gdb.base/solib_threshold.mk: new file.
21675         * gdb.base/gen_solib_threshold.c: new file.
21676
21677         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21678         tests.  New tests for enums inside classes.
21679
21680         * gdb.c++/compiler.cc: indicate support of template debugging.
21681
21682         * gdb.c++/demangle.exp: run hp style demangling tests.
21683
21684         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21685         tests.
21686
21687         * gdb.c++/misc.cc: changes to support new tests.
21688
21689         * gdb.c++/templates.cc: changes to support HP's compiler; changes
21690         to support new tests.
21691
21692         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21693         gcc, then skip these tests.
21694
21695 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
21696
21697         The following files are part of the HP merge; some had longer
21698         names at HP, but have been renamed to be no more than 14
21699         characters in length.
21700
21701         * gdb.hp/ambiguous.cc: new file.
21702         * gdb.hp/ambiguous.exp: new file.
21703         * gdb.hp/attach.exp: new file.
21704         * gdb.hp/attach2.exp: new file.
21705         * gdb.hp/classes-hp.exp: new file.
21706         * gdb.hp/ctti.exp: new file.
21707         * gdb.hp/ctti-add.cc: new file.
21708         * gdb.hp/ctti-add1.cc: new file.
21709         * gdb.hp/ctti-add2.cc: new file.
21710         * gdb.hp/ctti-add3.cc: new file.
21711         * gdb.hp/dbx.exp: new file.
21712         * gdb.hp/exception.cc: new file.
21713         * gdb.hp/exception.exp: new file.
21714         * gdb.hp/foll-exec.c: new file.
21715         * gdb.hp/foll-exec.exp: new file.
21716         * gdb.hp/foll-fork.c: new file.
21717         * gdb.hp/foll-fork.exp: new file.
21718         * gdb.hp/foll-vfork.c: new file.
21719         * gdb.hp/foll-vfork.exp: new file.
21720         * gdb.hp/inherit-hp.exp: new file.
21721         * gdb.hp/more-steps.exp: new file.
21722         * gdb.hp/namespace.cc: new file.
21723         * gdb.hp/namespace.exp: new file.
21724         * gdb.hp/optimize.exp: new file.
21725         * gdb.hp/pxdb.c: new file.
21726         * gdb.hp/pxdb.exp: new file.
21727         * gdb.hp/quicksort.exp: new file.
21728         * gdb.hp/reg-test.exp: new file.
21729         * gdb.hp/reg-test.s: new file.
21730         * gdb.hp/sized-enum.c: new file.
21731         * gdb.hp/sized-enum.exp: new file.
21732         * gdb.hp/start-stop.exp: new file.
21733         * gdb.hp/templ-hp.cc: new file.
21734         * gdb.hp/templ-hp.exp: new file.
21735         * gdb.hp/thr-lib.c: new file.
21736         * gdb.hp/thr-lib.exp: new file.
21737         * gdb.hp/thr-lib.h: new file.
21738         * gdb.hp/thr-liblib.c: new file.
21739         * gdb.hp/virtfun-hp.c: new file.
21740         * gdb.hp/virtfun-hp.exp: new file.
21741         * gdb.hp/watch-cmd.exp: new file.
21742         * gdb.hp/watch-hp.exp: new file.
21743         * gdb.hp/xdb1.exp: new file.
21744         * gdb.hp/xdb2.exp: new file.
21745         * gdb.hp/xdb3.exp: new file.
21746
21747 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
21748
21749         The following files are part of the HP merge; some had longer
21750         names at HP, but have been renamed to be no more than 14
21751         characters in length.
21752
21753         * gdb.base/ss.h: new file.
21754         * gdb.base/call-ar-st.c: new file.
21755         * gdb.base/call-ar-st.exp: new file.
21756         * gdb.base/call-rt-st.c: new file.
21757         * gdb.base/call-rt-st-exp: new file.
21758         * gdb.base/call-strs.exp: new file.
21759         * gdb.base/ena-dis-br.exp: new file.
21760         * gdb.base/environ.exp: new file.
21761         * gdb.base/long_long.exp: new file.
21762         * gdb.base/sect-cmd.exp: new file.
21763         * gdb.base/shlib-cl2.exp: new file.
21764         * gdb.base/smoke.exp: new file.
21765         * gdb.base/so-impl-ld.c: new file.
21766         * gdb.base/so-impl-ld.exp: new file.
21767         * gdb.base/so-indr-cl.c: new file.
21768         * gdb.base/so-indr-cl.exp: new file.
21769         * gdb.base/varargs.exp: new file.
21770         * gdb.base/volatile.exp: new file.
21771         * gdb.base/whatis-exp.exp: new file.
21772         * gdb.base/display.exp: new file.
21773         * gdb.c++/derivation.exp: new file.
21774         * gdb.c++/local.exp: new file.
21775         * gdb.c++/member-ptr.exp: new file.
21776         * gdb.c++/overload.exp: new file.
21777         * gdb.c++/ovldbreak.exp: new file.
21778         * gdb.c++/ref-types.exp: new file.
21779         * gdb.c++/ref-types2.exp: new file.
21780         * gdb.c++/userdef.exp: new file.
21781
21782 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
21783
21784         * gdb.base/default.exp: Reflect wording change in remote.c.
21785
21786 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
21787
21788         * gdb.base/help.exp: Update to reflect current text.
21789
21790 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
21791
21792         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21793         they're stack variables and contain garbage.
21794         * gdb.c++/anon-union.exp: new file.
21795
21796         The following changes were made by David Taylor
21797         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21798         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21799         in changes by HP.
21800
21801         * gdb.base/bitops.exp: new file.
21802         * gdb.base/default.exp: change expected messages for catch and
21803         info catch tests to reflect HP merge changes.
21804         * gdb.base/enable-disable-break.exp
21805         * gdb.base/ending-run.c: new file.
21806         * gdb.base/long_long.c: new file.
21807         * gdb.base/maint.exp: new file.
21808         * gdb.base/pointers2.exp: new file.
21809         * gdb.base/shlib-call2.exp: new file.
21810         * gdb.base/solib.exp: new file.
21811         * gdb.base/step-test.c: new file.
21812         * gdb.c++/anon-union.cc: new file.
21813         * gdb.c++/local.cc: new file.
21814         * gdb.c++/member-pointer.cc: new file.
21815         * gdb.c++/method.cc: new file.
21816         * gdb.c++/ref-types.cc: new file.
21817         * gdb.c++/ref-types2.cc: new file.
21818         * gdb.c++/userdef.cc: new file.
21819
21820         * gdb.base/scope.exp: compile one file at a time, then link.
21821         * gdb.base/langs.exp: ditto.
21822         * gdb.base/list.exp: ditto.
21823
21824 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
21825
21826         The following changes were made by David Taylor
21827         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21828         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21829         in changes by HP.
21830
21831         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21832         skip tests.  When compiling pass c++ flag to gdb_compile.
21833         * gdb.c++/
21834
21835         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21836         test for on hppa*-*-hpux*; use args to see if c++ was specified.
21837         (skip_hp_tests): new function.
21838         (gdb_preprocess): new function.
21839
21840         * configure.in (hpdir): decide whether to configure gdb.hp.
21841         * configure: regenerated.
21842
21843         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21844         to delete on clean.
21845         (EXECUTABLES): update to reflect new additions.
21846         * gdb.base/commands.exp: update message expected.
21847         * gdb.base/default.exp: add copyright notice.
21848         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21849         * gdb.base/help.exp: update messages to reflect current text.
21850         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21851         targets for recurse tests.
21852         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21853         skip this file.
21854
21855         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21856         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21857         compilation.
21858         * gdb.c++/misc.exp: ditto.
21859         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21860         run the tests.  tell gdb_compile that it's a c++ compilation.
21861
21862         * gdb.threads/pthreads.exp: fix typo in message.
21863
21864         * gdb.base/all-bin.exp: new file.
21865         * gdb.base/arithmet.exp: new file.
21866         * gdb.base/assign.exp: new file.
21867         * gdb.base/completion.exp: new file.
21868         * gdb.base/cond-expr.exp: new file.
21869         * gdb.base/condbreak.exp: new file.
21870         * gdb.base/define.exp: new file.
21871         * gdb.base/dollar.exp: new file.
21872         * gdb.base/environment.exp: new file.
21873         * gdb.base/eval-skip.exp: new file.
21874         * gdb.base/jump.exp: new file.
21875         * gdb.base/logical.exp: new file.
21876         * gdb.base/pointers.exp: new file.
21877         * gdb.base/relational.exp: new file.
21878         * gdb.base/section_command.exp: new file.
21879         * gdb.base/whatis-expr.exp: new file.
21880
21881         * gdb.base/all-types.c: new file.
21882         * gdb.base/call-array-struct.c: new file.
21883         * gdb.base/call-return-struct.c: new file.
21884         * gdb.base/call-strings.c: new file.
21885         * gdb.base/callfuncs2.c: new file.
21886         * gdb.base/condbreak.c: new file.
21887         * gdb.base/constvars.c: new file.
21888         * gdb.base/display.c: new file.
21889         * gdb.base/int-type.c: new file.
21890         * gdb.base/jump.c: new file.
21891         * gdb.base/miscexprs.c: new file.
21892         * gdb.base/pointers.c: new file.
21893         * gdb.base/pointers2.c: new file.
21894         * gdb.base/shmain.c: new file.
21895         * gdb.base/shr1.c: new file.
21896         * gdb.base/shr2.c: new file.
21897         * gdb.base/solib.c: new file.
21898         * gdb.base/solib1.c: new file.
21899         * gdb.base/solib2.c: new file.
21900         * gdb.base/varargs.c: new file.
21901         * gdb.c++/derivation.cc: new file.
21902         * gdb.c++/overload.cc: new file.
21903         * gdb.c++/ovldbreak.cc: new file.
21904         * gdb.hp/attach.c: new file.
21905         * gdb.hp/attach2.c: new file.
21906         * gdb.hp/average.c: new file.
21907         * gdb.hp/compiler.c: new file.
21908         * gdb.hp/compiler.cc: new file.
21909         * gdb.hp/execd-program.c: new file.
21910         * gdb.hp/follow-exec.c: new file.
21911         * gdb.hp/follow-fork.c: new file.
21912         * gdb.hp/follow-vfork-and-exec.c: new file.
21913         * gdb.hp/misc-hp.cc: new file.
21914         * gdb.hp/more-steps.c: new file.
21915         * gdb.hp/optimize.c: new file.
21916         * gdb.hp/quicksort.c: new file.
21917         * gdb.hp/run-hp.c: new file.
21918         * gdb.hp/start-stop.c: new file.
21919         * gdb.hp/sum.c: new file.
21920         * gdb.hp/templates-hp.cc: new file.
21921         * gdb.hp/thread-local-in-lib.c: new file.
21922         * gdb.hp/thread-local-in-lib.h: new file.
21923         * gdb.hp/thread-local-in-lib.lib.c: new file.
21924         * gdb.hp/vforked-program.c: new file.
21925         * gdb.hp/virtfunc-hp.cc: new file.
21926         * gdb.hp/watchpoint-hp.c: new file.
21927         * gdb.hp/xdb.c: new file.
21928         * gdb.hp/xdb0.c: new file.
21929         * gdb.hp/xdb0.h: new file.
21930         * gdb.hp/xdb1.c: new file.
21931
21932 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
21933
21934         The following change was made by Edith Epstein
21935         <eepstein@cygnus.com> as part of a project to merge in changes
21936         originally made by HP; HP did not create ChangeLog entries.
21937
21938         * gdb.c++/demangle.exp: changed the expected output for some
21939         ARM-style mangling -- removed second reference to datatype.
21940         For example, maint demangle __dt__11T1__pt__2_cFv
21941                      T1<char>::~T1<char>(void)
21942         becomes,
21943                      maint demangle __dt__11T1__pt__2_cFv
21944                      T1<char>::~T1(void)
21945
21946         (test_hp_style_demangling): new hp specific demangling test cases.
21947
21948 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
21949
21950         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21951         * gdb.trace/backtrace.exp: Likewise.
21952         * gdb.trace/circ.exp: Likewise.
21953         * gdb.trace/collection.exp: Likewise.
21954         * gdb.trace/deltrace.exp: Likewise.
21955         * gdb.trace/infotrace.exp: Likewise.
21956         * gdb.trace/limits.exp: Likewise.
21957         * gdb.trace/packetlen.exp: Likewise.
21958         * gdb.trace/passc-dyn.exp: Likewise.
21959         * gdb.trace/passcount.exp: Likewise.
21960         * gdb.trace/report.exp: Likewise.
21961         * gdb.trace/save-trace.exp: Likewise.
21962         * gdb.trace/tfind.exp: Likewise.
21963         * gdb.trace/tracecmd.exp: Likewise.
21964         * gdb.trace/while-dyn.exp: Likewise.
21965         * gdb.trace/while-stepping.exp: Likewise.
21966
21967 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
21968
21969         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21970
21971 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
21972
21973         From Brendan Kehoe:
21974         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21975         int return types.
21976
21977 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
21978
21979         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
21980         remote dos host testing right.
21981
21982 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
21983
21984         * gdb.base/corefile.exp: remove some xfails.
21985
21986 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
21987
21988         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
21989         have different timestamps.
21990
21991 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
21992
21993         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
21994         gdb.base/default.exp: Replace "exec" with "executable".
21995
21996 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
21997
21998         * gdb.base/default.exp: Change else if to elseif from previous
21999         delta.
22000
22001 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
22002
22003         * gdb.base/default.exp: Add brace missing from previous delta.
22004
22005 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
22006
22007         * gdb.base/default.exp: Support test for info float for all
22008         varieties of arm toolchain.
22009
22010 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
22011
22012         * gdb.trace/*.exp: remove "remote_download" command.
22013
22014 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
22015
22016         * gdb.trace/*.exp: remove -gdwarf from compile.
22017
22018 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
22019
22020         * gdb.trace/configure.in(AC_INIT): typo
22021         * gdb.trace/configure: regenerated
22022
22023 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
22024
22025         * config/m68k-emc.exp: New file.
22026         * lib/<emc-support.exp trace-support.exp}: New files.
22027         * configure.in: add new test directory gdb.trace.
22028         * gdb.trace/{configure configure.in Makefile.in}: New files.
22029         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
22030         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
22031         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
22032         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
22033         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
22034         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
22035         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
22036
22037 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
22038
22039         * gdb.c++/classes.exp: Change all regular expressions to match
22040         arbitrary combinations of newline/carriage-return, so that they
22041         will work equally well on Unix and Windows.
22042         * gdb.c++/inherit.exp: ditto.
22043         * gdb.c++/virtfunc.exp: ditto.
22044
22045 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
22046
22047         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
22048
22049 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
22050
22051         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
22052         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
22053         to use a0-a3/d0-d3 as needed.
22054
22055 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
22056
22057         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
22058         * gdb.disasm/am33.exp: Corresponding changes.
22059
22060 1998-07-11  Felix Lee  <flee@cygnus.com>
22061
22062         * gdb.base/callfuncs.exp: add cmp10 test.
22063         * gdb.base/callfuncs.c (cmp10): new function.
22064
22065 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
22066
22067         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
22068         into two parts to get around a synchronization problem in expect.
22069
22070 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
22071
22072         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
22073
22074         * configure.in: Add options for gdbtk testsuite.
22075
22076         * configure: Regenerate.
22077
22078         * gdb.gdbtk: New directory to hold gdbtk tests.
22079
22080 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
22081
22082         * gdb.fortran/types.exp:  Escape brackets in expect patterns
22083         for test_float_literal_types_accepted tests.
22084         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
22085         before run test.
22086
22087 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
22088
22089         * am33.exp: Just compile, do not link the testcase.
22090         * am33.s: Add ".am33" pseudoop to force am33 mode.
22091
22092 1998-06-25  Felix Lee  <flee@cygnus.com>
22093
22094         * gdb.base/setshow.exp: make sure $pc is sane.
22095
22096         * gdb.stabs/weird.exp: split expect patterns properly.
22097
22098 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
22099
22100         * gdb.disasm/am33.s: New disassembler testfile for the am33.
22101         * gdb.disasm/am33.exp: Run it.
22102
22103 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
22104
22105         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
22106         match processing (and eliminate spurious timeouts when running).
22107
22108 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
22109
22110         * gdb.base/signals.exp (test_handle_all_print): put back Mach
22111         exception test, but conditionalize it on target [mach | gnu].
22112
22113 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
22114
22115         * gdb.base/overlays.exp: fixup compile line for linker script.
22116
22117 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
22118
22119         * gdb.fortran/types.exp: don't guess at float size.
22120
22121 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
22122
22123         * gdb.base/exprs.exp: delete test that depends on int size.
22124
22125 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
22126
22127         * config/sim.exp: Removed checks for target triplets.
22128         (gdb_target_sim): Use gdb,target_sim_options.
22129
22130 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
22131
22132         * gdb.base/reread.exp: New file.
22133         * gdb.base/reread1.c: New file.
22134         * gdb.base/reread2.c: New file.
22135
22136 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
22137
22138         * config/sim.exp: Use 'target sim -sparclite' when running
22139         SPARClite programs.
22140
22141 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
22142
22143         * gdb.base/structs2.exp: New file.
22144         * gdb.base/structs2.c: New file.
22145
22146 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
22147
22148         * gdb.asm/common.inc: New file.
22149         * gdb.asm/d10v.inc: New file.
22150         * asm-source.exp: Pass -I's to gas to find .inc files.
22151         Update line numbers in expected output.
22152         * asmsrc1.s: Rewrite.
22153         * asmsrc2.s: Rewrite.
22154         * configure.in: Create arch.inc symlink.
22155         * configure: Regenerate.
22156         * Makefile.in (distclean): Delete arch.inc.
22157
22158 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
22159
22160         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
22161         (t_enum_value2): ditto
22162         (t_enum_value3): ditto
22163         (main): ditto
22164 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
22165
22166         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
22167         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
22168         change.
22169         Use gdb_test instead of send_gdb/gdb_expect sequences.
22170
22171 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
22172
22173         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
22174         not void.
22175
22176 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
22177
22178         * gdb.base/branches.c: Code with lots of loops and
22179         subroutines. Used to test gdbs ability to single step through PC
22180         changes, especially to test mips-tdep.c:mips_next_pc
22181
22182 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
22183
22184         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
22185         more rigorous EGCS C++ error checking.
22186
22187 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22188
22189         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
22190         tests.
22191         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
22192         function when asleep.
22193         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
22194         for i*86 Linux and SVR4 signal handling problems.
22195         Remove linux xfail for `next to handler in signals_tests_1', fixed
22196         by recent infrun.c change.
22197         Limit backtrace to 10 frames to avoid timeout problems with infinite
22198         stack backtraces.
22199         Adjust expect pattern in `handle all print' test to match Apr 28 1997
22200         target.[ch] change.
22201
22202 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
22203
22204         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
22205         for a newline from gdb before continuing.
22206         (default_gdb_exit): Just look for y or n.
22207         (gdb_test): Detect abnormal exit from GDB running on DOS; if
22208         it does, fail the rests of the tests in the file.
22209
22210 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
22211
22212         * config/cygmon.exp: New file.
22213
22214 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
22215
22216         * gdb.base/list.exp: Fix problem with "list default lines around
22217         main" test on remote targets.
22218
22219         * gdb.base/scope.exp: Fix problem with filelocal_bss before
22220         run test on remote targets.
22221
22222 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
22223
22224         * gdb.asm: New directory.
22225         * configure.in: Configure it.
22226         * configure: Regenerate.
22227         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
22228         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
22229
22230 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
22231
22232         * config/mn10300-eval.exp: New file to support MN10300 eval board.
22233
22234 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
22235
22236         * gdb.base/overlays (several files): Merge the two overlay
22237         managers into one.  Change variables (foox, barx, bazx, grbxx)
22238         back into ints but force them to load in their proper sections.
22239
22240 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
22241
22242         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
22243         on-chip insn memory and IMAP1 to upper 128k.
22244         (D10VCopy): Handle memory regions crossing 16k boundaries.
22245         (D10VCopy): Transfer data in 32 bit chunks.
22246
22247 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
22248
22249         * gdb.base/overlays.c (main): Exit normally when result is
22250         correct.
22251
22252         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
22253         map.  Include space for printf in .text segment.
22254
22255         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
22256         updated d10v memory VMA/LMA map.
22257         (D10VCopy): Call D10VTranslate.
22258
22259 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
22260
22261         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
22262
22263         * gdb.base/bar.c (barx, bar): Change variable to small array so
22264         that it won't be put into the .sdata - small data -
22265         section. Update reference.
22266         * gdb.base/baz.c (bazx, baz): Ditto.
22267         * gdb.base/foo.c (foox, foo): Ditto.
22268         * gdb.base/grbx.c (grbxx, grbx): Ditto.
22269
22270         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
22271         to be arrays.
22272
22273 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
22274
22275         * gdb.base/overlays.exp: fix up and get working again.
22276         Add tests for backtraces from an overlay function.
22277
22278 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
22279
22280         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
22281         "calling function with watchpoint enabled".
22282
22283 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
22284
22285         * gdb.base/break.exp (test_next_with_recursion): Remove
22286         gdb_suppress_tests for d10v-*-*.
22287         * lib/gdb.exp (gdb_suppress_tests): Disable this function
22288         pending review of whether it is useful or not.
22289
22290 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
22291
22292         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
22293
22294 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
22295
22296         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
22297         * config/dve.exp: New file to support Densan boards.
22298
22299 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
22300
22301         * gdb.base/interrupt.exp: Document problem of simulators, signals,
22302         reads and BSD.
22303
22304 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
22305
22306         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
22307         response.
22308
22309         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
22310
22311 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
22312
22313         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
22314         test.
22315
22316         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
22317         target_sizeof_long and target_bigendian_p.
22318         (structs_by_value, structs_by_reference): Check values according
22319         to targets word size and endianess.
22320
22321 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
22322
22323         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
22324         output.
22325
22326 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
22327
22328         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
22329         Update test of set args help to match source change.
22330
22331 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
22332
22333         * gdb.base/default.exp: Expect help system output to be in
22334         alphabetical order.
22335         * gdb.base/help.exp: Ditto.
22336
22337 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
22338
22339         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
22340         "i*86-pc-linux-gnu*".
22341         * gdb.base/interrupt.exp: Ditto.
22342         * gdb.base/corefile.exp: Ditto.
22343
22344         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
22345         define vxworks when building the testcase.
22346
22347         * gdb.base/ptype.exp: Fix testnames to be unique.
22348         * gdb.base/radix.exp: Ditto.
22349         * gdb.base/term.exp: Ditto.
22350         * gdb.base/whatis.exp: Ditto.
22351         * gdb.c++/classes.exp: Ditto.
22352
22353 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
22354
22355         * gdb.base/callfuncs.exp: Fix indentation.
22356
22357         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
22358         suppress_flag has been set.
22359         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
22360         target feature.
22361
22362 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
22363
22364         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
22365         the testcase.
22366
22367         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
22368         set_debug_traps() and breakpoint().
22369         * gdb.c++/misc.cc (main): Ditto.
22370         * gdb.c++/templates.cc (main): Ditto.
22371         * gdb.c++/virtfunc.cc (main): Ditto.
22372
22373 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
22374
22375         * lib/gdb.exp(gdb_step_for_stub): New function.
22376         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
22377         exists, reload the executable and do a "continue" instead of
22378         doing a jump.
22379         (runto_main): Use gdb_step_for_stub.
22380
22381         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
22382         tests to have unique names.
22383         * gdb.base/callfuncs.exp: Ditto.
22384         * gdb.base/commands.exp: Ditto.
22385         * gdb.base/default.exp: Ditto.
22386         * gdb.base/help.exp: Ditto.
22387         * gdb.base/list.exp: Ditto.
22388         * gdb.base/opaque.exp: Ditto.
22389         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
22390         similar tests.
22391
22392         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
22393         * gdb.c++/cplusfuncs.cc: Ditto.
22394         * gdb.c++/virtfunc.cc: Ditto.
22395
22396         * config/monitor.exp: Keep track of the last file we saw, rather
22397         than trying to get the info from gdb.
22398
22399         * gdb.fortran/types.exp: Move comment to previous line.
22400
22401 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
22402
22403         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
22404         target mode.
22405
22406 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
22407
22408         From Bob Manson:
22409         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
22410         string from GDB when it connects.
22411
22412         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
22413
22414 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
22415
22416         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
22417         if we can't get a debug format from GDB (we may be testing an
22418         older GDB). Use a 10 second timeout when checking for the format.
22419
22420         * gdb.stabs/weird.exp: Fix quoting.
22421
22422         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
22423
22424 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
22425
22426         * config/arm-ice.exp: New file.
22427
22428 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
22429
22430         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
22431         until it has been modified to work with the new testsuite.
22432
22433         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
22434         testcase won't compile, cause all of the testcases in the file to
22435         fail instead.
22436
22437         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
22438         (gdb_clear_suppressed): New procedure.
22439         (gdb_stop_suppressing_tests): Only clear suppress_flag if
22440         it contains a positive value.
22441
22442 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
22443
22444         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
22445
22446         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
22447
22448 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
22449
22450         * lib/gdb.exp (setup_xfail_format): New function.
22451         (get_debug_format): New function to get debug format.
22452         (debug_format): New global variable to hold last value set
22453         by get_debug_format.
22454         * gdb.base/list.exp: Call get_debug_format and expect some
22455         tests to fail for DWARF 1 and COFF formats.
22456         * gdb.c++/ptype.exp: Ditto.
22457         * gdb.c++/classes.exp: Ditto.
22458         * gdb.c++/cplusfuncs.exp: Ditto.
22459         * gdb.c++/inherit.exp: Ditto.
22460         * gdb.c++/templates.exp: Ditto.
22461         * gdb.c++/virtfunc.exp: Ditto.
22462
22463 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
22464
22465         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
22466         host doesn't have a currently-open connection.
22467
22468         * config/sparclet.exp: Cleanups and fixes to make it generic for
22469         any gdb stub target. Handle cases where gdb doesn't respond when
22470         interrupted in a sane fashion.
22471
22472         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
22473         same thing in a totally different way.
22474
22475         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
22476         setting "timeout".
22477         (gdb_start): We set the global gdb_prompt variable in
22478         default_gdb_init now.
22479
22480 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
22481
22482         * gdb.base/printcmds.exp: Fix "check for floating addition"
22483         regexp to accept results within approx +/- .01 of exact value.
22484         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
22485
22486 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
22487
22488         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
22489         properly.
22490         (gdb_expect): Add optional timeout parameter, and add timeout
22491         value to various calls.
22492         (gdb_suppress_tests): Only give one warning message per group.
22493
22494 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
22495
22496         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
22497         global variables. Handle getting a value for $timeout more
22498         gracefully.
22499
22500 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
22501
22502         * lib/gdb.exp: Close connection to remote host if gdb doesn't
22503         initialize.
22504         (default_gdb_init): New procedure; allow gdb_init to be overridden
22505         by a target configuration file.
22506         (gdb_expect): Pass the timeout to remote_expect.
22507
22508         * config/monitor.exp(gdb_load): Fix typo in regexp.
22509
22510 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
22511
22512         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
22513
22514 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
22515
22516         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
22517         here. Call gdb_target_exec before rebooting the target, to make
22518         sure the connection to the target is closed.
22519         (gdb_load): Pass the name of the executable to gdb_target_monitor.
22520         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
22521         Also detect "Timeout reading from remote" error.
22522
22523         * config/gdbserver.exp: Pass the executable being loaded to
22524         gdb_target_monitor. Don't call gdb_file_cmd here; let
22525         gdb_target_monitor do it.
22526
22527         * gdb.disasm/hppa.exp: Don't use exec_output.
22528
22529 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
22530
22531         * gdb.base/list.exp: If we're debugging a non-native target,
22532         try to set the pc register to point to the start of the
22533         program before doing the first list command.
22534
22535         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
22536         test_calls after restarting.
22537
22538         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
22539         reloading.
22540
22541         * gdb.base/watchpoint.exp: Fix typo.
22542
22543         * gdb.base/setshow.exp: Check for use_gdb_stub.
22544
22545         * gdb.base/break.exp: Fix continue until exit test for the gdb
22546         stub case.
22547         * gdb.base/langs.exp: Ditto.
22548
22549         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
22550         gdb_load_offset. If we weren't given a file to load, figure out
22551         what the current file is and use it.
22552
22553         * config/i386-bozo.exp: New file.
22554
22555 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
22556
22557         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
22558         feature.
22559
22560         * config/proelf.exp: New entry.
22561
22562 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
22563
22564         * lib/gdb.exp: Remove spurious .* patterns at the beginning
22565         of regexps.
22566
22567         * gdb.base/watchpoint.exp: Don't run the test_stepping
22568         tests if gdb can't call functions on the target.
22569
22570         * gdb.base/setshow.exp: Don't run the set prompt tests if
22571         the board has gdb_prompt set.
22572
22573 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
22574
22575         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22576         * gdb.base/commands.exp: Likewise.
22577         * gdb.base/setshow.exp: Likewise.
22578
22579 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
22580
22581         * config/monitor.exp(gdb_start): Look for gdb_prompt target
22582         feature.
22583
22584         * config/i960.exp: New file.
22585
22586 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
22587
22588         * gdb.base/funcargs.exp: Check for gdb,short_int target
22589         feature instead of looking for explicit target triplets.
22590
22591 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
22592
22593         * gdb.base/printcmds.exp: add a couple more tests a la
22594         "p 123DEADBEEF", to check parse_number.
22595         * top.c: change "to enable to enable" to "to enable" in a couple
22596         of help strings.
22597
22598 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
22599
22600         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22601         on the mn10300.
22602
22603 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
22604
22605         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22606         where the test executable is run with explicit args.
22607         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22608
22609 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
22610
22611         * gdb.base/run.c: Use FAKEARGV to build test executable that
22612         does not require a command line arg, since most simulators
22613         don't currently support passing such an arg into the simulated
22614         program.
22615         * gdb.base/commands.exp: Change tests to insert the proper
22616         value as the arg to the first recursive factorial call.  Change
22617         compilation line to define FAKEARGV at compile time.
22618
22619 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
22620
22621         * gdb.base/recurse.exp: Enable these tests for the mn10300.
22622         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22623         function with watchpoint enabled" test.
22624
22625 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
22626
22627         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
22628         Don't call gdb_test when the command doesn't return to a gdb prompt.
22629
22630         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
22631         "Tests restarted" messages.
22632
22633 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
22634
22635         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22636
22637 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
22638
22639         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22640         for INFO SYMBOL; add help tests for OVERLAY commands.
22641         * gdb.base/default.exp: add tests for INFO SYMBOL command;
22642         add tests for OVERLAY commands
22643         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22644         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22645         * gdb.base/sigall.c: add usestubs code frag
22646         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
22647
22648 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
22649
22650         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22651         failures.
22652         (gdb_stop_suppressing_tests): Note that tests have restarted.
22653
22654 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
22655
22656         * config/h8300.exp: New file.
22657
22658 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
22659
22660         * gdb.base/setshow.exp: Check for the existence of a
22661         feature, not its value.
22662
22663 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
22664
22665         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22666
22667         * gdb.base/scope.exp: It's now init0(), not init().
22668
22669         * gdb.base/scope0.c: For now, change init() to be init0().
22670
22671         * config/monitor.exp: Use gdb_serial in preference to serial
22672         or netport.
22673
22674         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
22675         and it's not already set.
22676
22677 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
22678
22679         * gdb.base/setshow.exp: Only test the run command if the target
22680         isn't using a stub and if it supports argument passing.
22681
22682 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
22683
22684         * config/udi.exp(gdb_start): Make sure UDICONF is set
22685         properly before starting gdb.
22686
22687 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
22688
22689         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22690         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22691         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22692
22693 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
22694
22695         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
22696         specialized code to reboot the board, use remote_reboot instead.
22697
22698         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22699
22700         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22701
22702         * config/monitor.exp: Make sure we disconnect from the target.
22703         Also, try a reboot/reload cycle instead of failing if the
22704         load fails.
22705
22706 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
22707
22708         * gdb.base/default.exp: Don't set match_max.
22709         * gdb.base/help.exp: Ditto.
22710         * gdb.base/list.exp: Ditto.
22711         * gdb.base/signals.exp: Ditto.
22712
22713         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22714         set, use remote_ld to download the testcase instead of
22715         the GDB loader.
22716
22717 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
22718
22719         * config/vr5000.exp: New file.
22720
22721         * config/monitor.exp(gdb_target_monitor): Add pattern for
22722         "Ending remote" to detect errors in connecting.
22723
22724         * gdb.base/setshow.exp: Add .* within auto language test.
22725
22726         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22727         target feature.
22728
22729         * config/monitor.exp(gdb_load): Check for a failure when loading,
22730         and reboot the board if necessary.
22731
22732         * gdb.base/setvar.exp(test_set): Handle multiple prints within
22733         a set of tests. Remove print.* from the patterns being checked.
22734
22735 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
22736
22737         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22738         refer to gdb_spawn_id.
22739
22740         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22741         longer used.
22742         * config/sparclet.exp: Ditto.
22743         * config/sparclet-old.exp: Ditto.
22744         * config/slite.exp: Ditto.
22745         * config/sim.exp: Ditto.
22746         * gdb.base/funcargs.exp: Ditto.
22747
22748         * lib/gdb.exp:Remove references to gdb_spawn_id.
22749         (gdb_expect): Move to remote.exp.
22750
22751 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
22752
22753         * config/monitor.exp: Detect the "Couldn't establish connection"
22754         message from GDB.
22755
22756 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
22757
22758         * gdb.base/bitfields.exp: Use runto instead of explicit
22759         gdb_run_cmd/gdb_expect sequences.
22760
22761         * gdb.base/break.exp(text_next_with_recursion): Add match for
22762         gdb_expect call.
22763
22764         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22765         We also need to handle the "A program is being debugged already"
22766         prompt from gdb. Use gdb_test to set the baud rate.
22767
22768         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22769         to 20000. Really. I mean it.
22770
22771 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
22772
22773         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
22774         fails. If suppress_flag is set, skip perror message about not
22775         being able to send to GDB.
22776         (send_gdb): If suppress_flag is set, don't try to send commands to
22777         GDB.
22778         (gdb_expect): If suppress_flag is set, always fail immediately.
22779         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22780         (gdb_init): Call gdb_stop_suppressing_tests.
22781         (default_gdb_exit): Ditto.
22782         (default_gdb_start): Ditto.
22783
22784         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
22785         gdb_stop_suppressing_tests as appropriate.
22786         * gdb.base/break.exp: Ditto.
22787         * gdb.base/callfuncs.exp: Ditto.
22788         * gdb.base/commands.exp: Ditto.
22789         * gdb.base/exprs.exp: Ditto.
22790         * gdb.base/funcargs.exp: Ditto.
22791         * gdb.base/list.exp: Ditto.
22792         * gdb.base/recurse.exp: Ditto.
22793         * gdb.base/scope.exp:  Ditto.
22794         * gdb.base/structs.exp: Ditto.
22795         * gdb.c++/inherit.exp: Ditto.
22796
22797 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
22798
22799         * config/vr4300.exp: New file.
22800
22801         * gdb.*/*.exp: Call gdb_expect instead of expect.
22802
22803         * lib/gdb.exp(gdb_expect): New function.
22804
22805 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
22806
22807         * lib/gdb.exp(gdb_init): New function.
22808
22809         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
22810         for each individual variable set.
22811
22812         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22813         name.
22814
22815         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22816
22817         * gdb.base/scope.exp: Use gdb_test.
22818
22819         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22820         aborting; the testsuite driver will do that for us (see
22821         gdb_finish). Also, use gdb_test in a few more places.
22822
22823 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
22824
22825         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22826
22827 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
22828
22829         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22830         and "add_tests" are not at the same address.
22831
22832 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
22833
22834         * gdb.base/ptype.exp: Use gdb_test.
22835
22836 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
22837
22838         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22839         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22840         left in.  No longer expect them to fail.
22841
22842         * gdb.stabs/*.mt; Deleted, no longer used.
22843         * gdb.stabs/configure.in: Remove references to target makefile
22844         frags.
22845         * gdb.stabs/configure: Rebuilt.
22846
22847         * gdb.disasm/*.mt: Deleted, no longer used.
22848         * gdb.disasm/configure.in: Remove references to target makefile
22849         frags.  Use "sh3.s" as the unique filename for this directory.
22850         * gdb.disasm/configure: Rebuilt.
22851
22852         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22853         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22854         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22855
22856 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
22857
22858         * config/udi.exp: Use mondfe,name instead of remote_host.
22859
22860 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
22861
22862         * gdb.base/watchpoint.exp: Don't expect a failure when calling
22863         a function with a watchpoint enabled on the mn10200.
22864
22865         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22866         before trying to create it!
22867
22868 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
22869
22870         * config/vx.exp: Use hostname instead of netport.
22871
22872         * config/vxworks.exp: New file.
22873
22874         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22875
22876         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
22877         gdb before assuming everything worked. Send a ^C if a timeout
22878         occurs.
22879
22880         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22881         $gdb_spawn_id directly.
22882         (gdb_run_cmd): Try _start as well as start. Use the target feature
22883         gdb,start_symbol as the symbol to start from when jumping.
22884
22885 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
22886
22887         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22888         redundant) test.
22889
22890         * gdb.base/recurse.exp: Relax final value test for 'b' so that
22891         it doesn't lose for 16bit integer systems.
22892
22893 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
22894
22895         * gdb.fortran/types.exp: If the target doesn't support "double"
22896         data types, then expect "real" types to only be 4 bytes.
22897
22898         * gdb.c++/virtfunc.exp: Expect failure for virtual function
22899         call tests if the target doesn't support inferior function calls.
22900
22901         * gdb.base/printcmds.exp: Allow minor deviation in FP values
22902         in printf tests.
22903
22904 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
22905
22906         * gdb.base/help.exp: Disable "help set", "help show", and
22907         "help support".  Simplify regexp for "help stack".
22908
22909         * gdb.base/default.exp: Set match_max to 5000 and the timeout
22910         to 60 seconds.  Temporarily set match_max to 15000 around the
22911         "info copying" test.
22912
22913         * gdb.base/nodebug.exp: Don't try to do an inferior function
22914         call if the target doesn't support them.
22915         * gdb.base/printcmds.exp: Likewise.
22916         * gdb.base/setvar.exp: Likewise.
22917         * gdb.base/structs.exp: Likewise.
22918         * gdb.c++/templates.exp: Likewise.
22919         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
22920
22921         * gdb.base/recurse.exp: Enable for the mn10200.
22922
22923         * configure.in: Do configure gdb.stabs directory for *-*-elf
22924         targets.
22925         * configure: Rebuilt.
22926
22927         * gdb.base/break.exp: Check for gdb,noresults before testing
22928         exit status and/or results from the target.
22929         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22930         * lib/gdb.exp: Remove old (now bogus) initialization of
22931         noinferior, noargs, noresults and nosignals.
22932
22933 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
22934
22935         * config/sh.exp: New file.
22936
22937         * config/slite.exp: Try to connect multiple times to the board
22938         before rebooting. Only send a "monitor run" if need_monitor_run
22939         is set.
22940
22941         * gdb.base/break.exp: Don't do the "stub continue" test if
22942         the target has gdb_stub set.
22943
22944         * gdb.base/callfuncs.exp: Increase the timeout.
22945
22946         * gdb.base/interrupt.exp: Don't even try to compile the testcase
22947         if the target has gdb,noinferiorio set.
22948
22949         * gdb.base/list.exp: Increase match_max to 10000 characters.
22950
22951         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22952
22953         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22954         target.
22955
22956         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22957
22958 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
22959
22960         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
22961         trying to delete the copy of gdb. Catch the file delete so we
22962         don't die if the delete fails; also, the file should be copied to
22963         the host, not to the build.
22964
22965 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
22966
22967         * lib/gdb.exp(gdb_test): Surround the result pattern with
22968         parenthesis in case it contains multiple regexps separated
22969         with |.
22970
22971         * gdb.base/watchpoint.exp: Use gdb_test.
22972         * gdb.base/default.exp: Ditto.
22973
22974 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
22975
22976         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
22977
22978         * gdb.base/scope.exp: Use gdb_test.
22979         * gdb.c++/classes.exp: Ditto.
22980         * gdb.c++/inherit.exp: Ditto.
22981
22982 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
22983
22984         * gdb.base/crossload.exp: Don't use execute_anywhere, use
22985         remote_exec instead.
22986         * gdb.base/corefile.exp: Don't be ridiculous.
22987         * gdb.base/*.c: Add missing stub invocations.
22988
22989 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
22990
22991         * config/slite.exp: Miscellaneous fixes.
22992
22993         * lib/gdb.exp: Fix runto.
22994
22995         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22996         the target.
22997
22998         * gdb.base/watchpoint.exp: Fix regexp.
22999
23000         * lib/gdb.exp(default_gdb_exit): Add a catch to the
23001         close and wait commands, as the descriptor may now be
23002         invalid. Always call "remote_close host".
23003
23004 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
23005
23006            Major rewrite for testsuite revision.
23007
23008         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
23009         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
23010         instead of relying on spawn_id to always contain a valid
23011         spawn id.
23012         (get_compiler_info): New procedure to build the ${binfile}.ci
23013         file, instead of replicating this in N different places.
23014         (gdb_compile): New procedure.
23015
23016         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
23017         appropriate arguments) instead of compile. Use gdb_test in a lot
23018         more places.  Use send_gdb instead of send. Always run gdb_start
23019         at the start of a testcase, as this is no longer done magically.
23020
23021         config/*-gdb.exp: Rename without the -gdb suffix.
23022
23023         config/mips.exp: Use remote_close instead of exit_remote_shell.
23024         config/monitor.exp: Use target_info instead of looking at
23025         baud, timeout, etc.
23026         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
23027
23028 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23029
23030         * gdb.c++/templates.exp (test_ptype_of_templates),
23031         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
23032         Update expect patterns for destructors and assignment operators
23033         to match corresponding c-typeprint.c changes.
23034         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
23035         to destructor breakpoint test, GDB should be able to set the
23036         destructor breakpoint without specifying arguments.
23037
23038 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
23039
23040         * gdb.threads/pthreads.exp: Change result for failure to compile due
23041         to lack of pthreads runtime support from an error to simply an
23042         unsupported test, per dejagnu standards.
23043
23044 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23045
23046         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
23047         where GDB exits to reduce pattern match time.
23048         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
23049
23050         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
23051
23052 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
23053
23054         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
23055         * gdb.base/default.exp:   ditto.
23056         * gdb.base/nodebug.exp:   ditto.
23057         * gdb.base/printcmds.exp: ditto.
23058         * gdb.base/ptype.exp:     ditto.
23059         * gdb.base/setvar.exp:    ditto.
23060         * gdb.base/structs.exp:   ditto.
23061         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
23062
23063 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
23064
23065         * configure, */configure: Rebuild with autoconf 2.12.
23066
23067 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
23068
23069         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
23070         use new i*86-pc-linux*-gnu quads.
23071         * gdb.base/corefile.exp: Ditto.
23072         * gdb.base/signals.exp: Ditto.
23073         * gdb.base/sigall.exp: Ditto.
23074         * gdb.base/interrupt.exp: Ditto.
23075
23076         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
23077         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
23078         RedHat 4.0.
23079
23080         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
23081         linux.  This allows the test case to at least compile on latest
23082         linux, but still not run due to missing the threads runtime library.
23083
23084 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23085
23086         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
23087         directory to search gdb directory. Accept and step over conditional
23088         stack alignment code. Consume $prompt in failure cases.
23089         Reset timeout to $oldtimeout instead of some arbitrary value.
23090         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
23091         timeout problems with infinite stack backtraces.
23092         * gdb.base/ptype.exp (ptype struct link, union tu_link):
23093         Accept function parameters for linkfunc member.
23094
23095 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
23096
23097         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
23098         (CXXFLAGS): Remove, unreferenced.
23099         (B_OPTIONS): Add for -B options and add code to initialize with
23100         previous -B options and also add -B option to pick up cross compiled
23101         runtime.
23102         (TARGET_INCLUDES): Add for -I options and add code to initialize when
23103         doing cross compiles.
23104         (target_alias): Declare global.
23105         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
23106         to verify that gcc exists in build tree, and if so set CC to that
23107         gcc and to use B_OPTIONS and TARGET_INCLUDES.
23108
23109 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
23110
23111         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
23112         ptype test for anonymous union.  Fixup testcase to match
23113         current gcc debug output.
23114
23115 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
23116
23117         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
23118         force argument to an unsigned long type.
23119
23120 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
23121
23122         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
23123         tests and anonymous union print/ptype tests.
23124         * gdb.base/list.exp (test_forward-search): Increase timeout by
23125         5 minutes for the "search extremely long line" case.
23126         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
23127         completely optional and that the pass/fail messages use the command as
23128         the message if that third arg is a null string.
23129         (gdb_test_exact):  Arrange that a null string pattern means match a
23130         null string output rather than any output, which might include random
23131         errors.
23132         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
23133         backtrace test.
23134         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
23135         always failing and failure is now exposed by gdb.exp changes.
23136
23137 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
23138
23139         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
23140         weren't being noted.
23141
23142 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23143
23144         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
23145         * gdb.stabs/weird.exp:  Remove v_comb xfails.
23146
23147 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
23148
23149         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
23150                     list.exp scope.exp watchpoint.exp]
23151           Make all timeout error msgs explicitly say "(timeout)".
23152
23153 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
23154
23155         * config/monitor.exp: Increase download timeout to 1000 seconds.
23156
23157 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
23158
23159         * config/m32r.exp: Increase timeout to 120 seconds.
23160
23161 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
23162
23163         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
23164         and accept older ordering as obsolescent gcc or gdb.
23165         * gdb.c++/templates.exp: Ditto.
23166         * gdb.c++/virtfunc.exp: Ditto.
23167
23168 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
23169
23170         * gdb.base/coremaker.c: Add code to mmap some data so we
23171         can check that it ends up in the core file.
23172         * gdb.base/corefile.exp: Add test to read mmapped data
23173         from core file.
23174
23175 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
23176
23177         * config/m32r.exp: New file.
23178
23179 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
23180
23181         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
23182         that cflags can contains -gstabs, and work correctly for other tests.
23183
23184 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
23185
23186         * gdb.base/setshow.exp: New file, tests show and set.
23187         * gdb.base/setshow.c:   New file, tests show and set.
23188         * gdb.base/help.exp: Add test for help set|show annotate.
23189         * gdb.base/default.exp: Add test for set|show annotate.
23190
23191 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
23192
23193         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
23194         errors unique.
23195         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
23196         explicitly.
23197
23198 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
23199
23200         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
23201         and width commands.  This is done elsewhere.
23202         * (gdb_start):  Don't call gdb_start_sim here.  That's already
23203         done in gdb_load.  This fixes lots of failures in default.exp.
23204
23205 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
23206
23207         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
23208         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
23209         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
23210         in the same we we treat other failures (since it may be an expected
23211         condition), rather than as an error.
23212         * gdb.base/signals.exp (test_handle_all_print): Revert back to
23213         old test format.
23214
23215 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
23216
23217         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
23218         (distclean maintainer-clean realclean): No need to remove files
23219         twice.  Nuke the duplicates.
23220         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
23221         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
23222         Remove config.h along with other config files.
23223
23224 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
23225
23226         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
23227         "p func1 ()" and note that rests of tests are skipped.
23228         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
23229         setup_xfails for "print func2::coremaker_local".
23230         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
23231         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
23232         affected by the previous run test.
23233         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
23234         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
23235         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
23236         "pass int powerset tuple" and "pass modeless int powerset tuple".
23237         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
23238         "real write 4" and "real write 8".
23239         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
23240         setup_xfails for "print vs1 after tuple assign 2",
23241         "print \$i after tuple assign 2", and
23242         "print vs2 after tuple assign 2".
23243         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
23244         meaningful error message and return -1 so the caller can
23245         suppress further tests and avoid a cascade of errors.
23246
23247 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
23248
23249         * gdb.base/a1-selftest.exp: Tweak tests to account for new
23250         format for printing version.
23251         * gdb.base/default.exp: Ditto.
23252         * gdb.base/interrupt.exp: Fix problem with cascade of
23253         errors if child process dies while calling a function.
23254
23255 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
23256
23257         * Makefile.in (VPATH): Add
23258         * Makefile.in (Makefile, config.status): Fix rules so things get
23259         remade when necessary.
23260
23261 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
23262
23263         * Makefile.in (just-check): Add path to sibling expect dir
23264         to environment variable specified by RPATH_ENVVAR.
23265
23266 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
23267
23268         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
23269         (just-check): Add shared library paths for libstdc++, tk,
23270         tcl, bfd, and opcodes to the environment variable specified
23271         in RPATH_ENVVAR.
23272         * configure.in: Add support to recognize --enable-shared flag
23273         and generate correct value for RPATH_ENVVAR.
23274         * configure: Regenerated with autoconf.
23275
23276 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
23277
23278         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
23279         include all osf versions.
23280         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
23281         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
23282         when target is linux.  When failing to build pthreads test
23283         executable, give more meaningful message.
23284         * gdb.threads/pthreads.c: Hpux also uses old definition of second
23285         arg for pthread_create.
23286
23287 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
23288
23289         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
23290         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
23291         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
23292         and -lpthreads (everybody else).
23293         (test_startup): Fail gracefully if threads are not supported.
23294         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
23295         "p/c array_index("abcdef",2)" when not gcc compiled.
23296         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
23297         "print func2::coremaker_local" when not gcc compiled.
23298         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
23299         "ptype on opaque struct tagname (statically)",
23300         "ptype on opaque struct tagname (dynamically) 1", and
23301         "ptype on opaque struct tagname (dynamically) 2"
23302         for not compiled with gcc.
23303         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
23304         backtrace when compiled with gcc.
23305         * lib/gdb.exp (runto_main): Return result of "runto main" rather
23306         than always return success.
23307
23308 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
23309
23310         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
23311
23312 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
23313
23314         * gdb.base/structs.exp: Undo last change.
23315
23316 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
23317
23318         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
23319         encapsulate all the steps/nexts done during self test, starting
23320         at main, and makes them less sensitive to optimization issues.
23321         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
23322         signal handler" test.
23323         * gdb.threads/pthreads.exp: Only run this for native configs.
23324         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
23325         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
23326         tests.
23327         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
23328         for "runto test_calls(void)" test.
23329
23330 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
23331
23332         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
23333         and don't expect address info in breakpoint confirmations.
23334
23335 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
23336
23337         * gdb.base/list.exp (test_forward_search): Increase timeout
23338         temporarily by 60 seconds for searching extremely long line,
23339         and then reset to old value when done.  Increase expect input
23340         buffer to 10000.
23341
23342 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
23343
23344         * gdb.base/list.exp (test_forward_search): Fix to handle very
23345         long source line without overflowing expect's input buffer.
23346
23347 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
23348
23349         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
23350         "buffer_full".
23351
23352         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
23353         "buffer_full".
23354
23355         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
23356         "buffer_full".
23357
23358         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
23359         "buffer_full".
23360
23361 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
23362
23363         * configure.in (configdirs): Add gdb.threads.
23364         * configure: Regenerated with autoconf.
23365         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
23366         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
23367         * gdb.threads/configure: New, generated with autoconf.
23368
23369 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
23370
23371         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
23372
23373 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
23374
23375         * gdb.base/signals.exp (test_handle_all_print): Test separately for
23376         each signal's status in the output of "handle all print".
23377         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
23378         the \r\n sequence that immediately precedes the gdb prompt.
23379         * gdb.base/a1-selftest.exp: Save original timeout and restore
23380         after test.
23381
23382 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
23383
23384         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
23385         symbol.
23386
23387 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
23388
23389         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
23390
23391 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
23392
23393         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
23394         timeout by 60 seconds.
23395
23396 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
23397
23398         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
23399         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
23400         error return.
23401
23402 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
23403
23404         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
23405         gdb initialization, also report how long dejagnu waited.  Restore
23406         old timeout before doing error return.  Temporarily increase timeout
23407         by 3 minutes to allow for slow startups over heavy NFS use.
23408
23409 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
23410
23411         * lib/gdb.exp: Report timeout value for verbosity level 2.
23412         * config/gdbserver.exp: Ditto.
23413         * config/hppro.exp: Ditto.
23414         * config/mips-gdb.exp: Ditto.
23415         * config/monitor.exp: Ditto.
23416         * config/netware.exp: Ditto.
23417         * config/sim-gdb.exp: Ditto.
23418         * config/slite-gdb.exp: Ditto.
23419         * config/udi-gdb.exp: Ditto.
23420         * config/unix-gdb.exp: Ditto.
23421         * config/vx-gdb.exp: Ditto.
23422         * gdb.base/a1-selftest.exp: Ditto.
23423         * gdb.base/a2-run.exp: Ditto.
23424         * gdb.base/break.exp: Ditto.
23425         * gdb.base/corefile.exp: Ditto.
23426         * gdb.base/list.exp: Ditto.
23427         * gdb.base/recurse.exp: Ditto.
23428         * gdb.base/scope.exp: Ditto.
23429         * gdb.base/signals.exp: Ditto.
23430
23431 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
23432
23433         * gdb.threads/Makefile.in (docdir): Removed.
23434
23435 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
23436
23437         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
23438         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
23439         @srcdir@.
23440         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
23441         autoconf 2.5 or higher.
23442         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
23443
23444 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
23445
23446         * configure: Regenerated.
23447         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
23448         avoid name clashes with SunOS headers.
23449
23450 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
23451
23452         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
23453
23454 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
23455
23456         * gdb.base/callfuncs.exp: Finish last change -- make sure the
23457         prototype information ends up in the compiler info file.
23458
23459 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
23460
23461         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
23462         attempting to regenerate it.  Eliminate use of a temporary file
23463         and just generate the info file directly.  Source it immediately,
23464         for consistency of use.
23465         * gdb.base/corefile.exp: Ditto
23466         * gdb.base/exprs.exp: Ditto.
23467         * gdb.base/funcargs.exp: Ditto.
23468         * gdb.base/langs.exp: Ditto.
23469         * gdb.base/list.exp: Ditto.
23470         * gdb.base/mips_pro.exp: Ditto.
23471         * gdb.base/nodebug.exp: Ditto.
23472         * gdb.base/opaque.exp: Ditto.
23473         * gdb.base/ptype.exp: Ditto.
23474         * gdb.base/scope.exp: Ditto.
23475         * gdb.base/setvar.exp: Ditto.
23476         * gdb.base/signals.exp: Ditto.
23477         * gdb.base/whatis.exp: Ditto.
23478         * gdb.c++/templates.exp: Ditto.
23479         * gdb.c++/virtfunc.exp: Ditto.
23480         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
23481         whether or not to add -lstdc++ to the compile command line args.
23482
23483 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23484
23485         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
23486         it got fixed by the recent lookup_minimal_symbol_by_pc change.
23487         Increase timeout, a lot of single stepping might be needed if the
23488         target has no hardware watchpoints.
23489
23490 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
23491
23492         * gdb.base/break.exp: Ignore compiler warnings when compiling
23493         break.c.
23494         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
23495         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
23496         from remote-sim.
23497         * gdb.base/exprs.exp: Add h8300 xfails.
23498         * gdb.base/funcargs.exp: Likewise.
23499         * gdb.base/nodebug.exp: Likewise.
23500         * gdb.base/printcmds.exp: Likewise.
23501         * gdb.base/ptype.exp: Likewise.
23502         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
23503         h8300 xfails.
23504         * gdb.base/return.exp: Handle float/double precision problems
23505         on the h8300.
23506         * gdb.base/funcargs.c: Explicitly make last constant argument to
23507         call_after_alloca_subr an unsigned long type.
23508         * gdb.base/return.c: Include stdio.h.
23509
23510 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
23511
23512         * config/abug.exp: New file for the older Motorola Bug monitor
23513         that runs on the mvme13x series VME boards.
23514         * config/monitor.exp: Use the new config array for target settings
23515         if they exist.
23516
23517 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
23518
23519         * sim-gdb.exp: Make the SH simulator allocate less space when
23520         it is targeted.
23521
23522 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
23523
23524         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
23525         test.
23526
23527 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
23528
23529         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
23530         "rs6000-*-*" for "list function in include file" when gcc compiled.
23531         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
23532         for "p ctable1[120]".
23533         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
23534         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
23535         Remove setup_xfail for "rs6000-*-*" for
23536         "print 'scope0.c'::filelocal before run".
23537         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
23538         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
23539         since some compilers don't allow both options to be given
23540         on the same command line.  Create object file and move it.
23541
23542 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
23543
23544         * gdb.base/corefile.exp: Always regenerate the core file, since
23545         we always regenerate the coremaker program.  Detect special case
23546         where registers cannot be read from core file.
23547
23548 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
23549
23550         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
23551         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
23552         * gdb.c++/templates.exp: Only match on basename of file since
23553         some formats like xcoff don't encode directory information.
23554         * gdb.stabs/weird.exp: Use the right sed script for powerpc
23555         and rs6000 AIX xcoff targets.
23556         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
23557         * configure: Regenerate.
23558         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
23559         here, rather than in distclean.
23560
23561 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
23562
23563         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
23564         defined, and use it to compile the test case with -O2.  The
23565         native compilation still uses no optimization.
23566         * gdb.base/mips_pro.c: Remove inline assembly code since
23567         it is compiled PIC by default, which results in assembler
23568         warnings that make the testsuite think the compilation
23569         was unsuccessful.
23570
23571 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
23572
23573         * gdb.c++/misc.exp: Add note to message for
23574         "print s.a for foo struct" that this is a known gcc 2.7.2
23575         and earlier bug.
23576
23577 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
23578
23579         * gdb.base/break.exp: Fix pattern for matching "Delete all
23580         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
23581         setup_xfail for deleting all breakpoints test.  Fix various
23582         timeout messages to include "(timeout)".
23583         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23584         for "p t_float_values2(3.14159,float_val2)".
23585         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23586         for "continue to call2g" when gcc compiled.
23587         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23588         "up to foo in langs.exp", "show language at foo in langs.exp",
23589         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23590         and "show language at fsub in langs.exp".
23591         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23592         "list line 1 in include file", "list message for lines past EOF",
23593         "list function in include file", "list list0.h:foo", and
23594         "list filename:function; nonexistant function".
23595         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23596         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23597         and "ptype t_char_array" to be for native cc only.
23598
23599 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
23600
23601         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
23602         setup_xfail for "print coremaker_bss", "print coremaker_ro",
23603         "print func2::coremaker_local", and "backtrace in corefile.exp".
23604
23605 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
23606
23607         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23608         "bt in signals.exp".  This problem only appears when running
23609         the testsuite, and then only intermittently.
23610
23611 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
23612
23613         * gdb.base/return.exp (return_tests): Differentiate between
23614         two tests of continuing.
23615
23616 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
23617
23618         * */Makefile.in (maintainer-clean): Remove config.log.
23619         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23620         * gdb.c++/Makefile.in (PROGS): Add inherit.
23621         (clean): Remove *.ci.
23622
23623 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
23624
23625         * gdb.c++/misc.cc: Add test code from Mike Stump.
23626         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23627
23628 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
23629
23630         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23631         to "alpha-*-osf2*" and add comment.
23632         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
23633         setup_xfail for "step over execarg initialization" and
23634         "step over corearg initialization".
23635         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23636         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23637         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
23638         gcc compiled for "print coremaker_bss", "print coremaker_ro",
23639         "print func2::coremaker_local", and "backtrace in corefile.exp".
23640         * gdb.base/signals.exp: Build and source signals.ci.
23641         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23642         to be for gcc only.
23643         * lib/gdb.exp: Move verbose statements outside conditionals.
23644
23645 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23646
23647         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
23648         Feb 3 procfs.c change.
23649
23650 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
23651
23652         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23653
23654 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
23655
23656         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23657         from dejagnu's apparent default of 10 seconds, which gives random
23658         results when running the tests over NFS on moderately loaded systems.
23659         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23660
23661 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
23662
23663         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
23664         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
23665         result reports.
23666
23667 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
23668
23669         * configure.in (CY_AC_PATH_TCLH): Remove.
23670         * configure: Regenerate.
23671
23672 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
23673
23674         * gdb.c++/Makefile.in (clean): Add missing '{'.
23675
23676 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
23677
23678         * lib/gdb.exp: Provide a default value for noinferior.
23679
23680         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23681         Load libgloss.exp.
23682
23683 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
23684
23685         * gdb.disasm/hppa.exp: Compile directly into an executable, use
23686         the executable, not the .o to run the tests from.
23687
23688 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
23689
23690         * gdb.base/break.exp: Don't test for program exit or exit status
23691         if $noresults if nonzero.
23692         * gdb.base/langs.exp: Likewise.
23693         * gdb.base/watchpoint.exp: Likewise.
23694
23695         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23696         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23697         trying to compile the testcase.
23698
23699 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
23700
23701         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23702         * gdb.base/signals.exp (continue to handler): Likewise.
23703
23704 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
23705
23706         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
23707
23708         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
23709
23710 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
23711
23712         * gdb.base/corefile.exp: Recognize "not found" as failure
23713         when trying to determine if a core file was generated.
23714         If no core file was generate the first time, try again without
23715         the ulimit -c to work around braindamaged shells.
23716
23717 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
23718
23719         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23720         [] tests with "test" and enclose string in quotes.
23721         * gdb.stabs/configure: Rebuild
23722
23723 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
23724
23725         Changes in sync with expect:
23726         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23727         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23728         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23729         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
23730         argument to AC_REQUIRE.
23731         * configure: Regenerated.
23732
23733 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
23734
23735         * gdb.base/corefile.exp: When generating a core, discard any
23736         error messages about ulimit not found and the "core dumped"
23737         message from the shell that runs the coredumper.
23738
23739 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
23740
23741         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23742
23743         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23744         which sed script to run.  Expect failure for v_comb test
23745         on PA targets too.
23746
23747 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
23748
23749         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
23750         "print func2::coremaker_local" and for "backtrace in corefile.exp"
23751
23752 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
23753
23754         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23755         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
23756         "sparc-sun-solaris*" xfails for "p v_comb".
23757         * lib/gdb.exp (default_gdb_start): Fix typo.
23758         * gdb.base/corefile.exp: Allow "Core was generated by ..."
23759         messages to not include the full program name that caused
23760         the core dump since some systems (such as solaris) apparently
23761         truncate this path to about 80 characters.
23762         When generating a core file first try increasing the core file
23763         size limit to unlimited since some systems may default it to
23764         zero, and it is harmless to try it.  Move the test for failing
23765         to generate a core file to where it will actually get executed.
23766         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23767         new gdb result from g++ debug info improvements and make old
23768         pattern obsolescent.  Also account for size_t differences
23769         (may be int or long).
23770         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23771         initialization before function call is placed in the delay slot
23772         and thus appears to be skipped over by commands such as "next".
23773
23774 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
23775
23776         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23777
23778 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
23779
23780         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23781         input source file; fix code to compile test to deal with this
23782         convention.
23783         * gdb.c++/*.exp: Likewise.
23784
23785 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
23786
23787         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23788         "bt in signals.exp".
23789
23790 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
23791
23792         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23793         "step over execarg initialization" and
23794         "step over corearg initialization".
23795
23796 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
23797
23798         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23799         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
23800
23801 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
23802
23803         From Rob Savoye  (rob@poseidon.cygnus.com)
23804         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23805         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
23806         configure.in}, gdb.disasm/{Makefile.in, configure.in},
23807         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23808         configure.in}: Major reworking for autoconfig.
23809         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23810         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
23811         New files.
23812         * config/unix-gdb.exp:  Make GDB global.
23813         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
23814         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23815         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23816         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23817         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23818         term.exp, twice.exp, watchpoint.exp, whatis.exp},
23819         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
23820         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23821         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23822         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23823         pr-8136.exp, result.exp, string.exp, tuples.exp},
23824         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
23825         to returns as necessary, arrange for test to compile own testcase
23826         executable.
23827         * lib/gdb.exp: Changes for testsuite to compile own test cases.
23828
23829 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
23830
23831         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
23832         clear_xfail at end of test which might not call either pass or fail.
23833         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23834         "backtrace through signal handler".
23835
23836 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23837
23838         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
23839         continuing from a job control stop signal.
23840         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
23841
23842 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
23843
23844         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23845         * gdb.base/corefile.exp: Likewise.
23846         * gdb.base/funcargs.exp: Likewise.
23847
23848 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
23849
23850         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
23851         * config/monitor.exp:  Add support for setting baud rate.
23852
23853 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
23854
23855         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23856         i*86-*-linux* xfails for "backtrace through signal handler".
23857         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23858         "print func2::coremaker_local".
23859         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
23860         alpha-dec-osf2* xfail for
23861         "delete all breakpoints when none".
23862
23863 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
23864
23865         * gdb.base/break.exp: Change test that deletes all breakpoints
23866         when no user breakpoints are installed.  A post 4.15 change
23867         causes gdb to no longer prompt in this case.
23868
23869 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
23870
23871         * gdb.base/return.exp (return_tests):  Change xfail for test
23872         "correct value returned double test" to stop xfailing at
23873         Solaris 2.5.  Apparently the bug has been fixed.
23874
23875 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
23876
23877         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23878         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23879
23880 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
23881
23882         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23883         * gdb.disasm/hppa.s: Corresponding changes.
23884
23885 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
23886
23887         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23888         makefile fragment.
23889         * config/mt-hpux: Deleted.
23890
23891 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
23892
23893         * Many files: When warning about suppressed tests due to a
23894         nonexistant test binary, avoid incrementing the warning count.
23895
23896 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
23897
23898         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
23899
23900 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23901
23902         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
23903         "sparc-*-solaris2*".
23904
23905 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23906
23907         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
23908         Add global and local variables and initialize them.
23909         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
23910         by printing variables. Remove rs6000 and powerpc xfails, BFD now
23911         extracts the file name and terminating signal from the core file.
23912         * TODO:  Remove note about tests for correct mapping of corefile.
23913         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
23914         from optimizing it away.
23915         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
23916         handles common blocks.
23917
23918 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
23919
23920         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23921         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23922
23923 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
23924
23925         * Makefile.in (maintainer-clean): New target, synonym for
23926         realclean.
23927         * gdb.base/Makefile.in (maintainer-clean): Likewise.
23928         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23929         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23930         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23931         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23932         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23933
23934 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
23935
23936         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
23937         xfails when not gcc compiled for "print foo::funclocal".
23938         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23939         "print foo::funclocal at foo",
23940         "print 'scope1.c'::foo::funclocal at foo",
23941         "print foo::funclocal_bss at foo",
23942         "print 'scope1.c'::foo::funclocal_bss at foo",
23943         "print foo::funclocal_ro at foo",
23944         "print 'scope1.c'::foo::funclocal_ro at foo",
23945         "print bar::funclocal at foo" and
23946         "print 'scope1.c'::bar::funclocal at foo".
23947         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
23948         gcc compiled for "print foo::funclocal at bar".
23949         Expand all messages to ensure that they identify that
23950         the test is at bar().
23951         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23952         gcc compiled for:
23953         "ptype on opaque struct pointer (statically)",
23954         "ptype on opaque struct tagname (statically)",
23955         "ptype on opaque struct pointer (dynamically) 1",
23956         "ptype on opaque struct tagname (dynamically) 1",
23957         "ptype on opaque struct pointer (dynamically) 2" and
23958         "ptype on opaque struct tagname (dynamically) 2
23959         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23960         gcc compiled for:
23961         "p datalocal"
23962         "whatis datalocal",
23963         "ptype datalocal",
23964         "p bsslocal",
23965         "whatis bsslocal", and
23966         "ptype bsslocal".
23967         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23968         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23969         when not gcc compiled.
23970         * gdb.base/funcargs.exp (float_and_integral_args):  Add
23971         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23972         compiled.
23973         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
23974         "backtrace from call6a" when not gcc compiled.
23975         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23976         "backtrace from call7a" when not gcc compiled.
23977         * gdb.base/callfuncs.exp (do_function_calls):
23978         Add "hppa*-*-hpux*" xfail when not gcc compiled for
23979         "p t_char_array_values(char_array_val2,char_array_val1)",
23980         "p t_char_array_values(char_array_val1,char_array_val2)",
23981         "p t_char_array_values("carray 1","carray 2")",
23982         "p t_char_array_values("carray 1",char_array_val2)",
23983         "p t_char_array_values(char_array_val1,"carray 2")",
23984         "p sum_args(1,{2})",
23985         "p sum_args(2,{2,3})",
23986         "p sum_args(3,{2,3,4})",
23987         "p sum_args(4,{2,3,4,5})"
23988         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23989         "backtrace in corefile.exp" when not gcc compiled.
23990
23991 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23992
23993         * gdb.base/signals.exp:  Rewrite `handle all print' test as
23994         a procedure. Accept blanks or TABs as whitespace, increase
23995         timeout and expect input buffer size for the large output
23996         from the command. Remove "i*86-*-bsdi2.0" xfail.
23997
23998 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23999
24000         * gdb.base/setvar.exp:  Add new testcases for truncation when
24001         assigning invalid values to bitfields.
24002
24003 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
24004
24005         * gdb.base/callfuncs.exp (do_function_calls):  Remove
24006         mips-sgi-irix* xfail for
24007         "call inferior func with struct - returns char *"
24008         and fix test so that an optional (unsigned char *) cast is
24009         accepted in the result.
24010
24011 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
24012
24013         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
24014         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
24015         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
24016         * gdb.base/signals.exp: Remove duplicate "handle all print" test
24017         that accidentally got checked in.
24018
24019 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
24020
24021         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
24022         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
24023         compiled test.
24024         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
24025         Add mips-sgi-irix5* xfail for not gcc compiled.
24026         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
24027         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
24028         "p top", "whatis top", "p middle", and "whatis middle".
24029         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
24030         "whatis signed char" for not gcc compiled.
24031         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
24032         "set variable signed char=-1 (-1)" and
24033         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
24034         * gdb.base/funcargs.exp (float_and_integral_args):
24035         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
24036         Add mips-sgi-irix* xfail when not gcc compiled for
24037         "continue to call2b".
24038         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
24039         "continue to call2g".
24040         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
24041         "backtrace from call6a"
24042         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
24043         "backtrace from call7k".
24044         Add mips-sgi-irix5* xfail when not gcc compiled for
24045         "backtrace from call7a".
24046         (localvars_after_alloca):  Fix gdb_test cmds for
24047         "print * after runto ...".
24048         Remove rs6000-*-* xfails for
24049         "print i after runto localvars_after_alloca" and
24050         "print l after runto localvars_after_alloca"
24051         for all compilers.
24052         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
24053         when not compiled with gcc, for:
24054         "print signed char == (minus)",
24055         "print signed char != (minus)",
24056         "print signed char < (minus)",
24057         "print signed char > (minus)".
24058         * gdb.base/callfuncs.exp (do_function_calls):
24059         Add mips-sgi-irix* xfail, when compiled with native compiler, for
24060         "call inferior func with struct - returns char *".
24061         * gdb.base/return.exp (return_tests): Change xfail for
24062         "correct value returned double test" to include Solaris 2.4.
24063         * gdb.base/funcargs.exp (float_and_integral_args):
24064         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
24065
24066 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24067
24068         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
24069         enumeration bitfields if compiling with GNU C.
24070         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
24071         to empty' prompt.
24072
24073 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
24074
24075         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
24076         test for PRO targets.
24077
24078         * gdb.base/funcargs.exp: Avoid ever setting more than 8
24079         breakpoints in the inferior at any given time by making
24080         two groups of breakpoints for call2*, call6* and call7*
24081         tests.
24082
24083 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24084
24085         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
24086         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
24087         from optimizing it away.
24088         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
24089         "call inferior func with struct".
24090
24091 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
24092
24093         * configure.in: Only configure gdb.chill for particular targets.
24094
24095 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
24096
24097         * gdb.base/Makefile.in:  Add action to .c.o transformation
24098         rule that generates a .ci file for each .o file and remove
24099         explicit .c.o rules except for callfuncs.o.
24100         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
24101         generates a .ci file for each .o file and remove explicit
24102         .cc.o rules.
24103         (clean): Remove *.tmp *.ci files.
24104         (EXECUTABLES): Remove templ-info.exp.
24105         * gdb.base/compiler.c: New file.
24106         * gdb.c++/compiler.cc: New file
24107         * gdb.base/scope.exp: Source gdb.base/scope.ci.
24108         Change rs6000-*-* xfail for
24109         "print 'scope0.c'::filelocal_ro" and
24110         "print 'scope1.c'::filelocal" and
24111         "print 'scope1.c'::filelocal_bss" and
24112         "print 'scope1.c'::filelocal_ro" and
24113         "print 'scope1.c'::foo::funclocal" and
24114         "print 'scope1.c'::foo::funclocal_ro" and
24115         "print 'scope1.c'::bar::funclocal" and
24116         "print 'scope0.c'::filelocal_ro" and
24117         "print 'scope1.c'::filelocal at foo" and
24118         "print 'scope1.c'::filelocal_bss at foo" and
24119         "print 'scope1.c'::filelocal_ro at foo" and
24120         "print 'scope1.c'::foo::funclocal at foo" and
24121         "print 'scope1.c'::foo::funclocal_bss at foo" and
24122         "print 'scope1.c'::foo::funclocal_ro at foo" and
24123         "print 'scope1.c'::bar::funclocal at foo" and
24124         "print 'scope0.c'::filelocal_ro" and
24125         "print 'scope1.c'::filelocal" and
24126         "print 'scope1.c'::filelocal_bss" and
24127         "print 'scope1.c'::filelocal_ro" and
24128         "print 'scope1.c'::foo::funclocal" and
24129         "print 'scope1.c'::foo::funclocal_bss" and
24130         "print 'scope1.c'::foo::funclocal_ro" and
24131         "print 'scope1.c'::bar::funclocal" and
24132         "print 'scope1.c'::bar::funclocal_bss"
24133         to only be xfail'd when not compiled with gcc.
24134         Add rs6000-*-* xfail for
24135         "print 'scope0.c'::filelocal_bss before run"
24136         when compiled with gcc.
24137         (test_at_main): Add rs6000-*-* xfail for
24138         "print filelocal_ro in test_at_main"
24139         when compiled with gcc.
24140         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
24141         Add rs6000-*-aix* xfail for
24142         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
24143         "ptype t_char_array",  not compiled with gcc.
24144         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
24145         xfail for "list foo (in include file)" when gcc compiled.
24146         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
24147         (integral_args): Add rs6000-*-* xfail for
24148         "run to call0a" if not compiled with gcc.
24149         (unsigned_integral_args): Add rs6000-*-* xfail for
24150         "run to call1a" if not compiled with gcc.
24151         (float_and_integral_args):  Add rs6000-*-* xfail for
24152         "run to call2a" if not compiled with gcc and for
24153         "continue to call2b" for any compiler.
24154         Add rs6000-*-* xfail to
24155         "print f1 after run to call2a" for gcc compiled.
24156         (discard_and_shuffle): Add rs6000-*-* xfail for
24157         "run to call6a".
24158         (shuffle_round_robin): Add rs6000-*-* xfail for
24159         "backtrace from call7a" if not compiled with gcc.
24160         Add rs6000-*-* xfail for
24161         "backtrace from call7b" if compiled with gcc.
24162         (call_after_alloca): Add rs6000-*-* xfail for
24163         "print c in call_after_alloca" and
24164         "print s in call_after_alloca" and
24165         "backtrace from call_after_alloca_subr"
24166         if not compiled with gcc.
24167         (localvars_in_indirect_call): Add rs6000-*-* xfail for
24168         "print c in localvars_in_indirect_call" and
24169         "print c in localvars_in_indirect_call" and
24170         "backtrace in indirectly called function" and
24171         "stepping into indirectly called function"
24172         if not compiled with gcc.
24173         (localvars_after_alloca): Add rs6000-*-* xfail for
24174         "print c after runto localvars_after_alloca" and
24175         "print s after runto localvars_after_alloca" and
24176         "print i after runto localvars_after_alloca" and
24177         "print l after runto localvars_after_alloca"
24178         for all compilers.
24179         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
24180         than whatis-info.exp.
24181         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
24182         than opaque-info.exp.
24183         Setup rs6000-*-* xfail for
24184         "ptype on opaque struct pointer (statically)" and
24185         "ptype on opaque struct pointer (dynamically)" when
24186         not compiled with gcc.
24187         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
24188         rather than callf-info.exp.
24189         (do_function_calls):  Add clear_xfail for rs6000-*-* for
24190         "p t_float_values2(3.14159,float_val2)".  Seems to work
24191         fine there, both with xlc and gcc.  Need to find out what
24192         it is doing right and fix other platforms.
24193         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
24194         "call inferior func with struct - returns int",
24195         "call inferior func with struct - returns long",
24196         "call inferior func with struct - returns float",
24197         "call inferior func with struct - returns double",
24198         "call inferior func with struct - returns char *",
24199         but only if not gcc compiled (presumes xlc compiled).
24200         Change rs6000-*-* xfails for
24201         "call inferior func with struct - returns char" and
24202         " call inferior func with struct -  returns short" to only
24203         xfail if not using gcc.
24204         (clean mostlyclean):  Remove *.ci and *.tmp files.
24205         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
24206         than templ-info.exp.
24207         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
24208         Add rs6000-*-* xfail for "up to foo in langs.exp"
24209         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
24210         when not gcc compiled.
24211
24212 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
24213
24214         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
24215         * gdb.base/corefile.exp: Likewise.
24216         * gdb.base/list.exp: Likewise.
24217         * gdb.base/scope.exp: Likewise.
24218         * gdb.base/siganls.exp: Likewise.
24219
24220         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
24221         compiler output.
24222         * gdb.base/whatis.exp: Likewise.
24223
24224 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
24225
24226         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
24227         failure (opcode table has been fixed to match reality).
24228
24229 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
24230
24231         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
24232         "call inferior func with struct - returns char",
24233         "call inferior func with struct - returns short"
24234
24235         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
24236         "print 'scope0.c'::filelocal at main",
24237         "print 'scope0.c'::filelocal_bss in test_at_main",
24238         "print 'scope0.c'::filelocal at foo",
24239         "print 'scope0.c'::filelocal_bss in test_at_foo",
24240         "print 'scope0.c'::filelocal at bar",
24241         "print 'scope0.c'::filelocal_bss in test_at_bar"
24242
24243         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
24244         in source file 1".  This bug seems to have been fixed with both
24245         gcc and native cc (was native assembler bug?).
24246
24247 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
24248
24249         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
24250         "backtrace through signal handler" to "i*86-*-sysv4*".
24251         * gdb.base/signals.exp: Add xfail for "'next' behaved as
24252         continue" case.  Add "known SVR4 bug" to fail message.
24253         Add "i*86-*-bsdi2.0" xfail for "handle all print".
24254         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
24255         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
24256         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
24257         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
24258         "up to foo in langs.exp", "show language at foo in
24259         langs.exp", "up to cppsub_ in langs.exp", "show
24260         language at cppsub_ in langs.exp", "up to fsub in
24261         langs.exp", and "show language at fsub in langs.exp".
24262         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
24263         "bactrace in corefile.exp".
24264         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
24265         "call inferior function with struct - returns float" and
24266         "call inferior function with struct - returns double".
24267
24268 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
24269
24270         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
24271         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
24272         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
24273         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
24274
24275 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
24276
24277         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
24278         (or overriden) "CHILL" macro rather then bare "gcc".
24279         Also look for ../../gcc/xgcc since that is what we will
24280         actually need, not "Makefile".  Remove following assignment
24281         of CHILL to CHILL_FOR_TARGET because that results in
24282         recursive definition.
24283
24284 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
24285
24286         * gdb.base/corefile.exp:  Change xfail for backtrace in
24287         corefile.exp from linuxaout to all linux.
24288         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
24289         cases where we miss the breakpoint at the signal handler
24290         for some reason.  Setup xfail for linuxoldld/linuxaout and
24291         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
24292         hitting SIGURG breakpoint.
24293         * gdb.base/signals.exp:  Setup xfail for "next" acting like
24294         continue to add linuxoldld.  Setup xfail for all linux for
24295         "next to handler in signals_tests_1", "backtrace in
24296         signals_tests_1", "continue to func1", "pass SIGUSR1",
24297         and continue to handler".
24298
24299 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
24300
24301         * Update all FSF addresses except those in COPYING* files.
24302
24303 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
24304
24305         * gdb.base/a2-run.exp: Change messages to be more explicit about
24306         the status of args, and quote binfile in results.
24307
24308 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
24309
24310         * gdb.base/callfuncs.exp: Add tests for passing structs to
24311         inferior functions and return various types.
24312         * gdb.base/callfuncs.c: Add functions to receive a struct
24313         and return a member of the struct, in various types.
24314
24315 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24316
24317         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
24318
24319 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
24320
24321         * config/vxworks29k.exp: New file, sources vxworks.exp.
24322
24323 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
24324
24325         * config/gdbremote.exp: New file.  Testing framework using
24326         gdbserver.
24327
24328 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
24329
24330         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
24331         "call function when asleep" and "send end of file".
24332         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
24333         for "backtrace in corefile.exp".
24334         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
24335         for "backtrace through signal handler".
24336         * gdb.base/corefile.exp: Make sure we actually generate a core file
24337         before trying the core tests.  Some systems allow the user to suppress
24338         generation of core files and default to that (linux for example).
24339         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
24340         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
24341
24342 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
24343
24344         * gdb.threads: New directory with some crude multi-threaded
24345         gdb tests (step.exp and step2.exp).
24346         * config/mt-lynx (STEP_EXECUTABLE): Define.
24347         (THREADFLAGS): Define.
24348
24349 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
24350
24351         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
24352
24353         * gdb.base/signals.exp: Disable whole file for lynx until
24354         further notice.
24355
24356         * gdb.base/signals.exp: xfail test where "next" acts like
24357         "continue" for lynx.
24358
24359         * gdb.base/interrupt.exp: xfail test for calling function while
24360         inferior is asleep for lynx.
24361
24362         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
24363         than one cr-lf  after each command.
24364
24365 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24366
24367         * configure.in:  Reinstate setting of stabsdirs variable, fix
24368         typo in setting up configdirs for native builds.
24369
24370         * gdb.base/return.exp:  Fix typo in return double test.
24371         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
24372         compiler from optimizing them away.
24373
24374 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
24375
24376         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
24377         sequences to be echo'd by gdb when using gdb_test.
24378         * gdb.chill/chexp.exp: Likewise.
24379         * gdb.fortran/exprs.exp: Likewise
24380
24381 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
24382
24383         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
24384         after the inferior gdb has started.
24385
24386         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
24387         after each command.
24388         * gdb.base/funcargs.exp: Likewise.
24389         * gdb.base/gdbvars.exp: Likewise.
24390         * gdb.base/interrupt.exp: Likewise.
24391         * gdb.base/list.exp: Likewise.
24392         * gdb.base/watchpoint.exp: Likewise.
24393         * gdb.c++/demangle.exp: Likewise.
24394         * gdb.c++/inherit.exp: Likewise.
24395         * gdb.chill/chexp.exp: Likewise.
24396         * gdb.fortran/exprs.exp: Likewise.
24397
24398         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
24399         test if we can't handle IO to/from the inferior.
24400
24401         * gdb.c++/misc.exp: Always check for a program already being
24402         started after sending a "run" command to gdb.
24403
24404         * gdb.base/twice.exp: Start with a fresh gdb.
24405
24406         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
24407         only depend on gdb's expression code, not the chill runtime.
24408
24409         * gdb.base/return.c: Put return values into variables so we
24410         can have gdb print them rather than depending on the program
24411         to print them.
24412         * gdb.base/return.exp: Corresponding changes.
24413
24414         * lib/gdb.exp: Provide default value for noinferiorio.
24415         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
24416         the inferior.
24417
24418         * gdb.base/break.exp: Always check for a program already being
24419         started after sending a "run" command to gdb.
24420         (text_next_with_recursion): Don't check the output from the
24421         program's printf statement.  Instead just make sure the program
24422         exited.
24423
24424         * gdb.base/commands.exp: Protect tests which need arguments with
24425         $noargs conditionals.
24426
24427 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24428
24429         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
24430         of structure member arrays to match gdb/valops.c:value_addr change.
24431
24432 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
24433
24434         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
24435         cases.
24436
24437 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
24438
24439         * configure.in (configdirs):  Remove gdb.chill from default list
24440         of subdirs and then add it back in only if doing a native build.
24441         The current chill compiler does not yet work in any cross build.
24442         * Revert all signal changes from Jul 6.
24443         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
24444         for sh-hms targets, allowing these tests to link, with no other
24445         changes.  Testing is suppressed by setting "nosignals" in site.exp.
24446
24447 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
24448
24449         * configure.in (signaldirs): Define and add to configdirs for all
24450         targets except some specific ones that are known to not support signals.
24451         Also clean up formatting.
24452         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
24453         (signals, sigall):  Remove rules to build.
24454         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
24455         Moved to new gdb.signals directory.
24456         * gdb.signals: New test directory.
24457         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
24458         signals.c signals.exp}:  New or moved files.
24459
24460 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
24461
24462         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
24463
24464 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
24465
24466         * gdb.base/return.exp:  Xfail `return double' test failure
24467         on at least Solaris 2.3 and handle future/past versions on
24468         a case by case basis as appropriate.  Also update message
24469         to include i*86 failures.
24470
24471 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24472
24473         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
24474
24475         * lib/gdb.exp: Fix comment which erroneously identified
24476         gdb_file_cmd as gdb_load (the 19 May change was in fact to
24477         gdb_file_cmd not gdb_load).
24478         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
24479
24480         * gdb.base/setvar.exp: Make test names consistent between pass and
24481         fail cases.  Use gdb_test more.
24482
24483 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24484
24485         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
24486
24487 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24488
24489         * gdb.base/help.exp:  Fix expected help string for `show commands'.
24490
24491 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
24492
24493         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
24494
24495         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
24496         of a text section.
24497
24498 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
24499
24500         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
24501         that loop eventually terminates.  Fix Connection refused logic so
24502         that testsuite will expire nicely.
24503
24504 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
24505
24506         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
24507         config/rom68k.exp:  New tcl glue for the appropriate monitors.
24508         These all just end up calling monitor.exp.
24509         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
24510         refused' by retrying.  Cleanup some timeout issues.
24511         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
24512         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
24513         callers don't have to set/restore global timeout variable.
24514
24515         * The following set of changes centralizes management of the global
24516         timeout variable.  This way, it can be set in one target dependent
24517         place instead of dozens of places scattered throughout the test suite.
24518         If you need to lengthen a timeout, then you should either set timeout
24519         in one of the config/{target}.exp files, or multiply it by a factor.
24520         Setting it to an absolute value is always going to lose for some
24521         targets.
24522         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
24523         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
24524         * gdb.base/funcargs.exp:  Don't set timeout.
24525         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
24526         * gdb.base/printcmds.exp (test_print_string_constants
24527         test_print_array_constants):  Don't set timeout.
24528         * gdb.base/ptype.exp:  Don't set timeout.
24529         * gdb.base/recurse.exp:  Don't set timeout.
24530         * gdb.base/return.exp:  Don't set timeout.
24531         * gdb.base/watchpoint.exp:  Don't set timeout.
24532         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
24533         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
24534
24535 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
24536
24537         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
24538
24539 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24540
24541         * lib/gdb.exp: Disable chill tests for irix5.
24542
24543 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24544
24545         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
24546         each test pass or fail.
24547
24548 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24549
24550         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
24551         xlc not gcc.
24552
24553 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
24554
24555         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
24556
24557 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
24558
24559         * config/est.exp:  Fix copyright and comments.  Remove dead code.
24560         Use targetname, serialport and baud variables instead of fixed
24561         constants.
24562         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
24563         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
24564
24565 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24566
24567         * gdb.base/watchpoint.exp: Don't run
24568         test_watchpoint_triggered_in_syscall for sunos.
24569
24570 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24571
24572         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24573         they don't seem to exist.  Do include stdio.h.
24574
24575 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24576
24577         * gdb.base/a1-selftest.exp: Add alpha xfail.
24578
24579 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24580
24581         * gdb.base/watchpoint.c (main): Prompt before calling read().
24582         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24583         Revise accordingly.  Remove cruft about sending "123" several
24584         times, until it gets noticed.  Clean up the "print buf[0]" stuff
24585         so that it passes or fails, and waits for prompts in the usual way.
24586
24587 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24588
24589         * gdb.base/recurse.exp: Fix comment.
24590
24591         * TODO: Remove item about printing variables in nodebug.exp.  Add
24592         item about enabling tests which are only run on some targets.
24593
24594         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24595         fail, make test names unique, use new gdb_test convention
24596         regarding pattern, use gdb_test more, etc.).
24597
24598         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24599         fail, make test names unique, etc.).
24600
24601 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24602
24603         * gdb.base/nodebug.c:  Change return type of top and middle to
24604         short.
24605         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
24606         are fixed by the recent mdebugread.c changes. Allow `short ()'
24607         as type for top and middle.
24608
24609 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24610
24611         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
24612         nearly as I can tell, the whole thing was an accident in Stu's
24613         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24614         to replace a send/expect pair with gdb_test, but ended up only
24615         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
24616         of 30 Mar 1995 took care of it, but left this vestigial comment
24617         which I am now nuking.
24618
24619 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24620
24621         * gdb.base/break.exp: Look for different line number for
24622         breakpoint at main depending on usestubs.
24623
24624 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24625
24626         * gdb.base/list.exp:  Adjust some alternate expect patterns to
24627         match recent list0.c change. Add alternate expect pattern for
24628         output from `list default lines around main' for optimizing
24629         compilers.
24630
24631 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24632
24633         * lib/gdb.exp: If nosignals is not set, set it to 0.
24634
24635 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
24636
24637         * config/slite-gdb.exp: Responds to load symbol table prompt.
24638         * gdb.base/break.exp: Adjust line number, fix rerun.
24639         * gdb.base/langs0.c: Add #ifdef usestubs.
24640
24641 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
24642
24643         * gdb.base/list.exp: Adjust line contents after adding new lines in
24644         list0.c. Also fix a syntax error.
24645
24646         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24647         * gdb.base/break.exp: ditto.
24648         * gdb.base/list.exp: ditto.
24649         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24650         * gdb.base/run.c: ditto.
24651         * gdb.base/list0.c: ditto.
24652         * gdb.base/funcargs.c: ditto.
24653
24654 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
24655
24656         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
24657         $targetname, $serialport and $baud instead of hardwired variables.
24658         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
24659         target doesn't support signals.
24660
24661 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
24662
24663         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24664
24665 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24666
24667         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
24668         Don't rely on the value of an auto variable before it has been
24669         initialized.  Use gdb_test more.
24670
24671 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24672
24673         * lib/gdb.exp (default_gdb_version): A version number must start
24674         with a digit, but other than that contains all characters up to
24675         the first whitespace character.
24676
24677 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24678
24679         * gdb.base/commands.exp (breakpoint_command_test): New tests.
24680
24681 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24682
24683         * gdb.c++/*.exp: Warn if executable does not exist.  The original
24684         reason for skipping the warning was that configure.in sometimes
24685         intentionally skipped building the executables but the tcl code
24686         had no way of knowing.  That (a) was always bogus with respect to
24687         error handling, (b) is no longer true (right now there is no way
24688         to skip C++ tests).
24689
24690         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24691
24692 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24693
24694         * gdb.base/list.exp:  Add expect patterns for output from
24695         SunPRO compiled executables.
24696         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
24697         types.
24698
24699 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24700
24701         * gdb.base/break.exp (test_next_with_recursion): Accept any line
24702         number (we are already testing that the correct source line text
24703         gets printed).
24704
24705         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
24706         that is what is intended, but something needed to be done to get
24707         sunos4 native working again.
24708
24709         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24710
24711         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24712         apparently went with a (very) old xfail.
24713
24714 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
24715
24716         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24717         runto_main is a proc in gdb.exp that will do 'step' for target use
24718         stubs.
24719         * gdb.base/exprs.exp: ditto.
24720         * gdb.base/interrupt.exp: ditto.
24721         * gdb.base/opaque.exp: ditto.
24722         * gdb.base/printcmds.exp: ditto.
24723         * gdb.base/ptype.exp: ditto.
24724         * gdb.base/scope.exp: ditto.
24725         * gdb.base/setvar.exp: ditto.
24726         * gdb.base/signals.exp: ditto.
24727         * gdb.base/twice.exp: ditto.
24728         * gdb.c++/classes.exp: ditto.
24729         * gdb.c++/inherit.exp: ditto.
24730         * gdb.c++/templates.exp: ditto.
24731         * gdb.base/break.exp: no run and hit main for stubs. Change line
24732         numbers for breakpoints and info breakpoint.
24733         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24734         breakpoint().
24735         * gdb.base/callfuncs.c: ditto.
24736         * gdb.base/exprs: ditto.
24737         * gdb.base/interrupt.c: ditto.
24738         * gdb.base/opaque0.c: ditto.
24739         * gdb.base/printcmds.c: ditto.
24740         * gdb.base/ptype.c: ditto.
24741         * gdb.base/scope0.c: ditto.
24742         * gdb.base/setvar.c: ditto.
24743         * gdb.base/signals.c: ditto.
24744         * gdb.base/twice.c: ditto.
24745         * gdb.c++/misc.cc: ditto.
24746         * gdb.c++/templates.cc: ditto.
24747
24748 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24749
24750         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24751
24752         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24753         somewhere between `read' and `main.c'.  I'm pretty sure the
24754         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24755         and it isn't particularly useful.
24756
24757         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
24758
24759 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24760
24761         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24762
24763 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
24764
24765         * config/mt-slite: add LIBS and -nostdlib.
24766         * config/slite-gdb.exp: add this new file to support sparclite target.
24767
24768 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
24769
24770         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24771
24772         * gdb.base/a2-run.exp: Change argument to istarget from
24773         "*-*-vxworks" to "*-*-vxworks*".
24774         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24775
24776 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
24777
24778         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24779         will not runto main but do a 'step' to step out of breakpoint().
24780         * config/mt-slite: add -Dusestubs.
24781
24782 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24783
24784         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24785         instead of just @.
24786
24787         * gdb.base/signals.exp: Add test for "handle all print".
24788         * TODO: Remove "handle all print".  Also remove item about
24789         checking copyright date (I don't like the idea of a spurious FAIL
24790         based on when we run the tests).
24791
24792         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
24793         for SunOS4 (reason for failure not investigated).  Remove
24794         redundant test for $binfile.
24795
24796         * gdb.base/nodebug.c (array_index): Call malloc.
24797
24798         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24799
24800 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
24801
24802         * gdb.base/recurse.exp: Update gdb_test invocation to use new
24803         conventions and slightly simplify the matching regexp.
24804
24805 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24806
24807         * gdb.base/break.exp: Update gdb_test invocation to use new
24808         convention.
24809
24810         * lib/gdb.exp: If noargs is not set, set it to 0.
24811
24812         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
24813         tests unique.
24814
24815         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24816
24817 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24818
24819         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24820         one argument of type "<non-float parameter>".
24821
24822 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
24823
24824         * config/rom68k.exp:  New file to support Motorola IDP board.
24825         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
24826         * gdb.base/break.c:  Change things around so that this program
24827         doesn't depend upon args.  This is necessary to make remote
24828         targets work (in general, they can't take args).
24829         * gdb.base/break.exp:  Don't try to send args to program.  Don't
24830         expect output.  Also, replace lots of code with gdb_test.
24831
24832 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24833
24834         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24835         printing of '\'' (which is what the comment says we are testing,
24836         even though we were not), not '''.
24837         (test_integer_literals_rejected): Test that printing ''' is an error.
24838
24839         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24840         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24841         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24842         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24843         Use gdb_test not test_print_accept.
24844         * lib/gdb.exp: Remove test_print_accept.
24845
24846         * gdb.base/signals.exp (signal_tests_1): Make pass message
24847         consistent with fail message.
24848
24849         * gdb.base/whatis.exp: Remove xfails for printing char vs.
24850         unsigned char; the bug (PR 1821) is fixed.
24851
24852         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24853
24854         * gdb.base/scope.exp (test_at_localscopes): Call pass for
24855         successful tests--makes xfailing them work right.
24856
24857 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24858
24859         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24860         only \r\n, not .*.  The test can pass .* as the last thing in
24861         $pattern if that is what it wants.  In addition to providing this
24862         flexibility, this change should speed up pattern matching in cases
24863         where the pattern already ended with .* (there were a number of
24864         them).  This change also helps catch bad patterns--in the old
24865         scheme the typo "char \*" instead of "char \\*" would pass.  Now
24866         it is caught.
24867         * Many .exp files: Update callers.
24868
24869         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
24870         clearer and does not spuriously match multiple ('s.  Likewise for
24871         ) and *.
24872
24873         * gdb.base/nodebug.exp: Test ability to call a function and pass
24874         it a string (even with no debugging info).
24875
24876         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24877         "p '\'", which is the same as "p ''" once tcl gets done with
24878         quoting, to "p '\\'", which I suspect is what is intended (one
24879         backslash gets sent to GDB).
24880
24881         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24882
24883 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24884
24885         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
24886         1817) was fixed literally years ago.
24887
24888 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24889
24890         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
24891         test, it causes stepping out of call_after_alloca_subr with
24892         optimizing compilers.
24893         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
24894         fails.
24895
24896         * gdb.c++/templates.exp:  Source templ-info.exp only if
24897         the templates executable exists.
24898
24899         * gdb.c++/misc.cc (class Contains_static_instance,
24900         class Contains_nested_static_instance),
24901         gdb.c++/classes.exp (test_static_members):  Test printing of
24902         a class that contains a static instance of the class.
24903
24904 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24905
24906         * gdb.base/langs2.c (cppsub_): Don't prototype.
24907         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24908         only, I believe).
24909
24910 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24911
24912         * lib/gdb.exp (skip_chill_tests): New procedure.
24913
24914         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24915
24916 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
24917
24918         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24919         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
24920
24921 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24922
24923         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24924
24925         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24926         disassemble 8, not 16, instructions for part 4.
24927
24928         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
24929         support the latter anymore.
24930
24931         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24932         -DNO_PROTOTYPES.
24933         * gdb.base/callfuncs.c: Control use of prototypes based on
24934         NO_PROTOTYPES, not __STDC__.
24935         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24936         t_float_values2 tests if prototypes in use.
24937
24938         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24939         t_double_values):  When checking differences against DELTA, check
24940         that difference is within the range (-DELTA,DELTA), not just
24941         (-infinity,DELTA).
24942
24943 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
24944
24945         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24946         'file' command firts, then 'target', then 'load', this is due to gdb
24947         target set up.
24948         * config/mips-gdb.exp: Fix a couple regular exp bugs.
24949
24950 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
24951
24952         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24953         FP load/store variants.
24954         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24955
24956 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
24957
24958         * gdb.base/term.exp: Do not give a warning if not native, it is
24959         not an abnormal condition.
24960
24961 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
24962
24963         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24964         t_char_array".
24965
24966 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
24967
24968         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24969         are getting the version number.
24970
24971         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24972         if not native, it is not an abnormal condition.
24973
24974 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24975
24976         * lib/gdb.exp: Just use "file exists", rather than undocumented
24977         dejagnu procedure "findfile".
24978
24979 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24980
24981         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24982           (LDFLAGS): Set to -Xlinker -Ur.
24983
24984         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24985           Removed, these values are set by lib/gdb.exp.
24986
24987         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24988
24989 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
24990
24991         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24992           of replicating gdb startup code.
24993
24994         * config/mt-vxworks (LDFLAGS): Set to -r.
24995           (CFLAGS_FOR_TARGET): Removed.
24996
24997         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24998           (gdb) and gdb for vxworks uses (vxgdb).
24999
25000         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
25001           executable is not in the tree and host != target, use sed and
25002           program_transform_name to determine the gdb name used by the
25003           target.
25004
25005         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
25006           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
25007
25008 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
25009
25010         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
25011         floats, chars, and shorts where there are ANSI-style function
25012         definitions.
25013
25014         * gdb.base/langs.exp, gdb.base/langs*: New test.
25015         * gdb.base/Makefile.in: Build it.
25016         * TODO: Remove item about checking that C names don't get C++
25017         demangling applied; this test tests it.
25018
25019 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
25020
25021         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
25022         went with the const70 xfail.  The xfail went away a year ago.
25023
25024         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
25025
25026         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
25027         for hp300.
25028
25029         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
25030
25031         * gdb.base/a1-selftest.exp: Don't run on hp300.
25032
25033 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
25034
25035         * Makefile.in (site.exp): Set host_alias and target_alias as well
25036         as host_triplet and target_triplet.
25037
25038 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
25039
25040         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
25041
25042         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
25043         places as other ecoff systems).
25044
25045         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
25046         ultrix.
25047
25048 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
25049
25050         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
25051         remove them.
25052         * gdb.base/nodebug.exp: Accept "function" in addition to "text
25053         variable and "variable" in addition to "data variable".
25054         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
25055
25056         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
25057         2.
25058         * gdb.base/list1.c (long_line): Add additional statement at start
25059         of function.
25060         * gdb.base/list.exp (test_forward_search): Update line number to
25061         reflect new statement.
25062
25063 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25064
25065         * gdb.base/signals.exp:  Reinitialize searched source directories
25066         after gdb_start call.
25067
25068 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
25069
25070         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
25071         * gdb.stabs/Makefile.in: Likewise.
25072
25073         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
25074         change.  Instead split the tests into smaller pieces.
25075         * gdb.disasm/hppa.s: Corresponding changes.
25076
25077 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
25078
25079         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
25080         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
25081
25082         * gdb.base/funcargs.exp: Modify many tests so that every test
25083         either passes or fails.  Make some test names unique.
25084
25085 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
25086
25087         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
25088         Call stty to set interrupt character.
25089
25090         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
25091         for HP assembler versus GNU assembler based on actual behavior of
25092         $(CC), rather than assuming that $(AS) is always the GNU assembler.
25093
25094         * TODO: Suggest a few more stepping tests.
25095
25096 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
25097
25098         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
25099         restart GDB for h8300 after a continue.
25100         (return): Add pattern to match a29k-udi behavior.
25101         * gdb.base/nodebug.exp: Remove obsolete comment.
25102         * gdb.base/regs.exp: New file, testing of register displays.
25103         * gdb.base/return.exp: Fix typo in reference to $objdir.
25104         * gdb.base/whatis.exp: Always start with a fresh GDB.
25105
25106 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
25107
25108         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
25109         higher, these tests generate a lot of output.
25110
25111 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
25112
25113         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
25114         code following the catch silently ignored some errors; without the
25115         catch they should be thrown like any other tcl error.  Also, the
25116         catch used "" instead of {} which meant all the callers who wanted
25117         to include one of the characters "[]$ had to quote it an extra time.
25118         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
25119         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
25120         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
25121         Remove extra quoting.
25122
25123 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
25124
25125         * gdb.base/commands.exp: Make test names unique; every test either
25126         passes or fails.  Update some comments.
25127
25128         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
25129
25130 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
25131
25132         The following fixes a FAIL caused by the fact that the alpha stabs
25133         configuration didn't use the ".if alpha" code in weird.def.
25134         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
25135         bit pointer, so the 32 bit version works even on the alpha.
25136         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
25137         Remove the stuff which allowed us to have separate versions for
25138         alpha and everything else.
25139
25140         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
25141         regexp which "info func operator\[\](" is supposed to match.  Fix
25142         string to send to GDB.  Note that GDB still doesn't work right.  Add a
25143         new test for "info func .perator\[\](" which GDB does handle correctly.
25144
25145         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
25146
25147 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
25148
25149         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
25150         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
25151         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
25152         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
25153         it makes the tests harder to understand and confuses test-o-matic.
25154         The preferred style is that each test provides a PASS or a FAIL,
25155         and has a unique message (e.g. "continue #54" not just "continue")
25156         which is the same for the pass and the fail.
25157         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
25158         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
25159         to lib/gdb.exp.
25160         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
25161         prt_accept which was basically the same thing.  Likewise for
25162         test_print_reject and prt_reject.
25163         * lib/gdb.exp (test_print_reject): Add some more error message
25164         patterns to match from the former printcmds.exp (prt_reject).
25165         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
25166         One defect of the passcount stuff is that some of it failed to
25167         report XPASS where appropriate.
25168         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
25169         stuff before and after arg in expected pattern.
25170         (test_paddr_operator_functions): Re-do test without print_addr_of;
25171         this is the only test which seems to want extra stuff there.
25172
25173 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
25174
25175         * gdb.base/nodebug.exp: Update new tests to reflect improved
25176         wording of gdb output.
25177
25178         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
25179         and "ptype" work on variables in files compiled without -g.
25180         Replaces commented out "maint print msymbol" tests.
25181
25182 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
25183
25184         * gdb.base/setvar.c (dummy): Call malloc.
25185
25186         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
25187         losing with the irix4 sed.
25188
25189         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
25190         ALRM" on irix4.
25191
25192 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
25193
25194         * TODO: Remove items about corefile.exp testing new exec-file and
25195         backtrace; both are now done.  Add items about printing enums.
25196
25197 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
25198
25199         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
25200         "get signal $thissig" test fails.
25201
25202         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
25203
25204 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
25205
25206         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
25207         compiler warning with dec alpha compiler.
25208
25209         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
25210         extra \n from gdb_test call (this explains why the prompt test
25211         that I removed yesterday was there).
25212         (user_defined_command_test): Remove extra \n and prompt test.
25213
25214         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
25215         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
25216         doesn't exist.
25217         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
25218         Also remove alpha workaround, which turns out to be because
25219         SIGABRT == SIGLOST.
25220
25221         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
25222
25223         * gdb.base/help.exp: Don't test "help show".
25224
25225 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
25226
25227         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
25228         "set print address" is on.
25229         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
25230         pass prompt to gdb_test; gdb_test already looks for the prompt.
25231
25232         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
25233
25234         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
25235         was a vestige of the manual TESTSTRATEGY, and the purpose of it
25236         was to make sure that gdb can read a core file.  But (a) the "read
25237         the corefile" part didn't make it to a1-selftest.exp, we just
25238         delete the corefile after creating it, and (b) we test reading
25239         corefiles in corefile.exp anyway.  Also, this test left around a
25240         xgdb process on Solaris.
25241
25242         * gdb.base/corefile.exp: Also test backtrace.
25243
25244 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
25245
25246         * gdb.base/commands.exp: Test a simple user defined command with
25247         arguments and if/while statements; verify the full user command is
25248         printed by "show user".
25249
25250         * gdb.base/commands.exp: Test if/while commands as part of a
25251         breakpoint command list; verify they appear in breakpoint
25252         information.
25253
25254 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
25255
25256         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
25257         than by dividing by zero.
25258
25259 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
25260
25261         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
25262         performing an inferior call with watchpoints enabled.
25263         * gdb.base/watchpoint.c (main): Delete second unnecessary read
25264         call.
25265
25266 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
25267
25268         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
25269         of "file" command.
25270
25271         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
25272         Add additional pattern for when "int operator int(void);" appears
25273         in a different order.
25274
25275 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
25276
25277         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
25278
25279         * gdb.base/help.exp: Replace most of docstrings for "info signals"
25280         and "signal" with ".*".
25281
25282 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
25283
25284         * TODO: Add note about "handle all nostop".
25285
25286         * gdb.base/{sigall.c, sigall.exp}: New test.
25287         * gdb.base/Makefile.in: Add it.
25288
25289 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
25290
25291         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
25292         when invoking GDB, suppresses any windowing interface.
25293
25294 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
25295
25296         * config/sim-gdb: New file, simulator testing support.
25297
25298 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
25299
25300         * gdb.base/interrupt.exp: Test calling func1 twice.
25301
25302 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
25303
25304         * gdb.base/list.exp (test_forward_search): Set timeout higher
25305         when we'll be getting lots of output from gdb.
25306
25307         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
25308         "init_malloc" to after the expect statement.  Run it if that
25309         regexp is taken, but also for two others which happen if source
25310         cannot be found.
25311
25312 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25313
25314         * gdb.base/printcmds.exp: New test, for printing register before
25315         program is running.
25316
25317 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25318
25319         * gdb.base/list.exp:  Correct some alternate expect patterns
25320         to reflect changes in list1.c.
25321
25322 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25323
25324         * TODO: Add item regarding large frames.
25325
25326         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
25327
25328         * TODO: Remove item about enabling return.exp; it
25329         is enabled.  Suggest a few more "return" tests.
25330
25331 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25332
25333         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
25334         anonymous unions.
25335
25336 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25337
25338         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
25339         and pr-5646.o, so "make" is the same as "make all", not "make
25340         pr-4975.o".
25341
25342 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
25343
25344         * gdb.base/list.exp: Adjust expectations to reflect changes in
25345         list1.c.
25346         (test_forward_search): New test proc.
25347         * gdb.base/list1.c (long_line): New function, has long source line.
25348
25349 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
25350
25351         * gdb.base/a1-selftest.exp: Change initial stepping to know about
25352         additional line of code that was added.
25353
25354 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
25355
25356         * gdb.disasm/hppa.s: Break the large branching tests into smaller
25357         tests so as not to overflow expect's input buffers.
25358         * gdb.disasm/hppa.exp: Corresponding changes.
25359
25360 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25361
25362         Beginnings of template debugging tests.
25363         * gdb.c++/templ-info.cc:  New file to test for template
25364         debugging capability of the compiler.
25365         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
25366         templ-info.cc.
25367         * gdb.c++/templates.cc:  Add explicit template instantiations
25368         to enable compiling with -fno-implicit-templates. Add destructor
25369         and 'value' method to T5 class for template tests.
25370         * gdb.c++/templates.exp:  Add testcases for printing of template
25371         types, setting breakpoints on template methods and calling a
25372         template method.
25373
25374 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
25375
25376         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
25377         branch target since some assemblers (gas-2.5)  may emit a
25378         relocation for the branch instead of resolving it in the
25379         assembler.
25380
25381 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25382
25383         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
25384         through signal handler.
25385
25386 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
25387
25388         * configure.in (*-*-netware): Use config/mt-netware.
25389
25390         * config/mt-netware: New file.
25391         * config/mt-i386-netware: Removed, separate configs for different
25392           netware architectures are no longer needed now that we have
25393           --with-headers.
25394
25395 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25396
25397         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
25398         by the recent changes to use ANSI C arithmetic conversions.
25399
25400 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25401
25402         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
25403         bug involving using inferior_pid to figure out whether to select a
25404         frame.
25405
25406 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
25407
25408         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
25409         match the current disassembler output.
25410
25411 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
25412
25413         * gdb.fortran/exprs.exp: Expect VOID instead of void.
25414         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
25415         types, expect "int" as type of integer values (for now).
25416
25417 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
25418
25419         * gdb.base/commands.exp: New tests for if/while commands.
25420
25421 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
25422
25423         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
25424         by .*, since hex values have different syntax in Chill mode.
25425
25426 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25427
25428         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
25429         linefeed from expect pattern for repeated types with indices > 9.
25430
25431 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
25432
25433         First part of Fortran test suite.
25434         * gdb.fortran: New directory.
25435         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
25436
25437 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25438
25439         * gdb.base/default.exp:  Update expect pattern for load command
25440         without arguments.
25441
25442 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
25443
25444         * configure.in: Change i386 to i[345]86.
25445         * gdb.base/configure.in: Likewise.
25446         * gdb.c++/configure.in: Likewise.
25447         * gdb.chill/configure.in: Likewise.
25448
25449 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
25450
25451         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
25452         patterns, since that is not a valid context for comments.
25453
25454 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
25455
25456         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
25457         repeated types and repeated types with indices > 9.
25458
25459 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
25460
25461         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
25462         2417; old bug has been fixed.
25463
25464 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
25465
25466         * gdb.base/interrupt.exp: When trying to wake up the inferior,
25467         send the newline ourselves instead of assuming gdb_test will do
25468         so when passed an empty input string.
25469
25470         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
25471         stabs testcode.
25472
25473 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
25474
25475         * lib/gdb.exp (gdb_test): Don't send anything if the first
25476           argument is an empty string.  This makes cases where we want to
25477           match output that is already in expect's buffers (for example,
25478           matching a breakpoint after gdb_run_cmd has been called) work
25479           reliably.
25480
25481 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
25482
25483         * config/netware.exp: New file.
25484
25485 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
25486
25487         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
25488           the -B and -L prefixes so we can find the debugging stub.
25489
25490         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
25491           there and we are using the gcc from the tree.
25492
25493         * gdb.base/types.c: Removed.
25494
25495         * gdb.base/configure.in: Look for makefile fragments in ../config.
25496           Recognize i386-*-netware.
25497         * gdb.c++/configure.in: Likewise.
25498
25499 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25500
25501         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
25502         the correct TCL syntax.
25503
25504 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
25505
25506         * gdb.base/opaque.exp: use runto instead of messing around with
25507           breakpoints.  Simplify by using gdb_test.
25508
25509         * gdb.base/bitfields.exp: restart between tests on netware targets
25510           because breakpoints aren't relocated after target death.  Run
25511           processes to completion.
25512
25513         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
25514
25515 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
25516
25517         * Makefile.in:  Remove extra tabs that confuse some versions
25518         of "make".  Use the newly built gdb to test with by default,
25519         rather than the first one in the tester's search path.
25520
25521 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
25522
25523         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
25524
25525         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
25526         condition help.
25527
25528 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
25529
25530         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
25531
25532         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
25533           running.
25534         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
25535         * gdb.base/funcargs.exp: Likewise.
25536
25537         * gdb.base/bitfields.exp: Simplify by using gdb_test.
25538         * gdb.base/funcargs.exp: Likewise.
25539
25540         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
25541           message is "".
25542
25543 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
25544
25545         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
25546           return,signals,twice}.exp: Handle non-existant binaries
25547           consistantly.
25548
25549         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
25550         * gdb.base/Makefile.in: Don't try to generate a core dump, we
25551           might testing a cross development system.
25552
25553 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
25554
25555         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
25556           runtest script is relative to ${srcdir}, not ${rootdir}.
25557
25558 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
25559
25560         * gdb.base/signals.exp: Allow for optionality of breakpoint
25561         address.
25562
25563 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25564
25565         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25566
25567 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
25568
25569         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25570           for size_t definition.
25571         * gdb.c++/templates.cc: Likewise
25572
25573         * config/mt-i386-netware: New file.
25574
25575         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25576           defined.
25577
25578         * gdb.base/Makefile.in: Added support for systems that name core
25579           files by appending "core" to the program name.
25580         * gdb.base/a1-selftest.exp: Likewise.
25581
25582 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25583
25584         * gdb.base/return.exp:  Add comment and message for `return double'
25585         test failure on Sparc Solaris.
25586
25587 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
25588
25589         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25590
25591 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25592
25593         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
25594         from optimizing them away.
25595         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
25596         patterns to include default constructors and assignment operators,
25597         to match gcc versions beyond 2.5.8. Accept any cplus demangling
25598         character in the output of the virtual base pointer.
25599
25600 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25601
25602         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
25603         expression match in print_addr_of to avoid unintented matches.
25604         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
25605         versions up to 2.5.8.
25606
25607 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25608
25609         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
25610         included file to run under newer versions of expect.
25611         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
25612         consecutive >'s in templates to accomodate recent cplus-dem.c change.
25613         Remove xfail for the virtual table of BDDHookV.
25614
25615 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
25616
25617         * lib/gdb.exp (string_to_regexp): Set a default result.
25618         (default_gdb_start): Fix misleading message.
25619
25620 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
25621
25622         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25623         Remove all CC, etc definitions.
25624         * config/mt-hpux: New file.
25625         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25626         (CFLAGS, LDFLAGS): Define.
25627         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25628
25629         * Makefile.in (site.exp): Don't insert host_os, etc.
25630         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25631         (distclean): Check existence of subdir.
25632         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25633         * gdb.base/Makefile.in: General cleanup and simplification.
25634         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25635         to build executables.   Use default rule to build .o files.
25636         (EXPECT, RUNTEST, CC): Fix relative pathname.
25637         (site.exp): Don't insert host_os, etc.
25638         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25639         and/or SIGUSR1 defined.
25640         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25641         * gdb.c++/Makefile.in: General cleanup and simplification.
25642         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25643         (CFLAGS): Remove.
25644         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25645
25646 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
25647
25648         * gdb.base/recurse.exp: Misc changes to get tests running again
25649         after Kung's changes to the watchpoint code.
25650         * gdb.base/watchpoint.exp: Likewise.
25651
25652 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
25653
25654         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
25655
25656 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
25657
25658         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25659         * lib/gdb.exp (default_gdb_start): Define.
25660         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25661         gdb.base/funcargs.exp, gdb.base/opaque.exp,
25662         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25663         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25664         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25665         Don't call gdb_target_udi in between tests.
25666
25667 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25668
25669         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25670         (which was basically just a local version of the same thing).  In
25671         addition to avoiding duplication, gdb_test_exact is faster.
25672         * lib/gdb.exp (gdb_test_exact): Fix typo.
25673
25674         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25675         don't give an error.
25676
25677         * gdb.base/term.exp: Call delete_breakpoints before starting.
25678
25679         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25680         (t10): Add comment.
25681
25682 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
25683
25684         Reorganization of the GDB Test Suite.
25685
25686         * gdb.base: New directory, contains all the basic tests.
25687         * gdb.c++: New directory, tests specific to C++.
25688         * gdb.chill: New directory, tests specific to Chill.
25689         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25690         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25691         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25692         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25693         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25694         t30-31 to chill).
25695         * */gdbme.*: Rename to match appropriate expect scripts.
25696         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25697         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25698         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25699         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25700         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25701         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25702         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25703         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25704         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25705         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25706         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25707         gdb.c++/virtfunc.cc: New names of C++ files.
25708         * gdb.chill/chillvars.ch: New name of Chill file.
25709         * gdb.base/configure.in, gdb.c++/configure.in,
25710         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25711         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25712         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25713         * configure.in (configdirs): Update to reflect directory changes.
25714         (target_abbrev): No longer define for any configuration.
25715         * Makefile.in: Cosmetic improvements to header comments.
25716
25717 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
25718
25719         Various changes to gdb.t31:
25720
25721         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
25722         * gdbme.ch:  Make all key-words and predefineds be upper-case.
25723         * chillvars.exp:  Expect key-words and predefinds in upper-case.
25724
25725         * chillvars.exp:  Use gdb_test_exact many places.
25726         Change expected output for arrays (which now includes index labels).
25727
25728         * pr-5020.exp, gdme.ch (module PR_5020):
25729         New test, for PR-5020.
25730
25731 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
25732
25733         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
25734         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
25735
25736 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
25737
25738         * Makefile.in:  Fix bit-rot in definitions of CHILL,
25739         CHILL_FOR_TARGET and Chill_LIB.
25740         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
25741         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
25742         CHILL, and CHILL_LIB.
25743
25744 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
25745
25746         * Revert the previous changes.  Please see Rob's directory
25747           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25748
25749 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
25750
25751         * Makefile.in, configure.in, config/mips-gdb.exp,
25752           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25753           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25754           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
25755           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25756           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25757           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25758           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25759           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25760           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25761           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25762           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25763           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25764           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25765           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25766           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
25767           changes from 94Q1.
25768
25769 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
25770
25771         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25772           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25773           Rob's new testing fragments.
25774
25775 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
25776
25777         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
25778           lib/gdb.exp: Replace error proc calls with perror.
25779
25780 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
25781
25782         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25783         version also, match on casted version strings, and match on
25784         gdb startup case where the line numbers might be messed up.
25785
25786 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
25787
25788         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
25789           (CFLAGS): Delete it from here.
25790
25791 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
25792
25793         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25794
25795 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
25796
25797         * Makefile.in (RUNTEST): Default to just "runtest".
25798
25799 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25800
25801         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25802         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25803         the code has been restructured.
25804
25805 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25806
25807         * gdb.t00/default.exp (set write): Allow any number of \r and/or
25808         \n, not just one of each.
25809
25810         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25811         /bin/cc gives a warning if you do.
25812
25813 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
25814
25815         * gdb.t24/demangle.exp: change expect pattern of
25816         __t10ListS_link1ZUiRCUiPT0
25817
25818 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25819
25820         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25821         on local variables in recursive functions.
25822
25823         * gdb.t07/Makefile.in: Build the new test.
25824
25825 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25826
25827         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25828         directly.  Instead compare the return values from actual calls.
25829
25830 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
25831
25832         * Makefile.in (check): Set TCL_LIBRARY for runtest.
25833
25834 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25835
25836         * From Peter Schauer with minor modifications.
25837         * gdb.t15/return.exp (return_tests): Handle targets where "return"
25838         stops in mid-line in the caller.  Add xfail for returning a float
25839         value on X86 targets.
25840
25841 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25842
25843         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25844         to avoid expect lossage.
25845         (fmem_LRbug_tests): Likewise.
25846         * gdb.disasm/hppa.s: Corresponding changes.
25847
25848         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25849         conditions to work with latest dejagnu/expect.
25850
25851         * gdb.t15/funcargs.exp (finish from indirect call): No longer
25852         expected to fail on the PA.
25853         (backtrace in call with trampolines): Explicitly require main
25854         to be frame #1 (no trampolines should show up in backtrace).
25855
25856         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25857         "continue -expect".
25858         * gdb.t06/break.exp: Likewise.
25859         * gdb.t07/watchpoint.exp: Likewise.
25860         * gdb.t13/bitfields.exp: Likewise.
25861         * gdb.t15/{funcargs,return}.exp: Likewise.
25862         * gdb.stabs/weird.exp: Likewise.
25863         * config/{mips,udi}-gdb.exp: Likewise.
25864
25865         * hppa.sed: Enclose comments within a sed command to avoid
25866         losing with the old OSF1 sed.
25867
25868 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25869
25870         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
25871         sequent dynix.
25872         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
25873         * gdb.t15/funcargs.exp:  Conditionally step again to really
25874         finish from marker_call_with_trampolines. Handle the case where
25875         the first step from within call_with_trampolines already steps
25876         us back to main.
25877         * gdb.t15/gdbme.c:  Add comment to closing brace of
25878         call_with_trampolines for funcargs.exp.
25879
25880 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25881
25882         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
25883         Fix typo(s).
25884
25885 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25886
25887         * gdb.t07/gdbme.c: More code for watchpoint testing.
25888
25889         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25890         "Hardware watchpoint" throughout file.
25891         (test_watchpoint_triggered_in_syscall): New test.
25892         (test_complex_watchpoint): New test.
25893
25894 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25895
25896         * gdbme.c (call_with_trampolines): New function to try and step
25897         into.  Tests trampoline problems on the PA.
25898
25899         * funcargs.exp (localvars_in_indirect_call): No longer expect
25900         stepping into indirect call to fail on PAs.
25901         (test_stepping_over_trampolines): New test.
25902
25903 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25904
25905         * TODO: Add suggestions for static member function tests, and
25906         completion tests.
25907
25908 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25909
25910         * TODO: Add suggestions for "p/a" tests.
25911
25912         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25913         (default_gdb_exit): Replace all the hair with sending "quit" to
25914         the process with a simple close.
25915
25916 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25917
25918         * TODO: Add suggestions for shared library tests.
25919
25920 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25921
25922         * TODO: Add suggestions for x/s tests.
25923
25924 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25925
25926         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25927         "enable once", and "enable breakpoints once" with ".*".
25928
25929 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25930
25931         * TODO: Add suggestions about structure passing tests.
25932
25933 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25934
25935         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
25936         the primary1 test, use work around if __GNUC__ < 2.
25937         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
25938         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
25939         Test for bad output rather than waiting for timeout.  Issue
25940         second continue only if first continue failed.
25941
25942 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
25943
25944         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25945         operator[] test with gdb_test because the old code didn't seem to
25946         be getting the quoting right with the new dejagnu.
25947
25948 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
25949
25950         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25951         one from the path.
25952         * Makefile.in: Use a fresh expect if there is one, use runtest
25953         from the src tree if there is one.
25954
25955 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
25956
25957         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25958         next over recursive call.  Revise the tests from that point on
25959         (which had been skipped) to match GDB's actual (correct) output.
25960
25961         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25962         with next over a breakpoint whose condition is false.
25963
25964         * gdb.t00/help.exp: Comment out "help set print" tests just like
25965         (and for same reason as) "help set" test.
25966
25967 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25968
25969         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25970         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25971
25972 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25973
25974         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25975         necessary gdb_target_udi.
25976
25977         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25978
25979         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25980         1838 and 2417; they are fixed.
25981
25982         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25983         gdb.t03/ptype.exp (ptype structure, ptype union):
25984         Remove xfails; the test is looser than when the xfails were added.
25985
25986         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25987         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25988
25989         * gdb.t01/run.exp: Only run shell test if isnative.
25990
25991         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25992         since "run" automatically loads if necessary.  Call gdb_target_udi
25993         after the "file" since "file" kills any execution target.
25994
25995         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25996         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
25997         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25998         argument for UDI.
25999
26000 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
26001
26002         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
26003
26004         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
26005
26006 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
26007
26008         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
26009         properly quoting regexps.  This makes the second argument to
26010         demangle a fixed string, which matches the callers, instead of a
26011         shell-style pattern which is what the previous implementation
26012         used.  Update some of the callers.
26013
26014 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
26015
26016         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
26017         (comib_nullified_tests): Fix typo.
26018         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
26019         strings.  No longer expected to fail.
26020
26021         * gdb.disasm/hppa.s (addib_tests): Fix typo.
26022         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
26023         strings.  No longer expected to fail.
26024
26025         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
26026         string.  No longer expected to fail.
26027
26028 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
26029
26030         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
26031         No longer expected to fail.
26032
26033         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
26034         string.  No longer expected to fail.
26035
26036 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
26037
26038         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
26039         only in the names (I probably got most of them).  I was even
26040         generous with some which differed in underscores in names, and
26041         probably missed a few, and I *still* was able to remove almost a
26042         third of the file with almost no impact on testsuite coverage.
26043
26044 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
26045
26046         * gdb.t00/default.exp: Match udi_attach error message as well as
26047         the one from child_attach.
26048
26049         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
26050
26051         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
26052
26053         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
26054         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
26055
26056         * Move test with enums and partial symbols back to
26057         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
26058         Reverts the change of 26 May 93.  Per today's change to
26059         stabs.texinfo, the behavior that weird.exp was expecting was
26060         unreasonable; what is important is that the compiler+gdb get
26061         things right, which happens with a recent gcc.  Also fix the test
26062         to deal with native compilers which put out the stab gdb can't
26063         deal with.
26064
26065 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
26066
26067         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
26068         in the names.  The main thing these accomplish is to slow things down.
26069         Many more such duplicates surely remain.
26070
26071         * gdb.t00/help.exp: Comment out "help support" test just like
26072         (and for same reason as) "help set" test.
26073
26074 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
26075
26076         * gdb.t06/break.exp:  Remove setup_xfails for
26077         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
26078         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
26079         about known bug in gcc to include up through 2.5.8.
26080         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
26081         well as "_vb$".
26082         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
26083         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
26084         with latest gcc and gdb.
26085         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
26086         well as "_vb$".
26087
26088 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
26089
26090         * configure.in (hppa*-*-*): Also configure and build stabs-only
26091         tests.
26092
26093 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
26094
26095         * gdb.t10/hppa.mt: A makefile fragment for the PA.
26096         * gdb.t10/configure.in (hppa*-*-*): Use it.
26097
26098 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26099
26100         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
26101
26102 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26103
26104         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
26105         versions prior to 1.13.5.
26106
26107 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
26108
26109         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
26110         the prompt is at the start of a line.
26111
26112 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
26113
26114         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
26115         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
26116         in the copr tests now.
26117         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
26118         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
26119         expected to fail.
26120
26121 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
26122
26123         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
26124         gdb.t31/chillvars.exp, lib/gdb.exp:
26125         Tweak to run under either version of expect.
26126         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
26127         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
26128         * gdb.t11/list.exp: Remove extraneous whitespace.
26129
26130 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
26131
26132         * gdb.t16/printcmds.exp (test_print_strings): Accept
26133         "(unsigned char *) " before the string.
26134
26135         * TODO: Add notes about printing of fancy types and GDB expressions.
26136
26137 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
26138
26139         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
26140         * gdb.t06/configure.in: Don't try to compile signals test program
26141         if doing mips-idt-ecoff.
26142
26143 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
26144
26145         * Most .exp files: Tweak to run under either version of expect.
26146
26147 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
26148
26149         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
26150         xfails; I'm not sure why they are failing, but not because of PR 1806.
26151
26152 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
26153
26154         * config/unix-gdb.exp: Remove gdb_unload cause it's already
26155         defined in lib/gdb.exp.
26156
26157 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26158
26159         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
26160         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
26161         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
26162         have to be typeless.
26163
26164 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
26165
26166         * TODO: Add suggestion for copyright year test.
26167
26168 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
26169
26170         * configure.in (*-*-lynxos*): Add stabs tests.
26171
26172 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
26173
26174         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
26175         so insert a tab before any assembler directive in column zero.
26176
26177         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
26178         stores.
26179         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
26180         stores.
26181         (fpu_short_memory_tests): Likewise.
26182
26183 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26184
26185         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
26186         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
26187         .stabs directives in comments.
26188
26189 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26190
26191         * TODO: New file, describing tests we could write.
26192         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
26193
26194 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26195
26196         * gdb.t06/signals.exp: Add kludge to force re-sync.
26197
26198         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
26199         to xgdb instead of gdb, get out of gdb.
26200
26201 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
26202
26203         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
26204         for info.
26205
26206 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
26207
26208         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
26209         * gdb.stabs/configure.in (hppa*-*-*): Use it.
26210         * gdb.stabs/hppa.sed: New sed script for the PA.
26211
26212 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26213
26214         * gdb.stabs: Re-write weird.def and configuration to use sed
26215         instead of cpp.  sed is portable and POSIX; cpp is neither.
26216
26217 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26218
26219         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
26220
26221 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26222
26223         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
26224
26225 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26226
26227         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
26228         "_vb$".
26229         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
26230         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
26231
26232 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26233
26234         * lib/gdb.exp: Comment out code which depends on non-existent
26235         `transform' procedure.
26236
26237 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
26238
26239         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
26240         * lib/gdb.exp: Transform tool name.
26241         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
26242         1.1's new error handling system.
26243
26244 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26245
26246         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
26247
26248 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26249
26250         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
26251         They made pattern matching so slow that timeouts happened on
26252         heavily loaded systems.  Now any output from "show print" which
26253         gets us back to the GDB prompt is a PASS.
26254
26255 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
26256
26257         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
26258
26259 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26260
26261         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
26262
26263         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
26264         It is not from PR 3220.
26265
26266 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26267
26268         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
26269         just started failing because they depended on the order the
26270         subcommands are presented, or exact docstring text.  This kind of
26271         test is a pain and has minimal benefit.
26272
26273 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26274
26275         * gdb.t09/corefile.exp: At end of test, use "core" command with
26276         no arguments.
26277
26278 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
26279
26280         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
26281         17}/Makefile.in:  Make it possible to run the testsuite with Sun
26282         make and CC = cross gcc by adding explicit build rules for .o
26283         files.
26284
26285 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26286
26287         * gdb.t15/funcargs.exp: Don't put comments on same line as
26288         setup_xfail (@#$*%& tcl braindamage!).
26289
26290 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26291
26292         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
26293
26294 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
26295
26296         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
26297         * gdb.t20/inherit.exp: remove three dumplicate entries.
26298
26299 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26300
26301         * gdb.t06/break.exp: For "next over recursive call", fail on any
26302         incorrect output, not just on "factorial (value=2)".
26303
26304 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26305
26306         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
26307         working now. Add an xfail if accesing a bss variable causes
26308         a memory error if the target is not yet run.
26309
26310 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26311
26312         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
26313         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
26314         name of __st* demangling (2 strings).  Did Kung really get the
26315         more than 95 others right without testing them?
26316
26317 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
26318
26319         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
26320
26321 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
26322
26323         * configure.in (configdirs): Add gdb.disasm
26324         * gdb.disasm: New directory for GDB disassembler tests.
26325         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
26326
26327 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26328
26329         * gdb.t00/help.exp: Don't test "help set".
26330
26331         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
26332         from within expect statements.  None of these happen anymore and
26333         they cause regressions to be silently unnoticed.
26334
26335         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
26336         messages) about known failures with gcc cygnus-2.4.5-930417.
26337
26338         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
26339         comp-info.exp so it gets built if it doesn't exist.
26340
26341         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
26342         it is no longer used.
26343         * gdb.t13/comp-info.c: Removed.
26344
26345 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
26346
26347         * gdb.t06/signals.exp: Add xfail for sun3.
26348
26349 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26350
26351         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
26352         relevant because ^C doesn't get sent but failure can be reproduced
26353         interactively).
26354
26355 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26356
26357         * gdb.stabs/alpha.mt:  New configuration file for alpha.
26358         * gdb.stabs/configure.in:  Use it.
26359         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
26360         sharing with alpha.mt, redefine long to word via preprocessor.
26361         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
26362         for alpha.
26363         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
26364         native cc.
26365         * gdb.t00/teststrategy.exp:  Change expect string so that we
26366         consume the `(xgdb)' from the command echo and from the gdb prompt.
26367         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
26368         gdb currently compares all values as long, so this failure probably
26369         applies to any configuration where LONGEST is bigger than a target int.
26370         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
26371         with gcc.
26372         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
26373         to handle opaque pointers, gcc is.
26374         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
26375         as first argument. Include <sys/types.h> and change all operator
26376         new definitions to use size_t.
26377         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
26378         now that we use size_t.
26379
26380 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26381
26382         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
26383         a long or float array cast all array members to the same type.
26384         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
26385         with 64 bit longs.
26386         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
26387         on alpha.
26388         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
26389
26390 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26391
26392         * gdb.t24 (demangle.exp): Constructors of templates have names like
26393         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
26394         section 14.6 of the ARM.
26395
26396         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
26397         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
26398         accomplish little and slow down the testsuite.
26399
26400         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
26401         Accept spaces various places.
26402
26403 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26404
26405         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
26406         with watchpoint enabled.
26407
26408         * Makefile.in: Remove definition of CC and remove the second
26409         definition of CXX (the "CXX = gcc" one remains).  These definitions
26410         were causing backquotes to be expanded within backquotes, which
26411         doesn't work.
26412
26413 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
26414
26415         * gdb.t17/callfuncs.exp: Add "return 0" to end.
26416
26417 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26418
26419         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
26420         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
26421         by mips cc and contains no stabs entries.
26422
26423 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
26424
26425         * config/vx-gdb.exp: Use fake device to load files rather than
26426         NFS.
26427         * lib/gdb.exp: New proc to do "file" command.
26428         * config/unix-gdb.exp: Use new "file" proc.
26429
26430 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
26431
26432         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
26433         Rework board rebooting slightly.
26434         (gdb_exit): Don't exit from the remote shell; there isn't one.
26435         * gdb.stabs/weird.exp: If a program is being debugged already,
26436         kill it.
26437         * gdb.t04/setvar.exp: Stop and restart gdb.
26438         * gdb.t05/expr.exp: Likewise.
26439         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
26440         restart gdb and reload the program.
26441         * gdb.t08/opaque.exp: Likewise.
26442         * gdb.t12/scope.exp: Likewise.
26443         * gdb.t13/bitfields.exp: Likewise.
26444         * gdb.t15/funcargs.exp: Likewise.
26445         * gdb.t20/classes.exp: Likewise.
26446         * gdb.t03/ptype.exp: Increase timeout.
26447         * gdb.t16/printcmds.exp (test_print_string_constants,
26448         test_print_array_constants): Likewise.
26449         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
26450         * gdb.t20/classes.exp (do_tests): Likewise.
26451         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
26452
26453 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
26454
26455         * gdb.stabs: Renamed *wierd* to *weird*.
26456
26457 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
26458
26459         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
26460         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
26461
26462 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
26463
26464         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
26465         (do_tests): Remove xfail for whatis on one_var and two_var.
26466
26467 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
26468
26469         * Makefile.in: Made cross building work better by adding
26470         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
26471
26472 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26473
26474         * gdb.t15/{return.c,return.exp,Makefile.in}:
26475         New test, currently commented out.
26476
26477 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
26478
26479         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
26480         still running and removes the leftover named socket so GDb can do
26481         clean restarts.
26482
26483 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
26484
26485         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
26486         console, not GDB.
26487         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
26488         cross testing works better with "make check"
26489         * config/unix-gdb: Use default procedures for exit and version.
26490         * config/vx-gdb.exp: Cleaned up and massaged back to working order
26491         with the newest VxWorks.
26492
26493 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26494
26495         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
26496         old form.
26497
26498         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
26499         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
26500
26501         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
26502
26503         * config/unix-gdb.exp: Remove this version of gdb_exit
26504         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
26505         Rob says he'll look at it when he gets back to testing boards.
26506
26507 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
26508
26509         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
26510         an expected fail for certain ptype commands.
26511
26512         * gdb.t20/classes.exp:  Update expected results of "ptype class
26513         Base1" to account for the constructor that now appears in the type.
26514
26515 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
26516
26517         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
26518         disappeared from list.
26519         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
26520         "alldone" proc with call to cleanup and exit.
26521         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
26522         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
26523         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
26524         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
26525         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
26526         "alldone" proc with simple returns that suppress remaining
26527         tests.  The alldone proc went away many months ago.
26528
26529 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26530
26531         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
26532
26533         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
26534
26535 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26536
26537         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
26538         as vax gdb will display them.
26539
26540 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26541
26542         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
26543         optimizers.
26544
26545         * scope.exp: Change "bad value for localval" messages so each one
26546         is unique.
26547
26548         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
26549         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
26550
26551         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
26552
26553 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26554
26555         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
26556         doesn't exist (due to optimization).
26557
26558 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26559
26560         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
26561         contains \r because the filename is long.
26562
26563         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
26564         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
26565
26566 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26567
26568         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26569         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
26570         Ultrix.
26571         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
26572         int tests.
26573         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
26574
26575 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
26576
26577         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
26578
26579         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
26580         to match does not match the passing case but still matches the
26581         failing case.
26582
26583 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26584
26585         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26586
26587 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
26588
26589         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
26590         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26591         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26592         Remove various versions of gdb_exit.
26593         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
26594         gdb_exit.
26595         * config/unix-gdb.exp:  gdb_exit remains here, and should override
26596         the generic version, since it's doing a lot of wierd stuff that
26597         the other versions aren't.  FIXME, fold it in, or abandon this
26598         version.
26599
26600 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26601
26602         * gdb.t24/demangle.exp: Add tests for PR 3220.
26603
26604 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26605
26606         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26607
26608 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
26609
26610         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
26611         "i386-*-*".  Works for i486 as well.
26612
26613         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
26614         bug, and expand domain of xfail to all SVR4 systems, since the
26615         actual problem is likely to be in generic SVR4 /proc support.
26616
26617 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26618
26619         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26620
26621 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
26622
26623         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
26624         xfails for other systems.  Match a missing 'Continuing.' as an
26625         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26626
26627         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26628         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26629         Only issue warning for missing executables if -all option is used.
26630
26631         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
26632         file if -all option is used.  It's like an unpredictable XFAIL.
26633
26634 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26635
26636         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26637         for dynamically linked binaries.
26638
26639         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26640
26641 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26642
26643         * gdb.t20/inherit.exp: Change message for "print tagless struct"
26644         to state that this is a known bug in old versions of g++.
26645
26646 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26647
26648         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
26649         while waiting for `Continuing'.
26650
26651 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
26652
26653         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
26654         in text, data, and bss.
26655         * gdb.t10/nodebug.c:  Add local and global test variables for
26656         initialized and uninitialized data.
26657
26658 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26659
26660         * config/unix-gdb.exp (gdb_exit): Add "wait".
26661
26662 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26663
26664         * gdb.t06/signals.exp:  xfail the continue from the handler for all
26665         targets.
26666
26667         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
26668         function with watchpoints enabled, the i386 call dummy starts with
26669         a call.
26670
26671         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
26672         386 bsd names its corefiles.
26673
26674 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
26675
26676         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
26677         compilers don't grok it.
26678         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
26679         with small octal ints rather than character constants, which
26680         are signed and might not fit if first promoted to int.
26681
26682 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
26683
26684         * gdb.t09/Makefile.in (clean):  Remove corefile.
26685
26686 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26687
26688         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26689
26690 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26691                           and Jim Kingdon (kingdon@cygnus.com)
26692
26693         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26694         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
26695         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26696
26697 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26698
26699         * gdb.t17/interrupt.exp: Add xfail for hppa.
26700
26701 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26702
26703         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26704         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
26705         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
26706         to determine signed-ness of bitfields and use the result to setup
26707         the xfail.
26708         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
26709         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
26710         call line is reached if necessary.
26711
26712 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26713
26714         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26715
26716 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26717
26718         * gdb.t06/break.exp: Also test `clear' command.
26719
26720 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
26721
26722         * gdb.t00/teststrategy.exp: Remove extra quote.
26723
26724         * gdb.t07/watchpoint.exp: Change xfail for calling function with
26725         watchpoint enabled to be for all non-68k machines.
26726
26727         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26728
26729 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26730
26731         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26732         targets use aout.mt instead of ecoff.mt as gas understands
26733         standard aout format.
26734
26735 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
26736
26737         * lib/gdb.exp (runto): Don't insist that function we are running to
26738         was compiled with -g.
26739
26740         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26741
26742         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26743         to get back into the read system call.
26744         Accept leading newline in case where we woke it up.
26745
26746 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26747
26748         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
26749         to make the stabs test work on ecoff systems using gcc and -with-stabs.
26750         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
26751         enable ecoff configuration.
26752
26753 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26754
26755         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26756
26757 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26758
26759         * gdb.t16/printcmds.exp: Add another printf test.
26760
26761 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
26762
26763         * configure.in: If configured -with-stabs on any target, add
26764         stabsdirs to configdirs.
26765
26766 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26767
26768         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26769         fun" so pattern does not match the command itself.
26770
26771 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26772
26773         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26774
26775 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26776
26777         * gdb.t17/interrupt.exp: Test for more things.
26778
26779 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26780
26781         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26782         compiler arranges the code and line numbers.
26783
26784         * gdb.t17/interrupt.exp: Don't send \n after ^C.
26785
26786 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26787
26788         * gdb.t00/help.exp:  Increase expect input buffer size.
26789
26790 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26791
26792         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26793
26794         * gdb.t07/watchpoint.exp: Add xfail for hppa.
26795
26796         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26797
26798         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26799         [0-9]*, not just [0-9].
26800
26801 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26802
26803         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26804
26805         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26806
26807 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26808
26809         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26810
26811 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26812
26813         * gdb.t06/signals.c: Add xfails for sun3.
26814
26815         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26816
26817         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
26818         test_stepping tests.
26819
26820 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26821
26822         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26823
26824         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26825
26826         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26827         rather than actually putting it through cpp twice.
26828
26829         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26830
26831 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
26832
26833         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26834         no longer needed.
26835
26836 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26837
26838         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26839
26840         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26841         C++ features prints as "struct", make it a pass, not an xfail.
26842
26843 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26844
26845         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26846         Don't require VA to print as "class" rather than "struct".
26847
26848 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
26849
26850         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26851
26852 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26853
26854         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26855
26856 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26857
26858         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
26859         order.
26860
26861 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26862
26863         * gdb.t16/printcmds.exp: Add printf tests.
26864
26865         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26866
26867         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26868
26869 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
26870
26871         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
26872         pass counts, to counteract any existing or future setup_xfails.
26873
26874 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26875
26876         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26877         {BEGIN,END}_COMMON for common block instead of STAB.
26878         * gdb.stabs/wierd.exp: Add xfail for rs6000.
26879
26880         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26881         intp_var should be N_GSYM not N_LSYM.
26882         wierd-aout.S: Use a label for the value of the N_SO.
26883         wierd.def: Remove all backslashes.
26884         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26885
26886 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26887
26888         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26889         get the expected next to inheritance3.
26890
26891 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26892
26893         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26894         now that gcc-2.4 gets it right.
26895
26896 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26897
26898         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26899
26900         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26901         generating comp-info.exp which works for cross-compilation.
26902
26903 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
26904
26905         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
26906         "*-*-sysv4.*".
26907
26908 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
26909
26910         * gdb.t01/run.exp:  Start with a fresh gdb.
26911         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
26912         SVR4.x.
26913
26914 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
26915
26916         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26917         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26918         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26919         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
26920         things to remove.
26921
26922 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
26923
26924         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
26925         test cases from bug reports.
26926
26927 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
26928
26929         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
26930         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
26931           avoid spurious xfails.
26932         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
26933         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
26934         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
26935
26936 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
26937
26938         * gdb.t00/teststrategy.exp:  Rework to provide more useful
26939         description of each test, fix problem with systems that define
26940         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26941         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
26942         results for "next over recursive call" so timeouts aren't taken
26943         by error.
26944
26945 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
26946
26947         * gdb.t12/scope.exp: Test printing of variables before run.
26948
26949         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26950         printed in wrong order due to sorting.
26951
26952 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
26953
26954         * gdb.t00/teststrategy.exp:  Fix expected results for printing
26955         user entered string constant.  Is array of char, prints with no
26956         address.
26957
26958         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
26959         commands.
26960         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
26961         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
26962         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
26963         of struct of char arrays.
26964         * gdb.t00/radix.exp:  New tests for radix commands.
26965
26966 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
26967
26968         * gdb.t16/printcmd.exp: Print a variable before running program
26969         (with xfail for AIX).
26970
26971 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
26972
26973         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26974
26975         * gdb.t16/printcmd.exp: Don't print variables before running program.
26976
26977         * gdb.t06/break.exp: Don't require envp argument to main.
26978
26979         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26980
26981         * gdb.t02/whatis.exp, gdb.t11/list.exp:
26982         Add xfails for rs6000.
26983
26984         * gdb.t02/whatis.exp: Change other tests not to re-test something
26985         we already tested.
26986
26987         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26988         each type used has a variable of that type.
26989
26990 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
26991
26992         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26993
26994 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
26995
26996         * configure.in: change srctrigger to be a file, not a directory
26997
26998 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
26999
27000         * configure.in (mips-idt-ecoff*): Added trailing '*'.
27001
27002         * gdb.t11/list.exp: Fixed a couple of typos.
27003
27004 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
27005
27006         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
27007         is fixed and PR is closed.
27008         * gdb.t16 (gdbme.c):  Add simple test string variable.
27009         * gdb.t16 (printcmds.exp):  Add tests with simple test string
27010         variable, primarily for boundaries on "set print elements".
27011
27012 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
27013
27014         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
27015         Make leading 0's optional and don't expect a tab in the middle
27016         of the number.
27017
27018         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
27019
27020         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
27021         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
27022         don't end command passed to gdb_test with newline.
27023
27024         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
27025         signed keyword away, don't expect signed bitfields to be signed.
27026
27027         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
27028         printing with only as many 1's as are in the field as well as printing
27029         with 32 1's (see comment).
27030
27031 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
27032
27033         * gdb.t00/default.exp:  Start with a fresh gdb.
27034         * configure.in (configdirs):  Remove gdb.t31 until the chill
27035         compiler works again.  It no longer is able to find chillrt0
27036         since it isn't in libchill.a anymore.
27037         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
27038         wierd.o, make more modular.
27039         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
27040         spurious newlines that caused problems.
27041
27042 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
27043
27044         * Move test with enums and partial symbols from gdb.t03/ptype.exp
27045         to gdb.stabs/wierd.exp since GCC has worked around the bug.
27046         gdb.stabs/wierd.{exp,def}: Many new tests.
27047
27048         * gdb.t00/default.exp: update info line for new message.
27049
27050         * gdb.t02/{whatis.exp,gdbme.c}:
27051         Test that "char *" doesn't print as "caddr_t".
27052
27053 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
27054
27055         * gdb.t00/help.exp: Use .* in place of some help messages which
27056         just changed.
27057         gdb.t00/default.exp: Update "info frame" test for new message.
27058         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
27059         Remove some xfails
27060
27061 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
27062
27063         * gdb.t03/{gdbme.c,ptype.exp}:
27064         Add tests for typedef'd struct and union without tags.
27065         Also check "whatis" on a variable of a typedef'd enum without a tag.
27066
27067         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
27068         PRMS 1823; the bug still exists but isn't reproduced by this test
27069         anymore), and remove rs6000 XFAIL (the bug is fixed).
27070
27071         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
27072         duplicated from whatis.exp.  For those that are left, accept
27073         "long", "long int", or "int" for long variables (whatis.exp already
27074         has an XFAIL for "int", so no need to fail it here).
27075
27076         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
27077         Deal with GCC's names for types now that GDB uses the compiler's names.
27078
27079         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
27080         setup_xfail's for sunos4.  If we #defined the signed keyword away,
27081         don't expect GDB to know that char it is signed.
27082
27083         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
27084
27085 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
27086
27087         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
27088         should work on any system, regardless of debugging format.
27089         * gdb.t21/demangle.exp:  Move to gdb.t24.
27090         * gdb.t24/demangle.exp:  Move from gdb.t21.
27091         * gdb.t24/{Makefile.in, configure.in}:  New files.
27092
27093 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
27094
27095         * configure.in: Do gdb.stabs and C++ tests only for stabs.
27096         * gdb.stabs: New directory.
27097
27098 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
27099
27100         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
27101         not just "Quit anyway?".
27102
27103 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
27104
27105         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
27106         that all setup_xfails are immediately followed by clear_xfails.
27107
27108 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
27109
27110         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
27111         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
27112         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
27113         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
27114         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
27115         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
27116         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
27117         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
27118         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
27119         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
27120         gdb.t31/chillvars.exp, lib/gdb.exp:
27121         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
27122         bug-gdb@prep.ai.mit.edu.
27123
27124 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
27125
27126         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
27127         with 0.0, not integer 0.
27128
27129 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
27130
27131         * gdb.t06/break.exp: Update for "Kill the program" message change.
27132
27133 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
27134
27135         * Makefile.in (GDBFLAGS):  Set to -nx.
27136         * Makefile.in (site.exp):  Use GDBFLAGS.
27137
27138 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
27139
27140         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
27141           Makefiles.
27142           (check): depend on just-check.
27143           (just-check): added so that tests can be run without a noop
27144           build pass.
27145
27146 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
27147
27148         Switch to using configure's configdirs.
27149         * Makefile.in (Makefile): add configure.in dependency.
27150           (SUBDIRS): removed redundant assignment.
27151         * configure.in: switch subdirs assignment to configdirs.
27152         * gdb.t*/configure.in: new files.
27153
27154 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
27155
27156         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
27157         works.
27158
27159 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
27160
27161         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
27162         in explicit rules.  Apparently this is not supported by some makes.
27163
27164 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
27165
27166         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
27167
27168 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27169
27170         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
27171         disappeared.
27172
27173 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
27174
27175         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
27176
27177 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
27178
27179         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
27180         watchpoint problem that is now fixed.
27181         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
27182         uninitialized convenience variables.
27183         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
27184         structures.
27185
27186 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27187
27188         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
27189         which causes expect to get out of sync with gdb on long output
27190         from help set.
27191         * gdb.t09/corefile.exp: Make expected pattern for core file
27192         failing signal and frame output format less sun specific.
27193
27194 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
27195
27196         * gdb.t31/chillvars.exp:  Add and remove initial dummy
27197         breakpoint, so that symbol table is forced in.
27198         (Needed at least on Sunos4, though it seems not SVR4.)
27199         * gdb.t31/chillvars.exp:  Update for changed output format.
27200
27201 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
27202
27203         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
27204
27205 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
27206
27207         * Makefile.in: Added --srcdir when invoking runtest, removed the
27208         need for a local config file. (optional now)
27209
27210 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
27211
27212         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
27213         failure count used to force early termination.  Add some more
27214         expected failures for gnu style demangling.
27215
27216 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27217
27218         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
27219         pmi variable from gdb.t20/gdbme to get optimized away.
27220         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
27221         Check for written corefile upon timeout _and_ eof.
27222
27223 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27224
27225         * config/unix-gdb.exp:  Add missing return 0.
27226
27227 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27228
27229         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
27230         test termination.
27231
27232 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
27233
27234         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
27235         disappeared.
27236
27237 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
27238
27239         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
27240         time as i860 support works.
27241
27242         * gdb.t15/funcargs.exp:  Fix expected outputs to include
27243         "backtrace 100\r" rather than just "backtrace\r", to match last
27244         change.
27245
27246 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
27247
27248         * config/udi-gdb.exp (gdb_exit): Remove close command.
27249         (gdb_target_udi): New procedure to set the UDI target.
27250         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
27251         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
27252         Added waits for prompts after several question responses.  Added
27253         some more responses used by a29k-amd-udi-gdb.
27254         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
27255         pass different arguments, restart UDI connection after program
27256         completion.
27257         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
27258         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
27259         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
27260         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
27261         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
27262         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
27263         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
27264         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
27265         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
27266         after program completion.
27267         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
27268         compiled with a SELECT_VECS setting.
27269         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
27270         infinite recursion.
27271
27272         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
27273         Added checks for COFF results, and made them expected failures for
27274         all targets.  It would be better to make them expected failures
27275         for COFF targets only.
27276
27277 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
27278
27279         * Makefile.in: add null dvi target, don't bother to recurse
27280         through test directories for info and install-info; rename
27281         $(datadir) to be dejagnu instead of deja-gnu
27282
27283 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
27284
27285         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
27286         compiler to coredump.
27287         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
27288         code.
27289
27290 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
27291
27292         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
27293         coredump.
27294         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
27295         code.
27296
27297 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
27298
27299         * gdb.t03/ptype.exp: tests for return code from gdb_test.
27300         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
27301         which in a shell. Deletes xgdb when done.
27302         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
27303         Tests the return from the "set height" or "set width" commands.
27304         Added a few return codes where needed.
27305
27306 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
27307
27308         * Makefile.in (SUBDIRS):  Add gdb.t17.
27309         * configure.in (subdirs):  Add gdb.t17.
27310         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
27311         files to test gdb's calling of functions in the inferior with
27312         the correct arguments and gdb's ability to retrieve any
27313         result returned.
27314
27315 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
27316
27317         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
27318         may be called after gdb goes away.  Previous versions of expect
27319         needed these to avoid file descriptor leaks, but they cause
27320         errors with the current revision of expect.
27321         * gdb.t00/gdbvars.exp:  Use -re on expected output after
27322         setting sevenbit-strings.
27323         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
27324         to set sevenbit-strings consistent across tests.
27325         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
27326         set sevenbit-strings consistent across tests.
27327
27328 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
27329
27330         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
27331         expected output to match current "expect" expectations.
27332
27333 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
27334
27335         * gdb.t00/default.exp:  Change expected output for default "source"
27336         command, to match new gdb behavior which requires a filename to
27337         source.
27338
27339 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
27340
27341         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
27342         expected fail for i486-*-* that misses the marker2 function.
27343         * gdb.t10/crossload.exp (bfddefault):  Allow successful
27344         recognition of a format to pass even if no symbols are found.
27345         Explicitly catch failures where the format is not recognized
27346         or is ambiguous, and add the reason to the fail message.
27347         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
27348         the cause is and invalid target and add reason to failure message.
27349         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
27350         elf32-i386, elf32-sparc, and elf32-i860.
27351         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
27352         Set up expected failure for 'filename'::variable scope resolution,
27353         which is now apparently broken on all targets.
27354         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
27355         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
27356         gdb.t23/templates.exp:   Change failure for missing binfile into
27357         just a warning.
27358         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
27359         references.
27360
27361 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
27362
27363         * gdb.t00/default.exp:  Add expected output for default "source"
27364         command, to match new gdb behavior.
27365         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
27366
27367 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
27368
27369         * config/*-gdb.exp: returns an error, rather than exiting on
27370         internal errors.
27371
27372 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
27373
27374         * gdb.t03/gdbme.c:  Add pointer to struct variable.
27375         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
27376         referencing struct members.
27377
27378 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
27379
27380         * configure.in (mips-idt-ecoff): New target.
27381         * config/mips-gdb.exp: New file for remote board using MIPS remote
27382         debugging protocol.
27383
27384         * Redid configuration scheme.  Removed gdb.t*/configure.in.
27385         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
27386         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
27387         distclean targets.  Built executables via .o files.  Adjusted
27388         tests to account for source files in $(srcdir) rather than
27389         $(objdir).
27390         * lib/gdb.exp (runto): Don't expect () after the function name,
27391         because it may have arguments.
27392
27393 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
27394
27395         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
27396         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
27397         expected failures for mips-idt-* and mips-sgi-*.
27398         * gdb.t00/default.exp (attach): Kill process if requested.
27399         * gdb.t00/help.exp (help target core, help target): Accept a gdb
27400         that does not read core files.
27401         * gdb.t01/run.exp: Removed checks for exit status code.
27402         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
27403         it is linked in.
27404         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
27405         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
27406         appropriate, rather than doing it by hand.
27407         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
27408         execution.
27409         * gdb.t10/crossload.exp: Kill existing program if needed.
27410         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
27411         appropriate, rather than doing it by hand.  Always increase
27412         timeout for this test, not just for VxWorks.
27413
27414 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
27415
27416         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
27417         of Chill STRUCT types and STRUCT values.
27418         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
27419         than "char".
27420         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
27421         struct2):  New struct definitions and initializations to test
27422         simple Chill STRUCT types.
27423
27424 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
27425
27426         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
27427         the null byte at the end of strings.
27428         * gdb.t00/default.exp:  Make show version insensitive to copyright
27429         date.
27430         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
27431         to avoid dependencies on target char signedness.
27432         * gdb.t16/printcmds.exp:  Update expected results for explicitly
27433         unsigned char.
27434         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
27435         now work.
27436         * gdb.t21/demangle.exp:  Add many more patterns for template
27437         demangling, most of them being expected failures.
27438         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
27439         string we are matching for, to match on the whole string.
27440         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
27441         and fix a whole bunch that had incorrect expected output but were
27442         passing anyway because of the bug in "proc demangle".
27443         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
27444         type.
27445         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
27446
27447 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
27448
27449         * gdb/testsuite: made modifications to testcases, etc., to allow
27450         them to work properly  given the reorganization of deja-gnu and the
27451         relocation of the testcases from deja-gnu to a "tool" subdirectory.
27452
27453 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
27454
27455         * gdb/testsuite: Initial creation of gdb/testsuite.
27456         Migrated dejagnu testcases and support files for testing nm to
27457         gdb/testsuite from deja-gnu.  These files were moved "as is"
27458         with no modifications.  This migration is part of a major overhaul
27459         of dejagnu.  The modifications to these testcases, etc., which
27460         will allow them to work with the new version of dejagnu will be
27461         made in a future update.
27462
27463  For additional changes see gdb.mi/ChangeLog-1999-2003.
27464 \f
27465 ;; Local Variables:
27466 ;; mode: change-log
27467 ;; left-margin: 8
27468 ;; fill-column: 74
27469 ;; version-control: never
27470 ;; End:
27471
27472     Copyright 1993-2005, 2012 Free Software Foundation, Inc.
27473   Copying and distribution of this file, with or without modification,
27474   are permitted provided the copyright notice and this notice are preserved.