gdb/testsuite/
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2011-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
2
3         * gdb.server/ext-run.exp (get process list): Accept also systemd
4         as PID 1.
5
6 2011-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
7             Pedro Alves  <pedro@codesourcery.com>
8
9         * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
10         starting GDB.
11         * gdb.base/default.exp: Replace target use_gdb_stub checks by global
12         $use_gdb_stub.
13         * gdb.base/display.exp: Likewise.
14         * gdb.base/ending-run.exp: Likewise.
15         * gdb.base/list.exp (test_listsize): Likewise.
16         * gdb.base/setshow.exp: Likewise.
17         * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
18         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
19         check by global $use_gdb_stub.
20         (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
21         (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
22         (default_gdb_init): Unset global $use_gdb_stub.
23         (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
24         by global $use_gdb_stub.
25         * lib/gdbserver-support.exp: Extend comments for set_board_info
26         gdb_protocol and gdb,socketport.
27         (gdbserver_start_extended): Set global gdbserver_protocol and
28         gdbserver_gdbport.  Clear global use_gdb_stub.
29         * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
30         from target use_gdb_stub.
31         (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
32
33 2011-12-03  Doug Evans  <dje@google.com>
34
35         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
36         (gdb_step_for_stub): Add comments.
37
38 2011-12-02  Maciej W. Rozycki  <macro@codesourcery.com>
39
40         * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
41         to the caller.
42         (gdb_test_multiple): Likewise.
43
44 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45
46         Fix gdb.mi/mi-solib.exp without system debug info installed.
47         * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
48         expect attribute, return 0 for it.  Update comments.
49
50 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
51
52         * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
53         (corrupted list): Adjust the expectation.
54
55 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56
57         PR threads/13448
58         * gdb.dwarf2/dw2-var-zero-addr.S: New file.
59         * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
60         * gdb.threads/tls-var-main.c: New file.
61         * gdb.threads/tls-var.c: New file.
62         * gdb.threads/tls-var.exp: New file.
63
64 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65
66         PR testsuite/12649
67         * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
68         Protect gdb_test_multiple by final $gdb_prompt match.
69         * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
70         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
71         (test_tracepoints): Likewise.
72
73 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
74
75         PR breakpoints/13346
76         * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
77         * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
78         * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
79
80 2011-12-01  Joel Brobecker  <brobecker@adacore.com>
81
82         * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
83         * gdb.ada/homonym/homonym.adb: For use of all types defined
84         locally inside both Get_Value subprograms.
85
86 2011-12-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
87
88         Fix racy FAILs.
89         * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
90         of send_gdb.
91
92 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
93
94         * gdb.base/testenv.exp: Skip on remote targets.  Unset global
95         environment variable after test completed.
96
97 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
98
99         * gdb.base/solib-nodir.exp: Skip if remote target.
100         * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
101         application.  Call gdb_load_shlibs.
102         * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
103
104 2011-11-29  Joel Brobecker  <brobecker@adacore.com>
105
106         * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
107
108 2011-11-28  Joel Brobecker  <brobecker@adacore.com>
109
110         * gdb.ada/fullname_bp: New testcase.
111
112 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
113
114         PR testsuite/12649
115         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
116         Wrap send_gdb into a new gdb_test.
117
118         Code cleanup.
119         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
120         Convert send_gdb and gdb_expect to gdb_test_multiple.
121
122 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
123
124         * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
125
126 2011-11-23  Keith Seitz  <keiths@redhat.com>
127
128         * lib/mi-support.exp (varobj_tree): New namespace and procs.
129         (mi_varobj_tree_test_children_callback): New proc.
130         (mi_walk_varobj_tree): New proc.
131
132 2011-11-22  Tom Tromey  <tromey@redhat.com>
133
134         * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
135         Add "use_mi_command" argument.
136         (mi_run_cmd, mi_run_with_cli): New procs.
137         * gdb.mi/solib-lib.c: New file.
138         * gdb.mi/solib-main.c: New file.
139         * gdb.mi/mi-solib.exp: New file.
140
141 2011-11-21  Doug Evans  <dje@google.com>
142
143         * gdb.cp/nextoverthrow.exp: Skip test if debug info for
144         _Unwind_DebugHook is missing.
145
146 2011-11-20  Stan Shebs  <stan@codesourcery.com>
147
148         * gdb.trace/tstatus.exp: New.
149         * gdb.trace/actions.c: Include string.h.
150
151 2011-11-18  Yao Qi  <yao@codesourcery.com>
152
153         * gdb.trace/pending.exp: New.
154         * gdb.trace/pending.c: New.
155         * gdb.trace/pendshr1.c: New.
156         * gdb.trace/pendshr2.c: New.
157         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
158         tracepoint location becomes pending.
159         (tracepoint_change_loc_2): New.
160
161 2011-11-16  David S. Miller  <davem@davemloft.net>
162
163         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
164         target is sparc*-*-linux*
165
166 2011-11-15  Paul Koning  <paul_koning@dell.com>
167
168         * gdb.python/py-type.exp: New testcases for exceptions on scalar
169         types.
170
171 2011-11-14  Doug Evans  <dje@google.com>
172
173         * gdb.base/shell.exp: New file.
174
175 2011-11-14  Stan Shebs  <stan@codesourcery.com>
176
177         * gdb.trace/ftrace.c: New.
178         * gdb.trace/ftrace.exp: New.
179
180 2011-11-14  Yao Qi  <yao@codesourcery.com>
181
182         * gdb.trace/change-loc-1.c: New.
183         * gdb.trace/change-loc-2.c: New.
184         * gdb.trace/change-loc.c: New.
185         * gdb.trace/change-loc.exp:  New.
186         * gdb.trace/change-loc.h:  New.
187         * gdb.trace/trace-break.c (marker): Define new symbol.
188         * gdb.trace/trace-break.exp (break_trace_same_addr_5):
189         New.
190         (break_trace_same_addr_6): New.
191
192 2011-11-12  Matt Rice  <ratmice@gmail.com>
193
194         * gdb.base/info-macros.exp: Make tests for info definitions
195         test info macro.  Add tests for info macro argument processing.
196         Rename a few tests.
197
198 2011-11-11  Keith Seitz  <keiths@redhat.com>
199
200         PR gdb/12843
201         * gdb.base/linespecs.exp: New file.
202
203 2011-11-11  Doug Evans  <dje@google.com>
204
205         * gdb.threads/print-threads.exp: Extend timeout for slower
206         tests.
207
208 2011-11-10  Doug Evans  <dje@google.com>
209
210         * gdb.reverse/i387-env-reverse.exp: Extend timeout of
211         "record to end of main" test.
212
213         * gdb.python/py-type.c (TS): New typedef.
214         (ts): New global.
215         * gdb.python/py-type.exp: Test field list of typedef.
216
217 2011-11-10  Joel Brobecker  <brobecker@adacore.com>
218
219         * gdb.ada/small_reg_param: New testcase.
220
221 2011-11-09  Tom Tromey  <tromey@redhat.com>
222
223         * gdb.cp/destrprint.exp: New file.
224         * gdb.cp/destrprint.cc: New file.
225
226 2011-11-08  Meador Inge  <meadori@codesourcery.com>
227
228         * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
229         (switch_stack_to_other): New test function.
230         * gdb.arch/thumb-prologue.exp: New test cases.
231
232 2010-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
233
234         * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
235
236 2011-11-08  Yao Qi  <yao@codesourcery.com>
237
238         * gdb.exp (supports_process_record): New.
239         (supports_reverse): New.
240         * gdb.reverse/break-precsave.exp: Call support_process_record
241         to run test conditionally.
242         * gdb.reverse/consecutive-precsave.exp: Likewise.
243         * gdb.reverse/i386-precsave.exp: Likewise.
244         * gdb.reverse/machinestate-precsave.exp: Likewise.
245         * gdb.reverse/solib-precsave.exp: Likewise.
246         * gdb.reverse/step-precsave.exp: Likewise.
247         * gdb.reverse/until-precsave.exp: Likewise.
248         * gdb.reverse/watch-precsave.exp: Likewise.
249         * gdb.reverse/break-reverse.exp: Call support_reverse  to run
250         test conditionally.
251         * gdb.reverse/consecutive-reverse.exp: Likewise.
252         * gdb.reverse/finish-precsave.exp: Likewise.
253         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
254         * gdb.reverse/finish-reverse.exp: Likewise.
255         * gdb.reverse/i386-reverse.exp: Likewise.
256         * gdb.reverse/i386-sse-reverse.exp: Likewise.
257         * gdb.reverse/machinestate.exp: Likewise.
258         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
259         * gdb.reverse/sigall-precsave.exp: Likewise.
260         * gdb.reverse/sigall-reverse.exp: Likewise.
261         * gdb.reverse/solib-reverse.exp: Likewise.
262         * gdb.reverse/step-reverse.exp: Likewise.
263         * gdb.reverse/until-reverse.exp: Likewise.
264         * gdb.reverse/watch-reverse.exp: Likewise.
265
266 2011-11-05  Yao Qi  <yao@codesourcery.com>
267
268         * gdb.trace/trace-break.exp: Add test on setting two
269         fast tracepoints at the same address.
270
271 2011-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
272
273         * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
274
275 2011-11-02  Stan Shebs  <stan@codesourcery.com>
276
277         * gdb.trace/collection.c: Add code using strings.
278         * gdb.trace/collection.exp: Add tests of string collection.
279
280 2011-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
281
282         * gdb.base/skip-solib.exp (executable_main): New variable.
283         (binfile_main): Base it on that.
284         Use $executable_main in clean_restart calls.  Drop gdb_exit and
285         gdb_start calls.
286
287 2011-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
288
289         Fix racy FAILs.
290         * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
291         breakpoint_re globals import by async.  Set string_regex to .* for
292         async.  Remove the optional thread_selected_re and breakpoint_re
293         globals expectations.
294
295 2011-11-01  Joseph Myers  <joseph@codesourcery.com>
296
297         * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
298         well as Cygwin.
299
300 2011-11-01  Justin Lebar <justin.lebar@gmail.com>
301
302         Add tests for skip command.
303         * gdb.base/skip-solib-lib.c: New
304         * gdb.base/skip-solib-main.c: New
305         * gdb.base/skip-solib.exp: New
306         * gdb.base/skip.c: New
307         * gdb.base/skip.exp: New
308         * gdb.base/skip1.c: New
309         * gdb.base/Makefile.in: Adding new files.
310
311 2011-10-31  Yao Qi  <yao@codesourcery.com>
312             Pedro Alves  <pedro@codesourcery.com>
313
314         * gdb.trace/trace-break.c: New.
315         * gdb.trace/trace-break.exp: New.
316
317 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
318
319         * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
320         break-here-2.
321
322 2011-10-28  Pedro Alves  <pedro@codesourcery.com>
323
324         * gdb.threads/no-unwaited-for-left.c: New.
325         * gdb.threads/no-unwaited-for-left.exp: New.
326         * gdb.threads/non-ldr-exc-1.c: New.
327         * gdb.threads/non-ldr-exc-1.exp: New.
328         * gdb.threads/non-ldr-exc-2.c: New.
329         * gdb.threads/non-ldr-exc-2.exp: New.
330         * gdb.threads/non-ldr-exc-3.c: New.
331         * gdb.threads/non-ldr-exc-3.exp: New.
332         * gdb.threads/non-ldr-exc-4.c: New.
333         * gdb.threads/non-ldr-exc-4.exp: New.
334
335 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
336
337         * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
338         * gdb.base/attach-pie-misread.exp: Likewise.
339         * gdb.base/break-interp.exp: Likewise.
340         * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
341         testcases for use_gdb_stub.
342         * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
343         (continue): New testcase.
344         * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
345         * gdb.threads/attach-into-signal.exp: Likewise.
346         * gdb.threads/attach-stopped.exp: Likewise.
347         * gdb.threads/attachstop-mt.exp: Likewise.
348
349 2011-10-28  Paul Koning  <paul_koning@dell.com>
350
351         * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
352
353 2011-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
354
355         * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
356         (mi_gdb_test): Import globals thread_selected_re
357         and breakpoint_re.  Expect them optionally at the regex start.
358
359 2011-10-27  Doug Evans  <dje@google.com>
360
361         * gdb.python/python.exp: Test source -s.
362
363 2011-10-26  Paul Koning  <paul_koning@dell.com>
364
365         * gdb.python/lib-types.cc (struct A): New structure.
366         * gdb.python/lib-types.exp (deepitems): New tests.
367
368 2011-10-25  Paul Koning  <paul_koning@dell.com>
369
370         PR python/13327
371
372         * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
373         fetch_lazy method.
374
375 2011-10-24  Yao Qi  <yao@codesourcery.com>
376
377         * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
378         target is tic6x-*-*.
379
380 2011-10-21  Joel Brobecker  <brobecker@adacore.com>
381
382         * gdb.ada/mi_task_info/task_switch.adb: New file.
383         * gdb.ada/mi_task_info.exp: New file.
384
385 2011-10-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
386
387         * gdb.cp/expand-psymtabs-cxx.exp: New file.
388         * gdb.cp/expand-psymtabs-cxx.cc: New file.
389
390 2011-10-20  Phil Muldoon  <pmuldoon@redhat.com>
391
392         PR python/12656
393
394         * gdb.python/py-block.exp: Add is_global, is_static, static_block,
395         global_block tests.
396
397 2011-10-18  Tom Tromey  <tromey@redhat.com>
398
399         * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
400
401 2011-10-18  Tom Tromey  <tromey@redhat.com>
402
403         * gdb.base/source.exp: Don't include full file name in test name.
404         * gdb.python/python.exp: Don't include full file name in test
405         name.
406
407 2011-10-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
408
409         * gdb.base/attach-pie-noexec.c: New files.
410         * gdb.base/attach-pie-noexec.exp: New files.
411
412 2011-10-17  Joseph Myers  <joseph@codesourcery.com>
413
414         * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
415         prompt for each extra line in command.
416
417 2011-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
418
419         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
420         Revert the part of:
421         2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
422         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
423         Change the expected string.
424
425 2011-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
426
427         Fix results with system glibc debug info installed.
428         * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
429         (continue to $syscall (2nd time), continue to $syscall (3rd time)):
430         Accept also __libc_ symbol prefix and no prefix.
431
432 2011-10-14  Keith Seitz  <keiths@redhat.com>
433
434         PR c++/13225
435         * gdb.cp/converts.cc (foo3_1): New function.
436         (foo3_2): New functions.
437         * gdb.cp/converts.exp: Add tests for int to pointer conversion
438         and null pointer conversions of integer constant zero.
439         Add test to check if all arguments are checked for incompatible
440         conversion BADNESS.
441
442 2011-10-14  Tom Tromey  <tromey@redhat.com>
443
444         * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
445         * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
446         linespec.
447
448 2011-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
449
450         Fix internal error regression.
451         * gdb.dwarf2/implptr-optimized-out.S: New file.
452         * gdb.dwarf2/implptr-optimized-out.exp: New file.
453
454 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
455
456         Fix empty DWARF expressions DATA vs. SIZE conditionals.
457         * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
458         (loclist): New.
459         (4): New abbrev.
460         * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
461         Use prepare_for_testing, remove clean_restart.
462         (p arraynoloc, p arraycallnoloc): New tests.
463
464 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
465
466         * gdb.cp/namespace-enum.exp (executable): New variable.
467         (binfile): Use ${objdir}/${subdir}/ prefix.
468         Use ${executable} for clean_restart.
469
470 2011-10-11  Sterling Augustine  <saugustine@google.com>
471
472         * gdb.cp/Makefile.in: Add namespace-enum test.
473         * gdb.cp/namespace-enum.exp: New file.
474         * gdb.cp/namespace-enum.c: New file.
475         * gdb.cp/namespace-enum-main.c: New file.
476
477 2011-10-11  Ulrich Weigand  <ulrich.weigand@linaro.org>
478
479         * gdb.python/py-shared.exp: Relax filename check to handle remote:
480         sysroot.
481
482 2011-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
483
484         Reimplement @entry in input expressions.
485         * gdb.base/exprs.c (v_int_array_init): New variable.
486         * gdb.base/exprs.exp (print v_int_array_init)
487         (print *v_int_array_init@1, print *v_int_array_init@2)
488         (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
489         (print v_int_array_init[1]@1): New tests.
490
491 2011-10-10  Joseph Myers  <joseph@codesourcery.com>
492
493         * gdb.cp/gdb2495.exp: Do not include directories in filename in
494         expected message.
495
496 2011-10-09  Doug Evans  <dje@google.com>
497
498         * gdb.base/alias.exp: Add tests for alias command.
499
500 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
501
502         * gdb.arch/amd64-entry-value.s: New file.
503         * gdb.mi/mi2-amd64-entry-value.s: New file.
504
505 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
506
507         Display @entry parameter values even for references.
508         * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
509         functions.
510         (main): New variables regvar, nodatavarp, stackvar1, stackvar2.  Call
511         reference and datap_input.
512         * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
513         breakpoints.
514         (continue to breakpoint: entry_reference: reference)
515         (entry_reference: bt at entry)
516         (continue to breakpoint: entry_reference: breakhere_reference)
517         (entry_reference: bt, entry_reference: ptype regparam)
518         (entry_reference: p regparam, entry_reference: ptype regparam@entry)
519         (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
520         (entry_reference: p regcopy, entry_reference: p nodataparam)
521         (entry_reference: p nodataparam@entry): New tests.
522
523 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
524
525         Support @entry in input expressions.
526         * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
527         (entry_stack: p s1@entry, entry_stack: p s2@entry)
528         (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
529         (tailcall: p j@entry): New tests.
530         * gdb.cp/koenig.cc (A::entry): New function.
531         (main): Call it.
532         * gdb.cp/koenig.exp (p entry (c)): New test.
533
534 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
535
536         Display @entry parameter values (without references).
537         * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
538         (different, validity, invalid): New functions.
539         (main): Call them.
540         * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
541         stacktest, breakhere_stacktest, different, breakhere_different,
542         breakhere_validity and breakhere_invalid.
543         (entry: bt): Update for @entry.
544         (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
545         (entry_validity: *, entry_invalid: *): Many new tests.
546         * gdb.base/break.exp
547         (run until breakpoint set at small function, optimized file): Accept
548         also the @entry suffix.
549         * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
550         * gdb.mi/mi2-amd64-entry-value.c: New files.
551         * gdb.mi/mi2-amd64-entry-value.exp: New files.
552
553 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
554
555         Protect entry values against self tail calls.
556         * gdb.arch/amd64-entry-value.cc (self2, self): New.
557         (main): Call self.
558         * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
559         (set debug entry-values 1, self: bt debug entry-values): New tests.
560
561 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
562
563         Recognize virtual tail call frames.
564         * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
565         (amb_b, amb_a): New.
566         (main): Call a and b.
567         * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
568         (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
569         (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
570         New tests.
571
572 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
573
574         Implement basic support for DW_TAG_GNU_call_site.
575         * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
576         * gdb.arch/amd64-entry-value.cc: New file.
577         * gdb.arch/amd64-entry-value.exp: New file.
578
579 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
580
581         Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
582         * gdb.dwarf2/implptr-64bit.S: New file.
583         * gdb.dwarf2/implptr-64bit.exp: New file.
584
585 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
586
587         Fix initial language detection with -readnow.
588         * gdb.cp/readnow-language.cc: New file.
589         * gdb.cp/readnow-language.exp: New file.
590
591 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
592
593         Fix printed anonymous struct name.
594         * gdb.cp/anon-struct.exp (print type of X::t2): New test.
595
596 2011-10-09  Joseph Myers  <joseph@codesourcery.com>
597
598         * gdb.base/solib-symbol.exp: Do not include directories in
599         filenames in expected messages.
600
601 2011-10-07  Doug Evans  <dje@google.com>
602
603         * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
604
605 2011-10-07  Kevin Pouget  <kevin.pouget@st.com>
606
607         Allow Python notification of new object-file loadings.
608         * gdb.python/py-events.exp: Test newobjfile event.
609         * gdb.python/py-events.py: Register newobjfile callback.
610         * gdb.python/py-events.c: Add call to shared library
611         * gdb.python/py-events-shlib.c: New file.
612
613 2011-10-06  Joseph Myers  <joseph@codesourcery.com>
614
615         * gdb.base/fixsection.exp: Do not include directories in filename
616         in expected message.
617
618 2011-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
619
620         Add tests for passing of environment variables to inferior.
621         * gdb.base/testenv.c: New test source.
622         * gdb.base/testenv.exp: New expect test.
623
624 2011-10-04  Paul Koning  <paul_koning@dell.com>
625
626         * gdb.python/py-value.c (main): Break before return.
627
628 2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
629
630         PR python/12691: Add the inferior to Python exited event
631         * gdb.python/py-events.exp: Test the inferior attribute of exited
632         event with a fork.
633         * gdb.python/py-events.py: Print inferior number on exit.
634         * gdb.python/py-events.c: Fork the inferior.
635
636 2011-10-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
637
638         * gdb.base/jit.exp: Add testcase name to log message
639
640 2011-10-03  Paul Koning  <paul_koning@dell.com>
641             Jan Kratochvil  <jan.kratochvil@redhat.com>
642
643         * gdb.python/py-value.exp
644         (python inval = gdb.parse_and_eval('*(int*)0'))
645         (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
646         (set argc=2, python print argc_lazy): New tests.
647
648 2011-10-02  Joel Brobecker  <brobecker@adacore.com>
649
650         * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
651
652 2011-10-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
653             Pedro Alves  <pedro@codesourcery.com>
654
655         * gdb.python/py-value.exp (test_value_in_inferior): New variable
656         can_read_0, test for it.
657         (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
658         (parse_and_eval with memory error): ... here, make it untested if
659         can_read_0.
660
661 2011-09-30  Marek Polacek  <mpolacek@redhat.com>
662
663         * gdb.python/python.exp (verify pagination beforehand)
664         (verify pagination afterwards): Fix race by splitting the line.
665
666 2011-09-29  Joseph Myers  <joseph@codesourcery.com>
667
668         * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
669         for 64-bit multilibs from i?86-* targets.
670
671 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
672
673         * lib/gdb.exp: Fix a typo in one of the comments.
674
675 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
676
677         * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
678         matching pattern.
679
680 2011-09-28  Paul Koning  <paul_koning@dell.com>
681
682         * gdb.python/py-type.c (enum E): New.
683         * gdb.python/py-type.exp (test_fields): Add tests for Python
684         mapping access to fields.
685         (test_enums): New test for field access on enums.
686
687 2011-09-27  Stan Shebs  <stan@codesourcery.com>
688
689         * gdb.trace/collection.exp: Test collection of $_ret.
690
691 2011-09-22  Andreas Tobler  <andreast@fgznet.ch>
692
693         * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
694         list of compilation switches for <*-*-freebsd*>.
695
696 2011-09-19  Stan Shebs  <stan@codesourcery.com>
697
698         * gdb.trace/tspeed.exp: New file.
699         * gdb.trace/tspeed.c: New file.
700
701 2011-09-18  Yao Qi  <yao@codesourcery.com>
702
703         * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
704         instructions.
705         (test_adr_32bit, test_pop_pc): Likewise.
706         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
707         Thumb instructions.
708         * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
709         in gdb_test_multiple.
710         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
711
712 2011-09-17  Yao Qi  <yao@codesourcery.com>
713
714         * lib/gdb.exp (can_single_step_to_signal_handler): New.
715         * gdb.base/kill-after-signal.exp: Call it.  Skip if target doesn't
716         support single step to signal handler.
717
718 2011-09-17  Yao Qi  <yao@codesourcery.com>
719
720         * gdb.base/disp-step-fork.c: New.
721         * gdb.base/disp-step-syscall.exp: New.
722         * gdb.base/disp-step-vfork.c: New.
723
724 2011-09-16  Joel Brobecker  <brobecker@adacore.com>
725
726         * gdb.ada/tasks.exp: Make the expected output for
727         the `info tasks' tests more resilient to spacing
728         changes.
729
730 2011-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
731
732         * gdb.python/py-evthreads.exp (Run to breakpoint 1)
733         (reached breakpoint 2, reached breakpoint 3): Update expected output.
734
735 2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
736
737         PR Python/12692 Add gdb.selected_inferior() to Python interface.
738         * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
739
740 2011-04-30  Kevin Pouget  <kevin.pouget@st.com>
741
742         Handle multiple breakpoint hits in Python interface:
743         * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
744         presence.
745         * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
746         breakpoint hits.
747
748 2011-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
749             Jan Kratochvil  <jan.kratochvil@redhat.com>
750
751         * gdb.python/py-events.exp: Remove pretty printing comment.
752         * gdb.python/py-evsignal.exp: New file.
753         * gdb.python/py-evthreads.c: Include signal.h.
754         (thread3): Remove variable count3.  Remove variable bad and use raise
755         instead.
756         (thread2): Remove variable count2.  Move thread3 pthread_create here,
757         merge pthread_join to a single line.
758         (main): Remove variable count1.  Merge pthread_join with pthread_create
759         to a single line.
760         * gdb.python/py-evthreads.exp: Remove pretty printing comment.  New
761         KFAIL python/12966 for gdbserver.  Test return value of
762         gdb_compile_pthreads.  Use gdb_run_cmd.  Replace send_gdb and
763         gdb_expect by gdb_test and gdb_test_multiple.
764         (thread 2, thread 3): New tests.
765
766 2011-09-12  Matt Rice  <ratmice@gmail.com>
767             Pedro Alves  <pedro@codesourcery.com>
768
769         PR gdb/13175
770
771         * gdb.base/interp.exp: New tests.
772         * gdb.base/interp.c: New file.
773
774 2011-09-12  Doug Evans  <dje@google.com>
775
776         * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
777         * gdb.dwarf2/typeddwarf.exp: Ditto.
778
779 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
780
781         Fix compatibility with x32 arch.
782         * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
783         * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
784         is_x86_like_target.
785         * testsuite/gdb.trace/collection.exp: Likewise.
786         * testsuite/gdb.trace/report.exp: Likewise.
787         * testsuite/gdb.trace/unavailable.exp: Likewise.
788         * testsuite/gdb.trace/while-dyn.exp: Likewise.
789         * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
790         (is_x86_like_target): Check also is_amd64_regs_target.
791
792 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
793
794         PR breakpoints/12435
795         * gdb.arch/amd64-prologue-xmm.c: New file.
796         * gdb.arch/amd64-prologue-xmm.exp: New file.
797         * gdb.arch/amd64-prologue-xmm.s: New file.
798
799 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
800
801         * gdb.dwarf2/dw2-param-error-main.c: New file.
802         * gdb.dwarf2/dw2-param-error.S: New file.
803         * gdb.dwarf2/dw2-param-error.exp: New file.
804
805 2011-09-08  Pedro Alves  <pedro@codesourcery.com>
806
807         * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
808         inferior's pid and look for a core dump named core.$pid.  Use
809         `remote_file' commands on the host instead of hand coding shell
810         commands on the build.
811         * gdb.base/valgrind-db-attach.exp: Kill the program before
812         finishing the test.
813
814 2011-09-02  Matt Rice  <ratmice@gmail.com>
815
816         * lib/prompt.exp: New file for testing the first prompt.
817         * gdb.python/py-prompt.exp: Ditto.
818         * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
819
820 2011-09-02  Pedro Alves  <pedro@codesourcery.com>
821
822         * gdb.threads/gcore-thread.exp: Set the global core_supported to
823         0, before testing gcore.
824
825 2011-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
826
827         * dw2-ifort-parameter-debug.S: Update copyright year.
828         * dw2-ifort-parameter.c: Update copyright year.
829         * dw2-ifort-parameter.exp: Update copyright year.
830
831         * dw2-ifort-parameter-debug.S: New file.
832         * dw2-ifort-parameter.c: New file.
833         * dw2-ifort-parameter.exp: New file.
834
835 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
836
837         * gdb.base/commands.exp (error_clears_commands_left): New function.
838         (): Call it.
839
840 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
841
842         * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
843         (C): Initialize `a'.
844         * gdb.mi/mi-inheritance-syntax-error.exp
845         (-data-evaluate-expression $path):  Expect `a' as 5.
846
847 2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
848
849         PR mi/11912
850         * gdb.mi/mi-inheritance-syntax-error.cc: New file.
851         * gdb.mi/mi-inheritance-syntax-error.exp: New file.
852         * gdb.mi/mi-var-cp.cc: Updated for new 'class'
853         keyword in output of -var-info-path-expression.
854
855 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
856
857         * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
858         * gdb.trace/collection.exp: Likewise.
859         * gdb.trace/report.exp: Likewise.
860         * gdb.trace/unavailable.exp: Likewise.
861         * gdb.trace/while-dyn.exp: Likewise.
862
863 2011-08-18  Keith Seitz  <keiths@redhat.com>
864
865         PR c++/12266
866         * gdb.cp/meth-typedefs.cc: New file.
867         * gdb.cp/meth-typedefs.exp: New file.
868
869 2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
870
871         * gdb.python/python.exp: Add extended-prompt tests.
872
873 2011-08-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
874
875         * gdb.arch/i386-dr3-watch.exp
876         (watchpoint on gap1 does not fit debug registers)
877         (delete all watchpoints): Fix racy expect strings.
878
879 2011-08-14  Yao Qi  <yao@codesourcery.com>
880
881         * gdb.base/maint.exp: set data_section to ".neardata".
882         * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
883         * gdb.base/savedregs.exp: Handle SIGILL.
884         * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
885         * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
886
887 2011-08-12  Doug Evans  <dje@google.com>
888
889         * gdb.python/py-symbol.exp: Add test for symbol.type.
890
891 2011-08-12  Ulrich Weigand  <ulrich.weigand@linaro.org>
892
893         * gdb.threads/pthreads.exp: Enable on non-native configurations.
894         * gdb.mi/mi-pthreads.exp: Likewise.
895         * gdb.mi/mi2-pthreads.exp: Likewise.
896         * gdb.mi/gdb669.exp.exp: Likewise.
897
898 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
899
900         * lib/mi-support.exp (detect_async): Rename to...
901         (mi_detect_async): ... this.
902         * gdb.mi/mi-nonstop-exit.exp: Adjust.
903         * gdb.mi/mi-nonstop.exp: Adjust.
904         * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
905         * gdb.mi/mi-nsintrall.exp: Adjust.
906         * gdb.mi/mi-nsmoribund.exp: Adjust.
907         * gdb.mi/mi-nsthrexec.exp: Adjust.
908
909 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
910
911         * gdb.base/display.c (do_loops): New `p_i' local.
912         * gdb.base/display.exp: Test displaying a variable that is
913         temporarily at a bad address.
914
915 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
916
917         * gdb.dwarf2/dw2-op-stack-value.S: New file.
918         * gdb.dwarf2/dw2-op-stack-value.exp: New file.
919
920 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
921
922         * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
923         * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
924         (p fuNC_symtab): Permit also ppc64 leading dot.
925
926 2011-08-05  Pedro Alves  <pedro@codesourcery.com>
927
928         * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
929         procedure.
930         (gdb_collect_args_test, gdb_collect_locals_test): Use it.
931
932 2011-08-05  Yao Qi  <yao@codesourcery.com>
933
934         * gdb.base/callfuncs.exp: Set language after main.
935         * gdb.cp/cplusfuncs.exp: Likewise.
936         * gdb.cp/inherit.exp: Likewise.
937
938 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
939
940         * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
941         * gdb.base/watch-vfork.exp: Skip on remote targets.
942
943 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
944
945         * gdb.threads/thread-find.exp: Support remote targets.
946
947 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
948
949         * gdb.base/jit.exp: Download solib_binfile to target.
950         * gdb.base/jit-so.exp:  Likewise.  Also, use gdb_load_shlibs
951         and call dlopen without full path name.
952         * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
953         dlopen without full path name.
954
955 2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
956
957         * gdb.base/break-always.exp: Complete the test
958         with duplicated breakpoints and enabling/disabling them.
959
960 2011-08-02  Tom Tromey  <tromey@redhat.com>
961
962         PR gdb/11289:
963         * gdb.cp/overload.exp: Fix regexps.  Remove kfails.
964
965 2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
966
967         PR gdb/13045
968         * gdb.base/float.exp: Add new test case for PR gdb/13045
969         * gdb.base/float.c: New file.
970
971 2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
972
973         * gdb.python/py-mi.exp: Test printers returning string hint, and
974         also not returning a value.
975         * gdb.python/py-prettyprint.c: Add testcase for above.
976         * gdb.python/py-prettyprint.py: Add test printer for above.
977
978 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
979
980         * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
981         (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
982         (.Ldie30) Add as field "data4".
983         (.Ldie32) Rename field "b" to "shl".
984         (abbrev4) Change for the "data4" field.
985         (abbrev5, abbrev6) Remove.
986         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
987         (p &s.shl): ... here.  Add comment.
988         (p &s.data4): New.
989
990 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
991
992         Fix crash on lval_computed values.
993         * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
994
995 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
996
997         * gdb.base/help.exp (help whatis): Update the expected string.
998
999 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1000
1001         * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1002         * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1003         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1004         Change the expected string.
1005
1006 2011-07-26  Pedro Alves  <pedro@codesourcery.com>
1007
1008         * gdb.base/watchpoint.exp
1009         (test_disable_enable_software_watchpoint): New procedure.
1010         (top level): Run it.
1011
1012 2011-07-26  Ulrich Weigand  <ulrich.weigand@linaro.org>
1013
1014         * gdb.python/py-mi.exp: Avoid '+' in filenames.  Call C version of
1015         executable file "${binfile}", C++ version "${binfile}-cxx".
1016         * gdb.python/py-prettyprint.exp: Likewise.
1017         * gdb.python/py-symbol.exp: Likewise.
1018         * gdb.python/py-type.exp: Likewise.
1019         * gdb.python/py-value.exp: Likewise.
1020         * gdb.python/py-template.exp (test_template_arg): Pass full executable
1021         file name instead of just suffix.
1022
1023 2011-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1024
1025         Fix implicit pointer offsets.
1026         * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
1027         * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
1028         (continue to breakpoint: continue to baz breakpoint for implptr)
1029         (sanity check element 0, sanity check element 1)
1030         (enter the inlined function, check element 0 for the offset)
1031         (check element 1 for the offset)
1032         (continue to breakpoint: ignore the second baz breakpoint): New tests.
1033         (set foo breakpoint for implptr): Update the breakpoint number.
1034
1035 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1036
1037         * gdb.python/py-mi.exp: Use different file names for different
1038         versions of the executable under test.
1039         * gdb.python/py-prettyprint.exp: Likewise.
1040         * gdb.python/py-symbol.exp: Likewise.
1041         * gdb.python/py-template.exp: Likewise.
1042         * gdb.python/py-type.exp: Likewise.
1043         * gdb.python/py-value.exp: Likewise.
1044
1045 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1046
1047         * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
1048         flag after restarting GDB if necessary.
1049
1050 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1051
1052         * gdb.python/py-shared.exp: Call gdb_load_shlibs.
1053
1054 2011-07-22  Pedro Alves  <pedro@codesourcery.com>
1055
1056         * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
1057         backend doesn't leave used debug registers behind.
1058
1059 2011-07-22  Tom Tromey  <tromey@redhat.com>
1060
1061         * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
1062         * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
1063         argument.
1064         * gdb.dwarf2/typeddwarf-amd64.S: New file.
1065
1066 2011-07-21  Matt Rice  <ratmice@gmail.com>
1067
1068         * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
1069         in mostlyclean rule.  Add files ending in .core.
1070
1071 2011-07-21  Matt Rice  <ratmice@gmail.com>
1072
1073         PR macros/12999
1074         * gdb.base/info-macros.c: New test sources.
1075         * gdb.base/info-macros.exp: New tests.
1076
1077 2011-07-21  Phil Muldoon  <pmuldoon@redhat.com>
1078
1079         * gdb.python/python.exp: Add prompt substitution tests.
1080
1081 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1082
1083         Fix crash if referenced CU is aged out.
1084         * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
1085         New.
1086         * gdb.dwarf2/implptr.exp: Likewise.
1087
1088 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1089
1090         * gdb.dwarf2/implptr.S: Rebuilt.
1091         * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
1092         (bar): Use them for j, k, l.
1093         * gdb.dwarf2/implptr.exp: New variable opts.  Support runtest parameter
1094         COMPILE.
1095         (print j in implptr:bar): Update for the intp typedef.
1096         (print p[0].x in implptr:foo): Use more exact regex.
1097
1098 2011-07-18  Tom Tromey  <tromey@redhat.com>
1099
1100         * gdb.cp/static-method.exp: Add missing single quote.
1101
1102 2011-07-18  Yao Qi  <yao@codesourcery.com>
1103
1104         * gdb.base/async-shell.exp: Skip test if displaced stepping is not
1105         supported.
1106         * gdb.mi/mi-nonstop-exit.exp: Likewise.
1107         * gdb.mi/mi-nonstop.exp: Likewise.
1108         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1109         * gdb.mi/mi-nsintrall.exp: Likewise.
1110         * gdb.mi/mi-nsmoribund.exp: Likewise.
1111         * gdb.mi/mi-nsthrexec.exp: Likewise.
1112         * gdb.python/py-evthreads.exp: Likewise.
1113
1114 2011-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1115
1116         Code cleanup.
1117         * gdb.cp/namespace.exp (xfail_class_types): New variable.  Initialize
1118         it.  Substitute it instead of test_compiler_info everywhere.
1119
1120 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1121
1122         * gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
1123         remote targets as well.
1124
1125 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1126
1127         * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
1128         * gdb.threads/tls-shared.exp: Use it.  Call gdb_load_shlibs.
1129
1130 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1131
1132         * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
1133         a remote machine, not the host.
1134         (gdb_compile_shlib): Set soname if target is remote.
1135
1136 2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1137
1138         * gdb.cp/minsym-fallback.exp: Link in C++ mode.
1139
1140 2011-07-13  Matt Rice <ratmice@gmail.com>
1141
1142         * gdb.python/py-objfile-script-gdb.py: Renamed to
1143         py-objfile-script-gdb.py.in.
1144         * gdb.python/py-objfile-script-gdb.py.in: Renamed from
1145         py-objfile-script-gdb.py.
1146         * gdb.python/py-objfile-script.exp: Update reference to
1147         py-objfile-script-gdb.py.
1148
1149 2011-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1150
1151         * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
1152         reference undefined label.
1153
1154 2011-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1155
1156         * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
1157         (DW_AT_high_pc, DW_AT_low_pc): Remove them.
1158         (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
1159         * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
1160
1161 2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>
1162
1163         PR python/12438
1164         * gdb.python/python.exp: Add maint set/show python print-stack
1165           deprecated tests.  Add set/show python print-backtrace tests.
1166
1167 2011-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1168
1169         * gdb.java/jprint.exp (print a java.lang.String): xfail without system
1170         debug info.
1171
1172 2011-07-06  Matt Rice  <ratmice@gmail.com>
1173
1174         * gdb.python/python.exp: Update filename paths.
1175         * gdb.python/py-symtab.exp: Ditto.
1176
1177 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
1178
1179         * gdb.python/py-evthreads.exp: Add missing `$'.
1180
1181 2011-07-06  Jie Zhang  <jie.zhang@analog.com>
1182
1183         * config/bfin.exp: New file.
1184         * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
1185         * gdb.asm/bfin.inc: New file.
1186
1187 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
1188
1189         * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
1190         the whole output.
1191
1192 2011-07-05  Tom Tromey  <tromey@redhat.com>
1193
1194         * gdb.java/jprint.java (jprint.hi): New field.
1195         * gdb.java/jprint.exp: Print string.
1196
1197 2011-07-05  Thiago Jung Bauermann  <bauerman.ibm.com>
1198
1199         * gdb.base/call-sc.c: Fix typos.
1200         * gdb.base/ifelse.exp: Likewise.
1201         * gdb.base/structs.c: Likewise.
1202
1203 2011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1204
1205         * gdb.base/jit-so.exp: New test.
1206         * gdb.base/jit-dlmain.c: New file.
1207         * gdb.base/jit-main.c: Allow "main" to be elsewhere.
1208
1209 2011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1210
1211         * gdb.cp/m-static.exp: Call get_compiler_info.
1212         (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
1213         * gdb.cp/pr9167.exp (p b): Likewise.
1214         * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
1215         (test value of P in inner_m, test type of Z in inner_m): Call
1216         setup_xfail for gcc <= 4.5.
1217
1218 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1219
1220         * gdb.cp/paren-type.cc: New files.
1221         * gdb.cp/paren-type.exp: New files.
1222
1223 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1224
1225         Stop on first linespec terminator instead of eating what we can.
1226         * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
1227         * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
1228         * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
1229         (break C::f()): ... this one.
1230         (break C::operator()()): New test.
1231         * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1232         * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1233         test.
1234
1235 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1236
1237         Fall back linespec to minimal symbols.
1238         * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1239         error message.
1240         * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1241         * gdb.cp/minsym-fallback-main.cc: New file.
1242         * gdb.cp/minsym-fallback.cc: New file.
1243         * gdb.cp/minsym-fallback.exp: New file.
1244         * gdb.cp/minsym-fallback.h: New file.
1245
1246 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1247
1248         * gdb.cp/no-dmgl-verbose.cc: New file.
1249         * gdb.cp/no-dmgl-verbose.exp: New file.
1250
1251 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1252
1253         * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1254         __GI_.
1255         * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1256         (f): New function.
1257         * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1258         (complete p 'func<short>(): ... here.
1259         * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1260         * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1261         * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1262         * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
1263         Make them KFAIL gcc/49546.
1264
1265 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1266
1267         * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
1268
1269 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1270
1271         Test GCC PR debug/49546.
1272         * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
1273         (test type of F in k3_m, test value of F in k3_m): New.
1274         * gdb.cp/temargs.cc (struct S3, struct K3): New.
1275         (main): New variable k3.  Call k3.k3_m.
1276
1277 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
1278
1279         * gdb.ada/packed_array.exp: Fix expected outout.
1280
1281 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
1282
1283         * gdb.ada/packed_array.exp: fixed expected output.
1284
1285 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1286
1287         * gdb.ada/same_enum: New testcase.
1288
1289 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1290
1291         * gdb.ada/ptr_typedef: New testcase.
1292
1293 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1294
1295         * gdb.ada/arrayptr.exp: Add ptype test.
1296
1297 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1298
1299         * gdb.ada/char_enum: New testcase.
1300
1301 2011-07-01  Yao Qi  <yao@codesourcery.com>
1302
1303         * gdb.base/dump.exp (capture_pointer_with_type): New.
1304         Get value from address instead of name.
1305         Start GDB once, and do `dump' and `restore'
1306         tests together.
1307
1308 2011-06-30  Jie Zhang <jie.zhang@analog.com>
1309             Mike Frysinger  <vapier@gentoo.org>
1310
1311         * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
1312         helper functions for getting/setting remotetimeout variable.
1313         * lib/gdb.exp (gdb_load): If the target is remote, set
1314         $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
1315         with $loadtimeout.  Set $load_ok to 0 before doing the load.
1316         Instead of returning, immediately, set $load_ok to 0.  Call
1317         set_remotetimeout with $oldremotetimeout, and then return if
1318         $load_ok is 1.
1319
1320 2011-06-30  Andrew Burgess  <aburgess@broadcom.com>
1321
1322         * gdb.python/py-template.exp: Don't run this test if the target
1323         does not support c++ tests.
1324
1325 2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1326
1327         Fix non-only rename list for Fortran modules import.
1328         * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
1329         tests.
1330         * gdb.fortran/module.f90 (module moduse): New.
1331         (program module): use moduse, test var_x, var_y and var_z.
1332
1333 2011-06-29  Tom Tromey  <tromey@redhat.com>
1334
1335         PR testsuite/12040:
1336         * gdb.fortran/array-element.exp: Use f90, not f77.
1337         * gdb.fortran/complex.exp: Use f90, not f77.
1338         * gdb.fortran/derived-type.exp: Use f90, not f77.
1339         * gdb.fortran/library-module.exp: Use f90, not f77.
1340         * gdb.fortran/logical.exp: Use f90, not f77.
1341         * gdb.fortran/module.exp: Use f90, not f77.
1342         * gdb.fortran/multi-dim.exp: Use f90, not f77.
1343         * gdb.fortran/subarray.exp: Use f90, not f77.
1344
1345 2011-06-29  Tom Tromey  <tromey@redhat.com>
1346
1347         * gdb.fortran/charset.exp: New file.
1348         * gdb.fortran/charset.f90: New file.
1349
1350 2011-06-29  Tom Tromey  <tromey@redhat.com>
1351
1352         PR testsuite/12040:
1353         * lib/future.exp: New file, mostly extracted from ada.exp.
1354         Rewrote compatibility code to use rename.
1355         (gdb_find_gfortran): New proc.
1356         (gdb_default_target_compile): Refresh from dejagnu; plus a pending
1357         gfortran patch.
1358         * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
1359         Move to future.exp.
1360         * lib/gdb.exp: Always load future.exp.
1361
1362 2011-06-28  Yao Qi  <yao@codesourcery.com>
1363
1364         * gdb.cp/exception.cc: Don't include iostream.
1365         (bar): Remove print statement.
1366         (catcher): New.
1367         (main): Remove print statements.  Call function catcher.
1368         * gdb.cp/exception.exp : Don't match inferior's output in regexp.
1369         Set breakpoint on catcher, and check the value of parameter.
1370
1371 2011-06-23  Yao Qi  <yao@codesourcery.com>
1372
1373         * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1374         1.2 is disabled.  KFAIL for uclinux.
1375
1376 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1377
1378         * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
1379         mi_gdb_test.
1380
1381 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1382
1383         * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
1384
1385 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1386
1387         * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
1388
1389 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1390
1391         * gdb.mi/mi2-basics.exp: Fix races.  Honour the
1392         `test_exec_and_symbol_mi_operatons' return value.
1393         (test_mi_interpreter_selection): Use mi_gdb_test instead of
1394         gdb_test_multiple.
1395         (test_exec_and_symbol_mi_operatons): Likewise.
1396         (test_path_specification): Likewise.
1397
1398 2011-06-23  Yao Qi  <yao@codesourcery.com>
1399
1400         * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
1401         supported.
1402         * lib/gdb.exp (support_displaced_stepping): New.
1403
1404 2011-06-23  Yao Qi  <yao@codesourcery.com>
1405
1406         * gdb.threads/execl.exp: Skip on remote target.
1407
1408 2011-06-21  Marek Polacek  <mpolacek@redhat.com>
1409
1410         * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
1411         mi_gdb_test.
1412
1413 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
1414
1415         * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1416
1417 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
1418
1419         * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
1420         mi_gdb_test.
1421
1422 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
1423
1424         * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
1425
1426 2011-06-14  Yao Qi  <yao@codesourcery.com>
1427
1428         gdb/testsuite/
1429         * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
1430
1431 2011-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1432
1433         * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
1434
1435 2011-06-10  Tom Tromey  <tromey@redhat.com>
1436
1437         * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
1438         Add tests for pointer-to-member-function.
1439         * gdb.cp/temargs.cc (S::somefunc): New function.
1440         (K2): New class.
1441         (main): Instantiate K2; call method.
1442
1443 2011-06-08  Joel Brobecker  <brobecker@adacore.com>
1444
1445         * gdb.python/py-inferior.c (f2): Make str an array rather
1446         than a pointer.
1447         * gdb.python/py-inferior.exp: Adjust testcase accordingly.
1448
1449 2011-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1450
1451         * gdb.base/async-shell.c: New file.
1452         * gdb.base/async-shell.exp: New file.
1453
1454 2011-06-06  Pedro Alves  <pedro@codesourcery.com>
1455
1456         * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
1457
1458 2011-06-03  Joel Brobecker  <brobecker@adacore.com>  (obvious fix)
1459
1460         From Stephen Kitt  <steve@sk2.org>
1461         * gdb.base/help.exp: Adjust following some spelling corrections
1462         in GDB.
1463
1464 2011-06-01  Yao Qi  <yao@codesourcery.com>
1465
1466         * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
1467
1468 2010-05-31  Keith Seitz  <keiths@redhat.com>
1469
1470         PR c++/12750
1471         * gdb.cp/static-method.cc: New file.
1472         * gdb.cp/static-method.exp: New file.
1473
1474 2010-05-31  Keith Seitz  <keiths@redhat.com>
1475
1476         PR symtab/12704
1477         * gdb.cp/anon-ns.cc: New file.
1478         * gdb.cp/anon-ns.exp: New file.
1479
1480 2011-05-31  Pedro Alves  <pedro@codesourcery.com>
1481
1482         * gdb.arch/i386-dr3-watch.c: New file.
1483         * gdb.arch/i386-dr3-watch.exp: New file.
1484
1485 2011-05-30  Yao Qi  <yao@codesourcery.com>
1486
1487         * gdb.base/callfuncs.c (t_structs_fc): New.
1488         (t_structs_dc, t_structs_ldc): New.
1489         (t_double_many_args):
1490         (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
1491         (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
1492         (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
1493         * gdb.base/callfuncs.exp: Call new functions.
1494
1495 2011-05-30  Yao Qi  <yao@codesourcery.com>
1496
1497         * gdb.base/callfuncs.exp (rerun_and_prepare): New.
1498         Call rerun_and_prepare for each test to isolate effects.
1499
1500 2011-05-30  Yao Qi  <yao@codesourcery.com>
1501
1502         * gdb.base/varargs.c (find_max_float_real): New.
1503         (find_max_double_real, find_max_long_double_real): New.
1504         * gdb.base/varargs.exp: Call these new added functions.
1505         * lib/gdb.exp (setup_kfail_for_target): New.
1506
1507 2011-05-30  Yao Qi  <yao@codesourcery.com>
1508
1509         * gdb.base/funcargs.c (callca, callcb, callcc): New.
1510         (callcd, callce, callcf, callc1a, callc1b): New.
1511         (callc2a, callc2b): New.
1512         * gdb.base/funcargs.exp (complex_args): New.
1513         (complex_integral_args, complex_float_integral_args): New.
1514         * lib/gdb.exp (support_complex_tests): New.  Determine
1515         whether to run test cases on _Complex types.
1516
1517 2011-05-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1518
1519         * gdb.threads/leader-exit.c: New file.
1520         * gdb.threads/leader-exit.exp: New file.
1521
1522 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
1523
1524         * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
1525
1526 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
1527
1528         * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
1529         remove the `supported' variable.
1530         * gdb.mi/mi-nonstop.exp: Likewise.
1531         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1532         * gdb.mi/mi-nsintrall.exp: Likewise.
1533         * gdb.mi/mi-nsmoribund.exp: Likewise.
1534         * gdb.mi/mi-nsthrexec.exp: Likewise.
1535
1536 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
1537
1538         * gdb.reverse/finish-reverse-bkpt.exp: New test.
1539
1540 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
1541
1542         * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
1543
1544 2011-05-24  Keith Seitz  <keiths@redhat.com>
1545
1546         PR breakpoint/12803
1547         * gdb.cp/cmpd-minsyms.cc (a): New method.
1548         (b): New method.
1549         (c): New method.
1550         * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
1551
1552 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
1553
1554         * gdb.base/commands.exp (watchpoint_command_test): Check that the
1555         watchpoint's command list didn't execute when the watchpoint went
1556         out of scope.
1557
1558 2011-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
1559
1560         Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
1561         * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
1562         * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
1563         * gdb.arch/i386-gnu-cfi.exp: Likewise.
1564         * gdb.arch/i386-permbkpt.exp: Likewise.
1565         * gdb.arch/i386-prologue.exp: Likewise.
1566         * gdb.arch/i386-size-overlap.exp: Likewise.
1567         * gdb.arch/i386-size.exp: Likewise.
1568         * gdb.arch/i386-unwind.exp: Likewise.
1569         * gdb.reverse/i386-precsave.exp: Likewise.
1570         * gdb.reverse/i386-reverse.exp: Likewise.
1571         * gdb.reverse/i386-sse-reverse.exp: Likewise.
1572         * gdb.reverse/i387-env-reverse.exp: Likewise.
1573         * gdb.reverse/i387-stack-reverse.exp: Likewise.
1574
1575 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
1576
1577         * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
1578         file doesn't error, using MI.
1579
1580 2011-05-23  Tom Tromey  <tromey@redhat.com>
1581
1582         * gdb.base/charset.exp (string_display): Add tests to assign to
1583         arrays.
1584         * gdb.base/charset.c (short_array, int_array, long_array): New.
1585
1586 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
1587
1588         Cope with async mode.
1589
1590         * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
1591         into gdb_test + mi_expect_stop.
1592
1593 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
1594
1595         * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
1596         (callme): Remove printf call.
1597
1598 2011-05-20  Pierre Muller  <muller@ics.u-strasbg.fr>
1599
1600         * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
1601         quote pattern to avoid problems with Cygwin/mingw expect versions.
1602         * gdb.base/default.exp (show convenience): Use double
1603         quote pattern for regular expressions.
1604
1605 2011-05-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
1606
1607         Fix -readnow for -gdwarf-4 unused type units.
1608         * gdb.dwarf2/dw4-sig-type-unused.S: New file.
1609         * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
1610
1611 2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
1612
1613         * gdb.base/kill-after-signal.c: New file.
1614         * gdb.base/kill-after-signal.exp: New file.
1615
1616 2011-05-16  Pedro Alves  <pedro@codesourcery.com>
1617
1618         * gdb.ada/start.exp: Call untested with the correct test filename.
1619         * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
1620         test filename.  Make the test's binary unique.
1621         * gdb.arch/i386-signal.exp: Call untested with the correct test
1622         filename.
1623         * gdb.arch/i386-size-overlap.exp: Ditto.
1624         * gdb.arch/Makefile.in (EXECUTABLES): Update.
1625         * gdb.base/gcore-buffer-overflow.exp: Ditto.
1626         * gdb.cp/call-c.exp: Ditto.
1627         * gdb.mi/mi-reverse.exp: Call untested with the correct test
1628         filename.  Make the test's binary unique.
1629         * gdb.mi/Makefile.in (EXECUTABLES): Update.
1630         * gdb.python/py-mi.exp: Ditto.
1631         * gdb.python/Makefile.in (EXECUTABLES): Update.
1632         * gdb.reverse/i386-precsave.exp: Ditto.
1633         * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
1634         test filename.
1635         * gdb.reverse/i387-stack-reverse.exp: Ditto.
1636         * gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
1637         unique.
1638         * gdb.reverse/sigall-reverse.exp: Call untested with the correct
1639         test filename.
1640         * gdb.reverse/Makefile.in (EXECUTABLES): Update.
1641         * gdb.trace/tfile.exp: Ditto.
1642
1643 2011-05-14  Yao Qi  <yao@codesourcery.com>
1644
1645         * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
1646         type.
1647
1648 2011-05-13  Doug Evans  <dje@google.com>
1649
1650         * gdb.python/py-objfile-script.exp: New file.
1651         * gdb.python/py-objfile-script.c: New file.
1652         * gdb.python/py-objfile-script-gdb.py: New file.
1653         * testsuite/gdb.python/py-section-script.exp: Test
1654         "info auto-load-scripts".
1655
1656 2011-05-13  Tom Tromey  <tromey@redhat.com>
1657
1658         * gdb.dwarf2/clztest.exp: New file.
1659         * gdb.dwarf2/clztest.c: New file.
1660         * gdb.dwarf2/clztest.S: New file.
1661
1662 2011-05-13  Doug Evans  <dje@google.com>
1663
1664         * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
1665         String16 tests.
1666
1667 2011-05-13  Tom Tromey  <tromey@redhat.com>
1668
1669         * lib/gdb.exp (is_x86_like_target): New proc.
1670         * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
1671         * gdb.dwarf2/valop.exp: Use is_x86_like_target.
1672         * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
1673         -nostdlib to compiler.
1674         * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
1675         * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
1676         * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
1677         * gdb.dwarf2/dw2-restore.exp: Check for LP64.
1678         * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
1679
1680 2011-05-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
1681
1682         * gdb.python/py-function.exp: Test setting a value from a function
1683         which executes a command.
1684
1685 2011-05-12  Tom Tromey  <tromey@redhat.com>
1686
1687         * gdb.dwarf2/typeddwarf.S: New file.
1688         * gdb.dwarf2/typeddwarf.c: New file.
1689         * gdb.dwarf2/typeddwarf.exp: New file.
1690
1691 2011-05-12  Marek Polacek  <mpolacek@redhat.com>
1692
1693         * gdb.mi/mi-basics.exp: Fix races.  Honour the
1694         `test_exec_and_symbol_mi_operatons' return value.
1695         (test_mi_interpreter_selection): Use mi_gdb_test instead of
1696         gdb_test_multiple.
1697         (test_exec_and_symbol_mi_operatons): Likewise.
1698         (test_path_specification): Likewise.
1699
1700 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1701
1702         * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
1703         (gdb_touch_execfile): Remove catch wrappers.  New variable time.
1704         Replace `file copy' and `file rename' by `file mtime'.  Twice.
1705
1706 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1707
1708         * gdb.base/readline-ask.c: New file.
1709         * gdb.base/readline-ask.exp: New file.
1710         * gdb.base/readline-ask.inputrc: New file.
1711
1712 2011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
1713
1714         * gdb.cell/bt.exp: Delete breakpoints before running to signal
1715         to avoid race condition.
1716         * gdb.cell/coremaker.c: Use small stack size.
1717         * gdb.cell/ea-standalone.exp: Use file name without path as
1718         argument to c_to.
1719         * gdb.cell/fork.exp: Allow other output when continuing to end.
1720
1721 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1722
1723         * gdb.threads/corethreads.c: New file.
1724         * gdb.threads/corethreads.exp: New file.
1725
1726 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1727
1728         * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
1729         Try to compile the test using -Wl,-z,norelro first.
1730         (load_core): New variable libthread_db_seen, initialize it.
1731         (zeroed-threads cannot be listed): Protect it by XFAIL on
1732         !$libthread_db_seen.
1733
1734 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1735
1736         PR 12573
1737         * gdb.dwarf2/dw2-skip-prologue.S: New file.
1738         * gdb.dwarf2/dw2-skip-prologue.c: New file.
1739         * gdb.dwarf2/dw2-skip-prologue.exp: New file.
1740
1741 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1742
1743         * gdb.cp/psymtab-parameter.cc: New file.
1744         * gdb.cp/psymtab-parameter.exp: New file.
1745
1746 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1747
1748         Fix a race.
1749         * gdb.cp/static-print-quit.exp (print c): Split to ...
1750         (print c - <return>, print c - q <return>, print c - to quit):
1751         ... these.  Make the testfile untested on gdb-7.1.
1752
1753 2011-5-05  Janis Johnson  <janisjo@codesourcery.com>
1754
1755         * lib/gdb.exp (exec_target_file, exec_symbol_file,
1756         gdb_rename_execfile, gdb_touch_execfile): New.
1757         * gdb.base/reread.exp: Use new procs to handle multiple
1758         exec files.
1759
1760 2011-05-05  Yao Qi  <yao@codesourcery.com>
1761
1762         * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
1763         (test_adr_32bit, test_pop_pc): New.
1764         * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
1765         (test_adr_32bit, test_pop_pc): New.
1766
1767 2011-05-04  Joseph Myers  <joseph@codesourcery.com>
1768
1769         * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
1770         * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
1771         targets.
1772         * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
1773         handle targets.
1774
1775 2011-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1776
1777         * gdb.base/completion.exp (complete help info wat): Rename to ...
1778         (complete 'help info wat'): ... here.
1779         Remove all `-re ".*' and `-re "^.*' redundant regexes.
1780         (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
1781
1782 2011-05-04  Pedro Alves  <pedro@codesourcery.com>
1783
1784         * gdb.base/completion.exp: Use gdb_test_multiple instead of
1785         gdb_test and explicit $gdb_prompt/timeout matches.
1786
1787 2011-05-04  Yao Qi  <yao@codesourcery.com>
1788
1789         * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
1790         and __thumb2__.
1791
1792 2011-05-03  Marek Polacek  <mpolacek@redhat.com>
1793
1794         * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
1795         in place of `gdb_test "delete breakpoints"'.  This eliminates two
1796         testcases.
1797
1798 2011-05-02  Pedro Alves  <pedro@codesourcery.com>
1799
1800         PR testsuite/12649
1801         Fix races.
1802
1803         * gdb.base/completion.exp: Remove all sleep calls.  Remove
1804         unnecessary regexs.  Don't explicitly expect anything after the
1805         prompt.  Eat the prompt if necessary.
1806
1807 2011-05-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1808
1809         * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
1810         accept to show the caller line again as well as the line after.
1811
1812 2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>
1813
1814         PR mi/12531
1815
1816         * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
1817         compile target.
1818         * gdb.python/py-prettyprint.exp: Add C++ object for
1819         CPLUS_FAKE_CHILD test.
1820
1821 2011-04-28  Ulrich Weigand  <ulrich.weigand@linaro.org>
1822
1823         * gdb.base/signest.exp: New file.
1824         * gdb.base/signest.c: Likewise.
1825
1826 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1827
1828         * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
1829         thread and breakpoint notifications.
1830
1831 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1832
1833         * gdb.base/fortran-sym-case.c: New file.
1834         * gdb.base/fortran-sym-case.exp: New file.
1835         * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
1836         * gdb.dwarf2/dw2-case-insensitive.c: New file.
1837         * gdb.dwarf2/dw2-case-insensitive.exp: New file.
1838
1839 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1840
1841         * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
1842         * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
1843         false #1', `if true else false #2' and `if true else false #3'.
1844
1845 2011-04-27  Ulrich Weigand  <ulrich.weigand@linaro.org>
1846
1847         * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
1848         while delivering signal.
1849
1850 2011-04-27  Vladimir Prus  <vladimir@codesourcery.com>
1851
1852         MI breakpoint notifications.
1853
1854         * testsuite/gdb.mi/mi-cli.exp: Adust.
1855         * testsuite/gdb.mi/mi2-cli.exp: Adust.
1856         * testsuite/gdb.mi/mi-watch.exp: Adust.
1857         * testsuite/gdb.mi/mi2-watch.exp: Adust.
1858         * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
1859         notifications.
1860
1861 2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1862
1863         * gdb.base/gdbindex-stabs-dwarf.c: New file.
1864         * gdb.base/gdbindex-stabs.c: New file.
1865         * gdb.base/gdbindex-stabs.exp: New file.
1866
1867 2011-04-25  Yao Qi  <yao@codesourcery.com>
1868
1869         * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
1870         with /*...*/.
1871         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
1872
1873 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1874
1875         * gdb.python/py-value.exp (test_objfiles): Name the first test
1876         `py-value in file.filename'.
1877
1878 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1879
1880         * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
1881         * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
1882         * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
1883         !gdbserver_reconnect_p..
1884         (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
1885
1886 2011-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
1887
1888         * gdb.cp/cpcompletion.exp (complete class methods)
1889         (complete class methods beginning with F): Move them above runto.  New
1890         comment about the runto delimiter.
1891
1892 2011-04-20  Pedro Alves  <pedro@codesourcery.com>
1893
1894         * gdb.base/maint.exp: Test that "maint print registers" works
1895         without a running program.
1896
1897 2011-04-20  Marek Polacek  <mpolacek@redhat.com>
1898
1899         * gdb.base/setshow.exp: Fix racy tests.
1900         ($old_gdb_prompt): New variable.
1901
1902 2011-04-19  Tom Tromey  <tromey@redhat.com>
1903
1904         * gdb.mi/mi-nsmoribund.exp:
1905         * gdb.hp/gdb.objdbg/objdbg01.exp:
1906         * gdb.base/structs.exp (test_struct_returns):
1907         * gdb.base/call-sc.exp (test_scalar_returns):
1908         * gdb.base/bigcore.exp: Remove duplicate words.
1909
1910 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1911
1912         * gdb.base/break-interp-lib.c (v, vptr): New variables.
1913         * gdb.base/break-interp.exp (test_attach): New comment.
1914
1915 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1916
1917         * gdb.threads/gcore-thread.exp ($core0file): New variable.
1918         (clear __stack_user.next, clear stack_used.next)
1919         (save a zeroed-threads corefile): New test.
1920         Call core_load for $core0file.
1921         (zeroed-threads cannot be listed): New test.
1922
1923 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1924
1925         * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
1926         filename.
1927         ($srcfile): Preserve the original value.
1928         ($testfile): Match it the .exp filename.
1929         ($corefile): New variable.  Substitute it around.
1930         Use clean_restart.
1931         ($prev_timeout): Remove.
1932         (load_core): Move core loading into this proc.
1933         Fix restore of $timeout if load_core fails.
1934
1935 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1936
1937         * gdb.base/eu-strip-infcall.c: New file.
1938         * gdb.base/eu-strip-infcall.exp: New file.
1939
1940 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1941
1942         * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
1943         * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
1944
1945 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1946
1947         Fix Python access to inlined frames.
1948         * gdb.python/py-frame-inline.c: New file.
1949         * gdb.python/py-frame-inline.exp: New file.
1950
1951 2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1952
1953         * gdb.base/gdb1090.exp: Change breakpoint location to read the
1954         content of 's24' correctly (avoiding "optimized out").
1955         * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
1956
1957 2011-04-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1958
1959         * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
1960
1961 2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
1962
1963         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
1964         expect a colon in watch -location output.
1965
1966 2011-04-13  Marek Polacek  <mpolacek@redhat.com>
1967
1968         * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
1969         New testcase `expect response to define backtrace'.  Also remove
1970         redundant `default' block.
1971
1972 2011-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1973
1974         * gdb.python/py-prettyprint.c (struct hint_error): New.
1975         (main): New variable hint_error.
1976         * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
1977         "print hint_error".
1978         * gdb.python/py-prettyprint.py (class pp_hint_error): New.
1979         (register_pretty_printers): Register it.
1980
1981 2011-04-04  Tom Tromey  <tromey@redhat.com>
1982
1983         * gdb.cp/maint.exp (test_help): Update.
1984         (test_namespace): Likewise.
1985
1986 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
1987
1988         * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
1989         * gdb.ada/arrayptr.exp: Add new tests.
1990
1991 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
1992
1993         * gdb.ada/mi_catch_ex: New testcase.
1994
1995 2011-04-01  Pedro Alves  <pedro@codesourcery.com>
1996
1997         * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
1998         base::overload(void) method without specifying "const".
1999
2000 2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
2001
2002         * gdb.arch/thumb-singlestep.S: New file.
2003         * gdb.arch/thumb-singlestep.exp: Likewise.
2004
2005 2011-03-31  Tom Tromey  <tromey@redhat.com>
2006
2007         * gdb.python/py-prettyprint.py (exception_flag): New global.
2008         (NoStringContainerPrinter._iterator.next): Check it.
2009         * gdb.python/py-prettyprint.c (main): New variable nstype2.
2010         * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2011
2012 2011-03-29  Tom Tromey  <tromey@redhat.com>
2013
2014         * gdb.cp/anon-struct.cc: New file.
2015         * gdb.cp/anon-struct.exp: New file.
2016
2017 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2018
2019         Test STT_GNU_IFUNC support.
2020         * gdb.base/gnu-ifunc-lib.c: New file.
2021         * gdb.base/gnu-ifunc.c: New file.
2022         * gdb.base/gnu-ifunc.exp: New file.
2023
2024 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2025
2026         Support a ring of related breakpoints.
2027         * gdb.base/watchpoint-delete.c: New file.
2028         * gdb.base/watchpoint-delete.exp: New file.
2029
2030 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2031
2032         * gdb.ada/arrayparam.exp (print first after function call): Use
2033         explicit package name.  Add a comment
2034         (print lasta after function call): Rename ...
2035         (print last after function call): ... it and use explicit package
2036         name.
2037         (print length after function call): Use explicit package name.
2038         * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
2039         * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
2040         (multiple matches for symbol i): Rename ...
2041         (multiple matches for symbol integervar): ... it.
2042         * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
2043         * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2044
2045 2011-03-25  Andrew Burgess  <aburgess@broadcom.com>
2046
2047         * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
2048         environment variable to make grep output more predictable. Move
2049         all the environment setup into gdb_init so it's done once per test
2050         case rather than each time we start gdb.
2051
2052 2011-03-24  Tom Tromey  <tromey@redhat.com>
2053
2054         * gdb.base/label.exp: Use `main:there' linespec.  Add re-running
2055         test.
2056
2057 2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
2058
2059         * gdb.dwarf2/dw2-entry-value-main.c: New file.
2060         * gdb.dwarf2/dw2-entry-value.S: New file.
2061         * gdb.dwarf2/dw2-entry-value.exp: New file.
2062
2063 2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
2064
2065         PR python/12183
2066
2067         * gdb.python/py-function.exp: Add GdbError tests.
2068
2069 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
2070
2071         * gdb.trace/unavailable.cc (args_test_func, local_test_func)
2072         (reglocal_test_func, statlocal_test_func): New functions.
2073         (globals_test_func): Call new functions.
2074         * gdb.trace/unavailable.exp (gdb_collect_args_test)
2075         (gdb_collect_locals_test): New procedure.
2076         (gdb_trace_collection_test): Call new procedures.
2077
2078 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
2079
2080         * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
2081         (test_register, test_register_unavailable): New procedures.
2082         (gdb_unavailable_registers_test): New procedure.
2083         (gdb_trace_collection_test): Call it.
2084
2085 2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
2086
2087         PR python/12149
2088
2089         * gdb.python/python.exp: Add gdb.write tests.
2090
2091 2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
2092
2093         * gdb.python/Makefile.in: Add py-objfile.
2094         * gdb.python/py-objfile.exp: New file.
2095         * gdb.python/py-objfile.c: New file.
2096         * gdb.python/py-block.exp: Add is_valid tests.
2097         * gdb.python/py-inferior.exp: Ditto.
2098         * gdb.python/py-infthread.exp: Ditto.
2099         * gdb.python/py-symbol.exp: Ditto.
2100         * gdb.python/py-symtab.exp: Ditto.
2101
2102 2011-03-16  Keith Seitz  <keiths@redhat.com>
2103
2104         PR c++/12273
2105         * gdb.cp/cmpd-minsyms.exp: New test.
2106         * gdb.cp/cmpd-minsyms.cc: New file.
2107
2108         PR c++/11734
2109         * gdb.cp/ovsrch.exp: New test.
2110         * gdb.cp/ovsrch.h: New file.
2111         * gdb.cp/ovsrch1.cc: New file.
2112         * gdb.cp/ovsrch2.cc: New file.
2113         * gdb.cp/ovsrch3.cc: New file.
2114         * gdb.cp/ovsrch4.cc: New file.
2115
2116 2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
2117
2118         PR gdb/12528
2119         * gdb.base/Makefile.in: Adjust EXECUTABLES.
2120         * gdb.base/break-on-linker-gcd-function.exp: New test.
2121         * gdb.base/break-on-linker-gcd-function.cc: New file.
2122
2123 2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
2124
2125         * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2126
2127 2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
2128
2129         * lib/gdb.exp (gdb_unload): Add another termination case.
2130
2131 2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2132
2133         * gdb.dwarf2/dw2-empty-pc-range.S: New file.
2134         * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
2135         * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
2136         Provide a stub byte there.
2137         (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
2138         DW_AT_entry_pc.
2139         (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2140
2141 2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
2142
2143         * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
2144         using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
2145         "generic ABI, auto".
2146         (altivec_abi_tests): Accept vectors returned by reference.
2147
2148 2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
2149
2150         * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2151
2152 2011-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
2153
2154         * gdb.python/py-section-script.exp: Skip test if no Python support.
2155
2156 2011-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
2157
2158         * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2159
2160 2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
2161
2162         * gdb.python/py-parameter.exp: Update tests to the new Python
2163         parameter API. Add "no documentation" test.  Add deprecated API
2164         backward compatibility test.
2165
2166 2011-03-09  Tom Tromey  <tromey@redhat.com>
2167
2168         * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
2169         gdb_continue_to_end.
2170
2171 2011-03-09  Mark Kettenis  <kettenis@gnu.org>
2172
2173         * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
2174         tabs.
2175
2176 2011-03-09  Tom Tromey  <tromey@redhat.com>
2177
2178         * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
2179         parentheses.
2180         (gdb_continue_to_end): Add "allow_extra" parameter.  Use
2181         $command.
2182         * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
2183         argument to gdb_continue_to_end.
2184         * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
2185         argument to gdb_continue_to_end.
2186         * gdb.cp/annota3.exp: Fix regex.
2187         * gdb.cp/annota2.exp: Fix regex.
2188         * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
2189         gdb_continue_to_end.
2190         * gdb.base/call-signal-resume.exp: Revert earlier patch.
2191         * gdb.ada/tasks.exp: Pass "allow_extra" argument to
2192         gdb_continue_to_end.
2193
2194 2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2195
2196         * gdb.server/ext-run.exp
2197         (load new file without any gdbserver inferior): New test.
2198
2199 2011-03-07  Tom Tromey  <tromey@redhat.com>
2200
2201         * Makefile.in (TAGS): Rewrite.
2202
2203 2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2204
2205         * gdb.trace/report.exp (12.1: trace report #1): New match for the
2206         initial commands echo.  New match for `Found trace'.  Anchor all the
2207         other matches.  Anchor and match for `No trace frame found' the final
2208         match.
2209
2210 2011-03-07  Tom Tromey  <tromey@redhat.com>
2211
2212         * Makefile.in (TAGS): New target.
2213
2214 2011-03-07  Tom Tromey  <tromey@redhat.com>
2215
2216         * lib/opencl.exp (skip_opencl_tests): Update for exit message
2217         change.
2218         * lib/mi-support.exp (mi_gdb_test): Update for exit message
2219         change.
2220         * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
2221         exit message change.
2222         (skip_altivec_tests): Update for exit message change.
2223         (skip_vsx_tests): Likewise.
2224         (gdb_continue_to_end): Likewise.  Add 'command' argument.
2225         * lib/cell.exp (skip_cell_tests): Update for exit message change.
2226         * gdb.threads/tls.exp: Update for exit message change.
2227         * gdb.threads/thread-unwindonsignal.exp: Use
2228         gdb_continue_to_end.
2229         * gdb.threads/step.exp (step_it): Update for exit message change.
2230         (continue_all): Likewise.
2231         * gdb.threads/print-threads.exp (test_all_threads): Update for
2232         exit message change.
2233         * gdb.threads/interrupted-hand-call.exp: Use
2234         gdb_continue_to_end.
2235         * gdb.threads/execl.exp: Use gdb_continue_to_end.
2236         * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2237         gdb_continue_to_end.
2238         * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2239         * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2240         * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2241         * gdb.cp/method.exp: Update for exit message change.
2242         * gdb.cp/mb-templates.exp: Update for exit message change.
2243         * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2244         * gdb.cp/annota3.exp: Update for exit message change.
2245         * gdb.cp/annota2.exp: Update for exit message change.
2246         * gdb.cell/fork.exp: Use gdb_continue_to_end.
2247         * gdb.base/term.exp: Update for exit message change.
2248         * gdb.base/step-test.exp (test_i): Update for exit message change.
2249         * gdb.base/sigstep.exp (advance): Update for exit message change.
2250         (advancei): Likewise.
2251         * gdb.base/siginfo.exp: Update for exit message change.
2252         * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2253         * gdb.base/reread.exp: Use gdb_continue_to_end.
2254         * gdb.base/langs.exp: Use gdb_continue_to_end.
2255         * gdb.base/interrupt.exp: Update for exit message change.
2256         * gdb.base/gdb1555.exp: Update for exit message change.
2257         * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2258         * gdb.base/ending-run.exp: Update for exit message change.
2259         * gdb.base/chng-syms.exp: Update for exit message change.
2260         * gdb.base/checkpoint.exp: Update for exit message change.
2261         * gdb.base/catch-syscall.exp (check_for_program_end): Use
2262         gdb_continue_to_end.
2263         (test_catch_syscall_with_wrong_args): Likewise.
2264         * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
2265         * gdb.base/break-interp.exp (test_ld): Update for exit message
2266         change.
2267         * gdb.base/bang.exp: Update for exit message change.
2268         * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
2269         (do_call_attach_tests): Likewise.
2270         * gdb.base/a2-run.exp: Update for exit message change.
2271         * gdb.arch/ppc-dfp.exp: Update for exit message change.
2272         * gdb.ada/tasks.exp: Use gdb_continue_to_end.
2273         * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2274
2275 2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
2276
2277         * gdb.base/help.exp (help thread find): Fix one forgotten quote.
2278
2279 2011-03-03  Tom Tromey  <tromey@redhat.com>
2280
2281         * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
2282         * gdb.hp/gdb.aCC/configure (Makefile): Remove.
2283         * gdb.hp/gdb.aCC/configure.ac: Remove.
2284         * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
2285         * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
2286         * gdb.hp/gdb.base-hp/configure.ac: Remove.
2287         * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
2288         * gdb.hp/gdb.compat/configure (Makefile): Remove.
2289         * gdb.hp/gdb.compat/configure.ac: Remove.
2290         * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
2291         * gdb.hp/gdb.defects/configure (Makefile): Remove.
2292         * gdb.hp/gdb.defects/configure.ac: Remove.
2293         * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
2294         * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
2295         * gdb.hp/gdb.objdbg/configure.ac: Remove.
2296         * gdb.hp/configure.ac: Remove.
2297         * gdb.hp/configure: Remove.
2298         * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
2299         substitution.
2300         (Makefile): Remove rule.
2301         * gdb.cell/configure.ac: Remove.
2302         * gdb.cell/configure: Remove.
2303         * gdb.stabs/Makefile.in (Makefile): Remove.
2304         (distclean): Don't remove config.status or config.log.
2305         * gdb.stabs/configure (Makefile): Remove.
2306         * gdb.stabs/configure.ac: Remove.
2307         * configure: Rebuild.
2308         * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
2309         Remove stabs- and cell-specific logic.  Test for existence of
2310         ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
2311         subdirectories, gdb.cell, and and gdb.stabs.
2312         * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2313
2314 2011-03-03  Joel Brobecker  <brobecker@adacore.com>
2315
2316         * gdb.python/py-inferior.exp: Avoid searching pattern beyond
2317         end of buffer.
2318
2319 2011-03-02  Joel Brobecker  <brobecker@adacore.com>
2320
2321         * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
2322         gdb_test when running a test where we expected no output back.
2323
2324 2011-02-28  Michael Snyder  <msnyder@vmware.com>
2325
2326         * gdb.cp/overload.cc: Change initializer value to integer.
2327
2328 2011-02-27  Michael Snyder  <msnyder@vmware.com>
2329
2330         * gdb.multi/base.exp: Add test for remove-inferiors.
2331
2332 2011-02-26  Joel Brobecker  <brobecker@adacore.com>
2333
2334         * gdb.python/py-frame.exp: Simplify the initialization phase
2335         using prepare_for_testing.
2336
2337 2011-02-25  Michael Snyder  <msnyder@vmware.com>
2338
2339         * gdb.multi/base.exp: Add tests for info inferiors with args.
2340
2341 2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2342
2343         * gdb.dwarf2/dw2-ranges.S: Rename to ...
2344         * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
2345         * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
2346         Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
2347         asmfile3.  Comment the STABS (#3) file compilation.  Compile
2348         everything through assembler.  Provide KFAIL for symtab/12497.
2349         * gdb.dwarf2/dw2-ranges2.S: Rename to ...
2350         * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
2351         * gdb.dwarf2/dw2-ranges3.S: Rename to ...
2352         * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2353
2354 2011-02-24  Michael Snyder  <msnyder@vmware.com>
2355
2356         * gdb.base/break.exp: Add tests for delete breakpoints using
2357         convenience variables and value history references.
2358
2359 2011-02-24  Michael Snyder  <msnyder@vmware.com>
2360
2361         * gdb.base/break.exp: Remove debugging 'printf' accidentally
2362         left behind in previous check-in.
2363
2364 2011-02-23  Michael Snyder  <msnyder@vmware.com>
2365
2366         * gdb.base/break.exp: Add tests for "info break" with arguments.
2367         * gdb.trace/infotrace.exp: Update patterns for error and help.
2368         * gdb.base/completion.exp: Update pattern.
2369         * gdb.base/ena-dis-br.exp: Update pattern.
2370         * gdb.base/help.exp: Update patterns.
2371
2372 2011-02-23  Michael Snyder  <msnyder@vmware.com>
2373
2374         * gdb.base/memattr.exp: New test.
2375         * gdb.base/memattr.c: Test load for memattr.exp.
2376
2377 2011-02-22  Doug Evans  <dje@google.com>
2378
2379         * gdb.python/py-symbol.exp: Test lookup_global_symbol.
2380
2381 2011-02-22  Michael Snyder  <msnyder@vmware.com>
2382
2383         * Makefile.in: Make more clean.
2384         * gdb.ada/Makefile.in: Ditto.
2385         * gdb.arch/Makefile.in: Ditto.
2386         * gdb.asm/Makefile.in: Ditto.
2387         * gdb.base/Makefile.in: Ditto.
2388         * gdb.cp/Makefile.in: Ditto.
2389         * gdb.dwarf2/Makefile.in: Ditto.
2390         * gdb.java/Makefile.in: Ditto.
2391         * gdb.mi/Makefile.in: Ditto.
2392         * gdb.modula2/Makefile.in: Ditto.
2393         * gdb.python/Makefile.in: Ditto.
2394         * gdb.server/Makefile.in: Ditto.
2395         * gdb.stabs/Makefile.in: Ditto.
2396         * gdb.threads/Makefile.in: Ditto.
2397         * gdb.trace/Makefile.in: Ditto.
2398
2399 2011-02-22  Michael Snyder  <msnyder@vmware.com>
2400
2401         * gdb.threads/thread-find.exp: Add tests for bad input to
2402         info threads.
2403
2404 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
2405
2406         * gdb.python/py-breakpoint.exp: Fix the expected output of
2407         one of the "maint info breakpoints" tests to accept the output
2408         generated on platforms that do not have hardware watchpoints.
2409
2410 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
2411
2412         * gdb.python/py-breakpoint.exp: Remove unnecessary call to
2413         clean_restart.  Be a little stricter in the expected output
2414         for one of the tests.  Fix a typo in one of the comments.
2415
2416 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
2417
2418         * gdb.python/py-block.exp: Simplify using prepare_for_testing.
2419         Delete variable binfile, no longer use.  Add or modify test
2420         comments to make them unique.
2421
2422 2011-02-21  Michael Snyder  <msnyder@vmware.com>
2423
2424         * Makefile.in: Update for make clean.
2425         * gdb.ada/Makefile.in: Ditto.
2426         * gdb.arch/Makefile.in: Ditto.
2427         * gdb.asm/Makefile.in: Ditto.
2428         * gdb.base/Makefile.in: Ditto.
2429         * gdb.cp/Makefile.in: Ditto.
2430         * gdb.dwarf2/Makefile.in: Ditto.
2431         * gdb.java/Makefile.in: Ditto.
2432         * gdb.mi/Makefile.in: Ditto.
2433         * gdb.modula2/Makefile.in: Ditto.
2434         * gdb.python/Makefile.in: Ditto.
2435         * gdb.server/Makefile.in: Ditto.
2436         * gdb.stabs/Makefile.in: Ditto.
2437         * gdb.threads/Makefile.in: Ditto.
2438         * gdb.trace/Makefile.in: Ditto.
2439
2440 2011-02-21  Michael Snyder  <msnyder@vmware.com>
2441
2442         * gdb.threads/thread-find.exp: Update patterns for changes in
2443         output of "info threads" command.
2444
2445 2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2446             Ulrich Weigand  <uweigand@de.ibm.com>
2447
2448         * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
2449         (skip_hw_watchpoint_tests): Likewise.
2450         (skip_hw_watchpoint_multi_tests): Likewise.
2451
2452 2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
2453
2454         * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
2455         (skip_hw_watchpoint_tests): Likewise.
2456         (skip_hw_watchpoint_multi_tests): Likewise.
2457         (skip_hw_watchpoint_access_tests): Likewise.
2458
2459         * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
2460         * gdb.base/pr11022.exp: Likewise.
2461         * gdb.base/watch-read.exp: Likewise.
2462         * gdb.base/watch_thread_num.exp: Likewise.
2463         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2464         * gdb.base/watchpoint-hw.exp: Likewise.
2465         * gdb.base/watchpoint.exp: Likewise.
2466         * gdb.threads/local-watch-wrong-thread.exp: Likewise.
2467         * gdb.threads/watchthreads-reorder.exp: Likewise.
2468         * gdb.threads/watchthreads.exp: Likewise.
2469         * gdb.threads/watchthreads2.exp: Likewise.
2470
2471 2011-02-21  Joel Brobecker  <brobecker@adacore.com>
2472
2473         * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
2474         the debugger is unable to find the array bounds.
2475
2476 2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
2477
2478         * gdb.cp/typedef-operator.exp: New file.
2479         * gdb.cp/typedef-operator.cc: New file.
2480
2481 2011-02-17  Michael Snyder  <msnyder@vmware.com>
2482
2483         * gdb.threads/thread-find.exp: Fix regular expressions.
2484
2485 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
2486
2487         * gdb.ada/packed_array: Expand testcase to test printing of
2488         unconstrained packed array.
2489
2490 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
2491
2492         * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
2493
2494 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
2495
2496         * gdb.trace/collection.c (globalarr3): New global.
2497         (main): Initialize it before collecting, and and clear it
2498         afterwards.
2499         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2500         collecting with '{type} addr', where the addr expression is not an
2501         rvalue.
2502
2503 2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
2504
2505         * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
2506         a bool variable. Expect correct OpenCL names for vector types. Use the
2507         uc3 variable name instead of referring to the uchar3 built-in type.
2508         Escape the asterisk at the half pointer test.
2509
2510 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
2511
2512         * gdb.trace/collection.c (globalarr2): New global.
2513         (main): Initialize it before collecting, and and clear it
2514         afterwards.
2515         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2516         collecting overlapping memory ranges.
2517
2518 2011-02-15  Michael Snyder  <msnyder@vmware.com>
2519
2520         * gdb.base/default.exp: Add tests for thread commands.
2521         * gdb.base/help.exp: Add tests for thread commands.
2522         * gdb.threads/thread-find.exp: New test for thread find command.
2523
2524 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
2525
2526         * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
2527
2528 2011-02-15  Yao Qi  <yao@codesourcery.com>
2529
2530         PR tdep/12352
2531         * gdb.arch/arm-disp-step.S : New test for str instruction.
2532         * gdb.arch/arm-disp-step.exp : Likewise.
2533
2534 2011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2535
2536         * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
2537         "vector_register2_vr" test strings.  Test the extended floating
2538         point registers (F32~F63).
2539         * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
2540         IBM XL C compiler.  Make the test program use a register provided
2541         by the compiler for the lxvd2x instruction.
2542
2543 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2544
2545         * gdb.trace/unavailable.cc (class Base, class Middle, class
2546         Derived): New types.
2547         (derived_unavail, derived_partial, derived_whole): New globals.
2548         (virtual_partial): New global.
2549         (virtualp): Point at virtual_partial.
2550         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
2551         related to unavailable vptr.
2552
2553 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2554
2555         * gdb.trace/unavailable.cc (a, b, c): New globals.
2556         (main): Set and clear them.
2557         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
2558         `a' and `c', and check that `b' isn't collected, although `a' and
2559         `c' are.
2560
2561 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2562
2563         * gdb.trace/unavailable.cc (struct Virtual): New.
2564         (virtualp): New global pointer.
2565         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
2566         printing a pointer to an object whose type has a vtable, with
2567         print object on.
2568
2569 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2570
2571         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
2572         value repeat handles unavailableness.
2573
2574 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2575
2576         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
2577         tests for building arrays from unavailable values, subscripting
2578         non-memory rvalue unvailable arrays, and accessing fields or
2579         baseclasses of non-lazy unavailable values,
2580         * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
2581         struct types.
2582         (g_smallstruct, g_smallstruct_b): New globals.
2583
2584 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2585
2586         * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
2587
2588 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2589
2590         Fix const/volatile qualifiers of C++ types, PR c++/12328.
2591         * gdb.cp/overload-const.exp: New file.
2592         * gdb.cp/overload-const.cc: New file.
2593
2594 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
2595
2596         * gdb.opencl/callfuncs.cl: New file.
2597         * gdb.opencl/callfuncs.exp: New test.
2598         * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
2599
2600 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
2601
2602         * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
2603         when computing result.
2604         * gdb.arch/altivec-abi.exp: Update expected results.
2605
2606 2011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2607
2608         * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
2609         * gdb.base/jit.exp: Likewise.
2610         * gdb.base/pie-execl.exp: Likewise.
2611         * gdb.base/solib-nodir.exp: Likewise.
2612         * gdb.base/solib-overlap.exp: Likewise.
2613
2614 2011-02-07  Pedro Alves  <pedro@codesourcery.com>
2615
2616         * gdb.trace/collection.c (global_pieces): New.
2617         * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
2618         New procedure.
2619         (gdb_trace_collection_test): Call it.
2620
2621 2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
2622
2623         * gdb.python/py-evthreads.c: New file.
2624         * gdb.python/py-evthreads.exp: New file.
2625         * gdb.python/py-events.py: New file.
2626         * gdb.python/py-events.exp: New file.
2627         * gdb.python/py-events.c: New file.
2628
2629 2011-02-04 David Daney <ddaney@caviumnetworks.com>
2630
2631         * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
2632
2633 2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
2634
2635         * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
2636         gdb.base/disasm-end-cu.exp: New test for disassembling over the
2637         boundary between two compilation units.
2638
2639 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
2640
2641         * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
2642         (Virtual): New structs.
2643         (virtual_o, virtual_middle_b): New globals.
2644         * gdb.cp/virtbase.exp: New tests.
2645
2646 2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
2647
2648         * gdb.base/jit.exp: New file.
2649         * gdb.base/jit-main.c: New file.
2650         * gdb.base/jit-solib.c: New file.
2651
2652 2011-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
2653
2654         * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
2655         proceed to initial kernel entry point.
2656         * gdb.opencl/datatypes.exp: Likewise.
2657         * gdb.opencl/operators.exp: Likewise.
2658         * gdb.opencl/vec_comps.exp: Likewise.
2659
2660 2011-01-31  Sami Wagiaalla  <swagiaal@redhat.com>
2661
2662         * gdb.cp/nsnested.cc: New.
2663         * gdb.cp/nsnested.exp: New.
2664         * gdb.cp/nsnoimports.exp: New.
2665         * gdb.cp/nsnoimports.cc: New.
2666
2667 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
2668
2669         * gdb.base/interact.exp: Add extra tests that verify that
2670         the value of the interactive-mode setting does not change
2671         after the script is sourced.
2672
2673 2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
2674
2675         * gdb.cp/noparam.exp: New file.
2676         * gdb.cp/noparam.cc: New file.
2677
2678 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
2679
2680         * gdb.trace/tfile.exp: Test that with no traceframe selected,
2681         there's no stack or registers.
2682
2683 2011-01-26  Tom Tromey  <tromey@redhat.com>
2684
2685         * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
2686         space before string output.  Add test for "set print pretty off"
2687         case.
2688
2689 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
2690
2691         * gdb.base/frame-args.exp: Adjust.
2692         * gdb.dwarf2/dw2-noloc.exp: Adjust.
2693         * gdb.dwarf2/dw2-inline-param.exp: Adjust.
2694         * gdb.dwarf2/pieces.exp: Adjust.
2695         * gdb.opt/clobbered-registers-O2.exp: Adjust.
2696         * gdb.opt/inline-locals.exp: Adjust.
2697         * gdb.threads/fork-child-threads.exp: Adjust.
2698
2699 2011-01-25  Ken Werner  <ken.werner@de.ibm.com>
2700
2701         * gdb.opencl/convs_casts.cl: Move program scope variables into the
2702         OpenCL kernel function. Add a comment as marker. Add address space
2703         qualifiers for the remaining program scope variables.
2704         * gdb.opencl/datatypes.cl: Likewise.
2705         * gdb.opencl/operators.cl: Likewise.
2706         * gdb.opencl/vec_comps.cl: Likewise.
2707         * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
2708         Add breakpoint at the marker comment.
2709         * gdb.opencl/datatypes.exp: Likewise.
2710         * gdb.opencl/operators.exp: Likewise.
2711         * gdb.opencl/vec_comps.exp: Likewise.
2712
2713 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
2714
2715         * gdb.base/printcmds.c (some_struct): New struct and instance.
2716         * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
2717         procedure.
2718         <global scope>: Call it.
2719
2720 2011-01-21  Ken Werner  <ken.werner@de.ibm.com>
2721
2722         * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
2723         argument to the gdb_compile_opencl_hostapp call.
2724
2725 2011-01-19  Yao Qi  <yao@codesourcery.com>
2726
2727         * lib/dwarf.exp (dwarf2_support): Change supported targets to a
2728         positve list.
2729
2730 2011-01-19  Yao Qi  <yao@codesourcery.com>
2731
2732         * gdb.asm/asm-source.exp: Replace ARM target triplet with a
2733         canonical form.
2734         Remove "xscale-*-*"
2735         * gdb.xml/tdesc-regs.exp: Likewise.
2736         * gdb.python/py-section-script.exp: Replace ARM target triplet
2737         with canonical form.
2738         Match arm*-*-symbianelf*.
2739         * gdb.base/dup-sect.exp: Likewise.
2740         * lib/dwarf.exp: New.
2741         * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
2742         dwarf2_support.
2743         * gdb.dwarf2/dup-psym.exp: Likewise.
2744         * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
2745         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2746         * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
2747         * gdb.dwarf2/dw2-basic.exp: Likewise.
2748         * gdb.dwarf2/dw2-compressed.exp: Likewise.
2749         * gdb.dwarf2/dw2-const.exp: Likewise.
2750         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
2751         * gdb.dwarf2/dw2-cu-size.exp: Likewise.
2752         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2753         * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
2754         * gdb.dwarf2/dw2-filename.exp: Likewise.
2755         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2756         * gdb.dwarf2/dw2-inline-param.exp: Likewise.
2757         * gdb.dwarf2/dw2-intercu.exp: Likewise.
2758         * gdb.dwarf2/dw2-intermix.exp: Likewise.
2759         * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
2760         * gdb.dwarf2/dw2-noloc.exp: Likewise.
2761         * gdb.dwarf2/dw2-op-call.exp: Likewise.
2762         * gdb.dwarf2/dw2-producer.exp: Likewise.
2763         * gdb.dwarf2/dw2-ranges.exp: Likewise.
2764         * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
2765         * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
2766         * gdb.dwarf2/dw2-strp.exp: Likewise.
2767         * gdb.dwarf2/dw2-unresolved.exp: Likewise.
2768         * gdb.dwarf2/implptr.exp: Likewise.
2769         * gdb.dwarf2/mac-fileno.exp: Likewise.
2770         * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
2771         * gdb.dwarf2/pieces.exp: Likewise.
2772         * gdb.dwarf2/pr11465.exp: Likewise.
2773         * gdb.dwarf2/valop.exp: Likewise.
2774         * gdb.dwarf2/watch-notconst.exp: Likewise.
2775         * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
2776
2777 2011-01-19  Tom Tromey  <tromey@redhat.com>
2778
2779         * gdb.python/py-infthread.exp: Add thread tests.
2780
2781 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
2782
2783         * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
2784
2785 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
2786
2787         * gdb.ada/widewide: New testcase.
2788
2789 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
2790
2791         * gdb.base/interact.exp: New testcase.
2792
2793 2011-01-12  Tom Tromey  <tromey@redhat.com>
2794
2795         * gdb.mi/gdb2549.exp: Update for error message changes.
2796         * gdb.mi/mi-cli.exp: Likewise.
2797         * gdb.mi/mi-disassemble.exp: Likewise.
2798         * gdb.mi/mi-pthreads.exp: Likewise.
2799         * gdb.mi/mi-regs.exp: Likewise.
2800         * gdb.mi/mi-stack.exp: Likewise.
2801         * gdb.mi/mi-var-block.exp: Likewise.
2802         * gdb.mi/mi-var-cmd.exp: Likewise.
2803         * gdb.mi/mi2-cli.exp: Likewise.
2804         * gdb.mi/mi2-disassemble.exp: Likewise.
2805         * gdb.mi/mi2-pthreads.exp: Likewise.
2806         * gdb.mi/mi2-regs.exp: Likewise.
2807         * gdb.mi/mi2-stack.exp: Likewise.
2808         * gdb.mi/mi2-var-block.exp: Likewise.
2809         * gdb.mi/mi2-var-cmd.exp: Likewise.
2810
2811 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
2812             Jan Kratochvil  <jan.kratochvil@redhat.com>
2813
2814         PR fortran/11104 and DWARF unbound arrays detection.
2815         * gdb.fortran/multi-dim.exp: New file.
2816         * gdb.fortran/multi-dim.f90: New file.
2817
2818 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
2819
2820         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
2821         expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
2822         add new tests for opcode dumping.
2823
2824 2011-01-11  Tom Tromey  <tromey@redhat.com>
2825
2826         * gdb.python/py-infthread.exp: Load gdb-python.exp.
2827
2828 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2829
2830         Convert hardware watchpoints to use breakpoint_ops.
2831         * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
2832         type is not supported.
2833         * gdb.base/foll-fork.exp: Likewise.
2834         * gdb.base/foll-vfork.exp: Likewise.
2835
2836 2011-01-10  Phil Muldoon  <pmuldoon@redhat.com>
2837
2838         * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
2839         Use load_lib gdb-python.exp.
2840         * gdb.python/python.exp: Ditto.
2841         * gdb.python/py-function.exp: Ditto.
2842
2843 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
2844
2845         * gdb.threads/tls.exp ("info address me"): Fix expected output.
2846
2847 2011-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2848
2849         * configure: Regenerate.
2850
2851 2011-01-06  Tom Tromey  <tromey@redhat.com>
2852
2853         * gdb.python/py-frame.exp: Test gdb.newest_frame.
2854
2855 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
2856
2857         * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
2858         gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
2859         gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
2860         gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
2861         gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
2862         gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
2863         gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
2864         gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
2865         gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
2866         gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
2867         gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
2868         gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
2869         gdb.ada/null_array.exp, gdb.ada/null_record.exp,
2870         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
2871         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
2872         gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
2873         gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
2874         gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
2875         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
2876         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
2877         gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
2878         gdb.ada/uninitialized_vars.exp,
2879         gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
2880         Simplify by using clean_restart.
2881
2882 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
2883
2884         Add marker to be used as anchor for inserting breakpoints.
2885         * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
2886         * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
2887         Likewise.
2888
2889         Remove uses of gdb_start_cmd.
2890         * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
2891         * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
2892
2893         Do not run testcase if testing with GDBserver.
2894         * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
2895         if testing with GDBserver.
2896
2897 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
2898
2899         * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
2900         gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
2901         copyright header.
2902
2903 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
2904
2905         * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
2906         testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
2907         testsuite/gdb.fortran/complex.f,
2908         testsuite/gdb.fortran/derived-type.f90,
2909         testsuite/gdb.fortran/library-module-lib.f90,
2910         testsuite/gdb.fortran/library-module-main.f90,
2911         testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
2912         testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
2913         Copyright year update.
2914
2915 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
2916
2917         * gdb.base/langs1.f: Add copyright header.
2918
2919 2011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
2920
2921         * gdb.base/morestack.exp: New file.
2922         * gdb.base/morestack.c: New file.
2923
2924 2011-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2925
2926         * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
2927
2928 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
2929
2930         * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
2931         * gdb.ada/arrayptr.exp: Add test printing that new variable.
2932
2933 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
2934
2935         * gdb.ada/lang_switch.exp: Correct expected parameter value.
2936
2937 2010-12-25  Andreas Schwab  <schwab@linux-m68k.org>
2938
2939         * gdb.threads/tls.exp: Fix typo.
2940
2941         * gdb.threads/thread-specific.exp (get_thread_list): Update.
2942         * gdb.threads/execl.exp: Update.
2943
2944 2010-12-23  Yao Qi  <yao@codesourcery.com>
2945
2946         * gdb.arch/arm-disp-step.exp: New.
2947         * gdb.arch/arm-disp-step.S: New.
2948
2949 2010-12-21  Tom Tromey  <tromey@redhat.com>
2950
2951         * gdb.threads/execl.exp: Update.
2952         * gdb.threads/linux-dp.exp: Update.
2953         * gdb.threads/manythreads.exp: Update.
2954         * gdb.threads/tls.exp: Update.
2955
2956 2010-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2957
2958         * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
2959         (NextOverThrowDerivates) <resumebpt>: New.
2960         (resumebpt_test): New.
2961         (main): Call resumebpt_test.
2962         * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2963
2964 2010-12-12  Stan Shebs  <stan@codesourcery.com>
2965
2966         * gdb.trace/tsv.exp: Test print command on trace state variables.
2967
2968 2010-12-09  Tom Tromey  <tromey@redhat.com>
2969
2970         * gdb.base/interp.exp: Add regression test.
2971
2972 2010-12-09  Tom Tromey  <tromey@redhat.com>
2973
2974         * gdb.java/jnpe.java: New file.
2975         * gdb.java/jnpe.exp: New file.
2976         * gdb.cp/nextoverthrow.exp: New file.
2977         * gdb.cp/nextoverthrow.cc: New file.
2978
2979 2010-12-07  Doug Evans  <dje@google.com>
2980
2981         * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
2982         of data-directory.
2983         * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
2984         updated.
2985         * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
2986
2987 2010-11-29  Michael Snyder  <msnyder@vmware.com>
2988
2989         * gdb.base/callfuncs.exp: Test for skip_float_tests.
2990         * gdb.base/call-sc.exp: Ditto.
2991         * gdb.base/finish.exp: Ditto.
2992         * gdb.base/return.exp: Ditto.
2993         * gdb.base/return2.exp: Ditto.
2994
2995 2010-11-30  Doug Evans  <dje@google.com>
2996
2997         * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
2998         (gdb_expect_list): Fix spelling errors in comments.
2999         * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3000         send_gdb/gdb_expect_list where applicable.
3001         * gdb.base/call-ar-st.exp: Ditto.
3002         * gdb.base/funcargs.exp: Ditto.
3003         * gdb.base/gcore.exp: Ditto.
3004         * gdb.base/page.exp: Ditto.
3005         * gdb.base/sigaltstack.exp: Ditto.
3006         * gdb.base/siginfo.exp: Ditto.
3007         * gdb.base/sigstep.exp: Ditto.
3008         * gdb.base/trace-commands.exp: Ditto.
3009
3010 2010-11-29  Doug Evans  <dje@google.com>
3011
3012         * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
3013         printer-name;subprinter-name.
3014
3015 2010-11-29  Tom Tromey  <tromey@redhat.com>
3016
3017         * gdb.dwarf2/implptr.exp: New file.
3018         * gdb.dwarf2/implptr.c: New file.
3019         * gdb.dwarf2/implptr.S: New file.
3020
3021 2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>
3022
3023         PR python/12199
3024
3025         * gdb.python/py-breakpoint.exp: Test the delete method.
3026
3027 2010-11-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3028
3029         Fix step_resume_breakpoint unsaved during an infcall.
3030         * gdb.base/step-resume-infcall.exp: New file.
3031         * gdb.base/step-resume-infcall.c: New file.
3032
3033 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
3034
3035         * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
3036
3037 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
3038
3039         * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
3040         on ppc64's symbols; "finish" and "return" commands must accept to
3041         show the caller line again as well as the line after.
3042         * gdb.asm/powerpc64.inc: New file.
3043
3044 2010-11-23  Doug Evans  <dje@google.com>
3045
3046         * lib/gdb.exp (gdb_test_sequence): New function.
3047         (gdb_expect_list): Add verbose -log call for each pattern.
3048         * gdb.base/signals.exp (test_handle_all_print): Call it.
3049         Reduce timeout increment from 6 minutes to 1 minute.
3050         * gdb.server/ext-run.exp: Call it.
3051
3052 2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>
3053
3054         PR python/12212
3055
3056         * gdb.python/python.exp: Check that selected_thread raises an
3057         error when no inferior is loaded.
3058
3059 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3060
3061         * gdb.dwarf2/dw2-stack-boundary.exp: New file.
3062         * gdb.dwarf2/dw2-stack-boundary.S: New file.
3063
3064 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3065
3066         * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
3067         * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
3068
3069 2010-11-18  Doug Evans  <dje@google.com>
3070
3071         * gdb.server/ext-run.exp: Fix intermittent failures.
3072
3073 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3074
3075         * gdb.stabs/gdb11479.exp: Use runto_main.
3076
3077 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3078
3079         * gdb.base/break-entry.exp: Skip if using a stub.
3080
3081 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3082
3083         * gdb.python/py-inferior.exp: Pack values in target endianness.
3084
3085 2010-11-12  Tom Tromey  <tromey@redhat.com>
3086
3087         * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
3088         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
3089         MemoryError.
3090         * gdb.python/python.exp (gdb_py_test_multiple): Update exception
3091         type.
3092         * gdb.python/py-value.exp (test_value_in_inferior): Add test for
3093         MemoryError.
3094         (test_subscript_regression): Update exception type.
3095
3096 2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
3097
3098         * gdb.python/py-breakpoint.exp: Add internal watchpoint and
3099         breakpoint tests.
3100
3101 2010-11-09  Pedro Alves  <pedro@codesourcery.com>
3102
3103         * gdb.base/watchpoint.exp: Test "watch -location" with an
3104         innacessible location.
3105
3106 2010-11-09  Edjunior Machado  <emachado@br.ibm.com>
3107             Luis Machado  <luisgpm@br.ibm.com>
3108
3109         * gdb.base/maint.exp: Expect "." prefix.
3110         * gdb.base/nodebug.exp: Expect "." Likewise.
3111         * gdb.base/sepsymtab.exp: Expect "." Likewise.
3112         * gdb.base/watchpoint-cond-gone.exp: Likewise.
3113         * gdb.base/watchpoint.exp: Expect a software watch to be created for
3114         POWER server processors.
3115
3116 2010-11-08  Edjunior Machado  <emachado@br.ibm.com>
3117             Luis Machado  <luisgpm@br.ibm.com>
3118
3119         * gdb.base/break-entry.exp: convert entry point for
3120         ppc64 and expect leading `.' on ppc64's symbols
3121
3122 2010-11-05  Doug Evans  <dje@google.com>
3123
3124         * gdb.base/help.exp: Update expected output.
3125         * gdb.python/py-param.exp: Delete, contents moved to ...
3126         * gdb.python/py-parameter.exp: ... here.  New file.
3127         Add test for gdb.parameter ("directories").
3128
3129 2010-11-05  Ken Werner  <ken.werner@de.ibm.com>
3130
3131         * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
3132         * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
3133         * configure: Regenerate.
3134         * gdb.opencl/Makefile.in: New File.
3135         * gdb.opencl/datatypes.exp: Likewise.
3136         * gdb.opencl/datatypes.cl: Likewise.
3137         * gdb.opencl/operators.exp: Likewise.
3138         * gdb.opencl/operators.cl: Likewise.
3139         * gdb.opencl/vec_comps.exp: Likewise.
3140         * gdb.opencl/vec_comps.cl: Likewise.
3141         * gdb.opencl/convs_casts.exp: Likewise.
3142         * gdb.opencl/convs_casts.cl: Likewise.
3143         * lib/opencl.exp: Likewise.
3144         * lib/opencl_hostapp.c: Likewise.
3145         * lib/opencl_kernel.cl: Likewise.
3146         * lib/cl_util.c: Likewise.
3147         * lib/cl_util.c: Likewise.
3148         * gdb.base/default.exp (set language): Add "opencl" to the list of
3149         languages.
3150
3151 2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
3152
3153         * gdb.cp/overload.exp: Added test for inheritance overload.
3154         * gdb.cp/overload.cc: Ditto.
3155         * gdb.cp/oranking.exp: Removed releveant kfails.
3156
3157 2010-11-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
3158             Joel Brobecker  <brobecker@adacore.com>
3159
3160         * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
3161         check test_compiler_info.
3162
3163 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3164
3165         * gdb.base/gnu_vector.exp: Adjust expect messages.
3166
3167 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3168
3169         * gdb.base/gnu_vector.exp: Add unary operator tests.
3170
3171 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3172
3173         * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
3174
3175 2010-11-02  Doug Evans  <dje@google.com>
3176
3177         * gdb.python/py-pp-maint.c: New file.
3178         * gdb.python/py-pp-maint.exp: New file.
3179         * gdb.python/py-pp-maint.py: New file.
3180
3181 2010-11-02  Tom Tromey  <tromey@redhat.com>
3182
3183         * gdb.base/default.exp: Remove "scheme" from language list.
3184
3185 2010-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3186
3187         Revert:
3188         2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3189         * gdb.threads/sigstep-threads.exp: New file.
3190         * gdb.threads/sigstep-threads.c: New file.
3191
3192 2010-10-20  Michael Snyder  <msnyder@vmware.com>
3193
3194         * gdb.threads/fork-child-threads.exp: Don't run on remote target.
3195
3196 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
3197
3198         * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
3199         Skip test completely if gdb,no_hardware_watchpoints.
3200
3201 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
3202
3203         * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
3204         strict, but do not check for any particular function name within libc.
3205
3206 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
3207
3208         * gdb.cp/smartp.exp: New test.
3209         * gdb.cp/smartp.cc : New test.
3210
3211 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
3212
3213         * gdb.cp/converts.exp: Test pointer to bool conversion.
3214         Test pointer to long conversion.
3215         * gdb.cp/oranking.exp: Removed relevant kfail.
3216
3217 2010-10-18  Tom Tromey  <tromey@redhat.com>
3218
3219         * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
3220         argument to lazy_string.
3221         * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
3222         (pp_ls.to_string): Use it.
3223         * gdb.python/py-prettyprint.c (main): Move declarations to top.
3224         Add "estring2" local.
3225
3226 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3227
3228         Fix s390x compatibility.
3229         * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS.  Twice.
3230         * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3231
3232 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3233
3234         * gdb.threads/sigstep-threads.exp: New file.
3235         * gdb.threads/sigstep-threads.c: New file.
3236
3237 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3238
3239         * gdb.base/pie-execl.exp: New file.
3240         * gdb.base/pie-execl.c: New file.
3241
3242 2010-10-13  Doug Evans  <dje@google.com>
3243             Jan Kratochvil  <jan.kratochvil@redhat.com>
3244
3245         PR exp/12117
3246         * gdb.cp/ptype-cv-cp.cc: New file.
3247         * gdb.cp/ptype-cv-cp.exp: New file.
3248
3249 2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
3250
3251         * gdb.cp/converts.cc: New test program.
3252         * gdb.cp/converts.exp: New test.
3253         * gdb.cp/overload.exp: Added test for void* vs int*.
3254         * gdb.cp/overload.exp: Ditto.
3255         * gdb.cp/oranking.exp: Removed related kfail.
3256
3257 2010-10-13  Doug Evans  <dje@google.com>
3258
3259         * lib/gdb-python.exp (gdb_check_python_config): New function.
3260         * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3261         * gdb.python/lib-types.cc: New file.
3262         * gdb.python/lib-types.exp: New file.
3263
3264 2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3265
3266         * gdb.python/py-error.exp: New file.
3267         * gdb.python/py-error.py: New file.
3268
3269 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3270
3271         * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
3272         gdb_test_multiple.
3273
3274 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3275
3276         * gdb.base/break-interp.exp: Use ldlags for linking flags.
3277         * gdb.base/prelink.exp: Likewise.
3278         * gdb.base/solib-nodir.exp: Likewise.
3279         * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
3280         (gdb_compile) <shlib_load>: Use ldlags for linking flags.
3281         * lib/prelink-support.exp (build_executable_own_libs): Likewise.
3282
3283 2010-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
3284
3285         * break-interp.exp (test_ld): Use two separate gdb_expect statements
3286         for the "info files" test to avoid timeouts on slow machines.
3287
3288 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3289
3290         * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
3291         (main): Make openlib dummy call.
3292
3293 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3294
3295         Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
3296         * break-interp.exp (reach): Move the core body ...
3297         (reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
3298         (test_ld): Provide always real argument, even to the linker.  Replace
3299         dl_main by _dl_debug_state.
3300
3301 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3302
3303         Fix results of prelinked PIEs on ppc*.
3304         * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
3305         Accept also DISPLACEMENT "PRESENT".
3306         (main): Replace "ZERO" displacements by "PRESENT".
3307
3308 2010-10-08  Sami Wagiaalla  <swagiaal@redhat.com>
3309
3310         * gdb.cp/oranking.exp: New test.
3311         * gdb.cp/oranking.cc: New test program.
3312
3313 2010-10-08  Ken Werner  <ken.werner@de.ibm.com>
3314
3315         * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
3316         * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
3317
3318 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
3319
3320         * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
3321         lush, lynx) New constant.
3322         * gdb.base/constvars.exp: Test const array types.
3323         * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
3324
3325 2010-10-06  Doug Evans  <dje@google.com>
3326
3327         * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
3328         of syscall staging area.
3329
3330 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
3331
3332         * gdb.base/gnu_vector.c: Add variable c4.
3333         * gdb.base/gnu_vector.exp: Add tests for character vector printing.
3334         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3335
3336 2010-10-05  Maciej W. Rozycki  <macro@codesourcery.com>
3337
3338         * gdb.arch/altivec-abi.exp: Fix a typo.
3339
3340 2010-10-02  Maciej W. Rozycki  <macro@codesourcery.com>
3341
3342         * lib/mi-support.exp (thread_selected_re): Correct pattern used
3343         to match a thread ID.
3344
3345 2010-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3346
3347         Fix s390x testcase compatibility.
3348         * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
3349
3350 2010-10-01  Doug Evans  <dje@google.com>
3351
3352         * lib/gdb-python.exp: New file.
3353         * gdb.python/py-block.exp: Use it.
3354         * gdb.python/py-breakpoint.exp: Ditto.
3355         * gdb.python/py-frame.exp: Ditto.
3356         * gdb.python/py-inferior.exp: Ditto.
3357         * gdb.python/py-param.exp: Ditto.
3358         * gdb.python/py-prettyprint.exp: Ditto.
3359         * gdb.python/py-shared.exp: Ditto.
3360         * gdb.python/py-symbol.exp: Ditto.
3361         * gdb.python/py-symtab.exp: Ditto.
3362         * gdb.python/py-type.exp: Ditto.
3363         * gdb.python/py-value.exp: Ditto.
3364         * gdb.python/python.exp: Ditto.
3365
3366 2010-09-30  Tom Tromey  <tromey@redhat.com>
3367
3368         * gdb.base/anon.exp: New file.
3369         * gdb.base/anon.c: New file.
3370
3371 2010-09-30  Tom Tromey  <tromey@redhat.com>
3372
3373         * gdb.base/completion.exp: Test completion through anonymous
3374         union.
3375         * gdb.base/break1.c (struct some_struct): Add anonymous union.
3376
3377 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3378
3379         Fix printing parameters of inlined functions.
3380         * gdb.dwarf2/dw2-inline-param.exp: New file.
3381         * gdb.dwarf2/dw2-inline-param-main.c: New file.
3382         * gdb.dwarf2/dw2-inline-param.S: New file.
3383
3384 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3385
3386         PR corefiles/12071.
3387         * gdb.base/corefile.exp (quit with a process, no question: load core)
3388         (quit with a core file): New tests.
3389
3390 2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3391
3392         Fix GDB crash on inferior calls with self-referencing classes.
3393         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
3394         * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
3395         * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
3396
3397 2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3398
3399         Fix lost siginfo_t for inferior calls.
3400         * gdb.base/siginfo-infcall.exp: New file.
3401         * gdb.base/siginfo-infcall.c: New file.
3402
3403 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
3404
3405         * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
3406
3407 2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
3408
3409         * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
3410         New test.
3411         * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
3412
3413 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
3414
3415         * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
3416         type of our const type.
3417
3418 2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>
3419
3420         * gdb.cp/pr12028.cc: New.
3421         * gdb.cp/pr12028.exp: New.
3422
3423 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
3424
3425         * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
3426
3427 2010-09-16  Phil Muldoon  <pmuldoon@redhat.com>
3428             Jan Kratochvil  <jan.kratochvil@redhat.com>
3429
3430         PR mi/11407
3431         * gdb.mi/dw2-ref-missing-frame-func.c: New File.
3432         * gdb.mi/dw2-ref-missing-frame-main.c New File.
3433         * gdb.mi/dw2-ref-missing-frame.S New File.
3434         * gdb.mi/dw2-ref-missing-frame.exp New File.
3435
3436 2010-09-14  Tom Tromey  <tromey@redhat.com>
3437
3438         PR symtab/8399:
3439         * gdb.threads/tls.exp: Remove kfail.  Update expected output.
3440
3441 2010-09-14  Tom Tromey  <tromey@redhat.com>
3442
3443         PR exp/11803:
3444         * gdb.threads/tls.exp: Use C++.
3445         (check_thread_local): Use K::another_thread_local.
3446         * gdb.threads/tls.c (class K): New.
3447         (another_thread_local): Now a member of K.
3448         (spin): Update.  No longer K&R C.
3449
3450 2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
3451
3452         * gdb.cp/koenig.cc: created class for testing member lookup.
3453         * gdb.cp/koenig.exp: Added test for member lookup.
3454
3455 2010-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3456
3457         Fix false FAILs on sourcetree topdir directory containing "kill".
3458         * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
3459         source line matching regexp.
3460
3461 2010-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3462
3463         * gdb.python/python.exp (set height 0, collect help from uiout)
3464         (verify help to uiout): New tests.
3465
3466 2010-09-10  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3467
3468         * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
3469         is_lp64_target to check 64bit target.
3470
3471 2010-09-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
3472
3473         * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
3474         (test_ld) <powerpc64-*>: New.
3475
3476 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
3477
3478         * gdb.cp/templates.exp (test_template_args): Allow "struct".
3479
3480 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
3481
3482         * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
3483         (FunctionArg::method): New function.
3484         (empty, arg): New variables.
3485         (main): Call arg.method.
3486         * gdb.cp/templates.exp (test_template_args): New function.
3487         (do_tests): Call it.
3488
3489 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
3490
3491         * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
3492         of "next" to proceed over pthread_exit call.
3493
3494 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
3495
3496         * gdb.base/maint.exp: Avoid wildcards against potentially very long
3497         "maint print statistics" output to prevent expect timeouts.
3498
3499 2010-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3500
3501         * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
3502         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3503         (test_float_rejected): ... here.
3504         * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
3505         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3506         (test_float_rejected): ... here.
3507         * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
3508         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3509         (test_float_rejected): ... here.
3510         * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
3511         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3512         (test_float_rejected): ... here.
3513
3514 2010-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
3515
3516         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
3517         before disabling hardware watchpoints.
3518         (test_inaccessible_watchpoint): Check that hardware watchpoints
3519         are used.  Test for watchpoints on a constant address.
3520
3521 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
3522
3523         * gdb.base/ui-redirect.exp: New file.
3524
3525 2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3526             Joel Brobecker  <brobecker@adacore.com>
3527
3528         * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
3529
3530 2010-08-31  Doug Evans  <dje@google.com>
3531
3532         * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
3533
3534 2010-08-30  Tom Tromey  <tromey@redhat.com>
3535
3536         PR python/11792:
3537         * gdb.python/py-value.exp (test_subscript_regression): Add
3538         dynamic_type test.
3539
3540 2010-08-30  Daniel Jacobowitz  <dan@codesourcery.com>
3541
3542         * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
3543         instead of running to main.  Do not test the main function.
3544         * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
3545         Add new main.
3546
3547 2010-08-26  Pedro Alves  <pedro@codesourcery.com>
3548
3549         * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
3550         one test.
3551
3552 2010-08-24  Doug Evans  <dje@google.com>
3553
3554         PR symtab/11942
3555         * gdb.dwarf2/dw4-sig-types.cc: New file.
3556         * gdb.dwarf2/dw4-sig-types.h: New file.
3557         * gdb.dwarf2/dw4-sig-types-b.cc: New file.
3558         * gdb.dwarf2/dw4-sig-types.exp: New file.
3559
3560 2010-08-23  Tom Tromey  <tromey@redhat.com>
3561
3562         PR python/11145:
3563         * gdb.python/py-value.c (Base, Derived): New types.
3564         (base): New global.
3565         * gdb.python/py-value.exp (test_subscript_regression): Add
3566         dynamic_cast test.
3567
3568 2010-08-23  Tom Tromey  <tromey@redhat.com>
3569
3570         PR python/10676:
3571         * gdb.python/py-type.exp (test_fields): Add tests for type
3572         equality.
3573
3574 2010-08-23  Tom Tromey  <tromey@redhat.com>
3575
3576         PR python/11915:
3577         * gdb.python/py-type.exp (test_fields): Add tests for array.
3578
3579 2010-08-23  Keith Seitz  <keiths@redhat.com>
3580
3581         * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
3582         have any children. Create a new abbrev for it.
3583         Add missing terminal sequence to .debug_abbrev.
3584
3585 2010-08-20  Keith Seitz  <keiths@redhat.com>
3586
3587         PR symtab/11465:
3588         * gdb.dwarf2/pr11465.exp: New test.
3589         * gdb.dwarf2/pr11465.S: New file.
3590         * gdb.dwarf2/dw2-double-set-die-type.S: New file.
3591         * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
3592
3593 2010-08-19  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3594
3595         * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
3596         registers.  Update data sets with the new v2_double element in the
3597         VSX register union.  Add vector_register3_vr data set for the AltiVec
3598         registers.  Use gdb_test_no_output instead of send_gdb.
3599
3600 2010-08-19  Pedro Alves  <pedro@codesourcery.com>
3601
3602         * gdb.python/py-shared.exp: New file, factored out from
3603         python.exp.
3604         * gdb.python/py-shared.c: New file.
3605         * gdb.python/py-shared-sl.c: New file.
3606         * gdb.python/python-1.c: New file.
3607         * gdb.python/python-sl.c: Delete.
3608         * gdb.python/python.c: Mention python-1.c.
3609         * gdb.python/python.exp: Move shared library tests to
3610         py-shared.exp.
3611         * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
3612         (MISCELLANEOUS): New.
3613         (clean mostlyclean): Also remove $MISCELLANEOUS.
3614
3615 2010-08-19  Doug Evans  <dje@google.com>
3616
3617         PR exp/11926
3618         * gdb.base/printcmds.exp (test_float_accepted): New function.
3619         Move existing float tests there.  Add tests for floats with suffixes.
3620         (test_float_rejected): New function.
3621         * gdb.java/jv-print.exp (test_float_accepted): New function.
3622         (test_float_rejected): New function.
3623         * gdb.objc/print.exp: New file.
3624         * gdb.pascal/print.exp: New file.
3625         * lib/objc.exp: New file.
3626
3627 2010-08-19  Pierre Muller  <muller@ics.u-strasbg.fr>
3628
3629         * gdb.base/default.exp (info set): Avoid full buffer error and force
3630         reading up to final gdb prompt.
3631         (show): Likewise.
3632
3633 2010-08-18  Tom Tromey  <tromey@redhat.com>
3634
3635         PR symtab/11919:
3636         * gdb.base/completion.exp: Add test.
3637
3638 2010-08-18  Doug Evans  <dje@google.com>
3639
3640         * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
3641         * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
3642         * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
3643         Simplify, early exit if runto_main fails.
3644         * gdb.fortran/exprs.exp: load_lib fortran.exp.
3645         (set_lang_fortran): Moved to lib/fortran.exp.
3646         * gdb.fortran/types.exp: load_lib fortran.exp.
3647         (set_lang_fortran): Moved to lib/fortran.exp.
3648         * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
3649         * gdb.java/jprint.exp (set_lang_java): Ditto.
3650         * gdb.java/jv-exp.exp: load_lib java.exp.
3651         If set_lang_java fails, issue a warning instead of failure to be
3652         consistent with other set_lang_foo uses.
3653         (set_lang_java): Moved to lib/java.exp.
3654         * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
3655         If set_lang_java fails, issue a warning instead of failure to be
3656         consistent with other set_lang_foo uses.
3657         * gdb.pascal/types.exp: load_lib pascal.exp.
3658         (set_lang_pascal): Moved to lib/pascal.exp.
3659         * lib/fortran.exp: New file.
3660         * lib/java.exp (set_lang_java): New function.
3661         * lib/pascal.exp (set_lang_pascal): New function.
3662
3663 2010-08-18  Yao Qi  <yao@codesourcery.com
3664
3665         * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
3666         func_nofb_start and func_loopfb_start, so that address of functions
3667         is equal to these labels on Thumb.
3668
3669 2010-08-18  Yao Qi  <yao@codesourcery.com>
3670
3671         * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
3672         to reflect latest c source file.
3673
3674 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3675
3676         * gdb.cp/infcall-dlopen.exp: New file.
3677         * gdb.cp/infcall-dlopen.cc: New file.
3678         * gdb.cp/infcall-dlopen-lib.cc: New file.
3679
3680 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3681             Pedro Alves  <pedro@codesourcery.com>
3682
3683         PR breakpoints/11371
3684
3685         * gdb.base/watch-cond-infcall.exp: New file.
3686         * gdb.base/watch-cond-infcall.c: New file.
3687
3688 2010-08-16  Tom Tromey  <tromey@redhat.com>
3689
3690         * gdb.base/help.exp: Update.
3691         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
3692         watchpoint.
3693         (test_watch_location): New proc.
3694         (test_watchpoint_in_big_blob): Delete watchpoint.
3695         * gdb.base/watchpoint.c (func5): New function.
3696         (main): Call it.
3697
3698 2010-08-16  Doug Evans  <dje@google.com>
3699
3700         * gdb.python/python.exp: Fix syntax in "post event insertion" test.
3701
3702 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
3703
3704         * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
3705         tests.
3706
3707 2010-08-11  Ken Werner  <ken.werner@de.ibm.com>
3708
3709         * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
3710         * gdb.base/gnu_vector.c: New File.
3711         * gdb.base/gnu_vector.exp: Likewise.
3712
3713 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
3714
3715         * gdb.python/python.c: New File.
3716         * gdb.python/python-sl.c: New File.
3717         * gdb.python/python.exp: Test solib_address and decode_line
3718         * functions.
3719
3720 2010-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3721
3722         * gdb.python/python.exp (show height, set height 10)
3723         (verify pagination beforehand, verify pagination beforehand: q)
3724         (gdb.execute does not page, verify pagination afterwards)
3725         (verify pagination afterwards: q): New.
3726
3727 2010-08-02  Doug Evans  <dje@google.com>
3728
3729         * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
3730         because of an older gcc, change test2
3731         "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
3732         to unsupported.
3733
3734 2010-07-30  Kazu Hirata  <kazu@codesourcery.com>
3735
3736         * gdb.base/break-always.exp: Do not expect full paths to file
3737         names.
3738         * gdb.base/commands.exp: Likewise.
3739
3740 2010-07-30  Doug Evans  <dje@google.com>
3741
3742         * gdb.cp/temargs.exp: For new tests that require newer gccs,
3743         xfail them when run with older gccs.
3744
3745         * lib/gdb.exp (build_executable): Forward "c++" option to
3746         get_compiler_info.
3747
3748         * gdb.python/py-type.exp (test_template): Mark as xfail tests
3749         "python print ttype.template_argument(1)" and
3750         "python print isinstance(ttype.template_argument(1), gdb.Value)"
3751         if using gcc 4.4 or earlier.
3752
3753         * gdb.base/valgrind-db-attach.exp: Use unique test name for
3754         attach-to-debugger handling.
3755
3756 2010-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3757
3758         * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
3759         * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
3760         (main): Use copyreloc.
3761         * gdb.base/prelink.exp (split debug of executable)
3762         (.dynbss vs. .bss address shift): New tests.
3763
3764 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
3765
3766         * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
3767         in gdb_test_multiple.
3768
3769 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
3770
3771         * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
3772         environment.
3773
3774 2010-07-28  Tom Tromey  <tromey@redhat.com>
3775
3776         PR python/11060:
3777         * gdb.python/py-type.c (Temargs): New template.
3778         (temvar): New variable.
3779         * gdb.python/py-type.exp (test_template): New proc.
3780
3781 2010-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
3782
3783         * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
3784         gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
3785
3786 2010-07-28  Tom Tromey  <tromey@redhat.com>
3787
3788         PR c++/9946:
3789         * gdb.cp/temargs.exp: New file.
3790         * gdb.cp/temargs.cc: New file.
3791
3792 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3793
3794         * gdb.base/help.exp (help disassemble): Update the content.
3795
3796 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3797
3798         * gdb.threads/ia64-sigill.exp: New file.
3799         * gdb.threads/ia64-sigill.c: New file.
3800
3801 2010-07-27  Tom Tromey  <tromey@redhat.com>
3802
3803         * gdb.opt/inline-cmds.c (ATTR): New define.
3804         (func1): Use it.
3805         (func2): Likewise.
3806         (func3): Likewise.
3807         (outer_inline1): Likewise.
3808         (outer_inline2): Likewise.
3809         * gdb.opt/inline-bt.c (ATTR): New define.
3810         (func1): Use it.
3811         (func2): Likewise.
3812         * gdb.opt/inline-locals.c (ATTR): New define.
3813         (func1): Use it.
3814         (func2): Likewise.
3815
3816 2010-07-27  Tom Tromey  <tromey@redhat.com>
3817
3818         * gdb.stabs/gdb11479.c (hack): New function.
3819         (test): Use it.
3820         (test2): Use it.
3821         * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
3822         (int32_search_buf, int64_search_buf): No longer static.
3823         (x): Remove.
3824         * gdb.base/relocate.c (hack): New function.
3825
3826 2010-07-27  Phil Muldoon  <pmuldoon@redhat.com>
3827
3828         * gdb.python/py-value.exp (test_inferior_function_call): New function.
3829         * gdb.python/py-value.c (func1): New function.
3830         (func2): Likewise.
3831
3832 2010-07-26  Corinna Vinschen  <vinschen@redhat.com>
3833
3834         * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
3835         as not to clash with .data section.
3836
3837 2010-07-26  Jerome Guitton  <guitton@adacore.com>
3838
3839         * gdb.base/code_elim.exp: New file.
3840         * gdb.base/code_elim1.c: New file.
3841         * gdb.base/code_elim2.c: New file.
3842
3843 2010-07-21  Pedro Alves  <pedro@codesourcery.com>
3844
3845         PR symtab/11827
3846
3847         * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
3848         (some_volatile_enum): New variable.
3849         * gdb.base/printcmds.exp (test_print_enums): New.
3850         <top level>: Call it.
3851
3852 2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>
3853
3854         * gdb.cp/fpointer.cc: New test.
3855         * gdb.cp/fpointer.exp: New test.
3856
3857 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3858
3859         * gdb.base/solib-nodir.exp: New file.
3860         * lib/gdb.exp (runto): New case for a GDB internal error.
3861
3862 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3863             Ulrich Weigand  <uweigand@de.ibm.com>
3864             Tom Tromey  <tromey@redhat.com>
3865
3866         * gdb.base/charset-malloc.c: New file.
3867         * gdb.base/charset.c (malloc_stub): New prototype.
3868         (main): Call it instead of malloc itself.
3869         * gdb.base/charset.exp: Use only prepare_for_testing.
3870         (binfile): Remove the variable.
3871
3872 2010-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
3873
3874         Make core files the process_stratum.
3875         * gdb.base/corefile.exp (run: load core again)
3876         (run: sanity check we see the core file, run: with core)
3877         (run: core file is cleared, attach: load core again)
3878         (attach: sanity check we see the core file, attach: with core)
3879         (attach: core file is cleared): New tests.
3880         * gdb.base/coremaker.c (main): New parameters.  Implement "sleep" argv.
3881
3882 2010-07-14  Ken Werner  <ken.werner@de.ibm.com>
3883
3884         * gdb.arch/altivec-abi.exp: New tests.
3885
3886 2010-07-13  Tom Tromey  <tromey@redhat.com>
3887
3888         * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
3889         (main): Use it.
3890         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
3891
3892 2010-07-13  Tom Tromey  <tromey@redhat.com>
3893
3894         * gdb.base/label.exp: New file.
3895         * gdb.base/label.c: New file.
3896
3897 2010-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
3898             H.J. Lu  <hongjiu.lu@intel.com>
3899
3900         * lib/gdb.exp (is_ilp32_target): New.
3901         (is_lp64_target): Likewise.
3902
3903         * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
3904         target.
3905         * gdb.arch/amd64-disp-step.exp: Likewise.
3906         * gdb.arch/amd64-dword.exp: Likewise.
3907         * gdb.arch/amd64-i386-address.exp: Likewise.
3908         * gdb.arch/amd64-word.exp: Likewise.
3909
3910         * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
3911         target.
3912         * gdb.arch/i386-bp_permanent.exp: Likewise.
3913         * gdb.arch/i386-byte.exp: Likewise.
3914         * gdb.arch/i386-disp-step.exp: Likewise.
3915         * gdb.arch/i386-gnu-cfi.exp: Likewise.
3916         * gdb.arch/i386-prologue.exp: Likewise.
3917         * gdb.arch/i386-size-overlap.exp: Likewise.
3918         * gdb.arch/i386-size.exp: Likewise.
3919         * gdb.arch/i386-sse.exp: Likewise.
3920         * gdb.arch/i386-unwind.exp: Likewise.
3921         * gdb.arch/i386-word.exp: Likewise.
3922
3923         * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
3924         test only when building 64-bit executables.  Do not hard-code
3925         -m64 option.
3926
3927 2010-07-07  Doug Evans  <dje@google.com>
3928
3929         * lib/gdb.exp (gdb_test_list_exact): New function.
3930         * gdb.base/default.exp (show convenience): Call it, add tests for
3931         $_sdata = void, $_thread = 0.
3932
3933 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
3934             Joel Brobecker  <brobecker@adacore.com>
3935
3936         Fix re-run of PIE executable, PR shlibs/11776.
3937         * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
3938         Remove $displacement_main to match the solib-svr4.c change.  New "kill"
3939         and re-"run" of the inferior.
3940
3941 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
3942             Joel Brobecker  <brobecker@adacore.com>
3943
3944         Cope with missing /usr/sbin/prelink.
3945         * lib/prelink-support.exp (prelink_no):
3946         <result == 1 && $output is "no such file or directory">: New.
3947         (prelink_yes): Likewise.  Return on failed prelink_no.
3948
3949 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
3950             Joel Brobecker  <brobecker@adacore.com>
3951
3952         * gdb.base/attach-pie-misread.exp: Load prelink-support.exp.  Replace
3953         build_executable by build_executable_own_libs.  Replace "prelink -R"
3954         execution by a call of prelink_yes.  Comment why "prelink -r" needs no
3955         change.
3956         * gdb.base/break-interp.exp: Load prelink-support.exp.  Rename calls of
3957         copy to file_copy.  Move setting opts --dynamic-linker and -rpath,
3958         mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
3959         Replace build_executable by build_executable_own_libs's function
3960         build_executable_own_libs.
3961         (prelinkNO): Create new stub to call prelink_no.
3962         (prelinkYES): Create new stub to call prelink_yes.
3963         (test_attach): Rename calls of copy to file_copy.
3964         (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
3965         (copy): Move to ...
3966         * lib/prelink-support.exp: ... a new file.  Rename prelinkNO to
3967         prelink_no, prelinkYES to prelink_yes, copy to file_copy.
3968         * gdb.base/prelink.exp: Disable testcase also for is_remote and
3969         skip_shlib_tests.  Load prelink-support.exp.  Replace gdb_compile with
3970         special flags by gdb_compile_shlib.  Replace second gdb_compile by
3971         build_executable_own_libs.  Replace "prelink -R" execution by a call of
3972         prelink_yes.  Replace "prelink -u" and second "prelink -R" execution by
3973         a second call of prelink_yes.  Replace restart commands by
3974         clean_restart.
3975         (prelink): Rename to ...
3976         (seen displacement message): ... this test.  Extend its expectation
3977         strictness.
3978
3979 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
3980
3981         * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
3982         * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
3983         displacement message exactly once.
3984
3985 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
3986             Joel Brobecker  <brobecker@adacore.com>
3987
3988         * gdb.base/break-interp.exp (test_attach): Keep $interp changed.  Move
3989         its restore after the <$relink_args != ""> loop.  new comment.
3990
3991 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
3992             Joel Brobecker  <brobecker@adacore.com>
3993
3994         * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
3995         code for it.  New variable relink_args.
3996         (prelinkYES): Call prelinkNO.
3997         (test_attach): Accept new parameter relink_args.  Re-prelink the binary
3998         in such case.  Move the core code to ...
3999         (test_attach_gdb): ... a new function.  Send GDB command "file".
4000         Extend expected "Attaching to " string.
4001
4002 2010-07-02  Tom Tromey  <tromey@redhat.com>
4003
4004         * gdb.base/bitops.exp: Remove extraneous "pass".
4005
4006 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
4007
4008         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4009
4010 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
4011
4012         * gdb.base/help.exp: Adjust expected output.
4013
4014 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
4015
4016         * gdb.base/help.exp: Adjust expected output.
4017
4018 2010-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4019
4020         * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
4021         (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
4022         c++/11702.
4023
4024 2010-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4025             Doug Evans  <dje@google.com>
4026
4027         * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
4028         add .dynamic entry'.
4029
4030 2010-06-29  Doug Evans  <dje@google.com>
4031
4032         Test PR c++/11702.
4033         * gdb.cp/m-static.exp: Add testcase.
4034         * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
4035
4036 2010-06-28  Phil Muldoon  <pmuldoon@redhat.com>
4037             Tom Tromey  <tromey@redhat.com>
4038             Thiago Jung Bauermann  <bauerman@br.ibm.com>
4039
4040         * gdb.python/py-inferior.c: New File.
4041         * gdb.python/py-infthread.c: New File.
4042         * gdb.python/py-inferior.exp: New File.
4043         * gdb.python/py-infthread.exp: New File.
4044
4045 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4046
4047         * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
4048         (ptype ::C::OtherFileClass typedefs): New.
4049         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
4050         (C::OtherFileClass::cOtherFileClassVar2): New.
4051         (C::OtherFileClass::cOtherFileClassVar_use): Use also
4052         cOtherFileClassVar2.
4053         (C::cOtherFileType2, C::cOtherFileVar2): New.
4054         (C::cOtherFileVar_use): use also cOtherFileVar2.
4055         * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
4056
4057 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4058
4059         * gdb.cp/namespace.exp (whatis C::cOtherFileType)
4060         (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
4061         (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
4062         (print ::C::cOtherFileVar)
4063         (whatis C::OtherFileClass::cOtherFileClassType)
4064         (whatis ::C::OtherFileClass::cOtherFileClassType)
4065         (print C::OtherFileClass::cOtherFileClassVar)
4066         (print ::cOtherFileClassVar)
4067         (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
4068         (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
4069         trailing content.
4070         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
4071         (C::OtherFileClass::cOtherFileClassVar)
4072         (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
4073         (C::cOtherFileVar, C::cOtherFileVar_use): New.
4074
4075 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4076
4077         Test PR c++/11703 and PR gdb/1448.
4078         * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
4079         gdb/1448.
4080
4081 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4082
4083         * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4084         (main) <rtti_data>: New.
4085         * gdb.cp/virtbase.exp (print rtti_data): New.
4086
4087 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4088             Joel Brobecker  <brobecker@adacore.com>
4089
4090         * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
4091
4092 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4093
4094         * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
4095
4096 2010-06-28  Doug Evans  <dje@google.com>
4097
4098         * gdb.base/break-interp.exp (reach): Relax expected output a bit.
4099
4100 2010-06-27  Doug Evans  <dje@google.com>
4101
4102         * gdb.cp/m-static.exp: Update expected test output.
4103
4104 2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
4105
4106         * gdb.gdb/selftest.exp: Adjust expected message for
4107         capturing start-up runtime.
4108
4109 2010-06-25  Tom Tromey  <tromey@redhat.com>
4110
4111         PR python/10808:
4112         * gdb.python/python.exp: Add new tests.
4113
4114 2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
4115
4116         * gdb.cp/operator.cc: Created an import loop.
4117         * gdb.cp/operator.exp: Added testcase for import loop.
4118
4119 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4120
4121         Test PR python/11407.
4122         * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
4123         * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
4124         Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
4125         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
4126         executable_nofb and executable_fb.  New variables srcsfile, objsfile,
4127         srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
4128         binfile.  Call gdb_compile with clean_restart twice.
4129         (func_nofb print, func_nofb backtrace, func_loopfb print)
4130         (func_loopfb backtrace): New.
4131
4132 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4133
4134         * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
4135         * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
4136         by a hand made one.
4137         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
4138         i?86 requirement.  Remove variables srcfile and binfile.  New variable
4139         sources, executable_nofb and executable_fb.  Call prepare_for_testing.
4140
4141 2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4142
4143         * gdb.cell/dwarfaddr.exp: New file.
4144         * gdb.cell/dwarfaddr.S: New file.
4145
4146 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4147
4148         Test PR 9436.
4149         * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
4150
4151 2010-06-24  Hui Zhu  <teawater@gmail.com>
4152
4153         * gdb.base/eval.exp: New file.
4154
4155 2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4156
4157         * gdb.cell/fork.exp: New file.
4158         * gdb.cell/fork.c: Likewise.
4159         * gdb.cell/fork-spu.c: Likewise.
4160
4161 2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
4162
4163         * lib/gdb.exp (banned_variables_traced): New global variable.
4164         (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
4165         (gdb_init): Use `trace add variable' instead of obsolete
4166         `trace variable'.
4167
4168 2010-06-21  Doug Evans  <dje@google.com>
4169
4170         * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
4171
4172 2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4173
4174         * gdb.arch/spu-ls.exp: New file.
4175         * gdb.arch/spu-ls.c: Likewise.
4176
4177 2010-06-18  Stan Shebs  <stan@codesourcery.com>
4178
4179         * gdb.threads/thread-specific.exp: Add tests of $_thread.
4180
4181 2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4182
4183         * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
4184         * gdb.base/watch-cond.exp: Likewise.
4185         * gdb.python/py-breakpoint.exp: Likewise.
4186
4187 2010-06-18  Pedro Alves  <pedro@codesourcery.com>
4188
4189         * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
4190         clean_restart, make sure every test has a distinct message, and
4191         that messages don't include the executable' full path.
4192
4193 2010-06-17  Doug Evans  <dje@google.com>
4194
4195         * gdb.arch/i386-size.exp: Updated expected output for
4196         DISASSEMBLY_OMIT_FNAME.
4197
4198 2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4199             Sergio Durigan Junior  <sergiodj@redhat.com>
4200
4201         * gdb.base/watch-notconst.c: New file.
4202         * gdb.base/watch-notconst.S: New file.
4203         * gdb.base/watch-notconst2.c: New file.
4204         * gdb.base/watch-notconst2.S: New file.
4205         * gdb.base/watch-notconst.exp: New file.
4206         * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
4207         (func4): Add operations on `global_ptr_ptr'.
4208         * gdb.base/watchpoint.exp (test_constant_watchpoint): New
4209         routine to test watchpoints created with a constant expression.
4210         (test_inaccessible_watchpoint): Include tests for watchpoints
4211         created with a constant expression.
4212
4213 2010-06-14  Kevin Buettner  <kevinb@redhat.com>
4214
4215         * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4216         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
4217         gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
4218         gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
4219         gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4220         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4221         gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
4222         of `_start'.
4223
4224 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4225
4226         * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
4227         not supported on the target.
4228         * gdb.mi/mi-nonstop-exit.exp: Likewise.
4229         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4230         * gdb.mi/mi-nsintrall.exp: Likewise.
4231         * gdb.mi/mi-nsmoribund.exp: Likewise.
4232         * gdb.mi/mi-nsthrexec.exp: Likewise.
4233
4234 2010-06-11  Stan Shebs  <stan@codesourcery.com>
4235
4236         * gdb.base/permissions.exp: New file.
4237
4238 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4239
4240         * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4241         does not support ELF executable class.
4242
4243 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4244
4245         * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4246
4247 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4248
4249         * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4250         (runto): Catch "The target does not support running in non-stop mode.".
4251
4252 2010-06-11  Michael Snyder  <msnyder@vmware.com>
4253
4254         * gdb.base/setshow.exp (set language asm): Don't use
4255         gdb_test_no_output, fails on some targets.
4256
4257 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4258
4259         * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4260         * gdb.cp/pr9167.exp: Likewise.
4261
4262 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4263
4264         * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
4265
4266 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4267
4268         * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
4269
4270 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4271
4272         * gdb.base/charset.c (main): Make sure malloc gets linked in.
4273
4274 2010-06-11  Tom Tromey  <tromey@redhat.com>
4275
4276         PR gdb/9977, PR exp/11636::
4277         * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
4278         (pieces_test_f6): Update expected output.
4279
4280 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4281
4282         * gdb.base/moribund-step.exp: New.
4283
4284 2010-06-08  Michael Snyder  <msnyder@vmware.com>
4285
4286         * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
4287         * gdb.ada/boolean_expr.exp:
4288         * gdb.ada/frame_args.exp: Ditto.
4289         * gdb.ada/lang_switch.exp: Ditto.
4290         * gdb.ada/ptype_arith_binop.exp: Ditto.
4291         * gdb.ada/ref_param.exp: Ditto.
4292         * gdb.ada/type_coercion.exp:Ditto.
4293
4294         * gdb.asm/asm-source.exp: Ditto.
4295
4296         * gdb.base/attach.exp: Ditto.
4297         * gdb.base/bitfields2.exp: Ditto.
4298         * gdb.base/call-signal-resume.exp: Ditto.
4299         * gdb.base/callfuncs.exp: Ditto.
4300         * gdb.base/commands.exp: Ditto.
4301         * gdb.base/dbx.exp: Ditto.
4302         * gdb.base/default.exp: Ditto.
4303         * gdb.base/dump.exp: Ditto.
4304         * gdb.base/exprs.exp: Ditto.
4305         * gdb.base/freebpcmd.exp: Ditto.
4306         * gdb.base/interrupt.exp: Ditto.
4307         * gdb.base/list.exp: Ditto.
4308         * gdb.base/long_long.exp: Ditto.
4309         * gdb.base/maint.exp: Ditto.
4310         * gdb.base/ptype.exp: Ditto.
4311         * gdb.base/return.exp: Ditto.
4312         * gdb.base/setshow.exp: Ditto.
4313         * gdb.base/sigbpt.exp: Ditto.
4314         * gdb.base/sigrepeat.exp: Ditto.
4315
4316         * gdb.cp/classes.exp: Ditto.
4317
4318         * gdb.dwarf2/dw2-restore.exp: Ditto.
4319
4320         * gdb.gdb/selftest.exp: Ditto.
4321
4322         * gdb.multi/base.exp: Ditto.
4323         * gdb.multi/bkpt-multi-exec.exp: Ditto.
4324
4325         * gdb.python/py-block.exp: Ditto.
4326         * gdb.python/py-prettyprint.exp: Ditto.
4327         * gdb.python/py-template.exp: Ditto.
4328
4329         * gdb.server/ext-attach.exp: Ditto.
4330         * gdb.server/ext-run.exp: Ditto.
4331         * gdb.server/server-mon.exp: Ditto.
4332
4333         * gdb.threads/fork-thread-pending.exp: Ditto.
4334         * gdb.threads/hand-call-in-threads.exp: Ditto.
4335         * gdb.threads/interrupted-hand-call.exp: Ditto.
4336         * gdb.threads/linux-dp.exp: Ditto.
4337         * gdb.threads/manythreads.exp: Ditto.
4338         * gdb.threads/print-threads.exp: Ditto.
4339         * gdb.threads/pthreads.exp: Ditto.
4340         * gdb.threads/schedlock.exp: Ditto.
4341         * gdb.threads/thread-unwindonsignal.exp: Ditto.
4342         * gdb.threads/threadapply.exp: Ditto.
4343
4344 2010-06-08  Michael Snyder  <msnyder@vmware.com>
4345
4346         * gdb.ada/exec_changed.exp:
4347         Use ".*" instead of "" as wildcard regexp.
4348
4349         * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
4350         * gdb.base/call-ar-st.exp: Ditto.
4351         * gdb.base/checkpoint.exp: Ditto.
4352         * gdb.base/default.exp: Ditto.
4353         * gdb.base/dump.exp: Ditto.
4354         * gdb.base/ending-run.exp: Ditto.
4355         * gdb.base/fileio.exp: Ditto.
4356         * gdb.base/miscexprs.exp: Ditto.
4357         * gdb.base/pointers.exp: Ditto.
4358         * gdb.base/readline.exp: Ditto.
4359         * gdb.base/reread.exp: Ditto.
4360         * gdb.base/restore.exp: Ditto.
4361         * gdb.base/shlib-call.exp: Ditto.
4362         * gdb.base/valgrind-db-attach.exp: Ditto.
4363         * gdb.base/volatile.exp: Ditto.
4364         * gdb.base/watchpoints.exp: Ditto.
4365
4366         * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
4367
4368         * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
4369         * gdb.python/py-value.exp: Ditto.
4370
4371         * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
4372         * gdb.trace/circ.exp: Ditto.
4373         * gdb.trace/collection.exp: Ditto.
4374         * gdb.trace/packetlen.exp: Ditto.
4375         * gdb.trace/passc-dyn.exp: Ditto.
4376         * gdb.trace/report.exp: Ditto.
4377         * gdb.trace/tfile.exp: Ditto.
4378         * gdb.trace/tfind.exp: Ditto.
4379         * gdb.trace/while-dyn.exp: Ditto.
4380
4381 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
4382
4383         * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
4384
4385 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4386
4387         Test PR 10640.
4388         * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
4389
4390 2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
4391
4392         * gdb.cp/koenig.exp: Test for ADL operators.
4393         * gdb.cp/koenig.cc: Added ADL operators.
4394         * gdb.cp/operator.exp: New test.
4395         * gdb.cp/operator.cc: New test.
4396
4397 2010-06-04  Michael Snyder  <msnyder@vmware.com>
4398
4399         * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
4400         * gdb.base/pending.exp: Ditto.
4401
4402         * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
4403
4404 2010-06-04  Doug Evans  <dje@google.com>
4405
4406         * gdb.python/py-prettyprint.exp: Add new test for enabled and
4407         disabled printers.
4408         * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
4409         (enable_lookup_function): New function.
4410
4411 2010-06-04  Tom Tromey  <tromey@redhat.com>
4412
4413         * gdb.python/py-value.exp (test_value_hash): Don't test equality
4414         of hash and id.
4415
4416 2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
4417
4418         * gdb.base/commands.exp (add printf tbreak command): Remove trailing
4419         newline.
4420         * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
4421         (empty verbose non-noisy clear, empty verbose noisy clear)
4422         (empty non-verbose noisy clear): Likewise.
4423
4424 2010-06-03  Michael Snyder  <msnyder@vmware.com>
4425
4426         * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
4427         * gdb.base/display.exp: Ditto.
4428         * gdb.base/find.exp: Ditto.
4429         * gdb.base/ifelse.exp: Ditto.
4430         * gdb.base/multi-forks.exp: Ditto.
4431         * gdb.base/recurse.exp: Ditto.
4432         * gdb.base/setshow.exp: Ditto.
4433         * gdb.base/value-double-free.exp: Ditto.
4434         * gdb.base/watch-vfork.exp: Ditto.
4435         * gdb.base/watch_thread_num.exp: Ditto.
4436         * gdb.base/watchpoint-solib.exp: Ditto.
4437         * gdb.base/watchpoint.exp: Ditto.
4438         * gdb.base/watchpoints.exp: Ditto.
4439
4440         * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
4441         * gdb.cp/overload.exp: Ditto.
4442         * gdb.cp/virtfunc.exp: Ditto.
4443
4444         * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
4445
4446         * gdb.reverse/watch-precsave.exp:
4447         Replace gdb_test with gdb_test_no_output.
4448
4449         * gdb.threads/attach-into-signal.exp:
4450         Replace gdb_test with gdb_test_no_output.
4451         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4452         * gdb.threads/watchthreads.exp: Ditto.
4453         * gdb.threads/watchthreads2.exp: Ditto.
4454
4455         * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
4456         * gdb.trace/tfind.exp: Ditto.
4457
4458 2010-06-03  Joel Brobecker  <brobecker@adacore.com>
4459
4460         * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
4461         successful test if message is the empty string.
4462
4463 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4464
4465         * gdb.fortran/module.exp (stopped language detection): New test.
4466
4467 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4468
4469         Support DW_TAG_module as separate namespaces.
4470         * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
4471         gdb.fortran/library-module-lib.f90: New.
4472         * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
4473         (print i): Remove.
4474         (continue to breakpoint: i-is-1, print var_i value 1)
4475         (continue to breakpoint: i-is-2, print var_i value 2)
4476         (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
4477         (print var_d, print var_i value 14, ptype modmany, complete `modm)
4478         (complete `modmany, complete `modmany`, complete `modmany`var)
4479         (show language, setting breakpoint at module): New tests.
4480         * gdb.fortran/module.f90 (module mod): Remove.
4481         (module mod1, module mod2, module modmany, subroutine sub1)
4482         (subroutine sub2, program module): New.
4483
4484 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4485
4486         * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
4487         (print value of rUC, print value of rI, print value of UI): ... here.
4488         * gdb.cp/anon-union.exp (pass): Rename to ...
4489         (print z 2): ... here.
4490
4491 2010-06-02  Michael Snyder  <msnyder@vmware.com>
4492
4493         * gdb.trace/actions.exp: Use gdb_test_no_output.
4494         * gdb.trace/circ.exp: Ditto.
4495         * gdb.trace/packetlen.exp: Ditto.
4496         * gdb.trace/save-trace.exp: Ditto.
4497         * gdb.trace/tracecmd.exp: Ditto.
4498         * gdb.trace/tsv.exp: Ditto.
4499
4500         * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
4501         * gdb.threads/hand-call-in-thraeds.exp: Ditto.
4502         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4503         * gdb.threads/manythreads.exp: Ditto.
4504         * gdb.threads/print-threads.exp: Ditto.
4505         * gdb.threads/pthreads.exp: Ditto.
4506         * gdb.threads/schedlock.exp: Ditto.
4507         * gdb.threads/staticthreads.exp: Ditto.
4508         * gdb.threads/thread-specific.exp: Ditto.
4509         * gdb.threads/thread-unwindonsignal.exp: Ditto.
4510         * gdb.threads/threadapply.exp: Ditto.
4511         * gdb.threads/watchthreads.exp: Ditto.
4512         * gdb.threads/watchthreads2.exp: Ditto.
4513
4514         * gdb.python/py-block.exp: Use gdb_test_no_output.
4515         * gdb.python/py-prettyprint.exp: Ditto.
4516         * gdb.python/py-template.exp: Ditto.
4517         * gdb.python/py-value.exp: Ditto.
4518
4519         * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
4520         * gdb.reverse/watch-reverse.exp: Ditto.
4521
4522         * gdb.server/ext-attach.exp: Use gdb_test_no_output.
4523         * gdb.server/ext-run.exp: Ditto.
4524
4525         * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
4526         * gdb.dwarf2/dw2-compressed.exp: Ditto.
4527         * gdb.dwarf2/dw2-intercu.exp: Ditto.
4528         * gdb.dwarf2/dw2-intermix.exp: Ditto.
4529         * gdb.dwarf2/dw2-producer.exp: Ditto.
4530         * gdb.dwarf2/mac-fileno.exp: Ditto.
4531
4532         * gdb.gdb/observer.exp: Use gdb_test_no_output.
4533         * gdb.gdb/selftest.exp: Ditto.
4534
4535         * gdb.multi/base.exp: Use gdb_test_no_output.
4536
4537         * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
4538
4539 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4540
4541         * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
4542
4543 2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
4544
4545         * gdb.cp/class2.exp: Use gdb_test_no_output.
4546         * gdb.cp/classes.exp: Ditto.
4547         * gdb.cp/extern-c.exp: Ditto.
4548         * gdb.cp/inherit.exp: Ditto.
4549         * gdb.cp/maint.exp: Ditto.
4550         * gdb.cp/mb-inline.exp: Ditto.
4551         * gdb.cp/mb-templates.exp: Ditto.
4552         * gdb.cp/method2.exp: Ditto.
4553         * gdb.cp/misc.exp: Ditto.
4554         * gdb.cp/ovldbreak.exp: Ditto.
4555         * gdb.cp/punctuator.exp: Ditto.
4556         * gdb.cp/templates.exp: Ditto.
4557         * gdb.cp/virtbase.exp: Ditto.
4558
4559         * gdb.threads/attach-stopped.exp:
4560         Replace uses of send_gdb / gdb_expect.
4561         * gdb.threads/attachstop-mt.exp:
4562         Replace uses of send_gdb / gdb_expect.
4563         * gdb.threads/gcore-thread.exp:
4564         Replace uses of send_gdb / gdb_expect.
4565         * gdb.threads/hand-call-in-threads.exp:
4566         Replace uses of send_gdb / gdb_expect.
4567         * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
4568         * gdb.threads/print-threads.exp:
4569         Replace uses of send_gdb / gdb_expect.
4570         * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
4571         * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
4572         * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
4573
4574         * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
4575         * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
4576         * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
4577         * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
4578         * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
4579         * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
4580         * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
4581         * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
4582         * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
4583         * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
4584         * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
4585
4586 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4587
4588         * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
4589
4590 2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>
4591
4592         * gdb.cp/koenig.exp: Added new test case.
4593         * gdb.cp/koenig.cc: Ditto.
4594
4595 2010-06-01  Michael Snyder  <msnyder@vmware.com>
4596
4597         * gdb.base/arithmet.exp: Use gdb_test_no_output.
4598         * gdb.base/arrayidx.exp: Ditto.
4599         * gdb.base/attach.exp: Ditto.
4600         * gdb.base/auxv.exp: Ditto.
4601         * gdb.base/bigcre.exp: Ditto.
4602         * gdb.base/break-always.exp: Ditto.
4603         * gdb.base/break-interp.exp: Ditto.
4604         * gdb.base/break.exp: Ditto.
4605         * gdb.base/breakpoint-shadow.exp: Ditto.
4606         * gdb.base/call-ar-st.exp: Ditto.
4607         * gdb.base/call-sc.exp: Ditto.
4608         * gdb.base/call-signal-resume.exp: Ditto.
4609         * gdb.base/callfuncs.exp: Ditto.
4610         * gdb.base/catch-syscall.exp: Ditto.
4611         * gdb.base/charset.exp: Ditto.
4612         * gdb.base/code-expr.exp: Ditto.
4613         * gdb.base/commands.exp: Ditto.
4614         * gdb.base/cond-expr.exp: Ditto.
4615         * gdb.base/condbreak.exp: Ditto.
4616         * gdb.base/cursal.exp: Ditto.
4617         * gdb.base/cvexpr.exp: Ditto.
4618         * gdb.base/default.exp: Ditto.
4619         * gdb.base/del.exp: Ditto.
4620         * gdb.base/detach.exp: Ditto.
4621         * gdb.base/display.exp: Ditto.
4622         * gdb.base/ena-dis-br.exp: Ditto.
4623         * gdb.base/eval-skip.exp: Ditto.
4624         * gdb.base/foll-fork.exp: Ditto.
4625         * gdb.base/foll-vfork.exp: Ditto.
4626         * gdb.base/frame-args.exp: Ditto.
4627         * gdb.base/funcargs.exp: Ditto.
4628         * gdb.base/gcore-buffer-overflow.exp: Ditto.
4629         * gdb.base/gdbvars.exp: Ditto.
4630         * gdb.base/help.exp: Ditto.
4631         * gdb.base/ifelse.exp: Ditto.
4632         * gdb.base/included.exp: Ditto.
4633         * gdb.base/list.exp: Ditto.
4634         * gdb.base/macscp.exp: Ditto.
4635         * gdb.base/maint.exp: Ditto.
4636         * gdb.base/multi-fork.exp: Ditto.
4637         * gdb.base/overlays.exp: Ditto.
4638         * gdb.base/page.exp: Ditto.
4639         * gdb.base/pending.exp: Ditto.
4640         * gdb.base/pointers.exp: Ditto.
4641         * gdb.base/pr11022.exp: Ditto.
4642         * gdb.base/prelink.exp: Ditto.
4643         * gdb.base/printcmds.exp: Ditto.
4644         * gdb.base/psymtab.exp: Ditto.
4645         * gdb.base/randomize.exp: Ditto.
4646         * gdb.base/relational.exp: Ditto.
4647         * gdb.base/relocate.exp: Ditto.
4648         * gdb.base/remote.exp: Ditto.
4649         * gdb.base/sepdebug.exp: Ditto.
4650         * gdb.base/set-lang-auto.exp: Ditto.
4651         * gdb.base/setshow.exp: Ditto.
4652         * gdb.base/setvar.exp: Ditto.
4653         * gdb.base/signals.exp: Ditto.
4654         * gdb.base/signull.exp: Ditto.
4655         * gdb.base/sigstep.exp: Ditto.
4656         * gdb.base/sizeof.exp: Ditto.
4657         * gdb.base/solib-disc.exp: Ditto.
4658         * gdb.base/store.exp: Ditto.
4659         * gdb.base/structs.exp: Ditto.
4660         * gdb.base/structs2.exp: Ditto.
4661         * gdb.base/subst.exp: Ditto.
4662         * gdb.base/term.exp: Ditto.
4663         * gdb.base/trace-commands.exp: Ditto.
4664         * gdb.base/unwindonsignal.exp: Ditto.
4665         * gdb.base/valgrind-db-attach.exp: Ditto.
4666         * gdb.base/varargs.exp: Ditto.
4667         * gdb.base/watch-cond.exp: Ditto.
4668         * gdb.base/watch_thread_num.exp: Ditto.
4669         * gdb.base/watchpoint-cond-gone.exp: Ditto.
4670         * gdb.base/watchpoint.exp: Ditto.
4671         * gdb.base/whatis-exp.exp: Ditto.
4672
4673 2010-06-01  Michael Snyder  <msnyder@vmware.com>
4674
4675         * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
4676         * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
4677         * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
4678         * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
4679         * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
4680         * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
4681         * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
4682         * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
4683         * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
4684         * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
4685         * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
4686         * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
4687         * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
4688         * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
4689         * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
4690
4691 2010-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
4692
4693         * gdb.base/commands.exp (begin commands on watch): Remove excessive
4694         trailing newline.
4695         * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
4696         * gdb.java/jmisc.exp (p *args\n): Rename to ...
4697         (p *args): ... here and remove excessive trailing newline.
4698
4699 2010-05-31  Joel Brobecker  <brobecker@adacore.com>
4700
4701         * gdb.base/subst.exp: Fix call to gdb_test with empty message.
4702
4703 2010-05-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
4704
4705         Accept the new Linux kernel "t (tracing stop)" string.
4706         * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
4707         Update comment.
4708         (state_wait) <T (tracing stop)>: New.
4709         (main): Update the state_wait expect string.
4710
4711 2010-05-28  Pedro Alves  <pedro@codesourcery.com>
4712
4713         * limits.c, limits.exp: Delete files.
4714         * Makefile.in (clean mostlyclean): Adjust.
4715         * tracecmd.exp: Adjust.
4716
4717 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4718
4719         * gdb.base/tui-layout.exp: New.
4720
4721 2010-05-28  Michael Snyder  <msnyder@vmware.com>
4722
4723         * gdb.reverse/break-precsave.exp:
4724         Replace uses of send_gdb / gdb_expect.
4725         * gdb.reverse/break-reverse.exp:
4726         Replace uses of send_gdb / gdb_expect.
4727         * gdb.reverse/consecutive-precsave.exp:
4728         Replace uses of send_gdb / gdb_expect.
4729         * gdb.reverse/consecutive-reverse.exp:
4730         Replace uses of send_gdb / gdb_expect.
4731         * gdb.reverse/finish-precsave.exp:
4732         Replace uses of send_gdb / gdb_expect.
4733         * gdb.reverse/finish-reverse.exp:
4734         Replace uses of send_gdb / gdb_expect.
4735         * gdb.reverse/i386-precsave.exp:
4736         Replace uses of send_gdb / gdb_expect.
4737         * gdb.reverse/i386-reverse.exp:
4738         Replace uses of send_gdb / gdb_expect.
4739         * gdb.reverse/i386-sse-reverse.exp:
4740         Replace uses of send_gdb / gdb_expect.
4741         * gdb.reverse/i387-env-reverse.exp:
4742         Replace uses of send_gdb / gdb_expect.
4743         * gdb.reverse/i387-stack-reverse.exp:
4744         Replace uses of send_gdb / gdb_expect.
4745         * gdb.reverse/machinestate-precsave.exp:
4746         Replace uses of send_gdb / gdb_expect.
4747         * gdb.reverse/machinestate.exp:
4748         Replace uses of send_gdb / gdb_expect.
4749         * gdb.reverse/sigall-precsave.exp:
4750         Replace uses of send_gdb / gdb_expect.
4751         * gdb.reverse/sigall-reverse.exp:
4752         Replace uses of send_gdb / gdb_expect.
4753         * gdb.reverse/solib-precsave.exp:
4754         Replace uses of send_gdb / gdb_expect.
4755         * gdb.reverse/solib-reverse.exp:
4756         Replace uses of send_gdb / gdb_expect.
4757         * gdb.reverse/step-precsave.exp:
4758         Replace uses of send_gdb / gdb_expect.
4759         * gdb.reverse/step-reverse.exp:
4760         Replace uses of send_gdb / gdb_expect.
4761         * gdb.reverse/until-precsave.exp:
4762         Replace uses of send_gdb / gdb_expect.
4763         * gdb.reverse/until-reverse.exp:
4764         Replace uses of send_gdb / gdb_expect.
4765         * gdb.reverse/watch-precsave.exp:
4766         Replace uses of send_gdb / gdb_expect.
4767         * gdb.reverse/watch-reverse.exp:
4768         Replace uses of send_gdb / gdb_expect.
4769
4770 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4771
4772         * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
4773         excessive newline.
4774
4775 2010-05-27  Michael Snyder  <msnyder@vmware.com>
4776
4777         * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
4778         * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
4779         * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
4780         * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
4781         * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
4782         * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
4783         * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
4784         * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
4785         * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
4786         * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
4787         * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
4788         * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
4789         * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
4790         * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
4791         * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
4792         * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
4793         * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
4794         * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
4795         * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
4796
4797 2010-05-26  Michael Snyder  <msnyder@vmware.com>
4798
4799         * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
4800         * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
4801
4802         * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
4803         * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
4804         * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
4805
4806         * gdb.reverse/consecutive-reverse.exp:
4807         Replace uses of send_gdb / gdb_expect.
4808         * gdb.reverse/consecutive-precsave.exp:
4809         Replace uses of send_gdb / gdb_expect.
4810
4811         * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
4812         * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
4813         * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
4814         * gdb.mi/mi-ns-stale-regcache.exp:
4815         Replace uses of send_gdb / gdb_expect.
4816         * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
4817         * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
4818         * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
4819         * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
4820         * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
4821         * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
4822         * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
4823         * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
4824         * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
4825
4826 2010-05-26  Michael Snyder  <msnyder@vmware.com>
4827
4828         * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
4829
4830         * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
4831
4832         * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
4833         * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
4834         * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
4835         * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
4836         * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
4837         * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
4838         * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
4839         * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
4840         * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
4841
4842 2010-05-25  Tom Tromey  <tromey@redhat.com>
4843
4844         * gdb.base/macscp.exp: Add missing space after setup_kfail.
4845
4846 2010-05-25  Tom Tromey  <tromey@redhat.com>
4847
4848         * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
4849         argument order.
4850         * gdb.base/macscp.exp: Fix setup_kfail argument order.
4851         * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
4852         order.
4853         * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
4854         order.
4855         * gdb.base/call-sc.exp (setup_kfails): Remove.
4856         (setup_compiler_kfails): Remove.
4857         * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
4858         argument order.
4859         * gdb.base/siginfo.exp: Fix setup_kfail argument order.
4860         * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
4861         (advancei): Fix setup_kfail argument order.
4862         * gdb.base/radix.exp: Fix setup_kfail argument order.
4863         * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
4864         order.
4865         * gdb.base/structs.exp (setup_kfails): Remove.
4866         (setup_compiler_kfails): Fix setup_kfail argument order.
4867         * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
4868         order.
4869         * gdb.java/jmain.exp: Fix setup_kfail argument order.
4870         * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
4871         setup_kfail argument order.
4872         * gdb.cp/overload.exp: Fix setup_kfail argument order.
4873
4874 2010-05-25  Tom Tromey  <tromey@redhat.com>
4875
4876         * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
4877
4878 2010-05-25  Michael Snyder  <msnyder@vmware.com>
4879
4880         * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
4881         * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
4882         * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
4883         * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
4884         * gdb.base/assign.exp: Replace send_gdb with gdb_test.
4885         * gdb.base/attach.exp: Replace send_gdb with gdb_test.
4886         * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
4887         * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
4888         * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
4889         * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
4890         * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
4891         * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
4892         * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
4893         * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
4894         * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
4895         * gdb.base/charset.exp: Replace send_gdb with gdb_test.
4896         * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
4897         * gdb.base/commands.exp: Replace send_gdb with gdb_test.
4898         * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
4899         * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
4900         * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
4901         * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
4902         * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
4903         * gdb.base/default.exp: Replace send_gdb with gdb_test.
4904         * gdb.base/define.exp: Replace send_gdb with gdb_test.
4905         * gdb.base/display.exp: Replace send_gdb with gdb_test.
4906         * gdb.base/dump.exp: Replace send_gdb with gdb_test.
4907         * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
4908         * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
4909         * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
4910         * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
4911         * gdb.base/finish.exp: Replace send_gdb with gdb_test.
4912         * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
4913         * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
4914         * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
4915         * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
4916         * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
4917         * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
4918         * gdb.base/help.exp: Replace send_gdb with gdb_test.
4919         * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
4920         * gdb.base/jump.exp: Replace send_gdb with gdb_test.
4921         * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
4922         * gdb.base/maint.exp: Replace send_gdb with gdb_test.
4923         * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
4924         * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
4925         * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
4926         * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
4927         * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
4928
4929 2010-05-25  Doug Evans  <dje@google.com>
4930
4931         * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
4932         gdb.string_to_argv.
4933
4934 2010-05-21  Tom Tromey  <tromey@redhat.com>
4935
4936         * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
4937         Call it.
4938         * gdb.dwarf2/pieces.S: Update.
4939         * gdb.dwarf2/pieces.c (struct B): Remove initial field.
4940
4941 2010-05-21  Tom Tromey  <tromey@redhat.com>
4942
4943         * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
4944         Call it.
4945         * gdb.dwarf2/pieces.c (struct C): New.
4946         (f6): New function.
4947         * gdb.dwarf2/pieces.S: Replace.
4948
4949 2010-05-21  Tom Tromey  <tromey@redhat.com>
4950
4951         * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
4952         Call it.
4953
4954 2010-05-21  Tom Tromey  <tromey@redhat.com>
4955
4956         * gdb.dwarf2.pieces.exp: New file.
4957         * gdb.dwarf2.pieces.S: New file.
4958         * gdb.dwarf2.pieces.c: New file.
4959
4960 2010-05-20  Pedro Alves  <pedro@codesourcery.com>
4961             Joel Brobecker  <brobecker@adacore.com>
4962
4963         * lib/gdb.exp (gdb_test_no_output): New function.
4964         * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
4965         when testing commands that should produce no output.
4966
4967 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
4968
4969         * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
4970         parameter that we want to watch being a constant.
4971
4972 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
4973
4974         * gdb.ada/cond_lang: New testcase.
4975
4976 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
4977
4978         * lib/gdb.exp (banned_variables): New variable/constant.
4979         (gdb_init): Add write trace on variables listed in banned_variables.
4980         (gdb_finish): Remove write traces on variables listed in
4981         banned_variables.
4982
4983 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
4984
4985         * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
4986         * gdb.cp/koenig.exp: Likewise.
4987
4988 2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>
4989
4990         PR python/11482
4991
4992         * gdb.python/py-value.exp (test_value_hash): New function.
4993
4994 2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>
4995
4996         PR exp/11530.
4997         * gdb.base/gdb11530.c: New file.
4998         * gdb.base/gdb11530.exp: New file.
4999
5000 2010-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
5001
5002         * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5003         * gdb.dwarf2/dw2-modula2-self-type.S: New.
5004
5005 2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
5006
5007         * gdb.cp/koenig.exp: New test.
5008         * gdb.cp/koenig.cc: New test program.
5009
5010 2010-05-05  Joel Brobecker  <brobecker@adacore.com>
5011
5012         Remove the use of prms_id and bug_id throughout the testsuite.
5013
5014 2010-05-04  Pierre Muller  <muller@ics.u-strasbg.fr>
5015
5016         PR exp/11349.
5017         * testsuite/gdb.cp/ref-types.exp: Add test to examine
5018         use a reference local variable.
5019
5020 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5021
5022         * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
5023         * gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
5024         variable different_dir. Move debugfile into a full directory pathname
5025         under DIFFERENT_DIR.
5026         * lib/gdb.exp (separate_debug_filename): Remove.
5027         (gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
5028         variable debug_dir and mkdir of it.  Update function comments.
5029
5030 2010-04-29  Pedro Alves  <pedro@codesourcery.com>
5031
5032         PR gdb/11557
5033
5034         * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
5035         files.
5036
5037 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
5038
5039         * gdb.python/py-param.exp: New File.
5040
5041 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
5042
5043         * gdb.base/default.exp: Fix "set language" test.
5044
5045 2010-04-24  Pierre Muller  <muller@ics.u-strasbg.fr>
5046
5047         PR breakpoints/11531.
5048         * gdb.base/gdb11531.c: New file.
5049         * gdb.base/gdb11531.exp: New file.
5050
5051 2010-04-26  Tom Tromey  <tromey@redhat.com>
5052
5053         * gdb.base/completion.exp: Add tests for completion and deprecated
5054         commands.
5055
5056 2010-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
5057
5058         * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
5059         (print /x char_array): Escape curly brackets.
5060
5061 2010-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
5062
5063         Fix deadlock on looped list of loaded shared objects.
5064         * gdb.base/solib-corrupted.exp: New.
5065
5066 2010-04-23  Doug Evans  <dje@google.com>
5067
5068         * gdb.python/py-section-script.c: New file.
5069         * gdb.python/py-section-script.exp: New file.
5070         * gdb.python/py-section-script.py: New file.
5071
5072 2010-04-20  Chris Moller  <cmoller@redhat.com>
5073
5074         PR 10179
5075
5076         * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
5077         * gdb.base/pr10179-a.c:
5078         * gdb.base/pr10179-b.c:
5079         * gdb.base/pr10179.exp: New files.
5080
5081 2010-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5082
5083         Fix crashes on dangling display expressions.
5084         * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
5085         is SEP.
5086         (lib_flags): Remove the "debug" keyword.
5087         (libsepdebug): New variable for iterating new loop.
5088         (save_pf_prefix): New variable wrapping the loop.
5089         (sep_lib_flags): New variable derived from LIB_FLAGS.  Use it.
5090         * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
5091
5092 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5093
5094         * gdb.threads/watchthreads.exp: Change to obtain consistent output.
5095
5096 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5097
5098         PR stabs/11479.
5099         * gdb.stabs/gdb11479.exp: New file.
5100         * gdb.stabs/gdb11479.c: New file.
5101
5102 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5103
5104         * gdb.base/charset.c (Strin16, String32): New variables.
5105         * gdb.base/charset.exp (gdb_test): Test correct display
5106         of 16 or 32 bit strings.
5107
5108 2010-04-21  Chris Moller  <cmoller@redhat.com>
5109
5110         PR 9167
5111         * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
5112         * gdb.cp/pr9167.cc: New file.
5113         * gdb.cp/pr9167.exp: New file.
5114
5115
5116 2010-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
5117
5118         PR pascal/11492.
5119         * gdb.pascal/gdb11492.pas: New file.
5120         * gdb.pascal/gdb11492.exp: New file.
5121
5122 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
5123
5124         * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
5125
5126 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
5127
5128         * gdb.ada/dyn_loc: New testcase.
5129
5130 2010-04-20  Chris Moller  <cmoller@redhat.com>
5131
5132         PR 10867
5133
5134         * gdb.cp/Makefile.in  (EXECUTABLES): Added pr10687
5135         * gdb.cp/pr10687.cc: New file.
5136         * gdb.cp/pr10687.exp: New file.
5137
5138
5139 2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5140             Sergio Durigan Junior  <sergiodj@redhat.com>
5141
5142         * gdb.fortran/logical.exp: New testcase.
5143         * gdb.fortran/logical.f90: New file.
5144
5145 2010-04-19  Doug Evans  <dje@google.com>
5146
5147         * gdb.base/help.exp (help source): Update expected output.
5148
5149 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5150
5151         * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
5152         gdb_reinitialize_dir and gdb_load by clean_restart.  Remove trailing
5153         gdb_exit and return.
5154         (executable): New variable.
5155         (binfile): Use it.
5156
5157 2010-04-19  Pedro Alves  <pedro@codesourcery.com>
5158
5159         PR breakpoints/8554.
5160
5161         * gdb.trace/save-trace.exp: Adjust.
5162
5163 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5164
5165         PR corefiles/11511
5166         * gdb.arch/system-gcore.exp: New.
5167         * gdb.arch/gcore.c: Likewise.
5168
5169 2010-04-15  Doug Evans  <dje@google.com>
5170
5171         * gdb.python/py-progspace.c: New file.
5172         * gdb.python/py-progspace.exp: New file.
5173
5174         * gdb.base/source.exp: Add tests for "source -s".
5175
5176 2010-04-14  Phil Muldoon  <pmuldoon@redhat.com>
5177
5178         * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
5179         * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
5180         * gdb.python/py-prettyprint.exp: New test for to_string returning None.
5181         * gdb.python/py-mi.exp: New test for to_string returning None.
5182
5183 2010-04-12  Phil Muldoon  <pmuldoon@redhat.com>
5184
5185         * gdb.python/py-breakpoint.c: Make result global.
5186
5187 2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
5188
5189         Fix non-GNU make compatibility.
5190         * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
5191
5192 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
5193
5194         * gdb.python/py-breakpoint.exp: New File.
5195         * gdb.python/py-breakpoint.C: Ditto.
5196
5197 2010-04-08  Stan Shebs  <stan@codesourcery.com>
5198
5199         * gdb.trace/actions.exp: Clear default-collect.
5200         * gdb.trace/save-trace.exp: Clear default-collect.
5201
5202 2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
5203
5204         * gdb.python/py-value: Add null string variable.
5205           (test_lazy_string): Test zero length, NULL address lazy
5206           strings.
5207
5208 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5209
5210         * gdb.arch/i386-avx.c: New.
5211         * gdb.arch/i386-avx.exp: Likewise.
5212
5213         * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
5214
5215 2010-04-06  Doug Evans  <dje@google.com>
5216
5217         * gdb.base/source-test.gdb: New file.
5218         * gdb.base/source.exp: Test source -v.
5219
5220 2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5221
5222         * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
5223
5224 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
5225
5226         * gdb.stabs/aout.sed: Convert all backslash to double backslash
5227         within one line, unless it is followed by a double quote.
5228         * gdb.stabs/hppa.sed: Idem.
5229         * gdb.stabs/weird.def: Add char and String constants
5230         * gdb.stabs/weird.exp: Check for correct parsing of
5231         char and string constants.
5232         * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5233         in .stabs to .stabx substitution.
5234
5235 2010-04-05  Stan Shebs  <stan@codesourcery.com>
5236
5237         * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5238         constant global.
5239         * gdb.trace/tfile.exp: Try to print them.
5240
5241 2010-04-04  Stan Shebs  <stan@codesourcery.com>
5242
5243         * gdb.base/completion.exp: Update for new "info watchpoints".
5244         * gdb.base/default.exp: Ditto.
5245         * gdb.base/help.exp: Ditto.
5246         * gdb.base/watchpoint.exp: Ditto.
5247         * gdb.trace/infotrace.exp: Update "info tracpoints" output.
5248
5249 2010-04-04  Stan Shebs  <stan@codesourcery.com>
5250
5251         * gdb.trace/tfile.exp: Sharpen tfind test.
5252
5253 2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
5254
5255         * gdb.base/break-entry.exp: New.
5256
5257 2010-04-02  Hui Zhu  <teawater@gmail.com>
5258             Michael Snyder <msnyder@vmware.com>
5259
5260         * gdb.reverse/i386-sse-reverse.exp: New file.
5261         * gdb.reverse/i386-sse-reverse.c: New file.
5262
5263 2010-04-02  Pedro Alves  <pedro@codesourcery.com>
5264
5265         * gdb.trace/tfind.exp: Adjust expected disassembly output.
5266
5267 2010-04-01  Stan Shebs  <stan@codesourcery.com>
5268
5269         * gdb.trace/actions.exp: Tweak expected output.
5270         * gdb.trace/while-stepping.exp: Tweak expected output.
5271
5272 2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
5273
5274         * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
5275
5276 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5277
5278         * gdb.base/commands.exp: Adjust.
5279         * gdb.cp/extern-c.exp: Adjust.
5280
5281 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5282
5283         * gdb.trace/collection.c (local_test_func): Define a local struct,
5284         and instanciate it.
5285
5286 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5287
5288         * gdb.trace/collection.exp (gdb_collect_args_test)
5289         (gdb_collect_argarray_test): XFAIL the tests that assume the
5290         argarray argument's elements are collected.
5291
5292 2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
5293
5294         * gdb.dwarf2/dw2-bad-parameter-type.exp,
5295         gdb.dwarf2/dw2-bad-parameter-type.S: New.
5296
5297 2010-03-31  Stan Shebs  <stan@codesourcery.com>
5298
5299         * gdb.trace/save-trace.exp: Test save/restore of default-collect
5300         and tracepoint conditionals.
5301         (gdb_verify_tracepoints): Delete unused return.
5302
5303 2010-03-26  Keith Seitz  <keiths@redhat.com>
5304
5305         * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
5306         appear in the output before main.
5307         Remove KFAIL for gdb/2215 aka bz 9320.
5308
5309 2010-03-30  Doug Evans  <dje@google.com>
5310
5311         * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
5312         by dejagnu.
5313         * gdb.arch/amd64-dword.exp: Ditto.
5314
5315         * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
5316         match.
5317         (break printf): Ditto.
5318
5319 2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
5320
5321         * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
5322         gcc < 4.4.
5323         * gdb.cp/shadow.exp: Ditto.
5324
5325 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
5326
5327         * gdb.trace/collection.exp (run_trace_experiment): Make sure
5328         "tstart" is silent.
5329
5330 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
5331
5332         * gdb.trace/collection.exp (executable): New.
5333         (binfile): Use it.
5334         (fpreg, spreg, pcreg): New.
5335         (test_register): Use gdb_test_multiple.  Pass /x to print.
5336         (prepare_for_trace_test): New.
5337         (run_trace_experiment): Use "continue", not gdb_run_cmd.
5338         (gdb_collect_args_test, gdb_collect_argstruct_test)
5339         (gdb_collect_argarray_test, gdb_collect_locals_test): Use
5340         prepare_for_trace_test.
5341         (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
5342         fpreg, spreg and pcreg.
5343         (gdb_collect_expression_test, gdb_collect_globals_test): Use
5344         prepare_for_trace_test.
5345         (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
5346         try to detect tracing support here.  Don't set breakpoints at
5347         `begin' or `end' here.
5348         <global scope>: Use clean_restart.  Run to main before checking
5349         for tracing support.  Check for for tracing support here.
5350
5351 2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5352
5353         * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
5354         " as $displacement" to "seen displacement message".
5355
5356 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
5357
5358         * gdb.trace/while-dyn.exp (executable): New variable.
5359         (binfile): Use it.
5360         (test_while_stepping): New function.  Move most tests here.  Call
5361         it once for each of the while-stepping, stepping and ws aliases.
5362
5363 2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5364
5365         * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
5366         that do not provide the tagless_struct type name at all.
5367         (test_print_anon_union): Do not check value of uninitialized
5368         union member.  Do not use cp_test_ptype_class, so we can accept
5369         "long" as well as "long int".
5370
5371 2010-03-26  Pedro Alves  <pedro@codesourcery.com>
5372
5373         * gdb.trace/tfile.c (tohex, bin2hex): New.
5374         (write_error_trace_file): Hexify error description.
5375
5376 2010-03-25  Stan Shebs  <stan@codesourcery.com>
5377
5378         * gdb.trace/tfile.c: Generate an additional trace file, improve
5379         portability.
5380         * gdb.trace/tfile.exp: Test trace file with an error stop, delete
5381         files in a better way.
5382
5383 2010-03-25  Keith Seitz  <keiths@redhat.com>
5384
5385         * gdb.java/jprint.exp: XFAIL printing of static class members
5386         because of GCC debuginfo problem.
5387
5388 2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
5389
5390         * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
5391
5392 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
5393
5394         * gdb.base/completion.exp: Allow long instead of long int.
5395         * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
5396         * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
5397         variable p.
5398         * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
5399         * gdb.base/pointers.exp: Allow long instead of long int.
5400         * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
5401         * gdb.base/step-line.exp: Allow a directory before the source file name.
5402
5403 2010-03-24  Tom Tromey  <tromey@redhat.com>
5404
5405         PR breakpoints/9352:
5406         * gdb.base/default.exp: Update.
5407         * gdb.base/commands.exp: Update.
5408         * gdb.cp/extern-c.exp: Test setting commands on multiple
5409         breakpoints at once.
5410
5411 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
5412
5413         * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
5414         if gdb,nosignals.
5415         * gdb.base/watchpoints.c: Do not include unnecessary headers.
5416         * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
5417         exited".
5418
5419 2010-03-24  Stan Shebs  <stan@codesourcery.com>
5420
5421         * gdb.trace/tfile.exp: Expect "trace frame", with a space.
5422
5423 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
5424
5425         * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
5426         * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
5427         argument.  Handle "short" and "long".
5428         (Top level): Pass overprototyped output for old_fptr and xptr.
5429
5430 2010-03-23  Pedro Alves  <pedro@codesourcery.com>
5431
5432         * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
5433         format strings and add casts to avoid compiler warnings.
5434
5435 2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
5436
5437         * lib/trace-support.exp (gdb_trace_setactions):
5438         Don't expect whitespace after ">" prompt.
5439         * gdb.trace/actions.exp: Adjust for output changes.
5440         * gdb.trace/while-stepping.exp: Likewise.
5441
5442 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5443
5444         * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
5445         and r157645).
5446
5447 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5448
5449         * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
5450         New.
5451
5452 2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
5453
5454         * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
5455         * gdb.python/py-mi.exp (binfile): Rename to py-mi.
5456
5457 2010-03-19  Stan Shebs  <stan@codesourcery.com>
5458
5459         * gdb.trace/ax.exp: New file.
5460
5461 2010-03-19  Doug Evans  <dje@google.com>
5462
5463         * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
5464         output from gcc.
5465
5466         * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
5467         named /usr/sbin/prelink<foo>.
5468
5469 2010-03-18  Stan Shebs  <stan@codesourcery.com>
5470
5471         * gdb.trace/circ.exp: Test circular-trace-buffer.
5472         * gdb.trace/tfile.exp: Update tstatus test.
5473
5474 2010-03-18  Joel Brobecker  <brobecker@adacore.com>
5475
5476         * gdb.dwarf2/dw2-anonymous-func.S: New file.
5477         * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
5478
5479 2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5480
5481         * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
5482
5483 2010-03-18  Pedro Alves  <pedro@codesourcery.com>
5484
5485         * gdb.base/default.exp: Adjust the expected output of the finish
5486         and until commands when the inferior is not being run.
5487
5488 2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
5489
5490         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
5491         * gdb.cp/nsusing.exp: Ditto.
5492
5493 2010-03-15  Tom Tromey  <tromey@redhat.com>
5494
5495         * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
5496         * gdb.cp/userdef.cc (operator==): New function.
5497         (main): New locals mem1, mem2.
5498
5499 2010-03-15  Jie Zhang  <jie@codesourcery.com>
5500
5501         * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
5502         Declare and use new loadtimeout variable.
5503
5504 2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
5505
5506         * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
5507         Use gdb_load later.
5508
5509 2010-03-14  Pedro Alves  <pedro@codesourcery.com>
5510
5511         * gdb.base/solib-disc.c (main): Make format of fprintf a string
5512         literal.  Add missing endlines to prints to stderr.
5513
5514 2010-03-12  Tom Tromey  <tromey@redhat.com>
5515
5516         PR c++/9708:
5517         * gdb.cp/m-static.exp: Add regression test.
5518         * gdb.cp/m-static.cc (method): New method.
5519         (main): Call it.
5520
5521 2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
5522
5523         * gdb.cp/gdb2384-base.h: Created 'namespace B'.
5524         * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
5525
5526 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
5527
5528         * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
5529
5530 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
5531
5532         * lib/gdb.exp (skip_stl_tests): New.
5533         (gdb_compile): Symbian needs -ldl.
5534         (shlib_target_file): New.
5535         (shlib_symbol_file): New.
5536         (gdb_load_shlibs): Use shlib_target_file.
5537         * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
5538         * gdb.cp/exception.exp: Use skip_stl_tests.
5539         * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
5540         * gdb.cp/try_catch.exp: Use skip_stl_tests.
5541         * gdb.cp/mb-templates.exp: Ditto.
5542         * gdb.base/commands.exp: Relax regexes.
5543         * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
5544         shlib_target_file and shlib_symbol_file.
5545         * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
5546         sections.
5547         * gdb.base/ending-run.exp: Accept E32Main for symbian.
5548         * gdb.base/solib-disc.exp: Use
5549         shlib_target_file and shlib_symbol_file.
5550         * gdb.base/unload.exp: Don't skip on symbian.  Use
5551         shlib_target_file and shlib_symbol_file.
5552         * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
5553
5554 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
5555
5556         * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
5557         * gdb.trace/report.exp: Adjust for x86 and x86_64.
5558         Issue a tfind end before looking for a tracepoint frame.
5559         * gdb.trace/tfind.exp: Adjust tstatus output.
5560         Adjust disassembly output.
5561         * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
5562
5563 2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5564
5565         * gdb.base/break-interp.exp: Create new displacement parameter value
5566         for the test_ld calls.
5567         (reach): New parameter displacement, verify its content.  New push of
5568         pf_prefix "reach-$func:".  Import global expect_out.
5569         (test_core): New parameter displacement, verify its content.  New push
5570         of pf_prefix "core:".  New command "set verbose on".  Import global
5571         expect_out.
5572         (test_attach): New parameter displacement, verify its content.  New
5573         push of pf_prefix "attach:".  New command "set verbose on".  Import
5574         global expect_out.
5575         (test_ld): New parameter displacement, pass it to the reach, test_core
5576         and test_attach calls and verify its content in the "ld.so exit" test.
5577         * gdb.base/prelink.exp: Remove gdb_exit and final return.
5578         (prelink): Update expected text, use gdb_test.
5579
5580 2010-03-10  Doug Evans  <dje@google.com>
5581
5582         * gdb.base/checkpoint.exp: Fix comment.
5583         Lengthen timeout while doing >600 checkpoints test.
5584         Rename duplicate "kill all one" test to keep test names unique.
5585
5586 2010-03-10  Pedro Alves  <pedro@codesourcery.com>
5587
5588         * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
5589
5590 2010-03-08  Keith Seitz  <keiths@redhat.com>
5591
5592         * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
5593         * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
5594         (dm_type_long): New function.
5595         (dm_type_unsigned_short): New function.
5596         (dm_type_unsigned_long): New function.
5597         (myint): New typedef.
5598         * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
5599         long, unsigned shor and long, operator char*, and typedef.
5600         (test_lookup_operator_functions): Add operator char* test.
5601         (test_paddr_operator_functions): Likewise.
5602         (test_paddr_overloaded_functions): Use probe values for
5603         short, long, and unsigned short and long.
5604         (test_paddr_hairy_functions): If the demangler probe detected
5605         gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
5606         demangler.
5607         * gdb.cp/expand-sals.exp: Backtrace may contain class names.
5608         * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
5609         and "print null_pmf".
5610         Add test "ptype a.*pmf".
5611         * gdb.cp/overload.exp: Allow optional "int" to appear with
5612         "short" and "long".
5613         * gdb.cp/ovldbreak.exp: Use append to construct super-duper
5614         long expect value for men_overload1arg.
5615         Allow "int" to appear with "short" and "long".
5616         When testing "info break", add argument for main (void).
5617         Also allow "int" to appear with "short" and "long".
5618         Ditto with "unsigned" and "long long".
5619         * gdb.java/jmain.exp: Do not enclose methods names in single
5620         quotes.
5621         * gdb.java/jmisc.exp: Likewise.
5622         * gdb.java/jprint.exp: Likewise.
5623         * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
5624
5625         From Jan Kratochvil  <jan.kratochvil@redhat.com>:
5626         * gdb.cp/exception.exp (backtrace after first throw)
5627         (backtrace after second throw): Allow a namespace before __cxa_throw.
5628         (backtrace after first catch, backtrace after second catch): Allow
5629         a namespace before __cxa_begin_catch.
5630
5631         * gdb.cp/cpexprs.exp: New file.
5632         * gdb.cp/cpexprs.cc: New file.
5633
5634         From Daniel Jacobowitz  <dan@codesourcery.com>
5635         * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
5636         to use string_to_regexp.
5637         (ctor, dtor): New functions.  Use them to match constructor
5638         and destructor function types.
5639         (Top level): Use runto_main.
5640
5641 2010-03-05  Tom Tromey  <tromey@redhat.com>
5642
5643         * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
5644         gdb.target_charset.
5645         (pp_ns.to_string): Likewise.
5646
5647 2010-03-04  Keith Seitz  <keiths@redhat.com>
5648
5649         * gdb.cp/overload.exp: Test that the filename portion of a linespec
5650         can be quoted.  Test that both the filename and function/line
5651         portions can be quoted at the same time.
5652
5653 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
5654
5655         * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
5656
5657 2010-03-03  Doug Evans  <dje@google.com>
5658
5659         * lib/gdb.exp (gdb_compile_pthreads): Handle case where
5660         libc contains libpthread.
5661
5662         * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
5663         * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
5664         of gdb_compile.  Add another pattern to match android backtrace.
5665
5666 2010-03-03  Tom Tromey  <tromey@redhat.com>
5667
5668         PR gdb/11345:
5669         * gdb.base/printcmds.exp (test_printf): Add test.
5670
5671 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
5672
5673         * gdb.arch/amd64-byte.exp: New.
5674         * gdb.arch/amd64-dword.exp: Likewise.
5675         * gdb.arch/amd64-pseudo.c: Likewise.
5676         * gdb.arch/amd64-word.exp: Likewise.
5677         * gdb.arch/i386-byte.exp: Likewise.
5678         * gdb.arch/i386-pseudo.c: Likewise.
5679         * gdb.arch/i386-word.exp: Likewise.
5680
5681 2010-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
5682
5683         * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
5684         types.  Add structreg, bitfields, and flags registers.
5685         * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
5686         registers.
5687
5688 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5689
5690         * gdb.xml/tdesc-regs.exp (architecture): New.  Set it for x86.
5691         (load_description): Set architecture if defined.
5692
5693 2010-02-28  Phil Muldoon  <pmuldoon@redhat.com>
5694
5695         * gdb.python/py-frame.exp: Add read_var block tests.
5696         * gdb.python/py-frame.c (block): New function.
5697
5698 2010-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5699             Daniel Jacobowitz  <dan@codesourcery.com>
5700
5701         * gdb.base/callfuncs.exp: New tests for $spval 0 and -1.  Remove return.
5702
5703 2010-02-25  David S. Miller  <davem@davemloft.net>
5704
5705         * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
5706         fix logic for setting all_syscalls_numbers.
5707
5708 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
5709
5710         * Makefile.in: Add py-block and py-symbol.
5711         * gdb.python/py-symbol.exp: New File.
5712         * gdb.python/py-symtab.exp: New File.
5713         * gdb.python/py-block.exp: New File.
5714         * gdb.python/py-symbol.c: New File.
5715         * gdb.python/py-block.c: New File.
5716
5717 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
5718
5719         PR python/11314
5720         * lib/gdb.exp (skip_python_tests): New function.
5721         * gdb.python/py-cmd.exp: Use skip_python_tests.
5722         * gdb.python/py-frame.exp: Likewise.
5723         * gdb.python/py-function.exp: Likewise.
5724         * gdb.python/py-prettyprint.exp: Likewise.
5725         * gdb.python/py-template.exp: Likewise.
5726         * gdb.python/py-type.exp: Likewise.
5727         * gdb.python/py-value.exp: Likewise.
5728
5729 2010-02-22  Pedro Alves  <pedro@codesourcery.com>
5730
5731         PR9605
5732
5733         * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
5734
5735 2010-02-19  Tom Tromey  <tromey@redhat.com>
5736
5737         PR c++/8693, PR c++/9496:
5738         * gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
5739         regression tests.
5740
5741 2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5742
5743         Fix compatibility with m68k as.
5744         * gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
5745         Use only /* comments */.
5746
5747 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5748
5749         * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
5750         * configure: Regenerate.
5751
5752 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
5753
5754         * gdb.python/py-type.exp: Check for Python support.
5755
5756 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
5757
5758         * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
5759         `regsub' syntax available.
5760
5761 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
5762
5763         * gdb.base/shmain.c (main): Remove printf call.
5764         * gdb.base/sizeof.c (main): Cast return of sizeof to int.
5765         * gdb.base/unload.c (main): Make format of fprintf a string
5766         literal.  Add missing endlines to prints to stderr.
5767         * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
5768
5769 2010-02-17  Tom Tromey  <tromey@redhat.com>
5770
5771         * gdb.java/jprint.java (jprint.props): New field.
5772         * gdb.java/jprint.exp (set_lang_java): Add regression test.
5773
5774 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
5775
5776         * gdb.base/charset.exp: Don't assume new `regsub' syntax
5777         available.
5778
5779 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
5780
5781         * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
5782         creation to support remote host testing.
5783
5784 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
5785
5786         * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
5787         Recognize "command not found".
5788
5789 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
5790
5791         * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
5792         single-stepping.
5793
5794 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
5795
5796         * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
5797         if arguments are not supported.
5798
5799 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
5800
5801         * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
5802         be const or non-const.
5803
5804 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
5805
5806         * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
5807         mi_send_resuming_command to send -exec-continue.
5808
5809 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
5810
5811         * gdb.base/list.exp (test_list_filename_and_function): Add test
5812         with single quotes.
5813         * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
5814         matching.
5815         * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
5816         Add KFAIL'd tests for PR gdb/11289.
5817
5818 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
5819
5820         * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
5821
5822 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
5823
5824         * gdb.base/comp-dir/subdir/dummy.txt: New file.
5825         * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
5826         a temporary directory.
5827
5828 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
5829
5830         * gdb.base/charset.exp: Use a single regular expression to match
5831         show host-charset and show target-charset output.
5832
5833 2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
5834
5835         * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
5836         "Illegal process-id" expect string more exact.
5837         (attach to digits-starting nonsense is prohibited): New.
5838
5839 2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
5840
5841         * gdb.base/prelink.exp (set verbose on): New.
5842
5843 2010-02-12  Tomas Holmberg  <th@virtutech.com>
5844
5845         * mi-reverse.exp: New file. Test for reverse option to the
5846         following MI commands: exec-continue, exec-finish, exec-next,
5847         exec-step, exec-next-instruction, exec-step-instruction.
5848
5849 2010-02-09  Joel Brobecker  <brobecker@adacore.com>
5850
5851         * gdb.ada/ptype_tagged_param: New testcase.
5852
5853 2010-02-08  Tom Tromey  <tromey@redhat.com>
5854
5855         PR c++/8017:
5856         * gdb.cp/overload.exp: Add tests.
5857         * gdb.cp/overload.cc (struct K): New.
5858         (namespace N): New.
5859         (main): Call new functions.
5860         (K::staticoverload): Define.
5861
5862 2010-02-08  Chris Moller  <moller@mollerware.com>
5863
5864         PR gdb/10728
5865         * gdb.cp/pr10728-x.h: New file.
5866         * gdb.cp/pr10728-x.cc: New file.
5867         * gdb.cp/pr10728-y.cc: New file.
5868         * gdb.cp/pr10728.exp: New file.
5869         * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
5870
5871 2010-02-08  Chris Moller  <moller@mollerware.com>
5872
5873         PR gdb/9067
5874         * gdb.cp/pr9067.exp:  New
5875         * gdb.cp/pr9067.cc:   New
5876         * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
5877
5878 2010-02-08  Joel Brobecker  <brobecker@adacore.com>
5879
5880         * lib/gdb.exp (gdb_test_timeout): New global variable.
5881         Set it to timeout if not already set.
5882         (gdb_init): Reset the value of timeout to gdb_test_timeout.
5883
5884 2010-02-05  Doug Evans  <dje@google.com>
5885
5886         * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
5887         user.
5888
5889 2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
5890
5891         PR c++/7935:
5892         * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
5893
5894 2010-02-04  Tom Tromey  <tromey@redhat.com>
5895
5896         * gdb.cp/virtbase.exp: Make test case names unique.
5897
5898 2010-02-02  Tom Tromey  <tromey@redhat.com>
5899
5900         * gdb.cp/virtbase.exp: Add regression tests.
5901         * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
5902         (main): Instantiate RHC.
5903
5904 2010-02-02  Tom Tromey  <tromey@redhat.com>
5905
5906         * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
5907         type-printing change.
5908
5909 2010-02-02  Tom Tromey  <tromey@redhat.com>
5910
5911         PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
5912         * gdb.cp/virtbase.cc: New file.
5913         * gdb.cp/virtbase.exp: New file.
5914         * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
5915
5916 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
5917
5918         PR libc/11214:
5919         * gdb.threads/current-lwp-dead.c: Include features.h.
5920         (HAS_NOMMU): New.
5921         (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
5922
5923 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
5924
5925         * gdb.base/symbol-without-target_section.exp,
5926         gdb.base/symbol-without-target_section.c: New.
5927
5928 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
5929
5930         * gdb.base/bigcore.exp: Reset increased timeout.
5931         * gdb.base/interrupt.exp: Match unexpected gdb prompt.
5932
5933 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
5934
5935         * gdb.base/gcore.exp (capture_command_output): Use
5936         gdb_test_multiple.
5937
5938 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
5939
5940         * gdb.arch/thumb2-it.S (it_breakpoints): New function.
5941         * gdb.arch/thumb2-it.exp (test_it_break): New function.
5942         (Top level): Call it.
5943
5944 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
5945
5946         * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
5947
5948 2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
5949
5950         * gdb.base/call-strs.exp, gdb.base/default.exp,
5951         gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
5952         gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
5953         gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
5954         gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
5955         gdb.base/watchpoint-solib.exp: Save and restore timeout.
5956         * gdb.base/ending-run.exp: Correct restore of timeout.
5957         * gdb.base/page.exp: Remove unnecessary timeout setting.
5958
5959 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
5960
5961         * gdb.ada/rec_return: New testcase.
5962
5963 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
5964
5965         * gdb.ada/call_pn: New testcase.
5966
5967 2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
5968
5969         * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
5970         (Top level): Use it to resume.
5971         * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
5972         the Thumb mode displaced stepping error as unsupported.
5973
5974 2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
5975
5976         * gdb.cp/nsusing.exp: Added more tests.
5977         * gdb.cp/nsrecurs.exp: Ditto.
5978         * gdb.cp/nsusing.cc: Added test functions.
5979         * gdb.cp/nsrecurs.cc: Ditto.
5980
5981 2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
5982
5983         * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
5984         absolute directory pathnames in gdb.sum file.
5985
5986 2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
5987
5988         * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
5989         * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
5990
5991 2010-01-26  Tom Tromey  <tromey@redhat.com>
5992
5993         PR exp/7643:
5994         * gdb.base/printcmds.exp (test_print_string_constants): Remove
5995         setup_kfail.
5996
5997 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
5998
5999         * gdb.cp/nsrecurs.exp: New test.
6000         * gdb.cp/nsrecurs.cc: New test program.
6001         * gdb.cp/nsstress.exp: New test.
6002         * gdb.cp/nsstress.cc: New test program.
6003         * gdb.cp/nsdecl.exp: New test.
6004         * gdb.cp/nsdecl.cc: New test program.
6005
6006 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
6007
6008         * gdb.cp/namespace-using.exp: Add test for printing of namespaces
6009         imported into file scope.
6010         Marked test as xfail.
6011         * gdb.cp/namespace-using.cc (marker5): New function.
6012         * gdb.cp/shadow.exp: New test.
6013         * gdb.cp/shadow.cc: New test program.
6014         * gdb.cp/nsimport.exp: New test.
6015         * gdb.cp/nsimport.cc: New test program.
6016
6017 2010-01-25  Tom Tromey  <tromey@redhat.com>
6018
6019         PR gdb/11049:
6020         * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
6021         with "set print null-stop on".
6022
6023 2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6024
6025         * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
6026         Adjust it for DISASSEMBLY_OMIT_FNAME.
6027
6028 2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
6029
6030         PR symtab/11199:
6031         * gdb.dwarf2/member-ptr-forwardref.exp,
6032         gdb.dwarf2/member-ptr-forwardref.S: New.
6033
6034 2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6035
6036         * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
6037         (thread1_func): Protect thread1_tid with thread1_tid_cond by
6038         thread1_tid_mutex.  Remove gdbstop_mutex handling.
6039         (thread2_func): Protect thread2_tid with thread2_tid_cond by
6040         thread2_tid_mutex.  Remove gdbstop_mutex handling.
6041         (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
6042         pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
6043         pthread_cond_wait conditionalizations by while loops.
6044
6045 2010-01-20  Tom Tromey  <tromey@redhat.com>
6046
6047         PR backtrace/10770:
6048         * gdb.dwarf2/pr10770.exp: New file.
6049         * gdb.dwarf2/pr10770.c: New file.
6050         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
6051
6052 2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
6053
6054         * gdb.mi/mi-async.exp: Remove check for 'async' target, because
6055         that target was removed, and the test always runs native anyway.
6056
6057 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6058
6059         * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
6060         gdb.base/watchpoint-cond-gone-stripped.c: New.
6061
6062 2010-01-19  Tom Tromey  <tromey@redhat.com>
6063
6064         PR c++/8000:
6065         * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
6066         existing tests.
6067         * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
6068         (main): Use AAA::SomeEnum.
6069
6070 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6071
6072         * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
6073         (test_ignore_count): Declare line_callme_body global.
6074         (run to breakpoint with ignore count): Use line_callme_body.
6075         * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
6076         (set line_main_hello, set line_main_return): Reindent.
6077         (set line_callee4_head, set line_callee4_body, set line_callee4_next):
6078         New.
6079         (continue to callee4): Use line_callee4_body.
6080         (check *stopped from CLI command): Use line_callee4_next.
6081         * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
6082         (set line_main_hello, set line_main_return): Reindent.
6083         (set line_callee4_head, set line_callee4_body): New.
6084         (continue to callee4): Use line_callee4_body.
6085
6086 2010-01-18  Tom Tromey  <tromey@redhat.com>
6087
6088         PR c++/9680:
6089         * gdb.cp/casts.cc: Add new classes and variables.
6090         * gdb.cp/casts.exp: Test new operators.
6091
6092 2010-01-18  Tom Tromey  <tromey@redhat.com>
6093             Thiago Jung Bauermann  <bauerman@br.ibm.com>
6094
6095         * gdb.python/source2.py: New file.
6096         * gdb.python/source1: New file.
6097         * gdb.python/python.exp: Test "source" command.
6098
6099 2010-01-15  Stan Shebs  <stan@codesourcery.com>
6100
6101         * gdb.trace/tfile.c: New file.
6102         * gdb.trace/tfile.exp: New file.
6103
6104 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6105
6106         * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
6107
6108 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6109
6110         * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
6111
6112 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6113
6114         * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
6115         (libfunc): New parameter action.  Implement also selectable "sleep".
6116         * gdb.base/break-interp-main.c: Include assert.h.
6117         (libfunc): New parameter action.
6118         (main): New parameters argc and argv.  Assert argc.  Pass argv.
6119         * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
6120         (test_attach): New proc.
6121         (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
6122         * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
6123
6124 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6125
6126         * gdb.base/break-interp.exp (test_core): New proc.
6127         (test_ld): Call it.
6128
6129 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6130
6131         * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
6132         * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
6133         New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
6134         and gdb_compile_shlib.  Use new -Wl compiler options.
6135         (dl bt, main bt): New tests.
6136
6137 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6138
6139         Support PIEs with no symfile_objfile.
6140         * gdb.base/break-interp.exp: New argument at the test_ld calls.
6141         (test_ld): New parameter trynosym.
6142         (test_ld <$trynosym>): New block.
6143
6144 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6145
6146         * gdb.base/break-interp.exp: New file.
6147
6148 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
6149
6150         * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
6151         * gdb.python/py-prettyprint.py (pp_ls): New printer.
6152         * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
6153         test.
6154         * gdb.python/py-prettyprint.c: Define lazystring test structure.
6155         * gdb.python/py-mi.exp: Add lazy string test.
6156
6157 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
6158
6159         * lib/mi-support.exp (mi_check_thread_states): Handle
6160         core number in thread listing.
6161
6162 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
6163
6164         * gdb.base/maint.exp: Adjust the expected output for the
6165         "maint print type" test. Use gdb_test_multiple instead of
6166         gdb_sent/gdb_expect.
6167
6168 2010-01-11  Doug Evans  <dje@google.com>
6169
6170         * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
6171         from gdbserver_download.  All callers updated.
6172
6173         * gdb.server/ext-run.exp: "info os processes" requires xml support.
6174
6175 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6176
6177         Implement binary numbers parsing.
6178         * gdb.base/printcmds.exp (test_integer_literals_accepted)
6179         (test_integer_literals_rejected): New binary tests.
6180
6181 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6182
6183         * gdb.cell/configure: Regenerate.
6184
6185 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6186
6187         * gdb.base/corefile.exp: Move the core finding block out and call it as
6188         core_find, new variable $corefile, replace corefile by $corefile and
6189         [file tail $corefile] for usage vs. test names resp.
6190         * lib/gdb.exp (core_find): Move it as a new function here.  New
6191         parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
6192         $destcore.  Return "" on error.
6193
6194 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6195
6196         Workaround PR binutils/10802.
6197         * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
6198         (twice).
6199
6200 2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
6201
6202         * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
6203
6204 2010-01-08  Joel Brobecker  <brobecker@adacore.com>
6205
6206         * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
6207         call, to avoid interruption.
6208
6209 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6210
6211         * gdb.stabs/weird.def (args93): New.
6212
6213 2010-01-07  Doug Evans  <dje@google.com>
6214
6215         * lib/gdb.exp (gdb_skip_xml_test): Add comment.
6216
6217 2010-01-07  Tom Tromey  <tromey@redhat.com>
6218
6219         * gdb.base/source.exp: Use correct line number.
6220
6221 2010-01-05  Stan Shebs  <stan@codesourcery.com>
6222
6223         * gdb.trace/tracecmd.exp: Test ftrace.
6224
6225 2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6226
6227         * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
6228
6229 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6230
6231         * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6232         "uint_for_mi_testing".
6233
6234 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6235
6236         Test indented comment in file being sourced.
6237         * gdb.base/commands.exp: Test indented comment in file being sourced.
6238
6239 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6240
6241         * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6242         gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6243         gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6244         notice.
6245
6246 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6247
6248         * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6249         notice.
6250
6251 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6252
6253         * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6254         missing $after_stopped and comma (,) expectation.
6255
6256 2009-12-31  Stan Shebs  <stan@codesourcery.com>
6257
6258         * gdb.trace/actions.exp: Test teval action.
6259
6260 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
6261
6262         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
6263         (top level): Call test_watchpoint_in_big_blob.
6264         * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
6265         watchpoints.
6266         (func3): Write to buf.
6267
6268 2009-12-29  Stan Shebs  <stan@codesourcery.com>
6269
6270         * gdb.trace/actions.exp: Test default-collect.
6271
6272 2009-12-28  Stan Shebs  <stan@codesourcery.com>
6273
6274         * gdb.trace/tsv.exp: New file.
6275         * gdb.base/completion.exp: Update ambiguous info output.
6276
6277 2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
6278
6279         * gdb.base/find.c (main): Reference search buffers.
6280         * gdb.base/included.c (main): Reference integer.
6281         * gdb.base/ptype.c (charfoo): Declare.
6282         (intfoo): Call charfoo.
6283         * gdb.base/scope0.c (useitp): New function.
6284         (usestatics): Use useitp.
6285         (useit): Add a type for val.
6286         * gdb.base/scope1.c (useit1): Take a pointer argument.
6287         (usestatics1): Update calls to useit1.
6288         * gdb.cp/call-c.cc: Declare foo.
6289         (main): Call foo.
6290         * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
6291         * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
6292         (main): Call C::ensureRefs and ensureOtherRefs.
6293         * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
6294         variables.
6295         (ensureOtherRefs): New function.
6296         * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
6297         * gdb.cp/templates.cc (main): Call t5i.value.
6298
6299 2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6300
6301         Fix compatibility with G++-4.5.
6302         * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
6303         * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
6304         (uncaught return): Remove.
6305
6306 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6307             Phil Muldoon  <pmuldoon@redhat.com>
6308
6309         * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
6310         (bp_location13, bp_location14, bp_location17, bp_location18)
6311         (marker3_proto, marker4_proto): New variables.
6312         (breakpoint info): Update output.
6313         (run until breakpoint at marker3, run until breakpoint at marker4): New
6314         tests.
6315
6316 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6317
6318         * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
6319         Replace the printf call of Y by provided "y-set-1" label.  New block
6320         for the second shared library.
6321         * gdb.base/unload.exp: Compile also the second library, call
6322         gdb_load_shlibs also for it.  Use now gdb_breakpoint.
6323         (single pending breakpoint info): Rename to ...
6324         (pending breakpoint info before run): ... this extended test.
6325         (libfile2, libname2, libsrcfile2, libsrc2)
6326         (lib_sl2): New variables.
6327         (exec_opts): Set also SHLIB_NAME2.
6328         (pending breakpoint info on first run at shrfunc1)
6329         (pending breakpoint info on second run at shrfunc1)
6330         (pending breakpoint info on second run at shrfunc2)
6331         (print y from libfile, print y from libfile2): New tests.
6332         * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
6333         * gdb.base/unloadshr2.c: New.
6334
6335 2009-12-22  Hui Zhu  <teawater@gmail.com>
6336
6337         * gdb.reverse/sigall-reverse.exp: Adjust.
6338
6339 2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
6340
6341         PR gdb/10884
6342
6343         * gdb.mi/var-cmd.c (do_bitfield_tests): New
6344         (main): Call do_bitfield_tests.
6345         * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
6346
6347 2009-12-20  Joel Brobecker  <brobecker@adacore.com>
6348
6349         * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
6350         gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
6351         gdb.base/watch_thread_num.c, gdb.java/jprint.java,
6352         gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
6353         gdb.modula2/unbounded1.c: Update copyright header.
6354
6355 2009-12-10  Chris Moller  <moller@mollerware.com>
6356
6357         PR gdb/9399
6358         * gdb.cp/virtfunc2.exp: New tests
6359         * gdb.cp/virtfunc2.cc: New tests
6360         * gdb.cp/Makefile.in: Added tests to EXECUTABLES
6361
6362 2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
6363
6364         * gdb.reverse/i387-env-reverse.c: New file.
6365         * gdb.reverse/i387-env-reverse.exp: New file.
6366         * gdb.reverse/i387-stack-reverse.c: New file.
6367         * gdb.reverse/i387-stack-reverse.exp: New file.
6368
6369 2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
6370
6371         * gdb.python/py-type.exp (test_range): New test.
6372
6373 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
6374
6375         PR python/10805
6376
6377         * gdb.python/py-type.exp: New file.
6378         * gdb.python/py-type.c: New file.
6379         * Makefile.in: Add py-type.
6380
6381 2009-12-03  Tom Tromey  <tromey@redhat.com>
6382
6383         * gdb.python/py-value.exp (test_parse_and_eval): New
6384         function.
6385
6386 2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6387
6388        PR gdb/11022
6389
6390        * gdb.base/pr11022.exp: New test.
6391        * gdb.base/pr11022.c: New test.
6392
6393 2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6394
6395         Fix spurious false FAILs.
6396         * gdb.base/structs.c (chartest): New.
6397         (main): Fill-in chartest.
6398         * gdb.base/structs.exp (anychar_re, first): New.
6399         (start_structs_test): Import global anychar_re and first.
6400         New gdb_test call "set print elements 300; ${testfile}"
6401         (start_structs_test <$first>): New block.
6402         (any): Import global anychar_re.  New variable ac.  Use ${ac}.
6403
6404 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6405
6406         * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
6407
6408 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6409
6410         * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
6411         Force $srcfile file.
6412         * gdb.base/foll-fork.c (callee): Comment out the printf call.
6413
6414 2009-11-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6415
6416         * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
6417         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
6418         * gdb.threads/watchthreads-reorder.exp: Likewise.
6419
6420 2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
6421
6422         PR gdb/8704
6423
6424         * gdb.base/condbreak.exp: Test combinations of "break *EXP",
6425         "if", and "thread".  Correct matching in the previous test.
6426
6427 2009-11-25  Daniel Jacobowitz  <dan@codesourcery.com>
6428
6429         * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
6430
6431 2009-11-23  Michael Snyder  <msnyder@vmware.com>
6432
6433         * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
6434         * gdb.reverse-watch-precsave.exp: Ditto.
6435
6436 2009-11-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
6437
6438         * gdb.asm/asm-source.exp: Adjust.
6439         * gdb.base/help.exp: Adjust.
6440
6441 2009-11-22  Pedro Alves  <pedro@codesourcery.com>
6442
6443         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
6444         (do_syscall_tests_without_xml): Set data-directory to
6445         /the/path/to/nowhere.
6446
6447 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
6448
6449         * gdb.threads/local-watch-wrong-thread.c,
6450         gdb.threads/local-watch-wrong-thread.exp: New files.
6451
6452 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
6453
6454         * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
6455         assume new `regsub' syntax available.
6456
6457 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6458
6459         * gdb.base/watchpoint-hw-hit-once.exp,
6460         gdb.base/watchpoint-hw-hit-once.c: New.
6461
6462 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6463
6464         * gdb.threads/watchthreads-reorder.exp,
6465         gdb.threads/watchthreads-reorder.c: New.
6466
6467 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
6468
6469         * gdb.xml/tdesc-regs.exp: Use for m68k.
6470
6471 2009-11-15  Pedro Alves  <pedro@codesourcery.com>
6472
6473         * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
6474
6475 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
6476
6477         * lib/gdb.exp (current_target_name): New procedure.
6478         (gdb_wrapper_target): New variable.
6479         (gdb_wrapper_init): Set gdb_wrapper_target.
6480         (default_gdb_init): Check gdb_wrapper_target before rebuilding the
6481         wrapper.
6482
6483 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
6484
6485         * gdb.base/remote.exp: Delete the slowest load test.
6486         Do not load with fixed packet sizes.
6487
6488 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
6489
6490         * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
6491
6492 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
6493
6494         * gdb.base/freebpcmd.exp: Delete unused variable.  Specify
6495         srcfile when setting a breakpoint.
6496
6497 2009-11-13  Maciej W. Rozycki  <macro@codesourcery.com>
6498
6499         * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
6500         macros.
6501
6502 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
6503
6504         * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
6505         to be in memory.
6506         * gdb.base/display.c (force_mem): New.
6507         (do_loops): Use it.  Add breakpoint comments.
6508         (do_vars): Add a breakpoint comment.
6509         * gdb.base/display.exp: Use gdb_get_line_number.  Remove hardcoded
6510         line numbers.
6511
6512 2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
6513
6514         * gdb.base/pending.exp: Use gdb_run_cmd to start the program
6515         instead of a bare "run".
6516
6517 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
6518
6519         * gdb.python/py-prettyprint.exp: Adjust.
6520
6521 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
6522
6523         * lib/cell.exp (skip_cell_tests): Clean up test files before
6524         returning.
6525
6526 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
6527
6528         * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
6529         and the breakpoint menu.  Do not call perror if a prompt is seen.
6530         Consume the following GDB prompt.
6531         * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
6532         * gdb.cp/namespace.exp: Use gdb_test.
6533         * gdb.cp/templates.exp: Use gdb_test.
6534         (test_template_breakpoints): Use gdb_test_multiple.
6535
6536 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
6537
6538         * gdb.base/break1.c (struct some_struct, values): Move earlier.
6539         (marker4): Reference values.
6540
6541 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
6542
6543         * gdb.base/macscp.exp: Avoid the first FAIL if macro information
6544         is missing.
6545
6546 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
6547
6548         * gdb.base/break.c (need_malloc): New.
6549         * gdb.base/constvars.c (main): Reference crass and crisp.
6550         * gdb.base/gdb1821.c (main): Reference bar.
6551         * gdb.cp/gdb1355.cc (main): Reference s1.
6552         * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
6553         (main): Call them.
6554         * gdb.cp/hang2.cc (dummy2): Define.
6555         * gdb.cp/hang3.cc (dummy3): Define.
6556         * gdb.cp/m-data.cc (main): Reference shadow.
6557
6558 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
6559             Nathan Froyd  <froydnj@codesourcery.com>
6560
6561         * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
6562         remote host.
6563
6564 2009-11-12  Nathan Froyd  <froydnj@codesourcery.com>
6565
6566         * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
6567         * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
6568         * gdb.dwarf2/dw2-compressed.exp: Likewise.
6569         * gdb.dwarf2/dw2-intercu.exp: Likewise.
6570         * gdb.dwarf2/dw2-intermix.exp: Likewise.
6571         * gdb.dwarf2/dw2-producer.exp: Likewise.
6572         * gdb.dwarf2/mac-fileno.exp: Likewise.
6573         * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
6574         py-prettyprint.py to the remote host.
6575         * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
6576
6577 2009-11-11  Keith Seitz  <keiths@redhat.com>
6578
6579         * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
6580         use it instead of "Foo".
6581         * gdb.cp/classes.exp (do_tests): Add a test to access
6582         a method through a typedef'd class name.
6583
6584 2009-11-11  Nathan Froyd  <froydnj@codesourcery.com>
6585
6586         * gdb.base/long_long.exp: Permit leading zeros on floating-point
6587         exponents.
6588         * gdb.base/pointers.exp: Likewise.
6589         * gdb.cp/ref-types.exp: Likewise.
6590
6591 2009-11-11  Keith Seitz  <keiths@redhat.com>
6592
6593         * gdb.cp/cplusfuncs.cc (class foo): Add operators
6594         new[] and delete[].
6595         * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
6596         "void".
6597         (probe_demangler): Remove all single-quoting of
6598         method and variable names.
6599         (info_func_regexp): Remove the word "void" from any
6600         occurrence of "(void)".
6601         (print_addr_2): Remove all single-quoting of
6602         method names.
6603         (print_addr_2_kfail): Likewise.
6604         (print_addr): Single-quote C function names before
6605         passing to print_addr_2.
6606         (test_paddr_operator_functions): Remove single-quoting
6607         for method names.
6608         Add tests for operator new[] and operator delete[].
6609
6610 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6611
6612         * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
6613
6614 2009-11-09  Keith Seitz  <keiths@redhat.com>
6615
6616         * gdb.cp/overload.exp: Add tests for resolving overloaded
6617         methods in expression parsing/evaluation.
6618
6619 2009-11-10  Daniel Jacobowitz  <dan@codesourcery.com>
6620
6621         * lib/gdb.exp (default_gdb_version): Use --version instead of
6622         --command.
6623
6624 2009-11-10  Nathan Sidwell  <nathan@codesourcery.com>
6625
6626         * lib/gdb.exp (gdb_compile_test): New.
6627         (skip_ada_tests, skip_java_tests): New.
6628         (gdb_compile): Use gdb_compile_test for f77.
6629         * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
6630         * lib/java.exp (compile_java_from_source): Remove runtests check,
6631         use gdb_compile_test to record result.
6632         * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
6633         gdb.ada/exec_changed.exp, gdb.ada/start.exp,
6634         gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
6635         gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
6636         gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
6637         gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
6638         gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
6639         gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
6640         gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
6641         adjust gdb_compile invocations.
6642
6643 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6644
6645         * Makefile.in (abs_builddir): New.
6646         (site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
6647         (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
6648         `$(abs_builddir)/site.exp'.
6649
6650 2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
6651
6652         * config/m68k-emc.exp, lib/emc-support.exp,
6653         gdb.trace/gdb_c_test.c: Delete.
6654         * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
6655         gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6656         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6657         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6658         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6659         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
6660         casing for m68k-*-elf.
6661
6662 2009-11-03  Pedro Alves  <pedro@codesourcery.com>
6663
6664         * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
6665         * gdb.arch/i386-prologue.exp: Likewise.
6666         * gdb.arch/i386-unwind.exp: Likewise.
6667
6668 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
6669
6670         * lib/gdb.exp (gdb_expect): Fix timeout typo.
6671
6672 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
6673
6674         * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
6675
6676 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
6677
6678         * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
6679
6680 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6681
6682         * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
6683
6684 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6685
6686         * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
6687         * gdb.base/sepdebug2.c: New file.
6688
6689 2009-10-31  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
6690
6691         * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
6692         the modified warnings for catch syscall.  Verify if GDB was compiled
6693         with support for lib expat, and choose which tests to run depending
6694         on this.
6695
6696 2009-10-30  Vladimir Prus  <vladimir@codesourcery.com>
6697
6698         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
6699         that composite commands are parsed OK. And also test
6700         that breakpoint commands do work.
6701
6702 2009-10-23  Michael Snyder  <msnyder@vmware.com>
6703
6704         gdb.reverse/consecutive-precsave.exp: Change expect pattern
6705         to allow for new disassembly style.
6706
6707 2009-10-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6708
6709         * gdb.asm/asm-source.exp: Adjust.
6710
6711 2009-10-22  Michael Snyder  <msnyder@vmware.com>
6712
6713         * gdb.reverse/break-precsave.exp: New test.
6714         * gdb.reverse/consecutive-precsave.exp: Ditto.
6715         * gdb.reverse/finish-precsave.exp: Ditto.
6716         * gdb.reverse/i386-precsave.exp: Ditto.
6717         * gdb.reverse/machinestate-precsave.exp: Ditto.
6718         * gdb.reverse/sigall-precsave.exp: Ditto.
6719         * gdb.reverse/solilb-precsave.exp: Ditto.
6720         * gdb.reverse/step-precsave.exp: Ditto.
6721         * gdb.reverse/until-precsave.exp: Ditto.
6722         * gdb.reverse/watch-precsave.exp: Ditto.
6723
6724 2009-10-22  Michael Snyder  <msnyder@vmware.com>
6725
6726         * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
6727         for gdb_expect.  Adjust one test's expect strings for the new
6728         format of disassemble.
6729         * gdb.reverse/finish-reverse.exp: Delete 'return'.
6730         * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
6731         gdb_test_multiple.
6732         * gdb.reverse/step-reverse.exp: Delete 'return'.
6733         * gdb.reverse/until-reverse.exp: Delete blank lines.
6734         * gdb.reverse/watch-reverse.exp: Delete blank lines.
6735
6736 2009-10-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
6737
6738         * gdb.base/consecutive.exp: Adjust.
6739         * gdb.base/display.exp: Likewise.
6740         * gdb.base/pc-fp.exp: Likewise.
6741         * gdb.base/sigbpt.exp: Likewise.
6742
6743 2009-10-19  Michael Snyder  <msnyder@vmware.com>
6744
6745         * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
6746         * gdb.reverse/finish-reverse.c: Ditto.
6747         * gdb.reverse/sigall-reverse.c: Ditto.
6748         * gdb.reverse/solib-reverse.c: Ditto.
6749         * gdb.reverse/step-reverse.c: Ditto.
6750         * gdb.reverse/watch-reverse.c: Ditto.
6751
6752 2009-10-19  Pedro Alves  <pedro@codesourcery.com>
6753             Stan Shebs  <stan@codesourcery.com>
6754
6755         * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
6756         * gdb.base/foll-exec.exp: Adjust to expect a process id before
6757         "Executing new program".
6758         * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
6759         * gdb.base/multi-forks.exp: Ditto.  Adjust to the inferior being
6760         left listed after having been killed.
6761         * gdb.base/attach.exp: Adjust to spell out "symbol-file".
6762         * gdb.base/maint.exp: Adjust test.
6763
6764         * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
6765         * gdb.multi/Makefile.in: New.
6766         * gdb.multi/base.exp: New.
6767         * gdb.multi/goodbye.c: New.
6768         * gdb.multi/hangout.c: New.
6769         * gdb.multi/hello.c: New.
6770         * gdb.multi/bkpt-multi-exec.c: New.
6771         * gdb.multi/bkpt-multi-exec.exp: New.
6772         * gdb.multi/crashme.c: New.
6773
6774 2009-10-13  Tristan Gingold  <gingold@adacore.com>
6775
6776         * gdb.base/sepdebug.exp: Check debug info are found.
6777
6778 2009-10-08  Pedro Alves  <pedro@codesourcery.com>
6779
6780         * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
6781         bits.
6782
6783 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
6784
6785         * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
6786
6787 2009-10-07  Joel Brobecker  <brobecker@adacore.com>
6788
6789         * gdb.base/watchpoints.c: Add copyright header.  Reformat one
6790         of the comments.
6791
6792 2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
6793
6794         * gdb.base/annota1.exp: Remove obsolete match_max increase.
6795         * gdb.base/annota3.exp: Idem.
6796         * gdb.base/maint.exp: Idem.
6797
6798 2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
6799
6800         * lib/gdb.exp (default_gdb_init): Set current value of match_max
6801         to default.
6802
6803 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
6804
6805         * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
6806         mingw and cygwin targets.
6807
6808 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
6809             Pedro Alves  <pedro@codesourcery.com>
6810
6811         * lib/gdb.exp (gdb_compile): Avoid adding
6812         gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
6813
6814 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
6815
6816         * gdb.base/shr1.c: Use %p in format string.
6817         * gdb.base/unload.c: Avoid warning in fprintf.
6818         * gdb.base/watchpoint-solib.c: Idem.
6819
6820 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
6821
6822         * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
6823         long type.
6824         (test_unlink): Correct printf string.
6825         * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
6826         * gdb.threads/attachstop-mt.c: Add #include <string.h>.
6827
6828 2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6829
6830         * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
6831         * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
6832         * gdb.arch/ia64-breakpoint-shadow.S: New file.
6833
6834 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6835
6836         * gdb.objc/basicclass.exp: Disable pending breakpoint query.
6837         * gdb.objc/nondebug.exp: Likewise.
6838
6839 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6840
6841         * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
6842         target_info setting.
6843
6844         * gdb.threads/thread-specific.exp (get_thread_list): Support targets
6845         that detect new threads during "info threads".
6846
6847 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6848
6849         * gdb.threads/manythreads.c (main): Increase thread stack size
6850         to 2*PTHREAD_STACK_MIN.
6851         * gdb.threads/multi-create.c (main): Likewise.
6852         (create_function): Likewise.
6853
6854 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6855
6856         * gdb.base/dump.exp: Pass difference of pointer types instead
6857         of integer types as offset to restore in intarr3.srec case.
6858
6859 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6860
6861         * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
6862
6863 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6864
6865         * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
6866
6867 2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
6868
6869         New test for two watchpoints, with disabling of
6870         the first inserted.
6871         * testsuite/gdb.base/watchpoints.c: New file.
6872         * testsuite/gdb.base/watchpoints.exp: New file.
6873
6874 2009-09-25  Tom Tromey  <tromey@redhat.com>
6875
6876         * gdb.base/charset.exp: Test utf-16 strings with Python.
6877
6878 2009-09-25  Tom Tromey  <tromey@redhat.com>
6879
6880         * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
6881         UCS-4.
6882         * gdb.base/charset.c (utf_32_string): Rename.
6883         (init_utf32): Rename.
6884         (main): Update.
6885
6886 2009-09-22  Tom Tromey  <tromey@redhat.com>
6887
6888         * gdb.python/py-function.exp: Add regression tests.
6889
6890 2009-09-21  Keith Seitz  <keiths@redhat.com>
6891
6892         * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
6893         with invalid operator.
6894
6895 2009-09-21  Keith Seitz  <keiths@redhat.com>
6896
6897         * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
6898         and destructor using typedef name of class.
6899         * gdb.cp/classes.cc (class Base1): Add a destructor.
6900         (base1): New typedef.
6901         (use_methods): Instanitate an object of type base1.
6902         * gdb.cp/templates.exp (test_template_typedef): New procedure.
6903         (do_tests): Call test_template_typedef.
6904         * gdb.cp/templates.cc (Baz::~Baz): New method.
6905         (intBazOne): New typedef.
6906         (main): Instantiate intBazOne.
6907
6908 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
6909
6910         PR python/10633
6911
6912         * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
6913         Function.
6914         (run_lang_tests): Add print elements test.
6915
6916 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
6917
6918         * gdb.python/py-value.exp (test_subscript_regression): New
6919         function.  Test for invalid subscripts.
6920         * gdb.python/py-value.c (main): Add test array, and pointer to it.
6921         (ptr_ref): New function.
6922
6923 2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6924
6925         * gdb.base/default.exp: Fix "show convenience".
6926
6927 2009-09-15  Tom Tromey  <tromey@redhat.com>
6928
6929         * lib/mi-support.exp (mi_create_varobj): Update.
6930         (mi_create_floating_varobj): Likewise.
6931         (mi_create_dynamic_varobj): New proc.
6932         (mi_varobj_update): Update.
6933         (mi_varobj_update_with_type_change): Likewise.
6934         (mi_varobj_update_kv_helper): New proc.
6935         (mi_varobj_update_dynamic_helper): Rewrite.
6936         (mi_varobj_update_dynamic): New proc.
6937         (mi_list_varobj_children): Update.
6938         (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
6939         * gdb.python/python-prettyprint.py (pp_outer): New class.
6940         (pp_nullstr): Likewise.
6941         (lookup_function): Register new printers.
6942         * gdb.python/python-prettyprint.c (struct substruct): New type.
6943         (struct outerstruct): Likewise.
6944         (substruct_test): New function.
6945         (struct nullstr): New type.
6946         (string_1, string_2): New globals.
6947         (main): Add new tests.
6948         * gdb.python/python-mi.exp: Added regression tests.
6949         * gdb.mi/mi2-var-display.exp: Update.
6950         * gdb.mi/mi2-var-cmd.exp: Update.
6951         * gdb.mi/mi2-var-child.exp: Update.
6952         * gdb.mi/mi2-var-block.exp: Update.
6953         * gdb.mi/mi-var-invalidate.exp: Update.
6954         * gdb.mi/mi-var-display.exp: Update.
6955         * gdb.mi/mi-var-cmd.exp: Update.
6956         * gdb.mi/mi-var-child.exp: Update.
6957         * gdb.mi/mi-var-block.exp: Update.
6958         * gdb.mi/mi-break.exp: Update.
6959         * gdb.mi/gdb701.exp: Update.
6960
6961 2009-09-14  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
6962
6963         * Makefile.in: Inclusion of catch-syscall object.
6964         * gdb.base/catch-syscall.c: New file.
6965         * gdb.base/catch-syscall.exp: New file.
6966
6967 2009-09-12  Michael Snyder  <msnyder@vmware.com>
6968
6969         * gdb.reverse/step-reverse.exp: Explicitly check for targets
6970         that can support reverse debuggnig.
6971
6972 2009-09-11  Tom Tromey  <tromey@redhat.com>
6973
6974         * gdb.dwarf2/valop.S: New file.
6975         * gdb.dwarf2/valop.exp: New file.
6976
6977 2009-09-11  Mark Kettenis  <kettenis@gnu.org>
6978
6979         * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
6980
6981 2009-09-10  Doug Evans  <dje@google.com>
6982
6983         * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
6984         Add $gdb_prompt to second breakpoint regexp.
6985
6986 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
6987
6988         * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
6989         names, add missing ones.
6990         * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
6991         * gdb.python/py-frame.c: Rename from python-frame.c.
6992         * gdb.python/py-frame.exp: Rename from python-frame.exp.  Adjust
6993         testfile name.
6994         * gdb.python/py-function.exp: Rename from python-function.exp.
6995         * gdb.python/py-mi.exp: Rename from python-mi.exp.  Adjust
6996         testfile name.
6997         * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
6998         * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
6999         Adjust testfile name.
7000         * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7001         * gdb.python/py-template.cc: Rename from python-template.cc.
7002         * gdb.python/py-template.exp: Rename from python-template.exp.
7003         Adjust testfile name.
7004         * gdb.python/py-value.c: Rename from python-value.c.
7005         * gdb.python/py-value.exp: Rename from python-value.exp.  Adjust
7006         testfile name.
7007
7008 2009-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7009
7010         * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
7011         $bpt2address.
7012         (Second breakpoint address is valid on ia64)
7013         (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
7014
7015 2009-09-03  Joseph Myers  <joseph@codesourcery.com>
7016
7017         * gdb.base/ending-run.exp: Restrict regular expression matching
7018         line number to require closing brace following.
7019
7020 2009-09-03  Doug Evans  <dje@google.com>
7021
7022         * gdb.base/store.exp (check_set): Fix typo in expected value message.
7023
7024 2009-09-02  Tom Tromey  <tromey@redhat.com>
7025
7026         * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
7027
7028 2009-09-02  Tom Tromey  <tromey@redhat.com>
7029
7030         * gdb.dwarf2/callframecfa.exp: New file.
7031         * gdb.dwarf2/callframecfa.S: New file.
7032
7033 2009-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7034
7035         * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
7036         gdb.base/solib-overlap-main.c: New.
7037
7038 2009-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
7039
7040         PR gdb/10565
7041
7042         * gdb.base/bitfields.c (struct container, container): New.
7043         (main): Initialize it and call break5.
7044         * gdb.base/bitfields.exp (bitfield_at_offset): New test.
7045
7046 2009-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
7047
7048         Support constant DW_AT_data_member_location by GCC PR debug/40659.
7049         * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
7050
7051 2009-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7052
7053         * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
7054
7055 2009-08-26  Michael Snyder  <msnyder@vmware.com>
7056
7057         * gdb.base/i386-reverse.c: New file.
7058         * gdb.base/i386-reverse.exp: New file.
7059         * gdb.base/Makefile.in: Add new files to be removed.
7060
7061 2009-08-26  Joseph Myers  <joseph@codesourcery.com>
7062
7063         * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
7064         environment-pwd for remote host.
7065         * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
7066
7067 2009-08-24  Keith Seitz  <keiths@redhat.com>
7068
7069         * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
7070         Add two new C++ completer tests which limit the output to a
7071         given class.
7072
7073 2009-08-24  Michael Snyder  <msnyder@vmware.com>
7074
7075         * gdb.base/del.exp: Fix typo in comment.
7076         * gdb.base/step-bt.exp: Fix cut and paste error in comment.
7077
7078 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7079
7080         * configure: Regenerate.
7081         * gdb.hp/configure: Likewise.
7082         * gdb.hp/gdb.aCC/configure: Likewise.
7083         * gdb.hp/gdb.base-hp/configure: Likewise.
7084         * gdb.hp/gdb.compat/configure: Likewise.
7085         * gdb.hp/gdb.defects/configure: Likewise.
7086         * gdb.hp/gdb.objdbg/configure: Likewise.
7087         * gdb.stabs/configure: Likewise.
7088
7089 2009-08-19  Doug Evans  <dje@google.com>
7090
7091         * gdb.base/gdbvars.c: New file.
7092         * gdb.base/gdbvars.exp: Test convenience vars with program variables.
7093
7094 2009-08-14  Pedro Alves  <pedro@codesourcery.com>
7095
7096         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7097         gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
7098
7099 2009-08-13  Pedro Alves  <pedro@codesourcery.com>
7100
7101         * gdb.base/default.exp: Adjust "set language test": it's now an
7102         enum command.  Larger help string moved to "help set language".
7103         * gdb.base/help.exp: Adjust "help set language" expected output,
7104         now lists all known languages.
7105
7106 2009-08-11  Nathan Froyd  <froydnj@codesourcery.com>
7107
7108         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
7109         all frame arguments.
7110         * gdb.arch/altivec-regs.exp: Likewise.
7111
7112 2009-08-07  Tom Tromey  <tromey@redhat.com>
7113
7114         * gdb.base/setshow.exp: Add tests for changes to set language, set
7115         check range, and set check type.
7116
7117 2009-08-03  Vladimir Prus  <vladimir@codesourcery.com>
7118
7119         * lib/mi-support.exp (mi_list_breakpoints): Make it work.
7120         * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
7121         Call it.
7122
7123 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7124
7125         * configure.ac: Run gdb.cell tests when appropriate.
7126         * configure: Regenerate.
7127         * lib/cell.exp: New file.
7128         * gdb.cell: New directory.
7129         * gdb.cell/configure.ac: New file.
7130         * gdb.cell/configure: New file.
7131         * gdb.cell/Makefile.in: New file.
7132         * gdb.cell/arch.exp: New file.
7133         * gdb.cell/break.c: New file.
7134         * gdb.cell/break.exp: New file.
7135         * gdb.cell/break-spu.c: New file.
7136         * gdb.cell/bt.c: New file.
7137         * gdb.cell/bt2-spu.c: New file.
7138         * gdb.cell/bt-spu.c: New file.
7139         * gdb.cell/bt.exp: New file.
7140         * gdb.cell/coremaker.c: New file.
7141         * gdb.cell/coremaker-spu.c: New file.
7142         * gdb.cell/core.exp: New file.
7143         * gdb.cell/gcore.exp: New file.
7144         * gdb.cell/data.c: New file.
7145         * gdb.cell/data.exp: New file.
7146         * gdb.cell/data-spu.c: New file.
7147         * gdb.cell/ea-cache.exp: New file.
7148         * gdb.cell/ea-cache.c: New file.
7149         * gdb.cell/ea-cache-spu.c: New file.
7150         * gdb.cell/ea-standalone.c: New file.
7151         * gdb.cell/ea-standalone.exp: New file.
7152         * gdb.cell/ea-test.c: New file.
7153         * gdb.cell/ea-test.exp: New file.
7154         * gdb.cell/f-regs.exp: New file.
7155         * gdb.cell/mem-access.c: New file.
7156         * gdb.cell/mem-access.exp: New file.
7157         * gdb.cell/mem-access-spu.c: New file.
7158         * gdb.cell/ptype.exp: New file.
7159         * gdb.cell/registers.exp: New file.
7160         * gdb.cell/size.c: New file.
7161         * gdb.cell/sizeof.exp: New file.
7162         * gdb.cell/size-spu.c: New file.
7163         * gdb.cell/solib.exp: New file.
7164         * gdb.cell/solib-symbol.exp: New file.
7165
7166 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7167
7168         * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
7169
7170 2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
7171
7172         * gdb.base/float.exp: Handle VFP registers.
7173
7174 2009-07-14  Michael Snyder  <msnyder@vmware.com>
7175
7176         * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
7177         to bring gdb to the beginning of the calling line.
7178
7179         * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
7180         confusing the i386 epilogue unwinder.
7181
7182 2009-07-14  Stan Shebs  <stan@codesourcery.com>
7183
7184         * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
7185
7186 2009-07-14  Michael Snyder  <msnyder@vmware.com>
7187
7188         * gdb.reverse/step-reverse.exp (stepi into function call):
7189         Call instruction may not be first instruction in the line.
7190         (reverse stepi from a function call): Used wrong line number.
7191
7192 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7193
7194         * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
7195
7196 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7197
7198         Fix gdb.base/macscp.exp when using custom inputrc.
7199         * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
7200         * gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
7201         env(TERM) set.
7202         * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
7203         * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
7204
7205 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7206
7207         Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
7208         * gdb.base/annota1.exp (thread_test): Import global $testfile.
7209         Change the compilation target to match the testcase name.
7210         * gdb.base/sect-cmd.exp: Change the compilation target to match the
7211         testcase name.
7212         * a2-run.exp: Use for setup prepare_for_testing.  Change the
7213         compilation target to match the testcase name.
7214         * gdb.base/commands.exp: Likewise.
7215         * gdb.base/finish.exp: Likewise.
7216         * gdb.base/float.exp: Likewise.
7217         * gdb.base/info-target.exp: Likewise.
7218         * gdb.base/relational.exp: Likewise.
7219         * gdb.base/term.exp: Likewise.
7220         * gdb.base/until.exp: Likewise.
7221         * gdb.base/volatile.exp: Likewise.
7222         * gdb.base/whatis-exp.exp: Likewise.
7223
7224 2009-07-11  Hui Zhu  <teawater@gmail.com>
7225
7226         * gdb.base/help.exp (disassemble): Update expected help text.
7227
7228 2009-07-09  Tom Tromey  <tromey@redhat.com>
7229
7230         * lib/gdb.exp: Handle TRANSCRIPT.
7231         (remote_spawn, remote_close, send_gdb): New procs.
7232
7233 2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
7234
7235         * gdb.python/python-prettyprint.c: Add counted null string
7236         structure.
7237         * gdb.python/python-prettyprint.exp: Print null string. Test for
7238         embedded nulls.
7239         * gdb.python/python-prettyprint.py (pp_ns): New Function.
7240         * gdb.python/python-value.exp (test_value_in_inferior): Add
7241         variable length string fetch tests.
7242         * gdb.python/python-value.c (main): Add strings for string fetch tests.
7243
7244 2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7245
7246         * gdb.base/dump.exp (inaccessible memory is reported): New test.
7247
7248 2009-07-07  Tom Tromey  <tromey@redhat.com>
7249
7250         * gdb.base/call-rt-st.exp: Update for change to escape output.
7251         * gdb.base/callfuncs.exp: Likewise.
7252         * gdb.base/charset.exp: Likewise.
7253         * gdb.base/constvars.exp: Likewise.
7254         * gdb.base/long_long.exp: Likewise.
7255         * gdb.base/pointers.exp: Likewise.
7256         * gdb.base/printcmds.exp: Likewise.
7257         * gdb.base/setvar.exp: Likewise.
7258         * gdb.base/store.exp: Likewise.
7259         * gdb.cp/ref-types.exp: Likewise.
7260         * gdb.mi/mi-var-child.exp: Likewise.
7261         * gdb.mi/mi-var-display.exp: Likewise.
7262         * gdb.mi/mi2-var-display.exp: Likewise.
7263         * gdb.base/charset.exp: Test octal escape sequence length.
7264         Update for change to escape output.
7265
7266 2009-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7267
7268         * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
7269
7270 2009-07-06  Daniel Jacobowitz  <dan@codesourcery.com>
7271
7272         * lib/java.exp (java_init): Ignore $GCJ if it is empty.
7273
7274 2009-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7275
7276         * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
7277         gdbserver increasing $portnum if "Can't bind address" has been seen.
7278
7279 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
7280
7281         * gdb.base/ending-run.exp: Add "step out of main" pattern for
7282         mingw32ce.
7283
7284 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
7285
7286         * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
7287         VFP format.
7288
7289 2009-07-02  Pedro Alves  <pedro@codesourcery.com>
7290
7291         * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
7292         linux.  Adjust to use "inferior", "info inferiors", "detach
7293         inferior" and "kill inferior" instead of "restart", "info fork",
7294         "detach fork" and "delete fork".
7295         * gdb.base/ending-run.exp: Spell out "info".
7296         * gdb.base/help.exp: Adjust to use test_prefix_command_help for
7297         the "kill" command.
7298
7299 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7300
7301         * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
7302         change to prefix TLS offset in hex with 0x.
7303
7304 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7305
7306         * gdb.base/default.exp: Update test case for "x" changes.
7307
7308 2009-07-01  Tristan Gingold  <gingold@adacore.com>
7309
7310         * gdb.base/bigcore.exp: Make darwin untested.
7311
7312 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7313
7314         * gdb.base/completion.exp (directory completion): Create the directory.
7315         New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
7316         escapeuniquesub.
7317         (directory completion 2): Expect now ${escapeuniquesub}.
7318         (Glob remaining of directory test): Remove one excessive newline.
7319         Expect the real output.
7320
7321 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7322
7323         Fix `make check//%' target after `make check' has been ran.
7324         * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency.  Add
7325         a mkdir call.
7326         (check-gdb.base%): Remove the gdb.base%/.dir dependency.
7327         (%/.dir): Remove.
7328
7329 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7330
7331         * lib/mi-support.exp (mi_check_thread_states): Permit any output before
7332         the expected result record.
7333
7334 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7335
7336         Remove racy FAILs relying just on the timeouts.
7337         * gdb.base/setshow.exp (set annotate 2, show annotate (2))
7338         (annotation_level 2): Remove racy FAILs.
7339
7340 2009-06-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7341
7342         gdb/10275
7343         * gdb.dwarf2/dw2-restore.{S,exp}: New test.
7344
7345 2009-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
7346
7347         * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
7348
7349 2009-06-30  Vladimir Prus  <vladimir@codesourcery.com>
7350
7351         * gdb.mi/mi-stack.exp: Testing symbolic options
7352         to -stack-list-locals and -stack-list-arguments.
7353
7354 2009-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7355
7356         * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
7357
7358 2009-06-29  Tom Tromey  <tromey@redhat.com>
7359
7360         * dg-extract-results.sh: New file.
7361         * Makefile.in (FORCE_PARALLEL): New variable.
7362         (CHECK_TARGET): New conditional variable.
7363         (check): Use CHECK_TARGET.
7364         (DO_RUNTEST): New variable.
7365         (check-single): New target.
7366         (TEST_DIRS): New variable.
7367         (TEST_TARGETS): Likewise.
7368         (check-parallel): New target.
7369         (check-gdb.%): New pattern.
7370         (BASE1_FILES): New variable.
7371         (BASE2_FILES): Likewise.
7372         (check-gdb.base%): New pattern.
7373         (%/.dir): New pattern.
7374         * configure: Rebuild.
7375         * aclocal.m4 (AM_CONDITIONAL): New defun.
7376         * configure.ac: Check whether user is using GNU make.
7377         (GMAKE): New conditional.
7378
7379 2009-06-29  Sami Wagiaalla  <swagiaal@redhat.com>
7380
7381         * gdb.cp/namespace-nested-import.cc: New test.
7382         * gdb.cp/namespace-nested-import.exp: New test.
7383
7384 2009-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
7385
7386         * gdb.base/break.exp: Add an XFAIL for gcc/36748.
7387         * gdb.cp/annota2.exp: Accept frames-invalid in more places.
7388         * gdb.opt/Makefile.in (EXECUTABLES): Update.
7389         * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
7390         * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
7391         gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
7392         gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
7393         gdb.opt/inline-markers.c: New files.
7394         * lib/gdb.exp (skip_inline_frame_tests): New function.
7395         (skip_inline_var_tests): New function.
7396
7397 2009-06-27  Andreas Schwab  <schwab@linux-m68k.org>
7398
7399         * gdb.cp/exception.exp: Don't require $hex before inner frame in
7400         backtrace.
7401
7402 2009-06-27  Michael Snyder  <msnyder@vmware.com>
7403
7404         * gdb.reverse: New directory.
7405         * gdb.reverse/break-reverse.c: New test.
7406         * gdb.reverse/break-reverse.exp: New test.
7407         * gdb.reverse/consecutive-reverse.c: New test.
7408         * gdb.reverse/consecutive-reverse.exp: New test.
7409         * gdb.reverse/finish-reverse.c: New test.
7410         * gdb.reverse/finish-reverse.exp: New test.
7411         * gdb.reverse/machinestate.c: New test.
7412         * gdb.reverse/ms1.c: New test.
7413         * gdb.reverse/machinestate.exp: New test.
7414         * gdb.reverse/Makefile.in: New file.
7415         * gdb.reverse/shr2.c: New test.
7416         * gdb.reverse/solib-reverse.c: New test.
7417         * gdb.reverse/solib-reverse.exp: New test.
7418         * gdb.reverse/step-reverse.c: New test.
7419         * gdb.reverse/step-reverse.exp: New test.
7420         * gdb.reverse/until-reverse.c: New test.
7421         * gdb.reverse/ur1.c: New test.
7422         * gdb.reverse/until-reverse.exp: New test.
7423         * gdb.reverse/watch-reverse.c: New test.
7424         * gdb.reverse/watch-reverse.exp: New test.
7425         * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
7426         * configure: Regenerate.
7427
7428 2009-06-26  Doug Evans  <dje@google.com>
7429
7430         * gdb.base/psymtab.exp: Turn off pending breakpoints.
7431
7432 2009-06-26  Pierre Muller  <muller@ics.u-strasbg.fr>
7433
7434         * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
7435         windows problem for 'file delete $binfile'.
7436
7437 2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
7438
7439         * gdb.cp/namespace-using.exp: New test.
7440         * gdb.cp/namespace-using.cc: New test.
7441
7442 2009-05-20  Joel Brobecker  <brobecker@adacore.com>
7443
7444         * gdb.ada/variant_record_packed_array: New testcase.
7445
7446 2009-06-23  Tom Tromey  <tromey@redhat.com>
7447
7448         * gdb.base/charset.exp (test_combination): Regression test.
7449         * gdb.base/charset.c (my_wchar_t): New typedef.
7450         (myvar): New global.
7451         (main): Set myvar.
7452
7453 2009-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
7454
7455         * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
7456         target.
7457
7458 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7459
7460         * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
7461
7462 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7463
7464         * gdb.mi/gdb680.exp: Update test for error message.
7465
7466 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7467
7468         * gdb.base/annota1.exp: Allow multiple occurrences of the
7469         frames-invalid annotation.
7470         * gdb.cp/annota2.exp: Likewise.
7471
7472 2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
7473
7474         * gdb.cp/gdb2495.cc: New file.
7475         * gdb.cp/gdb2495.exp: New file.
7476
7477 2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
7478
7479         Report error on GDB crash during runto.
7480         * lib/gdb.exp (runto <eof>): New.
7481
7482 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
7483
7484         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
7485         gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
7486         gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
7487         gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
7488         gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
7489         gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
7490         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
7491         gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
7492         gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
7493         gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
7494         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
7495         gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
7496         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
7497         gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
7498         gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
7499         gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
7500         gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
7501         gdb.server/server-mon.exp, gdb.server/server-run.exp,
7502         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7503         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7504         gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
7505         gdb.trace/passcount.exp, gdb.trace/report.exp,
7506         gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
7507         gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
7508         gdb.trace/while-stepping.exp: Use a unique name for the compiled
7509         executable.
7510
7511 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
7512
7513         * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
7514         defined before referencing it.
7515
7516 2009-06-03  Doug Evans  <dje@google.com>
7517
7518         * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
7519         * gdb.arch/i386-see.c: Ditto.
7520
7521 2009-05-30  Pierre Muller  <muller@ics.u-strasbg.fr>
7522
7523         * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
7524         (check_macro): Return 1 if undefined.
7525         If first test fails, check if macro debug information is available,
7526         and report unsupported test if no macro information is found.
7527
7528 2009-05-29  Doug Evans  <dje@google.com>
7529
7530         * gdb.threads/hand-call-in-threads.exp: New.
7531         * gdb.threads/hand-call-in-threads.c: New.
7532
7533 2009-05-29  Michael Snyder  <msnyder@vmware.com>
7534
7535         * gdb.base/break-always.exp: Change "1" to "on".
7536         Add confirmation check.
7537
7538 2009-05-28  Pedro Alves  <pedro@codesourcery.com>
7539
7540         * gdb.threads/threxit-hop-specific.c: New.
7541         * gdb.threads/threxit-hop-specific.exp: New.
7542         * gdb.threads/thread-execl.c: New.
7543         * gdb.threads/thread-execl.exp: New.
7544
7545 2009-05-27  Tom Tromey  <tromey@redhat.com>
7546             Thiago Jung Bauermann  <bauerman@br.ibm.com>
7547
7548         * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
7549         (mi_child_regexp): Likewise.
7550         (mi_list_varobj_children_range): Likewise.
7551         (mi_get_features): Likewise.
7552         (mi_list_varobj_children): Rewrite.
7553         * gdb.python/python-mi.exp: New file.
7554
7555 2009-05-27  Tom Tromey  <tromey@redhat.com>
7556             Thiago Jung Bauermann  <bauerman@br.ibm.com>
7557             Phil Muldoon  <pmuldoon@redhat.com>
7558             Paul Pluzhnikov  <ppluzhnikov@google.com>
7559
7560         * gdb.python/python-prettyprint.exp: New file.
7561         * gdb.python/python-prettyprint.c: New file.
7562         * gdb.python/python-prettyprint.py: New file.
7563         * gdb.base/display.exp: print/r is now valid.
7564
7565 2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7566             Tom Tromey  <tromey@redhat.com>
7567             Pedro Alves  <pedro@codesourcery.com>
7568             Paul Pluzhnikov  <ppluzhnikov@google.com>
7569
7570         * gdb.python/python-template.exp: New file.
7571         * gdb.python/python-template.cc: New file.
7572         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7573         tests.
7574         * gdb.python/python-value.exp (py_objfile_tests): New proc.
7575         Call it.
7576         (test_value_after_death): New proc.
7577         * gdb.python/python-value.c (PTR): New typedef.
7578         (main): New variable 'x'.
7579
7580 2009-05-27  Tom Tromey  <tromey@redhat.com>
7581
7582         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7583         tests.
7584         * gdb.python/python-value.exp (py_objfile_tests): New proc.
7585         Call it.
7586
7587 2009-05-27  Pedro Alves  <pedro@codesourcery.com>
7588
7589         * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
7590
7591 2009-05-24  Pedro Alves  <pedro@codesourcery.com>
7592
7593         * gdb.threads/fork-thread-pending.c: New.
7594         * gdb.threads/fork-thread-pending.exp: New.
7595
7596 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
7597
7598         * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
7599         * gdb.dwarf2/dw2-strp.S (a_string2): New.
7600
7601 2009-05-18  Jon Beniston  <jon@beniston.com>
7602
7603         * gdb.asm/asm-source.exp: Add lm32 target.
7604
7605 2009-05-17  Pedro Alves  <pedro@codesourcery.com>
7606
7607         * gdb.base/foll-fork.c: Include stdlib.h.  Add markers for
7608         `gdb_get_line_number'.  Call `callee' in both parent and child.
7609         * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
7610         `gdb_get_line_number' instead of hardcoding line numbers.
7611         (catch_fork_unpatch_child): New procedure to test detaching
7612         breakpoints from child fork.
7613         (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
7614         hardcoding line numbers.
7615         (do_fork_tests): Run `catch_fork_unpatch_child'.
7616
7617 2009-05-17  Vladimir Prus  <vladimir@codesourcery.com>
7618
7619         * gdb.mi/mi-cmd-var.exp: Check that when varobj
7620         of structure type enters or leaves the scope, it
7621         is reported by -var-update.
7622
7623 2009-05-11  Doug Evans  <dje@sebabeach.org>
7624
7625         * gdb.mi/nsintrall.c (main): Fix off-by-one error.
7626         * gdb.threads/pending-step.c (main): Fix off-by-one error.
7627         * gdb.threads/schedlock.c (main): Fix off-by-one error.
7628
7629 2009-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7630
7631         * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
7632
7633 2009-04-30  Doug Evans  <dje@google.com>
7634
7635         * gdb.threads/watchthreads2.exp: New testcase.
7636         * gdb.threads/watchthreads2.c: New testcase.
7637
7638 2009-04-29  Doug Evans  <dje@google.com>
7639
7640         * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
7641         * gdb.cp/mb-ctor.cc: Ditto.
7642         * gdb.cp/mb-inline.exp: Add multi-line source statement test.
7643         * gdb.cp/mb-inline.h (multi_line_foo): New function.
7644         * gdb.cp/mb-inline1.cc: Call it.
7645         * gdb.cp/mb-inline2.cc: Ditto.
7646         * gdb.cp/mb-templates.exp: Add multi-line source statement test.
7647         * gdb.cp/mb-templates.cc (multi_line_foo): New template.
7648
7649 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7650
7651         * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
7652         (info_macro): Remova `decimal' declaration.  New variable `nonzero'.
7653         Replace all uses of `decimal' by `nonzero'.
7654         (info macro FROM_COMMANDLINE): New test.
7655
7656 2009-04-27  Tom Tromey  <tromey@redhat.com>
7657
7658         * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
7659
7660 2009-04-27  Doug Evans  <dje@google.com>
7661
7662         * gdb.threads/watchthreads.c (main): Initialize args before starting
7663         the threads.  Plus formatting cleanup.
7664         * gdb.threads/watchthreads.exp: Avoid errant failures due to
7665         biased scheduling of one thread.
7666
7667 2009-04-27  Jerome Guitton  <guitton@adacore.com>
7668
7669         * gdb.cp/templates.cc (GetMax): New template.
7670         (main): Declare two instances of GetMax.
7671         * gdb.cp/templates.exp: Add new test.
7672
7673 2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7674
7675         * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
7676
7677 2009-04-22  Joseph Myers  <joseph@codesourcery.com>
7678
7679         * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
7680
7681 2009-04-15  Tom Tromey  <tromey@redhat.com>
7682
7683         * gdb.base/charset.exp: Add regression test.
7684
7685 2009-04-14  Joel Brobecker  <brobecker@adacore.com>
7686
7687         * gdb.base/exe-lock.exp: New testcase.
7688
7689 2009-04-13  Tom Tromey  <tromey@redhat.com>
7690
7691         * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
7692         operator on Frame.
7693
7694 2009-04-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7695
7696         * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
7697         * gdb.server/ext-attach.exp: Likewise.
7698
7699 2009-04-03  Vladimir Prus  <vladimir@codesourcery.com>
7700
7701         Eliminate some sleep usage.
7702
7703         * gdb.mi/basics.c (do_nothing): New.
7704         (main): Use do_nothing instead of printf, so that
7705         not to introduce race condition between output of
7706         inferiour and output of gdb. Do not use sleep as it
7707         is not generally available on embedded targets.
7708
7709 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
7710
7711         * gdb.server/ext-attach.exp: Expect an optional process id after
7712         "Detached from remote process".
7713
7714 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7715
7716         * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
7717         gdb.dwarf2/dw2-unresolved.exp: New.
7718
7719 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
7720
7721         * gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
7722         mi_run_to_main.
7723
7724 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
7725
7726         * gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
7727         mi_run_to_main.  Skip thread exit test on remote targets.
7728         * gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
7729         mi_run_to_main.
7730         * gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
7731         mi_run_to_main.
7732         * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
7733         when expecting ^connected.  Detect when the target doesn't support
7734         non-stop mode.
7735         (mi_run_cmd): Detect if non-stop mode was requested by isn't
7736         supported.  Return -1 on error, 0 on success.
7737         (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
7738         (mi_runto): Return mi_runto_helper's result explicitly.
7739
7740 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
7741
7742         * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
7743
7744 2009-04-01  Tom Tromey  <tromey@redhat.com>
7745
7746         * gdb.base/funcargs.exp: Set print frame-arguments to "all".
7747         * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
7748         * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
7749         * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
7750
7751 2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
7752             Jan Kratochvil  <jan.kratochvil@redhat.com>
7753
7754         PR gdb/931
7755         * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
7756         output.
7757         * gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
7758         for gdb/931.
7759         * dw2-strp.S (DW_AT_language): Change to C++.
7760         (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
7761
7762 2009-03-31  Joel Brobecker  <brobecker@adacore.com>
7763
7764         * gdb.ada/tasks: New testcase.
7765
7766 2009-03-30  Stan Shebs  <stan@codesourcery.com>
7767
7768         * gdb.trace/actions.exp: Update to match new info trace format.
7769         * gdb.trace/deltrace.exp: Ditto.
7770         * gdb.trace/infotrace.exp: Ditto.
7771         * gdb.trace/passcount.exp: Ditto.
7772         * gdb.trace/save-trace.exp: Ditto.
7773         * gdb.trace/while-stepping.exp: Ditto.
7774         * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
7775
7776 2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7777
7778         * gdb.python/python-frame.c: New file.
7779         * gdb.python/python-frame.exp: New file.
7780
7781 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7782
7783         * gdb.python/python-value.exp: Add tests for the address
7784         attribute.
7785
7786 2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>
7787
7788         * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
7789
7790 2009-03-26  Doug Evans  <dje@google.com>
7791
7792         * gdb.mi/mi-nonstop-exit.exp: New file.
7793         * gdb.mi/non-stop-exit.c: New file.
7794
7795 2009-03-26  Tom Tromey  <tromey@redhat.com>
7796
7797         Update for change to prologue skipping:
7798         * gdb.mi/mi2-simplerun.exp: Update.
7799         * gdb.mi/mi2-break.exp: Update.
7800         * gdb.mi/mi-simplerun.exp: Update.
7801         * gdb.mi/mi-break.exp: Update.
7802         * gdb.base/ending-run.exp: Update.
7803
7804 2009-03-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7805
7806         * gdb.python/python-value.exp (test_value_in_inferior): Test
7807         gdb.Value.is_optimized_out attribute.
7808
7809 2009-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
7810
7811         * gdb.dwarf2/dw2-noloc-main.c: New file.
7812         * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
7813         (.text): Remove.
7814         (.data): New.
7815         (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
7816         (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
7817         (DW_TAG_subprogram func_cu1, noloc): Remove.
7818         (main): New.
7819         * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
7820         `dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
7821         (file_symbols): New procedure.
7822
7823 2009-03-25  Tom Tromey  <tromey@redhat.com>
7824
7825         * gdb.base/charset.exp (valid_target_charset): New proc.
7826         Use it to skip tests on invalid charsets.
7827
7828 2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
7829
7830         * gdb.base/completion.exp: Add a test for directory completion.
7831
7832 2009-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7833
7834         Fix a racy FAIL.
7835         * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
7836         * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
7837
7838 2009-03-21  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7839
7840         * gdb.python/python-cmd.exp: Add tests for keyword arguments.
7841         * gdb.python/python-function.exp: Add test for function returning
7842         a GDB value.
7843
7844 2009-03-20  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7845
7846         * gdb.python/python-function.exp: New file.
7847
7848 2009-03-20  Tom Tromey  <tromey@redhat.com>
7849
7850         * gdb.base/store.exp: Update for change to escape output.
7851         * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
7852         to escape output.
7853         * gdb.base/pointers.exp: Update for change to escape output.
7854         * gdb.base/long_long.exp (gdb_test_long_long): Update for change
7855         to escape output.
7856         * gdb.base/constvars.exp (do_constvar_tests): Update for change to
7857         escape output.
7858         * gdb.base/call-rt-st.exp (print_struct_call): Update for change
7859         to escape output.
7860         * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
7861         escape output.
7862         * gdb.base/setvar.exp: Update for change to escape output.
7863         * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
7864         * gdb.base/printcmds.exp (test_print_all_chars): Update for change
7865         to escape output.
7866         (test_print_string_constants): Likewise.
7867         * gdb.base/charset.exp (valid_host_charset): Check size of
7868         wchar_t.  Handle UCS-2 and UCS-4.  Add tests for wide and unicode
7869         cases.  Handle "auto"-related output.
7870         * gdb.base/charset.c (char16_t, char32_t): New typedefs.
7871         (uvar, Uvar): New globals.
7872
7873 2009-03-19  Jerome Guitton  <guitton@adacore.com>
7874
7875         * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
7876         deltas.
7877         * gdb.ada/fixed_points.exp: Ditto.
7878
7879 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
7880
7881         * return-nodebug.c: Don't include stdio.h.
7882         (init): Delete.
7883         (func): Delete definition and provide extern declaration.
7884         (t): New.
7885         (main): Don't call printf.  Call func and store its result in t.
7886         * return-nodebug1.c: New.
7887         * return-nodebug.exp: Don't expect stdio output.  Instead, print
7888         the global variable t.  Drop printf formatters and cast types from
7889         foreach loop.  Don't use prepare_for_testing.  Compile
7890         return-nodebug.c and return-nodebug1.c in separate steps.  Don't
7891         define FORMAT or CAST.
7892
7893 2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7894
7895         * gdb.base/solib-display.exp: Disable test for remote targers.
7896
7897 2009-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7898
7899         * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
7900
7901 2009-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7902
7903         Fix a racy FAIL.
7904         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
7905         code from `follow parent, print pids'.
7906         (`follow child, print pids', `follow parent, print pids'): Call it.
7907         Replace `gdb_test "break..."' by gdb_breakpoint.
7908
7909 2009-03-13  Vladimir Prus  <vladimir@codesourcery.com>
7910
7911         * gdb.mi/mi-cli.exp: Adjust for output difference in
7912         sync and async modes.
7913
7914 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
7915
7916         * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
7917         that was checked in by mistake. Remove loading of ada.exp, since
7918         this is not necessary in this case.
7919
7920 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
7921
7922         * gdb.ada/ptype_arith_binop.exp: New testcase.
7923
7924 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
7925
7926         * gdb.ada/mod_from_name: New testcase.
7927
7928 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
7929
7930         * gdb.ada/tick_last_segv: New testcase.
7931
7932 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
7933
7934         * gdb.mi/mi-cli.exp: Remove debug print.
7935
7936 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
7937
7938         * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
7939         include the token in ^running and frame info in *stopped.
7940
7941 2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7942
7943         * solib-display.exp: New file.
7944         * solib-display-main.c: New file.
7945         * solib-display-lib.c: New file.
7946
7947 2009-03-05  Pedro Alves  <pedro@codesourcery.com>
7948
7949         * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
7950
7951 2009-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
7952
7953         * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
7954         (list_and_check_macro): Use more specific test name.
7955         (next to definition): Make the test names unique.
7956
7957 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
7958
7959         * gdb.pascal/floats.exp: Accept approximate results everywhere.
7960
7961 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
7962
7963         * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
7964         notifications.
7965         * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
7966         * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
7967         * lib/mi-support.exp (library_loaded_re): New.
7968         (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
7969
7970 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
7971
7972         * gdb.gdb/observer.exp: Use test_notification observer, not
7973         normal_stop, everywhere.
7974         (test_normal_stop_notifications): Rename to...
7975         (test_notifications): ...this.
7976         (test_observer_normal_stop): Rename to...
7977         (test_observer): ...this.
7978
7979 2009-02-16  Doug Evans  <dje@google.com>
7980
7981         * gdb.arch/amd64-disp-step.S (test_int3): New test.
7982         * gdb.arch/amd64-disp-step.exp (test_int3): New test.
7983         * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
7984         (test_prefixed_syscall,test_int3): New tests.
7985         * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
7986         (test_prefixed_syscall,test_int3): New tests.
7987
7988 2009-02-14  Vladimir Prus  <vladimir@codesourcery.com>
7989
7990         * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
7991         (mi_expect_interrupt): Likewise.
7992         * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
7993         response.
7994
7995 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
7996
7997         * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
7998         * gdb.base/pc-fp.exp (get_valueofx): Remove.
7999         Replace calls to get_valueofx by get_hexadecimal_valueof.
8000
8001 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
8002
8003         * lib/gdb.exp (get_valueof): Accept anything as a return value.
8004         (get_integer_valueof): New procedure.
8005         (get_sizeof): Use new get_integer_value_of.
8006         * gdb.base/sizeof.exp: Replace all uses of get_valueof
8007         by get_integer_valueof.
8008
8009 2009-02-13  Tom Tromey  <tromey@redhat.com>
8010
8011         * gdb.base/remote.exp (get_sizeof): Remove.
8012         * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
8013         * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
8014         * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
8015         * lib/gdb.exp (get_valueof): Move from long_long.exp.
8016         (get_sizeof): Likewise.
8017
8018 2009-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
8019
8020         PR fortran/9806
8021         * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
8022
8023 2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8024
8025         * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
8026
8027 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
8028
8029         * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
8030
8031 2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8032
8033         * gdb.python/python-cmd.exp: New file.
8034
8035 2009-02-06  Tristan Gingold  <gingold@adacore.com>
8036
8037         * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
8038
8039 2009-02-05  Tristan Gingold  <gingold@adacore.com>
8040
8041         * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
8042         pointer is dereferenced and use this signal name in regexp.
8043         * gdb.base/signull.exp: Ditto.
8044         * gdb.base/sigbpt.c (main): Catch SIGBUS too.
8045         * gdb.base/signull.c (main): Ditto.
8046
8047 2009-02-04  Tom Tromey  <tromey@redhat.com>
8048             Thiago Jung Bauermann  <bauerman@br.ibm.com>
8049
8050         * gdb.python/python-value.exp: Use `gdb.history' instead of
8051         `gdb.value_from_history'.
8052         (test_value_numeric_ops): Add test for conversion of enum constant.
8053         * gdb.python/python-value.c (enum e): New type.
8054         (evalue): New global.
8055         (main): Use argv.
8056
8057 2009-02-04  Jerome Guitton  <guitton@adacore.com>
8058
8059         * gdb.ada/uninitialized_vars: New test program.
8060         * gdb.ada/uninitialized_vars.exp: New testcase.
8061
8062 2009-02-02  Tom Tromey  <tromey@redhat.com>
8063
8064         * gdb.cp/cpcompletion.exp: Name the test "pr9594".
8065         * gdb.cp/pr2489.cc: Rename...
8066         * gdb.cp/pr9594.cc: ... to this.
8067
8068 2009-02-02  Tom Tromey  <tromey@redhat.com>
8069
8070         * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
8071         * gdb.cp/pr2489.cc: New file.
8072         * gdb.cp/cpcompletion.exp: New file.
8073
8074 2009-02-02  Tom Tromey  <tromey@redhat.com>
8075
8076         PR exp/9059:
8077         * gdb.cp/call-c.exp: Add regression test.
8078         * gdb.cp/call-c.cc (FooHandle): New typedef.
8079         (main): New variable 'handle'.
8080
8081 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
8082
8083         * lib/mi-support.exp (et_mi_thread_list)
8084         (check_mi_and_console_threads): Adjust for current thread in
8085         -thread-list-ids output.
8086
8087 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
8088
8089         * gdb.mi/mi-break.exp (test_disabled_creation): New.
8090         Call it.
8091
8092 2009-01-28  Doug Evans  <dje@google.com>
8093
8094         * gdb.arch/amd64-disp-step.S: New file.
8095         * gdb.arch/amd64-disp-step.exp: New file.
8096         * gdb.arch/i386-disp-step.S: New file.
8097         * gdb.arch/i386-disp-step.exp: New file.
8098
8099 2009-01-27  Pierre Muller  <muller@ics.u-strasbg.fr>
8100
8101         * gdb.base/find.exp: Set newline variable
8102         using quotes instead of braces to fix cygwin failures.
8103
8104 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8105
8106         * gdb.base/radix.exp: Add tests to ensure that that set
8107         input-radix 0 and set output-radix 0 are really rejected.
8108
8109 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8110
8111         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
8112         copyright years.
8113
8114 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8115
8116         PR gdb/9664:
8117         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
8118
8119 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
8120
8121         PR c++/9631:
8122         * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
8123
8124 2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>
8125
8126         * gdb.server/file-transfer.exp: Use EXEEXT variable for
8127         binfile definition to fix Windows OS failure.
8128
8129 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
8130
8131         PR gdb/9346
8132         * gdb.base/interrupt.c (sigint_handler): New.
8133         (main): Install a SIGINT handler if SIGNALS is defined.  Exit
8134         on error.
8135         * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
8136         Test "signal SIGINT".
8137
8138 2009-01-19  Doug Evans  <dje@google.com>
8139
8140         * gdb.base/break.exp: Update expected gdb output.
8141         * gdb.base/sepdebug.exp: Ditto.
8142         * gdb.mi/mi-syn-frame.exp: Ditto.
8143         * gdb.mi/mi2-syn-frame.exp: Ditto.
8144         * gdb.base/call-signal-resume.exp: New file.
8145         * gdb.base/call-signals.c: New file.
8146         * gdb.base/unwindonsignal.exp: New file.
8147         * gdb.base/unwindonsignal.c: New file.
8148         * gdb.threads/interrupted-hand-call.exp: New file.
8149         * gdb.threads/interrupted-hand-call.c: New file.
8150         * gdb.threads/thread-unwindonsignal.exp: New file.
8151
8152 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
8153
8154         * gdb.base/define.exp: Test defining and hooking prefix commands.
8155         * gdb.python/python.exp: Update test for "show user" output.
8156
8157 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8158
8159         * gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
8160         now the output exactly, using less wildcards.  Expect also the output
8161         of gfortran-4.3.  Update for the f-valprint.c modification from
8162         2008-04-22.
8163         * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
8164         Remove gdb_test test names where matching the command.
8165
8166 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
8167
8168         PR breakpoints/9681:
8169         * gdb.base/watchpoint.exp: Add regression test.
8170
8171 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
8172
8173         * gdb.threads/attach-into-signal.exp: Don't use
8174         gdb_suppress_entire_file.
8175         * gdb.threads/attach-stopped.exp: Ditto.
8176         * gdb.threads/attachstop-mt.exp: Ditto.
8177
8178 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
8179
8180         PR gdb/8812:
8181         * gdb.base/signal.exp: Change kfail to fail, and update PR number.
8182
8183 2008-12-29  Pedro Alves  <pedro@codesourcery.com>
8184
8185         PR gdb/7536:
8186         * gdb.base/radix.exp: Add tests to ensure invalid input radices
8187         and unsupported output radices are really rejected.
8188
8189 2008-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
8190
8191         * gdb.cp/punctuator.exp: Backslash the '$' signs.
8192
8193 2008-12-22  Tom Tromey  <tromey@redhat.com>
8194
8195         * gdb.cp/punctuator.exp: New file.
8196
8197 2008-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8198
8199         * gdb.base/completion.exp (Completing non-existing component): New test.
8200
8201 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8202
8203         Fix for PR gdb/8648.
8204         * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
8205         gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
8206         gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
8207         gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
8208
8209 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8210
8211         * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
8212
8213 2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
8214
8215         * gdb.base/expand-psymtabs.c: Insert code in foo so that the
8216         compiler actually generate code at the expected line number.
8217
8218 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
8219
8220         * gdb.base/consecutive.exp: Don't use global in gdb_expect.
8221
8222 2008-12-12  Tom Tromey  <tromey@redhat.com>
8223
8224         * gdb.base/commands.exp (redefine_hook_test): New proc.
8225         Call it.
8226
8227 2008-12-11  Tom Tromey  <tromey@redhat.com>
8228
8229         * gdb.base/macscp.exp: New regression test.
8230
8231 2008-12-11  Tom Tromey  <tromey@redhat.com>
8232
8233         * gdb.base/macscp.exp: Print "address.addr".
8234         * gdb.base/macscp1.c (struct outer): New struct.
8235         (address): New global.
8236
8237 2008-12-09  Tom Tromey  <tromey@redhat.com>
8238
8239         * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8240         Call it.
8241
8242 2008-12-04  Doug Evans  <dje@google.com>
8243
8244         * gdb.server/ext-run.exp: Relax regexp for init program.
8245
8246 2008-12-03  Tristan Gingold  <gingold@adacore.com>
8247
8248         * gdb.base/macscp.exp: Generate an object file during compilation
8249         to work around Darwin dsymutil limitations.
8250
8251 2008-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8252
8253         Test resolving external references to TLS variables.
8254         * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8255         FILE2_THREAD_LOCAL.
8256         (testfile2, srcfile2): New variables.
8257         * gdb.threads/tls.c (file2_thread_local)
8258         (function_referencing_file2_thread_local): New.
8259         * gdb.threads/tls2.c: New file.
8260
8261 2008-11-28  Joel Brobecker  <brobecker@adacore.com>
8262
8263         * gdb.ada/int_deref.exp: Convert the addresses into long_integer
8264         rather than integer, as integer might not be big enough when
8265         on 64bit targets.
8266
8267 2008-11-27  Jerome Guitton  <guitton@adacore.com>
8268
8269         * gdb.cp/formatted-ref.exp: Add equality test.
8270         * gdb.ada/formatted_ref.exp: Ditto.
8271
8272 2008-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8273
8274         * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
8275         * gdb.base/start.exp: New comment about an alternative - `runto_main'.
8276
8277 2008-11-20  Andreas Schwab  <schwab@suse.de>
8278
8279         * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
8280         matching syscall entry point.
8281         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8282         (tcatch_vfork_then_child_follow): Likewise.  Finish through
8283         vfork even if we stopped at the syscall trampoline.
8284
8285 2008-11-20  Doug Evans  <dje@google.com>
8286
8287         * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
8288
8289 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8290
8291         * gdb.arch/ppc-dfp.exp: New file.
8292         * gdb.arch/ppc-dfp.c: New file.
8293
8294 2008-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8295
8296         * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
8297
8298 2008-11-17  Doug Evans  <dje@google.com>
8299
8300         * gdb.mi/mi-syn-frame.exp: Update expected output.
8301         * gdb.mi/mi2-syn-frame.exp: Update expected output.
8302
8303 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
8304
8305         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
8306         "thread N" results in =thread-selected.
8307         * lib/mi-support (mi_run_cmd, mi_expect_stop)
8308         (mi_send_resuming_command_raw): Be prepared for
8309         =thread-selected.
8310
8311 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
8312
8313         * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
8314         * lib/mi-support.exp: Likewise.
8315
8316 2008-11-16  Joel Brobecker  <brobecker@adacore.com>
8317
8318         * gdb.base/help.exp: Remove the "catch load" and "catch unload"
8319         commands from the expected output for "help catch".
8320
8321 2008-11-15  Joel Brobecker  <brobecker@adacore.com>
8322
8323         * gdb.ada/int_deref.exp: New testcase.
8324
8325 2008-11-14  Nick Roberts  <nickrob@snap.net.nz>
8326
8327         * gdb.mi/gdb2549.exp: New file.
8328
8329 2008-11-11  Doug Evans  <dje@google.com>
8330
8331         * gdb.base/callexit.exp: New file.
8332         * gdb.base/callexit.c: New file.
8333
8334 2008-11-10  Doug Evans  <dje@google.com>
8335
8336         * lib/gdb.exp (GDBFLAGS): Move -nx ...
8337         (INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
8338         (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
8339         (default_gdb_start,default_gdb_exit): Ditto.
8340         * lib/mi-support.exp (default_mi_gdb_start): Ditto.
8341         (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
8342         * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
8343         * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
8344         * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
8345         * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
8346
8347 2008-11-03  Andreas Schwab  <schwab@suse.de>
8348
8349         * gdb.base/hashline2.exp: Fix typo.
8350         * gdb.base/hashline3.exp: Likewise.
8351
8352 2008-10-30  Tom Tromey  <tromey@redhat.com>
8353
8354         * gdb.base/pointers.exp: Add test.
8355         * gdb.base/pointers.c (k, S): New typedefs.
8356         (instance): New global.
8357
8358 2008-10-30  Andreas Schwab  <schwab@suse.de>
8359
8360         * gdb.base/args.exp: Add tests for newlines.
8361
8362 2008-10-30  Joel Brobecker  <brobecker@adacore.com>
8363
8364         gdb.base/foll-exec.exp: Update the expected output of a couple
8365         of "info breakpoints" tests.
8366
8367 2008-10-28  Tom Tromey  <tromey@redhat.com>
8368
8369         * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
8370
8371 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
8372
8373         * gdb.python/python-value.exp (test_value_in_inferior): Don't use
8374         gdb_start_cmd.
8375         Use runto_main before any test that requires execution.
8376
8377 2008-10-23  Pedro Alves  <pedro@codesourcery.com>
8378
8379         * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
8380         instead of SIGINT.
8381
8382 2008-10-22  Joel Brobecker  <brobecker@adacore.com>
8383
8384         * gdb.base/completion.exp: Update expected output following
8385         the addition of the "info tasks" command.
8386
8387 2008-10-22  Tom Tromey  <tromey@redhat.com>
8388
8389         * gdb.base/exprs.exp (test_expr): Add test for string
8390         concatenation.
8391
8392 2008-10-19  Pedro Alves  <pedro@codesourcery.com>
8393
8394         * configure.ac: Output gdb.python/Makefile.
8395         * configure: Regenerate.
8396         * gdb.python/Makefile.in: New.
8397
8398 2008-10-16  Joel Brobecker  <brobecker@adacore.com>
8399
8400         * gdb.base/foll-fork.exp: Adjust the expected output to match
8401         the new description for fork/vfork catchpoints in the "info
8402         breakpoints" output.
8403
8404 2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8405
8406         * Makefile.in: Add gdb.python to ALL_SUBDIRS.
8407
8408 2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8409
8410         * gdb.python/python-value.c: New file.
8411         * gdb.python/python-value.exp: New file.
8412
8413 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
8414
8415         * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
8416
8417 2008-10-15  Denis Pilat  <denis.pilat@st.com>
8418
8419         * gdb.cp/mb-ctor.exp: Fix a typo.
8420
8421 2008-10-09  Tom Tromey  <tromey@redhat.com>
8422
8423         * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
8424         'fprintf' and 'stderr'.
8425
8426 2008-10-07  Joel Brobecker  <brobecker@adacore.com>
8427
8428         * gdb.ada/ref_tick_size.exp: New testcase.
8429
8430 2008-10-06  Doug Evans  <dje@google.com>
8431
8432         * gdb.dwarf2/dw2-cu-size.exp: New file.
8433         * gdb.dwarf2/dw2-cu-size.S: New file.
8434
8435         * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
8436         .Ltype_int for clarity.
8437
8438 2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8439
8440         PR gdb/2384:
8441         * gdb.cp/gdb2384.exp: Extended to test more cases.
8442         * gdb.cp/gdb2384.cc: Likewise.
8443         * gdb.cp/gdb2384-base.h: Likewise.
8444         * gdb.cp/gdb2384-base.cc: Likewise.
8445
8446 2008-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8447
8448         * gdb.base/maint.exp (maint print type): Remove printing
8449         UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
8450
8451 2008-09-30  Tom Tromey  <tromey@redhat.com>
8452
8453         * gdb.base/macscp.exp: Add completion tests.
8454         * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
8455         (TWENTY_THREE): Likewise.
8456         (FORTY_EIGHT): Likewise.
8457
8458 2008-09-30  Tom Tromey  <tromey@redhat.com>
8459
8460         * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
8461         everywhere.
8462         * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
8463
8464 2008-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8465
8466         * gdb.threads/attachstop-mt.exp: Note a real testcase name this
8467         testcase is derived from.  Fix racy dependency on an expected PID
8468         number.  No longer support the testcase on Linux kernel 2.4.x.
8469
8470 2008-09-27  Tom Tromey  <tromey@redhat.com>
8471
8472         * gdb.base/macscp.exp: Add tests for stringification, splicing,
8473         and varargs.
8474
8475 2008-09-22  Pedro Alves  <pedro@codesourcery.com>
8476
8477         * lib/mi-support.exp (mi_expect_interrupt): New.
8478         (mi_reverse_list, mi_check_thread_states): New, moved and renamed
8479         from gdb.mi/mi-nonstop.exp.
8480         * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
8481         * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
8482         lib/mi-support.exp.
8483         Use mi_check_thread_states throughout.  Avoid ".*" and do not
8484         require an anchor after -exec-run.
8485
8486 2008-09-13  Daniel Jacobowitz  <dan@codesourcery.com>
8487
8488         * gdb.mi/mi-nonstop.exp: Do not check thread state while a
8489         stop is pending.  Avoid ".*" when two stops are pending.
8490         * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
8491         (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
8492         newlines in fullnames.
8493         * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
8494         (mi_expect_stop): Update comments.  Only anchor in sync mode.
8495         Do not match newlines.
8496         (mi_send_resuming_command_raw): Always return status.
8497         (mi_get_stop_line): Do not match more than one line by accident.
8498         Only anchor in sync mode.
8499         (mi_run_inline_test): If -exec-next fails, give up.
8500
8501 2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8502
8503         * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
8504         on SPU.
8505
8506 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
8507
8508         * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
8509
8510 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
8511
8512         * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
8513         gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8514         gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
8515         gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8516         gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
8517         gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
8518         gdb.ada/interface.exp, gdb.ada/null_array.exp,
8519         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8520         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8521         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8522         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
8523         Include the "= " sequence in the expected output of print tests.
8524
8525 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
8526
8527         * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
8528         description for boolean types.
8529
8530 2008-09-09  Pedro Alves  <pedro@codesourcery.com>
8531
8532         * gdb.base/hook-stop-continue.c: New.
8533         * gdb.base/hook-stop-continue.exp: New.
8534
8535 2008-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
8536
8537         * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
8538
8539 2008-09-08  Jerome Guitton  <guitton@adacore.com>
8540
8541         * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
8542         (stack_check_probe_2, stack_check_probe_loop_1)
8543         (stack_check_probe_loop_2): New functions.
8544         (main): Add call to these new functions.
8545         * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
8546         functions, check that the breakpoint is inserted at the appropriate
8547         location.
8548         (insert_breakpoint): Slightly refine this procedure so that it can
8549         be called several times in the test.
8550
8551 2008-09-08  Jerome Guitton  <guitton@adacore.com>
8552
8553         * gdb.base/stack-checking.c: New file.
8554         * gdb.base/stack-checking.exp: New file.
8555
8556 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8557
8558         * gdb.arch/altivec-abi.exp: Remove extra verbose call.
8559         * gdb.arch/altivec-regs.exp: Likewise.
8560         * gdb.arch/vsx-regs.exp: Likewise.
8561
8562 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8563
8564         * gdb.arch/ppc-fp.exp: New file.
8565         * gdb.arch/ppc-fp.c: New file.
8566
8567 2008-09-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8568
8569         *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
8570         lest gcc-4.3.1 optimizes the whole thing away.
8571
8572 2008-09-04  Michael Snyder  <msnyder@vmware.com>
8573
8574         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
8575         as "at" (for non-debug functions such as _start).
8576
8577 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8578
8579         * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
8580         * gdb.base/watchpoint-solib.exp: Likewise.  Update tests to handle
8581         software watchpoints.
8582         * gdb.base/watch_thread_num.exp: Likewise.
8583
8584 2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
8585
8586         * gdb.arch/i386-bp_permanent.exp: New test.
8587
8588 2008-08-24  Tom Tromey  <tromey@redhat.com>
8589
8590         * gdb.base/maint.exp: Update "maint print type".
8591
8592 2008-08-21  Vladimir Prus  <vladimir@codesourcery.com>
8593
8594         * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
8595         support.  Adjust the order of "*running" notifications.
8596         * gdb.mi/non-stop.c: Don't cast from int to void* and
8597         back.
8598
8599 2008-08-20  Mark Kettenis  <kettenis@gnu.org>
8600
8601         * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
8602         expect to find it in the "info frame" output.
8603
8604 2008-08-20  Daniel Jacobowitz  <dan@codesourcery.com>
8605
8606         * gdb.base/interp.exp: Always consume both prompts.
8607
8608 2008-08-20  Pedro Alves  <pedro@codesourcery.com>
8609
8610         * gdb.base/pending.exp: Test pending breakpoints without symbols
8611         loaded.
8612
8613 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
8614
8615         * lib/mi-support.exp (mi_expect_stop): Produce
8616         more details on failures.
8617         * gdb.mi/mi-nonstop.exp: New.
8618         * gdb.mi/non-stop.c: New.
8619
8620 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
8621
8622         * gdb.mi/mi-async.exp: Use 'set target-async'.
8623         * lib/mi-support.exp: Use 'set/show target-async'.
8624
8625 2008-08-18  Daniel Jacobowitz  <dan@codesourcery.com>
8626
8627         * gdb.arch/powerpc-prologue.exp: Correct saved registers.
8628
8629 2008-08-17  Tom Tromey  <tromey@redhat.com>
8630
8631         * gdb.base/help.exp (help catch): Rewrite.
8632
8633 2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8634
8635         * gdb.base/define.exp: Test indented command documentation.
8636         * gdb.python/python.exp: Test indented multi-line command.
8637
8638 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
8639
8640         * testsuite/gdb.arch/vsx-regs.c: New source file.
8641         * testsuite/gdb.arch/vsx-regs.exp: New testcase.
8642         * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
8643
8644 2008-08-14  Tom Tromey  <tromey@redhat.com>
8645
8646         * gdb.base/macscp.exp: Add regression test for "macro define" or
8647         "macro undef" with no arguments.
8648
8649 2008-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8650
8651         * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
8652
8653 2008-08-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8654
8655         * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
8656
8657 2008-08-06  Tom Tromey  <tromey@redhat.com>
8658
8659         * gdb.python/python.exp: New file.
8660
8661 2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8662
8663         Fix for PR gdb/1543.
8664         * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
8665         $LOCATION.
8666         (location): New variable.
8667         * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
8668         config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
8669         config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
8670         config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
8671         gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
8672         gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
8673         gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
8674         gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
8675         gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
8676         gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
8677         gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
8678         gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
8679         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
8680         gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
8681         gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
8682         gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
8683         gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
8684         gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
8685         gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
8686         gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
8687         gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
8688         gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
8689         gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
8690         gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
8691         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
8692         gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
8693         gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
8694         gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
8695         gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
8696         gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
8697         gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
8698         gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
8699         gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
8700         gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
8701         gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
8702         gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
8703         gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
8704         gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
8705         gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
8706         gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
8707         gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
8708         gdb.base/type-opaque.exp, gdb.base/until.exp,
8709         gdb.base/value-double-free.c, gdb.base/varargs.exp,
8710         gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
8711         gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
8712         gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
8713         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
8714         gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
8715         gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
8716         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
8717         gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8718         gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
8719         gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
8720         gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
8721         gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
8722         gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
8723         gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
8724         gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
8725         gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
8726         gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
8727         gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
8728         gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
8729         gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
8730         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
8731         gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
8732         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
8733         gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
8734         gdb.pascal/types.exp, gdb.stabs/weird.exp,
8735         gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
8736         gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
8737         gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
8738         gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
8739         gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
8740         gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
8741         gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8742         gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8743         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8744         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8745         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8746         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
8747         lib/mi-support.exp, lib/trace-support.exp: Remove reference
8748         to bug-gdb@prep.ai.mit.edu .
8749
8750 2008-07-31  Vladimir Prus  <vladimir@codesourcery.com>
8751
8752         * lib/mi-support.exp (mi_load_shlibs): New.
8753         * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
8754
8755 2008-07-30  Vladimir Prus  <vladimir@codesourcery.com>
8756
8757         * lib/mi-support.exp (get_mi_thread_list)
8758         (check_mi_and_console_threads): New, moved from ...
8759         * gdb.mi/mi-pthread.exp: ...here.
8760         * gdb.mi/gdb669.exp (get_mi_thread_list)
8761         (check_mi_and_console_threads): Delete.
8762         * gdb.mi/mi2-pthread.exp: Likewise.
8763
8764 2008-07-28  Tom Tromey  <tromey@redhat.com>
8765
8766         * Makefile.in (just-check): Remove.  Move body to...
8767         (check): ... here.
8768
8769 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
8770
8771         * gdb.threads/manythreads.exp: Use remote_expect instead of after.
8772         Add a test for duplicated SIGINTs.
8773
8774 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
8775
8776         * gdb.threads/schedlock.exp (get_args): Update to work for any
8777         value of NUM.
8778         (Top level): Report the number of threads that did not resume.
8779
8780 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
8781
8782         * gdb.dwarf2/dw2-compressed.S: Also define __start.
8783
8784 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
8785
8786         * lib/mi-support.exp (default_mi_gdb_start): Remove check for
8787         non-MI prompt.
8788
8789 2008-07-26  Tom Tromey  <tromey@redhat.com>
8790
8791         * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
8792         (function_struct, function_struct_ptr): New globals.
8793         * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
8794         function pointer in a struct.
8795
8796 2008-07-26  Tom Tromey  <tromey@redhat.com>
8797
8798         * gdb.base/macscp.exp: Add test for macro lexing bug.
8799
8800 2008-07-18  Tom Tromey  <tromey@redhat.com>
8801
8802         * gdb.base/macscp.exp: Add macro tests.
8803
8804 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
8805
8806         * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
8807
8808 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
8809
8810         * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
8811
8812 2008-07-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8813
8814         * gdb.cp/class2.exp: fix for failure on spu-elf
8815
8816 2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8817
8818         * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
8819
8820 2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
8821
8822         * gdb.base/randomize.exp: Catch non-Linux targets as untested.
8823
8824 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
8825
8826         * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
8827
8828 2008-07-11  Kevin Buettner  <kevinb@redhat.com>
8829
8830         * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
8831         of regexp to account for changes made to GDB in the printing of
8832         byte vectors.
8833
8834 2008-07-11  Tom Tromey  <tromey@redhat.com>
8835
8836         * gdb.base/completion.exp: Add 'help' completion test.
8837
8838 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
8839
8840         * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
8841
8842 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
8843
8844         * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
8845
8846 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
8847
8848         * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
8849
8850 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
8851
8852         * gdb.base/fullname.exp: Restore pwd if compiling failed.
8853
8854 2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8855
8856         * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
8857
8858 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
8859
8860         * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
8861         previous commit.  Add a comment.
8862
8863 2008-06-28  Pedro Alves  <pedro@codesourcery.com>
8864
8865         * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
8866
8867 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
8868
8869         * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
8870
8871 2008-06-27  Pedro Alves  <pedro@codesourcery.com>
8872
8873         * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
8874         (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
8875         compiling an executable, link in an object that forces unbuffered
8876         output.
8877         * lib/set_unbuffered_mode.c: New file.
8878
8879 2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8880
8881         * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
8882
8883 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
8884
8885         * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
8886         mi_expect_stop.
8887         * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
8888         Demand that *running is output.
8889         (detect_async): Perform checking every time.
8890         (mi_send_resuming_command): Extract everything into...
8891         (mi_send_resuming_command_raw): ...this.
8892         (mi_expect_stop): Don't accept any output before *stopped.
8893
8894 2008-06-13  Vladimir Prus  <vladimir@codesourcery.com>
8895
8896         Robustify mi-simplerun.
8897         * gdb.mi/basics.c (main): Add a call to sleep.
8898         * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
8899         * gdb.mi/mi2-cli.exp: Likewise.
8900         * gdb.mi/mi-break.exp: Likewise.
8901
8902 2008-06-11  Vladimir Prus  <vladimir@codesourcery.com>
8903
8904         * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
8905
8906 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
8907
8908         * gdb.mi/mi-console.exp: Adjust.
8909         * gdb.mi/mi-syn-frame.exp: Adjust.
8910         * gdb.mi/mi2-console.exp: Adjust.
8911         * gdb.mi/mi2-syn-frame.exp: Adjust.
8912         * lib/mi-support.exp (mi_run_cmd): Adjust.
8913         (mi_send_resuming_command): Adjust.
8914
8915 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
8916
8917         * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
8918         * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
8919         testing of stopped.
8920         * gdb.mi/mi2-syn-frame.exp: Likewise.
8921         * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
8922         (async, detect_async): New.
8923         (mi_expect_stop, mi_continue_to_line): Adjust expectation
8924         depending on if we're running in sync or async mode.
8925
8926 2008-06-09  Tom Tromey  <tromey@redhat.com>
8927
8928         * gdb.base/completion.exp: New tests for field name completion
8929         with spaces, and field name completion with '->'.
8930
8931 2008-06-06  Tom Tromey  <tromey@redhat.com>
8932
8933         * gdb.base/break1.c (struct some_struct): New struct.
8934         (values): New global.
8935         * gdb.base/completion.exp: Add field name completion test.
8936
8937 2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8938
8939         * gdb.cp/call-c.exp: Test for incorrect handling of reference
8940         to pointer.
8941         * gdb.cp/call-c.cc: Likewise.
8942
8943 2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
8944
8945         * gdb.base/annota1.exp (thread_switch): Test for thread-changed
8946         annotation.
8947
8948 2008-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8949             Pedro Alves  <pedro@codesourcery.com>
8950
8951         * gdb.threads/execl.c, gdb.threads/execl1.c,
8952         gdb.threads/execl.exp: New tests.
8953
8954 2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
8955             Daniel Jacobowitz  <dan@codesourcery.com>
8956
8957         * gdb.cp/exception.exp: Activate test, make it work with pending
8958         catchpoints.
8959
8960 2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
8961
8962         * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
8963
8964 2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
8965
8966         * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
8967         now printed.
8968         * gdb.mi/mi2-var-cmd.exp: Likewise.
8969
8970 2008-05-27  Andreas Schwab  <schwab@suse.de>
8971
8972         * gdb.base/frame-args.exp: Handle arguments that are optimized
8973         out.
8974
8975 2008-05-26  Luis Machado  <luisgpm@br.ibm.com>
8976
8977         * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
8978         quiet for ppc32 and group options into a single variable.
8979
8980 2008-05-23  Joel Brobecker  <brobecker@adacore.com>
8981
8982         * gdb.ada/null_array/foo.adb: Add multi-dimensional array
8983         of zero-size elements.
8984         * gdb.ada/null_array.exp: Test printing this new array.
8985
8986 2008-05-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8987
8988         * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
8989
8990 2008-05-21  Joel Brobecker  <brobecker@adacore.com>
8991
8992         * gdb.base/finish.exp: Test that "fin" works as an abbreviation
8993         of the "finish" command.
8994
8995 2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
8996
8997         * gdb.base/annota1.exp: Test for new annotation.
8998
8999 2008-05-16  Pedro Alves  <pedro@codesourcery.com>
9000
9001         * gdb.base/fixsection.exp: New file.
9002         * gdb.base/fixsection0.c: New file.
9003         * gdb.base/fixsection1.c: New file.
9004
9005 2008-05-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9006
9007         * gdb.base/annota1.exp: Accept printf@... in place of printf.
9008         * gdb.base/annota3.exp: Likewise.
9009
9010 2008-05-13  Nathan Froyd  <froydnj@codesourcery.com>
9011
9012         * gdb.base/watch_thread_num.exp: Don't run tests that require
9013         watchpoints if the target doesn't support them.
9014
9015 2008-05-12  Doug Evans  <dje@google.com>
9016
9017         * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
9018
9019 2008-05-09  Joel Brobecker  <brobecker@adacore.com>
9020
9021         * gdb.ada/assign_1.exp: New testcase.
9022
9023 2008-05-09  Doug Evans  <dje@google.com>
9024
9025         * gdb.base/find.exp: New file.
9026         * gdb.base/find.c: New file.
9027
9028 2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
9029
9030         * gdb.base/commands.exp (watchpoint_command_test): Handle
9031         gdb,no_hardware_watchpoints.
9032         * gdb.base/float.exp: Allow ARM targets without floating point.
9033         * gdb.base/step-test.exp: Allow callee@plt when stepping in.
9034
9035 2008-05-06  Jerome Guitton  <guitton@adacore.com>
9036             Joel Brobecker  <brobecker@adacore.com>
9037
9038         * gdb.ada/lang_switch: New test program.
9039         * gdb.ada/lang_switch.exp: New testcase.
9040
9041 2008-05-05  Doug Evans  <dje@google.com>
9042
9043         * gdb.base/help.exp (disassemble): Update expected help text.
9044
9045 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
9046
9047         * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
9048
9049 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
9050
9051         * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
9052         different times.
9053
9054 2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
9055
9056         * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
9057         * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
9058         `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
9059         * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
9060
9061 2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
9062
9063         * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
9064         notification to appear.
9065
9066 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
9067
9068         * gdb.base/fullname.c: New file.
9069         * gdb.base/fullname.exp: New file.
9070         * lib/gdb.exp (gdb_breakpoint): Support no-message option.
9071
9072 2008-05-03  Pedro Alves  <pedro@codesourcery.com>
9073
9074         * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
9075         expressions with macros.
9076
9077 2008-05-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9078
9079         * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
9080
9081 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
9082
9083         * gdb.base/completion.exp: Handle lack of other symbols beginning
9084         with "a".
9085
9086         * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
9087
9088 2008-05-02  Jim Blandy  <jimb@codesourcery.com>
9089
9090         * gdb.asm/asmsrc1.s: Add scratch space.
9091
9092 2008-05-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9093             Daniel Jacobowitz  <dan@codesourcery.com>
9094
9095         * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
9096         gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
9097         gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
9098
9099 2007-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
9100
9101         * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
9102
9103 2008-05-01  Joel Brobecker  <brobecker@adacore.com>
9104
9105         * gdb.base/info-target.exp: New testcase.
9106
9107 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
9108
9109         * gdb.cp/hang.exp: Use .cc instead of .C.
9110         * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
9111         * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
9112
9113 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
9114
9115         * gdb.base/gdb1250.exp: Remove perror.
9116         * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
9117
9118 2008-04-30  Pedro Alves  <pedro@codesourcery.com>
9119
9120         * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
9121         .2byte.
9122
9123 2008-04-25  Daniel Jacobowitz  <dan@codesourcery.com>
9124
9125         * gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
9126         (maybe_kfail): New.
9127
9128 2008-04-25  Pedro Alves  <pedro@codesourcery.com>
9129
9130         * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
9131
9132 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9133
9134         * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
9135         * gdb.mi/mi2-syn-frame.exp: Likewise.
9136         * lib/mi-support.exp: Likewise.
9137
9138 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9139
9140         * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
9141         to specify regexp for the location to stop at.
9142         * gdb.base/break-always.c: New.
9143         * gdb.base/break-always.exp: New.
9144
9145 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9146
9147         * lib/mi-support.exp (mi_runto_helper): Adjust
9148         for the original-location field.
9149         (mi_create_breakpoint, mi_list_breakpoints): New.
9150         * gdb.mi/mi-break.exp: Adjust.
9151         * gdb.mi/mi2-break.exp: Adjust.
9152         * gdb.mi/mi-pending.exp: Adjust.
9153         * gdb.mi/mi-simplerun.exp: Adjust.
9154         * gdb.mi/mi2-simplerun.exp: Adjust.
9155         * gdb.mi/mi-syn-frame.exp: Adjust.
9156         * gdb.mi/mi2-syn-frame.exp: Adjust.
9157         * gdb.mi/mi-until.exp: Adjust.
9158         * gdb.mi/mi2-until.exp: Adjust.
9159         * gdb.mi/mi-var-display.exp: Adjust.
9160         * gdb.mi/mi2-var-display.exp: Adjust.
9161         * gdb.mi/mi-watch.exp: Adjust.
9162         * gdb.mi/mi2-watch.exp: Adjust.
9163
9164 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
9165
9166         * aclocal.m4: Add override.m4.
9167         * configure: Regenerate.
9168
9169 2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
9170
9171         * gdb.mi/var-cmd.c (do_at_tests): Verify that
9172         '-var-update --all-values' reports new value even the type
9173         of a variable object has changed.
9174
9175 2008-04-18  Craig Silverstein  <csilvers@google.com>
9176
9177         * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
9178         files.
9179
9180 2008-04-18  Joel Brobecker  <brobecker@adacore.com>
9181
9182         * gdb.ada/atomic_enum: New test program.
9183         * gdb.ada/atomic_enum.exp: New testcase.
9184
9185 2008-04-17  Doug Evans  <dje@google.com>
9186
9187         * gdb.opt/Makefile.in: Fix whitespace.
9188
9189 2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
9190
9191         * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
9192
9193 2008-04-17  Doug Evans  <dje@google.com>
9194
9195         * gdb.base/hashline1.exp: New testcase.
9196         * gdb.base/hashline2.exp: New testcase.
9197         * gdb.base/hashline2.exp: New testcase.
9198
9199 2008-04-17  Pedro Alves  <pedro@codesourcery.com>
9200
9201         * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
9202
9203 2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
9204
9205         * gdb.base/attach.exp (do_attach_tests): Matching pattern for
9206         temporary breakpoint to match "Temporary breakpoint".
9207         * gdb.base/break.exp (delete_breakpoints): Likewise.
9208         * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
9209         * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
9210         * gdb.base/display.exp: Likewise.
9211         * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
9212         * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
9213         * gdb.base/restore.exp (restore_tests): Likewise.
9214         * gdb.base/sepdebug.exp: Likewise.
9215         * gdb.base/watchpoint.exp: Likewise.
9216         * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
9217         * gdb.mi/mi-pending.exp: Likewise.
9218         * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
9219         * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
9220         * gdb.mi/mi-var-cmd.exp: Likewise.
9221         * gdb.mi/mi-var-display.exp: Likewise.
9222         * gdb.mi/mi2-cli.exp: Likewise.
9223         * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
9224         * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
9225         * gdb.mi/mi2-var-display.exp: Likewise.
9226         * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
9227         * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
9228         new "disp" field.
9229         (mi_expect_stop): Move after_reason argument to be really after
9230         reason. This is to support fix for PR2424.
9231
9232 2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9233
9234         * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9235
9236 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
9237
9238         * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
9239         field.  Add more floating varobj tests.
9240         * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
9241         field.
9242         * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9243         (main): Call do_at_tests.
9244         * lib/mi-support.exp (mi_create_floating_varobj)
9245         (mi_varobj_update_with_type_change): New.
9246
9247 2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
9248
9249         * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9250         option of -var-evaluate-expression.
9251         * gdb.mi/mi2-var-display.exp: Likewise.
9252
9253 2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
9254
9255         Introduce test setup helpers.
9256         * lib/gdb.exp (build_executable, clean_restart)
9257         (prepare_for_testing): New.
9258         * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9259         * gdb.base/return.exp: Likewise.
9260         * gdb.base/ending-run.exp: Likewise.
9261
9262 2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
9263
9264         * gdb.mi/mi-async.exp: New test for asynchronous Machine
9265         Interface (MI) responses.
9266
9267 2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
9268
9269         * gdb.cp/breakpoint.cc: New code to test conditions involving
9270         member variables.
9271         * gdb.cp/breakpoint.exp: Test condition involving member
9272         variables.
9273
9274 2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
9275
9276         * lib/mi-support.exp (mi_expect_stop): New.
9277         (mi_run_cmd): Change the
9278         token.  Use mi_send_resuming_command, use
9279         mi_expect_stop.
9280         (mi_execute_to_helper): Rename to mi_execute_to.
9281         (mi_send_resuming_command): Add more error patterns.
9282         (mi_wait_for_stop): Renamed to...
9283         (mi_get_stop_line): ...this.
9284         (mi_run_inline_test): Adjust.
9285
9286         * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
9287         * gdb.mi/mi-console.exp: Likewise.
9288         * gdb.mi/mi-pending.exp: Likewise.
9289         * gdb.mi/mi-simplerun.exp: Likewise.
9290         * gdb.mi/mi-stack.exp: Likewise.
9291         * gdb.mi/mi-stepi.exp: Likewise.
9292         * gdb.mi/mi-syn-frame.exp: Add comment.
9293         * gdb.mi/mi-until.exp: Likewise.
9294         * gdb.mi/mi-var-display.exp: Likewise.
9295         * gdb.mi/mi-watch.exp: Likewise.
9296         * gdb.mi/mi2-cli.exp: Likewise.
9297         * gdb.mi/mi2-console.exp: Likewise.
9298         * gdb.mi/mi2-simplerun.exp: Likewise.
9299         * gdb.mi/mi2-stack.exp: Likewise.
9300         * gdb.mi/mi2-stepi.exp: Likewise.
9301         * gdb.mi/mi2-until.exp: Likewise.
9302         * gdb.mi/mi2-var-display.exp: Likewise.
9303         * gdb.mi/mi2-watch.exp: Likewise.
9304
9305 2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9306
9307         * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
9308
9309         * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
9310
9311 2008-04-04  Pedro Alves  <pedro@codesourcery.com>
9312
9313         * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
9314         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
9315         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9316         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
9317         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
9318         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
9319         expect an mi error duplicated in stderr.
9320
9321 2008-04-03  Joel Brobecker  <brobecker@adacore.com>
9322
9323         * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
9324         * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
9325         Add a couple of tests that verify the behavior when the new setting
9326         is set to "cancel" and "all".
9327         * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
9328         "ask" before we start the testing.
9329
9330 2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
9331
9332         * gdb.cp/casts.cc: Add class reference variables.
9333         * gdb.cp/casts.exp: New test cases for up/down casting references.
9334
9335 2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
9336
9337         * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
9338         instead of beginning to make an extra test pass.
9339         * gdb.mi/mi2-var-display.exp: Likewise.
9340
9341 2008-03-31  Maciej W. Rozycki  <macro@mips.com>
9342
9343         * gdb.base/break.exp: Mark failures as such.  Fix formatting.
9344
9345 2008-03-31  Markus Deuling  <deuling@de.ibm.com>
9346             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9347
9348         * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
9349         value.  Add xfail for older kernels.
9350
9351 2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
9352
9353         Bring mi-support in line with gdb.exp.
9354         * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
9355         (mi_gdb_start): New function.
9356
9357 2008-03-28  Maciej W. Rozycki  <macro@mips.com>
9358
9359         * gdb.mi/mi-var-cmd.exp: Fix a typo.
9360
9361 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
9362
9363         * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
9364         * gdb.mi/mi2-var-display.exp: Likewise.
9365
9366 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
9367
9368         * lib/mi-support.exp (mi_create_varobj_checked): New.
9369         (mi_list_varobj_children): Allow to check for a
9370         value.
9371         (mi_list_array_varobj_children): New.
9372
9373         * gdb.mi/mi-var-child.exp: Use mi_create_varobj
9374         and mi_list_varobj_children, as opposed to hardcoding
9375         expected strings.
9376         * gdb.mi/gdb701.exp: Likewise.
9377         * gdb.mi/gdb792.exp: Likewise.
9378         * gdb.mi/mi-var-block.exp: Likewise.
9379         * gdb.mi/mi-var-cmd.exp: Likewise.
9380         * gdb.mi/mi-var-invalidate.exp: Likewise.
9381         * gdb.mi/mi2-var-block.exp: Likewise.
9382         * gdb.mi/mi2-var-child.exp: Likewise.
9383         * gdb.mi/mi2-var-cmd.exp: Likewise.
9384         * gdb.mi/mi2-var-display.exp: Likewise.
9385
9386 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
9387
9388         Fix random false FAILs on i386.
9389         * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
9390
9391 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
9392
9393         PR gdb/544
9394         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
9395
9396 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
9397
9398         PR gdb/544
9399         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
9400
9401 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
9402
9403         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
9404         fixed PR gdb/544.
9405
9406 2008-03-21  Pedro Alves  <pedro@codesourcery.com>
9407
9408         * gdb.threads/fork-child-threads.exp: Test next over fork.
9409
9410 2008-03-21  Chris Demetriou  <cgd@google.com>
9411
9412         * gdb.base/break.exp (rbreak junk): New test for rbreak
9413         "Junk at end of arguments" issue.
9414
9415 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
9416
9417         * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
9418         *& to work on created array elements.
9419         (Top level): Test print $pc with a file.  Test string operations
9420         without a target.
9421         * gdb.base/ptype.exp: Do not expect *& to work on created array
9422         elements.
9423
9424 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
9425
9426         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
9427         gdb.threads/staticthreads.exp: Update exit query.
9428
9429 2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
9430
9431         * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
9432
9433 2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
9434
9435         * gdb.base/watchpoint.c (global_ptr, func4): New.
9436         (main): Call func4.
9437         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
9438         (test_inaccessible_watchpoint): New.
9439
9440 2008-02-29  Maciej W. Rozycki  <macro@mips.com>
9441
9442         * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
9443         select the largest.
9444
9445 2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
9446
9447         * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
9448         frames-invalid annotations.
9449
9450 2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
9451
9452         * gdb.base/assign.exp: avoid same output for different tests.
9453
9454 2008-02-27  Doug Evans  <dje@google.com>
9455
9456         * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
9457         for bug 1738.
9458         (breakpoint_to_handler_entry): Ditto.
9459
9460 2008-02-27  Joel Brobecker  <brobecker@adacore.com>
9461
9462         * gdb.base/ending-run.exp: Use the first line of code inside
9463         function body to test breakpoints.
9464         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
9465         location where the breakpoint is inserted when using the line
9466         where a function is declared. Fix typo in the description of
9467         one of the tests.
9468         * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
9469
9470 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
9471
9472         * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
9473         tests.
9474
9475 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
9476
9477         * gdb.base/args.exp: avoid same output for tests
9478         with single quotes.
9479
9480 2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
9481
9482         * gdb.base/annota1.exp: Adjust for 'info break'
9483         format changes.
9484         * gdb.base/annota3.exp: Likewise.
9485         * gdb.base/break.exp: Likewise.
9486         * gdb.base/condbreak.exp: Likewise.
9487         * gdb.base/pending.exp: Likewise.
9488         * gdb.base/sepdebug.exp: Likewise.
9489         * gdb.base/unload.exp: Likewise.
9490         * gdb.cp/ovldbreak.exp: Likewise.
9491         * gdb.mi/mi-pending.exp: Likewise.
9492
9493 2008-02-07  Doug Evans  <dje@google.com>
9494
9495         * gdb.cp/mb-inline.exp: New.
9496         * gdb.cp/mb-inline.h: New.
9497         * gdb.cp/mb-inline1.cc: New.
9498         * gdb.cp/mb-inline2.cc: New.
9499
9500 2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
9501
9502         * gdb.pascal/floats.pas: New test program.
9503         * gdb.pascal/floats.exp: New testcase.
9504
9505 2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9506
9507         * gdb.base/callfuncs.c (t_float_many_args): New function.
9508         (t_double_many_args): New function.
9509         * gdb.base/callfuncs.exp: Add tests for exceeding float
9510         and double parameters passed through the stack.
9511
9512 2008-02-05  Joel Brobecker  <brobecker@adacore.com>
9513
9514         * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
9515         gdb.ada/complete/foo.adb: New files.
9516         * gdb.ada/complete.exp: New testcase.
9517
9518 2008-02-03  Doug Evans  <dje@google.com>
9519
9520         * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
9521
9522         * gdb.cp/gdb2384.exp: New file.
9523         * gdb.cp/gdb2384.cc: New file.
9524         * gdb.cp/gdb2384-base.h: New file.
9525         * gdb.cp/gdb2384-base.cc: New file.
9526
9527 2008-02-02  Doug Evans  <dje@google.com>
9528
9529         * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
9530
9531 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
9532
9533         * gdb.ada/sym_print_name: New test program.
9534         * gdb.ada/sym_print_name.exp: New testcase.
9535
9536 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
9537
9538         * gdb.ada/nested/hello.adb: New file.
9539         * gdb.ada/nested.exp: New testcase.
9540         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9541
9542 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
9543
9544         * gdb.mi/basic.c (return_1): New function.
9545         * gdb.mi/mi-break.exp: Make sure that failed -break-insert
9546         don't cause future evaluations of function to report
9547         creation of internal breakpoints.
9548
9549 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
9550
9551         * gdb.mi/mi-break.exp (test_error): New.
9552         Call it.
9553
9554 2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
9555
9556         * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
9557         * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
9558
9559 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
9560
9561         * gdb.pascal/integers.pas: New test program.
9562         * gdb.pascal/integers.exp: New testcase.
9563
9564 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
9565
9566         * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
9567
9568 2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
9569
9570         * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
9571         * gdb.arch/powerpc-d128-regs.c: New testcase source file.
9572
9573 2008-01-30  Paul Hilfinger  <hilfinger@adacore.com>
9574
9575         * gdb.ada/formatted_ref: New test program.
9576         * gdb.ada/formatted_ref.exp: New testcase.
9577
9578         * gdb.cp/formatted-ref.cc: New file.
9579         * gdb.cp/formatted-ref.exp: New testcase.
9580
9581 2008-01-30  Joel Brobecker  <brobecker@adacore.com>
9582
9583         * gdb.base/ptype.exp: Add testing of "ptype $pc".
9584
9585 2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
9586
9587         * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
9588         (test_file_list_exec_source_file): Update to new macro-info field.
9589
9590 2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
9591
9592         * gdb.ada/exprs: New test program.
9593         * gdb.ada/exprs.exp: New testcase.
9594
9595 2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9596
9597         * dfp-test.c (DELTA, DELTA_B): New definitions.
9598         (double_val1, double_val2, double_val3, double_val4, double_val5,
9599         double_val6, double_val7, double_val8, double_val9, double_val10,
9600         double_val11, double_val12, double_val13, double_val14, dec32_val1,
9601         dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
9602         dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
9603         dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
9604         dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
9605         dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
9606         dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
9607         dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
9608         dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
9609         dec128_val12, dec128_val13, dec128_val14, dec128_val15,
9610         dec128_val16): New global variables.
9611         (decimal_dec128_align): New function.
9612         (decimal_mixed): Likewise.
9613         (decimal_many_args_dec32): Likewise.
9614         (decimal_many_args_dec64): Likewise.
9615         (decimal_many_args_dec128): Likewise.
9616         (decimal_many_args_mixed): Likewise.
9617         * dfp-test.exp: Add tests calling new inferior functions.
9618
9619 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
9620
9621         * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
9622         gdb.server/ext-run.exp: New files.
9623         * lib/gdbserver-support.exp (gdbserver_download): New.
9624         (gdbserver_start): New.  Update gdbserver expected
9625         output.
9626         (gdbserver_spawn): Use them.
9627         (gdbserver_start_extended): New.
9628
9629 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
9630
9631         * gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
9632         Run on GNU/Linux.
9633         (do_exec_tests): Check for systems which do not support catchpoints.
9634         Do not match START.
9635         * gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
9636         Run on GNU/Linux.  Enable verbose output.
9637         (check_fork_catchpoints): New.
9638         (explicit_fork_child_follow, catch_fork_child_follow)
9639         (tcatch_fork_parent_follow): Update expected messages.
9640         (do_fork_tests): Use check_fork_catchpoints.
9641         * gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
9642         Run on GNU/Linux.  Enable verbose output.
9643         (check_vfork_catchpoints): New.
9644         (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
9645         expected messages.
9646         (do_vfork_and_exec_tests): Use check_fork_catchpoints.
9647
9648 2008-01-29  Jim Blandy  <jimb@red-bean.com>
9649
9650         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
9651         host' errors.
9652         * lib/mi-support.exp (mi_gdb_target_cmd): Same.
9653
9654 2008-01-29  Jim Blandy  <jimb@red-bean.com>
9655
9656         * gdb.threads/sigthread.c: Use barriers to ensure that
9657         child_thread and child_thread_two are always initialized before we
9658         start to use them.
9659
9660 2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
9661
9662         * gdb.base/watchpoint-solib.exp: New.
9663         * gdb.base/watchpoint-solib.c: New.
9664         * gdb.base/watchpoint-solib-shr.c: New.
9665
9666 2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
9667
9668         * gdb.base/gdb1056.exp: Add unsigned integer test.
9669
9670 2008-01-28  Doug Evans  <dje@google.com>
9671
9672         * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
9673
9674 2008-01-27  Jim Blandy  <jimb@codesourcery.com>
9675
9676         * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
9677
9678         * gdb.base/expand-psymtabs.exp: Doc fix.
9679
9680 2008-01-26  Mark Kettenis  <kettenis@gnu.org>
9681
9682         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9683
9684 2008-01-24  Nick Roberts  <nickrob@snap.net.nz>
9685
9686         * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
9687         -var-set-format.
9688
9689 2008-01-23  Chris Demetriou  <cgd@google.com>
9690
9691         * gdb.threads/thread_events.c: New testcase source file.
9692         * gdb.threads/thread_events.exp: New testcase expect file.
9693
9694 2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
9695
9696         * lib/gdb.exp: Add the variable octal.
9697
9698         * gdb.mi/mi-var-display.exp: Add value field to tests for output of
9699         -var-set-format.
9700
9701 2008-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
9702             Vladimir Prus  <vladimir@codesourcery.com>
9703
9704         * gdb.base/float.exp: Allow missing floating point for m68k and
9705         PowerPC.
9706
9707 2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
9708
9709         * gdb.mi/basics.c: Setup for testing breakpoints
9710         ignore count.
9711         * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
9712         * gdb.mi/mi-cli.exp: Adjust.
9713         * gdb.mi/mi2-cli.exp: Adjust.
9714
9715 2008-01-17  Pedro Alves  <pedro@codesourcery.com>
9716
9717         * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
9718         and 'dummy_ptr' integer pointer.  Initialize struct_declarations
9719         with dummy_ptr's address.
9720         * gdb.mi/var-cmd.c (do_children_tests): Likewise.
9721         * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
9722         all targets.
9723         * gdb.mi/mi2-var-child.exp: Likewise.
9724
9725 2008-01-09  Joel Brobecker  <brobecker@adacore.com>
9726
9727         * gdb.ada/null_array: New test program.
9728         * gdb.ada/null_array.exp: New testcase.
9729
9730 2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
9731
9732         * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
9733         with required float modifiers.
9734
9735 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
9736
9737         * gdb.ada/funcall_param: New test program.
9738         * gdb.ada/funcall_param.exp: New testcase.
9739
9740 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
9741
9742         * gdb.ada/arrayparam: New test program.
9743         * gdb.ada/arrayparam.exp: New testcase.
9744
9745 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
9746
9747         * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
9748         landed.  Should also fix random failures in the test following it.
9749
9750 2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9751
9752         * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
9753         for expressions with decimal float values.
9754         (test_dfp_conversions): New function to test casts to and from
9755         decimal float types.
9756         Call test_dfp_conversions.
9757         * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
9758         elements.
9759         (main): Initialize ds.float4 and ds.double8 elements.
9760         * gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
9761         string to new error message.
9762         (d64_set_tests): Likewise.
9763         (d128_set_tests): Likewise.
9764         Add tests for expressions with decimal float variables.  Add tests for
9765         conversions to and from decimal float types.
9766
9767 2008-01-05  Joel Brobecker  <brobecker@adacore.com>
9768
9769         * gdb.ada/packed_tagged/comp_bug.adb: New file.
9770         * gdb.ada/packed_tagged.exp: New testcase.
9771
9772 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
9773
9774         * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
9775         gdb.ada/homonym/homonym_main.adb: New files.
9776         * gdb.ada/homonym.exp: New testcase.
9777
9778 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
9779
9780         * gdb.ada/packed_array.exp: Add testing of references to
9781         a packed array.
9782
9783 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
9784
9785         * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
9786         New files.
9787         * gdb.ada/type_coercion.exp: New testcase.
9788
9789 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
9790
9791         * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
9792         gdb.ada/tagged/foo.adb: New file.
9793         * gdb.ada/tagged.exp: New testcase.
9794
9795 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
9796
9797         * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
9798         gdb.ada/ptype_field/foo.adb: New files.
9799         * gdb.ada/ptype_field.exp: New testcase.
9800
9801 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
9802
9803         * gdb.ada/print_pc.exp: New testcase.
9804
9805 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
9806
9807         * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
9808         gdb.ada/taft_type/p.adb: New files.
9809         * gdb.ada/taft_type.exp: New testcase.
9810
9811 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
9812
9813         * gdb.ada/array_bounds/bar.adb: New file.
9814         * gdb.ada/array_bounds.exp: New testcase.
9815
9816 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
9817
9818         * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
9819         gdb.ada/arrayptr/foo.adb: New files.
9820         * gdb.ada/arrayptr.exp: New testcase.
9821
9822 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
9823
9824         * gdb.base/set-lang-auto.exp: New testcase.
9825
9826 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
9827
9828         * gdb.ada/fun_addr/foo.adb: New file.
9829         * gdb.ada/fun_addr.exp: New testcase.
9830
9831 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9832
9833         * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
9834         New files
9835
9836 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
9837
9838         * array_subscript_addr/p.adb: New file.
9839         * array_subscript_addr.exp: New testcase.
9840
9841 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
9842
9843         * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
9844         New files.
9845         * gdb.ada/str_cmp_ref.exp: New testcase.
9846
9847 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
9848
9849         * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
9850         gdb.ada/fun_in_declare/foo.adb: New files.
9851         * gdb.ada/fun_in_declare.exp: New testcase.
9852
9853 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
9854
9855         * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
9856         gdb.ada/ref_param/pck.ads: New files.
9857         * gdb.ada/ref_param.exp: New testcase.
9858
9859 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
9860
9861         * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
9862         gdb.ada/interface/foo.adb: New files.
9863         * gdb.ada/interface.exp: New testcase.
9864
9865 2007-12-31  Jim Blandy  <jimb@codesourcery.com>
9866
9867         * gdb.base/multi-forks.exp: Consume all output from child
9868         processes before proceeding to next test.
9869
9870 2007-12-29  Jim Blandy  <jimb@codesourcery.com>
9871
9872         * configure: Regenerated.
9873
9874 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
9875
9876         * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
9877         gdb.ada/fixed_cmp/fixed.adb: New files.
9878         * gdb.ada/fixed_cmp.exp: New testcase.
9879
9880 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
9881
9882         * gdb.ada/boolean_expr.exp: New testcase.
9883
9884 2007-12-26  Jim Blandy  <jimb@codesourcery.com>
9885
9886         * gdb.base/multi-forks.exp: Doc fix.
9887
9888 2007-12-26  Joel Brobecker  <brobecker@adacore.com>
9889
9890         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9891         * gdb.ada/char_param.exp: Do not compile our test program with
9892         -gnata, this is unnecessary.
9893         * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
9894
9895 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
9896
9897         * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
9898         gdb.ada/print_chars/foo.adb: New files.
9899         * gdb.ada/print_chars.exp: New testcase.
9900
9901 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
9902
9903         * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
9904         gdb.ada/char_param/foo.adb: New files.
9905         * gdb.ada/char_param.exp: New testcase.
9906
9907 2007-12-22  Jim Blandy  <jimb@codesourcery.com>
9908
9909         * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
9910         hard-coding source line numbers into the test.
9911         * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
9912         gdb_get_line_number to find.
9913
9914 2007-12-22  Joel Brobecker  <brobecker@adacore.com>
9915
9916         * gdb.base/ptype.c (highest): New struct type.
9917         (the_highest): New variable of that type.
9918         (main): Add dummy assignment to a field of variable the_highest.
9919         * gdb.base/ptype.exp: Test type printing of our new variable.
9920
9921 2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>
9922
9923         * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
9924         and record first explicitly generated thread number.
9925         Use that thread number for thread specific watchpoint test.
9926         Add iteration number to repetitive tests.
9927
9928 2007-12-16  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9929             Jim Blandy  <jimb@codesourcery.com>
9930
9931         * gdb.base/expand-psymtabs.c: New testcase
9932         source file.
9933         * gdb.base/expand-psymtabs.exp: New testcase
9934         expect file.
9935
9936 2007-12-17  Luis Machado  <luisgpm@br.ibm.com>
9937
9938         * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
9939         * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
9940
9941 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
9942
9943         * gdb.ada/frame_args/foo.adb: New file.
9944         * gdb.ada/frame_args/pck.ads: New file.
9945         * gdb.ada/frame_args/pck.adb: New file.
9946         * gdb.ada/frame_args.exp: New testcase.
9947
9948 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
9949
9950         * gdb.base/frame-args.c: New file.
9951         * gdb.base/frame-args.exp: New testcase.
9952
9953 2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
9954             Joseph Myers  <joseph@codesourcery.com>
9955
9956         * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
9957
9958 2007-12-14  Vladimir Prus  <vladimir@codesourcery.com>
9959
9960         * gdb.mi/mi-pending.exp: New.
9961         * gdb.mi/mi-pending.c: New.
9962         * gdb.mi/mi-pendshr.c: New.
9963
9964 2007-12-06  Jim Blandy  <jimb@codesourcery.com>
9965
9966         * gdb.base/default.exp: Update expected output for 'info catch'.
9967
9968 2007-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9969
9970         * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
9971         must be set to binary.
9972
9973 2007-12-09  Pedro Alves  <pedro_alves@portugalmail.pt>
9974
9975         * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
9976
9977 2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
9978
9979         * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
9980         gdb.mi/mi-file-transfer.exp: New.
9981
9982 2007-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9983
9984         * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
9985
9986 2007-11-22  Maciej W. Rozycki  <macro@mips.com>
9987
9988         * gdb.trace/backtrace.exp: Fix a typo.
9989         * gdb.trace/circ.exp: Likewise.
9990         * gdb.trace/collection.exp: Likewise.
9991         * gdb.trace/limits.exp: Likewise.
9992         * gdb.trace/report.exp: Likewise.
9993         * gdb.trace/tfind.exp: Likewise.
9994         * gdb.trace/while-dyn.exp: Likewise.
9995
9996 2007-11-21  Nick Roberts  <nickrob@snap.net.nz>
9997
9998         * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
9999         objects of pointers that can't be dereferenced are now
10000         "noneditable".
10001
10002 2007-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10003
10004         * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10005         (target_cpu): Remove.
10006
10007 2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
10008
10009         * gdb.base/ending-run.exp: Expect the list of cleared
10010         breakpoint to come in natural order, not the reversed one.
10011
10012 2007-11-07  Vladimir Prus  <vladimir@codesourcery.com>
10013
10014         * gdb.mi/mi-var-child.c (do_child_deletion): New.
10015         * gdb.mi/mi-var-child.exp: Run child_deletion tests.
10016
10017 2007-11-05  Luis Machado  <luisgpm@br.ibm.com>
10018
10019         * gdb.base/printcmds.exp: New function
10020         test_printf_with_dfp.
10021
10022 2007-11-02  Doug Evans  <dje@google.com>
10023
10024         * gdb.disasm/t01_mov.s: Remove carriage returns.
10025         * gdb.disasm/t02_mova.s: Ditto.
10026         * gdb.disasm/t03_add.s: Ditto.
10027         * gdb.disasm/t04_sub.s: Ditto.
10028         * gdb.disasm/t05_cmp.s: Ditto.
10029         * gdb.disasm/t06_ari2.s: Ditto.
10030         * gdb.disasm/t07_ari3.s: Ditto.
10031         * gdb.disasm/t08_or.s: Ditto.
10032         * gdb.disasm/t09_xor.s: Ditto.
10033         * gdb.disasm/t10_and.s: Ditto.
10034         * gdb.disasm/t11_logs.s: Ditto.
10035         * gdb.disasm/t12_bit.s: Ditto.
10036         * gdb.disasm/t13_otr.s: Ditto.
10037
10038 2007-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10039
10040         * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
10041
10042 2007-10-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10043
10044         * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
10045         provide DFP support.
10046
10047 2007-10-30  Daniel Jacobowitz  <dan@codesourcery.com>
10048
10049         * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
10050         Test "set powerpc vector-abi".  Skip auto-detection tests for old
10051         toolchains.
10052
10053 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
10054
10055         * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
10056         with [string compare].
10057
10058 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
10059
10060         * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
10061         * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
10062
10063 2007-10-25  Luis Machado  <luisgpm@br.ibm.com>
10064
10065         * gdb.opt/clobbered-registers-O2.c: New testcase source file.
10066         * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
10067         * gdb.opt/Makefile.in: New makefile.
10068         * Makefile.in: Create new directory "gdb.opt".
10069         * configure.ac: Add "gdb.opt" directory.
10070         * configure: Regenerated.
10071
10072 2007-10-25  Doug Evans  <dje@google.com>
10073
10074         * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
10075         * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
10076
10077 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
10078             Thiago Jung Bauermann  <bauerman@br.ibm.com>
10079
10080         * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
10081         Floating Point expressions.
10082         * gdb.base/dfp-test.exp: new file adding tests for Decimal
10083         Floating Point variables.
10084         * gdb.base/dfp-test.c: new file containing program with Decimal
10085         Floating variables, used by gdb.base/dfp-test.exp.
10086
10087 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
10088
10089         * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
10090
10091 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10092
10093         * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
10094         compiling test case with GCC.
10095         * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
10096
10097 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10098
10099         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10100         format changes.
10101
10102 2007-10-18  Michael Snyder  <msnyder@specifix.com>
10103
10104         * gdb.base/dbx.exp: Add missing "-re " operator.
10105
10106 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
10107
10108         * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
10109         * configure.ac: Removed trailing spaces after backslash.
10110         * gdb.modula2: New directory.
10111         * gdb.modula2/Makefile.in: New file.
10112         * gdb.modula2/unbounded-array.exp: New file.
10113         * gdb.modula2/unbounded1.c: New file.
10114
10115 2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
10116
10117         * gdb.xml/tdesc-regs.exp: Add PowerPC support.
10118
10119 2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
10120
10121         * gdb.base/sigstep.c (main): Add checks for
10122         return values for setitimer call.
10123         Call setitimer again with itimer = ITIMER_REAL
10124         if first call to setitimer fails.
10125
10126 2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
10127
10128         * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
10129         of $timeout.
10130
10131 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
10132
10133         * gdb.server/server-run.exp: Test for dynamic linker symbols.
10134
10135 2007-10-09  Pierre Muller  <muller@ics.u-strasbg.fr>
10136
10137         * lib/gdb.exp (gdb_run_cmd): Move comment outside
10138         of gdb_expect call, to avoid interruption.
10139
10140 2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>
10141
10142         * gdb.base/whatis.c (v_long_long, v_signed_long_long)
10143         (v_unsigned_long_long, v_long_long_array)
10144         (v_signed_long_long_array, v_unsigned_long_long_array)
10145         (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
10146         (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
10147         [!NO_LONG_LONG]: New.
10148         (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
10149         v_long_long_member.
10150
10151         (v_long_long_func, v_signed_long_long_func)
10152         (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
10153         (main) [!NO_LONG_LONG]: Initialize long long variants.
10154
10155         * gdb.base/whatis.exp: If board file requests no_long_long, build
10156         test with NO_LONG_LONG defined.  Test long long, signed long long,
10157         and unsigned long long variants but only if board file doesn't
10158         disable it.
10159
10160 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
10161             Daniel Jacobowitz  <dan@codesourcery.com>
10162
10163         * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
10164         * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
10165         * configure: Regenerated.
10166         * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
10167         gdb.pascal/types.exp, lib/pascal.exp: New files.
10168
10169 2007-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
10170
10171         * gdb.cp/classes.exp (do_tests): Always step to the line after the
10172         call.
10173         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
10174         to return to the call.
10175         * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
10176         * gdb.mi/mi-return.exp (test_return_simple): Likewise.
10177         * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
10178         * gdb.mi/mi-until.exp (test_until): Likewise.
10179         * gdb.mi/mi2-until.exp (test_until): Likewise.
10180
10181 2007-10-01  Daniel Jacobowitz  <dan@codesourcery.com>
10182
10183         * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
10184         two-char array.
10185         * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
10186
10187 2007-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
10188
10189         * gdb.threads/watchthreads.c (thread_function): Sleep between
10190         iterations.
10191         * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
10192         at once for S/390.  Generate matching fails and passes.
10193
10194 2007-09-27  Vladimir Prus  <vladimir@codesourcery.com>
10195
10196         * gdb.mi/var-cmd.c (do_children_tests): Initialize
10197         the 'struct_declarations' variable to zeros.
10198
10199 2007-09-24  Vladimir Prus  <vladimir@codesourcery.com>
10200
10201         * gdb.cp/mb-ctor.cc: New.
10202         * gdb.cp/mb-ctor.exp: New.
10203         * gdb.cp/mb-templates.cc: New.
10204         * gdb.cp/mb-templates.exp: New.
10205
10206 2007-09-23  Daniel Jacobowitz  <dan@codesourcery.com>
10207
10208         * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
10209
10210 2007-09-23  Pedro Alves  <pedro_alves@portugalmail.pt>
10211
10212         * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
10213         targets.
10214         * configure: Regenerate.
10215
10216 2007-09-23  Vladimir Prus  <vladimir@codesourcery.com>
10217
10218         * gdb.base/annota1.exp: Adjust for 'info break'
10219         format changes.
10220         * gdb.base/annota3.exp: Likewise.
10221         * gdb.base/break.exp: Likewise.
10222         * gdb.base/condbreak.exp: Likewise.
10223         * gdb.base/pending.exp: Likewise.
10224         * gdb.base/sepdebug.exp: Likewise.
10225         * gdb.base/unload.exp: Likewise.
10226         * gdb.base/ovldbreak.exp: Likewise.
10227
10228 2007-09-22  Vladimir Prus  <vladimir@codesourcery.com>
10229
10230         * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10231         messages.
10232         * gdb.base/chng-syms.exp: Likewise.
10233         * gdb.base/unload.exp: Likewise.
10234
10235 2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
10236
10237         * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10238
10239 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
10240
10241         * schedlock.c (NUM): Change to 1.
10242         (main): Use args[0] for the main thread.
10243         * schedlock.exp: Only expect two threads.  Only issue one pass or fail
10244         regardless of the number of threads.
10245
10246 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
10247
10248         * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10249         type down.
10250         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10251         test.
10252         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10253         watchpoint type down.
10254         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10255         test.
10256
10257 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
10258
10259         * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10260         Move all the tests here and run them twice, once using software
10261         watchpoints and once using hardware watchpoints.
10262         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
10263
10264 2007-09-12  Daniel Jacobowitz  <dan@codesourcery.com>
10265
10266         * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
10267         test.
10268
10269 2007-09-10  Mark Kettenis  <kettenis@gnu.org>
10270
10271         * lib/gdb.exp (build_id_debug_filename_get): Improve check for
10272         build-id.
10273
10274         * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
10275         know about $ORIGIN.  Calculate output dir from $dest instead of
10276         using ${objdir}/{$subdir}.
10277
10278 2007-09-09  Mark Kettenis  <kettenis@gnu.org>
10279
10280         * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
10281         gcore, before continuing with the test.
10282
10283 2007-09-06  Daniel Jacobowitz  <dan@codesourcery.com>
10284
10285         * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
10286         * gdb.mi/mi-watch.exp: Likewise.
10287
10288 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
10289             Jim Blandy  <jimb@codesourcery.com>
10290
10291         * gdb.arch/i386-sse.exp: Do not expect character constants.
10292         * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
10293         * gdb.base/display.exp: Allow print/s.
10294         * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
10295         and unsigned char array changes.
10296
10297 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
10298
10299         * gdb.base/display.exp: Add tests for printf %p.
10300
10301 2007-09-03  Pedro Alves  <pedro_alves@portugalmail.pt>
10302
10303         * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
10304         the dll name to unicode.
10305
10306 2007-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10307
10308         * gdb.base/default.exp (show version): Update the version text.
10309         * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
10310
10311 2007-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10312
10313         * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
10314         New files.
10315
10316 2007-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10317
10318         * lib/gdb.exp (build_id_debug_filename_get): New function.
10319         * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
10320         Remove the generate DEBUG file for the future testcase runs.
10321         New testcase for the NT_GNU_BUILD_ID retrieval.
10322         Move the final testing step to ...
10323         (test_different_dir): ... a new function.
10324         New parameter XFAIL to XFAIL all the tests performed.
10325         New parameter TEST_DIFFERENT_DIR parametrizing the directory.
10326         New parameter TYPE to PF_PREFIX all the tests performed.
10327
10328 2007-08-31  Vladimir Prus  <vladimir@codesourcery.com>
10329
10330         * gdb.mi/mi-var-cp.cc (path_expression): New
10331         function.
10332         * gdb.mi/mi-var-cp.exp: Run path exression tests.
10333
10334 2007-08-27  Markus Deuling  <deuling@de.ibm.com>
10335
10336         * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
10337         to fit into SPU Local Store memory.
10338
10339 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10340
10341         * gdb.base/default.exp: Adjust the expected output of "info
10342         warranty" after the switch to GPLv3.
10343
10344 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10345
10346         * lib/gdb.exp (default_gdb_init): Increase expect buffer size
10347         to 30000 (from 20000).
10348
10349 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10350
10351         Switch the license of all .exp files to GPLv3.
10352         Switch the license of all .f and .f90 files to GPLv3.
10353         Switch the license of all .s and .S files to GPLv3.
10354
10355 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10356
10357         * configure.ac: Switch license to GPLv3.
10358
10359 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10360
10361         Switch the licensing to GPLv3 for all .ads and .adb files.
10362
10363 2007-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
10364
10365         * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
10366         and t_int_double.
10367         * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
10368
10369 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
10370
10371         * gdb.base/step-line.c: Switch license to GPL version 3, and
10372         update copyright year.
10373         * gdb.base/step-line.inp: Likewise.
10374
10375 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
10376
10377         * gdb.base/gdb1555.exp: Make expected output immune to formatting
10378         changes inside gdb1555.c.
10379         * gdb.base/pending.exp: Likewise.
10380
10381 2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>
10382
10383         * config/default.exp: New file.
10384
10385 2007-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
10386
10387         * gdb.base/prologue.c, gdb.base/prologue.exp: New.
10388         * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
10389
10390 2007-07-30  Maciej W. Rozycki  <macro@mips.com>
10391
10392         * gdb.base/dump.exp: Force the correct endianness for binary
10393         formats not carrying this information.
10394
10395 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10396
10397         * gdb.threads/staticthreads.exp: Match .*sem_post.
10398
10399 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10400
10401         * gdb.base/readline.exp (operate_and_get_next): Match the final
10402         prompt.
10403
10404 2007-07-23  Kevin Buettner  <kevinb@redhat.com>
10405
10406         * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
10407         to restarting SID.
10408
10409 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
10410
10411         * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
10412         prior to `gdb_start'.
10413
10414 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
10415
10416         * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
10417         return value to be compatible with gdb_run_cmd in lib/gdb.exp.
10418         Remove call to gdb_unload.
10419
10420 2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
10421             Daniel Jacobowitz  <dan@codesourcery.com>
10422
10423         * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
10424         for __WIN32__.
10425         (SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
10426         * gdb.base/unload.exp: Use shared library test routines.
10427
10428 2007-07-03  Markus Deuling  <deuling@de.ibm.com>
10429
10430         * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
10431         * gdb.base/solib-symbol-lib.c: Likewise.
10432         * gdb.base/solib-symbol-main.c: Likewise.
10433
10434 2007-07-02  Daniel Jacobowitz  <dan@codesourcery.com>
10435
10436         * config/gdbserver.exp (gdb_reconnect): New.
10437         * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
10438         gdb.base/solib-disc.exp: New files.
10439         * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
10440         remote debugging".
10441         (gdb_compile): Add shlib_load flag.
10442         * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
10443         port.
10444         (gdbserver_reconnect): New.
10445
10446 2007-07-01  Nick Roberts  <nickrob@snap.net.nz>
10447             Daniel Jacobowitz  <dan@codesourcery.com>
10448
10449         * gdb.base/annota3.exp: Test for if construct.
10450
10451 2007-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
10452
10453         * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
10454
10455 2007-06-21  Chris Dearman  <chris@mips.com>
10456             Maciej W. Rozycki  <macro@mips.com>
10457
10458         * gdb.base/display.exp: Allow a newline after display/i.
10459         * gdb.base/pc-fp.exp: Likewise.
10460         * gdb.base/sigbpt.exp: Likewise.
10461
10462 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
10463
10464         * gdb.xml/tdesc-regs.exp: Add MIPS support.  Allow multiple
10465         required features to be included.
10466
10467 2007-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
10468
10469         * gdb.threads/manythreads.exp: Prevent expect buffer overflow
10470         in info threads output.
10471
10472 2007-06-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10473             Markus Deuling  <deuling@de.ibm.com>
10474
10475         * gdb.arch/spu-info.exp: New testcase.
10476         * gdb.arch/spu-info.c: New file.
10477
10478 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
10479
10480         * gdb.arch/thumb-prologue.c: Record the breakpoint address in
10481         tpcs_offset.  Restore lr after the call.
10482         * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
10483
10484 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
10485
10486         * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
10487         (gdbserver_run): Kill any running gdbserver.
10488         * lib/mi-support.exp (mi_gdb_target_load): Likewise.
10489
10490 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
10491
10492         * gdb.base/sigbpt.exp: Preset segv_addr.
10493
10494 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
10495
10496         * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
10497         (gdb_compile_shlib): Likewise.
10498         (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
10499         (default_gdb_init): Clear cleanfiles.
10500         (gdb_finish): Delete recorded cleanfiles.
10501         * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
10502
10503         * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
10504         Do not use isnative.
10505         * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
10506         gdb.base/so-impl-ld.exp: Likewise.
10507         * gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
10508         * gdb.base/unload.exp: Likewise.  Do not pass empty option to
10509         gdb_compile.
10510
10511 2007-05-15  Vladimir Prus  <vladimir@codesourcery.com>
10512
10513         * config/unknown.exp: Remove.
10514
10515 2007-05-15  Markus Deuling  <deuling@de.ibm.com>
10516
10517         * gdb.base/info-proc.exp: Check is_remote.
10518
10519 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
10520
10521         * gdb.base/gcore.exp: Initialize variable core_supported.
10522
10523 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
10524
10525         * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
10526
10527 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
10528
10529         * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
10530         * gdb.threads/print-threads.exp (test_all_threads): Allow
10531         negative and hexadecimal thread IDs.
10532
10533 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
10534
10535         * gdb.java/jprint.java (public): Avoid invalid call to static
10536         method.
10537
10538 2007-05-14  Denis Pilat  <denis.pilat@st.com>
10539
10540         * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
10541         gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
10542         gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10543         gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
10544         gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
10545
10546 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10547
10548         * gdb.base/overlays.exp: Add support for targets with only code
10549         overlay support, not data overlay.  Support spu-*-* target in
10550         this mode.
10551         * gdb.base/ovlymgr.c: Provide stubs for spu target.
10552         * gdb.base/spu.ld: New file.
10553
10554 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
10555
10556         * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
10557
10558 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
10559
10560         * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
10561
10562 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
10563
10564         * gdb.java/jmain.exp: Handle demangled names with and without method
10565         signatures.
10566
10567 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
10568
10569         * gdb.mi/mi-syn-frame.c (main, foo, bar)
10570         (have_a_very_merry_interrupt): Remove calls to puts.
10571         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
10572         inferior output.
10573         * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
10574         test names.
10575
10576 2007-04-29  Markus Deuling  <deuling@de.ibm.com>
10577             Daniel Jacobowitz  <dan@codesourcery.com>
10578
10579         * gdb.base/auxv.exp (core_works): Also check is_remote.
10580         * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
10581
10582 2007-04-25  Vladimir Prus  <vladimir@codesourcery.com>
10583
10584         * gdb.base/sigaltstack.exp: Use 'srcfile' in error
10585         message, not the undefined 'module' variable.
10586         * gdb.base/siginfo.exp: Likewise.
10587         * gdb.base/sigstep.exp: Likewise.
10588         * lib/gdbserver-support.exp (gdb_target_cmd): Quote
10589         serialport.
10590         * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
10591
10592 2007-04-25  Corinna Vinschen <vinschen@redhat.com>
10593
10594         * config/sim.exp (gdb_target_sim): Just return with -1 when setting
10595         target sim fails.  Return 0 otherwise.
10596         (gdb_load): Return prematurely if gdb_target_sim fails.
10597
10598 2007-04-16  Denis Pilat  <denis.pilat@st.com>
10599
10600         * gdb.base/setshow.exp: Reset height after having set it to 100.
10601
10602 2007-04-16  Denis Pilat  <denis.pilat@st.com>
10603
10604         * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
10605
10606 2007-04-16  Denis Pilat  <denis.pilat@st.com>
10607
10608         * gdb.mi/mi2-var-display.exp: Test for the fullname field.
10609
10610 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
10611
10612         * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
10613         tests. Run the frozen varobjs test.
10614         * gdb.mi/var-cmd.c (do_frozen_tests): New.
10615         * lib/mi-support.exp (mi_varobj_update): Fix thinko.
10616
10617 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10618
10619         * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
10620         gdb.base/type-opaque.exp: New files.
10621
10622 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
10623
10624         * gdb.mi/mi-var-child.c
10625         (do_children_tests): User char[2] instead of
10626         char so that automatic printing of pointers to char
10627         don't give unpredicable result.
10628         * gdb.mi/var-cmd.c (do_locals_test): Initialize
10629         local variables.
10630         * gdb.mi/mi-var-child.exp: Step to right line
10631         of do_children_tests.
10632         * gdb.mi/mi2-var-child.exp: Likewise.
10633         * gdb.mi/mi-var-cmd.exp: Step to right line of
10634         do_locals_tests.
10635         (do_children_tests): User char[2] instead of
10636         char so that automatic printing of pointers to char
10637         don't give unpredicable result.
10638         * gdb.mi/mi2-var-cmd.exp: Likewise.
10639         * lib/mi-support.exp (mi_continue_to_line):
10640         Pass test name to mi_wait_for_stop.
10641
10642 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
10643
10644         * gdb.asm/asm-source.exp: Remove d10v case.
10645         * lib/gdb.exp (skip_cplus_tests): Likewise.
10646         * gdb.asm/d10v.inc: Deleted.
10647
10648 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
10649
10650         * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
10651
10652 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
10653
10654         * config/netware.exp: Delete file.
10655
10656 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
10657
10658         * gdb.dwarf2/dw2-noloc.S: New file.
10659         * gdb.dwarf2/dw2-noloc.exp: New file.
10660
10661 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
10662
10663         * gdb.cp/method2.cc: New test.
10664         * gdb.cp/method2.exp: New test.
10665         * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
10666
10667 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
10668
10669         * gdb.ada/exec_changed.exp: Avoid "set confirm off".
10670
10671 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
10672
10673         * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
10674
10675 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
10676
10677         * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
10678         (gdb_load): Delete, replace with...
10679         (gdb_reload): ...this.
10680         * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
10681         * gdb.server/server-mon.exp: Likewise.
10682         * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
10683         (gdb_start_cmd): New.
10684         (gdb_file_cmd): Save the last loaded file.
10685         (gdb_reload): New.
10686         (gdb_gnu_strip_debug): Use transform.
10687         * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
10688         support here.  Use new $last_loaded_file.  Check mtime.
10689         (gdb_target_cmd): Handle ObjC failure case.
10690         (infer_host_exec): Delete.
10691         (gdbserver_load): Rename to...
10692         (gdbserver_run): ...this.  Simplify.
10693         * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
10694         (mi_gdb_load): Move most contents to a new function...
10695         (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
10696         (mi_run_cmd): Use mi_gdb_target_load.
10697         * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
10698         gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
10699         Use gdb_run_cmd.
10700         * gdb.base/charsign.exp: Remove incorrect comment.
10701         * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
10702         * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
10703         gdb.base/start.exp: Use gdb_start_cmd.
10704
10705 2007-03-23  Nigel Stephens  <nigel@mips.com>
10706             Maciej W. Rozycki  <macro@mips.com>
10707
10708         * gdb.base/sigbpt.exp: Fix the message when skipping test.
10709         * gdb.base/signull.exp: Similarly.
10710
10711 2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10712
10713         * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
10714         messages available to test cases (like chng-sym.exp).
10715
10716 2007-03-14  Andreas Schwab  <schwab@suse.de>
10717
10718         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10719         format changes.
10720
10721 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
10722
10723         * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
10724         (optimized_1): New.
10725         (main): Call optimized_1.
10726         (gdb2029): Correct typos.  Call gdb2029_marker.
10727         * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
10728         for gdb2029.
10729
10730 2007-03-12  Mark Kettenis  <kettenis@gnu.org>
10731
10732         * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
10733         as tabs.  Remove redundant test pattern.
10734
10735 2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10736
10737         * gdb.base/long_long.exp: Accept optional symbol name in <...>
10738         for /a format output.
10739
10740 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
10741
10742         * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
10743         collect output incrementally.
10744
10745 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10746
10747         * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
10748         for -var-create lpcharacter test.
10749         * gdb.mi/mi2-var-cmd.exp: Likewise.
10750
10751 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10752
10753         * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
10754         pass on targets where address zero is readable.
10755
10756 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10757
10758         * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
10759         just a single architecture.
10760
10761 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10762
10763         * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
10764         (fetch_all_registers): New function, uses gdb_test_multiple and
10765         exp_continue to fetch inferior output line-by-line.
10766         Replace all uses of do_get_all_registers by fetch_all_registers.
10767
10768 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10769
10770         * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
10771         in target_info.
10772
10773 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
10774
10775         * gdb.threads/manythreads.exp: Use $message string for
10776         consistancy; add a default (timeout) case.
10777
10778 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
10779
10780         * gdb.base/watchpoint.exp: Fix truncated comment.
10781
10782 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
10783
10784         * Makefile.in: Remove spurious single-quotes from sed command.
10785
10786 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
10787
10788         * gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
10789         func.
10790         * gdb.mi/mi2-var-cmd.exp: Likewise.
10791
10792 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
10793
10794         * gdb.dwarf2/dw2-producer.S: New file.
10795         * gdb.dwarf2/dw2-producer.exp: New testcase.
10796
10797 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
10798
10799         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10800         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10801         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10802         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10803         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
10804         Revert tests to use mi_gdb_test and include value field in output
10805         of -var-create.
10806
10807 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
10808
10809         * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
10810
10811 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
10812
10813         * gdb.base/maint.exp: Remove full paths from test names.
10814         * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
10815         gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
10816
10817 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
10818
10819         * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
10820
10821 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
10822
10823         * gdb.server/server-mon.exp: New test.
10824
10825 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
10826
10827         * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
10828
10829 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
10830
10831         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
10832         register capitalization.
10833
10834 2007-02-13  Denis Pilat  <denis.pilat@st.com>
10835
10836         * gdb.mi/mi-var-invalidate.exp: New file.
10837
10838 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
10839
10840         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
10841
10842 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
10843
10844         * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
10845
10846 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
10847
10848         * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
10849         gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
10850
10851 2007-02-08  Nick Roberts  <nickrob@snap.net.nz>
10852
10853         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10854         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10855         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10856         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10857         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
10858         * gdb.mi/gdb792.exp, lib/mi-support.exp:
10859         Update tests to include value field in output of -var-create.
10860
10861 2007-02-08  Andreas Schwab  <schwab@suse.de>
10862
10863         * gdb.mi/mi-var-child.exp: Fix matching display of function value.
10864
10865 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
10866
10867         * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
10868         gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
10869
10870 2007-02-02  Denis Pilat  <denis.pilat@st.com>
10871
10872         * gdb.threads/threadapply.exp: check that frame is not changed by
10873         the thread apply all command.
10874
10875 2007-01-31  Andreas Schwab  <schwab@suse.de>
10876
10877         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10878
10879         * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
10880         in the dwarf sections.
10881         * gdb.dwarf2/mac-fileno.S: Likewise.
10882
10883         * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
10884         bspstore register on ia64.
10885
10886 2007-01-29  Andreas Schwab  <schwab@suse.de>
10887
10888         * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
10889         "frame-begin" annotation.
10890
10891         * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
10892         number of "frames-invalid" annotations.
10893
10894 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
10895
10896         * gdb.base/commands.exp: Call if_commands_test.
10897         (gdb_test_no_prompt, if_commands_test): New.
10898
10899 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
10900
10901         * gdb.threads/sigthread.c (NSIGS): Make bigger.
10902
10903 2007-01-27  Andreas Schwab  <schwab@suse.de>
10904
10905         * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
10906         .short/.int/.quad in the dwarf sections.
10907         * gdb.dwarf2/dw2-intercu.S: Likewise.
10908         * gdb.dwarf2/dw2-intermix.S: Likewise.
10909
10910 2007-01-25  Jan Kratochvil <jan.kratochvil@redhat.com>
10911
10912         * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
10913         * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
10914         array.
10915         * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
10916         * gdb.base/setvar.exp: Likewise.
10917
10918 2007-01-26  Andreas Schwab  <schwab@suse.de>
10919
10920         * gdb.base/corefile.exp: Allow non-empty argument list in reinit
10921         test.
10922
10923         * gdb.base/multi-forks.exp ("restart $i"): Also match
10924         __kernel_syscall_via_break.
10925
10926 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
10927
10928         * lib/mi-support.exp (mi_delete_varobj): New.
10929         * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
10930         testcase.
10931         * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
10932         (main): Call the above.
10933         (reference_update_test, base_in_reference_test)
10934         (reference_to_pointer): Delete the created varobjs.
10935
10936 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
10937
10938         * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
10939         * configure: Regenerated.
10940         * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
10941         * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
10942         gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
10943         gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
10944         * lib/gdb.exp (gdb_skip_xml_test): New function.
10945
10946 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
10947
10948         * gdb.base/sigrepeat.exp: Correct error message.
10949
10950 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
10951             Daniel Jacobowitz  <dan@codesourcery.com>
10952
10953         * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
10954         gdb.arch/i386-gnu-cfi-asm.S: New files.
10955
10956 2007-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
10957
10958         * lib/gdb.exp: Abort on missing `site.exp'.
10959
10960 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
10961             Daniel Jacobowitz  <dan@codesourcery.com>
10962
10963         * gdb.base/included.c, gdb.base/included.exp,
10964         gdb.base/included.h: New files.
10965
10966 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
10967
10968         * gdb.base/bigcore.c (RLIMIT_CAP): Define.
10969         (maximize_rlimit): Reduce limits on 64-bit systems.
10970
10971 2007-01-19  Mark Kettenis  <kettenis@gnu.org>
10972
10973         From Marcus Deuling <deuling@de.ibm.com>:
10974         * gdb.arch/altivec-regs.exp: Initialise variable endianness in
10975         every case.
10976
10977 2007-01-13  Nick Roberts  <nickrob@snap.net.nz>
10978
10979         * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
10980         (test_path_specification): Use objdir instead of srcdir to always
10981         get an absolute filename.
10982
10983 2007-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
10984
10985         * gdb.cp/member-ptr.cc (class Padding): Make contents public.
10986
10987 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
10988
10989         * gdb.mi/mi-var-cp.cc (reference_update_tests):
10990         Make sure the variable we're using is in scope.
10991         (reference_to_pointer): Likewise.
10992
10993 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
10994
10995         * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
10996         has no debug information.
10997
10998 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
10999
11000         * gdb.base/annota1.exp: Remove extra send_gdb.
11001
11002 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11003
11004         * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11005
11006 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11007
11008         * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
11009
11010 2007-01-08  Nick Roberts  <nickrob@snap.net.nz>
11011             Daniel Jacobowitz  <dan@codesourcery.com>
11012
11013         * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
11014         lcharacter or linteger change.  Correct duplicated test name.
11015         * gdb.mi/mi2-var-cmd.exp: Likewise.
11016
11017 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
11018
11019         * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
11020
11021 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
11022
11023         * gdb.base/nofield.c: New file.
11024         * gdb.base/nofield.exp: New testcase.
11025
11026 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
11027
11028         * gdb.mi/mi-var-cp.exp: New test for references to pointers.
11029
11030         * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
11031          test.
11032
11033 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11034
11035         * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
11036
11037 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11038
11039         * lib/mi-support.exp (mi_runto_helper): Expect two prompts
11040         when continuing.
11041
11042 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11043
11044         * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
11045         Expect ".exe" extension.
11046
11047 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11048
11049         * gdb.base/charset.exp: Add explicit filename to break.
11050         * gdb.base/dbx.exp: Add explicit filename to breaks.
11051
11052 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11053
11054         * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
11055         * gdb.mi/mi2-file.exp: Likewise.
11056
11057 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
11058
11059         Implement specification of MI tests as comments
11060         in C and C++ sources.
11061         * lib/mi-support.exp (mi_autotest_data): New variable.
11062         (mi_autotest_source): New variable.
11063         (count_newlines, mi_prepare_inline_tests)
11064         (mi_get_inline_test, mi_continue_to_line)
11065         (mi_run_inline_test, mi_tbreak)
11066         (mi_send_resuming_command, mi_wait_for_stop): New functions.
11067         * gdb.mi/mi-var-cp.exp: Move most content to the C file.
11068         Run inline tests.
11069         * gdb.mi/mi-var-cp.cc: Define tests here.
11070
11071 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
11072
11073         Simplify usage of mi_continue_to.
11074         * lib/mi-support.exp (mi_runto_helper): Renamed
11075         from mi_runto, added new parameter 'run_or_continue'.
11076         (mi_runto): Use mi_runto_helper.
11077         (mi_continue_to): Accept just function name as parameter.
11078         Use mi_runto_helper.
11079         * gdb.mi/mi-var-cmd.exp: Adjust to changes.
11080         * gdb.mi/mi2-var-cmd.exp: Likewise.
11081
11082 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
11083
11084         Make this testcase a bit more realistic. The current code
11085         is too simplistic, and allows the compiler to optimize out
11086         some of the entities we need for this testcase.
11087         * gdb.ada/null_record/bar.ads (Void_Star): New type.
11088         (Do_Nothing): Add extra parameter.
11089         * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
11090         * gdb.ada/null_record/null_record.adb: Fake use of type Empty
11091         by using a variable of type Void_Star.
11092
11093 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
11094
11095         * gdb.ada/catch_ex/foo.adb: New file.
11096         * gdb.ada/catch_ex.exp: New testcase.
11097
11098 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
11099
11100         * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
11101         pass --image-base to linker.
11102
11103 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
11104             Daniel Jacobowitz  <dan@codesourcery.com>
11105
11106         * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
11107         secondary prompts.
11108
11109 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11110
11111         * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
11112         output.  Test the types of members and member pointers.
11113         * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
11114         gdb/2092.
11115         * gdb.cp/member-ptr.exp: Search for a comment instead of a
11116         statement.  Enable for GCC.  Update expected output for some tests
11117         and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
11118         layout.
11119         * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
11120         (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
11121         (Diamond::vget_base): New.
11122         (main): Add new tests.
11123         * gdb.cp/printmethod.exp: Update expected output for member functions.
11124         * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
11125         print pEe->D::vg().
11126
11127 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11128
11129         * gdb.threads/tls.exp: Allow stops in sem_post.
11130
11131 2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
11132
11133         * gdb.base/annota1.exp: Allow .*printf in backtraces.
11134         * gdb.base/annota3.exp: Likewise.
11135         * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
11136         again (instead of timing out).
11137         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
11138         GCC bug 26475.
11139         * gdb.java/jmisc.exp: Adjust to work with method signatures including
11140         return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
11141         test from jmisc1.exp.
11142         * gdb.java/jmisc1.exp: Delete.
11143         * gdb.java/jprint.exp: Adjust to work with method signatures including
11144         return types.
11145         * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
11146         * gdb.threads/linux-dp.exp: Don't be confused by program output.
11147         * lib/java.exp (compile_java_from_source): Pass the correct type
11148         to target_compile.
11149
11150 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
11151
11152         * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
11153         (stack_align_edx): New function.
11154         (stack_align_eax): New function.
11155         (main): Add calls to stack_align_edx and stack_align_eax.
11156         * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
11157         Add testing for the cases where the register used during a stack
11158         realignment is edx. Same for eax.
11159
11160 2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
11161
11162         * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
11163         and generic PE targets.
11164
11165 2006-12-29  Joel Brobecker  <brobecker@adacore.com>
11166
11167         * gdb.ada/array_return.exp: Update copyright date list.
11168
11169 2006-12-27  Joel Brobecker  <brobecker@adacore.com>
11170
11171         * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
11172         (Create_Small_Float_Vector): New function.
11173         * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
11174         function body.
11175         * gdb.ada/array_return/p.adb: Use new type and function from
11176         package Pck.
11177         * gdb.ada/array_return.exp: Add a test verifying that GDB is
11178         able to print the value returned by a function returning an
11179         array of float.
11180
11181 2006-12-20  Joel Brobecker  <brobecker@adacore.com>
11182
11183         * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
11184         The associated tests should be PASSing.
11185
11186 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
11187
11188         Test for base in references.
11189         * gdb.mi/mi-var-cp.cc: Add test code.
11190         * gdb.mi/mi-var-cp.exp: Test for bases in references.
11191         * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
11192         * gdb.mi/mi2-watch.exp: Likewise.
11193         * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
11194         (mi_list_varobj_children): New function.
11195
11196 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
11197
11198         * lib/mi-support.exp
11199         (mi_runto): Accept "()" after function name.
11200         (mi_create_varobj): New function.
11201         (mi_varobj_update): New function.
11202         (mi_Check_varobj_value): New function.
11203         * gdb.mi/mi-var-cp.exp: New file.
11204         * gdb.mi/mi-var-cp.cc: New file.
11205
11206 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
11207
11208         * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
11209         gdb.base/weaklib2.c: New files.
11210
11211 2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
11212
11213         * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
11214         info.  Adjust test names.
11215
11216         * gdb.base/break.c (main): Move position of malloc.
11217         * gdb.base/break.exp: Revert mistaken checkin.
11218
11219 2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
11220
11221         * gdb.mi/mi-var-cmd.exp: Check -var-update after
11222         assignement of arrays and function pointers.
11223         * gdb.mi/var-cmd.c: Add declaration necessary for above
11224         tests.
11225
11226 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
11227
11228         * gdb.base/break.c (main): Call malloc.
11229
11230         * gdb.threads/linux-dp.exp: Read thread table before and after
11231         creating each philosopher and verify it.
11232
11233 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
11234             Paul Brook  <paul@codesourcery.com>
11235             Daniel Jacobowitz  <dan@codesourcery.com>
11236
11237         * gdb.base/ending-run.exp: Flatten expect script stepping out of
11238         main to remove duplication.  Add start function of the form
11239         '_*start[1-9]*'. Add RVDS start function.
11240
11241 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
11242
11243         * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11244
11245 2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11246
11247         * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11248         * gdb.asm/spu.inc: New file.
11249         * gdb.base/term.exp: Disable if [target_info exists noargs].
11250         * gdb.gdb/complaints.exp: Disable if ![isnative].
11251         * gdb.gdb/selftest.exp: Likewise.
11252         * gdb.gdb/observer.exp: Likewise.
11253         * gdb.gdb/xfullpath.exp: Likewise.
11254         * gdb.base/attach.exp: Disable on SPU target.
11255         * gdb.cp/bs145503.exp: Likewise.
11256         * gdb.cp/exception.exp: Likewise.
11257         * gdb.cp/userdef.exp: Likewise.
11258
11259 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
11260
11261         * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11262
11263 2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
11264
11265         * gdb.base/completion.exp: Fix completion tests for
11266         'info' and 'info '.
11267         * gdb.base/help.exp (help_test_raw, test_class_help)
11268         (test_prefix_command_help): Move...
11269         * lib/gdb.exp: Here.
11270         * gdb.base/main.exp: Adjust.
11271         * gdb.cp/maint.exp: Adjust.
11272         * gdb.trace/tracecmd.exp: Use test_help_class.
11273
11274 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
11275
11276         * gdb.stabs/weird.exp (print_weird_var): Use
11277         gdb_test_multiple instead of gdb_expect.
11278
11279 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
11280
11281         * gdb.base/help.exp (help_test_raw): New.
11282         (test_class_help): New.
11283         (test_prefix_command_help): New.
11284         Adjust testcases.
11285
11286 2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
11287
11288         * gdb.base/constvars.c (main): Write to crass and crips, so that
11289         they are allocated by the compiler.
11290
11291 2006-10-27  Andreas Schwab  <schwab@suse.de>
11292
11293         * gdb.base/multi-forks.exp: Use "detach fork" instead of
11294         "detach-fork".
11295
11296 2006-10-18  Daniel Jacobowitz  <dan@codesoucery.com>
11297
11298         * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
11299         of patterns.
11300
11301 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
11302
11303         * gdb.base/sepdebug.exp: Remove debug format test.
11304         * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
11305         Handle no-symtab.
11306         * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
11307
11308 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
11309
11310         * gdb.threads/manythreads.c (thread_function, main): Don't cast
11311         int to pointer or pointer to int.
11312         * gdb.threads/manythreads.exp: Don't expect the string "LWP".
11313
11314 2006-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
11315
11316         * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
11317
11318 2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11319
11320         * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
11321
11322 2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
11323
11324         PR c++/2116
11325         * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
11326
11327 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11328
11329         * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
11330         the corresponding bug has been fixed in GDB (PR/2018).
11331
11332 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11333
11334         * gdb.base/subst.exp: New testcase.
11335
11336 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11337
11338         * gdb.ada/array_return/pck.ads: Add copyright notice.
11339         * gdb.ada/array_return/pck.adb: Likewise.
11340         * gdb.ada/array_return/p.adb: Likewise.
11341         * gdb.ada/exec_changed/first.adb: Likewise.
11342         * gdb.ada/exec_changed/second.adb: Likewise.
11343
11344 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11345
11346         * gdb.ada/watch_arg/watch.adb: New file.
11347         * gdb.ada/watch_arg.exp: New testcase.
11348
11349 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
11350
11351         * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
11352         via string_to_regexp.
11353         * gdb.mi/mi2-basics.exp: Likewise.
11354
11355 2006-09-20  Michael Snyder  <michael.snyder@palmsource.com>
11356
11357         * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
11358         Remove unused / obsolete files.
11359
11360 2006-09-19  Nick Roberts  <nickrob@snap.net.nz>
11361
11362         * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
11363
11364 2006-09-17  Vladimir Prus  <vladimir@codesourcery.com>
11365
11366         * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
11367         HIGH_FRAME argument to -stack-list-arguments can be larger than
11368         the number of frames.
11369
11370 2006-09-15  Daniel Jacobowitz  <dan@codesourcery.com>
11371
11372         * gdb.base/args.c (main): Add breakpoint marker.
11373         * gdb.base/args.exp: Use args_test for tests.  Add new tests which
11374         really test empty arguments.
11375         (args_load): Delete.
11376         (args_test): New.
11377
11378 2006-09-13  Nick Roberts  <nickrob@snap.net.nz>
11379
11380         * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
11381         check for one file.
11382
11383 2006-09-07  Vladimir Prus  <ghost@vladimir@codesourcery.com>
11384
11385         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
11386         HIGH_FRAME argument to -stack-list-locals can be larger than
11387         the number of frames.
11388
11389 2006-08-18  Fred Fish  <fnf@specifix.com>
11390
11391         * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
11392         '$' in front of skip_vmx_tests_saved when setting that.
11393
11394 2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
11395
11396         * gdb.base/trace-commands.exp: New file.
11397
11398 2006-08-10  Joel Brobecker  <brobecker@adacore.com>
11399             Daniel Jacobowitz  <dan@codesourcery.com>
11400
11401         * gdb.base/step-bt.exp: Make hexadecimal address optional in
11402         expected output of the backtrace commands.
11403
11404 2006-08-09  Joel Brobecker  <brobecker@adacore.com>
11405
11406         * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
11407         untested followed by return combination.
11408         * gdb.arch/altivec-regs.exp: Likewise.
11409         * gdb.arch/e500-abi.exp: Likewise.
11410         * gdb.arch/e500-regs.exp: Likewise.
11411         * gdb.arch/gdb1291.exp: Likewise.
11412         * gdb.arch/gdb1431.exp: Likewise.
11413         * gdb.arch/gdb1558.exp: Likewise.
11414         * gdb.arch/i386-prologue.exp: Likewise.
11415         * gdb.arch/i386-unwind.exp: Likewise.
11416         * gdb.asm/asm-source.exp: Likewise.
11417         * gdb.base/a2-run.exp: Likewise.
11418         * gdb.base/advance.exp: Likewise.
11419         * gdb.base/all-bin.exp: Likewise.
11420         * gdb.base/annota1.exp: Likewise.
11421         * gdb.base/annota3.exp: Likewise.
11422         * gdb.base/args.exp: Likewise.
11423         * gdb.base/arithmet.exp: Likewise.
11424         * gdb.base/assign.exp: Likewise.
11425         * gdb.base/async.exp: Likewise.
11426         * gdb.base/attach.exp: Likewise.
11427         * gdb.base/bang.exp: Likewise.
11428         * gdb.base/bigcore.exp: Likewise.
11429         * gdb.base/bitfields.exp: Likewise.
11430         * gdb.base/bitfields2.exp: Likewise.
11431         * gdb.base/break.exp: Likewise.
11432         * gdb.base/call-sc.exp: Likewise.
11433         * gdb.base/call-strs.exp: Likewise.
11434         * gdb.base/callfuncs.exp: Likewise.
11435         * gdb.base/checkpoint.exp: Likewise.
11436         * gdb.base/chng-syms.exp: Likewise.
11437         * gdb.base/code-expr.exp: Likewise.
11438         * gdb.base/commands.exp: Likewise.
11439         * gdb.base/completion.exp: Likewise.
11440         * gdb.base/cond-expr.exp: Likewise.
11441         * gdb.base/condbreak.exp: Likewise.
11442         * gdb.base/consecutive.exp: Likewise.
11443         * gdb.base/constvars.exp: Likewise.
11444         * gdb.base/corefile.exp: Likewise.
11445         * gdb.base/cvexpr.exp: Likewise.
11446         * gdb.base/dbx.exp: Likewise.
11447         * gdb.base/define.exp: Likewise.
11448         * gdb.base/detach.exp: Likewise.
11449         * gdb.base/display.exp: Likewise.
11450         * gdb.base/dump.exp: Likewise.
11451         * gdb.base/ena-dis-br.exp: Likewise.
11452         * gdb.base/ending-run.exp: Likewise.
11453         * gdb.base/environ.exp: Likewise.
11454         * gdb.base/eval-skip.exp: Likewise.
11455         * gdb.base/exprs.exp: Likewise.
11456         * gdb.base/fileio.exp: Likewise.
11457         * gdb.base/finish.exp: Likewise.
11458         * gdb.base/float.exp: Likewise.
11459         * gdb.base/foll-exec.exp: Likewise.
11460         * gdb.base/foll-fork.exp: Likewise.
11461         * gdb.base/foll-vfork.exp: Likewise.
11462         * gdb.base/freebpcmd.exp: Likewise.
11463         * gdb.base/funcargs.exp: Likewise.
11464         * gdb.base/gcore.exp: Likewise.
11465         * gdb.base/gdb1090.exp: Likewise.
11466         * gdb.base/gdb1250.exp: Likewise.
11467         * gdb.base/huge.exp: Likewise.
11468         * gdb.base/info-proc.exp: Likewise.
11469         * gdb.base/interrupt.exp: Likewise.
11470         * gdb.base/jump.exp: Likewise.
11471         * gdb.base/langs.exp: Likewise.
11472         * gdb.base/lineinc.exp: Likewise.
11473         * gdb.base/list.exp: Likewise.
11474         * gdb.base/logical.exp: Likewise.
11475         * gdb.base/long_long.exp: Likewise.
11476         * gdb.base/macscp.exp: Likewise.
11477         * gdb.base/maint.exp: Likewise.
11478         * gdb.base/mips_pro.exp: Likewise.
11479         * gdb.base/miscexprs.exp: Likewise.
11480         * gdb.base/multi-forks.exp: Likewise.
11481         * gdb.base/opaque.exp: Likewise.
11482         * gdb.base/overlays.exp: Likewise.
11483         * gdb.base/pc-fp.exp: Likewise.
11484         * gdb.base/pointers.exp: Likewise.
11485         * gdb.base/printcmds.exp: Likewise.
11486         * gdb.base/psymtab.exp: Likewise.
11487         * gdb.base/ptype.exp: Likewise.
11488         * gdb.base/recurse.exp: Likewise.
11489         * gdb.base/relational.exp: Likewise.
11490         * gdb.base/relocate.exp: Likewise.
11491         * gdb.base/remote.exp: Likewise.
11492         * gdb.base/reread.exp: Likewise.
11493         * gdb.base/restore.exp: Likewise.
11494         * gdb.base/return.exp: Likewise.
11495         * gdb.base/return2.exp: Likewise.
11496         * gdb.base/scope.exp: Likewise.
11497         * gdb.base/sect-cmd.exp: Likewise.
11498         * gdb.base/sep.exp: Likewise.
11499         * gdb.base/sepdebug.exp: Likewise.
11500         * gdb.base/setshow.exp: Likewise.
11501         * gdb.base/setvar.exp: Likewise.
11502         * gdb.base/sigall.exp: Likewise.
11503         * gdb.base/sigbpt.exp: Likewise.
11504         * gdb.base/signals.exp: Likewise.
11505         * gdb.base/signull.exp: Likewise.
11506         * gdb.base/sizeof.exp: Likewise.
11507         * gdb.base/solib.exp: Likewise.
11508         * gdb.base/step-line.exp: Likewise.
11509         * gdb.base/step-test.exp: Likewise.
11510         * gdb.base/structs.exp: Likewise.
11511         * gdb.base/structs2.exp: Likewise.
11512         * gdb.base/term.exp: Likewise.
11513         * gdb.base/twice.exp: Likewise.
11514         * gdb.base/until.exp: Likewise.
11515         * gdb.base/varargs.exp: Likewise.
11516         * gdb.base/volatile.exp: Likewise.
11517         * gdb.base/watchpoint.exp: Likewise.
11518         * gdb.base/whatis-exp.exp: Likewise.
11519         * gdb.base/whatis.exp: Likewise.
11520         * gdb.cp/ambiguous.exp: Likewise.
11521         * gdb.cp/annota2.exp: Likewise.
11522         * gdb.cp/annota3.exp: Likewise.
11523         * gdb.cp/bool.exp: Likewise.
11524         * gdb.cp/breakpoint.exp: Likewise.
11525         * gdb.cp/casts.exp: Likewise.
11526         * gdb.cp/class2.exp: Likewise.
11527         * gdb.cp/classes.exp: Likewise.
11528         * gdb.cp/cplusfuncs.exp: Likewise.
11529         * gdb.cp/ctti.exp: Likewise.
11530         * gdb.cp/derivation.exp: Likewise.
11531         * gdb.cp/exception.exp: Likewise.
11532         * gdb.cp/gdb1355.exp: Likewise.
11533         * gdb.cp/hang.exp: Likewise.
11534         * gdb.cp/inherit.exp: Likewise.
11535         * gdb.cp/local.exp: Likewise.
11536         * gdb.cp/m-data.exp: Likewise.
11537         * gdb.cp/m-static.exp: Likewise.
11538         * gdb.cp/member-ptr.exp: Likewise.
11539         * gdb.cp/method.exp: Likewise.
11540         * gdb.cp/misc.exp: Likewise.
11541         * gdb.cp/namespace.exp: Likewise.
11542         * gdb.cp/overload.exp: Likewise.
11543         * gdb.cp/ovldbreak.exp: Likewise.
11544         * gdb.cp/pr-1023.exp: Likewise.
11545         * gdb.cp/pr-1210.exp: Likewise.
11546         * gdb.cp/pr-574.exp: Likewise.
11547         * gdb.cp/printmethod.exp: Likewise.
11548         * gdb.cp/psmang.exp: Likewise.
11549         * gdb.cp/ref-params.exp: Likewise.
11550         * gdb.cp/ref-types.exp: Likewise.
11551         * gdb.cp/rtti.exp: Likewise.
11552         * gdb.cp/templates.exp: Likewise.
11553         * gdb.cp/try_catch.exp: Likewise.
11554         * gdb.cp/userdef.exp: Likewise.
11555         * gdb.cp/virtfunc.exp: Likewise.
11556         * gdb.disasm/am33.exp: Likewise.
11557         * gdb.disasm/h8300s.exp: Likewise.
11558         * gdb.disasm/mn10300.exp: Likewise.
11559         * gdb.disasm/sh3.exp: Likewise.
11560         * gdb.disasm/t01_mov.exp: Likewise.
11561         * gdb.disasm/t02_mova.exp: Likewise.
11562         * gdb.disasm/t03_add.exp: Likewise.
11563         * gdb.disasm/t04_sub.exp: Likewise.
11564         * gdb.disasm/t05_cmp.exp: Likewise.
11565         * gdb.disasm/t06_ari2.exp: Likewise.
11566         * gdb.disasm/t07_ari3.exp: Likewise.
11567         * gdb.disasm/t08_or.exp: Likewise.
11568         * gdb.disasm/t09_xor.exp: Likewise.
11569         * gdb.disasm/t10_and.exp: Likewise.
11570         * gdb.disasm/t11_logs.exp: Likewise.
11571         * gdb.disasm/t12_bit.exp: Likewise.
11572         * gdb.disasm/t13_otr.exp: Likewise.
11573         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
11574         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
11575         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11576         * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
11577         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
11578         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
11579         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
11580         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
11581         * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
11582         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
11583         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
11584         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
11585         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
11586         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
11587         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
11588         * gdb.mi/gdb701.exp: Likewise.
11589         * gdb.mi/gdb792.exp: Likewise.
11590         * gdb.mi/mi-basics.exp: Likewise.
11591         * gdb.mi/mi-break.exp: Likewise.
11592         * gdb.mi/mi-cli.exp: Likewise.
11593         * gdb.mi/mi-console.exp: Likewise.
11594         * gdb.mi/mi-disassemble.exp: Likewise.
11595         * gdb.mi/mi-eval.exp: Likewise.
11596         * gdb.mi/mi-file.exp: Likewise.
11597         * gdb.mi/mi-read-memory.exp: Likewise.
11598         * gdb.mi/mi-regs.exp: Likewise.
11599         * gdb.mi/mi-return.exp: Likewise.
11600         * gdb.mi/mi-simplerun.exp: Likewise.
11601         * gdb.mi/mi-stack.exp: Likewise.
11602         * gdb.mi/mi-stepi.exp: Likewise.
11603         * gdb.mi/mi-syn-frame.exp: Likewise.
11604         * gdb.mi/mi-until.exp: Likewise.
11605         * gdb.mi/mi-var-block.exp: Likewise.
11606         * gdb.mi/mi-var-child.exp: Likewise.
11607         * gdb.mi/mi-var-cmd.exp: Likewise.
11608         * gdb.mi/mi-var-display.exp: Likewise.
11609         * gdb.mi/mi-watch.exp: Likewise.
11610         * gdb.mi/mi2-basics.exp: Likewise.
11611         * gdb.mi/mi2-break.exp: Likewise.
11612         * gdb.mi/mi2-cli.exp: Likewise.
11613         * gdb.mi/mi2-console.exp: Likewise.
11614         * gdb.mi/mi2-disassemble.exp: Likewise.
11615         * gdb.mi/mi2-eval.exp: Likewise.
11616         * gdb.mi/mi2-file.exp: Likewise.
11617         * gdb.mi/mi2-read-memory.exp: Likewise.
11618         * gdb.mi/mi2-regs.exp: Likewise.
11619         * gdb.mi/mi2-return.exp: Likewise.
11620         * gdb.mi/mi2-simplerun.exp: Likewise.
11621         * gdb.mi/mi2-stack.exp: Likewise.
11622         * gdb.mi/mi2-stepi.exp: Likewise.
11623         * gdb.mi/mi2-syn-frame.exp: Likewise.
11624         * gdb.mi/mi2-until.exp: Likewise.
11625         * gdb.mi/mi2-var-block.exp: Likewise.
11626         * gdb.mi/mi2-var-child.exp: Likewise.
11627         * gdb.mi/mi2-var-cmd.exp: Likewise.
11628         * gdb.mi/mi2-var-display.exp: Likewise.
11629         * gdb.mi/mi2-watch.exp: Likewise.
11630         * gdb.stabs/exclfwd.exp: Likewise.
11631         * gdb.stabs/weird.exp: Likewise.
11632         * gdb.threads/gcore-thread.exp: Likewise.
11633         * gdb.trace/actions.exp: Likewise.
11634         * gdb.trace/backtrace.exp: Likewise.
11635         * gdb.trace/circ.exp: Likewise.
11636         * gdb.trace/collection.exp: Likewise.
11637         * gdb.trace/deltrace.exp: Likewise.
11638         * gdb.trace/infotrace.exp: Likewise.
11639         * gdb.trace/limits.exp: Likewise.
11640         * gdb.trace/packetlen.exp: Likewise.
11641         * gdb.trace/passc-dyn.exp: Likewise.
11642         * gdb.trace/passcount.exp: Likewise.
11643         * gdb.trace/report.exp: Likewise.
11644         * gdb.trace/save-trace.exp: Likewise.
11645         * gdb.trace/tfind.exp: Likewise.
11646         * gdb.trace/tracecmd.exp: Likewise.
11647         * gdb.trace/while-dyn.exp: Likewise.
11648         * gdb.trace/while-stepping.exp: Likewise.
11649
11650 2006-08-08  Joel Brobecker  <brobecker@adacore.com>
11651
11652         * gdb.base/step-bt.c: New file.
11653         * gdb.base/step-bt.exp: New testcase.
11654
11655 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
11656
11657         * config/monitor.exp (gdb_load): Remove support for obsolete
11658         download-write-size.
11659         * gdb.base/remote.exp: Likewise.  Update all callers of
11660         gdb_timed_load.
11661
11662 2006-08-02  Daniel Jacobowitz  <dan@codesourcery.com>
11663
11664         * cursal.exp: Pass binfile to gdb_load.
11665
11666 2006-08-01  Nathan Sidwell  <nathan@codesourcery.com>
11667
11668         * gdb.base/cursal.exp: Add "" to gdb_load call.
11669
11670 2006-07-29  Mark Kettenis  <kettenis@gnu.org>
11671
11672         * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
11673         NetBSD/ELF targets.
11674
11675 2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
11676
11677         * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
11678         operator*.
11679
11680 2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
11681
11682         * gdb.base/completion.exp: Update for change in "file" behavior.
11683         * gdb.stabs/weird.exp: Likewise.
11684         * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
11685         * lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
11686
11687 2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>
11688
11689         * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
11690         * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
11691
11692 2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
11693
11694         * gdb.base/default.exp: Update source command error message.
11695         * gdb.base/help.exp: Update 'help source' message.
11696
11697 2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
11698
11699         * gdb.cp/bs15503.exp: Update comment for no longer crashing
11700         test.
11701
11702 2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>
11703
11704         * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
11705
11706 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
11707
11708         * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
11709
11710 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
11711
11712         * gdb.threads/print-threads.exp: Use gdb_breakpoint.
11713
11714 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
11715
11716         * gdb.base/long_long.exp (gdb_test_long_long): Exclude
11717         *-*-openbsd* from targets for wich we expect ARM FPA floating
11718         point format.
11719
11720 2006-07-17  Nick Roberts  <nickrob@snap.net.nz>
11721
11722         * gdb.cp/annota3.exp: Expect frame-begin annotation.
11723
11724 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
11725
11726         * gdb.base/annota3.exp: Expect frame-begin annotation.
11727
11728 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
11729
11730         * gdb.base/help.exp: Adjust "help unset" test to accept
11731         any list of unset commands.
11732
11733 2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
11734             Daniel Jacobowitz  <dan@codesourcery.com>
11735
11736         * gdb.cp/ref-params.exp: New test.
11737         * gdb.cp/ref-params.cc: New source file.
11738         * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
11739
11740 2006-07-08  Mark Kettenis  <kettenis@gnu.org>
11741
11742         * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
11743         spaces/tabs in regular expressions since they might not be there.
11744
11745 2006-07-07  Andrew Stubbs  <andrew.stubbs@st.com>
11746
11747         * gdb.base/ifelse.exp: New file.
11748
11749 2006-07-04  Nathan Sidwell  <nathan@codesourcery.com>
11750
11751         * gdb.base/huge.c: Allow CRASH_GDB to be set from command
11752         line.
11753         * gdb.base/huge.exp: Loop over compilation to find a size that
11754         is acceptable.
11755         * gdb.base/remote.exp: Correct expected strings.
11756         * gdb.dwarf2/mac-fileno.S: Avoid # comments.
11757
11758 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
11759
11760         * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
11761
11762 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
11763
11764         * gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
11765         native.
11766
11767 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
11768
11769         * gdb.stabs/exclfwd.exp: Skip the test if configure did not
11770         enable stabs testing.
11771
11772 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
11773
11774         * gdb.base/auxv.exp: Intercept undefined command messages before
11775         gdb_test_multiple does.
11776
11777 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
11778
11779         * Makefile.in (host_alias): Remove.
11780         (target_alias): Use @target_noncanonical@.
11781         (site.exp): Don't set host_alias.
11782         * aclocal.m4: Remove contents.  Include acx.m4.
11783         * configure: Regenerated.
11784         * configure.ac: Use ACX_NONCANONICAL_TARGET.
11785
11786 2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
11787
11788         * lib/gdb.exp (gdb_load_cmd): New.
11789
11790         * gdb.base/fileio.c: Add system(NULL) test.
11791         * gdb.base/fileio.exp: Check it.
11792
11793         * gdb.base/break.c: Add 10a breakpoint at }
11794         * gdb.base/break.exp: Add test for breakpoint at }
11795         * gdb.cp/anon-union.cc: Add code at end of function.
11796         * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
11797         * gdb.mi/var-cmd.c: Add code at end of function.
11798         * gdb.mi/mi-var-display.exp: Adjust end of next.
11799         * gdb.mi/mi2-var-display.exp: Likewise.
11800         * gdb.base/fileio.c: Add stop function and insert calls at
11801         stopping places.
11802         * gdb.base/fileio.exp: Breakpoint stop function and remove
11803         explicit line number references.
11804
11805 2006-05-19  Joel Brobecker  <brobecker@adacore.com>
11806
11807         * gdb.base/del.exp (test_delete_alias): New function.
11808         Now check that both "del" and "d" work as aliases for "delete".
11809
11810 2006-05-18  Fred Fish  <fnf@specifix.com>
11811
11812         * gdb.base/a2-run.exp: Allow part of test to run when args aren't
11813         required.  Check for spurious output after program exits normally.
11814
11815 2006-05-17  Fred Fish  <fnf@specifix.com>
11816
11817         * gdb.base/relocate.exp: Use gdb_file_cmd rather than
11818         gdb_load, so it works in the simulator.
11819
11820 2006-05-11  Fred Fish  <fnf@specifix.com>
11821
11822         * gdb.base/bang.exp: Ignore unexpected output between the
11823         "program exited normally" and the gdb prompt, as many other
11824         tests do.
11825
11826 2006-05-07  Mark Kettenis  <kettenis@gnu.org>
11827
11828         * gdb.base/help.exp: Make "delete checkpoint" part option for
11829         "help d" and "help delete" tests.
11830
11831 2006-05-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11832
11833         * gdb.mi/mi-basics.exp: Add missing serial number to
11834         expected output in some mi_gdb_test statements.
11835         * gdb.mi/mi2-basics.exp: Likewise.
11836
11837 2006-05-05  Joel Brobecker  <brobecker@adacore.com>
11838
11839         * gdb.base/del.c: New file.
11840         * gdb.base/del.exp: New testcase.
11841
11842 2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
11843
11844         * gdb.base/break.exp: Do not assume a breakpoint on
11845         main will actually be in $srcfile when optimizing.
11846         * gdb.base/savedregs.exp: Do not require that the dummy
11847         frame location match up to a symbol and source file location.
11848         * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
11849         will get printed without a mi_cmd_data_list_register_values prefix.
11850         (*-data-list-register-*): Correct regular expressions to expect the new
11851         pseudo d? floating point registers.
11852         * gdb.mi/mi2-regs.exp: Likewise.
11853
11854 2006-05-05  Christophe Lyon  <christophe.lyon@st.com>
11855
11856         * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
11857         * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
11858         is allocated by the compiler.
11859         * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
11860         anons, e, anone to force their allocation by the compiler.
11861
11862 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
11863
11864         * gdb.base/help.exp: Update expected text for help d and
11865         help delete.
11866
11867 2006-05-02  Mark Kettenis  <kettenis@gnu.org>
11868
11869         * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
11870         NetBSD/ELF targets.
11871
11872 2006-04-30  Mark Kettenis  <kettenis@gnu.org>
11873
11874         * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
11875         single-step breakpoint fails; make this a KFAIL on
11876         sparc*-*-openbsd*.
11877         * gdb.base/siginfo.exp: Likewise.
11878         * gdb.base/sigstep.exp (advance, advancei): Likewise.
11879
11880 2006-04-26  Michael Snyder  <msnyder@redhat.com>
11881
11882         * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
11883         which may have to consume output from other forks.
11884         Add tests to make sure that "delete fork" succeeded.
11885
11886 2006-04-20  Michael Snyder  <msnyder@redhat.com>
11887
11888         * 2006-03-22  Jim Blandy  <jimb@redhat.com>
11889         Add support for the Renesas M32C and M16C.
11890
11891         * gdb.asm/asm-source.exp: Add m32c target.
11892         * gdb.asm/m32c.inc: Support for m32c target.
11893
11894 2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
11895
11896         * gdb.base/commands.exp (recursive_source_test): New test.
11897
11898 2006-04-04  David S. Miller  <davem@sunset.davemloft.net>
11899
11900         * gdb.base/float.exp: Add pattern for sparc targets.
11901
11902 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
11903
11904         * gdb.base/commands.exp (stray_arg0_test): New test.
11905
11906 2006-03-30  Paul Brook  <paul@codesourcery.com>
11907
11908         * gdb.mi/mi-until.exp: kfail broken until command.
11909         * gdb.mi/mi2-until.exp: Ditto.
11910
11911 2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
11912
11913         * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
11914
11915 2006-03-08  Alexandre Oliva  <aoliva@redhat.com>
11916
11917         * gdb.base/prelink.exp: Anchor tested-for regular expression
11918         on gdb prompt.
11919
11920 2006-03-07  Paul Brook  <paul@codesourcery.com>
11921
11922         * gdb.base/assign.exp: Correct fail message.
11923
11924 2006-03-07  Paul Brook  <paul@codesourcery.com>
11925
11926         * lib/compiler.c: Extract armcc version number.
11927         * lib/compiler.cc: Ditto.
11928
11929 2006-03-07  Paul Brook  <paul@codesourcery.com>
11930
11931         * gdb.arch/altivec-abi.exp: Use nowarnings instead of
11932         additional_flags=-w.
11933         * gdb.arch/altivec-regs.exp: Ditto.
11934         * gdb.arch/e500-abi.exp: Ditto.
11935         * gdb.arch/e500-regs.exp: Ditto.
11936         * gdb.base/all-bin.exp: Ditto.
11937         * gdb.base/annota1.exp: Ditto.
11938         * gdb.base/annota3.exp: Ditto.
11939         * gdb.base/args.exp: Ditto.
11940         * gdb.base/arithmet.exp: Ditto.
11941         * gdb.base/assign.exp: Ditto.
11942         * gdb.base/async.exp: Ditto.
11943         * gdb.base/bang.exp: Ditto.
11944         * gdb.base/break.exp: Ditto.
11945         * gdb.base/call-rt-st.exp: Ditto.
11946         * gdb.base/completion.exp: Ditto.
11947         * gdb.base/cond-expr.exp: Ditto.
11948         * gdb.base/condbreak.exp: Ditto.
11949         * gdb.base/consecutive.exp: Ditto.
11950         * gdb.base/define.exp: Ditto.
11951         * gdb.base/display.exp: Ditto.
11952         * gdb.base/ena-dis-br.exp: Ditto.
11953         * gdb.base/environ.exp: Ditto.
11954         * gdb.base/eval-skip.exp: Ditto.
11955         * gdb.base/info-proc.exp: Ditto.
11956         * gdb.base/jump.exp: Ditto.
11957         * gdb.base/logical.exp: Ditto.
11958         * gdb.base/long_long.exp: Ditto.
11959         * gdb.base/maint.exp: Ditto.
11960         * gdb.base/miscexprs.exp: Ditto.
11961         * gdb.base/pc-fp.exp: Ditto.
11962         * gdb.base/pointers.exp: Ditto.
11963         * gdb.base/relational.exp: Ditto.
11964         * gdb.base/reread.exp: Ditto.
11965         * gdb.base/sect-cmd.exp: Ditto.
11966         * gdb.base/sep.exp: Ditto.
11967         * gdb.base/sepdebug.exp: Ditto.
11968         * gdb.base/until.exp: Ditto.
11969         * gdb.base/whatis-exp.exp: Ditto.
11970         * gdb.cp/annota2.exp: Ditto.
11971         * gdb.cp/annota3.exp: Ditto.
11972         * gdb.trace/actions.exp: Ditto.
11973         * gdb.trace/backtrace.exp: Ditto.
11974         * gdb.trace/circ.exp: Ditto.
11975         * gdb.trace/collection.exp: Ditto.
11976         * gdb.trace/deltrace.exp: Ditto.
11977         * gdb.trace/infotrace.exp: Ditto.
11978         * gdb.trace/limits.exp: Ditto.
11979         * gdb.trace/packetlen.exp: Ditto.
11980         * gdb.trace/passc-dyn.exp: Ditto.
11981         * gdb.trace/passcount.exp: Ditto.
11982         * gdb.trace/report.exp: Ditto.
11983         * gdb.trace/save-trace.exp: Ditto.
11984         * gdb.trace/tfind.exp: Ditto.
11985         * gdb.trace/tracecmd.exp: Ditto.
11986         * gdb.trace/while-dyn.exp: Ditto.
11987         * gdb.trace/while-stepping.exp: Ditto.
11988         * lib/gdb.exp: Ditto.
11989         (gdb_compile): Handle nowarning option.
11990
11991 2006-03-07  Alexandre Oliva  <aoliva@redhat.com>
11992
11993         * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
11994         * gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
11995         Rename executable to prelinkt.  Don't re-prelink if we didn't
11996         get a core file.  Test prelink -u exit status to tell whether
11997         prelinking failed.  Use gdb_test_multiple.
11998
11999 2006-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
12000
12001         * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12002         (do_tests): Call it.
12003
12004 2006-02-28  Alexandre Oliva  <aoliva@redhat.com>
12005
12006         * gdb.base/prelink.exp: New test.
12007         * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
12008
12009 2006-02-24  Wu Zhou  <woodzltc@cn.ibm.com>
12010
12011         * gdb.fortran/derived-type.f90: New file.
12012         * gdb.fortran/derived-type.exp: New testcase.
12013
12014 2006-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
12015
12016         * gdb.base/default.exp: Allow ';' as a directory separator.
12017
12018 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
12019
12020         * gdb.base/help.exp (help add-symbol-file): Update.
12021
12022 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
12023
12024         * gdb.base/help.exp (help load): Update expected results.
12025
12026 2006-02-19  Fred Fish  <fnf@specifix.com>
12027
12028         * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
12029         specifix hex value as part of results.
12030         * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
12031
12032 2006-02-16  Fred Fish  <fnf@specifix.com>
12033
12034         * gdb.base/whatis.c: Define variables using typedefs char_addr,
12035         ushort_addr, and slong_addr, so the typedefs are not optimized
12036         away.
12037         * gdb.base/whatis.exp: Add tests using type name for struct type,
12038         union type, enum type, and typedef.
12039
12040 2006-02-13  Mark Kettenis  <kettenis@gnu.org>
12041
12042         * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
12043
12044 2006-02-13  Jim Blandy  <jimb@redhat.com>
12045
12046         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
12047         case where it takes two "next" commands to skip past the init
12048         call.
12049
12050 2006-02-12  Fred Fish  <fnf@specifix.com>
12051
12052         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
12053         to handle cases where it takes two "next" commands to skip
12054         past the init call.
12055
12056 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
12057
12058         * gdb.ada/array_return.exp: Mark the last test as expected to fail
12059         on hppa32 targets.
12060
12061 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
12062
12063         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
12064         field.
12065
12066 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
12067
12068         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
12069
12070 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
12071
12072         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
12073         files.
12074
12075 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
12076
12077         * gdb.cp/maint.exp: Set complaints to a positive value.
12078
12079 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
12080
12081         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
12082         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
12083         function name.
12084
12085 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
12086
12087         * gdb.base/checkpoint.c: Update copyright notice.  Include
12088         <stdlib.h>.
12089
12090 2006-01-04  Jim Blandy  <jimb@redhat.com>
12091
12092         * gdb.asm/asm-source.exp: Independently provide default values for
12093         asm-flags and debug-flags.  Use 'string equal' to do the
12094         comparison, not the implicit expr's '==' operator.  Remove
12095         now-unneeded assignments to asm-flags.  In h8300 case, place
12096         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
12097
12098 2006-01-04  Michael Snyder  <msnyder@redhat.com>
12099
12100         * gdb.base/checkpoint.c: New file.
12101         * gdb.base/checkpoint.exp: New file.
12102         * gdb.base/multi-fork.c: New file.
12103         * gdb.base/multi-fork.exp: New file.
12104         * gdb.base/pi.txt: New file (data for checkpoint.c test).
12105
12106 2006-01-04  Fred Fish  <fnf@specifix.com>
12107
12108         * gdb.base/ptype.c (foo): Add typedef.
12109         (intfoo): Add function.
12110         * gdb.base/ptype1.c: New file.
12111         * gdb.base/ptype.exp: Handle compilation and linking with two
12112         source files.  Test that proper type for "foo" is found based
12113         on source context rather than first match found in symtabs.
12114
12115 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
12116
12117         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
12118         * gdb.asm/openbsd.inc: Indent commands.
12119
12120 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
12121
12122         * gdb.base/freebpcmd.exp: Increase timeout.
12123
12124         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
12125
12126 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
12127
12128         * gdb.base/default.exp: Update check for "show version".
12129
12130 2005-12-09  Randolph Chung  <tausq@debian.org>
12131
12132         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
12133         * gdb.asm/pa64.inc: New file.
12134
12135 2005-12-09  Randolph Chung  <tausq@debian.org>
12136
12137         * gdb.asm/common.inc: Indent commands.
12138         * gdb.asm/asmsrc1.s: Likewise.
12139         * gdb.asm/asmsrc2.s: Likewise.
12140
12141 2005-12-09  Randolph Chung  <tausq@debian.org>
12142
12143         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
12144         (get_addr_of_sym): Remove duplicate print.
12145         (gen_core): xfail hppa*-*-hpux*, update expected output.
12146         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
12147         * gdb.arch/pa64-nullify.s: New file.
12148
12149 2005-12-09  Randolph Chung  <tausq@debian.org>
12150
12151         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
12152
12153 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
12154
12155         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
12156         code generation for these functions.
12157         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
12158         error message.
12159
12160 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
12161
12162         * gdb.base/help.exp (help b, help br, help bre, help brea)
12163         (help break): Update the expected message.
12164
12165 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
12166
12167         * gdb.asm/m68hc11.inc: Setup the data section.
12168         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
12169         script for this test.
12170         (m6812-*-*): Likewise.
12171
12172 2005-11-09  Randolph Chung <tausq@debian.org>
12173
12174         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
12175
12176 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
12177
12178         * gdb.base/break.exp: Fix a comment typo.
12179
12180 2005-11-03  Jim Blandy  <jimb@redhat.com>
12181
12182         Checked in by Elena Zannoni  <ezannoni@redhat.com>
12183
12184         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
12185
12186 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
12187
12188         * gdb.arch/gdb1558.c: Include stdio.h.
12189
12190 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
12191
12192         * gdb.asm/asm-source.exp: Use -e instead of --entry.
12193
12194 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
12195
12196         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
12197
12198 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
12199
12200         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12201         vscr" tests to better match output.
12202
12203 2005-10-12  Jim Blandy  <jimb@redhat.com>
12204
12205         * gdb.base/structs.exp (any): New function.
12206         (test_struct_returns): Don't make any assumptions at all about
12207         what value the function returns when GDB can't set the return
12208         value.
12209
12210 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
12211
12212         * gdb.ada/arrayidx/p.adb: New file.
12213         * gdb.ada/arrayidx.exp: New testcase
12214
12215 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
12216
12217         * gdb.ada/array_return/pck.ads: New file.
12218         * gdb.ada/array_return/pck.adb: New file.
12219         * gdb.ada/array_return/p.adb: New file.
12220         * gdb.ada/array_return.exp: New testcase.
12221
12222 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
12223
12224         * gdb.base/arrayidx.c: New file.
12225         * gdb.base/arrayidx.exp: New testcase.
12226
12227 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
12228
12229         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
12230         frames-invalid and breakpoints-invalid are no longer generated
12231         with level 3 so don't expect them in the output.
12232
12233 2005-09-27  Bob Rossi  <bob@brasko.net>
12234
12235         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
12236         from test.  Escape the | in mi_gdb_test call.
12237         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12238         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12239         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12240         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12241         expected regex's in mi_gdb_test calls.
12242         * lib/mi-support.exp: Remove arbitrary .* from tests.
12243         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12244         Fully anchor GDB/MI expected results in mi_gdb_test.
12245         * lib/gdb.exp (string_to_regexp): Escape the ] character.
12246         * gdb.base/sizeof.exp: Remove escape character. Correct test.
12247
12248 2005-09-26  Paul Brook  <paul@codesourcery.com>
12249
12250         * long_long.exp: Exclude eabi targets from arm FPA float format test.
12251
12252 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
12253
12254         * bfp-test.c: New file.
12255         * bfp-test.exp: New testcase.
12256
12257 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
12258
12259         * gdb.fortran/subarray.exp: New testcase to test the evaluation
12260         of subarray and substring variable.
12261         * gdb.fortran/subarray.f: New source file for the test of subarray
12262         and substring variable evaluation.
12263         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
12264         of string constant.
12265
12266 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
12267
12268         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
12269         copyright dates.
12270
12271 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
12272
12273         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
12274         powerpc altivec' test with an almost identical 'info vector' test.
12275
12276 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
12277
12278         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12279         vscr" tests to match output.
12280
12281 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
12282
12283         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
12284         output.
12285
12286 2005-09-11  Bob Rossi  <bob@brasko.net>
12287
12288         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
12289         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
12290         commands that return an MI output command and an asyncronous MI output
12291         command.
12292         * gdb.mi/mi-console.exp: Ditto.
12293
12294 2005-09-11  Bob Rossi  <bob@brasko.net>
12295
12296         * gdb.mi/mi-var-child.c: Include <string.h>.
12297
12298 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
12299
12300         * killed.exp: Correct gdb_expect syntax.
12301
12302 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
12303
12304         * lib/mi-support.exp (mi_gdb_load): Fix typo.
12305
12306 2005-08-02  Bob Rossi  <bob@brasko.net>
12307
12308         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
12309         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
12310         Change tests to inferior-tty-set/show.
12311         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
12312         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
12313         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
12314         inferior.  Use mi_gdb_test to get GDB and Inferior output.
12315         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
12316         descriptor.
12317         (mi_inferior_tty_name): Add inferior PTY file name.
12318         (mi_gdb_start): Add INFERIOR_PTY parameter.
12319         (mi_gdb_test): Add IPATTERN parameter.
12320
12321 2005-08-02   Bob Rossi  <bob@brasko.net>
12322
12323         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
12324         parameter to mi_gdb_test.
12325         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
12326
12327 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
12328
12329         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
12330         struct_declarations.
12331         * gdb.mi/mi-var-child.exp: Step over the initialization of
12332         struct_declarations.
12333
12334 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
12335
12336         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
12337         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
12338         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
12339         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
12340         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
12341         file.
12342
12343 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
12344
12345         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
12346         (do_children_tests): Assign values to the extra elements.
12347
12348         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
12349         them for tests for "-var-update --no-values" and
12350         "-var-update --all-values".
12351         Add test for "-var-list-children --simple-values".
12352
12353         * gdb.mi/basics.c (callee4): Add integer array D[3]...
12354
12355         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
12356         "-stack-list-locals --simple-values"  Improve doc strings and
12357         comments.
12358
12359 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
12360
12361         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
12362         *-*-openbsd*.
12363         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
12364
12365         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
12366         sigaltsatck'.
12367
12368 2005-07-14  Bob Rossi  <bob@brasko.net>
12369
12370         * gdb.base/default.exp (tty): Changed output of command.
12371         * gdb.base/help.exp (help tty): Ditto.
12372
12373 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
12374
12375         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
12376
12377 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
12378
12379         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
12380         -stack-select-frame without arguments.
12381         (test_stack_frame_listing): Add test for newly implemented command
12382         -stack-info-frame.
12383
12384 2005-07-06  Bob Rossi  <bob@brasko.net>
12385
12386         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
12387         command.
12388         (Copyright): Update copyright.
12389
12390 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
12391
12392         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
12393         tests to evaluate exponentiation expression.
12394
12395 2005-06-29  Andreas Schwab  <schwab@suse.de>
12396
12397         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
12398         main to avoid warnings.
12399
12400         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
12401
12402 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
12403
12404         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
12405         -stack-select-frame without arguments.
12406         (test_stack_frame_listing): Add test for newly implemented command
12407         -stack-info-frame.
12408
12409 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
12410
12411         * gdb.fortran/array-element.f: New file.
12412         * gdb.fortran/array-element.exp: New testcase.
12413
12414 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
12415
12416         * gdb.base/bigcore.exp: Correct checks for systems which can
12417         not dump a large core file.
12418
12419 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
12420
12421         * gdb.base/relocate.c: Add a copyright notice.
12422         (dummy): Remove.
12423         * gdb.base/relocate.exp: Test printing the values of variables
12424         from a relocatable file.
12425
12426 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
12427
12428         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
12429         excess MI output after an error.
12430
12431 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
12432
12433         * gdb.arch/alpha-step.c: New file.
12434         * gdb.arch/alpha-step.exp: New testcase.
12435
12436 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
12437             Dennis Brueni  <dennis@slickedit.com>
12438
12439         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
12440         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
12441         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
12442         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
12443         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12444         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
12445         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
12446
12447 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
12448             Wu Zhou  <woodzltc@cn.ibm.com>
12449
12450         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
12451         IBM's xlc compiler.
12452         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
12453         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
12454
12455 2005-05-13  Jim Blandy  <jimb@redhat.com>
12456
12457         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
12458         calling gdb_suppress_entire_file.
12459         * gdb.base/charset.exp: Same.
12460         * gdb.base/call-rt-st.exp: Same.
12461
12462 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
12463
12464         * lib/gdb.exp (fullname_syntax): Added global regex.
12465         (fullname_syntax_POSIX): Ditto.
12466         (fullname_syntax_UNC): Ditto.
12467         (fullname_syntax_DOS_CASE): Ditto.
12468         (fullname_syntax_DOS): Ditto.
12469         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
12470         fullname_syntax variable to scope and use it.
12471         (test_file_list_exec_source_files): Ditto.
12472         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
12473
12474 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
12475
12476         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
12477
12478 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
12479
12480         * lib/gdb.exp (skip_altivec_tests): New function, based on
12481         check_vmx_hw_available from the GCC testsuite.
12482         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
12483         * lib/gdb.arch/altivec-regs.exp: Likewise.
12484
12485 2005-05-02  Jim Blandy  <jimb@redhat.com>
12486
12487         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
12488         calling gdb_suppress_entire_file.
12489
12490 2005-04-30  Randolph Chung  <tausq@debian.org>
12491
12492         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
12493         Slightly relax "sem_post" name checking.
12494
12495 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
12496
12497         * gdb.base/unload.exp: Use new shared library infrastructure.
12498
12499 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
12500
12501         * gdb.base/so-impl-ld.exp: Use new shared library
12502         infrastructure.
12503
12504 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
12505
12506         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
12507         * gdb.asm/h8300.inc: New file.
12508
12509 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
12510
12511         * gdb.base/shlib-call.exp: Change to use new shared library
12512         infrastructure.
12513
12514 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
12515
12516         * gdb.base/pending.exp: Change to use new shared library
12517         infrastructure.
12518
12519 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
12520
12521         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
12522         use test_compiler_info instead of gcc_compiled, and update copyright.
12523
12524 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
12525
12526         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
12527         shared objects being adjusted and update copyright years.
12528
12529 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
12530
12531         * ChangeLog: Correct some 2003-01-13 dates.
12532         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
12533         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
12534         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
12535         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
12536         gdb.trace/tfind.exp: Update copyright years.
12537
12538 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
12539             Daniel Jacobowitz  <dan@codesourcery.com>
12540
12541         * lib/gdb.exp (gdb_compile): Handle shlib=.
12542         (gdb_compile_shlib): New function.
12543
12544 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
12545
12546         * lib/gdb.exp (test_compiler_info): Give argument a default value.
12547
12548 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
12549
12550         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
12551         gdb.server.
12552         * configure.ac: Likewise.
12553         * configure: Regenerated.
12554         * gdb.gdbserver/Makefile.in: Moved to...
12555         * gdb.server/Makefile.in: ... here.
12556         * gdb.gdbserver/server.c: Moved to...
12557         * gdb.server/server.c: ... here.
12558         * gdb.gdbserver/server-run.exp: Moved to...
12559         * gdb.server/server-run.exp: ... here.
12560
12561 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
12562
12563         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
12564         * configure.ac: Create gdb.gdbserver/Makefile.
12565         * configure: Regenerated.
12566         * lib/gdbserver-support.exp: New file, derived from
12567         config/gdbserver.exp.
12568         * config/gdbserver.exp: Use gdbserver-support.exp.
12569         * gdb.gdbserver/Makefile.in: New file.
12570         * gdb.gdbserver/server.c: New file.
12571         * gdb.gdbserver/server-run.exp: New file.
12572
12573 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
12574
12575         * lib/gdb.exp (test_compiler_info): Return compiler_info
12576         if no arguments are given.
12577
12578 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
12579
12580         * gdb.arch/altivec-abi.exp: Check for compiler and set
12581         use altivec' flag accordingly.
12582         * gdb.arch/altivec-regs.exp: Likewise.
12583
12584 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
12585
12586         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
12587
12588 2005-03-27  Andreas Schwab  <schwab@suse.de>
12589
12590         * gdb.base/bigcore.c (main): Add missing mode argument in open
12591         call.
12592
12593 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
12594
12595         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
12596         downloads.
12597         * config/gdbserver.exp (gdb_load): Likewise.
12598
12599 2005-03-14  Paul Brook  <paul@codesourcery.com>
12600
12601         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
12602         targets.
12603
12604 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
12605
12606         * gdb.dwarf2/dup-psym.S: New file.
12607         * gdb.dwarf2/dup-psym.exp: New testcase.
12608
12609 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
12610
12611         * gdb.ada/exec_changed/first.adb: New file.
12612         * gdb.ada/exec_changed/second.adb: New file.
12613         * gdb.ada/exec_changed.exp: New testcase.
12614
12615 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
12616
12617         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
12618         (A2): New class.
12619         (main): Test operator+.
12620         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
12621         breakpoint test.
12622
12623         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
12624         * gdb.base/signull.exp: Disable if gdb,nosignals.
12625         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
12626         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
12627         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
12628         * gdb.mi/mi2-console.exp: Likewise.
12629         * gdb.trace/collection.exp (run_trace_experiment): Consume the
12630         continue output at start.
12631         (gdb_collect_locals_test): Robustify regexp.
12632         * gdb.trace/passc-dyn.exp: Fix comment typo.
12633         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
12634
12635 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
12636
12637         * gdb.asm/asm-source.exp: Add iq2000 case.
12638         * gdb.asm/iq2000.inc: New file.
12639
12640 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
12641
12642         * gdb.base/command.exp: Change hardcoded value to regular expression.
12643         * gdb.base/float.exp: Add powerpc to the list of targets checked.
12644
12645 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
12646
12647         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
12648         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
12649         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
12650         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
12651         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
12652
12653 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
12654
12655         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
12656         changes.
12657
12658 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
12659
12660         * lib/compiler.c: Add test for IBM's xlc compiler.
12661         * lib/compiler.cc: Likewise.
12662
12663 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
12664
12665         * gdb.ada/fixed_points.exp: Create compilation object directory
12666         before running the test.
12667         * gdb.ada/null_record.exp: Likewise.
12668         * gdb.ada/packed_array.exp: Likewise.
12669         * gdb.ada/start.exp: Likewise.
12670
12671 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
12672
12673         * gdb.ada/packed_array/pa.adb: New file.
12674         * gdb.ada/packed_array.exp: New testcase.
12675
12676 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
12677
12678         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
12679         files.
12680
12681         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
12682         on *-*-openbsd*.  Correctly match whitespace in regukar
12683         expressions.
12684
12685 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
12686
12687         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
12688         PR exp/1821
12689         * gdb.base/gdb1821.c: New test file.
12690         * gdb.base/gdb1821.exp: New test file.
12691
12692 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
12693
12694         * gdb.base/start.c: New file.
12695         * gdb.base/start.exp: New testcase.
12696
12697 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
12698
12699         * gdb.ada/start/dummy.adb: New file.
12700         * gdb.ada/start.exp: New testcase.
12701
12702 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
12703
12704         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
12705         for printing symbols and statistics.
12706         Add test for using relative pathnames in "maint print msymbols" test.
12707         Mark "maint info sections DATA" XFAIL on Cygwin.
12708         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
12709         tests.
12710
12711 2005-02-09  Andreas Schwab  <schwab@suse.de>
12712
12713         Committed by Andrew Cagney  <cagney@gnu.org>
12714         * gdb.base/remotetimeout.exp: New file.
12715
12716 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
12717
12718         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
12719
12720 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
12721
12722         * gdb.ada/gnat_ada.gpr: New file.
12723         * gdb.ada/gnat_ada.gin: Delete, no longer used.
12724         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
12725         * configure.ac: No longer generate gnat_ada.gpr.
12726         * configure: Regenerate.
12727         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
12728         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
12729         * gdb.ada/null_record/bar.ads: Likewise.
12730         * gdb.ada/null_record/bar.adb: Likewise.
12731         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
12732         * gdb.ada/null_record.exp (testdir): New variable.
12733         (testfile): executable is now in testdir subdirectory.
12734         (srcfile): Use full path to the main compilation unit.
12735         * gdb.ada/fixed_points.exp: Same changes as above.
12736
12737 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
12738
12739         * gdb.base/interp.exp: New test.
12740
12741 2005-01-24  Andrew Cagney  <cagney@gnu.org>
12742
12743         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
12744
12745 2005-01-19  Andrew Cagney  <cagney@gnu.org>
12746
12747         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
12748         configure.ac not configure.in.
12749
12750         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
12751         of powerpc*-*-*.
12752         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
12753         * gdb.base/list.exp (test_list_function)
12754         (test_list_filename_and_function): Ditto.
12755         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
12756
12757 2005-01-16  Andrew Cagney  <cagney@gnu.org>
12758
12759         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
12760
12761         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
12762
12763 2005-01-14  Andrew Cagney  <cagney@gnu.org>
12764
12765         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
12766         * gdb.mi/mi2-var-cmd.exp: Ditto.
12767
12768 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
12769
12770         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
12771
12772 2005-01-07  Andrew Cagney  <cagney@gnu.org>
12773
12774         * configure.ac: Rename configure.in, require autoconf 2.59.
12775         * configure: Re-generate.
12776         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
12777         * gdb.stabs/configure: Re-generate.
12778         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
12779         * gdb.hp/configure: Re-generate.
12780         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
12781         autoconf 2.59.
12782         * gdb.hp/gdb.objdbg/configure: Re-generate.
12783         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
12784         autoconf 2.59.
12785         * gdb.hp/gdb.defects/configure: Re-generate.
12786         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
12787         autoconf 2.59.
12788         * gdb.hp/gdb.compat/configure: Re-generate.
12789         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
12790         autoconf 2.59.
12791         * gdb.hp/gdb.base-hp/configure: Re-generate.
12792         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
12793         autoconf 2.59.
12794         * gdb.hp/gdb.aCC/configure: Re-generate.
12795
12796 2004-12-15  Jim Blandy  <jimb@redhat.com>
12797
12798         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
12799         under NPTL when there is debugging info available for libpthread.
12800
12801 2004-12-13  Jerome Guitton  <guitton@gnat.com>
12802
12803         * gdb.ada/fixed_points.c: New file.
12804         * gdb.ada/fixed_points.exp: New file.
12805
12806 2004-12-03  Randolph Chung  <tausq@debian.org>
12807
12808         * gdb.arch/pa-nullify.exp: New file.
12809         * gdb.arch/pa-nullify.s: New file.
12810
12811 2004-11-30  Randolph Chung  <tausq@debian.org>
12812
12813         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
12814         instead of "tbug".  Fix regexp to work properly with gdb_test.
12815
12816 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
12817
12818         * gdb.base/bitfields2.exp: New test.
12819         * gdb.base/bitfields2.c: New file.
12820
12821 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
12822
12823         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
12824
12825 2004-11-16  Randolph Chung  <tausq@debian.org>
12826
12827         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
12828
12829 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
12830
12831         * gdb.threads/threadapply.exp: Correct "macro details" test.
12832
12833 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
12834
12835         * gdb.threads/threadapply.exp: New test.
12836         * gdb.threads/threadapply.c: New file.
12837
12838 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
12839
12840         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
12841         frames.
12842
12843 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
12844
12845         * gdb.base/cursal.exp: New file.
12846         * gdb.base/cursal.c: New file.
12847
12848 2004-11-03  Andrew Cagney  <cagney@gnu.org>
12849
12850         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
12851
12852 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
12853
12854         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
12855         NetBSD/ELF targets.
12856
12857 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
12858
12859         * gdb.threads/bp_in_thread.c: New file, copied from
12860         pthread_cond_wait.c.
12861         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
12862         file, rather than reusing the .c file from another testcase.
12863
12864 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
12865
12866         * gdb.ada/null_record.exp: Check where we stopped after
12867         sending the start command, instead of where the associated
12868         temporary breakpoint was inserted.
12869
12870 2004-10-14  Andrew Cagney  <cagney@gnu.org>
12871
12872         * gdb.mi/gdb701.c (main): Return 0.
12873
12874 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
12875
12876         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
12877
12878 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
12879
12880         * gdb.threads/schedlock.c: Add comment markers to use to find
12881         line numbers.
12882         * gdb.threads/schedlock.exp: Adjust regex to handle the new
12883         comments.
12884         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
12885         breakpoint lines.
12886
12887 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
12888
12889         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
12890
12891 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
12892
12893         * configure.in: Add gdb.dwarf2.
12894         * configure: Regenerated.
12895         * Makefile.in: Add gdb.dwarf2.
12896         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
12897         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
12898         gdb.dwarf2/file1.txt: New files.
12899
12900 2004-10-11  Orjan Friberg  <orjanf@axis.com>
12901
12902         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
12903         of "run", since the latter doesn't work with remote targets.  Adjust
12904         the breakpoint numbering accordingly.
12905         * gdb.threads/pthread_cond_wait.exp: Ditto.
12906
12907 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
12908
12909         * gdb.base/overlays.exp: Update copyright years.
12910
12911 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
12912
12913         * gdb.base/overlays.exp: Disable if target is Linux.
12914
12915 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
12916
12917         * config/gdbserver.exp (gdb_load): Use right filename on remote.
12918
12919 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
12920
12921         * gdb.asm/asm-source.exp: Add m32r-linux target.
12922         * gdb.asm/m32r-linux.inc: New file.
12923
12924 2004-09-24  Andrew Cagney  <cagney@redhat.com>
12925             David Anderson <anderson@redhat.com>
12926
12927         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
12928         command fails, assume things will work.
12929         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
12930         (_GNU_SOURCE): Define.
12931         (print_unsigned, print_hex): Change parameter to "long long".
12932         (print_byte_count): New function, use to print byte counts.
12933         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
12934         O_LARGEFILE.
12935         (main): Compute an upper bound on a corefile in max_core_size.
12936         Limit memory chunk size to max_core_size.  Limit total memory
12937         allocated to max_core_size.
12938
12939 2004-09-23  Andrew Cagney  <cagney@gnu.org>
12940
12941         * gdb.base/bigcore.exp: Replace the code that creates a corefile
12942         from a separate process with code that creates a corefile by
12943         making the inferior dump core.
12944
12945 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
12946
12947         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
12948         block.
12949
12950 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
12951
12952         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
12953         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
12954         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
12955         Likewise.
12956
12957 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
12958
12959         * gdb.java/jprint.exp: New test case for java inferior call.
12960         * gdb.java/jprint.java: Ditto.
12961
12962 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
12963
12964         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
12965
12966 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
12967
12968         * gdb.threads/killed.c: Include <stdlib.h>.
12969         * gdb.threads/pthreads.c: Likewise.
12970
12971 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
12972
12973         * gdb.threads/killed.c: Add copyright notice.
12974
12975 2004-09-10  Jason Molenda  (jmolenda@apple.com)
12976
12977         * gdb.base/define.exp: Two new tests to verify zero space chars
12978         after 'if' and 'while' commands in a user-defined command is correctly
12979         parsed.
12980
12981 2004-09-08  Andrew Cagney  <cagney@gnu.org>
12982
12983         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
12984         delivery test with duplicate at end of file.
12985
12986 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
12987
12988         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
12989
12990 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
12991
12992         * config/hppro.exp: Removed.
12993
12994 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
12995
12996         * config/sparclet.exp: Removed.
12997
12998 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
12999
13000         * config/udi.exp: Removed.
13001
13002 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
13003
13004         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13005         of "exp_continue".
13006         (advancei): Likewise.
13007
13008 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
13009
13010         * gdb.base/unload.exp: Fix so messages aren't duplicated.
13011
13012 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
13013
13014         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
13015         to check for nodebug in executable.
13016         * gdb.gdb/observer.exp (setup_test): Likewise.
13017         * gdb.gdb/selftest.exp (test_with_self): Likewise.
13018         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
13019
13020 2004-09-01  Andrew Cagney  <cagney@gnu.org>
13021
13022         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13023         files.
13024
13025 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
13026
13027         * gdb.base/unload.exp: Fix expected warning message to match
13028         latest format.
13029
13030 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
13031
13032         * gdb.base/call-rt-st.exp: Fix typos.
13033
13034 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
13035
13036         * gdb.threads/thread_check.exp: New testcase.
13037         * gdb.threads/thread_check.c: New testcase.
13038
13039 2004-08-31  Andrew Cagney  <cagney@gnu.org>
13040
13041         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
13042         (skip_to_handler_entry): New procedures.  Test stepping into a
13043         handler when the breakpoint is at the handler's entry point.
13044
13045 2004-08-30  Andrew Cagney  <cagney@gnu.org>
13046
13047         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
13048         gdb/1757.
13049
13050 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
13051
13052         With code from Manoj Iyer <manjo@austin.ibm.com>:
13053         * lib/gdb.exp (gdb_file_cmd): Return more information in the
13054         return value.  Add an arm for "no debugging symbols found".
13055         Change a stray "error" to "perror".
13056         (gdb_run_cmd): Adapt to new return value.
13057         * gdb.base/remote.exp: Adapt to new return value.
13058         * gdb.gdb/complaints.exp: Likewise.
13059         * gdb.gdb/observer.exp: Likewise.
13060         * gdb.gdb/selftest.exp: Likewise.
13061         * gdb.gdb/xfullpath.exp: Likewise.
13062
13063 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
13064
13065         * gdb.threads/bp_in_thread.exp: New testcase.
13066
13067 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
13068
13069         Fix PR testsuite/1735.
13070         * gdb.threads/schedlock.c (thread_function): Add a cast
13071         to suppress a gcc warning.
13072         * gdb.threads/thread-specific.c (thread_function): Likewise.
13073
13074 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13075
13076         * gdb.base/unload.c: Include <stdlib.h>.
13077
13078 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13079
13080         From Paul Gilliam <pgilliam@us.ibm.com>:
13081         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
13082         synchronized after the "return".
13083
13084 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13085
13086         * gdb.mi/basics.c: Include <stdio.h>.
13087         * gdb.mi/pthreads.c: Include <stdlib.h>.
13088         * gdb.mi/var-cmd.c: Include <stdlib.h>.
13089
13090 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13091
13092         * gdb.threads/schedlock.c: Add copyright notice.
13093
13094 2004-08-25  Andrew Cagney  <cagney@gnu.org>
13095
13096         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
13097         (skip_over_handler, breakpoint_over_hander): New test procedures.
13098         (advance, advancei): Add a proper prefix, do not use
13099         rerun_to_main.
13100         * gdb.base/sigstep.c (main): Change to use an infinite loop.
13101
13102 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
13103
13104         * gdb.mi/basics.c: Add copyright notice.
13105         * gdb.mi/var-cmd.c: Add copyright notice.
13106
13107 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13108
13109         * lib/gdb.exp: Remove signed_keyword_not_used.
13110         * lib/compiler.c: Likewise.
13111         * lib/compiler.cc: Likewise.
13112
13113 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13114
13115         * gdb.base/whatis.c: Remove conditional disabling of "signed".
13116         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
13117
13118 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13119
13120         * gdb.base/whatis.c: Add copyright notice.
13121
13122 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
13123
13124         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
13125         it to skip the breakpoints encoded in the inline assembly.
13126
13127 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
13128
13129         * Makefile.in: Add gdb.fortran.
13130
13131 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
13132
13133         * gdb.base/call-sc.exp (test_scalar_returns):
13134         Fix cut-and-paste glitch in "Make fun return now".
13135
13136 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
13137
13138         * configure.in: Add gdb.fortran.
13139         * configure: Regenerate.
13140         * gdb.fortran/Makefile.in: New file.
13141         * lib/gdb.exp (skip_fortran_tests): New procedure.
13142
13143 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
13144
13145         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
13146         reference to bug-gnu@prep.ai.mit.edu.
13147         * gdb.mi/mi-var-child.exp: Likewise.
13148         * gdb.mi/mi-var-cmd.exp: Likewise.
13149         * gdb.mi/mi-var-display.exp: Likewise.
13150         * gdb.mi/mi2-var-block.exp: Likewise.
13151         * gdb.mi/mi2-var-child.exp: Likewise.
13152         * gdb.mi/mi2-var-cmd.exp: Likewise.
13153         * gdb.mi/mi2-var-display.exp: Likewise.
13154
13155 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
13156
13157         * gdb.base/unload.c (main): Make local variable msg const.
13158
13159 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
13160
13161         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
13162         to bug-gnu@prep.ai.mit.edu.
13163         * gdb.mi/mi-disassemble.exp: Likewise.
13164         * gdb.mi/mi-eval.exp: Likewise.
13165         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
13166         default line number.
13167         * gdb.mi/mi-return.exp: Likewise.
13168         * gdb.mi/mi-simplerun.exp: Likewise.
13169         * gdb.mi/mi-stack.exp: Likewise.
13170         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
13171         number with explicit range test.
13172         * gdb.mi/mi-watch.exp: Likewise.
13173         * gdb.mi/mi2-break.exp: Likewise.
13174         * gdb.mi/mi2-cli.exp: Likewise.
13175         * gdb.mi/mi2-disassemble.exp: Likewise.
13176         * gdb.mi/mi2-eval.exp: Likewise.
13177         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
13178         default line number.
13179         * gdb.mi/mi2-return.exp: Likewise.
13180         * gdb.mi/mi2-simplerun.exp: Likewise.
13181         * gdb.mi/mi2-stack.exp: Likewise.
13182         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
13183         number with explicit range test.
13184         * gdb.mi/mi2-watch.exp: Likewise.
13185
13186 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
13187
13188         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
13189         * gdb.cp/m-static.exp: Likewise.
13190         * gdb.cp/rtti.exp: Likewise.
13191
13192 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
13193
13194         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
13195
13196 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
13197
13198         * ChangeLog: Prefix Local Variables with semi-colons and indent
13199         the reference to older ChangeLog files, to fix fontification in
13200         Emacs.
13201
13202 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13203
13204         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
13205         * gdb.mi/mi2-break.exp: Likewise.
13206
13207 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13208
13209         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
13210
13211 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13212
13213         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
13214
13215 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13216
13217         * gdb.cp/classes.exp: Remove unused declarations.  Just let
13218         test names default instead of providing special names.  Remove
13219         extraneous demangler test.
13220
13221 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
13222
13223         * gdb.base/unload.exp: New test for breakpoints in dynamically
13224         loaded libraries.
13225         * gdb.base/unload.c: Ditto.
13226         * gdb.base/unloadshr.c: Ditto.
13227
13228 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
13229
13230         * gdb.cp/classes.exp (test_ptype_class_objects): Call
13231         cp_test_ptype_class.
13232         (test_enums): Likewise.
13233
13234 2004-08-10  Andrew Cagney  <cagney@gnu.org>
13235
13236         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13237         files.
13238
13239 2004-08-10  Andrew Cagney  <cagney@gnu.org>
13240
13241         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13242         init_malloc call.
13243
13244 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
13245
13246         * ChangeLog: Add copyright notice.  The notice is copied
13247         from emacs 21.3 top level ChangeLog.
13248
13249 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13250
13251         * lib/cp-support.exp: New file.
13252         * lib/cp-support.exp (cp_test_type_class): New function.
13253         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13254         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13255         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13256         cp_test_ptype_class.
13257
13258 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13259
13260         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13261         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13262         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
13263         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
13264         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13265         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
13266         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
13267         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
13268         gdb.mi/mi2-watch.exp: Update copyright years.
13269
13270 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
13271
13272         * gdb.base/sigaltstack.exp: Provide proper anchoring.
13273
13274 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13275
13276         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
13277         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
13278         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
13279         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13280         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
13281         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
13282         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
13283         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13284         gdb.mi/mi-watch.exp: Update copyright years.
13285
13286 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13287
13288         PR gdb/1738
13289         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
13290         from a breakpoint with a pending signal.
13291
13292 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13293
13294         PR gdb/1736
13295         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
13296         * gdb.base/sigaltstack.exp (finish_test): Consume output until
13297         the prompt.
13298         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
13299
13300 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13301
13302         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
13303
13304 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13305
13306         PR gdb/1736
13307         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
13308         for i?86-*-linux*.
13309
13310 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13311
13312         * gdb.arch/i386-prologue.exp: Compile without debug information.
13313
13314 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
13315
13316         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
13317         rather than asking gdb to search.
13318
13319 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13320
13321         * gdb.base/gcore.c: Include <string.h>.
13322
13323 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13324
13325         * gdb.base/gcore.c: Add copyright notice.
13326
13327 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13328
13329         * gdb.base/freebpcmd.c: Include <stdio.h>.
13330         * gdb.base/long_long.c: Include <string.h>.
13331         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
13332         * gdb.base/siginfo.c: Include <string.h>.
13333         * gdb.base/sigstep.c: Include <string.h>.
13334
13335 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13336
13337         * gdb.base/complex.c: Include <stdlib.h>.
13338
13339 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13340
13341         * gdb.base/complex.c: Add copyright notice.
13342
13343 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13344
13345         * gdb.base/charset.c: Include <stdlib.h>.
13346
13347 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13348
13349         * gdb.base/auxv.c: Include <stdlib.h>.
13350
13351 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13352
13353         * gdb.base/auxv.c: Add copyright notice.
13354
13355 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13356
13357         * gdb.base/coremaker.c: Add copyright notice.
13358         * gdb.base/coremaker2.c: Add copyright notice.
13359
13360 2004-08-04  Andrew Cagney  <cagney@gnu.org>
13361
13362         * gdb.base/store.exp: Update copyright.
13363         (check_set, up_set, check_struct, up_struct): Add a prefix to test
13364         names, do not import gdb_prompt.
13365
13366 2004-08-01  Andrew Cagney  <cagney@gnu.org>
13367
13368         Fix PR testsuite/1729.
13369         * gdb.base/dump.exp: Add test name to callers of capture_value, do
13370         not use capture_value with value 4.
13371         (capture_value): Add optional test name parameter.
13372         (test_reload_saved_value, test_restore_saved_value): Use $msg as
13373         the prefix, pass to capture_value.
13374
13375 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
13376
13377         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
13378         * gdb.arch/i386-prologue.c (standard): New prototype and function.
13379         (main): Call new function.
13380
13381 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13382
13383         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
13384
13385 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13386
13387         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
13388
13389 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13390
13391         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
13392         Accept more values of vtbl pointer.  Remove some messages
13393         about "obsolete gcc or gdb".
13394
13395 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
13396
13397         * gdb.cp/classes.exp: Accept more varieties of ptype output.
13398
13399 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
13400
13401         * gdb.base/asm-source.exp: Properly convert target board
13402         debug flags from gcc format to binutils format.
13403
13404 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
13405
13406         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
13407         gdb1718".  PR backtrace/1718 partially fixed.
13408
13409 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
13410
13411         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
13412
13413 2004-07-26  Nick Clifton  <nickc@redhat.com>
13414
13415         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
13416         good default value for a specific architecture is available then
13417         set it to that value.  Otherwise default to the -gstabs switch.
13418         Remove the -g... switches from the asm-flags variable.  Allow the
13419         target board info to override the value if it wants to.  Pass the
13420         switch on the assembler command line.
13421
13422 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
13423
13424         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
13425         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
13426         (main): Call new function.
13427
13428 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
13429
13430         Test for PR exp/1715.
13431         * gdb.base/radix.exp: Refactor common procedures.  Make all
13432         test names unique.  Change XFAIL to KFAIL.
13433
13434 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
13435
13436         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
13437         * gdb.ada/gnat_ada.gin: ... to here.
13438         * configure.in: Use gnat_ada.gin.
13439         * configure: Regenerate.
13440
13441 2004-07-20  Andrew Cagney  <cagney@gnu.org>
13442
13443         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
13444         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
13445         XFAILs.  Clean up test messages and comments.  Check backtraces.
13446         Delete re-sync code.
13447
13448 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
13449
13450         Fix PR cli/740.
13451         * gdb.base/annota1.exp: Honor gdb,nosignals.
13452         * gdb.base/annota3.exp: Likewise.
13453
13454 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
13455
13456         * lib/java.exp: Update copyright notice.
13457
13458 2004-07-19  Andrew Cagney  <cagney@gnu.org>
13459
13460         * gdb.base/selftest.exp: Copy file from here ...
13461         * gdb.gdb/selftest.exp: ... to here.
13462
13463 2004-07-16  Andrew Cagney  <cagney@redhat.com>
13464
13465         * lib/insight-support.exp: Delete file.
13466         * lib/java.exp (java_init): Fix copyright.
13467
13468 2004-07-16  Andrew Cagney  <cagney@gnu.org>
13469
13470         * gdb.base/restore.c: Append "prologue" to comments marking the a
13471         function's prologue.
13472         * gdb.base/restore.exp: Update copyright, re-indent.
13473         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
13474         callerN" prefix where needed.  Update patterns that match a
13475         function's prologue.
13476
13477 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
13478
13479         * gdb.base/restore.c: Add copyright notice.
13480
13481 2004-07-16  Andrew Cagney  <cagney@gnu.org>
13482
13483         * gdb.base/logical.exp: Update copyright.
13484         (evaluate): New procedure.  Use to re-implement tests using
13485         several tables.
13486
13487 2004-07-14  Martin Hunt  <hunt@redhat.com>
13488
13489         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
13490         which fixes some problems where init.tcl was not found.
13491
13492 2004-07-13  Andrew Cagney  <cagney@gnu.org>
13493
13494         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
13495         (check_sizeof, check_valueof): Do not include the output in the
13496         test name.  Use gdb_test.
13497         (get_valueof): Use gdb_test_multiple.
13498
13499         * gdb.base/step-test.exp: Update copyright.  Use
13500         gdb_test_multiple.  Ensure that test names do not include
13501         architecture dependent output.
13502
13503         * gdb.gdb/observer.exp: Update copyright.
13504         (setup_test): Use gdb_test_multiple.
13505         (attach_first_observer, attach_second_observer)
13506         (attach_third_observer, detach_first_observer)
13507         (detach_second_observer, detach_third_observer)
13508         (reset_counters, check_counters): Make $message a prefix.
13509         (test_normal_stop_notifications): Add "args" parameter - a list of
13510         init functions to be called.  Make $message a prefix,
13511         (test_observer_normal_stop): Change the message prefixes so that
13512         they are unique, pass the attach / detach procedures to
13513         test_normal_stop_notifications.
13514
13515         * gdb.base/signull.exp (test_segv): Prefix all tests with
13516         "${name}".  Clean up test messages.
13517
13518         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
13519
13520         * gdb.base/ena-dis-br.exp: Update copyright.
13521         (break_at): New function.  Replace send_gdb with gdb_test,
13522         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
13523         ignore count, not stopped at bpt", with KFAIL.
13524
13525 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
13526
13527         * gdb.base/attach.exp: Remove cleanupfile handling.
13528
13529 2004-07-12  Andrew Cagney  <cagney@gnu.org>
13530
13531         * gdb.base/annota1.exp: Cleanup corefile test name.
13532         * gdb.base/annota3.exp: Ditto.
13533
13534 2004-07-12  Andrew Cagney  <cagney@gnu.org>
13535
13536         * gdb.base/signals.exp: Clean up copyright, re-indent.
13537
13538         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
13539         gdb_test and gdb_test_multiple.
13540
13541 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
13542
13543         * gdb.java/jmain.exp: Fix expected line number for main to
13544         break at.  Set XFAIL for break at main test since gcj does not
13545         provide line number info for first statement in main.
13546
13547 2004-07-08  Andrew Cagney  <cagney@gnu.org>
13548
13549         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
13550
13551         * gdb.base/sigbpt.exp: Make the common part of each test name a
13552         prefix instead of suffix.
13553
13554 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
13555
13556         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
13557         test from test_tbreak_creation_and_listing to
13558         test_file_list_exec_source_file
13559         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
13560         Changed name of test from test_tbreak_creation_and_listing to
13561         test_file_list_exec_source_file
13562
13563 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
13564
13565         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
13566         the jmisc() constructor instead of <init>.
13567         * gdb.java/jmisc1.exp: Ditto.
13568
13569 2004-07-07  Andrew Cagney  <cagney@gnu.org>
13570
13571         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
13572         corrupting the PC.
13573
13574 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
13575
13576         * gdb.cp/templates.exp: Accept whitespace change in demangler
13577         output.
13578
13579 2004-07-06  Andrew Cagney  <cagney@gnu.org>
13580
13581         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
13582
13583 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
13584
13585         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
13586         * lib/compiler.cc: Likewise.
13587
13588 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
13589
13590         * lib/compiler.cc: Work around string preprocessing problem
13591         with old hp c++ compiler.
13592         * lib/compiler.c: Likewise.
13593
13594 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
13595
13596         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
13597         directives to conditionalize symbol prefixing.
13598         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
13599         additional_flags handling.  Add underscore prefix for Cygwin.
13600         * gdb.arch/i386-unwind.c: Use preprocessor directives to
13601         conditionalize symbol prefixing.
13602         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
13603         additional_flags handling.  Add underscore prefix for Cygwin.
13604
13605 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
13606
13607         * gdb.base/bigcore.exp: Skip test on Cygwin.
13608
13609 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
13610
13611         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
13612         formats for "info register".  Use gdb_test_multiple.  Fix
13613         the "invalid register" test.
13614
13615 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
13616
13617         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
13618         PID for Cygwin.  Add Cygwin specific strings to check for in some
13619         tests.
13620         (do_attach_tests): Add a test for user interaction when attaching
13621         to a process with no matching symbol table already loaded.
13622
13623 2004-06-26  Andrew Cagney  <cagney@gnu.org>
13624
13625         Test PR java/1567 and PR java/1565.
13626         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
13627         * gdb.java/jmisc2.exp: Delete file.
13628
13629 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
13630
13631         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
13632
13633 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
13634
13635         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
13636         attach process.
13637
13638 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
13639
13640         * gdb.cp/pr-1553.exp: Remove.
13641
13642 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
13643
13644         * gdb.cp/pr-1553.cc: Remove.
13645         * gdb.cp/pr-1553.exp: Disable this test.
13646
13647 2004-06-20  Jim Blandy  <jimb@redhat.com>
13648
13649         Fix PR testsuite/1680.
13650         * gdb.arch/i386-sse.exp: Properly quote curly braces in
13651         regular expressions.
13652
13653 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
13654
13655         Fix PR testsuite/1679.
13656         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
13657         Issue an UNSUPPORTED result instead.
13658
13659 2004-06-18  Jim Blandy  <jimb@redhat.com>
13660
13661         * gdb.base/charset.exp: Only send a control-C if we see a new
13662         prompt and incomplete command.
13663
13664 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
13665
13666         * gdb.cp/pr-574.cc: Add copyright notice.
13667
13668 2004-06-17  Jim Blandy  <jimb@redhat.com>
13669
13670         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
13671         cases where the regexp has no groups; this grabs random text from
13672         the previous test suite, whatever that was.
13673
13674 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
13675
13676         * gdb.cp/printmethod.cc: Add copyright notice.
13677
13678 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
13679
13680         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
13681
13682 2004-06-16  Andrew Cagney  <cagney@gnu.org>
13683
13684         * gdb.base/signull.c: Update copyright.  Include <string.h>.
13685         (bowler): Replace data_pointer with data_read
13686         and data_write cases.  Add code_descriptor case.
13687         (zero, desc): New array and pointer.
13688         (data, code): Change to simple pointers.
13689         * gdb.base/signull.exp: Fix probe pattern matching a function
13690         descriptor SIGSEGV.  Replace data_pointer with data_read and
13691         data_write tests.
13692
13693 2004-06-16  Andrew Cagney  <cagney@gnu.org>
13694
13695         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
13696
13697 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
13698
13699         * gdb.base/long_long.c: Add copyright notice.
13700
13701 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
13702
13703         * gdb.base/long_long.exp: Remove reference to
13704         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
13705         to gdb_breakpoint and gdb_continue_to_breakpoint.
13706
13707 2004-06-14  Jim Blandy  <jimb@redhat.com>
13708
13709         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
13710         endian case.
13711
13712 2004-06-14  Andrew Cagney  <cagney@gnu.org>
13713
13714         * gdb.base/gcore.exp (capture_command_output): Delete the always
13715         passing tests containing inferior values.
13716         * gdb.base/ending-run.exp: Do not include the breakpoint address
13717         in the test message.  Update copyright.
13718         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
13719         size in the test name, use gdb_test_multiple.  Update copyright.
13720
13721 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
13722
13723         * gdb.cp/ref-types.cc: Add copyright notice.
13724
13725 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
13726
13727         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
13728         hp_aCC_compiler.
13729         * lib/compiler.cc: Likewise.
13730         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
13731         'set' commands.  Log diagnostics for other lines.  Set
13732         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
13733
13734 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
13735
13736         * gdb.cp/try_catch.cc: Add copyright notice.
13737
13738 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
13739
13740         * gdb.cp/userdef.cc: Add copyright notice.
13741
13742 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
13743
13744         * gdb.cp/virtfunc.cc: Add copyright notice.
13745
13746 2004-06-11  Randolph Chung  <tausq@debian.org>
13747
13748         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
13749         problem.
13750
13751 2004-06-10  Andrew Cagney  <cagney@gnu.org>
13752
13753         * lib/compiler.cc, lib/compiler.c: Append either
13754         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
13755         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
13756         instead of gcc-3-3.
13757
13758 2004-06-09  Andrew Cagney  <cagney@gnu.org>
13759
13760         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
13761         gdb/1455, bug is specific to "long long" and "double".
13762
13763         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
13764         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
13765         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
13766         fixed.
13767
13768 2004-06-09  Andrew Cagney  <cagney@gnu.org>
13769
13770         * gdb.base/structs.exp (test_struct_returns): Replace
13771         "return_value_unknown" and "finish_value_unknown" by
13772         "return_value_known" and "finish_value_known".  Instead of
13773         "return_value_unknown" iff "finish_value_unknown", check
13774         "return_value_known" implies "finish_value_known".
13775
13776 2004-06-08  Martin Hunt  <hunt@redhat.com>
13777
13778         * gdb.base/float.exp: Add pattern for mips targets.
13779
13780 2004-06-08  Randolph Chung  <tausq@debian.org>
13781
13782         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
13783         message for unknown architectures more clear.
13784
13785 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
13786
13787         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
13788         start the execution of the program.
13789
13790 2004-06-07  Jim Blandy  <jimb@redhat.com>
13791
13792         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
13793         * gdb.arch/i386-cpuid.h: New helper file.
13794
13795 2004-06-07  Randolph Chung  <tausq@debian.org>
13796
13797         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
13798         has started.
13799
13800 2004-06-04  Roland McGrath  <roland@redhat.com>
13801
13802         Fix PR gdb/1647.
13803         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
13804         differently to be robust to output buffering differences.
13805
13806 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
13807
13808         * gdb.threads/pthreads.exp: Update copyright years.
13809         (check_control_c): Change asynchronous 'after' to synchronous.
13810
13811 2004-06-04  Roland McGrath  <roland@redhat.com>
13812
13813         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
13814         next gdb prompt.
13815
13816 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
13817
13818         Fix PR gdb/1636.
13819         * gdb.threads/manythreads.exp: Change asynchronous 'after'
13820         calls to synchronous.
13821
13822 2004-05-26  Jim Blandy  <jimb@redhat.com>
13823
13824         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
13825
13826 2004-05-24  Randolph Chung  <tausq@debian.org>
13827
13828         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
13829         * gdb.asm/pa.inc: New file.
13830
13831 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
13832
13833         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
13834
13835 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
13836             Daniel Jacobowitz  <drow@mvista.com>
13837
13838         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
13839         GDB prompt.
13840
13841 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13842
13843         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
13844         setjmp/longjmp.  Use sigaction instead of signal.
13845
13846 2004-05-19  J. Brobecker  <brobecker@gnat.com>
13847             Michael Snyder  <msnyder@redhat.com>
13848
13849         * gdb.threads/pthread_cond_wait.c: New file.
13850         * gdb.threads/pthread_cond_wait.exp: New testcase.
13851
13852 2004-05-13  Andrew Cagney  <cagney@redhat.com>
13853
13854         * gdb.base/signull.exp, gdb.base/signull.c: New files.
13855         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
13856
13857 2004-05-11  Andrew Cagney  <cagney@redhat.com>
13858
13859         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
13860         fixed but revealed gdb/1639.
13861
13862 2004-05-10  Andrew Cagney  <cagney@redhat.com>
13863
13864         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
13865         func1" and "next to 2nd alarm", kernel bug avoided.
13866
13867 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
13868
13869         PR external/1568
13870         * gdb.base/bigcore.exp: Check the size of the dumped core file.
13871         XFAIL if it is smaller than bytes_allocated.
13872         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
13873         (main): Make chunks_allocated unsigned.  Correct comment.
13874
13875 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
13876
13877         * gdb.arch/powerpc-aix-prologue.c: New file.
13878         * gdb.arch/powerpc-aix-prologue.exp: New file.
13879
13880 2004-05-07  Jim Blandy  <jimb@redhat.com>
13881
13882         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
13883         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
13884
13885 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
13886
13887         * gdb.base/sep.exp: No longer setup_kfail when the program was
13888         built with dwarf2.
13889
13890 2004-05-05  Jim Ingham  <jingham@apple.com>
13891
13892         * gdb.base/pending.exp: Make sure pending breakpoints
13893         preserve the ignore count.
13894
13895 2004-04-27  Jerome Guitton  <guitton@gnat.com>
13896
13897         * i386-prologue.exp: Add testcase for jump instruction as first
13898         instruction of the real code.
13899         * i386-prologue.c (jump_at_beginning): New function.
13900
13901 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
13902
13903         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
13904         x86_64-*-*.
13905
13906 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
13907
13908         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
13909         i*86-*-*.
13910
13911 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
13912
13913         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
13914         expression that checks the return type.
13915
13916 2004-04-23  Andrew Cagney  <cagney@redhat.com>
13917
13918         * gdb.base/call-sc.exp: New test of scalar call/return values.
13919         * gdb.base/call-sc.c: Ditto.
13920
13921 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13922
13923         * gdb.threads/manythreads.c: Reduce thread stack size.
13924
13925 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
13926
13927         * gdb.threads/manythreads.c: Add copyright notice.
13928
13929 2004-04-23  Andrew Cagney  <cagney@redhat.com>
13930
13931         * gdb.base/siginfo.exp: Better handle step out of signal.
13932         * gdb.base/sigstep.exp: Ditto.
13933
13934 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
13935             Daniel Jacobowitz  <drow@mvista.com>
13936
13937         * gdb.threads/manythreads.c: New testcase.
13938         * gdb.threads/manythreads.exp: Ditto.
13939
13940 2004-04-22  Jim Blandy  <jimb@redhat.com>
13941
13942         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
13943         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
13944
13945 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
13946
13947         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
13948
13949 2004-04-21  Andrew Cagney  <cagney@redhat.com>
13950
13951         * gdb.base/sigstep.c: New file.
13952         * gdb.base/sigstep.exp: New file.
13953
13954 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
13955
13956         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
13957         call to observer_notify_normal_stop.
13958
13959 2004-04-15  Andrew Cagney  <cagney@redhat.com>
13960
13961         * gdb.base/siginfo.c: New file.
13962         * gdb.base/siginfo.exp: New file.
13963
13964 2004-04-12  J. Brobecker  <brobecker@gnat.com>
13965
13966         * gdb.base/sep.exp: Fix typo in comment.
13967
13968 2004-04-12  J. Brobecker  <brobecker@gnat.com>
13969
13970         * gdb.base/sep.c: New file.
13971         * gdb.base/sep-proc.c: New file.
13972         * gdb.base/sep.exp: New testcase.
13973
13974 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
13975
13976         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
13977         support.
13978
13979 2004-04-05  Andrew Cagney  <cagney@redhat.com>
13980
13981         * gdb.base/sigaltstack.c: New file.
13982         * gdb.base/sigaltstack.exp: New file.
13983
13984 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
13985
13986         * gdb.base/foll-fork.exp: Update the expected output for
13987         "help set follow-fork-mode", to match a change that was made
13988         to the help of this variable on 2004-01-13.
13989
13990 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
13991
13992         * lib/ada.exp: Add copyright notice.
13993         * bar.ads: Likewise.
13994         * bar.adb: Likewise.
13995         * null_record.adb: Likewise.
13996         * null_record.exp: Likewise.
13997         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
13998
13999 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14000
14001         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14002         * configure: Regenerate.
14003
14004 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14005
14006         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
14007         to build the application. Remove the message printed when in
14008         verbose mode, redundant with the UNSUPPORTED message above.
14009
14010 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14011
14012         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
14013         * gdb.ada (null_record.exp): New testcase.
14014
14015 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14016
14017         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
14018
14019 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14020
14021         * gdb.ada: New subdirectory.
14022         * gdb.ada/Makefile.in: New file.
14023         * gdb.ada/gnat_ada.gpr.in: New file.
14024
14025 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14026
14027         * lib/ada.exp: New file.
14028
14029 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
14030
14031         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14032         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
14033
14034 2004-03-22  Andrew Cagney  <cagney@redhat.com>
14035
14036         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
14037         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
14038         Problem identified by Ulrich Weigand.
14039
14040 2004-03-17  David Carlton  <carlton@kealia.com>
14041
14042         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
14043         PR c++/826.
14044
14045 2004-03-16  Roland McGrath  <roland@redhat.com>
14046
14047         * gdb.base/auxv.exp: New file.
14048         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
14049
14050 2004-03-12  David Carlton  <carlton@kealia.com>
14051
14052         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
14053         * gdb.cp/pr-1553.cc: Ditto.
14054         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
14055         pass branch.
14056
14057 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
14058
14059         * gdb.cp/templates.exp: Accept more template types.
14060
14061 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14062
14063         From Corinna Vinschen with modifications.
14064         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
14065         local variable obj_with_enum.
14066         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
14067         results with obj_with_enum.
14068
14069 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14070
14071         * gdb.cp/classes.cc: New file, copied from misc.cc.
14072         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
14073
14074 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14075
14076         * gdb.cp/misc.cc: Add copyright notice.
14077
14078 2004-03-05  David Carlton  <carlton@kealia.com>
14079
14080         * gdb.cp/rtti.exp: Add 'print *obj3' test.
14081         * gdb.cp/rtti.h: Update copyright.
14082         (namespace n2::n3): New.
14083         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
14084         (n2::n3::func3): New.
14085         (main): Call n2::n3::func3.
14086         * gdb.cp/rtti2.cc: Update copyright.
14087         (n2::create3): New.
14088
14089 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
14090
14091         * gdb.asm/openbsd.inc: Fix typo.
14092
14093 2004-03-03  Fred Fish  <fnf@redhat.com>
14094
14095         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
14096         "val" instead of unused "size".  Update copyright year.
14097
14098 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
14099
14100         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
14101         to use unsigned char.
14102         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
14103         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
14104
14105 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
14106
14107         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
14108         line of output.
14109
14110 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
14111
14112         * gdb.base/relocate.c (dummy): Initialize.
14113
14114 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
14115
14116         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
14117         a breakpoint at exit.
14118
14119 2004-02-27  Fred Fish  <fnf@redhat.com>
14120
14121         * gdb.base/chng-syms.exp: Add expect condition to match failing
14122         case that isn't a timeout.
14123
14124 2004-02-27  Andrew Cagney  <cagney@redhat.com>
14125
14126         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
14127         support.
14128
14129 2004-02-26  Fred Fish  <fnf@redhat.com>
14130
14131         * gdb.arch/gdb1431.c: Remove.
14132         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
14133         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
14134         of "until" incorrectly.
14135
14136 2004-02-26  J. Brobecker  <brobecker@gnat.com>
14137
14138         * gdb.cp/class2.cc (empty): New class.
14139         (refer): New function.
14140         (main): Declare an object of type empty and use it.
14141         * gdb.cp/class2.exp: Print the value of an object of type empty.
14142
14143 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
14144
14145         * gdb.base/langs.exp: Update query string to match the
14146         new nquery format used for pending breakpoints.
14147
14148 2004-02-26  Andrew Cagney  <cagney@redhat.com>
14149
14150         Fix PR i18n/1570.
14151         * gdb.base/charset.c: Update copyright notice.
14152         (main, init_string): Remove the escape character '\e' tests.
14153         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
14154         * gdb.base/charset.exp (valid_host_charset): Ditto.
14155         * gdb.base/setvar.exp: Ditto.
14156
14157 2004-02-24  Andrew Cagney  <cagney@redhat.com>
14158
14159         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
14160         mmapped data in core file" PASS and FAIL messages consistent.
14161
14162         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
14163         setting a breakpoint.  Work around PR java/1565.
14164
14165 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
14166
14167         * lib/gdb.exp (gdb_breakpoint): Update query string to match
14168         new nquery format.
14169         * gdb.base/pending.exp: Ditto.
14170
14171 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
14172
14173         * configure.in: Run stabs tests on *BSD.
14174         * configure: Regenerated.
14175
14176 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
14177
14178         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
14179
14180 2004-02-20  Fred Fish  <fnf@redhat.com>
14181
14182         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
14183         blank in test for "returns short", for consistency with other
14184         "returns xxx" tests.  Update copyright year.
14185
14186 2004-02-19  Fred Fish  <fnf@redhat.com>
14187
14188         New testcase for PR breakpoint/1558.
14189         * gdb.arch/gdb1558.exp: New file.
14190         * gdb.arch/gdb1558.c: New file.
14191
14192 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
14193
14194         * gdb.base/nodebug.exp: Fix typo.
14195
14196 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14197
14198         Committed by Jim Blandy  <jimb@redhat.com>.
14199
14200         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
14201
14202         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
14203
14204         * gdb.base/float.exp: Support s390*-*-* targets.
14205
14206 2004-02-17  Adam Fedor  <fedor@gnu.org>
14207
14208         * gdb.base/gdb1555.exp: New file.
14209         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
14210
14211 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
14212
14213         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
14214
14215 2004-02-16  Fred Fish  <fnf@redhat.com>
14216
14217         * gdb.arch/gdb1291.c: Remove
14218         * gdb.arch/gdb1291.s: New test input file.
14219         * gdb.arch/gdb1291.exp: Expand test to check case that should not
14220         fail.  Test for correct result, known incorrect result, other
14221         failures and timeouts.
14222
14223 2004-02-16  Andrew Cagney  <cagney@redhat.com>
14224
14225         * gdb.base/bigcore.exp: New file.
14226         * gdb.base/bigcore.c: New file.
14227
14228 2004-02-13  Andrew Cagney  <cagney@redhat.com>
14229
14230         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14231         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14232         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14233         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14234         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14235         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14236         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14237         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14238         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14239         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14240
14241 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
14242
14243         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14244         executed is an alloc instruction.
14245
14246 2004-02-11  David Carlton  <carlton@kealia.com>
14247
14248         * gdb.cp/breakpoint.exp: New.
14249         * gdb.cp/breakpoint.cc: New.
14250
14251 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
14252
14253         Partial fix for PR gdb/1543.
14254         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14255         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14256         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14257         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14258         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14259         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14260         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14261         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14262         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
14263         to bug-gdb@prep.ai.mit.edu .
14264         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
14265         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
14266         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
14267         Likewise.
14268
14269 2004-02-10  Andrew Cagney  <cagney@redhat.com>
14270
14271         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
14272         using gdb_internal_error_resync.
14273
14274 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
14275
14276         * gdb.threads/thread-specific.exp: Stop early if no threads are
14277         found.
14278
14279 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
14280
14281         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14282
14283 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
14284
14285         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
14286         breakpoints.
14287
14288 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
14289
14290         * config/sim.exp (gdb_load): Handle $arg == "".
14291         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
14292         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
14293
14294 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
14295
14296         * gdb.base/maint.exp: Update test to reflect
14297          obstack changes.
14298
14299 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
14300
14301         * gdb.base/pendshr.c (pendfunc): New function that calls
14302         pendfunc1.
14303         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
14304
14305 2004-02-04  Fred Fish  <fnf@redhat.com>
14306
14307         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
14308         function symbols and update copyright years.
14309         * gdb.arch/gdb1291.c: Ditto.
14310
14311 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14312
14313         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
14314
14315 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14316
14317         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14318
14319 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14320
14321         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
14322
14323 2004-02-02  Fred Fish  <fnf@redhat.com>
14324
14325         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
14326         remote targets.  Update copyright years.
14327
14328 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
14329
14330         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
14331         support.
14332         * gdb.base/langs.exp: Fix test which attempts to create
14333         breakpoint on non-existent function to handle new pending
14334         support.
14335         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14336         a breakpoint.
14337         * gdb.base/pending.exp: New test.
14338         * gdb.base/pending.c: New file.
14339         * gdb.base/pendshr.c: Ditto.
14340
14341 2004-02-02  David Carlton  <carlton@kealia.com>
14342
14343         * gdb.cp/overload.exp: Add overloadNamespace tests.
14344         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
14345         (overloadNamespace, XXX): New.
14346         (main): Call XXX::marker2.
14347
14348 2004-02-01  Fred Fish  <fnf@redhat.com>
14349
14350         * gdb.base/dump.exp: Use runto_main instead of "runto main".
14351         * gdb.base/finish.exp: Ditto.
14352         * gdb.base/gcore.exp: Ditto.
14353         * gdb.base/huge.exp: Ditto.
14354         * gdb.base/info-proc.exp: Ditto.
14355         * gdb.base/return2.exp: Ditto.
14356         * gdb.threads/gcore-thread.exp: Ditto.
14357
14358 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14359
14360         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
14361
14362 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
14363
14364         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
14365         that opening the file succeeds on OpenBSD.
14366
14367 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14368
14369         * gdb.threads/thread-specific.c: New file.
14370         * gdb.threads/threads-specific.exp: New test script.
14371         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
14372         to expect_out.
14373
14374 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
14375
14376         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
14377         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
14378         only on the "print_small_structs from print_long_arg_list" test.
14379
14380 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14381
14382         * gdb.base/completion.exp: Kill a stray backslash.
14383
14384         From Jim Ingham <jingham@apple.com>:
14385         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
14386         agrees with the result from sending a tab.
14387
14388 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
14389
14390         * gdb.base/chng-syms.exp: Remove stray newline.
14391
14392 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
14393
14394         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
14395         *-*-openbsd*.
14396         * gdb.asm/openbsd.inc: New file.
14397
14398 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
14399
14400         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
14401         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
14402         *-*solaris2*.  Remove commented out default settings for
14403         asm-flags.  Replace gdb_compile with target_link.
14404
14405 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
14406
14407         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
14408         for all tests.  Remove old hp-ux and cygnus xfail cases.
14409
14410 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
14411
14412         * gdb.base/chng-syms.exp: New file.
14413         * gdb.base/chng-syms.c: New file.
14414
14415 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
14416
14417         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
14418         Provide arms for current output in all my configurations.
14419
14420 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
14421
14422         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
14423         * lib/compiler.cc: Likewise.
14424         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
14425         get the right preprocessor.  Eval the output directly.  Remove
14426         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
14427         hp_f77_compiler and hp_f90_compiler completely.
14428         (gdb_preprocess): Delete.
14429         (get_compiler): Delete.
14430
14431 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
14432
14433         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
14434         <string.h>.
14435
14436 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
14437
14438         * gdb.mi/mi-stack.exp: Update copyright.
14439
14440 2004-01-23  David Carlton  <carlton@kealia.com>
14441
14442         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
14443         test for cp_lookup_transparent_type.
14444         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
14445         call them.
14446
14447 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
14448
14449         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
14450         after -var-update.
14451
14452 2004-01-23  David Carlton  <carlton@kealia.com>
14453
14454         * gdb.cp/namespace.cc (C::ensureRefs): New.
14455         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
14456
14457 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
14458
14459         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
14460         case "-stack-list-locals 2".
14461         * gdb.mi/mi-var-child.exp: Test for case
14462         "-var-list-children --all-values NAME".
14463
14464 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
14465
14466         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
14467
14468 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
14469
14470         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
14471         used with gdb_test_multiple.
14472
14473         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
14474         read at address 0.  This fixes PR testsuite/1504.
14475
14476 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
14477
14478         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
14479         Remove downloading, guessing the host executable, the calls to
14480         gdb_file_cmd and gdb_target_cmd, and "load" support.
14481         (infer_host_exec): New function broken out from gdb_load.
14482         (gdb_load): New wrapper for gdbserver_gdb_load.
14483         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
14484         gdb_target_cmd.  Use -target-select.
14485         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
14486         Download binaries to the host.  Clear last_mi_remote_file when
14487         we load a new binary.
14488         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
14489         call gdbserver_gdb_load and mi_gdb_target_cmd.
14490
14491 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
14492
14493         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
14494         type patterns.
14495
14496 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
14497
14498         * gdb.cp/templates.exp: Fix typo in test name of
14499         "print Foo<volatile char*>::foo".
14500
14501 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
14502
14503         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
14504
14505 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
14506
14507         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
14508         (clean mostlyclean): Remove empty rm.
14509
14510 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
14511
14512         * gdb.base/setvar.exp: Add copyright years.
14513
14514 2004-01-14  David Carlton  <carlton@bactrian.org>
14515
14516         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
14517         PR c++/1511 and update coment.
14518         * gdb.cp/templates.exp: Update patterns to match current output.
14519         If changes involve something other than whitespace, KFAIL
14520         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
14521
14522 2004-01-14  David Carlton  <carlton@kealia.com>
14523
14524         * gdb.cp/namespace.exp: Add tests involving classes defined within
14525         namespaces.
14526         * gdb.cp/namespace.cc (C::CClass): New.
14527         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
14528
14529 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
14530
14531         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
14532         what debug info we have. Print a better message if something goes
14533         wrong while producing the separate debug info file.
14534
14535 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
14536
14537         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
14538
14539 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
14540
14541         * gdb.base/callfuncs.c: Add copyright notice.
14542
14543 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
14544
14545         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
14546         inheritance.  PR gdb/1498, PR gcc/13539.
14547
14548 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
14549
14550          * gdb.threads/gcore-thread.exp: Prefix name of binary with
14551          test specific name.
14552          * gdb.mi/gdb669.exp: Ditto.
14553          * gdb.mi/mi-pthreads.exp: Ditto.
14554          * gdb.mi/mi1-pthreads.exp: Ditto.
14555          * gdb.mi/mi2-pthreads.exp: Ditto.
14556
14557 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
14558
14559         * gdb.cp/member-ptr.cc: Add copyright notice.
14560
14561 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
14562
14563         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
14564         some patterns for recent versions of gcc and hpacc.  Delete
14565         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
14566         Delete tests that access a NULL pointer-to-member-data.  This
14567         script is still disabled for gcc.
14568
14569 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
14570
14571         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
14572         escaped correctly.
14573
14574 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
14575
14576         * gdb.base/sepdebug.exp: New file.
14577         * gdb.base/sepdebug.c: New file.
14578         * lib/gdb.exp (separate_debug_filename): New procedure.
14579         (gdb_gnu_strip_debug): New procedure.
14580
14581 2004-01-12  Andrew Cagney  <cagney@redhat.com>
14582
14583         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
14584         * gdb.mi/ChangeLog-1999-2003: New file.
14585
14586 2004-01-12  Andrew Cagney  <cagney@redhat.com>
14587
14588         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
14589         "Renaming a directory to a non-empty directory returns ENOTEMPTY
14590         or EEXIST", treat EBUSY as an XFAIL.
14591
14592 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
14593
14594         * gdb.base/scope.exp: Remove obsolete setup_xfail for
14595         hp_cc_compiler.
14596
14597 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
14598
14599         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
14600         decorations.
14601
14602 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
14603
14604         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
14605         and "(aCC)" decorations.  Remove obsolete doco about old
14606         test results.
14607
14608 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
14609
14610         * gdb.cp/exception.exp: Fix typo in doco.
14611
14612 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
14613
14614         * gdb.base/gdb1476.exp: Fix typo.
14615
14616 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
14617
14618         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
14619         file.
14620
14621 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
14622
14623         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
14624         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
14625         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
14626         for recent version of gdb.  Delete second half, which was a copy
14627         of the first half with different build flags.  This test is
14628         still disabled because it is still not ready for production.
14629
14630 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
14631
14632         * gdb.cp/exception.cc: Add copyright notice.
14633         * gdb.cp/exception.exp: Add a notice that this file is broken
14634         because of line number changes caused by addition of copyright
14635         notice.
14636
14637 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
14638
14639         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
14640         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
14641
14642 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
14643
14644         * gdb.cp/classes.exp: Accept gnu abi 2.
14645         * gdb.cp/derivation.exp: Likewise.
14646         * gdb.cp/overload.exp: Likewise.
14647         * gdb.cp/virtfunc.exp: Likewise.
14648
14649 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
14650
14651         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
14652         semicolon after end of function.
14653
14654 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14655
14656         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
14657         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
14658         boilerplate code for compiling and running the program under
14659         test.  Add some string method tests.
14660
14661 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14662
14663         * gdb.cp/bs15503.cc: Add copyright notice.
14664         * gdb.cp/bs15503.exp: Adjust line number.
14665
14666 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14667
14668         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
14669         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
14670
14671 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14672
14673         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
14674         hp_cc_compiler.
14675
14676 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14677
14678         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
14679         * gdb.cp/ctti.exp: Use the marker instead of "next".
14680         With gcc, run further before bailing.
14681
14682 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14683
14684         * gdb.cp/cttiadd.cc: Add copyright notice.
14685         * gdb.cp/cttiadd1.cc: Likewise.
14686         * gdb.cp/cttiadd2.cc: Likewise.
14687         * gdb.cp/cttiadd3.cc: Likewise.
14688
14689 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14690
14691         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
14692         Use gdb_test, gdb_test_multiple.  Use floating-point values that
14693         have exact representations in IEEE-ish formats.
14694
14695 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14696
14697         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
14698         compilers.  Delete duplicate call to get_compiler_info.
14699         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
14700         * gdb.base/volatile.exp: Likewise.
14701
14702 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
14703
14704         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
14705         memory at address 0.
14706
14707 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14708
14709         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
14710         to test for hp-ux assembler.  Fix copyright years.
14711
14712 2004-01-07  Andrew Cagney  <cagney@redhat.com>
14713
14714         * gdb.base/fileio.c (strerrno): Add "EBUSY".
14715
14716 2004-01-07  Andrew Cagney  <cagney@redhat.com>
14717
14718         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
14719         when creating the read-only file.  From analysis by Roland McGrath
14720         and Elena Zannoni.
14721
14722 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
14723
14724         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
14725
14726 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
14727
14728         * gdb.base/cvexpr.c: Be type-safe with function pointers and
14729         data pointers.
14730
14731 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
14732
14733         * gdb.cp/m-static.exp: Compile one source file at a time.
14734         Delete unused call to get_compiler_info.
14735
14736 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
14737
14738         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
14739         * gdb.base/call-rt-st.exp: Likewise.
14740         * gdb.base/nodebug.exp: Likewise.
14741         * gdb.base/volatile.exp: Likewise.
14742         * gdb.cp/ref-types.exp: Likewise.
14743         * gdb.cp/templates.exp: Likewise.
14744
14745 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
14746
14747         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
14748
14749 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
14750
14751         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
14752         hppa*-hp-hpux*.
14753
14754 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
14755
14756         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14757         x86_64-*-*.
14758
14759         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14760         sparc64-*-* and sparc*-solaris2*.
14761
14762 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
14763
14764         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
14765         return ${tests}" test.  The ${tests} already mentions the
14766         filename.
14767
14768 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
14769
14770         * gdb.cp/local.exp: Accept gcc abi 2.
14771
14772 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
14773
14774         * gdb.cp/templates.exp: Accept gcc abi 2.
14775
14776 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
14777
14778         * lib/compiler.cc: Remove supports_template_debugging.
14779         * gdb.cp/templates.exp: Do not test supports_template_debugging.
14780
14781 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
14782
14783         * gdb.cp/namespace.exp: Accept gcc abi 2.
14784
14785 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
14786
14787         * gdb.cp/method.exp: Accept gcc abi 2.
14788
14789 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
14790
14791         * gdb.cp/classes.exp: Generate identical results as old version.
14792         * gdb.cp/derivation.exp: Likewise.
14793         * gdb.cp/overload.exp: Likewise.
14794         * gdb.cp/virtfunc.exp: Likewise.
14795
14796 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
14797
14798         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
14799         mysterious bug with sourceware version of expect.
14800
14801 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
14802
14803         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
14804         current versions of gcc, including gcc abi 2.  Remove gratuitous
14805         restart of test program.  Use gdb_test_multiple and gdb_test for
14806         all tests.  Add patterns to xfail missing "const" in "const char *"
14807         and kfail PR gdb/1155.
14808
14809 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
14810
14811         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
14812         current versions of gcc, including gcc abi 2.  Remove gratuitous
14813         restart of test program.  Use gdb_test_multiple and gdb_test for
14814         all tests.  Add patterns to kfail PR gdb/1498.
14815
14816 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
14817
14818         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
14819         current versions of gcc, including gcc abi 2.  Use "breakpoint"
14820         and "continue" instead of restarting the target program.  Use
14821         gdb_test_multiple and gdb_test for all tests.
14822
14823 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
14824
14825         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
14826         for *-*-solaris2*.
14827
14828 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
14829
14830         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
14831         current versions of gcc, including gcc abi 2.  Use "breakpoint"
14832         and "continue" instead of restarting the target program several
14833         times.  Use gdb_test_multiple and gdb_test for all tests.
14834
14835 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
14836
14837         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
14838         source files.
14839
14840 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
14841
14842         * gdb.base/environ.exp: Handle compiling test case from multiple
14843         source files.
14844
14845 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
14846
14847         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
14848
14849 2003-12-17  Jim Blandy  <jimb@redhat.com>
14850
14851         * gdb.base/freebpcmd.c: Add copyright notice.
14852
14853         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
14854
14855 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
14856
14857         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
14858
14859 2003-12-13  Jim Blandy  <jimb@redhat.com>
14860
14861         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
14862
14863 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
14864
14865         * gdb.asm/frv.inc: New file.
14866         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
14867
14868 2003-12-09  Fred Fish  <fnf@redhat.com>
14869
14870         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
14871         functions to break1.c and leave prototypes behind.  Add more
14872         "set breakpoint NN here" comments.
14873         * gdb.base/break1.c: New file.
14874
14875         * gdb.base/break.exp: Handle compiling test case from multiple
14876         source files and change source file references as needed.
14877         * gdb.base/completion.exp: Ditto.
14878         * gdb.base/condbreak.exp: Ditto.
14879         * gdb.base/define.exp: Ditto.
14880         * gdb.base/ena-dis-br.exp: Ditto.
14881         * gdb.base/info-proc.exp: Ditto.
14882         * gdb.base/maint.exp: Ditto.
14883         * gdb.base/until.exp: Ditto.
14884
14885         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
14886         hardcoded line numbers.
14887         * gdb.base/define.exp: Ditto.
14888         * gdb.base/ena-dis-br.exp: Ditto.
14889         * gdb.base/maint.exp: Ditto.
14890         * gdb.base/until.exp: Ditto.
14891
14892         * gdb.base/completion.exp: Use "break1" for completion tests since
14893         "break" is no longer a unique prefix.
14894
14895 2003-12-06  Andrew Cagney  <cagney@redhat.com>
14896
14897         * gdb.base/structs.exp (test_struct_returns): When applicable, set
14898         "return_value_unimplemented".  When an unimplemented struct return
14899         architecture, report incorrect values as a KFAIL
14900
14901 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
14902
14903         * gdb.cp/rtti.exp: Accept new wording of warning from
14904         cp_lookup_rtti_type.
14905
14906 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
14907
14908         Partial fix for PR testsuite/1456.
14909         * gdb.base/scope.exp (test_at_main): Replace references to
14910         gcc_compiled with calls to test_compiler_info.
14911         (test_at_foo): Likewise.
14912         (test_at_bar): Likewise.
14913
14914 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
14915
14916         Partial fix for PR testsuite/1456.
14917         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
14918         to test_compiler_info.
14919
14920 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
14921
14922         * gdb.base/so-impl-ld.exp: Update copyright notice.
14923
14924 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
14925
14926         Partial fix for PR testsuite/1456.
14927         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
14928         to test_compiler_info.
14929
14930 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
14931
14932         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
14933         from current versions of gdb.  Clean up regular expressions.
14934         Delete redundant timeout case.
14935
14936 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
14937
14938         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
14939         from current versions of gdb.  Clean up regular expressions.
14940         Delete redundant timeout case.
14941
14942 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
14943
14944         Partial fix for PR testsuite/1456.
14945         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
14946         gcc_compiled with call to test_compiler_info.
14947
14948 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
14949
14950         Partial fix for PR testsuite/1456.
14951         * gdb.base/list.exp (test_list_function): Delete unused declaration
14952         of gcc_compiled.
14953
14954 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
14955
14956         Partial fix for PR testsuite/1456.
14957         * gdb.base/complex.exp: Replace reference to gcc_compiled with
14958         call to test_compiler_info.
14959
14960 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
14961
14962         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
14963         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
14964         it to create the appropriate note.inc.
14965         * gdb.asm/asmsrc1.s: Include "note.inc".
14966         * gdb.asm/netbsd.inc: New file.
14967         * gdb.asm/empty.inc: New file.
14968
14969 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
14970
14971         Partial fix for PR testsuite/1456.
14972         * gdb.base/constvars.exp: Replace references to gcc_compiled with
14973         calls to test_compiler_info.
14974
14975 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
14976
14977         Partial fix for PR testsuite/1456.
14978         * gdb.base/volatile.exp: Replace references to gcc_compiled with
14979         calls to test_compiler_info.
14980
14981 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
14982
14983         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
14984         pattern for the KFAILs.
14985
14986 2003-11-25  Adam Fedor  <fedor@gnu.org>
14987
14988         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
14989         * gdb.objc/objcdecode.m: New file.
14990
14991 2003-11-25  Adam Fedor  <fedor@gnu.org>
14992
14993         * gdb.objc/nondebug.exp: Test for PR objc/1236.
14994         * gdb.objc/nondebug.m: New file.
14995
14996 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
14997
14998         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14999         NetBSD as it does on FreeBSD.  Modelled on a similar change by
15000         Mark Kettenis on 2003-05-30.
15001         (link-flags): Set to "--entry _start" regardless of target.
15002         Special linker flags are to be appended to $link-flags.
15003         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15004
15005 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15006
15007         * gdb.cp/method.exp: Accept output of new demangler.
15008
15009 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15010
15011         * gdb/class2.exp: New file.
15012         * gdb/class2.cc: New file.
15013
15014 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15015
15016         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
15017         of new demangler.
15018
15019 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
15020
15021         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
15022         of gdb_test "run".
15023
15024 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
15025
15026         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
15027         "continue" into "run".
15028
15029 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
15030
15031         Partial fix for PR testsuite/1456.
15032         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
15033         call to test_compiler_info.
15034         * gdb.cp/ctti.exp: Likewise.
15035         * gdb.cp/derivation.exp: Likewise.
15036         * gdb.cp/member-ptr.exp: Likewise.
15037         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
15038         reference to gcc_compiled.
15039
15040 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
15041
15042         Fix PR testsuite/1463.
15043         * gdb.base/structs.exp (start_structs_test): Call
15044         get_debug_format before using the debug format.
15045
15046 2003-11-22  Andrew Cagney  <cagney@redhat.com>
15047
15048         * lib/gdb.exp (gdb_test_multiple): Add simple example.
15049         * gdb.base/structs.exp: Use gdb_test_multiple.
15050
15051 2003-11-20  Andrew Cagney  <cagney@redhat.com>
15052
15053         * gdb.base/structs.exp: Handle and recover from internal errors.
15054         Replace "foo${n}" with "foo<n>" in test messages.
15055
15056         * gdb.base/structs.exp: Update copyright.  Rewrite.
15057         * gdb.base/structs.c: Update copyright.  Rewrite.
15058
15059         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
15060         resync count exceeded.
15061
15062         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
15063         from the internal error.
15064         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
15065         Original from Jim Blandy.
15066         (gdb_test_multiple): Use gdb_internal_error_resync.
15067
15068 2003-11-19  Andrew Cagney  <cagney@redhat.com>
15069
15070         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
15071         KFAIL.
15072
15073 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
15074
15075         New testcase for PR backtrace/1435.
15076         * gdb.arch/i386-unwind.exp: New file.
15077         * gdb.arch/i386-unwind.c: New file.
15078
15079 2003-11-17  Andrew Cagney  <cagney@redhat.com>
15080
15081         * lib/gdb.exp (compiler_info): New global.
15082         (test_compiler_info): New function.
15083         (get_compiler_info): Set compiler_info.
15084         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
15085         "compiler_info" to gcc-<major>-<minor>.
15086
15087 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
15088
15089         * gdb.trace/configure: Remove.
15090
15091 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
15092
15093         * gdb.base/break.c: Add comments to aid finding line numbers for
15094         breakpoints.
15095         * gdb.base/break.exp: Remove all references to explicit line
15096         numbers.
15097
15098 2003-11-11  Nick Clifton  <nickc@redhat.com>
15099
15100         * gdb.base/shreloc.exp: Do not run for targets which do not
15101         support shared objects.
15102
15103 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
15104
15105         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
15106         Don't run tests if nofileio flag is given.
15107
15108 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
15109
15110         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
15111         as well as 'Watchpoint'.
15112
15113 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
15114
15115         Reported by Jim Ingham <jingham@apple.com>:
15116         * gdb.base/annota1.exp: Match at least one occurrence of the
15117         signal handler annotation.
15118
15119 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
15120
15121         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
15122         as well as 'Watchpoint'.
15123
15124 2003-11-05  Michael Chastain  <mec@shout.net>
15125
15126         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15127
15128 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
15129
15130         * gdb.arch/gdb1291.c: New test file.
15131         * gdb.arch/gdb1291.exp: New test script.
15132         * gdb.arch/gdb1431.c: New test file.
15133         * gdb.arch/gdb1431.exp: New test script.
15134
15135 2003-10-22  Michael Chastain  <mec@shout.net>
15136
15137         * gdb.mi/pthreads.c: Add copyright notice.
15138
15139 2003-10-22  Michael Chastain  <mec@shout.net>
15140
15141         * gdb.threads/pthreads.c: Add copyright notice.
15142
15143 2003-10-20  Michael Chastain  <mec@shout.net>
15144
15145         * gdb.base/gdb1056.exp: New test script.
15146
15147 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
15148
15149         * gdb.threads/killed.exp: Use gdb_run_cmd.
15150
15151 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
15152
15153         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
15154         create a core file.
15155         * gdb.threads/gcore-thread.exp: Likewise.
15156
15157 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
15158
15159         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
15160         type, based on char type.
15161         (struct bit_flags_short_t): New bitfield type, based on short type.
15162         (init_bit_flags_char): New fuction.
15163         (init_bit_flags_short): Ditto.
15164         (print_bit_flags_char): Ditto.
15165         (print_bit_flags_short): Ditto.
15166         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
15167
15168 2003-10-11  Michael Chastain  <mec@shout.net>
15169
15170         * gdb.base/call-rt-st.exp: Update copyright year.
15171
15172 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
15173
15174         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
15175         * gdb.disasm/sh3.s: Ditto.
15176
15177 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
15178
15179         * gdb.threads/switch-threads.exp: New test.
15180         * gdb.threads/switch-threads.c: New source file.
15181
15182 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
15183
15184         * gdb.base/ending-run.exp: Add sh specific case.
15185
15186 2003-10-06  Andrew Cagney  <cagney@redhat.com>
15187
15188         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
15189         * gdb.disasm/mn10200.exp: Delete obsolete file.
15190
15191 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
15192
15193         * ChangeLog: Correct an entry command.exp -> commands.exp.
15194         * gdb.base/commands.exp (bp_deleted_in_command_test)
15195         (temporary_breakpoint_commands): Check noargs.
15196
15197 2003-09-25  David Carlton  <carlton@kealia.com>
15198
15199         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
15200         of some print tests, where appropriate.  Add tests for C::D::cd,
15201         E::ce, F::cXfX, G::XgX.
15202         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
15203
15204 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
15205
15206         * lib/java.exp (java_init): Import target_alias before using it.
15207
15208 2003-09-25  David Carlton  <carlton@kealia.com>
15209
15210         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
15211
15212 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
15213
15214         * gdb.base/selftest.exp: Accomodate more instruction reordering
15215         weirdness.
15216
15217 2003-09-17  Michael Chastain  <mec@shout.net>
15218
15219         * gdb.cp/gdb1355.exp: New file.
15220         * gdb.cp/gdb1355.c: New file.
15221
15222 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
15223
15224         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
15225         * gdb.asm/sh.inc: New file.
15226
15227 2003-09-11  David Carlton  <carlton@kealia.com>
15228
15229         * gdb.cp/namespace.exp: Add tests for namespace types.
15230         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
15231         (test_namespace): New.
15232
15233 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
15234
15235         * gdb.base/relocate.exp: Handle new gdb output at startup.
15236         * gdb.stabs/weird.exp: Ditto.
15237
15238 2003-09-08  Michael Chastain  <mec@shout.net>
15239
15240         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15241
15242 2003-09-07  Michael Chastain  <mec@shout.net>
15243
15244         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15245         'parse error'.
15246
15247 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
15248
15249         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15250
15251 2003-08-30  Michael Chastain  <mec@shout.net>
15252
15253         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15254         * gdb.gdb/observer.exp: Ditto.
15255         * gdb.gdb/xfullpath.exp: Ditto.
15256
15257 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
15258
15259         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15260         *-*-*bsd*.
15261
15262 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
15263
15264         * gdb.base/dump.exp: Skip for ia64.
15265
15266 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
15267
15268         * gdb.asm/asm-source.exp: Add ia64 support.
15269         * gdb.asm/ia64.inc: New file.
15270
15271 2003-08-22  Michael Chastain  <mec@shout.net>
15272
15273         * gdb.cp: New directory.
15274         * gdb.cp/*: Copy from gdb.c++/*.
15275         * gdb.c++/*: Remove.
15276         * Makefile.in: Change gdb.c++ to gdb.cp.
15277         * configure.in:  Ditto.
15278         * configure: Regnerate.
15279
15280 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
15281
15282         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
15283         * gdb.arch/i386-prologue.c (gdb1338): Add function.
15284
15285 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
15286
15287         * mi-var-display.exp (-var-list-children weird): Accept function
15288         pointers with argument types.
15289         * mi1-var-display.exp (-var-list-children weird): Likewise.
15290         * mi2-var-display.exp (-var-list-children weird): Likewise.
15291
15292 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
15293
15294         * gdb.base/annota3.exp: Add missing newline.
15295
15296 2003-08-06  Michael Chastain  <mec@shout.net>
15297
15298         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
15299
15300 2003-08-12  Michael Snyder  <msnyder@redhat.com>
15301
15302         * gdb.base/float.exp: Add test for SH.
15303
15304 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
15305
15306         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
15307
15308 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15309
15310        * gdb.base/completion.exp: Remove reduntant completion test
15311        on filename.
15312
15313 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15314
15315         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
15316         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
15317         gdb.trace/save-trace.exp: Make sure that full pathnames are
15318         escaped correctly.
15319
15320 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15321
15322         * configure.in: Don't generate config.h from config.hin.
15323         * configure: Regenerate.
15324         * config.hin: Remove file.
15325         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
15326         * gdb.threads/pthreads.c: Ditto.
15327
15328 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
15329
15330         From Kei Sakamoto <sakamoto.kei@renesas.com>:
15331         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
15332         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
15333         Replace ld24 with seth/add3.
15334
15335 2003-08-02  Andrew Cagney  <cagney@redhat.com>
15336
15337         * gdb.base/annota3.exp: New file.
15338         * gdb.base/annota3.c: New file.
15339         * gdb.c++/annota3.exp: New file.
15340         * gdb.c++/annota3.cc: New file.
15341
15342 2003-07-29  Michael Chastain  <mec@shout.net>
15343
15344         * gdb.threads/tls.c (spin): Check errno only if sem_wait
15345         actually failed.
15346         (do_pass): Likewise.
15347         * gdb.threads/tls.exp: Always initialize no_of_threads.
15348
15349 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
15350
15351         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
15352         pattern.
15353         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
15354         * gdb.threads/tls.exp: Recognize one case of the host library not
15355         supporting TLS.
15356
15357 2003-07-27  Andrew Cagney  <cagney@redhat.com>
15358
15359         * gdb.base/fileio.exp: Use SH when running commands using
15360         remote_exec.
15361
15362 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
15363
15364         From Kei Sakamoto <sakamoto.kei@renesas.com>:
15365         * gdb.base/relocate.c (dummy): New padding array.
15366
15367 2003-07-22  Michael Snyder  <msnyder@redhat.com>
15368
15369         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
15370
15371         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
15372         patterns to be more general, accepting old and new output.
15373         Some output chars (such as '+') also must be quoted.
15374         Some addresses are displayed numerically instead of
15375         symbolically.
15376
15377 2003-07-23  Michael Snyder  <msnyder@redhat.com>
15378
15379         * gdb.base/return2.exp: Don't test long-long return.
15380
15381         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
15382         * gdb.disasm/t01_mov.exp: Ditto.
15383         * gdb.disasm/t02_mova.s: Ditto.
15384         * gdb.disasm/t02_mova.exp: Ditto.
15385         * gdb.disasm/t03_add.s: Ditto.
15386         * gdb.disasm/t03_add.exp: Ditto.
15387         * gdb.disasm/t04_sub.s: Ditto.
15388         * gdb.disasm/t04_sub.exp: Ditto.
15389         * gdb.disasm/t05_cmp.s: Ditto.
15390         * gdb.disasm/t05_cmp.exp: Ditto.
15391         * gdb.disasm/t06_ari2.s: Ditto.
15392         * gdb.disasm/t06_ari2.exp: Ditto.
15393         * gdb.disasm/t07_ari3.s: Ditto.
15394         * gdb.disasm/t07_ari3.exp: Ditto.
15395         * gdb.disasm/t08_or.s: Ditto.
15396         * gdb.disasm/t08_or.exp: Ditto.
15397         * gdb.disasm/t09_xor.s: Ditto.
15398         * gdb.disasm/t09_xor.exp: Ditto.
15399         * gdb.disasm/t10_and.s: Ditto.
15400         * gdb.disasm/t10_and.exp: Ditto.
15401         * gdb.disasm/t11_logs.s: Ditto.
15402         * gdb.disasm/t11_logs.exp: Ditto.
15403         * gdb.disasm/t12_bit.s: Ditto.
15404         * gdb.disasm/t12_bit.exp: Ditto.
15405         * gdb.disasm/t13_otr.s: Ditto.
15406         * gdb.disasm/t13_otr.exp: Ditto.
15407
15408 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
15409
15410         * gdb.threads/tls.exp :Add kfail for 'info address' case.
15411
15412 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
15413
15414         * gdb.threads/tls.c : New file.
15415         * gdb.threads/tls.exp : New file.
15416         * gdb.threads/tls-main.c : New file.
15417         * gdb.threads/tls-shared.c : New file.
15418         * gdb.threads/tls-shared.exp : New file.
15419
15420 2003-07-22  Andreas Schwab  <schwab@suse.de>
15421
15422         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
15423
15424 2003-07-20  Andreas Schwab  <schwab@suse.de>
15425
15426         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
15427         due to insn reordering.
15428
15429 2003-07-15  Andrew Cagney  <cagney@redhat.com>
15430
15431         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
15432
15433 2003-07-15  Michael Chastain  <mec@shout.net>
15434
15435         * gdb.base/gdb1250.exp: New file.
15436         * gdb.base/gdb1250.c: New file.
15437
15438 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
15439
15440         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
15441         expansion of size_t to 'unsigned long', not only to 'unsigned'.
15442
15443 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
15444
15445         * gdb.threads/tls.c: New file.
15446         * gdb.threads/tls.exp: New file.
15447         * gdb.threads/tls-main.c: New file.
15448         * gdb.threads/tls-shared.c: New file.
15449         * gdb.threads/tls-shared.exp: New file.
15450
15451 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
15452
15453         * gdb.base/annota1.exp: Make sure that we properly escape the
15454         full path of the source file. Xfail more permissive patterns,
15455         due to a compiler debug info problem.
15456
15457 2003-07-07  Andreas Schwab  <schwab@suse.de>
15458
15459         * gdb.asm/m68k.inc: New file.
15460         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
15461
15462         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
15463         arguments"): Also match negative number.
15464
15465         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
15466
15467 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
15468
15469         * gdb.base/store.c (charest): New typedef.
15470         (add_char): Rename to add_charest, update.
15471         (wack_char): Rename to wack_charest, update types.  Return l + r
15472         to keep r live across the call.
15473         (wack_short, wack_int, wack_long, wack_longest, wack_float)
15474         (wack_double, wack_doublest): Return l + r to keep r live across
15475         the call.
15476         * gdb.base/store.exp: Accomodate store.c changes.
15477
15478 2003-06-30  David Carlton  <carlton@kealia.com>
15479
15480         * gdb.c++/maint.exp (test_invalid_name): New.
15481         (test_first_component): Add tests for invalid names.
15482
15483 2003-06-29  Michael Chastain  <mec@shout.net>
15484
15485         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
15486         output of '<VTT for class>' for virtual base classes.
15487
15488 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
15489
15490         * gdb.base/completion.exp: Tab-complete "complet" instead of
15491         "compl".
15492         * gdb.base/complex.exp, gdb.base/complex.c: New files.
15493
15494 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
15495
15496         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
15497         * gdb.base/volatile.exp: Likewise.
15498
15499 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
15500
15501         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
15502         gdb/1265.
15503
15504 2003-06-28  Michael Chastain  <mec@shout.net>
15505             Daniel Jacobowitz  <drow@mvista.com>
15506
15507         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
15508         initial line count of 'captured_main' from 26 to 32.
15509         (test_with_self): Allow xmalloc call to be interleaved with the
15510         preceding two lines.
15511
15512 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
15513
15514         * gdb.base/bang.exp: New testcase.
15515
15516 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
15517
15518         * gdb.base/langs.exp: Add some tests for the "minimal" language
15519         support.
15520
15521 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
15522
15523         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
15524         the testcase.
15525
15526 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
15527
15528         * gdb.base/relocate.exp: Test add-symbol-file with a variable
15529         offset.
15530
15531 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
15532
15533         * gdb.c++/pr-1210.cc: New file.
15534         * gdb.c++/pr-1210.exp: New file.
15535
15536 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
15537
15538         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
15539         000-exec-continue.
15540
15541 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
15542
15543         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
15544         on *-*-*bsd* instead of *-*-freebsd*.
15545
15546 2003-06-14  Andrew Cagney  <cagney@redhat.com>
15547
15548         * gdb.base/store.exp: Test longest and doublest.  Test all
15549         parameters.  Weaken return statement match.
15550         * gdb.base/store.c: Add longest and doublest - aka long long and
15551         long double functions.  Put all parameters into local register
15552         variables.  Use negative values.
15553
15554 2003-06-14  Andrew Cagney  <cagney@redhat.com>
15555
15556         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
15557         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
15558         exit status.
15559         * gdb.base/fileio.exp: Disable target when nointerrupts and
15560         noinferiorio, instead of limiting it to remote.  Use remote_exec
15561         instead of system.
15562
15563 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
15564
15565         * gdb.base/float.exp: Add ia64 support.
15566
15567 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
15568
15569         * gdb.base/fileio.exp: Run only on remote targets.
15570
15571 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
15572
15573         * gdb.base/fileio.c: New file, testing File-I/O.
15574         * gdb.base/fileio.exp: Ditto.
15575
15576 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
15577
15578         * gdb.base/shreloc.exp: New file, check symbol values obtained from
15579         shared objects after relocation at load time (gdb PR/1132).
15580         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
15581         as above, part of the shared object relocation test.
15582
15583 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
15584
15585         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
15586         fully filled history list.
15587         * gdb.base/gdb_history: New file.
15588
15589         * gdb.base/signals.exp: XFAIL "continue to func1" on
15590         i*86-*-freebsd*.
15591
15592         * gdb.base/attach.exp: When trying to attach to a nonexistent
15593         process, make it possible to specify the PID based on the target,
15594         and do so for *-*-freebsd*.
15595
15596 2003-06-02  Richard Henderson  <rth@redhat.com>
15597
15598         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
15599
15600 2003-06-02  Richard Henderson  <rth@redhat.com>
15601
15602         * gdb.base/selftest.exp: Next over lim_at_start initialization.
15603
15604 2003-06-02  Richard Henderson  <rth@redhat.com>
15605
15606         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
15607
15608 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
15609
15610         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
15611         of globalvar.
15612
15613 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
15614
15615         * gdb.asm/asm-source.exp: Check for memory read errors in
15616         disassembler test on *BSD too.
15617
15618 2003-06-01  Richard Henderson  <rth@redhat.com>
15619
15620         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
15621         for .frame.
15622         (gdbasm_call): Lose ldgp.
15623         (gdbasm_startup): Add frame information.
15624         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
15625
15626 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
15627
15628         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
15629         i?86-*-*.
15630
15631 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
15632
15633         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15634         FreeBSD.
15635
15636 2003-05-29  Richard Henderson  <rth@redhat.com>
15637
15638         * gdb.asm/alpha.inc: New file.
15639         * gdb.asm/asm-source.exp: Use it.
15640
15641 2003-05-29  Jim Blandy  <jimb@redhat.com>
15642
15643         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
15644         'core.PID'.
15645
15646 2003-05-22  Jim Blandy  <jimb@redhat.com>
15647
15648         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
15649         backtrace.
15650
15651 2003-05-20  David Carlton  <carlton@math.stanford.edu>
15652
15653         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
15654         this time.
15655
15656 2003-05-19  David Carlton  <carlton@bactrian.org>
15657
15658         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
15659         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
15660
15661 2003-05-19  David Carlton  <carlton@bactrian.org>
15662
15663         * gdb.c++/namespace.exp: Add namespace scope and anonymous
15664         namespace tests.
15665         Bump copyright date.
15666         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
15667         (main): Call C::D::marker2.
15668         * gdb.c++/namespace1.cc: New file.
15669
15670 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
15671
15672         Roland McGrath  <roland@redhat.com>
15673         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
15674         there is no manager thread.
15675
15676 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
15677
15678         * gdb.threads/schedlock.exp: Remove assumption that all threads
15679         will run in a particular small time slice.  Also ensure we break
15680         in one of the child threads rather than the main thread.
15681
15682 2003-05-07  Jim Blandy  <jimb@redhat.com>
15683
15684         Add support for assembly source testing on the s390x.
15685         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
15686         architecture.
15687         * gdb.asm/s390x.inc: New file.
15688
15689         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
15690         succession of 'if' statements.
15691
15692 2003-05-05  Andrew Cagney  <cagney@redhat.com>
15693
15694         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
15695
15696 2003-05-05  Andrew Cagney  <cagney@redhat.com>
15697
15698         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
15699         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
15700
15701 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
15702
15703         * gdb.base/charset.exp: Update based on new behavior of set/show
15704         charset commands.
15705
15706 2003-05-01  Andrew Cagney  <cagney@redhat.com>
15707
15708         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
15709         variable do not give memory errors.
15710
15711 2003-04-30  Adam Fedor  <fedor@gnu.org>
15712
15713         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
15714         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
15715         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
15716         gdb.objc/basicclass.m: : New files
15717
15718         * lib/gdb.exp (gdb_compile_objc): New procedure.
15719
15720 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
15721
15722         * gdb.base/signals.exp: Make backtrace tests more specific.
15723
15724 2003-04-23  David Carlton  <carlton@bactrian.org>
15725
15726         * gdb.c++/maint.exp (test_first_component): Add tests for
15727         'operator' in more locations.
15728
15729 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
15730
15731         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
15732
15733 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
15734
15735         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
15736         func marke' instead. Update test name.
15737
15738 2003-04-15  David Carlton  <carlton@math.stanford.edu>
15739
15740         * gdb.c++/maint.exp: New file.
15741
15742 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
15743
15744         * gdb.threads/schedlock.c: Change type of thread function argument
15745         to long, to avoid warnings on 64-bit platforms.
15746
15747 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
15748
15749         * gdb.base/attach.exp: Add new message from ptrace in case of
15750         attaching to nonexistent process.
15751
15752 2003-04-11  Jim Blandy  <jimb@redhat.com>
15753
15754         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15755         gdb.c++/userdef.cc: Place comments on the lines to which the
15756         marker function might return.
15757         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15758         gdb.c++/userdef.exp: Look for those comments to check that we've
15759         returned to the right place, instead of checking line numbers.
15760
15761 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
15762
15763         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
15764         match on sourcefile name, instead of directory name.
15765
15766 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
15767
15768         * gdb.base/completion.exp: Use string_to_regexp to match the
15769         working directory name.
15770
15771 2003-04-09  Jim Blandy  <jimb@redhat.com>
15772
15773         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15774         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
15775         after an inferior function call, report the failure, but allow the
15776         test to continue.
15777
15778 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
15779
15780         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
15781         with -DPROTOTYPES.
15782
15783 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
15784
15785         * gdb.base/break.exp: Revert last patch.
15786
15787 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
15788
15789         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
15790         with -DPROTOTYPES.
15791
15792 2003-04-02  Andrew Cagney  <cagney@redhat.com>
15793
15794         * gdb.base/callfuncs.exp: Make "print add" messages unique.
15795         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
15796         matching directories by the name breakpoint.
15797         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
15798         Make "continue to marker1" consistent.
15799         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
15800         message consistent.
15801         * lib/gdb.exp: Put "the program is no longer running", and "the
15802         program exited" in parenthesis.
15803         * lib/mi-support.exp: Ditto.
15804
15805 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
15806
15807         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
15808
15809 2003-03-29  Andrew Cagney  <cagney@redhat.com>
15810
15811         * gdb.base/sizeof.c (main): Print the value of '\377'.
15812         * gdb.base/sizeof.exp: Check the sign of '\377'.
15813
15814 2003-03-27  Michael Chastain  <mec@shout.net>
15815
15816         * gdb.base/gdb1090.exp: New file.
15817         * gdb.base/gdb1090.cc: New file.
15818
15819 2003-03-27  J. Brobecker  <brobecker@gnat.com>
15820
15821         * gdb.gdb/observer.exp: New regression test.
15822
15823 2003-03-27  Michael Chastain  <mec@shout.net>
15824
15825         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
15826         * gdb.base/ptype.exp: Likewise.
15827
15828 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
15829
15830         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
15831
15832 2003-03-26  Michael Chastain  <mec@shout.net>
15833
15834         * gdb.base/ptype.exp: Actually use some typedef'd types.
15835
15836 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
15837
15838         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
15839         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
15840
15841 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
15842
15843         * gdb.base/default.exp: Fix regular expression.
15844
15845 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
15846
15847         * gdb.base/args.exp: Fix regular expression.
15848
15849 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
15850
15851         * gdb.base/help.exp: Allow Win32 child process.
15852
15853 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
15854
15855         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
15856         when stepping out of main().
15857
15858 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
15859
15860         * gdb.base/default.exp: Check for win32 specific message when calling
15861         "run" without executable.
15862
15863 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
15864
15865         * gdb.base/args.exp: Expect .exe in output.
15866
15867 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
15868
15869         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
15870         Cygwin native.
15871
15872 2003-03-17  Andrew Cagney  <cagney@redhat.com>
15873
15874         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
15875         vector registes.
15876         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
15877         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
15878
15879 2003-03-17  David Carlton  <carlton@math.stanford.edu>
15880
15881         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
15882         test, for PR breakpoints/38.
15883         Call test_watchpoint_and_breakpoint.
15884         * gdb.base/watchpoint.c (func3): New function.
15885         (main): Call func3.
15886
15887 2003-03-04  David Carlton  <carlton@math.stanford.edu>
15888
15889         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
15890         Garply<Garply<char> >:: garply".
15891         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
15892         with respect to PR c++/1111; note also PR c++/1113.
15893         (test_template_breakpoints): KFAIL "constructor breakpoint" with
15894         respect to PR c++/1062.
15895         KFAIL "destructor breakpoint" with respect to PR c++/1112.
15896
15897 2003-03-03  David Carlton  <carlton@math.stanford.edu>
15898
15899         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
15900         with respect to PR c++/57.
15901         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
15902         c++/826.
15903         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
15904         respect to PR c++/57.
15905
15906 2003-03-03  David Carlton  <carlton@math.stanford.edu>
15907
15908         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
15909         respect to PR c++/33 into FAILs.
15910
15911 2003-03-03  Michael Chastain  <mec@shout.net>
15912
15913         * configure.in: Update copyright years.
15914
15915 2003-03-03  Michael Chastain  <mec@shout.net>
15916
15917         * Makefile.in: Update copyright years.
15918
15919 2003-02-28  David Carlton  <carlton@math.stanford.edu>
15920
15921         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
15922         print class instead of struct and/or superfluous protection
15923         specifiers, as long as the resulting output is equivalent to the
15924         source code.
15925         Delete FIXME from end of messages on tests that don't need
15926         fixing.
15927
15928 2003-02-28  David Carlton  <carlton@math.stanford.edu>
15929
15930         * gdb.c++/templates.exp (do_tests): Allow const in the two
15931         Foo<volatile char *>::foo tests.
15932
15933 2003-02-27  Michael Snyder  <msnyder@redhat.com>
15934
15935         * gdb.base/restore.c (main): Return zero, so exit code
15936         will be consistant.
15937
15938 2003-02-26  David Carlton  <carlton@math.stanford.edu>
15939
15940         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
15941         char *>::foo" test with respect to PR c++/33.  Create a new test
15942         which is identical to that one except that it doesn't put the
15943         space between the "char" and the "*"; KFAIL it, too.
15944
15945 2003-02-26  David Carlton  <carlton@math.stanford.edu>
15946
15947         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
15948         template types into either PASSes or KFAILs (corresponding to PR
15949         c++/57).  Tweak indentation.  Update copyright.
15950
15951 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
15952
15953         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
15954
15955 2003-02-13  Michael Chastain  <mec@shout.net>
15956
15957         * gdb.base/exprs.exp: Remove i960 remnants.
15958         * gdb.base/funcargs.exp: Likewise.
15959         * gdb.base/list.exp: Likewise.
15960         * gdb.base/ptype.exp: Likewise.
15961
15962 2003-02-14  David Carlton  <carlton@math.stanford.edu>
15963
15964         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
15965         pEe->D::vg()" from XFAIL to KFAIL.
15966
15967 2003-02-13  Jason Molenda  (jmolenda@apple.com)
15968
15969         * gdb.base/maint.exp: Update maint print statistics regexp to include
15970         new entries.
15971
15972 2003-02-13  Michael Chastain  <mec@shout.net>
15973
15974         * gdb.c++/inherit.exp: Remove call to get_debug_format.
15975
15976 2003-02-12  Michael Chastain  <mec@shout.net>
15977
15978         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
15979         * gdb.c++/inherit.exp: Likewise.
15980         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
15981         * gdb.c++/templates.exp: Likewise.
15982         * gdb.c++/virtfunc.exp: Likewise.
15983
15984 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
15985
15986         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
15987         why the code is written that way.
15988
15989 2003-02-05  Michael Chastain  <mec@shout.net>
15990
15991         * gdb.base/dump.exp: Add missing copyright line.
15992
15993 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
15994
15995         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
15996         at the beginning so the breakpoint doesn't get set on the loop.
15997
15998 2003-02-05  Michael Chastain  <mec@shout.net>
15999
16000         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16001         output for configurations with gcc 2.95.3.
16002
16003 2003-02-05  Keith Seitz  <keiths@redhat.com>
16004             Andrew Cagney  <ac131313@redhat.com>
16005
16006         * gdb.mi/mi-cli.exp: New file.
16007
16008 2003-02-04  Michael Chastain  <mec@shout.net>
16009
16010         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
16011         Call perror and then continue.
16012
16013 2003-02-03  Michael Chastain  <mec@shout.net>
16014
16015         * gdb.c++/pr-1023.cc: New file.
16016         * gdb.c++/pr-1023.exp: New file.
16017
16018 2003-02-05  Jim Blandy  <jimb@redhat.com>
16019
16020         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
16021         it's local to foobar.  Check for it there, and check that it's not
16022         present in main.
16023         * gdb.c++/local.cc (marker2): New function.
16024         (foobar): Call marker1.
16025         (main): Call marker2 instead of marker1.
16026
16027 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
16028
16029         * gdb.disasm/mn10200.exp: Obsolete file.
16030         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
16031         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
16032         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
16033
16034 2003-02-04  David Carlton  <carlton@math.stanford.edu>
16035
16036         * gdb.c++/overload.exp: Test intToChar(1).
16037         * gdb.c++/overload.cc (intToChar): New.
16038         (main): Call intToChar.
16039
16040 2003-02-03  David Carlton  <carlton@math.stanford.edu>
16041
16042         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
16043         'might_kfail' arg.
16044         KFAIL some of the continue_to_bp_overloaded calls, according to
16045         PR c++/1025.
16046
16047 2003-02-01  Michael Chastain  <mec@shout.net>
16048
16049         * gdb.base/advance.c (marker1): New marker function.
16050         * gdb.base/advance.exp: When the 'advance' command lands on the
16051         return breakpoint, it can legitimately stop on either the
16052         current line or the next line.  Accommodate both outcomes.
16053         * gdb.base/until.exp: Likewise.
16054
16055 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
16056
16057         2002-11-10 Jason Molenda (jason-cl@molenda.com):
16058         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
16059         now a list, not a tuple.
16060         * gdb.mi/mi-var-display.exp: Ditto.
16061         * gdb.mi/gdb792.exp: Ditto.
16062
16063 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
16064
16065         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
16066         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
16067         stack backtraces.
16068         * gdb.mi/mi-syn-frame.c: Part of same.
16069
16070 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
16071
16072         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16073         gdb.mi/mi1-pthreads.exp: Return instead of calling
16074         gdb_suppress_entire_file.
16075
16076 2003-02-01  Mark Salter  <msalter@redhat.com>
16077
16078         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
16079
16080 2003-01-31  Mark Salter  <msalter@redhat.com>
16081
16082         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
16083         Support empty arg.
16084
16085 2003-01-30  Michael Chastain  <mec@shout.net>
16086
16087         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
16088         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
16089         has been fixed in gdb/readline on 2003-01-09.
16090
16091 2003-01-29  Michael Snyder  <msnyder@redhat.com>
16092
16093         * gdb.base/maint.exp: Allow for leading underscore in symbol.
16094         * gdb.base/display.exp: Allow for leading underscore in symbol.
16095         * gdb.base/args.exp: Skip if target does not support args passing.
16096
16097 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
16098
16099         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
16100         gdb_test.  Accept a list of expect arguments as the third
16101         parameter.
16102         (gdb_test): Use it.
16103
16104 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
16105
16106         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
16107         allow for different test tree configurations.  Update some
16108         tescases accordingly.
16109         * gdb.arch/altivec-regs.exp: Ditto.
16110         * gdb.asm/asm-source.exp: Ditto.
16111         * gdb.base/advance.exp: Ditto.
16112         * gdb.base/display.exp: Ditto.
16113         * gdb.base/long_long.exp: Ditto.
16114         * gdb.base/mips_pro.exp: Ditto.
16115         * gdb.base/overlays.exp: Ditto.
16116         * gdb.base/relocate.exp: Ditto.
16117         * gdb.base/setshow.exp: Ditto.
16118         * gdb.base/step-line.exp: Ditto.
16119         * gdb.base/step-test.exp: Ditto.
16120         * gdb.base/until.exp: Ditto.
16121         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
16122
16123 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16124
16125         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
16126         corresponding to PR c++/945.
16127         Update copyright.
16128
16129 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16130
16131         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
16132         corresponding to PR c++/68.
16133
16134 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16135
16136         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
16137         (test_paddr_hairy_functions): Call print_addr_2_kfail for
16138         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
16139
16140 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
16141
16142         * gdb.base/break.exp: Fix change of default location, because of
16143         removal of until tests.
16144         * gdb.base/help.exp: Update test for new 'until' help message.
16145         Add test for help on 'advance'.
16146         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
16147
16148 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
16149
16150         * gdb.base/default.exp: Adapt "info float" test for recent changes
16151         to that command.  Add test for "info vector".
16152         * gdb.base/float.exp: New file.  Add test for "info float" that
16153         resembles the old test in gdb.base/default.exp.
16154
16155 2003-01-15  David Carlton  <carlton@math.stanford.edu>
16156
16157         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
16158
16159 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
16160
16161         * gdb.base/break.exp: Move the tests of until command from here...
16162         * gdb.base/until.exp: ... to here. New file. Add other tests.
16163         * gdb.base/advance.c: New file.
16164         * gdb.base/advance.exp: New file.
16165
16166 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
16167
16168         * gdb.base/args.c: New file.
16169         * gdb.base/args.exp: New file.
16170
16171 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16172
16173         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
16174
16175 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16176
16177         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
16178
16179 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16180
16181         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
16182         dates.
16183
16184 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16185
16186         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
16187
16188 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16189
16190         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
16191         (ptype &*"foo").
16192         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
16193
16194 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16195
16196         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
16197         * gdb.mi/mi1-console.exp: Likewise.
16198
16199 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16200
16201         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
16202         * gdb.mi/mi1-console.exp: Likewise.
16203
16204 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16205
16206         * gdb.c++/overload.exp: Remove some fixed XFAILs.
16207
16208 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
16209
16210         * gdb.base/detach.exp: New test.
16211
16212 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
16213
16214         * Makefile.in (ALL_SUBDIRS): New variable.
16215         (subdirs, clean, distclean): Use it.
16216         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
16217         regenerating Makefile, since it is generated from the top level.
16218         * gdb.asm/Makefile.in: Likewise.
16219         * gdb.base/Makefile.in: Likewise.
16220         * gdb.c++/Makefile.in: Likewise.
16221         * gdb.disasm/Makefile.in: Likewise.
16222         * gdb.java/Makefile.in: Likewise.
16223         * gdb.mi/Makefile.in: Likewise.
16224         * gdb.threads/Makefile.in: Likewise.
16225         * gdb.trace/Makefile.in: Likewise.
16226
16227 2003-01-09  David Carlton  <carlton@math.stanford.edu>
16228
16229         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
16230         Add copyright year 2003.
16231
16232 2003-01-06  Michael Chastain  <mec@shout.net>
16233
16234         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16235         When selecting a thread, 'line' and 'file' are optional.
16236         * gdb.mi/mi1-pthreads.exp: Likewise.
16237
16238 2003-01-06  Andreas Schwab  <schwab@suse.de>
16239
16240         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16241         failures.
16242
16243 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16244
16245         Fix PR gdb/844
16246         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16247         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16248
16249         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
16250         instead of calling gdb_suppress_entire_file.
16251         * gdb.threads/print-threads.exp: Likewise.
16252         * gdb.threads/schedlock.exp: Likewise.
16253
16254         * gdb.threads/killed.exp: Return instead of calling
16255         gdb_suppress_entire_file.
16256         * gdb.threads/linux-dp.exp: Likewise.
16257         * gdb.threads/pthreads.exp: Likewise.
16258
16259 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16260
16261         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16262         stabs.
16263         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
16264         * gdb.base/whatis.exp: Always allow (void) after function names.
16265
16266 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16267
16268         * gdb.c++/casts.exp: Correct regexp.
16269
16270 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
16271
16272         * configure.in: Call AC_CONFIG_HEADER.  Don't call
16273         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
16274         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
16275         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
16276         aforementioned directories in the AC_OUPUT call.
16277         * config.hin: New file.
16278         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16279         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
16280         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
16281         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
16282         pass -I$objdir instead of -I$objdir/$subdir in compilation.
16283         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
16284         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
16285         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
16286         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
16287         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
16288         gdb.threads/configure.in, gdb.threads/configure,
16289         gdb.threads/config.in, gdb.trace/configure.in,
16290         gdb.trace/configure: Removed.
16291
16292 2003-01-03  Michael Chastain  <mec@shout.net>
16293
16294         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
16295         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
16296
16297 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
16298
16299         * gdb.base/store.exp: Fix regular expressions.
16300
16301 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
16302
16303         * configure.in: Rewrite.
16304         * configure: Regenerated.
16305
16306 2003-01-03  David Carlton  <carlton@math.stanford.edu>
16307
16308         * gdb.base/psymtab.exp: New file.
16309         * gdb.base/psymtab1.c: Ditto.
16310         * gdb.base/psymtab2.c: Ditto.
16311
16312 2002-12-23  Adam Fedor  <fedor@gnu.org>
16313
16314         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
16315
16316 2002-12-23  David Carlton  <carlton@math.stanford.edu>
16317
16318         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
16319         and current_directory initialization.
16320
16321 2002-12-22  Jim Blandy  <jimb@redhat.com>
16322
16323         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
16324         rather than as part of the output file name.
16325
16326         * gdb.base/attach.exp: There's no need to copy the test program to
16327         /tmp; that was only ever necessary on HP/UX, and this test is
16328         entirely disabled there anyway.
16329
16330 2002-12-21  Jim Blandy  <jimb@redhat.com>
16331
16332         * gdb.c++/psmang.exp: Doc fix.
16333
16334         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
16335         test.
16336
16337 2002-12-20  David Carlton  <carlton@math.stanford.edu>
16338
16339         * gdb.c++/annota2.exp: KFAIL annotate-quit.
16340
16341 2002-12-18  Michael Chastain  <mec@shout.net>
16342
16343         * gdb.c++/annota2.exp: Add copyright year 2002.
16344
16345 2002-12-17  David Carlton  <carlton@math.stanford.edu>
16346
16347         * gdb.c++/try_catch.cc: Add marker comments.
16348         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
16349         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
16350         * gdb.c++/m-static.cc: Ditto.
16351         * gdb.c++/m-static1.cc: Ditto.
16352         * gdb.c++/try_catch.cc: Ditto.
16353
16354 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
16355
16356         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
16357         to see whether we are using the new -environment-directory
16358         command which resets via -r or the old version of the command
16359         which may prompt the user.  Part of fix for gdb/741.
16360
16361 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
16362
16363         * gdb.fortran/types.exp: Update obsolete comment.
16364         * gdb.fortran/exprs.exp: Ditto.
16365         * lib/gdb.exp: Delete obsolete code.
16366         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
16367         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
16368         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
16369         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
16370         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
16371         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
16372         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
16373         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
16374         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
16375         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
16376         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
16377         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
16378         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
16379         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
16380         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
16381         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
16382         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
16383         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
16384         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
16385         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
16386         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
16387         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
16388         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
16389         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
16390         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
16391         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
16392         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
16393         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
16394         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
16395         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
16396         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
16397         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
16398         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
16399         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
16400         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
16401         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
16402         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
16403
16404 2002-12-11  David Carlton  <carlton@math.stanford.edu>
16405
16406         * gdb.c++/m-data.exp: Add test for members that shadow global
16407         variables: see PR gdb/804.
16408         * gdb.c++/m-data.cc: Ditto.
16409
16410 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
16411
16412         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
16413
16414 2002-12-06  David Carlton  <carlton@math.stanford.edu>
16415
16416         * gdb.base/store.c: Don't declare functions static.
16417
16418 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
16419
16420         * gdb.base/store.exp, gdb.base/store.c: New files.
16421
16422 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
16423
16424         * gdb.base/selftest.exp: Update for current gdb.
16425
16426 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
16427
16428         * gdb.base/maint.exp: Only dump symbols from one source file
16429         or objfile.
16430
16431 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
16432
16433         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
16434         function call.
16435
16436 2002-11-25  Jim Blandy  <jimb@redhat.com>
16437
16438         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
16439         function appearing in error message.
16440
16441 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
16442
16443         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
16444
16445 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
16446
16447         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
16448         for mi1 and current mi is in correct format.  New mi startup message
16449         should be in mi console format.  This is part of fix for PR gdb/604.
16450
16451 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
16452
16453         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
16454         which explicitly prints the zero offset as "+0".
16455
16456 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
16457
16458         * gdb.threads/schedlock.c (args): Make unsigned.
16459
16460 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
16461
16462         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
16463         numbers.  Allow "foo2|selected stack frame".
16464         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
16465         * gdb.asm/asmsrc2.s: Likewise.
16466         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
16467         comments.
16468         * gdb.asm/mips.inc: New file.
16469
16470 2002-10-18  Adam Fedor  <fedor@gnu.org>
16471
16472         * gdb.base/default.exp: Update expected output to include 'ObjC'.
16473         * gdb.base/help.exp: Likewise.
16474
16475 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
16476
16477         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
16478         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
16479
16480 2002-10-02  Jim Blandy  <jimb@redhat.com>
16481
16482         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
16483
16484 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
16485
16486         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
16487         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
16488         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
16489         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
16490         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
16491         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
16492         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
16493
16494 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
16495
16496         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
16497         * mi0-disassemble.exp, mi0-eval.exp: Delete.
16498         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
16499         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
16500         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
16501         * mi0-var-block.exp, mi0-var-child.exp: Delete.
16502         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
16503
16504 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
16505
16506         * gdb.base/annota1.exp (info break): Make directory components of
16507         path optional since not all compilers emit this debug information.
16508
16509         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
16510         step ends up stepping out of the function instead of stopping on
16511         the epilogue.
16512
16513 2002-09-26  Keith Seitz  <keiths@redhat.com>
16514
16515         * lib/insight-support.exp (gdbtk_start): Figure out where
16516         the insight executable is based on where gdb is. Use this
16517         executable to start insight instead of gdb.
16518
16519 2002-09-25  Andrew Cagney  <cagney@redhat.com>
16520
16521         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
16522
16523 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
16524
16525         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
16526         test_isolated_complaints.
16527         (test_empty_complaint): New function.
16528         (test_empty_complaints): New function.  Check no output when no
16529         complaints.
16530
16531 2002-09-19  Jim Blandy  <jimb@redhat.com>
16532
16533         * gdb.base/charset.exp, gdb.base/charset.c: New files.
16534
16535 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
16536
16537         * gdb.gdb/complaints.exp: New file.
16538
16539 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
16540
16541         * gdb.base/maint.exp: Check `help maint internal-warning'.
16542
16543 2002-09-18  David Carlton  <carlton@math.stanford.edu>
16544
16545         * gdb.c++/m-static.exp: Remove breakpoints depending on line
16546         numbers, and replace them by a single breakpoint after the
16547         constructors are all finished.
16548         Add test 4.
16549         * gdb.c++/m-static.cc: Add test 4.
16550         * gdb.c++/m-static.h: New file.
16551         * gdb.c++/m-static1.cc: New file.
16552
16553         * gdb.c++/printmethod.exp: New file.
16554         * gdb.c++/printmethod.cc: New file.
16555
16556         * gdb.c++/pr-574.exp: New file.
16557         * gdb.c++/pr-574.cc: New file.
16558
16559 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
16560
16561         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
16562         embedded targets which never actually exit.
16563
16564 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
16565
16566         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
16567         "don't step after run" as unresolved or unsupported, instead of xfail.
16568
16569 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
16570
16571         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
16572         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
16573         Add newline to expected string in "step out of main (status wrapper)"
16574         case.
16575
16576 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
16577
16578         * lib/gdb.exp (rerun_to_main): Allow restarting application.
16579         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
16580
16581 2002-09-17  Tom Tromey  <tromey@redhat.com>
16582
16583         * gdb.base/printcmds.exp (test_print_string_constants): Expect
16584         \000, not \0, in double-quoted string.
16585
16586 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
16587
16588         * gdb.base/commands.exp: Don't expect a "Program exited normally"
16589         string after running the commands execution on breakpoint tests.
16590
16591 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
16592
16593         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
16594
16595 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
16596
16597         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
16598
16599 2002-09-10  Keith Seitz  <keiths@redhat.com>
16600
16601         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
16602         runto proc.
16603         (mi_run_to_main): Use mi_runto.
16604         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
16605
16606 2002-09-10  Keith Seitz  <keiths@redhat.com>
16607
16608         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
16609         regexp for stopping at main. Could have multiple event notifications.
16610         Don't assume that main was declared with no parameters.
16611         (mi_next): Use mi_step_to.
16612         (mi_step): Use mi_next_to.
16613
16614 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
16615
16616         * gdb.base/default.exp: Fix expected string in `info float' test.
16617
16618 2002-09-09  Ben Elliston  <bje@redhat.com>
16619
16620         * config/mips.exp: Update comments.
16621         * config/mips-idt.exp: Likewise.
16622         * config/nind.exp: Likewise.
16623         * config/slite.exp: Likewise.
16624         * config/sparclet.exp: Likewise.
16625         * config/udi.exp: Likewise.
16626         * config/vx.exp: Likewise.
16627         * config/vxworks29k.exp: Likewise.
16628
16629 2002-09-05  Jim Blandy  <jimb@redhat.com>
16630
16631         * gdb.threads/killed.exp: Fix test failure message.
16632
16633 2002-09-04  Keith Seitz  <keiths@redhat.com>
16634
16635         * lib/mi-support.exp: Update copyright.
16636         (mi_gdb_test): Increase the priority of the expected pattern
16637         so that it matches gdb_test.
16638
16639 2002-09-03  Keith Seitz  <keiths@redhat.com>
16640
16641         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
16642         Use integer comparison instead of string comparison for testing
16643         whether binary was built.
16644
16645 2002-09-03  Jim Blandy  <jimb@redhat.com>
16646
16647         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
16648
16649 2002-08-29  Jim Blandy  <jimb@redhat.com>
16650
16651         * gdb.threads/pthreads.exp: Move the portable thread compilation
16652         code into a function in lib/gdb.exp, and call that from here.
16653         * lib/gdb.exp (gdb_compile_pthreads): New function.
16654
16655 2002-08-29  Keith Seitz  <keiths@redhat.com>
16656
16657         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
16658         expect_out so that callers can get at it.
16659
16660 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
16661
16662         * gdb.threads/print-threads.c: New file.
16663         * gdb.threads/print-threads.exp: New file.
16664         * gdb.threads/schedlock.c: New file.
16665         * gdb.threads/schedlock.exp: New file.
16666
16667 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
16668
16669         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
16670         not altivec.c.
16671
16672 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
16673
16674         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
16675         targets.  The problem should be fixed now.
16676
16677 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
16678
16679         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
16680         2002-07-24 change that removes final dots from error messages.
16681
16682 2002-08-13  Tom Tromey  <tromey@redhat.com>
16683
16684         * gdb.base/readline.exp: New file.
16685
16686 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
16687
16688         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
16689         supress message.
16690
16691 2002-08-01  Andrew Cagney  <cagney@redhat.com>
16692
16693         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
16694         CHILL_FOR_TARGET and CHILL_LIB.
16695         * configure.in (configdirs): Remove gdb.chill.
16696         * configure: Regenerate.
16697         * lib/gdb.exp: Obsolete references to chill.
16698         * gdb.fortran/types.exp: Ditto.
16699         * gdb.fortran/exprs.exp: Ditto.
16700
16701 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
16702
16703         * gdb.base/shlib-call.exp (additional_flags): Conditionally
16704         set Irix-specific compile and link flags.
16705
16706 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
16707
16708         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
16709         source files.  The ``-o'' option doesn't work with the ``-E'' option
16710         when using the Irix compiler.
16711
16712 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
16713
16714         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
16715         Improve support for reusing an exec file.  Copy exec file
16716         to target, and run gdbserver on the target instead of on the host.
16717
16718 2002-07-18  Jim Blandy  <jimb@redhat.com>
16719
16720         * gdb.base/ending-run.exp: Don't expect to see the program end in
16721         some orderly fashion when we're running on a real stand-alone
16722         board.
16723
16724         * gdb.base/interrupt.exp: Correct logic for skipping tests on
16725         targets that don't support interrupts.
16726
16727 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
16728
16729         * gdb.base/attach.exp: Add patterns to match output from /proc-based
16730         systems.
16731         Move comments in expect statements to inside the actions, so that they
16732         don't get matched against.
16733
16734 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
16735
16736         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
16737         function when asleep" test.
16738
16739 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
16740
16741         * gdb.base/page.exp: Rewrite to handle problems with very long
16742         `info set' output.  Update copyright.
16743
16744 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
16745
16746         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
16747         gdb.threads-hp.
16748         * gdb.hp/configure: Regenerate.
16749         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
16750         * gdb.hp/gdb.threads-hp/configure: Delete file.
16751         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
16752
16753 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
16754
16755         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
16756         setlocale, bindtextdomain and textdomain.
16757
16758 2002-06-11  Jim Blandy  <jimb@redhat.com>
16759
16760         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
16761         preprocessor macro information is present.
16762
16763         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
16764         tests.
16765
16766 2002-06-06  Michael Snyder  <msnyder@redhat.com>
16767
16768         * gdb.base/overlays.exp: Record addresses of overlay
16769         functions in TCL variables rather than in GDB variables,
16770         to avoid having GDB convert them to pointers (with loss
16771         of information).
16772
16773         * gdb.base/d10v.ld: Merge in several years worth of
16774         default linker script changes.
16775         * gdb.base/long_long.exp: Add check for sizeof (long double).
16776
16777 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
16778
16779         * gdb.asm/asm-source.exp: Add x86-64 target.
16780         * gdb.asm/x86_64.inc: New.
16781
16782 2002-05-30  Michael Chastain  <mec@shout.net>
16783
16784         From Benjamin Kosnik <bkoz@redhat.com>:
16785         * gdb.c++/m-static.cc: New file.
16786         * gdb.c++/m-static.exp: New file.
16787
16788 2002-05-28  Michael Snyder  <msnyder@redhat.com>
16789
16790         * gdb.base/call-ar-st.exp: Allow for reduced floating point
16791         precision.
16792
16793 2002-05-27  Michael Chastain  <mec@shout.net>
16794
16795         From Benjamin Kosnik <bkoz@redhat.com>:
16796         * gdb.c++/m-data.cc: New file.
16797         * gdb.c++/m-data.exp: New file.
16798
16799 2002-05-27  Michael Chastain  <mec@shout.net>
16800
16801         From Benjamin Kosnik <bkoz@redhat.com>:
16802         * gdb.c++/try_catch.cc: New file.
16803         * gdb.c++/try_catch.exp: New file.
16804
16805 2002-05-27  Michael Chastain  <mec@shout.net>
16806
16807         * gdb.c++/local.exp: Accept more nested types in output.
16808
16809 2002-05-26  Michael Chastain  <mec@shout.net>
16810
16811         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
16812
16813 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
16814
16815         * lib/gdb.exp (gdb_wrapper_init): Just because
16816         gdb_wrapper_file exists, this does not mean that the file
16817         should not be rebuilt.  That is what gdb_wrapper_initialized
16818         is for.
16819         (default_gdb_init): Reset gdb_wrapper_initialized.
16820
16821 2002-05-23  Michael Snyder  <msnyder@redhat.com>
16822
16823         * gdb.base/all-bin.exp: Revise previous patch by just reducing
16824         the precision of the floating point test results.
16825         * gdb.base/call-rt-st.exp: Ditto.
16826
16827         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
16828         * gdb.base/call-rt-st.exp: Ditto.
16829
16830 2002-05-19  Michael Chastain  <mec@shout.net>
16831
16832         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
16833
16834 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
16835
16836         * configure.in (configdirs): Add gdb.arch.
16837         * configure: Regenerate.
16838
16839 2002-05-17  Jim Blandy  <jimb@redhat.com>
16840
16841         * gdb.base/completion.exp: Recognize the more detailed error
16842         messages produced by the macro expander's lexical analyzer.
16843
16844 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
16845
16846         * gdb.arch/altivec-abi.c: New file.
16847         * gdb.arch/altivec-abi.exp: New file.
16848         * gdb.arch/altivec-regs.c: New file.
16849         * gdb.arch/altivec-regs.exp: New file.
16850
16851 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
16852
16853         * gdb.base/maint.exp (maint print type): Update for new type
16854         structure.
16855
16856 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
16857
16858         * gdb.arch: New directory.
16859         * gdb.arch/configure.in: New file.
16860         * gdb.arch/configure: New file.
16861         * gdb.arch/Makefile.in: New file.
16862
16863 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
16864
16865         * gdb.asm/asm-source.exp: Add v850 as supported target.
16866         * gdb.asm/v850.inc: New file.
16867
16868 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
16869
16870         * gdb.c++/annota2.exp (annotate-quit): Add comment.
16871
16872 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
16873
16874         * gdb.base/break.exp: Check 'break "marker2"'.
16875
16876 2002-05-10  Michael Snyder  <msnyder@redhat.com>
16877
16878         * gdb.base/long_long.exp: Fix typo.
16879
16880 2002-05-10  Jim Blandy  <jimb@redhat.com>
16881
16882         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
16883         a bug.
16884
16885         * gdb.base/printcmds.exp (test_integer_literals_rejected):
16886         Recognize more detailed error message produced by the macro
16887         expander's lexical analyzer.
16888         * lib/gdb.exp (test_print_reject): Same.
16889
16890 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
16891
16892         * gdb.c++/method.exp: Fix typo.
16893
16894 2002-05-08  Michael Snyder  <msnyder@redhat.com>
16895
16896         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
16897         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
16898         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
16899         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
16900         Add iftarget clause for strongarm.
16901
16902 2002-05-06  Michael Snyder  <msnyder@redhat.com>
16903
16904         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
16905         (gdb_continue_to_end): Accept output from status wrapper.
16906         * gdb.base/ending-run.exp: Add case for output from status wrapper.
16907         Clean up fail messages to match pass messages.
16908
16909         Enable the "needs_status_wrapper" testsuite feature.
16910         * lib/gdb.exp (gdb_wrapper_init): New procedure.
16911         (gdb_compile): Conditionally call gdb_wrapper_init.
16912         * gdb.base/a2-run.exp: Recognize output from status wrapper.
16913         * gdb.c++/method.exp: Recognize output from status wrapper.
16914
16915 2002-05-06  Ben Elliston  <bje@redhat.com>
16916 From Graydon Hoare  <graydon@redhat.com>
16917
16918         * config/sid.exp: Include support for "rawsid" protocol.
16919
16920 2002-05-03  Jim Blandy  <jimb@redhat.com>
16921
16922         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
16923         * gdb.c++/hang3.C: New file.
16924
16925 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
16926
16927         * gdb.base/default.exp: Remove obsolete code.
16928         * gdb.c++/misc.exp: Ditto.  Update copyright.
16929         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
16930         * gdb.base/whatis.exp: Ditto.  Update copyright.
16931         * gdb.base/scope.exp: Ditto.  Update copyright.
16932         * gdb.base/ptype.exp: Ditto.  Update copyright.
16933         * gdb.base/printcmds.exp: Ditto.  Update copyright.
16934         * gdb.base/opaque.exp: Ditto.  Update copyright.
16935         * gdb.base/list.exp: Ditto.
16936         * gdb.base/funcargs.exp: Ditto.  Update copyright.
16937         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
16938         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
16939         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
16940         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
16941         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
16942         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
16943
16944 2002-05-02  Michael Snyder  <msnyder@redhat.com>
16945
16946         * gdb.base/watchpoint.exp: Add xscale target.
16947         * gdb.base/long_long.exp: Add xscale target.
16948         * gdb.base/default.exp: Add xscale target.
16949
16950 2002-05-01  Jim Blandy  <jimb@redhat.com>
16951
16952         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
16953         gdb.c++/hang.exp: New test.
16954
16955 2002-05-01  Fred Fish  <fnf@redhat.com>
16956
16957         * gdb.base/completion.exp: Handle completions of "./Make" for
16958         more than one completion possibility, as is the case when we
16959         build and test in the source tree.
16960
16961 2002-04-29  Anthony Green  <green@redhat.com>
16962
16963         * gdb.java/jmisc1.exp: New file.
16964         * gdb.java/jmisc2.exp: New file.
16965
16966 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
16967
16968         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
16969
16970 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
16971
16972         * gdb.base/help.exp: Change 'help status' to allow for target
16973         dependent output differences.
16974
16975 2002-04-22  Michael Chastain  <mec@shout.net>
16976
16977         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
16978
16979 2002-04-22  Michael Chastain  <mec@shout.net>
16980
16981         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
16982
16983 2002-04-17  David S. Miller  <davem@redhat.com>
16984
16985         * gdb.asm/sparc64.inc: New file.
16986         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
16987
16988 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
16989
16990         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
16991         instruction file directly into the build tree.  Clean up at end of
16992         test.
16993
16994 2002-04-18  David S. Miller  <davem@redhat.com>
16995
16996         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
16997         handle 64-bit platforms correctly.
16998         * gdb.base/maint.exp: Likewise.
16999
17000 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
17001
17002         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17003         ``-fpic'' when compiling files comprising a shared library, but
17004         it does need additional linker flags in order to find shared
17005         libraries at run time.
17006
17007 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
17008
17009         * gdb.base/cvexpr.c (use): New function.
17010         (main): Invoke use() on all global variables to prevent
17011         some linkers from deleting these otherwise unused symbols.
17012
17013 2002-04-17  Michael Chastain  <mec@shout.net>
17014 From David S. Miller  <davem@redhat.com>
17015
17016         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
17017         handle 64-bit platforms correctly.
17018
17019 2002-04-12  Michael Snyder  <msnyder@redhat.com>
17020 From Jim Blandy  <jimb@redhat.com>
17021         * gdb.base/foo.c (foox): Remove section attribute; the linker
17022         script can handle this instead.
17023         * gdb.base/bar.c (barx): Same.
17024         * gdb.base/baz.c (bazx): Same.
17025         * gdb.base/grbx.c (grbxx): Same.
17026
17027         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
17028         manager doesn't automatically unmap overlays unnecessarily.
17029
17030 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
17031
17032         * gdb.base/ending-run.exp: Fix pattern for Mips targets
17033         stepping out of main.
17034
17035 2002-04-09  Michael Chastain  <mec@shout.net>
17036
17037         * gdb.c++/local.cc (main): Move call to marker1() inside nested
17038         scope so that the nested scope tests will make sense.
17039         * gdb.c++/local.exp: Write patterns that actually work with gcc
17040         (the HP patterns "were never known to work with gcc").
17041         Keep the old aCC patterns too.
17042
17043 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
17044
17045         * gdb.base/attach.exp: Correct target board test.
17046
17047 2002-04-08  Michael Chastain  <mec@shout.net>
17048
17049         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
17050         in a const method.  Add some xfail and fail cases for configurations
17051         that do not emit the "const ...".
17052
17053 2002-04-07  Michael Chastain  <mec@shout.net>
17054
17055         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
17056         Accept "A * const" and "const A * const" as type of "this".
17057         Fix spelling of getFunky throughout.  Make messages uniform.
17058
17059 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
17060
17061         Work around for PR gdb/285:
17062         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17063
17064 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
17065
17066         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
17067         instructions file at run time instead of configure time.
17068         Sometimes we run the test in a directory that is not the one we
17069         configured in.
17070         * gdb.asm/configure.in: Delete creation of symlink.
17071         * gdb.asm/configure: Regenerate.
17072
17073 2002-04-05  J. Brobecker  <brobecker@gnat.com>
17074
17075         * gdb.gdb/xfullpath.exp: New test, to exercise the new
17076         xfullpath () function.
17077
17078 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
17079
17080         * gdb.asm/Makefile.in: Correct dependencies.
17081
17082         * gdb.asm/powerpc.inc: New file.
17083         * gdb.asm/asm-source.exp: Add PowerPC.
17084         * gdb.asm/configure.in: Likewise.
17085         * gdb.asm/configure: Regenerated.
17086
17087 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
17088
17089         * gdb.base/relocate.exp: New file.
17090         * gdb.base/relocate.c: New file.
17091
17092 2002-04-04  Fred Fish  <fnf@redhat.com>
17093
17094         * gdb.base/step-test.exp: Update comment regarding stopping in
17095         memcpy/bcopy calls inserted as part of the compiler runtime.
17096
17097 2002-04-04  Michael Snyder  <msnyder@redhat.com>
17098
17099         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
17100
17101 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
17102
17103         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
17104         (gdb_expect): Remove $notransfer hack.
17105
17106 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
17107
17108         * gdb.c++/classes.exp ("calling method for small class"): Match
17109         updated register output.
17110
17111 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
17112
17113         Fix PR gdb/452
17114         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
17115         when finished.  Make gdb_file_cmd send "exec-file" when
17116         appropriate.
17117
17118 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
17119
17120         * gdb.base/attach.exp: Remove extra setup_xfail.
17121
17122 2002-03-26  Michael Snyder  <msnyder@redhat.com>
17123
17124         * gdb.base/default.exp: Add tests for dump, append, and restore.
17125         * gdb.base/help.exp: Add tests for dump, append, and restore.
17126         * gdb.base/dump.exp: New file, test dump, append and restore.
17127         * gdb.base/dump.c: New file.
17128
17129 2002-03-27  Michael Snyder  <msnyder@redhat.com>
17130
17131         * gdb.base/help.exp: Modify expect strings to reflect
17132         clean-ups in help messages.
17133
17134 2002-03-26  Fred Fish  <fnf@redhat.com>
17135
17136         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
17137         have debugging info for those functions and the compiler uses them
17138         internally to copy structs around.
17139
17140 2002-03-26  Fred Fish  <fnf@redhat.com>
17141
17142         * gdb.base/list.exp: Revert the change made yesterday and add note
17143         about why we don't list the default lines for remote targets.
17144
17145 2002-03-25  Michael Snyder  <msnyder@redhat.com>
17146
17147         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
17148
17149 2002-03-25  Fred Fish  <fnf@redhat.com>
17150
17151         * gdb.base/list.exp: This test works on remote targets so remove
17152         the short circuit for remote targets.  Update copyright.
17153
17154 2002-03-25  Fred Fish  <fnf@redhat.com>
17155
17156         * gdb.base/attach.exp: Fix logic error that was suppressing this
17157         test for all non hppa*-*-hpux* targets, instead of the hp target.
17158         Move comments closer to the suppression point.  Also now need to
17159         check that we are running natively.
17160
17161 2002-03-22  Michael Snyder  <msnyder@redhat.com>
17162
17163         * gdb.base/default.exp: Add test for gcore.  Update copyright.
17164         * gdb.base/help.exp: Add test for gcore.  Update copyright.
17165
17166 2002-03-06  Fred Fish  <fnf@redhat.com>
17167
17168         * gdb.base/funcargs.c:  Remove extraneous ';' character.
17169         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
17170
17171 2002-03-04  Michael Chastain  <mec@shout.net>
17172
17173         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
17174         accommodate gcc v3 function signature.
17175         * gdb.mi/mi0-var-cmd-exp: Ditto.
17176
17177 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
17178
17179         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
17180         ``GNU/Linux'' or ``Linux kernel''
17181         * testsuite/gdb.threads/pthreads.c: Ditto.
17182
17183 2002-02-24  Michael Chastain  <mec@shout.net>
17184
17185         * gdb.threads/pthreads.c (thread1): Add a return statement.
17186         (thread2): Likewise.
17187         (foo): Likewise.
17188
17189 2002-02-23  Michael Chastain  <mec@shout.net>
17190
17191         * gdb.threads/linux-dp.c (philosopher): Add a return statement
17192         to placate gcc.
17193
17194 2002-02-23  Michael Chastain  <mec@shout.net>
17195
17196         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
17197         test "ptype bint".  The test passes on all my stabs configurations.
17198
17199 2002-02-21  Jim Blandy  <jimb@redhat.com>
17200
17201         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
17202         filename at a time, and watch for the ones we want to see.
17203
17204         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
17205         types of pointers to prototyped functions.
17206
17207 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
17208
17209         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
17210         signed, unsigned and straight char.
17211         (padding_char, padding_short, padding_int, padding_long,
17212         padding_long_long, padding_float, padding_double,
17213         padding_long_double): New global variables.
17214         (fill, fill_structs): New functions.
17215
17216         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
17217         for correctly sized writes.  Update copyright.
17218         (get_valueof): New procedure.
17219         (get_sizeof): Call get_valueof.
17220         (check_valueof): New procedure.
17221         (check_padding): New procedure.
17222
17223 2002-02-20  Michael Chastain  <mec@shout.net>
17224
17225         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
17226         to setup_xfail.  Document some of the remaining calls.
17227
17228 2002-02-18  Michael Chastain  <mec@shout.net>
17229
17230         * gdb.c++/userdef.exp: Update copyright year.
17231
17232 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
17233
17234         * gdb.c++/userdef.exp: Test overloaded operators properly.
17235         Remove xfails.
17236
17237 2002-02-14  Michael Snyder  <msnyder@redhat.com>
17238
17239         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17240
17241 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
17242
17243         * gdb.base/a2-run.exp: Check for a remote target properly.
17244         * gdb.base/annota1.exp: Likewise.
17245         * gdb.base/list.exp: Likewise.
17246         * gdb.base/reread.exp: Likewise.
17247         * gdb.base/scope.exp: Likewise.
17248         * gdb.base/shlib-call.exp: Likewise.
17249         * gdb.base/term.exp: Likewise.
17250         * gdb.c++/annota2.exp: Likewise.
17251
17252 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
17253
17254         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17255
17256 2002-02-10  Michael Chastain  <mec@shout.net>
17257
17258         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17259         (call_after_alloca): Ditto.
17260
17261 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
17262
17263         * gdb.base/ending-run.exp: Guard "cont" test with
17264         gdb_skip_stdio_test.
17265
17266 2002-02-06  Jim Blandy  <jimb@redhat.com>
17267
17268         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
17269         from here...
17270         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
17271         To here.  Disable this test on non-HP platforms.  Add big comment.
17272
17273 2002-02-04  Michael Snyder  <msnyder@redhat.com>
17274
17275         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
17276           other than d10v and m32r.
17277
17278 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
17279
17280         * gdb.base/default.exp: Rewrite test patterns to reduce time
17281         taken to match them.
17282
17283 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17284
17285         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
17286         Allow a start function above main.
17287         * gdb.threads/linux-dp.exp: Fix copyright date.
17288
17289 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17290
17291         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
17292         (check_philosopher_stack): Check for manager thread before checking
17293         for a just-starting thread.
17294
17295 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17296
17297         From Neil Booth <neil@daikokuya.demon.co.uk>:
17298         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
17299         warnings.
17300
17301 2002-01-21  Fred Fish  <fnf@redhat.com>
17302
17303         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
17304         not caller.
17305
17306 2002-01-21  Jim Blandy  <jimb@redhat.com>
17307
17308         * gdb.base/reread.exp: Check that GDB properly re-reads the
17309         executable file when it changes while no inferior is running.
17310
17311 2002-01-21  Fred Fish  <fnf@redhat.com>
17312
17313         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
17314         optionally accept the "shlib events" variation.
17315
17316 2002-01-21  Jim Blandy  <jimb@redhat.com>
17317
17318         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
17319         call `fflush' after every `printf', so that the output is produced
17320         at predictable points, regardless of whatever buffering does (or
17321         doesn't) take place.
17322         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
17323         at different points.
17324
17325 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
17326
17327         * gdb.c++/inherit.exp: Update copyright years.
17328         * gdb.c++/method.exp: Likewise.
17329
17330 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
17331
17332         * gdb.c++/classes.exp: Update for improved v3 support and skipping
17333         artificial methods/arguments.
17334         * gdb.c++/derivation.exp: Likewise.
17335         * gdb.c++/inherit.exp: Likewise.
17336         * gdb.c++/method.exp: Likewise.
17337         * gdb.c++/virtfunc.exp: Likewise.
17338
17339 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
17340
17341         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
17342         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
17343         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
17344         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
17345         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17346         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
17347
17348 2002-01-17  Jim Blandy  <jimb@redhat.com>
17349
17350         * gdb.asm/asm-source.exp (info symbol): Take another shot at
17351         anchoring the pattern matching the entry point symbol's name.
17352
17353 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
17354
17355         * gdb.base/maint.exp: Update ``maint internal-error'' to match
17356         continue/quit query.  Update copyright.
17357
17358 2002-01-14  Michael Snyder  <msnyder@redhat.com>
17359
17360         * gdb.base/gcore.exp: Remove extra debugging output.
17361
17362 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
17363
17364         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
17365         for slightly dubious v2 mangled string.
17366
17367 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
17368
17369         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
17370
17371 2002-01-10  Jason Merrill  <jason@redhat.com>
17372
17373         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
17374
17375         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
17376         constructors.
17377         * gdb.c++/derivation.exp: Likewise.
17378         * gdb.c++/templates.exp: Likewise.
17379         * gdb.c++/virtfunc.exp: Likewise.
17380
17381 2002-01-10  Michael Snyder  <msnyder@redhat.com>
17382
17383         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
17384
17385 2002-01-08  Michael Snyder  <msnyder@redhat.com>
17386
17387         * gdb.base/gcore.exp: New test for generate-core-file command.
17388         * gdb.base/gcore.c: Testcase for above.
17389         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
17390
17391 2002-01-08  Jason Merrill  <jason@redhat.com>
17392
17393         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
17394
17395 2002-01-07  Fred Fish  <fnf@redhat.com>
17396
17397         * gdb.c++/overload.exp: Remove unconditional xfails for:
17398         print foo_instance1.overloadargs(1)
17399         print foo_instance1.overloadargs(1, 2)
17400         print foo_instance1.overloadargs(1, 2, 3)
17401         print foo_instance1.overloadargs(1, 2, 3, 4)
17402         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
17403         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
17404         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
17405         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
17406         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
17407         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
17408         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
17409         print foo_instance1.overload1arg()
17410         print foo_instance1.overload1arg((char)arg2)
17411         print foo_instance1.overload1arg((signed char)arg3)
17412         print foo_instance1.overload1arg((unsigned char)arg4)
17413         print foo_instance1.overload1arg((int)arg7)
17414         print foo_instance1.overload1arg((unsigned int)arg8)
17415         print foo_instance1.overload1arg((float)arg11)
17416         print foo_instance1.overload1arg((double)arg12)
17417
17418 2002-01-07  Michael Snyder  <msnyder@redhat.com>
17419
17420         * gdb.base/huge.exp: New test.  Print a very large target data object.
17421         (skip_huge_test): New test variable.  Define if you want to skip this
17422         test.  The test reads an 8 megabyte data object from the target, so it
17423         might be very time consuming on remote targets with a slow connection.
17424         * gdb.base/huge.c: New file.  Test case for above.
17425
17426 2002-01-07  Fred Fish  <fnf@redhat.com>
17427
17428         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
17429         g_instance.bfoo, and g_instance.cfoo.
17430
17431 2002-01-07  Jeffrey A Law  <law@redhat.com>
17432
17433         * gdb.base/break.c (multi_line_if_conditional): New function.
17434         (multi_ilne_while_conditional): Likewise.
17435         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
17436         IF or WHILE condition puts the breakpoint at the start of
17437         the condition.
17438
17439         * gdb.base/selftest.exp (backtrace through signal handler): Remove
17440         hppa*-*-hpux* expected failure.
17441         * gdb.base/structs.exp (do_function_calls): Similarly.
17442
17443         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
17444         watchpoints.
17445
17446 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
17447
17448         Fix PR gdb/66.
17449         * gdb.base/structs.exp: Replace skip for a29k with skip for
17450         gdb,cannot_call_functions.
17451         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
17452         * gdb.base/callfuncs.exp: Ditto.
17453         * gdb.base/call-rt-st.exp: Ditto.
17454         * gdb.base/call-strs.exp: Ditto.
17455         * gdb.base/callfwmall.exp: Ditto.
17456         * gdb.base/scope.exp: Obsolete xfail a29k.
17457         * gdb.c++/misc.exp: Ditto.
17458         * gdb.c++/cplusfuncs.exp: Ditto.
17459         * gdb.base/ptype.exp: Ditto.
17460         * gdb.base/printcmds.exp: Ditto.
17461         * gdb.base/opaque.exp: Ditto.
17462         * gdb.base/list.exp: Ditto.
17463         * gdb.base/funcargs.exp: Ditto.
17464         * gdb.base/default.exp: Ditto.
17465
17466 2002-01-04  Michael Snyder  <msnyder@redhat.com>
17467
17468         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
17469         * gdb.base/maint.exp: Add tests for maint info sections options.
17470
17471 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
17472
17473         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
17474
17475 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
17476
17477         * gdb.asm/arm.inc: New file.
17478         * gdb.asm/asm-source.exp: Add arm targets.
17479         * gdb.asm/configure.in: Ditto.
17480         * gdb.asm/configure: Recreated from configure.in.
17481
17482 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
17483
17484         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
17485         with HP's compiler.
17486         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17487         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17488         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17489         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17490
17491         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
17492         either HP's compilers or GCC.
17493
17494         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
17495         a SIGBUS or SIGSEGV.
17496
17497         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
17498
17499         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
17500         can be compiled with either HP's compiler or GCC.
17501
17502         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
17503         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
17504         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
17505
17506         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
17507         to match current gdb output.  Update due to using auto-solib-limit
17508         for limiting instead of overloading auto-solib-add.
17509         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
17510         test program.
17511
17512         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
17513         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
17514         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17515         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17516         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17517         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17518         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
17519         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
17520         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
17521         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
17522         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
17523         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
17524         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
17525
17526         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
17527         a SIGTRAP to the inferior.
17528
17529 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
17530
17531         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
17532         Substitute call to target_link by call to gdb_compile.
17533
17534 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
17535
17536         * gdb.base/break.exp: Fix HP specific search string when testing
17537         backtracing in a called function.
17538
17539         * gdb.base/constvars.exp: Only set lang to C++ if we're
17540         compiling the test with HP's compilers.
17541         * gdb.base/volatile.exp: Similarly.
17542
17543 2001-12-19  Jim Blandy  <jimb@redhat.com>
17544
17545         * gdb.base/printcmds.exp: Expect the null character to be printed
17546         as '\0', and the '\013' to be printed as '\v'.
17547         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
17548         * gdb.base/setvar.exp: Same.
17549
17550 2001-12-17  Jim Blandy  <jimb@redhat.com>
17551
17552         * gdb.base/completion.exp: Rather than completing very long
17553         filenames, which can make the readline library produce output we
17554         don't recognize, cd to the directory first, and then complete
17555         using nice, short relative paths.
17556
17557         * gdb.base/completion.exp: On some systems, there is, in fact, a
17558         variable named `b' in scope, since GDB treats all static
17559         variables as being in scope.  So use `no_var_named_this'
17560         instead of `b'.
17561
17562         * gdb.base/corefile.exp: Recognize the message saying that GDB
17563         can't find the core file's registers as a failure.
17564
17565 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
17566
17567         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
17568         test expect string more specific.
17569
17570 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
17571
17572         * gdb.asm/asm-source.exp: Add support for xstormy16.
17573         * gdb.asm/configure.in: Ditto.
17574         * gdb.asm/configure: Rebuild.
17575         * gdb.asm/xstormy16.inc: New file.
17576
17577 2001-12-10  Fred Fish  <fnf@redhat.com>
17578
17579         * gdb.base/maint.exp: Update to match changes in type dumping code.
17580
17581 2001-12-10  Jim Blandy  <jimb@redhat.com>
17582
17583         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
17584         matching the entry point symbol's name at the beginning of the
17585         line.
17586
17587 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
17588
17589         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
17590         gdb.c++/inherit.exp, gdb.c++/method.exp,
17591         gdb.c++/namespace.exp, gdb.c++/templates.exp,
17592         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
17593         and class layout support.
17594
17595 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
17596
17597         * gdb.c++/classes.exp: Add test for static member function.
17598         * gdb.c++/misc.cc: Add class with static member function.
17599
17600 2001-12-07  Jim Blandy  <jimb@redhat.com>
17601
17602         If GDB says it can't find the struct the function returned, report
17603         those tests as `unsupported'.
17604         * gdb.base/call-rt-st.exp (print_struct_call): New function.
17605         Rewrite subsequent tests to use it.
17606
17607         If GDB says it can't find the struct the function returned, report
17608         those tests as `unsupported'.
17609         * gdb.base/structs.exp (call_struct_func): New function.
17610         (do_function_calls): Use call_struct_func to call the functions
17611         returning structs.
17612
17613         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
17614         whether functions are prototyped or not, so we can't possibly pass
17615         arguments to t_float_values2 properly.
17616
17617         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
17618         value of `timeout' for targets other than the mips*tx39-*.
17619
17620 2001-12-06  Michael Snyder  <msnyder@redhat.com>
17621
17622         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
17623         and detect whether the start symbol has a leading underscore.
17624
17625 2001-12-04  Jim Blandy  <jimb@redhat.com>
17626
17627         * gdb.base/completion.exp: Clarify indentation.
17628
17629 2001-12-03  Jim Blandy  <jimb@redhat.com>
17630
17631         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
17632         variables on the S/390, not `.word'.
17633
17634 2001-11-30  Jim Blandy  <jimb@redhat.com>
17635
17636         Add assembly-source tests for s390-ibm-linux.
17637         * gdb.asm/s390.inc: New file.
17638         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
17639         the S/390 architecture.
17640         * gdb.asm/configure: Regenerated.
17641
17642 2001-11-30  Michael Snyder  <msnyder@redhat.com>
17643
17644         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
17645         next, info source, info sources, info line, global and static
17646         variables, and static functions.
17647         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
17648         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
17649         * gdb.asm/asmsrc1.s: Add a static function and some variables.
17650         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
17651         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
17652         (gdbasm_leave): Restore frame pointer.
17653         (gdbasm_startup): Copy stack set-up from crt0.S.
17654
17655 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
17656
17657         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
17658         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
17659         to a local (non-static) variable. Copy tstruct.a to a static buffer
17660         and return a pointer to that buffer.
17661         * gdb.base/callfwmall.c (t_structs_a): Ditto.
17662
17663 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
17664
17665         * gdb.asm/configure.in: Fix recognition of ix86 target.
17666         * gdb.asm/configure: Regenerate.
17667
17668 2001-11-21  Michael Snyder  <msnyder@redhat.com>
17669
17670         * gdb.asm/sparc.inc: New file.
17671         * gdb.asm/asm-source.exp: Recognize sparc target.
17672         * gdb.asm/configure.in: Recognize sparc target.
17673         * gdb.asm/configure: Regenerate.
17674
17675 2001-11-21  Michael Snyder  <msnyder@redhat.com>
17676
17677         * gdb.asm/m32r.inc: New file.
17678         * gdb.asm/asm-source.exp: Recognize m32r target.
17679         * gdb.asm/configure.in: Recognize m32r target.
17680         * gdb.asm/configure: Regenerate.
17681
17682 2001-11-20  Michael Snyder  <msnyder@redhat.com>
17683
17684         * gdb.asm/i386.inc: New file.
17685         * gdb.asm/asm-source.exp: Recognize ix86 target.
17686         * gdb.asm/configure.in: Recognize ix86 target.
17687         * gdb.asm/configure: Regenerate.
17688
17689         * gdb.c++/namespace.exp: Fix quotes in output messages.
17690
17691 2001-11-14  Michael Snyder  <msnyder@redhat.com>
17692
17693         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
17694         qualifier in a type cast expression, to designate an address
17695         in the instruction space (Harvard architecture).
17696
17697 2001-11-13  Michael Snyder  <msnyder@redhat.com>
17698
17699         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
17700         Tests for expressions using 'const' and 'volatile'.
17701
17702 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
17703
17704         * gdb.asm/asm-sources.exp: Allow defining linker flags.
17705
17706 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
17707
17708         * lib/mi-support.exp (mi_run_to_helper): Move comments
17709         outside of gdb_expect.
17710
17711 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
17712
17713         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
17714         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
17715         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
17716         mi0_run_to): New functions.
17717         * gdb.mi/mi-simplerun.exp: Use them.
17718         * gdb.mi/mi0-simplerun.exp: Likewise.
17719         * gdb.mi/mi-var-cmd.exp: Likewise.
17720         * gdb.mi/mi0-var-cmd.exp: Likewise.
17721
17722 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
17723
17724         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
17725         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
17726
17727 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
17728
17729         * gdb.base/restore.exp: Include $expected value in restored test
17730         message.
17731
17732 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
17733
17734         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
17735         implemented.
17736
17737 2001-11-08  Michael Snyder  <msnyder@redhat.com>
17738
17739         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
17740         Add pass/fail message for stop at breakpoint in call dummy function.
17741
17742 2001-11-07  Michael Snyder  <msnyder@redhat.com>
17743
17744         * gdb.c++/templates.exp (test_template_breakpoints):
17745         If we get an overload menu, but it does not match what
17746         we expect, we still need to issue the "cancel" command.
17747         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
17748         making the whitespace optional.  Argument for "new" may be
17749         "unsigned" as well as "unsigned int/long".
17750         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
17751         making the whitespace optional.  Also replace "(void) with
17752         "((void|)), making the keyword "void" optional.
17753         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
17754         making the whitespace optional.  Also replace "(void) with
17755         "((void|)), making the keyword "void" optional.
17756         * gdb.base/callfuncs.c (t_float_values): This function must
17757         _not_ be prototyped, and the following function (t_float_values2)
17758         must be prototyped (if the compiler supports it), so that GDB
17759         can be tested against both cases.  Usually one case involves
17760         promotion of float to double, while the other does not.
17761         * gdb.base/callfwmall.c: Ditto.
17762         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
17763         includes a stack frame for "start".
17764
17765 2001-11-05  Jim Blandy  <jimb@redhat.com>
17766
17767         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
17768         pointers are 32 bits long, and that offsets of relocs are always
17769         stored in the data (REL-style), and not in the reloc entry itself
17770         (RELA-style).
17771         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
17772         stabs.
17773
17774 2001-11-01  Michael Snyder  <msnyder@redhat.com>
17775
17776         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
17777         and regular expression operators by using quoting.
17778
17779 2001-10-31  Michael Snyder  <msnyder@redhat.com>
17780
17781         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
17782         depending on what the symbol table contains.
17783         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
17784         the output of the ptype command.  Similarly, accept both "const &"
17785         and "const&".
17786
17787 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
17788
17789         * gdb.base/miscexprs.c (main): Add usage of preprocessor
17790         symbol `STORAGE' to allow to choose the storage class of
17791         the local datastructures.
17792         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
17793         compiler directive.
17794
17795 2001-10-30  Michael Snyder  <msnyder@redhat.com>
17796
17797         * gdb.base/jump.exp: Allow it to run for all targets.
17798
17799 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
17800
17801         * gdb.base/call-ar-st.c (print_double_array): Match for loop
17802         with new double_array size.
17803         (main): Change storage class of all local variables to static.
17804         Reduce size of double_array to 9.
17805         * gdb.base/call-ar-st.exp:  Increase timeout value.
17806         Change expected output for double array to match new size in
17807         call-ar-st.c.
17808
17809 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
17810
17811         * gdb.base/ending-run.exp: Create identical output when passing
17812         `step to end of run' case.  Add regular expression branch satisfying
17813         Stormy16 target.
17814
17815 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
17816
17817         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
17818         that we catch the expected failure under Linux/x86.
17819
17820 2001-10-29  Orjan Friberg  <orjanf@axis.com>
17821
17822         * gdb.base/setvar.exp: Escape curly braces.
17823         * gdb.stabs/weird.exp: Ditto.
17824
17825 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
17826
17827         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
17828         * gdm.mi/mi0-hack-cli.exp: Likewise.
17829
17830 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
17831
17832         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
17833         messages.
17834
17835 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
17836
17837         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
17838         checking MI enabled.
17839
17840 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
17841
17842         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
17843
17844 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
17845
17846         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
17847         if gdb child process crashes, just signal an error.
17848
17849 2001-10-02  Jim Blandy  <jimb@redhat.com>
17850
17851         * lib/gdb.exp (test_xfail_format): Simplify.
17852
17853         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
17854         front of the variable name `format'.  Simplify `if'.
17855
17856 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
17857
17858         * gdb.threads/pthreads.exp: Wait for output and delay
17859         before sending ^C.
17860
17861 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
17862
17863         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
17864         some incorrect output instead of timing out.
17865         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
17866
17867 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
17868
17869         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
17870         check to allow additional `int'.
17871
17872 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
17873
17874         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
17875         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
17876
17877 2001-09-27  Michael Snyder  <msnyder@redhat.com>
17878
17879         * lib/gdb.exp (test_debug_format): New proc.
17880         (setup_xfail_format): Use new proc test_debug_format.
17881         * gdb.base/constvars.exp (local_compiler_xfail_check): New
17882         proc; use new service proc test_debug_format.
17883         Replace all other "gcc_compiled" tests with this test.
17884         * gdb.base/volatile.exp (local_compiler_xfail_check): New
17885         proc; use new service proc test_debug_format.
17886         Replace all other "gcc_compiled" tests with this test.
17887
17888 2001-09-27  Michael Snyder  <msnyder@redhat.com>
17889
17890         * gdb.base/cvexpr.exp: New file.
17891         * gdb.base/cvexpr.c: New file
17892         Test for expressions using const and volatile keywords.
17893
17894 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
17895
17896         * gdb.base/constvars.exp: Check for different orders of keywords
17897         and additional "int" strings in output.
17898
17899 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
17900
17901         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
17902         responses from "help maint".
17903
17904 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
17905
17906         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
17907         to localhost:NNN instead of :NNN, in case Xvfb is listening
17908         only on TCP.
17909
17910 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
17911
17912         * gdb.base/recurse.exp: When checking leaving the watchpoint
17913         scope, recognize when gdb is in function's epilogue and pass.
17914
17915 2001-09-18  Keith Seitz  <keiths@redhat.com>
17916
17917         * lib/insight-support.exp (_gdbtk_export_target_info): Add
17918         support for running tests against sid targets.
17919         (gdbtk_done): Ditto.
17920
17921 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
17922
17923         * gdb.base/ending-run.c (main): Set stdout buffersize
17924         to the same reasonable value for any target.
17925         * gdb.base/ending-run.exp: Add a regular expression
17926         to make testsuite happy on Sanyo Stormy16 target.
17927
17928 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
17929
17930         * gdb.base/display.c (do_loops): Add float variable `f'.
17931         Increment f in loop.
17932         * gdb.base/display.exp: Increment timeout by 60 seconds.
17933         Change float display test to use variable `f'.
17934
17935 2001-09-17  Jim Blandy  <jimb@redhat.com>
17936
17937         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
17938         overflowing the limited breakpoint tables on some ROM monitors
17939         (like the ROM68K).
17940
17941 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
17942
17943         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
17944         the "-ac" (disable access control) flag.
17945
17946 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
17947
17948         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
17949         ints.
17950
17951 2001-08-30  Keith Seitz  <keiths@redhat.com>
17952
17953         * lib/gdb.exp: Move all insight-related functionality into
17954         separate file.
17955         * lib/insight-support.exp: New file.
17956
17957 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
17958
17959         * config/sid.exp (sid_start): Never set sid verbosity; disable
17960         expect_background {} that consumed its stdout; tolerate </dev/null.
17961         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
17962
17963 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
17964
17965         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
17966         CLI jump command to start it.
17967         (mi_run_to_main): Fail immediatly when unexpected output.
17968
17969 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
17970
17971         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
17972         beginning of function.  Fix PR gdb/191.
17973
17974 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
17975
17976         * config/sid.exp (sid_start): Don't warn if we cannot figure out
17977         what to force sid endianness to.
17978
17979 2001-08-15  Keith Seitz  <keiths@redhat.com>
17980
17981         * lib/gdb.exp (gdbtk_start): Don't set environment
17982         variables for TCL_LIBRARY and friends. Insight will
17983         now figure these out for itself.
17984
17985 2001-08-02  Michael Snyder  <msnyder@redhat.com>
17986
17987         * gdb.base/completion.exp: Remove the symbol "a64l" from
17988         the expect string; this is target-specific, and not related
17989         to what is being tested.
17990
17991 2001-08-02  Dave Brolley  <brolley@redhat.com>
17992
17993         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
17994
17995 2001-07-25  Michael Snyder  <msnyder@redhat.com>
17996
17997         * gdb.base/consecutive.exp: New file.  Test stepping over
17998         breakpoints on consecutive instructions.
17999         * gdb.base/consecutive.c: New file.
18000
18001         * gdb.base/call-rt-st.exp: Use double-backslash to quote
18002         curly braces in regular expressions.
18003
18004 2001-07-25  Michael Snyder  <msnyder@redhat.com>
18005
18006         * gdb.base/ending-run.exp: Accept "Program exited normally" as
18007         legitimate output from stepping out of main.
18008
18009 2001-07-22  Keith Seitz  <keiths@redhat.com>
18010
18011         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
18012         the empty string, do not run the tests.
18013
18014 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18015
18016         * gdb.base/long_long.exp: Detect size of pointer.  Take into
18017         account 2-byte pointers when testing for p/a results.
18018
18019 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18020
18021         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
18022         and defined to 1K for m68hc11.
18023         (random_data): Reduce table to 1K for embedded platforms (68hc11).
18024         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
18025         (sizeof_random_data): New variable to tell the size of the data table;
18026         don't test past this size; always run to main.
18027
18028 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18029
18030         * gdb.base/return2.exp: return of long long and double fails for
18031         68HC11; don't execute these tests on that platform.
18032         * gdb.base/return.exp: Return of a double fails for 68hc11.
18033
18034 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18035
18036         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
18037         tests that print a float.
18038         * call-rt-st.exp: Likewise.
18039
18040 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
18041
18042         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
18043         running this test on Linux.
18044
18045 2001-06-24  Michael Chastain  <chastain@redhat.com>
18046
18047         * gdb.base/arithmet.exp: Remove some tests to make all test names
18048         unique.
18049
18050 2001-07-03  Michael Snyder  <msnyder@redhat.com>
18051
18052         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
18053         the output of the ptype command.
18054
18055 2001-07-02  Michael Snyder  <msnyder@redhat.com>
18056
18057         * gdb.base/completion.exp: Don't assume that break.c is the only
18058         source file that may contain functions named "marker".
18059         * gdb.base/corefile.exp: Quote the curly braces in regexp.
18060
18061 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
18062
18063         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
18064         of files to delete.
18065
18066         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
18067         * gdb.disasm/h8300s.exp: New file.
18068         gdb.disasm/h8300s.s: Likewise.
18069
18070 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
18071
18072         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
18073         empty breakpoint tables.
18074
18075 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
18076
18077         * lib/mi-support.exp: Update args=... part of stop-reason
18078         patterns. Accept either a list or a tuple.
18079
18080 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
18081
18082         * lib/mi-support.exp: Remove local emacs variable defining
18083         change-log-default-name.
18084
18085 2001-06-22  Michael Chastain  <chastain@redhat.com>
18086
18087         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
18088         This is operationally compatible with the previous version.
18089
18090 2001-06-13  Jim Blandy  <jimb@redhat.com>
18091
18092         * lib/gdb.exp (gdb_test): Doc fix.
18093
18094 2001-06-10  Michael Chastain  <chastain@redhat.com>
18095
18096         * gdb.base/exprs.exp: Remove a duplicate test.
18097
18098 2001-06-06  Jim Blandy  <jimb@redhat.com>
18099
18100         * gdb.base/return2.exp (main): Use values to test float and double
18101         returns that are not NaN's, to avoid being confused by IEEE
18102         comparison rules.
18103
18104 2001-06-04  Michael Snyder  <msnyder@redhat.com>
18105
18106         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
18107         non-zero if control_c fails.  Terminate the test on failure,
18108         rather than wait for 12 more tests to time out.
18109
18110 2001-06-06  Jim Blandy  <jimb@redhat.com>
18111
18112         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
18113         Don't forget to match the GDB prompt.
18114
18115         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
18116
18117 2001-06-04  Jim Blandy  <jimb@redhat.com>
18118
18119         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
18120         command.
18121
18122 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
18123
18124         * gdb.base/annota1.exp (info break): Match four or more spaces
18125         after "Address".
18126
18127 2001-05-31  Michael Chastain  <chastain@redhat.com>
18128
18129         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
18130         (dm_type_int_star): Likewise.
18131         (dm_type_long_star): Likewise.
18132         (dm_type_void_star): Likewise.
18133
18134 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
18135
18136         * gdb.base/completion.exp (INPUTRC): Set this environment variable
18137         to a known value in order to get consistent results regardless
18138         of the setting of INPUTRC or the presence or contents of .inputrc.
18139
18140 2001-05-24  Michael Snyder  <msnyder@redhat.com>
18141
18142         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
18143         Don't require that the main thread and the manager thread are the
18144         first in the list.
18145
18146         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
18147         debugging.  If test fails, issue an "unsupported" not a "fail".
18148
18149 2001-05-24  Jim Blandy  <jimb@redhat.com>
18150
18151         Don't assume that short is shorter than int.
18152         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
18153         assume that shorts are smaller than ints.  On a 16-bit machine,
18154         this isn't true.
18155         ("print unsigned char == (~0)"): Add test that verifies that ~0,
18156         an int, is not equal to ~0 stored in an unsigned char.  This tests
18157         the same thing that the previous test meant to, but works on
18158         16-bit machines, too.
18159         ("print unsigned char != (~0)"): Same test, complemented.
18160
18161 2001-05-24  Michael Snyder  <msnyder@redhat.com>
18162
18163         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
18164         test for (full_coverage == 0).  This makes the test run faster,
18165         and prevents dejagnu getting out of step.
18166
18167 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
18168
18169         * gdb.base/finish.exp (finish_void): Revise pattern for
18170         stopping on the call statement to not permit stopping at
18171         the start of the instructions comprising the call sequence.
18172
18173 2001-05-19  Michael Chastain  <chastain@redhat.com>
18174
18175         * gdb.base/callfuncs.exp: Make all test names unique.
18176         * gdb.base/commands.exp: Make all test names unique.
18177         * gdb.base/condbreak.exp: Make all test names unique.
18178         * gdb.base/dbx.exp: Make all test names unique.
18179         * gdb.base/default.exp: Make all test names unique.
18180         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
18181         and TIMEOUT messages to their corresponding PASS message.
18182         * gdb.base/ending-run.exp: Make all test names unique.
18183         * gdb.base/long_long.exp: Remove duplicate test.
18184
18185 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
18186
18187         * gdb.base/finish.exp (finish_void): Allow "finish" command to
18188         stop on the call statement as well as the statement after the
18189         call.
18190
18191 2001-05-21  Michael Snyder  <msnyder@redhat.com>
18192
18193         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
18194
18195 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
18196
18197         * gdb.base/completion.exp: Revamp test. Make it execute on all
18198         platforms.
18199
18200 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
18201
18202         * config/gdbserver.exp (gdb_load): Handle the case
18203         in which the arguments to gdbserver are given in the
18204         baseboard configuration file.
18205         Also handle the case in which the server needs to do a
18206         load.
18207
18208 2001-05-07  Keith Seitz <keiths@cygnus.com>
18209
18210         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
18211         set up the display for testing.
18212         (gdbtk_start): Convert all paths to paths that tcl will like.
18213         Export target information to environment.
18214         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
18215         necessary.
18216         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
18217         (to_tcl_path): New proc to convert a given pathname into
18218         a path acceptible as an argument to a tcl command.
18219         (_gdbtk_export_target_info): New proc to export target info
18220         into the environment for gdbtk testing.
18221         (gdbtk_done): New proc to signal end-of-test.
18222
18223 2001-05-06  Jim Blandy  <jimb@redhat.com>
18224
18225         * restore.c: Make the code of caller0 correspond to its comment.
18226
18227 2001-05-03  Michael Snyder  <msnyder@redhat.com>
18228
18229         * config/sid.exp (gdb_target_sid): Check for error messages.
18230         On error or timeout, don't make expect exit (which will terminate
18231         all subsequent tests); instead just make gdb exit.
18232         (gdb_load): Check for error messages.  On error or timeout,
18233         return a negative value.
18234
18235 2001-04-24  Jim Blandy  <jimb@redhat.com>
18236
18237         * gdb.c++/templates.exp: If we see the prompt for the overload
18238         list, but we haven't recognized any of the longer patterns,
18239         arrange for this test to fail, not hang.
18240
18241         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18242         variations.
18243
18244 2001-04-22  Michael Chastain  <chastain@redhat.com>
18245
18246         * gdb.c++/local.exp: Use the 'runto' library function.
18247         * gdb.c++/namespace.exp: Likewise.
18248         * gdb.c++/overload.exp: Likewise.
18249
18250 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
18251
18252         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18253         * gdb.base/step-line.exp: New file.  Test step/next in presence of
18254         #line directives.
18255         * gdb.base/step-line.c: New file.  Test program for the above.
18256         * gdb.base/step-line.inp: New file.  We pretend that this file has
18257         been transformed by some other tool into step-line.c.
18258
18259 2001-03-21  Jim Blandy  <jimb@redhat.com>
18260
18261         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18262         unmangled operator names.
18263
18264 2001-03-20  Jim Blandy  <jimb@redhat.com>
18265
18266         * gdb.threads/linux-dp.exp: Recognize an additional message
18267         generated by GDB when it doesn't understand how to debug threads
18268         on the target system.
18269
18270 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
18271
18272         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
18273
18274 2001-03-12  Michael Chastain  <chastain@redhat.com>
18275
18276         * gdb.c++/derivation.exp: Use the 'runto' library function.
18277
18278 2001-03-12  Michael Chastain  <chastain@redhat.com>
18279
18280         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
18281
18282 2001-02-24  Michael Chastain  <chastain@redhat.com>
18283
18284         * gdb.c++/ref-types.exp: Change handwritten code to library
18285         function 'runto'.
18286
18287 2001-03-16  Orjan Friberg  <orjanf@axis.com>
18288
18289         * gdb.base/signals.exp: Set count to 0 explicitly.
18290
18291 2001-03-15  Mark Salter  <msalter@redhat.com>
18292
18293         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
18294         (gdb_target_monitor): Add check of gdb_target_cmd return value.
18295         (gdb_load): Add support for additional target_info: gdb_download_size
18296         and gdb_load_timeout.
18297
18298 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
18299
18300         * gdb.base/annota1.exp: Move test of isnative to earlier in the
18301         file -- to prevent failing when the compile fails but we have no
18302         intention of running the tests anyway.
18303
18304         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
18305         tests if set.
18306
18307         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
18308         integers.
18309
18310         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
18311         * gdb.c++/namespace.exp: Ditto.
18312
18313 2001-03-07  Orjan Friberg  <orjanf@axis.com>
18314
18315         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
18316         * gdb.base/pointers.exp: Relax pattern match of decimals.
18317
18318 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
18319
18320         * Makefile.in, config/abug.exp, config/cfdbug.exp,
18321         config/cpu32bug.exp, config/dve.exp, config/est.exp,
18322         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
18323         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
18324         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
18325         config/sh.exp, config/sid.exp, config/slite.exp,
18326         config/sparclet.exp, config/udi.exp, config/unknown.exp,
18327         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
18328         config/vxworks.exp, config/vxworks29k.exp,
18329         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
18330         gdb.base/all-bin.exp, gdb.base/annota1.exp,
18331         gdb.base/arithmet.exp, gdb.base/assign.exp,
18332         gdb.base/async.exp, gdb.base/attach.exp,
18333         gdb.base/bitfields.exp, gdb.base/bitops.exp,
18334         gdb.base/break.exp, gdb.base/call-ar-st.exp,
18335         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
18336         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
18337         gdb.base/commands.exp, gdb.base/completion.exp,
18338         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
18339         gdb.base/constvars.exp, gdb.base/corefile.exp,
18340         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
18341         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
18342         gdb.base/ending-run.exp, gdb.base/environ.exp,
18343         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
18344         gdb.base/finish.exp, gdb.base/foll-exec.exp,
18345         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
18346         gdb.base/funcargs.exp, gdb.base/help.exp,
18347         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
18348         gdb.base/logical.exp, gdb.base/long_long.exp,
18349         gdb.base/maint.exp, gdb.base/mips_pro.exp,
18350         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
18351         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
18352         gdb.base/pointers.exp, gdb.base/printcmds.exp,
18353         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
18354         gdb.base/regs.exp, gdb.base/relational.exp,
18355         gdb.base/remote.exp, gdb.base/reread.exp,
18356         gdb.base/restore.exp, gdb.base/return2.exp,
18357         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
18358         gdb.base/selftest.exp, gdb.base/setshow.exp,
18359         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
18360         gdb.base/sigall.exp, gdb.base/signals.exp,
18361         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
18362         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
18363         gdb.base/step-test.exp, gdb.base/structs.c,
18364         gdb.base/structs.exp, gdb.base/structs2.exp,
18365         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
18366         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
18367         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
18368         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18369         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
18370         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
18371         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
18372         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
18373         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
18374         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
18375         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
18376         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
18377         gdb.fortran/types.exp, gdb.java/jmisc.exp,
18378         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
18379         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
18380         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
18381         gdb.trace/circ.exp, gdb.trace/collection.exp,
18382         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
18383         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
18384         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
18385         gdb.trace/report.exp, gdb.trace/save-trace.exp,
18386         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
18387         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
18388         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
18389         notices.
18390
18391 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
18392
18393         * gdb.base/varargs.c (find_max_double): Fix printf format string:
18394         first arg is int not float.
18395
18396 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
18397
18398         * gdb.base/reread.exp: Unsupported for non-native targets;
18399         doesn't work for remote debugging.
18400
18401 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
18402
18403         From  Drew Moseley  <dmoseley@redhat.com>
18404         * gdb.base/ending-run.exp: Properly handle the BSP state when
18405         stepping past the end of main.
18406
18407 2001-02-19  John Moore  <jmoore@redhat.com>
18408
18409         * gdb.base/commands.exp (infrun_breakpoint_command_test):
18410         Converted HPUX fix for non-expected items following multiple
18411         step commands into general solution for all platforms.
18412
18413 2001-02-18  Michael Chastain  <chastain@redhat.com>
18414
18415         * gdb.c++/classes.exp (do_tests): Change runto statements
18416         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
18417         statements demangler agnostic.
18418         * gdb.c++/virtfunc.exp (do_tests): Likewise.
18419         (gdb_virtfunc_restart): Likewise.
18420
18421 2001-02-14  Michael Chastain  <chastain@redhat.com>
18422
18423         * gdb.c++/inherit.exp (do_tests): Change runto statements
18424         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
18425         statements demangler agnostic.
18426
18427 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
18428
18429         * gdb.threads/pthreads.exp: Unify pass/fail messages for
18430         ``continue to bkpt at common_routine in thread 2'' and ``stopped
18431         before calling common_routine 15 times'' tests.
18432
18433 2001-02-11  Michael Chastain  <chastain@redhat.com>
18434
18435         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
18436         Helps the test script figure out which demangler is in use.
18437         (dm_type_foo_ref): Ditto.
18438         (dm_type_int_star): Ditto.
18439         (dm_type_long_star): Ditto.
18440         (dm_type_unsigned_int): Ditto.
18441         (dm_type_void): Ditto.
18442         (dm_type_void_star): Ditto.
18443         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
18444         Probe the gdb demangler and set variables to accommodate
18445         formatting differences.
18446         (info_func_regexp): New function.  Same as info_func, but
18447         matches against a regexp.
18448         (info_func): Match against a literal string.
18449         (print_addr_2): New function.  Match against a literal string,
18450         which can be different from the input to gdb.
18451         (print_addr): Simply call print_addr_2 with the same argument twice.
18452         (test_lookup_operator_functions): Use demangler formatting variables.
18453         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
18454         the tests in the same order as the C++ class declaration.
18455         (test_paddr_operator_functions): Ditto.
18456         (test_paddr_overloaded_functions): Ditto.
18457         (test_paddr_hairy_functions): Use demangler formatting variables.
18458         Add reference to gdb/19 for related tests.
18459         (do_tests): Call probe_demangler.
18460
18461 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
18462
18463         * gdb.c++/templates.cc (printf): Remove unused function definition.
18464
18465 2001-01-26  Felix Lee  <flee@redhat.com>
18466
18467         * sid.exp (sid_exit): Pass host, not target, to remote_close.
18468
18469 2001-01-25  matthew green  <mrg@redhat.com>
18470
18471         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
18472         up sid.
18473         (sid_exit): Call `remote_pop_conn' after GDB is gone.
18474
18475 2001-01-25  matthew green  <mrg@redhat.com>
18476
18477         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
18478         Deprecate $sid_spawn_id.
18479         (sid_exit): Remove code necessary only for `spawn.'
18480
18481 2001-01-25  matthew green  <mrg@redhat.com>
18482
18483         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
18484
18485 2001-01-28  Michael Chastain  <chastain@redhat.com>
18486
18487         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
18488         to call when tests fail.  It takes gdb out of the overloaded
18489         function choice menu back to the main prompt, so that the test
18490         program stays synchronized.
18491         (set_bp_overloaded): New proc to collect all the common
18492         code for setting a breakpoint on an overloaded name.  Calls
18493         take_gdb_out_of_choice_menu when needed.
18494         (menu_overload1arg): New variable to collect the repeated
18495         instances of the expected menu for an overloaded name.  Change
18496         the regular expression to handle changes in g++ type encoding:
18497         "void" can be either "void" or "", and "unsigned int" can be
18498         either "unsigned int" or "unsigned".
18499         (continue_to_bp_overloaded): Change regular expressions to handle
18500         changes in g++ type encoding.
18501         (no proc): Call take_gdb_out_of_choice_menu when needed.
18502         Remove redundant calls to "info break".  Accept either "canceled"
18503         or "cancelled".  Change regular expressions in "info break"
18504         calls to handle changes in g++ type encoding.  Give all tests
18505         unique strings.
18506
18507 2001-01-17  Ben Elliston  <bje@redhat.com>
18508
18509         * config/sid.exp: New file.
18510
18511 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
18512
18513         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
18514
18515 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
18516
18517         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
18518         Add a RE to accept a non-ascii char if one is ever presented.
18519
18520 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
18521
18522         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
18523
18524 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
18525
18526         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
18527         in regexp.  One '\' does not suffice on Linux.
18528
18529 2000-12-09  Michael Chastain  <chastain@redhat.com>
18530
18531         * gdb.base/break.exp (test_clear_command): Use a marker function
18532         rather than 'main' for the test function.  Also move this
18533         test to an execution point where the marker function names are
18534         guaranteed to be bound to functions.  (Executing tests after a
18535         'finish' from main runs into name conflicts with local names
18536         in __libc_start_main).
18537
18538 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
18539
18540         * gdb.base/finish.exp: New test for gdb's "finish" command.
18541         * gdb.base/return2.exp: New test for gdb's "return" command.
18542         * gdb.base/return2.c: New source file for above.
18543
18544 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
18545
18546         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
18547         * gdb.base/miscexprs.exp: Ditto.
18548         * gdb.base/pointers.exp:  Ditto.
18549         * gdb.c++/derivation.exp: Ditto.
18550         * gdb.c++/local.exp:      Ditto.
18551         * gdb.c++/namespace.exp:  Ditto.
18552         * gdb.c++/overload.exp:   Ditto.
18553         * gdb.c++/ref-types.exp:  Ditto.
18554
18555 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
18556
18557         * gdb.base/constvars.exp: Test result of "up" command.
18558         * gdb.base/miscexprs.exp: Ditto.
18559         * gdb.base/pointers.exp:  Ditto.
18560         * gdb.base/scope.exp:     Ditto.
18561         * gdb.c++/derivation.exp: Ditto.
18562         * gdb.c++/local.exp:      Ditto.
18563         * gdb.c++/namespace.exp:  Ditto.
18564         * gdb.c++/overload.exp:   Ditto.
18565         * gdb.c++/ref-types.exp:  Ditto.
18566
18567 2000-11-22  Michael Chastain  <chastain@redhat.com>
18568
18569         * mips_pro.exp: Accept either "middle -> top -> main" or
18570         "middle -> main" in the backtrace, because gcc can optimize
18571         tail calls to jumps.  Remove setup_xfail for the hppa case.
18572         Add a comment with the original warning messages from PR 3016,
18573         which was filed in 1993, to preserve them for posterity.
18574
18575 2000-11-17  Nick Duffek  <nsd@redhat.com>
18576
18577         * lib/gdb.exp (gdb_test): Override timeout with board info.
18578
18579 2000-11-17  Nick Duffek  <nsd@redhat.com>
18580
18581         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
18582         the second kill and detach messages.
18583
18584 2000-11-17  Nick Duffek  <nsd@redhat.com>
18585
18586         * configure.in: Add AC_EXEEXT.
18587         * configure: Regenerate.
18588         * Makefile.in (just-check): Export EXEEXT.
18589         * lib/gdb.exp ($EXEEXT): Import from environment.
18590         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
18591         expect "maint dump-me" on Cygwin.
18592         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
18593         $EXEEXT.
18594
18595 2000-11-17  Nick Duffek  <nsd@redhat.com>
18596
18597         * gdb.base/break.exp: Test backtrace and finish from called
18598         function on all platforms, not just HP-UX.
18599
18600 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
18601
18602         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
18603         code from gdb_target_monitor, so it can be used independantly
18604         for gdbserver.  Also comment out an unnecessary PUTS.
18605
18606 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
18607
18608         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
18609         * gdb.base/corefile.exp: Expect the message "Program is being
18610         debugged already" when we send the "corefile" command, since
18611         the preceeding gdb_load may have connected gdb to a remote target.
18612         * gdb.base/display.exp: Disable hardware watchpoints if new
18613         board info variable "no_hardware_watchpoints" is true.
18614         Replace single-letter commands with more readable ones.
18615         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
18616         if new board info variable "no_hardware_watchpoints" is true.
18617         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
18618         to see if stdio (printf) testing is possible.
18619         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
18620         board info variable "no_hardware_watchpoints" is true.  Use new
18621         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
18622
18623 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
18624
18625         From Orjan Friberg  <orjanf@axis.com>:
18626         * gdb.base/printcmds.exp: Escape curly braces followed by a number
18627         in array print pattern match.
18628
18629 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
18630
18631         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
18632         spelling "cancelled" to U.S. spelling "canceled" to match changes
18633         made to gdb.
18634         * gdb.c++/ovldbreak.exp: Ditto.
18635
18636 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
18637
18638         * gdb.base/callfuncs.c (main):  Moved to end of file, call
18639         t_double_values to initialize the FPU before inferior calls are made.
18640         * gdb.base/callfuncs.exp:  Test for register preservation after calling
18641         inferior functions.  Add tests for continuining, finishing and
18642         returning from a stop in a call dummy.
18643
18644 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
18645
18646         * gdb.base/commands.exp: Break up long lines, and re-indent.
18647
18648 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
18649
18650         * config/gdbserver.exp:  Rewritten from the ground up, to make it
18651         compatible with the current dejagnu tree, and to make it work with
18652         the new "gdbserver" in libremote.
18653
18654 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
18655
18656         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
18657         * gdb.base/varargs.exp: Skip entire test if no printf support.
18658         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
18659         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
18660
18661 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
18662
18663         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
18664         no floating point support.
18665         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
18666         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
18667         * gdb.base/call-rt-st.exp: Ditto.
18668         * gdb.base/call-strs.exp: Ditto.
18669
18670 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
18671
18672         * gdb.base/sizeof.c: include <stdio.h>.
18673
18674         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
18675         'finish', otherwise uncaptured gdb_prompt would potentially
18676         throw remaining test points out of sync.
18677
18678 2000-07-26  Scott Bambrough <scottb@netwinder.org>
18679
18680         * gdb.base/recurse.exp: Run tests for all targets.
18681         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
18682         gnu-oldld case on ARM.
18683         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
18684         for ARM targets.
18685
18686 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
18687
18688         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
18689         * gdb.java/configure: Rebuild.
18690
18691 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
18692
18693         * gdb.java/jv-exp.exp: New file.
18694
18695 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
18696
18697         * configure: Rebuilt.
18698         * configure.in (configdirs): Add gdb.java.
18699         * gdb.java/jmisc.java: New file.
18700         * gdb.java/jmisc.exp: New file.
18701         * gdb.java/Makefile.in: New file.
18702         * gdb.java/configure: Rebuilt.
18703         * gdb.java/configure.in: New file.
18704         * lib/java.exp: New file.
18705
18706 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18707
18708         * gdb.base/exprs.exp: Test casts to a pointer including over and
18709         underflow.
18710
18711 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18712
18713         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
18714         and the compilers sizes.
18715
18716 2000-07-09  Nick Duffek  <nsd@redhat.com>
18717
18718         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
18719         (use_methods): New function.
18720         (main): Call use_methods().
18721         * gdb.c++/classes.exp (test_method_param_class): New procedure.
18722         (do_tests): Call test_method_param_class.
18723
18724 2000-07-09  Nick Duffek  <nsd@redhat.com>
18725
18726         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
18727         spelling.
18728         (test_enums): New procedure.  Move enum tests from end of script
18729         to here.  Set breakpoint on function name instead of line number.
18730         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
18731         (enums2): New marker function.
18732         (enums1): New function.
18733         (main): Call enums1().  Move enum tests to enums1().
18734
18735 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18736
18737         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
18738         compile/link program.  Update line numbers.
18739         * gdb.asm/d10v.inc: Define ``startup''.
18740         * gdb.asm/asmsrc1.s: Add definition of _start.
18741
18742 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18743
18744         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
18745
18746 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
18747
18748         * gdb.base/maint.exp: Add 'maint print architecture' item to output
18749         of 'help maint print' command.
18750
18751 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18752
18753         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
18754         they use gdb_expect_list.
18755
18756 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18757
18758         * gdb.base/commands.exp: Use ``set remote
18759         memory-read-packet-size'' instead of ``set endian big'' to test
18760         long commands.
18761
18762 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
18763
18764         * gdb.c++/templates.exp (do_tests): Make all of these work under
18765         g++, and stop skipping them.
18766
18767         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
18768         work under g++.
18769
18770         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
18771         initialization.
18772
18773 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
18774
18775         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
18776         the regular expression: accept an (almost) arbitrary sequence of
18777         "frames-invalid" and "breakpoints-invalid" messages both before
18778         and after the "starting" message.
18779
18780 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
18781
18782         * gdb.c++/local.exp: This test has never been known to work with g++.
18783
18784 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
18785
18786         * gdb.base/annota1.exp (annotate-signal-handler-caller):
18787         Relax the regular expression a little, make it pass on Solaris 8.
18788
18789 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
18790
18791         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
18792         a call, do not require that gdb stop on the line after the call.
18793         Instead, it is permissible for gdb to stop on the line of the
18794         call itself.
18795
18796 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
18797
18798         * gdb.base/break.exp (bp on small function, optimized file):
18799         Add a second pass pattern.  The behavior differs here between stabs
18800         and dwarf for one-line functions.  Stabs preserves two line symbols
18801         (one before the prologue and one after) with the same line number,
18802         but dwarf regards these as duplicates and discards one of them.
18803         Therefore the address after the prologue (where the breakpoint is)
18804         has no exactly matching line symbol, and GDB reports the breakpoint
18805         as if it were in the middle of a line rather than at the beginning.
18806
18807 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
18808
18809         * gdb.base/interrupt.exp: Make "pass" message say "send"
18810         rather than "send_gdb" (for consistancy).
18811
18812 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18813
18814         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
18815         * gdb.c++/templates.cc: Properly check for GCC version number.
18816         * lib/compiler.cc: Likewise
18817
18818 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
18819
18820         * gdb.base/break.exp: When compiled with -O2 optimization,
18821         gdb may not stop at the first line of main, due to code motion.
18822
18823 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
18824
18825         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
18826         This test depends on parsing the printf output from the target.
18827         Since the sparclet stub doesn't do stdio, this will never work.
18828         * gdb.base/call-rt-st.exp: ditto.
18829         * gdb.base/call-strs: ditto.
18830
18831 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
18832
18833         * gdb.base/miscexprs.exp: make sizeof long array test portable.
18834
18835         * gdb.base/ending-run.exp: After connecting to a remote target,
18836         but before running, the target will appear to be in a random
18837         location.  Specify both a file and a line for breakpoints.
18838         Also, the function that calls main may be called 'init'
18839         rather than 'start'.
18840
18841 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
18842
18843         * gdb.base/help.exp: Update output for add-symbol-file command.
18844
18845 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
18846
18847         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18848         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
18849
18850 2000-04-07  J.T. Conklin  <jtc@redback.com>
18851
18852         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
18853
18854         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
18855
18856 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
18857
18858         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
18859         values that can be represented exactly.
18860         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
18861         above change, and to not check against the directory part of the source
18862         file name.
18863         (step into print_long_arg_list): Likewise.
18864         (print print_small_structs from print_long_arg_list): Likewise.
18865         (print print_long_arg_list): Likewise.
18866
18867 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
18868
18869         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
18870
18871 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18872
18873         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
18874
18875 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
18876
18877         * gdb.base/commands.exp (deprecated_command_test): Add test for
18878         deprecate with no arguments.
18879
18880 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
18881
18882         * gdb.base/break.exp: Add new test for setting breakpoints on
18883         optimized code so we can test breakpoints work even when function
18884         prologues may be optimized away
18885
18886 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
18887
18888         From David Whedon <dwhedon@gordian.com>
18889         * gdb.base/commands.exp : Added command deprecator tests.
18890
18891 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
18892
18893        * gdb.base/help.exp: Added test for new apropos command.
18894
18895 2000-03-21  Kevin Buettner <kevinb@redhat.com>
18896
18897         * gdb.base/pointers.c (usevar): New function.
18898         (main): Make sure that global variables v_int_pointer2, rptr,
18899         and y are all referenced someplace in the program by calling
18900         usevar() on them.  [Some linkers delete symbols which are
18901         never referenced.  The space remains, but there's no way to
18902         get a (symbolic) handle on the variable from the debugger.]
18903
18904 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
18905
18906         * gdb.base/printcmds.c: Add typedeffed arrays.
18907
18908         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
18909         procedure to test arrays that are typedef'd.
18910
18911 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
18912
18913         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
18914         the library directories.
18915
18916 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18917
18918         * configure.in (configdirs): Add sub directory gdb.mi.
18919         * configure: Re-generate.
18920
18921         * gdb.mi: New directory.
18922
18923 2000-02-25  Scott Bambrough <scottb@netwinder.org>
18924
18925         * gdb.base/long_long.exp: Correct test suite failure when printing
18926         a long long value as a double on ARM platforms.
18927
18928 2000-02-16  Jim Blandy  <jimb@redhat.com>
18929
18930         * gdb.base/break.exp ("breakpoint line number"): Make sure the
18931         default source file is set properly before running this test.
18932
18933 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
18934
18935         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
18936         gdbtk/library directory, not in gdbtcl2.
18937
18938 2000-02-04  Jim Blandy  <jimb@redhat.com>
18939
18940         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
18941         backslash from regexp pattern.
18942
18943         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
18944         procedure.  Use it to run all the "continue to bp overloaded"
18945         tests.  Note that this changes the names of the tests slightly.
18946         If the breakpoint hit message includes a hex PC value, because
18947         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
18948         from the real source code, still consider that a pass.
18949
18950         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
18951         XFAIL here if the breakpoint message contains a hex address.  Note
18952         similar change on 1999-11-02.
18953
18954         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
18955
18956         * gdb.base/ptype.exp: Establish a default source file before
18957         calling get_debug_format.
18958
18959 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
18960
18961         * gdb.base/watchpoint.exp: Remove duplication of test messages.
18962
18963 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
18964
18965         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
18966         of successive stepi commands -- while in the prologue we should see
18967         the function entry bracket.
18968
18969 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
18970
18971         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
18972         reach __change_mode() when stepping through the end of main().
18973
18974 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
18975
18976         * gdb.base/default.exp: Fix expected pattern.
18977         * gdb.base/help.exp: Same.
18978
18979 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
18980
18981         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
18982         Don't use xfail's because that affects only the following test.
18983
18984         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
18985         solaris or linux.
18986
18987         * gdb.base/selftest.exp: Update to reflect changes to main.c.
18988
18989 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
18990
18991         * gdb.base/display.exp: Some yacc parsers like to say
18992         "A syntax error" rather than "A parse error".  Accept both.
18993
18994 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
18995
18996         * gdb.base/default.exp: Remove OS dependent string from "target
18997         remote" test.
18998         * gdb.base/help.exp: Same for "help target remote" test.
18999
19000 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19001
19002         From Jim Kingdon <kingdon@redhat.com>:
19003
19004         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
19005         prompt (cleanup rather than necessity, but still might keep output
19006         from spilling to next test).
19007
19008 2000-01-02  Fred Fish  <fnf@cygnus.com>
19009
19010         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
19011         AIX, which defines them in <sys/types.h>.
19012
19013 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
19014
19015         * gdb.base/default.exp: Match arm* etc instead of arm in "info
19016         float" test.
19017
19018 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
19019
19020         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
19021
19022         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
19023         outermost frame disallowed".
19024
19025 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19026
19027         * gdb.base/setvar.exp: New tests for setting the value of a struct
19028         with a constant list.
19029
19030 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19031
19032         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
19033         require the user to type a cast before setting the value of a struct.
19034
19035 1999-12-06  Jim Blandy  <jimb@cygnus.com>
19036
19037         * gdb.base/default.exp: Expect the new 'info float' command on
19038         all i386 platforms.
19039
19040         * gdb.threads/linux-dp.exp: Expand our ability to recognize
19041         LinuxThreads libraries that don't support debugging.
19042
19043 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19044
19045         * gdb.base/remote.c: Fill the buffer with truely random data.
19046         Change the buffer type to ``unsigned char'' to simplify size
19047         arithmetic.
19048
19049         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
19050         stub only handles 400-1 byte packets.  Verify that the download
19051         worked.
19052
19053 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19054
19055         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
19056         tests, using UNRESOLVED for the untested cases.  Also, does not wait
19057         for a timeout if the prompt was received before a recognizable pattern.
19058
19059 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19060
19061         * lib/gdb.exp (gdb_expect_list): Fix spelling.
19062
19063 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19064
19065         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
19066         watchpoints.
19067
19068 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
19069
19070         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
19071
19072         * gdb.c++/local.exp: Be more flexible in recognizing local class
19073         name mangling.  Don't allow horribly truncated method names.
19074         * gdb.c++/derivation.exp: Expect protected inheritance.
19075         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
19076         * gdb.c++/virtfunc.exp: Likewise.
19077         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
19078         when printing a nested enum.
19079
19080 1999-11-22  Jim Blandy  <jimb@cygnus.com>
19081
19082         * gdb.base/step-test.exp: Properly await GDB's response to setting
19083         a breakpoint on the call to large_struct_by_value.
19084
19085         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
19086         just because we have debug info for the `start' function.
19087
19088 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
19089
19090         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
19091         "Unknown signal" messages, which indicate (on LinuxThreads) that
19092         GDB doesn't know how to debug threads on this system.  This is
19093         better than hanging while philosopher 0 dumps chatter into gdb.log.
19094
19095 1999-11-18  Tom Tromey  <tromey@cygnus.com>
19096
19097         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
19098
19099 1999-11-18  Fred Fish  <fnf@cygnus.com>
19100
19101         * gdb.base/coremaker2.c: Add sample program for generating
19102         cores that is more self contained than coremaker.c.  Eventually
19103         I'll add more code to this and tie it into the testsuite.
19104
19105 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
19106
19107         * gdb.base/dollar.exp: Remove, now in gdb.hp.
19108
19109 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
19110
19111         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
19112         from $srcdir/lib/.
19113         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
19114         and gdb.c++/.
19115
19116         * gdb.c++/derivation.exp: remove redundant get compiler info code.
19117
19118         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
19119         'continue with watch' test point.
19120
19121 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
19122
19123         Merged from p2linux-990323-branch:
19124
19125         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
19126
19127 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
19128
19129         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
19130         {limit,fixed}''.  Test ``set download-write-size''.
19131
19132 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19133
19134         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
19135         gdb_expect_list.
19136
19137 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19138
19139         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
19140
19141 1999-11-03  Mark Salter  <msalter@cygnus.com>
19142
19143         * gdb.base/break.exp: Fix "stub continue" pattern.
19144
19145 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
19146
19147         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
19148
19149 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
19150
19151         * gdb.base/display.exp ("finish"): Add timeout clause.
19152
19153         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
19154         plain prompt clause, so this doesn't have to time out in order to
19155         fail.
19156
19157         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
19158         breakpoint hit messages include an address.
19159
19160         * gdb.base/display.exp: Don't forget to escape parens in regular
19161         expressions.  Unix regexp notatation sucks.
19162
19163 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19164
19165         * gdb.base/annota1.exp: Test for annotate-signalled: change output
19166         order for 'signalled' message.
19167
19168 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
19169
19170         From Jimmy Guo  <guo@cup.hp.com>:
19171         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
19172         * gdb.base/annota1.c: Add code for tests to work with.
19173
19174 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
19175
19176         * gdb.base/remote.exp: New test for remote downloading settings.
19177         * gdb.base/remote.c: New file with large .data.
19178
19179 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
19180
19181         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
19182         for LinuxThreads support, merged from the Code Fusion branch.
19183
19184 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
19185
19186         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
19187         containing exp_continue into a while within an expect.  Don't
19188         attempt a start more than three times.  Check return value from
19189         gdb_load.
19190
19191 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19192
19193         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
19194         a pass case.
19195
19196 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
19197
19198         * gdb.base/break.c (main): Added a statement that we can step
19199         off of.
19200         * gdb.base/break.exp: Added tests for setting a breakpoint
19201         at an offset and stepping onto a breakpoint.
19202
19203 1999-10-01  Fred Fish  <fnf@cygnus.com>
19204
19205         * gdb.base/help.exp (help add-symbol-file): Update to match current
19206         gdb output.
19207
19208 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
19209
19210         * gdb.base/break.exp: Code locations are in hex, don't forget!
19211         (For HP-UX.)
19212
19213 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
19214
19215         * condbreak.exp: Use break.c as test program.
19216         * condbreak.c: Remove, redundant with break.c.
19217
19218 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
19219
19220         * config/monitor.exp (gdb_target_monitor): Disable X- and
19221         Z-packets if the target needs it.
19222
19223 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
19224
19225         * gdb.c++/overload.exp: Added tests for listing overloaded
19226         functions with function pointers in the arg, explicitly calling
19227         out the version you want.
19228
19229 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
19230
19231         * long_long.exp: Add variations of test cases that work for
19232         targets with 16-bit ints and 32-bit doubles.
19233
19234 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
19235
19236         * break.c (main): Compare a possibly-uninitialized argc with an
19237         unlikely value that fits in 16 bits.
19238
19239 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
19240
19241         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19242         0xfeeb, don't want negative numbers if ints are 16 bits.
19243
19244         * lib/gdb.exp (skip_cplus_tests): New proc.
19245         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19246         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19247         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19248         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19249         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19250         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19251         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19252         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
19253
19254         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19255
19256 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
19257
19258         * gdb.base/corefile.exp (up): Allow a parameter to appear
19259         in the frame that we're going up to.
19260
19261         From Jim Blandy <jimb@cygnus.com>:
19262
19263         * gdb.base/default.exp (info float): Expect some output now.
19264
19265         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
19266         returning floating-point values to fail on the x86.
19267         * gdb.base/callfwmall.exp (do_function_calls): Same.
19268
19269         * gdb.base/list.exp (test_listsize): Correct expectations for
19270         listing line 1 with listsize 2.  Also, listing a single line
19271         works now, as does listing three lines.  [Kevin's note: There
19272         were a number of other cases fixed too where the expectations
19273         differed...]
19274
19275 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
19276
19277         * gdb.base/selftest.exp: Add case for when version prints as
19278         constant string instead of char pointer.
19279
19280 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
19281
19282         * gdb.base/ending-run.exp: Add Solaris case for what happens when
19283         stepping out of main.
19284
19285         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
19286         G++ used.
19287
19288         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
19289         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
19290
19291         * gdb.c++/ovldbreak.exp: Update match string in test that
19292         includes a warning of multiple breakpoints.
19293
19294 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
19295
19296         * gdb.base/display.exp: Improve precision of step-after-finish
19297         added yesterday.
19298
19299         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
19300         test.
19301
19302         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
19303         configs when using G++, not just hppa*.
19304
19305 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19306
19307         * gdb.base/async.c: New file.
19308         * gdb.base/async.exp: New file.
19309
19310 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
19311
19312         * gdb.base/break.exp: Tweak PA specific tests to properly handle
19313         PA64.
19314
19315 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
19316
19317         * gdb.base/display.exp: "finish" can leave us mid-line on many
19318         targets, deal with it.  Add a small constant to main, instead of
19319         1000 since main+1000 may not be a valid address in the target.
19320
19321         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
19322         on hpux11.
19323
19324         * gdb.base/attach.exp: Handle another hpux11 error message variant
19325         when attaching to a process that does not exist.
19326
19327 1999-08-19  J.T. Conklin  <jtc@redback.com>
19328
19329         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
19330         characters in 'continue to 1241' test.
19331
19332 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
19333
19334         * gdb.base/call-ar-st.exp: Add a shorter match case for the
19335         stop in print_long_arg_list, define and use a whitespace
19336         variable in print_small_structs test, add an XFAIL for Solaris.
19337         * gdb.base/dbx.exp: XFAIL func commands until somebody is
19338         interested enough to fix.
19339
19340 1999-08-13  Keith Seitz  <keiths@cygnus.com>
19341
19342         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
19343         (dbx_gdb_load): Remove. Use gdb_load instead, since that
19344         proc knows about targets other than the natives.
19345         (test_assign): Use "gdb_run_cmd" to "run" the target.
19346         Check that we've actually hit the breakpoint at main.
19347         When we attempt to assign a value to a local variable, check
19348         that the variable is in the current scope, i.e., don't use
19349         a test with an empty result.
19350
19351 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19352
19353         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
19354         command.
19355
19356 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
19357
19358         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19359         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
19360         gdb.compat, gdb.threads-hp.
19361         gdb.hp/configure, gdb.hp/configure.in: New files.
19362         gdb.hp/Makefile.in: Recurse into new subdirs.
19363         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
19364         gdb.hp/gdb.objdbg: New directory, tests for debugging info
19365         in object files.
19366         gdb.hp/tools: New directory, aux tools for HP-specific tests.
19367
19368 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
19369
19370         * gdb.base/display.exp: Help expect by putting a newline in the
19371         funky printf, remove a bogus p/a test.
19372
19373 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19374
19375         * gdb.base/display.exp: Make sure that when we say 'run', we are
19376         connected to the target. This is necessary when running not
19377         natively.
19378
19379 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
19380
19381         * gdb.base/step-test.exp: Removed some extraneous messages.
19382
19383         * gdb.base/long_long.exp: Don't run memory examination tests
19384         on little-endian targets (they will need a different set of
19385         results to match).
19386
19387 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
19388
19389         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
19390         until somebody decides to fix GDB.
19391
19392         * gdb.base/long_long.c: Stop compiler complaint by specifying long
19393         constant as "ULL".
19394         * gdb.base/long_long.exp: Loosen x/c test, add partial result
19395         matches for a couple x/2 commands.
19396
19397 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
19398
19399         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
19400         by merging in ref-types2 tests.
19401         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
19402
19403         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19404         * gdb.c++/Makefile.in: Add standard actions.
19405         (EXECUTABLES): Rename from PROGS, update list.
19406         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
19407         from gdb.hp.
19408         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
19409         foo and bar locals.
19410         * gdb.c++/anon-union.exp: Fix tests to match.
19411         * gdb.c++/classes.exp: Run if HP compiler used, add extra
19412         expect matches to handle output variations.
19413         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
19414         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
19415         output, add HP alternatives for new and delete prints.
19416         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
19417         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
19418         * gdb.c++/demangle.exp: Use $style when reporting failure.
19419         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
19420         * gdb.c++/inherit.exp: Run if HP compiler used, add some
19421         match alternatives.
19422         * gdb.c++/local.exp: Add match alternatives or xfails for HP
19423         compilers.
19424         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
19425         * gdb.c++/method.exp: Add match alternatives.
19426         * gdb.c++/misc.cc: Add bool types.
19427         * gdb.c++/misc.exp: Add tests for bool types.
19428         * gdb.c++/overload.exp: Add xfails.
19429         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
19430         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
19431         add some more template parameter tests (only for HP currently).
19432         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
19433         * gdb.c++/virtfunc.cc: Add return type and value for main.
19434         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
19435         match alternatives.
19436
19437 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19438
19439         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
19440
19441 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
19442
19443         * gdb.base/signals.exp: Don't expect getting a backtrace from
19444         within a signal handler to fail on Linux.
19445
19446 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
19447
19448         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19449         * lib/gdb.exp: Remove some gratuitious semicolons.
19450         (delete_breakpoints): Increase timeout.
19451         (gdb_expect): Add -notransfer option.
19452         (gdb_test): Use -notransfer option.
19453         (get_compiler_info): Add f77 case.
19454         (get_compiler): New proc, split out from gdb_preprocess, add f77
19455         case.
19456         (gdb_preprocess): Call get_compiler.
19457
19458         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
19459         * gdb.base/attach.exp, gdb.base/display.exp,
19460         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
19461         gdb.base/long_long.exp, gdb.base/printcmds.exp,
19462         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
19463         third arg to gdb_test.
19464         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
19465         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
19466         HP-UX xfails, add others.
19467         * gdb.base/completion.exp: Reflect name change of self-test.
19468         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
19469         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
19470         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
19471         HP failure number.
19472         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
19473         useless HP-UX 10.30 references.
19474         * gdb.base/maint.exp: Loosen matches.
19475         * gdb.base/pointers.c (main): Declare more_code.
19476         * gdb.base/pointers.exp: Match on output of a `next'.
19477         * gdb.base/structs.c: Add prototypes.
19478         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
19479         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
19480
19481 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19482
19483         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
19484         command.
19485
19486 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19487
19488         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
19489         Fix run to main failures. Watchpoint can be hardware watchpoint.
19490
19491         * gdb.base/annota1.exp: Clean up some more, in case printf has
19492         debug info.  Deal with lack of signal hanlder info in stack.
19493
19494         From Jim Kingdon  <kingdon@redhat.com>:
19495         * gdb.base/annota1.exp: If printf has debug info, deal with it.
19496
19497 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
19498
19499         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
19500         gdb.base/foll-vfork.exp: Don't run for crosses.
19501
19502 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19503
19504         * gdb.base/configure.in: Check for gdbvars.exp instead of
19505         a1-selftest.exp.
19506         * gdb.base/configure: Re-generate.
19507
19508 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
19509
19510         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
19511         in trying to run first and name is too long.
19512
19513         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
19514         pointers2.c and pointers2.exp, respectively.
19515         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
19516         doschk happier.
19517
19518 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
19519
19520         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
19521         callfuncs2.c and callfuncs2.exp.
19522
19523         * gdb.base/list.exp: Remove mistaken xfails.
19524         * gdb.base/list0.h: Add optional prototypes.
19525
19526 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
19527
19528         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
19529         calling malloc.
19530         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
19531         * ptype.exp: Move test for get_debug_format to before its first
19532         use.
19533
19534 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19535
19536         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
19537         * gdb.base/annota2.cc, annota2.exp: Move from here.
19538         * gdb.c++/annota2.cc, annota2.exp: To here.
19539         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
19540
19541 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19542
19543         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
19544         a consistent format.
19545
19546 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
19547
19548         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19549         * lib/gdb.exp (get_compiler_info): Add detection for assorted
19550         HP compilers, also set the globals $true and $false.
19551
19552         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
19553         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
19554         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
19555         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
19556         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
19557         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
19558         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
19559         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
19560         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
19561         whatis.c} Add C++ compatible function definitions and return
19562         types, add includes for library functions.
19563         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
19564         * gdb.base/step-test.c (myglob): Rename from glob.
19565         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
19566         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
19567         files, move here from gdb.hp.
19568         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
19569         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
19570         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
19571         Adjust line numbers in regexps.
19572
19573         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
19574         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
19575         instead of 0/1.
19576
19577         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
19578         foll-vfork.exp: New files, move here from gdb.hp.
19579         * gdb.base/page.exp: New file, test of pagination command.
19580
19581         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
19582         recursion test.
19583         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
19584
19585         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
19586         gdb.base/solib.exp: Fix compiler invocation process.
19587
19588         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
19589         HP-UX 11, turn off overload resolution explicitly.
19590         * gdb.base/commands.exp: Set argument list explicitly, add
19591         watchpoint test.
19592         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
19593         them work.
19594         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
19595         expressions properly.
19596         * gdb.base/corefile.exp: Loosen the match slightly.
19597         * gdb.base/default.exp: Allow "Error accessing memory" message
19598         also.
19599         * gdb.base/display.exp: Skip over x/0 j if PA64.
19600         * gdb.base/funcargs.exp: Add xfails for HP-UX.
19601         * gdb.base/interrupt.exp: Ditto.
19602         * gdb.base/langs.exp: Add symbolic matches governed by compiler
19603         in use.
19604         * gdb.base/list.exp: Add xfails for HP-UX.
19605         * gdb.base/long_long.exp: Refine some of the numeric matches.
19606         * gdb.base/mips_pro.exp: Xfail on HP-UX.
19607         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
19608         * gdb.base/nodebug.exp: Succeed on more varieties of output.
19609         * gdb.base/opaque.exp: Remove some HP-UX xfails.
19610         * gdb.base/ptype.exp: Succeed on more varieties of output.
19611         * gdb.base/scope.exp: Add xfails for HP-UX.
19612         * gdb.base/sect-cmd.exp: Add more cases.
19613         * gdb.base/setvar.exp: Add xfails for HP-UX.
19614         * gdb.base/shlib-call.exp: Loosen some matches slightly.
19615         * gdb.base/signals.exp: Match on void symbolically.
19616         * gdb.base/step-test.exp: Add case for PA64.
19617         * gdb.base/term.exp: Add exit and restart.
19618         * gdb.base/twice.exp: Clean up after self.
19619         * gdb.base/varargs.exp: Disable overload resolution explicitly.
19620         * gdb.base/whatis.exp: Allow more ways to pass tests.
19621
19622         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
19623         no longer useful.
19624
19625 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19626
19627         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
19628         list of patterns.
19629         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
19630         print_double_array(double_array)", "continuing to breakpoint
19631         1018", "print print_double_array(array_d)" and "continuing to
19632         1034" tests.
19633
19634 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
19635
19636         * Makefile.in: Add empty html and install-html targets.
19637
19638 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
19639
19640         * config/mt-*: Remove, these haven't been used since 1996.
19641
19642 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
19643
19644         * gdb.base/call-strs.c, gdb.base/ending-run.c,
19645         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
19646         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
19647
19648 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
19649
19650         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
19651         simpler match case for the ptype of the big class.
19652
19653 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19654
19655         * gdb.exp: Fix test for gdb_prompt existence.
19656
19657 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19658
19659         * gdb.exp (gdb_test): Add fail after calls to perror.
19660
19661 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19662
19663         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
19664
19665 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19666
19667         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
19668
19669 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19670
19671         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
19672         malloc() is linked in.
19673
19674 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19675
19676         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
19677         step at end.
19678
19679         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
19680
19681 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
19682
19683         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
19684
19685 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
19686
19687         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
19688         * gdb.base/mips_pro.exp: Likewise.
19689
19690 1999-06-02  Keith Seitz  <keiths@cygnus.com>
19691
19692         * gdb.c++/templates.cc: Change all "new" operators to throw
19693         an exception.
19694         * gdb.c++/cplusfuncs.cc: Likewise.
19695
19696         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
19697
19698 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19699
19700         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
19701         * gdb.base/ending-run.exp: When stepping out of main, accept a
19702         step into an arbitrary assembler file.
19703
19704 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19705
19706         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
19707         "breakpoint-invalid" to be printed.
19708         * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
19709         number of "frames-invalid" and "breakpoint-invalid" to be printed.
19710         * gdb.base/annota2.cc: Initialize a.x to 0.
19711
19712 1999-05-17  Keith Seitz  <keiths@cygnus.com>
19713
19714         * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
19715         when "skip_float_tests" set.
19716         Ditto for "print print_double_array(array_d)", "print print_small_structs",
19717         "print print_ten_doubles", and "step into print_long_arg_list".
19718         Don't assume we can step into "print_long_arg_list": we could step into memcpy.
19719         * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
19720         is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
19721         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
19722         "skip_float_tests" is set.
19723         * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
19724         when "skip_float_tests" set.
19725
19726 1999-05-06  Keith Seitz  <keiths@cygnus.com>
19727
19728         * gdb.base/annota2.cc: Include stdio.h.
19729
19730 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
19731
19732         * gdb.base/crossload.exp: Remove, this has been disabled ever
19733         since BFD stopped including all targets, and cross-GDB gets
19734         plenty of testing anyway.
19735         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
19736         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
19737         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
19738         * gdb.base/README: Remove, was doc for this.
19739         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
19740         needed.
19741
19742 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19743
19744         * gdb.base/call-ar-st.exp: Fix one regular expression in test
19745         output.
19746
19747         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
19748         * gdb.base/annota2.exp: New file. More annotation tests.
19749         * gdb.base/annota1.c: New file. Source file for annota1.exp.
19750         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
19751
19752 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
19753
19754         * config/cfdbug.exp: New file.
19755
19756 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
19757
19758         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
19759         Marcus Daniel's and Dale Hawkins's demangler crashes.
19760
19761         * gdb.c++/demangle.exp (test_gnu_style_demangling,
19762         test_lucid_style_demangling, test_arm_style_demangling,
19763         test_hp_style_demangling): Try Tom Tromey's core-dumping
19764         identifier under each demangling style.
19765
19766 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
19767
19768         * gdb.c++/demangle.exp: Include the current demangling style
19769         in all test names.
19770         (current_demangling_style): New global variable.
19771         (set_demangling_style, test_demangling_core, test_demangling,
19772         test_demangling_exact): New functions.
19773         (test_gnu_style_demangling, test_lucid_style_demangling,
19774         test_arm_style_demangling, test_hp_style_demangling): Use those,
19775         instead of calling gdb_test and gdb_test_exact directly.
19776         (catch_demangling_errors): New function, which reports errors
19777         signalled by the demangling test functions in an orderly way.
19778         (do_tests): Use catch_demangling_errors.
19779
19780 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
19781
19782         * gdb.base/signals.exp (test_handle_all_print): Use () for
19783         grouping in expressions, not {}.
19784
19785         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
19786         initialized yet.
19787
19788 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
19789
19790         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
19791         are listed.
19792
19793 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
19794
19795         * gdb.stabs/weird.exp: Test for CC being defined before
19796         looking at its value.
19797
19798 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
19799
19800         * gdb.base/call-ar-st.exp: Remove stray '#'.
19801         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
19802         "short int" and "long int".
19803         * gdb.c++/overload.cc: Cast the string added in the previous
19804         change, to mollify finicky HP compiler.
19805         * gdb.hp/reg-test.exp (testfile): Fix file name.
19806         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
19807
19808         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
19809         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
19810         alternate form of enum ptype.
19811
19812 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
19813
19814         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
19815         * gdb.hp/*.exp: Change all to run compiler probe only after
19816         passing skip_hp_tests, so as not to waste time on guaranteed
19817         failure.
19818
19819         * gdb.c++/overload.cc: Pass string instead of char addr, always
19820         init ccpfoo.
19821         * gdb.c++/templates.cc: Fix syntax error.
19822
19823 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19824
19825         * gdb.base/commands.exp: Add test for correct position of '>'
19826         when issuing the 'commands' command after a 'while' or 'if'
19827         command.
19828
19829 1999-03-18  James Ingham  <jingham@cygnus.com>
19830
19831         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
19832
19833         * gdb.c++/method.exp: It was testing an uninitialized int on the
19834         stack and assuming it was positive.
19835
19836         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
19837
19838         * gdb.base/step-test.exp: Catch a case where finish is broken and
19839         keep it from killing the rest of the tests.
19840         Use gdb_continue_to_end.
19841
19842         * gdb.base/sigall.exp: use gdb_continue_to_end.
19843
19844         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
19845
19846         * gdb.base/display.exp: use runto_main, not run.
19847
19848         * gdb.base/default.exp: Check for the current error message in the
19849         r abbreviation test.
19850         Add strongarm to the targets that know info float.
19851
19852         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
19853         run which doesn't work with monitors.
19854
19855         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
19856
19857         * gdb.base/break.exp: use the gdb_continue_to_end proc.
19858
19859         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
19860         program.  Traps the case (in Cygmon) when the program never really
19861         exits.  Same as Mark's continue_to_exit, but I had put it in a lot
19862         more places, so I used my name.  Sorry Mark...
19863
19864         * config/monitor.exp (gdb_target_monitor): added another
19865         target_info parameter: remotebinarydownload.  This will set the
19866         remotebinarydownload flag if this is causing some boards trouble.
19867
19868 1999-03-18  Mark Salter  <msalter@cygnus.com>
19869
19870         * lib/gdb.exp (continue_to_exit): New function.
19871
19872         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
19873         * gdb.base/ending-run.exp: Ditto.
19874         * gdb.base/step-test.exp: Ditto.
19875
19876 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
19877
19878         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
19879         (suggested by Art Haas <ahaas@neosoft.com>).
19880
19881 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
19882
19883         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
19884
19885 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
19886
19887         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
19888         descriptions of types (short unsigned int vs unsigned short, etc).
19889
19890 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
19891
19892         * gdb.base/call-strs.exp: Don't assume that `step' will step over
19893         a call to strlen; sometimes we do have sources.
19894
19895 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
19896
19897         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
19898         character, so GDB won't print garbage after its end.
19899
19900         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
19901         breakpoint there instead.  Sometimes GCC emits memcpy to handle
19902         the large structures being passed by value, so we step into that
19903         instead of sum_array_print, which obscures what we're really testing.
19904         * gdb.base/step-test.exp: However, we do want a test that notices
19905         the bizarre steps into memcpy, so do that here.  Add check for
19906         stepping into function calls that pass large structures by value.
19907         ("Is that a noun clause, or are you just happy to see me?")
19908         Remove all references to specific line numbers.
19909         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
19910         New type and function.
19911         (main): Call large_struct_by_value, passing it a large struct by value.
19912         * lib/gdb.exp (gdb_get_line_number): New function.
19913
19914         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
19915         more portable.
19916
19917 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
19918
19919         * lib/gdb.exp: Doc fixes.
19920
19921 1999-03-05  Nick Clifton  <nickc@cygnus.com>
19922
19923         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
19924
19925 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
19926
19927         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
19928         commands.  They're not germane to this test, and they don't work
19929         that way on remote targets.
19930
19931 1999-03-01  James Ingham  <jingham@cygnus.com>
19932
19933         * Changelog entries merged over from gdb development branch.
19934
19935        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
19936
19937                * lib/gdb.exp (gdbtk_analyze_results): Generic function
19938                for outputting results of test run.
19939
19940         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
19941
19942                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
19943
19944 1999-02-25  Felix Lee  <flee@cygnus.com>
19945
19946         * lib/gdb.exp (debug_format): initialize
19947
19948 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
19949
19950         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
19951         * gdb.base/call-rt-st.c: Ditto.
19952
19953 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
19954
19955         * gdb.threads/pthreads.exp (horiz): New variable.
19956         (test_startup): Fix regexps that capture thread numbers.
19957
19958 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
19959
19960         * gdb.base/smoke.exp: Disambiguate two test case names (both
19961         called ``print'').
19962
19963 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
19964
19965         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
19966         compilation.
19967
19968 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
19969
19970         * gdb.base/miscexprs.exp: Change patterns to match GDB's
19971         actual output formatting.
19972         * gdb.base/smoke.exp: GDB removes leading 0's.
19973         * gdb.base/volatile.exp: Don't check type of remuneration;
19974         that variable is no longer defined in constvars.c.
19975         * gdb.base/step-test.c (main): Exit with explicit exit code.
19976         * gdb.base/step-test.exp: Remove two nexti checks--they are
19977         not portable.
19978
19979 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
19980
19981         * gdb.base/help.exp ("help delete display"): Fix test to match
19982         gdb's output.
19983
19984         * gdb.base/long_long.c (known_types): Initialize values to zero.
19985         * gdb.base/long_long.exp: Step one more line
19986         so 'dec' is initialized in "get to known place".  GDB removes
19987         leading zeros.  Explicitly ask for hex formatting.  Use
19988         unique test case names.
19989
19990 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19991
19992         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
19993
19994         * gdb.c++/method.exp: Add missing close brace.
19995
19996 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
19997
19998         * gdb.base/maint.exp: Use 'set height 0' to disable page
19999         prompting, not 'set height 400'.
20000
20001         Fix a bunch of timeouts.
20002         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20003         four separate tests, so expect doesn't take forever to match a ton
20004         of text against a regexp with lots of .* forms.
20005         ("maint print psymbols", "maint print symbols"): Make some of
20006         these greps more selective, so that expect doesn't try to wade
20007         through huge piles of output and time out.
20008
20009         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
20010
20011         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
20012         tests: one which doesn't expect shlib events to be reported, and
20013         another which does, but is XFAIL for all platforms other than
20014         HP/UX.
20015
20016         * gdb.base/break.exp: Teach the test suite that the `catch
20017         fork', `catch vfork', and `catch exec' commands produce error
20018         messages on platforms that don't provide these features.
20019
20020 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
20021
20022         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
20023         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
20024         (shortening names from solib_threshold.exp etc), won't run on
20025         anything but HP-UX for the foreseeable future.
20026         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
20027         reflect move.
20028
20029 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
20030
20031         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
20032         gdb.trace/Makefile.in (clean): Remove all test executables.
20033
20034 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
20035
20036         * gdb.base/shlib-call.exp: add test cases to verify that gdb
20037         successfully re-sets breakpoints in shared libraries.
20038         * gdb.base/shmain.c (main): return 0, don't fall off the end.
20039
20040 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20041
20042         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
20043         and compiled w/o GCC.
20044
20045         * gdb.hp/watch-cmd.exp: ditto.
20046
20047         * gdb.hp/watch-hp.exp: ditto.
20048
20049         * gdb.hp/xdb1.exp: ditto.
20050
20051         * gdb.hp/xdb2.exp: ditto.
20052
20053         * gdb.hp/dbx.exp: ditto.
20054
20055 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
20056
20057         * constvars.c: Remove C++-isms.
20058         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
20059         with GCC.
20060
20061 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
20062
20063         The following changes are part of the HP merge.
20064
20065         * gdb.base/break.exp: new tests to verify that catchpoints for
20066         fork, vfork, and exec don't trigger inappropriately.
20067
20068         * gdb.base/opaque.exp: compile one file at a time, then link.
20069
20070         * gdb.base/signals.exp: be more restrictive about which hppa
20071         systems receive a setup_xfail.  new tests.
20072
20073         * gdb.base/solib_threshold.build: new file.
20074         * gdb.base/solib_threshold.exp: new file.
20075         * gdb.base/solib_threshold.link_opts: new file.
20076         * gdb.base/solib_threshold.mk: new file.
20077         * gdb.base/gen_solib_threshold.c: new file.
20078
20079         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
20080         tests.  New tests for enums inside classes.
20081
20082         * gdb.c++/compiler.cc: indicate support of template debugging.
20083
20084         * gdb.c++/demangle.exp: run hp style demangling tests.
20085
20086         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
20087         tests.
20088
20089         * gdb.c++/misc.cc: changes to support new tests.
20090
20091         * gdb.c++/templates.cc: changes to support HP's compiler; changes
20092         to support new tests.
20093
20094         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
20095         gcc, then skip these tests.
20096
20097 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
20098
20099         The following files are part of the HP merge; some had longer
20100         names at HP, but have been renamed to be no more than 14
20101         characters in length.
20102
20103         * gdb.hp/ambiguous.cc: new file.
20104         * gdb.hp/ambiguous.exp: new file.
20105         * gdb.hp/attach.exp: new file.
20106         * gdb.hp/attach2.exp: new file.
20107         * gdb.hp/classes-hp.exp: new file.
20108         * gdb.hp/ctti.exp: new file.
20109         * gdb.hp/ctti-add.cc: new file.
20110         * gdb.hp/ctti-add1.cc: new file.
20111         * gdb.hp/ctti-add2.cc: new file.
20112         * gdb.hp/ctti-add3.cc: new file.
20113         * gdb.hp/dbx.exp: new file.
20114         * gdb.hp/exception.cc: new file.
20115         * gdb.hp/exception.exp: new file.
20116         * gdb.hp/foll-exec.c: new file.
20117         * gdb.hp/foll-exec.exp: new file.
20118         * gdb.hp/foll-fork.c: new file.
20119         * gdb.hp/foll-fork.exp: new file.
20120         * gdb.hp/foll-vfork.c: new file.
20121         * gdb.hp/foll-vfork.exp: new file.
20122         * gdb.hp/inherit-hp.exp: new file.
20123         * gdb.hp/more-steps.exp: new file.
20124         * gdb.hp/namespace.cc: new file.
20125         * gdb.hp/namespace.exp: new file.
20126         * gdb.hp/optimize.exp: new file.
20127         * gdb.hp/pxdb.c: new file.
20128         * gdb.hp/pxdb.exp: new file.
20129         * gdb.hp/quicksort.exp: new file.
20130         * gdb.hp/reg-test.exp: new file.
20131         * gdb.hp/reg-test.s: new file.
20132         * gdb.hp/sized-enum.c: new file.
20133         * gdb.hp/sized-enum.exp: new file.
20134         * gdb.hp/start-stop.exp: new file.
20135         * gdb.hp/templ-hp.cc: new file.
20136         * gdb.hp/templ-hp.exp: new file.
20137         * gdb.hp/thr-lib.c: new file.
20138         * gdb.hp/thr-lib.exp: new file.
20139         * gdb.hp/thr-lib.h: new file.
20140         * gdb.hp/thr-liblib.c: new file.
20141         * gdb.hp/virtfun-hp.c: new file.
20142         * gdb.hp/virtfun-hp.exp: new file.
20143         * gdb.hp/watch-cmd.exp: new file.
20144         * gdb.hp/watch-hp.exp: new file.
20145         * gdb.hp/xdb1.exp: new file.
20146         * gdb.hp/xdb2.exp: new file.
20147         * gdb.hp/xdb3.exp: new file.
20148
20149 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
20150
20151         The following files are part of the HP merge; some had longer
20152         names at HP, but have been renamed to be no more than 14
20153         characters in length.
20154
20155         * gdb.base/ss.h: new file.
20156         * gdb.base/call-ar-st.c: new file.
20157         * gdb.base/call-ar-st.exp: new file.
20158         * gdb.base/call-rt-st.c: new file.
20159         * gdb.base/call-rt-st-exp: new file.
20160         * gdb.base/call-strs.exp: new file.
20161         * gdb.base/ena-dis-br.exp: new file.
20162         * gdb.base/environ.exp: new file.
20163         * gdb.base/long_long.exp: new file.
20164         * gdb.base/sect-cmd.exp: new file.
20165         * gdb.base/shlib-cl2.exp: new file.
20166         * gdb.base/smoke.exp: new file.
20167         * gdb.base/so-impl-ld.c: new file.
20168         * gdb.base/so-impl-ld.exp: new file.
20169         * gdb.base/so-indr-cl.c: new file.
20170         * gdb.base/so-indr-cl.exp: new file.
20171         * gdb.base/varargs.exp: new file.
20172         * gdb.base/volatile.exp: new file.
20173         * gdb.base/whatis-exp.exp: new file.
20174         * gdb.base/display.exp: new file.
20175         * gdb.c++/derivation.exp: new file.
20176         * gdb.c++/local.exp: new file.
20177         * gdb.c++/member-ptr.exp: new file.
20178         * gdb.c++/overload.exp: new file.
20179         * gdb.c++/ovldbreak.exp: new file.
20180         * gdb.c++/ref-types.exp: new file.
20181         * gdb.c++/ref-types2.exp: new file.
20182         * gdb.c++/userdef.exp: new file.
20183
20184 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
20185
20186         * gdb.base/default.exp: Reflect wording change in remote.c.
20187
20188 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
20189
20190         * gdb.base/help.exp: Update to reflect current text.
20191
20192 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
20193
20194         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
20195         they're stack variables and contain garbage.
20196         * gdb.c++/anon-union.exp: new file.
20197
20198         The following changes were made by David Taylor
20199         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20200         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20201         in changes by HP.
20202
20203         * gdb.base/bitops.exp: new file.
20204         * gdb.base/default.exp: change expected messages for catch and
20205         info catch tests to reflect HP merge changes.
20206         * gdb.base/enable-disable-break.exp
20207         * gdb.base/ending-run.c: new file.
20208         * gdb.base/long_long.c: new file.
20209         * gdb.base/maint.exp: new file.
20210         * gdb.base/pointers2.exp: new file.
20211         * gdb.base/shlib-call2.exp: new file.
20212         * gdb.base/solib.exp: new file.
20213         * gdb.base/step-test.c: new file.
20214         * gdb.c++/anon-union.cc: new file.
20215         * gdb.c++/local.cc: new file.
20216         * gdb.c++/member-pointer.cc: new file.
20217         * gdb.c++/method.cc: new file.
20218         * gdb.c++/ref-types.cc: new file.
20219         * gdb.c++/ref-types2.cc: new file.
20220         * gdb.c++/userdef.cc: new file.
20221
20222         * gdb.base/scope.exp: compile one file at a time, then link.
20223         * gdb.base/langs.exp: ditto.
20224         * gdb.base/list.exp: ditto.
20225
20226 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
20227
20228         The following changes were made by David Taylor
20229         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20230         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20231         in changes by HP.
20232
20233         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20234         skip tests.  When compiling pass c++ flag to gdb_compile.
20235         * gdb.c++/
20236
20237         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20238         test for on hppa*-*-hpux*; use args to see if c++ was specified.
20239         (skip_hp_tests): new function.
20240         (gdb_preprocess): new function.
20241
20242         * configure.in (hpdir): decide whether to configure gdb.hp.
20243         * configure: regenerated.
20244
20245         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20246         to delete on clean.
20247         (EXECUTABLES): update to reflect new additions.
20248         * gdb.base/commands.exp: update message expected.
20249         * gdb.base/default.exp: add copyright notice.
20250         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20251         * gdb.base/help.exp: update messages to reflect current text.
20252         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20253         targets for recurse tests.
20254         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20255         skip this file.
20256
20257         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20258         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20259         compilation.
20260         * gdb.c++/misc.exp: ditto.
20261         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20262         run the tests.  tell gdb_compile that it's a c++ compilation.
20263
20264         * gdb.threads/pthreads.exp: fix typo in message.
20265
20266         * gdb.base/all-bin.exp: new file.
20267         * gdb.base/arithmet.exp: new file.
20268         * gdb.base/assign.exp: new file.
20269         * gdb.base/completion.exp: new file.
20270         * gdb.base/cond-expr.exp: new file.
20271         * gdb.base/condbreak.exp: new file.
20272         * gdb.base/define.exp: new file.
20273         * gdb.base/dollar.exp: new file.
20274         * gdb.base/environment.exp: new file.
20275         * gdb.base/eval-skip.exp: new file.
20276         * gdb.base/jump.exp: new file.
20277         * gdb.base/logical.exp: new file.
20278         * gdb.base/pointers.exp: new file.
20279         * gdb.base/relational.exp: new file.
20280         * gdb.base/section_command.exp: new file.
20281         * gdb.base/whatis-expr.exp: new file.
20282
20283         * gdb.base/all-types.c: new file.
20284         * gdb.base/call-array-struct.c: new file.
20285         * gdb.base/call-return-struct.c: new file.
20286         * gdb.base/call-strings.c: new file.
20287         * gdb.base/callfuncs2.c: new file.
20288         * gdb.base/condbreak.c: new file.
20289         * gdb.base/constvars.c: new file.
20290         * gdb.base/display.c: new file.
20291         * gdb.base/int-type.c: new file.
20292         * gdb.base/jump.c: new file.
20293         * gdb.base/miscexprs.c: new file.
20294         * gdb.base/pointers.c: new file.
20295         * gdb.base/pointers2.c: new file.
20296         * gdb.base/shmain.c: new file.
20297         * gdb.base/shr1.c: new file.
20298         * gdb.base/shr2.c: new file.
20299         * gdb.base/solib.c: new file.
20300         * gdb.base/solib1.c: new file.
20301         * gdb.base/solib2.c: new file.
20302         * gdb.base/varargs.c: new file.
20303         * gdb.c++/derivation.cc: new file.
20304         * gdb.c++/overload.cc: new file.
20305         * gdb.c++/ovldbreak.cc: new file.
20306         * gdb.hp/attach.c: new file.
20307         * gdb.hp/attach2.c: new file.
20308         * gdb.hp/average.c: new file.
20309         * gdb.hp/compiler.c: new file.
20310         * gdb.hp/compiler.cc: new file.
20311         * gdb.hp/execd-program.c: new file.
20312         * gdb.hp/follow-exec.c: new file.
20313         * gdb.hp/follow-fork.c: new file.
20314         * gdb.hp/follow-vfork-and-exec.c: new file.
20315         * gdb.hp/misc-hp.cc: new file.
20316         * gdb.hp/more-steps.c: new file.
20317         * gdb.hp/optimize.c: new file.
20318         * gdb.hp/quicksort.c: new file.
20319         * gdb.hp/run-hp.c: new file.
20320         * gdb.hp/start-stop.c: new file.
20321         * gdb.hp/sum.c: new file.
20322         * gdb.hp/templates-hp.cc: new file.
20323         * gdb.hp/thread-local-in-lib.c: new file.
20324         * gdb.hp/thread-local-in-lib.h: new file.
20325         * gdb.hp/thread-local-in-lib.lib.c: new file.
20326         * gdb.hp/vforked-program.c: new file.
20327         * gdb.hp/virtfunc-hp.cc: new file.
20328         * gdb.hp/watchpoint-hp.c: new file.
20329         * gdb.hp/xdb.c: new file.
20330         * gdb.hp/xdb0.c: new file.
20331         * gdb.hp/xdb0.h: new file.
20332         * gdb.hp/xdb1.c: new file.
20333
20334 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
20335
20336         The following change was made by Edith Epstein
20337         <eepstein@cygnus.com> as part of a project to merge in changes
20338         originally made by HP; HP did not create ChangeLog entries.
20339
20340         * gdb.c++/demangle.exp: changed the expected output for some
20341         ARM-style mangling -- removed second reference to datatype.
20342         For example, maint demangle __dt__11T1__pt__2_cFv
20343                      T1<char>::~T1<char>(void)
20344         becomes,
20345                      maint demangle __dt__11T1__pt__2_cFv
20346                      T1<char>::~T1(void)
20347
20348         (test_hp_style_demangling): new hp specific demangling test cases.
20349
20350 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
20351
20352         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
20353         * gdb.trace/backtrace.exp: Likewise.
20354         * gdb.trace/circ.exp: Likewise.
20355         * gdb.trace/collection.exp: Likewise.
20356         * gdb.trace/deltrace.exp: Likewise.
20357         * gdb.trace/infotrace.exp: Likewise.
20358         * gdb.trace/limits.exp: Likewise.
20359         * gdb.trace/packetlen.exp: Likewise.
20360         * gdb.trace/passc-dyn.exp: Likewise.
20361         * gdb.trace/passcount.exp: Likewise.
20362         * gdb.trace/report.exp: Likewise.
20363         * gdb.trace/save-trace.exp: Likewise.
20364         * gdb.trace/tfind.exp: Likewise.
20365         * gdb.trace/tracecmd.exp: Likewise.
20366         * gdb.trace/while-dyn.exp: Likewise.
20367         * gdb.trace/while-stepping.exp: Likewise.
20368
20369 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
20370
20371         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
20372
20373 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
20374
20375         From Brendan Kehoe:
20376         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
20377         int return types.
20378
20379 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
20380
20381         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
20382         remote dos host testing right.
20383
20384 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
20385
20386         * gdb.base/corefile.exp: remove some xfails.
20387
20388 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20389
20390         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
20391         have different timestamps.
20392
20393 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20394
20395         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
20396         gdb.base/default.exp: Replace "exec" with "executable".
20397
20398 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20399
20400         * gdb.base/default.exp: Change else if to elseif from previous
20401         delta.
20402
20403 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
20404
20405         * gdb.base/default.exp: Add brace missing from previous delta.
20406
20407 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
20408
20409         * gdb.base/default.exp: Support test for info float for all
20410         varieties of arm toolchain.
20411
20412 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
20413
20414         * gdb.trace/*.exp: remove "remote_download" command.
20415
20416 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
20417
20418         * gdb.trace/*.exp: remove -gdwarf from compile.
20419
20420 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
20421
20422         * gdb.trace/configure.in(AC_INIT): typo
20423         * gdb.trace/configure: regenerated
20424
20425 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
20426
20427         * config/m68k-emc.exp: New file.
20428         * lib/<emc-support.exp trace-support.exp}: New files.
20429         * configure.in: add new test directory gdb.trace.
20430         * gdb.trace/{configure configure.in Makefile.in}: New files.
20431         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
20432         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
20433         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
20434         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
20435         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
20436         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
20437         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
20438
20439 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
20440
20441         * gdb.c++/classes.exp: Change all regular expressions to match
20442         arbitrary combinations of newline/carriage-return, so that they
20443         will work equally well on Unix and Windows.
20444         * gdb.c++/inherit.exp: ditto.
20445         * gdb.c++/virtfunc.exp: ditto.
20446
20447 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
20448
20449         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
20450
20451 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
20452
20453         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
20454         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
20455         to use a0-a3/d0-d3 as needed.
20456
20457 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
20458
20459         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
20460         * gdb.disasm/am33.exp: Corresponding changes.
20461
20462 1998-07-11  Felix Lee  <flee@cygnus.com>
20463
20464         * gdb.base/callfuncs.exp: add cmp10 test.
20465         * gdb.base/callfuncs.c (cmp10): new function.
20466
20467 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
20468
20469         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
20470         into two parts to get around a synchronization problem in expect.
20471
20472 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
20473
20474         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
20475
20476         * configure.in: Add options for gdbtk testsuite.
20477
20478         * configure: Regenerate.
20479
20480         * gdb.gdbtk: New directory to hold gdbtk tests.
20481
20482 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
20483
20484         * gdb.fortran/types.exp:  Escape brackets in expect patterns
20485         for test_float_literal_types_accepted tests.
20486         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
20487         before run test.
20488
20489 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
20490
20491         * am33.exp: Just compile, do not link the testcase.
20492         * am33.s: Add ".am33" pseudoop to force am33 mode.
20493
20494 1998-06-25  Felix Lee  <flee@cygnus.com>
20495
20496         * gdb.base/setshow.exp: make sure $pc is sane.
20497
20498         * gdb.stabs/weird.exp: split expect patterns properly.
20499
20500 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
20501
20502         * gdb.disasm/am33.s: New disassembler testfile for the am33.
20503         * gdb.disasm/am33.exp: Run it.
20504
20505 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
20506
20507         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
20508         match processing (and eliminate spurious timeouts when running).
20509
20510 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
20511
20512         * gdb.base/signals.exp (test_handle_all_print): put back Mach
20513         exception test, but conditionalize it on target [mach | gnu].
20514
20515 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
20516
20517         * gdb.base/overlays.exp: fixup compile line for linker script.
20518
20519 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
20520
20521         * gdb.fortran/types.exp: don't guess at float size.
20522
20523 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
20524
20525         * gdb.base/exprs.exp: delete test that depends on int size.
20526
20527 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
20528
20529         * config/sim.exp: Removed checks for target triplets.
20530         (gdb_target_sim): Use gdb,target_sim_options.
20531
20532 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
20533
20534         * gdb.base/reread.exp: New file.
20535         * gdb.base/reread1.c: New file.
20536         * gdb.base/reread2.c: New file.
20537
20538 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
20539
20540         * config/sim.exp: Use 'target sim -sparclite' when running
20541         SPARClite programs.
20542
20543 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
20544
20545         * gdb.base/structs2.exp: New file.
20546         * gdb.base/structs2.c: New file.
20547
20548 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
20549
20550         * gdb.asm/common.inc: New file.
20551         * gdb.asm/d10v.inc: New file.
20552         * asm-source.exp: Pass -I's to gas to find .inc files.
20553         Update line numbers in expected output.
20554         * asmsrc1.s: Rewrite.
20555         * asmsrc2.s: Rewrite.
20556         * configure.in: Create arch.inc symlink.
20557         * configure: Regenerate.
20558         * Makefile.in (distclean): Delete arch.inc.
20559
20560 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
20561
20562         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
20563         (t_enum_value2): ditto
20564         (t_enum_value3): ditto
20565         (main): ditto
20566 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
20567
20568         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
20569         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
20570         change.
20571         Use gdb_test instead of send_gdb/gdb_expect sequences.
20572
20573 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
20574
20575         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
20576         not void.
20577
20578 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
20579
20580         * gdb.base/branches.c: Code with lots of loops and
20581         subroutines. Used to test gdbs ability to single step through PC
20582         changes, especially to test mips-tdep.c:mips_next_pc
20583
20584 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
20585
20586         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
20587         more rigorous EGCS C++ error checking.
20588
20589 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20590
20591         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
20592         tests.
20593         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
20594         function when asleep.
20595         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
20596         for i*86 Linux and SVR4 signal handling problems.
20597         Remove linux xfail for `next to handler in signals_tests_1', fixed
20598         by recent infrun.c change.
20599         Limit backtrace to 10 frames to avoid timeout problems with infinite
20600         stack backtraces.
20601         Adjust expect pattern in `handle all print' test to match Apr 28 1997
20602         target.[ch] change.
20603
20604 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
20605
20606         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
20607         for a newline from gdb before continuing.
20608         (default_gdb_exit): Just look for y or n.
20609         (gdb_test): Detect abnormal exit from GDB running on DOS; if
20610         it does, fail the rests of the tests in the file.
20611
20612 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
20613
20614         * config/cygmon.exp: New file.
20615
20616 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
20617
20618         * gdb.base/list.exp: Fix problem with "list default lines around
20619         main" test on remote targets.
20620
20621         * gdb.base/scope.exp: Fix problem with filelocal_bss before
20622         run test on remote targets.
20623
20624 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
20625
20626         * gdb.asm: New directory.
20627         * configure.in: Configure it.
20628         * configure: Regenerate.
20629         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
20630         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
20631
20632 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
20633
20634         * config/mn10300-eval.exp: New file to support MN10300 eval board.
20635
20636 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
20637
20638         * gdb.base/overlays (several files): Merge the two overlay
20639         managers into one.  Change variables (foox, barx, bazx, grbxx)
20640         back into ints but force them to load in their proper sections.
20641
20642 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20643
20644         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
20645         on-chip insn memory and IMAP1 to upper 128k.
20646         (D10VCopy): Handle memory regions crossing 16k boundaries.
20647         (D10VCopy): Transfer data in 32 bit chunks.
20648
20649 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20650
20651         * gdb.base/overlays.c (main): Exit normally when result is
20652         correct.
20653
20654         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
20655         map.  Include space for printf in .text segment.
20656
20657         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
20658         updated d10v memory VMA/LMA map.
20659         (D10VCopy): Call D10VTranslate.
20660
20661 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20662
20663         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
20664
20665         * gdb.base/bar.c (barx, bar): Change variable to small array so
20666         that it won't be put into the .sdata - small data -
20667         section. Update reference.
20668         * gdb.base/baz.c (bazx, baz): Ditto.
20669         * gdb.base/foo.c (foox, foo): Ditto.
20670         * gdb.base/grbx.c (grbxx, grbx): Ditto.
20671
20672         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
20673         to be arrays.
20674
20675 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
20676
20677         * gdb.base/overlays.exp: fix up and get working again.
20678         Add tests for backtraces from an overlay function.
20679
20680 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
20681
20682         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
20683         "calling function with watchpoint enabled".
20684
20685 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
20686
20687         * gdb.base/break.exp (test_next_with_recursion): Remove
20688         gdb_suppress_tests for d10v-*-*.
20689         * lib/gdb.exp (gdb_suppress_tests): Disable this function
20690         pending review of whether it is useful or not.
20691
20692 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
20693
20694         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
20695
20696 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
20697
20698         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
20699         * config/dve.exp: New file to support Densan boards.
20700
20701 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
20702
20703         * gdb.base/interrupt.exp: Document problem of simulators, signals,
20704         reads and BSD.
20705
20706 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
20707
20708         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
20709         response.
20710
20711         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
20712
20713 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
20714
20715         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
20716         test.
20717
20718         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
20719         target_sizeof_long and target_bigendian_p.
20720         (structs_by_value, structs_by_reference): Check values according
20721         to targets word size and endianess.
20722
20723 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
20724
20725         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
20726         output.
20727
20728 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
20729
20730         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
20731         Update test of set args help to match source change.
20732
20733 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
20734
20735         * gdb.base/default.exp: Expect help system output to be in
20736         alphabetical order.
20737         * gdb.base/help.exp: Ditto.
20738
20739 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
20740
20741         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
20742         "i*86-pc-linux-gnu*".
20743         * gdb.base/interrupt.exp: Ditto.
20744         * gdb.base/corefile.exp: Ditto.
20745
20746         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
20747         define vxworks when building the testcase.
20748
20749         * gdb.base/ptype.exp: Fix testnames to be unique.
20750         * gdb.base/radix.exp: Ditto.
20751         * gdb.base/term.exp: Ditto.
20752         * gdb.base/whatis.exp: Ditto.
20753         * gdb.c++/classes.exp: Ditto.
20754
20755 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
20756
20757         * gdb.base/callfuncs.exp: Fix indentation.
20758
20759         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
20760         suppress_flag has been set.
20761         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
20762         target feature.
20763
20764 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
20765
20766         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
20767         the testcase.
20768
20769         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
20770         set_debug_traps() and breakpoint().
20771         * gdb.c++/misc.cc (main): Ditto.
20772         * gdb.c++/templates.cc (main): Ditto.
20773         * gdb.c++/virtfunc.cc (main): Ditto.
20774
20775 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
20776
20777         * lib/gdb.exp(gdb_step_for_stub): New function.
20778         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
20779         exists, reload the executable and do a "continue" instead of
20780         doing a jump.
20781         (runto_main): Use gdb_step_for_stub.
20782
20783         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
20784         tests to have unique names.
20785         * gdb.base/callfuncs.exp: Ditto.
20786         * gdb.base/commands.exp: Ditto.
20787         * gdb.base/default.exp: Ditto.
20788         * gdb.base/help.exp: Ditto.
20789         * gdb.base/list.exp: Ditto.
20790         * gdb.base/opaque.exp: Ditto.
20791         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
20792         similar tests.
20793
20794         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
20795         * gdb.c++/cplusfuncs.cc: Ditto.
20796         * gdb.c++/virtfunc.cc: Ditto.
20797
20798         * config/monitor.exp: Keep track of the last file we saw, rather
20799         than trying to get the info from gdb.
20800
20801         * gdb.fortran/types.exp: Move comment to previous line.
20802
20803 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
20804
20805         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
20806         target mode.
20807
20808 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
20809
20810         From Bob Manson:
20811         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
20812         string from GDB when it connects.
20813
20814         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
20815
20816 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
20817
20818         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
20819         if we can't get a debug format from GDB (we may be testing an
20820         older GDB). Use a 10 second timeout when checking for the format.
20821
20822         * gdb.stabs/weird.exp: Fix quoting.
20823
20824         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
20825
20826 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
20827
20828         * config/arm-ice.exp: New file.
20829
20830 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
20831
20832         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
20833         until it has been modified to work with the new testsuite.
20834
20835         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
20836         testcase won't compile, cause all of the testcases in the file to
20837         fail instead.
20838
20839         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
20840         (gdb_clear_suppressed): New procedure.
20841         (gdb_stop_suppressing_tests): Only clear suppress_flag if
20842         it contains a positive value.
20843
20844 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
20845
20846         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
20847
20848         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
20849
20850 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
20851
20852         * lib/gdb.exp (setup_xfail_format): New function.
20853         (get_debug_format): New function to get debug format.
20854         (debug_format): New global variable to hold last value set
20855         by get_debug_format.
20856         * gdb.base/list.exp: Call get_debug_format and expect some
20857         tests to fail for DWARF 1 and COFF formats.
20858         * gdb.c++/ptype.exp: Ditto.
20859         * gdb.c++/classes.exp: Ditto.
20860         * gdb.c++/cplusfuncs.exp: Ditto.
20861         * gdb.c++/inherit.exp: Ditto.
20862         * gdb.c++/templates.exp: Ditto.
20863         * gdb.c++/virtfunc.exp: Ditto.
20864
20865 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
20866
20867         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
20868         host doesn't have a currently-open connection.
20869
20870         * config/sparclet.exp: Cleanups and fixes to make it generic for
20871         any gdb stub target. Handle cases where gdb doesn't respond when
20872         interrupted in a sane fashion.
20873
20874         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
20875         same thing in a totally different way.
20876
20877         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
20878         setting "timeout".
20879         (gdb_start): We set the global gdb_prompt variable in
20880         default_gdb_init now.
20881
20882 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
20883
20884         * gdb.base/printcmds.exp: Fix "check for floating addition"
20885         regexp to accept results within approx +/- .01 of exact value.
20886         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
20887
20888 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
20889
20890         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
20891         properly.
20892         (gdb_expect): Add optional timeout parameter, and add timeout
20893         value to various calls.
20894         (gdb_suppress_tests): Only give one warning message per group.
20895
20896 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
20897
20898         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
20899         global variables. Handle getting a value for $timeout more
20900         gracefully.
20901
20902 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
20903
20904         * lib/gdb.exp: Close connection to remote host if gdb doesn't
20905         initialize.
20906         (default_gdb_init): New procedure; allow gdb_init to be overridden
20907         by a target configuration file.
20908         (gdb_expect): Pass the timeout to remote_expect.
20909
20910         * config/monitor.exp(gdb_load): Fix typo in regexp.
20911
20912 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
20913
20914         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
20915
20916 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
20917
20918         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
20919         here. Call gdb_target_exec before rebooting the target, to make
20920         sure the connection to the target is closed.
20921         (gdb_load): Pass the name of the executable to gdb_target_monitor.
20922         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
20923         Also detect "Timeout reading from remote" error.
20924
20925         * config/gdbserver.exp: Pass the executable being loaded to
20926         gdb_target_monitor. Don't call gdb_file_cmd here; let
20927         gdb_target_monitor do it.
20928
20929         * gdb.disasm/hppa.exp: Don't use exec_output.
20930
20931 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
20932
20933         * gdb.base/list.exp: If we're debugging a non-native target,
20934         try to set the pc register to point to the start of the
20935         program before doing the first list command.
20936
20937         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
20938         test_calls after restarting.
20939
20940         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
20941         reloading.
20942
20943         * gdb.base/watchpoint.exp: Fix typo.
20944
20945         * gdb.base/setshow.exp: Check for use_gdb_stub.
20946
20947         * gdb.base/break.exp: Fix continue until exit test for the gdb
20948         stub case.
20949         * gdb.base/langs.exp: Ditto.
20950
20951         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
20952         gdb_load_offset. If we weren't given a file to load, figure out
20953         what the current file is and use it.
20954
20955         * config/i386-bozo.exp: New file.
20956
20957 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
20958
20959         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
20960         feature.
20961
20962         * config/proelf.exp: New entry.
20963
20964 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
20965
20966         * lib/gdb.exp: Remove spurious .* patterns at the beginning
20967         of regexps.
20968
20969         * gdb.base/watchpoint.exp: Don't run the test_stepping
20970         tests if gdb can't call functions on the target.
20971
20972         * gdb.base/setshow.exp: Don't run the set prompt tests if
20973         the board has gdb_prompt set.
20974
20975 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
20976
20977         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
20978         * gdb.base/commands.exp: Likewise.
20979         * gdb.base/setshow.exp: Likewise.
20980
20981 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
20982
20983         * config/monitor.exp(gdb_start): Look for gdb_prompt target
20984         feature.
20985
20986         * config/i960.exp: New file.
20987
20988 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
20989
20990         * gdb.base/funcargs.exp: Check for gdb,short_int target
20991         feature instead of looking for explicit target triplets.
20992
20993 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
20994
20995         * gdb.base/printcmds.exp: add a couple more tests a la
20996         "p 123DEADBEEF", to check parse_number.
20997         * top.c: change "to enable to enable" to "to enable" in a couple
20998         of help strings.
20999
21000 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
21001
21002         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21003         on the mn10300.
21004
21005 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
21006
21007         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
21008         where the test executable is run with explicit args.
21009         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
21010
21011 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
21012
21013         * gdb.base/run.c: Use FAKEARGV to build test executable that
21014         does not require a command line arg, since most simulators
21015         don't currently support passing such an arg into the simulated
21016         program.
21017         * gdb.base/commands.exp: Change tests to insert the proper
21018         value as the arg to the first recursive factorial call.  Change
21019         compilation line to define FAKEARGV at compile time.
21020
21021 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
21022
21023         * gdb.base/recurse.exp: Enable these tests for the mn10300.
21024         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
21025         function with watchpoint enabled" test.
21026
21027 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21028
21029         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
21030         Don't call gdb_test when the command doesn't return to a gdb prompt.
21031
21032         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
21033         "Tests restarted" messages.
21034
21035 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
21036
21037         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
21038
21039 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
21040
21041         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
21042         for INFO SYMBOL; add help tests for OVERLAY commands.
21043         * gdb.base/default.exp: add tests for INFO SYMBOL command;
21044         add tests for OVERLAY commands
21045         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
21046         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
21047         * gdb.base/sigall.c: add usestubs code frag
21048         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
21049
21050 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
21051
21052         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
21053         failures.
21054         (gdb_stop_suppressing_tests): Note that tests have restarted.
21055
21056 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21057
21058         * config/h8300.exp: New file.
21059
21060 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21061
21062         * gdb.base/setshow.exp: Check for the existence of a
21063         feature, not its value.
21064
21065 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
21066
21067         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
21068
21069         * gdb.base/scope.exp: It's now init0(), not init().
21070
21071         * gdb.base/scope0.c: For now, change init() to be init0().
21072
21073         * config/monitor.exp: Use gdb_serial in preference to serial
21074         or netport.
21075
21076         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
21077         and it's not already set.
21078
21079 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
21080
21081         * gdb.base/setshow.exp: Only test the run command if the target
21082         isn't using a stub and if it supports argument passing.
21083
21084 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21085
21086         * config/udi.exp(gdb_start): Make sure UDICONF is set
21087         properly before starting gdb.
21088
21089 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
21090
21091         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
21092         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
21093         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
21094
21095 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
21096
21097         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
21098         specialized code to reboot the board, use remote_reboot instead.
21099
21100         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
21101
21102         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
21103
21104         * config/monitor.exp: Make sure we disconnect from the target.
21105         Also, try a reboot/reload cycle instead of failing if the
21106         load fails.
21107
21108 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
21109
21110         * gdb.base/default.exp: Don't set match_max.
21111         * gdb.base/help.exp: Ditto.
21112         * gdb.base/list.exp: Ditto.
21113         * gdb.base/signals.exp: Ditto.
21114
21115         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
21116         set, use remote_ld to download the testcase instead of
21117         the GDB loader.
21118
21119 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21120
21121         * config/vr5000.exp: New file.
21122
21123         * config/monitor.exp(gdb_target_monitor): Add pattern for
21124         "Ending remote" to detect errors in connecting.
21125
21126         * gdb.base/setshow.exp: Add .* within auto language test.
21127
21128         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
21129         target feature.
21130
21131         * config/monitor.exp(gdb_load): Check for a failure when loading,
21132         and reboot the board if necessary.
21133
21134         * gdb.base/setvar.exp(test_set): Handle multiple prints within
21135         a set of tests. Remove print.* from the patterns being checked.
21136
21137 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21138
21139         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
21140         refer to gdb_spawn_id.
21141
21142         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
21143         longer used.
21144         * config/sparclet.exp: Ditto.
21145         * config/sparclet-old.exp: Ditto.
21146         * config/slite.exp: Ditto.
21147         * config/sim.exp: Ditto.
21148         * gdb.base/funcargs.exp: Ditto.
21149
21150         * lib/gdb.exp:Remove references to gdb_spawn_id.
21151         (gdb_expect): Move to remote.exp.
21152
21153 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
21154
21155         * config/monitor.exp: Detect the "Couldn't establish connection"
21156         message from GDB.
21157
21158 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
21159
21160         * gdb.base/bitfields.exp: Use runto instead of explicit
21161         gdb_run_cmd/gdb_expect sequences.
21162
21163         * gdb.base/break.exp(text_next_with_recursion): Add match for
21164         gdb_expect call.
21165
21166         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
21167         We also need to handle the "A program is being debugged already"
21168         prompt from gdb. Use gdb_test to set the baud rate.
21169
21170         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
21171         to 20000. Really. I mean it.
21172
21173 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
21174
21175         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
21176         fails. If suppress_flag is set, skip perror message about not
21177         being able to send to GDB.
21178         (send_gdb): If suppress_flag is set, don't try to send commands to
21179         GDB.
21180         (gdb_expect): If suppress_flag is set, always fail immediately.
21181         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
21182         (gdb_init): Call gdb_stop_suppressing_tests.
21183         (default_gdb_exit): Ditto.
21184         (default_gdb_start): Ditto.
21185
21186         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
21187         gdb_stop_suppressing_tests as appropriate.
21188         * gdb.base/break.exp: Ditto.
21189         * gdb.base/callfuncs.exp: Ditto.
21190         * gdb.base/commands.exp: Ditto.
21191         * gdb.base/exprs.exp: Ditto.
21192         * gdb.base/funcargs.exp: Ditto.
21193         * gdb.base/list.exp: Ditto.
21194         * gdb.base/recurse.exp: Ditto.
21195         * gdb.base/scope.exp:  Ditto.
21196         * gdb.base/structs.exp: Ditto.
21197         * gdb.c++/inherit.exp: Ditto.
21198
21199 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
21200
21201         * config/vr4300.exp: New file.
21202
21203         * gdb.*/*.exp: Call gdb_expect instead of expect.
21204
21205         * lib/gdb.exp(gdb_expect): New function.
21206
21207 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
21208
21209         * lib/gdb.exp(gdb_init): New function.
21210
21211         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
21212         for each individual variable set.
21213
21214         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
21215         name.
21216
21217         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
21218
21219         * gdb.base/scope.exp: Use gdb_test.
21220
21221         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
21222         aborting; the testsuite driver will do that for us (see
21223         gdb_finish). Also, use gdb_test in a few more places.
21224
21225 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
21226
21227         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
21228
21229 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
21230
21231         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21232         and "add_tests" are not at the same address.
21233
21234 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
21235
21236         * gdb.base/ptype.exp: Use gdb_test.
21237
21238 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
21239
21240         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21241         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21242         left in.  No longer expect them to fail.
21243
21244         * gdb.stabs/*.mt; Deleted, no longer used.
21245         * gdb.stabs/configure.in: Remove references to target makefile
21246         frags.
21247         * gdb.stabs/configure: Rebuilt.
21248
21249         * gdb.disasm/*.mt: Deleted, no longer used.
21250         * gdb.disasm/configure.in: Remove references to target makefile
21251         frags.  Use "sh3.s" as the unique filename for this directory.
21252         * gdb.disasm/configure: Rebuilt.
21253
21254         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21255         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21256         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21257
21258 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
21259
21260         * config/udi.exp: Use mondfe,name instead of remote_host.
21261
21262 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
21263
21264         * gdb.base/watchpoint.exp: Don't expect a failure when calling
21265         a function with a watchpoint enabled on the mn10200.
21266
21267         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
21268         before trying to create it!
21269
21270 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
21271
21272         * config/vx.exp: Use hostname instead of netport.
21273
21274         * config/vxworks.exp: New file.
21275
21276         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
21277
21278         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
21279         gdb before assuming everything worked. Send a ^C if a timeout
21280         occurs.
21281
21282         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
21283         $gdb_spawn_id directly.
21284         (gdb_run_cmd): Try _start as well as start. Use the target feature
21285         gdb,start_symbol as the symbol to start from when jumping.
21286
21287 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
21288
21289         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
21290         redundant) test.
21291
21292         * gdb.base/recurse.exp: Relax final value test for 'b' so that
21293         it doesn't lose for 16bit integer systems.
21294
21295 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
21296
21297         * gdb.fortran/types.exp: If the target doesn't support "double"
21298         data types, then expect "real" types to only be 4 bytes.
21299
21300         * gdb.c++/virtfunc.exp: Expect failure for virtual function
21301         call tests if the target doesn't support inferior function calls.
21302
21303         * gdb.base/printcmds.exp: Allow minor deviation in FP values
21304         in printf tests.
21305
21306 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
21307
21308         * gdb.base/help.exp: Disable "help set", "help show", and
21309         "help support".  Simplify regexp for "help stack".
21310
21311         * gdb.base/default.exp: Set match_max to 5000 and the timeout
21312         to 60 seconds.  Temporarily set match_max to 15000 around the
21313         "info copying" test.
21314
21315         * gdb.base/nodebug.exp: Don't try to do an inferior function
21316         call if the target doesn't support them.
21317         * gdb.base/printcmds.exp: Likewise.
21318         * gdb.base/setvar.exp: Likewise.
21319         * gdb.base/structs.exp: Likewise.
21320         * gdb.c++/templates.exp: Likewise.
21321         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
21322
21323         * gdb.base/recurse.exp: Enable for the mn10200.
21324
21325         * configure.in: Do configure gdb.stabs directory for *-*-elf
21326         targets.
21327         * configure: Rebuilt.
21328
21329         * gdb.base/break.exp: Check for gdb,noresults before testing
21330         exit status and/or results from the target.
21331         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
21332         * lib/gdb.exp: Remove old (now bogus) initialization of
21333         noinferior, noargs, noresults and nosignals.
21334
21335 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
21336
21337         * config/sh.exp: New file.
21338
21339         * config/slite.exp: Try to connect multiple times to the board
21340         before rebooting. Only send a "monitor run" if need_monitor_run
21341         is set.
21342
21343         * gdb.base/break.exp: Don't do the "stub continue" test if
21344         the target has gdb_stub set.
21345
21346         * gdb.base/callfuncs.exp: Increase the timeout.
21347
21348         * gdb.base/interrupt.exp: Don't even try to compile the testcase
21349         if the target has gdb,noinferiorio set.
21350
21351         * gdb.base/list.exp: Increase match_max to 10000 characters.
21352
21353         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
21354
21355         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
21356         target.
21357
21358         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
21359
21360 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
21361
21362         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
21363         trying to delete the copy of gdb. Catch the file delete so we
21364         don't die if the delete fails; also, the file should be copied to
21365         the host, not to the build.
21366
21367 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
21368
21369         * lib/gdb.exp(gdb_test): Surround the result pattern with
21370         parenthesis in case it contains multiple regexps separated
21371         with |.
21372
21373         * gdb.base/watchpoint.exp: Use gdb_test.
21374         * gdb.base/default.exp: Ditto.
21375
21376 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
21377
21378         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
21379
21380         * gdb.base/scope.exp: Use gdb_test.
21381         * gdb.c++/classes.exp: Ditto.
21382         * gdb.c++/inherit.exp: Ditto.
21383
21384 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21385
21386         * gdb.base/crossload.exp: Don't use execute_anywhere, use
21387         remote_exec instead.
21388         * gdb.base/corefile.exp: Don't be ridiculous.
21389         * gdb.base/*.c: Add missing stub invocations.
21390
21391 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21392
21393         * config/slite.exp: Miscellaneous fixes.
21394
21395         * lib/gdb.exp: Fix runto.
21396
21397         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
21398         the target.
21399
21400         * gdb.base/watchpoint.exp: Fix regexp.
21401
21402         * lib/gdb.exp(default_gdb_exit): Add a catch to the
21403         close and wait commands, as the descriptor may now be
21404         invalid. Always call "remote_close host".
21405
21406 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
21407
21408            Major rewrite for testsuite revision.
21409
21410         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
21411         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
21412         instead of relying on spawn_id to always contain a valid
21413         spawn id.
21414         (get_compiler_info): New procedure to build the ${binfile}.ci
21415         file, instead of replicating this in N different places.
21416         (gdb_compile): New procedure.
21417
21418         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
21419         appropriate arguments) instead of compile. Use gdb_test in a lot
21420         more places.  Use send_gdb instead of send. Always run gdb_start
21421         at the start of a testcase, as this is no longer done magically.
21422
21423         config/*-gdb.exp: Rename without the -gdb suffix.
21424
21425         config/mips.exp: Use remote_close instead of exit_remote_shell.
21426         config/monitor.exp: Use target_info instead of looking at
21427         baud, timeout, etc.
21428         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
21429
21430 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21431
21432         * gdb.c++/templates.exp (test_ptype_of_templates),
21433         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
21434         Update expect patterns for destructors and assignment operators
21435         to match corresponding c-typeprint.c changes.
21436         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
21437         to destructor breakpoint test, GDB should be able to set the
21438         destructor breakpoint without specifying arguments.
21439
21440 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
21441
21442         * gdb.threads/pthreads.exp: Change result for failure to compile due
21443         to lack of pthreads runtime support from an error to simply an
21444         unsupported test, per dejagnu standards.
21445
21446 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21447
21448         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
21449         where GDB exits to reduce pattern match time.
21450         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
21451
21452         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
21453
21454 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
21455
21456         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
21457         * gdb.base/default.exp:   ditto.
21458         * gdb.base/nodebug.exp:   ditto.
21459         * gdb.base/printcmds.exp: ditto.
21460         * gdb.base/ptype.exp:     ditto.
21461         * gdb.base/setvar.exp:    ditto.
21462         * gdb.base/structs.exp:   ditto.
21463         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
21464
21465 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
21466
21467         * configure, */configure: Rebuild with autoconf 2.12.
21468
21469 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
21470
21471         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
21472         use new i*86-pc-linux*-gnu quads.
21473         * gdb.base/corefile.exp: Ditto.
21474         * gdb.base/signals.exp: Ditto.
21475         * gdb.base/sigall.exp: Ditto.
21476         * gdb.base/interrupt.exp: Ditto.
21477
21478         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
21479         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
21480         RedHat 4.0.
21481
21482         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
21483         linux.  This allows the test case to at least compile on latest
21484         linux, but still not run due to missing the threads runtime library.
21485
21486 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21487
21488         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
21489         directory to search gdb directory. Accept and step over conditional
21490         stack alignment code. Consume $prompt in failure cases.
21491         Reset timeout to $oldtimeout instead of some arbitrary value.
21492         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
21493         timeout problems with infinite stack backtraces.
21494         * gdb.base/ptype.exp (ptype struct link, union tu_link):
21495         Accept function parameters for linkfunc member.
21496
21497 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
21498
21499         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
21500         (CXXFLAGS): Remove, unreferenced.
21501         (B_OPTIONS): Add for -B options and add code to initialize with
21502         previous -B options and also add -B option to pick up cross compiled
21503         runtime.
21504         (TARGET_INCLUDES): Add for -I options and add code to initialize when
21505         doing cross compiles.
21506         (target_alias): Declare global.
21507         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
21508         to verify that gcc exists in build tree, and if so set CC to that
21509         gcc and to use B_OPTIONS and TARGET_INCLUDES.
21510
21511 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
21512
21513         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
21514         ptype test for anonymous union.  Fixup testcase to match
21515         current gcc debug output.
21516
21517 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
21518
21519         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
21520         force argument to an unsigned long type.
21521
21522 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
21523
21524         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
21525         tests and anonymous union print/ptype tests.
21526         * gdb.base/list.exp (test_forward-search): Increase timeout by
21527         5 minutes for the "search extremely long line" case.
21528         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
21529         completely optional and that the pass/fail messages use the command as
21530         the message if that third arg is a null string.
21531         (gdb_test_exact):  Arrange that a null string pattern means match a
21532         null string output rather than any output, which might include random
21533         errors.
21534         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
21535         backtrace test.
21536         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
21537         always failing and failure is now exposed by gdb.exp changes.
21538
21539 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
21540
21541         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
21542         weren't being noted.
21543
21544 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21545
21546         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
21547         * gdb.stabs/weird.exp:  Remove v_comb xfails.
21548
21549 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
21550
21551         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
21552                     list.exp scope.exp watchpoint.exp]
21553           Make all timeout error msgs explicitly say "(timeout)".
21554
21555 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
21556
21557         * config/monitor.exp: Increase download timeout to 1000 seconds.
21558
21559 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
21560
21561         * config/m32r.exp: Increase timeout to 120 seconds.
21562
21563 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
21564
21565         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
21566         and accept older ordering as obsolescent gcc or gdb.
21567         * gdb.c++/templates.exp: Ditto.
21568         * gdb.c++/virtfunc.exp: Ditto.
21569
21570 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
21571
21572         * gdb.base/coremaker.c: Add code to mmap some data so we
21573         can check that it ends up in the core file.
21574         * gdb.base/corefile.exp: Add test to read mmapped data
21575         from core file.
21576
21577 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
21578
21579         * config/m32r.exp: New file.
21580
21581 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
21582
21583         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
21584         that cflags can contains -gstabs, and work correctly for other tests.
21585
21586 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
21587
21588         * gdb.base/setshow.exp: New file, tests show and set.
21589         * gdb.base/setshow.c:   New file, tests show and set.
21590         * gdb.base/help.exp: Add test for help set|show annotate.
21591         * gdb.base/default.exp: Add test for set|show annotate.
21592
21593 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
21594
21595         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
21596         errors unique.
21597         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
21598         explicitly.
21599
21600 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
21601
21602         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
21603         and width commands.  This is done elsewhere.
21604         * (gdb_start):  Don't call gdb_start_sim here.  That's already
21605         done in gdb_load.  This fixes lots of failures in default.exp.
21606
21607 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
21608
21609         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
21610         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
21611         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
21612         in the same we we treat other failures (since it may be an expected
21613         condition), rather than as an error.
21614         * gdb.base/signals.exp (test_handle_all_print): Revert back to
21615         old test format.
21616
21617 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
21618
21619         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
21620         (distclean maintainer-clean realclean): No need to remove files
21621         twice.  Nuke the duplicates.
21622         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
21623         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
21624         Remove config.h along with other config files.
21625
21626 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
21627
21628         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
21629         "p func1 ()" and note that rests of tests are skipped.
21630         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
21631         setup_xfails for "print func2::coremaker_local".
21632         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
21633         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
21634         affected by the previous run test.
21635         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
21636         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
21637         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
21638         "pass int powerset tuple" and "pass modeless int powerset tuple".
21639         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
21640         "real write 4" and "real write 8".
21641         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
21642         setup_xfails for "print vs1 after tuple assign 2",
21643         "print \$i after tuple assign 2", and
21644         "print vs2 after tuple assign 2".
21645         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
21646         meaningful error message and return -1 so the caller can
21647         suppress further tests and avoid a cascade of errors.
21648
21649 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
21650
21651         * gdb.base/a1-selftest.exp: Tweak tests to account for new
21652         format for printing version.
21653         * gdb.base/default.exp: Ditto.
21654         * gdb.base/interrupt.exp: Fix problem with cascade of
21655         errors if child process dies while calling a function.
21656
21657 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
21658
21659         * Makefile.in (VPATH): Add
21660         * Makefile.in (Makefile, config.status): Fix rules so things get
21661         remade when necessary.
21662
21663 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
21664
21665         * Makefile.in (just-check): Add path to sibling expect dir
21666         to environment variable specified by RPATH_ENVVAR.
21667
21668 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
21669
21670         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
21671         (just-check): Add shared library paths for libstdc++, tk,
21672         tcl, bfd, and opcodes to the environment variable specified
21673         in RPATH_ENVVAR.
21674         * configure.in: Add support to recognize --enable-shared flag
21675         and generate correct value for RPATH_ENVVAR.
21676         * configure: Regenerated with autoconf.
21677
21678 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
21679
21680         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
21681         include all osf versions.
21682         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
21683         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
21684         when target is linux.  When failing to build pthreads test
21685         executable, give more meaningful message.
21686         * gdb.threads/pthreads.c: Hpux also uses old definition of second
21687         arg for pthread_create.
21688
21689 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
21690
21691         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
21692         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
21693         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
21694         and -lpthreads (everybody else).
21695         (test_startup): Fail gracefully if threads are not supported.
21696         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
21697         "p/c array_index("abcdef",2)" when not gcc compiled.
21698         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
21699         "print func2::coremaker_local" when not gcc compiled.
21700         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
21701         "ptype on opaque struct tagname (statically)",
21702         "ptype on opaque struct tagname (dynamically) 1", and
21703         "ptype on opaque struct tagname (dynamically) 2"
21704         for not compiled with gcc.
21705         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
21706         backtrace when compiled with gcc.
21707         * lib/gdb.exp (runto_main): Return result of "runto main" rather
21708         than always return success.
21709
21710 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
21711
21712         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
21713
21714 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
21715
21716         * gdb.base/structs.exp: Undo last change.
21717
21718 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
21719
21720         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
21721         encapsulate all the steps/nexts done during self test, starting
21722         at main, and makes them less sensitive to optimization issues.
21723         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
21724         signal handler" test.
21725         * gdb.threads/pthreads.exp: Only run this for native configs.
21726         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
21727         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
21728         tests.
21729         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
21730         for "runto test_calls(void)" test.
21731
21732 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
21733
21734         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
21735         and don't expect address info in breakpoint confirmations.
21736
21737 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
21738
21739         * gdb.base/list.exp (test_forward_search): Increase timeout
21740         temporarily by 60 seconds for searching extremely long line,
21741         and then reset to old value when done.  Increase expect input
21742         buffer to 10000.
21743
21744 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
21745
21746         * gdb.base/list.exp (test_forward_search): Fix to handle very
21747         long source line without overflowing expect's input buffer.
21748
21749 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
21750
21751         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
21752         "buffer_full".
21753
21754         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
21755         "buffer_full".
21756
21757         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
21758         "buffer_full".
21759
21760         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
21761         "buffer_full".
21762
21763 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
21764
21765         * configure.in (configdirs): Add gdb.threads.
21766         * configure: Regenerated with autoconf.
21767         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
21768         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
21769         * gdb.threads/configure: New, generated with autoconf.
21770
21771 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
21772
21773         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
21774
21775 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
21776
21777         * gdb.base/signals.exp (test_handle_all_print): Test separately for
21778         each signal's status in the output of "handle all print".
21779         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
21780         the \r\n sequence that immediately precedes the gdb prompt.
21781         * gdb.base/a1-selftest.exp: Save original timeout and restore
21782         after test.
21783
21784 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
21785
21786         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
21787         symbol.
21788
21789 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
21790
21791         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
21792
21793 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
21794
21795         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
21796         timeout by 60 seconds.
21797
21798 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
21799
21800         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
21801         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
21802         error return.
21803
21804 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
21805
21806         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
21807         gdb initialization, also report how long dejagnu waited.  Restore
21808         old timeout before doing error return.  Temporarily increase timeout
21809         by 3 minutes to allow for slow startups over heavy NFS use.
21810
21811 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
21812
21813         * lib/gdb.exp: Report timeout value for verbosity level 2.
21814         * config/gdbserver.exp: Ditto.
21815         * config/hppro.exp: Ditto.
21816         * config/mips-gdb.exp: Ditto.
21817         * config/monitor.exp: Ditto.
21818         * config/netware.exp: Ditto.
21819         * config/sim-gdb.exp: Ditto.
21820         * config/slite-gdb.exp: Ditto.
21821         * config/udi-gdb.exp: Ditto.
21822         * config/unix-gdb.exp: Ditto.
21823         * config/vx-gdb.exp: Ditto.
21824         * gdb.base/a1-selftest.exp: Ditto.
21825         * gdb.base/a2-run.exp: Ditto.
21826         * gdb.base/break.exp: Ditto.
21827         * gdb.base/corefile.exp: Ditto.
21828         * gdb.base/list.exp: Ditto.
21829         * gdb.base/recurse.exp: Ditto.
21830         * gdb.base/scope.exp: Ditto.
21831         * gdb.base/signals.exp: Ditto.
21832
21833 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
21834
21835         * gdb.threads/Makefile.in (docdir): Removed.
21836
21837 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
21838
21839         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
21840         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
21841         @srcdir@.
21842         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
21843         autoconf 2.5 or higher.
21844         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
21845
21846 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
21847
21848         * configure: Regenerated.
21849         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
21850         avoid name clashes with SunOS headers.
21851
21852 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
21853
21854         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
21855
21856 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
21857
21858         * gdb.base/callfuncs.exp: Finish last change -- make sure the
21859         prototype information ends up in the compiler info file.
21860
21861 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
21862
21863         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
21864         attempting to regenerate it.  Eliminate use of a temporary file
21865         and just generate the info file directly.  Source it immediately,
21866         for consistency of use.
21867         * gdb.base/corefile.exp: Ditto
21868         * gdb.base/exprs.exp: Ditto.
21869         * gdb.base/funcargs.exp: Ditto.
21870         * gdb.base/langs.exp: Ditto.
21871         * gdb.base/list.exp: Ditto.
21872         * gdb.base/mips_pro.exp: Ditto.
21873         * gdb.base/nodebug.exp: Ditto.
21874         * gdb.base/opaque.exp: Ditto.
21875         * gdb.base/ptype.exp: Ditto.
21876         * gdb.base/scope.exp: Ditto.
21877         * gdb.base/setvar.exp: Ditto.
21878         * gdb.base/signals.exp: Ditto.
21879         * gdb.base/whatis.exp: Ditto.
21880         * gdb.c++/templates.exp: Ditto.
21881         * gdb.c++/virtfunc.exp: Ditto.
21882         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
21883         whether or not to add -lstdc++ to the compile command line args.
21884
21885 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21886
21887         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
21888         it got fixed by the recent lookup_minimal_symbol_by_pc change.
21889         Increase timeout, a lot of single stepping might be needed if the
21890         target has no hardware watchpoints.
21891
21892 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
21893
21894         * gdb.base/break.exp: Ignore compiler warnings when compiling
21895         break.c.
21896         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
21897         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
21898         from remote-sim.
21899         * gdb.base/exprs.exp: Add h8300 xfails.
21900         * gdb.base/funcargs.exp: Likewise.
21901         * gdb.base/nodebug.exp: Likewise.
21902         * gdb.base/printcmds.exp: Likewise.
21903         * gdb.base/ptype.exp: Likewise.
21904         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
21905         h8300 xfails.
21906         * gdb.base/return.exp: Handle float/double precision problems
21907         on the h8300.
21908         * gdb.base/funcargs.c: Explicitly make last constant argument to
21909         call_after_alloca_subr an unsigned long type.
21910         * gdb.base/return.c: Include stdio.h.
21911
21912 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
21913
21914         * config/abug.exp: New file for the older Motorola Bug monitor
21915         that runs on the mvme13x series VME boards.
21916         * config/monitor.exp: Use the new config array for target settings
21917         if they exist.
21918
21919 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
21920
21921         * sim-gdb.exp: Make the SH simulator allocate less space when
21922         it is targeted.
21923
21924 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
21925
21926         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
21927         test.
21928
21929 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
21930
21931         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
21932         "rs6000-*-*" for "list function in include file" when gcc compiled.
21933         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
21934         for "p ctable1[120]".
21935         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
21936         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
21937         Remove setup_xfail for "rs6000-*-*" for
21938         "print 'scope0.c'::filelocal before run".
21939         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
21940         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
21941         since some compilers don't allow both options to be given
21942         on the same command line.  Create object file and move it.
21943
21944 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
21945
21946         * gdb.base/corefile.exp: Always regenerate the core file, since
21947         we always regenerate the coremaker program.  Detect special case
21948         where registers cannot be read from core file.
21949
21950 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
21951
21952         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
21953         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
21954         * gdb.c++/templates.exp: Only match on basename of file since
21955         some formats like xcoff don't encode directory information.
21956         * gdb.stabs/weird.exp: Use the right sed script for powerpc
21957         and rs6000 AIX xcoff targets.
21958         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
21959         * configure: Regenerate.
21960         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
21961         here, rather than in distclean.
21962
21963 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
21964
21965         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
21966         defined, and use it to compile the test case with -O2.  The
21967         native compilation still uses no optimization.
21968         * gdb.base/mips_pro.c: Remove inline assembly code since
21969         it is compiled PIC by default, which results in assembler
21970         warnings that make the testsuite think the compilation
21971         was unsuccessful.
21972
21973 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
21974
21975         * gdb.c++/misc.exp: Add note to message for
21976         "print s.a for foo struct" that this is a known gcc 2.7.2
21977         and earlier bug.
21978
21979 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
21980
21981         * gdb.base/break.exp: Fix pattern for matching "Delete all
21982         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
21983         setup_xfail for deleting all breakpoints test.  Fix various
21984         timeout messages to include "(timeout)".
21985         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
21986         for "p t_float_values2(3.14159,float_val2)".
21987         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
21988         for "continue to call2g" when gcc compiled.
21989         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
21990         "up to foo in langs.exp", "show language at foo in langs.exp",
21991         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
21992         and "show language at fsub in langs.exp".
21993         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
21994         "list line 1 in include file", "list message for lines past EOF",
21995         "list function in include file", "list list0.h:foo", and
21996         "list filename:function; nonexistant function".
21997         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
21998         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
21999         and "ptype t_char_array" to be for native cc only.
22000
22001 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
22002
22003         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
22004         setup_xfail for "print coremaker_bss", "print coremaker_ro",
22005         "print func2::coremaker_local", and "backtrace in corefile.exp".
22006
22007 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
22008
22009         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
22010         "bt in signals.exp".  This problem only appears when running
22011         the testsuite, and then only intermittently.
22012
22013 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
22014
22015         * gdb.base/return.exp (return_tests): Differentiate between
22016         two tests of continuing.
22017
22018 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
22019
22020         * */Makefile.in (maintainer-clean): Remove config.log.
22021         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
22022         * gdb.c++/Makefile.in (PROGS): Add inherit.
22023         (clean): Remove *.ci.
22024
22025 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
22026
22027         * gdb.c++/misc.cc: Add test code from Mike Stump.
22028         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
22029
22030 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
22031
22032         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
22033         to "alpha-*-osf2*" and add comment.
22034         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
22035         setup_xfail for "step over execarg initialization" and
22036         "step over corearg initialization".
22037         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
22038         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
22039         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
22040         gcc compiled for "print coremaker_bss", "print coremaker_ro",
22041         "print func2::coremaker_local", and "backtrace in corefile.exp".
22042         * gdb.base/signals.exp: Build and source signals.ci.
22043         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
22044         to be for gcc only.
22045         * lib/gdb.exp: Move verbose statements outside conditionals.
22046
22047 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22048
22049         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
22050         Feb 3 procfs.c change.
22051
22052 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
22053
22054         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
22055
22056 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
22057
22058         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
22059         from dejagnu's apparent default of 10 seconds, which gives random
22060         results when running the tests over NFS on moderately loaded systems.
22061         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
22062
22063 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
22064
22065         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
22066         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
22067         result reports.
22068
22069 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
22070
22071         * configure.in (CY_AC_PATH_TCLH): Remove.
22072         * configure: Regenerate.
22073
22074 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
22075
22076         * gdb.c++/Makefile.in (clean): Add missing '{'.
22077
22078 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
22079
22080         * lib/gdb.exp: Provide a default value for noinferior.
22081
22082         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
22083         Load libgloss.exp.
22084
22085 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
22086
22087         * gdb.disasm/hppa.exp: Compile directly into an executable, use
22088         the executable, not the .o to run the tests from.
22089
22090 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
22091
22092         * gdb.base/break.exp: Don't test for program exit or exit status
22093         if $noresults if nonzero.
22094         * gdb.base/langs.exp: Likewise.
22095         * gdb.base/watchpoint.exp: Likewise.
22096
22097         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
22098         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
22099         trying to compile the testcase.
22100
22101 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
22102
22103         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
22104         * gdb.base/signals.exp (continue to handler): Likewise.
22105
22106 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
22107
22108         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
22109
22110         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
22111
22112 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
22113
22114         * gdb.base/corefile.exp: Recognize "not found" as failure
22115         when trying to determine if a core file was generated.
22116         If no core file was generate the first time, try again without
22117         the ulimit -c to work around braindamaged shells.
22118
22119 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
22120
22121         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
22122         [] tests with "test" and enclose string in quotes.
22123         * gdb.stabs/configure: Rebuild
22124
22125 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
22126
22127         Changes in sync with expect:
22128         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22129         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
22130         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
22131         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
22132         argument to AC_REQUIRE.
22133         * configure: Regenerated.
22134
22135 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
22136
22137         * gdb.base/corefile.exp: When generating a core, discard any
22138         error messages about ulimit not found and the "core dumped"
22139         message from the shell that runs the coredumper.
22140
22141 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
22142
22143         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
22144
22145         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
22146         which sed script to run.  Expect failure for v_comb test
22147         on PA targets too.
22148
22149 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
22150
22151         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
22152         "print func2::coremaker_local" and for "backtrace in corefile.exp"
22153
22154 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
22155
22156         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
22157         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
22158         "sparc-sun-solaris*" xfails for "p v_comb".
22159         * lib/gdb.exp (default_gdb_start): Fix typo.
22160         * gdb.base/corefile.exp: Allow "Core was generated by ..."
22161         messages to not include the full program name that caused
22162         the core dump since some systems (such as solaris) apparently
22163         truncate this path to about 80 characters.
22164         When generating a core file first try increasing the core file
22165         size limit to unlimited since some systems may default it to
22166         zero, and it is harmless to try it.  Move the test for failing
22167         to generate a core file to where it will actually get executed.
22168         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
22169         new gdb result from g++ debug info improvements and make old
22170         pattern obsolescent.  Also account for size_t differences
22171         (may be int or long).
22172         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
22173         initialization before function call is placed in the delay slot
22174         and thus appears to be skipped over by commands such as "next".
22175
22176 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
22177
22178         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
22179
22180 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
22181
22182         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
22183         input source file; fix code to compile test to deal with this
22184         convention.
22185         * gdb.c++/*.exp: Likewise.
22186
22187 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
22188
22189         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
22190         "bt in signals.exp".
22191
22192 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
22193
22194         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
22195         "step over execarg initialization" and
22196         "step over corearg initialization".
22197
22198 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
22199
22200         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
22201         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
22202
22203 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
22204
22205         From Rob Savoye  (rob@poseidon.cygnus.com)
22206         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
22207         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
22208         configure.in}, gdb.disasm/{Makefile.in, configure.in},
22209         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
22210         configure.in}: Major reworking for autoconfig.
22211         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
22212         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
22213         New files.
22214         * config/unix-gdb.exp:  Make GDB global.
22215         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
22216         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
22217         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
22218         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
22219         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
22220         term.exp, twice.exp, watchpoint.exp, whatis.exp},
22221         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
22222         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
22223         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
22224         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
22225         pr-8136.exp, result.exp, string.exp, tuples.exp},
22226         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
22227         to returns as necessary, arrange for test to compile own testcase
22228         executable.
22229         * lib/gdb.exp: Changes for testsuite to compile own test cases.
22230
22231 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
22232
22233         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
22234         clear_xfail at end of test which might not call either pass or fail.
22235         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22236         "backtrace through signal handler".
22237
22238 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22239
22240         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
22241         continuing from a job control stop signal.
22242         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
22243
22244 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
22245
22246         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22247         * gdb.base/corefile.exp: Likewise.
22248         * gdb.base/funcargs.exp: Likewise.
22249
22250 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
22251
22252         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
22253         * config/monitor.exp:  Add support for setting baud rate.
22254
22255 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
22256
22257         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22258         i*86-*-linux* xfails for "backtrace through signal handler".
22259         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22260         "print func2::coremaker_local".
22261         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
22262         alpha-dec-osf2* xfail for
22263         "delete all breakpoints when none".
22264
22265 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
22266
22267         * gdb.base/break.exp: Change test that deletes all breakpoints
22268         when no user breakpoints are installed.  A post 4.15 change
22269         causes gdb to no longer prompt in this case.
22270
22271 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
22272
22273         * gdb.base/return.exp (return_tests):  Change xfail for test
22274         "correct value returned double test" to stop xfailing at
22275         Solaris 2.5.  Apparently the bug has been fixed.
22276
22277 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
22278
22279         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
22280         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
22281
22282 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
22283
22284         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
22285         * gdb.disasm/hppa.s: Corresponding changes.
22286
22287 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
22288
22289         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
22290         makefile fragment.
22291         * config/mt-hpux: Deleted.
22292
22293 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
22294
22295         * Many files: When warning about suppressed tests due to a
22296         nonexistant test binary, avoid incrementing the warning count.
22297
22298 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
22299
22300         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
22301
22302 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22303
22304         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
22305         "sparc-*-solaris2*".
22306
22307 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22308
22309         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
22310         Add global and local variables and initialize them.
22311         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
22312         by printing variables. Remove rs6000 and powerpc xfails, BFD now
22313         extracts the file name and terminating signal from the core file.
22314         * TODO:  Remove note about tests for correct mapping of corefile.
22315         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
22316         from optimizing it away.
22317         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
22318         handles common blocks.
22319
22320 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
22321
22322         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
22323         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
22324
22325 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
22326
22327         * Makefile.in (maintainer-clean): New target, synonym for
22328         realclean.
22329         * gdb.base/Makefile.in (maintainer-clean): Likewise.
22330         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
22331         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
22332         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
22333         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
22334         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
22335
22336 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
22337
22338         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
22339         xfails when not gcc compiled for "print foo::funclocal".
22340         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
22341         "print foo::funclocal at foo",
22342         "print 'scope1.c'::foo::funclocal at foo",
22343         "print foo::funclocal_bss at foo",
22344         "print 'scope1.c'::foo::funclocal_bss at foo",
22345         "print foo::funclocal_ro at foo",
22346         "print 'scope1.c'::foo::funclocal_ro at foo",
22347         "print bar::funclocal at foo" and
22348         "print 'scope1.c'::bar::funclocal at foo".
22349         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
22350         gcc compiled for "print foo::funclocal at bar".
22351         Expand all messages to ensure that they identify that
22352         the test is at bar().
22353         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
22354         gcc compiled for:
22355         "ptype on opaque struct pointer (statically)",
22356         "ptype on opaque struct tagname (statically)",
22357         "ptype on opaque struct pointer (dynamically) 1",
22358         "ptype on opaque struct tagname (dynamically) 1",
22359         "ptype on opaque struct pointer (dynamically) 2" and
22360         "ptype on opaque struct tagname (dynamically) 2
22361         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
22362         gcc compiled for:
22363         "p datalocal"
22364         "whatis datalocal",
22365         "ptype datalocal",
22366         "p bsslocal",
22367         "whatis bsslocal", and
22368         "ptype bsslocal".
22369         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
22370         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
22371         when not gcc compiled.
22372         * gdb.base/funcargs.exp (float_and_integral_args):  Add
22373         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
22374         compiled.
22375         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
22376         "backtrace from call6a" when not gcc compiled.
22377         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
22378         "backtrace from call7a" when not gcc compiled.
22379         * gdb.base/callfuncs.exp (do_function_calls):
22380         Add "hppa*-*-hpux*" xfail when not gcc compiled for
22381         "p t_char_array_values(char_array_val2,char_array_val1)",
22382         "p t_char_array_values(char_array_val1,char_array_val2)",
22383         "p t_char_array_values("carray 1","carray 2")",
22384         "p t_char_array_values("carray 1",char_array_val2)",
22385         "p t_char_array_values(char_array_val1,"carray 2")",
22386         "p sum_args(1,{2})",
22387         "p sum_args(2,{2,3})",
22388         "p sum_args(3,{2,3,4})",
22389         "p sum_args(4,{2,3,4,5})"
22390         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
22391         "backtrace in corefile.exp" when not gcc compiled.
22392
22393 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22394
22395         * gdb.base/signals.exp:  Rewrite `handle all print' test as
22396         a procedure. Accept blanks or TABs as whitespace, increase
22397         timeout and expect input buffer size for the large output
22398         from the command. Remove "i*86-*-bsdi2.0" xfail.
22399
22400 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22401
22402         * gdb.base/setvar.exp:  Add new testcases for truncation when
22403         assigning invalid values to bitfields.
22404
22405 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
22406
22407         * gdb.base/callfuncs.exp (do_function_calls):  Remove
22408         mips-sgi-irix* xfail for
22409         "call inferior func with struct - returns char *"
22410         and fix test so that an optional (unsigned char *) cast is
22411         accepted in the result.
22412
22413 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
22414
22415         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
22416         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22417         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
22418         * gdb.base/signals.exp: Remove duplicate "handle all print" test
22419         that accidentally got checked in.
22420
22421 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
22422
22423         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
22424         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
22425         compiled test.
22426         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
22427         Add mips-sgi-irix5* xfail for not gcc compiled.
22428         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
22429         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
22430         "p top", "whatis top", "p middle", and "whatis middle".
22431         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
22432         "whatis signed char" for not gcc compiled.
22433         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
22434         "set variable signed char=-1 (-1)" and
22435         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
22436         * gdb.base/funcargs.exp (float_and_integral_args):
22437         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
22438         Add mips-sgi-irix* xfail when not gcc compiled for
22439         "continue to call2b".
22440         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
22441         "continue to call2g".
22442         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
22443         "backtrace from call6a"
22444         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
22445         "backtrace from call7k".
22446         Add mips-sgi-irix5* xfail when not gcc compiled for
22447         "backtrace from call7a".
22448         (localvars_after_alloca):  Fix gdb_test cmds for
22449         "print * after runto ...".
22450         Remove rs6000-*-* xfails for
22451         "print i after runto localvars_after_alloca" and
22452         "print l after runto localvars_after_alloca"
22453         for all compilers.
22454         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
22455         when not compiled with gcc, for:
22456         "print signed char == (minus)",
22457         "print signed char != (minus)",
22458         "print signed char < (minus)",
22459         "print signed char > (minus)".
22460         * gdb.base/callfuncs.exp (do_function_calls):
22461         Add mips-sgi-irix* xfail, when compiled with native compiler, for
22462         "call inferior func with struct - returns char *".
22463         * gdb.base/return.exp (return_tests): Change xfail for
22464         "correct value returned double test" to include Solaris 2.4.
22465         * gdb.base/funcargs.exp (float_and_integral_args):
22466         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22467
22468 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22469
22470         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
22471         enumeration bitfields if compiling with GNU C.
22472         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
22473         to empty' prompt.
22474
22475 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
22476
22477         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
22478         test for PRO targets.
22479
22480         * gdb.base/funcargs.exp: Avoid ever setting more than 8
22481         breakpoints in the inferior at any given time by making
22482         two groups of breakpoints for call2*, call6* and call7*
22483         tests.
22484
22485 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22486
22487         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
22488         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
22489         from optimizing it away.
22490         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
22491         "call inferior func with struct".
22492
22493 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
22494
22495         * configure.in: Only configure gdb.chill for particular targets.
22496
22497 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
22498
22499         * gdb.base/Makefile.in:  Add action to .c.o transformation
22500         rule that generates a .ci file for each .o file and remove
22501         explicit .c.o rules except for callfuncs.o.
22502         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
22503         generates a .ci file for each .o file and remove explicit
22504         .cc.o rules.
22505         (clean): Remove *.tmp *.ci files.
22506         (EXECUTABLES): Remove templ-info.exp.
22507         * gdb.base/compiler.c: New file.
22508         * gdb.c++/compiler.cc: New file
22509         * gdb.base/scope.exp: Source gdb.base/scope.ci.
22510         Change rs6000-*-* xfail for
22511         "print 'scope0.c'::filelocal_ro" and
22512         "print 'scope1.c'::filelocal" and
22513         "print 'scope1.c'::filelocal_bss" and
22514         "print 'scope1.c'::filelocal_ro" and
22515         "print 'scope1.c'::foo::funclocal" and
22516         "print 'scope1.c'::foo::funclocal_ro" and
22517         "print 'scope1.c'::bar::funclocal" and
22518         "print 'scope0.c'::filelocal_ro" and
22519         "print 'scope1.c'::filelocal at foo" and
22520         "print 'scope1.c'::filelocal_bss at foo" and
22521         "print 'scope1.c'::filelocal_ro at foo" and
22522         "print 'scope1.c'::foo::funclocal at foo" and
22523         "print 'scope1.c'::foo::funclocal_bss at foo" and
22524         "print 'scope1.c'::foo::funclocal_ro at foo" and
22525         "print 'scope1.c'::bar::funclocal at foo" and
22526         "print 'scope0.c'::filelocal_ro" and
22527         "print 'scope1.c'::filelocal" and
22528         "print 'scope1.c'::filelocal_bss" and
22529         "print 'scope1.c'::filelocal_ro" and
22530         "print 'scope1.c'::foo::funclocal" and
22531         "print 'scope1.c'::foo::funclocal_bss" and
22532         "print 'scope1.c'::foo::funclocal_ro" and
22533         "print 'scope1.c'::bar::funclocal" and
22534         "print 'scope1.c'::bar::funclocal_bss"
22535         to only be xfail'd when not compiled with gcc.
22536         Add rs6000-*-* xfail for
22537         "print 'scope0.c'::filelocal_bss before run"
22538         when compiled with gcc.
22539         (test_at_main): Add rs6000-*-* xfail for
22540         "print filelocal_ro in test_at_main"
22541         when compiled with gcc.
22542         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
22543         Add rs6000-*-aix* xfail for
22544         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
22545         "ptype t_char_array",  not compiled with gcc.
22546         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
22547         xfail for "list foo (in include file)" when gcc compiled.
22548         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
22549         (integral_args): Add rs6000-*-* xfail for
22550         "run to call0a" if not compiled with gcc.
22551         (unsigned_integral_args): Add rs6000-*-* xfail for
22552         "run to call1a" if not compiled with gcc.
22553         (float_and_integral_args):  Add rs6000-*-* xfail for
22554         "run to call2a" if not compiled with gcc and for
22555         "continue to call2b" for any compiler.
22556         Add rs6000-*-* xfail to
22557         "print f1 after run to call2a" for gcc compiled.
22558         (discard_and_shuffle): Add rs6000-*-* xfail for
22559         "run to call6a".
22560         (shuffle_round_robin): Add rs6000-*-* xfail for
22561         "backtrace from call7a" if not compiled with gcc.
22562         Add rs6000-*-* xfail for
22563         "backtrace from call7b" if compiled with gcc.
22564         (call_after_alloca): Add rs6000-*-* xfail for
22565         "print c in call_after_alloca" and
22566         "print s in call_after_alloca" and
22567         "backtrace from call_after_alloca_subr"
22568         if not compiled with gcc.
22569         (localvars_in_indirect_call): Add rs6000-*-* xfail for
22570         "print c in localvars_in_indirect_call" and
22571         "print c in localvars_in_indirect_call" and
22572         "backtrace in indirectly called function" and
22573         "stepping into indirectly called function"
22574         if not compiled with gcc.
22575         (localvars_after_alloca): Add rs6000-*-* xfail for
22576         "print c after runto localvars_after_alloca" and
22577         "print s after runto localvars_after_alloca" and
22578         "print i after runto localvars_after_alloca" and
22579         "print l after runto localvars_after_alloca"
22580         for all compilers.
22581         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
22582         than whatis-info.exp.
22583         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
22584         than opaque-info.exp.
22585         Setup rs6000-*-* xfail for
22586         "ptype on opaque struct pointer (statically)" and
22587         "ptype on opaque struct pointer (dynamically)" when
22588         not compiled with gcc.
22589         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
22590         rather than callf-info.exp.
22591         (do_function_calls):  Add clear_xfail for rs6000-*-* for
22592         "p t_float_values2(3.14159,float_val2)".  Seems to work
22593         fine there, both with xlc and gcc.  Need to find out what
22594         it is doing right and fix other platforms.
22595         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
22596         "call inferior func with struct - returns int",
22597         "call inferior func with struct - returns long",
22598         "call inferior func with struct - returns float",
22599         "call inferior func with struct - returns double",
22600         "call inferior func with struct - returns char *",
22601         but only if not gcc compiled (presumes xlc compiled).
22602         Change rs6000-*-* xfails for
22603         "call inferior func with struct - returns char" and
22604         " call inferior func with struct -  returns short" to only
22605         xfail if not using gcc.
22606         (clean mostlyclean):  Remove *.ci and *.tmp files.
22607         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
22608         than templ-info.exp.
22609         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
22610         Add rs6000-*-* xfail for "up to foo in langs.exp"
22611         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
22612         when not gcc compiled.
22613
22614 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
22615
22616         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
22617         * gdb.base/corefile.exp: Likewise.
22618         * gdb.base/list.exp: Likewise.
22619         * gdb.base/scope.exp: Likewise.
22620         * gdb.base/siganls.exp: Likewise.
22621
22622         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
22623         compiler output.
22624         * gdb.base/whatis.exp: Likewise.
22625
22626 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
22627
22628         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
22629         failure (opcode table has been fixed to match reality).
22630
22631 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
22632
22633         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
22634         "call inferior func with struct - returns char",
22635         "call inferior func with struct - returns short"
22636
22637         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
22638         "print 'scope0.c'::filelocal at main",
22639         "print 'scope0.c'::filelocal_bss in test_at_main",
22640         "print 'scope0.c'::filelocal at foo",
22641         "print 'scope0.c'::filelocal_bss in test_at_foo",
22642         "print 'scope0.c'::filelocal at bar",
22643         "print 'scope0.c'::filelocal_bss in test_at_bar"
22644
22645         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
22646         in source file 1".  This bug seems to have been fixed with both
22647         gcc and native cc (was native assembler bug?).
22648
22649 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
22650
22651         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
22652         "backtrace through signal handler" to "i*86-*-sysv4*".
22653         * gdb.base/signals.exp: Add xfail for "'next' behaved as
22654         continue" case.  Add "known SVR4 bug" to fail message.
22655         Add "i*86-*-bsdi2.0" xfail for "handle all print".
22656         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
22657         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
22658         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
22659         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
22660         "up to foo in langs.exp", "show language at foo in
22661         langs.exp", "up to cppsub_ in langs.exp", "show
22662         language at cppsub_ in langs.exp", "up to fsub in
22663         langs.exp", and "show language at fsub in langs.exp".
22664         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
22665         "bactrace in corefile.exp".
22666         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
22667         "call inferior function with struct - returns float" and
22668         "call inferior function with struct - returns double".
22669
22670 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
22671
22672         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
22673         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
22674         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
22675         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
22676
22677 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
22678
22679         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
22680         (or overriden) "CHILL" macro rather then bare "gcc".
22681         Also look for ../../gcc/xgcc since that is what we will
22682         actually need, not "Makefile".  Remove following assignment
22683         of CHILL to CHILL_FOR_TARGET because that results in
22684         recursive definition.
22685
22686 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
22687
22688         * gdb.base/corefile.exp:  Change xfail for backtrace in
22689         corefile.exp from linuxaout to all linux.
22690         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
22691         cases where we miss the breakpoint at the signal handler
22692         for some reason.  Setup xfail for linuxoldld/linuxaout and
22693         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
22694         hitting SIGURG breakpoint.
22695         * gdb.base/signals.exp:  Setup xfail for "next" acting like
22696         continue to add linuxoldld.  Setup xfail for all linux for
22697         "next to handler in signals_tests_1", "backtrace in
22698         signals_tests_1", "continue to func1", "pass SIGUSR1",
22699         and continue to handler".
22700
22701 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
22702
22703         * Update all FSF addresses except those in COPYING* files.
22704
22705 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
22706
22707         * gdb.base/a2-run.exp: Change messages to be more explicit about
22708         the status of args, and quote binfile in results.
22709
22710 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
22711
22712         * gdb.base/callfuncs.exp: Add tests for passing structs to
22713         inferior functions and return various types.
22714         * gdb.base/callfuncs.c: Add functions to receive a struct
22715         and return a member of the struct, in various types.
22716
22717 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22718
22719         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
22720
22721 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
22722
22723         * config/vxworks29k.exp: New file, sources vxworks.exp.
22724
22725 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
22726
22727         * config/gdbremote.exp: New file.  Testing framework using
22728         gdbserver.
22729
22730 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
22731
22732         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
22733         "call function when asleep" and "send end of file".
22734         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
22735         for "backtrace in corefile.exp".
22736         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
22737         for "backtrace through signal handler".
22738         * gdb.base/corefile.exp: Make sure we actually generate a core file
22739         before trying the core tests.  Some systems allow the user to suppress
22740         generation of core files and default to that (linux for example).
22741         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
22742         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
22743
22744 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
22745
22746         * gdb.threads: New directory with some crude multi-threaded
22747         gdb tests (step.exp and step2.exp).
22748         * config/mt-lynx (STEP_EXECUTABLE): Define.
22749         (THREADFLAGS): Define.
22750
22751 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
22752
22753         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
22754
22755         * gdb.base/signals.exp: Disable whole file for lynx until
22756         further notice.
22757
22758         * gdb.base/signals.exp: xfail test where "next" acts like
22759         "continue" for lynx.
22760
22761         * gdb.base/interrupt.exp: xfail test for calling function while
22762         inferior is asleep for lynx.
22763
22764         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
22765         than one cr-lf  after each command.
22766
22767 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22768
22769         * configure.in:  Reinstate setting of stabsdirs variable, fix
22770         typo in setting up configdirs for native builds.
22771
22772         * gdb.base/return.exp:  Fix typo in return double test.
22773         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
22774         compiler from optimizing them away.
22775
22776 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
22777
22778         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
22779         sequences to be echo'd by gdb when using gdb_test.
22780         * gdb.chill/chexp.exp: Likewise.
22781         * gdb.fortran/exprs.exp: Likewise
22782
22783 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
22784
22785         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
22786         after the inferior gdb has started.
22787
22788         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
22789         after each command.
22790         * gdb.base/funcargs.exp: Likewise.
22791         * gdb.base/gdbvars.exp: Likewise.
22792         * gdb.base/interrupt.exp: Likewise.
22793         * gdb.base/list.exp: Likewise.
22794         * gdb.base/watchpoint.exp: Likewise.
22795         * gdb.c++/demangle.exp: Likewise.
22796         * gdb.c++/inherit.exp: Likewise.
22797         * gdb.chill/chexp.exp: Likewise.
22798         * gdb.fortran/exprs.exp: Likewise.
22799
22800         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
22801         test if we can't handle IO to/from the inferior.
22802
22803         * gdb.c++/misc.exp: Always check for a program already being
22804         started after sending a "run" command to gdb.
22805
22806         * gdb.base/twice.exp: Start with a fresh gdb.
22807
22808         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
22809         only depend on gdb's expression code, not the chill runtime.
22810
22811         * gdb.base/return.c: Put return values into variables so we
22812         can have gdb print them rather than depending on the program
22813         to print them.
22814         * gdb.base/return.exp: Corresponding changes.
22815
22816         * lib/gdb.exp: Provide default value for noinferiorio.
22817         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
22818         the inferior.
22819
22820         * gdb.base/break.exp: Always check for a program already being
22821         started after sending a "run" command to gdb.
22822         (text_next_with_recursion): Don't check the output from the
22823         program's printf statement.  Instead just make sure the program
22824         exited.
22825
22826         * gdb.base/commands.exp: Protect tests which need arguments with
22827         $noargs conditionals.
22828
22829 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22830
22831         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
22832         of structure member arrays to match gdb/valops.c:value_addr change.
22833
22834 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
22835
22836         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
22837         cases.
22838
22839 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
22840
22841         * configure.in (configdirs):  Remove gdb.chill from default list
22842         of subdirs and then add it back in only if doing a native build.
22843         The current chill compiler does not yet work in any cross build.
22844         * Revert all signal changes from Jul 6.
22845         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
22846         for sh-hms targets, allowing these tests to link, with no other
22847         changes.  Testing is suppressed by setting "nosignals" in site.exp.
22848
22849 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
22850
22851         * configure.in (signaldirs): Define and add to configdirs for all
22852         targets except some specific ones that are known to not support signals.
22853         Also clean up formatting.
22854         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
22855         (signals, sigall):  Remove rules to build.
22856         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
22857         Moved to new gdb.signals directory.
22858         * gdb.signals: New test directory.
22859         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
22860         signals.c signals.exp}:  New or moved files.
22861
22862 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
22863
22864         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
22865
22866 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
22867
22868         * gdb.base/return.exp:  Xfail `return double' test failure
22869         on at least Solaris 2.3 and handle future/past versions on
22870         a case by case basis as appropriate.  Also update message
22871         to include i*86 failures.
22872
22873 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
22874
22875         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
22876
22877         * lib/gdb.exp: Fix comment which erroneously identified
22878         gdb_file_cmd as gdb_load (the 19 May change was in fact to
22879         gdb_file_cmd not gdb_load).
22880         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
22881
22882         * gdb.base/setvar.exp: Make test names consistent between pass and
22883         fail cases.  Use gdb_test more.
22884
22885 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
22886
22887         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
22888
22889 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22890
22891         * gdb.base/help.exp:  Fix expected help string for `show commands'.
22892
22893 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
22894
22895         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
22896
22897         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
22898         of a text section.
22899
22900 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
22901
22902         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
22903         that loop eventually terminates.  Fix Connection refused logic so
22904         that testsuite will expire nicely.
22905
22906 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
22907
22908         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
22909         config/rom68k.exp:  New tcl glue for the appropriate monitors.
22910         These all just end up calling monitor.exp.
22911         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
22912         refused' by retrying.  Cleanup some timeout issues.
22913         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
22914         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
22915         callers don't have to set/restore global timeout variable.
22916
22917         * The following set of changes centralizes management of the global
22918         timeout variable.  This way, it can be set in one target dependent
22919         place instead of dozens of places scattered throughout the test suite.
22920         If you need to lengthen a timeout, then you should either set timeout
22921         in one of the config/{target}.exp files, or multiply it by a factor.
22922         Setting it to an absolute value is always going to lose for some
22923         targets.
22924         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
22925         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
22926         * gdb.base/funcargs.exp:  Don't set timeout.
22927         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
22928         * gdb.base/printcmds.exp (test_print_string_constants
22929         test_print_array_constants):  Don't set timeout.
22930         * gdb.base/ptype.exp:  Don't set timeout.
22931         * gdb.base/recurse.exp:  Don't set timeout.
22932         * gdb.base/return.exp:  Don't set timeout.
22933         * gdb.base/watchpoint.exp:  Don't set timeout.
22934         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
22935         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
22936
22937 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
22938
22939         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
22940
22941 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
22942
22943         * lib/gdb.exp: Disable chill tests for irix5.
22944
22945 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
22946
22947         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
22948         each test pass or fail.
22949
22950 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
22951
22952         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
22953         xlc not gcc.
22954
22955 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
22956
22957         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
22958
22959 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
22960
22961         * config/est.exp:  Fix copyright and comments.  Remove dead code.
22962         Use targetname, serialport and baud variables instead of fixed
22963         constants.
22964         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
22965         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
22966
22967 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
22968
22969         * gdb.base/watchpoint.exp: Don't run
22970         test_watchpoint_triggered_in_syscall for sunos.
22971
22972 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
22973
22974         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
22975         they don't seem to exist.  Do include stdio.h.
22976
22977 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
22978
22979         * gdb.base/a1-selftest.exp: Add alpha xfail.
22980
22981 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
22982
22983         * gdb.base/watchpoint.c (main): Prompt before calling read().
22984         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22985         Revise accordingly.  Remove cruft about sending "123" several
22986         times, until it gets noticed.  Clean up the "print buf[0]" stuff
22987         so that it passes or fails, and waits for prompts in the usual way.
22988
22989 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
22990
22991         * gdb.base/recurse.exp: Fix comment.
22992
22993         * TODO: Remove item about printing variables in nodebug.exp.  Add
22994         item about enabling tests which are only run on some targets.
22995
22996         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
22997         fail, make test names unique, use new gdb_test convention
22998         regarding pattern, use gdb_test more, etc.).
22999
23000         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23001         fail, make test names unique, etc.).
23002
23003 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23004
23005         * gdb.base/nodebug.c:  Change return type of top and middle to
23006         short.
23007         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
23008         are fixed by the recent mdebugread.c changes. Allow `short ()'
23009         as type for top and middle.
23010
23011 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23012
23013         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
23014         nearly as I can tell, the whole thing was an accident in Stu's
23015         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
23016         to replace a send/expect pair with gdb_test, but ended up only
23017         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
23018         of 30 Mar 1995 took care of it, but left this vestigial comment
23019         which I am now nuking.
23020
23021 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23022
23023         * gdb.base/break.exp: Look for different line number for
23024         breakpoint at main depending on usestubs.
23025
23026 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23027
23028         * gdb.base/list.exp:  Adjust some alternate expect patterns to
23029         match recent list0.c change. Add alternate expect pattern for
23030         output from `list default lines around main' for optimizing
23031         compilers.
23032
23033 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23034
23035         * lib/gdb.exp: If nosignals is not set, set it to 0.
23036
23037 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
23038
23039         * config/slite-gdb.exp: Responds to load symbol table prompt.
23040         * gdb.base/break.exp: Adjust line number, fix rerun.
23041         * gdb.base/langs0.c: Add #ifdef usestubs.
23042
23043 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
23044
23045         * gdb.base/list.exp: Adjust line contents after adding new lines in
23046         list0.c. Also fix a syntax error.
23047
23048         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
23049         * gdb.base/break.exp: ditto.
23050         * gdb.base/list.exp: ditto.
23051         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
23052         * gdb.base/run.c: ditto.
23053         * gdb.base/list0.c: ditto.
23054         * gdb.base/funcargs.c: ditto.
23055
23056 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
23057
23058         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
23059         $targetname, $serialport and $baud instead of hardwired variables.
23060         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
23061         target doesn't support signals.
23062
23063 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
23064
23065         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
23066
23067 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23068
23069         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
23070         Don't rely on the value of an auto variable before it has been
23071         initialized.  Use gdb_test more.
23072
23073 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23074
23075         * lib/gdb.exp (default_gdb_version): A version number must start
23076         with a digit, but other than that contains all characters up to
23077         the first whitespace character.
23078
23079 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23080
23081         * gdb.base/commands.exp (breakpoint_command_test): New tests.
23082
23083 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23084
23085         * gdb.c++/*.exp: Warn if executable does not exist.  The original
23086         reason for skipping the warning was that configure.in sometimes
23087         intentionally skipped building the executables but the tcl code
23088         had no way of knowing.  That (a) was always bogus with respect to
23089         error handling, (b) is no longer true (right now there is no way
23090         to skip C++ tests).
23091
23092         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
23093
23094 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23095
23096         * gdb.base/list.exp:  Add expect patterns for output from
23097         SunPRO compiled executables.
23098         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
23099         types.
23100
23101 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23102
23103         * gdb.base/break.exp (test_next_with_recursion): Accept any line
23104         number (we are already testing that the correct source line text
23105         gets printed).
23106
23107         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
23108         that is what is intended, but something needed to be done to get
23109         sunos4 native working again.
23110
23111         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
23112
23113         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
23114         apparently went with a (very) old xfail.
23115
23116 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
23117
23118         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
23119         runto_main is a proc in gdb.exp that will do 'step' for target use
23120         stubs.
23121         * gdb.base/exprs.exp: ditto.
23122         * gdb.base/interrupt.exp: ditto.
23123         * gdb.base/opaque.exp: ditto.
23124         * gdb.base/printcmds.exp: ditto.
23125         * gdb.base/ptype.exp: ditto.
23126         * gdb.base/scope.exp: ditto.
23127         * gdb.base/setvar.exp: ditto.
23128         * gdb.base/signals.exp: ditto.
23129         * gdb.base/twice.exp: ditto.
23130         * gdb.c++/classes.exp: ditto.
23131         * gdb.c++/inherit.exp: ditto.
23132         * gdb.c++/templates.exp: ditto.
23133         * gdb.base/break.exp: no run and hit main for stubs. Change line
23134         numbers for breakpoints and info breakpoint.
23135         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
23136         breakpoint().
23137         * gdb.base/callfuncs.c: ditto.
23138         * gdb.base/exprs: ditto.
23139         * gdb.base/interrupt.c: ditto.
23140         * gdb.base/opaque0.c: ditto.
23141         * gdb.base/printcmds.c: ditto.
23142         * gdb.base/ptype.c: ditto.
23143         * gdb.base/scope0.c: ditto.
23144         * gdb.base/setvar.c: ditto.
23145         * gdb.base/signals.c: ditto.
23146         * gdb.base/twice.c: ditto.
23147         * gdb.c++/misc.cc: ditto.
23148         * gdb.c++/templates.cc: ditto.
23149
23150 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23151
23152         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
23153
23154         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
23155         somewhere between `read' and `main.c'.  I'm pretty sure the
23156         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
23157         and it isn't particularly useful.
23158
23159         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
23160
23161 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23162
23163         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
23164
23165 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
23166
23167         * config/mt-slite: add LIBS and -nostdlib.
23168         * config/slite-gdb.exp: add this new file to support sparclite target.
23169
23170 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
23171
23172         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
23173
23174         * gdb.base/a2-run.exp: Change argument to istarget from
23175         "*-*-vxworks" to "*-*-vxworks*".
23176         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
23177
23178 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
23179
23180         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
23181         will not runto main but do a 'step' to step out of breakpoint().
23182         * config/mt-slite: add -Dusestubs.
23183
23184 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23185
23186         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
23187         instead of just @.
23188
23189         * gdb.base/signals.exp: Add test for "handle all print".
23190         * TODO: Remove "handle all print".  Also remove item about
23191         checking copyright date (I don't like the idea of a spurious FAIL
23192         based on when we run the tests).
23193
23194         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
23195         for SunOS4 (reason for failure not investigated).  Remove
23196         redundant test for $binfile.
23197
23198         * gdb.base/nodebug.c (array_index): Call malloc.
23199
23200         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
23201
23202 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
23203
23204         * gdb.base/recurse.exp: Update gdb_test invocation to use new
23205         conventions and slightly simplify the matching regexp.
23206
23207 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23208
23209         * gdb.base/break.exp: Update gdb_test invocation to use new
23210         convention.
23211
23212         * lib/gdb.exp: If noargs is not set, set it to 0.
23213
23214         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
23215         tests unique.
23216
23217         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
23218
23219 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23220
23221         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
23222         one argument of type "<non-float parameter>".
23223
23224 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
23225
23226         * config/rom68k.exp:  New file to support Motorola IDP board.
23227         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
23228         * gdb.base/break.c:  Change things around so that this program
23229         doesn't depend upon args.  This is necessary to make remote
23230         targets work (in general, they can't take args).
23231         * gdb.base/break.exp:  Don't try to send args to program.  Don't
23232         expect output.  Also, replace lots of code with gdb_test.
23233
23234 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23235
23236         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23237         printing of '\'' (which is what the comment says we are testing,
23238         even though we were not), not '''.
23239         (test_integer_literals_rejected): Test that printing ''' is an error.
23240
23241         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23242         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23243         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23244         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23245         Use gdb_test not test_print_accept.
23246         * lib/gdb.exp: Remove test_print_accept.
23247
23248         * gdb.base/signals.exp (signal_tests_1): Make pass message
23249         consistent with fail message.
23250
23251         * gdb.base/whatis.exp: Remove xfails for printing char vs.
23252         unsigned char; the bug (PR 1821) is fixed.
23253
23254         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23255
23256         * gdb.base/scope.exp (test_at_localscopes): Call pass for
23257         successful tests--makes xfailing them work right.
23258
23259 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23260
23261         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23262         only \r\n, not .*.  The test can pass .* as the last thing in
23263         $pattern if that is what it wants.  In addition to providing this
23264         flexibility, this change should speed up pattern matching in cases
23265         where the pattern already ended with .* (there were a number of
23266         them).  This change also helps catch bad patterns--in the old
23267         scheme the typo "char \*" instead of "char \\*" would pass.  Now
23268         it is caught.
23269         * Many .exp files: Update callers.
23270
23271         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
23272         clearer and does not spuriously match multiple ('s.  Likewise for
23273         ) and *.
23274
23275         * gdb.base/nodebug.exp: Test ability to call a function and pass
23276         it a string (even with no debugging info).
23277
23278         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
23279         "p '\'", which is the same as "p ''" once tcl gets done with
23280         quoting, to "p '\\'", which I suspect is what is intended (one
23281         backslash gets sent to GDB).
23282
23283         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
23284
23285 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23286
23287         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
23288         1817) was fixed literally years ago.
23289
23290 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23291
23292         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
23293         test, it causes stepping out of call_after_alloca_subr with
23294         optimizing compilers.
23295         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
23296         fails.
23297
23298         * gdb.c++/templates.exp:  Source templ-info.exp only if
23299         the templates executable exists.
23300
23301         * gdb.c++/misc.cc (class Contains_static_instance,
23302         class Contains_nested_static_instance),
23303         gdb.c++/classes.exp (test_static_members):  Test printing of
23304         a class that contains a static instance of the class.
23305
23306 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23307
23308         * gdb.base/langs2.c (cppsub_): Don't prototype.
23309         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
23310         only, I believe).
23311
23312 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23313
23314         * lib/gdb.exp (skip_chill_tests): New procedure.
23315
23316         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
23317
23318 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
23319
23320         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
23321         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
23322
23323 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23324
23325         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
23326
23327         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
23328         disassemble 8, not 16, instructions for part 4.
23329
23330         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
23331         support the latter anymore.
23332
23333         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
23334         -DNO_PROTOTYPES.
23335         * gdb.base/callfuncs.c: Control use of prototypes based on
23336         NO_PROTOTYPES, not __STDC__.
23337         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
23338         t_float_values2 tests if prototypes in use.
23339
23340         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
23341         t_double_values):  When checking differences against DELTA, check
23342         that difference is within the range (-DELTA,DELTA), not just
23343         (-infinity,DELTA).
23344
23345 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
23346
23347         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
23348         'file' command firts, then 'target', then 'load', this is due to gdb
23349         target set up.
23350         * config/mips-gdb.exp: Fix a couple regular exp bugs.
23351
23352 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
23353
23354         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
23355         FP load/store variants.
23356         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
23357
23358 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
23359
23360         * gdb.base/term.exp: Do not give a warning if not native, it is
23361         not an abnormal condition.
23362
23363 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
23364
23365         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
23366         t_char_array".
23367
23368 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
23369
23370         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
23371         are getting the version number.
23372
23373         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
23374         if not native, it is not an abnormal condition.
23375
23376 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23377
23378         * lib/gdb.exp: Just use "file exists", rather than undocumented
23379         dejagnu procedure "findfile".
23380
23381 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
23382
23383         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
23384           (LDFLAGS): Set to -Xlinker -Ur.
23385
23386         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
23387           Removed, these values are set by lib/gdb.exp.
23388
23389         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
23390
23391 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
23392
23393         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
23394           of replicating gdb startup code.
23395
23396         * config/mt-vxworks (LDFLAGS): Set to -r.
23397           (CFLAGS_FOR_TARGET): Removed.
23398
23399         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
23400           (gdb) and gdb for vxworks uses (vxgdb).
23401
23402         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
23403           executable is not in the tree and host != target, use sed and
23404           program_transform_name to determine the gdb name used by the
23405           target.
23406
23407         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
23408           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
23409
23410 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23411
23412         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
23413         floats, chars, and shorts where there are ANSI-style function
23414         definitions.
23415
23416         * gdb.base/langs.exp, gdb.base/langs*: New test.
23417         * gdb.base/Makefile.in: Build it.
23418         * TODO: Remove item about checking that C names don't get C++
23419         demangling applied; this test tests it.
23420
23421 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23422
23423         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
23424         went with the const70 xfail.  The xfail went away a year ago.
23425
23426         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
23427
23428         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
23429         for hp300.
23430
23431         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
23432
23433         * gdb.base/a1-selftest.exp: Don't run on hp300.
23434
23435 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23436
23437         * Makefile.in (site.exp): Set host_alias and target_alias as well
23438         as host_triplet and target_triplet.
23439
23440 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23441
23442         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
23443
23444         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
23445         places as other ecoff systems).
23446
23447         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
23448         ultrix.
23449
23450 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23451
23452         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
23453         remove them.
23454         * gdb.base/nodebug.exp: Accept "function" in addition to "text
23455         variable and "variable" in addition to "data variable".
23456         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
23457
23458         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
23459         2.
23460         * gdb.base/list1.c (long_line): Add additional statement at start
23461         of function.
23462         * gdb.base/list.exp (test_forward_search): Update line number to
23463         reflect new statement.
23464
23465 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23466
23467         * gdb.base/signals.exp:  Reinitialize searched source directories
23468         after gdb_start call.
23469
23470 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
23471
23472         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
23473         * gdb.stabs/Makefile.in: Likewise.
23474
23475         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
23476         change.  Instead split the tests into smaller pieces.
23477         * gdb.disasm/hppa.s: Corresponding changes.
23478
23479 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23480
23481         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23482         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
23483
23484         * gdb.base/funcargs.exp: Modify many tests so that every test
23485         either passes or fails.  Make some test names unique.
23486
23487 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23488
23489         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23490         Call stty to set interrupt character.
23491
23492         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
23493         for HP assembler versus GNU assembler based on actual behavior of
23494         $(CC), rather than assuming that $(AS) is always the GNU assembler.
23495
23496         * TODO: Suggest a few more stepping tests.
23497
23498 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
23499
23500         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
23501         restart GDB for h8300 after a continue.
23502         (return): Add pattern to match a29k-udi behavior.
23503         * gdb.base/nodebug.exp: Remove obsolete comment.
23504         * gdb.base/regs.exp: New file, testing of register displays.
23505         * gdb.base/return.exp: Fix typo in reference to $objdir.
23506         * gdb.base/whatis.exp: Always start with a fresh GDB.
23507
23508 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23509
23510         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
23511         higher, these tests generate a lot of output.
23512
23513 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23514
23515         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
23516         code following the catch silently ignored some errors; without the
23517         catch they should be thrown like any other tcl error.  Also, the
23518         catch used "" instead of {} which meant all the callers who wanted
23519         to include one of the characters "[]$ had to quote it an extra time.
23520         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
23521         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
23522         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
23523         Remove extra quoting.
23524
23525 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
23526
23527         * gdb.base/commands.exp: Make test names unique; every test either
23528         passes or fails.  Update some comments.
23529
23530         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
23531
23532 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23533
23534         The following fixes a FAIL caused by the fact that the alpha stabs
23535         configuration didn't use the ".if alpha" code in weird.def.
23536         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
23537         bit pointer, so the 32 bit version works even on the alpha.
23538         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
23539         Remove the stuff which allowed us to have separate versions for
23540         alpha and everything else.
23541
23542         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
23543         regexp which "info func operator\[\](" is supposed to match.  Fix
23544         string to send to GDB.  Note that GDB still doesn't work right.  Add a
23545         new test for "info func .perator\[\](" which GDB does handle correctly.
23546
23547         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
23548
23549 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23550
23551         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
23552         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
23553         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
23554         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
23555         it makes the tests harder to understand and confuses test-o-matic.
23556         The preferred style is that each test provides a PASS or a FAIL,
23557         and has a unique message (e.g. "continue #54" not just "continue")
23558         which is the same for the pass and the fail.
23559         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23560         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
23561         to lib/gdb.exp.
23562         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
23563         prt_accept which was basically the same thing.  Likewise for
23564         test_print_reject and prt_reject.
23565         * lib/gdb.exp (test_print_reject): Add some more error message
23566         patterns to match from the former printcmds.exp (prt_reject).
23567         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
23568         One defect of the passcount stuff is that some of it failed to
23569         report XPASS where appropriate.
23570         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
23571         stuff before and after arg in expected pattern.
23572         (test_paddr_operator_functions): Re-do test without print_addr_of;
23573         this is the only test which seems to want extra stuff there.
23574
23575 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23576
23577         * gdb.base/nodebug.exp: Update new tests to reflect improved
23578         wording of gdb output.
23579
23580         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
23581         and "ptype" work on variables in files compiled without -g.
23582         Replaces commented out "maint print msymbol" tests.
23583
23584 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23585
23586         * gdb.base/setvar.c (dummy): Call malloc.
23587
23588         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
23589         losing with the irix4 sed.
23590
23591         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
23592         ALRM" on irix4.
23593
23594 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23595
23596         * TODO: Remove items about corefile.exp testing new exec-file and
23597         backtrace; both are now done.  Add items about printing enums.
23598
23599 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23600
23601         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
23602         "get signal $thissig" test fails.
23603
23604         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
23605
23606 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23607
23608         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
23609         compiler warning with dec alpha compiler.
23610
23611         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
23612         extra \n from gdb_test call (this explains why the prompt test
23613         that I removed yesterday was there).
23614         (user_defined_command_test): Remove extra \n and prompt test.
23615
23616         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
23617         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
23618         doesn't exist.
23619         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
23620         Also remove alpha workaround, which turns out to be because
23621         SIGABRT == SIGLOST.
23622
23623         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
23624
23625         * gdb.base/help.exp: Don't test "help show".
23626
23627 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23628
23629         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
23630         "set print address" is on.
23631         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
23632         pass prompt to gdb_test; gdb_test already looks for the prompt.
23633
23634         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
23635
23636         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
23637         was a vestige of the manual TESTSTRATEGY, and the purpose of it
23638         was to make sure that gdb can read a core file.  But (a) the "read
23639         the corefile" part didn't make it to a1-selftest.exp, we just
23640         delete the corefile after creating it, and (b) we test reading
23641         corefiles in corefile.exp anyway.  Also, this test left around a
23642         xgdb process on Solaris.
23643
23644         * gdb.base/corefile.exp: Also test backtrace.
23645
23646 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
23647
23648         * gdb.base/commands.exp: Test a simple user defined command with
23649         arguments and if/while statements; verify the full user command is
23650         printed by "show user".
23651
23652         * gdb.base/commands.exp: Test if/while commands as part of a
23653         breakpoint command list; verify they appear in breakpoint
23654         information.
23655
23656 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23657
23658         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
23659         than by dividing by zero.
23660
23661 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
23662
23663         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
23664         performing an inferior call with watchpoints enabled.
23665         * gdb.base/watchpoint.c (main): Delete second unnecessary read
23666         call.
23667
23668 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23669
23670         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
23671         of "file" command.
23672
23673         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
23674         Add additional pattern for when "int operator int(void);" appears
23675         in a different order.
23676
23677 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23678
23679         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
23680
23681         * gdb.base/help.exp: Replace most of docstrings for "info signals"
23682         and "signal" with ".*".
23683
23684 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23685
23686         * TODO: Add note about "handle all nostop".
23687
23688         * gdb.base/{sigall.c, sigall.exp}: New test.
23689         * gdb.base/Makefile.in: Add it.
23690
23691 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
23692
23693         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
23694         when invoking GDB, suppresses any windowing interface.
23695
23696 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
23697
23698         * config/sim-gdb: New file, simulator testing support.
23699
23700 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
23701
23702         * gdb.base/interrupt.exp: Test calling func1 twice.
23703
23704 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
23705
23706         * gdb.base/list.exp (test_forward_search): Set timeout higher
23707         when we'll be getting lots of output from gdb.
23708
23709         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
23710         "init_malloc" to after the expect statement.  Run it if that
23711         regexp is taken, but also for two others which happen if source
23712         cannot be found.
23713
23714 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
23715
23716         * gdb.base/printcmds.exp: New test, for printing register before
23717         program is running.
23718
23719 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23720
23721         * gdb.base/list.exp:  Correct some alternate expect patterns
23722         to reflect changes in list1.c.
23723
23724 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
23725
23726         * TODO: Add item regarding large frames.
23727
23728         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
23729
23730         * TODO: Remove item about enabling return.exp; it
23731         is enabled.  Suggest a few more "return" tests.
23732
23733 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23734
23735         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
23736         anonymous unions.
23737
23738 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
23739
23740         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
23741         and pr-5646.o, so "make" is the same as "make all", not "make
23742         pr-4975.o".
23743
23744 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
23745
23746         * gdb.base/list.exp: Adjust expectations to reflect changes in
23747         list1.c.
23748         (test_forward_search): New test proc.
23749         * gdb.base/list1.c (long_line): New function, has long source line.
23750
23751 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
23752
23753         * gdb.base/a1-selftest.exp: Change initial stepping to know about
23754         additional line of code that was added.
23755
23756 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
23757
23758         * gdb.disasm/hppa.s: Break the large branching tests into smaller
23759         tests so as not to overflow expect's input buffers.
23760         * gdb.disasm/hppa.exp: Corresponding changes.
23761
23762 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23763
23764         Beginnings of template debugging tests.
23765         * gdb.c++/templ-info.cc:  New file to test for template
23766         debugging capability of the compiler.
23767         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
23768         templ-info.cc.
23769         * gdb.c++/templates.cc:  Add explicit template instantiations
23770         to enable compiling with -fno-implicit-templates. Add destructor
23771         and 'value' method to T5 class for template tests.
23772         * gdb.c++/templates.exp:  Add testcases for printing of template
23773         types, setting breakpoints on template methods and calling a
23774         template method.
23775
23776 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
23777
23778         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
23779         branch target since some assemblers (gas-2.5)  may emit a
23780         relocation for the branch instead of resolving it in the
23781         assembler.
23782
23783 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23784
23785         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
23786         through signal handler.
23787
23788 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
23789
23790         * configure.in (*-*-netware): Use config/mt-netware.
23791
23792         * config/mt-netware: New file.
23793         * config/mt-i386-netware: Removed, separate configs for different
23794           netware architectures are no longer needed now that we have
23795           --with-headers.
23796
23797 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23798
23799         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
23800         by the recent changes to use ANSI C arithmetic conversions.
23801
23802 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
23803
23804         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
23805         bug involving using inferior_pid to figure out whether to select a
23806         frame.
23807
23808 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
23809
23810         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
23811         match the current disassembler output.
23812
23813 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
23814
23815         * gdb.fortran/exprs.exp: Expect VOID instead of void.
23816         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
23817         types, expect "int" as type of integer values (for now).
23818
23819 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
23820
23821         * gdb.base/commands.exp: New tests for if/while commands.
23822
23823 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
23824
23825         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
23826         by .*, since hex values have different syntax in Chill mode.
23827
23828 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23829
23830         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
23831         linefeed from expect pattern for repeated types with indices > 9.
23832
23833 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
23834
23835         First part of Fortran test suite.
23836         * gdb.fortran: New directory.
23837         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
23838
23839 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23840
23841         * gdb.base/default.exp:  Update expect pattern for load command
23842         without arguments.
23843
23844 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
23845
23846         * configure.in: Change i386 to i[345]86.
23847         * gdb.base/configure.in: Likewise.
23848         * gdb.c++/configure.in: Likewise.
23849         * gdb.chill/configure.in: Likewise.
23850
23851 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
23852
23853         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
23854         patterns, since that is not a valid context for comments.
23855
23856 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
23857
23858         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
23859         repeated types and repeated types with indices > 9.
23860
23861 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
23862
23863         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
23864         2417; old bug has been fixed.
23865
23866 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
23867
23868         * gdb.base/interrupt.exp: When trying to wake up the inferior,
23869         send the newline ourselves instead of assuming gdb_test will do
23870         so when passed an empty input string.
23871
23872         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
23873         stabs testcode.
23874
23875 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
23876
23877         * lib/gdb.exp (gdb_test): Don't send anything if the first
23878           argument is an empty string.  This makes cases where we want to
23879           match output that is already in expect's buffers (for example,
23880           matching a breakpoint after gdb_run_cmd has been called) work
23881           reliably.
23882
23883 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
23884
23885         * config/netware.exp: New file.
23886
23887 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
23888
23889         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
23890           the -B and -L prefixes so we can find the debugging stub.
23891
23892         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
23893           there and we are using the gcc from the tree.
23894
23895         * gdb.base/types.c: Removed.
23896
23897         * gdb.base/configure.in: Look for makefile fragments in ../config.
23898           Recognize i386-*-netware.
23899         * gdb.c++/configure.in: Likewise.
23900
23901 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23902
23903         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
23904         the correct TCL syntax.
23905
23906 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
23907
23908         * gdb.base/opaque.exp: use runto instead of messing around with
23909           breakpoints.  Simplify by using gdb_test.
23910
23911         * gdb.base/bitfields.exp: restart between tests on netware targets
23912           because breakpoints aren't relocated after target death.  Run
23913           processes to completion.
23914
23915         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
23916
23917 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
23918
23919         * Makefile.in:  Remove extra tabs that confuse some versions
23920         of "make".  Use the newly built gdb to test with by default,
23921         rather than the first one in the tester's search path.
23922
23923 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
23924
23925         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
23926
23927         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
23928         condition help.
23929
23930 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
23931
23932         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
23933
23934         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
23935           running.
23936         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
23937         * gdb.base/funcargs.exp: Likewise.
23938
23939         * gdb.base/bitfields.exp: Simplify by using gdb_test.
23940         * gdb.base/funcargs.exp: Likewise.
23941
23942         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
23943           message is "".
23944
23945 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
23946
23947         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
23948           return,signals,twice}.exp: Handle non-existant binaries
23949           consistantly.
23950
23951         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
23952         * gdb.base/Makefile.in: Don't try to generate a core dump, we
23953           might testing a cross development system.
23954
23955 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
23956
23957         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
23958           runtest script is relative to ${srcdir}, not ${rootdir}.
23959
23960 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
23961
23962         * gdb.base/signals.exp: Allow for optionality of breakpoint
23963         address.
23964
23965 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
23966
23967         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
23968
23969 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
23970
23971         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
23972           for size_t definition.
23973         * gdb.c++/templates.cc: Likewise
23974
23975         * config/mt-i386-netware: New file.
23976
23977         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
23978           defined.
23979
23980         * gdb.base/Makefile.in: Added support for systems that name core
23981           files by appending "core" to the program name.
23982         * gdb.base/a1-selftest.exp: Likewise.
23983
23984 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23985
23986         * gdb.base/return.exp:  Add comment and message for `return double'
23987         test failure on Sparc Solaris.
23988
23989 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
23990
23991         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
23992
23993 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23994
23995         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
23996         from optimizing them away.
23997         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
23998         patterns to include default constructors and assignment operators,
23999         to match gcc versions beyond 2.5.8. Accept any cplus demangling
24000         character in the output of the virtual base pointer.
24001
24002 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24003
24004         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
24005         expression match in print_addr_of to avoid unintented matches.
24006         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
24007         versions up to 2.5.8.
24008
24009 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24010
24011         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
24012         included file to run under newer versions of expect.
24013         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
24014         consecutive >'s in templates to accomodate recent cplus-dem.c change.
24015         Remove xfail for the virtual table of BDDHookV.
24016
24017 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
24018
24019         * lib/gdb.exp (string_to_regexp): Set a default result.
24020         (default_gdb_start): Fix misleading message.
24021
24022 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
24023
24024         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
24025         Remove all CC, etc definitions.
24026         * config/mt-hpux: New file.
24027         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
24028         (CFLAGS, LDFLAGS): Define.
24029         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
24030
24031         * Makefile.in (site.exp): Don't insert host_os, etc.
24032         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
24033         (distclean): Check existence of subdir.
24034         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
24035         * gdb.base/Makefile.in: General cleanup and simplification.
24036         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24037         to build executables.   Use default rule to build .o files.
24038         (EXPECT, RUNTEST, CC): Fix relative pathname.
24039         (site.exp): Don't insert host_os, etc.
24040         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
24041         and/or SIGUSR1 defined.
24042         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
24043         * gdb.c++/Makefile.in: General cleanup and simplification.
24044         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24045         (CFLAGS): Remove.
24046         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
24047
24048 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
24049
24050         * gdb.base/recurse.exp: Misc changes to get tests running again
24051         after Kung's changes to the watchpoint code.
24052         * gdb.base/watchpoint.exp: Likewise.
24053
24054 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24055
24056         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
24057
24058 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
24059
24060         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
24061         * lib/gdb.exp (default_gdb_start): Define.
24062         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
24063         gdb.base/funcargs.exp, gdb.base/opaque.exp,
24064         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
24065         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
24066         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
24067         Don't call gdb_target_udi in between tests.
24068
24069 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24070
24071         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
24072         (which was basically just a local version of the same thing).  In
24073         addition to avoiding duplication, gdb_test_exact is faster.
24074         * lib/gdb.exp (gdb_test_exact): Fix typo.
24075
24076         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
24077         don't give an error.
24078
24079         * gdb.base/term.exp: Call delete_breakpoints before starting.
24080
24081         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
24082         (t10): Add comment.
24083
24084 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
24085
24086         Reorganization of the GDB Test Suite.
24087
24088         * gdb.base: New directory, contains all the basic tests.
24089         * gdb.c++: New directory, tests specific to C++.
24090         * gdb.chill: New directory, tests specific to Chill.
24091         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
24092         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
24093         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
24094         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
24095         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
24096         t30-31 to chill).
24097         * */gdbme.*: Rename to match appropriate expect scripts.
24098         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
24099         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
24100         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
24101         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
24102         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
24103         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
24104         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
24105         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
24106         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
24107         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
24108         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
24109         gdb.c++/virtfunc.cc: New names of C++ files.
24110         * gdb.chill/chillvars.ch: New name of Chill file.
24111         * gdb.base/configure.in, gdb.c++/configure.in,
24112         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
24113         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24114         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
24115         * configure.in (configdirs): Update to reflect directory changes.
24116         (target_abbrev): No longer define for any configuration.
24117         * Makefile.in: Cosmetic improvements to header comments.
24118
24119 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24120
24121         Various changes to gdb.t31:
24122
24123         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
24124         * gdbme.ch:  Make all key-words and predefineds be upper-case.
24125         * chillvars.exp:  Expect key-words and predefinds in upper-case.
24126
24127         * chillvars.exp:  Use gdb_test_exact many places.
24128         Change expected output for arrays (which now includes index labels).
24129
24130         * pr-5020.exp, gdme.ch (module PR_5020):
24131         New test, for PR-5020.
24132
24133 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24134
24135         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
24136         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
24137
24138 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24139
24140         * Makefile.in:  Fix bit-rot in definitions of CHILL,
24141         CHILL_FOR_TARGET and Chill_LIB.
24142         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
24143         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
24144         CHILL, and CHILL_LIB.
24145
24146 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
24147
24148         * Revert the previous changes.  Please see Rob's directory
24149           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
24150
24151 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
24152
24153         * Makefile.in, configure.in, config/mips-gdb.exp,
24154           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
24155           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
24156           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
24157           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
24158           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
24159           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
24160           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
24161           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
24162           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
24163           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
24164           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
24165           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
24166           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
24167           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
24168           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
24169           changes from 94Q1.
24170
24171 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
24172
24173         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
24174           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
24175           Rob's new testing fragments.
24176
24177 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
24178
24179         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
24180           lib/gdb.exp: Replace error proc calls with perror.
24181
24182 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
24183
24184         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
24185         version also, match on casted version strings, and match on
24186         gdb startup case where the line numbers might be messed up.
24187
24188 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
24189
24190         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
24191           (CFLAGS): Delete it from here.
24192
24193 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
24194
24195         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
24196
24197 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
24198
24199         * Makefile.in (RUNTEST): Default to just "runtest".
24200
24201 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24202
24203         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
24204         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
24205         the code has been restructured.
24206
24207 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24208
24209         * gdb.t00/default.exp (set write): Allow any number of \r and/or
24210         \n, not just one of each.
24211
24212         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
24213         /bin/cc gives a warning if you do.
24214
24215 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
24216
24217         * gdb.t24/demangle.exp: change expect pattern of
24218         __t10ListS_link1ZUiRCUiPT0
24219
24220 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24221
24222         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
24223         on local variables in recursive functions.
24224
24225         * gdb.t07/Makefile.in: Build the new test.
24226
24227 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24228
24229         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
24230         directly.  Instead compare the return values from actual calls.
24231
24232 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
24233
24234         * Makefile.in (check): Set TCL_LIBRARY for runtest.
24235
24236 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24237
24238         * From Peter Schauer with minor modifications.
24239         * gdb.t15/return.exp (return_tests): Handle targets where "return"
24240         stops in mid-line in the caller.  Add xfail for returning a float
24241         value on X86 targets.
24242
24243 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24244
24245         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24246         to avoid expect lossage.
24247         (fmem_LRbug_tests): Likewise.
24248         * gdb.disasm/hppa.s: Corresponding changes.
24249
24250         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24251         conditions to work with latest dejagnu/expect.
24252
24253         * gdb.t15/funcargs.exp (finish from indirect call): No longer
24254         expected to fail on the PA.
24255         (backtrace in call with trampolines): Explicitly require main
24256         to be frame #1 (no trampolines should show up in backtrace).
24257
24258         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24259         "continue -expect".
24260         * gdb.t06/break.exp: Likewise.
24261         * gdb.t07/watchpoint.exp: Likewise.
24262         * gdb.t13/bitfields.exp: Likewise.
24263         * gdb.t15/{funcargs,return}.exp: Likewise.
24264         * gdb.stabs/weird.exp: Likewise.
24265         * config/{mips,udi}-gdb.exp: Likewise.
24266
24267         * hppa.sed: Enclose comments within a sed command to avoid
24268         losing with the old OSF1 sed.
24269
24270 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24271
24272         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
24273         sequent dynix.
24274         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
24275         * gdb.t15/funcargs.exp:  Conditionally step again to really
24276         finish from marker_call_with_trampolines. Handle the case where
24277         the first step from within call_with_trampolines already steps
24278         us back to main.
24279         * gdb.t15/gdbme.c:  Add comment to closing brace of
24280         call_with_trampolines for funcargs.exp.
24281
24282 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24283
24284         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24285         Fix typo(s).
24286
24287 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24288
24289         * gdb.t07/gdbme.c: More code for watchpoint testing.
24290
24291         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
24292         "Hardware watchpoint" throughout file.
24293         (test_watchpoint_triggered_in_syscall): New test.
24294         (test_complex_watchpoint): New test.
24295
24296 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24297
24298         * gdbme.c (call_with_trampolines): New function to try and step
24299         into.  Tests trampoline problems on the PA.
24300
24301         * funcargs.exp (localvars_in_indirect_call): No longer expect
24302         stepping into indirect call to fail on PAs.
24303         (test_stepping_over_trampolines): New test.
24304
24305 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24306
24307         * TODO: Add suggestions for static member function tests, and
24308         completion tests.
24309
24310 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24311
24312         * TODO: Add suggestions for "p/a" tests.
24313
24314         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
24315         (default_gdb_exit): Replace all the hair with sending "quit" to
24316         the process with a simple close.
24317
24318 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24319
24320         * TODO: Add suggestions for shared library tests.
24321
24322 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24323
24324         * TODO: Add suggestions for x/s tests.
24325
24326 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24327
24328         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
24329         "enable once", and "enable breakpoints once" with ".*".
24330
24331 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24332
24333         * TODO: Add suggestions about structure passing tests.
24334
24335 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24336
24337         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
24338         the primary1 test, use work around if __GNUC__ < 2.
24339         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
24340         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
24341         Test for bad output rather than waiting for timeout.  Issue
24342         second continue only if first continue failed.
24343
24344 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24345
24346         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
24347         operator[] test with gdb_test because the old code didn't seem to
24348         be getting the quoting right with the new dejagnu.
24349
24350 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
24351
24352         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
24353         one from the path.
24354         * Makefile.in: Use a fresh expect if there is one, use runtest
24355         from the src tree if there is one.
24356
24357 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24358
24359         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
24360         next over recursive call.  Revise the tests from that point on
24361         (which had been skipped) to match GDB's actual (correct) output.
24362
24363         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
24364         with next over a breakpoint whose condition is false.
24365
24366         * gdb.t00/help.exp: Comment out "help set print" tests just like
24367         (and for same reason as) "help set" test.
24368
24369 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24370
24371         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
24372         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
24373
24374 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24375
24376         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
24377         necessary gdb_target_udi.
24378
24379         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
24380
24381         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
24382         1838 and 2417; they are fixed.
24383
24384         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
24385         gdb.t03/ptype.exp (ptype structure, ptype union):
24386         Remove xfails; the test is looser than when the xfails were added.
24387
24388         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
24389         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
24390
24391         * gdb.t01/run.exp: Only run shell test if isnative.
24392
24393         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
24394         since "run" automatically loads if necessary.  Call gdb_target_udi
24395         after the "file" since "file" kills any execution target.
24396
24397         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
24398         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
24399         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
24400         argument for UDI.
24401
24402 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24403
24404         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
24405
24406         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
24407
24408 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24409
24410         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
24411         properly quoting regexps.  This makes the second argument to
24412         demangle a fixed string, which matches the callers, instead of a
24413         shell-style pattern which is what the previous implementation
24414         used.  Update some of the callers.
24415
24416 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24417
24418         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
24419         (comib_nullified_tests): Fix typo.
24420         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
24421         strings.  No longer expected to fail.
24422
24423         * gdb.disasm/hppa.s (addib_tests): Fix typo.
24424         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
24425         strings.  No longer expected to fail.
24426
24427         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
24428         string.  No longer expected to fail.
24429
24430 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24431
24432         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
24433         No longer expected to fail.
24434
24435         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
24436         string.  No longer expected to fail.
24437
24438 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24439
24440         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
24441         only in the names (I probably got most of them).  I was even
24442         generous with some which differed in underscores in names, and
24443         probably missed a few, and I *still* was able to remove almost a
24444         third of the file with almost no impact on testsuite coverage.
24445
24446 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24447
24448         * gdb.t00/default.exp: Match udi_attach error message as well as
24449         the one from child_attach.
24450
24451         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
24452
24453         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
24454
24455         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
24456         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
24457
24458         * Move test with enums and partial symbols back to
24459         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
24460         Reverts the change of 26 May 93.  Per today's change to
24461         stabs.texinfo, the behavior that weird.exp was expecting was
24462         unreasonable; what is important is that the compiler+gdb get
24463         things right, which happens with a recent gcc.  Also fix the test
24464         to deal with native compilers which put out the stab gdb can't
24465         deal with.
24466
24467 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24468
24469         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
24470         in the names.  The main thing these accomplish is to slow things down.
24471         Many more such duplicates surely remain.
24472
24473         * gdb.t00/help.exp: Comment out "help support" test just like
24474         (and for same reason as) "help set" test.
24475
24476 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
24477
24478         * gdb.t06/break.exp:  Remove setup_xfails for
24479         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
24480         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
24481         about known bug in gcc to include up through 2.5.8.
24482         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
24483         well as "_vb$".
24484         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
24485         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
24486         with latest gcc and gdb.
24487         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
24488         well as "_vb$".
24489
24490 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24491
24492         * configure.in (hppa*-*-*): Also configure and build stabs-only
24493         tests.
24494
24495 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24496
24497         * gdb.t10/hppa.mt: A makefile fragment for the PA.
24498         * gdb.t10/configure.in (hppa*-*-*): Use it.
24499
24500 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24501
24502         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
24503
24504 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24505
24506         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
24507         versions prior to 1.13.5.
24508
24509 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24510
24511         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
24512         the prompt is at the start of a line.
24513
24514 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24515
24516         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
24517         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
24518         in the copr tests now.
24519         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
24520         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
24521         expected to fail.
24522
24523 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
24524
24525         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
24526         gdb.t31/chillvars.exp, lib/gdb.exp:
24527         Tweak to run under either version of expect.
24528         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
24529         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
24530         * gdb.t11/list.exp: Remove extraneous whitespace.
24531
24532 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24533
24534         * gdb.t16/printcmds.exp (test_print_strings): Accept
24535         "(unsigned char *) " before the string.
24536
24537         * TODO: Add notes about printing of fancy types and GDB expressions.
24538
24539 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
24540
24541         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
24542         * gdb.t06/configure.in: Don't try to compile signals test program
24543         if doing mips-idt-ecoff.
24544
24545 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
24546
24547         * Most .exp files: Tweak to run under either version of expect.
24548
24549 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24550
24551         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
24552         xfails; I'm not sure why they are failing, but not because of PR 1806.
24553
24554 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
24555
24556         * config/unix-gdb.exp: Remove gdb_unload cause it's already
24557         defined in lib/gdb.exp.
24558
24559 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24560
24561         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
24562         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
24563         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
24564         have to be typeless.
24565
24566 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24567
24568         * TODO: Add suggestion for copyright year test.
24569
24570 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
24571
24572         * configure.in (*-*-lynxos*): Add stabs tests.
24573
24574 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
24575
24576         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
24577         so insert a tab before any assembler directive in column zero.
24578
24579         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
24580         stores.
24581         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
24582         stores.
24583         (fpu_short_memory_tests): Likewise.
24584
24585 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24586
24587         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
24588         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
24589         .stabs directives in comments.
24590
24591 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24592
24593         * TODO: New file, describing tests we could write.
24594         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
24595
24596 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24597
24598         * gdb.t06/signals.exp: Add kludge to force re-sync.
24599
24600         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
24601         to xgdb instead of gdb, get out of gdb.
24602
24603 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
24604
24605         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
24606         for info.
24607
24608 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
24609
24610         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
24611         * gdb.stabs/configure.in (hppa*-*-*): Use it.
24612         * gdb.stabs/hppa.sed: New sed script for the PA.
24613
24614 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24615
24616         * gdb.stabs: Re-write weird.def and configuration to use sed
24617         instead of cpp.  sed is portable and POSIX; cpp is neither.
24618
24619 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24620
24621         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
24622
24623 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24624
24625         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
24626
24627 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24628
24629         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
24630         "_vb$".
24631         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
24632         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
24633
24634 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24635
24636         * lib/gdb.exp: Comment out code which depends on non-existent
24637         `transform' procedure.
24638
24639 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
24640
24641         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
24642         * lib/gdb.exp: Transform tool name.
24643         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
24644         1.1's new error handling system.
24645
24646 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24647
24648         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
24649
24650 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24651
24652         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
24653         They made pattern matching so slow that timeouts happened on
24654         heavily loaded systems.  Now any output from "show print" which
24655         gets us back to the GDB prompt is a PASS.
24656
24657 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
24658
24659         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
24660
24661 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24662
24663         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
24664
24665         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
24666         It is not from PR 3220.
24667
24668 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24669
24670         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
24671         just started failing because they depended on the order the
24672         subcommands are presented, or exact docstring text.  This kind of
24673         test is a pain and has minimal benefit.
24674
24675 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24676
24677         * gdb.t09/corefile.exp: At end of test, use "core" command with
24678         no arguments.
24679
24680 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
24681
24682         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
24683         17}/Makefile.in:  Make it possible to run the testsuite with Sun
24684         make and CC = cross gcc by adding explicit build rules for .o
24685         files.
24686
24687 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24688
24689         * gdb.t15/funcargs.exp: Don't put comments on same line as
24690         setup_xfail (@#$*%& tcl braindamage!).
24691
24692 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24693
24694         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
24695
24696 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
24697
24698         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
24699         * gdb.t20/inherit.exp: remove three dumplicate entries.
24700
24701 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24702
24703         * gdb.t06/break.exp: For "next over recursive call", fail on any
24704         incorrect output, not just on "factorial (value=2)".
24705
24706 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24707
24708         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
24709         working now. Add an xfail if accesing a bss variable causes
24710         a memory error if the target is not yet run.
24711
24712 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24713
24714         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
24715         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
24716         name of __st* demangling (2 strings).  Did Kung really get the
24717         more than 95 others right without testing them?
24718
24719 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
24720
24721         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
24722
24723 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
24724
24725         * configure.in (configdirs): Add gdb.disasm
24726         * gdb.disasm: New directory for GDB disassembler tests.
24727         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
24728
24729 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24730
24731         * gdb.t00/help.exp: Don't test "help set".
24732
24733         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
24734         from within expect statements.  None of these happen anymore and
24735         they cause regressions to be silently unnoticed.
24736
24737         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
24738         messages) about known failures with gcc cygnus-2.4.5-930417.
24739
24740         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
24741         comp-info.exp so it gets built if it doesn't exist.
24742
24743         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
24744         it is no longer used.
24745         * gdb.t13/comp-info.c: Removed.
24746
24747 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
24748
24749         * gdb.t06/signals.exp: Add xfail for sun3.
24750
24751 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24752
24753         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
24754         relevant because ^C doesn't get sent but failure can be reproduced
24755         interactively).
24756
24757 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24758
24759         * gdb.stabs/alpha.mt:  New configuration file for alpha.
24760         * gdb.stabs/configure.in:  Use it.
24761         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
24762         sharing with alpha.mt, redefine long to word via preprocessor.
24763         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
24764         for alpha.
24765         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
24766         native cc.
24767         * gdb.t00/teststrategy.exp:  Change expect string so that we
24768         consume the `(xgdb)' from the command echo and from the gdb prompt.
24769         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
24770         gdb currently compares all values as long, so this failure probably
24771         applies to any configuration where LONGEST is bigger than a target int.
24772         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
24773         with gcc.
24774         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
24775         to handle opaque pointers, gcc is.
24776         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
24777         as first argument. Include <sys/types.h> and change all operator
24778         new definitions to use size_t.
24779         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
24780         now that we use size_t.
24781
24782 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24783
24784         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
24785         a long or float array cast all array members to the same type.
24786         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
24787         with 64 bit longs.
24788         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
24789         on alpha.
24790         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
24791
24792 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24793
24794         * gdb.t24 (demangle.exp): Constructors of templates have names like
24795         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
24796         section 14.6 of the ARM.
24797
24798         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
24799         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
24800         accomplish little and slow down the testsuite.
24801
24802         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
24803         Accept spaces various places.
24804
24805 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24806
24807         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
24808         with watchpoint enabled.
24809
24810         * Makefile.in: Remove definition of CC and remove the second
24811         definition of CXX (the "CXX = gcc" one remains).  These definitions
24812         were causing backquotes to be expanded within backquotes, which
24813         doesn't work.
24814
24815 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
24816
24817         * gdb.t17/callfuncs.exp: Add "return 0" to end.
24818
24819 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24820
24821         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
24822         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
24823         by mips cc and contains no stabs entries.
24824
24825 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
24826
24827         * config/vx-gdb.exp: Use fake device to load files rather than
24828         NFS.
24829         * lib/gdb.exp: New proc to do "file" command.
24830         * config/unix-gdb.exp: Use new "file" proc.
24831
24832 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
24833
24834         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
24835         Rework board rebooting slightly.
24836         (gdb_exit): Don't exit from the remote shell; there isn't one.
24837         * gdb.stabs/weird.exp: If a program is being debugged already,
24838         kill it.
24839         * gdb.t04/setvar.exp: Stop and restart gdb.
24840         * gdb.t05/expr.exp: Likewise.
24841         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
24842         restart gdb and reload the program.
24843         * gdb.t08/opaque.exp: Likewise.
24844         * gdb.t12/scope.exp: Likewise.
24845         * gdb.t13/bitfields.exp: Likewise.
24846         * gdb.t15/funcargs.exp: Likewise.
24847         * gdb.t20/classes.exp: Likewise.
24848         * gdb.t03/ptype.exp: Increase timeout.
24849         * gdb.t16/printcmds.exp (test_print_string_constants,
24850         test_print_array_constants): Likewise.
24851         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
24852         * gdb.t20/classes.exp (do_tests): Likewise.
24853         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
24854
24855 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
24856
24857         * gdb.stabs: Renamed *wierd* to *weird*.
24858
24859 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
24860
24861         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
24862         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
24863
24864 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
24865
24866         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
24867         (do_tests): Remove xfail for whatis on one_var and two_var.
24868
24869 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
24870
24871         * Makefile.in: Made cross building work better by adding
24872         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
24873
24874 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24875
24876         * gdb.t15/{return.c,return.exp,Makefile.in}:
24877         New test, currently commented out.
24878
24879 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
24880
24881         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
24882         still running and removes the leftover named socket so GDb can do
24883         clean restarts.
24884
24885 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
24886
24887         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
24888         console, not GDB.
24889         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
24890         cross testing works better with "make check"
24891         * config/unix-gdb: Use default procedures for exit and version.
24892         * config/vx-gdb.exp: Cleaned up and massaged back to working order
24893         with the newest VxWorks.
24894
24895 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24896
24897         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
24898         old form.
24899
24900         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
24901         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
24902
24903         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
24904
24905         * config/unix-gdb.exp: Remove this version of gdb_exit
24906         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
24907         Rob says he'll look at it when he gets back to testing boards.
24908
24909 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
24910
24911         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
24912         an expected fail for certain ptype commands.
24913
24914         * gdb.t20/classes.exp:  Update expected results of "ptype class
24915         Base1" to account for the constructor that now appears in the type.
24916
24917 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
24918
24919         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
24920         disappeared from list.
24921         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
24922         "alldone" proc with call to cleanup and exit.
24923         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
24924         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
24925         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
24926         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
24927         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
24928         "alldone" proc with simple returns that suppress remaining
24929         tests.  The alldone proc went away many months ago.
24930
24931 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24932
24933         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
24934
24935         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
24936
24937 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24938
24939         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
24940         as vax gdb will display them.
24941
24942 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24943
24944         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
24945         optimizers.
24946
24947         * scope.exp: Change "bad value for localval" messages so each one
24948         is unique.
24949
24950         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
24951         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
24952
24953         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
24954
24955 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24956
24957         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
24958         doesn't exist (due to optimization).
24959
24960 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24961
24962         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
24963         contains \r because the filename is long.
24964
24965         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
24966         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
24967
24968 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24969
24970         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
24971         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
24972         Ultrix.
24973         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
24974         int tests.
24975         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
24976
24977 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
24978
24979         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
24980
24981         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
24982         to match does not match the passing case but still matches the
24983         failing case.
24984
24985 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24986
24987         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
24988
24989 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
24990
24991         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
24992         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
24993         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
24994         Remove various versions of gdb_exit.
24995         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
24996         gdb_exit.
24997         * config/unix-gdb.exp:  gdb_exit remains here, and should override
24998         the generic version, since it's doing a lot of wierd stuff that
24999         the other versions aren't.  FIXME, fold it in, or abandon this
25000         version.
25001
25002 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25003
25004         * gdb.t24/demangle.exp: Add tests for PR 3220.
25005
25006 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25007
25008         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
25009
25010 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
25011
25012         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
25013         "i386-*-*".  Works for i486 as well.
25014
25015         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
25016         bug, and expand domain of xfail to all SVR4 systems, since the
25017         actual problem is likely to be in generic SVR4 /proc support.
25018
25019 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25020
25021         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
25022
25023 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
25024
25025         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
25026         xfails for other systems.  Match a missing 'Continuing.' as an
25027         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
25028
25029         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
25030         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
25031         Only issue warning for missing executables if -all option is used.
25032
25033         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
25034         file if -all option is used.  It's like an unpredictable XFAIL.
25035
25036 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25037
25038         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
25039         for dynamically linked binaries.
25040
25041         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
25042
25043 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25044
25045         * gdb.t20/inherit.exp: Change message for "print tagless struct"
25046         to state that this is a known bug in old versions of g++.
25047
25048 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25049
25050         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
25051         while waiting for `Continuing'.
25052
25053 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
25054
25055         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
25056         in text, data, and bss.
25057         * gdb.t10/nodebug.c:  Add local and global test variables for
25058         initialized and uninitialized data.
25059
25060 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25061
25062         * config/unix-gdb.exp (gdb_exit): Add "wait".
25063
25064 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25065
25066         * gdb.t06/signals.exp:  xfail the continue from the handler for all
25067         targets.
25068
25069         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
25070         function with watchpoints enabled, the i386 call dummy starts with
25071         a call.
25072
25073         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
25074         386 bsd names its corefiles.
25075
25076 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
25077
25078         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
25079         compilers don't grok it.
25080         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
25081         with small octal ints rather than character constants, which
25082         are signed and might not fit if first promoted to int.
25083
25084 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
25085
25086         * gdb.t09/Makefile.in (clean):  Remove corefile.
25087
25088 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25089
25090         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
25091
25092 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25093                           and Jim Kingdon (kingdon@cygnus.com)
25094
25095         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
25096         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
25097         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
25098
25099 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25100
25101         * gdb.t17/interrupt.exp: Add xfail for hppa.
25102
25103 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25104
25105         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
25106         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
25107         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
25108         to determine signed-ness of bitfields and use the result to setup
25109         the xfail.
25110         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
25111         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
25112         call line is reached if necessary.
25113
25114 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25115
25116         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
25117
25118 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25119
25120         * gdb.t06/break.exp: Also test `clear' command.
25121
25122 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25123
25124         * gdb.t00/teststrategy.exp: Remove extra quote.
25125
25126         * gdb.t07/watchpoint.exp: Change xfail for calling function with
25127         watchpoint enabled to be for all non-68k machines.
25128
25129         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
25130
25131 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25132
25133         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
25134         targets use aout.mt instead of ecoff.mt as gas understands
25135         standard aout format.
25136
25137 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25138
25139         * lib/gdb.exp (runto): Don't insist that function we are running to
25140         was compiled with -g.
25141
25142         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
25143
25144         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
25145         to get back into the read system call.
25146         Accept leading newline in case where we woke it up.
25147
25148 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25149
25150         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
25151         to make the stabs test work on ecoff systems using gcc and -with-stabs.
25152         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
25153         enable ecoff configuration.
25154
25155 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25156
25157         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
25158
25159 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25160
25161         * gdb.t16/printcmds.exp: Add another printf test.
25162
25163 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
25164
25165         * configure.in: If configured -with-stabs on any target, add
25166         stabsdirs to configdirs.
25167
25168 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25169
25170         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
25171         fun" so pattern does not match the command itself.
25172
25173 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25174
25175         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
25176
25177 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25178
25179         * gdb.t17/interrupt.exp: Test for more things.
25180
25181 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25182
25183         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
25184         compiler arranges the code and line numbers.
25185
25186         * gdb.t17/interrupt.exp: Don't send \n after ^C.
25187
25188 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25189
25190         * gdb.t00/help.exp:  Increase expect input buffer size.
25191
25192 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25193
25194         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
25195
25196         * gdb.t07/watchpoint.exp: Add xfail for hppa.
25197
25198         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
25199
25200         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
25201         [0-9]*, not just [0-9].
25202
25203 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25204
25205         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
25206
25207         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
25208
25209 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25210
25211         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
25212
25213 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25214
25215         * gdb.t06/signals.c: Add xfails for sun3.
25216
25217         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
25218
25219         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
25220         test_stepping tests.
25221
25222 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25223
25224         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
25225
25226         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
25227
25228         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
25229         rather than actually putting it through cpp twice.
25230
25231         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25232
25233 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
25234
25235         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25236         no longer needed.
25237
25238 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25239
25240         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25241
25242         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25243         C++ features prints as "struct", make it a pass, not an xfail.
25244
25245 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25246
25247         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25248         Don't require VA to print as "class" rather than "struct".
25249
25250 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
25251
25252         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25253
25254 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25255
25256         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25257
25258 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25259
25260         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
25261         order.
25262
25263 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25264
25265         * gdb.t16/printcmds.exp: Add printf tests.
25266
25267         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
25268
25269         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
25270
25271 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
25272
25273         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
25274         pass counts, to counteract any existing or future setup_xfails.
25275
25276 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25277
25278         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
25279         {BEGIN,END}_COMMON for common block instead of STAB.
25280         * gdb.stabs/wierd.exp: Add xfail for rs6000.
25281
25282         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
25283         intp_var should be N_GSYM not N_LSYM.
25284         wierd-aout.S: Use a label for the value of the N_SO.
25285         wierd.def: Remove all backslashes.
25286         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
25287
25288 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25289
25290         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
25291         get the expected next to inheritance3.
25292
25293 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25294
25295         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
25296         now that gcc-2.4 gets it right.
25297
25298 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25299
25300         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
25301
25302         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
25303         generating comp-info.exp which works for cross-compilation.
25304
25305 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
25306
25307         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
25308         "*-*-sysv4.*".
25309
25310 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
25311
25312         * gdb.t01/run.exp:  Start with a fresh gdb.
25313         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
25314         SVR4.x.
25315
25316 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
25317
25318         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
25319         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
25320         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
25321         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
25322         things to remove.
25323
25324 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
25325
25326         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
25327         test cases from bug reports.
25328
25329 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
25330
25331         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
25332         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
25333           avoid spurious xfails.
25334         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
25335         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
25336         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
25337
25338 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
25339
25340         * gdb.t00/teststrategy.exp:  Rework to provide more useful
25341         description of each test, fix problem with systems that define
25342         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
25343         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
25344         results for "next over recursive call" so timeouts aren't taken
25345         by error.
25346
25347 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
25348
25349         * gdb.t12/scope.exp: Test printing of variables before run.
25350
25351         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
25352         printed in wrong order due to sorting.
25353
25354 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
25355
25356         * gdb.t00/teststrategy.exp:  Fix expected results for printing
25357         user entered string constant.  Is array of char, prints with no
25358         address.
25359
25360         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
25361         commands.
25362         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
25363         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
25364         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
25365         of struct of char arrays.
25366         * gdb.t00/radix.exp:  New tests for radix commands.
25367
25368 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
25369
25370         * gdb.t16/printcmd.exp: Print a variable before running program
25371         (with xfail for AIX).
25372
25373 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
25374
25375         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
25376
25377         * gdb.t16/printcmd.exp: Don't print variables before running program.
25378
25379         * gdb.t06/break.exp: Don't require envp argument to main.
25380
25381         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
25382
25383         * gdb.t02/whatis.exp, gdb.t11/list.exp:
25384         Add xfails for rs6000.
25385
25386         * gdb.t02/whatis.exp: Change other tests not to re-test something
25387         we already tested.
25388
25389         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
25390         each type used has a variable of that type.
25391
25392 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
25393
25394         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
25395
25396 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
25397
25398         * configure.in: change srctrigger to be a file, not a directory
25399
25400 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
25401
25402         * configure.in (mips-idt-ecoff*): Added trailing '*'.
25403
25404         * gdb.t11/list.exp: Fixed a couple of typos.
25405
25406 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
25407
25408         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
25409         is fixed and PR is closed.
25410         * gdb.t16 (gdbme.c):  Add simple test string variable.
25411         * gdb.t16 (printcmds.exp):  Add tests with simple test string
25412         variable, primarily for boundaries on "set print elements".
25413
25414 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
25415
25416         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
25417         Make leading 0's optional and don't expect a tab in the middle
25418         of the number.
25419
25420         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
25421
25422         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
25423         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
25424         don't end command passed to gdb_test with newline.
25425
25426         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
25427         signed keyword away, don't expect signed bitfields to be signed.
25428
25429         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
25430         printing with only as many 1's as are in the field as well as printing
25431         with 32 1's (see comment).
25432
25433 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
25434
25435         * gdb.t00/default.exp:  Start with a fresh gdb.
25436         * configure.in (configdirs):  Remove gdb.t31 until the chill
25437         compiler works again.  It no longer is able to find chillrt0
25438         since it isn't in libchill.a anymore.
25439         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
25440         wierd.o, make more modular.
25441         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
25442         spurious newlines that caused problems.
25443
25444 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25445
25446         * Move test with enums and partial symbols from gdb.t03/ptype.exp
25447         to gdb.stabs/wierd.exp since GCC has worked around the bug.
25448         gdb.stabs/wierd.{exp,def}: Many new tests.
25449
25450         * gdb.t00/default.exp: update info line for new message.
25451
25452         * gdb.t02/{whatis.exp,gdbme.c}:
25453         Test that "char *" doesn't print as "caddr_t".
25454
25455 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25456
25457         * gdb.t00/help.exp: Use .* in place of some help messages which
25458         just changed.
25459         gdb.t00/default.exp: Update "info frame" test for new message.
25460         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
25461         Remove some xfails
25462
25463 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25464
25465         * gdb.t03/{gdbme.c,ptype.exp}:
25466         Add tests for typedef'd struct and union without tags.
25467         Also check "whatis" on a variable of a typedef'd enum without a tag.
25468
25469         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
25470         PRMS 1823; the bug still exists but isn't reproduced by this test
25471         anymore), and remove rs6000 XFAIL (the bug is fixed).
25472
25473         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
25474         duplicated from whatis.exp.  For those that are left, accept
25475         "long", "long int", or "int" for long variables (whatis.exp already
25476         has an XFAIL for "int", so no need to fail it here).
25477
25478         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
25479         Deal with GCC's names for types now that GDB uses the compiler's names.
25480
25481         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
25482         setup_xfail's for sunos4.  If we #defined the signed keyword away,
25483         don't expect GDB to know that char it is signed.
25484
25485         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
25486
25487 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
25488
25489         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
25490         should work on any system, regardless of debugging format.
25491         * gdb.t21/demangle.exp:  Move to gdb.t24.
25492         * gdb.t24/demangle.exp:  Move from gdb.t21.
25493         * gdb.t24/{Makefile.in, configure.in}:  New files.
25494
25495 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25496
25497         * configure.in: Do gdb.stabs and C++ tests only for stabs.
25498         * gdb.stabs: New directory.
25499
25500 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25501
25502         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
25503         not just "Quit anyway?".
25504
25505 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
25506
25507         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
25508         that all setup_xfails are immediately followed by clear_xfails.
25509
25510 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
25511
25512         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
25513         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
25514         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
25515         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
25516         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
25517         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25518         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25519         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
25520         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
25521         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
25522         gdb.t31/chillvars.exp, lib/gdb.exp:
25523         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
25524         bug-gdb@prep.ai.mit.edu.
25525
25526 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
25527
25528         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
25529         with 0.0, not integer 0.
25530
25531 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
25532
25533         * gdb.t06/break.exp: Update for "Kill the program" message change.
25534
25535 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
25536
25537         * Makefile.in (GDBFLAGS):  Set to -nx.
25538         * Makefile.in (site.exp):  Use GDBFLAGS.
25539
25540 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
25541
25542         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
25543           Makefiles.
25544           (check): depend on just-check.
25545           (just-check): added so that tests can be run without a noop
25546           build pass.
25547
25548 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
25549
25550         Switch to using configure's configdirs.
25551         * Makefile.in (Makefile): add configure.in dependency.
25552           (SUBDIRS): removed redundant assignment.
25553         * configure.in: switch subdirs assignment to configdirs.
25554         * gdb.t*/configure.in: new files.
25555
25556 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
25557
25558         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
25559         works.
25560
25561 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
25562
25563         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
25564         in explicit rules.  Apparently this is not supported by some makes.
25565
25566 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
25567
25568         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
25569
25570 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25571
25572         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
25573         disappeared.
25574
25575 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
25576
25577         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
25578
25579 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
25580
25581         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
25582         watchpoint problem that is now fixed.
25583         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
25584         uninitialized convenience variables.
25585         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
25586         structures.
25587
25588 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25589
25590         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
25591         which causes expect to get out of sync with gdb on long output
25592         from help set.
25593         * gdb.t09/corefile.exp: Make expected pattern for core file
25594         failing signal and frame output format less sun specific.
25595
25596 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
25597
25598         * gdb.t31/chillvars.exp:  Add and remove initial dummy
25599         breakpoint, so that symbol table is forced in.
25600         (Needed at least on Sunos4, though it seems not SVR4.)
25601         * gdb.t31/chillvars.exp:  Update for changed output format.
25602
25603 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
25604
25605         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
25606
25607 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
25608
25609         * Makefile.in: Added --srcdir when invoking runtest, removed the
25610         need for a local config file. (optional now)
25611
25612 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
25613
25614         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
25615         failure count used to force early termination.  Add some more
25616         expected failures for gnu style demangling.
25617
25618 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25619
25620         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
25621         pmi variable from gdb.t20/gdbme to get optimized away.
25622         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
25623         Check for written corefile upon timeout _and_ eof.
25624
25625 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25626
25627         * config/unix-gdb.exp:  Add missing return 0.
25628
25629 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25630
25631         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
25632         test termination.
25633
25634 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
25635
25636         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
25637         disappeared.
25638
25639 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
25640
25641         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
25642         time as i860 support works.
25643
25644         * gdb.t15/funcargs.exp:  Fix expected outputs to include
25645         "backtrace 100\r" rather than just "backtrace\r", to match last
25646         change.
25647
25648 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
25649
25650         * config/udi-gdb.exp (gdb_exit): Remove close command.
25651         (gdb_target_udi): New procedure to set the UDI target.
25652         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
25653         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
25654         Added waits for prompts after several question responses.  Added
25655         some more responses used by a29k-amd-udi-gdb.
25656         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
25657         pass different arguments, restart UDI connection after program
25658         completion.
25659         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
25660         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25661         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
25662         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
25663         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
25664         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
25665         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25666         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
25667         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
25668         after program completion.
25669         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
25670         compiled with a SELECT_VECS setting.
25671         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
25672         infinite recursion.
25673
25674         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
25675         Added checks for COFF results, and made them expected failures for
25676         all targets.  It would be better to make them expected failures
25677         for COFF targets only.
25678
25679 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
25680
25681         * Makefile.in: add null dvi target, don't bother to recurse
25682         through test directories for info and install-info; rename
25683         $(datadir) to be dejagnu instead of deja-gnu
25684
25685 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
25686
25687         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
25688         compiler to coredump.
25689         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
25690         code.
25691
25692 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
25693
25694         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
25695         coredump.
25696         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
25697         code.
25698
25699 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
25700
25701         * gdb.t03/ptype.exp: tests for return code from gdb_test.
25702         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
25703         which in a shell. Deletes xgdb when done.
25704         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
25705         Tests the return from the "set height" or "set width" commands.
25706         Added a few return codes where needed.
25707
25708 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
25709
25710         * Makefile.in (SUBDIRS):  Add gdb.t17.
25711         * configure.in (subdirs):  Add gdb.t17.
25712         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
25713         files to test gdb's calling of functions in the inferior with
25714         the correct arguments and gdb's ability to retrieve any
25715         result returned.
25716
25717 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
25718
25719         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
25720         may be called after gdb goes away.  Previous versions of expect
25721         needed these to avoid file descriptor leaks, but they cause
25722         errors with the current revision of expect.
25723         * gdb.t00/gdbvars.exp:  Use -re on expected output after
25724         setting sevenbit-strings.
25725         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
25726         to set sevenbit-strings consistent across tests.
25727         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
25728         set sevenbit-strings consistent across tests.
25729
25730 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
25731
25732         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
25733         expected output to match current "expect" expectations.
25734
25735 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
25736
25737         * gdb.t00/default.exp:  Change expected output for default "source"
25738         command, to match new gdb behavior which requires a filename to
25739         source.
25740
25741 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
25742
25743         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
25744         expected fail for i486-*-* that misses the marker2 function.
25745         * gdb.t10/crossload.exp (bfddefault):  Allow successful
25746         recognition of a format to pass even if no symbols are found.
25747         Explicitly catch failures where the format is not recognized
25748         or is ambiguous, and add the reason to the fail message.
25749         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
25750         the cause is and invalid target and add reason to failure message.
25751         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
25752         elf32-i386, elf32-sparc, and elf32-i860.
25753         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
25754         Set up expected failure for 'filename'::variable scope resolution,
25755         which is now apparently broken on all targets.
25756         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
25757         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
25758         gdb.t23/templates.exp:   Change failure for missing binfile into
25759         just a warning.
25760         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
25761         references.
25762
25763 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
25764
25765         * gdb.t00/default.exp:  Add expected output for default "source"
25766         command, to match new gdb behavior.
25767         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
25768
25769 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
25770
25771         * config/*-gdb.exp: returns an error, rather than exiting on
25772         internal errors.
25773
25774 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
25775
25776         * gdb.t03/gdbme.c:  Add pointer to struct variable.
25777         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
25778         referencing struct members.
25779
25780 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
25781
25782         * configure.in (mips-idt-ecoff): New target.
25783         * config/mips-gdb.exp: New file for remote board using MIPS remote
25784         debugging protocol.
25785
25786         * Redid configuration scheme.  Removed gdb.t*/configure.in.
25787         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
25788         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
25789         distclean targets.  Built executables via .o files.  Adjusted
25790         tests to account for source files in $(srcdir) rather than
25791         $(objdir).
25792         * lib/gdb.exp (runto): Don't expect () after the function name,
25793         because it may have arguments.
25794
25795 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
25796
25797         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
25798         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
25799         expected failures for mips-idt-* and mips-sgi-*.
25800         * gdb.t00/default.exp (attach): Kill process if requested.
25801         * gdb.t00/help.exp (help target core, help target): Accept a gdb
25802         that does not read core files.
25803         * gdb.t01/run.exp: Removed checks for exit status code.
25804         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
25805         it is linked in.
25806         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
25807         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
25808         appropriate, rather than doing it by hand.
25809         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
25810         execution.
25811         * gdb.t10/crossload.exp: Kill existing program if needed.
25812         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
25813         appropriate, rather than doing it by hand.  Always increase
25814         timeout for this test, not just for VxWorks.
25815
25816 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
25817
25818         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
25819         of Chill STRUCT types and STRUCT values.
25820         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
25821         than "char".
25822         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
25823         struct2):  New struct definitions and initializations to test
25824         simple Chill STRUCT types.
25825
25826 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
25827
25828         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
25829         the null byte at the end of strings.
25830         * gdb.t00/default.exp:  Make show version insensitive to copyright
25831         date.
25832         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
25833         to avoid dependencies on target char signedness.
25834         * gdb.t16/printcmds.exp:  Update expected results for explicitly
25835         unsigned char.
25836         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
25837         now work.
25838         * gdb.t21/demangle.exp:  Add many more patterns for template
25839         demangling, most of them being expected failures.
25840         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
25841         string we are matching for, to match on the whole string.
25842         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
25843         and fix a whole bunch that had incorrect expected output but were
25844         passing anyway because of the bug in "proc demangle".
25845         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
25846         type.
25847         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
25848
25849 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
25850
25851         * gdb/testsuite: made modifications to testcases, etc., to allow
25852         them to work properly  given the reorganization of deja-gnu and the
25853         relocation of the testcases from deja-gnu to a "tool" subdirectory.
25854
25855 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
25856
25857         * gdb/testsuite: Initial creation of gdb/testsuite.
25858         Migrated dejagnu testcases and support files for testing nm to
25859         gdb/testsuite from deja-gnu.  These files were moved "as is"
25860         with no modifications.  This migration is part of a major overhaul
25861         of dejagnu.  The modifications to these testcases, etc., which
25862         will allow them to work with the new version of dejagnu will be
25863         made in a future update.
25864
25865  For additional changes see gdb.mi/ChangeLog-1999-2003.
25866 \f
25867 ;; Local Variables:
25868 ;; mode: change-log
25869 ;; left-margin: 8
25870 ;; fill-column: 74
25871 ;; version-control: never
25872 ;; End:
25873
25874     Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
25875     2003, 2004, 2005 Free Software Foundation, Inc.
25876   Copying and distribution of this file, with or without modification,
25877   are permitted provided the copyright notice and this notice are preserved.