gdb/doc/
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
2             Doug Evans  <dje@google.com>
3
4         * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
5         (clean_restart): Remove references to the gdb_stub target board
6         variable.
7         (gdb_step_for_stub): Delete.
8
9         * gdb.base/annota1.exp: Remove all references to [target_info
10         exists gdb_stub], gdb_step_for_stub and usestubs.
11         * gdb.base/annota3.exp: Ditto.
12         * gdb.base/async.exp: Ditto.
13         * gdb.base/break.exp: Ditto.
14         * gdb.base/code-expr.exp: Ditto.
15         * gdb.base/commands.exp: Ditto.
16         * gdb.base/completion.exp: Ditto.
17         * gdb.base/condbreak.exp: Ditto.
18         * gdb.base/consecutive.exp: Ditto.
19         * gdb.base/cvexpr.exp: Ditto.
20         * gdb.base/define.exp: Ditto.
21         * gdb.base/display.exp: Ditto.
22         * gdb.base/ena-dis-br.exp: Ditto.
23         * gdb.base/environ.exp: Ditto.
24         * gdb.base/gnu-ifunc.exp: Ditto.
25         * gdb.base/maint.exp: Ditto.
26         * gdb.base/pending.exp: Ditto.
27         * gdb.base/sect-cmd.exp: Ditto.
28         * gdb.base/sepdebug.exp: Ditto.
29         * gdb.base/unload.exp: Ditto.
30         * gdb.base/watchpoint-solib.exp: Ditto.
31         * gdb.cp/annota2.exp: Ditto.
32         * gdb.cp/annota3.exp: Ditto.
33         * gdb.dwarf2/dw2-inline-param.exp: Ditto.
34         * gdb.hp/gdb.compat/xdb1.exp: Ditto.
35         * gdb.mi/mi-pending.exp: Ditto.
36         * gdb.trace/circ.exp: Ditto.
37         * gdb.cp/ovldbreak.exp: Ditto.  Adjust expected line numbers.
38         * gdb.base/list.exp: Ditto.
39
40         * gdb.base/all-types.c: Remove all calls to set_debug_traps and
41         breakpoint function and all references to the usestubs macro.
42         * gdb.base/exprs.c: Ditto.
43         * gdb.base/freebpcmd.c: Ditto.
44         * gdb.base/bitfields.c: Ditto.
45         * gdb.base/bitfields2.c: Ditto.
46         * gdb.base/break.c: Ditto.
47         * gdb.base/call-sc.c: Ditto.
48         * gdb.base/call-signals.c: Ditto.
49         * gdb.base/callfuncs.c: Ditto.
50         * gdb.base/charset.c: Ditto.
51         * gdb.base/consecutive.c: Ditto.
52         * gdb.base/constvars.c: Ditto.
53         * gdb.base/funcargs.c: Ditto.
54         * gdb.base/int-type.c: Ditto.
55         * gdb.base/interrupt.c: Ditto.
56         * gdb.base/langs0.c: Ditto.
57         * gdb.base/list0.c: Ditto.
58         * gdb.base/mips_pro.c: Ditto.
59         * gdb.base/miscexprs.c: Ditto.
60         * gdb.base/nodebug.c: Ditto.
61         * gdb.base/opaque0.c: Ditto.
62         * gdb.base/pointers.c: Ditto.
63         * gdb.base/printcmds.c: Ditto.
64         * gdb.base/ptype.c: Ditto.
65         * gdb.base/recurse.c: Ditto.
66         * gdb.base/reread1.c: Ditto.
67         * gdb.base/reread2.c: Ditto.
68         * gdb.base/restore.c: Ditto.
69         * gdb.base/return.c: Ditto.
70         * gdb.base/run.c: Ditto.
71         * gdb.base/scope0.c: Ditto.
72         * gdb.base/sepdebug.c: Ditto.
73         * gdb.base/setshow.c: Ditto.
74         * gdb.base/setvar.c: Ditto.
75         * gdb.base/sigall.c: Ditto.
76         * gdb.base/signals.c: Ditto.
77         * gdb.base/structs.c: Ditto.
78         * gdb.base/structs2.c: Ditto.
79         * gdb.base/testenv.c: Ditto.
80         * gdb.base/twice.c: Ditto.
81         * gdb.base/unwindonsignal.c: Ditto.
82         * gdb.base/watchpoint.c: Ditto.
83         * gdb.base/watchpoints.c: Ditto.
84         * gdb.base/whatis.c: Ditto.
85         * gdb.cp/classes.cc: Ditto.
86         * gdb.cp/cplusfuncs.cc: Ditto.
87         * gdb.cp/derivation.cc: Ditto.
88         * gdb.cp/formatted-ref.cc: Ditto.
89         * gdb.cp/misc.cc: Ditto.
90         * gdb.cp/overload.cc: Ditto.
91         * gdb.cp/ovldbreak.cc: Ditto.
92         * gdb.cp/ref-params.cc: Ditto.
93         * gdb.cp/ref-types.cc: Ditto.
94         * gdb.cp/templates.cc: Ditto.
95         * gdb.cp/virtfunc.cc: Ditto.
96         * gdb.hp/gdb.aCC/run.c: Ditto.
97         * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
98         * gdb.hp/gdb.compat/xdb0.c: Ditto.
99         * gdb.reverse/consecutive-reverse.c: Ditto.
100         * gdb.reverse/sigall-reverse.c: Ditto.
101         * gdb.reverse/until-reverse.c: Ditto.
102         * gdb.reverse/watch-reverse.c: Ditto.
103         * gdb.trace/actions.c: Ditto.
104         * gdb.trace/circ.c: Ditto.
105         * gdb.trace/collection.c: Ditto.
106
107 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
108
109         * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
110         (func6, func7): New.
111         (main): Call func6 and func7.
112         * gdb.base/watchpoint.exp (test_wide_location_1)
113         (test_wide_location_2): New.
114         (top level): Re-enable hardware watchpoints if necessary.  Call
115         test_wide_location_1 and test_wide_location_2.
116
117 2011-12-11  Yao Qi  <yao@codesourcery.com>
118
119         * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
120
121 2011-12-11  Joel Brobecker  <brobecker@adacore.com>
122
123         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
124         expected output for unsupported case.
125
126 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
127
128         PR testsuite/12649
129         * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
130         Protect gdb_test_multiple by final $gdb_prompt match.
131
132 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
133
134         * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
135         New variable, new test.
136         (list static-method.cc:xxx::(anonymous namespace)::A::func)
137         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
138         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
139         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
140         them if HAVE_GCC_45682_FIXED is not set.
141
142 2011-12-10  Yao Qi  <yao@codesourcery.com>
143
144         * gdb.trace/status-stop.exp: New.
145         * gdb.trace/status-stop.c: New.
146
147 2011-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
148
149         * gdb.reverse/until-precsave.exp (run to end of main) Extend the
150         timeout.
151
152 2011-12-08  Tom Tromey  <tromey@redhat.com>
153
154         * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
155         condition.
156
157 2011-12-07  Stan Shebs  <stan@codesourcery.com>
158
159         * gdb.trace/tfind.exp: Update for output changes.
160
161 2011-12-07  Pedro Alves  <pedro@codesourcery.com>
162
163         * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
164         throws "Cannot insert catchpoints in this configuration".
165         * gdb.ada/mi_catch_ex.exp: Likewise.
166
167 2011-12-06  Pedro Alves  <pedro@codesourcery.com>
168
169         * gdb.base/break-always.exp: Test changing memory at addresses
170         with breakpoints inserted.
171
172 2011-12-06  Joel Brobecker  <brobecker@acacore.com>
173
174         * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
175         involving a fully qualified function name.
176
177 2011-12-06  Tom Tromey  <tromey@redhat.com>
178
179         * gdb.ada/homonym.exp: Add three breakpoint tests.
180
181 2011-12-06  Tom Tromey  <tromey@redhat.com>
182
183         * gdb.base/solib-weak.exp (do_test): Remove kfail.
184         * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
185         * gdb.objc/objcdecode.exp: Update for output changes.
186         * gdb.linespec/linespec.exp: New file.
187         * gdb.linespec/lspec.cc: New file.
188         * gdb.linespec/lspec.h: New file.
189         * gdb.linespec/body.h: New file.
190         * gdb.linespec/base/two/thefile.cc: New file.
191         * gdb.linespec/base/one/thefile.cc: New file.
192         * gdb.linespec/Makefile.in: New file.
193         * gdb.cp/templates.exp (test_template_breakpoints): Update for
194         output changes.
195         * gdb.cp/re-set-overloaded.exp: Remove kfail.
196         * gdb.cp/ovldbreak.exp: Update for output changes.  "all" test now
197         makes one breakpoint.
198         * gdb.cp/method2.exp (test_break): Update for output changes.
199         * gdb.cp/mb-templates.exp: Update for output changes.
200         * gdb.cp/mb-inline.exp: Update for output changes.
201         * gdb.cp/mb-ctor.exp: Update for output changes.
202         * gdb.cp/ovsrch.exp: Use fully-qualified names.
203         * gdb.base/solib-symbol.exp: Run to main later.  Breakpoint now
204         has multiple matches.
205         * gdb.base/sepdebug.exp: Disable pending breakpoints.  Update for
206         error message change.
207         * gdb.base/list.exp (test_list_filename_and_number): Update for
208         error message change.
209         * gdb.base/break.exp: Disable pending breakpoints.  Update for
210         output changes.
211         * configure.ac: Add gdb.linespec.
212         * configure: Rebuild.
213         * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
214
215 2011-12-06  Ulrich Weigand  <uweigand@de.ibm.com>
216
217         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
218         last_break register on s390*-*-* targets.
219
220 2011-12-06  Joel Brobecker  <brobecker@adacore.com>
221
222         * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
223         * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
224         of parameter X in procedure Foo.
225
226 2011-12-05  Stan Shebs  <stan@codesourcery.com>
227
228         * gdb.trace/tfind.exp: Update help string matches.
229
230 2011-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
231
232         * gdb.server/ext-run.exp (get process list): Accept also systemd
233         as PID 1.
234
235 2011-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
236             Pedro Alves  <pedro@codesourcery.com>
237
238         * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
239         starting GDB.
240         * gdb.base/default.exp: Replace target use_gdb_stub checks by global
241         $use_gdb_stub.
242         * gdb.base/display.exp: Likewise.
243         * gdb.base/ending-run.exp: Likewise.
244         * gdb.base/list.exp (test_listsize): Likewise.
245         * gdb.base/setshow.exp: Likewise.
246         * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
247         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
248         check by global $use_gdb_stub.
249         (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
250         (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
251         (default_gdb_init): Unset global $use_gdb_stub.
252         (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
253         by global $use_gdb_stub.
254         * lib/gdbserver-support.exp: Extend comments for set_board_info
255         gdb_protocol and gdb,socketport.
256         (gdbserver_start_extended): Set global gdbserver_protocol and
257         gdbserver_gdbport.  Clear global use_gdb_stub.
258         * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
259         from target use_gdb_stub.
260         (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
261
262 2011-12-03  Doug Evans  <dje@google.com>
263
264         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
265         (gdb_step_for_stub): Add comments.
266
267 2011-12-02  Maciej W. Rozycki  <macro@codesourcery.com>
268
269         * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
270         to the caller.
271         (gdb_test_multiple): Likewise.
272
273 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
274
275         Fix gdb.mi/mi-solib.exp without system debug info installed.
276         * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
277         expect attribute, return 0 for it.  Update comments.
278
279 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
280
281         * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
282         (corrupted list): Adjust the expectation.
283
284 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
285
286         PR threads/13448
287         * gdb.dwarf2/dw2-var-zero-addr.S: New file.
288         * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
289         * gdb.threads/tls-var-main.c: New file.
290         * gdb.threads/tls-var.c: New file.
291         * gdb.threads/tls-var.exp: New file.
292
293 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
294
295         PR testsuite/12649
296         * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
297         Protect gdb_test_multiple by final $gdb_prompt match.
298         * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
299         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
300         (test_tracepoints): Likewise.
301
302 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
303
304         PR breakpoints/13346
305         * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
306         * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
307         * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
308
309 2011-12-01  Joel Brobecker  <brobecker@adacore.com>
310
311         * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
312         * gdb.ada/homonym/homonym.adb: For use of all types defined
313         locally inside both Get_Value subprograms.
314
315 2011-12-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
316
317         Fix racy FAILs.
318         * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
319         of send_gdb.
320
321 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
322
323         * gdb.base/testenv.exp: Skip on remote targets.  Unset global
324         environment variable after test completed.
325
326 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
327
328         * gdb.base/solib-nodir.exp: Skip if remote target.
329         * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
330         application.  Call gdb_load_shlibs.
331         * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
332
333 2011-11-29  Joel Brobecker  <brobecker@adacore.com>
334
335         * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
336
337 2011-11-28  Joel Brobecker  <brobecker@adacore.com>
338
339         * gdb.ada/fullname_bp: New testcase.
340
341 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
342
343         PR testsuite/12649
344         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
345         Wrap send_gdb into a new gdb_test.
346
347         Code cleanup.
348         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
349         Convert send_gdb and gdb_expect to gdb_test_multiple.
350
351 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
352
353         * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
354
355 2011-11-23  Keith Seitz  <keiths@redhat.com>
356
357         * lib/mi-support.exp (varobj_tree): New namespace and procs.
358         (mi_varobj_tree_test_children_callback): New proc.
359         (mi_walk_varobj_tree): New proc.
360
361 2011-11-22  Tom Tromey  <tromey@redhat.com>
362
363         * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
364         Add "use_mi_command" argument.
365         (mi_run_cmd, mi_run_with_cli): New procs.
366         * gdb.mi/solib-lib.c: New file.
367         * gdb.mi/solib-main.c: New file.
368         * gdb.mi/mi-solib.exp: New file.
369
370 2011-11-21  Doug Evans  <dje@google.com>
371
372         * gdb.cp/nextoverthrow.exp: Skip test if debug info for
373         _Unwind_DebugHook is missing.
374
375 2011-11-20  Stan Shebs  <stan@codesourcery.com>
376
377         * gdb.trace/tstatus.exp: New.
378         * gdb.trace/actions.c: Include string.h.
379
380 2011-11-18  Yao Qi  <yao@codesourcery.com>
381
382         * gdb.trace/pending.exp: New.
383         * gdb.trace/pending.c: New.
384         * gdb.trace/pendshr1.c: New.
385         * gdb.trace/pendshr2.c: New.
386         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
387         tracepoint location becomes pending.
388         (tracepoint_change_loc_2): New.
389
390 2011-11-16  David S. Miller  <davem@davemloft.net>
391
392         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
393         target is sparc*-*-linux*
394
395 2011-11-15  Paul Koning  <paul_koning@dell.com>
396
397         * gdb.python/py-type.exp: New testcases for exceptions on scalar
398         types.
399
400 2011-11-14  Doug Evans  <dje@google.com>
401
402         * gdb.base/shell.exp: New file.
403
404 2011-11-14  Stan Shebs  <stan@codesourcery.com>
405
406         * gdb.trace/ftrace.c: New.
407         * gdb.trace/ftrace.exp: New.
408
409 2011-11-14  Yao Qi  <yao@codesourcery.com>
410
411         * gdb.trace/change-loc-1.c: New.
412         * gdb.trace/change-loc-2.c: New.
413         * gdb.trace/change-loc.c: New.
414         * gdb.trace/change-loc.exp:  New.
415         * gdb.trace/change-loc.h:  New.
416         * gdb.trace/trace-break.c (marker): Define new symbol.
417         * gdb.trace/trace-break.exp (break_trace_same_addr_5):
418         New.
419         (break_trace_same_addr_6): New.
420
421 2011-11-12  Matt Rice  <ratmice@gmail.com>
422
423         * gdb.base/info-macros.exp: Make tests for info definitions
424         test info macro.  Add tests for info macro argument processing.
425         Rename a few tests.
426
427 2011-11-11  Keith Seitz  <keiths@redhat.com>
428
429         PR gdb/12843
430         * gdb.base/linespecs.exp: New file.
431
432 2011-11-11  Doug Evans  <dje@google.com>
433
434         * gdb.threads/print-threads.exp: Extend timeout for slower
435         tests.
436
437 2011-11-10  Doug Evans  <dje@google.com>
438
439         * gdb.reverse/i387-env-reverse.exp: Extend timeout of
440         "record to end of main" test.
441
442         * gdb.python/py-type.c (TS): New typedef.
443         (ts): New global.
444         * gdb.python/py-type.exp: Test field list of typedef.
445
446 2011-11-10  Joel Brobecker  <brobecker@adacore.com>
447
448         * gdb.ada/small_reg_param: New testcase.
449
450 2011-11-09  Tom Tromey  <tromey@redhat.com>
451
452         * gdb.cp/destrprint.exp: New file.
453         * gdb.cp/destrprint.cc: New file.
454
455 2011-11-08  Meador Inge  <meadori@codesourcery.com>
456
457         * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
458         (switch_stack_to_other): New test function.
459         * gdb.arch/thumb-prologue.exp: New test cases.
460
461 2011-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
462
463         * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
464
465 2011-11-08  Yao Qi  <yao@codesourcery.com>
466
467         * gdb.exp (supports_process_record): New.
468         (supports_reverse): New.
469         * gdb.reverse/break-precsave.exp: Call support_process_record
470         to run test conditionally.
471         * gdb.reverse/consecutive-precsave.exp: Likewise.
472         * gdb.reverse/i386-precsave.exp: Likewise.
473         * gdb.reverse/machinestate-precsave.exp: Likewise.
474         * gdb.reverse/solib-precsave.exp: Likewise.
475         * gdb.reverse/step-precsave.exp: Likewise.
476         * gdb.reverse/until-precsave.exp: Likewise.
477         * gdb.reverse/watch-precsave.exp: Likewise.
478         * gdb.reverse/break-reverse.exp: Call support_reverse  to run
479         test conditionally.
480         * gdb.reverse/consecutive-reverse.exp: Likewise.
481         * gdb.reverse/finish-precsave.exp: Likewise.
482         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
483         * gdb.reverse/finish-reverse.exp: Likewise.
484         * gdb.reverse/i386-reverse.exp: Likewise.
485         * gdb.reverse/i386-sse-reverse.exp: Likewise.
486         * gdb.reverse/machinestate.exp: Likewise.
487         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
488         * gdb.reverse/sigall-precsave.exp: Likewise.
489         * gdb.reverse/sigall-reverse.exp: Likewise.
490         * gdb.reverse/solib-reverse.exp: Likewise.
491         * gdb.reverse/step-reverse.exp: Likewise.
492         * gdb.reverse/until-reverse.exp: Likewise.
493         * gdb.reverse/watch-reverse.exp: Likewise.
494
495 2011-11-05  Yao Qi  <yao@codesourcery.com>
496
497         * gdb.trace/trace-break.exp: Add test on setting two
498         fast tracepoints at the same address.
499
500 2011-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
501
502         * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
503
504 2011-11-02  Stan Shebs  <stan@codesourcery.com>
505
506         * gdb.trace/collection.c: Add code using strings.
507         * gdb.trace/collection.exp: Add tests of string collection.
508
509 2011-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
510
511         * gdb.base/skip-solib.exp (executable_main): New variable.
512         (binfile_main): Base it on that.
513         Use $executable_main in clean_restart calls.  Drop gdb_exit and
514         gdb_start calls.
515
516 2011-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
517
518         Fix racy FAILs.
519         * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
520         breakpoint_re globals import by async.  Set string_regex to .* for
521         async.  Remove the optional thread_selected_re and breakpoint_re
522         globals expectations.
523
524 2011-11-01  Joseph Myers  <joseph@codesourcery.com>
525
526         * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
527         well as Cygwin.
528
529 2011-11-01  Justin Lebar <justin.lebar@gmail.com>
530
531         Add tests for skip command.
532         * gdb.base/skip-solib-lib.c: New
533         * gdb.base/skip-solib-main.c: New
534         * gdb.base/skip-solib.exp: New
535         * gdb.base/skip.c: New
536         * gdb.base/skip.exp: New
537         * gdb.base/skip1.c: New
538         * gdb.base/Makefile.in: Adding new files.
539
540 2011-10-31  Yao Qi  <yao@codesourcery.com>
541             Pedro Alves  <pedro@codesourcery.com>
542
543         * gdb.trace/trace-break.c: New.
544         * gdb.trace/trace-break.exp: New.
545
546 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
547
548         * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
549         break-here-2.
550
551 2011-10-28  Pedro Alves  <pedro@codesourcery.com>
552
553         * gdb.threads/no-unwaited-for-left.c: New.
554         * gdb.threads/no-unwaited-for-left.exp: New.
555         * gdb.threads/non-ldr-exc-1.c: New.
556         * gdb.threads/non-ldr-exc-1.exp: New.
557         * gdb.threads/non-ldr-exc-2.c: New.
558         * gdb.threads/non-ldr-exc-2.exp: New.
559         * gdb.threads/non-ldr-exc-3.c: New.
560         * gdb.threads/non-ldr-exc-3.exp: New.
561         * gdb.threads/non-ldr-exc-4.c: New.
562         * gdb.threads/non-ldr-exc-4.exp: New.
563
564 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
565
566         * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
567         * gdb.base/attach-pie-misread.exp: Likewise.
568         * gdb.base/break-interp.exp: Likewise.
569         * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
570         testcases for use_gdb_stub.
571         * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
572         (continue): New testcase.
573         * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
574         * gdb.threads/attach-into-signal.exp: Likewise.
575         * gdb.threads/attach-stopped.exp: Likewise.
576         * gdb.threads/attachstop-mt.exp: Likewise.
577
578 2011-10-28  Paul Koning  <paul_koning@dell.com>
579
580         * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
581
582 2011-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
583
584         * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
585         (mi_gdb_test): Import globals thread_selected_re
586         and breakpoint_re.  Expect them optionally at the regex start.
587
588 2011-10-27  Doug Evans  <dje@google.com>
589
590         * gdb.python/python.exp: Test source -s.
591
592 2011-10-26  Paul Koning  <paul_koning@dell.com>
593
594         * gdb.python/lib-types.cc (struct A): New structure.
595         * gdb.python/lib-types.exp (deepitems): New tests.
596
597 2011-10-25  Paul Koning  <paul_koning@dell.com>
598
599         PR python/13327
600
601         * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
602         fetch_lazy method.
603
604 2011-10-24  Yao Qi  <yao@codesourcery.com>
605
606         * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
607         target is tic6x-*-*.
608
609 2011-10-21  Joel Brobecker  <brobecker@adacore.com>
610
611         * gdb.ada/mi_task_info/task_switch.adb: New file.
612         * gdb.ada/mi_task_info.exp: New file.
613
614 2011-10-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
615
616         * gdb.cp/expand-psymtabs-cxx.exp: New file.
617         * gdb.cp/expand-psymtabs-cxx.cc: New file.
618
619 2011-10-20  Phil Muldoon  <pmuldoon@redhat.com>
620
621         PR python/12656
622
623         * gdb.python/py-block.exp: Add is_global, is_static, static_block,
624         global_block tests.
625
626 2011-10-18  Tom Tromey  <tromey@redhat.com>
627
628         * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
629
630 2011-10-18  Tom Tromey  <tromey@redhat.com>
631
632         * gdb.base/source.exp: Don't include full file name in test name.
633         * gdb.python/python.exp: Don't include full file name in test
634         name.
635
636 2011-10-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
637
638         * gdb.base/attach-pie-noexec.c: New files.
639         * gdb.base/attach-pie-noexec.exp: New files.
640
641 2011-10-17  Joseph Myers  <joseph@codesourcery.com>
642
643         * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
644         prompt for each extra line in command.
645
646 2011-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
647
648         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
649         Revert the part of:
650         2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
651         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
652         Change the expected string.
653
654 2011-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
655
656         Fix results with system glibc debug info installed.
657         * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
658         (continue to $syscall (2nd time), continue to $syscall (3rd time)):
659         Accept also __libc_ symbol prefix and no prefix.
660
661 2011-10-14  Keith Seitz  <keiths@redhat.com>
662
663         PR c++/13225
664         * gdb.cp/converts.cc (foo3_1): New function.
665         (foo3_2): New functions.
666         * gdb.cp/converts.exp: Add tests for int to pointer conversion
667         and null pointer conversions of integer constant zero.
668         Add test to check if all arguments are checked for incompatible
669         conversion BADNESS.
670
671 2011-10-14  Tom Tromey  <tromey@redhat.com>
672
673         * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
674         * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
675         linespec.
676
677 2011-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
678
679         Fix internal error regression.
680         * gdb.dwarf2/implptr-optimized-out.S: New file.
681         * gdb.dwarf2/implptr-optimized-out.exp: New file.
682
683 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
684
685         Fix empty DWARF expressions DATA vs. SIZE conditionals.
686         * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
687         (loclist): New.
688         (4): New abbrev.
689         * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
690         Use prepare_for_testing, remove clean_restart.
691         (p arraynoloc, p arraycallnoloc): New tests.
692
693 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
694
695         * gdb.cp/namespace-enum.exp (executable): New variable.
696         (binfile): Use ${objdir}/${subdir}/ prefix.
697         Use ${executable} for clean_restart.
698
699 2011-10-11  Sterling Augustine  <saugustine@google.com>
700
701         * gdb.cp/Makefile.in: Add namespace-enum test.
702         * gdb.cp/namespace-enum.exp: New file.
703         * gdb.cp/namespace-enum.c: New file.
704         * gdb.cp/namespace-enum-main.c: New file.
705
706 2011-10-11  Ulrich Weigand  <ulrich.weigand@linaro.org>
707
708         * gdb.python/py-shared.exp: Relax filename check to handle remote:
709         sysroot.
710
711 2011-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
712
713         Reimplement @entry in input expressions.
714         * gdb.base/exprs.c (v_int_array_init): New variable.
715         * gdb.base/exprs.exp (print v_int_array_init)
716         (print *v_int_array_init@1, print *v_int_array_init@2)
717         (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
718         (print v_int_array_init[1]@1): New tests.
719
720 2011-10-10  Joseph Myers  <joseph@codesourcery.com>
721
722         * gdb.cp/gdb2495.exp: Do not include directories in filename in
723         expected message.
724
725 2011-10-09  Doug Evans  <dje@google.com>
726
727         * gdb.base/alias.exp: Add tests for alias command.
728
729 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
730
731         * gdb.arch/amd64-entry-value.s: New file.
732         * gdb.mi/mi2-amd64-entry-value.s: New file.
733
734 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
735
736         Display @entry parameter values even for references.
737         * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
738         functions.
739         (main): New variables regvar, nodatavarp, stackvar1, stackvar2.  Call
740         reference and datap_input.
741         * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
742         breakpoints.
743         (continue to breakpoint: entry_reference: reference)
744         (entry_reference: bt at entry)
745         (continue to breakpoint: entry_reference: breakhere_reference)
746         (entry_reference: bt, entry_reference: ptype regparam)
747         (entry_reference: p regparam, entry_reference: ptype regparam@entry)
748         (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
749         (entry_reference: p regcopy, entry_reference: p nodataparam)
750         (entry_reference: p nodataparam@entry): New tests.
751
752 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
753
754         Support @entry in input expressions.
755         * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
756         (entry_stack: p s1@entry, entry_stack: p s2@entry)
757         (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
758         (tailcall: p j@entry): New tests.
759         * gdb.cp/koenig.cc (A::entry): New function.
760         (main): Call it.
761         * gdb.cp/koenig.exp (p entry (c)): New test.
762
763 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
764
765         Display @entry parameter values (without references).
766         * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
767         (different, validity, invalid): New functions.
768         (main): Call them.
769         * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
770         stacktest, breakhere_stacktest, different, breakhere_different,
771         breakhere_validity and breakhere_invalid.
772         (entry: bt): Update for @entry.
773         (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
774         (entry_validity: *, entry_invalid: *): Many new tests.
775         * gdb.base/break.exp
776         (run until breakpoint set at small function, optimized file): Accept
777         also the @entry suffix.
778         * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
779         * gdb.mi/mi2-amd64-entry-value.c: New files.
780         * gdb.mi/mi2-amd64-entry-value.exp: New files.
781
782 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
783
784         Protect entry values against self tail calls.
785         * gdb.arch/amd64-entry-value.cc (self2, self): New.
786         (main): Call self.
787         * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
788         (set debug entry-values 1, self: bt debug entry-values): New tests.
789
790 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
791
792         Recognize virtual tail call frames.
793         * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
794         (amb_b, amb_a): New.
795         (main): Call a and b.
796         * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
797         (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
798         (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
799         New tests.
800
801 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
802
803         Implement basic support for DW_TAG_GNU_call_site.
804         * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
805         * gdb.arch/amd64-entry-value.cc: New file.
806         * gdb.arch/amd64-entry-value.exp: New file.
807
808 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
809
810         Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
811         * gdb.dwarf2/implptr-64bit.S: New file.
812         * gdb.dwarf2/implptr-64bit.exp: New file.
813
814 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
815
816         Fix initial language detection with -readnow.
817         * gdb.cp/readnow-language.cc: New file.
818         * gdb.cp/readnow-language.exp: New file.
819
820 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
821
822         Fix printed anonymous struct name.
823         * gdb.cp/anon-struct.exp (print type of X::t2): New test.
824
825 2011-10-09  Joseph Myers  <joseph@codesourcery.com>
826
827         * gdb.base/solib-symbol.exp: Do not include directories in
828         filenames in expected messages.
829
830 2011-10-07  Doug Evans  <dje@google.com>
831
832         * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
833
834 2011-10-07  Kevin Pouget  <kevin.pouget@st.com>
835
836         Allow Python notification of new object-file loadings.
837         * gdb.python/py-events.exp: Test newobjfile event.
838         * gdb.python/py-events.py: Register newobjfile callback.
839         * gdb.python/py-events.c: Add call to shared library
840         * gdb.python/py-events-shlib.c: New file.
841
842 2011-10-06  Joseph Myers  <joseph@codesourcery.com>
843
844         * gdb.base/fixsection.exp: Do not include directories in filename
845         in expected message.
846
847 2011-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
848
849         Add tests for passing of environment variables to inferior.
850         * gdb.base/testenv.c: New test source.
851         * gdb.base/testenv.exp: New expect test.
852
853 2011-10-04  Paul Koning  <paul_koning@dell.com>
854
855         * gdb.python/py-value.c (main): Break before return.
856
857 2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
858
859         PR python/12691: Add the inferior to Python exited event
860         * gdb.python/py-events.exp: Test the inferior attribute of exited
861         event with a fork.
862         * gdb.python/py-events.py: Print inferior number on exit.
863         * gdb.python/py-events.c: Fork the inferior.
864
865 2011-10-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
866
867         * gdb.base/jit.exp: Add testcase name to log message
868
869 2011-10-03  Paul Koning  <paul_koning@dell.com>
870             Jan Kratochvil  <jan.kratochvil@redhat.com>
871
872         * gdb.python/py-value.exp
873         (python inval = gdb.parse_and_eval('*(int*)0'))
874         (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
875         (set argc=2, python print argc_lazy): New tests.
876
877 2011-10-02  Joel Brobecker  <brobecker@adacore.com>
878
879         * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
880
881 2011-10-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
882             Pedro Alves  <pedro@codesourcery.com>
883
884         * gdb.python/py-value.exp (test_value_in_inferior): New variable
885         can_read_0, test for it.
886         (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
887         (parse_and_eval with memory error): ... here, make it untested if
888         can_read_0.
889
890 2011-09-30  Marek Polacek  <mpolacek@redhat.com>
891
892         * gdb.python/python.exp (verify pagination beforehand)
893         (verify pagination afterwards): Fix race by splitting the line.
894
895 2011-09-29  Joseph Myers  <joseph@codesourcery.com>
896
897         * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
898         for 64-bit multilibs from i?86-* targets.
899
900 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
901
902         * lib/gdb.exp: Fix a typo in one of the comments.
903
904 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
905
906         * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
907         matching pattern.
908
909 2011-09-28  Paul Koning  <paul_koning@dell.com>
910
911         * gdb.python/py-type.c (enum E): New.
912         * gdb.python/py-type.exp (test_fields): Add tests for Python
913         mapping access to fields.
914         (test_enums): New test for field access on enums.
915
916 2011-09-27  Stan Shebs  <stan@codesourcery.com>
917
918         * gdb.trace/collection.exp: Test collection of $_ret.
919
920 2011-09-22  Andreas Tobler  <andreast@fgznet.ch>
921
922         * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
923         list of compilation switches for <*-*-freebsd*>.
924
925 2011-09-19  Stan Shebs  <stan@codesourcery.com>
926
927         * gdb.trace/tspeed.exp: New file.
928         * gdb.trace/tspeed.c: New file.
929
930 2011-09-18  Yao Qi  <yao@codesourcery.com>
931
932         * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
933         instructions.
934         (test_adr_32bit, test_pop_pc): Likewise.
935         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
936         Thumb instructions.
937         * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
938         in gdb_test_multiple.
939         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
940
941 2011-09-17  Yao Qi  <yao@codesourcery.com>
942
943         * lib/gdb.exp (can_single_step_to_signal_handler): New.
944         * gdb.base/kill-after-signal.exp: Call it.  Skip if target doesn't
945         support single step to signal handler.
946
947 2011-09-17  Yao Qi  <yao@codesourcery.com>
948
949         * gdb.base/disp-step-fork.c: New.
950         * gdb.base/disp-step-syscall.exp: New.
951         * gdb.base/disp-step-vfork.c: New.
952
953 2011-09-16  Joel Brobecker  <brobecker@adacore.com>
954
955         * gdb.ada/tasks.exp: Make the expected output for
956         the `info tasks' tests more resilient to spacing
957         changes.
958
959 2011-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
960
961         * gdb.python/py-evthreads.exp (Run to breakpoint 1)
962         (reached breakpoint 2, reached breakpoint 3): Update expected output.
963
964 2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
965
966         PR Python/12692 Add gdb.selected_inferior() to Python interface.
967         * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
968
969 2011-04-30  Kevin Pouget  <kevin.pouget@st.com>
970
971         Handle multiple breakpoint hits in Python interface:
972         * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
973         presence.
974         * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
975         breakpoint hits.
976
977 2011-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
978             Jan Kratochvil  <jan.kratochvil@redhat.com>
979
980         * gdb.python/py-events.exp: Remove pretty printing comment.
981         * gdb.python/py-evsignal.exp: New file.
982         * gdb.python/py-evthreads.c: Include signal.h.
983         (thread3): Remove variable count3.  Remove variable bad and use raise
984         instead.
985         (thread2): Remove variable count2.  Move thread3 pthread_create here,
986         merge pthread_join to a single line.
987         (main): Remove variable count1.  Merge pthread_join with pthread_create
988         to a single line.
989         * gdb.python/py-evthreads.exp: Remove pretty printing comment.  New
990         KFAIL python/12966 for gdbserver.  Test return value of
991         gdb_compile_pthreads.  Use gdb_run_cmd.  Replace send_gdb and
992         gdb_expect by gdb_test and gdb_test_multiple.
993         (thread 2, thread 3): New tests.
994
995 2011-09-12  Matt Rice  <ratmice@gmail.com>
996             Pedro Alves  <pedro@codesourcery.com>
997
998         PR gdb/13175
999
1000         * gdb.base/interp.exp: New tests.
1001         * gdb.base/interp.c: New file.
1002
1003 2011-09-12  Doug Evans  <dje@google.com>
1004
1005         * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1006         * gdb.dwarf2/typeddwarf.exp: Ditto.
1007
1008 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1009
1010         Fix compatibility with x32 arch.
1011         * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1012         * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1013         is_x86_like_target.
1014         * testsuite/gdb.trace/collection.exp: Likewise.
1015         * testsuite/gdb.trace/report.exp: Likewise.
1016         * testsuite/gdb.trace/unavailable.exp: Likewise.
1017         * testsuite/gdb.trace/while-dyn.exp: Likewise.
1018         * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1019         (is_x86_like_target): Check also is_amd64_regs_target.
1020
1021 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1022
1023         PR breakpoints/12435
1024         * gdb.arch/amd64-prologue-xmm.c: New file.
1025         * gdb.arch/amd64-prologue-xmm.exp: New file.
1026         * gdb.arch/amd64-prologue-xmm.s: New file.
1027
1028 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1029
1030         * gdb.dwarf2/dw2-param-error-main.c: New file.
1031         * gdb.dwarf2/dw2-param-error.S: New file.
1032         * gdb.dwarf2/dw2-param-error.exp: New file.
1033
1034 2011-09-08  Pedro Alves  <pedro@codesourcery.com>
1035
1036         * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1037         inferior's pid and look for a core dump named core.$pid.  Use
1038         `remote_file' commands on the host instead of hand coding shell
1039         commands on the build.
1040         * gdb.base/valgrind-db-attach.exp: Kill the program before
1041         finishing the test.
1042
1043 2011-09-02  Matt Rice  <ratmice@gmail.com>
1044
1045         * lib/prompt.exp: New file for testing the first prompt.
1046         * gdb.python/py-prompt.exp: Ditto.
1047         * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1048
1049 2011-09-02  Pedro Alves  <pedro@codesourcery.com>
1050
1051         * gdb.threads/gcore-thread.exp: Set the global core_supported to
1052         0, before testing gcore.
1053
1054 2011-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1055
1056         * dw2-ifort-parameter-debug.S: Update copyright year.
1057         * dw2-ifort-parameter.c: Update copyright year.
1058         * dw2-ifort-parameter.exp: Update copyright year.
1059
1060         * dw2-ifort-parameter-debug.S: New file.
1061         * dw2-ifort-parameter.c: New file.
1062         * dw2-ifort-parameter.exp: New file.
1063
1064 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1065
1066         * gdb.base/commands.exp (error_clears_commands_left): New function.
1067         (): Call it.
1068
1069 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1070
1071         * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1072         (C): Initialize `a'.
1073         * gdb.mi/mi-inheritance-syntax-error.exp
1074         (-data-evaluate-expression $path):  Expect `a' as 5.
1075
1076 2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
1077
1078         PR mi/11912
1079         * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1080         * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1081         * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1082         keyword in output of -var-info-path-expression.
1083
1084 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1085
1086         * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1087         * gdb.trace/collection.exp: Likewise.
1088         * gdb.trace/report.exp: Likewise.
1089         * gdb.trace/unavailable.exp: Likewise.
1090         * gdb.trace/while-dyn.exp: Likewise.
1091
1092 2011-08-18  Keith Seitz  <keiths@redhat.com>
1093
1094         PR c++/12266
1095         * gdb.cp/meth-typedefs.cc: New file.
1096         * gdb.cp/meth-typedefs.exp: New file.
1097
1098 2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
1099
1100         * gdb.python/python.exp: Add extended-prompt tests.
1101
1102 2011-08-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1103
1104         * gdb.arch/i386-dr3-watch.exp
1105         (watchpoint on gap1 does not fit debug registers)
1106         (delete all watchpoints): Fix racy expect strings.
1107
1108 2011-08-14  Yao Qi  <yao@codesourcery.com>
1109
1110         * gdb.base/maint.exp: set data_section to ".neardata".
1111         * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1112         * gdb.base/savedregs.exp: Handle SIGILL.
1113         * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1114         * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1115
1116 2011-08-12  Doug Evans  <dje@google.com>
1117
1118         * gdb.python/py-symbol.exp: Add test for symbol.type.
1119
1120 2011-08-12  Ulrich Weigand  <ulrich.weigand@linaro.org>
1121
1122         * gdb.threads/pthreads.exp: Enable on non-native configurations.
1123         * gdb.mi/mi-pthreads.exp: Likewise.
1124         * gdb.mi/mi2-pthreads.exp: Likewise.
1125         * gdb.mi/gdb669.exp.exp: Likewise.
1126
1127 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
1128
1129         * lib/mi-support.exp (detect_async): Rename to...
1130         (mi_detect_async): ... this.
1131         * gdb.mi/mi-nonstop-exit.exp: Adjust.
1132         * gdb.mi/mi-nonstop.exp: Adjust.
1133         * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1134         * gdb.mi/mi-nsintrall.exp: Adjust.
1135         * gdb.mi/mi-nsmoribund.exp: Adjust.
1136         * gdb.mi/mi-nsthrexec.exp: Adjust.
1137
1138 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
1139
1140         * gdb.base/display.c (do_loops): New `p_i' local.
1141         * gdb.base/display.exp: Test displaying a variable that is
1142         temporarily at a bad address.
1143
1144 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1145
1146         * gdb.dwarf2/dw2-op-stack-value.S: New file.
1147         * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1148
1149 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1150
1151         * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
1152         * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1153         (p fuNC_symtab): Permit also ppc64 leading dot.
1154
1155 2011-08-05  Pedro Alves  <pedro@codesourcery.com>
1156
1157         * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1158         procedure.
1159         (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1160
1161 2011-08-05  Yao Qi  <yao@codesourcery.com>
1162
1163         * gdb.base/callfuncs.exp: Set language after main.
1164         * gdb.cp/cplusfuncs.exp: Likewise.
1165         * gdb.cp/inherit.exp: Likewise.
1166
1167 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
1168
1169         * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1170         * gdb.base/watch-vfork.exp: Skip on remote targets.
1171
1172 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
1173
1174         * gdb.threads/thread-find.exp: Support remote targets.
1175
1176 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
1177
1178         * gdb.base/jit.exp: Download solib_binfile to target.
1179         * gdb.base/jit-so.exp:  Likewise.  Also, use gdb_load_shlibs
1180         and call dlopen without full path name.
1181         * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1182         dlopen without full path name.
1183
1184 2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1185
1186         * gdb.base/break-always.exp: Complete the test
1187         with duplicated breakpoints and enabling/disabling them.
1188
1189 2011-08-02  Tom Tromey  <tromey@redhat.com>
1190
1191         PR gdb/11289:
1192         * gdb.cp/overload.exp: Fix regexps.  Remove kfails.
1193
1194 2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
1195
1196         PR gdb/13045
1197         * gdb.base/float.exp: Add new test case for PR gdb/13045
1198         * gdb.base/float.c: New file.
1199
1200 2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
1201
1202         * gdb.python/py-mi.exp: Test printers returning string hint, and
1203         also not returning a value.
1204         * gdb.python/py-prettyprint.c: Add testcase for above.
1205         * gdb.python/py-prettyprint.py: Add test printer for above.
1206
1207 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1208
1209         * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
1210         (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
1211         (.Ldie30) Add as field "data4".
1212         (.Ldie32) Rename field "b" to "shl".
1213         (abbrev4) Change for the "data4" field.
1214         (abbrev5, abbrev6) Remove.
1215         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
1216         (p &s.shl): ... here.  Add comment.
1217         (p &s.data4): New.
1218
1219 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1220
1221         Fix crash on lval_computed values.
1222         * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
1223
1224 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1225
1226         * gdb.base/help.exp (help whatis): Update the expected string.
1227
1228 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1229
1230         * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1231         * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1232         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1233         Change the expected string.
1234
1235 2011-07-26  Pedro Alves  <pedro@codesourcery.com>
1236
1237         * gdb.base/watchpoint.exp
1238         (test_disable_enable_software_watchpoint): New procedure.
1239         (top level): Run it.
1240
1241 2011-07-26  Ulrich Weigand  <ulrich.weigand@linaro.org>
1242
1243         * gdb.python/py-mi.exp: Avoid '+' in filenames.  Call C version of
1244         executable file "${binfile}", C++ version "${binfile}-cxx".
1245         * gdb.python/py-prettyprint.exp: Likewise.
1246         * gdb.python/py-symbol.exp: Likewise.
1247         * gdb.python/py-type.exp: Likewise.
1248         * gdb.python/py-value.exp: Likewise.
1249         * gdb.python/py-template.exp (test_template_arg): Pass full executable
1250         file name instead of just suffix.
1251
1252 2011-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1253
1254         Fix implicit pointer offsets.
1255         * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
1256         * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
1257         (continue to breakpoint: continue to baz breakpoint for implptr)
1258         (sanity check element 0, sanity check element 1)
1259         (enter the inlined function, check element 0 for the offset)
1260         (check element 1 for the offset)
1261         (continue to breakpoint: ignore the second baz breakpoint): New tests.
1262         (set foo breakpoint for implptr): Update the breakpoint number.
1263
1264 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1265
1266         * gdb.python/py-mi.exp: Use different file names for different
1267         versions of the executable under test.
1268         * gdb.python/py-prettyprint.exp: Likewise.
1269         * gdb.python/py-symbol.exp: Likewise.
1270         * gdb.python/py-template.exp: Likewise.
1271         * gdb.python/py-type.exp: Likewise.
1272         * gdb.python/py-value.exp: Likewise.
1273
1274 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1275
1276         * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
1277         flag after restarting GDB if necessary.
1278
1279 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1280
1281         * gdb.python/py-shared.exp: Call gdb_load_shlibs.
1282
1283 2011-07-22  Pedro Alves  <pedro@codesourcery.com>
1284
1285         * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
1286         backend doesn't leave used debug registers behind.
1287
1288 2011-07-22  Tom Tromey  <tromey@redhat.com>
1289
1290         * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
1291         * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
1292         argument.
1293         * gdb.dwarf2/typeddwarf-amd64.S: New file.
1294
1295 2011-07-21  Matt Rice  <ratmice@gmail.com>
1296
1297         * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
1298         in mostlyclean rule.  Add files ending in .core.
1299
1300 2011-07-21  Matt Rice  <ratmice@gmail.com>
1301
1302         PR macros/12999
1303         * gdb.base/info-macros.c: New test sources.
1304         * gdb.base/info-macros.exp: New tests.
1305
1306 2011-07-21  Phil Muldoon  <pmuldoon@redhat.com>
1307
1308         * gdb.python/python.exp: Add prompt substitution tests.
1309
1310 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1311
1312         Fix crash if referenced CU is aged out.
1313         * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
1314         New.
1315         * gdb.dwarf2/implptr.exp: Likewise.
1316
1317 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1318
1319         * gdb.dwarf2/implptr.S: Rebuilt.
1320         * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
1321         (bar): Use them for j, k, l.
1322         * gdb.dwarf2/implptr.exp: New variable opts.  Support runtest parameter
1323         COMPILE.
1324         (print j in implptr:bar): Update for the intp typedef.
1325         (print p[0].x in implptr:foo): Use more exact regex.
1326
1327 2011-07-18  Tom Tromey  <tromey@redhat.com>
1328
1329         * gdb.cp/static-method.exp: Add missing single quote.
1330
1331 2011-07-18  Yao Qi  <yao@codesourcery.com>
1332
1333         * gdb.base/async-shell.exp: Skip test if displaced stepping is not
1334         supported.
1335         * gdb.mi/mi-nonstop-exit.exp: Likewise.
1336         * gdb.mi/mi-nonstop.exp: Likewise.
1337         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1338         * gdb.mi/mi-nsintrall.exp: Likewise.
1339         * gdb.mi/mi-nsmoribund.exp: Likewise.
1340         * gdb.mi/mi-nsthrexec.exp: Likewise.
1341         * gdb.python/py-evthreads.exp: Likewise.
1342
1343 2011-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1344
1345         Code cleanup.
1346         * gdb.cp/namespace.exp (xfail_class_types): New variable.  Initialize
1347         it.  Substitute it instead of test_compiler_info everywhere.
1348
1349 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1350
1351         * gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
1352         remote targets as well.
1353
1354 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1355
1356         * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
1357         * gdb.threads/tls-shared.exp: Use it.  Call gdb_load_shlibs.
1358
1359 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1360
1361         * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
1362         a remote machine, not the host.
1363         (gdb_compile_shlib): Set soname if target is remote.
1364
1365 2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1366
1367         * gdb.cp/minsym-fallback.exp: Link in C++ mode.
1368
1369 2011-07-13  Matt Rice <ratmice@gmail.com>
1370
1371         * gdb.python/py-objfile-script-gdb.py: Renamed to
1372         py-objfile-script-gdb.py.in.
1373         * gdb.python/py-objfile-script-gdb.py.in: Renamed from
1374         py-objfile-script-gdb.py.
1375         * gdb.python/py-objfile-script.exp: Update reference to
1376         py-objfile-script-gdb.py.
1377
1378 2011-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1379
1380         * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
1381         reference undefined label.
1382
1383 2011-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1384
1385         * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
1386         (DW_AT_high_pc, DW_AT_low_pc): Remove them.
1387         (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
1388         * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
1389
1390 2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>
1391
1392         PR python/12438
1393         * gdb.python/python.exp: Add maint set/show python print-stack
1394           deprecated tests.  Add set/show python print-backtrace tests.
1395
1396 2011-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1397
1398         * gdb.java/jprint.exp (print a java.lang.String): xfail without system
1399         debug info.
1400
1401 2011-07-06  Matt Rice  <ratmice@gmail.com>
1402
1403         * gdb.python/python.exp: Update filename paths.
1404         * gdb.python/py-symtab.exp: Ditto.
1405
1406 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
1407
1408         * gdb.python/py-evthreads.exp: Add missing `$'.
1409
1410 2011-07-06  Jie Zhang  <jie.zhang@analog.com>
1411
1412         * config/bfin.exp: New file.
1413         * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
1414         * gdb.asm/bfin.inc: New file.
1415
1416 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
1417
1418         * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
1419         the whole output.
1420
1421 2011-07-05  Tom Tromey  <tromey@redhat.com>
1422
1423         * gdb.java/jprint.java (jprint.hi): New field.
1424         * gdb.java/jprint.exp: Print string.
1425
1426 2011-07-05  Thiago Jung Bauermann  <bauerman.ibm.com>
1427
1428         * gdb.base/call-sc.c: Fix typos.
1429         * gdb.base/ifelse.exp: Likewise.
1430         * gdb.base/structs.c: Likewise.
1431
1432 2011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1433
1434         * gdb.base/jit-so.exp: New test.
1435         * gdb.base/jit-dlmain.c: New file.
1436         * gdb.base/jit-main.c: Allow "main" to be elsewhere.
1437
1438 2011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1439
1440         * gdb.cp/m-static.exp: Call get_compiler_info.
1441         (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
1442         * gdb.cp/pr9167.exp (p b): Likewise.
1443         * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
1444         (test value of P in inner_m, test type of Z in inner_m): Call
1445         setup_xfail for gcc <= 4.5.
1446
1447 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1448
1449         * gdb.cp/paren-type.cc: New files.
1450         * gdb.cp/paren-type.exp: New files.
1451
1452 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1453
1454         Stop on first linespec terminator instead of eating what we can.
1455         * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
1456         * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
1457         * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
1458         (break C::f()): ... this one.
1459         (break C::operator()()): New test.
1460         * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1461         * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1462         test.
1463
1464 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1465
1466         Fall back linespec to minimal symbols.
1467         * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1468         error message.
1469         * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1470         * gdb.cp/minsym-fallback-main.cc: New file.
1471         * gdb.cp/minsym-fallback.cc: New file.
1472         * gdb.cp/minsym-fallback.exp: New file.
1473         * gdb.cp/minsym-fallback.h: New file.
1474
1475 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1476
1477         * gdb.cp/no-dmgl-verbose.cc: New file.
1478         * gdb.cp/no-dmgl-verbose.exp: New file.
1479
1480 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1481
1482         * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1483         __GI_.
1484         * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1485         (f): New function.
1486         * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1487         (complete p 'func<short>(): ... here.
1488         * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1489         * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1490         * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1491         * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
1492         Make them KFAIL gcc/49546.
1493
1494 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1495
1496         * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
1497
1498 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1499
1500         Test GCC PR debug/49546.
1501         * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
1502         (test type of F in k3_m, test value of F in k3_m): New.
1503         * gdb.cp/temargs.cc (struct S3, struct K3): New.
1504         (main): New variable k3.  Call k3.k3_m.
1505
1506 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
1507
1508         * gdb.ada/packed_array.exp: Fix expected outout.
1509
1510 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
1511
1512         * gdb.ada/packed_array.exp: fixed expected output.
1513
1514 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1515
1516         * gdb.ada/same_enum: New testcase.
1517
1518 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1519
1520         * gdb.ada/ptr_typedef: New testcase.
1521
1522 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1523
1524         * gdb.ada/arrayptr.exp: Add ptype test.
1525
1526 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1527
1528         * gdb.ada/char_enum: New testcase.
1529
1530 2011-07-01  Yao Qi  <yao@codesourcery.com>
1531
1532         * gdb.base/dump.exp (capture_pointer_with_type): New.
1533         Get value from address instead of name.
1534         Start GDB once, and do `dump' and `restore'
1535         tests together.
1536
1537 2011-06-30  Jie Zhang <jie.zhang@analog.com>
1538             Mike Frysinger  <vapier@gentoo.org>
1539
1540         * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
1541         helper functions for getting/setting remotetimeout variable.
1542         * lib/gdb.exp (gdb_load): If the target is remote, set
1543         $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
1544         with $loadtimeout.  Set $load_ok to 0 before doing the load.
1545         Instead of returning, immediately, set $load_ok to 0.  Call
1546         set_remotetimeout with $oldremotetimeout, and then return if
1547         $load_ok is 1.
1548
1549 2011-06-30  Andrew Burgess  <aburgess@broadcom.com>
1550
1551         * gdb.python/py-template.exp: Don't run this test if the target
1552         does not support c++ tests.
1553
1554 2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1555
1556         Fix non-only rename list for Fortran modules import.
1557         * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
1558         tests.
1559         * gdb.fortran/module.f90 (module moduse): New.
1560         (program module): use moduse, test var_x, var_y and var_z.
1561
1562 2011-06-29  Tom Tromey  <tromey@redhat.com>
1563
1564         PR testsuite/12040:
1565         * gdb.fortran/array-element.exp: Use f90, not f77.
1566         * gdb.fortran/complex.exp: Use f90, not f77.
1567         * gdb.fortran/derived-type.exp: Use f90, not f77.
1568         * gdb.fortran/library-module.exp: Use f90, not f77.
1569         * gdb.fortran/logical.exp: Use f90, not f77.
1570         * gdb.fortran/module.exp: Use f90, not f77.
1571         * gdb.fortran/multi-dim.exp: Use f90, not f77.
1572         * gdb.fortran/subarray.exp: Use f90, not f77.
1573
1574 2011-06-29  Tom Tromey  <tromey@redhat.com>
1575
1576         * gdb.fortran/charset.exp: New file.
1577         * gdb.fortran/charset.f90: New file.
1578
1579 2011-06-29  Tom Tromey  <tromey@redhat.com>
1580
1581         PR testsuite/12040:
1582         * lib/future.exp: New file, mostly extracted from ada.exp.
1583         Rewrote compatibility code to use rename.
1584         (gdb_find_gfortran): New proc.
1585         (gdb_default_target_compile): Refresh from dejagnu; plus a pending
1586         gfortran patch.
1587         * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
1588         Move to future.exp.
1589         * lib/gdb.exp: Always load future.exp.
1590
1591 2011-06-28  Yao Qi  <yao@codesourcery.com>
1592
1593         * gdb.cp/exception.cc: Don't include iostream.
1594         (bar): Remove print statement.
1595         (catcher): New.
1596         (main): Remove print statements.  Call function catcher.
1597         * gdb.cp/exception.exp : Don't match inferior's output in regexp.
1598         Set breakpoint on catcher, and check the value of parameter.
1599
1600 2011-06-23  Yao Qi  <yao@codesourcery.com>
1601
1602         * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1603         1.2 is disabled.  KFAIL for uclinux.
1604
1605 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1606
1607         * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
1608         mi_gdb_test.
1609
1610 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1611
1612         * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
1613
1614 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1615
1616         * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
1617
1618 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1619
1620         * gdb.mi/mi2-basics.exp: Fix races.  Honour the
1621         `test_exec_and_symbol_mi_operatons' return value.
1622         (test_mi_interpreter_selection): Use mi_gdb_test instead of
1623         gdb_test_multiple.
1624         (test_exec_and_symbol_mi_operatons): Likewise.
1625         (test_path_specification): Likewise.
1626
1627 2011-06-23  Yao Qi  <yao@codesourcery.com>
1628
1629         * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
1630         supported.
1631         * lib/gdb.exp (support_displaced_stepping): New.
1632
1633 2011-06-23  Yao Qi  <yao@codesourcery.com>
1634
1635         * gdb.threads/execl.exp: Skip on remote target.
1636
1637 2011-06-21  Marek Polacek  <mpolacek@redhat.com>
1638
1639         * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
1640         mi_gdb_test.
1641
1642 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
1643
1644         * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1645
1646 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
1647
1648         * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
1649         mi_gdb_test.
1650
1651 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
1652
1653         * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
1654
1655 2011-06-14  Yao Qi  <yao@codesourcery.com>
1656
1657         gdb/testsuite/
1658         * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
1659
1660 2011-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1661
1662         * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
1663
1664 2011-06-10  Tom Tromey  <tromey@redhat.com>
1665
1666         * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
1667         Add tests for pointer-to-member-function.
1668         * gdb.cp/temargs.cc (S::somefunc): New function.
1669         (K2): New class.
1670         (main): Instantiate K2; call method.
1671
1672 2011-06-08  Joel Brobecker  <brobecker@adacore.com>
1673
1674         * gdb.python/py-inferior.c (f2): Make str an array rather
1675         than a pointer.
1676         * gdb.python/py-inferior.exp: Adjust testcase accordingly.
1677
1678 2011-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1679
1680         * gdb.base/async-shell.c: New file.
1681         * gdb.base/async-shell.exp: New file.
1682
1683 2011-06-06  Pedro Alves  <pedro@codesourcery.com>
1684
1685         * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
1686
1687 2011-06-03  Joel Brobecker  <brobecker@adacore.com>  (obvious fix)
1688
1689         From Stephen Kitt  <steve@sk2.org>
1690         * gdb.base/help.exp: Adjust following some spelling corrections
1691         in GDB.
1692
1693 2011-06-01  Yao Qi  <yao@codesourcery.com>
1694
1695         * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
1696
1697 2010-05-31  Keith Seitz  <keiths@redhat.com>
1698
1699         PR c++/12750
1700         * gdb.cp/static-method.cc: New file.
1701         * gdb.cp/static-method.exp: New file.
1702
1703 2010-05-31  Keith Seitz  <keiths@redhat.com>
1704
1705         PR symtab/12704
1706         * gdb.cp/anon-ns.cc: New file.
1707         * gdb.cp/anon-ns.exp: New file.
1708
1709 2011-05-31  Pedro Alves  <pedro@codesourcery.com>
1710
1711         * gdb.arch/i386-dr3-watch.c: New file.
1712         * gdb.arch/i386-dr3-watch.exp: New file.
1713
1714 2011-05-30  Yao Qi  <yao@codesourcery.com>
1715
1716         * gdb.base/callfuncs.c (t_structs_fc): New.
1717         (t_structs_dc, t_structs_ldc): New.
1718         (t_double_many_args):
1719         (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
1720         (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
1721         (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
1722         * gdb.base/callfuncs.exp: Call new functions.
1723
1724 2011-05-30  Yao Qi  <yao@codesourcery.com>
1725
1726         * gdb.base/callfuncs.exp (rerun_and_prepare): New.
1727         Call rerun_and_prepare for each test to isolate effects.
1728
1729 2011-05-30  Yao Qi  <yao@codesourcery.com>
1730
1731         * gdb.base/varargs.c (find_max_float_real): New.
1732         (find_max_double_real, find_max_long_double_real): New.
1733         * gdb.base/varargs.exp: Call these new added functions.
1734         * lib/gdb.exp (setup_kfail_for_target): New.
1735
1736 2011-05-30  Yao Qi  <yao@codesourcery.com>
1737
1738         * gdb.base/funcargs.c (callca, callcb, callcc): New.
1739         (callcd, callce, callcf, callc1a, callc1b): New.
1740         (callc2a, callc2b): New.
1741         * gdb.base/funcargs.exp (complex_args): New.
1742         (complex_integral_args, complex_float_integral_args): New.
1743         * lib/gdb.exp (support_complex_tests): New.  Determine
1744         whether to run test cases on _Complex types.
1745
1746 2011-05-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1747
1748         * gdb.threads/leader-exit.c: New file.
1749         * gdb.threads/leader-exit.exp: New file.
1750
1751 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
1752
1753         * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
1754
1755 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
1756
1757         * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
1758         remove the `supported' variable.
1759         * gdb.mi/mi-nonstop.exp: Likewise.
1760         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1761         * gdb.mi/mi-nsintrall.exp: Likewise.
1762         * gdb.mi/mi-nsmoribund.exp: Likewise.
1763         * gdb.mi/mi-nsthrexec.exp: Likewise.
1764
1765 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
1766
1767         * gdb.reverse/finish-reverse-bkpt.exp: New test.
1768
1769 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
1770
1771         * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
1772
1773 2011-05-24  Keith Seitz  <keiths@redhat.com>
1774
1775         PR breakpoint/12803
1776         * gdb.cp/cmpd-minsyms.cc (a): New method.
1777         (b): New method.
1778         (c): New method.
1779         * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
1780
1781 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
1782
1783         * gdb.base/commands.exp (watchpoint_command_test): Check that the
1784         watchpoint's command list didn't execute when the watchpoint went
1785         out of scope.
1786
1787 2011-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
1788
1789         Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
1790         * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
1791         * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
1792         * gdb.arch/i386-gnu-cfi.exp: Likewise.
1793         * gdb.arch/i386-permbkpt.exp: Likewise.
1794         * gdb.arch/i386-prologue.exp: Likewise.
1795         * gdb.arch/i386-size-overlap.exp: Likewise.
1796         * gdb.arch/i386-size.exp: Likewise.
1797         * gdb.arch/i386-unwind.exp: Likewise.
1798         * gdb.reverse/i386-precsave.exp: Likewise.
1799         * gdb.reverse/i386-reverse.exp: Likewise.
1800         * gdb.reverse/i386-sse-reverse.exp: Likewise.
1801         * gdb.reverse/i387-env-reverse.exp: Likewise.
1802         * gdb.reverse/i387-stack-reverse.exp: Likewise.
1803
1804 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
1805
1806         * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
1807         file doesn't error, using MI.
1808
1809 2011-05-23  Tom Tromey  <tromey@redhat.com>
1810
1811         * gdb.base/charset.exp (string_display): Add tests to assign to
1812         arrays.
1813         * gdb.base/charset.c (short_array, int_array, long_array): New.
1814
1815 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
1816
1817         Cope with async mode.
1818
1819         * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
1820         into gdb_test + mi_expect_stop.
1821
1822 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
1823
1824         * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
1825         (callme): Remove printf call.
1826
1827 2011-05-20  Pierre Muller  <muller@ics.u-strasbg.fr>
1828
1829         * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
1830         quote pattern to avoid problems with Cygwin/mingw expect versions.
1831         * gdb.base/default.exp (show convenience): Use double
1832         quote pattern for regular expressions.
1833
1834 2011-05-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
1835
1836         Fix -readnow for -gdwarf-4 unused type units.
1837         * gdb.dwarf2/dw4-sig-type-unused.S: New file.
1838         * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
1839
1840 2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
1841
1842         * gdb.base/kill-after-signal.c: New file.
1843         * gdb.base/kill-after-signal.exp: New file.
1844
1845 2011-05-16  Pedro Alves  <pedro@codesourcery.com>
1846
1847         * gdb.ada/start.exp: Call untested with the correct test filename.
1848         * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
1849         test filename.  Make the test's binary unique.
1850         * gdb.arch/i386-signal.exp: Call untested with the correct test
1851         filename.
1852         * gdb.arch/i386-size-overlap.exp: Ditto.
1853         * gdb.arch/Makefile.in (EXECUTABLES): Update.
1854         * gdb.base/gcore-buffer-overflow.exp: Ditto.
1855         * gdb.cp/call-c.exp: Ditto.
1856         * gdb.mi/mi-reverse.exp: Call untested with the correct test
1857         filename.  Make the test's binary unique.
1858         * gdb.mi/Makefile.in (EXECUTABLES): Update.
1859         * gdb.python/py-mi.exp: Ditto.
1860         * gdb.python/Makefile.in (EXECUTABLES): Update.
1861         * gdb.reverse/i386-precsave.exp: Ditto.
1862         * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
1863         test filename.
1864         * gdb.reverse/i387-stack-reverse.exp: Ditto.
1865         * gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
1866         unique.
1867         * gdb.reverse/sigall-reverse.exp: Call untested with the correct
1868         test filename.
1869         * gdb.reverse/Makefile.in (EXECUTABLES): Update.
1870         * gdb.trace/tfile.exp: Ditto.
1871
1872 2011-05-14  Yao Qi  <yao@codesourcery.com>
1873
1874         * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
1875         type.
1876
1877 2011-05-13  Doug Evans  <dje@google.com>
1878
1879         * gdb.python/py-objfile-script.exp: New file.
1880         * gdb.python/py-objfile-script.c: New file.
1881         * gdb.python/py-objfile-script-gdb.py: New file.
1882         * testsuite/gdb.python/py-section-script.exp: Test
1883         "info auto-load-scripts".
1884
1885 2011-05-13  Tom Tromey  <tromey@redhat.com>
1886
1887         * gdb.dwarf2/clztest.exp: New file.
1888         * gdb.dwarf2/clztest.c: New file.
1889         * gdb.dwarf2/clztest.S: New file.
1890
1891 2011-05-13  Doug Evans  <dje@google.com>
1892
1893         * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
1894         String16 tests.
1895
1896 2011-05-13  Tom Tromey  <tromey@redhat.com>
1897
1898         * lib/gdb.exp (is_x86_like_target): New proc.
1899         * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
1900         * gdb.dwarf2/valop.exp: Use is_x86_like_target.
1901         * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
1902         -nostdlib to compiler.
1903         * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
1904         * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
1905         * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
1906         * gdb.dwarf2/dw2-restore.exp: Check for LP64.
1907         * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
1908
1909 2011-05-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
1910
1911         * gdb.python/py-function.exp: Test setting a value from a function
1912         which executes a command.
1913
1914 2011-05-12  Tom Tromey  <tromey@redhat.com>
1915
1916         * gdb.dwarf2/typeddwarf.S: New file.
1917         * gdb.dwarf2/typeddwarf.c: New file.
1918         * gdb.dwarf2/typeddwarf.exp: New file.
1919
1920 2011-05-12  Marek Polacek  <mpolacek@redhat.com>
1921
1922         * gdb.mi/mi-basics.exp: Fix races.  Honour the
1923         `test_exec_and_symbol_mi_operatons' return value.
1924         (test_mi_interpreter_selection): Use mi_gdb_test instead of
1925         gdb_test_multiple.
1926         (test_exec_and_symbol_mi_operatons): Likewise.
1927         (test_path_specification): Likewise.
1928
1929 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1930
1931         * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
1932         (gdb_touch_execfile): Remove catch wrappers.  New variable time.
1933         Replace `file copy' and `file rename' by `file mtime'.  Twice.
1934
1935 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1936
1937         * gdb.base/readline-ask.c: New file.
1938         * gdb.base/readline-ask.exp: New file.
1939         * gdb.base/readline-ask.inputrc: New file.
1940
1941 2011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
1942
1943         * gdb.cell/bt.exp: Delete breakpoints before running to signal
1944         to avoid race condition.
1945         * gdb.cell/coremaker.c: Use small stack size.
1946         * gdb.cell/ea-standalone.exp: Use file name without path as
1947         argument to c_to.
1948         * gdb.cell/fork.exp: Allow other output when continuing to end.
1949
1950 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1951
1952         * gdb.threads/corethreads.c: New file.
1953         * gdb.threads/corethreads.exp: New file.
1954
1955 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1956
1957         * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
1958         Try to compile the test using -Wl,-z,norelro first.
1959         (load_core): New variable libthread_db_seen, initialize it.
1960         (zeroed-threads cannot be listed): Protect it by XFAIL on
1961         !$libthread_db_seen.
1962
1963 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1964
1965         PR 12573
1966         * gdb.dwarf2/dw2-skip-prologue.S: New file.
1967         * gdb.dwarf2/dw2-skip-prologue.c: New file.
1968         * gdb.dwarf2/dw2-skip-prologue.exp: New file.
1969
1970 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1971
1972         * gdb.cp/psymtab-parameter.cc: New file.
1973         * gdb.cp/psymtab-parameter.exp: New file.
1974
1975 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1976
1977         Fix a race.
1978         * gdb.cp/static-print-quit.exp (print c): Split to ...
1979         (print c - <return>, print c - q <return>, print c - to quit):
1980         ... these.  Make the testfile untested on gdb-7.1.
1981
1982 2011-5-05  Janis Johnson  <janisjo@codesourcery.com>
1983
1984         * lib/gdb.exp (exec_target_file, exec_symbol_file,
1985         gdb_rename_execfile, gdb_touch_execfile): New.
1986         * gdb.base/reread.exp: Use new procs to handle multiple
1987         exec files.
1988
1989 2011-05-05  Yao Qi  <yao@codesourcery.com>
1990
1991         * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
1992         (test_adr_32bit, test_pop_pc): New.
1993         * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
1994         (test_adr_32bit, test_pop_pc): New.
1995
1996 2011-05-04  Joseph Myers  <joseph@codesourcery.com>
1997
1998         * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
1999         * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2000         targets.
2001         * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2002         handle targets.
2003
2004 2011-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2005
2006         * gdb.base/completion.exp (complete help info wat): Rename to ...
2007         (complete 'help info wat'): ... here.
2008         Remove all `-re ".*' and `-re "^.*' redundant regexes.
2009         (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2010
2011 2011-05-04  Pedro Alves  <pedro@codesourcery.com>
2012
2013         * gdb.base/completion.exp: Use gdb_test_multiple instead of
2014         gdb_test and explicit $gdb_prompt/timeout matches.
2015
2016 2011-05-04  Yao Qi  <yao@codesourcery.com>
2017
2018         * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2019         and __thumb2__.
2020
2021 2011-05-03  Marek Polacek  <mpolacek@redhat.com>
2022
2023         * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2024         in place of `gdb_test "delete breakpoints"'.  This eliminates two
2025         testcases.
2026
2027 2011-05-02  Pedro Alves  <pedro@codesourcery.com>
2028
2029         PR testsuite/12649
2030         Fix races.
2031
2032         * gdb.base/completion.exp: Remove all sleep calls.  Remove
2033         unnecessary regexs.  Don't explicitly expect anything after the
2034         prompt.  Eat the prompt if necessary.
2035
2036 2011-05-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2037
2038         * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2039         accept to show the caller line again as well as the line after.
2040
2041 2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>
2042
2043         PR mi/12531
2044
2045         * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2046         compile target.
2047         * gdb.python/py-prettyprint.exp: Add C++ object for
2048         CPLUS_FAKE_CHILD test.
2049
2050 2011-04-28  Ulrich Weigand  <ulrich.weigand@linaro.org>
2051
2052         * gdb.base/signest.exp: New file.
2053         * gdb.base/signest.c: Likewise.
2054
2055 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2056
2057         * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2058         thread and breakpoint notifications.
2059
2060 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2061
2062         * gdb.base/fortran-sym-case.c: New file.
2063         * gdb.base/fortran-sym-case.exp: New file.
2064         * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2065         * gdb.dwarf2/dw2-case-insensitive.c: New file.
2066         * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2067
2068 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2069
2070         * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2071         * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2072         false #1', `if true else false #2' and `if true else false #3'.
2073
2074 2011-04-27  Ulrich Weigand  <ulrich.weigand@linaro.org>
2075
2076         * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2077         while delivering signal.
2078
2079 2011-04-27  Vladimir Prus  <vladimir@codesourcery.com>
2080
2081         MI breakpoint notifications.
2082
2083         * testsuite/gdb.mi/mi-cli.exp: Adust.
2084         * testsuite/gdb.mi/mi2-cli.exp: Adust.
2085         * testsuite/gdb.mi/mi-watch.exp: Adust.
2086         * testsuite/gdb.mi/mi2-watch.exp: Adust.
2087         * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2088         notifications.
2089
2090 2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2091
2092         * gdb.base/gdbindex-stabs-dwarf.c: New file.
2093         * gdb.base/gdbindex-stabs.c: New file.
2094         * gdb.base/gdbindex-stabs.exp: New file.
2095
2096 2011-04-25  Yao Qi  <yao@codesourcery.com>
2097
2098         * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2099         with /*...*/.
2100         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2101
2102 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2103
2104         * gdb.python/py-value.exp (test_objfiles): Name the first test
2105         `py-value in file.filename'.
2106
2107 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2108
2109         * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2110         * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2111         * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2112         !gdbserver_reconnect_p..
2113         (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2114
2115 2011-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2116
2117         * gdb.cp/cpcompletion.exp (complete class methods)
2118         (complete class methods beginning with F): Move them above runto.  New
2119         comment about the runto delimiter.
2120
2121 2011-04-20  Pedro Alves  <pedro@codesourcery.com>
2122
2123         * gdb.base/maint.exp: Test that "maint print registers" works
2124         without a running program.
2125
2126 2011-04-20  Marek Polacek  <mpolacek@redhat.com>
2127
2128         * gdb.base/setshow.exp: Fix racy tests.
2129         ($old_gdb_prompt): New variable.
2130
2131 2011-04-19  Tom Tromey  <tromey@redhat.com>
2132
2133         * gdb.mi/mi-nsmoribund.exp:
2134         * gdb.hp/gdb.objdbg/objdbg01.exp:
2135         * gdb.base/structs.exp (test_struct_returns):
2136         * gdb.base/call-sc.exp (test_scalar_returns):
2137         * gdb.base/bigcore.exp: Remove duplicate words.
2138
2139 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2140
2141         * gdb.base/break-interp-lib.c (v, vptr): New variables.
2142         * gdb.base/break-interp.exp (test_attach): New comment.
2143
2144 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2145
2146         * gdb.threads/gcore-thread.exp ($core0file): New variable.
2147         (clear __stack_user.next, clear stack_used.next)
2148         (save a zeroed-threads corefile): New test.
2149         Call core_load for $core0file.
2150         (zeroed-threads cannot be listed): New test.
2151
2152 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2153
2154         * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2155         filename.
2156         ($srcfile): Preserve the original value.
2157         ($testfile): Match it the .exp filename.
2158         ($corefile): New variable.  Substitute it around.
2159         Use clean_restart.
2160         ($prev_timeout): Remove.
2161         (load_core): Move core loading into this proc.
2162         Fix restore of $timeout if load_core fails.
2163
2164 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2165
2166         * gdb.base/eu-strip-infcall.c: New file.
2167         * gdb.base/eu-strip-infcall.exp: New file.
2168
2169 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2170
2171         * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2172         * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2173
2174 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2175
2176         Fix Python access to inlined frames.
2177         * gdb.python/py-frame-inline.c: New file.
2178         * gdb.python/py-frame-inline.exp: New file.
2179
2180 2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2181
2182         * gdb.base/gdb1090.exp: Change breakpoint location to read the
2183         content of 's24' correctly (avoiding "optimized out").
2184         * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2185
2186 2011-04-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2187
2188         * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2189
2190 2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2191
2192         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2193         expect a colon in watch -location output.
2194
2195 2011-04-13  Marek Polacek  <mpolacek@redhat.com>
2196
2197         * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
2198         New testcase `expect response to define backtrace'.  Also remove
2199         redundant `default' block.
2200
2201 2011-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2202
2203         * gdb.python/py-prettyprint.c (struct hint_error): New.
2204         (main): New variable hint_error.
2205         * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
2206         "print hint_error".
2207         * gdb.python/py-prettyprint.py (class pp_hint_error): New.
2208         (register_pretty_printers): Register it.
2209
2210 2011-04-04  Tom Tromey  <tromey@redhat.com>
2211
2212         * gdb.cp/maint.exp (test_help): Update.
2213         (test_namespace): Likewise.
2214
2215 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
2216
2217         * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
2218         * gdb.ada/arrayptr.exp: Add new tests.
2219
2220 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
2221
2222         * gdb.ada/mi_catch_ex: New testcase.
2223
2224 2011-04-01  Pedro Alves  <pedro@codesourcery.com>
2225
2226         * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
2227         base::overload(void) method without specifying "const".
2228
2229 2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
2230
2231         * gdb.arch/thumb-singlestep.S: New file.
2232         * gdb.arch/thumb-singlestep.exp: Likewise.
2233
2234 2011-03-31  Tom Tromey  <tromey@redhat.com>
2235
2236         * gdb.python/py-prettyprint.py (exception_flag): New global.
2237         (NoStringContainerPrinter._iterator.next): Check it.
2238         * gdb.python/py-prettyprint.c (main): New variable nstype2.
2239         * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2240
2241 2011-03-29  Tom Tromey  <tromey@redhat.com>
2242
2243         * gdb.cp/anon-struct.cc: New file.
2244         * gdb.cp/anon-struct.exp: New file.
2245
2246 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2247
2248         Test STT_GNU_IFUNC support.
2249         * gdb.base/gnu-ifunc-lib.c: New file.
2250         * gdb.base/gnu-ifunc.c: New file.
2251         * gdb.base/gnu-ifunc.exp: New file.
2252
2253 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2254
2255         Support a ring of related breakpoints.
2256         * gdb.base/watchpoint-delete.c: New file.
2257         * gdb.base/watchpoint-delete.exp: New file.
2258
2259 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2260
2261         * gdb.ada/arrayparam.exp (print first after function call): Use
2262         explicit package name.  Add a comment
2263         (print lasta after function call): Rename ...
2264         (print last after function call): ... it and use explicit package
2265         name.
2266         (print length after function call): Use explicit package name.
2267         * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
2268         * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
2269         (multiple matches for symbol i): Rename ...
2270         (multiple matches for symbol integervar): ... it.
2271         * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
2272         * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2273
2274 2011-03-25  Andrew Burgess  <aburgess@broadcom.com>
2275
2276         * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
2277         environment variable to make grep output more predictable. Move
2278         all the environment setup into gdb_init so it's done once per test
2279         case rather than each time we start gdb.
2280
2281 2011-03-24  Tom Tromey  <tromey@redhat.com>
2282
2283         * gdb.base/label.exp: Use `main:there' linespec.  Add re-running
2284         test.
2285
2286 2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
2287
2288         * gdb.dwarf2/dw2-entry-value-main.c: New file.
2289         * gdb.dwarf2/dw2-entry-value.S: New file.
2290         * gdb.dwarf2/dw2-entry-value.exp: New file.
2291
2292 2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
2293
2294         PR python/12183
2295
2296         * gdb.python/py-function.exp: Add GdbError tests.
2297
2298 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
2299
2300         * gdb.trace/unavailable.cc (args_test_func, local_test_func)
2301         (reglocal_test_func, statlocal_test_func): New functions.
2302         (globals_test_func): Call new functions.
2303         * gdb.trace/unavailable.exp (gdb_collect_args_test)
2304         (gdb_collect_locals_test): New procedure.
2305         (gdb_trace_collection_test): Call new procedures.
2306
2307 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
2308
2309         * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
2310         (test_register, test_register_unavailable): New procedures.
2311         (gdb_unavailable_registers_test): New procedure.
2312         (gdb_trace_collection_test): Call it.
2313
2314 2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
2315
2316         PR python/12149
2317
2318         * gdb.python/python.exp: Add gdb.write tests.
2319
2320 2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
2321
2322         * gdb.python/Makefile.in: Add py-objfile.
2323         * gdb.python/py-objfile.exp: New file.
2324         * gdb.python/py-objfile.c: New file.
2325         * gdb.python/py-block.exp: Add is_valid tests.
2326         * gdb.python/py-inferior.exp: Ditto.
2327         * gdb.python/py-infthread.exp: Ditto.
2328         * gdb.python/py-symbol.exp: Ditto.
2329         * gdb.python/py-symtab.exp: Ditto.
2330
2331 2011-03-16  Keith Seitz  <keiths@redhat.com>
2332
2333         PR c++/12273
2334         * gdb.cp/cmpd-minsyms.exp: New test.
2335         * gdb.cp/cmpd-minsyms.cc: New file.
2336
2337         PR c++/11734
2338         * gdb.cp/ovsrch.exp: New test.
2339         * gdb.cp/ovsrch.h: New file.
2340         * gdb.cp/ovsrch1.cc: New file.
2341         * gdb.cp/ovsrch2.cc: New file.
2342         * gdb.cp/ovsrch3.cc: New file.
2343         * gdb.cp/ovsrch4.cc: New file.
2344
2345 2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
2346
2347         PR gdb/12528
2348         * gdb.base/Makefile.in: Adjust EXECUTABLES.
2349         * gdb.base/break-on-linker-gcd-function.exp: New test.
2350         * gdb.base/break-on-linker-gcd-function.cc: New file.
2351
2352 2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
2353
2354         * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2355
2356 2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
2357
2358         * lib/gdb.exp (gdb_unload): Add another termination case.
2359
2360 2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2361
2362         * gdb.dwarf2/dw2-empty-pc-range.S: New file.
2363         * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
2364         * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
2365         Provide a stub byte there.
2366         (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
2367         DW_AT_entry_pc.
2368         (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2369
2370 2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
2371
2372         * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
2373         using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
2374         "generic ABI, auto".
2375         (altivec_abi_tests): Accept vectors returned by reference.
2376
2377 2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
2378
2379         * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2380
2381 2011-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
2382
2383         * gdb.python/py-section-script.exp: Skip test if no Python support.
2384
2385 2011-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
2386
2387         * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2388
2389 2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
2390
2391         * gdb.python/py-parameter.exp: Update tests to the new Python
2392         parameter API. Add "no documentation" test.  Add deprecated API
2393         backward compatibility test.
2394
2395 2011-03-09  Tom Tromey  <tromey@redhat.com>
2396
2397         * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
2398         gdb_continue_to_end.
2399
2400 2011-03-09  Mark Kettenis  <kettenis@gnu.org>
2401
2402         * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
2403         tabs.
2404
2405 2011-03-09  Tom Tromey  <tromey@redhat.com>
2406
2407         * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
2408         parentheses.
2409         (gdb_continue_to_end): Add "allow_extra" parameter.  Use
2410         $command.
2411         * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
2412         argument to gdb_continue_to_end.
2413         * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
2414         argument to gdb_continue_to_end.
2415         * gdb.cp/annota3.exp: Fix regex.
2416         * gdb.cp/annota2.exp: Fix regex.
2417         * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
2418         gdb_continue_to_end.
2419         * gdb.base/call-signal-resume.exp: Revert earlier patch.
2420         * gdb.ada/tasks.exp: Pass "allow_extra" argument to
2421         gdb_continue_to_end.
2422
2423 2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2424
2425         * gdb.server/ext-run.exp
2426         (load new file without any gdbserver inferior): New test.
2427
2428 2011-03-07  Tom Tromey  <tromey@redhat.com>
2429
2430         * Makefile.in (TAGS): Rewrite.
2431
2432 2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2433
2434         * gdb.trace/report.exp (12.1: trace report #1): New match for the
2435         initial commands echo.  New match for `Found trace'.  Anchor all the
2436         other matches.  Anchor and match for `No trace frame found' the final
2437         match.
2438
2439 2011-03-07  Tom Tromey  <tromey@redhat.com>
2440
2441         * Makefile.in (TAGS): New target.
2442
2443 2011-03-07  Tom Tromey  <tromey@redhat.com>
2444
2445         * lib/opencl.exp (skip_opencl_tests): Update for exit message
2446         change.
2447         * lib/mi-support.exp (mi_gdb_test): Update for exit message
2448         change.
2449         * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
2450         exit message change.
2451         (skip_altivec_tests): Update for exit message change.
2452         (skip_vsx_tests): Likewise.
2453         (gdb_continue_to_end): Likewise.  Add 'command' argument.
2454         * lib/cell.exp (skip_cell_tests): Update for exit message change.
2455         * gdb.threads/tls.exp: Update for exit message change.
2456         * gdb.threads/thread-unwindonsignal.exp: Use
2457         gdb_continue_to_end.
2458         * gdb.threads/step.exp (step_it): Update for exit message change.
2459         (continue_all): Likewise.
2460         * gdb.threads/print-threads.exp (test_all_threads): Update for
2461         exit message change.
2462         * gdb.threads/interrupted-hand-call.exp: Use
2463         gdb_continue_to_end.
2464         * gdb.threads/execl.exp: Use gdb_continue_to_end.
2465         * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2466         gdb_continue_to_end.
2467         * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2468         * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2469         * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2470         * gdb.cp/method.exp: Update for exit message change.
2471         * gdb.cp/mb-templates.exp: Update for exit message change.
2472         * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2473         * gdb.cp/annota3.exp: Update for exit message change.
2474         * gdb.cp/annota2.exp: Update for exit message change.
2475         * gdb.cell/fork.exp: Use gdb_continue_to_end.
2476         * gdb.base/term.exp: Update for exit message change.
2477         * gdb.base/step-test.exp (test_i): Update for exit message change.
2478         * gdb.base/sigstep.exp (advance): Update for exit message change.
2479         (advancei): Likewise.
2480         * gdb.base/siginfo.exp: Update for exit message change.
2481         * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2482         * gdb.base/reread.exp: Use gdb_continue_to_end.
2483         * gdb.base/langs.exp: Use gdb_continue_to_end.
2484         * gdb.base/interrupt.exp: Update for exit message change.
2485         * gdb.base/gdb1555.exp: Update for exit message change.
2486         * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2487         * gdb.base/ending-run.exp: Update for exit message change.
2488         * gdb.base/chng-syms.exp: Update for exit message change.
2489         * gdb.base/checkpoint.exp: Update for exit message change.
2490         * gdb.base/catch-syscall.exp (check_for_program_end): Use
2491         gdb_continue_to_end.
2492         (test_catch_syscall_with_wrong_args): Likewise.
2493         * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
2494         * gdb.base/break-interp.exp (test_ld): Update for exit message
2495         change.
2496         * gdb.base/bang.exp: Update for exit message change.
2497         * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
2498         (do_call_attach_tests): Likewise.
2499         * gdb.base/a2-run.exp: Update for exit message change.
2500         * gdb.arch/ppc-dfp.exp: Update for exit message change.
2501         * gdb.ada/tasks.exp: Use gdb_continue_to_end.
2502         * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2503
2504 2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
2505
2506         * gdb.base/help.exp (help thread find): Fix one forgotten quote.
2507
2508 2011-03-03  Tom Tromey  <tromey@redhat.com>
2509
2510         * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
2511         * gdb.hp/gdb.aCC/configure (Makefile): Remove.
2512         * gdb.hp/gdb.aCC/configure.ac: Remove.
2513         * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
2514         * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
2515         * gdb.hp/gdb.base-hp/configure.ac: Remove.
2516         * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
2517         * gdb.hp/gdb.compat/configure (Makefile): Remove.
2518         * gdb.hp/gdb.compat/configure.ac: Remove.
2519         * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
2520         * gdb.hp/gdb.defects/configure (Makefile): Remove.
2521         * gdb.hp/gdb.defects/configure.ac: Remove.
2522         * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
2523         * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
2524         * gdb.hp/gdb.objdbg/configure.ac: Remove.
2525         * gdb.hp/configure.ac: Remove.
2526         * gdb.hp/configure: Remove.
2527         * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
2528         substitution.
2529         (Makefile): Remove rule.
2530         * gdb.cell/configure.ac: Remove.
2531         * gdb.cell/configure: Remove.
2532         * gdb.stabs/Makefile.in (Makefile): Remove.
2533         (distclean): Don't remove config.status or config.log.
2534         * gdb.stabs/configure (Makefile): Remove.
2535         * gdb.stabs/configure.ac: Remove.
2536         * configure: Rebuild.
2537         * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
2538         Remove stabs- and cell-specific logic.  Test for existence of
2539         ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
2540         subdirectories, gdb.cell, and and gdb.stabs.
2541         * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2542
2543 2011-03-03  Joel Brobecker  <brobecker@adacore.com>
2544
2545         * gdb.python/py-inferior.exp: Avoid searching pattern beyond
2546         end of buffer.
2547
2548 2011-03-02  Joel Brobecker  <brobecker@adacore.com>
2549
2550         * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
2551         gdb_test when running a test where we expected no output back.
2552
2553 2011-02-28  Michael Snyder  <msnyder@vmware.com>
2554
2555         * gdb.cp/overload.cc: Change initializer value to integer.
2556
2557 2011-02-27  Michael Snyder  <msnyder@vmware.com>
2558
2559         * gdb.multi/base.exp: Add test for remove-inferiors.
2560
2561 2011-02-26  Joel Brobecker  <brobecker@adacore.com>
2562
2563         * gdb.python/py-frame.exp: Simplify the initialization phase
2564         using prepare_for_testing.
2565
2566 2011-02-25  Michael Snyder  <msnyder@vmware.com>
2567
2568         * gdb.multi/base.exp: Add tests for info inferiors with args.
2569
2570 2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2571
2572         * gdb.dwarf2/dw2-ranges.S: Rename to ...
2573         * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
2574         * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
2575         Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
2576         asmfile3.  Comment the STABS (#3) file compilation.  Compile
2577         everything through assembler.  Provide KFAIL for symtab/12497.
2578         * gdb.dwarf2/dw2-ranges2.S: Rename to ...
2579         * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
2580         * gdb.dwarf2/dw2-ranges3.S: Rename to ...
2581         * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2582
2583 2011-02-24  Michael Snyder  <msnyder@vmware.com>
2584
2585         * gdb.base/break.exp: Add tests for delete breakpoints using
2586         convenience variables and value history references.
2587
2588 2011-02-24  Michael Snyder  <msnyder@vmware.com>
2589
2590         * gdb.base/break.exp: Remove debugging 'printf' accidentally
2591         left behind in previous check-in.
2592
2593 2011-02-23  Michael Snyder  <msnyder@vmware.com>
2594
2595         * gdb.base/break.exp: Add tests for "info break" with arguments.
2596         * gdb.trace/infotrace.exp: Update patterns for error and help.
2597         * gdb.base/completion.exp: Update pattern.
2598         * gdb.base/ena-dis-br.exp: Update pattern.
2599         * gdb.base/help.exp: Update patterns.
2600
2601 2011-02-23  Michael Snyder  <msnyder@vmware.com>
2602
2603         * gdb.base/memattr.exp: New test.
2604         * gdb.base/memattr.c: Test load for memattr.exp.
2605
2606 2011-02-22  Doug Evans  <dje@google.com>
2607
2608         * gdb.python/py-symbol.exp: Test lookup_global_symbol.
2609
2610 2011-02-22  Michael Snyder  <msnyder@vmware.com>
2611
2612         * Makefile.in: Make more clean.
2613         * gdb.ada/Makefile.in: Ditto.
2614         * gdb.arch/Makefile.in: Ditto.
2615         * gdb.asm/Makefile.in: Ditto.
2616         * gdb.base/Makefile.in: Ditto.
2617         * gdb.cp/Makefile.in: Ditto.
2618         * gdb.dwarf2/Makefile.in: Ditto.
2619         * gdb.java/Makefile.in: Ditto.
2620         * gdb.mi/Makefile.in: Ditto.
2621         * gdb.modula2/Makefile.in: Ditto.
2622         * gdb.python/Makefile.in: Ditto.
2623         * gdb.server/Makefile.in: Ditto.
2624         * gdb.stabs/Makefile.in: Ditto.
2625         * gdb.threads/Makefile.in: Ditto.
2626         * gdb.trace/Makefile.in: Ditto.
2627
2628 2011-02-22  Michael Snyder  <msnyder@vmware.com>
2629
2630         * gdb.threads/thread-find.exp: Add tests for bad input to
2631         info threads.
2632
2633 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
2634
2635         * gdb.python/py-breakpoint.exp: Fix the expected output of
2636         one of the "maint info breakpoints" tests to accept the output
2637         generated on platforms that do not have hardware watchpoints.
2638
2639 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
2640
2641         * gdb.python/py-breakpoint.exp: Remove unnecessary call to
2642         clean_restart.  Be a little stricter in the expected output
2643         for one of the tests.  Fix a typo in one of the comments.
2644
2645 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
2646
2647         * gdb.python/py-block.exp: Simplify using prepare_for_testing.
2648         Delete variable binfile, no longer use.  Add or modify test
2649         comments to make them unique.
2650
2651 2011-02-21  Michael Snyder  <msnyder@vmware.com>
2652
2653         * Makefile.in: Update for make clean.
2654         * gdb.ada/Makefile.in: Ditto.
2655         * gdb.arch/Makefile.in: Ditto.
2656         * gdb.asm/Makefile.in: Ditto.
2657         * gdb.base/Makefile.in: Ditto.
2658         * gdb.cp/Makefile.in: Ditto.
2659         * gdb.dwarf2/Makefile.in: Ditto.
2660         * gdb.java/Makefile.in: Ditto.
2661         * gdb.mi/Makefile.in: Ditto.
2662         * gdb.modula2/Makefile.in: Ditto.
2663         * gdb.python/Makefile.in: Ditto.
2664         * gdb.server/Makefile.in: Ditto.
2665         * gdb.stabs/Makefile.in: Ditto.
2666         * gdb.threads/Makefile.in: Ditto.
2667         * gdb.trace/Makefile.in: Ditto.
2668
2669 2011-02-21  Michael Snyder  <msnyder@vmware.com>
2670
2671         * gdb.threads/thread-find.exp: Update patterns for changes in
2672         output of "info threads" command.
2673
2674 2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2675             Ulrich Weigand  <uweigand@de.ibm.com>
2676
2677         * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
2678         (skip_hw_watchpoint_tests): Likewise.
2679         (skip_hw_watchpoint_multi_tests): Likewise.
2680
2681 2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
2682
2683         * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
2684         (skip_hw_watchpoint_tests): Likewise.
2685         (skip_hw_watchpoint_multi_tests): Likewise.
2686         (skip_hw_watchpoint_access_tests): Likewise.
2687
2688         * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
2689         * gdb.base/pr11022.exp: Likewise.
2690         * gdb.base/watch-read.exp: Likewise.
2691         * gdb.base/watch_thread_num.exp: Likewise.
2692         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2693         * gdb.base/watchpoint-hw.exp: Likewise.
2694         * gdb.base/watchpoint.exp: Likewise.
2695         * gdb.threads/local-watch-wrong-thread.exp: Likewise.
2696         * gdb.threads/watchthreads-reorder.exp: Likewise.
2697         * gdb.threads/watchthreads.exp: Likewise.
2698         * gdb.threads/watchthreads2.exp: Likewise.
2699
2700 2011-02-21  Joel Brobecker  <brobecker@adacore.com>
2701
2702         * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
2703         the debugger is unable to find the array bounds.
2704
2705 2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
2706
2707         * gdb.cp/typedef-operator.exp: New file.
2708         * gdb.cp/typedef-operator.cc: New file.
2709
2710 2011-02-17  Michael Snyder  <msnyder@vmware.com>
2711
2712         * gdb.threads/thread-find.exp: Fix regular expressions.
2713
2714 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
2715
2716         * gdb.ada/packed_array: Expand testcase to test printing of
2717         unconstrained packed array.
2718
2719 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
2720
2721         * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
2722
2723 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
2724
2725         * gdb.trace/collection.c (globalarr3): New global.
2726         (main): Initialize it before collecting, and and clear it
2727         afterwards.
2728         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2729         collecting with '{type} addr', where the addr expression is not an
2730         rvalue.
2731
2732 2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
2733
2734         * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
2735         a bool variable. Expect correct OpenCL names for vector types. Use the
2736         uc3 variable name instead of referring to the uchar3 built-in type.
2737         Escape the asterisk at the half pointer test.
2738
2739 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
2740
2741         * gdb.trace/collection.c (globalarr2): New global.
2742         (main): Initialize it before collecting, and and clear it
2743         afterwards.
2744         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2745         collecting overlapping memory ranges.
2746
2747 2011-02-15  Michael Snyder  <msnyder@vmware.com>
2748
2749         * gdb.base/default.exp: Add tests for thread commands.
2750         * gdb.base/help.exp: Add tests for thread commands.
2751         * gdb.threads/thread-find.exp: New test for thread find command.
2752
2753 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
2754
2755         * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
2756
2757 2011-02-15  Yao Qi  <yao@codesourcery.com>
2758
2759         PR tdep/12352
2760         * gdb.arch/arm-disp-step.S : New test for str instruction.
2761         * gdb.arch/arm-disp-step.exp : Likewise.
2762
2763 2011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2764
2765         * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
2766         "vector_register2_vr" test strings.  Test the extended floating
2767         point registers (F32~F63).
2768         * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
2769         IBM XL C compiler.  Make the test program use a register provided
2770         by the compiler for the lxvd2x instruction.
2771
2772 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2773
2774         * gdb.trace/unavailable.cc (class Base, class Middle, class
2775         Derived): New types.
2776         (derived_unavail, derived_partial, derived_whole): New globals.
2777         (virtual_partial): New global.
2778         (virtualp): Point at virtual_partial.
2779         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
2780         related to unavailable vptr.
2781
2782 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2783
2784         * gdb.trace/unavailable.cc (a, b, c): New globals.
2785         (main): Set and clear them.
2786         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
2787         `a' and `c', and check that `b' isn't collected, although `a' and
2788         `c' are.
2789
2790 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2791
2792         * gdb.trace/unavailable.cc (struct Virtual): New.
2793         (virtualp): New global pointer.
2794         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
2795         printing a pointer to an object whose type has a vtable, with
2796         print object on.
2797
2798 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2799
2800         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
2801         value repeat handles unavailableness.
2802
2803 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2804
2805         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
2806         tests for building arrays from unavailable values, subscripting
2807         non-memory rvalue unvailable arrays, and accessing fields or
2808         baseclasses of non-lazy unavailable values,
2809         * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
2810         struct types.
2811         (g_smallstruct, g_smallstruct_b): New globals.
2812
2813 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2814
2815         * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
2816
2817 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2818
2819         Fix const/volatile qualifiers of C++ types, PR c++/12328.
2820         * gdb.cp/overload-const.exp: New file.
2821         * gdb.cp/overload-const.cc: New file.
2822
2823 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
2824
2825         * gdb.opencl/callfuncs.cl: New file.
2826         * gdb.opencl/callfuncs.exp: New test.
2827         * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
2828
2829 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
2830
2831         * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
2832         when computing result.
2833         * gdb.arch/altivec-abi.exp: Update expected results.
2834
2835 2011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2836
2837         * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
2838         * gdb.base/jit.exp: Likewise.
2839         * gdb.base/pie-execl.exp: Likewise.
2840         * gdb.base/solib-nodir.exp: Likewise.
2841         * gdb.base/solib-overlap.exp: Likewise.
2842
2843 2011-02-07  Pedro Alves  <pedro@codesourcery.com>
2844
2845         * gdb.trace/collection.c (global_pieces): New.
2846         * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
2847         New procedure.
2848         (gdb_trace_collection_test): Call it.
2849
2850 2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
2851
2852         * gdb.python/py-evthreads.c: New file.
2853         * gdb.python/py-evthreads.exp: New file.
2854         * gdb.python/py-events.py: New file.
2855         * gdb.python/py-events.exp: New file.
2856         * gdb.python/py-events.c: New file.
2857
2858 2011-02-04 David Daney <ddaney@caviumnetworks.com>
2859
2860         * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
2861
2862 2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
2863
2864         * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
2865         gdb.base/disasm-end-cu.exp: New test for disassembling over the
2866         boundary between two compilation units.
2867
2868 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
2869
2870         * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
2871         (Virtual): New structs.
2872         (virtual_o, virtual_middle_b): New globals.
2873         * gdb.cp/virtbase.exp: New tests.
2874
2875 2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
2876
2877         * gdb.base/jit.exp: New file.
2878         * gdb.base/jit-main.c: New file.
2879         * gdb.base/jit-solib.c: New file.
2880
2881 2011-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
2882
2883         * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
2884         proceed to initial kernel entry point.
2885         * gdb.opencl/datatypes.exp: Likewise.
2886         * gdb.opencl/operators.exp: Likewise.
2887         * gdb.opencl/vec_comps.exp: Likewise.
2888
2889 2011-01-31  Sami Wagiaalla  <swagiaal@redhat.com>
2890
2891         * gdb.cp/nsnested.cc: New.
2892         * gdb.cp/nsnested.exp: New.
2893         * gdb.cp/nsnoimports.exp: New.
2894         * gdb.cp/nsnoimports.cc: New.
2895
2896 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
2897
2898         * gdb.base/interact.exp: Add extra tests that verify that
2899         the value of the interactive-mode setting does not change
2900         after the script is sourced.
2901
2902 2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
2903
2904         * gdb.cp/noparam.exp: New file.
2905         * gdb.cp/noparam.cc: New file.
2906
2907 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
2908
2909         * gdb.trace/tfile.exp: Test that with no traceframe selected,
2910         there's no stack or registers.
2911
2912 2011-01-26  Tom Tromey  <tromey@redhat.com>
2913
2914         * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
2915         space before string output.  Add test for "set print pretty off"
2916         case.
2917
2918 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
2919
2920         * gdb.base/frame-args.exp: Adjust.
2921         * gdb.dwarf2/dw2-noloc.exp: Adjust.
2922         * gdb.dwarf2/dw2-inline-param.exp: Adjust.
2923         * gdb.dwarf2/pieces.exp: Adjust.
2924         * gdb.opt/clobbered-registers-O2.exp: Adjust.
2925         * gdb.opt/inline-locals.exp: Adjust.
2926         * gdb.threads/fork-child-threads.exp: Adjust.
2927
2928 2011-01-25  Ken Werner  <ken.werner@de.ibm.com>
2929
2930         * gdb.opencl/convs_casts.cl: Move program scope variables into the
2931         OpenCL kernel function. Add a comment as marker. Add address space
2932         qualifiers for the remaining program scope variables.
2933         * gdb.opencl/datatypes.cl: Likewise.
2934         * gdb.opencl/operators.cl: Likewise.
2935         * gdb.opencl/vec_comps.cl: Likewise.
2936         * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
2937         Add breakpoint at the marker comment.
2938         * gdb.opencl/datatypes.exp: Likewise.
2939         * gdb.opencl/operators.exp: Likewise.
2940         * gdb.opencl/vec_comps.exp: Likewise.
2941
2942 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
2943
2944         * gdb.base/printcmds.c (some_struct): New struct and instance.
2945         * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
2946         procedure.
2947         <global scope>: Call it.
2948
2949 2011-01-21  Ken Werner  <ken.werner@de.ibm.com>
2950
2951         * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
2952         argument to the gdb_compile_opencl_hostapp call.
2953
2954 2011-01-19  Yao Qi  <yao@codesourcery.com>
2955
2956         * lib/dwarf.exp (dwarf2_support): Change supported targets to a
2957         positve list.
2958
2959 2011-01-19  Yao Qi  <yao@codesourcery.com>
2960
2961         * gdb.asm/asm-source.exp: Replace ARM target triplet with a
2962         canonical form.
2963         Remove "xscale-*-*"
2964         * gdb.xml/tdesc-regs.exp: Likewise.
2965         * gdb.python/py-section-script.exp: Replace ARM target triplet
2966         with canonical form.
2967         Match arm*-*-symbianelf*.
2968         * gdb.base/dup-sect.exp: Likewise.
2969         * lib/dwarf.exp: New.
2970         * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
2971         dwarf2_support.
2972         * gdb.dwarf2/dup-psym.exp: Likewise.
2973         * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
2974         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2975         * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
2976         * gdb.dwarf2/dw2-basic.exp: Likewise.
2977         * gdb.dwarf2/dw2-compressed.exp: Likewise.
2978         * gdb.dwarf2/dw2-const.exp: Likewise.
2979         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
2980         * gdb.dwarf2/dw2-cu-size.exp: Likewise.
2981         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2982         * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
2983         * gdb.dwarf2/dw2-filename.exp: Likewise.
2984         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2985         * gdb.dwarf2/dw2-inline-param.exp: Likewise.
2986         * gdb.dwarf2/dw2-intercu.exp: Likewise.
2987         * gdb.dwarf2/dw2-intermix.exp: Likewise.
2988         * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
2989         * gdb.dwarf2/dw2-noloc.exp: Likewise.
2990         * gdb.dwarf2/dw2-op-call.exp: Likewise.
2991         * gdb.dwarf2/dw2-producer.exp: Likewise.
2992         * gdb.dwarf2/dw2-ranges.exp: Likewise.
2993         * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
2994         * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
2995         * gdb.dwarf2/dw2-strp.exp: Likewise.
2996         * gdb.dwarf2/dw2-unresolved.exp: Likewise.
2997         * gdb.dwarf2/implptr.exp: Likewise.
2998         * gdb.dwarf2/mac-fileno.exp: Likewise.
2999         * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3000         * gdb.dwarf2/pieces.exp: Likewise.
3001         * gdb.dwarf2/pr11465.exp: Likewise.
3002         * gdb.dwarf2/valop.exp: Likewise.
3003         * gdb.dwarf2/watch-notconst.exp: Likewise.
3004         * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3005
3006 2011-01-19  Tom Tromey  <tromey@redhat.com>
3007
3008         * gdb.python/py-infthread.exp: Add thread tests.
3009
3010 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
3011
3012         * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3013
3014 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
3015
3016         * gdb.ada/widewide: New testcase.
3017
3018 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
3019
3020         * gdb.base/interact.exp: New testcase.
3021
3022 2011-01-12  Tom Tromey  <tromey@redhat.com>
3023
3024         * gdb.mi/gdb2549.exp: Update for error message changes.
3025         * gdb.mi/mi-cli.exp: Likewise.
3026         * gdb.mi/mi-disassemble.exp: Likewise.
3027         * gdb.mi/mi-pthreads.exp: Likewise.
3028         * gdb.mi/mi-regs.exp: Likewise.
3029         * gdb.mi/mi-stack.exp: Likewise.
3030         * gdb.mi/mi-var-block.exp: Likewise.
3031         * gdb.mi/mi-var-cmd.exp: Likewise.
3032         * gdb.mi/mi2-cli.exp: Likewise.
3033         * gdb.mi/mi2-disassemble.exp: Likewise.
3034         * gdb.mi/mi2-pthreads.exp: Likewise.
3035         * gdb.mi/mi2-regs.exp: Likewise.
3036         * gdb.mi/mi2-stack.exp: Likewise.
3037         * gdb.mi/mi2-var-block.exp: Likewise.
3038         * gdb.mi/mi2-var-cmd.exp: Likewise.
3039
3040 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
3041             Jan Kratochvil  <jan.kratochvil@redhat.com>
3042
3043         PR fortran/11104 and DWARF unbound arrays detection.
3044         * gdb.fortran/multi-dim.exp: New file.
3045         * gdb.fortran/multi-dim.f90: New file.
3046
3047 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
3048
3049         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3050         expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3051         add new tests for opcode dumping.
3052
3053 2011-01-11  Tom Tromey  <tromey@redhat.com>
3054
3055         * gdb.python/py-infthread.exp: Load gdb-python.exp.
3056
3057 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3058
3059         Convert hardware watchpoints to use breakpoint_ops.
3060         * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3061         type is not supported.
3062         * gdb.base/foll-fork.exp: Likewise.
3063         * gdb.base/foll-vfork.exp: Likewise.
3064
3065 2011-01-10  Phil Muldoon  <pmuldoon@redhat.com>
3066
3067         * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3068         Use load_lib gdb-python.exp.
3069         * gdb.python/python.exp: Ditto.
3070         * gdb.python/py-function.exp: Ditto.
3071
3072 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
3073
3074         * gdb.threads/tls.exp ("info address me"): Fix expected output.
3075
3076 2011-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3077
3078         * configure: Regenerate.
3079
3080 2011-01-06  Tom Tromey  <tromey@redhat.com>
3081
3082         * gdb.python/py-frame.exp: Test gdb.newest_frame.
3083
3084 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
3085
3086         * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3087         gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3088         gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3089         gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3090         gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3091         gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3092         gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3093         gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3094         gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3095         gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3096         gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3097         gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3098         gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3099         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3100         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3101         gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3102         gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3103         gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3104         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3105         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3106         gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3107         gdb.ada/uninitialized_vars.exp,
3108         gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3109         Simplify by using clean_restart.
3110
3111 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
3112
3113         Add marker to be used as anchor for inserting breakpoints.
3114         * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3115         * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3116         Likewise.
3117
3118         Remove uses of gdb_start_cmd.
3119         * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3120         * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3121
3122         Do not run testcase if testing with GDBserver.
3123         * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3124         if testing with GDBserver.
3125
3126 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
3127
3128         * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3129         gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3130         copyright header.
3131
3132 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
3133
3134         * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3135         testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3136         testsuite/gdb.fortran/complex.f,
3137         testsuite/gdb.fortran/derived-type.f90,
3138         testsuite/gdb.fortran/library-module-lib.f90,
3139         testsuite/gdb.fortran/library-module-main.f90,
3140         testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3141         testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3142         Copyright year update.
3143
3144 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
3145
3146         * gdb.base/langs1.f: Add copyright header.
3147
3148 2011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
3149
3150         * gdb.base/morestack.exp: New file.
3151         * gdb.base/morestack.c: New file.
3152
3153 2011-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3154
3155         * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3156
3157 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
3158
3159         * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3160         * gdb.ada/arrayptr.exp: Add test printing that new variable.
3161
3162 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
3163
3164         * gdb.ada/lang_switch.exp: Correct expected parameter value.
3165
3166 2010-12-25  Andreas Schwab  <schwab@linux-m68k.org>
3167
3168         * gdb.threads/tls.exp: Fix typo.
3169
3170         * gdb.threads/thread-specific.exp (get_thread_list): Update.
3171         * gdb.threads/execl.exp: Update.
3172
3173 2010-12-23  Yao Qi  <yao@codesourcery.com>
3174
3175         * gdb.arch/arm-disp-step.exp: New.
3176         * gdb.arch/arm-disp-step.S: New.
3177
3178 2010-12-21  Tom Tromey  <tromey@redhat.com>
3179
3180         * gdb.threads/execl.exp: Update.
3181         * gdb.threads/linux-dp.exp: Update.
3182         * gdb.threads/manythreads.exp: Update.
3183         * gdb.threads/tls.exp: Update.
3184
3185 2010-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
3186
3187         * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3188         (NextOverThrowDerivates) <resumebpt>: New.
3189         (resumebpt_test): New.
3190         (main): Call resumebpt_test.
3191         * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3192
3193 2010-12-12  Stan Shebs  <stan@codesourcery.com>
3194
3195         * gdb.trace/tsv.exp: Test print command on trace state variables.
3196
3197 2010-12-09  Tom Tromey  <tromey@redhat.com>
3198
3199         * gdb.base/interp.exp: Add regression test.
3200
3201 2010-12-09  Tom Tromey  <tromey@redhat.com>
3202
3203         * gdb.java/jnpe.java: New file.
3204         * gdb.java/jnpe.exp: New file.
3205         * gdb.cp/nextoverthrow.exp: New file.
3206         * gdb.cp/nextoverthrow.cc: New file.
3207
3208 2010-12-07  Doug Evans  <dje@google.com>
3209
3210         * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
3211         of data-directory.
3212         * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
3213         updated.
3214         * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
3215
3216 2010-11-29  Michael Snyder  <msnyder@vmware.com>
3217
3218         * gdb.base/callfuncs.exp: Test for skip_float_tests.
3219         * gdb.base/call-sc.exp: Ditto.
3220         * gdb.base/finish.exp: Ditto.
3221         * gdb.base/return.exp: Ditto.
3222         * gdb.base/return2.exp: Ditto.
3223
3224 2010-11-30  Doug Evans  <dje@google.com>
3225
3226         * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
3227         (gdb_expect_list): Fix spelling errors in comments.
3228         * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3229         send_gdb/gdb_expect_list where applicable.
3230         * gdb.base/call-ar-st.exp: Ditto.
3231         * gdb.base/funcargs.exp: Ditto.
3232         * gdb.base/gcore.exp: Ditto.
3233         * gdb.base/page.exp: Ditto.
3234         * gdb.base/sigaltstack.exp: Ditto.
3235         * gdb.base/siginfo.exp: Ditto.
3236         * gdb.base/sigstep.exp: Ditto.
3237         * gdb.base/trace-commands.exp: Ditto.
3238
3239 2010-11-29  Doug Evans  <dje@google.com>
3240
3241         * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
3242         printer-name;subprinter-name.
3243
3244 2010-11-29  Tom Tromey  <tromey@redhat.com>
3245
3246         * gdb.dwarf2/implptr.exp: New file.
3247         * gdb.dwarf2/implptr.c: New file.
3248         * gdb.dwarf2/implptr.S: New file.
3249
3250 2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>
3251
3252         PR python/12199
3253
3254         * gdb.python/py-breakpoint.exp: Test the delete method.
3255
3256 2010-11-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3257
3258         Fix step_resume_breakpoint unsaved during an infcall.
3259         * gdb.base/step-resume-infcall.exp: New file.
3260         * gdb.base/step-resume-infcall.c: New file.
3261
3262 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
3263
3264         * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
3265
3266 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
3267
3268         * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
3269         on ppc64's symbols; "finish" and "return" commands must accept to
3270         show the caller line again as well as the line after.
3271         * gdb.asm/powerpc64.inc: New file.
3272
3273 2010-11-23  Doug Evans  <dje@google.com>
3274
3275         * lib/gdb.exp (gdb_test_sequence): New function.
3276         (gdb_expect_list): Add verbose -log call for each pattern.
3277         * gdb.base/signals.exp (test_handle_all_print): Call it.
3278         Reduce timeout increment from 6 minutes to 1 minute.
3279         * gdb.server/ext-run.exp: Call it.
3280
3281 2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>
3282
3283         PR python/12212
3284
3285         * gdb.python/python.exp: Check that selected_thread raises an
3286         error when no inferior is loaded.
3287
3288 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3289
3290         * gdb.dwarf2/dw2-stack-boundary.exp: New file.
3291         * gdb.dwarf2/dw2-stack-boundary.S: New file.
3292
3293 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3294
3295         * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
3296         * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
3297
3298 2010-11-18  Doug Evans  <dje@google.com>
3299
3300         * gdb.server/ext-run.exp: Fix intermittent failures.
3301
3302 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3303
3304         * gdb.stabs/gdb11479.exp: Use runto_main.
3305
3306 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3307
3308         * gdb.base/break-entry.exp: Skip if using a stub.
3309
3310 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3311
3312         * gdb.python/py-inferior.exp: Pack values in target endianness.
3313
3314 2010-11-12  Tom Tromey  <tromey@redhat.com>
3315
3316         * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
3317         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
3318         MemoryError.
3319         * gdb.python/python.exp (gdb_py_test_multiple): Update exception
3320         type.
3321         * gdb.python/py-value.exp (test_value_in_inferior): Add test for
3322         MemoryError.
3323         (test_subscript_regression): Update exception type.
3324
3325 2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
3326
3327         * gdb.python/py-breakpoint.exp: Add internal watchpoint and
3328         breakpoint tests.
3329
3330 2010-11-09  Pedro Alves  <pedro@codesourcery.com>
3331
3332         * gdb.base/watchpoint.exp: Test "watch -location" with an
3333         innacessible location.
3334
3335 2010-11-09  Edjunior Machado  <emachado@br.ibm.com>
3336             Luis Machado  <luisgpm@br.ibm.com>
3337
3338         * gdb.base/maint.exp: Expect "." prefix.
3339         * gdb.base/nodebug.exp: Expect "." Likewise.
3340         * gdb.base/sepsymtab.exp: Expect "." Likewise.
3341         * gdb.base/watchpoint-cond-gone.exp: Likewise.
3342         * gdb.base/watchpoint.exp: Expect a software watch to be created for
3343         POWER server processors.
3344
3345 2010-11-08  Edjunior Machado  <emachado@br.ibm.com>
3346             Luis Machado  <luisgpm@br.ibm.com>
3347
3348         * gdb.base/break-entry.exp: convert entry point for
3349         ppc64 and expect leading `.' on ppc64's symbols
3350
3351 2010-11-05  Doug Evans  <dje@google.com>
3352
3353         * gdb.base/help.exp: Update expected output.
3354         * gdb.python/py-param.exp: Delete, contents moved to ...
3355         * gdb.python/py-parameter.exp: ... here.  New file.
3356         Add test for gdb.parameter ("directories").
3357
3358 2010-11-05  Ken Werner  <ken.werner@de.ibm.com>
3359
3360         * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
3361         * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
3362         * configure: Regenerate.
3363         * gdb.opencl/Makefile.in: New File.
3364         * gdb.opencl/datatypes.exp: Likewise.
3365         * gdb.opencl/datatypes.cl: Likewise.
3366         * gdb.opencl/operators.exp: Likewise.
3367         * gdb.opencl/operators.cl: Likewise.
3368         * gdb.opencl/vec_comps.exp: Likewise.
3369         * gdb.opencl/vec_comps.cl: Likewise.
3370         * gdb.opencl/convs_casts.exp: Likewise.
3371         * gdb.opencl/convs_casts.cl: Likewise.
3372         * lib/opencl.exp: Likewise.
3373         * lib/opencl_hostapp.c: Likewise.
3374         * lib/opencl_kernel.cl: Likewise.
3375         * lib/cl_util.c: Likewise.
3376         * lib/cl_util.c: Likewise.
3377         * gdb.base/default.exp (set language): Add "opencl" to the list of
3378         languages.
3379
3380 2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
3381
3382         * gdb.cp/overload.exp: Added test for inheritance overload.
3383         * gdb.cp/overload.cc: Ditto.
3384         * gdb.cp/oranking.exp: Removed releveant kfails.
3385
3386 2010-11-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
3387             Joel Brobecker  <brobecker@adacore.com>
3388
3389         * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
3390         check test_compiler_info.
3391
3392 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3393
3394         * gdb.base/gnu_vector.exp: Adjust expect messages.
3395
3396 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3397
3398         * gdb.base/gnu_vector.exp: Add unary operator tests.
3399
3400 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3401
3402         * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
3403
3404 2010-11-02  Doug Evans  <dje@google.com>
3405
3406         * gdb.python/py-pp-maint.c: New file.
3407         * gdb.python/py-pp-maint.exp: New file.
3408         * gdb.python/py-pp-maint.py: New file.
3409
3410 2010-11-02  Tom Tromey  <tromey@redhat.com>
3411
3412         * gdb.base/default.exp: Remove "scheme" from language list.
3413
3414 2010-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3415
3416         Revert:
3417         2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3418         * gdb.threads/sigstep-threads.exp: New file.
3419         * gdb.threads/sigstep-threads.c: New file.
3420
3421 2010-10-20  Michael Snyder  <msnyder@vmware.com>
3422
3423         * gdb.threads/fork-child-threads.exp: Don't run on remote target.
3424
3425 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
3426
3427         * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
3428         Skip test completely if gdb,no_hardware_watchpoints.
3429
3430 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
3431
3432         * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
3433         strict, but do not check for any particular function name within libc.
3434
3435 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
3436
3437         * gdb.cp/smartp.exp: New test.
3438         * gdb.cp/smartp.cc : New test.
3439
3440 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
3441
3442         * gdb.cp/converts.exp: Test pointer to bool conversion.
3443         Test pointer to long conversion.
3444         * gdb.cp/oranking.exp: Removed relevant kfail.
3445
3446 2010-10-18  Tom Tromey  <tromey@redhat.com>
3447
3448         * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
3449         argument to lazy_string.
3450         * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
3451         (pp_ls.to_string): Use it.
3452         * gdb.python/py-prettyprint.c (main): Move declarations to top.
3453         Add "estring2" local.
3454
3455 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3456
3457         Fix s390x compatibility.
3458         * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS.  Twice.
3459         * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3460
3461 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3462
3463         * gdb.threads/sigstep-threads.exp: New file.
3464         * gdb.threads/sigstep-threads.c: New file.
3465
3466 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3467
3468         * gdb.base/pie-execl.exp: New file.
3469         * gdb.base/pie-execl.c: New file.
3470
3471 2010-10-13  Doug Evans  <dje@google.com>
3472             Jan Kratochvil  <jan.kratochvil@redhat.com>
3473
3474         PR exp/12117
3475         * gdb.cp/ptype-cv-cp.cc: New file.
3476         * gdb.cp/ptype-cv-cp.exp: New file.
3477
3478 2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
3479
3480         * gdb.cp/converts.cc: New test program.
3481         * gdb.cp/converts.exp: New test.
3482         * gdb.cp/overload.exp: Added test for void* vs int*.
3483         * gdb.cp/overload.exp: Ditto.
3484         * gdb.cp/oranking.exp: Removed related kfail.
3485
3486 2010-10-13  Doug Evans  <dje@google.com>
3487
3488         * lib/gdb-python.exp (gdb_check_python_config): New function.
3489         * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3490         * gdb.python/lib-types.cc: New file.
3491         * gdb.python/lib-types.exp: New file.
3492
3493 2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3494
3495         * gdb.python/py-error.exp: New file.
3496         * gdb.python/py-error.py: New file.
3497
3498 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3499
3500         * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
3501         gdb_test_multiple.
3502
3503 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3504
3505         * gdb.base/break-interp.exp: Use ldlags for linking flags.
3506         * gdb.base/prelink.exp: Likewise.
3507         * gdb.base/solib-nodir.exp: Likewise.
3508         * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
3509         (gdb_compile) <shlib_load>: Use ldlags for linking flags.
3510         * lib/prelink-support.exp (build_executable_own_libs): Likewise.
3511
3512 2010-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
3513
3514         * break-interp.exp (test_ld): Use two separate gdb_expect statements
3515         for the "info files" test to avoid timeouts on slow machines.
3516
3517 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3518
3519         * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
3520         (main): Make openlib dummy call.
3521
3522 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3523
3524         Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
3525         * break-interp.exp (reach): Move the core body ...
3526         (reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
3527         (test_ld): Provide always real argument, even to the linker.  Replace
3528         dl_main by _dl_debug_state.
3529
3530 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3531
3532         Fix results of prelinked PIEs on ppc*.
3533         * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
3534         Accept also DISPLACEMENT "PRESENT".
3535         (main): Replace "ZERO" displacements by "PRESENT".
3536
3537 2010-10-08  Sami Wagiaalla  <swagiaal@redhat.com>
3538
3539         * gdb.cp/oranking.exp: New test.
3540         * gdb.cp/oranking.cc: New test program.
3541
3542 2010-10-08  Ken Werner  <ken.werner@de.ibm.com>
3543
3544         * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
3545         * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
3546
3547 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
3548
3549         * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
3550         lush, lynx) New constant.
3551         * gdb.base/constvars.exp: Test const array types.
3552         * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
3553
3554 2010-10-06  Doug Evans  <dje@google.com>
3555
3556         * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
3557         of syscall staging area.
3558
3559 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
3560
3561         * gdb.base/gnu_vector.c: Add variable c4.
3562         * gdb.base/gnu_vector.exp: Add tests for character vector printing.
3563         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3564
3565 2010-10-05  Maciej W. Rozycki  <macro@codesourcery.com>
3566
3567         * gdb.arch/altivec-abi.exp: Fix a typo.
3568
3569 2010-10-02  Maciej W. Rozycki  <macro@codesourcery.com>
3570
3571         * lib/mi-support.exp (thread_selected_re): Correct pattern used
3572         to match a thread ID.
3573
3574 2010-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3575
3576         Fix s390x testcase compatibility.
3577         * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
3578
3579 2010-10-01  Doug Evans  <dje@google.com>
3580
3581         * lib/gdb-python.exp: New file.
3582         * gdb.python/py-block.exp: Use it.
3583         * gdb.python/py-breakpoint.exp: Ditto.
3584         * gdb.python/py-frame.exp: Ditto.
3585         * gdb.python/py-inferior.exp: Ditto.
3586         * gdb.python/py-param.exp: Ditto.
3587         * gdb.python/py-prettyprint.exp: Ditto.
3588         * gdb.python/py-shared.exp: Ditto.
3589         * gdb.python/py-symbol.exp: Ditto.
3590         * gdb.python/py-symtab.exp: Ditto.
3591         * gdb.python/py-type.exp: Ditto.
3592         * gdb.python/py-value.exp: Ditto.
3593         * gdb.python/python.exp: Ditto.
3594
3595 2010-09-30  Tom Tromey  <tromey@redhat.com>
3596
3597         * gdb.base/anon.exp: New file.
3598         * gdb.base/anon.c: New file.
3599
3600 2010-09-30  Tom Tromey  <tromey@redhat.com>
3601
3602         * gdb.base/completion.exp: Test completion through anonymous
3603         union.
3604         * gdb.base/break1.c (struct some_struct): Add anonymous union.
3605
3606 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3607
3608         Fix printing parameters of inlined functions.
3609         * gdb.dwarf2/dw2-inline-param.exp: New file.
3610         * gdb.dwarf2/dw2-inline-param-main.c: New file.
3611         * gdb.dwarf2/dw2-inline-param.S: New file.
3612
3613 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3614
3615         PR corefiles/12071.
3616         * gdb.base/corefile.exp (quit with a process, no question: load core)
3617         (quit with a core file): New tests.
3618
3619 2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3620
3621         Fix GDB crash on inferior calls with self-referencing classes.
3622         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
3623         * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
3624         * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
3625
3626 2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3627
3628         Fix lost siginfo_t for inferior calls.
3629         * gdb.base/siginfo-infcall.exp: New file.
3630         * gdb.base/siginfo-infcall.c: New file.
3631
3632 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
3633
3634         * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
3635
3636 2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
3637
3638         * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
3639         New test.
3640         * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
3641
3642 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
3643
3644         * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
3645         type of our const type.
3646
3647 2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>
3648
3649         * gdb.cp/pr12028.cc: New.
3650         * gdb.cp/pr12028.exp: New.
3651
3652 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
3653
3654         * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
3655
3656 2010-09-16  Phil Muldoon  <pmuldoon@redhat.com>
3657             Jan Kratochvil  <jan.kratochvil@redhat.com>
3658
3659         PR mi/11407
3660         * gdb.mi/dw2-ref-missing-frame-func.c: New File.
3661         * gdb.mi/dw2-ref-missing-frame-main.c New File.
3662         * gdb.mi/dw2-ref-missing-frame.S New File.
3663         * gdb.mi/dw2-ref-missing-frame.exp New File.
3664
3665 2010-09-14  Tom Tromey  <tromey@redhat.com>
3666
3667         PR symtab/8399:
3668         * gdb.threads/tls.exp: Remove kfail.  Update expected output.
3669
3670 2010-09-14  Tom Tromey  <tromey@redhat.com>
3671
3672         PR exp/11803:
3673         * gdb.threads/tls.exp: Use C++.
3674         (check_thread_local): Use K::another_thread_local.
3675         * gdb.threads/tls.c (class K): New.
3676         (another_thread_local): Now a member of K.
3677         (spin): Update.  No longer K&R C.
3678
3679 2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
3680
3681         * gdb.cp/koenig.cc: created class for testing member lookup.
3682         * gdb.cp/koenig.exp: Added test for member lookup.
3683
3684 2010-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3685
3686         Fix false FAILs on sourcetree topdir directory containing "kill".
3687         * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
3688         source line matching regexp.
3689
3690 2010-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3691
3692         * gdb.python/python.exp (set height 0, collect help from uiout)
3693         (verify help to uiout): New tests.
3694
3695 2010-09-10  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3696
3697         * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
3698         is_lp64_target to check 64bit target.
3699
3700 2010-09-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
3701
3702         * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
3703         (test_ld) <powerpc64-*>: New.
3704
3705 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
3706
3707         * gdb.cp/templates.exp (test_template_args): Allow "struct".
3708
3709 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
3710
3711         * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
3712         (FunctionArg::method): New function.
3713         (empty, arg): New variables.
3714         (main): Call arg.method.
3715         * gdb.cp/templates.exp (test_template_args): New function.
3716         (do_tests): Call it.
3717
3718 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
3719
3720         * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
3721         of "next" to proceed over pthread_exit call.
3722
3723 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
3724
3725         * gdb.base/maint.exp: Avoid wildcards against potentially very long
3726         "maint print statistics" output to prevent expect timeouts.
3727
3728 2010-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3729
3730         * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
3731         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3732         (test_float_rejected): ... here.
3733         * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
3734         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3735         (test_float_rejected): ... here.
3736         * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
3737         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3738         (test_float_rejected): ... here.
3739         * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
3740         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3741         (test_float_rejected): ... here.
3742
3743 2010-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
3744
3745         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
3746         before disabling hardware watchpoints.
3747         (test_inaccessible_watchpoint): Check that hardware watchpoints
3748         are used.  Test for watchpoints on a constant address.
3749
3750 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
3751
3752         * gdb.base/ui-redirect.exp: New file.
3753
3754 2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3755             Joel Brobecker  <brobecker@adacore.com>
3756
3757         * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
3758
3759 2010-08-31  Doug Evans  <dje@google.com>
3760
3761         * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
3762
3763 2010-08-30  Tom Tromey  <tromey@redhat.com>
3764
3765         PR python/11792:
3766         * gdb.python/py-value.exp (test_subscript_regression): Add
3767         dynamic_type test.
3768
3769 2010-08-30  Daniel Jacobowitz  <dan@codesourcery.com>
3770
3771         * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
3772         instead of running to main.  Do not test the main function.
3773         * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
3774         Add new main.
3775
3776 2010-08-26  Pedro Alves  <pedro@codesourcery.com>
3777
3778         * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
3779         one test.
3780
3781 2010-08-24  Doug Evans  <dje@google.com>
3782
3783         PR symtab/11942
3784         * gdb.dwarf2/dw4-sig-types.cc: New file.
3785         * gdb.dwarf2/dw4-sig-types.h: New file.
3786         * gdb.dwarf2/dw4-sig-types-b.cc: New file.
3787         * gdb.dwarf2/dw4-sig-types.exp: New file.
3788
3789 2010-08-23  Tom Tromey  <tromey@redhat.com>
3790
3791         PR python/11145:
3792         * gdb.python/py-value.c (Base, Derived): New types.
3793         (base): New global.
3794         * gdb.python/py-value.exp (test_subscript_regression): Add
3795         dynamic_cast test.
3796
3797 2010-08-23  Tom Tromey  <tromey@redhat.com>
3798
3799         PR python/10676:
3800         * gdb.python/py-type.exp (test_fields): Add tests for type
3801         equality.
3802
3803 2010-08-23  Tom Tromey  <tromey@redhat.com>
3804
3805         PR python/11915:
3806         * gdb.python/py-type.exp (test_fields): Add tests for array.
3807
3808 2010-08-23  Keith Seitz  <keiths@redhat.com>
3809
3810         * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
3811         have any children. Create a new abbrev for it.
3812         Add missing terminal sequence to .debug_abbrev.
3813
3814 2010-08-20  Keith Seitz  <keiths@redhat.com>
3815
3816         PR symtab/11465:
3817         * gdb.dwarf2/pr11465.exp: New test.
3818         * gdb.dwarf2/pr11465.S: New file.
3819         * gdb.dwarf2/dw2-double-set-die-type.S: New file.
3820         * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
3821
3822 2010-08-19  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3823
3824         * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
3825         registers.  Update data sets with the new v2_double element in the
3826         VSX register union.  Add vector_register3_vr data set for the AltiVec
3827         registers.  Use gdb_test_no_output instead of send_gdb.
3828
3829 2010-08-19  Pedro Alves  <pedro@codesourcery.com>
3830
3831         * gdb.python/py-shared.exp: New file, factored out from
3832         python.exp.
3833         * gdb.python/py-shared.c: New file.
3834         * gdb.python/py-shared-sl.c: New file.
3835         * gdb.python/python-1.c: New file.
3836         * gdb.python/python-sl.c: Delete.
3837         * gdb.python/python.c: Mention python-1.c.
3838         * gdb.python/python.exp: Move shared library tests to
3839         py-shared.exp.
3840         * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
3841         (MISCELLANEOUS): New.
3842         (clean mostlyclean): Also remove $MISCELLANEOUS.
3843
3844 2010-08-19  Doug Evans  <dje@google.com>
3845
3846         PR exp/11926
3847         * gdb.base/printcmds.exp (test_float_accepted): New function.
3848         Move existing float tests there.  Add tests for floats with suffixes.
3849         (test_float_rejected): New function.
3850         * gdb.java/jv-print.exp (test_float_accepted): New function.
3851         (test_float_rejected): New function.
3852         * gdb.objc/print.exp: New file.
3853         * gdb.pascal/print.exp: New file.
3854         * lib/objc.exp: New file.
3855
3856 2010-08-19  Pierre Muller  <muller@ics.u-strasbg.fr>
3857
3858         * gdb.base/default.exp (info set): Avoid full buffer error and force
3859         reading up to final gdb prompt.
3860         (show): Likewise.
3861
3862 2010-08-18  Tom Tromey  <tromey@redhat.com>
3863
3864         PR symtab/11919:
3865         * gdb.base/completion.exp: Add test.
3866
3867 2010-08-18  Doug Evans  <dje@google.com>
3868
3869         * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
3870         * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
3871         * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
3872         Simplify, early exit if runto_main fails.
3873         * gdb.fortran/exprs.exp: load_lib fortran.exp.
3874         (set_lang_fortran): Moved to lib/fortran.exp.
3875         * gdb.fortran/types.exp: load_lib fortran.exp.
3876         (set_lang_fortran): Moved to lib/fortran.exp.
3877         * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
3878         * gdb.java/jprint.exp (set_lang_java): Ditto.
3879         * gdb.java/jv-exp.exp: load_lib java.exp.
3880         If set_lang_java fails, issue a warning instead of failure to be
3881         consistent with other set_lang_foo uses.
3882         (set_lang_java): Moved to lib/java.exp.
3883         * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
3884         If set_lang_java fails, issue a warning instead of failure to be
3885         consistent with other set_lang_foo uses.
3886         * gdb.pascal/types.exp: load_lib pascal.exp.
3887         (set_lang_pascal): Moved to lib/pascal.exp.
3888         * lib/fortran.exp: New file.
3889         * lib/java.exp (set_lang_java): New function.
3890         * lib/pascal.exp (set_lang_pascal): New function.
3891
3892 2010-08-18  Yao Qi  <yao@codesourcery.com
3893
3894         * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
3895         func_nofb_start and func_loopfb_start, so that address of functions
3896         is equal to these labels on Thumb.
3897
3898 2010-08-18  Yao Qi  <yao@codesourcery.com>
3899
3900         * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
3901         to reflect latest c source file.
3902
3903 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3904
3905         * gdb.cp/infcall-dlopen.exp: New file.
3906         * gdb.cp/infcall-dlopen.cc: New file.
3907         * gdb.cp/infcall-dlopen-lib.cc: New file.
3908
3909 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3910             Pedro Alves  <pedro@codesourcery.com>
3911
3912         PR breakpoints/11371
3913
3914         * gdb.base/watch-cond-infcall.exp: New file.
3915         * gdb.base/watch-cond-infcall.c: New file.
3916
3917 2010-08-16  Tom Tromey  <tromey@redhat.com>
3918
3919         * gdb.base/help.exp: Update.
3920         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
3921         watchpoint.
3922         (test_watch_location): New proc.
3923         (test_watchpoint_in_big_blob): Delete watchpoint.
3924         * gdb.base/watchpoint.c (func5): New function.
3925         (main): Call it.
3926
3927 2010-08-16  Doug Evans  <dje@google.com>
3928
3929         * gdb.python/python.exp: Fix syntax in "post event insertion" test.
3930
3931 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
3932
3933         * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
3934         tests.
3935
3936 2010-08-11  Ken Werner  <ken.werner@de.ibm.com>
3937
3938         * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
3939         * gdb.base/gnu_vector.c: New File.
3940         * gdb.base/gnu_vector.exp: Likewise.
3941
3942 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
3943
3944         * gdb.python/python.c: New File.
3945         * gdb.python/python-sl.c: New File.
3946         * gdb.python/python.exp: Test solib_address and decode_line
3947         * functions.
3948
3949 2010-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3950
3951         * gdb.python/python.exp (show height, set height 10)
3952         (verify pagination beforehand, verify pagination beforehand: q)
3953         (gdb.execute does not page, verify pagination afterwards)
3954         (verify pagination afterwards: q): New.
3955
3956 2010-08-02  Doug Evans  <dje@google.com>
3957
3958         * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
3959         because of an older gcc, change test2
3960         "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
3961         to unsupported.
3962
3963 2010-07-30  Kazu Hirata  <kazu@codesourcery.com>
3964
3965         * gdb.base/break-always.exp: Do not expect full paths to file
3966         names.
3967         * gdb.base/commands.exp: Likewise.
3968
3969 2010-07-30  Doug Evans  <dje@google.com>
3970
3971         * gdb.cp/temargs.exp: For new tests that require newer gccs,
3972         xfail them when run with older gccs.
3973
3974         * lib/gdb.exp (build_executable): Forward "c++" option to
3975         get_compiler_info.
3976
3977         * gdb.python/py-type.exp (test_template): Mark as xfail tests
3978         "python print ttype.template_argument(1)" and
3979         "python print isinstance(ttype.template_argument(1), gdb.Value)"
3980         if using gcc 4.4 or earlier.
3981
3982         * gdb.base/valgrind-db-attach.exp: Use unique test name for
3983         attach-to-debugger handling.
3984
3985 2010-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3986
3987         * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
3988         * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
3989         (main): Use copyreloc.
3990         * gdb.base/prelink.exp (split debug of executable)
3991         (.dynbss vs. .bss address shift): New tests.
3992
3993 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
3994
3995         * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
3996         in gdb_test_multiple.
3997
3998 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
3999
4000         * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4001         environment.
4002
4003 2010-07-28  Tom Tromey  <tromey@redhat.com>
4004
4005         PR python/11060:
4006         * gdb.python/py-type.c (Temargs): New template.
4007         (temvar): New variable.
4008         * gdb.python/py-type.exp (test_template): New proc.
4009
4010 2010-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
4011
4012         * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4013         gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4014
4015 2010-07-28  Tom Tromey  <tromey@redhat.com>
4016
4017         PR c++/9946:
4018         * gdb.cp/temargs.exp: New file.
4019         * gdb.cp/temargs.cc: New file.
4020
4021 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
4022
4023         * gdb.base/help.exp (help disassemble): Update the content.
4024
4025 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
4026
4027         * gdb.threads/ia64-sigill.exp: New file.
4028         * gdb.threads/ia64-sigill.c: New file.
4029
4030 2010-07-27  Tom Tromey  <tromey@redhat.com>
4031
4032         * gdb.opt/inline-cmds.c (ATTR): New define.
4033         (func1): Use it.
4034         (func2): Likewise.
4035         (func3): Likewise.
4036         (outer_inline1): Likewise.
4037         (outer_inline2): Likewise.
4038         * gdb.opt/inline-bt.c (ATTR): New define.
4039         (func1): Use it.
4040         (func2): Likewise.
4041         * gdb.opt/inline-locals.c (ATTR): New define.
4042         (func1): Use it.
4043         (func2): Likewise.
4044
4045 2010-07-27  Tom Tromey  <tromey@redhat.com>
4046
4047         * gdb.stabs/gdb11479.c (hack): New function.
4048         (test): Use it.
4049         (test2): Use it.
4050         * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4051         (int32_search_buf, int64_search_buf): No longer static.
4052         (x): Remove.
4053         * gdb.base/relocate.c (hack): New function.
4054
4055 2010-07-27  Phil Muldoon  <pmuldoon@redhat.com>
4056
4057         * gdb.python/py-value.exp (test_inferior_function_call): New function.
4058         * gdb.python/py-value.c (func1): New function.
4059         (func2): Likewise.
4060
4061 2010-07-26  Corinna Vinschen  <vinschen@redhat.com>
4062
4063         * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4064         as not to clash with .data section.
4065
4066 2010-07-26  Jerome Guitton  <guitton@adacore.com>
4067
4068         * gdb.base/code_elim.exp: New file.
4069         * gdb.base/code_elim1.c: New file.
4070         * gdb.base/code_elim2.c: New file.
4071
4072 2010-07-21  Pedro Alves  <pedro@codesourcery.com>
4073
4074         PR symtab/11827
4075
4076         * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4077         (some_volatile_enum): New variable.
4078         * gdb.base/printcmds.exp (test_print_enums): New.
4079         <top level>: Call it.
4080
4081 2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>
4082
4083         * gdb.cp/fpointer.cc: New test.
4084         * gdb.cp/fpointer.exp: New test.
4085
4086 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4087
4088         * gdb.base/solib-nodir.exp: New file.
4089         * lib/gdb.exp (runto): New case for a GDB internal error.
4090
4091 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4092             Ulrich Weigand  <uweigand@de.ibm.com>
4093             Tom Tromey  <tromey@redhat.com>
4094
4095         * gdb.base/charset-malloc.c: New file.
4096         * gdb.base/charset.c (malloc_stub): New prototype.
4097         (main): Call it instead of malloc itself.
4098         * gdb.base/charset.exp: Use only prepare_for_testing.
4099         (binfile): Remove the variable.
4100
4101 2010-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
4102
4103         Make core files the process_stratum.
4104         * gdb.base/corefile.exp (run: load core again)
4105         (run: sanity check we see the core file, run: with core)
4106         (run: core file is cleared, attach: load core again)
4107         (attach: sanity check we see the core file, attach: with core)
4108         (attach: core file is cleared): New tests.
4109         * gdb.base/coremaker.c (main): New parameters.  Implement "sleep" argv.
4110
4111 2010-07-14  Ken Werner  <ken.werner@de.ibm.com>
4112
4113         * gdb.arch/altivec-abi.exp: New tests.
4114
4115 2010-07-13  Tom Tromey  <tromey@redhat.com>
4116
4117         * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4118         (main): Use it.
4119         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4120
4121 2010-07-13  Tom Tromey  <tromey@redhat.com>
4122
4123         * gdb.base/label.exp: New file.
4124         * gdb.base/label.c: New file.
4125
4126 2010-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
4127             H.J. Lu  <hongjiu.lu@intel.com>
4128
4129         * lib/gdb.exp (is_ilp32_target): New.
4130         (is_lp64_target): Likewise.
4131
4132         * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4133         target.
4134         * gdb.arch/amd64-disp-step.exp: Likewise.
4135         * gdb.arch/amd64-dword.exp: Likewise.
4136         * gdb.arch/amd64-i386-address.exp: Likewise.
4137         * gdb.arch/amd64-word.exp: Likewise.
4138
4139         * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4140         target.
4141         * gdb.arch/i386-bp_permanent.exp: Likewise.
4142         * gdb.arch/i386-byte.exp: Likewise.
4143         * gdb.arch/i386-disp-step.exp: Likewise.
4144         * gdb.arch/i386-gnu-cfi.exp: Likewise.
4145         * gdb.arch/i386-prologue.exp: Likewise.
4146         * gdb.arch/i386-size-overlap.exp: Likewise.
4147         * gdb.arch/i386-size.exp: Likewise.
4148         * gdb.arch/i386-sse.exp: Likewise.
4149         * gdb.arch/i386-unwind.exp: Likewise.
4150         * gdb.arch/i386-word.exp: Likewise.
4151
4152         * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4153         test only when building 64-bit executables.  Do not hard-code
4154         -m64 option.
4155
4156 2010-07-07  Doug Evans  <dje@google.com>
4157
4158         * lib/gdb.exp (gdb_test_list_exact): New function.
4159         * gdb.base/default.exp (show convenience): Call it, add tests for
4160         $_sdata = void, $_thread = 0.
4161
4162 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4163             Joel Brobecker  <brobecker@adacore.com>
4164
4165         Fix re-run of PIE executable, PR shlibs/11776.
4166         * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4167         Remove $displacement_main to match the solib-svr4.c change.  New "kill"
4168         and re-"run" of the inferior.
4169
4170 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4171             Joel Brobecker  <brobecker@adacore.com>
4172
4173         Cope with missing /usr/sbin/prelink.
4174         * lib/prelink-support.exp (prelink_no):
4175         <result == 1 && $output is "no such file or directory">: New.
4176         (prelink_yes): Likewise.  Return on failed prelink_no.
4177
4178 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4179             Joel Brobecker  <brobecker@adacore.com>
4180
4181         * gdb.base/attach-pie-misread.exp: Load prelink-support.exp.  Replace
4182         build_executable by build_executable_own_libs.  Replace "prelink -R"
4183         execution by a call of prelink_yes.  Comment why "prelink -r" needs no
4184         change.
4185         * gdb.base/break-interp.exp: Load prelink-support.exp.  Rename calls of
4186         copy to file_copy.  Move setting opts --dynamic-linker and -rpath,
4187         mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4188         Replace build_executable by build_executable_own_libs's function
4189         build_executable_own_libs.
4190         (prelinkNO): Create new stub to call prelink_no.
4191         (prelinkYES): Create new stub to call prelink_yes.
4192         (test_attach): Rename calls of copy to file_copy.
4193         (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4194         (copy): Move to ...
4195         * lib/prelink-support.exp: ... a new file.  Rename prelinkNO to
4196         prelink_no, prelinkYES to prelink_yes, copy to file_copy.
4197         * gdb.base/prelink.exp: Disable testcase also for is_remote and
4198         skip_shlib_tests.  Load prelink-support.exp.  Replace gdb_compile with
4199         special flags by gdb_compile_shlib.  Replace second gdb_compile by
4200         build_executable_own_libs.  Replace "prelink -R" execution by a call of
4201         prelink_yes.  Replace "prelink -u" and second "prelink -R" execution by
4202         a second call of prelink_yes.  Replace restart commands by
4203         clean_restart.
4204         (prelink): Rename to ...
4205         (seen displacement message): ... this test.  Extend its expectation
4206         strictness.
4207
4208 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4209
4210         * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
4211         * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
4212         displacement message exactly once.
4213
4214 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4215             Joel Brobecker  <brobecker@adacore.com>
4216
4217         * gdb.base/break-interp.exp (test_attach): Keep $interp changed.  Move
4218         its restore after the <$relink_args != ""> loop.  new comment.
4219
4220 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4221             Joel Brobecker  <brobecker@adacore.com>
4222
4223         * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
4224         code for it.  New variable relink_args.
4225         (prelinkYES): Call prelinkNO.
4226         (test_attach): Accept new parameter relink_args.  Re-prelink the binary
4227         in such case.  Move the core code to ...
4228         (test_attach_gdb): ... a new function.  Send GDB command "file".
4229         Extend expected "Attaching to " string.
4230
4231 2010-07-02  Tom Tromey  <tromey@redhat.com>
4232
4233         * gdb.base/bitops.exp: Remove extraneous "pass".
4234
4235 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
4236
4237         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4238
4239 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
4240
4241         * gdb.base/help.exp: Adjust expected output.
4242
4243 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
4244
4245         * gdb.base/help.exp: Adjust expected output.
4246
4247 2010-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4248
4249         * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
4250         (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
4251         c++/11702.
4252
4253 2010-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4254             Doug Evans  <dje@google.com>
4255
4256         * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
4257         add .dynamic entry'.
4258
4259 2010-06-29  Doug Evans  <dje@google.com>
4260
4261         Test PR c++/11702.
4262         * gdb.cp/m-static.exp: Add testcase.
4263         * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
4264
4265 2010-06-28  Phil Muldoon  <pmuldoon@redhat.com>
4266             Tom Tromey  <tromey@redhat.com>
4267             Thiago Jung Bauermann  <bauerman@br.ibm.com>
4268
4269         * gdb.python/py-inferior.c: New File.
4270         * gdb.python/py-infthread.c: New File.
4271         * gdb.python/py-inferior.exp: New File.
4272         * gdb.python/py-infthread.exp: New File.
4273
4274 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4275
4276         * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
4277         (ptype ::C::OtherFileClass typedefs): New.
4278         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
4279         (C::OtherFileClass::cOtherFileClassVar2): New.
4280         (C::OtherFileClass::cOtherFileClassVar_use): Use also
4281         cOtherFileClassVar2.
4282         (C::cOtherFileType2, C::cOtherFileVar2): New.
4283         (C::cOtherFileVar_use): use also cOtherFileVar2.
4284         * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
4285
4286 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4287
4288         * gdb.cp/namespace.exp (whatis C::cOtherFileType)
4289         (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
4290         (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
4291         (print ::C::cOtherFileVar)
4292         (whatis C::OtherFileClass::cOtherFileClassType)
4293         (whatis ::C::OtherFileClass::cOtherFileClassType)
4294         (print C::OtherFileClass::cOtherFileClassVar)
4295         (print ::cOtherFileClassVar)
4296         (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
4297         (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
4298         trailing content.
4299         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
4300         (C::OtherFileClass::cOtherFileClassVar)
4301         (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
4302         (C::cOtherFileVar, C::cOtherFileVar_use): New.
4303
4304 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4305
4306         Test PR c++/11703 and PR gdb/1448.
4307         * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
4308         gdb/1448.
4309
4310 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4311
4312         * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4313         (main) <rtti_data>: New.
4314         * gdb.cp/virtbase.exp (print rtti_data): New.
4315
4316 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4317             Joel Brobecker  <brobecker@adacore.com>
4318
4319         * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
4320
4321 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4322
4323         * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
4324
4325 2010-06-28  Doug Evans  <dje@google.com>
4326
4327         * gdb.base/break-interp.exp (reach): Relax expected output a bit.
4328
4329 2010-06-27  Doug Evans  <dje@google.com>
4330
4331         * gdb.cp/m-static.exp: Update expected test output.
4332
4333 2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
4334
4335         * gdb.gdb/selftest.exp: Adjust expected message for
4336         capturing start-up runtime.
4337
4338 2010-06-25  Tom Tromey  <tromey@redhat.com>
4339
4340         PR python/10808:
4341         * gdb.python/python.exp: Add new tests.
4342
4343 2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
4344
4345         * gdb.cp/operator.cc: Created an import loop.
4346         * gdb.cp/operator.exp: Added testcase for import loop.
4347
4348 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4349
4350         Test PR python/11407.
4351         * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
4352         * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
4353         Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
4354         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
4355         executable_nofb and executable_fb.  New variables srcsfile, objsfile,
4356         srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
4357         binfile.  Call gdb_compile with clean_restart twice.
4358         (func_nofb print, func_nofb backtrace, func_loopfb print)
4359         (func_loopfb backtrace): New.
4360
4361 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4362
4363         * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
4364         * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
4365         by a hand made one.
4366         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
4367         i?86 requirement.  Remove variables srcfile and binfile.  New variable
4368         sources, executable_nofb and executable_fb.  Call prepare_for_testing.
4369
4370 2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4371
4372         * gdb.cell/dwarfaddr.exp: New file.
4373         * gdb.cell/dwarfaddr.S: New file.
4374
4375 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4376
4377         Test PR 9436.
4378         * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
4379
4380 2010-06-24  Hui Zhu  <teawater@gmail.com>
4381
4382         * gdb.base/eval.exp: New file.
4383
4384 2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4385
4386         * gdb.cell/fork.exp: New file.
4387         * gdb.cell/fork.c: Likewise.
4388         * gdb.cell/fork-spu.c: Likewise.
4389
4390 2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
4391
4392         * lib/gdb.exp (banned_variables_traced): New global variable.
4393         (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
4394         (gdb_init): Use `trace add variable' instead of obsolete
4395         `trace variable'.
4396
4397 2010-06-21  Doug Evans  <dje@google.com>
4398
4399         * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
4400
4401 2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4402
4403         * gdb.arch/spu-ls.exp: New file.
4404         * gdb.arch/spu-ls.c: Likewise.
4405
4406 2010-06-18  Stan Shebs  <stan@codesourcery.com>
4407
4408         * gdb.threads/thread-specific.exp: Add tests of $_thread.
4409
4410 2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4411
4412         * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
4413         * gdb.base/watch-cond.exp: Likewise.
4414         * gdb.python/py-breakpoint.exp: Likewise.
4415
4416 2010-06-18  Pedro Alves  <pedro@codesourcery.com>
4417
4418         * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
4419         clean_restart, make sure every test has a distinct message, and
4420         that messages don't include the executable' full path.
4421
4422 2010-06-17  Doug Evans  <dje@google.com>
4423
4424         * gdb.arch/i386-size.exp: Updated expected output for
4425         DISASSEMBLY_OMIT_FNAME.
4426
4427 2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4428             Sergio Durigan Junior  <sergiodj@redhat.com>
4429
4430         * gdb.base/watch-notconst.c: New file.
4431         * gdb.base/watch-notconst.S: New file.
4432         * gdb.base/watch-notconst2.c: New file.
4433         * gdb.base/watch-notconst2.S: New file.
4434         * gdb.base/watch-notconst.exp: New file.
4435         * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
4436         (func4): Add operations on `global_ptr_ptr'.
4437         * gdb.base/watchpoint.exp (test_constant_watchpoint): New
4438         routine to test watchpoints created with a constant expression.
4439         (test_inaccessible_watchpoint): Include tests for watchpoints
4440         created with a constant expression.
4441
4442 2010-06-14  Kevin Buettner  <kevinb@redhat.com>
4443
4444         * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4445         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
4446         gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
4447         gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
4448         gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4449         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4450         gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
4451         of `_start'.
4452
4453 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4454
4455         * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
4456         not supported on the target.
4457         * gdb.mi/mi-nonstop-exit.exp: Likewise.
4458         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4459         * gdb.mi/mi-nsintrall.exp: Likewise.
4460         * gdb.mi/mi-nsmoribund.exp: Likewise.
4461         * gdb.mi/mi-nsthrexec.exp: Likewise.
4462
4463 2010-06-11  Stan Shebs  <stan@codesourcery.com>
4464
4465         * gdb.base/permissions.exp: New file.
4466
4467 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4468
4469         * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4470         does not support ELF executable class.
4471
4472 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4473
4474         * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4475
4476 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4477
4478         * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4479         (runto): Catch "The target does not support running in non-stop mode.".
4480
4481 2010-06-11  Michael Snyder  <msnyder@vmware.com>
4482
4483         * gdb.base/setshow.exp (set language asm): Don't use
4484         gdb_test_no_output, fails on some targets.
4485
4486 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4487
4488         * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4489         * gdb.cp/pr9167.exp: Likewise.
4490
4491 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4492
4493         * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
4494
4495 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4496
4497         * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
4498
4499 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4500
4501         * gdb.base/charset.c (main): Make sure malloc gets linked in.
4502
4503 2010-06-11  Tom Tromey  <tromey@redhat.com>
4504
4505         PR gdb/9977, PR exp/11636::
4506         * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
4507         (pieces_test_f6): Update expected output.
4508
4509 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4510
4511         * gdb.base/moribund-step.exp: New.
4512
4513 2010-06-08  Michael Snyder  <msnyder@vmware.com>
4514
4515         * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
4516         * gdb.ada/boolean_expr.exp:
4517         * gdb.ada/frame_args.exp: Ditto.
4518         * gdb.ada/lang_switch.exp: Ditto.
4519         * gdb.ada/ptype_arith_binop.exp: Ditto.
4520         * gdb.ada/ref_param.exp: Ditto.
4521         * gdb.ada/type_coercion.exp:Ditto.
4522
4523         * gdb.asm/asm-source.exp: Ditto.
4524
4525         * gdb.base/attach.exp: Ditto.
4526         * gdb.base/bitfields2.exp: Ditto.
4527         * gdb.base/call-signal-resume.exp: Ditto.
4528         * gdb.base/callfuncs.exp: Ditto.
4529         * gdb.base/commands.exp: Ditto.
4530         * gdb.base/dbx.exp: Ditto.
4531         * gdb.base/default.exp: Ditto.
4532         * gdb.base/dump.exp: Ditto.
4533         * gdb.base/exprs.exp: Ditto.
4534         * gdb.base/freebpcmd.exp: Ditto.
4535         * gdb.base/interrupt.exp: Ditto.
4536         * gdb.base/list.exp: Ditto.
4537         * gdb.base/long_long.exp: Ditto.
4538         * gdb.base/maint.exp: Ditto.
4539         * gdb.base/ptype.exp: Ditto.
4540         * gdb.base/return.exp: Ditto.
4541         * gdb.base/setshow.exp: Ditto.
4542         * gdb.base/sigbpt.exp: Ditto.
4543         * gdb.base/sigrepeat.exp: Ditto.
4544
4545         * gdb.cp/classes.exp: Ditto.
4546
4547         * gdb.dwarf2/dw2-restore.exp: Ditto.
4548
4549         * gdb.gdb/selftest.exp: Ditto.
4550
4551         * gdb.multi/base.exp: Ditto.
4552         * gdb.multi/bkpt-multi-exec.exp: Ditto.
4553
4554         * gdb.python/py-block.exp: Ditto.
4555         * gdb.python/py-prettyprint.exp: Ditto.
4556         * gdb.python/py-template.exp: Ditto.
4557
4558         * gdb.server/ext-attach.exp: Ditto.
4559         * gdb.server/ext-run.exp: Ditto.
4560         * gdb.server/server-mon.exp: Ditto.
4561
4562         * gdb.threads/fork-thread-pending.exp: Ditto.
4563         * gdb.threads/hand-call-in-threads.exp: Ditto.
4564         * gdb.threads/interrupted-hand-call.exp: Ditto.
4565         * gdb.threads/linux-dp.exp: Ditto.
4566         * gdb.threads/manythreads.exp: Ditto.
4567         * gdb.threads/print-threads.exp: Ditto.
4568         * gdb.threads/pthreads.exp: Ditto.
4569         * gdb.threads/schedlock.exp: Ditto.
4570         * gdb.threads/thread-unwindonsignal.exp: Ditto.
4571         * gdb.threads/threadapply.exp: Ditto.
4572
4573 2010-06-08  Michael Snyder  <msnyder@vmware.com>
4574
4575         * gdb.ada/exec_changed.exp:
4576         Use ".*" instead of "" as wildcard regexp.
4577
4578         * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
4579         * gdb.base/call-ar-st.exp: Ditto.
4580         * gdb.base/checkpoint.exp: Ditto.
4581         * gdb.base/default.exp: Ditto.
4582         * gdb.base/dump.exp: Ditto.
4583         * gdb.base/ending-run.exp: Ditto.
4584         * gdb.base/fileio.exp: Ditto.
4585         * gdb.base/miscexprs.exp: Ditto.
4586         * gdb.base/pointers.exp: Ditto.
4587         * gdb.base/readline.exp: Ditto.
4588         * gdb.base/reread.exp: Ditto.
4589         * gdb.base/restore.exp: Ditto.
4590         * gdb.base/shlib-call.exp: Ditto.
4591         * gdb.base/valgrind-db-attach.exp: Ditto.
4592         * gdb.base/volatile.exp: Ditto.
4593         * gdb.base/watchpoints.exp: Ditto.
4594
4595         * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
4596
4597         * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
4598         * gdb.python/py-value.exp: Ditto.
4599
4600         * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
4601         * gdb.trace/circ.exp: Ditto.
4602         * gdb.trace/collection.exp: Ditto.
4603         * gdb.trace/packetlen.exp: Ditto.
4604         * gdb.trace/passc-dyn.exp: Ditto.
4605         * gdb.trace/report.exp: Ditto.
4606         * gdb.trace/tfile.exp: Ditto.
4607         * gdb.trace/tfind.exp: Ditto.
4608         * gdb.trace/while-dyn.exp: Ditto.
4609
4610 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
4611
4612         * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
4613
4614 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4615
4616         Test PR 10640.
4617         * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
4618
4619 2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
4620
4621         * gdb.cp/koenig.exp: Test for ADL operators.
4622         * gdb.cp/koenig.cc: Added ADL operators.
4623         * gdb.cp/operator.exp: New test.
4624         * gdb.cp/operator.cc: New test.
4625
4626 2010-06-04  Michael Snyder  <msnyder@vmware.com>
4627
4628         * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
4629         * gdb.base/pending.exp: Ditto.
4630
4631         * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
4632
4633 2010-06-04  Doug Evans  <dje@google.com>
4634
4635         * gdb.python/py-prettyprint.exp: Add new test for enabled and
4636         disabled printers.
4637         * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
4638         (enable_lookup_function): New function.
4639
4640 2010-06-04  Tom Tromey  <tromey@redhat.com>
4641
4642         * gdb.python/py-value.exp (test_value_hash): Don't test equality
4643         of hash and id.
4644
4645 2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
4646
4647         * gdb.base/commands.exp (add printf tbreak command): Remove trailing
4648         newline.
4649         * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
4650         (empty verbose non-noisy clear, empty verbose noisy clear)
4651         (empty non-verbose noisy clear): Likewise.
4652
4653 2010-06-03  Michael Snyder  <msnyder@vmware.com>
4654
4655         * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
4656         * gdb.base/display.exp: Ditto.
4657         * gdb.base/find.exp: Ditto.
4658         * gdb.base/ifelse.exp: Ditto.
4659         * gdb.base/multi-forks.exp: Ditto.
4660         * gdb.base/recurse.exp: Ditto.
4661         * gdb.base/setshow.exp: Ditto.
4662         * gdb.base/value-double-free.exp: Ditto.
4663         * gdb.base/watch-vfork.exp: Ditto.
4664         * gdb.base/watch_thread_num.exp: Ditto.
4665         * gdb.base/watchpoint-solib.exp: Ditto.
4666         * gdb.base/watchpoint.exp: Ditto.
4667         * gdb.base/watchpoints.exp: Ditto.
4668
4669         * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
4670         * gdb.cp/overload.exp: Ditto.
4671         * gdb.cp/virtfunc.exp: Ditto.
4672
4673         * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
4674
4675         * gdb.reverse/watch-precsave.exp:
4676         Replace gdb_test with gdb_test_no_output.
4677
4678         * gdb.threads/attach-into-signal.exp:
4679         Replace gdb_test with gdb_test_no_output.
4680         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4681         * gdb.threads/watchthreads.exp: Ditto.
4682         * gdb.threads/watchthreads2.exp: Ditto.
4683
4684         * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
4685         * gdb.trace/tfind.exp: Ditto.
4686
4687 2010-06-03  Joel Brobecker  <brobecker@adacore.com>
4688
4689         * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
4690         successful test if message is the empty string.
4691
4692 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4693
4694         * gdb.fortran/module.exp (stopped language detection): New test.
4695
4696 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4697
4698         Support DW_TAG_module as separate namespaces.
4699         * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
4700         gdb.fortran/library-module-lib.f90: New.
4701         * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
4702         (print i): Remove.
4703         (continue to breakpoint: i-is-1, print var_i value 1)
4704         (continue to breakpoint: i-is-2, print var_i value 2)
4705         (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
4706         (print var_d, print var_i value 14, ptype modmany, complete `modm)
4707         (complete `modmany, complete `modmany`, complete `modmany`var)
4708         (show language, setting breakpoint at module): New tests.
4709         * gdb.fortran/module.f90 (module mod): Remove.
4710         (module mod1, module mod2, module modmany, subroutine sub1)
4711         (subroutine sub2, program module): New.
4712
4713 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4714
4715         * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
4716         (print value of rUC, print value of rI, print value of UI): ... here.
4717         * gdb.cp/anon-union.exp (pass): Rename to ...
4718         (print z 2): ... here.
4719
4720 2010-06-02  Michael Snyder  <msnyder@vmware.com>
4721
4722         * gdb.trace/actions.exp: Use gdb_test_no_output.
4723         * gdb.trace/circ.exp: Ditto.
4724         * gdb.trace/packetlen.exp: Ditto.
4725         * gdb.trace/save-trace.exp: Ditto.
4726         * gdb.trace/tracecmd.exp: Ditto.
4727         * gdb.trace/tsv.exp: Ditto.
4728
4729         * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
4730         * gdb.threads/hand-call-in-thraeds.exp: Ditto.
4731         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4732         * gdb.threads/manythreads.exp: Ditto.
4733         * gdb.threads/print-threads.exp: Ditto.
4734         * gdb.threads/pthreads.exp: Ditto.
4735         * gdb.threads/schedlock.exp: Ditto.
4736         * gdb.threads/staticthreads.exp: Ditto.
4737         * gdb.threads/thread-specific.exp: Ditto.
4738         * gdb.threads/thread-unwindonsignal.exp: Ditto.
4739         * gdb.threads/threadapply.exp: Ditto.
4740         * gdb.threads/watchthreads.exp: Ditto.
4741         * gdb.threads/watchthreads2.exp: Ditto.
4742
4743         * gdb.python/py-block.exp: Use gdb_test_no_output.
4744         * gdb.python/py-prettyprint.exp: Ditto.
4745         * gdb.python/py-template.exp: Ditto.
4746         * gdb.python/py-value.exp: Ditto.
4747
4748         * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
4749         * gdb.reverse/watch-reverse.exp: Ditto.
4750
4751         * gdb.server/ext-attach.exp: Use gdb_test_no_output.
4752         * gdb.server/ext-run.exp: Ditto.
4753
4754         * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
4755         * gdb.dwarf2/dw2-compressed.exp: Ditto.
4756         * gdb.dwarf2/dw2-intercu.exp: Ditto.
4757         * gdb.dwarf2/dw2-intermix.exp: Ditto.
4758         * gdb.dwarf2/dw2-producer.exp: Ditto.
4759         * gdb.dwarf2/mac-fileno.exp: Ditto.
4760
4761         * gdb.gdb/observer.exp: Use gdb_test_no_output.
4762         * gdb.gdb/selftest.exp: Ditto.
4763
4764         * gdb.multi/base.exp: Use gdb_test_no_output.
4765
4766         * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
4767
4768 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4769
4770         * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
4771
4772 2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
4773
4774         * gdb.cp/class2.exp: Use gdb_test_no_output.
4775         * gdb.cp/classes.exp: Ditto.
4776         * gdb.cp/extern-c.exp: Ditto.
4777         * gdb.cp/inherit.exp: Ditto.
4778         * gdb.cp/maint.exp: Ditto.
4779         * gdb.cp/mb-inline.exp: Ditto.
4780         * gdb.cp/mb-templates.exp: Ditto.
4781         * gdb.cp/method2.exp: Ditto.
4782         * gdb.cp/misc.exp: Ditto.
4783         * gdb.cp/ovldbreak.exp: Ditto.
4784         * gdb.cp/punctuator.exp: Ditto.
4785         * gdb.cp/templates.exp: Ditto.
4786         * gdb.cp/virtbase.exp: Ditto.
4787
4788         * gdb.threads/attach-stopped.exp:
4789         Replace uses of send_gdb / gdb_expect.
4790         * gdb.threads/attachstop-mt.exp:
4791         Replace uses of send_gdb / gdb_expect.
4792         * gdb.threads/gcore-thread.exp:
4793         Replace uses of send_gdb / gdb_expect.
4794         * gdb.threads/hand-call-in-threads.exp:
4795         Replace uses of send_gdb / gdb_expect.
4796         * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
4797         * gdb.threads/print-threads.exp:
4798         Replace uses of send_gdb / gdb_expect.
4799         * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
4800         * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
4801         * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
4802
4803         * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
4804         * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
4805         * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
4806         * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
4807         * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
4808         * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
4809         * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
4810         * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
4811         * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
4812         * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
4813         * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
4814
4815 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4816
4817         * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
4818
4819 2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>
4820
4821         * gdb.cp/koenig.exp: Added new test case.
4822         * gdb.cp/koenig.cc: Ditto.
4823
4824 2010-06-01  Michael Snyder  <msnyder@vmware.com>
4825
4826         * gdb.base/arithmet.exp: Use gdb_test_no_output.
4827         * gdb.base/arrayidx.exp: Ditto.
4828         * gdb.base/attach.exp: Ditto.
4829         * gdb.base/auxv.exp: Ditto.
4830         * gdb.base/bigcre.exp: Ditto.
4831         * gdb.base/break-always.exp: Ditto.
4832         * gdb.base/break-interp.exp: Ditto.
4833         * gdb.base/break.exp: Ditto.
4834         * gdb.base/breakpoint-shadow.exp: Ditto.
4835         * gdb.base/call-ar-st.exp: Ditto.
4836         * gdb.base/call-sc.exp: Ditto.
4837         * gdb.base/call-signal-resume.exp: Ditto.
4838         * gdb.base/callfuncs.exp: Ditto.
4839         * gdb.base/catch-syscall.exp: Ditto.
4840         * gdb.base/charset.exp: Ditto.
4841         * gdb.base/code-expr.exp: Ditto.
4842         * gdb.base/commands.exp: Ditto.
4843         * gdb.base/cond-expr.exp: Ditto.
4844         * gdb.base/condbreak.exp: Ditto.
4845         * gdb.base/cursal.exp: Ditto.
4846         * gdb.base/cvexpr.exp: Ditto.
4847         * gdb.base/default.exp: Ditto.
4848         * gdb.base/del.exp: Ditto.
4849         * gdb.base/detach.exp: Ditto.
4850         * gdb.base/display.exp: Ditto.
4851         * gdb.base/ena-dis-br.exp: Ditto.
4852         * gdb.base/eval-skip.exp: Ditto.
4853         * gdb.base/foll-fork.exp: Ditto.
4854         * gdb.base/foll-vfork.exp: Ditto.
4855         * gdb.base/frame-args.exp: Ditto.
4856         * gdb.base/funcargs.exp: Ditto.
4857         * gdb.base/gcore-buffer-overflow.exp: Ditto.
4858         * gdb.base/gdbvars.exp: Ditto.
4859         * gdb.base/help.exp: Ditto.
4860         * gdb.base/ifelse.exp: Ditto.
4861         * gdb.base/included.exp: Ditto.
4862         * gdb.base/list.exp: Ditto.
4863         * gdb.base/macscp.exp: Ditto.
4864         * gdb.base/maint.exp: Ditto.
4865         * gdb.base/multi-fork.exp: Ditto.
4866         * gdb.base/overlays.exp: Ditto.
4867         * gdb.base/page.exp: Ditto.
4868         * gdb.base/pending.exp: Ditto.
4869         * gdb.base/pointers.exp: Ditto.
4870         * gdb.base/pr11022.exp: Ditto.
4871         * gdb.base/prelink.exp: Ditto.
4872         * gdb.base/printcmds.exp: Ditto.
4873         * gdb.base/psymtab.exp: Ditto.
4874         * gdb.base/randomize.exp: Ditto.
4875         * gdb.base/relational.exp: Ditto.
4876         * gdb.base/relocate.exp: Ditto.
4877         * gdb.base/remote.exp: Ditto.
4878         * gdb.base/sepdebug.exp: Ditto.
4879         * gdb.base/set-lang-auto.exp: Ditto.
4880         * gdb.base/setshow.exp: Ditto.
4881         * gdb.base/setvar.exp: Ditto.
4882         * gdb.base/signals.exp: Ditto.
4883         * gdb.base/signull.exp: Ditto.
4884         * gdb.base/sigstep.exp: Ditto.
4885         * gdb.base/sizeof.exp: Ditto.
4886         * gdb.base/solib-disc.exp: Ditto.
4887         * gdb.base/store.exp: Ditto.
4888         * gdb.base/structs.exp: Ditto.
4889         * gdb.base/structs2.exp: Ditto.
4890         * gdb.base/subst.exp: Ditto.
4891         * gdb.base/term.exp: Ditto.
4892         * gdb.base/trace-commands.exp: Ditto.
4893         * gdb.base/unwindonsignal.exp: Ditto.
4894         * gdb.base/valgrind-db-attach.exp: Ditto.
4895         * gdb.base/varargs.exp: Ditto.
4896         * gdb.base/watch-cond.exp: Ditto.
4897         * gdb.base/watch_thread_num.exp: Ditto.
4898         * gdb.base/watchpoint-cond-gone.exp: Ditto.
4899         * gdb.base/watchpoint.exp: Ditto.
4900         * gdb.base/whatis-exp.exp: Ditto.
4901
4902 2010-06-01  Michael Snyder  <msnyder@vmware.com>
4903
4904         * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
4905         * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
4906         * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
4907         * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
4908         * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
4909         * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
4910         * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
4911         * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
4912         * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
4913         * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
4914         * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
4915         * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
4916         * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
4917         * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
4918         * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
4919
4920 2010-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
4921
4922         * gdb.base/commands.exp (begin commands on watch): Remove excessive
4923         trailing newline.
4924         * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
4925         * gdb.java/jmisc.exp (p *args\n): Rename to ...
4926         (p *args): ... here and remove excessive trailing newline.
4927
4928 2010-05-31  Joel Brobecker  <brobecker@adacore.com>
4929
4930         * gdb.base/subst.exp: Fix call to gdb_test with empty message.
4931
4932 2010-05-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
4933
4934         Accept the new Linux kernel "t (tracing stop)" string.
4935         * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
4936         Update comment.
4937         (state_wait) <T (tracing stop)>: New.
4938         (main): Update the state_wait expect string.
4939
4940 2010-05-28  Pedro Alves  <pedro@codesourcery.com>
4941
4942         * limits.c, limits.exp: Delete files.
4943         * Makefile.in (clean mostlyclean): Adjust.
4944         * tracecmd.exp: Adjust.
4945
4946 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4947
4948         * gdb.base/tui-layout.exp: New.
4949
4950 2010-05-28  Michael Snyder  <msnyder@vmware.com>
4951
4952         * gdb.reverse/break-precsave.exp:
4953         Replace uses of send_gdb / gdb_expect.
4954         * gdb.reverse/break-reverse.exp:
4955         Replace uses of send_gdb / gdb_expect.
4956         * gdb.reverse/consecutive-precsave.exp:
4957         Replace uses of send_gdb / gdb_expect.
4958         * gdb.reverse/consecutive-reverse.exp:
4959         Replace uses of send_gdb / gdb_expect.
4960         * gdb.reverse/finish-precsave.exp:
4961         Replace uses of send_gdb / gdb_expect.
4962         * gdb.reverse/finish-reverse.exp:
4963         Replace uses of send_gdb / gdb_expect.
4964         * gdb.reverse/i386-precsave.exp:
4965         Replace uses of send_gdb / gdb_expect.
4966         * gdb.reverse/i386-reverse.exp:
4967         Replace uses of send_gdb / gdb_expect.
4968         * gdb.reverse/i386-sse-reverse.exp:
4969         Replace uses of send_gdb / gdb_expect.
4970         * gdb.reverse/i387-env-reverse.exp:
4971         Replace uses of send_gdb / gdb_expect.
4972         * gdb.reverse/i387-stack-reverse.exp:
4973         Replace uses of send_gdb / gdb_expect.
4974         * gdb.reverse/machinestate-precsave.exp:
4975         Replace uses of send_gdb / gdb_expect.
4976         * gdb.reverse/machinestate.exp:
4977         Replace uses of send_gdb / gdb_expect.
4978         * gdb.reverse/sigall-precsave.exp:
4979         Replace uses of send_gdb / gdb_expect.
4980         * gdb.reverse/sigall-reverse.exp:
4981         Replace uses of send_gdb / gdb_expect.
4982         * gdb.reverse/solib-precsave.exp:
4983         Replace uses of send_gdb / gdb_expect.
4984         * gdb.reverse/solib-reverse.exp:
4985         Replace uses of send_gdb / gdb_expect.
4986         * gdb.reverse/step-precsave.exp:
4987         Replace uses of send_gdb / gdb_expect.
4988         * gdb.reverse/step-reverse.exp:
4989         Replace uses of send_gdb / gdb_expect.
4990         * gdb.reverse/until-precsave.exp:
4991         Replace uses of send_gdb / gdb_expect.
4992         * gdb.reverse/until-reverse.exp:
4993         Replace uses of send_gdb / gdb_expect.
4994         * gdb.reverse/watch-precsave.exp:
4995         Replace uses of send_gdb / gdb_expect.
4996         * gdb.reverse/watch-reverse.exp:
4997         Replace uses of send_gdb / gdb_expect.
4998
4999 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5000
5001         * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5002         excessive newline.
5003
5004 2010-05-27  Michael Snyder  <msnyder@vmware.com>
5005
5006         * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
5007         * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5008         * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5009         * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5010         * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5011         * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5012         * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5013         * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5014         * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5015         * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5016         * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5017         * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5018         * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5019         * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5020         * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5021         * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5022         * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5023         * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5024         * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
5025
5026 2010-05-26  Michael Snyder  <msnyder@vmware.com>
5027
5028         * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5029         * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5030
5031         * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5032         * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5033         * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5034
5035         * gdb.reverse/consecutive-reverse.exp:
5036         Replace uses of send_gdb / gdb_expect.
5037         * gdb.reverse/consecutive-precsave.exp:
5038         Replace uses of send_gdb / gdb_expect.
5039
5040         * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5041         * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5042         * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
5043         * gdb.mi/mi-ns-stale-regcache.exp:
5044         Replace uses of send_gdb / gdb_expect.
5045         * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5046         * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5047         * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5048         * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5049         * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5050         * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5051         * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5052         * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5053         * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
5054
5055 2010-05-26  Michael Snyder  <msnyder@vmware.com>
5056
5057         * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
5058
5059         * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
5060
5061         * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5062         * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5063         * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5064         * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5065         * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5066         * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5067         * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5068         * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5069         * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
5070
5071 2010-05-25  Tom Tromey  <tromey@redhat.com>
5072
5073         * gdb.base/macscp.exp: Add missing space after setup_kfail.
5074
5075 2010-05-25  Tom Tromey  <tromey@redhat.com>
5076
5077         * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5078         argument order.
5079         * gdb.base/macscp.exp: Fix setup_kfail argument order.
5080         * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5081         order.
5082         * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5083         order.
5084         * gdb.base/call-sc.exp (setup_kfails): Remove.
5085         (setup_compiler_kfails): Remove.
5086         * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5087         argument order.
5088         * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5089         * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5090         (advancei): Fix setup_kfail argument order.
5091         * gdb.base/radix.exp: Fix setup_kfail argument order.
5092         * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5093         order.
5094         * gdb.base/structs.exp (setup_kfails): Remove.
5095         (setup_compiler_kfails): Fix setup_kfail argument order.
5096         * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5097         order.
5098         * gdb.java/jmain.exp: Fix setup_kfail argument order.
5099         * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5100         setup_kfail argument order.
5101         * gdb.cp/overload.exp: Fix setup_kfail argument order.
5102
5103 2010-05-25  Tom Tromey  <tromey@redhat.com>
5104
5105         * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5106
5107 2010-05-25  Michael Snyder  <msnyder@vmware.com>
5108
5109         * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5110         * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5111         * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5112         * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5113         * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5114         * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5115         * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5116         * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5117         * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
5118         * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5119         * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5120         * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5121         * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5122         * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5123         * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5124         * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5125         * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5126         * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5127         * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5128         * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5129         * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5130         * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5131         * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
5132         * gdb.base/default.exp: Replace send_gdb with gdb_test.
5133         * gdb.base/define.exp: Replace send_gdb with gdb_test.
5134         * gdb.base/display.exp: Replace send_gdb with gdb_test.
5135         * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5136         * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5137         * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5138         * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5139         * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5140         * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5141         * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5142         * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5143         * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5144         * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5145         * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5146         * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5147         * gdb.base/help.exp: Replace send_gdb with gdb_test.
5148         * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5149         * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5150         * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
5151         * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5152         * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5153         * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5154         * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5155         * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
5156         * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
5157
5158 2010-05-25  Doug Evans  <dje@google.com>
5159
5160         * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5161         gdb.string_to_argv.
5162
5163 2010-05-21  Tom Tromey  <tromey@redhat.com>
5164
5165         * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5166         Call it.
5167         * gdb.dwarf2/pieces.S: Update.
5168         * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5169
5170 2010-05-21  Tom Tromey  <tromey@redhat.com>
5171
5172         * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5173         Call it.
5174         * gdb.dwarf2/pieces.c (struct C): New.
5175         (f6): New function.
5176         * gdb.dwarf2/pieces.S: Replace.
5177
5178 2010-05-21  Tom Tromey  <tromey@redhat.com>
5179
5180         * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5181         Call it.
5182
5183 2010-05-21  Tom Tromey  <tromey@redhat.com>
5184
5185         * gdb.dwarf2.pieces.exp: New file.
5186         * gdb.dwarf2.pieces.S: New file.
5187         * gdb.dwarf2.pieces.c: New file.
5188
5189 2010-05-20  Pedro Alves  <pedro@codesourcery.com>
5190             Joel Brobecker  <brobecker@adacore.com>
5191
5192         * lib/gdb.exp (gdb_test_no_output): New function.
5193         * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5194         when testing commands that should produce no output.
5195
5196 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5197
5198         * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
5199         parameter that we want to watch being a constant.
5200
5201 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5202
5203         * gdb.ada/cond_lang: New testcase.
5204
5205 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5206
5207         * lib/gdb.exp (banned_variables): New variable/constant.
5208         (gdb_init): Add write trace on variables listed in banned_variables.
5209         (gdb_finish): Remove write traces on variables listed in
5210         banned_variables.
5211
5212 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5213
5214         * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
5215         * gdb.cp/koenig.exp: Likewise.
5216
5217 2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>
5218
5219         PR python/11482
5220
5221         * gdb.python/py-value.exp (test_value_hash): New function.
5222
5223 2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>
5224
5225         PR exp/11530.
5226         * gdb.base/gdb11530.c: New file.
5227         * gdb.base/gdb11530.exp: New file.
5228
5229 2010-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
5230
5231         * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5232         * gdb.dwarf2/dw2-modula2-self-type.S: New.
5233
5234 2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
5235
5236         * gdb.cp/koenig.exp: New test.
5237         * gdb.cp/koenig.cc: New test program.
5238
5239 2010-05-05  Joel Brobecker  <brobecker@adacore.com>
5240
5241         Remove the use of prms_id and bug_id throughout the testsuite.
5242
5243 2010-05-04  Pierre Muller  <muller@ics.u-strasbg.fr>
5244
5245         PR exp/11349.
5246         * testsuite/gdb.cp/ref-types.exp: Add test to examine
5247         use a reference local variable.
5248
5249 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5250
5251         * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
5252         * gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
5253         variable different_dir. Move debugfile into a full directory pathname
5254         under DIFFERENT_DIR.
5255         * lib/gdb.exp (separate_debug_filename): Remove.
5256         (gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
5257         variable debug_dir and mkdir of it.  Update function comments.
5258
5259 2010-04-29  Pedro Alves  <pedro@codesourcery.com>
5260
5261         PR gdb/11557
5262
5263         * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
5264         files.
5265
5266 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
5267
5268         * gdb.python/py-param.exp: New File.
5269
5270 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
5271
5272         * gdb.base/default.exp: Fix "set language" test.
5273
5274 2010-04-24  Pierre Muller  <muller@ics.u-strasbg.fr>
5275
5276         PR breakpoints/11531.
5277         * gdb.base/gdb11531.c: New file.
5278         * gdb.base/gdb11531.exp: New file.
5279
5280 2010-04-26  Tom Tromey  <tromey@redhat.com>
5281
5282         * gdb.base/completion.exp: Add tests for completion and deprecated
5283         commands.
5284
5285 2010-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
5286
5287         * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
5288         (print /x char_array): Escape curly brackets.
5289
5290 2010-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
5291
5292         Fix deadlock on looped list of loaded shared objects.
5293         * gdb.base/solib-corrupted.exp: New.
5294
5295 2010-04-23  Doug Evans  <dje@google.com>
5296
5297         * gdb.python/py-section-script.c: New file.
5298         * gdb.python/py-section-script.exp: New file.
5299         * gdb.python/py-section-script.py: New file.
5300
5301 2010-04-20  Chris Moller  <cmoller@redhat.com>
5302
5303         PR 10179
5304
5305         * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
5306         * gdb.base/pr10179-a.c:
5307         * gdb.base/pr10179-b.c:
5308         * gdb.base/pr10179.exp: New files.
5309
5310 2010-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5311
5312         Fix crashes on dangling display expressions.
5313         * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
5314         is SEP.
5315         (lib_flags): Remove the "debug" keyword.
5316         (libsepdebug): New variable for iterating new loop.
5317         (save_pf_prefix): New variable wrapping the loop.
5318         (sep_lib_flags): New variable derived from LIB_FLAGS.  Use it.
5319         * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
5320
5321 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5322
5323         * gdb.threads/watchthreads.exp: Change to obtain consistent output.
5324
5325 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5326
5327         PR stabs/11479.
5328         * gdb.stabs/gdb11479.exp: New file.
5329         * gdb.stabs/gdb11479.c: New file.
5330
5331 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5332
5333         * gdb.base/charset.c (Strin16, String32): New variables.
5334         * gdb.base/charset.exp (gdb_test): Test correct display
5335         of 16 or 32 bit strings.
5336
5337 2010-04-21  Chris Moller  <cmoller@redhat.com>
5338
5339         PR 9167
5340         * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
5341         * gdb.cp/pr9167.cc: New file.
5342         * gdb.cp/pr9167.exp: New file.
5343
5344
5345 2010-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
5346
5347         PR pascal/11492.
5348         * gdb.pascal/gdb11492.pas: New file.
5349         * gdb.pascal/gdb11492.exp: New file.
5350
5351 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
5352
5353         * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
5354
5355 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
5356
5357         * gdb.ada/dyn_loc: New testcase.
5358
5359 2010-04-20  Chris Moller  <cmoller@redhat.com>
5360
5361         PR 10867
5362
5363         * gdb.cp/Makefile.in  (EXECUTABLES): Added pr10687
5364         * gdb.cp/pr10687.cc: New file.
5365         * gdb.cp/pr10687.exp: New file.
5366
5367
5368 2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5369             Sergio Durigan Junior  <sergiodj@redhat.com>
5370
5371         * gdb.fortran/logical.exp: New testcase.
5372         * gdb.fortran/logical.f90: New file.
5373
5374 2010-04-19  Doug Evans  <dje@google.com>
5375
5376         * gdb.base/help.exp (help source): Update expected output.
5377
5378 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5379
5380         * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
5381         gdb_reinitialize_dir and gdb_load by clean_restart.  Remove trailing
5382         gdb_exit and return.
5383         (executable): New variable.
5384         (binfile): Use it.
5385
5386 2010-04-19  Pedro Alves  <pedro@codesourcery.com>
5387
5388         PR breakpoints/8554.
5389
5390         * gdb.trace/save-trace.exp: Adjust.
5391
5392 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5393
5394         PR corefiles/11511
5395         * gdb.arch/system-gcore.exp: New.
5396         * gdb.arch/gcore.c: Likewise.
5397
5398 2010-04-15  Doug Evans  <dje@google.com>
5399
5400         * gdb.python/py-progspace.c: New file.
5401         * gdb.python/py-progspace.exp: New file.
5402
5403         * gdb.base/source.exp: Add tests for "source -s".
5404
5405 2010-04-14  Phil Muldoon  <pmuldoon@redhat.com>
5406
5407         * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
5408         * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
5409         * gdb.python/py-prettyprint.exp: New test for to_string returning None.
5410         * gdb.python/py-mi.exp: New test for to_string returning None.
5411
5412 2010-04-12  Phil Muldoon  <pmuldoon@redhat.com>
5413
5414         * gdb.python/py-breakpoint.c: Make result global.
5415
5416 2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
5417
5418         Fix non-GNU make compatibility.
5419         * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
5420
5421 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
5422
5423         * gdb.python/py-breakpoint.exp: New File.
5424         * gdb.python/py-breakpoint.C: Ditto.
5425
5426 2010-04-08  Stan Shebs  <stan@codesourcery.com>
5427
5428         * gdb.trace/actions.exp: Clear default-collect.
5429         * gdb.trace/save-trace.exp: Clear default-collect.
5430
5431 2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
5432
5433         * gdb.python/py-value: Add null string variable.
5434           (test_lazy_string): Test zero length, NULL address lazy
5435           strings.
5436
5437 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5438
5439         * gdb.arch/i386-avx.c: New.
5440         * gdb.arch/i386-avx.exp: Likewise.
5441
5442         * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
5443
5444 2010-04-06  Doug Evans  <dje@google.com>
5445
5446         * gdb.base/source-test.gdb: New file.
5447         * gdb.base/source.exp: Test source -v.
5448
5449 2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5450
5451         * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
5452
5453 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
5454
5455         * gdb.stabs/aout.sed: Convert all backslash to double backslash
5456         within one line, unless it is followed by a double quote.
5457         * gdb.stabs/hppa.sed: Idem.
5458         * gdb.stabs/weird.def: Add char and String constants
5459         * gdb.stabs/weird.exp: Check for correct parsing of
5460         char and string constants.
5461         * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5462         in .stabs to .stabx substitution.
5463
5464 2010-04-05  Stan Shebs  <stan@codesourcery.com>
5465
5466         * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5467         constant global.
5468         * gdb.trace/tfile.exp: Try to print them.
5469
5470 2010-04-04  Stan Shebs  <stan@codesourcery.com>
5471
5472         * gdb.base/completion.exp: Update for new "info watchpoints".
5473         * gdb.base/default.exp: Ditto.
5474         * gdb.base/help.exp: Ditto.
5475         * gdb.base/watchpoint.exp: Ditto.
5476         * gdb.trace/infotrace.exp: Update "info tracpoints" output.
5477
5478 2010-04-04  Stan Shebs  <stan@codesourcery.com>
5479
5480         * gdb.trace/tfile.exp: Sharpen tfind test.
5481
5482 2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
5483
5484         * gdb.base/break-entry.exp: New.
5485
5486 2010-04-02  Hui Zhu  <teawater@gmail.com>
5487             Michael Snyder <msnyder@vmware.com>
5488
5489         * gdb.reverse/i386-sse-reverse.exp: New file.
5490         * gdb.reverse/i386-sse-reverse.c: New file.
5491
5492 2010-04-02  Pedro Alves  <pedro@codesourcery.com>
5493
5494         * gdb.trace/tfind.exp: Adjust expected disassembly output.
5495
5496 2010-04-01  Stan Shebs  <stan@codesourcery.com>
5497
5498         * gdb.trace/actions.exp: Tweak expected output.
5499         * gdb.trace/while-stepping.exp: Tweak expected output.
5500
5501 2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
5502
5503         * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
5504
5505 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5506
5507         * gdb.base/commands.exp: Adjust.
5508         * gdb.cp/extern-c.exp: Adjust.
5509
5510 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5511
5512         * gdb.trace/collection.c (local_test_func): Define a local struct,
5513         and instanciate it.
5514
5515 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5516
5517         * gdb.trace/collection.exp (gdb_collect_args_test)
5518         (gdb_collect_argarray_test): XFAIL the tests that assume the
5519         argarray argument's elements are collected.
5520
5521 2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
5522
5523         * gdb.dwarf2/dw2-bad-parameter-type.exp,
5524         gdb.dwarf2/dw2-bad-parameter-type.S: New.
5525
5526 2010-03-31  Stan Shebs  <stan@codesourcery.com>
5527
5528         * gdb.trace/save-trace.exp: Test save/restore of default-collect
5529         and tracepoint conditionals.
5530         (gdb_verify_tracepoints): Delete unused return.
5531
5532 2010-03-26  Keith Seitz  <keiths@redhat.com>
5533
5534         * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
5535         appear in the output before main.
5536         Remove KFAIL for gdb/2215 aka bz 9320.
5537
5538 2010-03-30  Doug Evans  <dje@google.com>
5539
5540         * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
5541         by dejagnu.
5542         * gdb.arch/amd64-dword.exp: Ditto.
5543
5544         * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
5545         match.
5546         (break printf): Ditto.
5547
5548 2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
5549
5550         * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
5551         gcc < 4.4.
5552         * gdb.cp/shadow.exp: Ditto.
5553
5554 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
5555
5556         * gdb.trace/collection.exp (run_trace_experiment): Make sure
5557         "tstart" is silent.
5558
5559 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
5560
5561         * gdb.trace/collection.exp (executable): New.
5562         (binfile): Use it.
5563         (fpreg, spreg, pcreg): New.
5564         (test_register): Use gdb_test_multiple.  Pass /x to print.
5565         (prepare_for_trace_test): New.
5566         (run_trace_experiment): Use "continue", not gdb_run_cmd.
5567         (gdb_collect_args_test, gdb_collect_argstruct_test)
5568         (gdb_collect_argarray_test, gdb_collect_locals_test): Use
5569         prepare_for_trace_test.
5570         (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
5571         fpreg, spreg and pcreg.
5572         (gdb_collect_expression_test, gdb_collect_globals_test): Use
5573         prepare_for_trace_test.
5574         (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
5575         try to detect tracing support here.  Don't set breakpoints at
5576         `begin' or `end' here.
5577         <global scope>: Use clean_restart.  Run to main before checking
5578         for tracing support.  Check for for tracing support here.
5579
5580 2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5581
5582         * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
5583         " as $displacement" to "seen displacement message".
5584
5585 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
5586
5587         * gdb.trace/while-dyn.exp (executable): New variable.
5588         (binfile): Use it.
5589         (test_while_stepping): New function.  Move most tests here.  Call
5590         it once for each of the while-stepping, stepping and ws aliases.
5591
5592 2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5593
5594         * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
5595         that do not provide the tagless_struct type name at all.
5596         (test_print_anon_union): Do not check value of uninitialized
5597         union member.  Do not use cp_test_ptype_class, so we can accept
5598         "long" as well as "long int".
5599
5600 2010-03-26  Pedro Alves  <pedro@codesourcery.com>
5601
5602         * gdb.trace/tfile.c (tohex, bin2hex): New.
5603         (write_error_trace_file): Hexify error description.
5604
5605 2010-03-25  Stan Shebs  <stan@codesourcery.com>
5606
5607         * gdb.trace/tfile.c: Generate an additional trace file, improve
5608         portability.
5609         * gdb.trace/tfile.exp: Test trace file with an error stop, delete
5610         files in a better way.
5611
5612 2010-03-25  Keith Seitz  <keiths@redhat.com>
5613
5614         * gdb.java/jprint.exp: XFAIL printing of static class members
5615         because of GCC debuginfo problem.
5616
5617 2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
5618
5619         * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
5620
5621 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
5622
5623         * gdb.base/completion.exp: Allow long instead of long int.
5624         * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
5625         * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
5626         variable p.
5627         * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
5628         * gdb.base/pointers.exp: Allow long instead of long int.
5629         * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
5630         * gdb.base/step-line.exp: Allow a directory before the source file name.
5631
5632 2010-03-24  Tom Tromey  <tromey@redhat.com>
5633
5634         PR breakpoints/9352:
5635         * gdb.base/default.exp: Update.
5636         * gdb.base/commands.exp: Update.
5637         * gdb.cp/extern-c.exp: Test setting commands on multiple
5638         breakpoints at once.
5639
5640 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
5641
5642         * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
5643         if gdb,nosignals.
5644         * gdb.base/watchpoints.c: Do not include unnecessary headers.
5645         * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
5646         exited".
5647
5648 2010-03-24  Stan Shebs  <stan@codesourcery.com>
5649
5650         * gdb.trace/tfile.exp: Expect "trace frame", with a space.
5651
5652 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
5653
5654         * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
5655         * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
5656         argument.  Handle "short" and "long".
5657         (Top level): Pass overprototyped output for old_fptr and xptr.
5658
5659 2010-03-23  Pedro Alves  <pedro@codesourcery.com>
5660
5661         * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
5662         format strings and add casts to avoid compiler warnings.
5663
5664 2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
5665
5666         * lib/trace-support.exp (gdb_trace_setactions):
5667         Don't expect whitespace after ">" prompt.
5668         * gdb.trace/actions.exp: Adjust for output changes.
5669         * gdb.trace/while-stepping.exp: Likewise.
5670
5671 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5672
5673         * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
5674         and r157645).
5675
5676 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5677
5678         * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
5679         New.
5680
5681 2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
5682
5683         * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
5684         * gdb.python/py-mi.exp (binfile): Rename to py-mi.
5685
5686 2010-03-19  Stan Shebs  <stan@codesourcery.com>
5687
5688         * gdb.trace/ax.exp: New file.
5689
5690 2010-03-19  Doug Evans  <dje@google.com>
5691
5692         * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
5693         output from gcc.
5694
5695         * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
5696         named /usr/sbin/prelink<foo>.
5697
5698 2010-03-18  Stan Shebs  <stan@codesourcery.com>
5699
5700         * gdb.trace/circ.exp: Test circular-trace-buffer.
5701         * gdb.trace/tfile.exp: Update tstatus test.
5702
5703 2010-03-18  Joel Brobecker  <brobecker@adacore.com>
5704
5705         * gdb.dwarf2/dw2-anonymous-func.S: New file.
5706         * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
5707
5708 2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5709
5710         * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
5711
5712 2010-03-18  Pedro Alves  <pedro@codesourcery.com>
5713
5714         * gdb.base/default.exp: Adjust the expected output of the finish
5715         and until commands when the inferior is not being run.
5716
5717 2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
5718
5719         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
5720         * gdb.cp/nsusing.exp: Ditto.
5721
5722 2010-03-15  Tom Tromey  <tromey@redhat.com>
5723
5724         * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
5725         * gdb.cp/userdef.cc (operator==): New function.
5726         (main): New locals mem1, mem2.
5727
5728 2010-03-15  Jie Zhang  <jie@codesourcery.com>
5729
5730         * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
5731         Declare and use new loadtimeout variable.
5732
5733 2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
5734
5735         * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
5736         Use gdb_load later.
5737
5738 2010-03-14  Pedro Alves  <pedro@codesourcery.com>
5739
5740         * gdb.base/solib-disc.c (main): Make format of fprintf a string
5741         literal.  Add missing endlines to prints to stderr.
5742
5743 2010-03-12  Tom Tromey  <tromey@redhat.com>
5744
5745         PR c++/9708:
5746         * gdb.cp/m-static.exp: Add regression test.
5747         * gdb.cp/m-static.cc (method): New method.
5748         (main): Call it.
5749
5750 2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
5751
5752         * gdb.cp/gdb2384-base.h: Created 'namespace B'.
5753         * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
5754
5755 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
5756
5757         * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
5758
5759 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
5760
5761         * lib/gdb.exp (skip_stl_tests): New.
5762         (gdb_compile): Symbian needs -ldl.
5763         (shlib_target_file): New.
5764         (shlib_symbol_file): New.
5765         (gdb_load_shlibs): Use shlib_target_file.
5766         * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
5767         * gdb.cp/exception.exp: Use skip_stl_tests.
5768         * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
5769         * gdb.cp/try_catch.exp: Use skip_stl_tests.
5770         * gdb.cp/mb-templates.exp: Ditto.
5771         * gdb.base/commands.exp: Relax regexes.
5772         * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
5773         shlib_target_file and shlib_symbol_file.
5774         * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
5775         sections.
5776         * gdb.base/ending-run.exp: Accept E32Main for symbian.
5777         * gdb.base/solib-disc.exp: Use
5778         shlib_target_file and shlib_symbol_file.
5779         * gdb.base/unload.exp: Don't skip on symbian.  Use
5780         shlib_target_file and shlib_symbol_file.
5781         * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
5782
5783 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
5784
5785         * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
5786         * gdb.trace/report.exp: Adjust for x86 and x86_64.
5787         Issue a tfind end before looking for a tracepoint frame.
5788         * gdb.trace/tfind.exp: Adjust tstatus output.
5789         Adjust disassembly output.
5790         * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
5791
5792 2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5793
5794         * gdb.base/break-interp.exp: Create new displacement parameter value
5795         for the test_ld calls.
5796         (reach): New parameter displacement, verify its content.  New push of
5797         pf_prefix "reach-$func:".  Import global expect_out.
5798         (test_core): New parameter displacement, verify its content.  New push
5799         of pf_prefix "core:".  New command "set verbose on".  Import global
5800         expect_out.
5801         (test_attach): New parameter displacement, verify its content.  New
5802         push of pf_prefix "attach:".  New command "set verbose on".  Import
5803         global expect_out.
5804         (test_ld): New parameter displacement, pass it to the reach, test_core
5805         and test_attach calls and verify its content in the "ld.so exit" test.
5806         * gdb.base/prelink.exp: Remove gdb_exit and final return.
5807         (prelink): Update expected text, use gdb_test.
5808
5809 2010-03-10  Doug Evans  <dje@google.com>
5810
5811         * gdb.base/checkpoint.exp: Fix comment.
5812         Lengthen timeout while doing >600 checkpoints test.
5813         Rename duplicate "kill all one" test to keep test names unique.
5814
5815 2010-03-10  Pedro Alves  <pedro@codesourcery.com>
5816
5817         * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
5818
5819 2010-03-08  Keith Seitz  <keiths@redhat.com>
5820
5821         * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
5822         * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
5823         (dm_type_long): New function.
5824         (dm_type_unsigned_short): New function.
5825         (dm_type_unsigned_long): New function.
5826         (myint): New typedef.
5827         * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
5828         long, unsigned shor and long, operator char*, and typedef.
5829         (test_lookup_operator_functions): Add operator char* test.
5830         (test_paddr_operator_functions): Likewise.
5831         (test_paddr_overloaded_functions): Use probe values for
5832         short, long, and unsigned short and long.
5833         (test_paddr_hairy_functions): If the demangler probe detected
5834         gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
5835         demangler.
5836         * gdb.cp/expand-sals.exp: Backtrace may contain class names.
5837         * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
5838         and "print null_pmf".
5839         Add test "ptype a.*pmf".
5840         * gdb.cp/overload.exp: Allow optional "int" to appear with
5841         "short" and "long".
5842         * gdb.cp/ovldbreak.exp: Use append to construct super-duper
5843         long expect value for men_overload1arg.
5844         Allow "int" to appear with "short" and "long".
5845         When testing "info break", add argument for main (void).
5846         Also allow "int" to appear with "short" and "long".
5847         Ditto with "unsigned" and "long long".
5848         * gdb.java/jmain.exp: Do not enclose methods names in single
5849         quotes.
5850         * gdb.java/jmisc.exp: Likewise.
5851         * gdb.java/jprint.exp: Likewise.
5852         * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
5853
5854         From Jan Kratochvil  <jan.kratochvil@redhat.com>:
5855         * gdb.cp/exception.exp (backtrace after first throw)
5856         (backtrace after second throw): Allow a namespace before __cxa_throw.
5857         (backtrace after first catch, backtrace after second catch): Allow
5858         a namespace before __cxa_begin_catch.
5859
5860         * gdb.cp/cpexprs.exp: New file.
5861         * gdb.cp/cpexprs.cc: New file.
5862
5863         From Daniel Jacobowitz  <dan@codesourcery.com>
5864         * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
5865         to use string_to_regexp.
5866         (ctor, dtor): New functions.  Use them to match constructor
5867         and destructor function types.
5868         (Top level): Use runto_main.
5869
5870 2010-03-05  Tom Tromey  <tromey@redhat.com>
5871
5872         * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
5873         gdb.target_charset.
5874         (pp_ns.to_string): Likewise.
5875
5876 2010-03-04  Keith Seitz  <keiths@redhat.com>
5877
5878         * gdb.cp/overload.exp: Test that the filename portion of a linespec
5879         can be quoted.  Test that both the filename and function/line
5880         portions can be quoted at the same time.
5881
5882 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
5883
5884         * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
5885
5886 2010-03-03  Doug Evans  <dje@google.com>
5887
5888         * lib/gdb.exp (gdb_compile_pthreads): Handle case where
5889         libc contains libpthread.
5890
5891         * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
5892         * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
5893         of gdb_compile.  Add another pattern to match android backtrace.
5894
5895 2010-03-03  Tom Tromey  <tromey@redhat.com>
5896
5897         PR gdb/11345:
5898         * gdb.base/printcmds.exp (test_printf): Add test.
5899
5900 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
5901
5902         * gdb.arch/amd64-byte.exp: New.
5903         * gdb.arch/amd64-dword.exp: Likewise.
5904         * gdb.arch/amd64-pseudo.c: Likewise.
5905         * gdb.arch/amd64-word.exp: Likewise.
5906         * gdb.arch/i386-byte.exp: Likewise.
5907         * gdb.arch/i386-pseudo.c: Likewise.
5908         * gdb.arch/i386-word.exp: Likewise.
5909
5910 2010-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
5911
5912         * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
5913         types.  Add structreg, bitfields, and flags registers.
5914         * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
5915         registers.
5916
5917 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5918
5919         * gdb.xml/tdesc-regs.exp (architecture): New.  Set it for x86.
5920         (load_description): Set architecture if defined.
5921
5922 2010-02-28  Phil Muldoon  <pmuldoon@redhat.com>
5923
5924         * gdb.python/py-frame.exp: Add read_var block tests.
5925         * gdb.python/py-frame.c (block): New function.
5926
5927 2010-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5928             Daniel Jacobowitz  <dan@codesourcery.com>
5929
5930         * gdb.base/callfuncs.exp: New tests for $spval 0 and -1.  Remove return.
5931
5932 2010-02-25  David S. Miller  <davem@davemloft.net>
5933
5934         * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
5935         fix logic for setting all_syscalls_numbers.
5936
5937 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
5938
5939         * Makefile.in: Add py-block and py-symbol.
5940         * gdb.python/py-symbol.exp: New File.
5941         * gdb.python/py-symtab.exp: New File.
5942         * gdb.python/py-block.exp: New File.
5943         * gdb.python/py-symbol.c: New File.
5944         * gdb.python/py-block.c: New File.
5945
5946 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
5947
5948         PR python/11314
5949         * lib/gdb.exp (skip_python_tests): New function.
5950         * gdb.python/py-cmd.exp: Use skip_python_tests.
5951         * gdb.python/py-frame.exp: Likewise.
5952         * gdb.python/py-function.exp: Likewise.
5953         * gdb.python/py-prettyprint.exp: Likewise.
5954         * gdb.python/py-template.exp: Likewise.
5955         * gdb.python/py-type.exp: Likewise.
5956         * gdb.python/py-value.exp: Likewise.
5957
5958 2010-02-22  Pedro Alves  <pedro@codesourcery.com>
5959
5960         PR9605
5961
5962         * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
5963
5964 2010-02-19  Tom Tromey  <tromey@redhat.com>
5965
5966         PR c++/8693, PR c++/9496:
5967         * gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
5968         regression tests.
5969
5970 2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5971
5972         Fix compatibility with m68k as.
5973         * gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
5974         Use only /* comments */.
5975
5976 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5977
5978         * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
5979         * configure: Regenerate.
5980
5981 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
5982
5983         * gdb.python/py-type.exp: Check for Python support.
5984
5985 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
5986
5987         * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
5988         `regsub' syntax available.
5989
5990 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
5991
5992         * gdb.base/shmain.c (main): Remove printf call.
5993         * gdb.base/sizeof.c (main): Cast return of sizeof to int.
5994         * gdb.base/unload.c (main): Make format of fprintf a string
5995         literal.  Add missing endlines to prints to stderr.
5996         * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
5997
5998 2010-02-17  Tom Tromey  <tromey@redhat.com>
5999
6000         * gdb.java/jprint.java (jprint.props): New field.
6001         * gdb.java/jprint.exp (set_lang_java): Add regression test.
6002
6003 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
6004
6005         * gdb.base/charset.exp: Don't assume new `regsub' syntax
6006         available.
6007
6008 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6009
6010         * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6011         creation to support remote host testing.
6012
6013 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6014
6015         * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6016         Recognize "command not found".
6017
6018 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6019
6020         * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6021         single-stepping.
6022
6023 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6024
6025         * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6026         if arguments are not supported.
6027
6028 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6029
6030         * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6031         be const or non-const.
6032
6033 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6034
6035         * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6036         mi_send_resuming_command to send -exec-continue.
6037
6038 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6039
6040         * gdb.base/list.exp (test_list_filename_and_function): Add test
6041         with single quotes.
6042         * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6043         matching.
6044         * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6045         Add KFAIL'd tests for PR gdb/11289.
6046
6047 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6048
6049         * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6050
6051 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6052
6053         * gdb.base/comp-dir/subdir/dummy.txt: New file.
6054         * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6055         a temporary directory.
6056
6057 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6058
6059         * gdb.base/charset.exp: Use a single regular expression to match
6060         show host-charset and show target-charset output.
6061
6062 2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6063
6064         * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6065         "Illegal process-id" expect string more exact.
6066         (attach to digits-starting nonsense is prohibited): New.
6067
6068 2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6069
6070         * gdb.base/prelink.exp (set verbose on): New.
6071
6072 2010-02-12  Tomas Holmberg  <th@virtutech.com>
6073
6074         * mi-reverse.exp: New file. Test for reverse option to the
6075         following MI commands: exec-continue, exec-finish, exec-next,
6076         exec-step, exec-next-instruction, exec-step-instruction.
6077
6078 2010-02-09  Joel Brobecker  <brobecker@adacore.com>
6079
6080         * gdb.ada/ptype_tagged_param: New testcase.
6081
6082 2010-02-08  Tom Tromey  <tromey@redhat.com>
6083
6084         PR c++/8017:
6085         * gdb.cp/overload.exp: Add tests.
6086         * gdb.cp/overload.cc (struct K): New.
6087         (namespace N): New.
6088         (main): Call new functions.
6089         (K::staticoverload): Define.
6090
6091 2010-02-08  Chris Moller  <moller@mollerware.com>
6092
6093         PR gdb/10728
6094         * gdb.cp/pr10728-x.h: New file.
6095         * gdb.cp/pr10728-x.cc: New file.
6096         * gdb.cp/pr10728-y.cc: New file.
6097         * gdb.cp/pr10728.exp: New file.
6098         * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6099
6100 2010-02-08  Chris Moller  <moller@mollerware.com>
6101
6102         PR gdb/9067
6103         * gdb.cp/pr9067.exp:  New
6104         * gdb.cp/pr9067.cc:   New
6105         * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6106
6107 2010-02-08  Joel Brobecker  <brobecker@adacore.com>
6108
6109         * lib/gdb.exp (gdb_test_timeout): New global variable.
6110         Set it to timeout if not already set.
6111         (gdb_init): Reset the value of timeout to gdb_test_timeout.
6112
6113 2010-02-05  Doug Evans  <dje@google.com>
6114
6115         * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6116         user.
6117
6118 2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
6119
6120         PR c++/7935:
6121         * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6122
6123 2010-02-04  Tom Tromey  <tromey@redhat.com>
6124
6125         * gdb.cp/virtbase.exp: Make test case names unique.
6126
6127 2010-02-02  Tom Tromey  <tromey@redhat.com>
6128
6129         * gdb.cp/virtbase.exp: Add regression tests.
6130         * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6131         (main): Instantiate RHC.
6132
6133 2010-02-02  Tom Tromey  <tromey@redhat.com>
6134
6135         * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6136         type-printing change.
6137
6138 2010-02-02  Tom Tromey  <tromey@redhat.com>
6139
6140         PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6141         * gdb.cp/virtbase.cc: New file.
6142         * gdb.cp/virtbase.exp: New file.
6143         * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6144
6145 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6146
6147         PR libc/11214:
6148         * gdb.threads/current-lwp-dead.c: Include features.h.
6149         (HAS_NOMMU): New.
6150         (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6151
6152 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6153
6154         * gdb.base/symbol-without-target_section.exp,
6155         gdb.base/symbol-without-target_section.c: New.
6156
6157 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6158
6159         * gdb.base/bigcore.exp: Reset increased timeout.
6160         * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6161
6162 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6163
6164         * gdb.base/gcore.exp (capture_command_output): Use
6165         gdb_test_multiple.
6166
6167 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6168
6169         * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6170         * gdb.arch/thumb2-it.exp (test_it_break): New function.
6171         (Top level): Call it.
6172
6173 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6174
6175         * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6176
6177 2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
6178
6179         * gdb.base/call-strs.exp, gdb.base/default.exp,
6180         gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6181         gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6182         gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6183         gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6184         gdb.base/watchpoint-solib.exp: Save and restore timeout.
6185         * gdb.base/ending-run.exp: Correct restore of timeout.
6186         * gdb.base/page.exp: Remove unnecessary timeout setting.
6187
6188 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
6189
6190         * gdb.ada/rec_return: New testcase.
6191
6192 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
6193
6194         * gdb.ada/call_pn: New testcase.
6195
6196 2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
6197
6198         * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
6199         (Top level): Use it to resume.
6200         * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
6201         the Thumb mode displaced stepping error as unsupported.
6202
6203 2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
6204
6205         * gdb.cp/nsusing.exp: Added more tests.
6206         * gdb.cp/nsrecurs.exp: Ditto.
6207         * gdb.cp/nsusing.cc: Added test functions.
6208         * gdb.cp/nsrecurs.cc: Ditto.
6209
6210 2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6211
6212         * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
6213         absolute directory pathnames in gdb.sum file.
6214
6215 2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
6216
6217         * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
6218         * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
6219
6220 2010-01-26  Tom Tromey  <tromey@redhat.com>
6221
6222         PR exp/7643:
6223         * gdb.base/printcmds.exp (test_print_string_constants): Remove
6224         setup_kfail.
6225
6226 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
6227
6228         * gdb.cp/nsrecurs.exp: New test.
6229         * gdb.cp/nsrecurs.cc: New test program.
6230         * gdb.cp/nsstress.exp: New test.
6231         * gdb.cp/nsstress.cc: New test program.
6232         * gdb.cp/nsdecl.exp: New test.
6233         * gdb.cp/nsdecl.cc: New test program.
6234
6235 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
6236
6237         * gdb.cp/namespace-using.exp: Add test for printing of namespaces
6238         imported into file scope.
6239         Marked test as xfail.
6240         * gdb.cp/namespace-using.cc (marker5): New function.
6241         * gdb.cp/shadow.exp: New test.
6242         * gdb.cp/shadow.cc: New test program.
6243         * gdb.cp/nsimport.exp: New test.
6244         * gdb.cp/nsimport.cc: New test program.
6245
6246 2010-01-25  Tom Tromey  <tromey@redhat.com>
6247
6248         PR gdb/11049:
6249         * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
6250         with "set print null-stop on".
6251
6252 2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6253
6254         * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
6255         Adjust it for DISASSEMBLY_OMIT_FNAME.
6256
6257 2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
6258
6259         PR symtab/11199:
6260         * gdb.dwarf2/member-ptr-forwardref.exp,
6261         gdb.dwarf2/member-ptr-forwardref.S: New.
6262
6263 2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6264
6265         * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
6266         (thread1_func): Protect thread1_tid with thread1_tid_cond by
6267         thread1_tid_mutex.  Remove gdbstop_mutex handling.
6268         (thread2_func): Protect thread2_tid with thread2_tid_cond by
6269         thread2_tid_mutex.  Remove gdbstop_mutex handling.
6270         (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
6271         pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
6272         pthread_cond_wait conditionalizations by while loops.
6273
6274 2010-01-20  Tom Tromey  <tromey@redhat.com>
6275
6276         PR backtrace/10770:
6277         * gdb.dwarf2/pr10770.exp: New file.
6278         * gdb.dwarf2/pr10770.c: New file.
6279         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
6280
6281 2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
6282
6283         * gdb.mi/mi-async.exp: Remove check for 'async' target, because
6284         that target was removed, and the test always runs native anyway.
6285
6286 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6287
6288         * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
6289         gdb.base/watchpoint-cond-gone-stripped.c: New.
6290
6291 2010-01-19  Tom Tromey  <tromey@redhat.com>
6292
6293         PR c++/8000:
6294         * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
6295         existing tests.
6296         * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
6297         (main): Use AAA::SomeEnum.
6298
6299 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6300
6301         * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
6302         (test_ignore_count): Declare line_callme_body global.
6303         (run to breakpoint with ignore count): Use line_callme_body.
6304         * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
6305         (set line_main_hello, set line_main_return): Reindent.
6306         (set line_callee4_head, set line_callee4_body, set line_callee4_next):
6307         New.
6308         (continue to callee4): Use line_callee4_body.
6309         (check *stopped from CLI command): Use line_callee4_next.
6310         * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
6311         (set line_main_hello, set line_main_return): Reindent.
6312         (set line_callee4_head, set line_callee4_body): New.
6313         (continue to callee4): Use line_callee4_body.
6314
6315 2010-01-18  Tom Tromey  <tromey@redhat.com>
6316
6317         PR c++/9680:
6318         * gdb.cp/casts.cc: Add new classes and variables.
6319         * gdb.cp/casts.exp: Test new operators.
6320
6321 2010-01-18  Tom Tromey  <tromey@redhat.com>
6322             Thiago Jung Bauermann  <bauerman@br.ibm.com>
6323
6324         * gdb.python/source2.py: New file.
6325         * gdb.python/source1: New file.
6326         * gdb.python/python.exp: Test "source" command.
6327
6328 2010-01-15  Stan Shebs  <stan@codesourcery.com>
6329
6330         * gdb.trace/tfile.c: New file.
6331         * gdb.trace/tfile.exp: New file.
6332
6333 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6334
6335         * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
6336
6337 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6338
6339         * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
6340
6341 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6342
6343         * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
6344         (libfunc): New parameter action.  Implement also selectable "sleep".
6345         * gdb.base/break-interp-main.c: Include assert.h.
6346         (libfunc): New parameter action.
6347         (main): New parameters argc and argv.  Assert argc.  Pass argv.
6348         * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
6349         (test_attach): New proc.
6350         (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
6351         * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
6352
6353 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6354
6355         * gdb.base/break-interp.exp (test_core): New proc.
6356         (test_ld): Call it.
6357
6358 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6359
6360         * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
6361         * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
6362         New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
6363         and gdb_compile_shlib.  Use new -Wl compiler options.
6364         (dl bt, main bt): New tests.
6365
6366 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6367
6368         Support PIEs with no symfile_objfile.
6369         * gdb.base/break-interp.exp: New argument at the test_ld calls.
6370         (test_ld): New parameter trynosym.
6371         (test_ld <$trynosym>): New block.
6372
6373 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6374
6375         * gdb.base/break-interp.exp: New file.
6376
6377 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
6378
6379         * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
6380         * gdb.python/py-prettyprint.py (pp_ls): New printer.
6381         * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
6382         test.
6383         * gdb.python/py-prettyprint.c: Define lazystring test structure.
6384         * gdb.python/py-mi.exp: Add lazy string test.
6385
6386 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
6387
6388         * lib/mi-support.exp (mi_check_thread_states): Handle
6389         core number in thread listing.
6390
6391 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
6392
6393         * gdb.base/maint.exp: Adjust the expected output for the
6394         "maint print type" test. Use gdb_test_multiple instead of
6395         gdb_sent/gdb_expect.
6396
6397 2010-01-11  Doug Evans  <dje@google.com>
6398
6399         * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
6400         from gdbserver_download.  All callers updated.
6401
6402         * gdb.server/ext-run.exp: "info os processes" requires xml support.
6403
6404 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6405
6406         Implement binary numbers parsing.
6407         * gdb.base/printcmds.exp (test_integer_literals_accepted)
6408         (test_integer_literals_rejected): New binary tests.
6409
6410 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6411
6412         * gdb.cell/configure: Regenerate.
6413
6414 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6415
6416         * gdb.base/corefile.exp: Move the core finding block out and call it as
6417         core_find, new variable $corefile, replace corefile by $corefile and
6418         [file tail $corefile] for usage vs. test names resp.
6419         * lib/gdb.exp (core_find): Move it as a new function here.  New
6420         parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
6421         $destcore.  Return "" on error.
6422
6423 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6424
6425         Workaround PR binutils/10802.
6426         * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
6427         (twice).
6428
6429 2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
6430
6431         * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
6432
6433 2010-01-08  Joel Brobecker  <brobecker@adacore.com>
6434
6435         * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
6436         call, to avoid interruption.
6437
6438 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6439
6440         * gdb.stabs/weird.def (args93): New.
6441
6442 2010-01-07  Doug Evans  <dje@google.com>
6443
6444         * lib/gdb.exp (gdb_skip_xml_test): Add comment.
6445
6446 2010-01-07  Tom Tromey  <tromey@redhat.com>
6447
6448         * gdb.base/source.exp: Use correct line number.
6449
6450 2010-01-05  Stan Shebs  <stan@codesourcery.com>
6451
6452         * gdb.trace/tracecmd.exp: Test ftrace.
6453
6454 2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6455
6456         * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
6457
6458 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6459
6460         * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6461         "uint_for_mi_testing".
6462
6463 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6464
6465         Test indented comment in file being sourced.
6466         * gdb.base/commands.exp: Test indented comment in file being sourced.
6467
6468 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6469
6470         * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6471         gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6472         gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6473         notice.
6474
6475 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6476
6477         * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6478         notice.
6479
6480 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6481
6482         * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6483         missing $after_stopped and comma (,) expectation.
6484
6485 2009-12-31  Stan Shebs  <stan@codesourcery.com>
6486
6487         * gdb.trace/actions.exp: Test teval action.
6488
6489 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
6490
6491         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
6492         (top level): Call test_watchpoint_in_big_blob.
6493         * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
6494         watchpoints.
6495         (func3): Write to buf.
6496
6497 2009-12-29  Stan Shebs  <stan@codesourcery.com>
6498
6499         * gdb.trace/actions.exp: Test default-collect.
6500
6501 2009-12-28  Stan Shebs  <stan@codesourcery.com>
6502
6503         * gdb.trace/tsv.exp: New file.
6504         * gdb.base/completion.exp: Update ambiguous info output.
6505
6506 2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
6507
6508         * gdb.base/find.c (main): Reference search buffers.
6509         * gdb.base/included.c (main): Reference integer.
6510         * gdb.base/ptype.c (charfoo): Declare.
6511         (intfoo): Call charfoo.
6512         * gdb.base/scope0.c (useitp): New function.
6513         (usestatics): Use useitp.
6514         (useit): Add a type for val.
6515         * gdb.base/scope1.c (useit1): Take a pointer argument.
6516         (usestatics1): Update calls to useit1.
6517         * gdb.cp/call-c.cc: Declare foo.
6518         (main): Call foo.
6519         * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
6520         * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
6521         (main): Call C::ensureRefs and ensureOtherRefs.
6522         * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
6523         variables.
6524         (ensureOtherRefs): New function.
6525         * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
6526         * gdb.cp/templates.cc (main): Call t5i.value.
6527
6528 2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6529
6530         Fix compatibility with G++-4.5.
6531         * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
6532         * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
6533         (uncaught return): Remove.
6534
6535 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6536             Phil Muldoon  <pmuldoon@redhat.com>
6537
6538         * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
6539         (bp_location13, bp_location14, bp_location17, bp_location18)
6540         (marker3_proto, marker4_proto): New variables.
6541         (breakpoint info): Update output.
6542         (run until breakpoint at marker3, run until breakpoint at marker4): New
6543         tests.
6544
6545 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6546
6547         * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
6548         Replace the printf call of Y by provided "y-set-1" label.  New block
6549         for the second shared library.
6550         * gdb.base/unload.exp: Compile also the second library, call
6551         gdb_load_shlibs also for it.  Use now gdb_breakpoint.
6552         (single pending breakpoint info): Rename to ...
6553         (pending breakpoint info before run): ... this extended test.
6554         (libfile2, libname2, libsrcfile2, libsrc2)
6555         (lib_sl2): New variables.
6556         (exec_opts): Set also SHLIB_NAME2.
6557         (pending breakpoint info on first run at shrfunc1)
6558         (pending breakpoint info on second run at shrfunc1)
6559         (pending breakpoint info on second run at shrfunc2)
6560         (print y from libfile, print y from libfile2): New tests.
6561         * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
6562         * gdb.base/unloadshr2.c: New.
6563
6564 2009-12-22  Hui Zhu  <teawater@gmail.com>
6565
6566         * gdb.reverse/sigall-reverse.exp: Adjust.
6567
6568 2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
6569
6570         PR gdb/10884
6571
6572         * gdb.mi/var-cmd.c (do_bitfield_tests): New
6573         (main): Call do_bitfield_tests.
6574         * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
6575
6576 2009-12-20  Joel Brobecker  <brobecker@adacore.com>
6577
6578         * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
6579         gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
6580         gdb.base/watch_thread_num.c, gdb.java/jprint.java,
6581         gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
6582         gdb.modula2/unbounded1.c: Update copyright header.
6583
6584 2009-12-10  Chris Moller  <moller@mollerware.com>
6585
6586         PR gdb/9399
6587         * gdb.cp/virtfunc2.exp: New tests
6588         * gdb.cp/virtfunc2.cc: New tests
6589         * gdb.cp/Makefile.in: Added tests to EXECUTABLES
6590
6591 2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
6592
6593         * gdb.reverse/i387-env-reverse.c: New file.
6594         * gdb.reverse/i387-env-reverse.exp: New file.
6595         * gdb.reverse/i387-stack-reverse.c: New file.
6596         * gdb.reverse/i387-stack-reverse.exp: New file.
6597
6598 2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
6599
6600         * gdb.python/py-type.exp (test_range): New test.
6601
6602 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
6603
6604         PR python/10805
6605
6606         * gdb.python/py-type.exp: New file.
6607         * gdb.python/py-type.c: New file.
6608         * Makefile.in: Add py-type.
6609
6610 2009-12-03  Tom Tromey  <tromey@redhat.com>
6611
6612         * gdb.python/py-value.exp (test_parse_and_eval): New
6613         function.
6614
6615 2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6616
6617        PR gdb/11022
6618
6619        * gdb.base/pr11022.exp: New test.
6620        * gdb.base/pr11022.c: New test.
6621
6622 2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6623
6624         Fix spurious false FAILs.
6625         * gdb.base/structs.c (chartest): New.
6626         (main): Fill-in chartest.
6627         * gdb.base/structs.exp (anychar_re, first): New.
6628         (start_structs_test): Import global anychar_re and first.
6629         New gdb_test call "set print elements 300; ${testfile}"
6630         (start_structs_test <$first>): New block.
6631         (any): Import global anychar_re.  New variable ac.  Use ${ac}.
6632
6633 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6634
6635         * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
6636
6637 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6638
6639         * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
6640         Force $srcfile file.
6641         * gdb.base/foll-fork.c (callee): Comment out the printf call.
6642
6643 2009-11-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6644
6645         * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
6646         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
6647         * gdb.threads/watchthreads-reorder.exp: Likewise.
6648
6649 2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
6650
6651         PR gdb/8704
6652
6653         * gdb.base/condbreak.exp: Test combinations of "break *EXP",
6654         "if", and "thread".  Correct matching in the previous test.
6655
6656 2009-11-25  Daniel Jacobowitz  <dan@codesourcery.com>
6657
6658         * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
6659
6660 2009-11-23  Michael Snyder  <msnyder@vmware.com>
6661
6662         * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
6663         * gdb.reverse-watch-precsave.exp: Ditto.
6664
6665 2009-11-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
6666
6667         * gdb.asm/asm-source.exp: Adjust.
6668         * gdb.base/help.exp: Adjust.
6669
6670 2009-11-22  Pedro Alves  <pedro@codesourcery.com>
6671
6672         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
6673         (do_syscall_tests_without_xml): Set data-directory to
6674         /the/path/to/nowhere.
6675
6676 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
6677
6678         * gdb.threads/local-watch-wrong-thread.c,
6679         gdb.threads/local-watch-wrong-thread.exp: New files.
6680
6681 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
6682
6683         * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
6684         assume new `regsub' syntax available.
6685
6686 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6687
6688         * gdb.base/watchpoint-hw-hit-once.exp,
6689         gdb.base/watchpoint-hw-hit-once.c: New.
6690
6691 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6692
6693         * gdb.threads/watchthreads-reorder.exp,
6694         gdb.threads/watchthreads-reorder.c: New.
6695
6696 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
6697
6698         * gdb.xml/tdesc-regs.exp: Use for m68k.
6699
6700 2009-11-15  Pedro Alves  <pedro@codesourcery.com>
6701
6702         * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
6703
6704 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
6705
6706         * lib/gdb.exp (current_target_name): New procedure.
6707         (gdb_wrapper_target): New variable.
6708         (gdb_wrapper_init): Set gdb_wrapper_target.
6709         (default_gdb_init): Check gdb_wrapper_target before rebuilding the
6710         wrapper.
6711
6712 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
6713
6714         * gdb.base/remote.exp: Delete the slowest load test.
6715         Do not load with fixed packet sizes.
6716
6717 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
6718
6719         * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
6720
6721 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
6722
6723         * gdb.base/freebpcmd.exp: Delete unused variable.  Specify
6724         srcfile when setting a breakpoint.
6725
6726 2009-11-13  Maciej W. Rozycki  <macro@codesourcery.com>
6727
6728         * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
6729         macros.
6730
6731 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
6732
6733         * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
6734         to be in memory.
6735         * gdb.base/display.c (force_mem): New.
6736         (do_loops): Use it.  Add breakpoint comments.
6737         (do_vars): Add a breakpoint comment.
6738         * gdb.base/display.exp: Use gdb_get_line_number.  Remove hardcoded
6739         line numbers.
6740
6741 2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
6742
6743         * gdb.base/pending.exp: Use gdb_run_cmd to start the program
6744         instead of a bare "run".
6745
6746 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
6747
6748         * gdb.python/py-prettyprint.exp: Adjust.
6749
6750 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
6751
6752         * lib/cell.exp (skip_cell_tests): Clean up test files before
6753         returning.
6754
6755 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
6756
6757         * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
6758         and the breakpoint menu.  Do not call perror if a prompt is seen.
6759         Consume the following GDB prompt.
6760         * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
6761         * gdb.cp/namespace.exp: Use gdb_test.
6762         * gdb.cp/templates.exp: Use gdb_test.
6763         (test_template_breakpoints): Use gdb_test_multiple.
6764
6765 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
6766
6767         * gdb.base/break1.c (struct some_struct, values): Move earlier.
6768         (marker4): Reference values.
6769
6770 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
6771
6772         * gdb.base/macscp.exp: Avoid the first FAIL if macro information
6773         is missing.
6774
6775 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
6776
6777         * gdb.base/break.c (need_malloc): New.
6778         * gdb.base/constvars.c (main): Reference crass and crisp.
6779         * gdb.base/gdb1821.c (main): Reference bar.
6780         * gdb.cp/gdb1355.cc (main): Reference s1.
6781         * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
6782         (main): Call them.
6783         * gdb.cp/hang2.cc (dummy2): Define.
6784         * gdb.cp/hang3.cc (dummy3): Define.
6785         * gdb.cp/m-data.cc (main): Reference shadow.
6786
6787 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
6788             Nathan Froyd  <froydnj@codesourcery.com>
6789
6790         * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
6791         remote host.
6792
6793 2009-11-12  Nathan Froyd  <froydnj@codesourcery.com>
6794
6795         * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
6796         * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
6797         * gdb.dwarf2/dw2-compressed.exp: Likewise.
6798         * gdb.dwarf2/dw2-intercu.exp: Likewise.
6799         * gdb.dwarf2/dw2-intermix.exp: Likewise.
6800         * gdb.dwarf2/dw2-producer.exp: Likewise.
6801         * gdb.dwarf2/mac-fileno.exp: Likewise.
6802         * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
6803         py-prettyprint.py to the remote host.
6804         * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
6805
6806 2009-11-11  Keith Seitz  <keiths@redhat.com>
6807
6808         * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
6809         use it instead of "Foo".
6810         * gdb.cp/classes.exp (do_tests): Add a test to access
6811         a method through a typedef'd class name.
6812
6813 2009-11-11  Nathan Froyd  <froydnj@codesourcery.com>
6814
6815         * gdb.base/long_long.exp: Permit leading zeros on floating-point
6816         exponents.
6817         * gdb.base/pointers.exp: Likewise.
6818         * gdb.cp/ref-types.exp: Likewise.
6819
6820 2009-11-11  Keith Seitz  <keiths@redhat.com>
6821
6822         * gdb.cp/cplusfuncs.cc (class foo): Add operators
6823         new[] and delete[].
6824         * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
6825         "void".
6826         (probe_demangler): Remove all single-quoting of
6827         method and variable names.
6828         (info_func_regexp): Remove the word "void" from any
6829         occurrence of "(void)".
6830         (print_addr_2): Remove all single-quoting of
6831         method names.
6832         (print_addr_2_kfail): Likewise.
6833         (print_addr): Single-quote C function names before
6834         passing to print_addr_2.
6835         (test_paddr_operator_functions): Remove single-quoting
6836         for method names.
6837         Add tests for operator new[] and operator delete[].
6838
6839 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6840
6841         * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
6842
6843 2009-11-09  Keith Seitz  <keiths@redhat.com>
6844
6845         * gdb.cp/overload.exp: Add tests for resolving overloaded
6846         methods in expression parsing/evaluation.
6847
6848 2009-11-10  Daniel Jacobowitz  <dan@codesourcery.com>
6849
6850         * lib/gdb.exp (default_gdb_version): Use --version instead of
6851         --command.
6852
6853 2009-11-10  Nathan Sidwell  <nathan@codesourcery.com>
6854
6855         * lib/gdb.exp (gdb_compile_test): New.
6856         (skip_ada_tests, skip_java_tests): New.
6857         (gdb_compile): Use gdb_compile_test for f77.
6858         * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
6859         * lib/java.exp (compile_java_from_source): Remove runtests check,
6860         use gdb_compile_test to record result.
6861         * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
6862         gdb.ada/exec_changed.exp, gdb.ada/start.exp,
6863         gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
6864         gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
6865         gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
6866         gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
6867         gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
6868         gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
6869         gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
6870         adjust gdb_compile invocations.
6871
6872 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6873
6874         * Makefile.in (abs_builddir): New.
6875         (site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
6876         (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
6877         `$(abs_builddir)/site.exp'.
6878
6879 2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
6880
6881         * config/m68k-emc.exp, lib/emc-support.exp,
6882         gdb.trace/gdb_c_test.c: Delete.
6883         * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
6884         gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6885         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6886         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6887         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6888         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
6889         casing for m68k-*-elf.
6890
6891 2009-11-03  Pedro Alves  <pedro@codesourcery.com>
6892
6893         * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
6894         * gdb.arch/i386-prologue.exp: Likewise.
6895         * gdb.arch/i386-unwind.exp: Likewise.
6896
6897 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
6898
6899         * lib/gdb.exp (gdb_expect): Fix timeout typo.
6900
6901 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
6902
6903         * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
6904
6905 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
6906
6907         * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
6908
6909 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6910
6911         * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
6912
6913 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6914
6915         * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
6916         * gdb.base/sepdebug2.c: New file.
6917
6918 2009-10-31  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
6919
6920         * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
6921         the modified warnings for catch syscall.  Verify if GDB was compiled
6922         with support for lib expat, and choose which tests to run depending
6923         on this.
6924
6925 2009-10-30  Vladimir Prus  <vladimir@codesourcery.com>
6926
6927         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
6928         that composite commands are parsed OK. And also test
6929         that breakpoint commands do work.
6930
6931 2009-10-23  Michael Snyder  <msnyder@vmware.com>
6932
6933         gdb.reverse/consecutive-precsave.exp: Change expect pattern
6934         to allow for new disassembly style.
6935
6936 2009-10-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6937
6938         * gdb.asm/asm-source.exp: Adjust.
6939
6940 2009-10-22  Michael Snyder  <msnyder@vmware.com>
6941
6942         * gdb.reverse/break-precsave.exp: New test.
6943         * gdb.reverse/consecutive-precsave.exp: Ditto.
6944         * gdb.reverse/finish-precsave.exp: Ditto.
6945         * gdb.reverse/i386-precsave.exp: Ditto.
6946         * gdb.reverse/machinestate-precsave.exp: Ditto.
6947         * gdb.reverse/sigall-precsave.exp: Ditto.
6948         * gdb.reverse/solilb-precsave.exp: Ditto.
6949         * gdb.reverse/step-precsave.exp: Ditto.
6950         * gdb.reverse/until-precsave.exp: Ditto.
6951         * gdb.reverse/watch-precsave.exp: Ditto.
6952
6953 2009-10-22  Michael Snyder  <msnyder@vmware.com>
6954
6955         * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
6956         for gdb_expect.  Adjust one test's expect strings for the new
6957         format of disassemble.
6958         * gdb.reverse/finish-reverse.exp: Delete 'return'.
6959         * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
6960         gdb_test_multiple.
6961         * gdb.reverse/step-reverse.exp: Delete 'return'.
6962         * gdb.reverse/until-reverse.exp: Delete blank lines.
6963         * gdb.reverse/watch-reverse.exp: Delete blank lines.
6964
6965 2009-10-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
6966
6967         * gdb.base/consecutive.exp: Adjust.
6968         * gdb.base/display.exp: Likewise.
6969         * gdb.base/pc-fp.exp: Likewise.
6970         * gdb.base/sigbpt.exp: Likewise.
6971
6972 2009-10-19  Michael Snyder  <msnyder@vmware.com>
6973
6974         * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
6975         * gdb.reverse/finish-reverse.c: Ditto.
6976         * gdb.reverse/sigall-reverse.c: Ditto.
6977         * gdb.reverse/solib-reverse.c: Ditto.
6978         * gdb.reverse/step-reverse.c: Ditto.
6979         * gdb.reverse/watch-reverse.c: Ditto.
6980
6981 2009-10-19  Pedro Alves  <pedro@codesourcery.com>
6982             Stan Shebs  <stan@codesourcery.com>
6983
6984         * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
6985         * gdb.base/foll-exec.exp: Adjust to expect a process id before
6986         "Executing new program".
6987         * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
6988         * gdb.base/multi-forks.exp: Ditto.  Adjust to the inferior being
6989         left listed after having been killed.
6990         * gdb.base/attach.exp: Adjust to spell out "symbol-file".
6991         * gdb.base/maint.exp: Adjust test.
6992
6993         * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
6994         * gdb.multi/Makefile.in: New.
6995         * gdb.multi/base.exp: New.
6996         * gdb.multi/goodbye.c: New.
6997         * gdb.multi/hangout.c: New.
6998         * gdb.multi/hello.c: New.
6999         * gdb.multi/bkpt-multi-exec.c: New.
7000         * gdb.multi/bkpt-multi-exec.exp: New.
7001         * gdb.multi/crashme.c: New.
7002
7003 2009-10-13  Tristan Gingold  <gingold@adacore.com>
7004
7005         * gdb.base/sepdebug.exp: Check debug info are found.
7006
7007 2009-10-08  Pedro Alves  <pedro@codesourcery.com>
7008
7009         * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7010         bits.
7011
7012 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7013
7014         * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7015
7016 2009-10-07  Joel Brobecker  <brobecker@adacore.com>
7017
7018         * gdb.base/watchpoints.c: Add copyright header.  Reformat one
7019         of the comments.
7020
7021 2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
7022
7023         * gdb.base/annota1.exp: Remove obsolete match_max increase.
7024         * gdb.base/annota3.exp: Idem.
7025         * gdb.base/maint.exp: Idem.
7026
7027 2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
7028
7029         * lib/gdb.exp (default_gdb_init): Set current value of match_max
7030         to default.
7031
7032 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
7033
7034         * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
7035         mingw and cygwin targets.
7036
7037 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
7038             Pedro Alves  <pedro@codesourcery.com>
7039
7040         * lib/gdb.exp (gdb_compile): Avoid adding
7041         gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7042
7043 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
7044
7045         * gdb.base/shr1.c: Use %p in format string.
7046         * gdb.base/unload.c: Avoid warning in fprintf.
7047         * gdb.base/watchpoint-solib.c: Idem.
7048
7049 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
7050
7051         * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7052         long type.
7053         (test_unlink): Correct printf string.
7054         * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7055         * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7056
7057 2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7058
7059         * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7060         * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7061         * gdb.arch/ia64-breakpoint-shadow.S: New file.
7062
7063 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7064
7065         * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7066         * gdb.objc/nondebug.exp: Likewise.
7067
7068 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7069
7070         * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7071         target_info setting.
7072
7073         * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7074         that detect new threads during "info threads".
7075
7076 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7077
7078         * gdb.threads/manythreads.c (main): Increase thread stack size
7079         to 2*PTHREAD_STACK_MIN.
7080         * gdb.threads/multi-create.c (main): Likewise.
7081         (create_function): Likewise.
7082
7083 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7084
7085         * gdb.base/dump.exp: Pass difference of pointer types instead
7086         of integer types as offset to restore in intarr3.srec case.
7087
7088 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7089
7090         * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7091
7092 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7093
7094         * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7095
7096 2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
7097
7098         New test for two watchpoints, with disabling of
7099         the first inserted.
7100         * testsuite/gdb.base/watchpoints.c: New file.
7101         * testsuite/gdb.base/watchpoints.exp: New file.
7102
7103 2009-09-25  Tom Tromey  <tromey@redhat.com>
7104
7105         * gdb.base/charset.exp: Test utf-16 strings with Python.
7106
7107 2009-09-25  Tom Tromey  <tromey@redhat.com>
7108
7109         * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7110         UCS-4.
7111         * gdb.base/charset.c (utf_32_string): Rename.
7112         (init_utf32): Rename.
7113         (main): Update.
7114
7115 2009-09-22  Tom Tromey  <tromey@redhat.com>
7116
7117         * gdb.python/py-function.exp: Add regression tests.
7118
7119 2009-09-21  Keith Seitz  <keiths@redhat.com>
7120
7121         * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7122         with invalid operator.
7123
7124 2009-09-21  Keith Seitz  <keiths@redhat.com>
7125
7126         * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7127         and destructor using typedef name of class.
7128         * gdb.cp/classes.cc (class Base1): Add a destructor.
7129         (base1): New typedef.
7130         (use_methods): Instanitate an object of type base1.
7131         * gdb.cp/templates.exp (test_template_typedef): New procedure.
7132         (do_tests): Call test_template_typedef.
7133         * gdb.cp/templates.cc (Baz::~Baz): New method.
7134         (intBazOne): New typedef.
7135         (main): Instantiate intBazOne.
7136
7137 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
7138
7139         PR python/10633
7140
7141         * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7142         Function.
7143         (run_lang_tests): Add print elements test.
7144
7145 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
7146
7147         * gdb.python/py-value.exp (test_subscript_regression): New
7148         function.  Test for invalid subscripts.
7149         * gdb.python/py-value.c (main): Add test array, and pointer to it.
7150         (ptr_ref): New function.
7151
7152 2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7153
7154         * gdb.base/default.exp: Fix "show convenience".
7155
7156 2009-09-15  Tom Tromey  <tromey@redhat.com>
7157
7158         * lib/mi-support.exp (mi_create_varobj): Update.
7159         (mi_create_floating_varobj): Likewise.
7160         (mi_create_dynamic_varobj): New proc.
7161         (mi_varobj_update): Update.
7162         (mi_varobj_update_with_type_change): Likewise.
7163         (mi_varobj_update_kv_helper): New proc.
7164         (mi_varobj_update_dynamic_helper): Rewrite.
7165         (mi_varobj_update_dynamic): New proc.
7166         (mi_list_varobj_children): Update.
7167         (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7168         * gdb.python/python-prettyprint.py (pp_outer): New class.
7169         (pp_nullstr): Likewise.
7170         (lookup_function): Register new printers.
7171         * gdb.python/python-prettyprint.c (struct substruct): New type.
7172         (struct outerstruct): Likewise.
7173         (substruct_test): New function.
7174         (struct nullstr): New type.
7175         (string_1, string_2): New globals.
7176         (main): Add new tests.
7177         * gdb.python/python-mi.exp: Added regression tests.
7178         * gdb.mi/mi2-var-display.exp: Update.
7179         * gdb.mi/mi2-var-cmd.exp: Update.
7180         * gdb.mi/mi2-var-child.exp: Update.
7181         * gdb.mi/mi2-var-block.exp: Update.
7182         * gdb.mi/mi-var-invalidate.exp: Update.
7183         * gdb.mi/mi-var-display.exp: Update.
7184         * gdb.mi/mi-var-cmd.exp: Update.
7185         * gdb.mi/mi-var-child.exp: Update.
7186         * gdb.mi/mi-var-block.exp: Update.
7187         * gdb.mi/mi-break.exp: Update.
7188         * gdb.mi/gdb701.exp: Update.
7189
7190 2009-09-14  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7191
7192         * Makefile.in: Inclusion of catch-syscall object.
7193         * gdb.base/catch-syscall.c: New file.
7194         * gdb.base/catch-syscall.exp: New file.
7195
7196 2009-09-12  Michael Snyder  <msnyder@vmware.com>
7197
7198         * gdb.reverse/step-reverse.exp: Explicitly check for targets
7199         that can support reverse debuggnig.
7200
7201 2009-09-11  Tom Tromey  <tromey@redhat.com>
7202
7203         * gdb.dwarf2/valop.S: New file.
7204         * gdb.dwarf2/valop.exp: New file.
7205
7206 2009-09-11  Mark Kettenis  <kettenis@gnu.org>
7207
7208         * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
7209
7210 2009-09-10  Doug Evans  <dje@google.com>
7211
7212         * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
7213         Add $gdb_prompt to second breakpoint regexp.
7214
7215 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
7216
7217         * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
7218         names, add missing ones.
7219         * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
7220         * gdb.python/py-frame.c: Rename from python-frame.c.
7221         * gdb.python/py-frame.exp: Rename from python-frame.exp.  Adjust
7222         testfile name.
7223         * gdb.python/py-function.exp: Rename from python-function.exp.
7224         * gdb.python/py-mi.exp: Rename from python-mi.exp.  Adjust
7225         testfile name.
7226         * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
7227         * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
7228         Adjust testfile name.
7229         * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7230         * gdb.python/py-template.cc: Rename from python-template.cc.
7231         * gdb.python/py-template.exp: Rename from python-template.exp.
7232         Adjust testfile name.
7233         * gdb.python/py-value.c: Rename from python-value.c.
7234         * gdb.python/py-value.exp: Rename from python-value.exp.  Adjust
7235         testfile name.
7236
7237 2009-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7238
7239         * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
7240         $bpt2address.
7241         (Second breakpoint address is valid on ia64)
7242         (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
7243
7244 2009-09-03  Joseph Myers  <joseph@codesourcery.com>
7245
7246         * gdb.base/ending-run.exp: Restrict regular expression matching
7247         line number to require closing brace following.
7248
7249 2009-09-03  Doug Evans  <dje@google.com>
7250
7251         * gdb.base/store.exp (check_set): Fix typo in expected value message.
7252
7253 2009-09-02  Tom Tromey  <tromey@redhat.com>
7254
7255         * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
7256
7257 2009-09-02  Tom Tromey  <tromey@redhat.com>
7258
7259         * gdb.dwarf2/callframecfa.exp: New file.
7260         * gdb.dwarf2/callframecfa.S: New file.
7261
7262 2009-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7263
7264         * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
7265         gdb.base/solib-overlap-main.c: New.
7266
7267 2009-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
7268
7269         PR gdb/10565
7270
7271         * gdb.base/bitfields.c (struct container, container): New.
7272         (main): Initialize it and call break5.
7273         * gdb.base/bitfields.exp (bitfield_at_offset): New test.
7274
7275 2009-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
7276
7277         Support constant DW_AT_data_member_location by GCC PR debug/40659.
7278         * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
7279
7280 2009-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7281
7282         * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
7283
7284 2009-08-26  Michael Snyder  <msnyder@vmware.com>
7285
7286         * gdb.base/i386-reverse.c: New file.
7287         * gdb.base/i386-reverse.exp: New file.
7288         * gdb.base/Makefile.in: Add new files to be removed.
7289
7290 2009-08-26  Joseph Myers  <joseph@codesourcery.com>
7291
7292         * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
7293         environment-pwd for remote host.
7294         * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
7295
7296 2009-08-24  Keith Seitz  <keiths@redhat.com>
7297
7298         * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
7299         Add two new C++ completer tests which limit the output to a
7300         given class.
7301
7302 2009-08-24  Michael Snyder  <msnyder@vmware.com>
7303
7304         * gdb.base/del.exp: Fix typo in comment.
7305         * gdb.base/step-bt.exp: Fix cut and paste error in comment.
7306
7307 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7308
7309         * configure: Regenerate.
7310         * gdb.hp/configure: Likewise.
7311         * gdb.hp/gdb.aCC/configure: Likewise.
7312         * gdb.hp/gdb.base-hp/configure: Likewise.
7313         * gdb.hp/gdb.compat/configure: Likewise.
7314         * gdb.hp/gdb.defects/configure: Likewise.
7315         * gdb.hp/gdb.objdbg/configure: Likewise.
7316         * gdb.stabs/configure: Likewise.
7317
7318 2009-08-19  Doug Evans  <dje@google.com>
7319
7320         * gdb.base/gdbvars.c: New file.
7321         * gdb.base/gdbvars.exp: Test convenience vars with program variables.
7322
7323 2009-08-14  Pedro Alves  <pedro@codesourcery.com>
7324
7325         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7326         gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
7327
7328 2009-08-13  Pedro Alves  <pedro@codesourcery.com>
7329
7330         * gdb.base/default.exp: Adjust "set language test": it's now an
7331         enum command.  Larger help string moved to "help set language".
7332         * gdb.base/help.exp: Adjust "help set language" expected output,
7333         now lists all known languages.
7334
7335 2009-08-11  Nathan Froyd  <froydnj@codesourcery.com>
7336
7337         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
7338         all frame arguments.
7339         * gdb.arch/altivec-regs.exp: Likewise.
7340
7341 2009-08-07  Tom Tromey  <tromey@redhat.com>
7342
7343         * gdb.base/setshow.exp: Add tests for changes to set language, set
7344         check range, and set check type.
7345
7346 2009-08-03  Vladimir Prus  <vladimir@codesourcery.com>
7347
7348         * lib/mi-support.exp (mi_list_breakpoints): Make it work.
7349         * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
7350         Call it.
7351
7352 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7353
7354         * configure.ac: Run gdb.cell tests when appropriate.
7355         * configure: Regenerate.
7356         * lib/cell.exp: New file.
7357         * gdb.cell: New directory.
7358         * gdb.cell/configure.ac: New file.
7359         * gdb.cell/configure: New file.
7360         * gdb.cell/Makefile.in: New file.
7361         * gdb.cell/arch.exp: New file.
7362         * gdb.cell/break.c: New file.
7363         * gdb.cell/break.exp: New file.
7364         * gdb.cell/break-spu.c: New file.
7365         * gdb.cell/bt.c: New file.
7366         * gdb.cell/bt2-spu.c: New file.
7367         * gdb.cell/bt-spu.c: New file.
7368         * gdb.cell/bt.exp: New file.
7369         * gdb.cell/coremaker.c: New file.
7370         * gdb.cell/coremaker-spu.c: New file.
7371         * gdb.cell/core.exp: New file.
7372         * gdb.cell/gcore.exp: New file.
7373         * gdb.cell/data.c: New file.
7374         * gdb.cell/data.exp: New file.
7375         * gdb.cell/data-spu.c: New file.
7376         * gdb.cell/ea-cache.exp: New file.
7377         * gdb.cell/ea-cache.c: New file.
7378         * gdb.cell/ea-cache-spu.c: New file.
7379         * gdb.cell/ea-standalone.c: New file.
7380         * gdb.cell/ea-standalone.exp: New file.
7381         * gdb.cell/ea-test.c: New file.
7382         * gdb.cell/ea-test.exp: New file.
7383         * gdb.cell/f-regs.exp: New file.
7384         * gdb.cell/mem-access.c: New file.
7385         * gdb.cell/mem-access.exp: New file.
7386         * gdb.cell/mem-access-spu.c: New file.
7387         * gdb.cell/ptype.exp: New file.
7388         * gdb.cell/registers.exp: New file.
7389         * gdb.cell/size.c: New file.
7390         * gdb.cell/sizeof.exp: New file.
7391         * gdb.cell/size-spu.c: New file.
7392         * gdb.cell/solib.exp: New file.
7393         * gdb.cell/solib-symbol.exp: New file.
7394
7395 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7396
7397         * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
7398
7399 2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
7400
7401         * gdb.base/float.exp: Handle VFP registers.
7402
7403 2009-07-14  Michael Snyder  <msnyder@vmware.com>
7404
7405         * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
7406         to bring gdb to the beginning of the calling line.
7407
7408         * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
7409         confusing the i386 epilogue unwinder.
7410
7411 2009-07-14  Stan Shebs  <stan@codesourcery.com>
7412
7413         * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
7414
7415 2009-07-14  Michael Snyder  <msnyder@vmware.com>
7416
7417         * gdb.reverse/step-reverse.exp (stepi into function call):
7418         Call instruction may not be first instruction in the line.
7419         (reverse stepi from a function call): Used wrong line number.
7420
7421 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7422
7423         * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
7424
7425 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7426
7427         Fix gdb.base/macscp.exp when using custom inputrc.
7428         * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
7429         * gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
7430         env(TERM) set.
7431         * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
7432         * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
7433
7434 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7435
7436         Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
7437         * gdb.base/annota1.exp (thread_test): Import global $testfile.
7438         Change the compilation target to match the testcase name.
7439         * gdb.base/sect-cmd.exp: Change the compilation target to match the
7440         testcase name.
7441         * a2-run.exp: Use for setup prepare_for_testing.  Change the
7442         compilation target to match the testcase name.
7443         * gdb.base/commands.exp: Likewise.
7444         * gdb.base/finish.exp: Likewise.
7445         * gdb.base/float.exp: Likewise.
7446         * gdb.base/info-target.exp: Likewise.
7447         * gdb.base/relational.exp: Likewise.
7448         * gdb.base/term.exp: Likewise.
7449         * gdb.base/until.exp: Likewise.
7450         * gdb.base/volatile.exp: Likewise.
7451         * gdb.base/whatis-exp.exp: Likewise.
7452
7453 2009-07-11  Hui Zhu  <teawater@gmail.com>
7454
7455         * gdb.base/help.exp (disassemble): Update expected help text.
7456
7457 2009-07-09  Tom Tromey  <tromey@redhat.com>
7458
7459         * lib/gdb.exp: Handle TRANSCRIPT.
7460         (remote_spawn, remote_close, send_gdb): New procs.
7461
7462 2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
7463
7464         * gdb.python/python-prettyprint.c: Add counted null string
7465         structure.
7466         * gdb.python/python-prettyprint.exp: Print null string. Test for
7467         embedded nulls.
7468         * gdb.python/python-prettyprint.py (pp_ns): New Function.
7469         * gdb.python/python-value.exp (test_value_in_inferior): Add
7470         variable length string fetch tests.
7471         * gdb.python/python-value.c (main): Add strings for string fetch tests.
7472
7473 2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7474
7475         * gdb.base/dump.exp (inaccessible memory is reported): New test.
7476
7477 2009-07-07  Tom Tromey  <tromey@redhat.com>
7478
7479         * gdb.base/call-rt-st.exp: Update for change to escape output.
7480         * gdb.base/callfuncs.exp: Likewise.
7481         * gdb.base/charset.exp: Likewise.
7482         * gdb.base/constvars.exp: Likewise.
7483         * gdb.base/long_long.exp: Likewise.
7484         * gdb.base/pointers.exp: Likewise.
7485         * gdb.base/printcmds.exp: Likewise.
7486         * gdb.base/setvar.exp: Likewise.
7487         * gdb.base/store.exp: Likewise.
7488         * gdb.cp/ref-types.exp: Likewise.
7489         * gdb.mi/mi-var-child.exp: Likewise.
7490         * gdb.mi/mi-var-display.exp: Likewise.
7491         * gdb.mi/mi2-var-display.exp: Likewise.
7492         * gdb.base/charset.exp: Test octal escape sequence length.
7493         Update for change to escape output.
7494
7495 2009-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7496
7497         * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
7498
7499 2009-07-06  Daniel Jacobowitz  <dan@codesourcery.com>
7500
7501         * lib/java.exp (java_init): Ignore $GCJ if it is empty.
7502
7503 2009-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7504
7505         * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
7506         gdbserver increasing $portnum if "Can't bind address" has been seen.
7507
7508 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
7509
7510         * gdb.base/ending-run.exp: Add "step out of main" pattern for
7511         mingw32ce.
7512
7513 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
7514
7515         * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
7516         VFP format.
7517
7518 2009-07-02  Pedro Alves  <pedro@codesourcery.com>
7519
7520         * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
7521         linux.  Adjust to use "inferior", "info inferiors", "detach
7522         inferior" and "kill inferior" instead of "restart", "info fork",
7523         "detach fork" and "delete fork".
7524         * gdb.base/ending-run.exp: Spell out "info".
7525         * gdb.base/help.exp: Adjust to use test_prefix_command_help for
7526         the "kill" command.
7527
7528 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7529
7530         * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
7531         change to prefix TLS offset in hex with 0x.
7532
7533 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7534
7535         * gdb.base/default.exp: Update test case for "x" changes.
7536
7537 2009-07-01  Tristan Gingold  <gingold@adacore.com>
7538
7539         * gdb.base/bigcore.exp: Make darwin untested.
7540
7541 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7542
7543         * gdb.base/completion.exp (directory completion): Create the directory.
7544         New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
7545         escapeuniquesub.
7546         (directory completion 2): Expect now ${escapeuniquesub}.
7547         (Glob remaining of directory test): Remove one excessive newline.
7548         Expect the real output.
7549
7550 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7551
7552         Fix `make check//%' target after `make check' has been ran.
7553         * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency.  Add
7554         a mkdir call.
7555         (check-gdb.base%): Remove the gdb.base%/.dir dependency.
7556         (%/.dir): Remove.
7557
7558 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7559
7560         * lib/mi-support.exp (mi_check_thread_states): Permit any output before
7561         the expected result record.
7562
7563 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7564
7565         Remove racy FAILs relying just on the timeouts.
7566         * gdb.base/setshow.exp (set annotate 2, show annotate (2))
7567         (annotation_level 2): Remove racy FAILs.
7568
7569 2009-06-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7570
7571         gdb/10275
7572         * gdb.dwarf2/dw2-restore.{S,exp}: New test.
7573
7574 2009-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
7575
7576         * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
7577
7578 2009-06-30  Vladimir Prus  <vladimir@codesourcery.com>
7579
7580         * gdb.mi/mi-stack.exp: Testing symbolic options
7581         to -stack-list-locals and -stack-list-arguments.
7582
7583 2009-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7584
7585         * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
7586
7587 2009-06-29  Tom Tromey  <tromey@redhat.com>
7588
7589         * dg-extract-results.sh: New file.
7590         * Makefile.in (FORCE_PARALLEL): New variable.
7591         (CHECK_TARGET): New conditional variable.
7592         (check): Use CHECK_TARGET.
7593         (DO_RUNTEST): New variable.
7594         (check-single): New target.
7595         (TEST_DIRS): New variable.
7596         (TEST_TARGETS): Likewise.
7597         (check-parallel): New target.
7598         (check-gdb.%): New pattern.
7599         (BASE1_FILES): New variable.
7600         (BASE2_FILES): Likewise.
7601         (check-gdb.base%): New pattern.
7602         (%/.dir): New pattern.
7603         * configure: Rebuild.
7604         * aclocal.m4 (AM_CONDITIONAL): New defun.
7605         * configure.ac: Check whether user is using GNU make.
7606         (GMAKE): New conditional.
7607
7608 2009-06-29  Sami Wagiaalla  <swagiaal@redhat.com>
7609
7610         * gdb.cp/namespace-nested-import.cc: New test.
7611         * gdb.cp/namespace-nested-import.exp: New test.
7612
7613 2009-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
7614
7615         * gdb.base/break.exp: Add an XFAIL for gcc/36748.
7616         * gdb.cp/annota2.exp: Accept frames-invalid in more places.
7617         * gdb.opt/Makefile.in (EXECUTABLES): Update.
7618         * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
7619         * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
7620         gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
7621         gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
7622         gdb.opt/inline-markers.c: New files.
7623         * lib/gdb.exp (skip_inline_frame_tests): New function.
7624         (skip_inline_var_tests): New function.
7625
7626 2009-06-27  Andreas Schwab  <schwab@linux-m68k.org>
7627
7628         * gdb.cp/exception.exp: Don't require $hex before inner frame in
7629         backtrace.
7630
7631 2009-06-27  Michael Snyder  <msnyder@vmware.com>
7632
7633         * gdb.reverse: New directory.
7634         * gdb.reverse/break-reverse.c: New test.
7635         * gdb.reverse/break-reverse.exp: New test.
7636         * gdb.reverse/consecutive-reverse.c: New test.
7637         * gdb.reverse/consecutive-reverse.exp: New test.
7638         * gdb.reverse/finish-reverse.c: New test.
7639         * gdb.reverse/finish-reverse.exp: New test.
7640         * gdb.reverse/machinestate.c: New test.
7641         * gdb.reverse/ms1.c: New test.
7642         * gdb.reverse/machinestate.exp: New test.
7643         * gdb.reverse/Makefile.in: New file.
7644         * gdb.reverse/shr2.c: New test.
7645         * gdb.reverse/solib-reverse.c: New test.
7646         * gdb.reverse/solib-reverse.exp: New test.
7647         * gdb.reverse/step-reverse.c: New test.
7648         * gdb.reverse/step-reverse.exp: New test.
7649         * gdb.reverse/until-reverse.c: New test.
7650         * gdb.reverse/ur1.c: New test.
7651         * gdb.reverse/until-reverse.exp: New test.
7652         * gdb.reverse/watch-reverse.c: New test.
7653         * gdb.reverse/watch-reverse.exp: New test.
7654         * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
7655         * configure: Regenerate.
7656
7657 2009-06-26  Doug Evans  <dje@google.com>
7658
7659         * gdb.base/psymtab.exp: Turn off pending breakpoints.
7660
7661 2009-06-26  Pierre Muller  <muller@ics.u-strasbg.fr>
7662
7663         * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
7664         windows problem for 'file delete $binfile'.
7665
7666 2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
7667
7668         * gdb.cp/namespace-using.exp: New test.
7669         * gdb.cp/namespace-using.cc: New test.
7670
7671 2009-05-20  Joel Brobecker  <brobecker@adacore.com>
7672
7673         * gdb.ada/variant_record_packed_array: New testcase.
7674
7675 2009-06-23  Tom Tromey  <tromey@redhat.com>
7676
7677         * gdb.base/charset.exp (test_combination): Regression test.
7678         * gdb.base/charset.c (my_wchar_t): New typedef.
7679         (myvar): New global.
7680         (main): Set myvar.
7681
7682 2009-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
7683
7684         * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
7685         target.
7686
7687 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7688
7689         * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
7690
7691 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7692
7693         * gdb.mi/gdb680.exp: Update test for error message.
7694
7695 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7696
7697         * gdb.base/annota1.exp: Allow multiple occurrences of the
7698         frames-invalid annotation.
7699         * gdb.cp/annota2.exp: Likewise.
7700
7701 2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
7702
7703         * gdb.cp/gdb2495.cc: New file.
7704         * gdb.cp/gdb2495.exp: New file.
7705
7706 2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
7707
7708         Report error on GDB crash during runto.
7709         * lib/gdb.exp (runto <eof>): New.
7710
7711 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
7712
7713         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
7714         gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
7715         gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
7716         gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
7717         gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
7718         gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
7719         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
7720         gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
7721         gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
7722         gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
7723         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
7724         gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
7725         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
7726         gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
7727         gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
7728         gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
7729         gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
7730         gdb.server/server-mon.exp, gdb.server/server-run.exp,
7731         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7732         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7733         gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
7734         gdb.trace/passcount.exp, gdb.trace/report.exp,
7735         gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
7736         gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
7737         gdb.trace/while-stepping.exp: Use a unique name for the compiled
7738         executable.
7739
7740 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
7741
7742         * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
7743         defined before referencing it.
7744
7745 2009-06-03  Doug Evans  <dje@google.com>
7746
7747         * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
7748         * gdb.arch/i386-see.c: Ditto.
7749
7750 2009-05-30  Pierre Muller  <muller@ics.u-strasbg.fr>
7751
7752         * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
7753         (check_macro): Return 1 if undefined.
7754         If first test fails, check if macro debug information is available,
7755         and report unsupported test if no macro information is found.
7756
7757 2009-05-29  Doug Evans  <dje@google.com>
7758
7759         * gdb.threads/hand-call-in-threads.exp: New.
7760         * gdb.threads/hand-call-in-threads.c: New.
7761
7762 2009-05-29  Michael Snyder  <msnyder@vmware.com>
7763
7764         * gdb.base/break-always.exp: Change "1" to "on".
7765         Add confirmation check.
7766
7767 2009-05-28  Pedro Alves  <pedro@codesourcery.com>
7768
7769         * gdb.threads/threxit-hop-specific.c: New.
7770         * gdb.threads/threxit-hop-specific.exp: New.
7771         * gdb.threads/thread-execl.c: New.
7772         * gdb.threads/thread-execl.exp: New.
7773
7774 2009-05-27  Tom Tromey  <tromey@redhat.com>
7775             Thiago Jung Bauermann  <bauerman@br.ibm.com>
7776
7777         * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
7778         (mi_child_regexp): Likewise.
7779         (mi_list_varobj_children_range): Likewise.
7780         (mi_get_features): Likewise.
7781         (mi_list_varobj_children): Rewrite.
7782         * gdb.python/python-mi.exp: New file.
7783
7784 2009-05-27  Tom Tromey  <tromey@redhat.com>
7785             Thiago Jung Bauermann  <bauerman@br.ibm.com>
7786             Phil Muldoon  <pmuldoon@redhat.com>
7787             Paul Pluzhnikov  <ppluzhnikov@google.com>
7788
7789         * gdb.python/python-prettyprint.exp: New file.
7790         * gdb.python/python-prettyprint.c: New file.
7791         * gdb.python/python-prettyprint.py: New file.
7792         * gdb.base/display.exp: print/r is now valid.
7793
7794 2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7795             Tom Tromey  <tromey@redhat.com>
7796             Pedro Alves  <pedro@codesourcery.com>
7797             Paul Pluzhnikov  <ppluzhnikov@google.com>
7798
7799         * gdb.python/python-template.exp: New file.
7800         * gdb.python/python-template.cc: New file.
7801         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7802         tests.
7803         * gdb.python/python-value.exp (py_objfile_tests): New proc.
7804         Call it.
7805         (test_value_after_death): New proc.
7806         * gdb.python/python-value.c (PTR): New typedef.
7807         (main): New variable 'x'.
7808
7809 2009-05-27  Tom Tromey  <tromey@redhat.com>
7810
7811         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7812         tests.
7813         * gdb.python/python-value.exp (py_objfile_tests): New proc.
7814         Call it.
7815
7816 2009-05-27  Pedro Alves  <pedro@codesourcery.com>
7817
7818         * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
7819
7820 2009-05-24  Pedro Alves  <pedro@codesourcery.com>
7821
7822         * gdb.threads/fork-thread-pending.c: New.
7823         * gdb.threads/fork-thread-pending.exp: New.
7824
7825 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
7826
7827         * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
7828         * gdb.dwarf2/dw2-strp.S (a_string2): New.
7829
7830 2009-05-18  Jon Beniston  <jon@beniston.com>
7831
7832         * gdb.asm/asm-source.exp: Add lm32 target.
7833
7834 2009-05-17  Pedro Alves  <pedro@codesourcery.com>
7835
7836         * gdb.base/foll-fork.c: Include stdlib.h.  Add markers for
7837         `gdb_get_line_number'.  Call `callee' in both parent and child.
7838         * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
7839         `gdb_get_line_number' instead of hardcoding line numbers.
7840         (catch_fork_unpatch_child): New procedure to test detaching
7841         breakpoints from child fork.
7842         (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
7843         hardcoding line numbers.
7844         (do_fork_tests): Run `catch_fork_unpatch_child'.
7845
7846 2009-05-17  Vladimir Prus  <vladimir@codesourcery.com>
7847
7848         * gdb.mi/mi-cmd-var.exp: Check that when varobj
7849         of structure type enters or leaves the scope, it
7850         is reported by -var-update.
7851
7852 2009-05-11  Doug Evans  <dje@sebabeach.org>
7853
7854         * gdb.mi/nsintrall.c (main): Fix off-by-one error.
7855         * gdb.threads/pending-step.c (main): Fix off-by-one error.
7856         * gdb.threads/schedlock.c (main): Fix off-by-one error.
7857
7858 2009-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7859
7860         * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
7861
7862 2009-04-30  Doug Evans  <dje@google.com>
7863
7864         * gdb.threads/watchthreads2.exp: New testcase.
7865         * gdb.threads/watchthreads2.c: New testcase.
7866
7867 2009-04-29  Doug Evans  <dje@google.com>
7868
7869         * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
7870         * gdb.cp/mb-ctor.cc: Ditto.
7871         * gdb.cp/mb-inline.exp: Add multi-line source statement test.
7872         * gdb.cp/mb-inline.h (multi_line_foo): New function.
7873         * gdb.cp/mb-inline1.cc: Call it.
7874         * gdb.cp/mb-inline2.cc: Ditto.
7875         * gdb.cp/mb-templates.exp: Add multi-line source statement test.
7876         * gdb.cp/mb-templates.cc (multi_line_foo): New template.
7877
7878 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7879
7880         * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
7881         (info_macro): Remova `decimal' declaration.  New variable `nonzero'.
7882         Replace all uses of `decimal' by `nonzero'.
7883         (info macro FROM_COMMANDLINE): New test.
7884
7885 2009-04-27  Tom Tromey  <tromey@redhat.com>
7886
7887         * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
7888
7889 2009-04-27  Doug Evans  <dje@google.com>
7890
7891         * gdb.threads/watchthreads.c (main): Initialize args before starting
7892         the threads.  Plus formatting cleanup.
7893         * gdb.threads/watchthreads.exp: Avoid errant failures due to
7894         biased scheduling of one thread.
7895
7896 2009-04-27  Jerome Guitton  <guitton@adacore.com>
7897
7898         * gdb.cp/templates.cc (GetMax): New template.
7899         (main): Declare two instances of GetMax.
7900         * gdb.cp/templates.exp: Add new test.
7901
7902 2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7903
7904         * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
7905
7906 2009-04-22  Joseph Myers  <joseph@codesourcery.com>
7907
7908         * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
7909
7910 2009-04-15  Tom Tromey  <tromey@redhat.com>
7911
7912         * gdb.base/charset.exp: Add regression test.
7913
7914 2009-04-14  Joel Brobecker  <brobecker@adacore.com>
7915
7916         * gdb.base/exe-lock.exp: New testcase.
7917
7918 2009-04-13  Tom Tromey  <tromey@redhat.com>
7919
7920         * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
7921         operator on Frame.
7922
7923 2009-04-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7924
7925         * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
7926         * gdb.server/ext-attach.exp: Likewise.
7927
7928 2009-04-03  Vladimir Prus  <vladimir@codesourcery.com>
7929
7930         Eliminate some sleep usage.
7931
7932         * gdb.mi/basics.c (do_nothing): New.
7933         (main): Use do_nothing instead of printf, so that
7934         not to introduce race condition between output of
7935         inferiour and output of gdb. Do not use sleep as it
7936         is not generally available on embedded targets.
7937
7938 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
7939
7940         * gdb.server/ext-attach.exp: Expect an optional process id after
7941         "Detached from remote process".
7942
7943 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7944
7945         * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
7946         gdb.dwarf2/dw2-unresolved.exp: New.
7947
7948 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
7949
7950         * gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
7951         mi_run_to_main.
7952
7953 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
7954
7955         * gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
7956         mi_run_to_main.  Skip thread exit test on remote targets.
7957         * gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
7958         mi_run_to_main.
7959         * gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
7960         mi_run_to_main.
7961         * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
7962         when expecting ^connected.  Detect when the target doesn't support
7963         non-stop mode.
7964         (mi_run_cmd): Detect if non-stop mode was requested by isn't
7965         supported.  Return -1 on error, 0 on success.
7966         (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
7967         (mi_runto): Return mi_runto_helper's result explicitly.
7968
7969 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
7970
7971         * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
7972
7973 2009-04-01  Tom Tromey  <tromey@redhat.com>
7974
7975         * gdb.base/funcargs.exp: Set print frame-arguments to "all".
7976         * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
7977         * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
7978         * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
7979
7980 2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
7981             Jan Kratochvil  <jan.kratochvil@redhat.com>
7982
7983         PR gdb/931
7984         * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
7985         output.
7986         * gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
7987         for gdb/931.
7988         * dw2-strp.S (DW_AT_language): Change to C++.
7989         (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
7990
7991 2009-03-31  Joel Brobecker  <brobecker@adacore.com>
7992
7993         * gdb.ada/tasks: New testcase.
7994
7995 2009-03-30  Stan Shebs  <stan@codesourcery.com>
7996
7997         * gdb.trace/actions.exp: Update to match new info trace format.
7998         * gdb.trace/deltrace.exp: Ditto.
7999         * gdb.trace/infotrace.exp: Ditto.
8000         * gdb.trace/passcount.exp: Ditto.
8001         * gdb.trace/save-trace.exp: Ditto.
8002         * gdb.trace/while-stepping.exp: Ditto.
8003         * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8004
8005 2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8006
8007         * gdb.python/python-frame.c: New file.
8008         * gdb.python/python-frame.exp: New file.
8009
8010 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8011
8012         * gdb.python/python-value.exp: Add tests for the address
8013         attribute.
8014
8015 2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>
8016
8017         * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8018
8019 2009-03-26  Doug Evans  <dje@google.com>
8020
8021         * gdb.mi/mi-nonstop-exit.exp: New file.
8022         * gdb.mi/non-stop-exit.c: New file.
8023
8024 2009-03-26  Tom Tromey  <tromey@redhat.com>
8025
8026         Update for change to prologue skipping:
8027         * gdb.mi/mi2-simplerun.exp: Update.
8028         * gdb.mi/mi2-break.exp: Update.
8029         * gdb.mi/mi-simplerun.exp: Update.
8030         * gdb.mi/mi-break.exp: Update.
8031         * gdb.base/ending-run.exp: Update.
8032
8033 2009-03-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8034
8035         * gdb.python/python-value.exp (test_value_in_inferior): Test
8036         gdb.Value.is_optimized_out attribute.
8037
8038 2009-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
8039
8040         * gdb.dwarf2/dw2-noloc-main.c: New file.
8041         * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8042         (.text): Remove.
8043         (.data): New.
8044         (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8045         (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8046         (DW_TAG_subprogram func_cu1, noloc): Remove.
8047         (main): New.
8048         * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8049         `dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
8050         (file_symbols): New procedure.
8051
8052 2009-03-25  Tom Tromey  <tromey@redhat.com>
8053
8054         * gdb.base/charset.exp (valid_target_charset): New proc.
8055         Use it to skip tests on invalid charsets.
8056
8057 2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
8058
8059         * gdb.base/completion.exp: Add a test for directory completion.
8060
8061 2009-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8062
8063         Fix a racy FAIL.
8064         * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8065         * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8066
8067 2009-03-21  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8068
8069         * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8070         * gdb.python/python-function.exp: Add test for function returning
8071         a GDB value.
8072
8073 2009-03-20  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8074
8075         * gdb.python/python-function.exp: New file.
8076
8077 2009-03-20  Tom Tromey  <tromey@redhat.com>
8078
8079         * gdb.base/store.exp: Update for change to escape output.
8080         * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8081         to escape output.
8082         * gdb.base/pointers.exp: Update for change to escape output.
8083         * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8084         to escape output.
8085         * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8086         escape output.
8087         * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8088         to escape output.
8089         * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8090         escape output.
8091         * gdb.base/setvar.exp: Update for change to escape output.
8092         * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8093         * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8094         to escape output.
8095         (test_print_string_constants): Likewise.
8096         * gdb.base/charset.exp (valid_host_charset): Check size of
8097         wchar_t.  Handle UCS-2 and UCS-4.  Add tests for wide and unicode
8098         cases.  Handle "auto"-related output.
8099         * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8100         (uvar, Uvar): New globals.
8101
8102 2009-03-19  Jerome Guitton  <guitton@adacore.com>
8103
8104         * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8105         deltas.
8106         * gdb.ada/fixed_points.exp: Ditto.
8107
8108 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
8109
8110         * return-nodebug.c: Don't include stdio.h.
8111         (init): Delete.
8112         (func): Delete definition and provide extern declaration.
8113         (t): New.
8114         (main): Don't call printf.  Call func and store its result in t.
8115         * return-nodebug1.c: New.
8116         * return-nodebug.exp: Don't expect stdio output.  Instead, print
8117         the global variable t.  Drop printf formatters and cast types from
8118         foreach loop.  Don't use prepare_for_testing.  Compile
8119         return-nodebug.c and return-nodebug1.c in separate steps.  Don't
8120         define FORMAT or CAST.
8121
8122 2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
8123
8124         * gdb.base/solib-display.exp: Disable test for remote targers.
8125
8126 2009-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8127
8128         * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8129
8130 2009-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
8131
8132         Fix a racy FAIL.
8133         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8134         code from `follow parent, print pids'.
8135         (`follow child, print pids', `follow parent, print pids'): Call it.
8136         Replace `gdb_test "break..."' by gdb_breakpoint.
8137
8138 2009-03-13  Vladimir Prus  <vladimir@codesourcery.com>
8139
8140         * gdb.mi/mi-cli.exp: Adjust for output difference in
8141         sync and async modes.
8142
8143 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8144
8145         * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8146         that was checked in by mistake. Remove loading of ada.exp, since
8147         this is not necessary in this case.
8148
8149 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8150
8151         * gdb.ada/ptype_arith_binop.exp: New testcase.
8152
8153 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8154
8155         * gdb.ada/mod_from_name: New testcase.
8156
8157 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8158
8159         * gdb.ada/tick_last_segv: New testcase.
8160
8161 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
8162
8163         * gdb.mi/mi-cli.exp: Remove debug print.
8164
8165 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
8166
8167         * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8168         include the token in ^running and frame info in *stopped.
8169
8170 2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8171
8172         * solib-display.exp: New file.
8173         * solib-display-main.c: New file.
8174         * solib-display-lib.c: New file.
8175
8176 2009-03-05  Pedro Alves  <pedro@codesourcery.com>
8177
8178         * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8179
8180 2009-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
8181
8182         * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8183         (list_and_check_macro): Use more specific test name.
8184         (next to definition): Make the test names unique.
8185
8186 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
8187
8188         * gdb.pascal/floats.exp: Accept approximate results everywhere.
8189
8190 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
8191
8192         * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8193         notifications.
8194         * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8195         * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8196         * lib/mi-support.exp (library_loaded_re): New.
8197         (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
8198
8199 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
8200
8201         * gdb.gdb/observer.exp: Use test_notification observer, not
8202         normal_stop, everywhere.
8203         (test_normal_stop_notifications): Rename to...
8204         (test_notifications): ...this.
8205         (test_observer_normal_stop): Rename to...
8206         (test_observer): ...this.
8207
8208 2009-02-16  Doug Evans  <dje@google.com>
8209
8210         * gdb.arch/amd64-disp-step.S (test_int3): New test.
8211         * gdb.arch/amd64-disp-step.exp (test_int3): New test.
8212         * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
8213         (test_prefixed_syscall,test_int3): New tests.
8214         * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
8215         (test_prefixed_syscall,test_int3): New tests.
8216
8217 2009-02-14  Vladimir Prus  <vladimir@codesourcery.com>
8218
8219         * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
8220         (mi_expect_interrupt): Likewise.
8221         * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
8222         response.
8223
8224 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
8225
8226         * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
8227         * gdb.base/pc-fp.exp (get_valueofx): Remove.
8228         Replace calls to get_valueofx by get_hexadecimal_valueof.
8229
8230 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
8231
8232         * lib/gdb.exp (get_valueof): Accept anything as a return value.
8233         (get_integer_valueof): New procedure.
8234         (get_sizeof): Use new get_integer_value_of.
8235         * gdb.base/sizeof.exp: Replace all uses of get_valueof
8236         by get_integer_valueof.
8237
8238 2009-02-13  Tom Tromey  <tromey@redhat.com>
8239
8240         * gdb.base/remote.exp (get_sizeof): Remove.
8241         * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
8242         * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
8243         * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
8244         * lib/gdb.exp (get_valueof): Move from long_long.exp.
8245         (get_sizeof): Likewise.
8246
8247 2009-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
8248
8249         PR fortran/9806
8250         * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
8251
8252 2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8253
8254         * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
8255
8256 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
8257
8258         * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
8259
8260 2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8261
8262         * gdb.python/python-cmd.exp: New file.
8263
8264 2009-02-06  Tristan Gingold  <gingold@adacore.com>
8265
8266         * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
8267
8268 2009-02-05  Tristan Gingold  <gingold@adacore.com>
8269
8270         * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
8271         pointer is dereferenced and use this signal name in regexp.
8272         * gdb.base/signull.exp: Ditto.
8273         * gdb.base/sigbpt.c (main): Catch SIGBUS too.
8274         * gdb.base/signull.c (main): Ditto.
8275
8276 2009-02-04  Tom Tromey  <tromey@redhat.com>
8277             Thiago Jung Bauermann  <bauerman@br.ibm.com>
8278
8279         * gdb.python/python-value.exp: Use `gdb.history' instead of
8280         `gdb.value_from_history'.
8281         (test_value_numeric_ops): Add test for conversion of enum constant.
8282         * gdb.python/python-value.c (enum e): New type.
8283         (evalue): New global.
8284         (main): Use argv.
8285
8286 2009-02-04  Jerome Guitton  <guitton@adacore.com>
8287
8288         * gdb.ada/uninitialized_vars: New test program.
8289         * gdb.ada/uninitialized_vars.exp: New testcase.
8290
8291 2009-02-02  Tom Tromey  <tromey@redhat.com>
8292
8293         * gdb.cp/cpcompletion.exp: Name the test "pr9594".
8294         * gdb.cp/pr2489.cc: Rename...
8295         * gdb.cp/pr9594.cc: ... to this.
8296
8297 2009-02-02  Tom Tromey  <tromey@redhat.com>
8298
8299         * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
8300         * gdb.cp/pr2489.cc: New file.
8301         * gdb.cp/cpcompletion.exp: New file.
8302
8303 2009-02-02  Tom Tromey  <tromey@redhat.com>
8304
8305         PR exp/9059:
8306         * gdb.cp/call-c.exp: Add regression test.
8307         * gdb.cp/call-c.cc (FooHandle): New typedef.
8308         (main): New variable 'handle'.
8309
8310 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
8311
8312         * lib/mi-support.exp (et_mi_thread_list)
8313         (check_mi_and_console_threads): Adjust for current thread in
8314         -thread-list-ids output.
8315
8316 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
8317
8318         * gdb.mi/mi-break.exp (test_disabled_creation): New.
8319         Call it.
8320
8321 2009-01-28  Doug Evans  <dje@google.com>
8322
8323         * gdb.arch/amd64-disp-step.S: New file.
8324         * gdb.arch/amd64-disp-step.exp: New file.
8325         * gdb.arch/i386-disp-step.S: New file.
8326         * gdb.arch/i386-disp-step.exp: New file.
8327
8328 2009-01-27  Pierre Muller  <muller@ics.u-strasbg.fr>
8329
8330         * gdb.base/find.exp: Set newline variable
8331         using quotes instead of braces to fix cygwin failures.
8332
8333 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8334
8335         * gdb.base/radix.exp: Add tests to ensure that that set
8336         input-radix 0 and set output-radix 0 are really rejected.
8337
8338 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8339
8340         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
8341         copyright years.
8342
8343 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8344
8345         PR gdb/9664:
8346         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
8347
8348 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
8349
8350         PR c++/9631:
8351         * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
8352
8353 2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>
8354
8355         * gdb.server/file-transfer.exp: Use EXEEXT variable for
8356         binfile definition to fix Windows OS failure.
8357
8358 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
8359
8360         PR gdb/9346
8361         * gdb.base/interrupt.c (sigint_handler): New.
8362         (main): Install a SIGINT handler if SIGNALS is defined.  Exit
8363         on error.
8364         * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
8365         Test "signal SIGINT".
8366
8367 2009-01-19  Doug Evans  <dje@google.com>
8368
8369         * gdb.base/break.exp: Update expected gdb output.
8370         * gdb.base/sepdebug.exp: Ditto.
8371         * gdb.mi/mi-syn-frame.exp: Ditto.
8372         * gdb.mi/mi2-syn-frame.exp: Ditto.
8373         * gdb.base/call-signal-resume.exp: New file.
8374         * gdb.base/call-signals.c: New file.
8375         * gdb.base/unwindonsignal.exp: New file.
8376         * gdb.base/unwindonsignal.c: New file.
8377         * gdb.threads/interrupted-hand-call.exp: New file.
8378         * gdb.threads/interrupted-hand-call.c: New file.
8379         * gdb.threads/thread-unwindonsignal.exp: New file.
8380
8381 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
8382
8383         * gdb.base/define.exp: Test defining and hooking prefix commands.
8384         * gdb.python/python.exp: Update test for "show user" output.
8385
8386 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8387
8388         * gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
8389         now the output exactly, using less wildcards.  Expect also the output
8390         of gfortran-4.3.  Update for the f-valprint.c modification from
8391         2008-04-22.
8392         * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
8393         Remove gdb_test test names where matching the command.
8394
8395 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
8396
8397         PR breakpoints/9681:
8398         * gdb.base/watchpoint.exp: Add regression test.
8399
8400 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
8401
8402         * gdb.threads/attach-into-signal.exp: Don't use
8403         gdb_suppress_entire_file.
8404         * gdb.threads/attach-stopped.exp: Ditto.
8405         * gdb.threads/attachstop-mt.exp: Ditto.
8406
8407 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
8408
8409         PR gdb/8812:
8410         * gdb.base/signal.exp: Change kfail to fail, and update PR number.
8411
8412 2008-12-29  Pedro Alves  <pedro@codesourcery.com>
8413
8414         PR gdb/7536:
8415         * gdb.base/radix.exp: Add tests to ensure invalid input radices
8416         and unsupported output radices are really rejected.
8417
8418 2008-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
8419
8420         * gdb.cp/punctuator.exp: Backslash the '$' signs.
8421
8422 2008-12-22  Tom Tromey  <tromey@redhat.com>
8423
8424         * gdb.cp/punctuator.exp: New file.
8425
8426 2008-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8427
8428         * gdb.base/completion.exp (Completing non-existing component): New test.
8429
8430 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8431
8432         Fix for PR gdb/8648.
8433         * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
8434         gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
8435         gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
8436         gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
8437
8438 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8439
8440         * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
8441
8442 2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
8443
8444         * gdb.base/expand-psymtabs.c: Insert code in foo so that the
8445         compiler actually generate code at the expected line number.
8446
8447 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
8448
8449         * gdb.base/consecutive.exp: Don't use global in gdb_expect.
8450
8451 2008-12-12  Tom Tromey  <tromey@redhat.com>
8452
8453         * gdb.base/commands.exp (redefine_hook_test): New proc.
8454         Call it.
8455
8456 2008-12-11  Tom Tromey  <tromey@redhat.com>
8457
8458         * gdb.base/macscp.exp: New regression test.
8459
8460 2008-12-11  Tom Tromey  <tromey@redhat.com>
8461
8462         * gdb.base/macscp.exp: Print "address.addr".
8463         * gdb.base/macscp1.c (struct outer): New struct.
8464         (address): New global.
8465
8466 2008-12-09  Tom Tromey  <tromey@redhat.com>
8467
8468         * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8469         Call it.
8470
8471 2008-12-04  Doug Evans  <dje@google.com>
8472
8473         * gdb.server/ext-run.exp: Relax regexp for init program.
8474
8475 2008-12-03  Tristan Gingold  <gingold@adacore.com>
8476
8477         * gdb.base/macscp.exp: Generate an object file during compilation
8478         to work around Darwin dsymutil limitations.
8479
8480 2008-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8481
8482         Test resolving external references to TLS variables.
8483         * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8484         FILE2_THREAD_LOCAL.
8485         (testfile2, srcfile2): New variables.
8486         * gdb.threads/tls.c (file2_thread_local)
8487         (function_referencing_file2_thread_local): New.
8488         * gdb.threads/tls2.c: New file.
8489
8490 2008-11-28  Joel Brobecker  <brobecker@adacore.com>
8491
8492         * gdb.ada/int_deref.exp: Convert the addresses into long_integer
8493         rather than integer, as integer might not be big enough when
8494         on 64bit targets.
8495
8496 2008-11-27  Jerome Guitton  <guitton@adacore.com>
8497
8498         * gdb.cp/formatted-ref.exp: Add equality test.
8499         * gdb.ada/formatted_ref.exp: Ditto.
8500
8501 2008-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8502
8503         * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
8504         * gdb.base/start.exp: New comment about an alternative - `runto_main'.
8505
8506 2008-11-20  Andreas Schwab  <schwab@suse.de>
8507
8508         * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
8509         matching syscall entry point.
8510         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8511         (tcatch_vfork_then_child_follow): Likewise.  Finish through
8512         vfork even if we stopped at the syscall trampoline.
8513
8514 2008-11-20  Doug Evans  <dje@google.com>
8515
8516         * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
8517
8518 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8519
8520         * gdb.arch/ppc-dfp.exp: New file.
8521         * gdb.arch/ppc-dfp.c: New file.
8522
8523 2008-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8524
8525         * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
8526
8527 2008-11-17  Doug Evans  <dje@google.com>
8528
8529         * gdb.mi/mi-syn-frame.exp: Update expected output.
8530         * gdb.mi/mi2-syn-frame.exp: Update expected output.
8531
8532 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
8533
8534         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
8535         "thread N" results in =thread-selected.
8536         * lib/mi-support (mi_run_cmd, mi_expect_stop)
8537         (mi_send_resuming_command_raw): Be prepared for
8538         =thread-selected.
8539
8540 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
8541
8542         * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
8543         * lib/mi-support.exp: Likewise.
8544
8545 2008-11-16  Joel Brobecker  <brobecker@adacore.com>
8546
8547         * gdb.base/help.exp: Remove the "catch load" and "catch unload"
8548         commands from the expected output for "help catch".
8549
8550 2008-11-15  Joel Brobecker  <brobecker@adacore.com>
8551
8552         * gdb.ada/int_deref.exp: New testcase.
8553
8554 2008-11-14  Nick Roberts  <nickrob@snap.net.nz>
8555
8556         * gdb.mi/gdb2549.exp: New file.
8557
8558 2008-11-11  Doug Evans  <dje@google.com>
8559
8560         * gdb.base/callexit.exp: New file.
8561         * gdb.base/callexit.c: New file.
8562
8563 2008-11-10  Doug Evans  <dje@google.com>
8564
8565         * lib/gdb.exp (GDBFLAGS): Move -nx ...
8566         (INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
8567         (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
8568         (default_gdb_start,default_gdb_exit): Ditto.
8569         * lib/mi-support.exp (default_mi_gdb_start): Ditto.
8570         (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
8571         * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
8572         * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
8573         * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
8574         * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
8575
8576 2008-11-03  Andreas Schwab  <schwab@suse.de>
8577
8578         * gdb.base/hashline2.exp: Fix typo.
8579         * gdb.base/hashline3.exp: Likewise.
8580
8581 2008-10-30  Tom Tromey  <tromey@redhat.com>
8582
8583         * gdb.base/pointers.exp: Add test.
8584         * gdb.base/pointers.c (k, S): New typedefs.
8585         (instance): New global.
8586
8587 2008-10-30  Andreas Schwab  <schwab@suse.de>
8588
8589         * gdb.base/args.exp: Add tests for newlines.
8590
8591 2008-10-30  Joel Brobecker  <brobecker@adacore.com>
8592
8593         gdb.base/foll-exec.exp: Update the expected output of a couple
8594         of "info breakpoints" tests.
8595
8596 2008-10-28  Tom Tromey  <tromey@redhat.com>
8597
8598         * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
8599
8600 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
8601
8602         * gdb.python/python-value.exp (test_value_in_inferior): Don't use
8603         gdb_start_cmd.
8604         Use runto_main before any test that requires execution.
8605
8606 2008-10-23  Pedro Alves  <pedro@codesourcery.com>
8607
8608         * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
8609         instead of SIGINT.
8610
8611 2008-10-22  Joel Brobecker  <brobecker@adacore.com>
8612
8613         * gdb.base/completion.exp: Update expected output following
8614         the addition of the "info tasks" command.
8615
8616 2008-10-22  Tom Tromey  <tromey@redhat.com>
8617
8618         * gdb.base/exprs.exp (test_expr): Add test for string
8619         concatenation.
8620
8621 2008-10-19  Pedro Alves  <pedro@codesourcery.com>
8622
8623         * configure.ac: Output gdb.python/Makefile.
8624         * configure: Regenerate.
8625         * gdb.python/Makefile.in: New.
8626
8627 2008-10-16  Joel Brobecker  <brobecker@adacore.com>
8628
8629         * gdb.base/foll-fork.exp: Adjust the expected output to match
8630         the new description for fork/vfork catchpoints in the "info
8631         breakpoints" output.
8632
8633 2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8634
8635         * Makefile.in: Add gdb.python to ALL_SUBDIRS.
8636
8637 2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8638
8639         * gdb.python/python-value.c: New file.
8640         * gdb.python/python-value.exp: New file.
8641
8642 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
8643
8644         * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
8645
8646 2008-10-15  Denis Pilat  <denis.pilat@st.com>
8647
8648         * gdb.cp/mb-ctor.exp: Fix a typo.
8649
8650 2008-10-09  Tom Tromey  <tromey@redhat.com>
8651
8652         * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
8653         'fprintf' and 'stderr'.
8654
8655 2008-10-07  Joel Brobecker  <brobecker@adacore.com>
8656
8657         * gdb.ada/ref_tick_size.exp: New testcase.
8658
8659 2008-10-06  Doug Evans  <dje@google.com>
8660
8661         * gdb.dwarf2/dw2-cu-size.exp: New file.
8662         * gdb.dwarf2/dw2-cu-size.S: New file.
8663
8664         * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
8665         .Ltype_int for clarity.
8666
8667 2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8668
8669         PR gdb/2384:
8670         * gdb.cp/gdb2384.exp: Extended to test more cases.
8671         * gdb.cp/gdb2384.cc: Likewise.
8672         * gdb.cp/gdb2384-base.h: Likewise.
8673         * gdb.cp/gdb2384-base.cc: Likewise.
8674
8675 2008-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8676
8677         * gdb.base/maint.exp (maint print type): Remove printing
8678         UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
8679
8680 2008-09-30  Tom Tromey  <tromey@redhat.com>
8681
8682         * gdb.base/macscp.exp: Add completion tests.
8683         * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
8684         (TWENTY_THREE): Likewise.
8685         (FORTY_EIGHT): Likewise.
8686
8687 2008-09-30  Tom Tromey  <tromey@redhat.com>
8688
8689         * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
8690         everywhere.
8691         * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
8692
8693 2008-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8694
8695         * gdb.threads/attachstop-mt.exp: Note a real testcase name this
8696         testcase is derived from.  Fix racy dependency on an expected PID
8697         number.  No longer support the testcase on Linux kernel 2.4.x.
8698
8699 2008-09-27  Tom Tromey  <tromey@redhat.com>
8700
8701         * gdb.base/macscp.exp: Add tests for stringification, splicing,
8702         and varargs.
8703
8704 2008-09-22  Pedro Alves  <pedro@codesourcery.com>
8705
8706         * lib/mi-support.exp (mi_expect_interrupt): New.
8707         (mi_reverse_list, mi_check_thread_states): New, moved and renamed
8708         from gdb.mi/mi-nonstop.exp.
8709         * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
8710         * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
8711         lib/mi-support.exp.
8712         Use mi_check_thread_states throughout.  Avoid ".*" and do not
8713         require an anchor after -exec-run.
8714
8715 2008-09-13  Daniel Jacobowitz  <dan@codesourcery.com>
8716
8717         * gdb.mi/mi-nonstop.exp: Do not check thread state while a
8718         stop is pending.  Avoid ".*" when two stops are pending.
8719         * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
8720         (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
8721         newlines in fullnames.
8722         * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
8723         (mi_expect_stop): Update comments.  Only anchor in sync mode.
8724         Do not match newlines.
8725         (mi_send_resuming_command_raw): Always return status.
8726         (mi_get_stop_line): Do not match more than one line by accident.
8727         Only anchor in sync mode.
8728         (mi_run_inline_test): If -exec-next fails, give up.
8729
8730 2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8731
8732         * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
8733         on SPU.
8734
8735 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
8736
8737         * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
8738
8739 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
8740
8741         * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
8742         gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8743         gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
8744         gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8745         gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
8746         gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
8747         gdb.ada/interface.exp, gdb.ada/null_array.exp,
8748         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8749         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8750         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8751         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
8752         Include the "= " sequence in the expected output of print tests.
8753
8754 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
8755
8756         * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
8757         description for boolean types.
8758
8759 2008-09-09  Pedro Alves  <pedro@codesourcery.com>
8760
8761         * gdb.base/hook-stop-continue.c: New.
8762         * gdb.base/hook-stop-continue.exp: New.
8763
8764 2008-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
8765
8766         * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
8767
8768 2008-09-08  Jerome Guitton  <guitton@adacore.com>
8769
8770         * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
8771         (stack_check_probe_2, stack_check_probe_loop_1)
8772         (stack_check_probe_loop_2): New functions.
8773         (main): Add call to these new functions.
8774         * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
8775         functions, check that the breakpoint is inserted at the appropriate
8776         location.
8777         (insert_breakpoint): Slightly refine this procedure so that it can
8778         be called several times in the test.
8779
8780 2008-09-08  Jerome Guitton  <guitton@adacore.com>
8781
8782         * gdb.base/stack-checking.c: New file.
8783         * gdb.base/stack-checking.exp: New file.
8784
8785 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8786
8787         * gdb.arch/altivec-abi.exp: Remove extra verbose call.
8788         * gdb.arch/altivec-regs.exp: Likewise.
8789         * gdb.arch/vsx-regs.exp: Likewise.
8790
8791 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8792
8793         * gdb.arch/ppc-fp.exp: New file.
8794         * gdb.arch/ppc-fp.c: New file.
8795
8796 2008-09-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8797
8798         *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
8799         lest gcc-4.3.1 optimizes the whole thing away.
8800
8801 2008-09-04  Michael Snyder  <msnyder@vmware.com>
8802
8803         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
8804         as "at" (for non-debug functions such as _start).
8805
8806 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8807
8808         * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
8809         * gdb.base/watchpoint-solib.exp: Likewise.  Update tests to handle
8810         software watchpoints.
8811         * gdb.base/watch_thread_num.exp: Likewise.
8812
8813 2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
8814
8815         * gdb.arch/i386-bp_permanent.exp: New test.
8816
8817 2008-08-24  Tom Tromey  <tromey@redhat.com>
8818
8819         * gdb.base/maint.exp: Update "maint print type".
8820
8821 2008-08-21  Vladimir Prus  <vladimir@codesourcery.com>
8822
8823         * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
8824         support.  Adjust the order of "*running" notifications.
8825         * gdb.mi/non-stop.c: Don't cast from int to void* and
8826         back.
8827
8828 2008-08-20  Mark Kettenis  <kettenis@gnu.org>
8829
8830         * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
8831         expect to find it in the "info frame" output.
8832
8833 2008-08-20  Daniel Jacobowitz  <dan@codesourcery.com>
8834
8835         * gdb.base/interp.exp: Always consume both prompts.
8836
8837 2008-08-20  Pedro Alves  <pedro@codesourcery.com>
8838
8839         * gdb.base/pending.exp: Test pending breakpoints without symbols
8840         loaded.
8841
8842 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
8843
8844         * lib/mi-support.exp (mi_expect_stop): Produce
8845         more details on failures.
8846         * gdb.mi/mi-nonstop.exp: New.
8847         * gdb.mi/non-stop.c: New.
8848
8849 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
8850
8851         * gdb.mi/mi-async.exp: Use 'set target-async'.
8852         * lib/mi-support.exp: Use 'set/show target-async'.
8853
8854 2008-08-18  Daniel Jacobowitz  <dan@codesourcery.com>
8855
8856         * gdb.arch/powerpc-prologue.exp: Correct saved registers.
8857
8858 2008-08-17  Tom Tromey  <tromey@redhat.com>
8859
8860         * gdb.base/help.exp (help catch): Rewrite.
8861
8862 2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8863
8864         * gdb.base/define.exp: Test indented command documentation.
8865         * gdb.python/python.exp: Test indented multi-line command.
8866
8867 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
8868
8869         * testsuite/gdb.arch/vsx-regs.c: New source file.
8870         * testsuite/gdb.arch/vsx-regs.exp: New testcase.
8871         * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
8872
8873 2008-08-14  Tom Tromey  <tromey@redhat.com>
8874
8875         * gdb.base/macscp.exp: Add regression test for "macro define" or
8876         "macro undef" with no arguments.
8877
8878 2008-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8879
8880         * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
8881
8882 2008-08-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8883
8884         * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
8885
8886 2008-08-06  Tom Tromey  <tromey@redhat.com>
8887
8888         * gdb.python/python.exp: New file.
8889
8890 2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8891
8892         Fix for PR gdb/1543.
8893         * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
8894         $LOCATION.
8895         (location): New variable.
8896         * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
8897         config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
8898         config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
8899         config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
8900         gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
8901         gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
8902         gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
8903         gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
8904         gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
8905         gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
8906         gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
8907         gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
8908         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
8909         gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
8910         gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
8911         gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
8912         gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
8913         gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
8914         gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
8915         gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
8916         gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
8917         gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
8918         gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
8919         gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
8920         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
8921         gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
8922         gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
8923         gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
8924         gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
8925         gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
8926         gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
8927         gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
8928         gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
8929         gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
8930         gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
8931         gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
8932         gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
8933         gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
8934         gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
8935         gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
8936         gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
8937         gdb.base/type-opaque.exp, gdb.base/until.exp,
8938         gdb.base/value-double-free.c, gdb.base/varargs.exp,
8939         gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
8940         gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
8941         gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
8942         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
8943         gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
8944         gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
8945         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
8946         gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8947         gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
8948         gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
8949         gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
8950         gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
8951         gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
8952         gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
8953         gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
8954         gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
8955         gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
8956         gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
8957         gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
8958         gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
8959         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
8960         gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
8961         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
8962         gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
8963         gdb.pascal/types.exp, gdb.stabs/weird.exp,
8964         gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
8965         gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
8966         gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
8967         gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
8968         gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
8969         gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
8970         gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8971         gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8972         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8973         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8974         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8975         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
8976         lib/mi-support.exp, lib/trace-support.exp: Remove reference
8977         to bug-gdb@prep.ai.mit.edu .
8978
8979 2008-07-31  Vladimir Prus  <vladimir@codesourcery.com>
8980
8981         * lib/mi-support.exp (mi_load_shlibs): New.
8982         * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
8983
8984 2008-07-30  Vladimir Prus  <vladimir@codesourcery.com>
8985
8986         * lib/mi-support.exp (get_mi_thread_list)
8987         (check_mi_and_console_threads): New, moved from ...
8988         * gdb.mi/mi-pthread.exp: ...here.
8989         * gdb.mi/gdb669.exp (get_mi_thread_list)
8990         (check_mi_and_console_threads): Delete.
8991         * gdb.mi/mi2-pthread.exp: Likewise.
8992
8993 2008-07-28  Tom Tromey  <tromey@redhat.com>
8994
8995         * Makefile.in (just-check): Remove.  Move body to...
8996         (check): ... here.
8997
8998 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
8999
9000         * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9001         Add a test for duplicated SIGINTs.
9002
9003 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9004
9005         * gdb.threads/schedlock.exp (get_args): Update to work for any
9006         value of NUM.
9007         (Top level): Report the number of threads that did not resume.
9008
9009 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9010
9011         * gdb.dwarf2/dw2-compressed.S: Also define __start.
9012
9013 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9014
9015         * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9016         non-MI prompt.
9017
9018 2008-07-26  Tom Tromey  <tromey@redhat.com>
9019
9020         * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9021         (function_struct, function_struct_ptr): New globals.
9022         * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9023         function pointer in a struct.
9024
9025 2008-07-26  Tom Tromey  <tromey@redhat.com>
9026
9027         * gdb.base/macscp.exp: Add test for macro lexing bug.
9028
9029 2008-07-18  Tom Tromey  <tromey@redhat.com>
9030
9031         * gdb.base/macscp.exp: Add macro tests.
9032
9033 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9034
9035         * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9036
9037 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9038
9039         * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9040
9041 2008-07-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9042
9043         * gdb.cp/class2.exp: fix for failure on spu-elf
9044
9045 2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9046
9047         * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
9048
9049 2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9050
9051         * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9052
9053 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
9054
9055         * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9056
9057 2008-07-11  Kevin Buettner  <kevinb@redhat.com>
9058
9059         * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9060         of regexp to account for changes made to GDB in the printing of
9061         byte vectors.
9062
9063 2008-07-11  Tom Tromey  <tromey@redhat.com>
9064
9065         * gdb.base/completion.exp: Add 'help' completion test.
9066
9067 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9068
9069         * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9070
9071 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9072
9073         * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9074
9075 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
9076
9077         * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9078
9079 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
9080
9081         * gdb.base/fullname.exp: Restore pwd if compiling failed.
9082
9083 2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
9084
9085         * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9086
9087 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
9088
9089         * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9090         previous commit.  Add a comment.
9091
9092 2008-06-28  Pedro Alves  <pedro@codesourcery.com>
9093
9094         * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9095
9096 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
9097
9098         * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9099
9100 2008-06-27  Pedro Alves  <pedro@codesourcery.com>
9101
9102         * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9103         (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9104         compiling an executable, link in an object that forces unbuffered
9105         output.
9106         * lib/set_unbuffered_mode.c: New file.
9107
9108 2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9109
9110         * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9111
9112 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
9113
9114         * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9115         mi_expect_stop.
9116         * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9117         Demand that *running is output.
9118         (detect_async): Perform checking every time.
9119         (mi_send_resuming_command): Extract everything into...
9120         (mi_send_resuming_command_raw): ...this.
9121         (mi_expect_stop): Don't accept any output before *stopped.
9122
9123 2008-06-13  Vladimir Prus  <vladimir@codesourcery.com>
9124
9125         Robustify mi-simplerun.
9126         * gdb.mi/basics.c (main): Add a call to sleep.
9127         * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9128         * gdb.mi/mi2-cli.exp: Likewise.
9129         * gdb.mi/mi-break.exp: Likewise.
9130
9131 2008-06-11  Vladimir Prus  <vladimir@codesourcery.com>
9132
9133         * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9134
9135 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
9136
9137         * gdb.mi/mi-console.exp: Adjust.
9138         * gdb.mi/mi-syn-frame.exp: Adjust.
9139         * gdb.mi/mi2-console.exp: Adjust.
9140         * gdb.mi/mi2-syn-frame.exp: Adjust.
9141         * lib/mi-support.exp (mi_run_cmd): Adjust.
9142         (mi_send_resuming_command): Adjust.
9143
9144 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
9145
9146         * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
9147         * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9148         testing of stopped.
9149         * gdb.mi/mi2-syn-frame.exp: Likewise.
9150         * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9151         (async, detect_async): New.
9152         (mi_expect_stop, mi_continue_to_line): Adjust expectation
9153         depending on if we're running in sync or async mode.
9154
9155 2008-06-09  Tom Tromey  <tromey@redhat.com>
9156
9157         * gdb.base/completion.exp: New tests for field name completion
9158         with spaces, and field name completion with '->'.
9159
9160 2008-06-06  Tom Tromey  <tromey@redhat.com>
9161
9162         * gdb.base/break1.c (struct some_struct): New struct.
9163         (values): New global.
9164         * gdb.base/completion.exp: Add field name completion test.
9165
9166 2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9167
9168         * gdb.cp/call-c.exp: Test for incorrect handling of reference
9169         to pointer.
9170         * gdb.cp/call-c.cc: Likewise.
9171
9172 2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
9173
9174         * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9175         annotation.
9176
9177 2008-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9178             Pedro Alves  <pedro@codesourcery.com>
9179
9180         * gdb.threads/execl.c, gdb.threads/execl1.c,
9181         gdb.threads/execl.exp: New tests.
9182
9183 2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
9184             Daniel Jacobowitz  <dan@codesourcery.com>
9185
9186         * gdb.cp/exception.exp: Activate test, make it work with pending
9187         catchpoints.
9188
9189 2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
9190
9191         * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9192
9193 2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
9194
9195         * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9196         now printed.
9197         * gdb.mi/mi2-var-cmd.exp: Likewise.
9198
9199 2008-05-27  Andreas Schwab  <schwab@suse.de>
9200
9201         * gdb.base/frame-args.exp: Handle arguments that are optimized
9202         out.
9203
9204 2008-05-26  Luis Machado  <luisgpm@br.ibm.com>
9205
9206         * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
9207         quiet for ppc32 and group options into a single variable.
9208
9209 2008-05-23  Joel Brobecker  <brobecker@adacore.com>
9210
9211         * gdb.ada/null_array/foo.adb: Add multi-dimensional array
9212         of zero-size elements.
9213         * gdb.ada/null_array.exp: Test printing this new array.
9214
9215 2008-05-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9216
9217         * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
9218
9219 2008-05-21  Joel Brobecker  <brobecker@adacore.com>
9220
9221         * gdb.base/finish.exp: Test that "fin" works as an abbreviation
9222         of the "finish" command.
9223
9224 2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
9225
9226         * gdb.base/annota1.exp: Test for new annotation.
9227
9228 2008-05-16  Pedro Alves  <pedro@codesourcery.com>
9229
9230         * gdb.base/fixsection.exp: New file.
9231         * gdb.base/fixsection0.c: New file.
9232         * gdb.base/fixsection1.c: New file.
9233
9234 2008-05-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9235
9236         * gdb.base/annota1.exp: Accept printf@... in place of printf.
9237         * gdb.base/annota3.exp: Likewise.
9238
9239 2008-05-13  Nathan Froyd  <froydnj@codesourcery.com>
9240
9241         * gdb.base/watch_thread_num.exp: Don't run tests that require
9242         watchpoints if the target doesn't support them.
9243
9244 2008-05-12  Doug Evans  <dje@google.com>
9245
9246         * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
9247
9248 2008-05-09  Joel Brobecker  <brobecker@adacore.com>
9249
9250         * gdb.ada/assign_1.exp: New testcase.
9251
9252 2008-05-09  Doug Evans  <dje@google.com>
9253
9254         * gdb.base/find.exp: New file.
9255         * gdb.base/find.c: New file.
9256
9257 2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
9258
9259         * gdb.base/commands.exp (watchpoint_command_test): Handle
9260         gdb,no_hardware_watchpoints.
9261         * gdb.base/float.exp: Allow ARM targets without floating point.
9262         * gdb.base/step-test.exp: Allow callee@plt when stepping in.
9263
9264 2008-05-06  Jerome Guitton  <guitton@adacore.com>
9265             Joel Brobecker  <brobecker@adacore.com>
9266
9267         * gdb.ada/lang_switch: New test program.
9268         * gdb.ada/lang_switch.exp: New testcase.
9269
9270 2008-05-05  Doug Evans  <dje@google.com>
9271
9272         * gdb.base/help.exp (disassemble): Update expected help text.
9273
9274 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
9275
9276         * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
9277
9278 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
9279
9280         * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
9281         different times.
9282
9283 2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
9284
9285         * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
9286         * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
9287         `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
9288         * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
9289
9290 2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
9291
9292         * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
9293         notification to appear.
9294
9295 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
9296
9297         * gdb.base/fullname.c: New file.
9298         * gdb.base/fullname.exp: New file.
9299         * lib/gdb.exp (gdb_breakpoint): Support no-message option.
9300
9301 2008-05-03  Pedro Alves  <pedro@codesourcery.com>
9302
9303         * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
9304         expressions with macros.
9305
9306 2008-05-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9307
9308         * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
9309
9310 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
9311
9312         * gdb.base/completion.exp: Handle lack of other symbols beginning
9313         with "a".
9314
9315         * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
9316
9317 2008-05-02  Jim Blandy  <jimb@codesourcery.com>
9318
9319         * gdb.asm/asmsrc1.s: Add scratch space.
9320
9321 2008-05-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9322             Daniel Jacobowitz  <dan@codesourcery.com>
9323
9324         * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
9325         gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
9326         gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
9327
9328 2007-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
9329
9330         * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
9331
9332 2008-05-01  Joel Brobecker  <brobecker@adacore.com>
9333
9334         * gdb.base/info-target.exp: New testcase.
9335
9336 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
9337
9338         * gdb.cp/hang.exp: Use .cc instead of .C.
9339         * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
9340         * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
9341
9342 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
9343
9344         * gdb.base/gdb1250.exp: Remove perror.
9345         * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
9346
9347 2008-04-30  Pedro Alves  <pedro@codesourcery.com>
9348
9349         * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
9350         .2byte.
9351
9352 2008-04-25  Daniel Jacobowitz  <dan@codesourcery.com>
9353
9354         * gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
9355         (maybe_kfail): New.
9356
9357 2008-04-25  Pedro Alves  <pedro@codesourcery.com>
9358
9359         * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
9360
9361 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9362
9363         * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
9364         * gdb.mi/mi2-syn-frame.exp: Likewise.
9365         * lib/mi-support.exp: Likewise.
9366
9367 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9368
9369         * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
9370         to specify regexp for the location to stop at.
9371         * gdb.base/break-always.c: New.
9372         * gdb.base/break-always.exp: New.
9373
9374 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9375
9376         * lib/mi-support.exp (mi_runto_helper): Adjust
9377         for the original-location field.
9378         (mi_create_breakpoint, mi_list_breakpoints): New.
9379         * gdb.mi/mi-break.exp: Adjust.
9380         * gdb.mi/mi2-break.exp: Adjust.
9381         * gdb.mi/mi-pending.exp: Adjust.
9382         * gdb.mi/mi-simplerun.exp: Adjust.
9383         * gdb.mi/mi2-simplerun.exp: Adjust.
9384         * gdb.mi/mi-syn-frame.exp: Adjust.
9385         * gdb.mi/mi2-syn-frame.exp: Adjust.
9386         * gdb.mi/mi-until.exp: Adjust.
9387         * gdb.mi/mi2-until.exp: Adjust.
9388         * gdb.mi/mi-var-display.exp: Adjust.
9389         * gdb.mi/mi2-var-display.exp: Adjust.
9390         * gdb.mi/mi-watch.exp: Adjust.
9391         * gdb.mi/mi2-watch.exp: Adjust.
9392
9393 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
9394
9395         * aclocal.m4: Add override.m4.
9396         * configure: Regenerate.
9397
9398 2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
9399
9400         * gdb.mi/var-cmd.c (do_at_tests): Verify that
9401         '-var-update --all-values' reports new value even the type
9402         of a variable object has changed.
9403
9404 2008-04-18  Craig Silverstein  <csilvers@google.com>
9405
9406         * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
9407         files.
9408
9409 2008-04-18  Joel Brobecker  <brobecker@adacore.com>
9410
9411         * gdb.ada/atomic_enum: New test program.
9412         * gdb.ada/atomic_enum.exp: New testcase.
9413
9414 2008-04-17  Doug Evans  <dje@google.com>
9415
9416         * gdb.opt/Makefile.in: Fix whitespace.
9417
9418 2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
9419
9420         * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
9421
9422 2008-04-17  Doug Evans  <dje@google.com>
9423
9424         * gdb.base/hashline1.exp: New testcase.
9425         * gdb.base/hashline2.exp: New testcase.
9426         * gdb.base/hashline2.exp: New testcase.
9427
9428 2008-04-17  Pedro Alves  <pedro@codesourcery.com>
9429
9430         * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
9431
9432 2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
9433
9434         * gdb.base/attach.exp (do_attach_tests): Matching pattern for
9435         temporary breakpoint to match "Temporary breakpoint".
9436         * gdb.base/break.exp (delete_breakpoints): Likewise.
9437         * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
9438         * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
9439         * gdb.base/display.exp: Likewise.
9440         * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
9441         * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
9442         * gdb.base/restore.exp (restore_tests): Likewise.
9443         * gdb.base/sepdebug.exp: Likewise.
9444         * gdb.base/watchpoint.exp: Likewise.
9445         * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
9446         * gdb.mi/mi-pending.exp: Likewise.
9447         * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
9448         * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
9449         * gdb.mi/mi-var-cmd.exp: Likewise.
9450         * gdb.mi/mi-var-display.exp: Likewise.
9451         * gdb.mi/mi2-cli.exp: Likewise.
9452         * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
9453         * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
9454         * gdb.mi/mi2-var-display.exp: Likewise.
9455         * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
9456         * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
9457         new "disp" field.
9458         (mi_expect_stop): Move after_reason argument to be really after
9459         reason. This is to support fix for PR2424.
9460
9461 2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9462
9463         * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9464
9465 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
9466
9467         * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
9468         field.  Add more floating varobj tests.
9469         * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
9470         field.
9471         * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9472         (main): Call do_at_tests.
9473         * lib/mi-support.exp (mi_create_floating_varobj)
9474         (mi_varobj_update_with_type_change): New.
9475
9476 2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
9477
9478         * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9479         option of -var-evaluate-expression.
9480         * gdb.mi/mi2-var-display.exp: Likewise.
9481
9482 2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
9483
9484         Introduce test setup helpers.
9485         * lib/gdb.exp (build_executable, clean_restart)
9486         (prepare_for_testing): New.
9487         * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9488         * gdb.base/return.exp: Likewise.
9489         * gdb.base/ending-run.exp: Likewise.
9490
9491 2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
9492
9493         * gdb.mi/mi-async.exp: New test for asynchronous Machine
9494         Interface (MI) responses.
9495
9496 2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
9497
9498         * gdb.cp/breakpoint.cc: New code to test conditions involving
9499         member variables.
9500         * gdb.cp/breakpoint.exp: Test condition involving member
9501         variables.
9502
9503 2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
9504
9505         * lib/mi-support.exp (mi_expect_stop): New.
9506         (mi_run_cmd): Change the
9507         token.  Use mi_send_resuming_command, use
9508         mi_expect_stop.
9509         (mi_execute_to_helper): Rename to mi_execute_to.
9510         (mi_send_resuming_command): Add more error patterns.
9511         (mi_wait_for_stop): Renamed to...
9512         (mi_get_stop_line): ...this.
9513         (mi_run_inline_test): Adjust.
9514
9515         * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
9516         * gdb.mi/mi-console.exp: Likewise.
9517         * gdb.mi/mi-pending.exp: Likewise.
9518         * gdb.mi/mi-simplerun.exp: Likewise.
9519         * gdb.mi/mi-stack.exp: Likewise.
9520         * gdb.mi/mi-stepi.exp: Likewise.
9521         * gdb.mi/mi-syn-frame.exp: Add comment.
9522         * gdb.mi/mi-until.exp: Likewise.
9523         * gdb.mi/mi-var-display.exp: Likewise.
9524         * gdb.mi/mi-watch.exp: Likewise.
9525         * gdb.mi/mi2-cli.exp: Likewise.
9526         * gdb.mi/mi2-console.exp: Likewise.
9527         * gdb.mi/mi2-simplerun.exp: Likewise.
9528         * gdb.mi/mi2-stack.exp: Likewise.
9529         * gdb.mi/mi2-stepi.exp: Likewise.
9530         * gdb.mi/mi2-until.exp: Likewise.
9531         * gdb.mi/mi2-var-display.exp: Likewise.
9532         * gdb.mi/mi2-watch.exp: Likewise.
9533
9534 2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9535
9536         * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
9537
9538         * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
9539
9540 2008-04-04  Pedro Alves  <pedro@codesourcery.com>
9541
9542         * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
9543         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
9544         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9545         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
9546         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
9547         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
9548         expect an mi error duplicated in stderr.
9549
9550 2008-04-03  Joel Brobecker  <brobecker@adacore.com>
9551
9552         * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
9553         * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
9554         Add a couple of tests that verify the behavior when the new setting
9555         is set to "cancel" and "all".
9556         * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
9557         "ask" before we start the testing.
9558
9559 2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
9560
9561         * gdb.cp/casts.cc: Add class reference variables.
9562         * gdb.cp/casts.exp: New test cases for up/down casting references.
9563
9564 2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
9565
9566         * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
9567         instead of beginning to make an extra test pass.
9568         * gdb.mi/mi2-var-display.exp: Likewise.
9569
9570 2008-03-31  Maciej W. Rozycki  <macro@mips.com>
9571
9572         * gdb.base/break.exp: Mark failures as such.  Fix formatting.
9573
9574 2008-03-31  Markus Deuling  <deuling@de.ibm.com>
9575             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9576
9577         * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
9578         value.  Add xfail for older kernels.
9579
9580 2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
9581
9582         Bring mi-support in line with gdb.exp.
9583         * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
9584         (mi_gdb_start): New function.
9585
9586 2008-03-28  Maciej W. Rozycki  <macro@mips.com>
9587
9588         * gdb.mi/mi-var-cmd.exp: Fix a typo.
9589
9590 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
9591
9592         * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
9593         * gdb.mi/mi2-var-display.exp: Likewise.
9594
9595 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
9596
9597         * lib/mi-support.exp (mi_create_varobj_checked): New.
9598         (mi_list_varobj_children): Allow to check for a
9599         value.
9600         (mi_list_array_varobj_children): New.
9601
9602         * gdb.mi/mi-var-child.exp: Use mi_create_varobj
9603         and mi_list_varobj_children, as opposed to hardcoding
9604         expected strings.
9605         * gdb.mi/gdb701.exp: Likewise.
9606         * gdb.mi/gdb792.exp: Likewise.
9607         * gdb.mi/mi-var-block.exp: Likewise.
9608         * gdb.mi/mi-var-cmd.exp: Likewise.
9609         * gdb.mi/mi-var-invalidate.exp: Likewise.
9610         * gdb.mi/mi2-var-block.exp: Likewise.
9611         * gdb.mi/mi2-var-child.exp: Likewise.
9612         * gdb.mi/mi2-var-cmd.exp: Likewise.
9613         * gdb.mi/mi2-var-display.exp: Likewise.
9614
9615 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
9616
9617         Fix random false FAILs on i386.
9618         * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
9619
9620 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
9621
9622         PR gdb/544
9623         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
9624
9625 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
9626
9627         PR gdb/544
9628         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
9629
9630 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
9631
9632         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
9633         fixed PR gdb/544.
9634
9635 2008-03-21  Pedro Alves  <pedro@codesourcery.com>
9636
9637         * gdb.threads/fork-child-threads.exp: Test next over fork.
9638
9639 2008-03-21  Chris Demetriou  <cgd@google.com>
9640
9641         * gdb.base/break.exp (rbreak junk): New test for rbreak
9642         "Junk at end of arguments" issue.
9643
9644 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
9645
9646         * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
9647         *& to work on created array elements.
9648         (Top level): Test print $pc with a file.  Test string operations
9649         without a target.
9650         * gdb.base/ptype.exp: Do not expect *& to work on created array
9651         elements.
9652
9653 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
9654
9655         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
9656         gdb.threads/staticthreads.exp: Update exit query.
9657
9658 2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
9659
9660         * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
9661
9662 2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
9663
9664         * gdb.base/watchpoint.c (global_ptr, func4): New.
9665         (main): Call func4.
9666         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
9667         (test_inaccessible_watchpoint): New.
9668
9669 2008-02-29  Maciej W. Rozycki  <macro@mips.com>
9670
9671         * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
9672         select the largest.
9673
9674 2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
9675
9676         * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
9677         frames-invalid annotations.
9678
9679 2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
9680
9681         * gdb.base/assign.exp: avoid same output for different tests.
9682
9683 2008-02-27  Doug Evans  <dje@google.com>
9684
9685         * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
9686         for bug 1738.
9687         (breakpoint_to_handler_entry): Ditto.
9688
9689 2008-02-27  Joel Brobecker  <brobecker@adacore.com>
9690
9691         * gdb.base/ending-run.exp: Use the first line of code inside
9692         function body to test breakpoints.
9693         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
9694         location where the breakpoint is inserted when using the line
9695         where a function is declared. Fix typo in the description of
9696         one of the tests.
9697         * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
9698
9699 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
9700
9701         * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
9702         tests.
9703
9704 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
9705
9706         * gdb.base/args.exp: avoid same output for tests
9707         with single quotes.
9708
9709 2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
9710
9711         * gdb.base/annota1.exp: Adjust for 'info break'
9712         format changes.
9713         * gdb.base/annota3.exp: Likewise.
9714         * gdb.base/break.exp: Likewise.
9715         * gdb.base/condbreak.exp: Likewise.
9716         * gdb.base/pending.exp: Likewise.
9717         * gdb.base/sepdebug.exp: Likewise.
9718         * gdb.base/unload.exp: Likewise.
9719         * gdb.cp/ovldbreak.exp: Likewise.
9720         * gdb.mi/mi-pending.exp: Likewise.
9721
9722 2008-02-07  Doug Evans  <dje@google.com>
9723
9724         * gdb.cp/mb-inline.exp: New.
9725         * gdb.cp/mb-inline.h: New.
9726         * gdb.cp/mb-inline1.cc: New.
9727         * gdb.cp/mb-inline2.cc: New.
9728
9729 2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
9730
9731         * gdb.pascal/floats.pas: New test program.
9732         * gdb.pascal/floats.exp: New testcase.
9733
9734 2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9735
9736         * gdb.base/callfuncs.c (t_float_many_args): New function.
9737         (t_double_many_args): New function.
9738         * gdb.base/callfuncs.exp: Add tests for exceeding float
9739         and double parameters passed through the stack.
9740
9741 2008-02-05  Joel Brobecker  <brobecker@adacore.com>
9742
9743         * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
9744         gdb.ada/complete/foo.adb: New files.
9745         * gdb.ada/complete.exp: New testcase.
9746
9747 2008-02-03  Doug Evans  <dje@google.com>
9748
9749         * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
9750
9751         * gdb.cp/gdb2384.exp: New file.
9752         * gdb.cp/gdb2384.cc: New file.
9753         * gdb.cp/gdb2384-base.h: New file.
9754         * gdb.cp/gdb2384-base.cc: New file.
9755
9756 2008-02-02  Doug Evans  <dje@google.com>
9757
9758         * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
9759
9760 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
9761
9762         * gdb.ada/sym_print_name: New test program.
9763         * gdb.ada/sym_print_name.exp: New testcase.
9764
9765 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
9766
9767         * gdb.ada/nested/hello.adb: New file.
9768         * gdb.ada/nested.exp: New testcase.
9769         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9770
9771 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
9772
9773         * gdb.mi/basic.c (return_1): New function.
9774         * gdb.mi/mi-break.exp: Make sure that failed -break-insert
9775         don't cause future evaluations of function to report
9776         creation of internal breakpoints.
9777
9778 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
9779
9780         * gdb.mi/mi-break.exp (test_error): New.
9781         Call it.
9782
9783 2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
9784
9785         * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
9786         * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
9787
9788 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
9789
9790         * gdb.pascal/integers.pas: New test program.
9791         * gdb.pascal/integers.exp: New testcase.
9792
9793 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
9794
9795         * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
9796
9797 2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
9798
9799         * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
9800         * gdb.arch/powerpc-d128-regs.c: New testcase source file.
9801
9802 2008-01-30  Paul Hilfinger  <hilfinger@adacore.com>
9803
9804         * gdb.ada/formatted_ref: New test program.
9805         * gdb.ada/formatted_ref.exp: New testcase.
9806
9807         * gdb.cp/formatted-ref.cc: New file.
9808         * gdb.cp/formatted-ref.exp: New testcase.
9809
9810 2008-01-30  Joel Brobecker  <brobecker@adacore.com>
9811
9812         * gdb.base/ptype.exp: Add testing of "ptype $pc".
9813
9814 2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
9815
9816         * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
9817         (test_file_list_exec_source_file): Update to new macro-info field.
9818
9819 2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
9820
9821         * gdb.ada/exprs: New test program.
9822         * gdb.ada/exprs.exp: New testcase.
9823
9824 2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9825
9826         * dfp-test.c (DELTA, DELTA_B): New definitions.
9827         (double_val1, double_val2, double_val3, double_val4, double_val5,
9828         double_val6, double_val7, double_val8, double_val9, double_val10,
9829         double_val11, double_val12, double_val13, double_val14, dec32_val1,
9830         dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
9831         dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
9832         dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
9833         dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
9834         dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
9835         dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
9836         dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
9837         dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
9838         dec128_val12, dec128_val13, dec128_val14, dec128_val15,
9839         dec128_val16): New global variables.
9840         (decimal_dec128_align): New function.
9841         (decimal_mixed): Likewise.
9842         (decimal_many_args_dec32): Likewise.
9843         (decimal_many_args_dec64): Likewise.
9844         (decimal_many_args_dec128): Likewise.
9845         (decimal_many_args_mixed): Likewise.
9846         * dfp-test.exp: Add tests calling new inferior functions.
9847
9848 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
9849
9850         * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
9851         gdb.server/ext-run.exp: New files.
9852         * lib/gdbserver-support.exp (gdbserver_download): New.
9853         (gdbserver_start): New.  Update gdbserver expected
9854         output.
9855         (gdbserver_spawn): Use them.
9856         (gdbserver_start_extended): New.
9857
9858 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
9859
9860         * gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
9861         Run on GNU/Linux.
9862         (do_exec_tests): Check for systems which do not support catchpoints.
9863         Do not match START.
9864         * gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
9865         Run on GNU/Linux.  Enable verbose output.
9866         (check_fork_catchpoints): New.
9867         (explicit_fork_child_follow, catch_fork_child_follow)
9868         (tcatch_fork_parent_follow): Update expected messages.
9869         (do_fork_tests): Use check_fork_catchpoints.
9870         * gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
9871         Run on GNU/Linux.  Enable verbose output.
9872         (check_vfork_catchpoints): New.
9873         (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
9874         expected messages.
9875         (do_vfork_and_exec_tests): Use check_fork_catchpoints.
9876
9877 2008-01-29  Jim Blandy  <jimb@red-bean.com>
9878
9879         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
9880         host' errors.
9881         * lib/mi-support.exp (mi_gdb_target_cmd): Same.
9882
9883 2008-01-29  Jim Blandy  <jimb@red-bean.com>
9884
9885         * gdb.threads/sigthread.c: Use barriers to ensure that
9886         child_thread and child_thread_two are always initialized before we
9887         start to use them.
9888
9889 2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
9890
9891         * gdb.base/watchpoint-solib.exp: New.
9892         * gdb.base/watchpoint-solib.c: New.
9893         * gdb.base/watchpoint-solib-shr.c: New.
9894
9895 2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
9896
9897         * gdb.base/gdb1056.exp: Add unsigned integer test.
9898
9899 2008-01-28  Doug Evans  <dje@google.com>
9900
9901         * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
9902
9903 2008-01-27  Jim Blandy  <jimb@codesourcery.com>
9904
9905         * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
9906
9907         * gdb.base/expand-psymtabs.exp: Doc fix.
9908
9909 2008-01-26  Mark Kettenis  <kettenis@gnu.org>
9910
9911         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9912
9913 2008-01-24  Nick Roberts  <nickrob@snap.net.nz>
9914
9915         * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
9916         -var-set-format.
9917
9918 2008-01-23  Chris Demetriou  <cgd@google.com>
9919
9920         * gdb.threads/thread_events.c: New testcase source file.
9921         * gdb.threads/thread_events.exp: New testcase expect file.
9922
9923 2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
9924
9925         * lib/gdb.exp: Add the variable octal.
9926
9927         * gdb.mi/mi-var-display.exp: Add value field to tests for output of
9928         -var-set-format.
9929
9930 2008-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
9931             Vladimir Prus  <vladimir@codesourcery.com>
9932
9933         * gdb.base/float.exp: Allow missing floating point for m68k and
9934         PowerPC.
9935
9936 2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
9937
9938         * gdb.mi/basics.c: Setup for testing breakpoints
9939         ignore count.
9940         * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
9941         * gdb.mi/mi-cli.exp: Adjust.
9942         * gdb.mi/mi2-cli.exp: Adjust.
9943
9944 2008-01-17  Pedro Alves  <pedro@codesourcery.com>
9945
9946         * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
9947         and 'dummy_ptr' integer pointer.  Initialize struct_declarations
9948         with dummy_ptr's address.
9949         * gdb.mi/var-cmd.c (do_children_tests): Likewise.
9950         * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
9951         all targets.
9952         * gdb.mi/mi2-var-child.exp: Likewise.
9953
9954 2008-01-09  Joel Brobecker  <brobecker@adacore.com>
9955
9956         * gdb.ada/null_array: New test program.
9957         * gdb.ada/null_array.exp: New testcase.
9958
9959 2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
9960
9961         * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
9962         with required float modifiers.
9963
9964 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
9965
9966         * gdb.ada/funcall_param: New test program.
9967         * gdb.ada/funcall_param.exp: New testcase.
9968
9969 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
9970
9971         * gdb.ada/arrayparam: New test program.
9972         * gdb.ada/arrayparam.exp: New testcase.
9973
9974 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
9975
9976         * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
9977         landed.  Should also fix random failures in the test following it.
9978
9979 2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9980
9981         * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
9982         for expressions with decimal float values.
9983         (test_dfp_conversions): New function to test casts to and from
9984         decimal float types.
9985         Call test_dfp_conversions.
9986         * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
9987         elements.
9988         (main): Initialize ds.float4 and ds.double8 elements.
9989         * gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
9990         string to new error message.
9991         (d64_set_tests): Likewise.
9992         (d128_set_tests): Likewise.
9993         Add tests for expressions with decimal float variables.  Add tests for
9994         conversions to and from decimal float types.
9995
9996 2008-01-05  Joel Brobecker  <brobecker@adacore.com>
9997
9998         * gdb.ada/packed_tagged/comp_bug.adb: New file.
9999         * gdb.ada/packed_tagged.exp: New testcase.
10000
10001 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10002
10003         * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10004         gdb.ada/homonym/homonym_main.adb: New files.
10005         * gdb.ada/homonym.exp: New testcase.
10006
10007 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10008
10009         * gdb.ada/packed_array.exp: Add testing of references to
10010         a packed array.
10011
10012 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10013
10014         * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10015         New files.
10016         * gdb.ada/type_coercion.exp: New testcase.
10017
10018 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10019
10020         * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10021         gdb.ada/tagged/foo.adb: New file.
10022         * gdb.ada/tagged.exp: New testcase.
10023
10024 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10025
10026         * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10027         gdb.ada/ptype_field/foo.adb: New files.
10028         * gdb.ada/ptype_field.exp: New testcase.
10029
10030 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10031
10032         * gdb.ada/print_pc.exp: New testcase.
10033
10034 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10035
10036         * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10037         gdb.ada/taft_type/p.adb: New files.
10038         * gdb.ada/taft_type.exp: New testcase.
10039
10040 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10041
10042         * gdb.ada/array_bounds/bar.adb: New file.
10043         * gdb.ada/array_bounds.exp: New testcase.
10044
10045 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10046
10047         * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10048         gdb.ada/arrayptr/foo.adb: New files.
10049         * gdb.ada/arrayptr.exp: New testcase.
10050
10051 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10052
10053         * gdb.base/set-lang-auto.exp: New testcase.
10054
10055 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10056
10057         * gdb.ada/fun_addr/foo.adb: New file.
10058         * gdb.ada/fun_addr.exp: New testcase.
10059
10060 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10061
10062         * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10063         New files
10064
10065 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
10066
10067         * array_subscript_addr/p.adb: New file.
10068         * array_subscript_addr.exp: New testcase.
10069
10070 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
10071
10072         * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
10073         New files.
10074         * gdb.ada/str_cmp_ref.exp: New testcase.
10075
10076 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
10077
10078         * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10079         gdb.ada/fun_in_declare/foo.adb: New files.
10080         * gdb.ada/fun_in_declare.exp: New testcase.
10081
10082 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
10083
10084         * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10085         gdb.ada/ref_param/pck.ads: New files.
10086         * gdb.ada/ref_param.exp: New testcase.
10087
10088 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
10089
10090         * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10091         gdb.ada/interface/foo.adb: New files.
10092         * gdb.ada/interface.exp: New testcase.
10093
10094 2007-12-31  Jim Blandy  <jimb@codesourcery.com>
10095
10096         * gdb.base/multi-forks.exp: Consume all output from child
10097         processes before proceeding to next test.
10098
10099 2007-12-29  Jim Blandy  <jimb@codesourcery.com>
10100
10101         * configure: Regenerated.
10102
10103 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
10104
10105         * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10106         gdb.ada/fixed_cmp/fixed.adb: New files.
10107         * gdb.ada/fixed_cmp.exp: New testcase.
10108
10109 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
10110
10111         * gdb.ada/boolean_expr.exp: New testcase.
10112
10113 2007-12-26  Jim Blandy  <jimb@codesourcery.com>
10114
10115         * gdb.base/multi-forks.exp: Doc fix.
10116
10117 2007-12-26  Joel Brobecker  <brobecker@adacore.com>
10118
10119         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10120         * gdb.ada/char_param.exp: Do not compile our test program with
10121         -gnata, this is unnecessary.
10122         * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10123
10124 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
10125
10126         * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10127         gdb.ada/print_chars/foo.adb: New files.
10128         * gdb.ada/print_chars.exp: New testcase.
10129
10130 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
10131
10132         * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10133         gdb.ada/char_param/foo.adb: New files.
10134         * gdb.ada/char_param.exp: New testcase.
10135
10136 2007-12-22  Jim Blandy  <jimb@codesourcery.com>
10137
10138         * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10139         hard-coding source line numbers into the test.
10140         * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10141         gdb_get_line_number to find.
10142
10143 2007-12-22  Joel Brobecker  <brobecker@adacore.com>
10144
10145         * gdb.base/ptype.c (highest): New struct type.
10146         (the_highest): New variable of that type.
10147         (main): Add dummy assignment to a field of variable the_highest.
10148         * gdb.base/ptype.exp: Test type printing of our new variable.
10149
10150 2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>
10151
10152         * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
10153         and record first explicitly generated thread number.
10154         Use that thread number for thread specific watchpoint test.
10155         Add iteration number to repetitive tests.
10156
10157 2007-12-16  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10158             Jim Blandy  <jimb@codesourcery.com>
10159
10160         * gdb.base/expand-psymtabs.c: New testcase
10161         source file.
10162         * gdb.base/expand-psymtabs.exp: New testcase
10163         expect file.
10164
10165 2007-12-17  Luis Machado  <luisgpm@br.ibm.com>
10166
10167         * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10168         * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10169
10170 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
10171
10172         * gdb.ada/frame_args/foo.adb: New file.
10173         * gdb.ada/frame_args/pck.ads: New file.
10174         * gdb.ada/frame_args/pck.adb: New file.
10175         * gdb.ada/frame_args.exp: New testcase.
10176
10177 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
10178
10179         * gdb.base/frame-args.c: New file.
10180         * gdb.base/frame-args.exp: New testcase.
10181
10182 2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
10183             Joseph Myers  <joseph@codesourcery.com>
10184
10185         * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10186
10187 2007-12-14  Vladimir Prus  <vladimir@codesourcery.com>
10188
10189         * gdb.mi/mi-pending.exp: New.
10190         * gdb.mi/mi-pending.c: New.
10191         * gdb.mi/mi-pendshr.c: New.
10192
10193 2007-12-06  Jim Blandy  <jimb@codesourcery.com>
10194
10195         * gdb.base/default.exp: Update expected output for 'info catch'.
10196
10197 2007-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10198
10199         * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
10200         must be set to binary.
10201
10202 2007-12-09  Pedro Alves  <pedro_alves@portugalmail.pt>
10203
10204         * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
10205
10206 2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
10207
10208         * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
10209         gdb.mi/mi-file-transfer.exp: New.
10210
10211 2007-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
10212
10213         * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
10214
10215 2007-11-22  Maciej W. Rozycki  <macro@mips.com>
10216
10217         * gdb.trace/backtrace.exp: Fix a typo.
10218         * gdb.trace/circ.exp: Likewise.
10219         * gdb.trace/collection.exp: Likewise.
10220         * gdb.trace/limits.exp: Likewise.
10221         * gdb.trace/report.exp: Likewise.
10222         * gdb.trace/tfind.exp: Likewise.
10223         * gdb.trace/while-dyn.exp: Likewise.
10224
10225 2007-11-21  Nick Roberts  <nickrob@snap.net.nz>
10226
10227         * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
10228         objects of pointers that can't be dereferenced are now
10229         "noneditable".
10230
10231 2007-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10232
10233         * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10234         (target_cpu): Remove.
10235
10236 2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
10237
10238         * gdb.base/ending-run.exp: Expect the list of cleared
10239         breakpoint to come in natural order, not the reversed one.
10240
10241 2007-11-07  Vladimir Prus  <vladimir@codesourcery.com>
10242
10243         * gdb.mi/mi-var-child.c (do_child_deletion): New.
10244         * gdb.mi/mi-var-child.exp: Run child_deletion tests.
10245
10246 2007-11-05  Luis Machado  <luisgpm@br.ibm.com>
10247
10248         * gdb.base/printcmds.exp: New function
10249         test_printf_with_dfp.
10250
10251 2007-11-02  Doug Evans  <dje@google.com>
10252
10253         * gdb.disasm/t01_mov.s: Remove carriage returns.
10254         * gdb.disasm/t02_mova.s: Ditto.
10255         * gdb.disasm/t03_add.s: Ditto.
10256         * gdb.disasm/t04_sub.s: Ditto.
10257         * gdb.disasm/t05_cmp.s: Ditto.
10258         * gdb.disasm/t06_ari2.s: Ditto.
10259         * gdb.disasm/t07_ari3.s: Ditto.
10260         * gdb.disasm/t08_or.s: Ditto.
10261         * gdb.disasm/t09_xor.s: Ditto.
10262         * gdb.disasm/t10_and.s: Ditto.
10263         * gdb.disasm/t11_logs.s: Ditto.
10264         * gdb.disasm/t12_bit.s: Ditto.
10265         * gdb.disasm/t13_otr.s: Ditto.
10266
10267 2007-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10268
10269         * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
10270
10271 2007-10-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10272
10273         * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
10274         provide DFP support.
10275
10276 2007-10-30  Daniel Jacobowitz  <dan@codesourcery.com>
10277
10278         * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
10279         Test "set powerpc vector-abi".  Skip auto-detection tests for old
10280         toolchains.
10281
10282 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
10283
10284         * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
10285         with [string compare].
10286
10287 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
10288
10289         * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
10290         * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
10291
10292 2007-10-25  Luis Machado  <luisgpm@br.ibm.com>
10293
10294         * gdb.opt/clobbered-registers-O2.c: New testcase source file.
10295         * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
10296         * gdb.opt/Makefile.in: New makefile.
10297         * Makefile.in: Create new directory "gdb.opt".
10298         * configure.ac: Add "gdb.opt" directory.
10299         * configure: Regenerated.
10300
10301 2007-10-25  Doug Evans  <dje@google.com>
10302
10303         * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
10304         * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
10305
10306 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
10307             Thiago Jung Bauermann  <bauerman@br.ibm.com>
10308
10309         * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
10310         Floating Point expressions.
10311         * gdb.base/dfp-test.exp: new file adding tests for Decimal
10312         Floating Point variables.
10313         * gdb.base/dfp-test.c: new file containing program with Decimal
10314         Floating variables, used by gdb.base/dfp-test.exp.
10315
10316 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
10317
10318         * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
10319
10320 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10321
10322         * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
10323         compiling test case with GCC.
10324         * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
10325
10326 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10327
10328         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10329         format changes.
10330
10331 2007-10-18  Michael Snyder  <msnyder@specifix.com>
10332
10333         * gdb.base/dbx.exp: Add missing "-re " operator.
10334
10335 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
10336
10337         * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
10338         * configure.ac: Removed trailing spaces after backslash.
10339         * gdb.modula2: New directory.
10340         * gdb.modula2/Makefile.in: New file.
10341         * gdb.modula2/unbounded-array.exp: New file.
10342         * gdb.modula2/unbounded1.c: New file.
10343
10344 2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
10345
10346         * gdb.xml/tdesc-regs.exp: Add PowerPC support.
10347
10348 2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
10349
10350         * gdb.base/sigstep.c (main): Add checks for
10351         return values for setitimer call.
10352         Call setitimer again with itimer = ITIMER_REAL
10353         if first call to setitimer fails.
10354
10355 2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
10356
10357         * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
10358         of $timeout.
10359
10360 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
10361
10362         * gdb.server/server-run.exp: Test for dynamic linker symbols.
10363
10364 2007-10-09  Pierre Muller  <muller@ics.u-strasbg.fr>
10365
10366         * lib/gdb.exp (gdb_run_cmd): Move comment outside
10367         of gdb_expect call, to avoid interruption.
10368
10369 2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>
10370
10371         * gdb.base/whatis.c (v_long_long, v_signed_long_long)
10372         (v_unsigned_long_long, v_long_long_array)
10373         (v_signed_long_long_array, v_unsigned_long_long_array)
10374         (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
10375         (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
10376         [!NO_LONG_LONG]: New.
10377         (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
10378         v_long_long_member.
10379
10380         (v_long_long_func, v_signed_long_long_func)
10381         (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
10382         (main) [!NO_LONG_LONG]: Initialize long long variants.
10383
10384         * gdb.base/whatis.exp: If board file requests no_long_long, build
10385         test with NO_LONG_LONG defined.  Test long long, signed long long,
10386         and unsigned long long variants but only if board file doesn't
10387         disable it.
10388
10389 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
10390             Daniel Jacobowitz  <dan@codesourcery.com>
10391
10392         * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
10393         * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
10394         * configure: Regenerated.
10395         * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
10396         gdb.pascal/types.exp, lib/pascal.exp: New files.
10397
10398 2007-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
10399
10400         * gdb.cp/classes.exp (do_tests): Always step to the line after the
10401         call.
10402         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
10403         to return to the call.
10404         * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
10405         * gdb.mi/mi-return.exp (test_return_simple): Likewise.
10406         * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
10407         * gdb.mi/mi-until.exp (test_until): Likewise.
10408         * gdb.mi/mi2-until.exp (test_until): Likewise.
10409
10410 2007-10-01  Daniel Jacobowitz  <dan@codesourcery.com>
10411
10412         * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
10413         two-char array.
10414         * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
10415
10416 2007-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
10417
10418         * gdb.threads/watchthreads.c (thread_function): Sleep between
10419         iterations.
10420         * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
10421         at once for S/390.  Generate matching fails and passes.
10422
10423 2007-09-27  Vladimir Prus  <vladimir@codesourcery.com>
10424
10425         * gdb.mi/var-cmd.c (do_children_tests): Initialize
10426         the 'struct_declarations' variable to zeros.
10427
10428 2007-09-24  Vladimir Prus  <vladimir@codesourcery.com>
10429
10430         * gdb.cp/mb-ctor.cc: New.
10431         * gdb.cp/mb-ctor.exp: New.
10432         * gdb.cp/mb-templates.cc: New.
10433         * gdb.cp/mb-templates.exp: New.
10434
10435 2007-09-23  Daniel Jacobowitz  <dan@codesourcery.com>
10436
10437         * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
10438
10439 2007-09-23  Pedro Alves  <pedro_alves@portugalmail.pt>
10440
10441         * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
10442         targets.
10443         * configure: Regenerate.
10444
10445 2007-09-23  Vladimir Prus  <vladimir@codesourcery.com>
10446
10447         * gdb.base/annota1.exp: Adjust for 'info break'
10448         format changes.
10449         * gdb.base/annota3.exp: Likewise.
10450         * gdb.base/break.exp: Likewise.
10451         * gdb.base/condbreak.exp: Likewise.
10452         * gdb.base/pending.exp: Likewise.
10453         * gdb.base/sepdebug.exp: Likewise.
10454         * gdb.base/unload.exp: Likewise.
10455         * gdb.base/ovldbreak.exp: Likewise.
10456
10457 2007-09-22  Vladimir Prus  <vladimir@codesourcery.com>
10458
10459         * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10460         messages.
10461         * gdb.base/chng-syms.exp: Likewise.
10462         * gdb.base/unload.exp: Likewise.
10463
10464 2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
10465
10466         * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10467
10468 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
10469
10470         * schedlock.c (NUM): Change to 1.
10471         (main): Use args[0] for the main thread.
10472         * schedlock.exp: Only expect two threads.  Only issue one pass or fail
10473         regardless of the number of threads.
10474
10475 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
10476
10477         * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10478         type down.
10479         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10480         test.
10481         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10482         watchpoint type down.
10483         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10484         test.
10485
10486 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
10487
10488         * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10489         Move all the tests here and run them twice, once using software
10490         watchpoints and once using hardware watchpoints.
10491         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
10492
10493 2007-09-12  Daniel Jacobowitz  <dan@codesourcery.com>
10494
10495         * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
10496         test.
10497
10498 2007-09-10  Mark Kettenis  <kettenis@gnu.org>
10499
10500         * lib/gdb.exp (build_id_debug_filename_get): Improve check for
10501         build-id.
10502
10503         * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
10504         know about $ORIGIN.  Calculate output dir from $dest instead of
10505         using ${objdir}/{$subdir}.
10506
10507 2007-09-09  Mark Kettenis  <kettenis@gnu.org>
10508
10509         * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
10510         gcore, before continuing with the test.
10511
10512 2007-09-06  Daniel Jacobowitz  <dan@codesourcery.com>
10513
10514         * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
10515         * gdb.mi/mi-watch.exp: Likewise.
10516
10517 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
10518             Jim Blandy  <jimb@codesourcery.com>
10519
10520         * gdb.arch/i386-sse.exp: Do not expect character constants.
10521         * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
10522         * gdb.base/display.exp: Allow print/s.
10523         * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
10524         and unsigned char array changes.
10525
10526 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
10527
10528         * gdb.base/display.exp: Add tests for printf %p.
10529
10530 2007-09-03  Pedro Alves  <pedro_alves@portugalmail.pt>
10531
10532         * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
10533         the dll name to unicode.
10534
10535 2007-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10536
10537         * gdb.base/default.exp (show version): Update the version text.
10538         * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
10539
10540 2007-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10541
10542         * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
10543         New files.
10544
10545 2007-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10546
10547         * lib/gdb.exp (build_id_debug_filename_get): New function.
10548         * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
10549         Remove the generate DEBUG file for the future testcase runs.
10550         New testcase for the NT_GNU_BUILD_ID retrieval.
10551         Move the final testing step to ...
10552         (test_different_dir): ... a new function.
10553         New parameter XFAIL to XFAIL all the tests performed.
10554         New parameter TEST_DIFFERENT_DIR parametrizing the directory.
10555         New parameter TYPE to PF_PREFIX all the tests performed.
10556
10557 2007-08-31  Vladimir Prus  <vladimir@codesourcery.com>
10558
10559         * gdb.mi/mi-var-cp.cc (path_expression): New
10560         function.
10561         * gdb.mi/mi-var-cp.exp: Run path exression tests.
10562
10563 2007-08-27  Markus Deuling  <deuling@de.ibm.com>
10564
10565         * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
10566         to fit into SPU Local Store memory.
10567
10568 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10569
10570         * gdb.base/default.exp: Adjust the expected output of "info
10571         warranty" after the switch to GPLv3.
10572
10573 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10574
10575         * lib/gdb.exp (default_gdb_init): Increase expect buffer size
10576         to 30000 (from 20000).
10577
10578 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10579
10580         Switch the license of all .exp files to GPLv3.
10581         Switch the license of all .f and .f90 files to GPLv3.
10582         Switch the license of all .s and .S files to GPLv3.
10583
10584 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10585
10586         * configure.ac: Switch license to GPLv3.
10587
10588 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10589
10590         Switch the licensing to GPLv3 for all .ads and .adb files.
10591
10592 2007-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
10593
10594         * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
10595         and t_int_double.
10596         * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
10597
10598 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
10599
10600         * gdb.base/step-line.c: Switch license to GPL version 3, and
10601         update copyright year.
10602         * gdb.base/step-line.inp: Likewise.
10603
10604 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
10605
10606         * gdb.base/gdb1555.exp: Make expected output immune to formatting
10607         changes inside gdb1555.c.
10608         * gdb.base/pending.exp: Likewise.
10609
10610 2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>
10611
10612         * config/default.exp: New file.
10613
10614 2007-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
10615
10616         * gdb.base/prologue.c, gdb.base/prologue.exp: New.
10617         * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
10618
10619 2007-07-30  Maciej W. Rozycki  <macro@mips.com>
10620
10621         * gdb.base/dump.exp: Force the correct endianness for binary
10622         formats not carrying this information.
10623
10624 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10625
10626         * gdb.threads/staticthreads.exp: Match .*sem_post.
10627
10628 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10629
10630         * gdb.base/readline.exp (operate_and_get_next): Match the final
10631         prompt.
10632
10633 2007-07-23  Kevin Buettner  <kevinb@redhat.com>
10634
10635         * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
10636         to restarting SID.
10637
10638 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
10639
10640         * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
10641         prior to `gdb_start'.
10642
10643 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
10644
10645         * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
10646         return value to be compatible with gdb_run_cmd in lib/gdb.exp.
10647         Remove call to gdb_unload.
10648
10649 2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
10650             Daniel Jacobowitz  <dan@codesourcery.com>
10651
10652         * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
10653         for __WIN32__.
10654         (SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
10655         * gdb.base/unload.exp: Use shared library test routines.
10656
10657 2007-07-03  Markus Deuling  <deuling@de.ibm.com>
10658
10659         * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
10660         * gdb.base/solib-symbol-lib.c: Likewise.
10661         * gdb.base/solib-symbol-main.c: Likewise.
10662
10663 2007-07-02  Daniel Jacobowitz  <dan@codesourcery.com>
10664
10665         * config/gdbserver.exp (gdb_reconnect): New.
10666         * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
10667         gdb.base/solib-disc.exp: New files.
10668         * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
10669         remote debugging".
10670         (gdb_compile): Add shlib_load flag.
10671         * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
10672         port.
10673         (gdbserver_reconnect): New.
10674
10675 2007-07-01  Nick Roberts  <nickrob@snap.net.nz>
10676             Daniel Jacobowitz  <dan@codesourcery.com>
10677
10678         * gdb.base/annota3.exp: Test for if construct.
10679
10680 2007-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
10681
10682         * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
10683
10684 2007-06-21  Chris Dearman  <chris@mips.com>
10685             Maciej W. Rozycki  <macro@mips.com>
10686
10687         * gdb.base/display.exp: Allow a newline after display/i.
10688         * gdb.base/pc-fp.exp: Likewise.
10689         * gdb.base/sigbpt.exp: Likewise.
10690
10691 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
10692
10693         * gdb.xml/tdesc-regs.exp: Add MIPS support.  Allow multiple
10694         required features to be included.
10695
10696 2007-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
10697
10698         * gdb.threads/manythreads.exp: Prevent expect buffer overflow
10699         in info threads output.
10700
10701 2007-06-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10702             Markus Deuling  <deuling@de.ibm.com>
10703
10704         * gdb.arch/spu-info.exp: New testcase.
10705         * gdb.arch/spu-info.c: New file.
10706
10707 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
10708
10709         * gdb.arch/thumb-prologue.c: Record the breakpoint address in
10710         tpcs_offset.  Restore lr after the call.
10711         * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
10712
10713 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
10714
10715         * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
10716         (gdbserver_run): Kill any running gdbserver.
10717         * lib/mi-support.exp (mi_gdb_target_load): Likewise.
10718
10719 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
10720
10721         * gdb.base/sigbpt.exp: Preset segv_addr.
10722
10723 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
10724
10725         * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
10726         (gdb_compile_shlib): Likewise.
10727         (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
10728         (default_gdb_init): Clear cleanfiles.
10729         (gdb_finish): Delete recorded cleanfiles.
10730         * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
10731
10732         * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
10733         Do not use isnative.
10734         * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
10735         gdb.base/so-impl-ld.exp: Likewise.
10736         * gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
10737         * gdb.base/unload.exp: Likewise.  Do not pass empty option to
10738         gdb_compile.
10739
10740 2007-05-15  Vladimir Prus  <vladimir@codesourcery.com>
10741
10742         * config/unknown.exp: Remove.
10743
10744 2007-05-15  Markus Deuling  <deuling@de.ibm.com>
10745
10746         * gdb.base/info-proc.exp: Check is_remote.
10747
10748 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
10749
10750         * gdb.base/gcore.exp: Initialize variable core_supported.
10751
10752 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
10753
10754         * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
10755
10756 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
10757
10758         * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
10759         * gdb.threads/print-threads.exp (test_all_threads): Allow
10760         negative and hexadecimal thread IDs.
10761
10762 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
10763
10764         * gdb.java/jprint.java (public): Avoid invalid call to static
10765         method.
10766
10767 2007-05-14  Denis Pilat  <denis.pilat@st.com>
10768
10769         * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
10770         gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
10771         gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10772         gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
10773         gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
10774
10775 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10776
10777         * gdb.base/overlays.exp: Add support for targets with only code
10778         overlay support, not data overlay.  Support spu-*-* target in
10779         this mode.
10780         * gdb.base/ovlymgr.c: Provide stubs for spu target.
10781         * gdb.base/spu.ld: New file.
10782
10783 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
10784
10785         * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
10786
10787 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
10788
10789         * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
10790
10791 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
10792
10793         * gdb.java/jmain.exp: Handle demangled names with and without method
10794         signatures.
10795
10796 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
10797
10798         * gdb.mi/mi-syn-frame.c (main, foo, bar)
10799         (have_a_very_merry_interrupt): Remove calls to puts.
10800         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
10801         inferior output.
10802         * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
10803         test names.
10804
10805 2007-04-29  Markus Deuling  <deuling@de.ibm.com>
10806             Daniel Jacobowitz  <dan@codesourcery.com>
10807
10808         * gdb.base/auxv.exp (core_works): Also check is_remote.
10809         * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
10810
10811 2007-04-25  Vladimir Prus  <vladimir@codesourcery.com>
10812
10813         * gdb.base/sigaltstack.exp: Use 'srcfile' in error
10814         message, not the undefined 'module' variable.
10815         * gdb.base/siginfo.exp: Likewise.
10816         * gdb.base/sigstep.exp: Likewise.
10817         * lib/gdbserver-support.exp (gdb_target_cmd): Quote
10818         serialport.
10819         * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
10820
10821 2007-04-25  Corinna Vinschen <vinschen@redhat.com>
10822
10823         * config/sim.exp (gdb_target_sim): Just return with -1 when setting
10824         target sim fails.  Return 0 otherwise.
10825         (gdb_load): Return prematurely if gdb_target_sim fails.
10826
10827 2007-04-16  Denis Pilat  <denis.pilat@st.com>
10828
10829         * gdb.base/setshow.exp: Reset height after having set it to 100.
10830
10831 2007-04-16  Denis Pilat  <denis.pilat@st.com>
10832
10833         * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
10834
10835 2007-04-16  Denis Pilat  <denis.pilat@st.com>
10836
10837         * gdb.mi/mi2-var-display.exp: Test for the fullname field.
10838
10839 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
10840
10841         * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
10842         tests. Run the frozen varobjs test.
10843         * gdb.mi/var-cmd.c (do_frozen_tests): New.
10844         * lib/mi-support.exp (mi_varobj_update): Fix thinko.
10845
10846 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10847
10848         * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
10849         gdb.base/type-opaque.exp: New files.
10850
10851 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
10852
10853         * gdb.mi/mi-var-child.c
10854         (do_children_tests): User char[2] instead of
10855         char so that automatic printing of pointers to char
10856         don't give unpredicable result.
10857         * gdb.mi/var-cmd.c (do_locals_test): Initialize
10858         local variables.
10859         * gdb.mi/mi-var-child.exp: Step to right line
10860         of do_children_tests.
10861         * gdb.mi/mi2-var-child.exp: Likewise.
10862         * gdb.mi/mi-var-cmd.exp: Step to right line of
10863         do_locals_tests.
10864         (do_children_tests): User char[2] instead of
10865         char so that automatic printing of pointers to char
10866         don't give unpredicable result.
10867         * gdb.mi/mi2-var-cmd.exp: Likewise.
10868         * lib/mi-support.exp (mi_continue_to_line):
10869         Pass test name to mi_wait_for_stop.
10870
10871 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
10872
10873         * gdb.asm/asm-source.exp: Remove d10v case.
10874         * lib/gdb.exp (skip_cplus_tests): Likewise.
10875         * gdb.asm/d10v.inc: Deleted.
10876
10877 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
10878
10879         * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
10880
10881 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
10882
10883         * config/netware.exp: Delete file.
10884
10885 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
10886
10887         * gdb.dwarf2/dw2-noloc.S: New file.
10888         * gdb.dwarf2/dw2-noloc.exp: New file.
10889
10890 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
10891
10892         * gdb.cp/method2.cc: New test.
10893         * gdb.cp/method2.exp: New test.
10894         * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
10895
10896 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
10897
10898         * gdb.ada/exec_changed.exp: Avoid "set confirm off".
10899
10900 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
10901
10902         * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
10903
10904 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
10905
10906         * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
10907         (gdb_load): Delete, replace with...
10908         (gdb_reload): ...this.
10909         * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
10910         * gdb.server/server-mon.exp: Likewise.
10911         * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
10912         (gdb_start_cmd): New.
10913         (gdb_file_cmd): Save the last loaded file.
10914         (gdb_reload): New.
10915         (gdb_gnu_strip_debug): Use transform.
10916         * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
10917         support here.  Use new $last_loaded_file.  Check mtime.
10918         (gdb_target_cmd): Handle ObjC failure case.
10919         (infer_host_exec): Delete.
10920         (gdbserver_load): Rename to...
10921         (gdbserver_run): ...this.  Simplify.
10922         * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
10923         (mi_gdb_load): Move most contents to a new function...
10924         (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
10925         (mi_run_cmd): Use mi_gdb_target_load.
10926         * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
10927         gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
10928         Use gdb_run_cmd.
10929         * gdb.base/charsign.exp: Remove incorrect comment.
10930         * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
10931         * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
10932         gdb.base/start.exp: Use gdb_start_cmd.
10933
10934 2007-03-23  Nigel Stephens  <nigel@mips.com>
10935             Maciej W. Rozycki  <macro@mips.com>
10936
10937         * gdb.base/sigbpt.exp: Fix the message when skipping test.
10938         * gdb.base/signull.exp: Similarly.
10939
10940 2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10941
10942         * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
10943         messages available to test cases (like chng-sym.exp).
10944
10945 2007-03-14  Andreas Schwab  <schwab@suse.de>
10946
10947         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10948         format changes.
10949
10950 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
10951
10952         * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
10953         (optimized_1): New.
10954         (main): Call optimized_1.
10955         (gdb2029): Correct typos.  Call gdb2029_marker.
10956         * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
10957         for gdb2029.
10958
10959 2007-03-12  Mark Kettenis  <kettenis@gnu.org>
10960
10961         * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
10962         as tabs.  Remove redundant test pattern.
10963
10964 2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10965
10966         * gdb.base/long_long.exp: Accept optional symbol name in <...>
10967         for /a format output.
10968
10969 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
10970
10971         * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
10972         collect output incrementally.
10973
10974 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10975
10976         * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
10977         for -var-create lpcharacter test.
10978         * gdb.mi/mi2-var-cmd.exp: Likewise.
10979
10980 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10981
10982         * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
10983         pass on targets where address zero is readable.
10984
10985 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10986
10987         * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
10988         just a single architecture.
10989
10990 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10991
10992         * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
10993         (fetch_all_registers): New function, uses gdb_test_multiple and
10994         exp_continue to fetch inferior output line-by-line.
10995         Replace all uses of do_get_all_registers by fetch_all_registers.
10996
10997 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10998
10999         * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11000         in target_info.
11001
11002 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
11003
11004         * gdb.threads/manythreads.exp: Use $message string for
11005         consistancy; add a default (timeout) case.
11006
11007 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
11008
11009         * gdb.base/watchpoint.exp: Fix truncated comment.
11010
11011 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
11012
11013         * Makefile.in: Remove spurious single-quotes from sed command.
11014
11015 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
11016
11017         * gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
11018         func.
11019         * gdb.mi/mi2-var-cmd.exp: Likewise.
11020
11021 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
11022
11023         * gdb.dwarf2/dw2-producer.S: New file.
11024         * gdb.dwarf2/dw2-producer.exp: New testcase.
11025
11026 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
11027
11028         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11029         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11030         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11031         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11032         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11033         Revert tests to use mi_gdb_test and include value field in output
11034         of -var-create.
11035
11036 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
11037
11038         * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11039
11040 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
11041
11042         * gdb.base/maint.exp: Remove full paths from test names.
11043         * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11044         gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11045
11046 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
11047
11048         * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11049
11050 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
11051
11052         * gdb.server/server-mon.exp: New test.
11053
11054 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
11055
11056         * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11057
11058 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
11059
11060         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11061         register capitalization.
11062
11063 2007-02-13  Denis Pilat  <denis.pilat@st.com>
11064
11065         * gdb.mi/mi-var-invalidate.exp: New file.
11066
11067 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
11068
11069         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11070
11071 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
11072
11073         * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11074
11075 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
11076
11077         * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11078         gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11079
11080 2007-02-08  Nick Roberts  <nickrob@snap.net.nz>
11081
11082         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11083         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11084         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11085         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11086         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11087         * gdb.mi/gdb792.exp, lib/mi-support.exp:
11088         Update tests to include value field in output of -var-create.
11089
11090 2007-02-08  Andreas Schwab  <schwab@suse.de>
11091
11092         * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11093
11094 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
11095
11096         * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11097         gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11098
11099 2007-02-02  Denis Pilat  <denis.pilat@st.com>
11100
11101         * gdb.threads/threadapply.exp: check that frame is not changed by
11102         the thread apply all command.
11103
11104 2007-01-31  Andreas Schwab  <schwab@suse.de>
11105
11106         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11107
11108         * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11109         in the dwarf sections.
11110         * gdb.dwarf2/mac-fileno.S: Likewise.
11111
11112         * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11113         bspstore register on ia64.
11114
11115 2007-01-29  Andreas Schwab  <schwab@suse.de>
11116
11117         * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11118         "frame-begin" annotation.
11119
11120         * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11121         number of "frames-invalid" annotations.
11122
11123 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
11124
11125         * gdb.base/commands.exp: Call if_commands_test.
11126         (gdb_test_no_prompt, if_commands_test): New.
11127
11128 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
11129
11130         * gdb.threads/sigthread.c (NSIGS): Make bigger.
11131
11132 2007-01-27  Andreas Schwab  <schwab@suse.de>
11133
11134         * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11135         .short/.int/.quad in the dwarf sections.
11136         * gdb.dwarf2/dw2-intercu.S: Likewise.
11137         * gdb.dwarf2/dw2-intermix.S: Likewise.
11138
11139 2007-01-25  Jan Kratochvil <jan.kratochvil@redhat.com>
11140
11141         * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
11142         * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11143         array.
11144         * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11145         * gdb.base/setvar.exp: Likewise.
11146
11147 2007-01-26  Andreas Schwab  <schwab@suse.de>
11148
11149         * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11150         test.
11151
11152         * gdb.base/multi-forks.exp ("restart $i"): Also match
11153         __kernel_syscall_via_break.
11154
11155 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
11156
11157         * lib/mi-support.exp (mi_delete_varobj): New.
11158         * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11159         testcase.
11160         * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11161         (main): Call the above.
11162         (reference_update_test, base_in_reference_test)
11163         (reference_to_pointer): Delete the created varobjs.
11164
11165 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
11166
11167         * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11168         * configure: Regenerated.
11169         * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11170         * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11171         gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11172         gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11173         * lib/gdb.exp (gdb_skip_xml_test): New function.
11174
11175 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
11176
11177         * gdb.base/sigrepeat.exp: Correct error message.
11178
11179 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11180             Daniel Jacobowitz  <dan@codesourcery.com>
11181
11182         * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11183         gdb.arch/i386-gnu-cfi-asm.S: New files.
11184
11185 2007-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
11186
11187         * lib/gdb.exp: Abort on missing `site.exp'.
11188
11189 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11190             Daniel Jacobowitz  <dan@codesourcery.com>
11191
11192         * gdb.base/included.c, gdb.base/included.exp,
11193         gdb.base/included.h: New files.
11194
11195 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
11196
11197         * gdb.base/bigcore.c (RLIMIT_CAP): Define.
11198         (maximize_rlimit): Reduce limits on 64-bit systems.
11199
11200 2007-01-19  Mark Kettenis  <kettenis@gnu.org>
11201
11202         From Marcus Deuling <deuling@de.ibm.com>:
11203         * gdb.arch/altivec-regs.exp: Initialise variable endianness in
11204         every case.
11205
11206 2007-01-13  Nick Roberts  <nickrob@snap.net.nz>
11207
11208         * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
11209         (test_path_specification): Use objdir instead of srcdir to always
11210         get an absolute filename.
11211
11212 2007-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
11213
11214         * gdb.cp/member-ptr.cc (class Padding): Make contents public.
11215
11216 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
11217
11218         * gdb.mi/mi-var-cp.cc (reference_update_tests):
11219         Make sure the variable we're using is in scope.
11220         (reference_to_pointer): Likewise.
11221
11222 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
11223
11224         * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
11225         has no debug information.
11226
11227 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
11228
11229         * gdb.base/annota1.exp: Remove extra send_gdb.
11230
11231 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11232
11233         * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11234
11235 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11236
11237         * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
11238
11239 2007-01-08  Nick Roberts  <nickrob@snap.net.nz>
11240             Daniel Jacobowitz  <dan@codesourcery.com>
11241
11242         * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
11243         lcharacter or linteger change.  Correct duplicated test name.
11244         * gdb.mi/mi2-var-cmd.exp: Likewise.
11245
11246 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
11247
11248         * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
11249
11250 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
11251
11252         * gdb.base/nofield.c: New file.
11253         * gdb.base/nofield.exp: New testcase.
11254
11255 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
11256
11257         * gdb.mi/mi-var-cp.exp: New test for references to pointers.
11258
11259         * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
11260          test.
11261
11262 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11263
11264         * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
11265
11266 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11267
11268         * lib/mi-support.exp (mi_runto_helper): Expect two prompts
11269         when continuing.
11270
11271 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11272
11273         * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
11274         Expect ".exe" extension.
11275
11276 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11277
11278         * gdb.base/charset.exp: Add explicit filename to break.
11279         * gdb.base/dbx.exp: Add explicit filename to breaks.
11280
11281 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11282
11283         * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
11284         * gdb.mi/mi2-file.exp: Likewise.
11285
11286 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
11287
11288         Implement specification of MI tests as comments
11289         in C and C++ sources.
11290         * lib/mi-support.exp (mi_autotest_data): New variable.
11291         (mi_autotest_source): New variable.
11292         (count_newlines, mi_prepare_inline_tests)
11293         (mi_get_inline_test, mi_continue_to_line)
11294         (mi_run_inline_test, mi_tbreak)
11295         (mi_send_resuming_command, mi_wait_for_stop): New functions.
11296         * gdb.mi/mi-var-cp.exp: Move most content to the C file.
11297         Run inline tests.
11298         * gdb.mi/mi-var-cp.cc: Define tests here.
11299
11300 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
11301
11302         Simplify usage of mi_continue_to.
11303         * lib/mi-support.exp (mi_runto_helper): Renamed
11304         from mi_runto, added new parameter 'run_or_continue'.
11305         (mi_runto): Use mi_runto_helper.
11306         (mi_continue_to): Accept just function name as parameter.
11307         Use mi_runto_helper.
11308         * gdb.mi/mi-var-cmd.exp: Adjust to changes.
11309         * gdb.mi/mi2-var-cmd.exp: Likewise.
11310
11311 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
11312
11313         Make this testcase a bit more realistic. The current code
11314         is too simplistic, and allows the compiler to optimize out
11315         some of the entities we need for this testcase.
11316         * gdb.ada/null_record/bar.ads (Void_Star): New type.
11317         (Do_Nothing): Add extra parameter.
11318         * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
11319         * gdb.ada/null_record/null_record.adb: Fake use of type Empty
11320         by using a variable of type Void_Star.
11321
11322 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
11323
11324         * gdb.ada/catch_ex/foo.adb: New file.
11325         * gdb.ada/catch_ex.exp: New testcase.
11326
11327 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
11328
11329         * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
11330         pass --image-base to linker.
11331
11332 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
11333             Daniel Jacobowitz  <dan@codesourcery.com>
11334
11335         * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
11336         secondary prompts.
11337
11338 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11339
11340         * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
11341         output.  Test the types of members and member pointers.
11342         * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
11343         gdb/2092.
11344         * gdb.cp/member-ptr.exp: Search for a comment instead of a
11345         statement.  Enable for GCC.  Update expected output for some tests
11346         and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
11347         layout.
11348         * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
11349         (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
11350         (Diamond::vget_base): New.
11351         (main): Add new tests.
11352         * gdb.cp/printmethod.exp: Update expected output for member functions.
11353         * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
11354         print pEe->D::vg().
11355
11356 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11357
11358         * gdb.threads/tls.exp: Allow stops in sem_post.
11359
11360 2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
11361
11362         * gdb.base/annota1.exp: Allow .*printf in backtraces.
11363         * gdb.base/annota3.exp: Likewise.
11364         * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
11365         again (instead of timing out).
11366         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
11367         GCC bug 26475.
11368         * gdb.java/jmisc.exp: Adjust to work with method signatures including
11369         return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
11370         test from jmisc1.exp.
11371         * gdb.java/jmisc1.exp: Delete.
11372         * gdb.java/jprint.exp: Adjust to work with method signatures including
11373         return types.
11374         * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
11375         * gdb.threads/linux-dp.exp: Don't be confused by program output.
11376         * lib/java.exp (compile_java_from_source): Pass the correct type
11377         to target_compile.
11378
11379 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
11380
11381         * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
11382         (stack_align_edx): New function.
11383         (stack_align_eax): New function.
11384         (main): Add calls to stack_align_edx and stack_align_eax.
11385         * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
11386         Add testing for the cases where the register used during a stack
11387         realignment is edx. Same for eax.
11388
11389 2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
11390
11391         * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
11392         and generic PE targets.
11393
11394 2006-12-29  Joel Brobecker  <brobecker@adacore.com>
11395
11396         * gdb.ada/array_return.exp: Update copyright date list.
11397
11398 2006-12-27  Joel Brobecker  <brobecker@adacore.com>
11399
11400         * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
11401         (Create_Small_Float_Vector): New function.
11402         * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
11403         function body.
11404         * gdb.ada/array_return/p.adb: Use new type and function from
11405         package Pck.
11406         * gdb.ada/array_return.exp: Add a test verifying that GDB is
11407         able to print the value returned by a function returning an
11408         array of float.
11409
11410 2006-12-20  Joel Brobecker  <brobecker@adacore.com>
11411
11412         * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
11413         The associated tests should be PASSing.
11414
11415 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
11416
11417         Test for base in references.
11418         * gdb.mi/mi-var-cp.cc: Add test code.
11419         * gdb.mi/mi-var-cp.exp: Test for bases in references.
11420         * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
11421         * gdb.mi/mi2-watch.exp: Likewise.
11422         * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
11423         (mi_list_varobj_children): New function.
11424
11425 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
11426
11427         * lib/mi-support.exp
11428         (mi_runto): Accept "()" after function name.
11429         (mi_create_varobj): New function.
11430         (mi_varobj_update): New function.
11431         (mi_Check_varobj_value): New function.
11432         * gdb.mi/mi-var-cp.exp: New file.
11433         * gdb.mi/mi-var-cp.cc: New file.
11434
11435 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
11436
11437         * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
11438         gdb.base/weaklib2.c: New files.
11439
11440 2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
11441
11442         * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
11443         info.  Adjust test names.
11444
11445         * gdb.base/break.c (main): Move position of malloc.
11446         * gdb.base/break.exp: Revert mistaken checkin.
11447
11448 2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
11449
11450         * gdb.mi/mi-var-cmd.exp: Check -var-update after
11451         assignement of arrays and function pointers.
11452         * gdb.mi/var-cmd.c: Add declaration necessary for above
11453         tests.
11454
11455 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
11456
11457         * gdb.base/break.c (main): Call malloc.
11458
11459         * gdb.threads/linux-dp.exp: Read thread table before and after
11460         creating each philosopher and verify it.
11461
11462 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
11463             Paul Brook  <paul@codesourcery.com>
11464             Daniel Jacobowitz  <dan@codesourcery.com>
11465
11466         * gdb.base/ending-run.exp: Flatten expect script stepping out of
11467         main to remove duplication.  Add start function of the form
11468         '_*start[1-9]*'. Add RVDS start function.
11469
11470 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
11471
11472         * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11473
11474 2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11475
11476         * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11477         * gdb.asm/spu.inc: New file.
11478         * gdb.base/term.exp: Disable if [target_info exists noargs].
11479         * gdb.gdb/complaints.exp: Disable if ![isnative].
11480         * gdb.gdb/selftest.exp: Likewise.
11481         * gdb.gdb/observer.exp: Likewise.
11482         * gdb.gdb/xfullpath.exp: Likewise.
11483         * gdb.base/attach.exp: Disable on SPU target.
11484         * gdb.cp/bs145503.exp: Likewise.
11485         * gdb.cp/exception.exp: Likewise.
11486         * gdb.cp/userdef.exp: Likewise.
11487
11488 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
11489
11490         * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11491
11492 2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
11493
11494         * gdb.base/completion.exp: Fix completion tests for
11495         'info' and 'info '.
11496         * gdb.base/help.exp (help_test_raw, test_class_help)
11497         (test_prefix_command_help): Move...
11498         * lib/gdb.exp: Here.
11499         * gdb.base/main.exp: Adjust.
11500         * gdb.cp/maint.exp: Adjust.
11501         * gdb.trace/tracecmd.exp: Use test_help_class.
11502
11503 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
11504
11505         * gdb.stabs/weird.exp (print_weird_var): Use
11506         gdb_test_multiple instead of gdb_expect.
11507
11508 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
11509
11510         * gdb.base/help.exp (help_test_raw): New.
11511         (test_class_help): New.
11512         (test_prefix_command_help): New.
11513         Adjust testcases.
11514
11515 2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
11516
11517         * gdb.base/constvars.c (main): Write to crass and crips, so that
11518         they are allocated by the compiler.
11519
11520 2006-10-27  Andreas Schwab  <schwab@suse.de>
11521
11522         * gdb.base/multi-forks.exp: Use "detach fork" instead of
11523         "detach-fork".
11524
11525 2006-10-18  Daniel Jacobowitz  <dan@codesoucery.com>
11526
11527         * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
11528         of patterns.
11529
11530 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
11531
11532         * gdb.base/sepdebug.exp: Remove debug format test.
11533         * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
11534         Handle no-symtab.
11535         * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
11536
11537 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
11538
11539         * gdb.threads/manythreads.c (thread_function, main): Don't cast
11540         int to pointer or pointer to int.
11541         * gdb.threads/manythreads.exp: Don't expect the string "LWP".
11542
11543 2006-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
11544
11545         * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
11546
11547 2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11548
11549         * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
11550
11551 2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
11552
11553         PR c++/2116
11554         * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
11555
11556 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11557
11558         * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
11559         the corresponding bug has been fixed in GDB (PR/2018).
11560
11561 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11562
11563         * gdb.base/subst.exp: New testcase.
11564
11565 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11566
11567         * gdb.ada/array_return/pck.ads: Add copyright notice.
11568         * gdb.ada/array_return/pck.adb: Likewise.
11569         * gdb.ada/array_return/p.adb: Likewise.
11570         * gdb.ada/exec_changed/first.adb: Likewise.
11571         * gdb.ada/exec_changed/second.adb: Likewise.
11572
11573 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11574
11575         * gdb.ada/watch_arg/watch.adb: New file.
11576         * gdb.ada/watch_arg.exp: New testcase.
11577
11578 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
11579
11580         * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
11581         via string_to_regexp.
11582         * gdb.mi/mi2-basics.exp: Likewise.
11583
11584 2006-09-20  Michael Snyder  <michael.snyder@palmsource.com>
11585
11586         * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
11587         Remove unused / obsolete files.
11588
11589 2006-09-19  Nick Roberts  <nickrob@snap.net.nz>
11590
11591         * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
11592
11593 2006-09-17  Vladimir Prus  <vladimir@codesourcery.com>
11594
11595         * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
11596         HIGH_FRAME argument to -stack-list-arguments can be larger than
11597         the number of frames.
11598
11599 2006-09-15  Daniel Jacobowitz  <dan@codesourcery.com>
11600
11601         * gdb.base/args.c (main): Add breakpoint marker.
11602         * gdb.base/args.exp: Use args_test for tests.  Add new tests which
11603         really test empty arguments.
11604         (args_load): Delete.
11605         (args_test): New.
11606
11607 2006-09-13  Nick Roberts  <nickrob@snap.net.nz>
11608
11609         * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
11610         check for one file.
11611
11612 2006-09-07  Vladimir Prus  <ghost@vladimir@codesourcery.com>
11613
11614         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
11615         HIGH_FRAME argument to -stack-list-locals can be larger than
11616         the number of frames.
11617
11618 2006-08-18  Fred Fish  <fnf@specifix.com>
11619
11620         * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
11621         '$' in front of skip_vmx_tests_saved when setting that.
11622
11623 2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
11624
11625         * gdb.base/trace-commands.exp: New file.
11626
11627 2006-08-10  Joel Brobecker  <brobecker@adacore.com>
11628             Daniel Jacobowitz  <dan@codesourcery.com>
11629
11630         * gdb.base/step-bt.exp: Make hexadecimal address optional in
11631         expected output of the backtrace commands.
11632
11633 2006-08-09  Joel Brobecker  <brobecker@adacore.com>
11634
11635         * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
11636         untested followed by return combination.
11637         * gdb.arch/altivec-regs.exp: Likewise.
11638         * gdb.arch/e500-abi.exp: Likewise.
11639         * gdb.arch/e500-regs.exp: Likewise.
11640         * gdb.arch/gdb1291.exp: Likewise.
11641         * gdb.arch/gdb1431.exp: Likewise.
11642         * gdb.arch/gdb1558.exp: Likewise.
11643         * gdb.arch/i386-prologue.exp: Likewise.
11644         * gdb.arch/i386-unwind.exp: Likewise.
11645         * gdb.asm/asm-source.exp: Likewise.
11646         * gdb.base/a2-run.exp: Likewise.
11647         * gdb.base/advance.exp: Likewise.
11648         * gdb.base/all-bin.exp: Likewise.
11649         * gdb.base/annota1.exp: Likewise.
11650         * gdb.base/annota3.exp: Likewise.
11651         * gdb.base/args.exp: Likewise.
11652         * gdb.base/arithmet.exp: Likewise.
11653         * gdb.base/assign.exp: Likewise.
11654         * gdb.base/async.exp: Likewise.
11655         * gdb.base/attach.exp: Likewise.
11656         * gdb.base/bang.exp: Likewise.
11657         * gdb.base/bigcore.exp: Likewise.
11658         * gdb.base/bitfields.exp: Likewise.
11659         * gdb.base/bitfields2.exp: Likewise.
11660         * gdb.base/break.exp: Likewise.
11661         * gdb.base/call-sc.exp: Likewise.
11662         * gdb.base/call-strs.exp: Likewise.
11663         * gdb.base/callfuncs.exp: Likewise.
11664         * gdb.base/checkpoint.exp: Likewise.
11665         * gdb.base/chng-syms.exp: Likewise.
11666         * gdb.base/code-expr.exp: Likewise.
11667         * gdb.base/commands.exp: Likewise.
11668         * gdb.base/completion.exp: Likewise.
11669         * gdb.base/cond-expr.exp: Likewise.
11670         * gdb.base/condbreak.exp: Likewise.
11671         * gdb.base/consecutive.exp: Likewise.
11672         * gdb.base/constvars.exp: Likewise.
11673         * gdb.base/corefile.exp: Likewise.
11674         * gdb.base/cvexpr.exp: Likewise.
11675         * gdb.base/dbx.exp: Likewise.
11676         * gdb.base/define.exp: Likewise.
11677         * gdb.base/detach.exp: Likewise.
11678         * gdb.base/display.exp: Likewise.
11679         * gdb.base/dump.exp: Likewise.
11680         * gdb.base/ena-dis-br.exp: Likewise.
11681         * gdb.base/ending-run.exp: Likewise.
11682         * gdb.base/environ.exp: Likewise.
11683         * gdb.base/eval-skip.exp: Likewise.
11684         * gdb.base/exprs.exp: Likewise.
11685         * gdb.base/fileio.exp: Likewise.
11686         * gdb.base/finish.exp: Likewise.
11687         * gdb.base/float.exp: Likewise.
11688         * gdb.base/foll-exec.exp: Likewise.
11689         * gdb.base/foll-fork.exp: Likewise.
11690         * gdb.base/foll-vfork.exp: Likewise.
11691         * gdb.base/freebpcmd.exp: Likewise.
11692         * gdb.base/funcargs.exp: Likewise.
11693         * gdb.base/gcore.exp: Likewise.
11694         * gdb.base/gdb1090.exp: Likewise.
11695         * gdb.base/gdb1250.exp: Likewise.
11696         * gdb.base/huge.exp: Likewise.
11697         * gdb.base/info-proc.exp: Likewise.
11698         * gdb.base/interrupt.exp: Likewise.
11699         * gdb.base/jump.exp: Likewise.
11700         * gdb.base/langs.exp: Likewise.
11701         * gdb.base/lineinc.exp: Likewise.
11702         * gdb.base/list.exp: Likewise.
11703         * gdb.base/logical.exp: Likewise.
11704         * gdb.base/long_long.exp: Likewise.
11705         * gdb.base/macscp.exp: Likewise.
11706         * gdb.base/maint.exp: Likewise.
11707         * gdb.base/mips_pro.exp: Likewise.
11708         * gdb.base/miscexprs.exp: Likewise.
11709         * gdb.base/multi-forks.exp: Likewise.
11710         * gdb.base/opaque.exp: Likewise.
11711         * gdb.base/overlays.exp: Likewise.
11712         * gdb.base/pc-fp.exp: Likewise.
11713         * gdb.base/pointers.exp: Likewise.
11714         * gdb.base/printcmds.exp: Likewise.
11715         * gdb.base/psymtab.exp: Likewise.
11716         * gdb.base/ptype.exp: Likewise.
11717         * gdb.base/recurse.exp: Likewise.
11718         * gdb.base/relational.exp: Likewise.
11719         * gdb.base/relocate.exp: Likewise.
11720         * gdb.base/remote.exp: Likewise.
11721         * gdb.base/reread.exp: Likewise.
11722         * gdb.base/restore.exp: Likewise.
11723         * gdb.base/return.exp: Likewise.
11724         * gdb.base/return2.exp: Likewise.
11725         * gdb.base/scope.exp: Likewise.
11726         * gdb.base/sect-cmd.exp: Likewise.
11727         * gdb.base/sep.exp: Likewise.
11728         * gdb.base/sepdebug.exp: Likewise.
11729         * gdb.base/setshow.exp: Likewise.
11730         * gdb.base/setvar.exp: Likewise.
11731         * gdb.base/sigall.exp: Likewise.
11732         * gdb.base/sigbpt.exp: Likewise.
11733         * gdb.base/signals.exp: Likewise.
11734         * gdb.base/signull.exp: Likewise.
11735         * gdb.base/sizeof.exp: Likewise.
11736         * gdb.base/solib.exp: Likewise.
11737         * gdb.base/step-line.exp: Likewise.
11738         * gdb.base/step-test.exp: Likewise.
11739         * gdb.base/structs.exp: Likewise.
11740         * gdb.base/structs2.exp: Likewise.
11741         * gdb.base/term.exp: Likewise.
11742         * gdb.base/twice.exp: Likewise.
11743         * gdb.base/until.exp: Likewise.
11744         * gdb.base/varargs.exp: Likewise.
11745         * gdb.base/volatile.exp: Likewise.
11746         * gdb.base/watchpoint.exp: Likewise.
11747         * gdb.base/whatis-exp.exp: Likewise.
11748         * gdb.base/whatis.exp: Likewise.
11749         * gdb.cp/ambiguous.exp: Likewise.
11750         * gdb.cp/annota2.exp: Likewise.
11751         * gdb.cp/annota3.exp: Likewise.
11752         * gdb.cp/bool.exp: Likewise.
11753         * gdb.cp/breakpoint.exp: Likewise.
11754         * gdb.cp/casts.exp: Likewise.
11755         * gdb.cp/class2.exp: Likewise.
11756         * gdb.cp/classes.exp: Likewise.
11757         * gdb.cp/cplusfuncs.exp: Likewise.
11758         * gdb.cp/ctti.exp: Likewise.
11759         * gdb.cp/derivation.exp: Likewise.
11760         * gdb.cp/exception.exp: Likewise.
11761         * gdb.cp/gdb1355.exp: Likewise.
11762         * gdb.cp/hang.exp: Likewise.
11763         * gdb.cp/inherit.exp: Likewise.
11764         * gdb.cp/local.exp: Likewise.
11765         * gdb.cp/m-data.exp: Likewise.
11766         * gdb.cp/m-static.exp: Likewise.
11767         * gdb.cp/member-ptr.exp: Likewise.
11768         * gdb.cp/method.exp: Likewise.
11769         * gdb.cp/misc.exp: Likewise.
11770         * gdb.cp/namespace.exp: Likewise.
11771         * gdb.cp/overload.exp: Likewise.
11772         * gdb.cp/ovldbreak.exp: Likewise.
11773         * gdb.cp/pr-1023.exp: Likewise.
11774         * gdb.cp/pr-1210.exp: Likewise.
11775         * gdb.cp/pr-574.exp: Likewise.
11776         * gdb.cp/printmethod.exp: Likewise.
11777         * gdb.cp/psmang.exp: Likewise.
11778         * gdb.cp/ref-params.exp: Likewise.
11779         * gdb.cp/ref-types.exp: Likewise.
11780         * gdb.cp/rtti.exp: Likewise.
11781         * gdb.cp/templates.exp: Likewise.
11782         * gdb.cp/try_catch.exp: Likewise.
11783         * gdb.cp/userdef.exp: Likewise.
11784         * gdb.cp/virtfunc.exp: Likewise.
11785         * gdb.disasm/am33.exp: Likewise.
11786         * gdb.disasm/h8300s.exp: Likewise.
11787         * gdb.disasm/mn10300.exp: Likewise.
11788         * gdb.disasm/sh3.exp: Likewise.
11789         * gdb.disasm/t01_mov.exp: Likewise.
11790         * gdb.disasm/t02_mova.exp: Likewise.
11791         * gdb.disasm/t03_add.exp: Likewise.
11792         * gdb.disasm/t04_sub.exp: Likewise.
11793         * gdb.disasm/t05_cmp.exp: Likewise.
11794         * gdb.disasm/t06_ari2.exp: Likewise.
11795         * gdb.disasm/t07_ari3.exp: Likewise.
11796         * gdb.disasm/t08_or.exp: Likewise.
11797         * gdb.disasm/t09_xor.exp: Likewise.
11798         * gdb.disasm/t10_and.exp: Likewise.
11799         * gdb.disasm/t11_logs.exp: Likewise.
11800         * gdb.disasm/t12_bit.exp: Likewise.
11801         * gdb.disasm/t13_otr.exp: Likewise.
11802         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
11803         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
11804         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11805         * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
11806         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
11807         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
11808         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
11809         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
11810         * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
11811         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
11812         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
11813         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
11814         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
11815         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
11816         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
11817         * gdb.mi/gdb701.exp: Likewise.
11818         * gdb.mi/gdb792.exp: Likewise.
11819         * gdb.mi/mi-basics.exp: Likewise.
11820         * gdb.mi/mi-break.exp: Likewise.
11821         * gdb.mi/mi-cli.exp: Likewise.
11822         * gdb.mi/mi-console.exp: Likewise.
11823         * gdb.mi/mi-disassemble.exp: Likewise.
11824         * gdb.mi/mi-eval.exp: Likewise.
11825         * gdb.mi/mi-file.exp: Likewise.
11826         * gdb.mi/mi-read-memory.exp: Likewise.
11827         * gdb.mi/mi-regs.exp: Likewise.
11828         * gdb.mi/mi-return.exp: Likewise.
11829         * gdb.mi/mi-simplerun.exp: Likewise.
11830         * gdb.mi/mi-stack.exp: Likewise.
11831         * gdb.mi/mi-stepi.exp: Likewise.
11832         * gdb.mi/mi-syn-frame.exp: Likewise.
11833         * gdb.mi/mi-until.exp: Likewise.
11834         * gdb.mi/mi-var-block.exp: Likewise.
11835         * gdb.mi/mi-var-child.exp: Likewise.
11836         * gdb.mi/mi-var-cmd.exp: Likewise.
11837         * gdb.mi/mi-var-display.exp: Likewise.
11838         * gdb.mi/mi-watch.exp: Likewise.
11839         * gdb.mi/mi2-basics.exp: Likewise.
11840         * gdb.mi/mi2-break.exp: Likewise.
11841         * gdb.mi/mi2-cli.exp: Likewise.
11842         * gdb.mi/mi2-console.exp: Likewise.
11843         * gdb.mi/mi2-disassemble.exp: Likewise.
11844         * gdb.mi/mi2-eval.exp: Likewise.
11845         * gdb.mi/mi2-file.exp: Likewise.
11846         * gdb.mi/mi2-read-memory.exp: Likewise.
11847         * gdb.mi/mi2-regs.exp: Likewise.
11848         * gdb.mi/mi2-return.exp: Likewise.
11849         * gdb.mi/mi2-simplerun.exp: Likewise.
11850         * gdb.mi/mi2-stack.exp: Likewise.
11851         * gdb.mi/mi2-stepi.exp: Likewise.
11852         * gdb.mi/mi2-syn-frame.exp: Likewise.
11853         * gdb.mi/mi2-until.exp: Likewise.
11854         * gdb.mi/mi2-var-block.exp: Likewise.
11855         * gdb.mi/mi2-var-child.exp: Likewise.
11856         * gdb.mi/mi2-var-cmd.exp: Likewise.
11857         * gdb.mi/mi2-var-display.exp: Likewise.
11858         * gdb.mi/mi2-watch.exp: Likewise.
11859         * gdb.stabs/exclfwd.exp: Likewise.
11860         * gdb.stabs/weird.exp: Likewise.
11861         * gdb.threads/gcore-thread.exp: Likewise.
11862         * gdb.trace/actions.exp: Likewise.
11863         * gdb.trace/backtrace.exp: Likewise.
11864         * gdb.trace/circ.exp: Likewise.
11865         * gdb.trace/collection.exp: Likewise.
11866         * gdb.trace/deltrace.exp: Likewise.
11867         * gdb.trace/infotrace.exp: Likewise.
11868         * gdb.trace/limits.exp: Likewise.
11869         * gdb.trace/packetlen.exp: Likewise.
11870         * gdb.trace/passc-dyn.exp: Likewise.
11871         * gdb.trace/passcount.exp: Likewise.
11872         * gdb.trace/report.exp: Likewise.
11873         * gdb.trace/save-trace.exp: Likewise.
11874         * gdb.trace/tfind.exp: Likewise.
11875         * gdb.trace/tracecmd.exp: Likewise.
11876         * gdb.trace/while-dyn.exp: Likewise.
11877         * gdb.trace/while-stepping.exp: Likewise.
11878
11879 2006-08-08  Joel Brobecker  <brobecker@adacore.com>
11880
11881         * gdb.base/step-bt.c: New file.
11882         * gdb.base/step-bt.exp: New testcase.
11883
11884 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
11885
11886         * config/monitor.exp (gdb_load): Remove support for obsolete
11887         download-write-size.
11888         * gdb.base/remote.exp: Likewise.  Update all callers of
11889         gdb_timed_load.
11890
11891 2006-08-02  Daniel Jacobowitz  <dan@codesourcery.com>
11892
11893         * cursal.exp: Pass binfile to gdb_load.
11894
11895 2006-08-01  Nathan Sidwell  <nathan@codesourcery.com>
11896
11897         * gdb.base/cursal.exp: Add "" to gdb_load call.
11898
11899 2006-07-29  Mark Kettenis  <kettenis@gnu.org>
11900
11901         * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
11902         NetBSD/ELF targets.
11903
11904 2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
11905
11906         * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
11907         operator*.
11908
11909 2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
11910
11911         * gdb.base/completion.exp: Update for change in "file" behavior.
11912         * gdb.stabs/weird.exp: Likewise.
11913         * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
11914         * lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
11915
11916 2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>
11917
11918         * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
11919         * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
11920
11921 2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
11922
11923         * gdb.base/default.exp: Update source command error message.
11924         * gdb.base/help.exp: Update 'help source' message.
11925
11926 2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
11927
11928         * gdb.cp/bs15503.exp: Update comment for no longer crashing
11929         test.
11930
11931 2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>
11932
11933         * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
11934
11935 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
11936
11937         * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
11938
11939 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
11940
11941         * gdb.threads/print-threads.exp: Use gdb_breakpoint.
11942
11943 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
11944
11945         * gdb.base/long_long.exp (gdb_test_long_long): Exclude
11946         *-*-openbsd* from targets for wich we expect ARM FPA floating
11947         point format.
11948
11949 2006-07-17  Nick Roberts  <nickrob@snap.net.nz>
11950
11951         * gdb.cp/annota3.exp: Expect frame-begin annotation.
11952
11953 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
11954
11955         * gdb.base/annota3.exp: Expect frame-begin annotation.
11956
11957 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
11958
11959         * gdb.base/help.exp: Adjust "help unset" test to accept
11960         any list of unset commands.
11961
11962 2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
11963             Daniel Jacobowitz  <dan@codesourcery.com>
11964
11965         * gdb.cp/ref-params.exp: New test.
11966         * gdb.cp/ref-params.cc: New source file.
11967         * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
11968
11969 2006-07-08  Mark Kettenis  <kettenis@gnu.org>
11970
11971         * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
11972         spaces/tabs in regular expressions since they might not be there.
11973
11974 2006-07-07  Andrew Stubbs  <andrew.stubbs@st.com>
11975
11976         * gdb.base/ifelse.exp: New file.
11977
11978 2006-07-04  Nathan Sidwell  <nathan@codesourcery.com>
11979
11980         * gdb.base/huge.c: Allow CRASH_GDB to be set from command
11981         line.
11982         * gdb.base/huge.exp: Loop over compilation to find a size that
11983         is acceptable.
11984         * gdb.base/remote.exp: Correct expected strings.
11985         * gdb.dwarf2/mac-fileno.S: Avoid # comments.
11986
11987 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
11988
11989         * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
11990
11991 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
11992
11993         * gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
11994         native.
11995
11996 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
11997
11998         * gdb.stabs/exclfwd.exp: Skip the test if configure did not
11999         enable stabs testing.
12000
12001 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12002
12003         * gdb.base/auxv.exp: Intercept undefined command messages before
12004         gdb_test_multiple does.
12005
12006 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12007
12008         * Makefile.in (host_alias): Remove.
12009         (target_alias): Use @target_noncanonical@.
12010         (site.exp): Don't set host_alias.
12011         * aclocal.m4: Remove contents.  Include acx.m4.
12012         * configure: Regenerated.
12013         * configure.ac: Use ACX_NONCANONICAL_TARGET.
12014
12015 2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
12016
12017         * lib/gdb.exp (gdb_load_cmd): New.
12018
12019         * gdb.base/fileio.c: Add system(NULL) test.
12020         * gdb.base/fileio.exp: Check it.
12021
12022         * gdb.base/break.c: Add 10a breakpoint at }
12023         * gdb.base/break.exp: Add test for breakpoint at }
12024         * gdb.cp/anon-union.cc: Add code at end of function.
12025         * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12026         * gdb.mi/var-cmd.c: Add code at end of function.
12027         * gdb.mi/mi-var-display.exp: Adjust end of next.
12028         * gdb.mi/mi2-var-display.exp: Likewise.
12029         * gdb.base/fileio.c: Add stop function and insert calls at
12030         stopping places.
12031         * gdb.base/fileio.exp: Breakpoint stop function and remove
12032         explicit line number references.
12033
12034 2006-05-19  Joel Brobecker  <brobecker@adacore.com>
12035
12036         * gdb.base/del.exp (test_delete_alias): New function.
12037         Now check that both "del" and "d" work as aliases for "delete".
12038
12039 2006-05-18  Fred Fish  <fnf@specifix.com>
12040
12041         * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12042         required.  Check for spurious output after program exits normally.
12043
12044 2006-05-17  Fred Fish  <fnf@specifix.com>
12045
12046         * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12047         gdb_load, so it works in the simulator.
12048
12049 2006-05-11  Fred Fish  <fnf@specifix.com>
12050
12051         * gdb.base/bang.exp: Ignore unexpected output between the
12052         "program exited normally" and the gdb prompt, as many other
12053         tests do.
12054
12055 2006-05-07  Mark Kettenis  <kettenis@gnu.org>
12056
12057         * gdb.base/help.exp: Make "delete checkpoint" part option for
12058         "help d" and "help delete" tests.
12059
12060 2006-05-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12061
12062         * gdb.mi/mi-basics.exp: Add missing serial number to
12063         expected output in some mi_gdb_test statements.
12064         * gdb.mi/mi2-basics.exp: Likewise.
12065
12066 2006-05-05  Joel Brobecker  <brobecker@adacore.com>
12067
12068         * gdb.base/del.c: New file.
12069         * gdb.base/del.exp: New testcase.
12070
12071 2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
12072
12073         * gdb.base/break.exp: Do not assume a breakpoint on
12074         main will actually be in $srcfile when optimizing.
12075         * gdb.base/savedregs.exp: Do not require that the dummy
12076         frame location match up to a symbol and source file location.
12077         * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12078         will get printed without a mi_cmd_data_list_register_values prefix.
12079         (*-data-list-register-*): Correct regular expressions to expect the new
12080         pseudo d? floating point registers.
12081         * gdb.mi/mi2-regs.exp: Likewise.
12082
12083 2006-05-05  Christophe Lyon  <christophe.lyon@st.com>
12084
12085         * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12086         * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12087         is allocated by the compiler.
12088         * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12089         anons, e, anone to force their allocation by the compiler.
12090
12091 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
12092
12093         * gdb.base/help.exp: Update expected text for help d and
12094         help delete.
12095
12096 2006-05-02  Mark Kettenis  <kettenis@gnu.org>
12097
12098         * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12099         NetBSD/ELF targets.
12100
12101 2006-04-30  Mark Kettenis  <kettenis@gnu.org>
12102
12103         * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12104         single-step breakpoint fails; make this a KFAIL on
12105         sparc*-*-openbsd*.
12106         * gdb.base/siginfo.exp: Likewise.
12107         * gdb.base/sigstep.exp (advance, advancei): Likewise.
12108
12109 2006-04-26  Michael Snyder  <msnyder@redhat.com>
12110
12111         * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12112         which may have to consume output from other forks.
12113         Add tests to make sure that "delete fork" succeeded.
12114
12115 2006-04-20  Michael Snyder  <msnyder@redhat.com>
12116
12117         * 2006-03-22  Jim Blandy  <jimb@redhat.com>
12118         Add support for the Renesas M32C and M16C.
12119
12120         * gdb.asm/asm-source.exp: Add m32c target.
12121         * gdb.asm/m32c.inc: Support for m32c target.
12122
12123 2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
12124
12125         * gdb.base/commands.exp (recursive_source_test): New test.
12126
12127 2006-04-04  David S. Miller  <davem@sunset.davemloft.net>
12128
12129         * gdb.base/float.exp: Add pattern for sparc targets.
12130
12131 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
12132
12133         * gdb.base/commands.exp (stray_arg0_test): New test.
12134
12135 2006-03-30  Paul Brook  <paul@codesourcery.com>
12136
12137         * gdb.mi/mi-until.exp: kfail broken until command.
12138         * gdb.mi/mi2-until.exp: Ditto.
12139
12140 2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
12141
12142         * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12143
12144 2006-03-08  Alexandre Oliva  <aoliva@redhat.com>
12145
12146         * gdb.base/prelink.exp: Anchor tested-for regular expression
12147         on gdb prompt.
12148
12149 2006-03-07  Paul Brook  <paul@codesourcery.com>
12150
12151         * gdb.base/assign.exp: Correct fail message.
12152
12153 2006-03-07  Paul Brook  <paul@codesourcery.com>
12154
12155         * lib/compiler.c: Extract armcc version number.
12156         * lib/compiler.cc: Ditto.
12157
12158 2006-03-07  Paul Brook  <paul@codesourcery.com>
12159
12160         * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12161         additional_flags=-w.
12162         * gdb.arch/altivec-regs.exp: Ditto.
12163         * gdb.arch/e500-abi.exp: Ditto.
12164         * gdb.arch/e500-regs.exp: Ditto.
12165         * gdb.base/all-bin.exp: Ditto.
12166         * gdb.base/annota1.exp: Ditto.
12167         * gdb.base/annota3.exp: Ditto.
12168         * gdb.base/args.exp: Ditto.
12169         * gdb.base/arithmet.exp: Ditto.
12170         * gdb.base/assign.exp: Ditto.
12171         * gdb.base/async.exp: Ditto.
12172         * gdb.base/bang.exp: Ditto.
12173         * gdb.base/break.exp: Ditto.
12174         * gdb.base/call-rt-st.exp: Ditto.
12175         * gdb.base/completion.exp: Ditto.
12176         * gdb.base/cond-expr.exp: Ditto.
12177         * gdb.base/condbreak.exp: Ditto.
12178         * gdb.base/consecutive.exp: Ditto.
12179         * gdb.base/define.exp: Ditto.
12180         * gdb.base/display.exp: Ditto.
12181         * gdb.base/ena-dis-br.exp: Ditto.
12182         * gdb.base/environ.exp: Ditto.
12183         * gdb.base/eval-skip.exp: Ditto.
12184         * gdb.base/info-proc.exp: Ditto.
12185         * gdb.base/jump.exp: Ditto.
12186         * gdb.base/logical.exp: Ditto.
12187         * gdb.base/long_long.exp: Ditto.
12188         * gdb.base/maint.exp: Ditto.
12189         * gdb.base/miscexprs.exp: Ditto.
12190         * gdb.base/pc-fp.exp: Ditto.
12191         * gdb.base/pointers.exp: Ditto.
12192         * gdb.base/relational.exp: Ditto.
12193         * gdb.base/reread.exp: Ditto.
12194         * gdb.base/sect-cmd.exp: Ditto.
12195         * gdb.base/sep.exp: Ditto.
12196         * gdb.base/sepdebug.exp: Ditto.
12197         * gdb.base/until.exp: Ditto.
12198         * gdb.base/whatis-exp.exp: Ditto.
12199         * gdb.cp/annota2.exp: Ditto.
12200         * gdb.cp/annota3.exp: Ditto.
12201         * gdb.trace/actions.exp: Ditto.
12202         * gdb.trace/backtrace.exp: Ditto.
12203         * gdb.trace/circ.exp: Ditto.
12204         * gdb.trace/collection.exp: Ditto.
12205         * gdb.trace/deltrace.exp: Ditto.
12206         * gdb.trace/infotrace.exp: Ditto.
12207         * gdb.trace/limits.exp: Ditto.
12208         * gdb.trace/packetlen.exp: Ditto.
12209         * gdb.trace/passc-dyn.exp: Ditto.
12210         * gdb.trace/passcount.exp: Ditto.
12211         * gdb.trace/report.exp: Ditto.
12212         * gdb.trace/save-trace.exp: Ditto.
12213         * gdb.trace/tfind.exp: Ditto.
12214         * gdb.trace/tracecmd.exp: Ditto.
12215         * gdb.trace/while-dyn.exp: Ditto.
12216         * gdb.trace/while-stepping.exp: Ditto.
12217         * lib/gdb.exp: Ditto.
12218         (gdb_compile): Handle nowarning option.
12219
12220 2006-03-07  Alexandre Oliva  <aoliva@redhat.com>
12221
12222         * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
12223         * gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
12224         Rename executable to prelinkt.  Don't re-prelink if we didn't
12225         get a core file.  Test prelink -u exit status to tell whether
12226         prelinking failed.  Use gdb_test_multiple.
12227
12228 2006-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
12229
12230         * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12231         (do_tests): Call it.
12232
12233 2006-02-28  Alexandre Oliva  <aoliva@redhat.com>
12234
12235         * gdb.base/prelink.exp: New test.
12236         * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
12237
12238 2006-02-24  Wu Zhou  <woodzltc@cn.ibm.com>
12239
12240         * gdb.fortran/derived-type.f90: New file.
12241         * gdb.fortran/derived-type.exp: New testcase.
12242
12243 2006-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
12244
12245         * gdb.base/default.exp: Allow ';' as a directory separator.
12246
12247 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
12248
12249         * gdb.base/help.exp (help add-symbol-file): Update.
12250
12251 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
12252
12253         * gdb.base/help.exp (help load): Update expected results.
12254
12255 2006-02-19  Fred Fish  <fnf@specifix.com>
12256
12257         * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
12258         specifix hex value as part of results.
12259         * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
12260
12261 2006-02-16  Fred Fish  <fnf@specifix.com>
12262
12263         * gdb.base/whatis.c: Define variables using typedefs char_addr,
12264         ushort_addr, and slong_addr, so the typedefs are not optimized
12265         away.
12266         * gdb.base/whatis.exp: Add tests using type name for struct type,
12267         union type, enum type, and typedef.
12268
12269 2006-02-13  Mark Kettenis  <kettenis@gnu.org>
12270
12271         * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
12272
12273 2006-02-13  Jim Blandy  <jimb@redhat.com>
12274
12275         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
12276         case where it takes two "next" commands to skip past the init
12277         call.
12278
12279 2006-02-12  Fred Fish  <fnf@specifix.com>
12280
12281         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
12282         to handle cases where it takes two "next" commands to skip
12283         past the init call.
12284
12285 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
12286
12287         * gdb.ada/array_return.exp: Mark the last test as expected to fail
12288         on hppa32 targets.
12289
12290 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
12291
12292         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
12293         field.
12294
12295 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
12296
12297         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
12298
12299 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
12300
12301         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
12302         files.
12303
12304 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
12305
12306         * gdb.cp/maint.exp: Set complaints to a positive value.
12307
12308 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
12309
12310         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
12311         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
12312         function name.
12313
12314 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
12315
12316         * gdb.base/checkpoint.c: Update copyright notice.  Include
12317         <stdlib.h>.
12318
12319 2006-01-04  Jim Blandy  <jimb@redhat.com>
12320
12321         * gdb.asm/asm-source.exp: Independently provide default values for
12322         asm-flags and debug-flags.  Use 'string equal' to do the
12323         comparison, not the implicit expr's '==' operator.  Remove
12324         now-unneeded assignments to asm-flags.  In h8300 case, place
12325         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
12326
12327 2006-01-04  Michael Snyder  <msnyder@redhat.com>
12328
12329         * gdb.base/checkpoint.c: New file.
12330         * gdb.base/checkpoint.exp: New file.
12331         * gdb.base/multi-fork.c: New file.
12332         * gdb.base/multi-fork.exp: New file.
12333         * gdb.base/pi.txt: New file (data for checkpoint.c test).
12334
12335 2006-01-04  Fred Fish  <fnf@specifix.com>
12336
12337         * gdb.base/ptype.c (foo): Add typedef.
12338         (intfoo): Add function.
12339         * gdb.base/ptype1.c: New file.
12340         * gdb.base/ptype.exp: Handle compilation and linking with two
12341         source files.  Test that proper type for "foo" is found based
12342         on source context rather than first match found in symtabs.
12343
12344 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
12345
12346         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
12347         * gdb.asm/openbsd.inc: Indent commands.
12348
12349 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
12350
12351         * gdb.base/freebpcmd.exp: Increase timeout.
12352
12353         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
12354
12355 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
12356
12357         * gdb.base/default.exp: Update check for "show version".
12358
12359 2005-12-09  Randolph Chung  <tausq@debian.org>
12360
12361         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
12362         * gdb.asm/pa64.inc: New file.
12363
12364 2005-12-09  Randolph Chung  <tausq@debian.org>
12365
12366         * gdb.asm/common.inc: Indent commands.
12367         * gdb.asm/asmsrc1.s: Likewise.
12368         * gdb.asm/asmsrc2.s: Likewise.
12369
12370 2005-12-09  Randolph Chung  <tausq@debian.org>
12371
12372         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
12373         (get_addr_of_sym): Remove duplicate print.
12374         (gen_core): xfail hppa*-*-hpux*, update expected output.
12375         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
12376         * gdb.arch/pa64-nullify.s: New file.
12377
12378 2005-12-09  Randolph Chung  <tausq@debian.org>
12379
12380         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
12381
12382 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
12383
12384         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
12385         code generation for these functions.
12386         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
12387         error message.
12388
12389 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
12390
12391         * gdb.base/help.exp (help b, help br, help bre, help brea)
12392         (help break): Update the expected message.
12393
12394 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
12395
12396         * gdb.asm/m68hc11.inc: Setup the data section.
12397         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
12398         script for this test.
12399         (m6812-*-*): Likewise.
12400
12401 2005-11-09  Randolph Chung <tausq@debian.org>
12402
12403         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
12404
12405 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
12406
12407         * gdb.base/break.exp: Fix a comment typo.
12408
12409 2005-11-03  Jim Blandy  <jimb@redhat.com>
12410
12411         Checked in by Elena Zannoni  <ezannoni@redhat.com>
12412
12413         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
12414
12415 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
12416
12417         * gdb.arch/gdb1558.c: Include stdio.h.
12418
12419 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
12420
12421         * gdb.asm/asm-source.exp: Use -e instead of --entry.
12422
12423 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
12424
12425         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
12426
12427 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
12428
12429         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12430         vscr" tests to better match output.
12431
12432 2005-10-12  Jim Blandy  <jimb@redhat.com>
12433
12434         * gdb.base/structs.exp (any): New function.
12435         (test_struct_returns): Don't make any assumptions at all about
12436         what value the function returns when GDB can't set the return
12437         value.
12438
12439 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
12440
12441         * gdb.ada/arrayidx/p.adb: New file.
12442         * gdb.ada/arrayidx.exp: New testcase
12443
12444 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
12445
12446         * gdb.ada/array_return/pck.ads: New file.
12447         * gdb.ada/array_return/pck.adb: New file.
12448         * gdb.ada/array_return/p.adb: New file.
12449         * gdb.ada/array_return.exp: New testcase.
12450
12451 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
12452
12453         * gdb.base/arrayidx.c: New file.
12454         * gdb.base/arrayidx.exp: New testcase.
12455
12456 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
12457
12458         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
12459         frames-invalid and breakpoints-invalid are no longer generated
12460         with level 3 so don't expect them in the output.
12461
12462 2005-09-27  Bob Rossi  <bob@brasko.net>
12463
12464         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
12465         from test.  Escape the | in mi_gdb_test call.
12466         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12467         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12468         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12469         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12470         expected regex's in mi_gdb_test calls.
12471         * lib/mi-support.exp: Remove arbitrary .* from tests.
12472         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12473         Fully anchor GDB/MI expected results in mi_gdb_test.
12474         * lib/gdb.exp (string_to_regexp): Escape the ] character.
12475         * gdb.base/sizeof.exp: Remove escape character. Correct test.
12476
12477 2005-09-26  Paul Brook  <paul@codesourcery.com>
12478
12479         * long_long.exp: Exclude eabi targets from arm FPA float format test.
12480
12481 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
12482
12483         * bfp-test.c: New file.
12484         * bfp-test.exp: New testcase.
12485
12486 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
12487
12488         * gdb.fortran/subarray.exp: New testcase to test the evaluation
12489         of subarray and substring variable.
12490         * gdb.fortran/subarray.f: New source file for the test of subarray
12491         and substring variable evaluation.
12492         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
12493         of string constant.
12494
12495 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
12496
12497         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
12498         copyright dates.
12499
12500 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
12501
12502         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
12503         powerpc altivec' test with an almost identical 'info vector' test.
12504
12505 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
12506
12507         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12508         vscr" tests to match output.
12509
12510 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
12511
12512         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
12513         output.
12514
12515 2005-09-11  Bob Rossi  <bob@brasko.net>
12516
12517         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
12518         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
12519         commands that return an MI output command and an asyncronous MI output
12520         command.
12521         * gdb.mi/mi-console.exp: Ditto.
12522
12523 2005-09-11  Bob Rossi  <bob@brasko.net>
12524
12525         * gdb.mi/mi-var-child.c: Include <string.h>.
12526
12527 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
12528
12529         * killed.exp: Correct gdb_expect syntax.
12530
12531 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
12532
12533         * lib/mi-support.exp (mi_gdb_load): Fix typo.
12534
12535 2005-08-02  Bob Rossi  <bob@brasko.net>
12536
12537         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
12538         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
12539         Change tests to inferior-tty-set/show.
12540         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
12541         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
12542         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
12543         inferior.  Use mi_gdb_test to get GDB and Inferior output.
12544         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
12545         descriptor.
12546         (mi_inferior_tty_name): Add inferior PTY file name.
12547         (mi_gdb_start): Add INFERIOR_PTY parameter.
12548         (mi_gdb_test): Add IPATTERN parameter.
12549
12550 2005-08-02   Bob Rossi  <bob@brasko.net>
12551
12552         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
12553         parameter to mi_gdb_test.
12554         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
12555
12556 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
12557
12558         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
12559         struct_declarations.
12560         * gdb.mi/mi-var-child.exp: Step over the initialization of
12561         struct_declarations.
12562
12563 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
12564
12565         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
12566         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
12567         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
12568         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
12569         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
12570         file.
12571
12572 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
12573
12574         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
12575         (do_children_tests): Assign values to the extra elements.
12576
12577         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
12578         them for tests for "-var-update --no-values" and
12579         "-var-update --all-values".
12580         Add test for "-var-list-children --simple-values".
12581
12582         * gdb.mi/basics.c (callee4): Add integer array D[3]...
12583
12584         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
12585         "-stack-list-locals --simple-values"  Improve doc strings and
12586         comments.
12587
12588 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
12589
12590         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
12591         *-*-openbsd*.
12592         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
12593
12594         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
12595         sigaltsatck'.
12596
12597 2005-07-14  Bob Rossi  <bob@brasko.net>
12598
12599         * gdb.base/default.exp (tty): Changed output of command.
12600         * gdb.base/help.exp (help tty): Ditto.
12601
12602 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
12603
12604         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
12605
12606 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
12607
12608         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
12609         -stack-select-frame without arguments.
12610         (test_stack_frame_listing): Add test for newly implemented command
12611         -stack-info-frame.
12612
12613 2005-07-06  Bob Rossi  <bob@brasko.net>
12614
12615         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
12616         command.
12617         (Copyright): Update copyright.
12618
12619 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
12620
12621         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
12622         tests to evaluate exponentiation expression.
12623
12624 2005-06-29  Andreas Schwab  <schwab@suse.de>
12625
12626         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
12627         main to avoid warnings.
12628
12629         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
12630
12631 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
12632
12633         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
12634         -stack-select-frame without arguments.
12635         (test_stack_frame_listing): Add test for newly implemented command
12636         -stack-info-frame.
12637
12638 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
12639
12640         * gdb.fortran/array-element.f: New file.
12641         * gdb.fortran/array-element.exp: New testcase.
12642
12643 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
12644
12645         * gdb.base/bigcore.exp: Correct checks for systems which can
12646         not dump a large core file.
12647
12648 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
12649
12650         * gdb.base/relocate.c: Add a copyright notice.
12651         (dummy): Remove.
12652         * gdb.base/relocate.exp: Test printing the values of variables
12653         from a relocatable file.
12654
12655 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
12656
12657         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
12658         excess MI output after an error.
12659
12660 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
12661
12662         * gdb.arch/alpha-step.c: New file.
12663         * gdb.arch/alpha-step.exp: New testcase.
12664
12665 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
12666             Dennis Brueni  <dennis@slickedit.com>
12667
12668         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
12669         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
12670         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
12671         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
12672         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12673         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
12674         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
12675
12676 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
12677             Wu Zhou  <woodzltc@cn.ibm.com>
12678
12679         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
12680         IBM's xlc compiler.
12681         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
12682         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
12683
12684 2005-05-13  Jim Blandy  <jimb@redhat.com>
12685
12686         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
12687         calling gdb_suppress_entire_file.
12688         * gdb.base/charset.exp: Same.
12689         * gdb.base/call-rt-st.exp: Same.
12690
12691 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
12692
12693         * lib/gdb.exp (fullname_syntax): Added global regex.
12694         (fullname_syntax_POSIX): Ditto.
12695         (fullname_syntax_UNC): Ditto.
12696         (fullname_syntax_DOS_CASE): Ditto.
12697         (fullname_syntax_DOS): Ditto.
12698         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
12699         fullname_syntax variable to scope and use it.
12700         (test_file_list_exec_source_files): Ditto.
12701         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
12702
12703 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
12704
12705         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
12706
12707 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
12708
12709         * lib/gdb.exp (skip_altivec_tests): New function, based on
12710         check_vmx_hw_available from the GCC testsuite.
12711         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
12712         * lib/gdb.arch/altivec-regs.exp: Likewise.
12713
12714 2005-05-02  Jim Blandy  <jimb@redhat.com>
12715
12716         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
12717         calling gdb_suppress_entire_file.
12718
12719 2005-04-30  Randolph Chung  <tausq@debian.org>
12720
12721         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
12722         Slightly relax "sem_post" name checking.
12723
12724 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
12725
12726         * gdb.base/unload.exp: Use new shared library infrastructure.
12727
12728 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
12729
12730         * gdb.base/so-impl-ld.exp: Use new shared library
12731         infrastructure.
12732
12733 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
12734
12735         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
12736         * gdb.asm/h8300.inc: New file.
12737
12738 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
12739
12740         * gdb.base/shlib-call.exp: Change to use new shared library
12741         infrastructure.
12742
12743 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
12744
12745         * gdb.base/pending.exp: Change to use new shared library
12746         infrastructure.
12747
12748 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
12749
12750         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
12751         use test_compiler_info instead of gcc_compiled, and update copyright.
12752
12753 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
12754
12755         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
12756         shared objects being adjusted and update copyright years.
12757
12758 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
12759
12760         * ChangeLog: Correct some 2003-01-13 dates.
12761         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
12762         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
12763         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
12764         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
12765         gdb.trace/tfind.exp: Update copyright years.
12766
12767 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
12768             Daniel Jacobowitz  <dan@codesourcery.com>
12769
12770         * lib/gdb.exp (gdb_compile): Handle shlib=.
12771         (gdb_compile_shlib): New function.
12772
12773 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
12774
12775         * lib/gdb.exp (test_compiler_info): Give argument a default value.
12776
12777 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
12778
12779         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
12780         gdb.server.
12781         * configure.ac: Likewise.
12782         * configure: Regenerated.
12783         * gdb.gdbserver/Makefile.in: Moved to...
12784         * gdb.server/Makefile.in: ... here.
12785         * gdb.gdbserver/server.c: Moved to...
12786         * gdb.server/server.c: ... here.
12787         * gdb.gdbserver/server-run.exp: Moved to...
12788         * gdb.server/server-run.exp: ... here.
12789
12790 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
12791
12792         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
12793         * configure.ac: Create gdb.gdbserver/Makefile.
12794         * configure: Regenerated.
12795         * lib/gdbserver-support.exp: New file, derived from
12796         config/gdbserver.exp.
12797         * config/gdbserver.exp: Use gdbserver-support.exp.
12798         * gdb.gdbserver/Makefile.in: New file.
12799         * gdb.gdbserver/server.c: New file.
12800         * gdb.gdbserver/server-run.exp: New file.
12801
12802 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
12803
12804         * lib/gdb.exp (test_compiler_info): Return compiler_info
12805         if no arguments are given.
12806
12807 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
12808
12809         * gdb.arch/altivec-abi.exp: Check for compiler and set
12810         use altivec' flag accordingly.
12811         * gdb.arch/altivec-regs.exp: Likewise.
12812
12813 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
12814
12815         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
12816
12817 2005-03-27  Andreas Schwab  <schwab@suse.de>
12818
12819         * gdb.base/bigcore.c (main): Add missing mode argument in open
12820         call.
12821
12822 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
12823
12824         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
12825         downloads.
12826         * config/gdbserver.exp (gdb_load): Likewise.
12827
12828 2005-03-14  Paul Brook  <paul@codesourcery.com>
12829
12830         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
12831         targets.
12832
12833 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
12834
12835         * gdb.dwarf2/dup-psym.S: New file.
12836         * gdb.dwarf2/dup-psym.exp: New testcase.
12837
12838 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
12839
12840         * gdb.ada/exec_changed/first.adb: New file.
12841         * gdb.ada/exec_changed/second.adb: New file.
12842         * gdb.ada/exec_changed.exp: New testcase.
12843
12844 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
12845
12846         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
12847         (A2): New class.
12848         (main): Test operator+.
12849         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
12850         breakpoint test.
12851
12852         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
12853         * gdb.base/signull.exp: Disable if gdb,nosignals.
12854         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
12855         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
12856         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
12857         * gdb.mi/mi2-console.exp: Likewise.
12858         * gdb.trace/collection.exp (run_trace_experiment): Consume the
12859         continue output at start.
12860         (gdb_collect_locals_test): Robustify regexp.
12861         * gdb.trace/passc-dyn.exp: Fix comment typo.
12862         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
12863
12864 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
12865
12866         * gdb.asm/asm-source.exp: Add iq2000 case.
12867         * gdb.asm/iq2000.inc: New file.
12868
12869 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
12870
12871         * gdb.base/command.exp: Change hardcoded value to regular expression.
12872         * gdb.base/float.exp: Add powerpc to the list of targets checked.
12873
12874 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
12875
12876         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
12877         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
12878         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
12879         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
12880         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
12881
12882 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
12883
12884         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
12885         changes.
12886
12887 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
12888
12889         * lib/compiler.c: Add test for IBM's xlc compiler.
12890         * lib/compiler.cc: Likewise.
12891
12892 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
12893
12894         * gdb.ada/fixed_points.exp: Create compilation object directory
12895         before running the test.
12896         * gdb.ada/null_record.exp: Likewise.
12897         * gdb.ada/packed_array.exp: Likewise.
12898         * gdb.ada/start.exp: Likewise.
12899
12900 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
12901
12902         * gdb.ada/packed_array/pa.adb: New file.
12903         * gdb.ada/packed_array.exp: New testcase.
12904
12905 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
12906
12907         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
12908         files.
12909
12910         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
12911         on *-*-openbsd*.  Correctly match whitespace in regukar
12912         expressions.
12913
12914 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
12915
12916         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
12917         PR exp/1821
12918         * gdb.base/gdb1821.c: New test file.
12919         * gdb.base/gdb1821.exp: New test file.
12920
12921 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
12922
12923         * gdb.base/start.c: New file.
12924         * gdb.base/start.exp: New testcase.
12925
12926 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
12927
12928         * gdb.ada/start/dummy.adb: New file.
12929         * gdb.ada/start.exp: New testcase.
12930
12931 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
12932
12933         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
12934         for printing symbols and statistics.
12935         Add test for using relative pathnames in "maint print msymbols" test.
12936         Mark "maint info sections DATA" XFAIL on Cygwin.
12937         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
12938         tests.
12939
12940 2005-02-09  Andreas Schwab  <schwab@suse.de>
12941
12942         Committed by Andrew Cagney  <cagney@gnu.org>
12943         * gdb.base/remotetimeout.exp: New file.
12944
12945 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
12946
12947         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
12948
12949 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
12950
12951         * gdb.ada/gnat_ada.gpr: New file.
12952         * gdb.ada/gnat_ada.gin: Delete, no longer used.
12953         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
12954         * configure.ac: No longer generate gnat_ada.gpr.
12955         * configure: Regenerate.
12956         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
12957         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
12958         * gdb.ada/null_record/bar.ads: Likewise.
12959         * gdb.ada/null_record/bar.adb: Likewise.
12960         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
12961         * gdb.ada/null_record.exp (testdir): New variable.
12962         (testfile): executable is now in testdir subdirectory.
12963         (srcfile): Use full path to the main compilation unit.
12964         * gdb.ada/fixed_points.exp: Same changes as above.
12965
12966 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
12967
12968         * gdb.base/interp.exp: New test.
12969
12970 2005-01-24  Andrew Cagney  <cagney@gnu.org>
12971
12972         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
12973
12974 2005-01-19  Andrew Cagney  <cagney@gnu.org>
12975
12976         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
12977         configure.ac not configure.in.
12978
12979         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
12980         of powerpc*-*-*.
12981         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
12982         * gdb.base/list.exp (test_list_function)
12983         (test_list_filename_and_function): Ditto.
12984         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
12985
12986 2005-01-16  Andrew Cagney  <cagney@gnu.org>
12987
12988         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
12989
12990         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
12991
12992 2005-01-14  Andrew Cagney  <cagney@gnu.org>
12993
12994         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
12995         * gdb.mi/mi2-var-cmd.exp: Ditto.
12996
12997 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
12998
12999         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13000
13001 2005-01-07  Andrew Cagney  <cagney@gnu.org>
13002
13003         * configure.ac: Rename configure.in, require autoconf 2.59.
13004         * configure: Re-generate.
13005         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13006         * gdb.stabs/configure: Re-generate.
13007         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13008         * gdb.hp/configure: Re-generate.
13009         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13010         autoconf 2.59.
13011         * gdb.hp/gdb.objdbg/configure: Re-generate.
13012         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13013         autoconf 2.59.
13014         * gdb.hp/gdb.defects/configure: Re-generate.
13015         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13016         autoconf 2.59.
13017         * gdb.hp/gdb.compat/configure: Re-generate.
13018         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13019         autoconf 2.59.
13020         * gdb.hp/gdb.base-hp/configure: Re-generate.
13021         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13022         autoconf 2.59.
13023         * gdb.hp/gdb.aCC/configure: Re-generate.
13024
13025 2004-12-15  Jim Blandy  <jimb@redhat.com>
13026
13027         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13028         under NPTL when there is debugging info available for libpthread.
13029
13030 2004-12-13  Jerome Guitton  <guitton@gnat.com>
13031
13032         * gdb.ada/fixed_points.c: New file.
13033         * gdb.ada/fixed_points.exp: New file.
13034
13035 2004-12-03  Randolph Chung  <tausq@debian.org>
13036
13037         * gdb.arch/pa-nullify.exp: New file.
13038         * gdb.arch/pa-nullify.s: New file.
13039
13040 2004-11-30  Randolph Chung  <tausq@debian.org>
13041
13042         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13043         instead of "tbug".  Fix regexp to work properly with gdb_test.
13044
13045 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
13046
13047         * gdb.base/bitfields2.exp: New test.
13048         * gdb.base/bitfields2.c: New file.
13049
13050 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
13051
13052         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13053
13054 2004-11-16  Randolph Chung  <tausq@debian.org>
13055
13056         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13057
13058 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
13059
13060         * gdb.threads/threadapply.exp: Correct "macro details" test.
13061
13062 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
13063
13064         * gdb.threads/threadapply.exp: New test.
13065         * gdb.threads/threadapply.c: New file.
13066
13067 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
13068
13069         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13070         frames.
13071
13072 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
13073
13074         * gdb.base/cursal.exp: New file.
13075         * gdb.base/cursal.c: New file.
13076
13077 2004-11-03  Andrew Cagney  <cagney@gnu.org>
13078
13079         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13080
13081 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
13082
13083         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13084         NetBSD/ELF targets.
13085
13086 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
13087
13088         * gdb.threads/bp_in_thread.c: New file, copied from
13089         pthread_cond_wait.c.
13090         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13091         file, rather than reusing the .c file from another testcase.
13092
13093 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
13094
13095         * gdb.ada/null_record.exp: Check where we stopped after
13096         sending the start command, instead of where the associated
13097         temporary breakpoint was inserted.
13098
13099 2004-10-14  Andrew Cagney  <cagney@gnu.org>
13100
13101         * gdb.mi/gdb701.c (main): Return 0.
13102
13103 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
13104
13105         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
13106
13107 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
13108
13109         * gdb.threads/schedlock.c: Add comment markers to use to find
13110         line numbers.
13111         * gdb.threads/schedlock.exp: Adjust regex to handle the new
13112         comments.
13113         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13114         breakpoint lines.
13115
13116 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
13117
13118         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13119
13120 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
13121
13122         * configure.in: Add gdb.dwarf2.
13123         * configure: Regenerated.
13124         * Makefile.in: Add gdb.dwarf2.
13125         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13126         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13127         gdb.dwarf2/file1.txt: New files.
13128
13129 2004-10-11  Orjan Friberg  <orjanf@axis.com>
13130
13131         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
13132         of "run", since the latter doesn't work with remote targets.  Adjust
13133         the breakpoint numbering accordingly.
13134         * gdb.threads/pthread_cond_wait.exp: Ditto.
13135
13136 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
13137
13138         * gdb.base/overlays.exp: Update copyright years.
13139
13140 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
13141
13142         * gdb.base/overlays.exp: Disable if target is Linux.
13143
13144 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
13145
13146         * config/gdbserver.exp (gdb_load): Use right filename on remote.
13147
13148 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
13149
13150         * gdb.asm/asm-source.exp: Add m32r-linux target.
13151         * gdb.asm/m32r-linux.inc: New file.
13152
13153 2004-09-24  Andrew Cagney  <cagney@redhat.com>
13154             David Anderson <anderson@redhat.com>
13155
13156         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13157         command fails, assume things will work.
13158         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13159         (_GNU_SOURCE): Define.
13160         (print_unsigned, print_hex): Change parameter to "long long".
13161         (print_byte_count): New function, use to print byte counts.
13162         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13163         O_LARGEFILE.
13164         (main): Compute an upper bound on a corefile in max_core_size.
13165         Limit memory chunk size to max_core_size.  Limit total memory
13166         allocated to max_core_size.
13167
13168 2004-09-23  Andrew Cagney  <cagney@gnu.org>
13169
13170         * gdb.base/bigcore.exp: Replace the code that creates a corefile
13171         from a separate process with code that creates a corefile by
13172         making the inferior dump core.
13173
13174 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
13175
13176         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13177         block.
13178
13179 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
13180
13181         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13182         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
13183         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13184         Likewise.
13185
13186 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
13187
13188         * gdb.java/jprint.exp: New test case for java inferior call.
13189         * gdb.java/jprint.java: Ditto.
13190
13191 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
13192
13193         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13194
13195 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
13196
13197         * gdb.threads/killed.c: Include <stdlib.h>.
13198         * gdb.threads/pthreads.c: Likewise.
13199
13200 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
13201
13202         * gdb.threads/killed.c: Add copyright notice.
13203
13204 2004-09-10  Jason Molenda  (jmolenda@apple.com)
13205
13206         * gdb.base/define.exp: Two new tests to verify zero space chars
13207         after 'if' and 'while' commands in a user-defined command is correctly
13208         parsed.
13209
13210 2004-09-08  Andrew Cagney  <cagney@gnu.org>
13211
13212         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
13213         delivery test with duplicate at end of file.
13214
13215 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
13216
13217         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
13218
13219 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
13220
13221         * config/hppro.exp: Removed.
13222
13223 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
13224
13225         * config/sparclet.exp: Removed.
13226
13227 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
13228
13229         * config/udi.exp: Removed.
13230
13231 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
13232
13233         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13234         of "exp_continue".
13235         (advancei): Likewise.
13236
13237 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
13238
13239         * gdb.base/unload.exp: Fix so messages aren't duplicated.
13240
13241 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
13242
13243         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
13244         to check for nodebug in executable.
13245         * gdb.gdb/observer.exp (setup_test): Likewise.
13246         * gdb.gdb/selftest.exp (test_with_self): Likewise.
13247         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
13248
13249 2004-09-01  Andrew Cagney  <cagney@gnu.org>
13250
13251         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13252         files.
13253
13254 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
13255
13256         * gdb.base/unload.exp: Fix expected warning message to match
13257         latest format.
13258
13259 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
13260
13261         * gdb.base/call-rt-st.exp: Fix typos.
13262
13263 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
13264
13265         * gdb.threads/thread_check.exp: New testcase.
13266         * gdb.threads/thread_check.c: New testcase.
13267
13268 2004-08-31  Andrew Cagney  <cagney@gnu.org>
13269
13270         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
13271         (skip_to_handler_entry): New procedures.  Test stepping into a
13272         handler when the breakpoint is at the handler's entry point.
13273
13274 2004-08-30  Andrew Cagney  <cagney@gnu.org>
13275
13276         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
13277         gdb/1757.
13278
13279 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
13280
13281         With code from Manoj Iyer <manjo@austin.ibm.com>:
13282         * lib/gdb.exp (gdb_file_cmd): Return more information in the
13283         return value.  Add an arm for "no debugging symbols found".
13284         Change a stray "error" to "perror".
13285         (gdb_run_cmd): Adapt to new return value.
13286         * gdb.base/remote.exp: Adapt to new return value.
13287         * gdb.gdb/complaints.exp: Likewise.
13288         * gdb.gdb/observer.exp: Likewise.
13289         * gdb.gdb/selftest.exp: Likewise.
13290         * gdb.gdb/xfullpath.exp: Likewise.
13291
13292 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
13293
13294         * gdb.threads/bp_in_thread.exp: New testcase.
13295
13296 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
13297
13298         Fix PR testsuite/1735.
13299         * gdb.threads/schedlock.c (thread_function): Add a cast
13300         to suppress a gcc warning.
13301         * gdb.threads/thread-specific.c (thread_function): Likewise.
13302
13303 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13304
13305         * gdb.base/unload.c: Include <stdlib.h>.
13306
13307 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13308
13309         From Paul Gilliam <pgilliam@us.ibm.com>:
13310         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
13311         synchronized after the "return".
13312
13313 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13314
13315         * gdb.mi/basics.c: Include <stdio.h>.
13316         * gdb.mi/pthreads.c: Include <stdlib.h>.
13317         * gdb.mi/var-cmd.c: Include <stdlib.h>.
13318
13319 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13320
13321         * gdb.threads/schedlock.c: Add copyright notice.
13322
13323 2004-08-25  Andrew Cagney  <cagney@gnu.org>
13324
13325         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
13326         (skip_over_handler, breakpoint_over_hander): New test procedures.
13327         (advance, advancei): Add a proper prefix, do not use
13328         rerun_to_main.
13329         * gdb.base/sigstep.c (main): Change to use an infinite loop.
13330
13331 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
13332
13333         * gdb.mi/basics.c: Add copyright notice.
13334         * gdb.mi/var-cmd.c: Add copyright notice.
13335
13336 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13337
13338         * lib/gdb.exp: Remove signed_keyword_not_used.
13339         * lib/compiler.c: Likewise.
13340         * lib/compiler.cc: Likewise.
13341
13342 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13343
13344         * gdb.base/whatis.c: Remove conditional disabling of "signed".
13345         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
13346
13347 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13348
13349         * gdb.base/whatis.c: Add copyright notice.
13350
13351 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
13352
13353         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
13354         it to skip the breakpoints encoded in the inline assembly.
13355
13356 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
13357
13358         * Makefile.in: Add gdb.fortran.
13359
13360 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
13361
13362         * gdb.base/call-sc.exp (test_scalar_returns):
13363         Fix cut-and-paste glitch in "Make fun return now".
13364
13365 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
13366
13367         * configure.in: Add gdb.fortran.
13368         * configure: Regenerate.
13369         * gdb.fortran/Makefile.in: New file.
13370         * lib/gdb.exp (skip_fortran_tests): New procedure.
13371
13372 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
13373
13374         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
13375         reference to bug-gnu@prep.ai.mit.edu.
13376         * gdb.mi/mi-var-child.exp: Likewise.
13377         * gdb.mi/mi-var-cmd.exp: Likewise.
13378         * gdb.mi/mi-var-display.exp: Likewise.
13379         * gdb.mi/mi2-var-block.exp: Likewise.
13380         * gdb.mi/mi2-var-child.exp: Likewise.
13381         * gdb.mi/mi2-var-cmd.exp: Likewise.
13382         * gdb.mi/mi2-var-display.exp: Likewise.
13383
13384 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
13385
13386         * gdb.base/unload.c (main): Make local variable msg const.
13387
13388 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
13389
13390         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
13391         to bug-gnu@prep.ai.mit.edu.
13392         * gdb.mi/mi-disassemble.exp: Likewise.
13393         * gdb.mi/mi-eval.exp: Likewise.
13394         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
13395         default line number.
13396         * gdb.mi/mi-return.exp: Likewise.
13397         * gdb.mi/mi-simplerun.exp: Likewise.
13398         * gdb.mi/mi-stack.exp: Likewise.
13399         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
13400         number with explicit range test.
13401         * gdb.mi/mi-watch.exp: Likewise.
13402         * gdb.mi/mi2-break.exp: Likewise.
13403         * gdb.mi/mi2-cli.exp: Likewise.
13404         * gdb.mi/mi2-disassemble.exp: Likewise.
13405         * gdb.mi/mi2-eval.exp: Likewise.
13406         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
13407         default line number.
13408         * gdb.mi/mi2-return.exp: Likewise.
13409         * gdb.mi/mi2-simplerun.exp: Likewise.
13410         * gdb.mi/mi2-stack.exp: Likewise.
13411         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
13412         number with explicit range test.
13413         * gdb.mi/mi2-watch.exp: Likewise.
13414
13415 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
13416
13417         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
13418         * gdb.cp/m-static.exp: Likewise.
13419         * gdb.cp/rtti.exp: Likewise.
13420
13421 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
13422
13423         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
13424
13425 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
13426
13427         * ChangeLog: Prefix Local Variables with semi-colons and indent
13428         the reference to older ChangeLog files, to fix fontification in
13429         Emacs.
13430
13431 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13432
13433         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
13434         * gdb.mi/mi2-break.exp: Likewise.
13435
13436 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13437
13438         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
13439
13440 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13441
13442         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
13443
13444 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13445
13446         * gdb.cp/classes.exp: Remove unused declarations.  Just let
13447         test names default instead of providing special names.  Remove
13448         extraneous demangler test.
13449
13450 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
13451
13452         * gdb.base/unload.exp: New test for breakpoints in dynamically
13453         loaded libraries.
13454         * gdb.base/unload.c: Ditto.
13455         * gdb.base/unloadshr.c: Ditto.
13456
13457 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
13458
13459         * gdb.cp/classes.exp (test_ptype_class_objects): Call
13460         cp_test_ptype_class.
13461         (test_enums): Likewise.
13462
13463 2004-08-10  Andrew Cagney  <cagney@gnu.org>
13464
13465         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13466         files.
13467
13468 2004-08-10  Andrew Cagney  <cagney@gnu.org>
13469
13470         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13471         init_malloc call.
13472
13473 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
13474
13475         * ChangeLog: Add copyright notice.  The notice is copied
13476         from emacs 21.3 top level ChangeLog.
13477
13478 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13479
13480         * lib/cp-support.exp: New file.
13481         * lib/cp-support.exp (cp_test_type_class): New function.
13482         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13483         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13484         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13485         cp_test_ptype_class.
13486
13487 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13488
13489         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13490         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13491         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
13492         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
13493         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13494         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
13495         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
13496         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
13497         gdb.mi/mi2-watch.exp: Update copyright years.
13498
13499 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
13500
13501         * gdb.base/sigaltstack.exp: Provide proper anchoring.
13502
13503 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13504
13505         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
13506         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
13507         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
13508         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13509         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
13510         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
13511         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
13512         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13513         gdb.mi/mi-watch.exp: Update copyright years.
13514
13515 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13516
13517         PR gdb/1738
13518         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
13519         from a breakpoint with a pending signal.
13520
13521 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13522
13523         PR gdb/1736
13524         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
13525         * gdb.base/sigaltstack.exp (finish_test): Consume output until
13526         the prompt.
13527         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
13528
13529 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13530
13531         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
13532
13533 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13534
13535         PR gdb/1736
13536         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
13537         for i?86-*-linux*.
13538
13539 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13540
13541         * gdb.arch/i386-prologue.exp: Compile without debug information.
13542
13543 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
13544
13545         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
13546         rather than asking gdb to search.
13547
13548 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13549
13550         * gdb.base/gcore.c: Include <string.h>.
13551
13552 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13553
13554         * gdb.base/gcore.c: Add copyright notice.
13555
13556 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13557
13558         * gdb.base/freebpcmd.c: Include <stdio.h>.
13559         * gdb.base/long_long.c: Include <string.h>.
13560         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
13561         * gdb.base/siginfo.c: Include <string.h>.
13562         * gdb.base/sigstep.c: Include <string.h>.
13563
13564 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13565
13566         * gdb.base/complex.c: Include <stdlib.h>.
13567
13568 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13569
13570         * gdb.base/complex.c: Add copyright notice.
13571
13572 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13573
13574         * gdb.base/charset.c: Include <stdlib.h>.
13575
13576 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13577
13578         * gdb.base/auxv.c: Include <stdlib.h>.
13579
13580 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13581
13582         * gdb.base/auxv.c: Add copyright notice.
13583
13584 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13585
13586         * gdb.base/coremaker.c: Add copyright notice.
13587         * gdb.base/coremaker2.c: Add copyright notice.
13588
13589 2004-08-04  Andrew Cagney  <cagney@gnu.org>
13590
13591         * gdb.base/store.exp: Update copyright.
13592         (check_set, up_set, check_struct, up_struct): Add a prefix to test
13593         names, do not import gdb_prompt.
13594
13595 2004-08-01  Andrew Cagney  <cagney@gnu.org>
13596
13597         Fix PR testsuite/1729.
13598         * gdb.base/dump.exp: Add test name to callers of capture_value, do
13599         not use capture_value with value 4.
13600         (capture_value): Add optional test name parameter.
13601         (test_reload_saved_value, test_restore_saved_value): Use $msg as
13602         the prefix, pass to capture_value.
13603
13604 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
13605
13606         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
13607         * gdb.arch/i386-prologue.c (standard): New prototype and function.
13608         (main): Call new function.
13609
13610 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13611
13612         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
13613
13614 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13615
13616         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
13617
13618 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13619
13620         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
13621         Accept more values of vtbl pointer.  Remove some messages
13622         about "obsolete gcc or gdb".
13623
13624 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
13625
13626         * gdb.cp/classes.exp: Accept more varieties of ptype output.
13627
13628 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
13629
13630         * gdb.base/asm-source.exp: Properly convert target board
13631         debug flags from gcc format to binutils format.
13632
13633 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
13634
13635         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
13636         gdb1718".  PR backtrace/1718 partially fixed.
13637
13638 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
13639
13640         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
13641
13642 2004-07-26  Nick Clifton  <nickc@redhat.com>
13643
13644         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
13645         good default value for a specific architecture is available then
13646         set it to that value.  Otherwise default to the -gstabs switch.
13647         Remove the -g... switches from the asm-flags variable.  Allow the
13648         target board info to override the value if it wants to.  Pass the
13649         switch on the assembler command line.
13650
13651 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
13652
13653         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
13654         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
13655         (main): Call new function.
13656
13657 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
13658
13659         Test for PR exp/1715.
13660         * gdb.base/radix.exp: Refactor common procedures.  Make all
13661         test names unique.  Change XFAIL to KFAIL.
13662
13663 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
13664
13665         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
13666         * gdb.ada/gnat_ada.gin: ... to here.
13667         * configure.in: Use gnat_ada.gin.
13668         * configure: Regenerate.
13669
13670 2004-07-20  Andrew Cagney  <cagney@gnu.org>
13671
13672         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
13673         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
13674         XFAILs.  Clean up test messages and comments.  Check backtraces.
13675         Delete re-sync code.
13676
13677 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
13678
13679         Fix PR cli/740.
13680         * gdb.base/annota1.exp: Honor gdb,nosignals.
13681         * gdb.base/annota3.exp: Likewise.
13682
13683 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
13684
13685         * lib/java.exp: Update copyright notice.
13686
13687 2004-07-19  Andrew Cagney  <cagney@gnu.org>
13688
13689         * gdb.base/selftest.exp: Copy file from here ...
13690         * gdb.gdb/selftest.exp: ... to here.
13691
13692 2004-07-16  Andrew Cagney  <cagney@redhat.com>
13693
13694         * lib/insight-support.exp: Delete file.
13695         * lib/java.exp (java_init): Fix copyright.
13696
13697 2004-07-16  Andrew Cagney  <cagney@gnu.org>
13698
13699         * gdb.base/restore.c: Append "prologue" to comments marking the a
13700         function's prologue.
13701         * gdb.base/restore.exp: Update copyright, re-indent.
13702         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
13703         callerN" prefix where needed.  Update patterns that match a
13704         function's prologue.
13705
13706 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
13707
13708         * gdb.base/restore.c: Add copyright notice.
13709
13710 2004-07-16  Andrew Cagney  <cagney@gnu.org>
13711
13712         * gdb.base/logical.exp: Update copyright.
13713         (evaluate): New procedure.  Use to re-implement tests using
13714         several tables.
13715
13716 2004-07-14  Martin Hunt  <hunt@redhat.com>
13717
13718         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
13719         which fixes some problems where init.tcl was not found.
13720
13721 2004-07-13  Andrew Cagney  <cagney@gnu.org>
13722
13723         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
13724         (check_sizeof, check_valueof): Do not include the output in the
13725         test name.  Use gdb_test.
13726         (get_valueof): Use gdb_test_multiple.
13727
13728         * gdb.base/step-test.exp: Update copyright.  Use
13729         gdb_test_multiple.  Ensure that test names do not include
13730         architecture dependent output.
13731
13732         * gdb.gdb/observer.exp: Update copyright.
13733         (setup_test): Use gdb_test_multiple.
13734         (attach_first_observer, attach_second_observer)
13735         (attach_third_observer, detach_first_observer)
13736         (detach_second_observer, detach_third_observer)
13737         (reset_counters, check_counters): Make $message a prefix.
13738         (test_normal_stop_notifications): Add "args" parameter - a list of
13739         init functions to be called.  Make $message a prefix,
13740         (test_observer_normal_stop): Change the message prefixes so that
13741         they are unique, pass the attach / detach procedures to
13742         test_normal_stop_notifications.
13743
13744         * gdb.base/signull.exp (test_segv): Prefix all tests with
13745         "${name}".  Clean up test messages.
13746
13747         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
13748
13749         * gdb.base/ena-dis-br.exp: Update copyright.
13750         (break_at): New function.  Replace send_gdb with gdb_test,
13751         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
13752         ignore count, not stopped at bpt", with KFAIL.
13753
13754 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
13755
13756         * gdb.base/attach.exp: Remove cleanupfile handling.
13757
13758 2004-07-12  Andrew Cagney  <cagney@gnu.org>
13759
13760         * gdb.base/annota1.exp: Cleanup corefile test name.
13761         * gdb.base/annota3.exp: Ditto.
13762
13763 2004-07-12  Andrew Cagney  <cagney@gnu.org>
13764
13765         * gdb.base/signals.exp: Clean up copyright, re-indent.
13766
13767         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
13768         gdb_test and gdb_test_multiple.
13769
13770 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
13771
13772         * gdb.java/jmain.exp: Fix expected line number for main to
13773         break at.  Set XFAIL for break at main test since gcj does not
13774         provide line number info for first statement in main.
13775
13776 2004-07-08  Andrew Cagney  <cagney@gnu.org>
13777
13778         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
13779
13780         * gdb.base/sigbpt.exp: Make the common part of each test name a
13781         prefix instead of suffix.
13782
13783 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
13784
13785         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
13786         test from test_tbreak_creation_and_listing to
13787         test_file_list_exec_source_file
13788         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
13789         Changed name of test from test_tbreak_creation_and_listing to
13790         test_file_list_exec_source_file
13791
13792 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
13793
13794         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
13795         the jmisc() constructor instead of <init>.
13796         * gdb.java/jmisc1.exp: Ditto.
13797
13798 2004-07-07  Andrew Cagney  <cagney@gnu.org>
13799
13800         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
13801         corrupting the PC.
13802
13803 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
13804
13805         * gdb.cp/templates.exp: Accept whitespace change in demangler
13806         output.
13807
13808 2004-07-06  Andrew Cagney  <cagney@gnu.org>
13809
13810         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
13811
13812 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
13813
13814         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
13815         * lib/compiler.cc: Likewise.
13816
13817 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
13818
13819         * lib/compiler.cc: Work around string preprocessing problem
13820         with old hp c++ compiler.
13821         * lib/compiler.c: Likewise.
13822
13823 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
13824
13825         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
13826         directives to conditionalize symbol prefixing.
13827         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
13828         additional_flags handling.  Add underscore prefix for Cygwin.
13829         * gdb.arch/i386-unwind.c: Use preprocessor directives to
13830         conditionalize symbol prefixing.
13831         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
13832         additional_flags handling.  Add underscore prefix for Cygwin.
13833
13834 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
13835
13836         * gdb.base/bigcore.exp: Skip test on Cygwin.
13837
13838 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
13839
13840         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
13841         formats for "info register".  Use gdb_test_multiple.  Fix
13842         the "invalid register" test.
13843
13844 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
13845
13846         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
13847         PID for Cygwin.  Add Cygwin specific strings to check for in some
13848         tests.
13849         (do_attach_tests): Add a test for user interaction when attaching
13850         to a process with no matching symbol table already loaded.
13851
13852 2004-06-26  Andrew Cagney  <cagney@gnu.org>
13853
13854         Test PR java/1567 and PR java/1565.
13855         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
13856         * gdb.java/jmisc2.exp: Delete file.
13857
13858 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
13859
13860         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
13861
13862 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
13863
13864         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
13865         attach process.
13866
13867 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
13868
13869         * gdb.cp/pr-1553.exp: Remove.
13870
13871 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
13872
13873         * gdb.cp/pr-1553.cc: Remove.
13874         * gdb.cp/pr-1553.exp: Disable this test.
13875
13876 2004-06-20  Jim Blandy  <jimb@redhat.com>
13877
13878         Fix PR testsuite/1680.
13879         * gdb.arch/i386-sse.exp: Properly quote curly braces in
13880         regular expressions.
13881
13882 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
13883
13884         Fix PR testsuite/1679.
13885         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
13886         Issue an UNSUPPORTED result instead.
13887
13888 2004-06-18  Jim Blandy  <jimb@redhat.com>
13889
13890         * gdb.base/charset.exp: Only send a control-C if we see a new
13891         prompt and incomplete command.
13892
13893 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
13894
13895         * gdb.cp/pr-574.cc: Add copyright notice.
13896
13897 2004-06-17  Jim Blandy  <jimb@redhat.com>
13898
13899         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
13900         cases where the regexp has no groups; this grabs random text from
13901         the previous test suite, whatever that was.
13902
13903 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
13904
13905         * gdb.cp/printmethod.cc: Add copyright notice.
13906
13907 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
13908
13909         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
13910
13911 2004-06-16  Andrew Cagney  <cagney@gnu.org>
13912
13913         * gdb.base/signull.c: Update copyright.  Include <string.h>.
13914         (bowler): Replace data_pointer with data_read
13915         and data_write cases.  Add code_descriptor case.
13916         (zero, desc): New array and pointer.
13917         (data, code): Change to simple pointers.
13918         * gdb.base/signull.exp: Fix probe pattern matching a function
13919         descriptor SIGSEGV.  Replace data_pointer with data_read and
13920         data_write tests.
13921
13922 2004-06-16  Andrew Cagney  <cagney@gnu.org>
13923
13924         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
13925
13926 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
13927
13928         * gdb.base/long_long.c: Add copyright notice.
13929
13930 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
13931
13932         * gdb.base/long_long.exp: Remove reference to
13933         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
13934         to gdb_breakpoint and gdb_continue_to_breakpoint.
13935
13936 2004-06-14  Jim Blandy  <jimb@redhat.com>
13937
13938         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
13939         endian case.
13940
13941 2004-06-14  Andrew Cagney  <cagney@gnu.org>
13942
13943         * gdb.base/gcore.exp (capture_command_output): Delete the always
13944         passing tests containing inferior values.
13945         * gdb.base/ending-run.exp: Do not include the breakpoint address
13946         in the test message.  Update copyright.
13947         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
13948         size in the test name, use gdb_test_multiple.  Update copyright.
13949
13950 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
13951
13952         * gdb.cp/ref-types.cc: Add copyright notice.
13953
13954 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
13955
13956         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
13957         hp_aCC_compiler.
13958         * lib/compiler.cc: Likewise.
13959         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
13960         'set' commands.  Log diagnostics for other lines.  Set
13961         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
13962
13963 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
13964
13965         * gdb.cp/try_catch.cc: Add copyright notice.
13966
13967 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
13968
13969         * gdb.cp/userdef.cc: Add copyright notice.
13970
13971 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
13972
13973         * gdb.cp/virtfunc.cc: Add copyright notice.
13974
13975 2004-06-11  Randolph Chung  <tausq@debian.org>
13976
13977         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
13978         problem.
13979
13980 2004-06-10  Andrew Cagney  <cagney@gnu.org>
13981
13982         * lib/compiler.cc, lib/compiler.c: Append either
13983         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
13984         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
13985         instead of gcc-3-3.
13986
13987 2004-06-09  Andrew Cagney  <cagney@gnu.org>
13988
13989         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
13990         gdb/1455, bug is specific to "long long" and "double".
13991
13992         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
13993         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
13994         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
13995         fixed.
13996
13997 2004-06-09  Andrew Cagney  <cagney@gnu.org>
13998
13999         * gdb.base/structs.exp (test_struct_returns): Replace
14000         "return_value_unknown" and "finish_value_unknown" by
14001         "return_value_known" and "finish_value_known".  Instead of
14002         "return_value_unknown" iff "finish_value_unknown", check
14003         "return_value_known" implies "finish_value_known".
14004
14005 2004-06-08  Martin Hunt  <hunt@redhat.com>
14006
14007         * gdb.base/float.exp: Add pattern for mips targets.
14008
14009 2004-06-08  Randolph Chung  <tausq@debian.org>
14010
14011         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14012         message for unknown architectures more clear.
14013
14014 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
14015
14016         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14017         start the execution of the program.
14018
14019 2004-06-07  Jim Blandy  <jimb@redhat.com>
14020
14021         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14022         * gdb.arch/i386-cpuid.h: New helper file.
14023
14024 2004-06-07  Randolph Chung  <tausq@debian.org>
14025
14026         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14027         has started.
14028
14029 2004-06-04  Roland McGrath  <roland@redhat.com>
14030
14031         Fix PR gdb/1647.
14032         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14033         differently to be robust to output buffering differences.
14034
14035 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
14036
14037         * gdb.threads/pthreads.exp: Update copyright years.
14038         (check_control_c): Change asynchronous 'after' to synchronous.
14039
14040 2004-06-04  Roland McGrath  <roland@redhat.com>
14041
14042         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14043         next gdb prompt.
14044
14045 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
14046
14047         Fix PR gdb/1636.
14048         * gdb.threads/manythreads.exp: Change asynchronous 'after'
14049         calls to synchronous.
14050
14051 2004-05-26  Jim Blandy  <jimb@redhat.com>
14052
14053         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14054
14055 2004-05-24  Randolph Chung  <tausq@debian.org>
14056
14057         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14058         * gdb.asm/pa.inc: New file.
14059
14060 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
14061
14062         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14063
14064 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
14065             Daniel Jacobowitz  <drow@mvista.com>
14066
14067         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14068         GDB prompt.
14069
14070 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14071
14072         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
14073         setjmp/longjmp.  Use sigaction instead of signal.
14074
14075 2004-05-19  J. Brobecker  <brobecker@gnat.com>
14076             Michael Snyder  <msnyder@redhat.com>
14077
14078         * gdb.threads/pthread_cond_wait.c: New file.
14079         * gdb.threads/pthread_cond_wait.exp: New testcase.
14080
14081 2004-05-13  Andrew Cagney  <cagney@redhat.com>
14082
14083         * gdb.base/signull.exp, gdb.base/signull.c: New files.
14084         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14085
14086 2004-05-11  Andrew Cagney  <cagney@redhat.com>
14087
14088         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
14089         fixed but revealed gdb/1639.
14090
14091 2004-05-10  Andrew Cagney  <cagney@redhat.com>
14092
14093         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14094         func1" and "next to 2nd alarm", kernel bug avoided.
14095
14096 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
14097
14098         PR external/1568
14099         * gdb.base/bigcore.exp: Check the size of the dumped core file.
14100         XFAIL if it is smaller than bytes_allocated.
14101         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14102         (main): Make chunks_allocated unsigned.  Correct comment.
14103
14104 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
14105
14106         * gdb.arch/powerpc-aix-prologue.c: New file.
14107         * gdb.arch/powerpc-aix-prologue.exp: New file.
14108
14109 2004-05-07  Jim Blandy  <jimb@redhat.com>
14110
14111         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14112         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14113
14114 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
14115
14116         * gdb.base/sep.exp: No longer setup_kfail when the program was
14117         built with dwarf2.
14118
14119 2004-05-05  Jim Ingham  <jingham@apple.com>
14120
14121         * gdb.base/pending.exp: Make sure pending breakpoints
14122         preserve the ignore count.
14123
14124 2004-04-27  Jerome Guitton  <guitton@gnat.com>
14125
14126         * i386-prologue.exp: Add testcase for jump instruction as first
14127         instruction of the real code.
14128         * i386-prologue.c (jump_at_beginning): New function.
14129
14130 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
14131
14132         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14133         x86_64-*-*.
14134
14135 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
14136
14137         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14138         i*86-*-*.
14139
14140 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
14141
14142         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14143         expression that checks the return type.
14144
14145 2004-04-23  Andrew Cagney  <cagney@redhat.com>
14146
14147         * gdb.base/call-sc.exp: New test of scalar call/return values.
14148         * gdb.base/call-sc.c: Ditto.
14149
14150 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14151
14152         * gdb.threads/manythreads.c: Reduce thread stack size.
14153
14154 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
14155
14156         * gdb.threads/manythreads.c: Add copyright notice.
14157
14158 2004-04-23  Andrew Cagney  <cagney@redhat.com>
14159
14160         * gdb.base/siginfo.exp: Better handle step out of signal.
14161         * gdb.base/sigstep.exp: Ditto.
14162
14163 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
14164             Daniel Jacobowitz  <drow@mvista.com>
14165
14166         * gdb.threads/manythreads.c: New testcase.
14167         * gdb.threads/manythreads.exp: Ditto.
14168
14169 2004-04-22  Jim Blandy  <jimb@redhat.com>
14170
14171         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14172         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14173
14174 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
14175
14176         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14177
14178 2004-04-21  Andrew Cagney  <cagney@redhat.com>
14179
14180         * gdb.base/sigstep.c: New file.
14181         * gdb.base/sigstep.exp: New file.
14182
14183 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
14184
14185         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14186         call to observer_notify_normal_stop.
14187
14188 2004-04-15  Andrew Cagney  <cagney@redhat.com>
14189
14190         * gdb.base/siginfo.c: New file.
14191         * gdb.base/siginfo.exp: New file.
14192
14193 2004-04-12  J. Brobecker  <brobecker@gnat.com>
14194
14195         * gdb.base/sep.exp: Fix typo in comment.
14196
14197 2004-04-12  J. Brobecker  <brobecker@gnat.com>
14198
14199         * gdb.base/sep.c: New file.
14200         * gdb.base/sep-proc.c: New file.
14201         * gdb.base/sep.exp: New testcase.
14202
14203 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
14204
14205         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
14206         support.
14207
14208 2004-04-05  Andrew Cagney  <cagney@redhat.com>
14209
14210         * gdb.base/sigaltstack.c: New file.
14211         * gdb.base/sigaltstack.exp: New file.
14212
14213 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
14214
14215         * gdb.base/foll-fork.exp: Update the expected output for
14216         "help set follow-fork-mode", to match a change that was made
14217         to the help of this variable on 2004-01-13.
14218
14219 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14220
14221         * lib/ada.exp: Add copyright notice.
14222         * bar.ads: Likewise.
14223         * bar.adb: Likewise.
14224         * null_record.adb: Likewise.
14225         * null_record.exp: Likewise.
14226         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
14227
14228 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14229
14230         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14231         * configure: Regenerate.
14232
14233 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14234
14235         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
14236         to build the application. Remove the message printed when in
14237         verbose mode, redundant with the UNSUPPORTED message above.
14238
14239 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14240
14241         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
14242         * gdb.ada (null_record.exp): New testcase.
14243
14244 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14245
14246         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
14247
14248 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14249
14250         * gdb.ada: New subdirectory.
14251         * gdb.ada/Makefile.in: New file.
14252         * gdb.ada/gnat_ada.gpr.in: New file.
14253
14254 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14255
14256         * lib/ada.exp: New file.
14257
14258 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
14259
14260         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14261         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
14262
14263 2004-03-22  Andrew Cagney  <cagney@redhat.com>
14264
14265         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
14266         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
14267         Problem identified by Ulrich Weigand.
14268
14269 2004-03-17  David Carlton  <carlton@kealia.com>
14270
14271         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
14272         PR c++/826.
14273
14274 2004-03-16  Roland McGrath  <roland@redhat.com>
14275
14276         * gdb.base/auxv.exp: New file.
14277         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
14278
14279 2004-03-12  David Carlton  <carlton@kealia.com>
14280
14281         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
14282         * gdb.cp/pr-1553.cc: Ditto.
14283         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
14284         pass branch.
14285
14286 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
14287
14288         * gdb.cp/templates.exp: Accept more template types.
14289
14290 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14291
14292         From Corinna Vinschen with modifications.
14293         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
14294         local variable obj_with_enum.
14295         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
14296         results with obj_with_enum.
14297
14298 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14299
14300         * gdb.cp/classes.cc: New file, copied from misc.cc.
14301         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
14302
14303 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14304
14305         * gdb.cp/misc.cc: Add copyright notice.
14306
14307 2004-03-05  David Carlton  <carlton@kealia.com>
14308
14309         * gdb.cp/rtti.exp: Add 'print *obj3' test.
14310         * gdb.cp/rtti.h: Update copyright.
14311         (namespace n2::n3): New.
14312         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
14313         (n2::n3::func3): New.
14314         (main): Call n2::n3::func3.
14315         * gdb.cp/rtti2.cc: Update copyright.
14316         (n2::create3): New.
14317
14318 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
14319
14320         * gdb.asm/openbsd.inc: Fix typo.
14321
14322 2004-03-03  Fred Fish  <fnf@redhat.com>
14323
14324         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
14325         "val" instead of unused "size".  Update copyright year.
14326
14327 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
14328
14329         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
14330         to use unsigned char.
14331         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
14332         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
14333
14334 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
14335
14336         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
14337         line of output.
14338
14339 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
14340
14341         * gdb.base/relocate.c (dummy): Initialize.
14342
14343 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
14344
14345         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
14346         a breakpoint at exit.
14347
14348 2004-02-27  Fred Fish  <fnf@redhat.com>
14349
14350         * gdb.base/chng-syms.exp: Add expect condition to match failing
14351         case that isn't a timeout.
14352
14353 2004-02-27  Andrew Cagney  <cagney@redhat.com>
14354
14355         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
14356         support.
14357
14358 2004-02-26  Fred Fish  <fnf@redhat.com>
14359
14360         * gdb.arch/gdb1431.c: Remove.
14361         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
14362         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
14363         of "until" incorrectly.
14364
14365 2004-02-26  J. Brobecker  <brobecker@gnat.com>
14366
14367         * gdb.cp/class2.cc (empty): New class.
14368         (refer): New function.
14369         (main): Declare an object of type empty and use it.
14370         * gdb.cp/class2.exp: Print the value of an object of type empty.
14371
14372 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
14373
14374         * gdb.base/langs.exp: Update query string to match the
14375         new nquery format used for pending breakpoints.
14376
14377 2004-02-26  Andrew Cagney  <cagney@redhat.com>
14378
14379         Fix PR i18n/1570.
14380         * gdb.base/charset.c: Update copyright notice.
14381         (main, init_string): Remove the escape character '\e' tests.
14382         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
14383         * gdb.base/charset.exp (valid_host_charset): Ditto.
14384         * gdb.base/setvar.exp: Ditto.
14385
14386 2004-02-24  Andrew Cagney  <cagney@redhat.com>
14387
14388         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
14389         mmapped data in core file" PASS and FAIL messages consistent.
14390
14391         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
14392         setting a breakpoint.  Work around PR java/1565.
14393
14394 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
14395
14396         * lib/gdb.exp (gdb_breakpoint): Update query string to match
14397         new nquery format.
14398         * gdb.base/pending.exp: Ditto.
14399
14400 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
14401
14402         * configure.in: Run stabs tests on *BSD.
14403         * configure: Regenerated.
14404
14405 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
14406
14407         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
14408
14409 2004-02-20  Fred Fish  <fnf@redhat.com>
14410
14411         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
14412         blank in test for "returns short", for consistency with other
14413         "returns xxx" tests.  Update copyright year.
14414
14415 2004-02-19  Fred Fish  <fnf@redhat.com>
14416
14417         New testcase for PR breakpoint/1558.
14418         * gdb.arch/gdb1558.exp: New file.
14419         * gdb.arch/gdb1558.c: New file.
14420
14421 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
14422
14423         * gdb.base/nodebug.exp: Fix typo.
14424
14425 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14426
14427         Committed by Jim Blandy  <jimb@redhat.com>.
14428
14429         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
14430
14431         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
14432
14433         * gdb.base/float.exp: Support s390*-*-* targets.
14434
14435 2004-02-17  Adam Fedor  <fedor@gnu.org>
14436
14437         * gdb.base/gdb1555.exp: New file.
14438         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
14439
14440 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
14441
14442         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
14443
14444 2004-02-16  Fred Fish  <fnf@redhat.com>
14445
14446         * gdb.arch/gdb1291.c: Remove
14447         * gdb.arch/gdb1291.s: New test input file.
14448         * gdb.arch/gdb1291.exp: Expand test to check case that should not
14449         fail.  Test for correct result, known incorrect result, other
14450         failures and timeouts.
14451
14452 2004-02-16  Andrew Cagney  <cagney@redhat.com>
14453
14454         * gdb.base/bigcore.exp: New file.
14455         * gdb.base/bigcore.c: New file.
14456
14457 2004-02-13  Andrew Cagney  <cagney@redhat.com>
14458
14459         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14460         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14461         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14462         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14463         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14464         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14465         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14466         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14467         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14468         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14469
14470 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
14471
14472         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14473         executed is an alloc instruction.
14474
14475 2004-02-11  David Carlton  <carlton@kealia.com>
14476
14477         * gdb.cp/breakpoint.exp: New.
14478         * gdb.cp/breakpoint.cc: New.
14479
14480 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
14481
14482         Partial fix for PR gdb/1543.
14483         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14484         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14485         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14486         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14487         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14488         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14489         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14490         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14491         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
14492         to bug-gdb@prep.ai.mit.edu .
14493         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
14494         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
14495         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
14496         Likewise.
14497
14498 2004-02-10  Andrew Cagney  <cagney@redhat.com>
14499
14500         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
14501         using gdb_internal_error_resync.
14502
14503 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
14504
14505         * gdb.threads/thread-specific.exp: Stop early if no threads are
14506         found.
14507
14508 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
14509
14510         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14511
14512 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
14513
14514         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
14515         breakpoints.
14516
14517 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
14518
14519         * config/sim.exp (gdb_load): Handle $arg == "".
14520         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
14521         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
14522
14523 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
14524
14525         * gdb.base/maint.exp: Update test to reflect
14526          obstack changes.
14527
14528 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
14529
14530         * gdb.base/pendshr.c (pendfunc): New function that calls
14531         pendfunc1.
14532         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
14533
14534 2004-02-04  Fred Fish  <fnf@redhat.com>
14535
14536         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
14537         function symbols and update copyright years.
14538         * gdb.arch/gdb1291.c: Ditto.
14539
14540 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14541
14542         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
14543
14544 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14545
14546         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14547
14548 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14549
14550         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
14551
14552 2004-02-02  Fred Fish  <fnf@redhat.com>
14553
14554         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
14555         remote targets.  Update copyright years.
14556
14557 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
14558
14559         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
14560         support.
14561         * gdb.base/langs.exp: Fix test which attempts to create
14562         breakpoint on non-existent function to handle new pending
14563         support.
14564         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14565         a breakpoint.
14566         * gdb.base/pending.exp: New test.
14567         * gdb.base/pending.c: New file.
14568         * gdb.base/pendshr.c: Ditto.
14569
14570 2004-02-02  David Carlton  <carlton@kealia.com>
14571
14572         * gdb.cp/overload.exp: Add overloadNamespace tests.
14573         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
14574         (overloadNamespace, XXX): New.
14575         (main): Call XXX::marker2.
14576
14577 2004-02-01  Fred Fish  <fnf@redhat.com>
14578
14579         * gdb.base/dump.exp: Use runto_main instead of "runto main".
14580         * gdb.base/finish.exp: Ditto.
14581         * gdb.base/gcore.exp: Ditto.
14582         * gdb.base/huge.exp: Ditto.
14583         * gdb.base/info-proc.exp: Ditto.
14584         * gdb.base/return2.exp: Ditto.
14585         * gdb.threads/gcore-thread.exp: Ditto.
14586
14587 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14588
14589         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
14590
14591 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
14592
14593         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
14594         that opening the file succeeds on OpenBSD.
14595
14596 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14597
14598         * gdb.threads/thread-specific.c: New file.
14599         * gdb.threads/threads-specific.exp: New test script.
14600         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
14601         to expect_out.
14602
14603 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
14604
14605         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
14606         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
14607         only on the "print_small_structs from print_long_arg_list" test.
14608
14609 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14610
14611         * gdb.base/completion.exp: Kill a stray backslash.
14612
14613         From Jim Ingham <jingham@apple.com>:
14614         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
14615         agrees with the result from sending a tab.
14616
14617 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
14618
14619         * gdb.base/chng-syms.exp: Remove stray newline.
14620
14621 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
14622
14623         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
14624         *-*-openbsd*.
14625         * gdb.asm/openbsd.inc: New file.
14626
14627 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
14628
14629         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
14630         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
14631         *-*solaris2*.  Remove commented out default settings for
14632         asm-flags.  Replace gdb_compile with target_link.
14633
14634 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
14635
14636         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
14637         for all tests.  Remove old hp-ux and cygnus xfail cases.
14638
14639 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
14640
14641         * gdb.base/chng-syms.exp: New file.
14642         * gdb.base/chng-syms.c: New file.
14643
14644 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
14645
14646         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
14647         Provide arms for current output in all my configurations.
14648
14649 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
14650
14651         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
14652         * lib/compiler.cc: Likewise.
14653         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
14654         get the right preprocessor.  Eval the output directly.  Remove
14655         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
14656         hp_f77_compiler and hp_f90_compiler completely.
14657         (gdb_preprocess): Delete.
14658         (get_compiler): Delete.
14659
14660 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
14661
14662         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
14663         <string.h>.
14664
14665 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
14666
14667         * gdb.mi/mi-stack.exp: Update copyright.
14668
14669 2004-01-23  David Carlton  <carlton@kealia.com>
14670
14671         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
14672         test for cp_lookup_transparent_type.
14673         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
14674         call them.
14675
14676 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
14677
14678         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
14679         after -var-update.
14680
14681 2004-01-23  David Carlton  <carlton@kealia.com>
14682
14683         * gdb.cp/namespace.cc (C::ensureRefs): New.
14684         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
14685
14686 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
14687
14688         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
14689         case "-stack-list-locals 2".
14690         * gdb.mi/mi-var-child.exp: Test for case
14691         "-var-list-children --all-values NAME".
14692
14693 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
14694
14695         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
14696
14697 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
14698
14699         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
14700         used with gdb_test_multiple.
14701
14702         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
14703         read at address 0.  This fixes PR testsuite/1504.
14704
14705 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
14706
14707         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
14708         Remove downloading, guessing the host executable, the calls to
14709         gdb_file_cmd and gdb_target_cmd, and "load" support.
14710         (infer_host_exec): New function broken out from gdb_load.
14711         (gdb_load): New wrapper for gdbserver_gdb_load.
14712         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
14713         gdb_target_cmd.  Use -target-select.
14714         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
14715         Download binaries to the host.  Clear last_mi_remote_file when
14716         we load a new binary.
14717         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
14718         call gdbserver_gdb_load and mi_gdb_target_cmd.
14719
14720 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
14721
14722         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
14723         type patterns.
14724
14725 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
14726
14727         * gdb.cp/templates.exp: Fix typo in test name of
14728         "print Foo<volatile char*>::foo".
14729
14730 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
14731
14732         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
14733
14734 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
14735
14736         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
14737         (clean mostlyclean): Remove empty rm.
14738
14739 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
14740
14741         * gdb.base/setvar.exp: Add copyright years.
14742
14743 2004-01-14  David Carlton  <carlton@bactrian.org>
14744
14745         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
14746         PR c++/1511 and update coment.
14747         * gdb.cp/templates.exp: Update patterns to match current output.
14748         If changes involve something other than whitespace, KFAIL
14749         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
14750
14751 2004-01-14  David Carlton  <carlton@kealia.com>
14752
14753         * gdb.cp/namespace.exp: Add tests involving classes defined within
14754         namespaces.
14755         * gdb.cp/namespace.cc (C::CClass): New.
14756         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
14757
14758 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
14759
14760         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
14761         what debug info we have. Print a better message if something goes
14762         wrong while producing the separate debug info file.
14763
14764 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
14765
14766         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
14767
14768 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
14769
14770         * gdb.base/callfuncs.c: Add copyright notice.
14771
14772 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
14773
14774         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
14775         inheritance.  PR gdb/1498, PR gcc/13539.
14776
14777 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
14778
14779          * gdb.threads/gcore-thread.exp: Prefix name of binary with
14780          test specific name.
14781          * gdb.mi/gdb669.exp: Ditto.
14782          * gdb.mi/mi-pthreads.exp: Ditto.
14783          * gdb.mi/mi1-pthreads.exp: Ditto.
14784          * gdb.mi/mi2-pthreads.exp: Ditto.
14785
14786 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
14787
14788         * gdb.cp/member-ptr.cc: Add copyright notice.
14789
14790 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
14791
14792         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
14793         some patterns for recent versions of gcc and hpacc.  Delete
14794         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
14795         Delete tests that access a NULL pointer-to-member-data.  This
14796         script is still disabled for gcc.
14797
14798 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
14799
14800         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
14801         escaped correctly.
14802
14803 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
14804
14805         * gdb.base/sepdebug.exp: New file.
14806         * gdb.base/sepdebug.c: New file.
14807         * lib/gdb.exp (separate_debug_filename): New procedure.
14808         (gdb_gnu_strip_debug): New procedure.
14809
14810 2004-01-12  Andrew Cagney  <cagney@redhat.com>
14811
14812         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
14813         * gdb.mi/ChangeLog-1999-2003: New file.
14814
14815 2004-01-12  Andrew Cagney  <cagney@redhat.com>
14816
14817         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
14818         "Renaming a directory to a non-empty directory returns ENOTEMPTY
14819         or EEXIST", treat EBUSY as an XFAIL.
14820
14821 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
14822
14823         * gdb.base/scope.exp: Remove obsolete setup_xfail for
14824         hp_cc_compiler.
14825
14826 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
14827
14828         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
14829         decorations.
14830
14831 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
14832
14833         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
14834         and "(aCC)" decorations.  Remove obsolete doco about old
14835         test results.
14836
14837 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
14838
14839         * gdb.cp/exception.exp: Fix typo in doco.
14840
14841 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
14842
14843         * gdb.base/gdb1476.exp: Fix typo.
14844
14845 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
14846
14847         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
14848         file.
14849
14850 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
14851
14852         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
14853         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
14854         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
14855         for recent version of gdb.  Delete second half, which was a copy
14856         of the first half with different build flags.  This test is
14857         still disabled because it is still not ready for production.
14858
14859 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
14860
14861         * gdb.cp/exception.cc: Add copyright notice.
14862         * gdb.cp/exception.exp: Add a notice that this file is broken
14863         because of line number changes caused by addition of copyright
14864         notice.
14865
14866 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
14867
14868         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
14869         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
14870
14871 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
14872
14873         * gdb.cp/classes.exp: Accept gnu abi 2.
14874         * gdb.cp/derivation.exp: Likewise.
14875         * gdb.cp/overload.exp: Likewise.
14876         * gdb.cp/virtfunc.exp: Likewise.
14877
14878 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
14879
14880         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
14881         semicolon after end of function.
14882
14883 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14884
14885         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
14886         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
14887         boilerplate code for compiling and running the program under
14888         test.  Add some string method tests.
14889
14890 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14891
14892         * gdb.cp/bs15503.cc: Add copyright notice.
14893         * gdb.cp/bs15503.exp: Adjust line number.
14894
14895 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14896
14897         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
14898         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
14899
14900 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14901
14902         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
14903         hp_cc_compiler.
14904
14905 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14906
14907         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
14908         * gdb.cp/ctti.exp: Use the marker instead of "next".
14909         With gcc, run further before bailing.
14910
14911 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14912
14913         * gdb.cp/cttiadd.cc: Add copyright notice.
14914         * gdb.cp/cttiadd1.cc: Likewise.
14915         * gdb.cp/cttiadd2.cc: Likewise.
14916         * gdb.cp/cttiadd3.cc: Likewise.
14917
14918 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14919
14920         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
14921         Use gdb_test, gdb_test_multiple.  Use floating-point values that
14922         have exact representations in IEEE-ish formats.
14923
14924 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14925
14926         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
14927         compilers.  Delete duplicate call to get_compiler_info.
14928         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
14929         * gdb.base/volatile.exp: Likewise.
14930
14931 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
14932
14933         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
14934         memory at address 0.
14935
14936 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
14937
14938         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
14939         to test for hp-ux assembler.  Fix copyright years.
14940
14941 2004-01-07  Andrew Cagney  <cagney@redhat.com>
14942
14943         * gdb.base/fileio.c (strerrno): Add "EBUSY".
14944
14945 2004-01-07  Andrew Cagney  <cagney@redhat.com>
14946
14947         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
14948         when creating the read-only file.  From analysis by Roland McGrath
14949         and Elena Zannoni.
14950
14951 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
14952
14953         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
14954
14955 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
14956
14957         * gdb.base/cvexpr.c: Be type-safe with function pointers and
14958         data pointers.
14959
14960 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
14961
14962         * gdb.cp/m-static.exp: Compile one source file at a time.
14963         Delete unused call to get_compiler_info.
14964
14965 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
14966
14967         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
14968         * gdb.base/call-rt-st.exp: Likewise.
14969         * gdb.base/nodebug.exp: Likewise.
14970         * gdb.base/volatile.exp: Likewise.
14971         * gdb.cp/ref-types.exp: Likewise.
14972         * gdb.cp/templates.exp: Likewise.
14973
14974 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
14975
14976         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
14977
14978 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
14979
14980         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
14981         hppa*-hp-hpux*.
14982
14983 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
14984
14985         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14986         x86_64-*-*.
14987
14988         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14989         sparc64-*-* and sparc*-solaris2*.
14990
14991 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
14992
14993         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
14994         return ${tests}" test.  The ${tests} already mentions the
14995         filename.
14996
14997 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
14998
14999         * gdb.cp/local.exp: Accept gcc abi 2.
15000
15001 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
15002
15003         * gdb.cp/templates.exp: Accept gcc abi 2.
15004
15005 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
15006
15007         * lib/compiler.cc: Remove supports_template_debugging.
15008         * gdb.cp/templates.exp: Do not test supports_template_debugging.
15009
15010 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15011
15012         * gdb.cp/namespace.exp: Accept gcc abi 2.
15013
15014 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15015
15016         * gdb.cp/method.exp: Accept gcc abi 2.
15017
15018 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15019
15020         * gdb.cp/classes.exp: Generate identical results as old version.
15021         * gdb.cp/derivation.exp: Likewise.
15022         * gdb.cp/overload.exp: Likewise.
15023         * gdb.cp/virtfunc.exp: Likewise.
15024
15025 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15026
15027         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15028         mysterious bug with sourceware version of expect.
15029
15030 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15031
15032         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
15033         current versions of gcc, including gcc abi 2.  Remove gratuitous
15034         restart of test program.  Use gdb_test_multiple and gdb_test for
15035         all tests.  Add patterns to xfail missing "const" in "const char *"
15036         and kfail PR gdb/1155.
15037
15038 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15039
15040         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
15041         current versions of gcc, including gcc abi 2.  Remove gratuitous
15042         restart of test program.  Use gdb_test_multiple and gdb_test for
15043         all tests.  Add patterns to kfail PR gdb/1498.
15044
15045 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
15046
15047         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
15048         current versions of gcc, including gcc abi 2.  Use "breakpoint"
15049         and "continue" instead of restarting the target program.  Use
15050         gdb_test_multiple and gdb_test for all tests.
15051
15052 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
15053
15054         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
15055         for *-*-solaris2*.
15056
15057 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
15058
15059         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
15060         current versions of gcc, including gcc abi 2.  Use "breakpoint"
15061         and "continue" instead of restarting the target program several
15062         times.  Use gdb_test_multiple and gdb_test for all tests.
15063
15064 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
15065
15066         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15067         source files.
15068
15069 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
15070
15071         * gdb.base/environ.exp: Handle compiling test case from multiple
15072         source files.
15073
15074 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
15075
15076         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15077
15078 2003-12-17  Jim Blandy  <jimb@redhat.com>
15079
15080         * gdb.base/freebpcmd.c: Add copyright notice.
15081
15082         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15083
15084 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
15085
15086         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15087
15088 2003-12-13  Jim Blandy  <jimb@redhat.com>
15089
15090         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15091
15092 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
15093
15094         * gdb.asm/frv.inc: New file.
15095         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15096
15097 2003-12-09  Fred Fish  <fnf@redhat.com>
15098
15099         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15100         functions to break1.c and leave prototypes behind.  Add more
15101         "set breakpoint NN here" comments.
15102         * gdb.base/break1.c: New file.
15103
15104         * gdb.base/break.exp: Handle compiling test case from multiple
15105         source files and change source file references as needed.
15106         * gdb.base/completion.exp: Ditto.
15107         * gdb.base/condbreak.exp: Ditto.
15108         * gdb.base/define.exp: Ditto.
15109         * gdb.base/ena-dis-br.exp: Ditto.
15110         * gdb.base/info-proc.exp: Ditto.
15111         * gdb.base/maint.exp: Ditto.
15112         * gdb.base/until.exp: Ditto.
15113
15114         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15115         hardcoded line numbers.
15116         * gdb.base/define.exp: Ditto.
15117         * gdb.base/ena-dis-br.exp: Ditto.
15118         * gdb.base/maint.exp: Ditto.
15119         * gdb.base/until.exp: Ditto.
15120
15121         * gdb.base/completion.exp: Use "break1" for completion tests since
15122         "break" is no longer a unique prefix.
15123
15124 2003-12-06  Andrew Cagney  <cagney@redhat.com>
15125
15126         * gdb.base/structs.exp (test_struct_returns): When applicable, set
15127         "return_value_unimplemented".  When an unimplemented struct return
15128         architecture, report incorrect values as a KFAIL
15129
15130 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
15131
15132         * gdb.cp/rtti.exp: Accept new wording of warning from
15133         cp_lookup_rtti_type.
15134
15135 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
15136
15137         Partial fix for PR testsuite/1456.
15138         * gdb.base/scope.exp (test_at_main): Replace references to
15139         gcc_compiled with calls to test_compiler_info.
15140         (test_at_foo): Likewise.
15141         (test_at_bar): Likewise.
15142
15143 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
15144
15145         Partial fix for PR testsuite/1456.
15146         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15147         to test_compiler_info.
15148
15149 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
15150
15151         * gdb.base/so-impl-ld.exp: Update copyright notice.
15152
15153 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
15154
15155         Partial fix for PR testsuite/1456.
15156         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15157         to test_compiler_info.
15158
15159 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
15160
15161         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15162         from current versions of gdb.  Clean up regular expressions.
15163         Delete redundant timeout case.
15164
15165 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
15166
15167         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15168         from current versions of gdb.  Clean up regular expressions.
15169         Delete redundant timeout case.
15170
15171 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
15172
15173         Partial fix for PR testsuite/1456.
15174         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15175         gcc_compiled with call to test_compiler_info.
15176
15177 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
15178
15179         Partial fix for PR testsuite/1456.
15180         * gdb.base/list.exp (test_list_function): Delete unused declaration
15181         of gcc_compiled.
15182
15183 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
15184
15185         Partial fix for PR testsuite/1456.
15186         * gdb.base/complex.exp: Replace reference to gcc_compiled with
15187         call to test_compiler_info.
15188
15189 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
15190
15191         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
15192         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
15193         it to create the appropriate note.inc.
15194         * gdb.asm/asmsrc1.s: Include "note.inc".
15195         * gdb.asm/netbsd.inc: New file.
15196         * gdb.asm/empty.inc: New file.
15197
15198 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
15199
15200         Partial fix for PR testsuite/1456.
15201         * gdb.base/constvars.exp: Replace references to gcc_compiled with
15202         calls to test_compiler_info.
15203
15204 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
15205
15206         Partial fix for PR testsuite/1456.
15207         * gdb.base/volatile.exp: Replace references to gcc_compiled with
15208         calls to test_compiler_info.
15209
15210 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
15211
15212         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
15213         pattern for the KFAILs.
15214
15215 2003-11-25  Adam Fedor  <fedor@gnu.org>
15216
15217         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
15218         * gdb.objc/objcdecode.m: New file.
15219
15220 2003-11-25  Adam Fedor  <fedor@gnu.org>
15221
15222         * gdb.objc/nondebug.exp: Test for PR objc/1236.
15223         * gdb.objc/nondebug.m: New file.
15224
15225 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
15226
15227         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15228         NetBSD as it does on FreeBSD.  Modelled on a similar change by
15229         Mark Kettenis on 2003-05-30.
15230         (link-flags): Set to "--entry _start" regardless of target.
15231         Special linker flags are to be appended to $link-flags.
15232         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15233
15234 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15235
15236         * gdb.cp/method.exp: Accept output of new demangler.
15237
15238 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15239
15240         * gdb/class2.exp: New file.
15241         * gdb/class2.cc: New file.
15242
15243 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15244
15245         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
15246         of new demangler.
15247
15248 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
15249
15250         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
15251         of gdb_test "run".
15252
15253 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
15254
15255         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
15256         "continue" into "run".
15257
15258 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
15259
15260         Partial fix for PR testsuite/1456.
15261         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
15262         call to test_compiler_info.
15263         * gdb.cp/ctti.exp: Likewise.
15264         * gdb.cp/derivation.exp: Likewise.
15265         * gdb.cp/member-ptr.exp: Likewise.
15266         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
15267         reference to gcc_compiled.
15268
15269 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
15270
15271         Fix PR testsuite/1463.
15272         * gdb.base/structs.exp (start_structs_test): Call
15273         get_debug_format before using the debug format.
15274
15275 2003-11-22  Andrew Cagney  <cagney@redhat.com>
15276
15277         * lib/gdb.exp (gdb_test_multiple): Add simple example.
15278         * gdb.base/structs.exp: Use gdb_test_multiple.
15279
15280 2003-11-20  Andrew Cagney  <cagney@redhat.com>
15281
15282         * gdb.base/structs.exp: Handle and recover from internal errors.
15283         Replace "foo${n}" with "foo<n>" in test messages.
15284
15285         * gdb.base/structs.exp: Update copyright.  Rewrite.
15286         * gdb.base/structs.c: Update copyright.  Rewrite.
15287
15288         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
15289         resync count exceeded.
15290
15291         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
15292         from the internal error.
15293         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
15294         Original from Jim Blandy.
15295         (gdb_test_multiple): Use gdb_internal_error_resync.
15296
15297 2003-11-19  Andrew Cagney  <cagney@redhat.com>
15298
15299         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
15300         KFAIL.
15301
15302 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
15303
15304         New testcase for PR backtrace/1435.
15305         * gdb.arch/i386-unwind.exp: New file.
15306         * gdb.arch/i386-unwind.c: New file.
15307
15308 2003-11-17  Andrew Cagney  <cagney@redhat.com>
15309
15310         * lib/gdb.exp (compiler_info): New global.
15311         (test_compiler_info): New function.
15312         (get_compiler_info): Set compiler_info.
15313         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
15314         "compiler_info" to gcc-<major>-<minor>.
15315
15316 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
15317
15318         * gdb.trace/configure: Remove.
15319
15320 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
15321
15322         * gdb.base/break.c: Add comments to aid finding line numbers for
15323         breakpoints.
15324         * gdb.base/break.exp: Remove all references to explicit line
15325         numbers.
15326
15327 2003-11-11  Nick Clifton  <nickc@redhat.com>
15328
15329         * gdb.base/shreloc.exp: Do not run for targets which do not
15330         support shared objects.
15331
15332 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
15333
15334         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
15335         Don't run tests if nofileio flag is given.
15336
15337 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
15338
15339         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
15340         as well as 'Watchpoint'.
15341
15342 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
15343
15344         Reported by Jim Ingham <jingham@apple.com>:
15345         * gdb.base/annota1.exp: Match at least one occurrence of the
15346         signal handler annotation.
15347
15348 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
15349
15350         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
15351         as well as 'Watchpoint'.
15352
15353 2003-11-05  Michael Chastain  <mec@shout.net>
15354
15355         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15356
15357 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
15358
15359         * gdb.arch/gdb1291.c: New test file.
15360         * gdb.arch/gdb1291.exp: New test script.
15361         * gdb.arch/gdb1431.c: New test file.
15362         * gdb.arch/gdb1431.exp: New test script.
15363
15364 2003-10-22  Michael Chastain  <mec@shout.net>
15365
15366         * gdb.mi/pthreads.c: Add copyright notice.
15367
15368 2003-10-22  Michael Chastain  <mec@shout.net>
15369
15370         * gdb.threads/pthreads.c: Add copyright notice.
15371
15372 2003-10-20  Michael Chastain  <mec@shout.net>
15373
15374         * gdb.base/gdb1056.exp: New test script.
15375
15376 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
15377
15378         * gdb.threads/killed.exp: Use gdb_run_cmd.
15379
15380 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
15381
15382         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
15383         create a core file.
15384         * gdb.threads/gcore-thread.exp: Likewise.
15385
15386 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
15387
15388         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
15389         type, based on char type.
15390         (struct bit_flags_short_t): New bitfield type, based on short type.
15391         (init_bit_flags_char): New fuction.
15392         (init_bit_flags_short): Ditto.
15393         (print_bit_flags_char): Ditto.
15394         (print_bit_flags_short): Ditto.
15395         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
15396
15397 2003-10-11  Michael Chastain  <mec@shout.net>
15398
15399         * gdb.base/call-rt-st.exp: Update copyright year.
15400
15401 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
15402
15403         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
15404         * gdb.disasm/sh3.s: Ditto.
15405
15406 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
15407
15408         * gdb.threads/switch-threads.exp: New test.
15409         * gdb.threads/switch-threads.c: New source file.
15410
15411 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
15412
15413         * gdb.base/ending-run.exp: Add sh specific case.
15414
15415 2003-10-06  Andrew Cagney  <cagney@redhat.com>
15416
15417         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
15418         * gdb.disasm/mn10200.exp: Delete obsolete file.
15419
15420 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
15421
15422         * ChangeLog: Correct an entry command.exp -> commands.exp.
15423         * gdb.base/commands.exp (bp_deleted_in_command_test)
15424         (temporary_breakpoint_commands): Check noargs.
15425
15426 2003-09-25  David Carlton  <carlton@kealia.com>
15427
15428         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
15429         of some print tests, where appropriate.  Add tests for C::D::cd,
15430         E::ce, F::cXfX, G::XgX.
15431         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
15432
15433 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
15434
15435         * lib/java.exp (java_init): Import target_alias before using it.
15436
15437 2003-09-25  David Carlton  <carlton@kealia.com>
15438
15439         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
15440
15441 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
15442
15443         * gdb.base/selftest.exp: Accomodate more instruction reordering
15444         weirdness.
15445
15446 2003-09-17  Michael Chastain  <mec@shout.net>
15447
15448         * gdb.cp/gdb1355.exp: New file.
15449         * gdb.cp/gdb1355.c: New file.
15450
15451 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
15452
15453         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
15454         * gdb.asm/sh.inc: New file.
15455
15456 2003-09-11  David Carlton  <carlton@kealia.com>
15457
15458         * gdb.cp/namespace.exp: Add tests for namespace types.
15459         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
15460         (test_namespace): New.
15461
15462 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
15463
15464         * gdb.base/relocate.exp: Handle new gdb output at startup.
15465         * gdb.stabs/weird.exp: Ditto.
15466
15467 2003-09-08  Michael Chastain  <mec@shout.net>
15468
15469         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15470
15471 2003-09-07  Michael Chastain  <mec@shout.net>
15472
15473         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15474         'parse error'.
15475
15476 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
15477
15478         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15479
15480 2003-08-30  Michael Chastain  <mec@shout.net>
15481
15482         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15483         * gdb.gdb/observer.exp: Ditto.
15484         * gdb.gdb/xfullpath.exp: Ditto.
15485
15486 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
15487
15488         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15489         *-*-*bsd*.
15490
15491 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
15492
15493         * gdb.base/dump.exp: Skip for ia64.
15494
15495 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
15496
15497         * gdb.asm/asm-source.exp: Add ia64 support.
15498         * gdb.asm/ia64.inc: New file.
15499
15500 2003-08-22  Michael Chastain  <mec@shout.net>
15501
15502         * gdb.cp: New directory.
15503         * gdb.cp/*: Copy from gdb.c++/*.
15504         * gdb.c++/*: Remove.
15505         * Makefile.in: Change gdb.c++ to gdb.cp.
15506         * configure.in:  Ditto.
15507         * configure: Regnerate.
15508
15509 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
15510
15511         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
15512         * gdb.arch/i386-prologue.c (gdb1338): Add function.
15513
15514 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
15515
15516         * mi-var-display.exp (-var-list-children weird): Accept function
15517         pointers with argument types.
15518         * mi1-var-display.exp (-var-list-children weird): Likewise.
15519         * mi2-var-display.exp (-var-list-children weird): Likewise.
15520
15521 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
15522
15523         * gdb.base/annota3.exp: Add missing newline.
15524
15525 2003-08-06  Michael Chastain  <mec@shout.net>
15526
15527         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
15528
15529 2003-08-12  Michael Snyder  <msnyder@redhat.com>
15530
15531         * gdb.base/float.exp: Add test for SH.
15532
15533 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
15534
15535         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
15536
15537 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15538
15539        * gdb.base/completion.exp: Remove reduntant completion test
15540        on filename.
15541
15542 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15543
15544         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
15545         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
15546         gdb.trace/save-trace.exp: Make sure that full pathnames are
15547         escaped correctly.
15548
15549 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15550
15551         * configure.in: Don't generate config.h from config.hin.
15552         * configure: Regenerate.
15553         * config.hin: Remove file.
15554         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
15555         * gdb.threads/pthreads.c: Ditto.
15556
15557 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
15558
15559         From Kei Sakamoto <sakamoto.kei@renesas.com>:
15560         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
15561         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
15562         Replace ld24 with seth/add3.
15563
15564 2003-08-02  Andrew Cagney  <cagney@redhat.com>
15565
15566         * gdb.base/annota3.exp: New file.
15567         * gdb.base/annota3.c: New file.
15568         * gdb.c++/annota3.exp: New file.
15569         * gdb.c++/annota3.cc: New file.
15570
15571 2003-07-29  Michael Chastain  <mec@shout.net>
15572
15573         * gdb.threads/tls.c (spin): Check errno only if sem_wait
15574         actually failed.
15575         (do_pass): Likewise.
15576         * gdb.threads/tls.exp: Always initialize no_of_threads.
15577
15578 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
15579
15580         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
15581         pattern.
15582         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
15583         * gdb.threads/tls.exp: Recognize one case of the host library not
15584         supporting TLS.
15585
15586 2003-07-27  Andrew Cagney  <cagney@redhat.com>
15587
15588         * gdb.base/fileio.exp: Use SH when running commands using
15589         remote_exec.
15590
15591 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
15592
15593         From Kei Sakamoto <sakamoto.kei@renesas.com>:
15594         * gdb.base/relocate.c (dummy): New padding array.
15595
15596 2003-07-22  Michael Snyder  <msnyder@redhat.com>
15597
15598         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
15599
15600         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
15601         patterns to be more general, accepting old and new output.
15602         Some output chars (such as '+') also must be quoted.
15603         Some addresses are displayed numerically instead of
15604         symbolically.
15605
15606 2003-07-23  Michael Snyder  <msnyder@redhat.com>
15607
15608         * gdb.base/return2.exp: Don't test long-long return.
15609
15610         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
15611         * gdb.disasm/t01_mov.exp: Ditto.
15612         * gdb.disasm/t02_mova.s: Ditto.
15613         * gdb.disasm/t02_mova.exp: Ditto.
15614         * gdb.disasm/t03_add.s: Ditto.
15615         * gdb.disasm/t03_add.exp: Ditto.
15616         * gdb.disasm/t04_sub.s: Ditto.
15617         * gdb.disasm/t04_sub.exp: Ditto.
15618         * gdb.disasm/t05_cmp.s: Ditto.
15619         * gdb.disasm/t05_cmp.exp: Ditto.
15620         * gdb.disasm/t06_ari2.s: Ditto.
15621         * gdb.disasm/t06_ari2.exp: Ditto.
15622         * gdb.disasm/t07_ari3.s: Ditto.
15623         * gdb.disasm/t07_ari3.exp: Ditto.
15624         * gdb.disasm/t08_or.s: Ditto.
15625         * gdb.disasm/t08_or.exp: Ditto.
15626         * gdb.disasm/t09_xor.s: Ditto.
15627         * gdb.disasm/t09_xor.exp: Ditto.
15628         * gdb.disasm/t10_and.s: Ditto.
15629         * gdb.disasm/t10_and.exp: Ditto.
15630         * gdb.disasm/t11_logs.s: Ditto.
15631         * gdb.disasm/t11_logs.exp: Ditto.
15632         * gdb.disasm/t12_bit.s: Ditto.
15633         * gdb.disasm/t12_bit.exp: Ditto.
15634         * gdb.disasm/t13_otr.s: Ditto.
15635         * gdb.disasm/t13_otr.exp: Ditto.
15636
15637 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
15638
15639         * gdb.threads/tls.exp :Add kfail for 'info address' case.
15640
15641 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
15642
15643         * gdb.threads/tls.c : New file.
15644         * gdb.threads/tls.exp : New file.
15645         * gdb.threads/tls-main.c : New file.
15646         * gdb.threads/tls-shared.c : New file.
15647         * gdb.threads/tls-shared.exp : New file.
15648
15649 2003-07-22  Andreas Schwab  <schwab@suse.de>
15650
15651         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
15652
15653 2003-07-20  Andreas Schwab  <schwab@suse.de>
15654
15655         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
15656         due to insn reordering.
15657
15658 2003-07-15  Andrew Cagney  <cagney@redhat.com>
15659
15660         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
15661
15662 2003-07-15  Michael Chastain  <mec@shout.net>
15663
15664         * gdb.base/gdb1250.exp: New file.
15665         * gdb.base/gdb1250.c: New file.
15666
15667 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
15668
15669         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
15670         expansion of size_t to 'unsigned long', not only to 'unsigned'.
15671
15672 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
15673
15674         * gdb.threads/tls.c: New file.
15675         * gdb.threads/tls.exp: New file.
15676         * gdb.threads/tls-main.c: New file.
15677         * gdb.threads/tls-shared.c: New file.
15678         * gdb.threads/tls-shared.exp: New file.
15679
15680 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
15681
15682         * gdb.base/annota1.exp: Make sure that we properly escape the
15683         full path of the source file. Xfail more permissive patterns,
15684         due to a compiler debug info problem.
15685
15686 2003-07-07  Andreas Schwab  <schwab@suse.de>
15687
15688         * gdb.asm/m68k.inc: New file.
15689         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
15690
15691         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
15692         arguments"): Also match negative number.
15693
15694         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
15695
15696 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
15697
15698         * gdb.base/store.c (charest): New typedef.
15699         (add_char): Rename to add_charest, update.
15700         (wack_char): Rename to wack_charest, update types.  Return l + r
15701         to keep r live across the call.
15702         (wack_short, wack_int, wack_long, wack_longest, wack_float)
15703         (wack_double, wack_doublest): Return l + r to keep r live across
15704         the call.
15705         * gdb.base/store.exp: Accomodate store.c changes.
15706
15707 2003-06-30  David Carlton  <carlton@kealia.com>
15708
15709         * gdb.c++/maint.exp (test_invalid_name): New.
15710         (test_first_component): Add tests for invalid names.
15711
15712 2003-06-29  Michael Chastain  <mec@shout.net>
15713
15714         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
15715         output of '<VTT for class>' for virtual base classes.
15716
15717 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
15718
15719         * gdb.base/completion.exp: Tab-complete "complet" instead of
15720         "compl".
15721         * gdb.base/complex.exp, gdb.base/complex.c: New files.
15722
15723 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
15724
15725         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
15726         * gdb.base/volatile.exp: Likewise.
15727
15728 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
15729
15730         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
15731         gdb/1265.
15732
15733 2003-06-28  Michael Chastain  <mec@shout.net>
15734             Daniel Jacobowitz  <drow@mvista.com>
15735
15736         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
15737         initial line count of 'captured_main' from 26 to 32.
15738         (test_with_self): Allow xmalloc call to be interleaved with the
15739         preceding two lines.
15740
15741 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
15742
15743         * gdb.base/bang.exp: New testcase.
15744
15745 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
15746
15747         * gdb.base/langs.exp: Add some tests for the "minimal" language
15748         support.
15749
15750 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
15751
15752         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
15753         the testcase.
15754
15755 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
15756
15757         * gdb.base/relocate.exp: Test add-symbol-file with a variable
15758         offset.
15759
15760 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
15761
15762         * gdb.c++/pr-1210.cc: New file.
15763         * gdb.c++/pr-1210.exp: New file.
15764
15765 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
15766
15767         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
15768         000-exec-continue.
15769
15770 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
15771
15772         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
15773         on *-*-*bsd* instead of *-*-freebsd*.
15774
15775 2003-06-14  Andrew Cagney  <cagney@redhat.com>
15776
15777         * gdb.base/store.exp: Test longest and doublest.  Test all
15778         parameters.  Weaken return statement match.
15779         * gdb.base/store.c: Add longest and doublest - aka long long and
15780         long double functions.  Put all parameters into local register
15781         variables.  Use negative values.
15782
15783 2003-06-14  Andrew Cagney  <cagney@redhat.com>
15784
15785         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
15786         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
15787         exit status.
15788         * gdb.base/fileio.exp: Disable target when nointerrupts and
15789         noinferiorio, instead of limiting it to remote.  Use remote_exec
15790         instead of system.
15791
15792 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
15793
15794         * gdb.base/float.exp: Add ia64 support.
15795
15796 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
15797
15798         * gdb.base/fileio.exp: Run only on remote targets.
15799
15800 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
15801
15802         * gdb.base/fileio.c: New file, testing File-I/O.
15803         * gdb.base/fileio.exp: Ditto.
15804
15805 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
15806
15807         * gdb.base/shreloc.exp: New file, check symbol values obtained from
15808         shared objects after relocation at load time (gdb PR/1132).
15809         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
15810         as above, part of the shared object relocation test.
15811
15812 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
15813
15814         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
15815         fully filled history list.
15816         * gdb.base/gdb_history: New file.
15817
15818         * gdb.base/signals.exp: XFAIL "continue to func1" on
15819         i*86-*-freebsd*.
15820
15821         * gdb.base/attach.exp: When trying to attach to a nonexistent
15822         process, make it possible to specify the PID based on the target,
15823         and do so for *-*-freebsd*.
15824
15825 2003-06-02  Richard Henderson  <rth@redhat.com>
15826
15827         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
15828
15829 2003-06-02  Richard Henderson  <rth@redhat.com>
15830
15831         * gdb.base/selftest.exp: Next over lim_at_start initialization.
15832
15833 2003-06-02  Richard Henderson  <rth@redhat.com>
15834
15835         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
15836
15837 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
15838
15839         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
15840         of globalvar.
15841
15842 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
15843
15844         * gdb.asm/asm-source.exp: Check for memory read errors in
15845         disassembler test on *BSD too.
15846
15847 2003-06-01  Richard Henderson  <rth@redhat.com>
15848
15849         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
15850         for .frame.
15851         (gdbasm_call): Lose ldgp.
15852         (gdbasm_startup): Add frame information.
15853         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
15854
15855 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
15856
15857         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
15858         i?86-*-*.
15859
15860 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
15861
15862         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15863         FreeBSD.
15864
15865 2003-05-29  Richard Henderson  <rth@redhat.com>
15866
15867         * gdb.asm/alpha.inc: New file.
15868         * gdb.asm/asm-source.exp: Use it.
15869
15870 2003-05-29  Jim Blandy  <jimb@redhat.com>
15871
15872         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
15873         'core.PID'.
15874
15875 2003-05-22  Jim Blandy  <jimb@redhat.com>
15876
15877         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
15878         backtrace.
15879
15880 2003-05-20  David Carlton  <carlton@math.stanford.edu>
15881
15882         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
15883         this time.
15884
15885 2003-05-19  David Carlton  <carlton@bactrian.org>
15886
15887         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
15888         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
15889
15890 2003-05-19  David Carlton  <carlton@bactrian.org>
15891
15892         * gdb.c++/namespace.exp: Add namespace scope and anonymous
15893         namespace tests.
15894         Bump copyright date.
15895         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
15896         (main): Call C::D::marker2.
15897         * gdb.c++/namespace1.cc: New file.
15898
15899 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
15900
15901         Roland McGrath  <roland@redhat.com>
15902         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
15903         there is no manager thread.
15904
15905 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
15906
15907         * gdb.threads/schedlock.exp: Remove assumption that all threads
15908         will run in a particular small time slice.  Also ensure we break
15909         in one of the child threads rather than the main thread.
15910
15911 2003-05-07  Jim Blandy  <jimb@redhat.com>
15912
15913         Add support for assembly source testing on the s390x.
15914         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
15915         architecture.
15916         * gdb.asm/s390x.inc: New file.
15917
15918         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
15919         succession of 'if' statements.
15920
15921 2003-05-05  Andrew Cagney  <cagney@redhat.com>
15922
15923         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
15924
15925 2003-05-05  Andrew Cagney  <cagney@redhat.com>
15926
15927         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
15928         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
15929
15930 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
15931
15932         * gdb.base/charset.exp: Update based on new behavior of set/show
15933         charset commands.
15934
15935 2003-05-01  Andrew Cagney  <cagney@redhat.com>
15936
15937         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
15938         variable do not give memory errors.
15939
15940 2003-04-30  Adam Fedor  <fedor@gnu.org>
15941
15942         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
15943         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
15944         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
15945         gdb.objc/basicclass.m: : New files
15946
15947         * lib/gdb.exp (gdb_compile_objc): New procedure.
15948
15949 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
15950
15951         * gdb.base/signals.exp: Make backtrace tests more specific.
15952
15953 2003-04-23  David Carlton  <carlton@bactrian.org>
15954
15955         * gdb.c++/maint.exp (test_first_component): Add tests for
15956         'operator' in more locations.
15957
15958 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
15959
15960         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
15961
15962 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
15963
15964         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
15965         func marke' instead. Update test name.
15966
15967 2003-04-15  David Carlton  <carlton@math.stanford.edu>
15968
15969         * gdb.c++/maint.exp: New file.
15970
15971 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
15972
15973         * gdb.threads/schedlock.c: Change type of thread function argument
15974         to long, to avoid warnings on 64-bit platforms.
15975
15976 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
15977
15978         * gdb.base/attach.exp: Add new message from ptrace in case of
15979         attaching to nonexistent process.
15980
15981 2003-04-11  Jim Blandy  <jimb@redhat.com>
15982
15983         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15984         gdb.c++/userdef.cc: Place comments on the lines to which the
15985         marker function might return.
15986         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15987         gdb.c++/userdef.exp: Look for those comments to check that we've
15988         returned to the right place, instead of checking line numbers.
15989
15990 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
15991
15992         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
15993         match on sourcefile name, instead of directory name.
15994
15995 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
15996
15997         * gdb.base/completion.exp: Use string_to_regexp to match the
15998         working directory name.
15999
16000 2003-04-09  Jim Blandy  <jimb@redhat.com>
16001
16002         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16003         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16004         after an inferior function call, report the failure, but allow the
16005         test to continue.
16006
16007 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
16008
16009         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16010         with -DPROTOTYPES.
16011
16012 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
16013
16014         * gdb.base/break.exp: Revert last patch.
16015
16016 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
16017
16018         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16019         with -DPROTOTYPES.
16020
16021 2003-04-02  Andrew Cagney  <cagney@redhat.com>
16022
16023         * gdb.base/callfuncs.exp: Make "print add" messages unique.
16024         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16025         matching directories by the name breakpoint.
16026         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16027         Make "continue to marker1" consistent.
16028         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16029         message consistent.
16030         * lib/gdb.exp: Put "the program is no longer running", and "the
16031         program exited" in parenthesis.
16032         * lib/mi-support.exp: Ditto.
16033
16034 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
16035
16036         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16037
16038 2003-03-29  Andrew Cagney  <cagney@redhat.com>
16039
16040         * gdb.base/sizeof.c (main): Print the value of '\377'.
16041         * gdb.base/sizeof.exp: Check the sign of '\377'.
16042
16043 2003-03-27  Michael Chastain  <mec@shout.net>
16044
16045         * gdb.base/gdb1090.exp: New file.
16046         * gdb.base/gdb1090.cc: New file.
16047
16048 2003-03-27  J. Brobecker  <brobecker@gnat.com>
16049
16050         * gdb.gdb/observer.exp: New regression test.
16051
16052 2003-03-27  Michael Chastain  <mec@shout.net>
16053
16054         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16055         * gdb.base/ptype.exp: Likewise.
16056
16057 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
16058
16059         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16060
16061 2003-03-26  Michael Chastain  <mec@shout.net>
16062
16063         * gdb.base/ptype.exp: Actually use some typedef'd types.
16064
16065 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
16066
16067         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16068         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16069
16070 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16071
16072         * gdb.base/default.exp: Fix regular expression.
16073
16074 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16075
16076         * gdb.base/args.exp: Fix regular expression.
16077
16078 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16079
16080         * gdb.base/help.exp: Allow Win32 child process.
16081
16082 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16083
16084         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16085         when stepping out of main().
16086
16087 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16088
16089         * gdb.base/default.exp: Check for win32 specific message when calling
16090         "run" without executable.
16091
16092 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16093
16094         * gdb.base/args.exp: Expect .exe in output.
16095
16096 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16097
16098         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16099         Cygwin native.
16100
16101 2003-03-17  Andrew Cagney  <cagney@redhat.com>
16102
16103         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
16104         vector registes.
16105         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16106         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16107
16108 2003-03-17  David Carlton  <carlton@math.stanford.edu>
16109
16110         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16111         test, for PR breakpoints/38.
16112         Call test_watchpoint_and_breakpoint.
16113         * gdb.base/watchpoint.c (func3): New function.
16114         (main): Call func3.
16115
16116 2003-03-04  David Carlton  <carlton@math.stanford.edu>
16117
16118         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16119         Garply<Garply<char> >:: garply".
16120         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16121         with respect to PR c++/1111; note also PR c++/1113.
16122         (test_template_breakpoints): KFAIL "constructor breakpoint" with
16123         respect to PR c++/1062.
16124         KFAIL "destructor breakpoint" with respect to PR c++/1112.
16125
16126 2003-03-03  David Carlton  <carlton@math.stanford.edu>
16127
16128         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16129         with respect to PR c++/57.
16130         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16131         c++/826.
16132         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16133         respect to PR c++/57.
16134
16135 2003-03-03  David Carlton  <carlton@math.stanford.edu>
16136
16137         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16138         respect to PR c++/33 into FAILs.
16139
16140 2003-03-03  Michael Chastain  <mec@shout.net>
16141
16142         * configure.in: Update copyright years.
16143
16144 2003-03-03  Michael Chastain  <mec@shout.net>
16145
16146         * Makefile.in: Update copyright years.
16147
16148 2003-02-28  David Carlton  <carlton@math.stanford.edu>
16149
16150         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16151         print class instead of struct and/or superfluous protection
16152         specifiers, as long as the resulting output is equivalent to the
16153         source code.
16154         Delete FIXME from end of messages on tests that don't need
16155         fixing.
16156
16157 2003-02-28  David Carlton  <carlton@math.stanford.edu>
16158
16159         * gdb.c++/templates.exp (do_tests): Allow const in the two
16160         Foo<volatile char *>::foo tests.
16161
16162 2003-02-27  Michael Snyder  <msnyder@redhat.com>
16163
16164         * gdb.base/restore.c (main): Return zero, so exit code
16165         will be consistant.
16166
16167 2003-02-26  David Carlton  <carlton@math.stanford.edu>
16168
16169         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16170         char *>::foo" test with respect to PR c++/33.  Create a new test
16171         which is identical to that one except that it doesn't put the
16172         space between the "char" and the "*"; KFAIL it, too.
16173
16174 2003-02-26  David Carlton  <carlton@math.stanford.edu>
16175
16176         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16177         template types into either PASSes or KFAILs (corresponding to PR
16178         c++/57).  Tweak indentation.  Update copyright.
16179
16180 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
16181
16182         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16183
16184 2003-02-13  Michael Chastain  <mec@shout.net>
16185
16186         * gdb.base/exprs.exp: Remove i960 remnants.
16187         * gdb.base/funcargs.exp: Likewise.
16188         * gdb.base/list.exp: Likewise.
16189         * gdb.base/ptype.exp: Likewise.
16190
16191 2003-02-14  David Carlton  <carlton@math.stanford.edu>
16192
16193         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16194         pEe->D::vg()" from XFAIL to KFAIL.
16195
16196 2003-02-13  Jason Molenda  (jmolenda@apple.com)
16197
16198         * gdb.base/maint.exp: Update maint print statistics regexp to include
16199         new entries.
16200
16201 2003-02-13  Michael Chastain  <mec@shout.net>
16202
16203         * gdb.c++/inherit.exp: Remove call to get_debug_format.
16204
16205 2003-02-12  Michael Chastain  <mec@shout.net>
16206
16207         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
16208         * gdb.c++/inherit.exp: Likewise.
16209         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
16210         * gdb.c++/templates.exp: Likewise.
16211         * gdb.c++/virtfunc.exp: Likewise.
16212
16213 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
16214
16215         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
16216         why the code is written that way.
16217
16218 2003-02-05  Michael Chastain  <mec@shout.net>
16219
16220         * gdb.base/dump.exp: Add missing copyright line.
16221
16222 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
16223
16224         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
16225         at the beginning so the breakpoint doesn't get set on the loop.
16226
16227 2003-02-05  Michael Chastain  <mec@shout.net>
16228
16229         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16230         output for configurations with gcc 2.95.3.
16231
16232 2003-02-05  Keith Seitz  <keiths@redhat.com>
16233             Andrew Cagney  <ac131313@redhat.com>
16234
16235         * gdb.mi/mi-cli.exp: New file.
16236
16237 2003-02-04  Michael Chastain  <mec@shout.net>
16238
16239         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
16240         Call perror and then continue.
16241
16242 2003-02-03  Michael Chastain  <mec@shout.net>
16243
16244         * gdb.c++/pr-1023.cc: New file.
16245         * gdb.c++/pr-1023.exp: New file.
16246
16247 2003-02-05  Jim Blandy  <jimb@redhat.com>
16248
16249         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
16250         it's local to foobar.  Check for it there, and check that it's not
16251         present in main.
16252         * gdb.c++/local.cc (marker2): New function.
16253         (foobar): Call marker1.
16254         (main): Call marker2 instead of marker1.
16255
16256 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
16257
16258         * gdb.disasm/mn10200.exp: Obsolete file.
16259         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
16260         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
16261         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
16262
16263 2003-02-04  David Carlton  <carlton@math.stanford.edu>
16264
16265         * gdb.c++/overload.exp: Test intToChar(1).
16266         * gdb.c++/overload.cc (intToChar): New.
16267         (main): Call intToChar.
16268
16269 2003-02-03  David Carlton  <carlton@math.stanford.edu>
16270
16271         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
16272         'might_kfail' arg.
16273         KFAIL some of the continue_to_bp_overloaded calls, according to
16274         PR c++/1025.
16275
16276 2003-02-01  Michael Chastain  <mec@shout.net>
16277
16278         * gdb.base/advance.c (marker1): New marker function.
16279         * gdb.base/advance.exp: When the 'advance' command lands on the
16280         return breakpoint, it can legitimately stop on either the
16281         current line or the next line.  Accommodate both outcomes.
16282         * gdb.base/until.exp: Likewise.
16283
16284 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
16285
16286         2002-11-10 Jason Molenda (jason-cl@molenda.com):
16287         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
16288         now a list, not a tuple.
16289         * gdb.mi/mi-var-display.exp: Ditto.
16290         * gdb.mi/gdb792.exp: Ditto.
16291
16292 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
16293
16294         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
16295         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
16296         stack backtraces.
16297         * gdb.mi/mi-syn-frame.c: Part of same.
16298
16299 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
16300
16301         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16302         gdb.mi/mi1-pthreads.exp: Return instead of calling
16303         gdb_suppress_entire_file.
16304
16305 2003-02-01  Mark Salter  <msalter@redhat.com>
16306
16307         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
16308
16309 2003-01-31  Mark Salter  <msalter@redhat.com>
16310
16311         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
16312         Support empty arg.
16313
16314 2003-01-30  Michael Chastain  <mec@shout.net>
16315
16316         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
16317         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
16318         has been fixed in gdb/readline on 2003-01-09.
16319
16320 2003-01-29  Michael Snyder  <msnyder@redhat.com>
16321
16322         * gdb.base/maint.exp: Allow for leading underscore in symbol.
16323         * gdb.base/display.exp: Allow for leading underscore in symbol.
16324         * gdb.base/args.exp: Skip if target does not support args passing.
16325
16326 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
16327
16328         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
16329         gdb_test.  Accept a list of expect arguments as the third
16330         parameter.
16331         (gdb_test): Use it.
16332
16333 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
16334
16335         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
16336         allow for different test tree configurations.  Update some
16337         tescases accordingly.
16338         * gdb.arch/altivec-regs.exp: Ditto.
16339         * gdb.asm/asm-source.exp: Ditto.
16340         * gdb.base/advance.exp: Ditto.
16341         * gdb.base/display.exp: Ditto.
16342         * gdb.base/long_long.exp: Ditto.
16343         * gdb.base/mips_pro.exp: Ditto.
16344         * gdb.base/overlays.exp: Ditto.
16345         * gdb.base/relocate.exp: Ditto.
16346         * gdb.base/setshow.exp: Ditto.
16347         * gdb.base/step-line.exp: Ditto.
16348         * gdb.base/step-test.exp: Ditto.
16349         * gdb.base/until.exp: Ditto.
16350         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
16351
16352 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16353
16354         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
16355         corresponding to PR c++/945.
16356         Update copyright.
16357
16358 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16359
16360         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
16361         corresponding to PR c++/68.
16362
16363 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16364
16365         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
16366         (test_paddr_hairy_functions): Call print_addr_2_kfail for
16367         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
16368
16369 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
16370
16371         * gdb.base/break.exp: Fix change of default location, because of
16372         removal of until tests.
16373         * gdb.base/help.exp: Update test for new 'until' help message.
16374         Add test for help on 'advance'.
16375         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
16376
16377 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
16378
16379         * gdb.base/default.exp: Adapt "info float" test for recent changes
16380         to that command.  Add test for "info vector".
16381         * gdb.base/float.exp: New file.  Add test for "info float" that
16382         resembles the old test in gdb.base/default.exp.
16383
16384 2003-01-15  David Carlton  <carlton@math.stanford.edu>
16385
16386         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
16387
16388 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
16389
16390         * gdb.base/break.exp: Move the tests of until command from here...
16391         * gdb.base/until.exp: ... to here. New file. Add other tests.
16392         * gdb.base/advance.c: New file.
16393         * gdb.base/advance.exp: New file.
16394
16395 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
16396
16397         * gdb.base/args.c: New file.
16398         * gdb.base/args.exp: New file.
16399
16400 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16401
16402         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
16403
16404 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16405
16406         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
16407
16408 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16409
16410         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
16411         dates.
16412
16413 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16414
16415         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
16416
16417 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16418
16419         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
16420         (ptype &*"foo").
16421         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
16422
16423 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16424
16425         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
16426         * gdb.mi/mi1-console.exp: Likewise.
16427
16428 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16429
16430         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
16431         * gdb.mi/mi1-console.exp: Likewise.
16432
16433 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16434
16435         * gdb.c++/overload.exp: Remove some fixed XFAILs.
16436
16437 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
16438
16439         * gdb.base/detach.exp: New test.
16440
16441 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
16442
16443         * Makefile.in (ALL_SUBDIRS): New variable.
16444         (subdirs, clean, distclean): Use it.
16445         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
16446         regenerating Makefile, since it is generated from the top level.
16447         * gdb.asm/Makefile.in: Likewise.
16448         * gdb.base/Makefile.in: Likewise.
16449         * gdb.c++/Makefile.in: Likewise.
16450         * gdb.disasm/Makefile.in: Likewise.
16451         * gdb.java/Makefile.in: Likewise.
16452         * gdb.mi/Makefile.in: Likewise.
16453         * gdb.threads/Makefile.in: Likewise.
16454         * gdb.trace/Makefile.in: Likewise.
16455
16456 2003-01-09  David Carlton  <carlton@math.stanford.edu>
16457
16458         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
16459         Add copyright year 2003.
16460
16461 2003-01-06  Michael Chastain  <mec@shout.net>
16462
16463         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16464         When selecting a thread, 'line' and 'file' are optional.
16465         * gdb.mi/mi1-pthreads.exp: Likewise.
16466
16467 2003-01-06  Andreas Schwab  <schwab@suse.de>
16468
16469         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16470         failures.
16471
16472 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16473
16474         Fix PR gdb/844
16475         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16476         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16477
16478         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
16479         instead of calling gdb_suppress_entire_file.
16480         * gdb.threads/print-threads.exp: Likewise.
16481         * gdb.threads/schedlock.exp: Likewise.
16482
16483         * gdb.threads/killed.exp: Return instead of calling
16484         gdb_suppress_entire_file.
16485         * gdb.threads/linux-dp.exp: Likewise.
16486         * gdb.threads/pthreads.exp: Likewise.
16487
16488 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16489
16490         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16491         stabs.
16492         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
16493         * gdb.base/whatis.exp: Always allow (void) after function names.
16494
16495 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16496
16497         * gdb.c++/casts.exp: Correct regexp.
16498
16499 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
16500
16501         * configure.in: Call AC_CONFIG_HEADER.  Don't call
16502         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
16503         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
16504         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
16505         aforementioned directories in the AC_OUPUT call.
16506         * config.hin: New file.
16507         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16508         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
16509         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
16510         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
16511         pass -I$objdir instead of -I$objdir/$subdir in compilation.
16512         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
16513         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
16514         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
16515         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
16516         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
16517         gdb.threads/configure.in, gdb.threads/configure,
16518         gdb.threads/config.in, gdb.trace/configure.in,
16519         gdb.trace/configure: Removed.
16520
16521 2003-01-03  Michael Chastain  <mec@shout.net>
16522
16523         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
16524         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
16525
16526 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
16527
16528         * gdb.base/store.exp: Fix regular expressions.
16529
16530 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
16531
16532         * configure.in: Rewrite.
16533         * configure: Regenerated.
16534
16535 2003-01-03  David Carlton  <carlton@math.stanford.edu>
16536
16537         * gdb.base/psymtab.exp: New file.
16538         * gdb.base/psymtab1.c: Ditto.
16539         * gdb.base/psymtab2.c: Ditto.
16540
16541 2002-12-23  Adam Fedor  <fedor@gnu.org>
16542
16543         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
16544
16545 2002-12-23  David Carlton  <carlton@math.stanford.edu>
16546
16547         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
16548         and current_directory initialization.
16549
16550 2002-12-22  Jim Blandy  <jimb@redhat.com>
16551
16552         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
16553         rather than as part of the output file name.
16554
16555         * gdb.base/attach.exp: There's no need to copy the test program to
16556         /tmp; that was only ever necessary on HP/UX, and this test is
16557         entirely disabled there anyway.
16558
16559 2002-12-21  Jim Blandy  <jimb@redhat.com>
16560
16561         * gdb.c++/psmang.exp: Doc fix.
16562
16563         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
16564         test.
16565
16566 2002-12-20  David Carlton  <carlton@math.stanford.edu>
16567
16568         * gdb.c++/annota2.exp: KFAIL annotate-quit.
16569
16570 2002-12-18  Michael Chastain  <mec@shout.net>
16571
16572         * gdb.c++/annota2.exp: Add copyright year 2002.
16573
16574 2002-12-17  David Carlton  <carlton@math.stanford.edu>
16575
16576         * gdb.c++/try_catch.cc: Add marker comments.
16577         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
16578         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
16579         * gdb.c++/m-static.cc: Ditto.
16580         * gdb.c++/m-static1.cc: Ditto.
16581         * gdb.c++/try_catch.cc: Ditto.
16582
16583 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
16584
16585         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
16586         to see whether we are using the new -environment-directory
16587         command which resets via -r or the old version of the command
16588         which may prompt the user.  Part of fix for gdb/741.
16589
16590 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
16591
16592         * gdb.fortran/types.exp: Update obsolete comment.
16593         * gdb.fortran/exprs.exp: Ditto.
16594         * lib/gdb.exp: Delete obsolete code.
16595         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
16596         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
16597         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
16598         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
16599         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
16600         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
16601         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
16602         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
16603         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
16604         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
16605         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
16606         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
16607         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
16608         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
16609         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
16610         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
16611         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
16612         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
16613         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
16614         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
16615         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
16616         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
16617         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
16618         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
16619         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
16620         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
16621         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
16622         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
16623         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
16624         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
16625         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
16626         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
16627         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
16628         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
16629         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
16630         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
16631         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
16632
16633 2002-12-11  David Carlton  <carlton@math.stanford.edu>
16634
16635         * gdb.c++/m-data.exp: Add test for members that shadow global
16636         variables: see PR gdb/804.
16637         * gdb.c++/m-data.cc: Ditto.
16638
16639 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
16640
16641         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
16642
16643 2002-12-06  David Carlton  <carlton@math.stanford.edu>
16644
16645         * gdb.base/store.c: Don't declare functions static.
16646
16647 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
16648
16649         * gdb.base/store.exp, gdb.base/store.c: New files.
16650
16651 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
16652
16653         * gdb.base/selftest.exp: Update for current gdb.
16654
16655 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
16656
16657         * gdb.base/maint.exp: Only dump symbols from one source file
16658         or objfile.
16659
16660 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
16661
16662         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
16663         function call.
16664
16665 2002-11-25  Jim Blandy  <jimb@redhat.com>
16666
16667         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
16668         function appearing in error message.
16669
16670 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
16671
16672         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
16673
16674 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
16675
16676         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
16677         for mi1 and current mi is in correct format.  New mi startup message
16678         should be in mi console format.  This is part of fix for PR gdb/604.
16679
16680 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
16681
16682         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
16683         which explicitly prints the zero offset as "+0".
16684
16685 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
16686
16687         * gdb.threads/schedlock.c (args): Make unsigned.
16688
16689 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
16690
16691         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
16692         numbers.  Allow "foo2|selected stack frame".
16693         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
16694         * gdb.asm/asmsrc2.s: Likewise.
16695         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
16696         comments.
16697         * gdb.asm/mips.inc: New file.
16698
16699 2002-10-18  Adam Fedor  <fedor@gnu.org>
16700
16701         * gdb.base/default.exp: Update expected output to include 'ObjC'.
16702         * gdb.base/help.exp: Likewise.
16703
16704 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
16705
16706         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
16707         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
16708
16709 2002-10-02  Jim Blandy  <jimb@redhat.com>
16710
16711         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
16712
16713 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
16714
16715         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
16716         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
16717         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
16718         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
16719         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
16720         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
16721         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
16722
16723 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
16724
16725         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
16726         * mi0-disassemble.exp, mi0-eval.exp: Delete.
16727         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
16728         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
16729         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
16730         * mi0-var-block.exp, mi0-var-child.exp: Delete.
16731         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
16732
16733 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
16734
16735         * gdb.base/annota1.exp (info break): Make directory components of
16736         path optional since not all compilers emit this debug information.
16737
16738         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
16739         step ends up stepping out of the function instead of stopping on
16740         the epilogue.
16741
16742 2002-09-26  Keith Seitz  <keiths@redhat.com>
16743
16744         * lib/insight-support.exp (gdbtk_start): Figure out where
16745         the insight executable is based on where gdb is. Use this
16746         executable to start insight instead of gdb.
16747
16748 2002-09-25  Andrew Cagney  <cagney@redhat.com>
16749
16750         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
16751
16752 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
16753
16754         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
16755         test_isolated_complaints.
16756         (test_empty_complaint): New function.
16757         (test_empty_complaints): New function.  Check no output when no
16758         complaints.
16759
16760 2002-09-19  Jim Blandy  <jimb@redhat.com>
16761
16762         * gdb.base/charset.exp, gdb.base/charset.c: New files.
16763
16764 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
16765
16766         * gdb.gdb/complaints.exp: New file.
16767
16768 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
16769
16770         * gdb.base/maint.exp: Check `help maint internal-warning'.
16771
16772 2002-09-18  David Carlton  <carlton@math.stanford.edu>
16773
16774         * gdb.c++/m-static.exp: Remove breakpoints depending on line
16775         numbers, and replace them by a single breakpoint after the
16776         constructors are all finished.
16777         Add test 4.
16778         * gdb.c++/m-static.cc: Add test 4.
16779         * gdb.c++/m-static.h: New file.
16780         * gdb.c++/m-static1.cc: New file.
16781
16782         * gdb.c++/printmethod.exp: New file.
16783         * gdb.c++/printmethod.cc: New file.
16784
16785         * gdb.c++/pr-574.exp: New file.
16786         * gdb.c++/pr-574.cc: New file.
16787
16788 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
16789
16790         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
16791         embedded targets which never actually exit.
16792
16793 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
16794
16795         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
16796         "don't step after run" as unresolved or unsupported, instead of xfail.
16797
16798 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
16799
16800         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
16801         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
16802         Add newline to expected string in "step out of main (status wrapper)"
16803         case.
16804
16805 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
16806
16807         * lib/gdb.exp (rerun_to_main): Allow restarting application.
16808         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
16809
16810 2002-09-17  Tom Tromey  <tromey@redhat.com>
16811
16812         * gdb.base/printcmds.exp (test_print_string_constants): Expect
16813         \000, not \0, in double-quoted string.
16814
16815 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
16816
16817         * gdb.base/commands.exp: Don't expect a "Program exited normally"
16818         string after running the commands execution on breakpoint tests.
16819
16820 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
16821
16822         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
16823
16824 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
16825
16826         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
16827
16828 2002-09-10  Keith Seitz  <keiths@redhat.com>
16829
16830         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
16831         runto proc.
16832         (mi_run_to_main): Use mi_runto.
16833         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
16834
16835 2002-09-10  Keith Seitz  <keiths@redhat.com>
16836
16837         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
16838         regexp for stopping at main. Could have multiple event notifications.
16839         Don't assume that main was declared with no parameters.
16840         (mi_next): Use mi_step_to.
16841         (mi_step): Use mi_next_to.
16842
16843 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
16844
16845         * gdb.base/default.exp: Fix expected string in `info float' test.
16846
16847 2002-09-09  Ben Elliston  <bje@redhat.com>
16848
16849         * config/mips.exp: Update comments.
16850         * config/mips-idt.exp: Likewise.
16851         * config/nind.exp: Likewise.
16852         * config/slite.exp: Likewise.
16853         * config/sparclet.exp: Likewise.
16854         * config/udi.exp: Likewise.
16855         * config/vx.exp: Likewise.
16856         * config/vxworks29k.exp: Likewise.
16857
16858 2002-09-05  Jim Blandy  <jimb@redhat.com>
16859
16860         * gdb.threads/killed.exp: Fix test failure message.
16861
16862 2002-09-04  Keith Seitz  <keiths@redhat.com>
16863
16864         * lib/mi-support.exp: Update copyright.
16865         (mi_gdb_test): Increase the priority of the expected pattern
16866         so that it matches gdb_test.
16867
16868 2002-09-03  Keith Seitz  <keiths@redhat.com>
16869
16870         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
16871         Use integer comparison instead of string comparison for testing
16872         whether binary was built.
16873
16874 2002-09-03  Jim Blandy  <jimb@redhat.com>
16875
16876         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
16877
16878 2002-08-29  Jim Blandy  <jimb@redhat.com>
16879
16880         * gdb.threads/pthreads.exp: Move the portable thread compilation
16881         code into a function in lib/gdb.exp, and call that from here.
16882         * lib/gdb.exp (gdb_compile_pthreads): New function.
16883
16884 2002-08-29  Keith Seitz  <keiths@redhat.com>
16885
16886         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
16887         expect_out so that callers can get at it.
16888
16889 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
16890
16891         * gdb.threads/print-threads.c: New file.
16892         * gdb.threads/print-threads.exp: New file.
16893         * gdb.threads/schedlock.c: New file.
16894         * gdb.threads/schedlock.exp: New file.
16895
16896 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
16897
16898         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
16899         not altivec.c.
16900
16901 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
16902
16903         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
16904         targets.  The problem should be fixed now.
16905
16906 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
16907
16908         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
16909         2002-07-24 change that removes final dots from error messages.
16910
16911 2002-08-13  Tom Tromey  <tromey@redhat.com>
16912
16913         * gdb.base/readline.exp: New file.
16914
16915 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
16916
16917         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
16918         supress message.
16919
16920 2002-08-01  Andrew Cagney  <cagney@redhat.com>
16921
16922         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
16923         CHILL_FOR_TARGET and CHILL_LIB.
16924         * configure.in (configdirs): Remove gdb.chill.
16925         * configure: Regenerate.
16926         * lib/gdb.exp: Obsolete references to chill.
16927         * gdb.fortran/types.exp: Ditto.
16928         * gdb.fortran/exprs.exp: Ditto.
16929
16930 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
16931
16932         * gdb.base/shlib-call.exp (additional_flags): Conditionally
16933         set Irix-specific compile and link flags.
16934
16935 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
16936
16937         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
16938         source files.  The ``-o'' option doesn't work with the ``-E'' option
16939         when using the Irix compiler.
16940
16941 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
16942
16943         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
16944         Improve support for reusing an exec file.  Copy exec file
16945         to target, and run gdbserver on the target instead of on the host.
16946
16947 2002-07-18  Jim Blandy  <jimb@redhat.com>
16948
16949         * gdb.base/ending-run.exp: Don't expect to see the program end in
16950         some orderly fashion when we're running on a real stand-alone
16951         board.
16952
16953         * gdb.base/interrupt.exp: Correct logic for skipping tests on
16954         targets that don't support interrupts.
16955
16956 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
16957
16958         * gdb.base/attach.exp: Add patterns to match output from /proc-based
16959         systems.
16960         Move comments in expect statements to inside the actions, so that they
16961         don't get matched against.
16962
16963 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
16964
16965         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
16966         function when asleep" test.
16967
16968 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
16969
16970         * gdb.base/page.exp: Rewrite to handle problems with very long
16971         `info set' output.  Update copyright.
16972
16973 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
16974
16975         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
16976         gdb.threads-hp.
16977         * gdb.hp/configure: Regenerate.
16978         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
16979         * gdb.hp/gdb.threads-hp/configure: Delete file.
16980         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
16981
16982 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
16983
16984         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
16985         setlocale, bindtextdomain and textdomain.
16986
16987 2002-06-11  Jim Blandy  <jimb@redhat.com>
16988
16989         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
16990         preprocessor macro information is present.
16991
16992         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
16993         tests.
16994
16995 2002-06-06  Michael Snyder  <msnyder@redhat.com>
16996
16997         * gdb.base/overlays.exp: Record addresses of overlay
16998         functions in TCL variables rather than in GDB variables,
16999         to avoid having GDB convert them to pointers (with loss
17000         of information).
17001
17002         * gdb.base/d10v.ld: Merge in several years worth of
17003         default linker script changes.
17004         * gdb.base/long_long.exp: Add check for sizeof (long double).
17005
17006 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
17007
17008         * gdb.asm/asm-source.exp: Add x86-64 target.
17009         * gdb.asm/x86_64.inc: New.
17010
17011 2002-05-30  Michael Chastain  <mec@shout.net>
17012
17013         From Benjamin Kosnik <bkoz@redhat.com>:
17014         * gdb.c++/m-static.cc: New file.
17015         * gdb.c++/m-static.exp: New file.
17016
17017 2002-05-28  Michael Snyder  <msnyder@redhat.com>
17018
17019         * gdb.base/call-ar-st.exp: Allow for reduced floating point
17020         precision.
17021
17022 2002-05-27  Michael Chastain  <mec@shout.net>
17023
17024         From Benjamin Kosnik <bkoz@redhat.com>:
17025         * gdb.c++/m-data.cc: New file.
17026         * gdb.c++/m-data.exp: New file.
17027
17028 2002-05-27  Michael Chastain  <mec@shout.net>
17029
17030         From Benjamin Kosnik <bkoz@redhat.com>:
17031         * gdb.c++/try_catch.cc: New file.
17032         * gdb.c++/try_catch.exp: New file.
17033
17034 2002-05-27  Michael Chastain  <mec@shout.net>
17035
17036         * gdb.c++/local.exp: Accept more nested types in output.
17037
17038 2002-05-26  Michael Chastain  <mec@shout.net>
17039
17040         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17041
17042 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
17043
17044         * lib/gdb.exp (gdb_wrapper_init): Just because
17045         gdb_wrapper_file exists, this does not mean that the file
17046         should not be rebuilt.  That is what gdb_wrapper_initialized
17047         is for.
17048         (default_gdb_init): Reset gdb_wrapper_initialized.
17049
17050 2002-05-23  Michael Snyder  <msnyder@redhat.com>
17051
17052         * gdb.base/all-bin.exp: Revise previous patch by just reducing
17053         the precision of the floating point test results.
17054         * gdb.base/call-rt-st.exp: Ditto.
17055
17056         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17057         * gdb.base/call-rt-st.exp: Ditto.
17058
17059 2002-05-19  Michael Chastain  <mec@shout.net>
17060
17061         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17062
17063 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
17064
17065         * configure.in (configdirs): Add gdb.arch.
17066         * configure: Regenerate.
17067
17068 2002-05-17  Jim Blandy  <jimb@redhat.com>
17069
17070         * gdb.base/completion.exp: Recognize the more detailed error
17071         messages produced by the macro expander's lexical analyzer.
17072
17073 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
17074
17075         * gdb.arch/altivec-abi.c: New file.
17076         * gdb.arch/altivec-abi.exp: New file.
17077         * gdb.arch/altivec-regs.c: New file.
17078         * gdb.arch/altivec-regs.exp: New file.
17079
17080 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
17081
17082         * gdb.base/maint.exp (maint print type): Update for new type
17083         structure.
17084
17085 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
17086
17087         * gdb.arch: New directory.
17088         * gdb.arch/configure.in: New file.
17089         * gdb.arch/configure: New file.
17090         * gdb.arch/Makefile.in: New file.
17091
17092 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
17093
17094         * gdb.asm/asm-source.exp: Add v850 as supported target.
17095         * gdb.asm/v850.inc: New file.
17096
17097 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
17098
17099         * gdb.c++/annota2.exp (annotate-quit): Add comment.
17100
17101 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
17102
17103         * gdb.base/break.exp: Check 'break "marker2"'.
17104
17105 2002-05-10  Michael Snyder  <msnyder@redhat.com>
17106
17107         * gdb.base/long_long.exp: Fix typo.
17108
17109 2002-05-10  Jim Blandy  <jimb@redhat.com>
17110
17111         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
17112         a bug.
17113
17114         * gdb.base/printcmds.exp (test_integer_literals_rejected):
17115         Recognize more detailed error message produced by the macro
17116         expander's lexical analyzer.
17117         * lib/gdb.exp (test_print_reject): Same.
17118
17119 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
17120
17121         * gdb.c++/method.exp: Fix typo.
17122
17123 2002-05-08  Michael Snyder  <msnyder@redhat.com>
17124
17125         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17126         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
17127         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
17128         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17129         Add iftarget clause for strongarm.
17130
17131 2002-05-06  Michael Snyder  <msnyder@redhat.com>
17132
17133         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17134         (gdb_continue_to_end): Accept output from status wrapper.
17135         * gdb.base/ending-run.exp: Add case for output from status wrapper.
17136         Clean up fail messages to match pass messages.
17137
17138         Enable the "needs_status_wrapper" testsuite feature.
17139         * lib/gdb.exp (gdb_wrapper_init): New procedure.
17140         (gdb_compile): Conditionally call gdb_wrapper_init.
17141         * gdb.base/a2-run.exp: Recognize output from status wrapper.
17142         * gdb.c++/method.exp: Recognize output from status wrapper.
17143
17144 2002-05-06  Ben Elliston  <bje@redhat.com>
17145 From Graydon Hoare  <graydon@redhat.com>
17146
17147         * config/sid.exp: Include support for "rawsid" protocol.
17148
17149 2002-05-03  Jim Blandy  <jimb@redhat.com>
17150
17151         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17152         * gdb.c++/hang3.C: New file.
17153
17154 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
17155
17156         * gdb.base/default.exp: Remove obsolete code.
17157         * gdb.c++/misc.exp: Ditto.  Update copyright.
17158         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
17159         * gdb.base/whatis.exp: Ditto.  Update copyright.
17160         * gdb.base/scope.exp: Ditto.  Update copyright.
17161         * gdb.base/ptype.exp: Ditto.  Update copyright.
17162         * gdb.base/printcmds.exp: Ditto.  Update copyright.
17163         * gdb.base/opaque.exp: Ditto.  Update copyright.
17164         * gdb.base/list.exp: Ditto.
17165         * gdb.base/funcargs.exp: Ditto.  Update copyright.
17166         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17167         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17168         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17169         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17170         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17171         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17172
17173 2002-05-02  Michael Snyder  <msnyder@redhat.com>
17174
17175         * gdb.base/watchpoint.exp: Add xscale target.
17176         * gdb.base/long_long.exp: Add xscale target.
17177         * gdb.base/default.exp: Add xscale target.
17178
17179 2002-05-01  Jim Blandy  <jimb@redhat.com>
17180
17181         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17182         gdb.c++/hang.exp: New test.
17183
17184 2002-05-01  Fred Fish  <fnf@redhat.com>
17185
17186         * gdb.base/completion.exp: Handle completions of "./Make" for
17187         more than one completion possibility, as is the case when we
17188         build and test in the source tree.
17189
17190 2002-04-29  Anthony Green  <green@redhat.com>
17191
17192         * gdb.java/jmisc1.exp: New file.
17193         * gdb.java/jmisc2.exp: New file.
17194
17195 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
17196
17197         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
17198
17199 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
17200
17201         * gdb.base/help.exp: Change 'help status' to allow for target
17202         dependent output differences.
17203
17204 2002-04-22  Michael Chastain  <mec@shout.net>
17205
17206         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
17207
17208 2002-04-22  Michael Chastain  <mec@shout.net>
17209
17210         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
17211
17212 2002-04-17  David S. Miller  <davem@redhat.com>
17213
17214         * gdb.asm/sparc64.inc: New file.
17215         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
17216
17217 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
17218
17219         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
17220         instruction file directly into the build tree.  Clean up at end of
17221         test.
17222
17223 2002-04-18  David S. Miller  <davem@redhat.com>
17224
17225         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
17226         handle 64-bit platforms correctly.
17227         * gdb.base/maint.exp: Likewise.
17228
17229 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
17230
17231         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17232         ``-fpic'' when compiling files comprising a shared library, but
17233         it does need additional linker flags in order to find shared
17234         libraries at run time.
17235
17236 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
17237
17238         * gdb.base/cvexpr.c (use): New function.
17239         (main): Invoke use() on all global variables to prevent
17240         some linkers from deleting these otherwise unused symbols.
17241
17242 2002-04-17  Michael Chastain  <mec@shout.net>
17243 From David S. Miller  <davem@redhat.com>
17244
17245         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
17246         handle 64-bit platforms correctly.
17247
17248 2002-04-12  Michael Snyder  <msnyder@redhat.com>
17249 From Jim Blandy  <jimb@redhat.com>
17250         * gdb.base/foo.c (foox): Remove section attribute; the linker
17251         script can handle this instead.
17252         * gdb.base/bar.c (barx): Same.
17253         * gdb.base/baz.c (bazx): Same.
17254         * gdb.base/grbx.c (grbxx): Same.
17255
17256         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
17257         manager doesn't automatically unmap overlays unnecessarily.
17258
17259 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
17260
17261         * gdb.base/ending-run.exp: Fix pattern for Mips targets
17262         stepping out of main.
17263
17264 2002-04-09  Michael Chastain  <mec@shout.net>
17265
17266         * gdb.c++/local.cc (main): Move call to marker1() inside nested
17267         scope so that the nested scope tests will make sense.
17268         * gdb.c++/local.exp: Write patterns that actually work with gcc
17269         (the HP patterns "were never known to work with gcc").
17270         Keep the old aCC patterns too.
17271
17272 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
17273
17274         * gdb.base/attach.exp: Correct target board test.
17275
17276 2002-04-08  Michael Chastain  <mec@shout.net>
17277
17278         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
17279         in a const method.  Add some xfail and fail cases for configurations
17280         that do not emit the "const ...".
17281
17282 2002-04-07  Michael Chastain  <mec@shout.net>
17283
17284         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
17285         Accept "A * const" and "const A * const" as type of "this".
17286         Fix spelling of getFunky throughout.  Make messages uniform.
17287
17288 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
17289
17290         Work around for PR gdb/285:
17291         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17292
17293 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
17294
17295         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
17296         instructions file at run time instead of configure time.
17297         Sometimes we run the test in a directory that is not the one we
17298         configured in.
17299         * gdb.asm/configure.in: Delete creation of symlink.
17300         * gdb.asm/configure: Regenerate.
17301
17302 2002-04-05  J. Brobecker  <brobecker@gnat.com>
17303
17304         * gdb.gdb/xfullpath.exp: New test, to exercise the new
17305         xfullpath () function.
17306
17307 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
17308
17309         * gdb.asm/Makefile.in: Correct dependencies.
17310
17311         * gdb.asm/powerpc.inc: New file.
17312         * gdb.asm/asm-source.exp: Add PowerPC.
17313         * gdb.asm/configure.in: Likewise.
17314         * gdb.asm/configure: Regenerated.
17315
17316 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
17317
17318         * gdb.base/relocate.exp: New file.
17319         * gdb.base/relocate.c: New file.
17320
17321 2002-04-04  Fred Fish  <fnf@redhat.com>
17322
17323         * gdb.base/step-test.exp: Update comment regarding stopping in
17324         memcpy/bcopy calls inserted as part of the compiler runtime.
17325
17326 2002-04-04  Michael Snyder  <msnyder@redhat.com>
17327
17328         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
17329
17330 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
17331
17332         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
17333         (gdb_expect): Remove $notransfer hack.
17334
17335 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
17336
17337         * gdb.c++/classes.exp ("calling method for small class"): Match
17338         updated register output.
17339
17340 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
17341
17342         Fix PR gdb/452
17343         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
17344         when finished.  Make gdb_file_cmd send "exec-file" when
17345         appropriate.
17346
17347 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
17348
17349         * gdb.base/attach.exp: Remove extra setup_xfail.
17350
17351 2002-03-26  Michael Snyder  <msnyder@redhat.com>
17352
17353         * gdb.base/default.exp: Add tests for dump, append, and restore.
17354         * gdb.base/help.exp: Add tests for dump, append, and restore.
17355         * gdb.base/dump.exp: New file, test dump, append and restore.
17356         * gdb.base/dump.c: New file.
17357
17358 2002-03-27  Michael Snyder  <msnyder@redhat.com>
17359
17360         * gdb.base/help.exp: Modify expect strings to reflect
17361         clean-ups in help messages.
17362
17363 2002-03-26  Fred Fish  <fnf@redhat.com>
17364
17365         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
17366         have debugging info for those functions and the compiler uses them
17367         internally to copy structs around.
17368
17369 2002-03-26  Fred Fish  <fnf@redhat.com>
17370
17371         * gdb.base/list.exp: Revert the change made yesterday and add note
17372         about why we don't list the default lines for remote targets.
17373
17374 2002-03-25  Michael Snyder  <msnyder@redhat.com>
17375
17376         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
17377
17378 2002-03-25  Fred Fish  <fnf@redhat.com>
17379
17380         * gdb.base/list.exp: This test works on remote targets so remove
17381         the short circuit for remote targets.  Update copyright.
17382
17383 2002-03-25  Fred Fish  <fnf@redhat.com>
17384
17385         * gdb.base/attach.exp: Fix logic error that was suppressing this
17386         test for all non hppa*-*-hpux* targets, instead of the hp target.
17387         Move comments closer to the suppression point.  Also now need to
17388         check that we are running natively.
17389
17390 2002-03-22  Michael Snyder  <msnyder@redhat.com>
17391
17392         * gdb.base/default.exp: Add test for gcore.  Update copyright.
17393         * gdb.base/help.exp: Add test for gcore.  Update copyright.
17394
17395 2002-03-06  Fred Fish  <fnf@redhat.com>
17396
17397         * gdb.base/funcargs.c:  Remove extraneous ';' character.
17398         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
17399
17400 2002-03-04  Michael Chastain  <mec@shout.net>
17401
17402         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
17403         accommodate gcc v3 function signature.
17404         * gdb.mi/mi0-var-cmd-exp: Ditto.
17405
17406 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
17407
17408         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
17409         ``GNU/Linux'' or ``Linux kernel''
17410         * testsuite/gdb.threads/pthreads.c: Ditto.
17411
17412 2002-02-24  Michael Chastain  <mec@shout.net>
17413
17414         * gdb.threads/pthreads.c (thread1): Add a return statement.
17415         (thread2): Likewise.
17416         (foo): Likewise.
17417
17418 2002-02-23  Michael Chastain  <mec@shout.net>
17419
17420         * gdb.threads/linux-dp.c (philosopher): Add a return statement
17421         to placate gcc.
17422
17423 2002-02-23  Michael Chastain  <mec@shout.net>
17424
17425         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
17426         test "ptype bint".  The test passes on all my stabs configurations.
17427
17428 2002-02-21  Jim Blandy  <jimb@redhat.com>
17429
17430         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
17431         filename at a time, and watch for the ones we want to see.
17432
17433         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
17434         types of pointers to prototyped functions.
17435
17436 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
17437
17438         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
17439         signed, unsigned and straight char.
17440         (padding_char, padding_short, padding_int, padding_long,
17441         padding_long_long, padding_float, padding_double,
17442         padding_long_double): New global variables.
17443         (fill, fill_structs): New functions.
17444
17445         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
17446         for correctly sized writes.  Update copyright.
17447         (get_valueof): New procedure.
17448         (get_sizeof): Call get_valueof.
17449         (check_valueof): New procedure.
17450         (check_padding): New procedure.
17451
17452 2002-02-20  Michael Chastain  <mec@shout.net>
17453
17454         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
17455         to setup_xfail.  Document some of the remaining calls.
17456
17457 2002-02-18  Michael Chastain  <mec@shout.net>
17458
17459         * gdb.c++/userdef.exp: Update copyright year.
17460
17461 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
17462
17463         * gdb.c++/userdef.exp: Test overloaded operators properly.
17464         Remove xfails.
17465
17466 2002-02-14  Michael Snyder  <msnyder@redhat.com>
17467
17468         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17469
17470 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
17471
17472         * gdb.base/a2-run.exp: Check for a remote target properly.
17473         * gdb.base/annota1.exp: Likewise.
17474         * gdb.base/list.exp: Likewise.
17475         * gdb.base/reread.exp: Likewise.
17476         * gdb.base/scope.exp: Likewise.
17477         * gdb.base/shlib-call.exp: Likewise.
17478         * gdb.base/term.exp: Likewise.
17479         * gdb.c++/annota2.exp: Likewise.
17480
17481 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
17482
17483         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17484
17485 2002-02-10  Michael Chastain  <mec@shout.net>
17486
17487         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17488         (call_after_alloca): Ditto.
17489
17490 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
17491
17492         * gdb.base/ending-run.exp: Guard "cont" test with
17493         gdb_skip_stdio_test.
17494
17495 2002-02-06  Jim Blandy  <jimb@redhat.com>
17496
17497         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
17498         from here...
17499         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
17500         To here.  Disable this test on non-HP platforms.  Add big comment.
17501
17502 2002-02-04  Michael Snyder  <msnyder@redhat.com>
17503
17504         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
17505           other than d10v and m32r.
17506
17507 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
17508
17509         * gdb.base/default.exp: Rewrite test patterns to reduce time
17510         taken to match them.
17511
17512 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17513
17514         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
17515         Allow a start function above main.
17516         * gdb.threads/linux-dp.exp: Fix copyright date.
17517
17518 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17519
17520         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
17521         (check_philosopher_stack): Check for manager thread before checking
17522         for a just-starting thread.
17523
17524 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17525
17526         From Neil Booth <neil@daikokuya.demon.co.uk>:
17527         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
17528         warnings.
17529
17530 2002-01-21  Fred Fish  <fnf@redhat.com>
17531
17532         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
17533         not caller.
17534
17535 2002-01-21  Jim Blandy  <jimb@redhat.com>
17536
17537         * gdb.base/reread.exp: Check that GDB properly re-reads the
17538         executable file when it changes while no inferior is running.
17539
17540 2002-01-21  Fred Fish  <fnf@redhat.com>
17541
17542         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
17543         optionally accept the "shlib events" variation.
17544
17545 2002-01-21  Jim Blandy  <jimb@redhat.com>
17546
17547         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
17548         call `fflush' after every `printf', so that the output is produced
17549         at predictable points, regardless of whatever buffering does (or
17550         doesn't) take place.
17551         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
17552         at different points.
17553
17554 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
17555
17556         * gdb.c++/inherit.exp: Update copyright years.
17557         * gdb.c++/method.exp: Likewise.
17558
17559 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
17560
17561         * gdb.c++/classes.exp: Update for improved v3 support and skipping
17562         artificial methods/arguments.
17563         * gdb.c++/derivation.exp: Likewise.
17564         * gdb.c++/inherit.exp: Likewise.
17565         * gdb.c++/method.exp: Likewise.
17566         * gdb.c++/virtfunc.exp: Likewise.
17567
17568 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
17569
17570         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
17571         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
17572         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
17573         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
17574         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17575         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
17576
17577 2002-01-17  Jim Blandy  <jimb@redhat.com>
17578
17579         * gdb.asm/asm-source.exp (info symbol): Take another shot at
17580         anchoring the pattern matching the entry point symbol's name.
17581
17582 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
17583
17584         * gdb.base/maint.exp: Update ``maint internal-error'' to match
17585         continue/quit query.  Update copyright.
17586
17587 2002-01-14  Michael Snyder  <msnyder@redhat.com>
17588
17589         * gdb.base/gcore.exp: Remove extra debugging output.
17590
17591 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
17592
17593         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
17594         for slightly dubious v2 mangled string.
17595
17596 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
17597
17598         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
17599
17600 2002-01-10  Jason Merrill  <jason@redhat.com>
17601
17602         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
17603
17604         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
17605         constructors.
17606         * gdb.c++/derivation.exp: Likewise.
17607         * gdb.c++/templates.exp: Likewise.
17608         * gdb.c++/virtfunc.exp: Likewise.
17609
17610 2002-01-10  Michael Snyder  <msnyder@redhat.com>
17611
17612         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
17613
17614 2002-01-08  Michael Snyder  <msnyder@redhat.com>
17615
17616         * gdb.base/gcore.exp: New test for generate-core-file command.
17617         * gdb.base/gcore.c: Testcase for above.
17618         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
17619
17620 2002-01-08  Jason Merrill  <jason@redhat.com>
17621
17622         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
17623
17624 2002-01-07  Fred Fish  <fnf@redhat.com>
17625
17626         * gdb.c++/overload.exp: Remove unconditional xfails for:
17627         print foo_instance1.overloadargs(1)
17628         print foo_instance1.overloadargs(1, 2)
17629         print foo_instance1.overloadargs(1, 2, 3)
17630         print foo_instance1.overloadargs(1, 2, 3, 4)
17631         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
17632         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
17633         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
17634         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
17635         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
17636         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
17637         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
17638         print foo_instance1.overload1arg()
17639         print foo_instance1.overload1arg((char)arg2)
17640         print foo_instance1.overload1arg((signed char)arg3)
17641         print foo_instance1.overload1arg((unsigned char)arg4)
17642         print foo_instance1.overload1arg((int)arg7)
17643         print foo_instance1.overload1arg((unsigned int)arg8)
17644         print foo_instance1.overload1arg((float)arg11)
17645         print foo_instance1.overload1arg((double)arg12)
17646
17647 2002-01-07  Michael Snyder  <msnyder@redhat.com>
17648
17649         * gdb.base/huge.exp: New test.  Print a very large target data object.
17650         (skip_huge_test): New test variable.  Define if you want to skip this
17651         test.  The test reads an 8 megabyte data object from the target, so it
17652         might be very time consuming on remote targets with a slow connection.
17653         * gdb.base/huge.c: New file.  Test case for above.
17654
17655 2002-01-07  Fred Fish  <fnf@redhat.com>
17656
17657         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
17658         g_instance.bfoo, and g_instance.cfoo.
17659
17660 2002-01-07  Jeffrey A Law  <law@redhat.com>
17661
17662         * gdb.base/break.c (multi_line_if_conditional): New function.
17663         (multi_ilne_while_conditional): Likewise.
17664         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
17665         IF or WHILE condition puts the breakpoint at the start of
17666         the condition.
17667
17668         * gdb.base/selftest.exp (backtrace through signal handler): Remove
17669         hppa*-*-hpux* expected failure.
17670         * gdb.base/structs.exp (do_function_calls): Similarly.
17671
17672         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
17673         watchpoints.
17674
17675 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
17676
17677         Fix PR gdb/66.
17678         * gdb.base/structs.exp: Replace skip for a29k with skip for
17679         gdb,cannot_call_functions.
17680         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
17681         * gdb.base/callfuncs.exp: Ditto.
17682         * gdb.base/call-rt-st.exp: Ditto.
17683         * gdb.base/call-strs.exp: Ditto.
17684         * gdb.base/callfwmall.exp: Ditto.
17685         * gdb.base/scope.exp: Obsolete xfail a29k.
17686         * gdb.c++/misc.exp: Ditto.
17687         * gdb.c++/cplusfuncs.exp: Ditto.
17688         * gdb.base/ptype.exp: Ditto.
17689         * gdb.base/printcmds.exp: Ditto.
17690         * gdb.base/opaque.exp: Ditto.
17691         * gdb.base/list.exp: Ditto.
17692         * gdb.base/funcargs.exp: Ditto.
17693         * gdb.base/default.exp: Ditto.
17694
17695 2002-01-04  Michael Snyder  <msnyder@redhat.com>
17696
17697         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
17698         * gdb.base/maint.exp: Add tests for maint info sections options.
17699
17700 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
17701
17702         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
17703
17704 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
17705
17706         * gdb.asm/arm.inc: New file.
17707         * gdb.asm/asm-source.exp: Add arm targets.
17708         * gdb.asm/configure.in: Ditto.
17709         * gdb.asm/configure: Recreated from configure.in.
17710
17711 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
17712
17713         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
17714         with HP's compiler.
17715         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17716         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17717         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17718         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17719
17720         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
17721         either HP's compilers or GCC.
17722
17723         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
17724         a SIGBUS or SIGSEGV.
17725
17726         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
17727
17728         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
17729         can be compiled with either HP's compiler or GCC.
17730
17731         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
17732         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
17733         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
17734
17735         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
17736         to match current gdb output.  Update due to using auto-solib-limit
17737         for limiting instead of overloading auto-solib-add.
17738         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
17739         test program.
17740
17741         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
17742         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
17743         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17744         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17745         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17746         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17747         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
17748         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
17749         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
17750         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
17751         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
17752         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
17753         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
17754
17755         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
17756         a SIGTRAP to the inferior.
17757
17758 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
17759
17760         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
17761         Substitute call to target_link by call to gdb_compile.
17762
17763 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
17764
17765         * gdb.base/break.exp: Fix HP specific search string when testing
17766         backtracing in a called function.
17767
17768         * gdb.base/constvars.exp: Only set lang to C++ if we're
17769         compiling the test with HP's compilers.
17770         * gdb.base/volatile.exp: Similarly.
17771
17772 2001-12-19  Jim Blandy  <jimb@redhat.com>
17773
17774         * gdb.base/printcmds.exp: Expect the null character to be printed
17775         as '\0', and the '\013' to be printed as '\v'.
17776         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
17777         * gdb.base/setvar.exp: Same.
17778
17779 2001-12-17  Jim Blandy  <jimb@redhat.com>
17780
17781         * gdb.base/completion.exp: Rather than completing very long
17782         filenames, which can make the readline library produce output we
17783         don't recognize, cd to the directory first, and then complete
17784         using nice, short relative paths.
17785
17786         * gdb.base/completion.exp: On some systems, there is, in fact, a
17787         variable named `b' in scope, since GDB treats all static
17788         variables as being in scope.  So use `no_var_named_this'
17789         instead of `b'.
17790
17791         * gdb.base/corefile.exp: Recognize the message saying that GDB
17792         can't find the core file's registers as a failure.
17793
17794 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
17795
17796         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
17797         test expect string more specific.
17798
17799 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
17800
17801         * gdb.asm/asm-source.exp: Add support for xstormy16.
17802         * gdb.asm/configure.in: Ditto.
17803         * gdb.asm/configure: Rebuild.
17804         * gdb.asm/xstormy16.inc: New file.
17805
17806 2001-12-10  Fred Fish  <fnf@redhat.com>
17807
17808         * gdb.base/maint.exp: Update to match changes in type dumping code.
17809
17810 2001-12-10  Jim Blandy  <jimb@redhat.com>
17811
17812         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
17813         matching the entry point symbol's name at the beginning of the
17814         line.
17815
17816 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
17817
17818         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
17819         gdb.c++/inherit.exp, gdb.c++/method.exp,
17820         gdb.c++/namespace.exp, gdb.c++/templates.exp,
17821         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
17822         and class layout support.
17823
17824 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
17825
17826         * gdb.c++/classes.exp: Add test for static member function.
17827         * gdb.c++/misc.cc: Add class with static member function.
17828
17829 2001-12-07  Jim Blandy  <jimb@redhat.com>
17830
17831         If GDB says it can't find the struct the function returned, report
17832         those tests as `unsupported'.
17833         * gdb.base/call-rt-st.exp (print_struct_call): New function.
17834         Rewrite subsequent tests to use it.
17835
17836         If GDB says it can't find the struct the function returned, report
17837         those tests as `unsupported'.
17838         * gdb.base/structs.exp (call_struct_func): New function.
17839         (do_function_calls): Use call_struct_func to call the functions
17840         returning structs.
17841
17842         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
17843         whether functions are prototyped or not, so we can't possibly pass
17844         arguments to t_float_values2 properly.
17845
17846         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
17847         value of `timeout' for targets other than the mips*tx39-*.
17848
17849 2001-12-06  Michael Snyder  <msnyder@redhat.com>
17850
17851         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
17852         and detect whether the start symbol has a leading underscore.
17853
17854 2001-12-04  Jim Blandy  <jimb@redhat.com>
17855
17856         * gdb.base/completion.exp: Clarify indentation.
17857
17858 2001-12-03  Jim Blandy  <jimb@redhat.com>
17859
17860         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
17861         variables on the S/390, not `.word'.
17862
17863 2001-11-30  Jim Blandy  <jimb@redhat.com>
17864
17865         Add assembly-source tests for s390-ibm-linux.
17866         * gdb.asm/s390.inc: New file.
17867         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
17868         the S/390 architecture.
17869         * gdb.asm/configure: Regenerated.
17870
17871 2001-11-30  Michael Snyder  <msnyder@redhat.com>
17872
17873         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
17874         next, info source, info sources, info line, global and static
17875         variables, and static functions.
17876         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
17877         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
17878         * gdb.asm/asmsrc1.s: Add a static function and some variables.
17879         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
17880         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
17881         (gdbasm_leave): Restore frame pointer.
17882         (gdbasm_startup): Copy stack set-up from crt0.S.
17883
17884 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
17885
17886         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
17887         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
17888         to a local (non-static) variable. Copy tstruct.a to a static buffer
17889         and return a pointer to that buffer.
17890         * gdb.base/callfwmall.c (t_structs_a): Ditto.
17891
17892 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
17893
17894         * gdb.asm/configure.in: Fix recognition of ix86 target.
17895         * gdb.asm/configure: Regenerate.
17896
17897 2001-11-21  Michael Snyder  <msnyder@redhat.com>
17898
17899         * gdb.asm/sparc.inc: New file.
17900         * gdb.asm/asm-source.exp: Recognize sparc target.
17901         * gdb.asm/configure.in: Recognize sparc target.
17902         * gdb.asm/configure: Regenerate.
17903
17904 2001-11-21  Michael Snyder  <msnyder@redhat.com>
17905
17906         * gdb.asm/m32r.inc: New file.
17907         * gdb.asm/asm-source.exp: Recognize m32r target.
17908         * gdb.asm/configure.in: Recognize m32r target.
17909         * gdb.asm/configure: Regenerate.
17910
17911 2001-11-20  Michael Snyder  <msnyder@redhat.com>
17912
17913         * gdb.asm/i386.inc: New file.
17914         * gdb.asm/asm-source.exp: Recognize ix86 target.
17915         * gdb.asm/configure.in: Recognize ix86 target.
17916         * gdb.asm/configure: Regenerate.
17917
17918         * gdb.c++/namespace.exp: Fix quotes in output messages.
17919
17920 2001-11-14  Michael Snyder  <msnyder@redhat.com>
17921
17922         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
17923         qualifier in a type cast expression, to designate an address
17924         in the instruction space (Harvard architecture).
17925
17926 2001-11-13  Michael Snyder  <msnyder@redhat.com>
17927
17928         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
17929         Tests for expressions using 'const' and 'volatile'.
17930
17931 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
17932
17933         * gdb.asm/asm-sources.exp: Allow defining linker flags.
17934
17935 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
17936
17937         * lib/mi-support.exp (mi_run_to_helper): Move comments
17938         outside of gdb_expect.
17939
17940 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
17941
17942         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
17943         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
17944         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
17945         mi0_run_to): New functions.
17946         * gdb.mi/mi-simplerun.exp: Use them.
17947         * gdb.mi/mi0-simplerun.exp: Likewise.
17948         * gdb.mi/mi-var-cmd.exp: Likewise.
17949         * gdb.mi/mi0-var-cmd.exp: Likewise.
17950
17951 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
17952
17953         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
17954         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
17955
17956 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
17957
17958         * gdb.base/restore.exp: Include $expected value in restored test
17959         message.
17960
17961 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
17962
17963         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
17964         implemented.
17965
17966 2001-11-08  Michael Snyder  <msnyder@redhat.com>
17967
17968         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
17969         Add pass/fail message for stop at breakpoint in call dummy function.
17970
17971 2001-11-07  Michael Snyder  <msnyder@redhat.com>
17972
17973         * gdb.c++/templates.exp (test_template_breakpoints):
17974         If we get an overload menu, but it does not match what
17975         we expect, we still need to issue the "cancel" command.
17976         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
17977         making the whitespace optional.  Argument for "new" may be
17978         "unsigned" as well as "unsigned int/long".
17979         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
17980         making the whitespace optional.  Also replace "(void) with
17981         "((void|)), making the keyword "void" optional.
17982         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
17983         making the whitespace optional.  Also replace "(void) with
17984         "((void|)), making the keyword "void" optional.
17985         * gdb.base/callfuncs.c (t_float_values): This function must
17986         _not_ be prototyped, and the following function (t_float_values2)
17987         must be prototyped (if the compiler supports it), so that GDB
17988         can be tested against both cases.  Usually one case involves
17989         promotion of float to double, while the other does not.
17990         * gdb.base/callfwmall.c: Ditto.
17991         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
17992         includes a stack frame for "start".
17993
17994 2001-11-05  Jim Blandy  <jimb@redhat.com>
17995
17996         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
17997         pointers are 32 bits long, and that offsets of relocs are always
17998         stored in the data (REL-style), and not in the reloc entry itself
17999         (RELA-style).
18000         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18001         stabs.
18002
18003 2001-11-01  Michael Snyder  <msnyder@redhat.com>
18004
18005         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18006         and regular expression operators by using quoting.
18007
18008 2001-10-31  Michael Snyder  <msnyder@redhat.com>
18009
18010         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18011         depending on what the symbol table contains.
18012         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18013         the output of the ptype command.  Similarly, accept both "const &"
18014         and "const&".
18015
18016 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
18017
18018         * gdb.base/miscexprs.c (main): Add usage of preprocessor
18019         symbol `STORAGE' to allow to choose the storage class of
18020         the local datastructures.
18021         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18022         compiler directive.
18023
18024 2001-10-30  Michael Snyder  <msnyder@redhat.com>
18025
18026         * gdb.base/jump.exp: Allow it to run for all targets.
18027
18028 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
18029
18030         * gdb.base/call-ar-st.c (print_double_array): Match for loop
18031         with new double_array size.
18032         (main): Change storage class of all local variables to static.
18033         Reduce size of double_array to 9.
18034         * gdb.base/call-ar-st.exp:  Increase timeout value.
18035         Change expected output for double array to match new size in
18036         call-ar-st.c.
18037
18038 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
18039
18040         * gdb.base/ending-run.exp: Create identical output when passing
18041         `step to end of run' case.  Add regular expression branch satisfying
18042         Stormy16 target.
18043
18044 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
18045
18046         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18047         that we catch the expected failure under Linux/x86.
18048
18049 2001-10-29  Orjan Friberg  <orjanf@axis.com>
18050
18051         * gdb.base/setvar.exp: Escape curly braces.
18052         * gdb.stabs/weird.exp: Ditto.
18053
18054 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
18055
18056         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18057         * gdm.mi/mi0-hack-cli.exp: Likewise.
18058
18059 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
18060
18061         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18062         messages.
18063
18064 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
18065
18066         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18067         checking MI enabled.
18068
18069 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
18070
18071         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18072
18073 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
18074
18075         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18076         if gdb child process crashes, just signal an error.
18077
18078 2001-10-02  Jim Blandy  <jimb@redhat.com>
18079
18080         * lib/gdb.exp (test_xfail_format): Simplify.
18081
18082         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18083         front of the variable name `format'.  Simplify `if'.
18084
18085 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
18086
18087         * gdb.threads/pthreads.exp: Wait for output and delay
18088         before sending ^C.
18089
18090 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
18091
18092         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
18093         some incorrect output instead of timing out.
18094         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
18095
18096 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
18097
18098         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18099         check to allow additional `int'.
18100
18101 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
18102
18103         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18104         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18105
18106 2001-09-27  Michael Snyder  <msnyder@redhat.com>
18107
18108         * lib/gdb.exp (test_debug_format): New proc.
18109         (setup_xfail_format): Use new proc test_debug_format.
18110         * gdb.base/constvars.exp (local_compiler_xfail_check): New
18111         proc; use new service proc test_debug_format.
18112         Replace all other "gcc_compiled" tests with this test.
18113         * gdb.base/volatile.exp (local_compiler_xfail_check): New
18114         proc; use new service proc test_debug_format.
18115         Replace all other "gcc_compiled" tests with this test.
18116
18117 2001-09-27  Michael Snyder  <msnyder@redhat.com>
18118
18119         * gdb.base/cvexpr.exp: New file.
18120         * gdb.base/cvexpr.c: New file
18121         Test for expressions using const and volatile keywords.
18122
18123 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
18124
18125         * gdb.base/constvars.exp: Check for different orders of keywords
18126         and additional "int" strings in output.
18127
18128 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
18129
18130         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18131         responses from "help maint".
18132
18133 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
18134
18135         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18136         to localhost:NNN instead of :NNN, in case Xvfb is listening
18137         only on TCP.
18138
18139 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
18140
18141         * gdb.base/recurse.exp: When checking leaving the watchpoint
18142         scope, recognize when gdb is in function's epilogue and pass.
18143
18144 2001-09-18  Keith Seitz  <keiths@redhat.com>
18145
18146         * lib/insight-support.exp (_gdbtk_export_target_info): Add
18147         support for running tests against sid targets.
18148         (gdbtk_done): Ditto.
18149
18150 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
18151
18152         * gdb.base/ending-run.c (main): Set stdout buffersize
18153         to the same reasonable value for any target.
18154         * gdb.base/ending-run.exp: Add a regular expression
18155         to make testsuite happy on Sanyo Stormy16 target.
18156
18157 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
18158
18159         * gdb.base/display.c (do_loops): Add float variable `f'.
18160         Increment f in loop.
18161         * gdb.base/display.exp: Increment timeout by 60 seconds.
18162         Change float display test to use variable `f'.
18163
18164 2001-09-17  Jim Blandy  <jimb@redhat.com>
18165
18166         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18167         overflowing the limited breakpoint tables on some ROM monitors
18168         (like the ROM68K).
18169
18170 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
18171
18172         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18173         the "-ac" (disable access control) flag.
18174
18175 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
18176
18177         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18178         ints.
18179
18180 2001-08-30  Keith Seitz  <keiths@redhat.com>
18181
18182         * lib/gdb.exp: Move all insight-related functionality into
18183         separate file.
18184         * lib/insight-support.exp: New file.
18185
18186 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
18187
18188         * config/sid.exp (sid_start): Never set sid verbosity; disable
18189         expect_background {} that consumed its stdout; tolerate </dev/null.
18190         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
18191
18192 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
18193
18194         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18195         CLI jump command to start it.
18196         (mi_run_to_main): Fail immediatly when unexpected output.
18197
18198 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
18199
18200         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
18201         beginning of function.  Fix PR gdb/191.
18202
18203 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
18204
18205         * config/sid.exp (sid_start): Don't warn if we cannot figure out
18206         what to force sid endianness to.
18207
18208 2001-08-15  Keith Seitz  <keiths@redhat.com>
18209
18210         * lib/gdb.exp (gdbtk_start): Don't set environment
18211         variables for TCL_LIBRARY and friends. Insight will
18212         now figure these out for itself.
18213
18214 2001-08-02  Michael Snyder  <msnyder@redhat.com>
18215
18216         * gdb.base/completion.exp: Remove the symbol "a64l" from
18217         the expect string; this is target-specific, and not related
18218         to what is being tested.
18219
18220 2001-08-02  Dave Brolley  <brolley@redhat.com>
18221
18222         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
18223
18224 2001-07-25  Michael Snyder  <msnyder@redhat.com>
18225
18226         * gdb.base/consecutive.exp: New file.  Test stepping over
18227         breakpoints on consecutive instructions.
18228         * gdb.base/consecutive.c: New file.
18229
18230         * gdb.base/call-rt-st.exp: Use double-backslash to quote
18231         curly braces in regular expressions.
18232
18233 2001-07-25  Michael Snyder  <msnyder@redhat.com>
18234
18235         * gdb.base/ending-run.exp: Accept "Program exited normally" as
18236         legitimate output from stepping out of main.
18237
18238 2001-07-22  Keith Seitz  <keiths@redhat.com>
18239
18240         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
18241         the empty string, do not run the tests.
18242
18243 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18244
18245         * gdb.base/long_long.exp: Detect size of pointer.  Take into
18246         account 2-byte pointers when testing for p/a results.
18247
18248 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18249
18250         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
18251         and defined to 1K for m68hc11.
18252         (random_data): Reduce table to 1K for embedded platforms (68hc11).
18253         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
18254         (sizeof_random_data): New variable to tell the size of the data table;
18255         don't test past this size; always run to main.
18256
18257 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18258
18259         * gdb.base/return2.exp: return of long long and double fails for
18260         68HC11; don't execute these tests on that platform.
18261         * gdb.base/return.exp: Return of a double fails for 68hc11.
18262
18263 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18264
18265         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
18266         tests that print a float.
18267         * call-rt-st.exp: Likewise.
18268
18269 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
18270
18271         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
18272         running this test on Linux.
18273
18274 2001-06-24  Michael Chastain  <chastain@redhat.com>
18275
18276         * gdb.base/arithmet.exp: Remove some tests to make all test names
18277         unique.
18278
18279 2001-07-03  Michael Snyder  <msnyder@redhat.com>
18280
18281         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
18282         the output of the ptype command.
18283
18284 2001-07-02  Michael Snyder  <msnyder@redhat.com>
18285
18286         * gdb.base/completion.exp: Don't assume that break.c is the only
18287         source file that may contain functions named "marker".
18288         * gdb.base/corefile.exp: Quote the curly braces in regexp.
18289
18290 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
18291
18292         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
18293         of files to delete.
18294
18295         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
18296         * gdb.disasm/h8300s.exp: New file.
18297         gdb.disasm/h8300s.s: Likewise.
18298
18299 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
18300
18301         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
18302         empty breakpoint tables.
18303
18304 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
18305
18306         * lib/mi-support.exp: Update args=... part of stop-reason
18307         patterns. Accept either a list or a tuple.
18308
18309 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
18310
18311         * lib/mi-support.exp: Remove local emacs variable defining
18312         change-log-default-name.
18313
18314 2001-06-22  Michael Chastain  <chastain@redhat.com>
18315
18316         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
18317         This is operationally compatible with the previous version.
18318
18319 2001-06-13  Jim Blandy  <jimb@redhat.com>
18320
18321         * lib/gdb.exp (gdb_test): Doc fix.
18322
18323 2001-06-10  Michael Chastain  <chastain@redhat.com>
18324
18325         * gdb.base/exprs.exp: Remove a duplicate test.
18326
18327 2001-06-06  Jim Blandy  <jimb@redhat.com>
18328
18329         * gdb.base/return2.exp (main): Use values to test float and double
18330         returns that are not NaN's, to avoid being confused by IEEE
18331         comparison rules.
18332
18333 2001-06-04  Michael Snyder  <msnyder@redhat.com>
18334
18335         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
18336         non-zero if control_c fails.  Terminate the test on failure,
18337         rather than wait for 12 more tests to time out.
18338
18339 2001-06-06  Jim Blandy  <jimb@redhat.com>
18340
18341         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
18342         Don't forget to match the GDB prompt.
18343
18344         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
18345
18346 2001-06-04  Jim Blandy  <jimb@redhat.com>
18347
18348         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
18349         command.
18350
18351 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
18352
18353         * gdb.base/annota1.exp (info break): Match four or more spaces
18354         after "Address".
18355
18356 2001-05-31  Michael Chastain  <chastain@redhat.com>
18357
18358         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
18359         (dm_type_int_star): Likewise.
18360         (dm_type_long_star): Likewise.
18361         (dm_type_void_star): Likewise.
18362
18363 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
18364
18365         * gdb.base/completion.exp (INPUTRC): Set this environment variable
18366         to a known value in order to get consistent results regardless
18367         of the setting of INPUTRC or the presence or contents of .inputrc.
18368
18369 2001-05-24  Michael Snyder  <msnyder@redhat.com>
18370
18371         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
18372         Don't require that the main thread and the manager thread are the
18373         first in the list.
18374
18375         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
18376         debugging.  If test fails, issue an "unsupported" not a "fail".
18377
18378 2001-05-24  Jim Blandy  <jimb@redhat.com>
18379
18380         Don't assume that short is shorter than int.
18381         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
18382         assume that shorts are smaller than ints.  On a 16-bit machine,
18383         this isn't true.
18384         ("print unsigned char == (~0)"): Add test that verifies that ~0,
18385         an int, is not equal to ~0 stored in an unsigned char.  This tests
18386         the same thing that the previous test meant to, but works on
18387         16-bit machines, too.
18388         ("print unsigned char != (~0)"): Same test, complemented.
18389
18390 2001-05-24  Michael Snyder  <msnyder@redhat.com>
18391
18392         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
18393         test for (full_coverage == 0).  This makes the test run faster,
18394         and prevents dejagnu getting out of step.
18395
18396 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
18397
18398         * gdb.base/finish.exp (finish_void): Revise pattern for
18399         stopping on the call statement to not permit stopping at
18400         the start of the instructions comprising the call sequence.
18401
18402 2001-05-19  Michael Chastain  <chastain@redhat.com>
18403
18404         * gdb.base/callfuncs.exp: Make all test names unique.
18405         * gdb.base/commands.exp: Make all test names unique.
18406         * gdb.base/condbreak.exp: Make all test names unique.
18407         * gdb.base/dbx.exp: Make all test names unique.
18408         * gdb.base/default.exp: Make all test names unique.
18409         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
18410         and TIMEOUT messages to their corresponding PASS message.
18411         * gdb.base/ending-run.exp: Make all test names unique.
18412         * gdb.base/long_long.exp: Remove duplicate test.
18413
18414 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
18415
18416         * gdb.base/finish.exp (finish_void): Allow "finish" command to
18417         stop on the call statement as well as the statement after the
18418         call.
18419
18420 2001-05-21  Michael Snyder  <msnyder@redhat.com>
18421
18422         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
18423
18424 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
18425
18426         * gdb.base/completion.exp: Revamp test. Make it execute on all
18427         platforms.
18428
18429 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
18430
18431         * config/gdbserver.exp (gdb_load): Handle the case
18432         in which the arguments to gdbserver are given in the
18433         baseboard configuration file.
18434         Also handle the case in which the server needs to do a
18435         load.
18436
18437 2001-05-07  Keith Seitz <keiths@cygnus.com>
18438
18439         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
18440         set up the display for testing.
18441         (gdbtk_start): Convert all paths to paths that tcl will like.
18442         Export target information to environment.
18443         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
18444         necessary.
18445         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
18446         (to_tcl_path): New proc to convert a given pathname into
18447         a path acceptible as an argument to a tcl command.
18448         (_gdbtk_export_target_info): New proc to export target info
18449         into the environment for gdbtk testing.
18450         (gdbtk_done): New proc to signal end-of-test.
18451
18452 2001-05-06  Jim Blandy  <jimb@redhat.com>
18453
18454         * restore.c: Make the code of caller0 correspond to its comment.
18455
18456 2001-05-03  Michael Snyder  <msnyder@redhat.com>
18457
18458         * config/sid.exp (gdb_target_sid): Check for error messages.
18459         On error or timeout, don't make expect exit (which will terminate
18460         all subsequent tests); instead just make gdb exit.
18461         (gdb_load): Check for error messages.  On error or timeout,
18462         return a negative value.
18463
18464 2001-04-24  Jim Blandy  <jimb@redhat.com>
18465
18466         * gdb.c++/templates.exp: If we see the prompt for the overload
18467         list, but we haven't recognized any of the longer patterns,
18468         arrange for this test to fail, not hang.
18469
18470         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18471         variations.
18472
18473 2001-04-22  Michael Chastain  <chastain@redhat.com>
18474
18475         * gdb.c++/local.exp: Use the 'runto' library function.
18476         * gdb.c++/namespace.exp: Likewise.
18477         * gdb.c++/overload.exp: Likewise.
18478
18479 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
18480
18481         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18482         * gdb.base/step-line.exp: New file.  Test step/next in presence of
18483         #line directives.
18484         * gdb.base/step-line.c: New file.  Test program for the above.
18485         * gdb.base/step-line.inp: New file.  We pretend that this file has
18486         been transformed by some other tool into step-line.c.
18487
18488 2001-03-21  Jim Blandy  <jimb@redhat.com>
18489
18490         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18491         unmangled operator names.
18492
18493 2001-03-20  Jim Blandy  <jimb@redhat.com>
18494
18495         * gdb.threads/linux-dp.exp: Recognize an additional message
18496         generated by GDB when it doesn't understand how to debug threads
18497         on the target system.
18498
18499 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
18500
18501         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
18502
18503 2001-03-12  Michael Chastain  <chastain@redhat.com>
18504
18505         * gdb.c++/derivation.exp: Use the 'runto' library function.
18506
18507 2001-03-12  Michael Chastain  <chastain@redhat.com>
18508
18509         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
18510
18511 2001-02-24  Michael Chastain  <chastain@redhat.com>
18512
18513         * gdb.c++/ref-types.exp: Change handwritten code to library
18514         function 'runto'.
18515
18516 2001-03-16  Orjan Friberg  <orjanf@axis.com>
18517
18518         * gdb.base/signals.exp: Set count to 0 explicitly.
18519
18520 2001-03-15  Mark Salter  <msalter@redhat.com>
18521
18522         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
18523         (gdb_target_monitor): Add check of gdb_target_cmd return value.
18524         (gdb_load): Add support for additional target_info: gdb_download_size
18525         and gdb_load_timeout.
18526
18527 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
18528
18529         * gdb.base/annota1.exp: Move test of isnative to earlier in the
18530         file -- to prevent failing when the compile fails but we have no
18531         intention of running the tests anyway.
18532
18533         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
18534         tests if set.
18535
18536         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
18537         integers.
18538
18539         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
18540         * gdb.c++/namespace.exp: Ditto.
18541
18542 2001-03-07  Orjan Friberg  <orjanf@axis.com>
18543
18544         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
18545         * gdb.base/pointers.exp: Relax pattern match of decimals.
18546
18547 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
18548
18549         * Makefile.in, config/abug.exp, config/cfdbug.exp,
18550         config/cpu32bug.exp, config/dve.exp, config/est.exp,
18551         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
18552         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
18553         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
18554         config/sh.exp, config/sid.exp, config/slite.exp,
18555         config/sparclet.exp, config/udi.exp, config/unknown.exp,
18556         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
18557         config/vxworks.exp, config/vxworks29k.exp,
18558         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
18559         gdb.base/all-bin.exp, gdb.base/annota1.exp,
18560         gdb.base/arithmet.exp, gdb.base/assign.exp,
18561         gdb.base/async.exp, gdb.base/attach.exp,
18562         gdb.base/bitfields.exp, gdb.base/bitops.exp,
18563         gdb.base/break.exp, gdb.base/call-ar-st.exp,
18564         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
18565         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
18566         gdb.base/commands.exp, gdb.base/completion.exp,
18567         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
18568         gdb.base/constvars.exp, gdb.base/corefile.exp,
18569         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
18570         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
18571         gdb.base/ending-run.exp, gdb.base/environ.exp,
18572         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
18573         gdb.base/finish.exp, gdb.base/foll-exec.exp,
18574         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
18575         gdb.base/funcargs.exp, gdb.base/help.exp,
18576         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
18577         gdb.base/logical.exp, gdb.base/long_long.exp,
18578         gdb.base/maint.exp, gdb.base/mips_pro.exp,
18579         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
18580         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
18581         gdb.base/pointers.exp, gdb.base/printcmds.exp,
18582         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
18583         gdb.base/regs.exp, gdb.base/relational.exp,
18584         gdb.base/remote.exp, gdb.base/reread.exp,
18585         gdb.base/restore.exp, gdb.base/return2.exp,
18586         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
18587         gdb.base/selftest.exp, gdb.base/setshow.exp,
18588         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
18589         gdb.base/sigall.exp, gdb.base/signals.exp,
18590         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
18591         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
18592         gdb.base/step-test.exp, gdb.base/structs.c,
18593         gdb.base/structs.exp, gdb.base/structs2.exp,
18594         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
18595         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
18596         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
18597         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18598         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
18599         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
18600         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
18601         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
18602         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
18603         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
18604         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
18605         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
18606         gdb.fortran/types.exp, gdb.java/jmisc.exp,
18607         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
18608         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
18609         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
18610         gdb.trace/circ.exp, gdb.trace/collection.exp,
18611         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
18612         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
18613         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
18614         gdb.trace/report.exp, gdb.trace/save-trace.exp,
18615         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
18616         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
18617         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
18618         notices.
18619
18620 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
18621
18622         * gdb.base/varargs.c (find_max_double): Fix printf format string:
18623         first arg is int not float.
18624
18625 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
18626
18627         * gdb.base/reread.exp: Unsupported for non-native targets;
18628         doesn't work for remote debugging.
18629
18630 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
18631
18632         From  Drew Moseley  <dmoseley@redhat.com>
18633         * gdb.base/ending-run.exp: Properly handle the BSP state when
18634         stepping past the end of main.
18635
18636 2001-02-19  John Moore  <jmoore@redhat.com>
18637
18638         * gdb.base/commands.exp (infrun_breakpoint_command_test):
18639         Converted HPUX fix for non-expected items following multiple
18640         step commands into general solution for all platforms.
18641
18642 2001-02-18  Michael Chastain  <chastain@redhat.com>
18643
18644         * gdb.c++/classes.exp (do_tests): Change runto statements
18645         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
18646         statements demangler agnostic.
18647         * gdb.c++/virtfunc.exp (do_tests): Likewise.
18648         (gdb_virtfunc_restart): Likewise.
18649
18650 2001-02-14  Michael Chastain  <chastain@redhat.com>
18651
18652         * gdb.c++/inherit.exp (do_tests): Change runto statements
18653         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
18654         statements demangler agnostic.
18655
18656 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
18657
18658         * gdb.threads/pthreads.exp: Unify pass/fail messages for
18659         ``continue to bkpt at common_routine in thread 2'' and ``stopped
18660         before calling common_routine 15 times'' tests.
18661
18662 2001-02-11  Michael Chastain  <chastain@redhat.com>
18663
18664         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
18665         Helps the test script figure out which demangler is in use.
18666         (dm_type_foo_ref): Ditto.
18667         (dm_type_int_star): Ditto.
18668         (dm_type_long_star): Ditto.
18669         (dm_type_unsigned_int): Ditto.
18670         (dm_type_void): Ditto.
18671         (dm_type_void_star): Ditto.
18672         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
18673         Probe the gdb demangler and set variables to accommodate
18674         formatting differences.
18675         (info_func_regexp): New function.  Same as info_func, but
18676         matches against a regexp.
18677         (info_func): Match against a literal string.
18678         (print_addr_2): New function.  Match against a literal string,
18679         which can be different from the input to gdb.
18680         (print_addr): Simply call print_addr_2 with the same argument twice.
18681         (test_lookup_operator_functions): Use demangler formatting variables.
18682         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
18683         the tests in the same order as the C++ class declaration.
18684         (test_paddr_operator_functions): Ditto.
18685         (test_paddr_overloaded_functions): Ditto.
18686         (test_paddr_hairy_functions): Use demangler formatting variables.
18687         Add reference to gdb/19 for related tests.
18688         (do_tests): Call probe_demangler.
18689
18690 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
18691
18692         * gdb.c++/templates.cc (printf): Remove unused function definition.
18693
18694 2001-01-26  Felix Lee  <flee@redhat.com>
18695
18696         * sid.exp (sid_exit): Pass host, not target, to remote_close.
18697
18698 2001-01-25  matthew green  <mrg@redhat.com>
18699
18700         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
18701         up sid.
18702         (sid_exit): Call `remote_pop_conn' after GDB is gone.
18703
18704 2001-01-25  matthew green  <mrg@redhat.com>
18705
18706         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
18707         Deprecate $sid_spawn_id.
18708         (sid_exit): Remove code necessary only for `spawn.'
18709
18710 2001-01-25  matthew green  <mrg@redhat.com>
18711
18712         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
18713
18714 2001-01-28  Michael Chastain  <chastain@redhat.com>
18715
18716         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
18717         to call when tests fail.  It takes gdb out of the overloaded
18718         function choice menu back to the main prompt, so that the test
18719         program stays synchronized.
18720         (set_bp_overloaded): New proc to collect all the common
18721         code for setting a breakpoint on an overloaded name.  Calls
18722         take_gdb_out_of_choice_menu when needed.
18723         (menu_overload1arg): New variable to collect the repeated
18724         instances of the expected menu for an overloaded name.  Change
18725         the regular expression to handle changes in g++ type encoding:
18726         "void" can be either "void" or "", and "unsigned int" can be
18727         either "unsigned int" or "unsigned".
18728         (continue_to_bp_overloaded): Change regular expressions to handle
18729         changes in g++ type encoding.
18730         (no proc): Call take_gdb_out_of_choice_menu when needed.
18731         Remove redundant calls to "info break".  Accept either "canceled"
18732         or "cancelled".  Change regular expressions in "info break"
18733         calls to handle changes in g++ type encoding.  Give all tests
18734         unique strings.
18735
18736 2001-01-17  Ben Elliston  <bje@redhat.com>
18737
18738         * config/sid.exp: New file.
18739
18740 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
18741
18742         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
18743
18744 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
18745
18746         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
18747         Add a RE to accept a non-ascii char if one is ever presented.
18748
18749 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
18750
18751         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
18752
18753 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
18754
18755         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
18756         in regexp.  One '\' does not suffice on Linux.
18757
18758 2000-12-09  Michael Chastain  <chastain@redhat.com>
18759
18760         * gdb.base/break.exp (test_clear_command): Use a marker function
18761         rather than 'main' for the test function.  Also move this
18762         test to an execution point where the marker function names are
18763         guaranteed to be bound to functions.  (Executing tests after a
18764         'finish' from main runs into name conflicts with local names
18765         in __libc_start_main).
18766
18767 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
18768
18769         * gdb.base/finish.exp: New test for gdb's "finish" command.
18770         * gdb.base/return2.exp: New test for gdb's "return" command.
18771         * gdb.base/return2.c: New source file for above.
18772
18773 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
18774
18775         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
18776         * gdb.base/miscexprs.exp: Ditto.
18777         * gdb.base/pointers.exp:  Ditto.
18778         * gdb.c++/derivation.exp: Ditto.
18779         * gdb.c++/local.exp:      Ditto.
18780         * gdb.c++/namespace.exp:  Ditto.
18781         * gdb.c++/overload.exp:   Ditto.
18782         * gdb.c++/ref-types.exp:  Ditto.
18783
18784 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
18785
18786         * gdb.base/constvars.exp: Test result of "up" command.
18787         * gdb.base/miscexprs.exp: Ditto.
18788         * gdb.base/pointers.exp:  Ditto.
18789         * gdb.base/scope.exp:     Ditto.
18790         * gdb.c++/derivation.exp: Ditto.
18791         * gdb.c++/local.exp:      Ditto.
18792         * gdb.c++/namespace.exp:  Ditto.
18793         * gdb.c++/overload.exp:   Ditto.
18794         * gdb.c++/ref-types.exp:  Ditto.
18795
18796 2000-11-22  Michael Chastain  <chastain@redhat.com>
18797
18798         * mips_pro.exp: Accept either "middle -> top -> main" or
18799         "middle -> main" in the backtrace, because gcc can optimize
18800         tail calls to jumps.  Remove setup_xfail for the hppa case.
18801         Add a comment with the original warning messages from PR 3016,
18802         which was filed in 1993, to preserve them for posterity.
18803
18804 2000-11-17  Nick Duffek  <nsd@redhat.com>
18805
18806         * lib/gdb.exp (gdb_test): Override timeout with board info.
18807
18808 2000-11-17  Nick Duffek  <nsd@redhat.com>
18809
18810         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
18811         the second kill and detach messages.
18812
18813 2000-11-17  Nick Duffek  <nsd@redhat.com>
18814
18815         * configure.in: Add AC_EXEEXT.
18816         * configure: Regenerate.
18817         * Makefile.in (just-check): Export EXEEXT.
18818         * lib/gdb.exp ($EXEEXT): Import from environment.
18819         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
18820         expect "maint dump-me" on Cygwin.
18821         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
18822         $EXEEXT.
18823
18824 2000-11-17  Nick Duffek  <nsd@redhat.com>
18825
18826         * gdb.base/break.exp: Test backtrace and finish from called
18827         function on all platforms, not just HP-UX.
18828
18829 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
18830
18831         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
18832         code from gdb_target_monitor, so it can be used independantly
18833         for gdbserver.  Also comment out an unnecessary PUTS.
18834
18835 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
18836
18837         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
18838         * gdb.base/corefile.exp: Expect the message "Program is being
18839         debugged already" when we send the "corefile" command, since
18840         the preceeding gdb_load may have connected gdb to a remote target.
18841         * gdb.base/display.exp: Disable hardware watchpoints if new
18842         board info variable "no_hardware_watchpoints" is true.
18843         Replace single-letter commands with more readable ones.
18844         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
18845         if new board info variable "no_hardware_watchpoints" is true.
18846         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
18847         to see if stdio (printf) testing is possible.
18848         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
18849         board info variable "no_hardware_watchpoints" is true.  Use new
18850         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
18851
18852 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
18853
18854         From Orjan Friberg  <orjanf@axis.com>:
18855         * gdb.base/printcmds.exp: Escape curly braces followed by a number
18856         in array print pattern match.
18857
18858 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
18859
18860         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
18861         spelling "cancelled" to U.S. spelling "canceled" to match changes
18862         made to gdb.
18863         * gdb.c++/ovldbreak.exp: Ditto.
18864
18865 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
18866
18867         * gdb.base/callfuncs.c (main):  Moved to end of file, call
18868         t_double_values to initialize the FPU before inferior calls are made.
18869         * gdb.base/callfuncs.exp:  Test for register preservation after calling
18870         inferior functions.  Add tests for continuining, finishing and
18871         returning from a stop in a call dummy.
18872
18873 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
18874
18875         * gdb.base/commands.exp: Break up long lines, and re-indent.
18876
18877 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
18878
18879         * config/gdbserver.exp:  Rewritten from the ground up, to make it
18880         compatible with the current dejagnu tree, and to make it work with
18881         the new "gdbserver" in libremote.
18882
18883 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
18884
18885         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
18886         * gdb.base/varargs.exp: Skip entire test if no printf support.
18887         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
18888         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
18889
18890 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
18891
18892         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
18893         no floating point support.
18894         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
18895         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
18896         * gdb.base/call-rt-st.exp: Ditto.
18897         * gdb.base/call-strs.exp: Ditto.
18898
18899 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
18900
18901         * gdb.base/sizeof.c: include <stdio.h>.
18902
18903         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
18904         'finish', otherwise uncaptured gdb_prompt would potentially
18905         throw remaining test points out of sync.
18906
18907 2000-07-26  Scott Bambrough <scottb@netwinder.org>
18908
18909         * gdb.base/recurse.exp: Run tests for all targets.
18910         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
18911         gnu-oldld case on ARM.
18912         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
18913         for ARM targets.
18914
18915 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
18916
18917         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
18918         * gdb.java/configure: Rebuild.
18919
18920 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
18921
18922         * gdb.java/jv-exp.exp: New file.
18923
18924 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
18925
18926         * configure: Rebuilt.
18927         * configure.in (configdirs): Add gdb.java.
18928         * gdb.java/jmisc.java: New file.
18929         * gdb.java/jmisc.exp: New file.
18930         * gdb.java/Makefile.in: New file.
18931         * gdb.java/configure: Rebuilt.
18932         * gdb.java/configure.in: New file.
18933         * lib/java.exp: New file.
18934
18935 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18936
18937         * gdb.base/exprs.exp: Test casts to a pointer including over and
18938         underflow.
18939
18940 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18941
18942         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
18943         and the compilers sizes.
18944
18945 2000-07-09  Nick Duffek  <nsd@redhat.com>
18946
18947         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
18948         (use_methods): New function.
18949         (main): Call use_methods().
18950         * gdb.c++/classes.exp (test_method_param_class): New procedure.
18951         (do_tests): Call test_method_param_class.
18952
18953 2000-07-09  Nick Duffek  <nsd@redhat.com>
18954
18955         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
18956         spelling.
18957         (test_enums): New procedure.  Move enum tests from end of script
18958         to here.  Set breakpoint on function name instead of line number.
18959         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
18960         (enums2): New marker function.
18961         (enums1): New function.
18962         (main): Call enums1().  Move enum tests to enums1().
18963
18964 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18965
18966         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
18967         compile/link program.  Update line numbers.
18968         * gdb.asm/d10v.inc: Define ``startup''.
18969         * gdb.asm/asmsrc1.s: Add definition of _start.
18970
18971 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18972
18973         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
18974
18975 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
18976
18977         * gdb.base/maint.exp: Add 'maint print architecture' item to output
18978         of 'help maint print' command.
18979
18980 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18981
18982         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
18983         they use gdb_expect_list.
18984
18985 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
18986
18987         * gdb.base/commands.exp: Use ``set remote
18988         memory-read-packet-size'' instead of ``set endian big'' to test
18989         long commands.
18990
18991 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
18992
18993         * gdb.c++/templates.exp (do_tests): Make all of these work under
18994         g++, and stop skipping them.
18995
18996         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
18997         work under g++.
18998
18999         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
19000         initialization.
19001
19002 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
19003
19004         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19005         the regular expression: accept an (almost) arbitrary sequence of
19006         "frames-invalid" and "breakpoints-invalid" messages both before
19007         and after the "starting" message.
19008
19009 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
19010
19011         * gdb.c++/local.exp: This test has never been known to work with g++.
19012
19013 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
19014
19015         * gdb.base/annota1.exp (annotate-signal-handler-caller):
19016         Relax the regular expression a little, make it pass on Solaris 8.
19017
19018 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
19019
19020         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
19021         a call, do not require that gdb stop on the line after the call.
19022         Instead, it is permissible for gdb to stop on the line of the
19023         call itself.
19024
19025 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
19026
19027         * gdb.base/break.exp (bp on small function, optimized file):
19028         Add a second pass pattern.  The behavior differs here between stabs
19029         and dwarf for one-line functions.  Stabs preserves two line symbols
19030         (one before the prologue and one after) with the same line number,
19031         but dwarf regards these as duplicates and discards one of them.
19032         Therefore the address after the prologue (where the breakpoint is)
19033         has no exactly matching line symbol, and GDB reports the breakpoint
19034         as if it were in the middle of a line rather than at the beginning.
19035
19036 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
19037
19038         * gdb.base/interrupt.exp: Make "pass" message say "send"
19039         rather than "send_gdb" (for consistancy).
19040
19041 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19042
19043         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
19044         * gdb.c++/templates.cc: Properly check for GCC version number.
19045         * lib/compiler.cc: Likewise
19046
19047 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
19048
19049         * gdb.base/break.exp: When compiled with -O2 optimization,
19050         gdb may not stop at the first line of main, due to code motion.
19051
19052 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
19053
19054         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19055         This test depends on parsing the printf output from the target.
19056         Since the sparclet stub doesn't do stdio, this will never work.
19057         * gdb.base/call-rt-st.exp: ditto.
19058         * gdb.base/call-strs: ditto.
19059
19060 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
19061
19062         * gdb.base/miscexprs.exp: make sizeof long array test portable.
19063
19064         * gdb.base/ending-run.exp: After connecting to a remote target,
19065         but before running, the target will appear to be in a random
19066         location.  Specify both a file and a line for breakpoints.
19067         Also, the function that calls main may be called 'init'
19068         rather than 'start'.
19069
19070 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19071
19072         * gdb.base/help.exp: Update output for add-symbol-file command.
19073
19074 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
19075
19076         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19077         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19078
19079 2000-04-07  J.T. Conklin  <jtc@redback.com>
19080
19081         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19082
19083         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19084
19085 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
19086
19087         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
19088         values that can be represented exactly.
19089         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19090         above change, and to not check against the directory part of the source
19091         file name.
19092         (step into print_long_arg_list): Likewise.
19093         (print print_small_structs from print_long_arg_list): Likewise.
19094         (print print_long_arg_list): Likewise.
19095
19096 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19097
19098         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
19099
19100 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19101
19102         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19103
19104 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
19105
19106         * gdb.base/commands.exp (deprecated_command_test): Add test for
19107         deprecate with no arguments.
19108
19109 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
19110
19111         * gdb.base/break.exp: Add new test for setting breakpoints on
19112         optimized code so we can test breakpoints work even when function
19113         prologues may be optimized away
19114
19115 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19116
19117         From David Whedon <dwhedon@gordian.com>
19118         * gdb.base/commands.exp : Added command deprecator tests.
19119
19120 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
19121
19122        * gdb.base/help.exp: Added test for new apropos command.
19123
19124 2000-03-21  Kevin Buettner <kevinb@redhat.com>
19125
19126         * gdb.base/pointers.c (usevar): New function.
19127         (main): Make sure that global variables v_int_pointer2, rptr,
19128         and y are all referenced someplace in the program by calling
19129         usevar() on them.  [Some linkers delete symbols which are
19130         never referenced.  The space remains, but there's no way to
19131         get a (symbolic) handle on the variable from the debugger.]
19132
19133 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19134
19135         * gdb.base/printcmds.c: Add typedeffed arrays.
19136
19137         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
19138         procedure to test arrays that are typedef'd.
19139
19140 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
19141
19142         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
19143         the library directories.
19144
19145 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19146
19147         * configure.in (configdirs): Add sub directory gdb.mi.
19148         * configure: Re-generate.
19149
19150         * gdb.mi: New directory.
19151
19152 2000-02-25  Scott Bambrough <scottb@netwinder.org>
19153
19154         * gdb.base/long_long.exp: Correct test suite failure when printing
19155         a long long value as a double on ARM platforms.
19156
19157 2000-02-16  Jim Blandy  <jimb@redhat.com>
19158
19159         * gdb.base/break.exp ("breakpoint line number"): Make sure the
19160         default source file is set properly before running this test.
19161
19162 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19163
19164         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
19165         gdbtk/library directory, not in gdbtcl2.
19166
19167 2000-02-04  Jim Blandy  <jimb@redhat.com>
19168
19169         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19170         backslash from regexp pattern.
19171
19172         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19173         procedure.  Use it to run all the "continue to bp overloaded"
19174         tests.  Note that this changes the names of the tests slightly.
19175         If the breakpoint hit message includes a hex PC value, because
19176         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19177         from the real source code, still consider that a pass.
19178
19179         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19180         XFAIL here if the breakpoint message contains a hex address.  Note
19181         similar change on 1999-11-02.
19182
19183         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19184
19185         * gdb.base/ptype.exp: Establish a default source file before
19186         calling get_debug_format.
19187
19188 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19189
19190         * gdb.base/watchpoint.exp: Remove duplication of test messages.
19191
19192 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19193
19194         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19195         of successive stepi commands -- while in the prologue we should see
19196         the function entry bracket.
19197
19198 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19199
19200         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
19201         reach __change_mode() when stepping through the end of main().
19202
19203 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19204
19205         * gdb.base/default.exp: Fix expected pattern.
19206         * gdb.base/help.exp: Same.
19207
19208 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19209
19210         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
19211         Don't use xfail's because that affects only the following test.
19212
19213         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
19214         solaris or linux.
19215
19216         * gdb.base/selftest.exp: Update to reflect changes to main.c.
19217
19218 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
19219
19220         * gdb.base/display.exp: Some yacc parsers like to say
19221         "A syntax error" rather than "A parse error".  Accept both.
19222
19223 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19224
19225         * gdb.base/default.exp: Remove OS dependent string from "target
19226         remote" test.
19227         * gdb.base/help.exp: Same for "help target remote" test.
19228
19229 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19230
19231         From Jim Kingdon <kingdon@redhat.com>:
19232
19233         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
19234         prompt (cleanup rather than necessity, but still might keep output
19235         from spilling to next test).
19236
19237 2000-01-02  Fred Fish  <fnf@cygnus.com>
19238
19239         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
19240         AIX, which defines them in <sys/types.h>.
19241
19242 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
19243
19244         * gdb.base/default.exp: Match arm* etc instead of arm in "info
19245         float" test.
19246
19247 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
19248
19249         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
19250
19251         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
19252         outermost frame disallowed".
19253
19254 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19255
19256         * gdb.base/setvar.exp: New tests for setting the value of a struct
19257         with a constant list.
19258
19259 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19260
19261         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
19262         require the user to type a cast before setting the value of a struct.
19263
19264 1999-12-06  Jim Blandy  <jimb@cygnus.com>
19265
19266         * gdb.base/default.exp: Expect the new 'info float' command on
19267         all i386 platforms.
19268
19269         * gdb.threads/linux-dp.exp: Expand our ability to recognize
19270         LinuxThreads libraries that don't support debugging.
19271
19272 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19273
19274         * gdb.base/remote.c: Fill the buffer with truely random data.
19275         Change the buffer type to ``unsigned char'' to simplify size
19276         arithmetic.
19277
19278         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
19279         stub only handles 400-1 byte packets.  Verify that the download
19280         worked.
19281
19282 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19283
19284         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
19285         tests, using UNRESOLVED for the untested cases.  Also, does not wait
19286         for a timeout if the prompt was received before a recognizable pattern.
19287
19288 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19289
19290         * lib/gdb.exp (gdb_expect_list): Fix spelling.
19291
19292 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19293
19294         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
19295         watchpoints.
19296
19297 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
19298
19299         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
19300
19301         * gdb.c++/local.exp: Be more flexible in recognizing local class
19302         name mangling.  Don't allow horribly truncated method names.
19303         * gdb.c++/derivation.exp: Expect protected inheritance.
19304         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
19305         * gdb.c++/virtfunc.exp: Likewise.
19306         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
19307         when printing a nested enum.
19308
19309 1999-11-22  Jim Blandy  <jimb@cygnus.com>
19310
19311         * gdb.base/step-test.exp: Properly await GDB's response to setting
19312         a breakpoint on the call to large_struct_by_value.
19313
19314         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
19315         just because we have debug info for the `start' function.
19316
19317 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
19318
19319         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
19320         "Unknown signal" messages, which indicate (on LinuxThreads) that
19321         GDB doesn't know how to debug threads on this system.  This is
19322         better than hanging while philosopher 0 dumps chatter into gdb.log.
19323
19324 1999-11-18  Tom Tromey  <tromey@cygnus.com>
19325
19326         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
19327
19328 1999-11-18  Fred Fish  <fnf@cygnus.com>
19329
19330         * gdb.base/coremaker2.c: Add sample program for generating
19331         cores that is more self contained than coremaker.c.  Eventually
19332         I'll add more code to this and tie it into the testsuite.
19333
19334 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
19335
19336         * gdb.base/dollar.exp: Remove, now in gdb.hp.
19337
19338 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
19339
19340         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
19341         from $srcdir/lib/.
19342         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
19343         and gdb.c++/.
19344
19345         * gdb.c++/derivation.exp: remove redundant get compiler info code.
19346
19347         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
19348         'continue with watch' test point.
19349
19350 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
19351
19352         Merged from p2linux-990323-branch:
19353
19354         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
19355
19356 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
19357
19358         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
19359         {limit,fixed}''.  Test ``set download-write-size''.
19360
19361 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19362
19363         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
19364         gdb_expect_list.
19365
19366 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19367
19368         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
19369
19370 1999-11-03  Mark Salter  <msalter@cygnus.com>
19371
19372         * gdb.base/break.exp: Fix "stub continue" pattern.
19373
19374 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
19375
19376         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
19377
19378 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
19379
19380         * gdb.base/display.exp ("finish"): Add timeout clause.
19381
19382         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
19383         plain prompt clause, so this doesn't have to time out in order to
19384         fail.
19385
19386         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
19387         breakpoint hit messages include an address.
19388
19389         * gdb.base/display.exp: Don't forget to escape parens in regular
19390         expressions.  Unix regexp notatation sucks.
19391
19392 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19393
19394         * gdb.base/annota1.exp: Test for annotate-signalled: change output
19395         order for 'signalled' message.
19396
19397 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
19398
19399         From Jimmy Guo  <guo@cup.hp.com>:
19400         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
19401         * gdb.base/annota1.c: Add code for tests to work with.
19402
19403 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
19404
19405         * gdb.base/remote.exp: New test for remote downloading settings.
19406         * gdb.base/remote.c: New file with large .data.
19407
19408 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
19409
19410         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
19411         for LinuxThreads support, merged from the Code Fusion branch.
19412
19413 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
19414
19415         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
19416         containing exp_continue into a while within an expect.  Don't
19417         attempt a start more than three times.  Check return value from
19418         gdb_load.
19419
19420 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19421
19422         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
19423         a pass case.
19424
19425 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
19426
19427         * gdb.base/break.c (main): Added a statement that we can step
19428         off of.
19429         * gdb.base/break.exp: Added tests for setting a breakpoint
19430         at an offset and stepping onto a breakpoint.
19431
19432 1999-10-01  Fred Fish  <fnf@cygnus.com>
19433
19434         * gdb.base/help.exp (help add-symbol-file): Update to match current
19435         gdb output.
19436
19437 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
19438
19439         * gdb.base/break.exp: Code locations are in hex, don't forget!
19440         (For HP-UX.)
19441
19442 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
19443
19444         * condbreak.exp: Use break.c as test program.
19445         * condbreak.c: Remove, redundant with break.c.
19446
19447 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
19448
19449         * config/monitor.exp (gdb_target_monitor): Disable X- and
19450         Z-packets if the target needs it.
19451
19452 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
19453
19454         * gdb.c++/overload.exp: Added tests for listing overloaded
19455         functions with function pointers in the arg, explicitly calling
19456         out the version you want.
19457
19458 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
19459
19460         * long_long.exp: Add variations of test cases that work for
19461         targets with 16-bit ints and 32-bit doubles.
19462
19463 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
19464
19465         * break.c (main): Compare a possibly-uninitialized argc with an
19466         unlikely value that fits in 16 bits.
19467
19468 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
19469
19470         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19471         0xfeeb, don't want negative numbers if ints are 16 bits.
19472
19473         * lib/gdb.exp (skip_cplus_tests): New proc.
19474         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19475         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19476         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19477         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19478         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19479         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19480         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19481         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
19482
19483         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19484
19485 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
19486
19487         * gdb.base/corefile.exp (up): Allow a parameter to appear
19488         in the frame that we're going up to.
19489
19490         From Jim Blandy <jimb@cygnus.com>:
19491
19492         * gdb.base/default.exp (info float): Expect some output now.
19493
19494         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
19495         returning floating-point values to fail on the x86.
19496         * gdb.base/callfwmall.exp (do_function_calls): Same.
19497
19498         * gdb.base/list.exp (test_listsize): Correct expectations for
19499         listing line 1 with listsize 2.  Also, listing a single line
19500         works now, as does listing three lines.  [Kevin's note: There
19501         were a number of other cases fixed too where the expectations
19502         differed...]
19503
19504 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
19505
19506         * gdb.base/selftest.exp: Add case for when version prints as
19507         constant string instead of char pointer.
19508
19509 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
19510
19511         * gdb.base/ending-run.exp: Add Solaris case for what happens when
19512         stepping out of main.
19513
19514         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
19515         G++ used.
19516
19517         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
19518         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
19519
19520         * gdb.c++/ovldbreak.exp: Update match string in test that
19521         includes a warning of multiple breakpoints.
19522
19523 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
19524
19525         * gdb.base/display.exp: Improve precision of step-after-finish
19526         added yesterday.
19527
19528         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
19529         test.
19530
19531         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
19532         configs when using G++, not just hppa*.
19533
19534 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19535
19536         * gdb.base/async.c: New file.
19537         * gdb.base/async.exp: New file.
19538
19539 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
19540
19541         * gdb.base/break.exp: Tweak PA specific tests to properly handle
19542         PA64.
19543
19544 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
19545
19546         * gdb.base/display.exp: "finish" can leave us mid-line on many
19547         targets, deal with it.  Add a small constant to main, instead of
19548         1000 since main+1000 may not be a valid address in the target.
19549
19550         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
19551         on hpux11.
19552
19553         * gdb.base/attach.exp: Handle another hpux11 error message variant
19554         when attaching to a process that does not exist.
19555
19556 1999-08-19  J.T. Conklin  <jtc@redback.com>
19557
19558         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
19559         characters in 'continue to 1241' test.
19560
19561 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
19562
19563         * gdb.base/call-ar-st.exp: Add a shorter match case for the
19564         stop in print_long_arg_list, define and use a whitespace
19565         variable in print_small_structs test, add an XFAIL for Solaris.
19566         * gdb.base/dbx.exp: XFAIL func commands until somebody is
19567         interested enough to fix.
19568
19569 1999-08-13  Keith Seitz  <keiths@cygnus.com>
19570
19571         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
19572         (dbx_gdb_load): Remove. Use gdb_load instead, since that
19573         proc knows about targets other than the natives.
19574         (test_assign): Use "gdb_run_cmd" to "run" the target.
19575         Check that we've actually hit the breakpoint at main.
19576         When we attempt to assign a value to a local variable, check
19577         that the variable is in the current scope, i.e., don't use
19578         a test with an empty result.
19579
19580 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19581
19582         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
19583         command.
19584
19585 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
19586
19587         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19588         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
19589         gdb.compat, gdb.threads-hp.
19590         gdb.hp/configure, gdb.hp/configure.in: New files.
19591         gdb.hp/Makefile.in: Recurse into new subdirs.
19592         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
19593         gdb.hp/gdb.objdbg: New directory, tests for debugging info
19594         in object files.
19595         gdb.hp/tools: New directory, aux tools for HP-specific tests.
19596
19597 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
19598
19599         * gdb.base/display.exp: Help expect by putting a newline in the
19600         funky printf, remove a bogus p/a test.
19601
19602 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19603
19604         * gdb.base/display.exp: Make sure that when we say 'run', we are
19605         connected to the target. This is necessary when running not
19606         natively.
19607
19608 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
19609
19610         * gdb.base/step-test.exp: Removed some extraneous messages.
19611
19612         * gdb.base/long_long.exp: Don't run memory examination tests
19613         on little-endian targets (they will need a different set of
19614         results to match).
19615
19616 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
19617
19618         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
19619         until somebody decides to fix GDB.
19620
19621         * gdb.base/long_long.c: Stop compiler complaint by specifying long
19622         constant as "ULL".
19623         * gdb.base/long_long.exp: Loosen x/c test, add partial result
19624         matches for a couple x/2 commands.
19625
19626 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
19627
19628         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
19629         by merging in ref-types2 tests.
19630         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
19631
19632         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19633         * gdb.c++/Makefile.in: Add standard actions.
19634         (EXECUTABLES): Rename from PROGS, update list.
19635         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
19636         from gdb.hp.
19637         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
19638         foo and bar locals.
19639         * gdb.c++/anon-union.exp: Fix tests to match.
19640         * gdb.c++/classes.exp: Run if HP compiler used, add extra
19641         expect matches to handle output variations.
19642         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
19643         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
19644         output, add HP alternatives for new and delete prints.
19645         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
19646         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
19647         * gdb.c++/demangle.exp: Use $style when reporting failure.
19648         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
19649         * gdb.c++/inherit.exp: Run if HP compiler used, add some
19650         match alternatives.
19651         * gdb.c++/local.exp: Add match alternatives or xfails for HP
19652         compilers.
19653         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
19654         * gdb.c++/method.exp: Add match alternatives.
19655         * gdb.c++/misc.cc: Add bool types.
19656         * gdb.c++/misc.exp: Add tests for bool types.
19657         * gdb.c++/overload.exp: Add xfails.
19658         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
19659         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
19660         add some more template parameter tests (only for HP currently).
19661         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
19662         * gdb.c++/virtfunc.cc: Add return type and value for main.
19663         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
19664         match alternatives.
19665
19666 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19667
19668         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
19669
19670 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
19671
19672         * gdb.base/signals.exp: Don't expect getting a backtrace from
19673         within a signal handler to fail on Linux.
19674
19675 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
19676
19677         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19678         * lib/gdb.exp: Remove some gratuitious semicolons.
19679         (delete_breakpoints): Increase timeout.
19680         (gdb_expect): Add -notransfer option.
19681         (gdb_test): Use -notransfer option.
19682         (get_compiler_info): Add f77 case.
19683         (get_compiler): New proc, split out from gdb_preprocess, add f77
19684         case.
19685         (gdb_preprocess): Call get_compiler.
19686
19687         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
19688         * gdb.base/attach.exp, gdb.base/display.exp,
19689         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
19690         gdb.base/long_long.exp, gdb.base/printcmds.exp,
19691         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
19692         third arg to gdb_test.
19693         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
19694         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
19695         HP-UX xfails, add others.
19696         * gdb.base/completion.exp: Reflect name change of self-test.
19697         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
19698         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
19699         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
19700         HP failure number.
19701         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
19702         useless HP-UX 10.30 references.
19703         * gdb.base/maint.exp: Loosen matches.
19704         * gdb.base/pointers.c (main): Declare more_code.
19705         * gdb.base/pointers.exp: Match on output of a `next'.
19706         * gdb.base/structs.c: Add prototypes.
19707         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
19708         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
19709
19710 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19711
19712         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
19713         command.
19714
19715 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19716
19717         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
19718         Fix run to main failures. Watchpoint can be hardware watchpoint.
19719
19720         * gdb.base/annota1.exp: Clean up some more, in case printf has
19721         debug info.  Deal with lack of signal hanlder info in stack.
19722
19723         From Jim Kingdon  <kingdon@redhat.com>:
19724         * gdb.base/annota1.exp: If printf has debug info, deal with it.
19725
19726 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
19727
19728         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
19729         gdb.base/foll-vfork.exp: Don't run for crosses.
19730
19731 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19732
19733         * gdb.base/configure.in: Check for gdbvars.exp instead of
19734         a1-selftest.exp.
19735         * gdb.base/configure: Re-generate.
19736
19737 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
19738
19739         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
19740         in trying to run first and name is too long.
19741
19742         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
19743         pointers2.c and pointers2.exp, respectively.
19744         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
19745         doschk happier.
19746
19747 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
19748
19749         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
19750         callfuncs2.c and callfuncs2.exp.
19751
19752         * gdb.base/list.exp: Remove mistaken xfails.
19753         * gdb.base/list0.h: Add optional prototypes.
19754
19755 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
19756
19757         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
19758         calling malloc.
19759         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
19760         * ptype.exp: Move test for get_debug_format to before its first
19761         use.
19762
19763 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19764
19765         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
19766         * gdb.base/annota2.cc, annota2.exp: Move from here.
19767         * gdb.c++/annota2.cc, annota2.exp: To here.
19768         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
19769
19770 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19771
19772         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
19773         a consistent format.
19774
19775 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
19776
19777         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19778         * lib/gdb.exp (get_compiler_info): Add detection for assorted
19779         HP compilers, also set the globals $true and $false.
19780
19781         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
19782         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
19783         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
19784         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
19785         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
19786         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
19787         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
19788         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
19789         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
19790         whatis.c} Add C++ compatible function definitions and return
19791         types, add includes for library functions.
19792         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
19793         * gdb.base/step-test.c (myglob): Rename from glob.
19794         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
19795         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
19796         files, move here from gdb.hp.
19797         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
19798         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
19799         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
19800         Adjust line numbers in regexps.
19801
19802         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
19803         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
19804         instead of 0/1.
19805
19806         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
19807         foll-vfork.exp: New files, move here from gdb.hp.
19808         * gdb.base/page.exp: New file, test of pagination command.
19809
19810         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
19811         recursion test.
19812         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
19813
19814         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
19815         gdb.base/solib.exp: Fix compiler invocation process.
19816
19817         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
19818         HP-UX 11, turn off overload resolution explicitly.
19819         * gdb.base/commands.exp: Set argument list explicitly, add
19820         watchpoint test.
19821         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
19822         them work.
19823         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
19824         expressions properly.
19825         * gdb.base/corefile.exp: Loosen the match slightly.
19826         * gdb.base/default.exp: Allow "Error accessing memory" message
19827         also.
19828         * gdb.base/display.exp: Skip over x/0 j if PA64.
19829         * gdb.base/funcargs.exp: Add xfails for HP-UX.
19830         * gdb.base/interrupt.exp: Ditto.
19831         * gdb.base/langs.exp: Add symbolic matches governed by compiler
19832         in use.
19833         * gdb.base/list.exp: Add xfails for HP-UX.
19834         * gdb.base/long_long.exp: Refine some of the numeric matches.
19835         * gdb.base/mips_pro.exp: Xfail on HP-UX.
19836         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
19837         * gdb.base/nodebug.exp: Succeed on more varieties of output.
19838         * gdb.base/opaque.exp: Remove some HP-UX xfails.
19839         * gdb.base/ptype.exp: Succeed on more varieties of output.
19840         * gdb.base/scope.exp: Add xfails for HP-UX.
19841         * gdb.base/sect-cmd.exp: Add more cases.
19842         * gdb.base/setvar.exp: Add xfails for HP-UX.
19843         * gdb.base/shlib-call.exp: Loosen some matches slightly.
19844         * gdb.base/signals.exp: Match on void symbolically.
19845         * gdb.base/step-test.exp: Add case for PA64.
19846         * gdb.base/term.exp: Add exit and restart.
19847         * gdb.base/twice.exp: Clean up after self.
19848         * gdb.base/varargs.exp: Disable overload resolution explicitly.
19849         * gdb.base/whatis.exp: Allow more ways to pass tests.
19850
19851         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
19852         no longer useful.
19853
19854 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19855
19856         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
19857         list of patterns.
19858         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
19859         print_double_array(double_array)", "continuing to breakpoint
19860         1018", "print print_double_array(array_d)" and "continuing to
19861         1034" tests.
19862
19863 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
19864
19865         * Makefile.in: Add empty html and install-html targets.
19866
19867 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
19868
19869         * config/mt-*: Remove, these haven't been used since 1996.
19870
19871 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
19872
19873         * gdb.base/call-strs.c, gdb.base/ending-run.c,
19874         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
19875         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
19876
19877 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
19878
19879         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
19880         simpler match case for the ptype of the big class.
19881
19882 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19883
19884         * gdb.exp: Fix test for gdb_prompt existence.
19885
19886 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19887
19888         * gdb.exp (gdb_test): Add fail after calls to perror.
19889
19890 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19891
19892         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
19893
19894 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19895
19896         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
19897
19898 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19899
19900         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
19901         malloc() is linked in.
19902
19903 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19904
19905         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
19906         step at end.
19907
19908         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
19909
19910 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
19911
19912         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
19913
19914 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
19915
19916         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
19917         * gdb.base/mips_pro.exp: Likewise.
19918
19919 1999-06-02  Keith Seitz  <keiths@cygnus.com>
19920
19921         * gdb.c++/templates.cc: Change all "new" operators to throw
19922         an exception.
19923         * gdb.c++/cplusfuncs.cc: Likewise.
19924
19925         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
19926
19927 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19928
19929         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
19930         * gdb.base/ending-run.exp: When stepping out of main, accept a
19931         step into an arbitrary assembler file.
19932
19933 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19934
19935         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
19936         "breakpoint-invalid" to be printed.
19937         * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
19938         number of "frames-invalid" and "breakpoint-invalid" to be printed.
19939         * gdb.base/annota2.cc: Initialize a.x to 0.
19940
19941 1999-05-17  Keith Seitz  <keiths@cygnus.com>
19942
19943         * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
19944         when "skip_float_tests" set.
19945         Ditto for "print print_double_array(array_d)", "print print_small_structs",
19946         "print print_ten_doubles", and "step into print_long_arg_list".
19947         Don't assume we can step into "print_long_arg_list": we could step into memcpy.
19948         * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
19949         is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
19950         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
19951         "skip_float_tests" is set.
19952         * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
19953         when "skip_float_tests" set.
19954
19955 1999-05-06  Keith Seitz  <keiths@cygnus.com>
19956
19957         * gdb.base/annota2.cc: Include stdio.h.
19958
19959 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
19960
19961         * gdb.base/crossload.exp: Remove, this has been disabled ever
19962         since BFD stopped including all targets, and cross-GDB gets
19963         plenty of testing anyway.
19964         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
19965         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
19966         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
19967         * gdb.base/README: Remove, was doc for this.
19968         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
19969         needed.
19970
19971 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19972
19973         * gdb.base/call-ar-st.exp: Fix one regular expression in test
19974         output.
19975
19976         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
19977         * gdb.base/annota2.exp: New file. More annotation tests.
19978         * gdb.base/annota1.c: New file. Source file for annota1.exp.
19979         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
19980
19981 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
19982
19983         * config/cfdbug.exp: New file.
19984
19985 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
19986
19987         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
19988         Marcus Daniel's and Dale Hawkins's demangler crashes.
19989
19990         * gdb.c++/demangle.exp (test_gnu_style_demangling,
19991         test_lucid_style_demangling, test_arm_style_demangling,
19992         test_hp_style_demangling): Try Tom Tromey's core-dumping
19993         identifier under each demangling style.
19994
19995 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
19996
19997         * gdb.c++/demangle.exp: Include the current demangling style
19998         in all test names.
19999         (current_demangling_style): New global variable.
20000         (set_demangling_style, test_demangling_core, test_demangling,
20001         test_demangling_exact): New functions.
20002         (test_gnu_style_demangling, test_lucid_style_demangling,
20003         test_arm_style_demangling, test_hp_style_demangling): Use those,
20004         instead of calling gdb_test and gdb_test_exact directly.
20005         (catch_demangling_errors): New function, which reports errors
20006         signalled by the demangling test functions in an orderly way.
20007         (do_tests): Use catch_demangling_errors.
20008
20009 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
20010
20011         * gdb.base/signals.exp (test_handle_all_print): Use () for
20012         grouping in expressions, not {}.
20013
20014         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
20015         initialized yet.
20016
20017 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
20018
20019         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20020         are listed.
20021
20022 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
20023
20024         * gdb.stabs/weird.exp: Test for CC being defined before
20025         looking at its value.
20026
20027 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
20028
20029         * gdb.base/call-ar-st.exp: Remove stray '#'.
20030         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20031         "short int" and "long int".
20032         * gdb.c++/overload.cc: Cast the string added in the previous
20033         change, to mollify finicky HP compiler.
20034         * gdb.hp/reg-test.exp (testfile): Fix file name.
20035         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
20036
20037         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20038         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20039         alternate form of enum ptype.
20040
20041 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
20042
20043         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20044         * gdb.hp/*.exp: Change all to run compiler probe only after
20045         passing skip_hp_tests, so as not to waste time on guaranteed
20046         failure.
20047
20048         * gdb.c++/overload.cc: Pass string instead of char addr, always
20049         init ccpfoo.
20050         * gdb.c++/templates.cc: Fix syntax error.
20051
20052 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20053
20054         * gdb.base/commands.exp: Add test for correct position of '>'
20055         when issuing the 'commands' command after a 'while' or 'if'
20056         command.
20057
20058 1999-03-18  James Ingham  <jingham@cygnus.com>
20059
20060         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20061
20062         * gdb.c++/method.exp: It was testing an uninitialized int on the
20063         stack and assuming it was positive.
20064
20065         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20066
20067         * gdb.base/step-test.exp: Catch a case where finish is broken and
20068         keep it from killing the rest of the tests.
20069         Use gdb_continue_to_end.
20070
20071         * gdb.base/sigall.exp: use gdb_continue_to_end.
20072
20073         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20074
20075         * gdb.base/display.exp: use runto_main, not run.
20076
20077         * gdb.base/default.exp: Check for the current error message in the
20078         r abbreviation test.
20079         Add strongarm to the targets that know info float.
20080
20081         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
20082         run which doesn't work with monitors.
20083
20084         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20085
20086         * gdb.base/break.exp: use the gdb_continue_to_end proc.
20087
20088         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
20089         program.  Traps the case (in Cygmon) when the program never really
20090         exits.  Same as Mark's continue_to_exit, but I had put it in a lot
20091         more places, so I used my name.  Sorry Mark...
20092
20093         * config/monitor.exp (gdb_target_monitor): added another
20094         target_info parameter: remotebinarydownload.  This will set the
20095         remotebinarydownload flag if this is causing some boards trouble.
20096
20097 1999-03-18  Mark Salter  <msalter@cygnus.com>
20098
20099         * lib/gdb.exp (continue_to_exit): New function.
20100
20101         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20102         * gdb.base/ending-run.exp: Ditto.
20103         * gdb.base/step-test.exp: Ditto.
20104
20105 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
20106
20107         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20108         (suggested by Art Haas <ahaas@neosoft.com>).
20109
20110 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
20111
20112         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
20113
20114 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
20115
20116         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
20117         descriptions of types (short unsigned int vs unsigned short, etc).
20118
20119 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
20120
20121         * gdb.base/call-strs.exp: Don't assume that `step' will step over
20122         a call to strlen; sometimes we do have sources.
20123
20124 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
20125
20126         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
20127         character, so GDB won't print garbage after its end.
20128
20129         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20130         breakpoint there instead.  Sometimes GCC emits memcpy to handle
20131         the large structures being passed by value, so we step into that
20132         instead of sum_array_print, which obscures what we're really testing.
20133         * gdb.base/step-test.exp: However, we do want a test that notices
20134         the bizarre steps into memcpy, so do that here.  Add check for
20135         stepping into function calls that pass large structures by value.
20136         ("Is that a noun clause, or are you just happy to see me?")
20137         Remove all references to specific line numbers.
20138         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20139         New type and function.
20140         (main): Call large_struct_by_value, passing it a large struct by value.
20141         * lib/gdb.exp (gdb_get_line_number): New function.
20142
20143         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20144         more portable.
20145
20146 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
20147
20148         * lib/gdb.exp: Doc fixes.
20149
20150 1999-03-05  Nick Clifton  <nickc@cygnus.com>
20151
20152         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
20153
20154 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
20155
20156         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
20157         commands.  They're not germane to this test, and they don't work
20158         that way on remote targets.
20159
20160 1999-03-01  James Ingham  <jingham@cygnus.com>
20161
20162         * Changelog entries merged over from gdb development branch.
20163
20164        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
20165
20166                * lib/gdb.exp (gdbtk_analyze_results): Generic function
20167                for outputting results of test run.
20168
20169         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
20170
20171                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
20172
20173 1999-02-25  Felix Lee  <flee@cygnus.com>
20174
20175         * lib/gdb.exp (debug_format): initialize
20176
20177 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
20178
20179         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20180         * gdb.base/call-rt-st.c: Ditto.
20181
20182 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
20183
20184         * gdb.threads/pthreads.exp (horiz): New variable.
20185         (test_startup): Fix regexps that capture thread numbers.
20186
20187 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
20188
20189         * gdb.base/smoke.exp: Disambiguate two test case names (both
20190         called ``print'').
20191
20192 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
20193
20194         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
20195         compilation.
20196
20197 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
20198
20199         * gdb.base/miscexprs.exp: Change patterns to match GDB's
20200         actual output formatting.
20201         * gdb.base/smoke.exp: GDB removes leading 0's.
20202         * gdb.base/volatile.exp: Don't check type of remuneration;
20203         that variable is no longer defined in constvars.c.
20204         * gdb.base/step-test.c (main): Exit with explicit exit code.
20205         * gdb.base/step-test.exp: Remove two nexti checks--they are
20206         not portable.
20207
20208 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
20209
20210         * gdb.base/help.exp ("help delete display"): Fix test to match
20211         gdb's output.
20212
20213         * gdb.base/long_long.c (known_types): Initialize values to zero.
20214         * gdb.base/long_long.exp: Step one more line
20215         so 'dec' is initialized in "get to known place".  GDB removes
20216         leading zeros.  Explicitly ask for hex formatting.  Use
20217         unique test case names.
20218
20219 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20220
20221         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
20222
20223         * gdb.c++/method.exp: Add missing close brace.
20224
20225 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
20226
20227         * gdb.base/maint.exp: Use 'set height 0' to disable page
20228         prompting, not 'set height 400'.
20229
20230         Fix a bunch of timeouts.
20231         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20232         four separate tests, so expect doesn't take forever to match a ton
20233         of text against a regexp with lots of .* forms.
20234         ("maint print psymbols", "maint print symbols"): Make some of
20235         these greps more selective, so that expect doesn't try to wade
20236         through huge piles of output and time out.
20237
20238         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
20239
20240         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
20241         tests: one which doesn't expect shlib events to be reported, and
20242         another which does, but is XFAIL for all platforms other than
20243         HP/UX.
20244
20245         * gdb.base/break.exp: Teach the test suite that the `catch
20246         fork', `catch vfork', and `catch exec' commands produce error
20247         messages on platforms that don't provide these features.
20248
20249 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
20250
20251         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
20252         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
20253         (shortening names from solib_threshold.exp etc), won't run on
20254         anything but HP-UX for the foreseeable future.
20255         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
20256         reflect move.
20257
20258 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
20259
20260         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
20261         gdb.trace/Makefile.in (clean): Remove all test executables.
20262
20263 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
20264
20265         * gdb.base/shlib-call.exp: add test cases to verify that gdb
20266         successfully re-sets breakpoints in shared libraries.
20267         * gdb.base/shmain.c (main): return 0, don't fall off the end.
20268
20269 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20270
20271         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
20272         and compiled w/o GCC.
20273
20274         * gdb.hp/watch-cmd.exp: ditto.
20275
20276         * gdb.hp/watch-hp.exp: ditto.
20277
20278         * gdb.hp/xdb1.exp: ditto.
20279
20280         * gdb.hp/xdb2.exp: ditto.
20281
20282         * gdb.hp/dbx.exp: ditto.
20283
20284 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
20285
20286         * constvars.c: Remove C++-isms.
20287         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
20288         with GCC.
20289
20290 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
20291
20292         The following changes are part of the HP merge.
20293
20294         * gdb.base/break.exp: new tests to verify that catchpoints for
20295         fork, vfork, and exec don't trigger inappropriately.
20296
20297         * gdb.base/opaque.exp: compile one file at a time, then link.
20298
20299         * gdb.base/signals.exp: be more restrictive about which hppa
20300         systems receive a setup_xfail.  new tests.
20301
20302         * gdb.base/solib_threshold.build: new file.
20303         * gdb.base/solib_threshold.exp: new file.
20304         * gdb.base/solib_threshold.link_opts: new file.
20305         * gdb.base/solib_threshold.mk: new file.
20306         * gdb.base/gen_solib_threshold.c: new file.
20307
20308         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
20309         tests.  New tests for enums inside classes.
20310
20311         * gdb.c++/compiler.cc: indicate support of template debugging.
20312
20313         * gdb.c++/demangle.exp: run hp style demangling tests.
20314
20315         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
20316         tests.
20317
20318         * gdb.c++/misc.cc: changes to support new tests.
20319
20320         * gdb.c++/templates.cc: changes to support HP's compiler; changes
20321         to support new tests.
20322
20323         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
20324         gcc, then skip these tests.
20325
20326 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
20327
20328         The following files are part of the HP merge; some had longer
20329         names at HP, but have been renamed to be no more than 14
20330         characters in length.
20331
20332         * gdb.hp/ambiguous.cc: new file.
20333         * gdb.hp/ambiguous.exp: new file.
20334         * gdb.hp/attach.exp: new file.
20335         * gdb.hp/attach2.exp: new file.
20336         * gdb.hp/classes-hp.exp: new file.
20337         * gdb.hp/ctti.exp: new file.
20338         * gdb.hp/ctti-add.cc: new file.
20339         * gdb.hp/ctti-add1.cc: new file.
20340         * gdb.hp/ctti-add2.cc: new file.
20341         * gdb.hp/ctti-add3.cc: new file.
20342         * gdb.hp/dbx.exp: new file.
20343         * gdb.hp/exception.cc: new file.
20344         * gdb.hp/exception.exp: new file.
20345         * gdb.hp/foll-exec.c: new file.
20346         * gdb.hp/foll-exec.exp: new file.
20347         * gdb.hp/foll-fork.c: new file.
20348         * gdb.hp/foll-fork.exp: new file.
20349         * gdb.hp/foll-vfork.c: new file.
20350         * gdb.hp/foll-vfork.exp: new file.
20351         * gdb.hp/inherit-hp.exp: new file.
20352         * gdb.hp/more-steps.exp: new file.
20353         * gdb.hp/namespace.cc: new file.
20354         * gdb.hp/namespace.exp: new file.
20355         * gdb.hp/optimize.exp: new file.
20356         * gdb.hp/pxdb.c: new file.
20357         * gdb.hp/pxdb.exp: new file.
20358         * gdb.hp/quicksort.exp: new file.
20359         * gdb.hp/reg-test.exp: new file.
20360         * gdb.hp/reg-test.s: new file.
20361         * gdb.hp/sized-enum.c: new file.
20362         * gdb.hp/sized-enum.exp: new file.
20363         * gdb.hp/start-stop.exp: new file.
20364         * gdb.hp/templ-hp.cc: new file.
20365         * gdb.hp/templ-hp.exp: new file.
20366         * gdb.hp/thr-lib.c: new file.
20367         * gdb.hp/thr-lib.exp: new file.
20368         * gdb.hp/thr-lib.h: new file.
20369         * gdb.hp/thr-liblib.c: new file.
20370         * gdb.hp/virtfun-hp.c: new file.
20371         * gdb.hp/virtfun-hp.exp: new file.
20372         * gdb.hp/watch-cmd.exp: new file.
20373         * gdb.hp/watch-hp.exp: new file.
20374         * gdb.hp/xdb1.exp: new file.
20375         * gdb.hp/xdb2.exp: new file.
20376         * gdb.hp/xdb3.exp: new file.
20377
20378 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
20379
20380         The following files are part of the HP merge; some had longer
20381         names at HP, but have been renamed to be no more than 14
20382         characters in length.
20383
20384         * gdb.base/ss.h: new file.
20385         * gdb.base/call-ar-st.c: new file.
20386         * gdb.base/call-ar-st.exp: new file.
20387         * gdb.base/call-rt-st.c: new file.
20388         * gdb.base/call-rt-st-exp: new file.
20389         * gdb.base/call-strs.exp: new file.
20390         * gdb.base/ena-dis-br.exp: new file.
20391         * gdb.base/environ.exp: new file.
20392         * gdb.base/long_long.exp: new file.
20393         * gdb.base/sect-cmd.exp: new file.
20394         * gdb.base/shlib-cl2.exp: new file.
20395         * gdb.base/smoke.exp: new file.
20396         * gdb.base/so-impl-ld.c: new file.
20397         * gdb.base/so-impl-ld.exp: new file.
20398         * gdb.base/so-indr-cl.c: new file.
20399         * gdb.base/so-indr-cl.exp: new file.
20400         * gdb.base/varargs.exp: new file.
20401         * gdb.base/volatile.exp: new file.
20402         * gdb.base/whatis-exp.exp: new file.
20403         * gdb.base/display.exp: new file.
20404         * gdb.c++/derivation.exp: new file.
20405         * gdb.c++/local.exp: new file.
20406         * gdb.c++/member-ptr.exp: new file.
20407         * gdb.c++/overload.exp: new file.
20408         * gdb.c++/ovldbreak.exp: new file.
20409         * gdb.c++/ref-types.exp: new file.
20410         * gdb.c++/ref-types2.exp: new file.
20411         * gdb.c++/userdef.exp: new file.
20412
20413 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
20414
20415         * gdb.base/default.exp: Reflect wording change in remote.c.
20416
20417 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
20418
20419         * gdb.base/help.exp: Update to reflect current text.
20420
20421 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
20422
20423         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
20424         they're stack variables and contain garbage.
20425         * gdb.c++/anon-union.exp: new file.
20426
20427         The following changes were made by David Taylor
20428         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20429         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20430         in changes by HP.
20431
20432         * gdb.base/bitops.exp: new file.
20433         * gdb.base/default.exp: change expected messages for catch and
20434         info catch tests to reflect HP merge changes.
20435         * gdb.base/enable-disable-break.exp
20436         * gdb.base/ending-run.c: new file.
20437         * gdb.base/long_long.c: new file.
20438         * gdb.base/maint.exp: new file.
20439         * gdb.base/pointers2.exp: new file.
20440         * gdb.base/shlib-call2.exp: new file.
20441         * gdb.base/solib.exp: new file.
20442         * gdb.base/step-test.c: new file.
20443         * gdb.c++/anon-union.cc: new file.
20444         * gdb.c++/local.cc: new file.
20445         * gdb.c++/member-pointer.cc: new file.
20446         * gdb.c++/method.cc: new file.
20447         * gdb.c++/ref-types.cc: new file.
20448         * gdb.c++/ref-types2.cc: new file.
20449         * gdb.c++/userdef.cc: new file.
20450
20451         * gdb.base/scope.exp: compile one file at a time, then link.
20452         * gdb.base/langs.exp: ditto.
20453         * gdb.base/list.exp: ditto.
20454
20455 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
20456
20457         The following changes were made by David Taylor
20458         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20459         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20460         in changes by HP.
20461
20462         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20463         skip tests.  When compiling pass c++ flag to gdb_compile.
20464         * gdb.c++/
20465
20466         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20467         test for on hppa*-*-hpux*; use args to see if c++ was specified.
20468         (skip_hp_tests): new function.
20469         (gdb_preprocess): new function.
20470
20471         * configure.in (hpdir): decide whether to configure gdb.hp.
20472         * configure: regenerated.
20473
20474         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20475         to delete on clean.
20476         (EXECUTABLES): update to reflect new additions.
20477         * gdb.base/commands.exp: update message expected.
20478         * gdb.base/default.exp: add copyright notice.
20479         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20480         * gdb.base/help.exp: update messages to reflect current text.
20481         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20482         targets for recurse tests.
20483         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20484         skip this file.
20485
20486         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20487         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20488         compilation.
20489         * gdb.c++/misc.exp: ditto.
20490         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20491         run the tests.  tell gdb_compile that it's a c++ compilation.
20492
20493         * gdb.threads/pthreads.exp: fix typo in message.
20494
20495         * gdb.base/all-bin.exp: new file.
20496         * gdb.base/arithmet.exp: new file.
20497         * gdb.base/assign.exp: new file.
20498         * gdb.base/completion.exp: new file.
20499         * gdb.base/cond-expr.exp: new file.
20500         * gdb.base/condbreak.exp: new file.
20501         * gdb.base/define.exp: new file.
20502         * gdb.base/dollar.exp: new file.
20503         * gdb.base/environment.exp: new file.
20504         * gdb.base/eval-skip.exp: new file.
20505         * gdb.base/jump.exp: new file.
20506         * gdb.base/logical.exp: new file.
20507         * gdb.base/pointers.exp: new file.
20508         * gdb.base/relational.exp: new file.
20509         * gdb.base/section_command.exp: new file.
20510         * gdb.base/whatis-expr.exp: new file.
20511
20512         * gdb.base/all-types.c: new file.
20513         * gdb.base/call-array-struct.c: new file.
20514         * gdb.base/call-return-struct.c: new file.
20515         * gdb.base/call-strings.c: new file.
20516         * gdb.base/callfuncs2.c: new file.
20517         * gdb.base/condbreak.c: new file.
20518         * gdb.base/constvars.c: new file.
20519         * gdb.base/display.c: new file.
20520         * gdb.base/int-type.c: new file.
20521         * gdb.base/jump.c: new file.
20522         * gdb.base/miscexprs.c: new file.
20523         * gdb.base/pointers.c: new file.
20524         * gdb.base/pointers2.c: new file.
20525         * gdb.base/shmain.c: new file.
20526         * gdb.base/shr1.c: new file.
20527         * gdb.base/shr2.c: new file.
20528         * gdb.base/solib.c: new file.
20529         * gdb.base/solib1.c: new file.
20530         * gdb.base/solib2.c: new file.
20531         * gdb.base/varargs.c: new file.
20532         * gdb.c++/derivation.cc: new file.
20533         * gdb.c++/overload.cc: new file.
20534         * gdb.c++/ovldbreak.cc: new file.
20535         * gdb.hp/attach.c: new file.
20536         * gdb.hp/attach2.c: new file.
20537         * gdb.hp/average.c: new file.
20538         * gdb.hp/compiler.c: new file.
20539         * gdb.hp/compiler.cc: new file.
20540         * gdb.hp/execd-program.c: new file.
20541         * gdb.hp/follow-exec.c: new file.
20542         * gdb.hp/follow-fork.c: new file.
20543         * gdb.hp/follow-vfork-and-exec.c: new file.
20544         * gdb.hp/misc-hp.cc: new file.
20545         * gdb.hp/more-steps.c: new file.
20546         * gdb.hp/optimize.c: new file.
20547         * gdb.hp/quicksort.c: new file.
20548         * gdb.hp/run-hp.c: new file.
20549         * gdb.hp/start-stop.c: new file.
20550         * gdb.hp/sum.c: new file.
20551         * gdb.hp/templates-hp.cc: new file.
20552         * gdb.hp/thread-local-in-lib.c: new file.
20553         * gdb.hp/thread-local-in-lib.h: new file.
20554         * gdb.hp/thread-local-in-lib.lib.c: new file.
20555         * gdb.hp/vforked-program.c: new file.
20556         * gdb.hp/virtfunc-hp.cc: new file.
20557         * gdb.hp/watchpoint-hp.c: new file.
20558         * gdb.hp/xdb.c: new file.
20559         * gdb.hp/xdb0.c: new file.
20560         * gdb.hp/xdb0.h: new file.
20561         * gdb.hp/xdb1.c: new file.
20562
20563 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
20564
20565         The following change was made by Edith Epstein
20566         <eepstein@cygnus.com> as part of a project to merge in changes
20567         originally made by HP; HP did not create ChangeLog entries.
20568
20569         * gdb.c++/demangle.exp: changed the expected output for some
20570         ARM-style mangling -- removed second reference to datatype.
20571         For example, maint demangle __dt__11T1__pt__2_cFv
20572                      T1<char>::~T1<char>(void)
20573         becomes,
20574                      maint demangle __dt__11T1__pt__2_cFv
20575                      T1<char>::~T1(void)
20576
20577         (test_hp_style_demangling): new hp specific demangling test cases.
20578
20579 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
20580
20581         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
20582         * gdb.trace/backtrace.exp: Likewise.
20583         * gdb.trace/circ.exp: Likewise.
20584         * gdb.trace/collection.exp: Likewise.
20585         * gdb.trace/deltrace.exp: Likewise.
20586         * gdb.trace/infotrace.exp: Likewise.
20587         * gdb.trace/limits.exp: Likewise.
20588         * gdb.trace/packetlen.exp: Likewise.
20589         * gdb.trace/passc-dyn.exp: Likewise.
20590         * gdb.trace/passcount.exp: Likewise.
20591         * gdb.trace/report.exp: Likewise.
20592         * gdb.trace/save-trace.exp: Likewise.
20593         * gdb.trace/tfind.exp: Likewise.
20594         * gdb.trace/tracecmd.exp: Likewise.
20595         * gdb.trace/while-dyn.exp: Likewise.
20596         * gdb.trace/while-stepping.exp: Likewise.
20597
20598 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
20599
20600         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
20601
20602 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
20603
20604         From Brendan Kehoe:
20605         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
20606         int return types.
20607
20608 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
20609
20610         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
20611         remote dos host testing right.
20612
20613 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
20614
20615         * gdb.base/corefile.exp: remove some xfails.
20616
20617 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20618
20619         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
20620         have different timestamps.
20621
20622 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20623
20624         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
20625         gdb.base/default.exp: Replace "exec" with "executable".
20626
20627 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20628
20629         * gdb.base/default.exp: Change else if to elseif from previous
20630         delta.
20631
20632 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
20633
20634         * gdb.base/default.exp: Add brace missing from previous delta.
20635
20636 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
20637
20638         * gdb.base/default.exp: Support test for info float for all
20639         varieties of arm toolchain.
20640
20641 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
20642
20643         * gdb.trace/*.exp: remove "remote_download" command.
20644
20645 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
20646
20647         * gdb.trace/*.exp: remove -gdwarf from compile.
20648
20649 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
20650
20651         * gdb.trace/configure.in(AC_INIT): typo
20652         * gdb.trace/configure: regenerated
20653
20654 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
20655
20656         * config/m68k-emc.exp: New file.
20657         * lib/<emc-support.exp trace-support.exp}: New files.
20658         * configure.in: add new test directory gdb.trace.
20659         * gdb.trace/{configure configure.in Makefile.in}: New files.
20660         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
20661         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
20662         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
20663         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
20664         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
20665         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
20666         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
20667
20668 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
20669
20670         * gdb.c++/classes.exp: Change all regular expressions to match
20671         arbitrary combinations of newline/carriage-return, so that they
20672         will work equally well on Unix and Windows.
20673         * gdb.c++/inherit.exp: ditto.
20674         * gdb.c++/virtfunc.exp: ditto.
20675
20676 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
20677
20678         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
20679
20680 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
20681
20682         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
20683         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
20684         to use a0-a3/d0-d3 as needed.
20685
20686 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
20687
20688         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
20689         * gdb.disasm/am33.exp: Corresponding changes.
20690
20691 1998-07-11  Felix Lee  <flee@cygnus.com>
20692
20693         * gdb.base/callfuncs.exp: add cmp10 test.
20694         * gdb.base/callfuncs.c (cmp10): new function.
20695
20696 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
20697
20698         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
20699         into two parts to get around a synchronization problem in expect.
20700
20701 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
20702
20703         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
20704
20705         * configure.in: Add options for gdbtk testsuite.
20706
20707         * configure: Regenerate.
20708
20709         * gdb.gdbtk: New directory to hold gdbtk tests.
20710
20711 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
20712
20713         * gdb.fortran/types.exp:  Escape brackets in expect patterns
20714         for test_float_literal_types_accepted tests.
20715         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
20716         before run test.
20717
20718 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
20719
20720         * am33.exp: Just compile, do not link the testcase.
20721         * am33.s: Add ".am33" pseudoop to force am33 mode.
20722
20723 1998-06-25  Felix Lee  <flee@cygnus.com>
20724
20725         * gdb.base/setshow.exp: make sure $pc is sane.
20726
20727         * gdb.stabs/weird.exp: split expect patterns properly.
20728
20729 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
20730
20731         * gdb.disasm/am33.s: New disassembler testfile for the am33.
20732         * gdb.disasm/am33.exp: Run it.
20733
20734 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
20735
20736         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
20737         match processing (and eliminate spurious timeouts when running).
20738
20739 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
20740
20741         * gdb.base/signals.exp (test_handle_all_print): put back Mach
20742         exception test, but conditionalize it on target [mach | gnu].
20743
20744 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
20745
20746         * gdb.base/overlays.exp: fixup compile line for linker script.
20747
20748 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
20749
20750         * gdb.fortran/types.exp: don't guess at float size.
20751
20752 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
20753
20754         * gdb.base/exprs.exp: delete test that depends on int size.
20755
20756 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
20757
20758         * config/sim.exp: Removed checks for target triplets.
20759         (gdb_target_sim): Use gdb,target_sim_options.
20760
20761 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
20762
20763         * gdb.base/reread.exp: New file.
20764         * gdb.base/reread1.c: New file.
20765         * gdb.base/reread2.c: New file.
20766
20767 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
20768
20769         * config/sim.exp: Use 'target sim -sparclite' when running
20770         SPARClite programs.
20771
20772 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
20773
20774         * gdb.base/structs2.exp: New file.
20775         * gdb.base/structs2.c: New file.
20776
20777 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
20778
20779         * gdb.asm/common.inc: New file.
20780         * gdb.asm/d10v.inc: New file.
20781         * asm-source.exp: Pass -I's to gas to find .inc files.
20782         Update line numbers in expected output.
20783         * asmsrc1.s: Rewrite.
20784         * asmsrc2.s: Rewrite.
20785         * configure.in: Create arch.inc symlink.
20786         * configure: Regenerate.
20787         * Makefile.in (distclean): Delete arch.inc.
20788
20789 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
20790
20791         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
20792         (t_enum_value2): ditto
20793         (t_enum_value3): ditto
20794         (main): ditto
20795 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
20796
20797         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
20798         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
20799         change.
20800         Use gdb_test instead of send_gdb/gdb_expect sequences.
20801
20802 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
20803
20804         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
20805         not void.
20806
20807 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
20808
20809         * gdb.base/branches.c: Code with lots of loops and
20810         subroutines. Used to test gdbs ability to single step through PC
20811         changes, especially to test mips-tdep.c:mips_next_pc
20812
20813 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
20814
20815         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
20816         more rigorous EGCS C++ error checking.
20817
20818 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20819
20820         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
20821         tests.
20822         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
20823         function when asleep.
20824         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
20825         for i*86 Linux and SVR4 signal handling problems.
20826         Remove linux xfail for `next to handler in signals_tests_1', fixed
20827         by recent infrun.c change.
20828         Limit backtrace to 10 frames to avoid timeout problems with infinite
20829         stack backtraces.
20830         Adjust expect pattern in `handle all print' test to match Apr 28 1997
20831         target.[ch] change.
20832
20833 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
20834
20835         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
20836         for a newline from gdb before continuing.
20837         (default_gdb_exit): Just look for y or n.
20838         (gdb_test): Detect abnormal exit from GDB running on DOS; if
20839         it does, fail the rests of the tests in the file.
20840
20841 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
20842
20843         * config/cygmon.exp: New file.
20844
20845 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
20846
20847         * gdb.base/list.exp: Fix problem with "list default lines around
20848         main" test on remote targets.
20849
20850         * gdb.base/scope.exp: Fix problem with filelocal_bss before
20851         run test on remote targets.
20852
20853 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
20854
20855         * gdb.asm: New directory.
20856         * configure.in: Configure it.
20857         * configure: Regenerate.
20858         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
20859         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
20860
20861 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
20862
20863         * config/mn10300-eval.exp: New file to support MN10300 eval board.
20864
20865 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
20866
20867         * gdb.base/overlays (several files): Merge the two overlay
20868         managers into one.  Change variables (foox, barx, bazx, grbxx)
20869         back into ints but force them to load in their proper sections.
20870
20871 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20872
20873         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
20874         on-chip insn memory and IMAP1 to upper 128k.
20875         (D10VCopy): Handle memory regions crossing 16k boundaries.
20876         (D10VCopy): Transfer data in 32 bit chunks.
20877
20878 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20879
20880         * gdb.base/overlays.c (main): Exit normally when result is
20881         correct.
20882
20883         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
20884         map.  Include space for printf in .text segment.
20885
20886         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
20887         updated d10v memory VMA/LMA map.
20888         (D10VCopy): Call D10VTranslate.
20889
20890 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20891
20892         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
20893
20894         * gdb.base/bar.c (barx, bar): Change variable to small array so
20895         that it won't be put into the .sdata - small data -
20896         section. Update reference.
20897         * gdb.base/baz.c (bazx, baz): Ditto.
20898         * gdb.base/foo.c (foox, foo): Ditto.
20899         * gdb.base/grbx.c (grbxx, grbx): Ditto.
20900
20901         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
20902         to be arrays.
20903
20904 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
20905
20906         * gdb.base/overlays.exp: fix up and get working again.
20907         Add tests for backtraces from an overlay function.
20908
20909 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
20910
20911         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
20912         "calling function with watchpoint enabled".
20913
20914 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
20915
20916         * gdb.base/break.exp (test_next_with_recursion): Remove
20917         gdb_suppress_tests for d10v-*-*.
20918         * lib/gdb.exp (gdb_suppress_tests): Disable this function
20919         pending review of whether it is useful or not.
20920
20921 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
20922
20923         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
20924
20925 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
20926
20927         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
20928         * config/dve.exp: New file to support Densan boards.
20929
20930 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
20931
20932         * gdb.base/interrupt.exp: Document problem of simulators, signals,
20933         reads and BSD.
20934
20935 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
20936
20937         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
20938         response.
20939
20940         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
20941
20942 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
20943
20944         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
20945         test.
20946
20947         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
20948         target_sizeof_long and target_bigendian_p.
20949         (structs_by_value, structs_by_reference): Check values according
20950         to targets word size and endianess.
20951
20952 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
20953
20954         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
20955         output.
20956
20957 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
20958
20959         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
20960         Update test of set args help to match source change.
20961
20962 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
20963
20964         * gdb.base/default.exp: Expect help system output to be in
20965         alphabetical order.
20966         * gdb.base/help.exp: Ditto.
20967
20968 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
20969
20970         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
20971         "i*86-pc-linux-gnu*".
20972         * gdb.base/interrupt.exp: Ditto.
20973         * gdb.base/corefile.exp: Ditto.
20974
20975         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
20976         define vxworks when building the testcase.
20977
20978         * gdb.base/ptype.exp: Fix testnames to be unique.
20979         * gdb.base/radix.exp: Ditto.
20980         * gdb.base/term.exp: Ditto.
20981         * gdb.base/whatis.exp: Ditto.
20982         * gdb.c++/classes.exp: Ditto.
20983
20984 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
20985
20986         * gdb.base/callfuncs.exp: Fix indentation.
20987
20988         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
20989         suppress_flag has been set.
20990         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
20991         target feature.
20992
20993 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
20994
20995         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
20996         the testcase.
20997
20998         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
20999         set_debug_traps() and breakpoint().
21000         * gdb.c++/misc.cc (main): Ditto.
21001         * gdb.c++/templates.cc (main): Ditto.
21002         * gdb.c++/virtfunc.cc (main): Ditto.
21003
21004 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
21005
21006         * lib/gdb.exp(gdb_step_for_stub): New function.
21007         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21008         exists, reload the executable and do a "continue" instead of
21009         doing a jump.
21010         (runto_main): Use gdb_step_for_stub.
21011
21012         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
21013         tests to have unique names.
21014         * gdb.base/callfuncs.exp: Ditto.
21015         * gdb.base/commands.exp: Ditto.
21016         * gdb.base/default.exp: Ditto.
21017         * gdb.base/help.exp: Ditto.
21018         * gdb.base/list.exp: Ditto.
21019         * gdb.base/opaque.exp: Ditto.
21020         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21021         similar tests.
21022
21023         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21024         * gdb.c++/cplusfuncs.cc: Ditto.
21025         * gdb.c++/virtfunc.cc: Ditto.
21026
21027         * config/monitor.exp: Keep track of the last file we saw, rather
21028         than trying to get the info from gdb.
21029
21030         * gdb.fortran/types.exp: Move comment to previous line.
21031
21032 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
21033
21034         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
21035         target mode.
21036
21037 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
21038
21039         From Bob Manson:
21040         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
21041         string from GDB when it connects.
21042
21043         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21044
21045 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21046
21047         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
21048         if we can't get a debug format from GDB (we may be testing an
21049         older GDB). Use a 10 second timeout when checking for the format.
21050
21051         * gdb.stabs/weird.exp: Fix quoting.
21052
21053         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21054
21055 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21056
21057         * config/arm-ice.exp: New file.
21058
21059 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
21060
21061         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
21062         until it has been modified to work with the new testsuite.
21063
21064         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
21065         testcase won't compile, cause all of the testcases in the file to
21066         fail instead.
21067
21068         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21069         (gdb_clear_suppressed): New procedure.
21070         (gdb_stop_suppressing_tests): Only clear suppress_flag if
21071         it contains a positive value.
21072
21073 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
21074
21075         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21076
21077         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21078
21079 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
21080
21081         * lib/gdb.exp (setup_xfail_format): New function.
21082         (get_debug_format): New function to get debug format.
21083         (debug_format): New global variable to hold last value set
21084         by get_debug_format.
21085         * gdb.base/list.exp: Call get_debug_format and expect some
21086         tests to fail for DWARF 1 and COFF formats.
21087         * gdb.c++/ptype.exp: Ditto.
21088         * gdb.c++/classes.exp: Ditto.
21089         * gdb.c++/cplusfuncs.exp: Ditto.
21090         * gdb.c++/inherit.exp: Ditto.
21091         * gdb.c++/templates.exp: Ditto.
21092         * gdb.c++/virtfunc.exp: Ditto.
21093
21094 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
21095
21096         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21097         host doesn't have a currently-open connection.
21098
21099         * config/sparclet.exp: Cleanups and fixes to make it generic for
21100         any gdb stub target. Handle cases where gdb doesn't respond when
21101         interrupted in a sane fashion.
21102
21103         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
21104         same thing in a totally different way.
21105
21106         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
21107         setting "timeout".
21108         (gdb_start): We set the global gdb_prompt variable in
21109         default_gdb_init now.
21110
21111 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
21112
21113         * gdb.base/printcmds.exp: Fix "check for floating addition"
21114         regexp to accept results within approx +/- .01 of exact value.
21115         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21116
21117 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
21118
21119         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
21120         properly.
21121         (gdb_expect): Add optional timeout parameter, and add timeout
21122         value to various calls.
21123         (gdb_suppress_tests): Only give one warning message per group.
21124
21125 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
21126
21127         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
21128         global variables. Handle getting a value for $timeout more
21129         gracefully.
21130
21131 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
21132
21133         * lib/gdb.exp: Close connection to remote host if gdb doesn't
21134         initialize.
21135         (default_gdb_init): New procedure; allow gdb_init to be overridden
21136         by a target configuration file.
21137         (gdb_expect): Pass the timeout to remote_expect.
21138
21139         * config/monitor.exp(gdb_load): Fix typo in regexp.
21140
21141 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21142
21143         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21144
21145 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21146
21147         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
21148         here. Call gdb_target_exec before rebooting the target, to make
21149         sure the connection to the target is closed.
21150         (gdb_load): Pass the name of the executable to gdb_target_monitor.
21151         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21152         Also detect "Timeout reading from remote" error.
21153
21154         * config/gdbserver.exp: Pass the executable being loaded to
21155         gdb_target_monitor. Don't call gdb_file_cmd here; let
21156         gdb_target_monitor do it.
21157
21158         * gdb.disasm/hppa.exp: Don't use exec_output.
21159
21160 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
21161
21162         * gdb.base/list.exp: If we're debugging a non-native target,
21163         try to set the pc register to point to the start of the
21164         program before doing the first list command.
21165
21166         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
21167         test_calls after restarting.
21168
21169         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
21170         reloading.
21171
21172         * gdb.base/watchpoint.exp: Fix typo.
21173
21174         * gdb.base/setshow.exp: Check for use_gdb_stub.
21175
21176         * gdb.base/break.exp: Fix continue until exit test for the gdb
21177         stub case.
21178         * gdb.base/langs.exp: Ditto.
21179
21180         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
21181         gdb_load_offset. If we weren't given a file to load, figure out
21182         what the current file is and use it.
21183
21184         * config/i386-bozo.exp: New file.
21185
21186 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
21187
21188         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21189         feature.
21190
21191         * config/proelf.exp: New entry.
21192
21193 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
21194
21195         * lib/gdb.exp: Remove spurious .* patterns at the beginning
21196         of regexps.
21197
21198         * gdb.base/watchpoint.exp: Don't run the test_stepping
21199         tests if gdb can't call functions on the target.
21200
21201         * gdb.base/setshow.exp: Don't run the set prompt tests if
21202         the board has gdb_prompt set.
21203
21204 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
21205
21206         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
21207         * gdb.base/commands.exp: Likewise.
21208         * gdb.base/setshow.exp: Likewise.
21209
21210 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
21211
21212         * config/monitor.exp(gdb_start): Look for gdb_prompt target
21213         feature.
21214
21215         * config/i960.exp: New file.
21216
21217 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
21218
21219         * gdb.base/funcargs.exp: Check for gdb,short_int target
21220         feature instead of looking for explicit target triplets.
21221
21222 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
21223
21224         * gdb.base/printcmds.exp: add a couple more tests a la
21225         "p 123DEADBEEF", to check parse_number.
21226         * top.c: change "to enable to enable" to "to enable" in a couple
21227         of help strings.
21228
21229 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
21230
21231         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21232         on the mn10300.
21233
21234 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
21235
21236         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
21237         where the test executable is run with explicit args.
21238         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
21239
21240 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
21241
21242         * gdb.base/run.c: Use FAKEARGV to build test executable that
21243         does not require a command line arg, since most simulators
21244         don't currently support passing such an arg into the simulated
21245         program.
21246         * gdb.base/commands.exp: Change tests to insert the proper
21247         value as the arg to the first recursive factorial call.  Change
21248         compilation line to define FAKEARGV at compile time.
21249
21250 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
21251
21252         * gdb.base/recurse.exp: Enable these tests for the mn10300.
21253         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
21254         function with watchpoint enabled" test.
21255
21256 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21257
21258         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
21259         Don't call gdb_test when the command doesn't return to a gdb prompt.
21260
21261         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
21262         "Tests restarted" messages.
21263
21264 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
21265
21266         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
21267
21268 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
21269
21270         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
21271         for INFO SYMBOL; add help tests for OVERLAY commands.
21272         * gdb.base/default.exp: add tests for INFO SYMBOL command;
21273         add tests for OVERLAY commands
21274         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
21275         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
21276         * gdb.base/sigall.c: add usestubs code frag
21277         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
21278
21279 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
21280
21281         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
21282         failures.
21283         (gdb_stop_suppressing_tests): Note that tests have restarted.
21284
21285 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21286
21287         * config/h8300.exp: New file.
21288
21289 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21290
21291         * gdb.base/setshow.exp: Check for the existence of a
21292         feature, not its value.
21293
21294 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
21295
21296         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
21297
21298         * gdb.base/scope.exp: It's now init0(), not init().
21299
21300         * gdb.base/scope0.c: For now, change init() to be init0().
21301
21302         * config/monitor.exp: Use gdb_serial in preference to serial
21303         or netport.
21304
21305         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
21306         and it's not already set.
21307
21308 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
21309
21310         * gdb.base/setshow.exp: Only test the run command if the target
21311         isn't using a stub and if it supports argument passing.
21312
21313 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21314
21315         * config/udi.exp(gdb_start): Make sure UDICONF is set
21316         properly before starting gdb.
21317
21318 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
21319
21320         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
21321         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
21322         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
21323
21324 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
21325
21326         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
21327         specialized code to reboot the board, use remote_reboot instead.
21328
21329         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
21330
21331         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
21332
21333         * config/monitor.exp: Make sure we disconnect from the target.
21334         Also, try a reboot/reload cycle instead of failing if the
21335         load fails.
21336
21337 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
21338
21339         * gdb.base/default.exp: Don't set match_max.
21340         * gdb.base/help.exp: Ditto.
21341         * gdb.base/list.exp: Ditto.
21342         * gdb.base/signals.exp: Ditto.
21343
21344         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
21345         set, use remote_ld to download the testcase instead of
21346         the GDB loader.
21347
21348 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21349
21350         * config/vr5000.exp: New file.
21351
21352         * config/monitor.exp(gdb_target_monitor): Add pattern for
21353         "Ending remote" to detect errors in connecting.
21354
21355         * gdb.base/setshow.exp: Add .* within auto language test.
21356
21357         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
21358         target feature.
21359
21360         * config/monitor.exp(gdb_load): Check for a failure when loading,
21361         and reboot the board if necessary.
21362
21363         * gdb.base/setvar.exp(test_set): Handle multiple prints within
21364         a set of tests. Remove print.* from the patterns being checked.
21365
21366 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21367
21368         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
21369         refer to gdb_spawn_id.
21370
21371         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
21372         longer used.
21373         * config/sparclet.exp: Ditto.
21374         * config/sparclet-old.exp: Ditto.
21375         * config/slite.exp: Ditto.
21376         * config/sim.exp: Ditto.
21377         * gdb.base/funcargs.exp: Ditto.
21378
21379         * lib/gdb.exp:Remove references to gdb_spawn_id.
21380         (gdb_expect): Move to remote.exp.
21381
21382 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
21383
21384         * config/monitor.exp: Detect the "Couldn't establish connection"
21385         message from GDB.
21386
21387 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
21388
21389         * gdb.base/bitfields.exp: Use runto instead of explicit
21390         gdb_run_cmd/gdb_expect sequences.
21391
21392         * gdb.base/break.exp(text_next_with_recursion): Add match for
21393         gdb_expect call.
21394
21395         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
21396         We also need to handle the "A program is being debugged already"
21397         prompt from gdb. Use gdb_test to set the baud rate.
21398
21399         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
21400         to 20000. Really. I mean it.
21401
21402 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
21403
21404         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
21405         fails. If suppress_flag is set, skip perror message about not
21406         being able to send to GDB.
21407         (send_gdb): If suppress_flag is set, don't try to send commands to
21408         GDB.
21409         (gdb_expect): If suppress_flag is set, always fail immediately.
21410         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
21411         (gdb_init): Call gdb_stop_suppressing_tests.
21412         (default_gdb_exit): Ditto.
21413         (default_gdb_start): Ditto.
21414
21415         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
21416         gdb_stop_suppressing_tests as appropriate.
21417         * gdb.base/break.exp: Ditto.
21418         * gdb.base/callfuncs.exp: Ditto.
21419         * gdb.base/commands.exp: Ditto.
21420         * gdb.base/exprs.exp: Ditto.
21421         * gdb.base/funcargs.exp: Ditto.
21422         * gdb.base/list.exp: Ditto.
21423         * gdb.base/recurse.exp: Ditto.
21424         * gdb.base/scope.exp:  Ditto.
21425         * gdb.base/structs.exp: Ditto.
21426         * gdb.c++/inherit.exp: Ditto.
21427
21428 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
21429
21430         * config/vr4300.exp: New file.
21431
21432         * gdb.*/*.exp: Call gdb_expect instead of expect.
21433
21434         * lib/gdb.exp(gdb_expect): New function.
21435
21436 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
21437
21438         * lib/gdb.exp(gdb_init): New function.
21439
21440         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
21441         for each individual variable set.
21442
21443         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
21444         name.
21445
21446         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
21447
21448         * gdb.base/scope.exp: Use gdb_test.
21449
21450         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
21451         aborting; the testsuite driver will do that for us (see
21452         gdb_finish). Also, use gdb_test in a few more places.
21453
21454 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
21455
21456         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
21457
21458 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
21459
21460         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21461         and "add_tests" are not at the same address.
21462
21463 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
21464
21465         * gdb.base/ptype.exp: Use gdb_test.
21466
21467 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
21468
21469         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21470         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21471         left in.  No longer expect them to fail.
21472
21473         * gdb.stabs/*.mt; Deleted, no longer used.
21474         * gdb.stabs/configure.in: Remove references to target makefile
21475         frags.
21476         * gdb.stabs/configure: Rebuilt.
21477
21478         * gdb.disasm/*.mt: Deleted, no longer used.
21479         * gdb.disasm/configure.in: Remove references to target makefile
21480         frags.  Use "sh3.s" as the unique filename for this directory.
21481         * gdb.disasm/configure: Rebuilt.
21482
21483         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21484         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21485         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21486
21487 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
21488
21489         * config/udi.exp: Use mondfe,name instead of remote_host.
21490
21491 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
21492
21493         * gdb.base/watchpoint.exp: Don't expect a failure when calling
21494         a function with a watchpoint enabled on the mn10200.
21495
21496         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
21497         before trying to create it!
21498
21499 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
21500
21501         * config/vx.exp: Use hostname instead of netport.
21502
21503         * config/vxworks.exp: New file.
21504
21505         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
21506
21507         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
21508         gdb before assuming everything worked. Send a ^C if a timeout
21509         occurs.
21510
21511         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
21512         $gdb_spawn_id directly.
21513         (gdb_run_cmd): Try _start as well as start. Use the target feature
21514         gdb,start_symbol as the symbol to start from when jumping.
21515
21516 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
21517
21518         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
21519         redundant) test.
21520
21521         * gdb.base/recurse.exp: Relax final value test for 'b' so that
21522         it doesn't lose for 16bit integer systems.
21523
21524 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
21525
21526         * gdb.fortran/types.exp: If the target doesn't support "double"
21527         data types, then expect "real" types to only be 4 bytes.
21528
21529         * gdb.c++/virtfunc.exp: Expect failure for virtual function
21530         call tests if the target doesn't support inferior function calls.
21531
21532         * gdb.base/printcmds.exp: Allow minor deviation in FP values
21533         in printf tests.
21534
21535 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
21536
21537         * gdb.base/help.exp: Disable "help set", "help show", and
21538         "help support".  Simplify regexp for "help stack".
21539
21540         * gdb.base/default.exp: Set match_max to 5000 and the timeout
21541         to 60 seconds.  Temporarily set match_max to 15000 around the
21542         "info copying" test.
21543
21544         * gdb.base/nodebug.exp: Don't try to do an inferior function
21545         call if the target doesn't support them.
21546         * gdb.base/printcmds.exp: Likewise.
21547         * gdb.base/setvar.exp: Likewise.
21548         * gdb.base/structs.exp: Likewise.
21549         * gdb.c++/templates.exp: Likewise.
21550         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
21551
21552         * gdb.base/recurse.exp: Enable for the mn10200.
21553
21554         * configure.in: Do configure gdb.stabs directory for *-*-elf
21555         targets.
21556         * configure: Rebuilt.
21557
21558         * gdb.base/break.exp: Check for gdb,noresults before testing
21559         exit status and/or results from the target.
21560         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
21561         * lib/gdb.exp: Remove old (now bogus) initialization of
21562         noinferior, noargs, noresults and nosignals.
21563
21564 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
21565
21566         * config/sh.exp: New file.
21567
21568         * config/slite.exp: Try to connect multiple times to the board
21569         before rebooting. Only send a "monitor run" if need_monitor_run
21570         is set.
21571
21572         * gdb.base/break.exp: Don't do the "stub continue" test if
21573         the target has gdb_stub set.
21574
21575         * gdb.base/callfuncs.exp: Increase the timeout.
21576
21577         * gdb.base/interrupt.exp: Don't even try to compile the testcase
21578         if the target has gdb,noinferiorio set.
21579
21580         * gdb.base/list.exp: Increase match_max to 10000 characters.
21581
21582         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
21583
21584         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
21585         target.
21586
21587         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
21588
21589 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
21590
21591         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
21592         trying to delete the copy of gdb. Catch the file delete so we
21593         don't die if the delete fails; also, the file should be copied to
21594         the host, not to the build.
21595
21596 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
21597
21598         * lib/gdb.exp(gdb_test): Surround the result pattern with
21599         parenthesis in case it contains multiple regexps separated
21600         with |.
21601
21602         * gdb.base/watchpoint.exp: Use gdb_test.
21603         * gdb.base/default.exp: Ditto.
21604
21605 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
21606
21607         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
21608
21609         * gdb.base/scope.exp: Use gdb_test.
21610         * gdb.c++/classes.exp: Ditto.
21611         * gdb.c++/inherit.exp: Ditto.
21612
21613 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21614
21615         * gdb.base/crossload.exp: Don't use execute_anywhere, use
21616         remote_exec instead.
21617         * gdb.base/corefile.exp: Don't be ridiculous.
21618         * gdb.base/*.c: Add missing stub invocations.
21619
21620 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21621
21622         * config/slite.exp: Miscellaneous fixes.
21623
21624         * lib/gdb.exp: Fix runto.
21625
21626         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
21627         the target.
21628
21629         * gdb.base/watchpoint.exp: Fix regexp.
21630
21631         * lib/gdb.exp(default_gdb_exit): Add a catch to the
21632         close and wait commands, as the descriptor may now be
21633         invalid. Always call "remote_close host".
21634
21635 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
21636
21637            Major rewrite for testsuite revision.
21638
21639         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
21640         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
21641         instead of relying on spawn_id to always contain a valid
21642         spawn id.
21643         (get_compiler_info): New procedure to build the ${binfile}.ci
21644         file, instead of replicating this in N different places.
21645         (gdb_compile): New procedure.
21646
21647         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
21648         appropriate arguments) instead of compile. Use gdb_test in a lot
21649         more places.  Use send_gdb instead of send. Always run gdb_start
21650         at the start of a testcase, as this is no longer done magically.
21651
21652         config/*-gdb.exp: Rename without the -gdb suffix.
21653
21654         config/mips.exp: Use remote_close instead of exit_remote_shell.
21655         config/monitor.exp: Use target_info instead of looking at
21656         baud, timeout, etc.
21657         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
21658
21659 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21660
21661         * gdb.c++/templates.exp (test_ptype_of_templates),
21662         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
21663         Update expect patterns for destructors and assignment operators
21664         to match corresponding c-typeprint.c changes.
21665         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
21666         to destructor breakpoint test, GDB should be able to set the
21667         destructor breakpoint without specifying arguments.
21668
21669 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
21670
21671         * gdb.threads/pthreads.exp: Change result for failure to compile due
21672         to lack of pthreads runtime support from an error to simply an
21673         unsupported test, per dejagnu standards.
21674
21675 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21676
21677         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
21678         where GDB exits to reduce pattern match time.
21679         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
21680
21681         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
21682
21683 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
21684
21685         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
21686         * gdb.base/default.exp:   ditto.
21687         * gdb.base/nodebug.exp:   ditto.
21688         * gdb.base/printcmds.exp: ditto.
21689         * gdb.base/ptype.exp:     ditto.
21690         * gdb.base/setvar.exp:    ditto.
21691         * gdb.base/structs.exp:   ditto.
21692         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
21693
21694 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
21695
21696         * configure, */configure: Rebuild with autoconf 2.12.
21697
21698 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
21699
21700         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
21701         use new i*86-pc-linux*-gnu quads.
21702         * gdb.base/corefile.exp: Ditto.
21703         * gdb.base/signals.exp: Ditto.
21704         * gdb.base/sigall.exp: Ditto.
21705         * gdb.base/interrupt.exp: Ditto.
21706
21707         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
21708         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
21709         RedHat 4.0.
21710
21711         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
21712         linux.  This allows the test case to at least compile on latest
21713         linux, but still not run due to missing the threads runtime library.
21714
21715 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21716
21717         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
21718         directory to search gdb directory. Accept and step over conditional
21719         stack alignment code. Consume $prompt in failure cases.
21720         Reset timeout to $oldtimeout instead of some arbitrary value.
21721         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
21722         timeout problems with infinite stack backtraces.
21723         * gdb.base/ptype.exp (ptype struct link, union tu_link):
21724         Accept function parameters for linkfunc member.
21725
21726 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
21727
21728         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
21729         (CXXFLAGS): Remove, unreferenced.
21730         (B_OPTIONS): Add for -B options and add code to initialize with
21731         previous -B options and also add -B option to pick up cross compiled
21732         runtime.
21733         (TARGET_INCLUDES): Add for -I options and add code to initialize when
21734         doing cross compiles.
21735         (target_alias): Declare global.
21736         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
21737         to verify that gcc exists in build tree, and if so set CC to that
21738         gcc and to use B_OPTIONS and TARGET_INCLUDES.
21739
21740 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
21741
21742         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
21743         ptype test for anonymous union.  Fixup testcase to match
21744         current gcc debug output.
21745
21746 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
21747
21748         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
21749         force argument to an unsigned long type.
21750
21751 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
21752
21753         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
21754         tests and anonymous union print/ptype tests.
21755         * gdb.base/list.exp (test_forward-search): Increase timeout by
21756         5 minutes for the "search extremely long line" case.
21757         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
21758         completely optional and that the pass/fail messages use the command as
21759         the message if that third arg is a null string.
21760         (gdb_test_exact):  Arrange that a null string pattern means match a
21761         null string output rather than any output, which might include random
21762         errors.
21763         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
21764         backtrace test.
21765         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
21766         always failing and failure is now exposed by gdb.exp changes.
21767
21768 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
21769
21770         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
21771         weren't being noted.
21772
21773 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21774
21775         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
21776         * gdb.stabs/weird.exp:  Remove v_comb xfails.
21777
21778 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
21779
21780         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
21781                     list.exp scope.exp watchpoint.exp]
21782           Make all timeout error msgs explicitly say "(timeout)".
21783
21784 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
21785
21786         * config/monitor.exp: Increase download timeout to 1000 seconds.
21787
21788 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
21789
21790         * config/m32r.exp: Increase timeout to 120 seconds.
21791
21792 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
21793
21794         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
21795         and accept older ordering as obsolescent gcc or gdb.
21796         * gdb.c++/templates.exp: Ditto.
21797         * gdb.c++/virtfunc.exp: Ditto.
21798
21799 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
21800
21801         * gdb.base/coremaker.c: Add code to mmap some data so we
21802         can check that it ends up in the core file.
21803         * gdb.base/corefile.exp: Add test to read mmapped data
21804         from core file.
21805
21806 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
21807
21808         * config/m32r.exp: New file.
21809
21810 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
21811
21812         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
21813         that cflags can contains -gstabs, and work correctly for other tests.
21814
21815 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
21816
21817         * gdb.base/setshow.exp: New file, tests show and set.
21818         * gdb.base/setshow.c:   New file, tests show and set.
21819         * gdb.base/help.exp: Add test for help set|show annotate.
21820         * gdb.base/default.exp: Add test for set|show annotate.
21821
21822 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
21823
21824         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
21825         errors unique.
21826         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
21827         explicitly.
21828
21829 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
21830
21831         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
21832         and width commands.  This is done elsewhere.
21833         * (gdb_start):  Don't call gdb_start_sim here.  That's already
21834         done in gdb_load.  This fixes lots of failures in default.exp.
21835
21836 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
21837
21838         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
21839         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
21840         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
21841         in the same we we treat other failures (since it may be an expected
21842         condition), rather than as an error.
21843         * gdb.base/signals.exp (test_handle_all_print): Revert back to
21844         old test format.
21845
21846 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
21847
21848         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
21849         (distclean maintainer-clean realclean): No need to remove files
21850         twice.  Nuke the duplicates.
21851         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
21852         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
21853         Remove config.h along with other config files.
21854
21855 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
21856
21857         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
21858         "p func1 ()" and note that rests of tests are skipped.
21859         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
21860         setup_xfails for "print func2::coremaker_local".
21861         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
21862         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
21863         affected by the previous run test.
21864         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
21865         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
21866         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
21867         "pass int powerset tuple" and "pass modeless int powerset tuple".
21868         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
21869         "real write 4" and "real write 8".
21870         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
21871         setup_xfails for "print vs1 after tuple assign 2",
21872         "print \$i after tuple assign 2", and
21873         "print vs2 after tuple assign 2".
21874         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
21875         meaningful error message and return -1 so the caller can
21876         suppress further tests and avoid a cascade of errors.
21877
21878 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
21879
21880         * gdb.base/a1-selftest.exp: Tweak tests to account for new
21881         format for printing version.
21882         * gdb.base/default.exp: Ditto.
21883         * gdb.base/interrupt.exp: Fix problem with cascade of
21884         errors if child process dies while calling a function.
21885
21886 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
21887
21888         * Makefile.in (VPATH): Add
21889         * Makefile.in (Makefile, config.status): Fix rules so things get
21890         remade when necessary.
21891
21892 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
21893
21894         * Makefile.in (just-check): Add path to sibling expect dir
21895         to environment variable specified by RPATH_ENVVAR.
21896
21897 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
21898
21899         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
21900         (just-check): Add shared library paths for libstdc++, tk,
21901         tcl, bfd, and opcodes to the environment variable specified
21902         in RPATH_ENVVAR.
21903         * configure.in: Add support to recognize --enable-shared flag
21904         and generate correct value for RPATH_ENVVAR.
21905         * configure: Regenerated with autoconf.
21906
21907 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
21908
21909         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
21910         include all osf versions.
21911         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
21912         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
21913         when target is linux.  When failing to build pthreads test
21914         executable, give more meaningful message.
21915         * gdb.threads/pthreads.c: Hpux also uses old definition of second
21916         arg for pthread_create.
21917
21918 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
21919
21920         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
21921         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
21922         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
21923         and -lpthreads (everybody else).
21924         (test_startup): Fail gracefully if threads are not supported.
21925         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
21926         "p/c array_index("abcdef",2)" when not gcc compiled.
21927         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
21928         "print func2::coremaker_local" when not gcc compiled.
21929         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
21930         "ptype on opaque struct tagname (statically)",
21931         "ptype on opaque struct tagname (dynamically) 1", and
21932         "ptype on opaque struct tagname (dynamically) 2"
21933         for not compiled with gcc.
21934         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
21935         backtrace when compiled with gcc.
21936         * lib/gdb.exp (runto_main): Return result of "runto main" rather
21937         than always return success.
21938
21939 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
21940
21941         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
21942
21943 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
21944
21945         * gdb.base/structs.exp: Undo last change.
21946
21947 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
21948
21949         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
21950         encapsulate all the steps/nexts done during self test, starting
21951         at main, and makes them less sensitive to optimization issues.
21952         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
21953         signal handler" test.
21954         * gdb.threads/pthreads.exp: Only run this for native configs.
21955         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
21956         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
21957         tests.
21958         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
21959         for "runto test_calls(void)" test.
21960
21961 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
21962
21963         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
21964         and don't expect address info in breakpoint confirmations.
21965
21966 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
21967
21968         * gdb.base/list.exp (test_forward_search): Increase timeout
21969         temporarily by 60 seconds for searching extremely long line,
21970         and then reset to old value when done.  Increase expect input
21971         buffer to 10000.
21972
21973 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
21974
21975         * gdb.base/list.exp (test_forward_search): Fix to handle very
21976         long source line without overflowing expect's input buffer.
21977
21978 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
21979
21980         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
21981         "buffer_full".
21982
21983         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
21984         "buffer_full".
21985
21986         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
21987         "buffer_full".
21988
21989         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
21990         "buffer_full".
21991
21992 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
21993
21994         * configure.in (configdirs): Add gdb.threads.
21995         * configure: Regenerated with autoconf.
21996         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
21997         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
21998         * gdb.threads/configure: New, generated with autoconf.
21999
22000 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
22001
22002         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22003
22004 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
22005
22006         * gdb.base/signals.exp (test_handle_all_print): Test separately for
22007         each signal's status in the output of "handle all print".
22008         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22009         the \r\n sequence that immediately precedes the gdb prompt.
22010         * gdb.base/a1-selftest.exp: Save original timeout and restore
22011         after test.
22012
22013 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
22014
22015         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22016         symbol.
22017
22018 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
22019
22020         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22021
22022 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
22023
22024         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22025         timeout by 60 seconds.
22026
22027 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
22028
22029         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22030         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22031         error return.
22032
22033 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
22034
22035         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22036         gdb initialization, also report how long dejagnu waited.  Restore
22037         old timeout before doing error return.  Temporarily increase timeout
22038         by 3 minutes to allow for slow startups over heavy NFS use.
22039
22040 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
22041
22042         * lib/gdb.exp: Report timeout value for verbosity level 2.
22043         * config/gdbserver.exp: Ditto.
22044         * config/hppro.exp: Ditto.
22045         * config/mips-gdb.exp: Ditto.
22046         * config/monitor.exp: Ditto.
22047         * config/netware.exp: Ditto.
22048         * config/sim-gdb.exp: Ditto.
22049         * config/slite-gdb.exp: Ditto.
22050         * config/udi-gdb.exp: Ditto.
22051         * config/unix-gdb.exp: Ditto.
22052         * config/vx-gdb.exp: Ditto.
22053         * gdb.base/a1-selftest.exp: Ditto.
22054         * gdb.base/a2-run.exp: Ditto.
22055         * gdb.base/break.exp: Ditto.
22056         * gdb.base/corefile.exp: Ditto.
22057         * gdb.base/list.exp: Ditto.
22058         * gdb.base/recurse.exp: Ditto.
22059         * gdb.base/scope.exp: Ditto.
22060         * gdb.base/signals.exp: Ditto.
22061
22062 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
22063
22064         * gdb.threads/Makefile.in (docdir): Removed.
22065
22066 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
22067
22068         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
22069         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
22070         @srcdir@.
22071         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
22072         autoconf 2.5 or higher.
22073         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22074
22075 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
22076
22077         * configure: Regenerated.
22078         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22079         avoid name clashes with SunOS headers.
22080
22081 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
22082
22083         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22084
22085 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
22086
22087         * gdb.base/callfuncs.exp: Finish last change -- make sure the
22088         prototype information ends up in the compiler info file.
22089
22090 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
22091
22092         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22093         attempting to regenerate it.  Eliminate use of a temporary file
22094         and just generate the info file directly.  Source it immediately,
22095         for consistency of use.
22096         * gdb.base/corefile.exp: Ditto
22097         * gdb.base/exprs.exp: Ditto.
22098         * gdb.base/funcargs.exp: Ditto.
22099         * gdb.base/langs.exp: Ditto.
22100         * gdb.base/list.exp: Ditto.
22101         * gdb.base/mips_pro.exp: Ditto.
22102         * gdb.base/nodebug.exp: Ditto.
22103         * gdb.base/opaque.exp: Ditto.
22104         * gdb.base/ptype.exp: Ditto.
22105         * gdb.base/scope.exp: Ditto.
22106         * gdb.base/setvar.exp: Ditto.
22107         * gdb.base/signals.exp: Ditto.
22108         * gdb.base/whatis.exp: Ditto.
22109         * gdb.c++/templates.exp: Ditto.
22110         * gdb.c++/virtfunc.exp: Ditto.
22111         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
22112         whether or not to add -lstdc++ to the compile command line args.
22113
22114 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22115
22116         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
22117         it got fixed by the recent lookup_minimal_symbol_by_pc change.
22118         Increase timeout, a lot of single stepping might be needed if the
22119         target has no hardware watchpoints.
22120
22121 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
22122
22123         * gdb.base/break.exp: Ignore compiler warnings when compiling
22124         break.c.
22125         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22126         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
22127         from remote-sim.
22128         * gdb.base/exprs.exp: Add h8300 xfails.
22129         * gdb.base/funcargs.exp: Likewise.
22130         * gdb.base/nodebug.exp: Likewise.
22131         * gdb.base/printcmds.exp: Likewise.
22132         * gdb.base/ptype.exp: Likewise.
22133         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
22134         h8300 xfails.
22135         * gdb.base/return.exp: Handle float/double precision problems
22136         on the h8300.
22137         * gdb.base/funcargs.c: Explicitly make last constant argument to
22138         call_after_alloca_subr an unsigned long type.
22139         * gdb.base/return.c: Include stdio.h.
22140
22141 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
22142
22143         * config/abug.exp: New file for the older Motorola Bug monitor
22144         that runs on the mvme13x series VME boards.
22145         * config/monitor.exp: Use the new config array for target settings
22146         if they exist.
22147
22148 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
22149
22150         * sim-gdb.exp: Make the SH simulator allocate less space when
22151         it is targeted.
22152
22153 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
22154
22155         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22156         test.
22157
22158 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
22159
22160         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22161         "rs6000-*-*" for "list function in include file" when gcc compiled.
22162         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22163         for "p ctable1[120]".
22164         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22165         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22166         Remove setup_xfail for "rs6000-*-*" for
22167         "print 'scope0.c'::filelocal before run".
22168         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22169         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22170         since some compilers don't allow both options to be given
22171         on the same command line.  Create object file and move it.
22172
22173 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
22174
22175         * gdb.base/corefile.exp: Always regenerate the core file, since
22176         we always regenerate the coremaker program.  Detect special case
22177         where registers cannot be read from core file.
22178
22179 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
22180
22181         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22182         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22183         * gdb.c++/templates.exp: Only match on basename of file since
22184         some formats like xcoff don't encode directory information.
22185         * gdb.stabs/weird.exp: Use the right sed script for powerpc
22186         and rs6000 AIX xcoff targets.
22187         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22188         * configure: Regenerate.
22189         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22190         here, rather than in distclean.
22191
22192 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
22193
22194         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22195         defined, and use it to compile the test case with -O2.  The
22196         native compilation still uses no optimization.
22197         * gdb.base/mips_pro.c: Remove inline assembly code since
22198         it is compiled PIC by default, which results in assembler
22199         warnings that make the testsuite think the compilation
22200         was unsuccessful.
22201
22202 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
22203
22204         * gdb.c++/misc.exp: Add note to message for
22205         "print s.a for foo struct" that this is a known gcc 2.7.2
22206         and earlier bug.
22207
22208 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
22209
22210         * gdb.base/break.exp: Fix pattern for matching "Delete all
22211         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
22212         setup_xfail for deleting all breakpoints test.  Fix various
22213         timeout messages to include "(timeout)".
22214         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
22215         for "p t_float_values2(3.14159,float_val2)".
22216         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
22217         for "continue to call2g" when gcc compiled.
22218         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
22219         "up to foo in langs.exp", "show language at foo in langs.exp",
22220         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
22221         and "show language at fsub in langs.exp".
22222         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
22223         "list line 1 in include file", "list message for lines past EOF",
22224         "list function in include file", "list list0.h:foo", and
22225         "list filename:function; nonexistant function".
22226         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
22227         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
22228         and "ptype t_char_array" to be for native cc only.
22229
22230 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
22231
22232         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
22233         setup_xfail for "print coremaker_bss", "print coremaker_ro",
22234         "print func2::coremaker_local", and "backtrace in corefile.exp".
22235
22236 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
22237
22238         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
22239         "bt in signals.exp".  This problem only appears when running
22240         the testsuite, and then only intermittently.
22241
22242 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
22243
22244         * gdb.base/return.exp (return_tests): Differentiate between
22245         two tests of continuing.
22246
22247 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
22248
22249         * */Makefile.in (maintainer-clean): Remove config.log.
22250         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
22251         * gdb.c++/Makefile.in (PROGS): Add inherit.
22252         (clean): Remove *.ci.
22253
22254 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
22255
22256         * gdb.c++/misc.cc: Add test code from Mike Stump.
22257         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
22258
22259 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
22260
22261         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
22262         to "alpha-*-osf2*" and add comment.
22263         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
22264         setup_xfail for "step over execarg initialization" and
22265         "step over corearg initialization".
22266         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
22267         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
22268         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
22269         gcc compiled for "print coremaker_bss", "print coremaker_ro",
22270         "print func2::coremaker_local", and "backtrace in corefile.exp".
22271         * gdb.base/signals.exp: Build and source signals.ci.
22272         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
22273         to be for gcc only.
22274         * lib/gdb.exp: Move verbose statements outside conditionals.
22275
22276 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22277
22278         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
22279         Feb 3 procfs.c change.
22280
22281 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
22282
22283         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
22284
22285 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
22286
22287         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
22288         from dejagnu's apparent default of 10 seconds, which gives random
22289         results when running the tests over NFS on moderately loaded systems.
22290         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
22291
22292 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
22293
22294         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
22295         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
22296         result reports.
22297
22298 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
22299
22300         * configure.in (CY_AC_PATH_TCLH): Remove.
22301         * configure: Regenerate.
22302
22303 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
22304
22305         * gdb.c++/Makefile.in (clean): Add missing '{'.
22306
22307 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
22308
22309         * lib/gdb.exp: Provide a default value for noinferior.
22310
22311         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
22312         Load libgloss.exp.
22313
22314 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
22315
22316         * gdb.disasm/hppa.exp: Compile directly into an executable, use
22317         the executable, not the .o to run the tests from.
22318
22319 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
22320
22321         * gdb.base/break.exp: Don't test for program exit or exit status
22322         if $noresults if nonzero.
22323         * gdb.base/langs.exp: Likewise.
22324         * gdb.base/watchpoint.exp: Likewise.
22325
22326         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
22327         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
22328         trying to compile the testcase.
22329
22330 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
22331
22332         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
22333         * gdb.base/signals.exp (continue to handler): Likewise.
22334
22335 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
22336
22337         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
22338
22339         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
22340
22341 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
22342
22343         * gdb.base/corefile.exp: Recognize "not found" as failure
22344         when trying to determine if a core file was generated.
22345         If no core file was generate the first time, try again without
22346         the ulimit -c to work around braindamaged shells.
22347
22348 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
22349
22350         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
22351         [] tests with "test" and enclose string in quotes.
22352         * gdb.stabs/configure: Rebuild
22353
22354 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
22355
22356         Changes in sync with expect:
22357         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22358         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
22359         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
22360         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
22361         argument to AC_REQUIRE.
22362         * configure: Regenerated.
22363
22364 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
22365
22366         * gdb.base/corefile.exp: When generating a core, discard any
22367         error messages about ulimit not found and the "core dumped"
22368         message from the shell that runs the coredumper.
22369
22370 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
22371
22372         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
22373
22374         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
22375         which sed script to run.  Expect failure for v_comb test
22376         on PA targets too.
22377
22378 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
22379
22380         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
22381         "print func2::coremaker_local" and for "backtrace in corefile.exp"
22382
22383 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
22384
22385         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
22386         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
22387         "sparc-sun-solaris*" xfails for "p v_comb".
22388         * lib/gdb.exp (default_gdb_start): Fix typo.
22389         * gdb.base/corefile.exp: Allow "Core was generated by ..."
22390         messages to not include the full program name that caused
22391         the core dump since some systems (such as solaris) apparently
22392         truncate this path to about 80 characters.
22393         When generating a core file first try increasing the core file
22394         size limit to unlimited since some systems may default it to
22395         zero, and it is harmless to try it.  Move the test for failing
22396         to generate a core file to where it will actually get executed.
22397         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
22398         new gdb result from g++ debug info improvements and make old
22399         pattern obsolescent.  Also account for size_t differences
22400         (may be int or long).
22401         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
22402         initialization before function call is placed in the delay slot
22403         and thus appears to be skipped over by commands such as "next".
22404
22405 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
22406
22407         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
22408
22409 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
22410
22411         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
22412         input source file; fix code to compile test to deal with this
22413         convention.
22414         * gdb.c++/*.exp: Likewise.
22415
22416 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
22417
22418         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
22419         "bt in signals.exp".
22420
22421 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
22422
22423         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
22424         "step over execarg initialization" and
22425         "step over corearg initialization".
22426
22427 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
22428
22429         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
22430         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
22431
22432 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
22433
22434         From Rob Savoye  (rob@poseidon.cygnus.com)
22435         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
22436         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
22437         configure.in}, gdb.disasm/{Makefile.in, configure.in},
22438         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
22439         configure.in}: Major reworking for autoconfig.
22440         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
22441         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
22442         New files.
22443         * config/unix-gdb.exp:  Make GDB global.
22444         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
22445         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
22446         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
22447         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
22448         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
22449         term.exp, twice.exp, watchpoint.exp, whatis.exp},
22450         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
22451         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
22452         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
22453         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
22454         pr-8136.exp, result.exp, string.exp, tuples.exp},
22455         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
22456         to returns as necessary, arrange for test to compile own testcase
22457         executable.
22458         * lib/gdb.exp: Changes for testsuite to compile own test cases.
22459
22460 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
22461
22462         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
22463         clear_xfail at end of test which might not call either pass or fail.
22464         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22465         "backtrace through signal handler".
22466
22467 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22468
22469         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
22470         continuing from a job control stop signal.
22471         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
22472
22473 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
22474
22475         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22476         * gdb.base/corefile.exp: Likewise.
22477         * gdb.base/funcargs.exp: Likewise.
22478
22479 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
22480
22481         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
22482         * config/monitor.exp:  Add support for setting baud rate.
22483
22484 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
22485
22486         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22487         i*86-*-linux* xfails for "backtrace through signal handler".
22488         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22489         "print func2::coremaker_local".
22490         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
22491         alpha-dec-osf2* xfail for
22492         "delete all breakpoints when none".
22493
22494 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
22495
22496         * gdb.base/break.exp: Change test that deletes all breakpoints
22497         when no user breakpoints are installed.  A post 4.15 change
22498         causes gdb to no longer prompt in this case.
22499
22500 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
22501
22502         * gdb.base/return.exp (return_tests):  Change xfail for test
22503         "correct value returned double test" to stop xfailing at
22504         Solaris 2.5.  Apparently the bug has been fixed.
22505
22506 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
22507
22508         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
22509         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
22510
22511 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
22512
22513         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
22514         * gdb.disasm/hppa.s: Corresponding changes.
22515
22516 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
22517
22518         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
22519         makefile fragment.
22520         * config/mt-hpux: Deleted.
22521
22522 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
22523
22524         * Many files: When warning about suppressed tests due to a
22525         nonexistant test binary, avoid incrementing the warning count.
22526
22527 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
22528
22529         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
22530
22531 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22532
22533         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
22534         "sparc-*-solaris2*".
22535
22536 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22537
22538         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
22539         Add global and local variables and initialize them.
22540         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
22541         by printing variables. Remove rs6000 and powerpc xfails, BFD now
22542         extracts the file name and terminating signal from the core file.
22543         * TODO:  Remove note about tests for correct mapping of corefile.
22544         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
22545         from optimizing it away.
22546         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
22547         handles common blocks.
22548
22549 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
22550
22551         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
22552         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
22553
22554 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
22555
22556         * Makefile.in (maintainer-clean): New target, synonym for
22557         realclean.
22558         * gdb.base/Makefile.in (maintainer-clean): Likewise.
22559         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
22560         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
22561         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
22562         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
22563         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
22564
22565 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
22566
22567         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
22568         xfails when not gcc compiled for "print foo::funclocal".
22569         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
22570         "print foo::funclocal at foo",
22571         "print 'scope1.c'::foo::funclocal at foo",
22572         "print foo::funclocal_bss at foo",
22573         "print 'scope1.c'::foo::funclocal_bss at foo",
22574         "print foo::funclocal_ro at foo",
22575         "print 'scope1.c'::foo::funclocal_ro at foo",
22576         "print bar::funclocal at foo" and
22577         "print 'scope1.c'::bar::funclocal at foo".
22578         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
22579         gcc compiled for "print foo::funclocal at bar".
22580         Expand all messages to ensure that they identify that
22581         the test is at bar().
22582         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
22583         gcc compiled for:
22584         "ptype on opaque struct pointer (statically)",
22585         "ptype on opaque struct tagname (statically)",
22586         "ptype on opaque struct pointer (dynamically) 1",
22587         "ptype on opaque struct tagname (dynamically) 1",
22588         "ptype on opaque struct pointer (dynamically) 2" and
22589         "ptype on opaque struct tagname (dynamically) 2
22590         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
22591         gcc compiled for:
22592         "p datalocal"
22593         "whatis datalocal",
22594         "ptype datalocal",
22595         "p bsslocal",
22596         "whatis bsslocal", and
22597         "ptype bsslocal".
22598         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
22599         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
22600         when not gcc compiled.
22601         * gdb.base/funcargs.exp (float_and_integral_args):  Add
22602         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
22603         compiled.
22604         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
22605         "backtrace from call6a" when not gcc compiled.
22606         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
22607         "backtrace from call7a" when not gcc compiled.
22608         * gdb.base/callfuncs.exp (do_function_calls):
22609         Add "hppa*-*-hpux*" xfail when not gcc compiled for
22610         "p t_char_array_values(char_array_val2,char_array_val1)",
22611         "p t_char_array_values(char_array_val1,char_array_val2)",
22612         "p t_char_array_values("carray 1","carray 2")",
22613         "p t_char_array_values("carray 1",char_array_val2)",
22614         "p t_char_array_values(char_array_val1,"carray 2")",
22615         "p sum_args(1,{2})",
22616         "p sum_args(2,{2,3})",
22617         "p sum_args(3,{2,3,4})",
22618         "p sum_args(4,{2,3,4,5})"
22619         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
22620         "backtrace in corefile.exp" when not gcc compiled.
22621
22622 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22623
22624         * gdb.base/signals.exp:  Rewrite `handle all print' test as
22625         a procedure. Accept blanks or TABs as whitespace, increase
22626         timeout and expect input buffer size for the large output
22627         from the command. Remove "i*86-*-bsdi2.0" xfail.
22628
22629 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22630
22631         * gdb.base/setvar.exp:  Add new testcases for truncation when
22632         assigning invalid values to bitfields.
22633
22634 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
22635
22636         * gdb.base/callfuncs.exp (do_function_calls):  Remove
22637         mips-sgi-irix* xfail for
22638         "call inferior func with struct - returns char *"
22639         and fix test so that an optional (unsigned char *) cast is
22640         accepted in the result.
22641
22642 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
22643
22644         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
22645         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22646         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
22647         * gdb.base/signals.exp: Remove duplicate "handle all print" test
22648         that accidentally got checked in.
22649
22650 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
22651
22652         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
22653         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
22654         compiled test.
22655         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
22656         Add mips-sgi-irix5* xfail for not gcc compiled.
22657         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
22658         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
22659         "p top", "whatis top", "p middle", and "whatis middle".
22660         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
22661         "whatis signed char" for not gcc compiled.
22662         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
22663         "set variable signed char=-1 (-1)" and
22664         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
22665         * gdb.base/funcargs.exp (float_and_integral_args):
22666         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
22667         Add mips-sgi-irix* xfail when not gcc compiled for
22668         "continue to call2b".
22669         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
22670         "continue to call2g".
22671         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
22672         "backtrace from call6a"
22673         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
22674         "backtrace from call7k".
22675         Add mips-sgi-irix5* xfail when not gcc compiled for
22676         "backtrace from call7a".
22677         (localvars_after_alloca):  Fix gdb_test cmds for
22678         "print * after runto ...".
22679         Remove rs6000-*-* xfails for
22680         "print i after runto localvars_after_alloca" and
22681         "print l after runto localvars_after_alloca"
22682         for all compilers.
22683         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
22684         when not compiled with gcc, for:
22685         "print signed char == (minus)",
22686         "print signed char != (minus)",
22687         "print signed char < (minus)",
22688         "print signed char > (minus)".
22689         * gdb.base/callfuncs.exp (do_function_calls):
22690         Add mips-sgi-irix* xfail, when compiled with native compiler, for
22691         "call inferior func with struct - returns char *".
22692         * gdb.base/return.exp (return_tests): Change xfail for
22693         "correct value returned double test" to include Solaris 2.4.
22694         * gdb.base/funcargs.exp (float_and_integral_args):
22695         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22696
22697 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22698
22699         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
22700         enumeration bitfields if compiling with GNU C.
22701         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
22702         to empty' prompt.
22703
22704 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
22705
22706         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
22707         test for PRO targets.
22708
22709         * gdb.base/funcargs.exp: Avoid ever setting more than 8
22710         breakpoints in the inferior at any given time by making
22711         two groups of breakpoints for call2*, call6* and call7*
22712         tests.
22713
22714 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22715
22716         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
22717         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
22718         from optimizing it away.
22719         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
22720         "call inferior func with struct".
22721
22722 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
22723
22724         * configure.in: Only configure gdb.chill for particular targets.
22725
22726 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
22727
22728         * gdb.base/Makefile.in:  Add action to .c.o transformation
22729         rule that generates a .ci file for each .o file and remove
22730         explicit .c.o rules except for callfuncs.o.
22731         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
22732         generates a .ci file for each .o file and remove explicit
22733         .cc.o rules.
22734         (clean): Remove *.tmp *.ci files.
22735         (EXECUTABLES): Remove templ-info.exp.
22736         * gdb.base/compiler.c: New file.
22737         * gdb.c++/compiler.cc: New file
22738         * gdb.base/scope.exp: Source gdb.base/scope.ci.
22739         Change rs6000-*-* xfail for
22740         "print 'scope0.c'::filelocal_ro" and
22741         "print 'scope1.c'::filelocal" and
22742         "print 'scope1.c'::filelocal_bss" and
22743         "print 'scope1.c'::filelocal_ro" and
22744         "print 'scope1.c'::foo::funclocal" and
22745         "print 'scope1.c'::foo::funclocal_ro" and
22746         "print 'scope1.c'::bar::funclocal" and
22747         "print 'scope0.c'::filelocal_ro" and
22748         "print 'scope1.c'::filelocal at foo" and
22749         "print 'scope1.c'::filelocal_bss at foo" and
22750         "print 'scope1.c'::filelocal_ro at foo" and
22751         "print 'scope1.c'::foo::funclocal at foo" and
22752         "print 'scope1.c'::foo::funclocal_bss at foo" and
22753         "print 'scope1.c'::foo::funclocal_ro at foo" and
22754         "print 'scope1.c'::bar::funclocal at foo" and
22755         "print 'scope0.c'::filelocal_ro" and
22756         "print 'scope1.c'::filelocal" and
22757         "print 'scope1.c'::filelocal_bss" and
22758         "print 'scope1.c'::filelocal_ro" and
22759         "print 'scope1.c'::foo::funclocal" and
22760         "print 'scope1.c'::foo::funclocal_bss" and
22761         "print 'scope1.c'::foo::funclocal_ro" and
22762         "print 'scope1.c'::bar::funclocal" and
22763         "print 'scope1.c'::bar::funclocal_bss"
22764         to only be xfail'd when not compiled with gcc.
22765         Add rs6000-*-* xfail for
22766         "print 'scope0.c'::filelocal_bss before run"
22767         when compiled with gcc.
22768         (test_at_main): Add rs6000-*-* xfail for
22769         "print filelocal_ro in test_at_main"
22770         when compiled with gcc.
22771         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
22772         Add rs6000-*-aix* xfail for
22773         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
22774         "ptype t_char_array",  not compiled with gcc.
22775         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
22776         xfail for "list foo (in include file)" when gcc compiled.
22777         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
22778         (integral_args): Add rs6000-*-* xfail for
22779         "run to call0a" if not compiled with gcc.
22780         (unsigned_integral_args): Add rs6000-*-* xfail for
22781         "run to call1a" if not compiled with gcc.
22782         (float_and_integral_args):  Add rs6000-*-* xfail for
22783         "run to call2a" if not compiled with gcc and for
22784         "continue to call2b" for any compiler.
22785         Add rs6000-*-* xfail to
22786         "print f1 after run to call2a" for gcc compiled.
22787         (discard_and_shuffle): Add rs6000-*-* xfail for
22788         "run to call6a".
22789         (shuffle_round_robin): Add rs6000-*-* xfail for
22790         "backtrace from call7a" if not compiled with gcc.
22791         Add rs6000-*-* xfail for
22792         "backtrace from call7b" if compiled with gcc.
22793         (call_after_alloca): Add rs6000-*-* xfail for
22794         "print c in call_after_alloca" and
22795         "print s in call_after_alloca" and
22796         "backtrace from call_after_alloca_subr"
22797         if not compiled with gcc.
22798         (localvars_in_indirect_call): Add rs6000-*-* xfail for
22799         "print c in localvars_in_indirect_call" and
22800         "print c in localvars_in_indirect_call" and
22801         "backtrace in indirectly called function" and
22802         "stepping into indirectly called function"
22803         if not compiled with gcc.
22804         (localvars_after_alloca): Add rs6000-*-* xfail for
22805         "print c after runto localvars_after_alloca" and
22806         "print s after runto localvars_after_alloca" and
22807         "print i after runto localvars_after_alloca" and
22808         "print l after runto localvars_after_alloca"
22809         for all compilers.
22810         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
22811         than whatis-info.exp.
22812         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
22813         than opaque-info.exp.
22814         Setup rs6000-*-* xfail for
22815         "ptype on opaque struct pointer (statically)" and
22816         "ptype on opaque struct pointer (dynamically)" when
22817         not compiled with gcc.
22818         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
22819         rather than callf-info.exp.
22820         (do_function_calls):  Add clear_xfail for rs6000-*-* for
22821         "p t_float_values2(3.14159,float_val2)".  Seems to work
22822         fine there, both with xlc and gcc.  Need to find out what
22823         it is doing right and fix other platforms.
22824         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
22825         "call inferior func with struct - returns int",
22826         "call inferior func with struct - returns long",
22827         "call inferior func with struct - returns float",
22828         "call inferior func with struct - returns double",
22829         "call inferior func with struct - returns char *",
22830         but only if not gcc compiled (presumes xlc compiled).
22831         Change rs6000-*-* xfails for
22832         "call inferior func with struct - returns char" and
22833         " call inferior func with struct -  returns short" to only
22834         xfail if not using gcc.
22835         (clean mostlyclean):  Remove *.ci and *.tmp files.
22836         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
22837         than templ-info.exp.
22838         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
22839         Add rs6000-*-* xfail for "up to foo in langs.exp"
22840         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
22841         when not gcc compiled.
22842
22843 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
22844
22845         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
22846         * gdb.base/corefile.exp: Likewise.
22847         * gdb.base/list.exp: Likewise.
22848         * gdb.base/scope.exp: Likewise.
22849         * gdb.base/siganls.exp: Likewise.
22850
22851         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
22852         compiler output.
22853         * gdb.base/whatis.exp: Likewise.
22854
22855 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
22856
22857         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
22858         failure (opcode table has been fixed to match reality).
22859
22860 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
22861
22862         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
22863         "call inferior func with struct - returns char",
22864         "call inferior func with struct - returns short"
22865
22866         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
22867         "print 'scope0.c'::filelocal at main",
22868         "print 'scope0.c'::filelocal_bss in test_at_main",
22869         "print 'scope0.c'::filelocal at foo",
22870         "print 'scope0.c'::filelocal_bss in test_at_foo",
22871         "print 'scope0.c'::filelocal at bar",
22872         "print 'scope0.c'::filelocal_bss in test_at_bar"
22873
22874         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
22875         in source file 1".  This bug seems to have been fixed with both
22876         gcc and native cc (was native assembler bug?).
22877
22878 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
22879
22880         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
22881         "backtrace through signal handler" to "i*86-*-sysv4*".
22882         * gdb.base/signals.exp: Add xfail for "'next' behaved as
22883         continue" case.  Add "known SVR4 bug" to fail message.
22884         Add "i*86-*-bsdi2.0" xfail for "handle all print".
22885         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
22886         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
22887         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
22888         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
22889         "up to foo in langs.exp", "show language at foo in
22890         langs.exp", "up to cppsub_ in langs.exp", "show
22891         language at cppsub_ in langs.exp", "up to fsub in
22892         langs.exp", and "show language at fsub in langs.exp".
22893         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
22894         "bactrace in corefile.exp".
22895         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
22896         "call inferior function with struct - returns float" and
22897         "call inferior function with struct - returns double".
22898
22899 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
22900
22901         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
22902         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
22903         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
22904         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
22905
22906 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
22907
22908         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
22909         (or overriden) "CHILL" macro rather then bare "gcc".
22910         Also look for ../../gcc/xgcc since that is what we will
22911         actually need, not "Makefile".  Remove following assignment
22912         of CHILL to CHILL_FOR_TARGET because that results in
22913         recursive definition.
22914
22915 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
22916
22917         * gdb.base/corefile.exp:  Change xfail for backtrace in
22918         corefile.exp from linuxaout to all linux.
22919         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
22920         cases where we miss the breakpoint at the signal handler
22921         for some reason.  Setup xfail for linuxoldld/linuxaout and
22922         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
22923         hitting SIGURG breakpoint.
22924         * gdb.base/signals.exp:  Setup xfail for "next" acting like
22925         continue to add linuxoldld.  Setup xfail for all linux for
22926         "next to handler in signals_tests_1", "backtrace in
22927         signals_tests_1", "continue to func1", "pass SIGUSR1",
22928         and continue to handler".
22929
22930 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
22931
22932         * Update all FSF addresses except those in COPYING* files.
22933
22934 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
22935
22936         * gdb.base/a2-run.exp: Change messages to be more explicit about
22937         the status of args, and quote binfile in results.
22938
22939 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
22940
22941         * gdb.base/callfuncs.exp: Add tests for passing structs to
22942         inferior functions and return various types.
22943         * gdb.base/callfuncs.c: Add functions to receive a struct
22944         and return a member of the struct, in various types.
22945
22946 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22947
22948         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
22949
22950 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
22951
22952         * config/vxworks29k.exp: New file, sources vxworks.exp.
22953
22954 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
22955
22956         * config/gdbremote.exp: New file.  Testing framework using
22957         gdbserver.
22958
22959 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
22960
22961         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
22962         "call function when asleep" and "send end of file".
22963         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
22964         for "backtrace in corefile.exp".
22965         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
22966         for "backtrace through signal handler".
22967         * gdb.base/corefile.exp: Make sure we actually generate a core file
22968         before trying the core tests.  Some systems allow the user to suppress
22969         generation of core files and default to that (linux for example).
22970         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
22971         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
22972
22973 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
22974
22975         * gdb.threads: New directory with some crude multi-threaded
22976         gdb tests (step.exp and step2.exp).
22977         * config/mt-lynx (STEP_EXECUTABLE): Define.
22978         (THREADFLAGS): Define.
22979
22980 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
22981
22982         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
22983
22984         * gdb.base/signals.exp: Disable whole file for lynx until
22985         further notice.
22986
22987         * gdb.base/signals.exp: xfail test where "next" acts like
22988         "continue" for lynx.
22989
22990         * gdb.base/interrupt.exp: xfail test for calling function while
22991         inferior is asleep for lynx.
22992
22993         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
22994         than one cr-lf  after each command.
22995
22996 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22997
22998         * configure.in:  Reinstate setting of stabsdirs variable, fix
22999         typo in setting up configdirs for native builds.
23000
23001         * gdb.base/return.exp:  Fix typo in return double test.
23002         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
23003         compiler from optimizing them away.
23004
23005 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
23006
23007         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23008         sequences to be echo'd by gdb when using gdb_test.
23009         * gdb.chill/chexp.exp: Likewise.
23010         * gdb.fortran/exprs.exp: Likewise
23011
23012 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23013
23014         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23015         after the inferior gdb has started.
23016
23017         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23018         after each command.
23019         * gdb.base/funcargs.exp: Likewise.
23020         * gdb.base/gdbvars.exp: Likewise.
23021         * gdb.base/interrupt.exp: Likewise.
23022         * gdb.base/list.exp: Likewise.
23023         * gdb.base/watchpoint.exp: Likewise.
23024         * gdb.c++/demangle.exp: Likewise.
23025         * gdb.c++/inherit.exp: Likewise.
23026         * gdb.chill/chexp.exp: Likewise.
23027         * gdb.fortran/exprs.exp: Likewise.
23028
23029         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23030         test if we can't handle IO to/from the inferior.
23031
23032         * gdb.c++/misc.exp: Always check for a program already being
23033         started after sending a "run" command to gdb.
23034
23035         * gdb.base/twice.exp: Start with a fresh gdb.
23036
23037         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23038         only depend on gdb's expression code, not the chill runtime.
23039
23040         * gdb.base/return.c: Put return values into variables so we
23041         can have gdb print them rather than depending on the program
23042         to print them.
23043         * gdb.base/return.exp: Corresponding changes.
23044
23045         * lib/gdb.exp: Provide default value for noinferiorio.
23046         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23047         the inferior.
23048
23049         * gdb.base/break.exp: Always check for a program already being
23050         started after sending a "run" command to gdb.
23051         (text_next_with_recursion): Don't check the output from the
23052         program's printf statement.  Instead just make sure the program
23053         exited.
23054
23055         * gdb.base/commands.exp: Protect tests which need arguments with
23056         $noargs conditionals.
23057
23058 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23059
23060         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
23061         of structure member arrays to match gdb/valops.c:value_addr change.
23062
23063 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
23064
23065         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23066         cases.
23067
23068 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
23069
23070         * configure.in (configdirs):  Remove gdb.chill from default list
23071         of subdirs and then add it back in only if doing a native build.
23072         The current chill compiler does not yet work in any cross build.
23073         * Revert all signal changes from Jul 6.
23074         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
23075         for sh-hms targets, allowing these tests to link, with no other
23076         changes.  Testing is suppressed by setting "nosignals" in site.exp.
23077
23078 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
23079
23080         * configure.in (signaldirs): Define and add to configdirs for all
23081         targets except some specific ones that are known to not support signals.
23082         Also clean up formatting.
23083         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
23084         (signals, sigall):  Remove rules to build.
23085         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23086         Moved to new gdb.signals directory.
23087         * gdb.signals: New test directory.
23088         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23089         signals.c signals.exp}:  New or moved files.
23090
23091 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
23092
23093         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23094
23095 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
23096
23097         * gdb.base/return.exp:  Xfail `return double' test failure
23098         on at least Solaris 2.3 and handle future/past versions on
23099         a case by case basis as appropriate.  Also update message
23100         to include i*86 failures.
23101
23102 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23103
23104         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23105
23106         * lib/gdb.exp: Fix comment which erroneously identified
23107         gdb_file_cmd as gdb_load (the 19 May change was in fact to
23108         gdb_file_cmd not gdb_load).
23109         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23110
23111         * gdb.base/setvar.exp: Make test names consistent between pass and
23112         fail cases.  Use gdb_test more.
23113
23114 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23115
23116         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23117
23118 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23119
23120         * gdb.base/help.exp:  Fix expected help string for `show commands'.
23121
23122 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
23123
23124         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23125
23126         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23127         of a text section.
23128
23129 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
23130
23131         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
23132         that loop eventually terminates.  Fix Connection refused logic so
23133         that testsuite will expire nicely.
23134
23135 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
23136
23137         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23138         config/rom68k.exp:  New tcl glue for the appropriate monitors.
23139         These all just end up calling monitor.exp.
23140         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
23141         refused' by retrying.  Cleanup some timeout issues.
23142         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
23143         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
23144         callers don't have to set/restore global timeout variable.
23145
23146         * The following set of changes centralizes management of the global
23147         timeout variable.  This way, it can be set in one target dependent
23148         place instead of dozens of places scattered throughout the test suite.
23149         If you need to lengthen a timeout, then you should either set timeout
23150         in one of the config/{target}.exp files, or multiply it by a factor.
23151         Setting it to an absolute value is always going to lose for some
23152         targets.
23153         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
23154         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
23155         * gdb.base/funcargs.exp:  Don't set timeout.
23156         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
23157         * gdb.base/printcmds.exp (test_print_string_constants
23158         test_print_array_constants):  Don't set timeout.
23159         * gdb.base/ptype.exp:  Don't set timeout.
23160         * gdb.base/recurse.exp:  Don't set timeout.
23161         * gdb.base/return.exp:  Don't set timeout.
23162         * gdb.base/watchpoint.exp:  Don't set timeout.
23163         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
23164         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
23165
23166 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
23167
23168         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23169
23170 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23171
23172         * lib/gdb.exp: Disable chill tests for irix5.
23173
23174 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23175
23176         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
23177         each test pass or fail.
23178
23179 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23180
23181         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23182         xlc not gcc.
23183
23184 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
23185
23186         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
23187
23188 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
23189
23190         * config/est.exp:  Fix copyright and comments.  Remove dead code.
23191         Use targetname, serialport and baud variables instead of fixed
23192         constants.
23193         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
23194         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
23195
23196 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23197
23198         * gdb.base/watchpoint.exp: Don't run
23199         test_watchpoint_triggered_in_syscall for sunos.
23200
23201 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23202
23203         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
23204         they don't seem to exist.  Do include stdio.h.
23205
23206 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23207
23208         * gdb.base/a1-selftest.exp: Add alpha xfail.
23209
23210 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23211
23212         * gdb.base/watchpoint.c (main): Prompt before calling read().
23213         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23214         Revise accordingly.  Remove cruft about sending "123" several
23215         times, until it gets noticed.  Clean up the "print buf[0]" stuff
23216         so that it passes or fails, and waits for prompts in the usual way.
23217
23218 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23219
23220         * gdb.base/recurse.exp: Fix comment.
23221
23222         * TODO: Remove item about printing variables in nodebug.exp.  Add
23223         item about enabling tests which are only run on some targets.
23224
23225         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
23226         fail, make test names unique, use new gdb_test convention
23227         regarding pattern, use gdb_test more, etc.).
23228
23229         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23230         fail, make test names unique, etc.).
23231
23232 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23233
23234         * gdb.base/nodebug.c:  Change return type of top and middle to
23235         short.
23236         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
23237         are fixed by the recent mdebugread.c changes. Allow `short ()'
23238         as type for top and middle.
23239
23240 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23241
23242         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
23243         nearly as I can tell, the whole thing was an accident in Stu's
23244         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
23245         to replace a send/expect pair with gdb_test, but ended up only
23246         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
23247         of 30 Mar 1995 took care of it, but left this vestigial comment
23248         which I am now nuking.
23249
23250 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23251
23252         * gdb.base/break.exp: Look for different line number for
23253         breakpoint at main depending on usestubs.
23254
23255 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23256
23257         * gdb.base/list.exp:  Adjust some alternate expect patterns to
23258         match recent list0.c change. Add alternate expect pattern for
23259         output from `list default lines around main' for optimizing
23260         compilers.
23261
23262 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23263
23264         * lib/gdb.exp: If nosignals is not set, set it to 0.
23265
23266 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
23267
23268         * config/slite-gdb.exp: Responds to load symbol table prompt.
23269         * gdb.base/break.exp: Adjust line number, fix rerun.
23270         * gdb.base/langs0.c: Add #ifdef usestubs.
23271
23272 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
23273
23274         * gdb.base/list.exp: Adjust line contents after adding new lines in
23275         list0.c. Also fix a syntax error.
23276
23277         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
23278         * gdb.base/break.exp: ditto.
23279         * gdb.base/list.exp: ditto.
23280         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
23281         * gdb.base/run.c: ditto.
23282         * gdb.base/list0.c: ditto.
23283         * gdb.base/funcargs.c: ditto.
23284
23285 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
23286
23287         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
23288         $targetname, $serialport and $baud instead of hardwired variables.
23289         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
23290         target doesn't support signals.
23291
23292 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
23293
23294         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
23295
23296 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23297
23298         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
23299         Don't rely on the value of an auto variable before it has been
23300         initialized.  Use gdb_test more.
23301
23302 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23303
23304         * lib/gdb.exp (default_gdb_version): A version number must start
23305         with a digit, but other than that contains all characters up to
23306         the first whitespace character.
23307
23308 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23309
23310         * gdb.base/commands.exp (breakpoint_command_test): New tests.
23311
23312 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23313
23314         * gdb.c++/*.exp: Warn if executable does not exist.  The original
23315         reason for skipping the warning was that configure.in sometimes
23316         intentionally skipped building the executables but the tcl code
23317         had no way of knowing.  That (a) was always bogus with respect to
23318         error handling, (b) is no longer true (right now there is no way
23319         to skip C++ tests).
23320
23321         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
23322
23323 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23324
23325         * gdb.base/list.exp:  Add expect patterns for output from
23326         SunPRO compiled executables.
23327         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
23328         types.
23329
23330 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23331
23332         * gdb.base/break.exp (test_next_with_recursion): Accept any line
23333         number (we are already testing that the correct source line text
23334         gets printed).
23335
23336         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
23337         that is what is intended, but something needed to be done to get
23338         sunos4 native working again.
23339
23340         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
23341
23342         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
23343         apparently went with a (very) old xfail.
23344
23345 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
23346
23347         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
23348         runto_main is a proc in gdb.exp that will do 'step' for target use
23349         stubs.
23350         * gdb.base/exprs.exp: ditto.
23351         * gdb.base/interrupt.exp: ditto.
23352         * gdb.base/opaque.exp: ditto.
23353         * gdb.base/printcmds.exp: ditto.
23354         * gdb.base/ptype.exp: ditto.
23355         * gdb.base/scope.exp: ditto.
23356         * gdb.base/setvar.exp: ditto.
23357         * gdb.base/signals.exp: ditto.
23358         * gdb.base/twice.exp: ditto.
23359         * gdb.c++/classes.exp: ditto.
23360         * gdb.c++/inherit.exp: ditto.
23361         * gdb.c++/templates.exp: ditto.
23362         * gdb.base/break.exp: no run and hit main for stubs. Change line
23363         numbers for breakpoints and info breakpoint.
23364         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
23365         breakpoint().
23366         * gdb.base/callfuncs.c: ditto.
23367         * gdb.base/exprs: ditto.
23368         * gdb.base/interrupt.c: ditto.
23369         * gdb.base/opaque0.c: ditto.
23370         * gdb.base/printcmds.c: ditto.
23371         * gdb.base/ptype.c: ditto.
23372         * gdb.base/scope0.c: ditto.
23373         * gdb.base/setvar.c: ditto.
23374         * gdb.base/signals.c: ditto.
23375         * gdb.base/twice.c: ditto.
23376         * gdb.c++/misc.cc: ditto.
23377         * gdb.c++/templates.cc: ditto.
23378
23379 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23380
23381         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
23382
23383         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
23384         somewhere between `read' and `main.c'.  I'm pretty sure the
23385         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
23386         and it isn't particularly useful.
23387
23388         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
23389
23390 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23391
23392         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
23393
23394 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
23395
23396         * config/mt-slite: add LIBS and -nostdlib.
23397         * config/slite-gdb.exp: add this new file to support sparclite target.
23398
23399 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
23400
23401         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
23402
23403         * gdb.base/a2-run.exp: Change argument to istarget from
23404         "*-*-vxworks" to "*-*-vxworks*".
23405         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
23406
23407 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
23408
23409         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
23410         will not runto main but do a 'step' to step out of breakpoint().
23411         * config/mt-slite: add -Dusestubs.
23412
23413 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23414
23415         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
23416         instead of just @.
23417
23418         * gdb.base/signals.exp: Add test for "handle all print".
23419         * TODO: Remove "handle all print".  Also remove item about
23420         checking copyright date (I don't like the idea of a spurious FAIL
23421         based on when we run the tests).
23422
23423         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
23424         for SunOS4 (reason for failure not investigated).  Remove
23425         redundant test for $binfile.
23426
23427         * gdb.base/nodebug.c (array_index): Call malloc.
23428
23429         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
23430
23431 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
23432
23433         * gdb.base/recurse.exp: Update gdb_test invocation to use new
23434         conventions and slightly simplify the matching regexp.
23435
23436 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23437
23438         * gdb.base/break.exp: Update gdb_test invocation to use new
23439         convention.
23440
23441         * lib/gdb.exp: If noargs is not set, set it to 0.
23442
23443         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
23444         tests unique.
23445
23446         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
23447
23448 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23449
23450         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
23451         one argument of type "<non-float parameter>".
23452
23453 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
23454
23455         * config/rom68k.exp:  New file to support Motorola IDP board.
23456         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
23457         * gdb.base/break.c:  Change things around so that this program
23458         doesn't depend upon args.  This is necessary to make remote
23459         targets work (in general, they can't take args).
23460         * gdb.base/break.exp:  Don't try to send args to program.  Don't
23461         expect output.  Also, replace lots of code with gdb_test.
23462
23463 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23464
23465         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23466         printing of '\'' (which is what the comment says we are testing,
23467         even though we were not), not '''.
23468         (test_integer_literals_rejected): Test that printing ''' is an error.
23469
23470         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23471         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23472         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23473         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23474         Use gdb_test not test_print_accept.
23475         * lib/gdb.exp: Remove test_print_accept.
23476
23477         * gdb.base/signals.exp (signal_tests_1): Make pass message
23478         consistent with fail message.
23479
23480         * gdb.base/whatis.exp: Remove xfails for printing char vs.
23481         unsigned char; the bug (PR 1821) is fixed.
23482
23483         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23484
23485         * gdb.base/scope.exp (test_at_localscopes): Call pass for
23486         successful tests--makes xfailing them work right.
23487
23488 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23489
23490         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23491         only \r\n, not .*.  The test can pass .* as the last thing in
23492         $pattern if that is what it wants.  In addition to providing this
23493         flexibility, this change should speed up pattern matching in cases
23494         where the pattern already ended with .* (there were a number of
23495         them).  This change also helps catch bad patterns--in the old
23496         scheme the typo "char \*" instead of "char \\*" would pass.  Now
23497         it is caught.
23498         * Many .exp files: Update callers.
23499
23500         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
23501         clearer and does not spuriously match multiple ('s.  Likewise for
23502         ) and *.
23503
23504         * gdb.base/nodebug.exp: Test ability to call a function and pass
23505         it a string (even with no debugging info).
23506
23507         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
23508         "p '\'", which is the same as "p ''" once tcl gets done with
23509         quoting, to "p '\\'", which I suspect is what is intended (one
23510         backslash gets sent to GDB).
23511
23512         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
23513
23514 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23515
23516         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
23517         1817) was fixed literally years ago.
23518
23519 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23520
23521         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
23522         test, it causes stepping out of call_after_alloca_subr with
23523         optimizing compilers.
23524         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
23525         fails.
23526
23527         * gdb.c++/templates.exp:  Source templ-info.exp only if
23528         the templates executable exists.
23529
23530         * gdb.c++/misc.cc (class Contains_static_instance,
23531         class Contains_nested_static_instance),
23532         gdb.c++/classes.exp (test_static_members):  Test printing of
23533         a class that contains a static instance of the class.
23534
23535 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23536
23537         * gdb.base/langs2.c (cppsub_): Don't prototype.
23538         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
23539         only, I believe).
23540
23541 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23542
23543         * lib/gdb.exp (skip_chill_tests): New procedure.
23544
23545         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
23546
23547 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
23548
23549         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
23550         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
23551
23552 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23553
23554         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
23555
23556         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
23557         disassemble 8, not 16, instructions for part 4.
23558
23559         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
23560         support the latter anymore.
23561
23562         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
23563         -DNO_PROTOTYPES.
23564         * gdb.base/callfuncs.c: Control use of prototypes based on
23565         NO_PROTOTYPES, not __STDC__.
23566         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
23567         t_float_values2 tests if prototypes in use.
23568
23569         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
23570         t_double_values):  When checking differences against DELTA, check
23571         that difference is within the range (-DELTA,DELTA), not just
23572         (-infinity,DELTA).
23573
23574 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
23575
23576         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
23577         'file' command firts, then 'target', then 'load', this is due to gdb
23578         target set up.
23579         * config/mips-gdb.exp: Fix a couple regular exp bugs.
23580
23581 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
23582
23583         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
23584         FP load/store variants.
23585         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
23586
23587 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
23588
23589         * gdb.base/term.exp: Do not give a warning if not native, it is
23590         not an abnormal condition.
23591
23592 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
23593
23594         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
23595         t_char_array".
23596
23597 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
23598
23599         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
23600         are getting the version number.
23601
23602         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
23603         if not native, it is not an abnormal condition.
23604
23605 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23606
23607         * lib/gdb.exp: Just use "file exists", rather than undocumented
23608         dejagnu procedure "findfile".
23609
23610 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
23611
23612         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
23613           (LDFLAGS): Set to -Xlinker -Ur.
23614
23615         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
23616           Removed, these values are set by lib/gdb.exp.
23617
23618         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
23619
23620 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
23621
23622         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
23623           of replicating gdb startup code.
23624
23625         * config/mt-vxworks (LDFLAGS): Set to -r.
23626           (CFLAGS_FOR_TARGET): Removed.
23627
23628         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
23629           (gdb) and gdb for vxworks uses (vxgdb).
23630
23631         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
23632           executable is not in the tree and host != target, use sed and
23633           program_transform_name to determine the gdb name used by the
23634           target.
23635
23636         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
23637           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
23638
23639 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23640
23641         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
23642         floats, chars, and shorts where there are ANSI-style function
23643         definitions.
23644
23645         * gdb.base/langs.exp, gdb.base/langs*: New test.
23646         * gdb.base/Makefile.in: Build it.
23647         * TODO: Remove item about checking that C names don't get C++
23648         demangling applied; this test tests it.
23649
23650 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23651
23652         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
23653         went with the const70 xfail.  The xfail went away a year ago.
23654
23655         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
23656
23657         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
23658         for hp300.
23659
23660         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
23661
23662         * gdb.base/a1-selftest.exp: Don't run on hp300.
23663
23664 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23665
23666         * Makefile.in (site.exp): Set host_alias and target_alias as well
23667         as host_triplet and target_triplet.
23668
23669 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23670
23671         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
23672
23673         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
23674         places as other ecoff systems).
23675
23676         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
23677         ultrix.
23678
23679 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23680
23681         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
23682         remove them.
23683         * gdb.base/nodebug.exp: Accept "function" in addition to "text
23684         variable and "variable" in addition to "data variable".
23685         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
23686
23687         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
23688         2.
23689         * gdb.base/list1.c (long_line): Add additional statement at start
23690         of function.
23691         * gdb.base/list.exp (test_forward_search): Update line number to
23692         reflect new statement.
23693
23694 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23695
23696         * gdb.base/signals.exp:  Reinitialize searched source directories
23697         after gdb_start call.
23698
23699 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
23700
23701         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
23702         * gdb.stabs/Makefile.in: Likewise.
23703
23704         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
23705         change.  Instead split the tests into smaller pieces.
23706         * gdb.disasm/hppa.s: Corresponding changes.
23707
23708 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23709
23710         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23711         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
23712
23713         * gdb.base/funcargs.exp: Modify many tests so that every test
23714         either passes or fails.  Make some test names unique.
23715
23716 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23717
23718         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23719         Call stty to set interrupt character.
23720
23721         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
23722         for HP assembler versus GNU assembler based on actual behavior of
23723         $(CC), rather than assuming that $(AS) is always the GNU assembler.
23724
23725         * TODO: Suggest a few more stepping tests.
23726
23727 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
23728
23729         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
23730         restart GDB for h8300 after a continue.
23731         (return): Add pattern to match a29k-udi behavior.
23732         * gdb.base/nodebug.exp: Remove obsolete comment.
23733         * gdb.base/regs.exp: New file, testing of register displays.
23734         * gdb.base/return.exp: Fix typo in reference to $objdir.
23735         * gdb.base/whatis.exp: Always start with a fresh GDB.
23736
23737 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23738
23739         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
23740         higher, these tests generate a lot of output.
23741
23742 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23743
23744         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
23745         code following the catch silently ignored some errors; without the
23746         catch they should be thrown like any other tcl error.  Also, the
23747         catch used "" instead of {} which meant all the callers who wanted
23748         to include one of the characters "[]$ had to quote it an extra time.
23749         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
23750         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
23751         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
23752         Remove extra quoting.
23753
23754 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
23755
23756         * gdb.base/commands.exp: Make test names unique; every test either
23757         passes or fails.  Update some comments.
23758
23759         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
23760
23761 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23762
23763         The following fixes a FAIL caused by the fact that the alpha stabs
23764         configuration didn't use the ".if alpha" code in weird.def.
23765         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
23766         bit pointer, so the 32 bit version works even on the alpha.
23767         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
23768         Remove the stuff which allowed us to have separate versions for
23769         alpha and everything else.
23770
23771         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
23772         regexp which "info func operator\[\](" is supposed to match.  Fix
23773         string to send to GDB.  Note that GDB still doesn't work right.  Add a
23774         new test for "info func .perator\[\](" which GDB does handle correctly.
23775
23776         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
23777
23778 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23779
23780         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
23781         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
23782         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
23783         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
23784         it makes the tests harder to understand and confuses test-o-matic.
23785         The preferred style is that each test provides a PASS or a FAIL,
23786         and has a unique message (e.g. "continue #54" not just "continue")
23787         which is the same for the pass and the fail.
23788         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23789         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
23790         to lib/gdb.exp.
23791         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
23792         prt_accept which was basically the same thing.  Likewise for
23793         test_print_reject and prt_reject.
23794         * lib/gdb.exp (test_print_reject): Add some more error message
23795         patterns to match from the former printcmds.exp (prt_reject).
23796         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
23797         One defect of the passcount stuff is that some of it failed to
23798         report XPASS where appropriate.
23799         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
23800         stuff before and after arg in expected pattern.
23801         (test_paddr_operator_functions): Re-do test without print_addr_of;
23802         this is the only test which seems to want extra stuff there.
23803
23804 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23805
23806         * gdb.base/nodebug.exp: Update new tests to reflect improved
23807         wording of gdb output.
23808
23809         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
23810         and "ptype" work on variables in files compiled without -g.
23811         Replaces commented out "maint print msymbol" tests.
23812
23813 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23814
23815         * gdb.base/setvar.c (dummy): Call malloc.
23816
23817         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
23818         losing with the irix4 sed.
23819
23820         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
23821         ALRM" on irix4.
23822
23823 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23824
23825         * TODO: Remove items about corefile.exp testing new exec-file and
23826         backtrace; both are now done.  Add items about printing enums.
23827
23828 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23829
23830         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
23831         "get signal $thissig" test fails.
23832
23833         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
23834
23835 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23836
23837         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
23838         compiler warning with dec alpha compiler.
23839
23840         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
23841         extra \n from gdb_test call (this explains why the prompt test
23842         that I removed yesterday was there).
23843         (user_defined_command_test): Remove extra \n and prompt test.
23844
23845         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
23846         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
23847         doesn't exist.
23848         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
23849         Also remove alpha workaround, which turns out to be because
23850         SIGABRT == SIGLOST.
23851
23852         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
23853
23854         * gdb.base/help.exp: Don't test "help show".
23855
23856 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23857
23858         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
23859         "set print address" is on.
23860         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
23861         pass prompt to gdb_test; gdb_test already looks for the prompt.
23862
23863         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
23864
23865         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
23866         was a vestige of the manual TESTSTRATEGY, and the purpose of it
23867         was to make sure that gdb can read a core file.  But (a) the "read
23868         the corefile" part didn't make it to a1-selftest.exp, we just
23869         delete the corefile after creating it, and (b) we test reading
23870         corefiles in corefile.exp anyway.  Also, this test left around a
23871         xgdb process on Solaris.
23872
23873         * gdb.base/corefile.exp: Also test backtrace.
23874
23875 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
23876
23877         * gdb.base/commands.exp: Test a simple user defined command with
23878         arguments and if/while statements; verify the full user command is
23879         printed by "show user".
23880
23881         * gdb.base/commands.exp: Test if/while commands as part of a
23882         breakpoint command list; verify they appear in breakpoint
23883         information.
23884
23885 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23886
23887         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
23888         than by dividing by zero.
23889
23890 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
23891
23892         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
23893         performing an inferior call with watchpoints enabled.
23894         * gdb.base/watchpoint.c (main): Delete second unnecessary read
23895         call.
23896
23897 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23898
23899         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
23900         of "file" command.
23901
23902         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
23903         Add additional pattern for when "int operator int(void);" appears
23904         in a different order.
23905
23906 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
23907
23908         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
23909
23910         * gdb.base/help.exp: Replace most of docstrings for "info signals"
23911         and "signal" with ".*".
23912
23913 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23914
23915         * TODO: Add note about "handle all nostop".
23916
23917         * gdb.base/{sigall.c, sigall.exp}: New test.
23918         * gdb.base/Makefile.in: Add it.
23919
23920 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
23921
23922         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
23923         when invoking GDB, suppresses any windowing interface.
23924
23925 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
23926
23927         * config/sim-gdb: New file, simulator testing support.
23928
23929 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
23930
23931         * gdb.base/interrupt.exp: Test calling func1 twice.
23932
23933 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
23934
23935         * gdb.base/list.exp (test_forward_search): Set timeout higher
23936         when we'll be getting lots of output from gdb.
23937
23938         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
23939         "init_malloc" to after the expect statement.  Run it if that
23940         regexp is taken, but also for two others which happen if source
23941         cannot be found.
23942
23943 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
23944
23945         * gdb.base/printcmds.exp: New test, for printing register before
23946         program is running.
23947
23948 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23949
23950         * gdb.base/list.exp:  Correct some alternate expect patterns
23951         to reflect changes in list1.c.
23952
23953 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
23954
23955         * TODO: Add item regarding large frames.
23956
23957         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
23958
23959         * TODO: Remove item about enabling return.exp; it
23960         is enabled.  Suggest a few more "return" tests.
23961
23962 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23963
23964         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
23965         anonymous unions.
23966
23967 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
23968
23969         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
23970         and pr-5646.o, so "make" is the same as "make all", not "make
23971         pr-4975.o".
23972
23973 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
23974
23975         * gdb.base/list.exp: Adjust expectations to reflect changes in
23976         list1.c.
23977         (test_forward_search): New test proc.
23978         * gdb.base/list1.c (long_line): New function, has long source line.
23979
23980 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
23981
23982         * gdb.base/a1-selftest.exp: Change initial stepping to know about
23983         additional line of code that was added.
23984
23985 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
23986
23987         * gdb.disasm/hppa.s: Break the large branching tests into smaller
23988         tests so as not to overflow expect's input buffers.
23989         * gdb.disasm/hppa.exp: Corresponding changes.
23990
23991 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23992
23993         Beginnings of template debugging tests.
23994         * gdb.c++/templ-info.cc:  New file to test for template
23995         debugging capability of the compiler.
23996         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
23997         templ-info.cc.
23998         * gdb.c++/templates.cc:  Add explicit template instantiations
23999         to enable compiling with -fno-implicit-templates. Add destructor
24000         and 'value' method to T5 class for template tests.
24001         * gdb.c++/templates.exp:  Add testcases for printing of template
24002         types, setting breakpoints on template methods and calling a
24003         template method.
24004
24005 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
24006
24007         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24008         branch target since some assemblers (gas-2.5)  may emit a
24009         relocation for the branch instead of resolving it in the
24010         assembler.
24011
24012 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24013
24014         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
24015         through signal handler.
24016
24017 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24018
24019         * configure.in (*-*-netware): Use config/mt-netware.
24020
24021         * config/mt-netware: New file.
24022         * config/mt-i386-netware: Removed, separate configs for different
24023           netware architectures are no longer needed now that we have
24024           --with-headers.
24025
24026 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24027
24028         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
24029         by the recent changes to use ANSI C arithmetic conversions.
24030
24031 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24032
24033         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24034         bug involving using inferior_pid to figure out whether to select a
24035         frame.
24036
24037 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
24038
24039         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24040         match the current disassembler output.
24041
24042 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
24043
24044         * gdb.fortran/exprs.exp: Expect VOID instead of void.
24045         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24046         types, expect "int" as type of integer values (for now).
24047
24048 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
24049
24050         * gdb.base/commands.exp: New tests for if/while commands.
24051
24052 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24053
24054         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
24055         by .*, since hex values have different syntax in Chill mode.
24056
24057 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24058
24059         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
24060         linefeed from expect pattern for repeated types with indices > 9.
24061
24062 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
24063
24064         First part of Fortran test suite.
24065         * gdb.fortran: New directory.
24066         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24067
24068 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24069
24070         * gdb.base/default.exp:  Update expect pattern for load command
24071         without arguments.
24072
24073 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
24074
24075         * configure.in: Change i386 to i[345]86.
24076         * gdb.base/configure.in: Likewise.
24077         * gdb.c++/configure.in: Likewise.
24078         * gdb.chill/configure.in: Likewise.
24079
24080 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
24081
24082         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24083         patterns, since that is not a valid context for comments.
24084
24085 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
24086
24087         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24088         repeated types and repeated types with indices > 9.
24089
24090 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
24091
24092         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24093         2417; old bug has been fixed.
24094
24095 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
24096
24097         * gdb.base/interrupt.exp: When trying to wake up the inferior,
24098         send the newline ourselves instead of assuming gdb_test will do
24099         so when passed an empty input string.
24100
24101         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24102         stabs testcode.
24103
24104 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24105
24106         * lib/gdb.exp (gdb_test): Don't send anything if the first
24107           argument is an empty string.  This makes cases where we want to
24108           match output that is already in expect's buffers (for example,
24109           matching a breakpoint after gdb_run_cmd has been called) work
24110           reliably.
24111
24112 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24113
24114         * config/netware.exp: New file.
24115
24116 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24117
24118         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24119           the -B and -L prefixes so we can find the debugging stub.
24120
24121         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24122           there and we are using the gcc from the tree.
24123
24124         * gdb.base/types.c: Removed.
24125
24126         * gdb.base/configure.in: Look for makefile fragments in ../config.
24127           Recognize i386-*-netware.
24128         * gdb.c++/configure.in: Likewise.
24129
24130 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24131
24132         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
24133         the correct TCL syntax.
24134
24135 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24136
24137         * gdb.base/opaque.exp: use runto instead of messing around with
24138           breakpoints.  Simplify by using gdb_test.
24139
24140         * gdb.base/bitfields.exp: restart between tests on netware targets
24141           because breakpoints aren't relocated after target death.  Run
24142           processes to completion.
24143
24144         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24145
24146 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
24147
24148         * Makefile.in:  Remove extra tabs that confuse some versions
24149         of "make".  Use the newly built gdb to test with by default,
24150         rather than the first one in the tester's search path.
24151
24152 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
24153
24154         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24155
24156         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24157         condition help.
24158
24159 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24160
24161         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24162
24163         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24164           running.
24165         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24166         * gdb.base/funcargs.exp: Likewise.
24167
24168         * gdb.base/bitfields.exp: Simplify by using gdb_test.
24169         * gdb.base/funcargs.exp: Likewise.
24170
24171         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24172           message is "".
24173
24174 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24175
24176         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24177           return,signals,twice}.exp: Handle non-existant binaries
24178           consistantly.
24179
24180         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24181         * gdb.base/Makefile.in: Don't try to generate a core dump, we
24182           might testing a cross development system.
24183
24184 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24185
24186         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24187           runtest script is relative to ${srcdir}, not ${rootdir}.
24188
24189 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
24190
24191         * gdb.base/signals.exp: Allow for optionality of breakpoint
24192         address.
24193
24194 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24195
24196         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
24197
24198 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24199
24200         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
24201           for size_t definition.
24202         * gdb.c++/templates.cc: Likewise
24203
24204         * config/mt-i386-netware: New file.
24205
24206         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
24207           defined.
24208
24209         * gdb.base/Makefile.in: Added support for systems that name core
24210           files by appending "core" to the program name.
24211         * gdb.base/a1-selftest.exp: Likewise.
24212
24213 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24214
24215         * gdb.base/return.exp:  Add comment and message for `return double'
24216         test failure on Sparc Solaris.
24217
24218 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
24219
24220         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
24221
24222 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24223
24224         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
24225         from optimizing them away.
24226         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
24227         patterns to include default constructors and assignment operators,
24228         to match gcc versions beyond 2.5.8. Accept any cplus demangling
24229         character in the output of the virtual base pointer.
24230
24231 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24232
24233         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
24234         expression match in print_addr_of to avoid unintented matches.
24235         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
24236         versions up to 2.5.8.
24237
24238 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24239
24240         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
24241         included file to run under newer versions of expect.
24242         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
24243         consecutive >'s in templates to accomodate recent cplus-dem.c change.
24244         Remove xfail for the virtual table of BDDHookV.
24245
24246 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
24247
24248         * lib/gdb.exp (string_to_regexp): Set a default result.
24249         (default_gdb_start): Fix misleading message.
24250
24251 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
24252
24253         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
24254         Remove all CC, etc definitions.
24255         * config/mt-hpux: New file.
24256         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
24257         (CFLAGS, LDFLAGS): Define.
24258         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
24259
24260         * Makefile.in (site.exp): Don't insert host_os, etc.
24261         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
24262         (distclean): Check existence of subdir.
24263         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
24264         * gdb.base/Makefile.in: General cleanup and simplification.
24265         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24266         to build executables.   Use default rule to build .o files.
24267         (EXPECT, RUNTEST, CC): Fix relative pathname.
24268         (site.exp): Don't insert host_os, etc.
24269         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
24270         and/or SIGUSR1 defined.
24271         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
24272         * gdb.c++/Makefile.in: General cleanup and simplification.
24273         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24274         (CFLAGS): Remove.
24275         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
24276
24277 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
24278
24279         * gdb.base/recurse.exp: Misc changes to get tests running again
24280         after Kung's changes to the watchpoint code.
24281         * gdb.base/watchpoint.exp: Likewise.
24282
24283 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24284
24285         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
24286
24287 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
24288
24289         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
24290         * lib/gdb.exp (default_gdb_start): Define.
24291         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
24292         gdb.base/funcargs.exp, gdb.base/opaque.exp,
24293         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
24294         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
24295         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
24296         Don't call gdb_target_udi in between tests.
24297
24298 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24299
24300         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
24301         (which was basically just a local version of the same thing).  In
24302         addition to avoiding duplication, gdb_test_exact is faster.
24303         * lib/gdb.exp (gdb_test_exact): Fix typo.
24304
24305         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
24306         don't give an error.
24307
24308         * gdb.base/term.exp: Call delete_breakpoints before starting.
24309
24310         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
24311         (t10): Add comment.
24312
24313 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
24314
24315         Reorganization of the GDB Test Suite.
24316
24317         * gdb.base: New directory, contains all the basic tests.
24318         * gdb.c++: New directory, tests specific to C++.
24319         * gdb.chill: New directory, tests specific to Chill.
24320         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
24321         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
24322         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
24323         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
24324         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
24325         t30-31 to chill).
24326         * */gdbme.*: Rename to match appropriate expect scripts.
24327         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
24328         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
24329         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
24330         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
24331         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
24332         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
24333         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
24334         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
24335         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
24336         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
24337         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
24338         gdb.c++/virtfunc.cc: New names of C++ files.
24339         * gdb.chill/chillvars.ch: New name of Chill file.
24340         * gdb.base/configure.in, gdb.c++/configure.in,
24341         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
24342         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24343         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
24344         * configure.in (configdirs): Update to reflect directory changes.
24345         (target_abbrev): No longer define for any configuration.
24346         * Makefile.in: Cosmetic improvements to header comments.
24347
24348 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24349
24350         Various changes to gdb.t31:
24351
24352         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
24353         * gdbme.ch:  Make all key-words and predefineds be upper-case.
24354         * chillvars.exp:  Expect key-words and predefinds in upper-case.
24355
24356         * chillvars.exp:  Use gdb_test_exact many places.
24357         Change expected output for arrays (which now includes index labels).
24358
24359         * pr-5020.exp, gdme.ch (module PR_5020):
24360         New test, for PR-5020.
24361
24362 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24363
24364         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
24365         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
24366
24367 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24368
24369         * Makefile.in:  Fix bit-rot in definitions of CHILL,
24370         CHILL_FOR_TARGET and Chill_LIB.
24371         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
24372         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
24373         CHILL, and CHILL_LIB.
24374
24375 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
24376
24377         * Revert the previous changes.  Please see Rob's directory
24378           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
24379
24380 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
24381
24382         * Makefile.in, configure.in, config/mips-gdb.exp,
24383           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
24384           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
24385           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
24386           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
24387           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
24388           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
24389           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
24390           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
24391           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
24392           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
24393           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
24394           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
24395           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
24396           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
24397           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
24398           changes from 94Q1.
24399
24400 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
24401
24402         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
24403           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
24404           Rob's new testing fragments.
24405
24406 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
24407
24408         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
24409           lib/gdb.exp: Replace error proc calls with perror.
24410
24411 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
24412
24413         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
24414         version also, match on casted version strings, and match on
24415         gdb startup case where the line numbers might be messed up.
24416
24417 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
24418
24419         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
24420           (CFLAGS): Delete it from here.
24421
24422 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
24423
24424         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
24425
24426 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
24427
24428         * Makefile.in (RUNTEST): Default to just "runtest".
24429
24430 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24431
24432         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
24433         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
24434         the code has been restructured.
24435
24436 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24437
24438         * gdb.t00/default.exp (set write): Allow any number of \r and/or
24439         \n, not just one of each.
24440
24441         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
24442         /bin/cc gives a warning if you do.
24443
24444 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
24445
24446         * gdb.t24/demangle.exp: change expect pattern of
24447         __t10ListS_link1ZUiRCUiPT0
24448
24449 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24450
24451         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
24452         on local variables in recursive functions.
24453
24454         * gdb.t07/Makefile.in: Build the new test.
24455
24456 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24457
24458         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
24459         directly.  Instead compare the return values from actual calls.
24460
24461 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
24462
24463         * Makefile.in (check): Set TCL_LIBRARY for runtest.
24464
24465 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24466
24467         * From Peter Schauer with minor modifications.
24468         * gdb.t15/return.exp (return_tests): Handle targets where "return"
24469         stops in mid-line in the caller.  Add xfail for returning a float
24470         value on X86 targets.
24471
24472 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24473
24474         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24475         to avoid expect lossage.
24476         (fmem_LRbug_tests): Likewise.
24477         * gdb.disasm/hppa.s: Corresponding changes.
24478
24479         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24480         conditions to work with latest dejagnu/expect.
24481
24482         * gdb.t15/funcargs.exp (finish from indirect call): No longer
24483         expected to fail on the PA.
24484         (backtrace in call with trampolines): Explicitly require main
24485         to be frame #1 (no trampolines should show up in backtrace).
24486
24487         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24488         "continue -expect".
24489         * gdb.t06/break.exp: Likewise.
24490         * gdb.t07/watchpoint.exp: Likewise.
24491         * gdb.t13/bitfields.exp: Likewise.
24492         * gdb.t15/{funcargs,return}.exp: Likewise.
24493         * gdb.stabs/weird.exp: Likewise.
24494         * config/{mips,udi}-gdb.exp: Likewise.
24495
24496         * hppa.sed: Enclose comments within a sed command to avoid
24497         losing with the old OSF1 sed.
24498
24499 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24500
24501         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
24502         sequent dynix.
24503         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
24504         * gdb.t15/funcargs.exp:  Conditionally step again to really
24505         finish from marker_call_with_trampolines. Handle the case where
24506         the first step from within call_with_trampolines already steps
24507         us back to main.
24508         * gdb.t15/gdbme.c:  Add comment to closing brace of
24509         call_with_trampolines for funcargs.exp.
24510
24511 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24512
24513         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24514         Fix typo(s).
24515
24516 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24517
24518         * gdb.t07/gdbme.c: More code for watchpoint testing.
24519
24520         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
24521         "Hardware watchpoint" throughout file.
24522         (test_watchpoint_triggered_in_syscall): New test.
24523         (test_complex_watchpoint): New test.
24524
24525 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24526
24527         * gdbme.c (call_with_trampolines): New function to try and step
24528         into.  Tests trampoline problems on the PA.
24529
24530         * funcargs.exp (localvars_in_indirect_call): No longer expect
24531         stepping into indirect call to fail on PAs.
24532         (test_stepping_over_trampolines): New test.
24533
24534 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24535
24536         * TODO: Add suggestions for static member function tests, and
24537         completion tests.
24538
24539 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24540
24541         * TODO: Add suggestions for "p/a" tests.
24542
24543         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
24544         (default_gdb_exit): Replace all the hair with sending "quit" to
24545         the process with a simple close.
24546
24547 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24548
24549         * TODO: Add suggestions for shared library tests.
24550
24551 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24552
24553         * TODO: Add suggestions for x/s tests.
24554
24555 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24556
24557         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
24558         "enable once", and "enable breakpoints once" with ".*".
24559
24560 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24561
24562         * TODO: Add suggestions about structure passing tests.
24563
24564 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24565
24566         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
24567         the primary1 test, use work around if __GNUC__ < 2.
24568         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
24569         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
24570         Test for bad output rather than waiting for timeout.  Issue
24571         second continue only if first continue failed.
24572
24573 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24574
24575         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
24576         operator[] test with gdb_test because the old code didn't seem to
24577         be getting the quoting right with the new dejagnu.
24578
24579 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
24580
24581         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
24582         one from the path.
24583         * Makefile.in: Use a fresh expect if there is one, use runtest
24584         from the src tree if there is one.
24585
24586 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24587
24588         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
24589         next over recursive call.  Revise the tests from that point on
24590         (which had been skipped) to match GDB's actual (correct) output.
24591
24592         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
24593         with next over a breakpoint whose condition is false.
24594
24595         * gdb.t00/help.exp: Comment out "help set print" tests just like
24596         (and for same reason as) "help set" test.
24597
24598 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24599
24600         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
24601         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
24602
24603 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24604
24605         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
24606         necessary gdb_target_udi.
24607
24608         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
24609
24610         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
24611         1838 and 2417; they are fixed.
24612
24613         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
24614         gdb.t03/ptype.exp (ptype structure, ptype union):
24615         Remove xfails; the test is looser than when the xfails were added.
24616
24617         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
24618         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
24619
24620         * gdb.t01/run.exp: Only run shell test if isnative.
24621
24622         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
24623         since "run" automatically loads if necessary.  Call gdb_target_udi
24624         after the "file" since "file" kills any execution target.
24625
24626         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
24627         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
24628         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
24629         argument for UDI.
24630
24631 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24632
24633         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
24634
24635         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
24636
24637 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24638
24639         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
24640         properly quoting regexps.  This makes the second argument to
24641         demangle a fixed string, which matches the callers, instead of a
24642         shell-style pattern which is what the previous implementation
24643         used.  Update some of the callers.
24644
24645 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24646
24647         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
24648         (comib_nullified_tests): Fix typo.
24649         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
24650         strings.  No longer expected to fail.
24651
24652         * gdb.disasm/hppa.s (addib_tests): Fix typo.
24653         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
24654         strings.  No longer expected to fail.
24655
24656         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
24657         string.  No longer expected to fail.
24658
24659 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24660
24661         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
24662         No longer expected to fail.
24663
24664         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
24665         string.  No longer expected to fail.
24666
24667 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24668
24669         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
24670         only in the names (I probably got most of them).  I was even
24671         generous with some which differed in underscores in names, and
24672         probably missed a few, and I *still* was able to remove almost a
24673         third of the file with almost no impact on testsuite coverage.
24674
24675 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24676
24677         * gdb.t00/default.exp: Match udi_attach error message as well as
24678         the one from child_attach.
24679
24680         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
24681
24682         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
24683
24684         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
24685         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
24686
24687         * Move test with enums and partial symbols back to
24688         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
24689         Reverts the change of 26 May 93.  Per today's change to
24690         stabs.texinfo, the behavior that weird.exp was expecting was
24691         unreasonable; what is important is that the compiler+gdb get
24692         things right, which happens with a recent gcc.  Also fix the test
24693         to deal with native compilers which put out the stab gdb can't
24694         deal with.
24695
24696 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24697
24698         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
24699         in the names.  The main thing these accomplish is to slow things down.
24700         Many more such duplicates surely remain.
24701
24702         * gdb.t00/help.exp: Comment out "help support" test just like
24703         (and for same reason as) "help set" test.
24704
24705 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
24706
24707         * gdb.t06/break.exp:  Remove setup_xfails for
24708         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
24709         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
24710         about known bug in gcc to include up through 2.5.8.
24711         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
24712         well as "_vb$".
24713         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
24714         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
24715         with latest gcc and gdb.
24716         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
24717         well as "_vb$".
24718
24719 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24720
24721         * configure.in (hppa*-*-*): Also configure and build stabs-only
24722         tests.
24723
24724 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24725
24726         * gdb.t10/hppa.mt: A makefile fragment for the PA.
24727         * gdb.t10/configure.in (hppa*-*-*): Use it.
24728
24729 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24730
24731         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
24732
24733 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24734
24735         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
24736         versions prior to 1.13.5.
24737
24738 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24739
24740         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
24741         the prompt is at the start of a line.
24742
24743 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24744
24745         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
24746         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
24747         in the copr tests now.
24748         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
24749         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
24750         expected to fail.
24751
24752 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
24753
24754         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
24755         gdb.t31/chillvars.exp, lib/gdb.exp:
24756         Tweak to run under either version of expect.
24757         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
24758         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
24759         * gdb.t11/list.exp: Remove extraneous whitespace.
24760
24761 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24762
24763         * gdb.t16/printcmds.exp (test_print_strings): Accept
24764         "(unsigned char *) " before the string.
24765
24766         * TODO: Add notes about printing of fancy types and GDB expressions.
24767
24768 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
24769
24770         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
24771         * gdb.t06/configure.in: Don't try to compile signals test program
24772         if doing mips-idt-ecoff.
24773
24774 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
24775
24776         * Most .exp files: Tweak to run under either version of expect.
24777
24778 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24779
24780         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
24781         xfails; I'm not sure why they are failing, but not because of PR 1806.
24782
24783 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
24784
24785         * config/unix-gdb.exp: Remove gdb_unload cause it's already
24786         defined in lib/gdb.exp.
24787
24788 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24789
24790         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
24791         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
24792         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
24793         have to be typeless.
24794
24795 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24796
24797         * TODO: Add suggestion for copyright year test.
24798
24799 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
24800
24801         * configure.in (*-*-lynxos*): Add stabs tests.
24802
24803 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
24804
24805         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
24806         so insert a tab before any assembler directive in column zero.
24807
24808         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
24809         stores.
24810         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
24811         stores.
24812         (fpu_short_memory_tests): Likewise.
24813
24814 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24815
24816         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
24817         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
24818         .stabs directives in comments.
24819
24820 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24821
24822         * TODO: New file, describing tests we could write.
24823         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
24824
24825 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24826
24827         * gdb.t06/signals.exp: Add kludge to force re-sync.
24828
24829         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
24830         to xgdb instead of gdb, get out of gdb.
24831
24832 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
24833
24834         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
24835         for info.
24836
24837 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
24838
24839         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
24840         * gdb.stabs/configure.in (hppa*-*-*): Use it.
24841         * gdb.stabs/hppa.sed: New sed script for the PA.
24842
24843 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24844
24845         * gdb.stabs: Re-write weird.def and configuration to use sed
24846         instead of cpp.  sed is portable and POSIX; cpp is neither.
24847
24848 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24849
24850         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
24851
24852 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24853
24854         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
24855
24856 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24857
24858         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
24859         "_vb$".
24860         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
24861         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
24862
24863 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24864
24865         * lib/gdb.exp: Comment out code which depends on non-existent
24866         `transform' procedure.
24867
24868 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
24869
24870         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
24871         * lib/gdb.exp: Transform tool name.
24872         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
24873         1.1's new error handling system.
24874
24875 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24876
24877         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
24878
24879 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24880
24881         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
24882         They made pattern matching so slow that timeouts happened on
24883         heavily loaded systems.  Now any output from "show print" which
24884         gets us back to the GDB prompt is a PASS.
24885
24886 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
24887
24888         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
24889
24890 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24891
24892         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
24893
24894         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
24895         It is not from PR 3220.
24896
24897 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24898
24899         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
24900         just started failing because they depended on the order the
24901         subcommands are presented, or exact docstring text.  This kind of
24902         test is a pain and has minimal benefit.
24903
24904 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24905
24906         * gdb.t09/corefile.exp: At end of test, use "core" command with
24907         no arguments.
24908
24909 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
24910
24911         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
24912         17}/Makefile.in:  Make it possible to run the testsuite with Sun
24913         make and CC = cross gcc by adding explicit build rules for .o
24914         files.
24915
24916 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24917
24918         * gdb.t15/funcargs.exp: Don't put comments on same line as
24919         setup_xfail (@#$*%& tcl braindamage!).
24920
24921 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24922
24923         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
24924
24925 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
24926
24927         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
24928         * gdb.t20/inherit.exp: remove three dumplicate entries.
24929
24930 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24931
24932         * gdb.t06/break.exp: For "next over recursive call", fail on any
24933         incorrect output, not just on "factorial (value=2)".
24934
24935 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24936
24937         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
24938         working now. Add an xfail if accesing a bss variable causes
24939         a memory error if the target is not yet run.
24940
24941 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24942
24943         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
24944         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
24945         name of __st* demangling (2 strings).  Did Kung really get the
24946         more than 95 others right without testing them?
24947
24948 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
24949
24950         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
24951
24952 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
24953
24954         * configure.in (configdirs): Add gdb.disasm
24955         * gdb.disasm: New directory for GDB disassembler tests.
24956         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
24957
24958 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24959
24960         * gdb.t00/help.exp: Don't test "help set".
24961
24962         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
24963         from within expect statements.  None of these happen anymore and
24964         they cause regressions to be silently unnoticed.
24965
24966         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
24967         messages) about known failures with gcc cygnus-2.4.5-930417.
24968
24969         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
24970         comp-info.exp so it gets built if it doesn't exist.
24971
24972         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
24973         it is no longer used.
24974         * gdb.t13/comp-info.c: Removed.
24975
24976 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
24977
24978         * gdb.t06/signals.exp: Add xfail for sun3.
24979
24980 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
24981
24982         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
24983         relevant because ^C doesn't get sent but failure can be reproduced
24984         interactively).
24985
24986 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24987
24988         * gdb.stabs/alpha.mt:  New configuration file for alpha.
24989         * gdb.stabs/configure.in:  Use it.
24990         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
24991         sharing with alpha.mt, redefine long to word via preprocessor.
24992         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
24993         for alpha.
24994         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
24995         native cc.
24996         * gdb.t00/teststrategy.exp:  Change expect string so that we
24997         consume the `(xgdb)' from the command echo and from the gdb prompt.
24998         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
24999         gdb currently compares all values as long, so this failure probably
25000         applies to any configuration where LONGEST is bigger than a target int.
25001         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
25002         with gcc.
25003         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
25004         to handle opaque pointers, gcc is.
25005         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
25006         as first argument. Include <sys/types.h> and change all operator
25007         new definitions to use size_t.
25008         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
25009         now that we use size_t.
25010
25011 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25012
25013         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
25014         a long or float array cast all array members to the same type.
25015         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
25016         with 64 bit longs.
25017         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
25018         on alpha.
25019         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
25020
25021 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25022
25023         * gdb.t24 (demangle.exp): Constructors of templates have names like
25024         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
25025         section 14.6 of the ARM.
25026
25027         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25028         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25029         accomplish little and slow down the testsuite.
25030
25031         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25032         Accept spaces various places.
25033
25034 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25035
25036         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25037         with watchpoint enabled.
25038
25039         * Makefile.in: Remove definition of CC and remove the second
25040         definition of CXX (the "CXX = gcc" one remains).  These definitions
25041         were causing backquotes to be expanded within backquotes, which
25042         doesn't work.
25043
25044 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
25045
25046         * gdb.t17/callfuncs.exp: Add "return 0" to end.
25047
25048 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25049
25050         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
25051         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
25052         by mips cc and contains no stabs entries.
25053
25054 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25055
25056         * config/vx-gdb.exp: Use fake device to load files rather than
25057         NFS.
25058         * lib/gdb.exp: New proc to do "file" command.
25059         * config/unix-gdb.exp: Use new "file" proc.
25060
25061 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
25062
25063         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25064         Rework board rebooting slightly.
25065         (gdb_exit): Don't exit from the remote shell; there isn't one.
25066         * gdb.stabs/weird.exp: If a program is being debugged already,
25067         kill it.
25068         * gdb.t04/setvar.exp: Stop and restart gdb.
25069         * gdb.t05/expr.exp: Likewise.
25070         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25071         restart gdb and reload the program.
25072         * gdb.t08/opaque.exp: Likewise.
25073         * gdb.t12/scope.exp: Likewise.
25074         * gdb.t13/bitfields.exp: Likewise.
25075         * gdb.t15/funcargs.exp: Likewise.
25076         * gdb.t20/classes.exp: Likewise.
25077         * gdb.t03/ptype.exp: Increase timeout.
25078         * gdb.t16/printcmds.exp (test_print_string_constants,
25079         test_print_array_constants): Likewise.
25080         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25081         * gdb.t20/classes.exp (do_tests): Likewise.
25082         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25083
25084 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
25085
25086         * gdb.stabs: Renamed *wierd* to *weird*.
25087
25088 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
25089
25090         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25091         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
25092
25093 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
25094
25095         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25096         (do_tests): Remove xfail for whatis on one_var and two_var.
25097
25098 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25099
25100         * Makefile.in: Made cross building work better by adding
25101         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25102
25103 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25104
25105         * gdb.t15/{return.c,return.exp,Makefile.in}:
25106         New test, currently commented out.
25107
25108 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25109
25110         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25111         still running and removes the leftover named socket so GDb can do
25112         clean restarts.
25113
25114 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25115
25116         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25117         console, not GDB.
25118         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25119         cross testing works better with "make check"
25120         * config/unix-gdb: Use default procedures for exit and version.
25121         * config/vx-gdb.exp: Cleaned up and massaged back to working order
25122         with the newest VxWorks.
25123
25124 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25125
25126         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25127         old form.
25128
25129         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25130         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25131
25132         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25133
25134         * config/unix-gdb.exp: Remove this version of gdb_exit
25135         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25136         Rob says he'll look at it when he gets back to testing boards.
25137
25138 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
25139
25140         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
25141         an expected fail for certain ptype commands.
25142
25143         * gdb.t20/classes.exp:  Update expected results of "ptype class
25144         Base1" to account for the constructor that now appears in the type.
25145
25146 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
25147
25148         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
25149         disappeared from list.
25150         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
25151         "alldone" proc with call to cleanup and exit.
25152         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25153         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25154         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25155         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25156         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
25157         "alldone" proc with simple returns that suppress remaining
25158         tests.  The alldone proc went away many months ago.
25159
25160 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25161
25162         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25163
25164         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25165
25166 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25167
25168         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
25169         as vax gdb will display them.
25170
25171 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25172
25173         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25174         optimizers.
25175
25176         * scope.exp: Change "bad value for localval" messages so each one
25177         is unique.
25178
25179         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25180         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25181
25182         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25183
25184 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25185
25186         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25187         doesn't exist (due to optimization).
25188
25189 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25190
25191         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25192         contains \r because the filename is long.
25193
25194         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25195         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25196
25197 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25198
25199         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
25200         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
25201         Ultrix.
25202         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
25203         int tests.
25204         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
25205
25206 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
25207
25208         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
25209
25210         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
25211         to match does not match the passing case but still matches the
25212         failing case.
25213
25214 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25215
25216         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
25217
25218 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
25219
25220         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
25221         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
25222         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
25223         Remove various versions of gdb_exit.
25224         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
25225         gdb_exit.
25226         * config/unix-gdb.exp:  gdb_exit remains here, and should override
25227         the generic version, since it's doing a lot of wierd stuff that
25228         the other versions aren't.  FIXME, fold it in, or abandon this
25229         version.
25230
25231 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25232
25233         * gdb.t24/demangle.exp: Add tests for PR 3220.
25234
25235 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25236
25237         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
25238
25239 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
25240
25241         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
25242         "i386-*-*".  Works for i486 as well.
25243
25244         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
25245         bug, and expand domain of xfail to all SVR4 systems, since the
25246         actual problem is likely to be in generic SVR4 /proc support.
25247
25248 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25249
25250         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
25251
25252 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
25253
25254         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
25255         xfails for other systems.  Match a missing 'Continuing.' as an
25256         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
25257
25258         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
25259         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
25260         Only issue warning for missing executables if -all option is used.
25261
25262         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
25263         file if -all option is used.  It's like an unpredictable XFAIL.
25264
25265 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25266
25267         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
25268         for dynamically linked binaries.
25269
25270         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
25271
25272 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25273
25274         * gdb.t20/inherit.exp: Change message for "print tagless struct"
25275         to state that this is a known bug in old versions of g++.
25276
25277 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25278
25279         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
25280         while waiting for `Continuing'.
25281
25282 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
25283
25284         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
25285         in text, data, and bss.
25286         * gdb.t10/nodebug.c:  Add local and global test variables for
25287         initialized and uninitialized data.
25288
25289 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25290
25291         * config/unix-gdb.exp (gdb_exit): Add "wait".
25292
25293 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25294
25295         * gdb.t06/signals.exp:  xfail the continue from the handler for all
25296         targets.
25297
25298         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
25299         function with watchpoints enabled, the i386 call dummy starts with
25300         a call.
25301
25302         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
25303         386 bsd names its corefiles.
25304
25305 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
25306
25307         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
25308         compilers don't grok it.
25309         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
25310         with small octal ints rather than character constants, which
25311         are signed and might not fit if first promoted to int.
25312
25313 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
25314
25315         * gdb.t09/Makefile.in (clean):  Remove corefile.
25316
25317 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25318
25319         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
25320
25321 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25322                           and Jim Kingdon (kingdon@cygnus.com)
25323
25324         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
25325         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
25326         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
25327
25328 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25329
25330         * gdb.t17/interrupt.exp: Add xfail for hppa.
25331
25332 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25333
25334         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
25335         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
25336         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
25337         to determine signed-ness of bitfields and use the result to setup
25338         the xfail.
25339         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
25340         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
25341         call line is reached if necessary.
25342
25343 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25344
25345         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
25346
25347 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25348
25349         * gdb.t06/break.exp: Also test `clear' command.
25350
25351 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25352
25353         * gdb.t00/teststrategy.exp: Remove extra quote.
25354
25355         * gdb.t07/watchpoint.exp: Change xfail for calling function with
25356         watchpoint enabled to be for all non-68k machines.
25357
25358         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
25359
25360 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25361
25362         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
25363         targets use aout.mt instead of ecoff.mt as gas understands
25364         standard aout format.
25365
25366 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25367
25368         * lib/gdb.exp (runto): Don't insist that function we are running to
25369         was compiled with -g.
25370
25371         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
25372
25373         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
25374         to get back into the read system call.
25375         Accept leading newline in case where we woke it up.
25376
25377 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25378
25379         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
25380         to make the stabs test work on ecoff systems using gcc and -with-stabs.
25381         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
25382         enable ecoff configuration.
25383
25384 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25385
25386         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
25387
25388 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25389
25390         * gdb.t16/printcmds.exp: Add another printf test.
25391
25392 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
25393
25394         * configure.in: If configured -with-stabs on any target, add
25395         stabsdirs to configdirs.
25396
25397 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25398
25399         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
25400         fun" so pattern does not match the command itself.
25401
25402 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25403
25404         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
25405
25406 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25407
25408         * gdb.t17/interrupt.exp: Test for more things.
25409
25410 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25411
25412         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
25413         compiler arranges the code and line numbers.
25414
25415         * gdb.t17/interrupt.exp: Don't send \n after ^C.
25416
25417 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25418
25419         * gdb.t00/help.exp:  Increase expect input buffer size.
25420
25421 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25422
25423         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
25424
25425         * gdb.t07/watchpoint.exp: Add xfail for hppa.
25426
25427         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
25428
25429         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
25430         [0-9]*, not just [0-9].
25431
25432 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25433
25434         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
25435
25436         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
25437
25438 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25439
25440         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
25441
25442 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25443
25444         * gdb.t06/signals.c: Add xfails for sun3.
25445
25446         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
25447
25448         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
25449         test_stepping tests.
25450
25451 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25452
25453         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
25454
25455         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
25456
25457         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
25458         rather than actually putting it through cpp twice.
25459
25460         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25461
25462 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
25463
25464         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25465         no longer needed.
25466
25467 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25468
25469         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25470
25471         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25472         C++ features prints as "struct", make it a pass, not an xfail.
25473
25474 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25475
25476         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25477         Don't require VA to print as "class" rather than "struct".
25478
25479 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
25480
25481         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25482
25483 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25484
25485         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25486
25487 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25488
25489         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
25490         order.
25491
25492 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25493
25494         * gdb.t16/printcmds.exp: Add printf tests.
25495
25496         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
25497
25498         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
25499
25500 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
25501
25502         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
25503         pass counts, to counteract any existing or future setup_xfails.
25504
25505 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25506
25507         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
25508         {BEGIN,END}_COMMON for common block instead of STAB.
25509         * gdb.stabs/wierd.exp: Add xfail for rs6000.
25510
25511         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
25512         intp_var should be N_GSYM not N_LSYM.
25513         wierd-aout.S: Use a label for the value of the N_SO.
25514         wierd.def: Remove all backslashes.
25515         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
25516
25517 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25518
25519         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
25520         get the expected next to inheritance3.
25521
25522 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25523
25524         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
25525         now that gcc-2.4 gets it right.
25526
25527 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25528
25529         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
25530
25531         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
25532         generating comp-info.exp which works for cross-compilation.
25533
25534 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
25535
25536         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
25537         "*-*-sysv4.*".
25538
25539 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
25540
25541         * gdb.t01/run.exp:  Start with a fresh gdb.
25542         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
25543         SVR4.x.
25544
25545 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
25546
25547         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
25548         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
25549         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
25550         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
25551         things to remove.
25552
25553 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
25554
25555         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
25556         test cases from bug reports.
25557
25558 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
25559
25560         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
25561         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
25562           avoid spurious xfails.
25563         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
25564         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
25565         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
25566
25567 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
25568
25569         * gdb.t00/teststrategy.exp:  Rework to provide more useful
25570         description of each test, fix problem with systems that define
25571         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
25572         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
25573         results for "next over recursive call" so timeouts aren't taken
25574         by error.
25575
25576 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
25577
25578         * gdb.t12/scope.exp: Test printing of variables before run.
25579
25580         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
25581         printed in wrong order due to sorting.
25582
25583 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
25584
25585         * gdb.t00/teststrategy.exp:  Fix expected results for printing
25586         user entered string constant.  Is array of char, prints with no
25587         address.
25588
25589         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
25590         commands.
25591         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
25592         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
25593         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
25594         of struct of char arrays.
25595         * gdb.t00/radix.exp:  New tests for radix commands.
25596
25597 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
25598
25599         * gdb.t16/printcmd.exp: Print a variable before running program
25600         (with xfail for AIX).
25601
25602 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
25603
25604         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
25605
25606         * gdb.t16/printcmd.exp: Don't print variables before running program.
25607
25608         * gdb.t06/break.exp: Don't require envp argument to main.
25609
25610         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
25611
25612         * gdb.t02/whatis.exp, gdb.t11/list.exp:
25613         Add xfails for rs6000.
25614
25615         * gdb.t02/whatis.exp: Change other tests not to re-test something
25616         we already tested.
25617
25618         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
25619         each type used has a variable of that type.
25620
25621 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
25622
25623         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
25624
25625 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
25626
25627         * configure.in: change srctrigger to be a file, not a directory
25628
25629 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
25630
25631         * configure.in (mips-idt-ecoff*): Added trailing '*'.
25632
25633         * gdb.t11/list.exp: Fixed a couple of typos.
25634
25635 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
25636
25637         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
25638         is fixed and PR is closed.
25639         * gdb.t16 (gdbme.c):  Add simple test string variable.
25640         * gdb.t16 (printcmds.exp):  Add tests with simple test string
25641         variable, primarily for boundaries on "set print elements".
25642
25643 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
25644
25645         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
25646         Make leading 0's optional and don't expect a tab in the middle
25647         of the number.
25648
25649         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
25650
25651         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
25652         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
25653         don't end command passed to gdb_test with newline.
25654
25655         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
25656         signed keyword away, don't expect signed bitfields to be signed.
25657
25658         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
25659         printing with only as many 1's as are in the field as well as printing
25660         with 32 1's (see comment).
25661
25662 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
25663
25664         * gdb.t00/default.exp:  Start with a fresh gdb.
25665         * configure.in (configdirs):  Remove gdb.t31 until the chill
25666         compiler works again.  It no longer is able to find chillrt0
25667         since it isn't in libchill.a anymore.
25668         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
25669         wierd.o, make more modular.
25670         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
25671         spurious newlines that caused problems.
25672
25673 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25674
25675         * Move test with enums and partial symbols from gdb.t03/ptype.exp
25676         to gdb.stabs/wierd.exp since GCC has worked around the bug.
25677         gdb.stabs/wierd.{exp,def}: Many new tests.
25678
25679         * gdb.t00/default.exp: update info line for new message.
25680
25681         * gdb.t02/{whatis.exp,gdbme.c}:
25682         Test that "char *" doesn't print as "caddr_t".
25683
25684 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25685
25686         * gdb.t00/help.exp: Use .* in place of some help messages which
25687         just changed.
25688         gdb.t00/default.exp: Update "info frame" test for new message.
25689         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
25690         Remove some xfails
25691
25692 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25693
25694         * gdb.t03/{gdbme.c,ptype.exp}:
25695         Add tests for typedef'd struct and union without tags.
25696         Also check "whatis" on a variable of a typedef'd enum without a tag.
25697
25698         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
25699         PRMS 1823; the bug still exists but isn't reproduced by this test
25700         anymore), and remove rs6000 XFAIL (the bug is fixed).
25701
25702         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
25703         duplicated from whatis.exp.  For those that are left, accept
25704         "long", "long int", or "int" for long variables (whatis.exp already
25705         has an XFAIL for "int", so no need to fail it here).
25706
25707         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
25708         Deal with GCC's names for types now that GDB uses the compiler's names.
25709
25710         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
25711         setup_xfail's for sunos4.  If we #defined the signed keyword away,
25712         don't expect GDB to know that char it is signed.
25713
25714         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
25715
25716 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
25717
25718         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
25719         should work on any system, regardless of debugging format.
25720         * gdb.t21/demangle.exp:  Move to gdb.t24.
25721         * gdb.t24/demangle.exp:  Move from gdb.t21.
25722         * gdb.t24/{Makefile.in, configure.in}:  New files.
25723
25724 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25725
25726         * configure.in: Do gdb.stabs and C++ tests only for stabs.
25727         * gdb.stabs: New directory.
25728
25729 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25730
25731         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
25732         not just "Quit anyway?".
25733
25734 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
25735
25736         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
25737         that all setup_xfails are immediately followed by clear_xfails.
25738
25739 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
25740
25741         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
25742         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
25743         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
25744         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
25745         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
25746         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25747         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25748         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
25749         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
25750         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
25751         gdb.t31/chillvars.exp, lib/gdb.exp:
25752         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
25753         bug-gdb@prep.ai.mit.edu.
25754
25755 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
25756
25757         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
25758         with 0.0, not integer 0.
25759
25760 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
25761
25762         * gdb.t06/break.exp: Update for "Kill the program" message change.
25763
25764 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
25765
25766         * Makefile.in (GDBFLAGS):  Set to -nx.
25767         * Makefile.in (site.exp):  Use GDBFLAGS.
25768
25769 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
25770
25771         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
25772           Makefiles.
25773           (check): depend on just-check.
25774           (just-check): added so that tests can be run without a noop
25775           build pass.
25776
25777 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
25778
25779         Switch to using configure's configdirs.
25780         * Makefile.in (Makefile): add configure.in dependency.
25781           (SUBDIRS): removed redundant assignment.
25782         * configure.in: switch subdirs assignment to configdirs.
25783         * gdb.t*/configure.in: new files.
25784
25785 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
25786
25787         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
25788         works.
25789
25790 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
25791
25792         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
25793         in explicit rules.  Apparently this is not supported by some makes.
25794
25795 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
25796
25797         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
25798
25799 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25800
25801         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
25802         disappeared.
25803
25804 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
25805
25806         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
25807
25808 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
25809
25810         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
25811         watchpoint problem that is now fixed.
25812         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
25813         uninitialized convenience variables.
25814         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
25815         structures.
25816
25817 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25818
25819         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
25820         which causes expect to get out of sync with gdb on long output
25821         from help set.
25822         * gdb.t09/corefile.exp: Make expected pattern for core file
25823         failing signal and frame output format less sun specific.
25824
25825 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
25826
25827         * gdb.t31/chillvars.exp:  Add and remove initial dummy
25828         breakpoint, so that symbol table is forced in.
25829         (Needed at least on Sunos4, though it seems not SVR4.)
25830         * gdb.t31/chillvars.exp:  Update for changed output format.
25831
25832 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
25833
25834         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
25835
25836 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
25837
25838         * Makefile.in: Added --srcdir when invoking runtest, removed the
25839         need for a local config file. (optional now)
25840
25841 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
25842
25843         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
25844         failure count used to force early termination.  Add some more
25845         expected failures for gnu style demangling.
25846
25847 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25848
25849         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
25850         pmi variable from gdb.t20/gdbme to get optimized away.
25851         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
25852         Check for written corefile upon timeout _and_ eof.
25853
25854 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25855
25856         * config/unix-gdb.exp:  Add missing return 0.
25857
25858 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25859
25860         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
25861         test termination.
25862
25863 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
25864
25865         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
25866         disappeared.
25867
25868 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
25869
25870         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
25871         time as i860 support works.
25872
25873         * gdb.t15/funcargs.exp:  Fix expected outputs to include
25874         "backtrace 100\r" rather than just "backtrace\r", to match last
25875         change.
25876
25877 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
25878
25879         * config/udi-gdb.exp (gdb_exit): Remove close command.
25880         (gdb_target_udi): New procedure to set the UDI target.
25881         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
25882         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
25883         Added waits for prompts after several question responses.  Added
25884         some more responses used by a29k-amd-udi-gdb.
25885         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
25886         pass different arguments, restart UDI connection after program
25887         completion.
25888         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
25889         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25890         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
25891         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
25892         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
25893         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
25894         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25895         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
25896         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
25897         after program completion.
25898         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
25899         compiled with a SELECT_VECS setting.
25900         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
25901         infinite recursion.
25902
25903         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
25904         Added checks for COFF results, and made them expected failures for
25905         all targets.  It would be better to make them expected failures
25906         for COFF targets only.
25907
25908 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
25909
25910         * Makefile.in: add null dvi target, don't bother to recurse
25911         through test directories for info and install-info; rename
25912         $(datadir) to be dejagnu instead of deja-gnu
25913
25914 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
25915
25916         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
25917         compiler to coredump.
25918         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
25919         code.
25920
25921 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
25922
25923         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
25924         coredump.
25925         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
25926         code.
25927
25928 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
25929
25930         * gdb.t03/ptype.exp: tests for return code from gdb_test.
25931         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
25932         which in a shell. Deletes xgdb when done.
25933         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
25934         Tests the return from the "set height" or "set width" commands.
25935         Added a few return codes where needed.
25936
25937 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
25938
25939         * Makefile.in (SUBDIRS):  Add gdb.t17.
25940         * configure.in (subdirs):  Add gdb.t17.
25941         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
25942         files to test gdb's calling of functions in the inferior with
25943         the correct arguments and gdb's ability to retrieve any
25944         result returned.
25945
25946 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
25947
25948         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
25949         may be called after gdb goes away.  Previous versions of expect
25950         needed these to avoid file descriptor leaks, but they cause
25951         errors with the current revision of expect.
25952         * gdb.t00/gdbvars.exp:  Use -re on expected output after
25953         setting sevenbit-strings.
25954         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
25955         to set sevenbit-strings consistent across tests.
25956         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
25957         set sevenbit-strings consistent across tests.
25958
25959 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
25960
25961         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
25962         expected output to match current "expect" expectations.
25963
25964 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
25965
25966         * gdb.t00/default.exp:  Change expected output for default "source"
25967         command, to match new gdb behavior which requires a filename to
25968         source.
25969
25970 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
25971
25972         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
25973         expected fail for i486-*-* that misses the marker2 function.
25974         * gdb.t10/crossload.exp (bfddefault):  Allow successful
25975         recognition of a format to pass even if no symbols are found.
25976         Explicitly catch failures where the format is not recognized
25977         or is ambiguous, and add the reason to the fail message.
25978         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
25979         the cause is and invalid target and add reason to failure message.
25980         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
25981         elf32-i386, elf32-sparc, and elf32-i860.
25982         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
25983         Set up expected failure for 'filename'::variable scope resolution,
25984         which is now apparently broken on all targets.
25985         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
25986         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
25987         gdb.t23/templates.exp:   Change failure for missing binfile into
25988         just a warning.
25989         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
25990         references.
25991
25992 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
25993
25994         * gdb.t00/default.exp:  Add expected output for default "source"
25995         command, to match new gdb behavior.
25996         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
25997
25998 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
25999
26000         * config/*-gdb.exp: returns an error, rather than exiting on
26001         internal errors.
26002
26003 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
26004
26005         * gdb.t03/gdbme.c:  Add pointer to struct variable.
26006         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
26007         referencing struct members.
26008
26009 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
26010
26011         * configure.in (mips-idt-ecoff): New target.
26012         * config/mips-gdb.exp: New file for remote board using MIPS remote
26013         debugging protocol.
26014
26015         * Redid configuration scheme.  Removed gdb.t*/configure.in.
26016         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
26017         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
26018         distclean targets.  Built executables via .o files.  Adjusted
26019         tests to account for source files in $(srcdir) rather than
26020         $(objdir).
26021         * lib/gdb.exp (runto): Don't expect () after the function name,
26022         because it may have arguments.
26023
26024 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
26025
26026         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26027         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26028         expected failures for mips-idt-* and mips-sgi-*.
26029         * gdb.t00/default.exp (attach): Kill process if requested.
26030         * gdb.t00/help.exp (help target core, help target): Accept a gdb
26031         that does not read core files.
26032         * gdb.t01/run.exp: Removed checks for exit status code.
26033         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26034         it is linked in.
26035         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26036         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26037         appropriate, rather than doing it by hand.
26038         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26039         execution.
26040         * gdb.t10/crossload.exp: Kill existing program if needed.
26041         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26042         appropriate, rather than doing it by hand.  Always increase
26043         timeout for this test, not just for VxWorks.
26044
26045 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
26046
26047         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
26048         of Chill STRUCT types and STRUCT values.
26049         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
26050         than "char".
26051         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
26052         struct2):  New struct definitions and initializations to test
26053         simple Chill STRUCT types.
26054
26055 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
26056
26057         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
26058         the null byte at the end of strings.
26059         * gdb.t00/default.exp:  Make show version insensitive to copyright
26060         date.
26061         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
26062         to avoid dependencies on target char signedness.
26063         * gdb.t16/printcmds.exp:  Update expected results for explicitly
26064         unsigned char.
26065         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
26066         now work.
26067         * gdb.t21/demangle.exp:  Add many more patterns for template
26068         demangling, most of them being expected failures.
26069         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
26070         string we are matching for, to match on the whole string.
26071         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
26072         and fix a whole bunch that had incorrect expected output but were
26073         passing anyway because of the bug in "proc demangle".
26074         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
26075         type.
26076         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
26077
26078 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
26079
26080         * gdb/testsuite: made modifications to testcases, etc., to allow
26081         them to work properly  given the reorganization of deja-gnu and the
26082         relocation of the testcases from deja-gnu to a "tool" subdirectory.
26083
26084 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
26085
26086         * gdb/testsuite: Initial creation of gdb/testsuite.
26087         Migrated dejagnu testcases and support files for testing nm to
26088         gdb/testsuite from deja-gnu.  These files were moved "as is"
26089         with no modifications.  This migration is part of a major overhaul
26090         of dejagnu.  The modifications to these testcases, etc., which
26091         will allow them to work with the new version of dejagnu will be
26092         made in a future update.
26093
26094  For additional changes see gdb.mi/ChangeLog-1999-2003.
26095 \f
26096 ;; Local Variables:
26097 ;; mode: change-log
26098 ;; left-margin: 8
26099 ;; fill-column: 74
26100 ;; version-control: never
26101 ;; End:
26102
26103     Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
26104     2003, 2004, 2005 Free Software Foundation, Inc.
26105   Copying and distribution of this file, with or without modification,
26106   are permitted provided the copyright notice and this notice are preserved.