gdb/testsuite/
[platform/upstream/binutils.git] / gdb / testsuite / ChangeLog
1 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
2             Joel Brobecker  <brobecker@adacore.com>
3
4         Cope with missing /usr/sbin/prelink.
5         * lib/prelink-support.exp (prelink_no):
6         <result == 1 && $output is "no such file or directory">: New.
7         (prelink_yes): Likewise.  Return on failed prelink_no.
8
9 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10             Joel Brobecker  <brobecker@adacore.com>
11
12         * gdb.base/attach-pie-misread.exp: Load prelink-support.exp.  Replace
13         build_executable by build_executable_own_libs.  Replace "prelink -R"
14         execution by a call of prelink_yes.  Comment why "prelink -r" needs no
15         change.
16         * gdb.base/break-interp.exp: Load prelink-support.exp.  Rename calls of
17         copy to file_copy.  Move setting opts --dynamic-linker and -rpath,
18         mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
19         Replace build_executable by build_executable_own_libs's function
20         build_executable_own_libs.
21         (prelinkNO): Create new stub to call prelink_no.
22         (prelinkYES): Create new stub to call prelink_yes.
23         (test_attach): Rename calls of copy to file_copy.
24         (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
25         (copy): Move to ...
26         * lib/prelink-support.exp: ... a new file.  Rename prelinkNO to
27         prelink_no, prelinkYES to prelink_yes, copy to file_copy.
28         * gdb.base/prelink.exp: Disable testcase also for is_remote and
29         skip_shlib_tests.  Load prelink-support.exp.  Replace gdb_compile with
30         special flags by gdb_compile_shlib.  Replace second gdb_compile by
31         build_executable_own_libs.  Replace "prelink -R" execution by a call of
32         prelink_yes.  Replace "prelink -u" and second "prelink -R" execution by
33         a second call of prelink_yes.  Replace restart commands by
34         clean_restart.
35         (prelink): Rename to ...
36         (seen displacement message): ... this test.  Extend its expectation
37         strictness.
38
39 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
40
41         * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
42         * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
43         displacement message exactly once.
44
45 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
46             Joel Brobecker  <brobecker@adacore.com>
47
48         * gdb.base/break-interp.exp (test_attach): Keep $interp changed.  Move
49         its restore after the <$relink_args != ""> loop.  new comment.
50
51 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
52             Joel Brobecker  <brobecker@adacore.com>
53
54         * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
55         code for it.  New variable relink_args.
56         (prelinkYES): Call prelinkNO.
57         (test_attach): Accept new parameter relink_args.  Re-prelink the binary
58         in such case.  Move the core code to ...
59         (test_attach_gdb): ... a new function.  Send GDB command "file".
60         Extend expected "Attaching to " string.
61
62 2010-07-02  Tom Tromey  <tromey@redhat.com>
63
64         * gdb.base/bitops.exp: Remove extraneous "pass".
65
66 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
67
68         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
69
70 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
71
72         * gdb.base/help.exp: Adjust expected output.
73
74 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
75
76         * gdb.base/help.exp: Adjust expected output.
77
78 2010-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
79
80         * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
81         (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
82         c++/11702.
83
84 2010-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
85             Doug Evans  <dje@google.com>
86
87         * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
88         add .dynamic entry'.
89
90 2010-06-29  Doug Evans  <dje@google.com>
91
92         Test PR c++/11702.
93         * gdb.cp/m-static.exp: Add testcase.
94         * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
95
96 2010-06-28  Phil Muldoon  <pmuldoon@redhat.com>
97             Tom Tromey  <tromey@redhat.com>
98             Thiago Jung Bauermann  <bauerman@br.ibm.com>
99
100         * gdb.python/py-inferior.c: New File.
101         * gdb.python/py-infthread.c: New File.
102         * gdb.python/py-inferior.exp: New File.
103         * gdb.python/py-infthread.exp: New File.
104
105 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
106
107         * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
108         (ptype ::C::OtherFileClass typedefs): New.
109         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
110         (C::OtherFileClass::cOtherFileClassVar2): New.
111         (C::OtherFileClass::cOtherFileClassVar_use): Use also
112         cOtherFileClassVar2.
113         (C::cOtherFileType2, C::cOtherFileVar2): New.
114         (C::cOtherFileVar_use): use also cOtherFileVar2.
115         * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
116
117 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
118
119         * gdb.cp/namespace.exp (whatis C::cOtherFileType)
120         (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
121         (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
122         (print ::C::cOtherFileVar)
123         (whatis C::OtherFileClass::cOtherFileClassType)
124         (whatis ::C::OtherFileClass::cOtherFileClassType)
125         (print C::OtherFileClass::cOtherFileClassVar)
126         (print ::cOtherFileClassVar)
127         (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
128         (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
129         trailing content.
130         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
131         (C::OtherFileClass::cOtherFileClassVar)
132         (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
133         (C::cOtherFileVar, C::cOtherFileVar_use): New.
134
135 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
136
137         Test PR c++/11703 and PR gdb/1448.
138         * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
139         gdb/1448.
140
141 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
142
143         * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
144         (main) <rtti_data>: New.
145         * gdb.cp/virtbase.exp (print rtti_data): New.
146
147 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
148             Joel Brobecker  <brobecker@adacore.com>
149
150         * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
151
152 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
153
154         * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
155
156 2010-06-28  Doug Evans  <dje@google.com>
157
158         * gdb.base/break-interp.exp (reach): Relax expected output a bit.
159
160 2010-06-27  Doug Evans  <dje@google.com>
161
162         * gdb.cp/m-static.exp: Update expected test output.
163
164 2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
165
166         * gdb.gdb/selftest.exp: Adjust expected message for
167         capturing start-up runtime.
168
169 2010-06-25  Tom Tromey  <tromey@redhat.com>
170
171         PR python/10808:
172         * gdb.python/python.exp: Add new tests.
173
174 2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
175
176         * gdb.cp/operator.cc: Created an import loop.
177         * gdb.cp/operator.exp: Added testcase for import loop.
178
179 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
180
181         Test PR python/11407.
182         * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
183         * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
184         Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
185         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
186         executable_nofb and executable_fb.  New variables srcsfile, objsfile,
187         srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
188         binfile.  Call gdb_compile with clean_restart twice.
189         (func_nofb print, func_nofb backtrace, func_loopfb print)
190         (func_loopfb backtrace): New.
191
192 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
193
194         * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
195         * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
196         by a hand made one.
197         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
198         i?86 requirement.  Remove variables srcfile and binfile.  New variable
199         sources, executable_nofb and executable_fb.  Call prepare_for_testing.
200
201 2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
202
203         * gdb.cell/dwarfaddr.exp: New file.
204         * gdb.cell/dwarfaddr.S: New file.
205
206 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
207
208         Test PR 9436.
209         * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
210
211 2010-06-24  Hui Zhu  <teawater@gmail.com>
212
213         * gdb.base/eval.exp: New file.
214
215 2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
216
217         * gdb.cell/fork.exp: New file.
218         * gdb.cell/fork.c: Likewise.
219         * gdb.cell/fork-spu.c: Likewise.
220
221 2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
222
223         * lib/gdb.exp (banned_variables_traced): New global variable.
224         (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
225         (gdb_init): Use `trace add variable' instead of obsolete
226         `trace variable'.
227
228 2010-06-21  Doug Evans  <dje@google.com>
229
230         * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
231
232 2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
233
234         * gdb.arch/spu-ls.exp: New file.
235         * gdb.arch/spu-ls.c: Likewise.
236
237 2010-06-18  Stan Shebs  <stan@codesourcery.com>
238
239         * gdb.threads/thread-specific.exp: Add tests of $_thread.
240
241 2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
242
243         * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
244         * gdb.base/watch-cond.exp: Likewise.
245         * gdb.python/py-breakpoint.exp: Likewise.
246
247 2010-06-18  Pedro Alves  <pedro@codesourcery.com>
248
249         * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
250         clean_restart, make sure every test has a distinct message, and
251         that messages don't include the executable' full path.
252
253 2010-06-17  Doug Evans  <dje@google.com>
254
255         * gdb.arch/i386-size.exp: Updated expected output for
256         DISASSEMBLY_OMIT_FNAME.
257
258 2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
259             Sergio Durigan Junior  <sergiodj@redhat.com>
260
261         * gdb.base/watch-notconst.c: New file.
262         * gdb.base/watch-notconst.S: New file.
263         * gdb.base/watch-notconst2.c: New file.
264         * gdb.base/watch-notconst2.S: New file.
265         * gdb.base/watch-notconst.exp: New file.
266         * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
267         (func4): Add operations on `global_ptr_ptr'.
268         * gdb.base/watchpoint.exp (test_constant_watchpoint): New
269         routine to test watchpoints created with a constant expression.
270         (test_inaccessible_watchpoint): Include tests for watchpoints
271         created with a constant expression.
272
273 2010-06-14  Kevin Buettner  <kevinb@redhat.com>
274
275         * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
276         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
277         gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
278         gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
279         gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
280         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
281         gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
282         of `_start'.
283
284 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
285
286         * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
287         not supported on the target.
288         * gdb.mi/mi-nonstop-exit.exp: Likewise.
289         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
290         * gdb.mi/mi-nsintrall.exp: Likewise.
291         * gdb.mi/mi-nsmoribund.exp: Likewise.
292         * gdb.mi/mi-nsthrexec.exp: Likewise.
293
294 2010-06-11  Stan Shebs  <stan@codesourcery.com>
295
296         * gdb.base/permissions.exp: New file.
297
298 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
299
300         * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
301         does not support ELF executable class.
302
303 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
304
305         * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
306
307 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
308
309         * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
310         (runto): Catch "The target does not support running in non-stop mode.".
311
312 2010-06-11  Michael Snyder  <msnyder@vmware.com>
313
314         * gdb.base/setshow.exp (set language asm): Don't use
315         gdb_test_no_output, fails on some targets.
316
317 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
318
319         * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
320         * gdb.cp/pr9167.exp: Likewise.
321
322 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
323
324         * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
325
326 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
327
328         * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
329
330 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
331
332         * gdb.base/charset.c (main): Make sure malloc gets linked in.
333
334 2010-06-11  Tom Tromey  <tromey@redhat.com>
335
336         PR gdb/9977, PR exp/11636::
337         * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
338         (pieces_test_f6): Update expected output.
339
340 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
341
342         * gdb.base/moribund-step.exp: New.
343
344 2010-06-08  Michael Snyder  <msnyder@vmware.com>
345
346         * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
347         * gdb.ada/boolean_expr.exp: 
348         * gdb.ada/frame_args.exp: Ditto.
349         * gdb.ada/lang_switch.exp: Ditto.
350         * gdb.ada/ptype_arith_binop.exp: Ditto.
351         * gdb.ada/ref_param.exp: Ditto.
352         * gdb.ada/type_coercion.exp:Ditto.
353
354         * gdb.asm/asm-source.exp: Ditto.
355
356         * gdb.base/attach.exp: Ditto.
357         * gdb.base/bitfields2.exp: Ditto.
358         * gdb.base/call-signal-resume.exp: Ditto.
359         * gdb.base/callfuncs.exp: Ditto.
360         * gdb.base/commands.exp: Ditto.
361         * gdb.base/dbx.exp: Ditto.
362         * gdb.base/default.exp: Ditto.
363         * gdb.base/dump.exp: Ditto.
364         * gdb.base/exprs.exp: Ditto.
365         * gdb.base/freebpcmd.exp: Ditto.
366         * gdb.base/interrupt.exp: Ditto.
367         * gdb.base/list.exp: Ditto.
368         * gdb.base/long_long.exp: Ditto.
369         * gdb.base/maint.exp: Ditto.
370         * gdb.base/ptype.exp: Ditto.
371         * gdb.base/return.exp: Ditto.
372         * gdb.base/setshow.exp: Ditto.
373         * gdb.base/sigbpt.exp: Ditto.
374         * gdb.base/sigrepeat.exp: Ditto.
375
376         * gdb.cp/classes.exp: Ditto.
377
378         * gdb.dwarf2/dw2-restore.exp: Ditto.
379
380         * gdb.gdb/selftest.exp: Ditto.
381
382         * gdb.multi/base.exp: Ditto.
383         * gdb.multi/bkpt-multi-exec.exp: Ditto.
384
385         * gdb.python/py-block.exp: Ditto.
386         * gdb.python/py-prettyprint.exp: Ditto.
387         * gdb.python/py-template.exp: Ditto.
388
389         * gdb.server/ext-attach.exp: Ditto.
390         * gdb.server/ext-run.exp: Ditto.
391         * gdb.server/server-mon.exp: Ditto.
392
393         * gdb.threads/fork-thread-pending.exp: Ditto.
394         * gdb.threads/hand-call-in-threads.exp: Ditto.
395         * gdb.threads/interrupted-hand-call.exp: Ditto.
396         * gdb.threads/linux-dp.exp: Ditto.
397         * gdb.threads/manythreads.exp: Ditto.
398         * gdb.threads/print-threads.exp: Ditto.
399         * gdb.threads/pthreads.exp: Ditto.
400         * gdb.threads/schedlock.exp: Ditto.
401         * gdb.threads/thread-unwindonsignal.exp: Ditto.
402         * gdb.threads/threadapply.exp: Ditto.
403
404 2010-06-08  Michael Snyder  <msnyder@vmware.com>
405
406         * gdb.ada/exec_changed.exp: 
407         Use ".*" instead of "" as wildcard regexp.
408
409         * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
410         * gdb.base/call-ar-st.exp: Ditto.
411         * gdb.base/checkpoint.exp: Ditto.
412         * gdb.base/default.exp: Ditto.
413         * gdb.base/dump.exp: Ditto.
414         * gdb.base/ending-run.exp: Ditto.
415         * gdb.base/fileio.exp: Ditto.
416         * gdb.base/miscexprs.exp: Ditto.
417         * gdb.base/pointers.exp: Ditto.
418         * gdb.base/readline.exp: Ditto.
419         * gdb.base/reread.exp: Ditto.
420         * gdb.base/restore.exp: Ditto.
421         * gdb.base/shlib-call.exp: Ditto.
422         * gdb.base/valgrind-db-attach.exp: Ditto.
423         * gdb.base/volatile.exp: Ditto.
424         * gdb.base/watchpoints.exp: Ditto.
425
426         * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
427
428         * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
429         * gdb.python/py-value.exp: Ditto.
430
431         * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
432         * gdb.trace/circ.exp: Ditto.
433         * gdb.trace/collection.exp: Ditto.
434         * gdb.trace/packetlen.exp: Ditto.
435         * gdb.trace/passc-dyn.exp: Ditto.
436         * gdb.trace/report.exp: Ditto.
437         * gdb.trace/tfile.exp: Ditto.
438         * gdb.trace/tfind.exp: Ditto.
439         * gdb.trace/while-dyn.exp: Ditto.
440
441 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
442
443         * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
444
445 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
446
447         Test PR 10640.
448         * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
449
450 2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
451
452         * gdb.cp/koenig.exp: Test for ADL operators.
453         * gdb.cp/koenig.cc: Added ADL operators.
454         * gdb.cp/operator.exp: New test.
455         * gdb.cp/operator.cc: New test.
456
457 2010-06-04  Michael Snyder  <msnyder@vmware.com>
458
459         * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
460         * gdb.base/pending.exp: Ditto.
461
462         * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
463
464 2010-06-04  Doug Evans  <dje@google.com>
465
466         * gdb.python/py-prettyprint.exp: Add new test for enabled and
467         disabled printers.
468         * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
469         (enable_lookup_function): New function.
470
471 2010-06-04  Tom Tromey  <tromey@redhat.com>
472
473         * gdb.python/py-value.exp (test_value_hash): Don't test equality
474         of hash and id.
475
476 2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
477
478         * gdb.base/commands.exp (add printf tbreak command): Remove trailing
479         newline.
480         * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
481         (empty verbose non-noisy clear, empty verbose noisy clear)
482         (empty non-verbose noisy clear): Likewise.
483
484 2010-06-03  Michael Snyder  <msnyder@vmware.com>
485
486         * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
487         * gdb.base/display.exp: Ditto.
488         * gdb.base/find.exp: Ditto.
489         * gdb.base/ifelse.exp: Ditto.
490         * gdb.base/multi-forks.exp: Ditto.
491         * gdb.base/recurse.exp: Ditto.
492         * gdb.base/setshow.exp: Ditto.
493         * gdb.base/value-double-free.exp: Ditto.
494         * gdb.base/watch-vfork.exp: Ditto.
495         * gdb.base/watch_thread_num.exp: Ditto.
496         * gdb.base/watchpoint-solib.exp: Ditto.
497         * gdb.base/watchpoint.exp: Ditto.
498         * gdb.base/watchpoints.exp: Ditto.
499
500         * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
501         * gdb.cp/overload.exp: Ditto.
502         * gdb.cp/virtfunc.exp: Ditto.
503
504         * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
505
506         * gdb.reverse/watch-precsave.exp: 
507         Replace gdb_test with gdb_test_no_output.
508
509         * gdb.threads/attach-into-signal.exp: 
510         Replace gdb_test with gdb_test_no_output.
511         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
512         * gdb.threads/watchthreads.exp: Ditto.
513         * gdb.threads/watchthreads2.exp: Ditto.
514
515         * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
516         * gdb.trace/tfind.exp: Ditto.
517
518 2010-06-03  Joel Brobecker  <brobecker@adacore.com>
519
520         * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
521         successful test if message is the empty string.
522
523 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
524
525         * gdb.fortran/module.exp (stopped language detection): New test.
526
527 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
528
529         Support DW_TAG_module as separate namespaces.
530         * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
531         gdb.fortran/library-module-lib.f90: New.
532         * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
533         (print i): Remove.
534         (continue to breakpoint: i-is-1, print var_i value 1)
535         (continue to breakpoint: i-is-2, print var_i value 2)
536         (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
537         (print var_d, print var_i value 14, ptype modmany, complete `modm)
538         (complete `modmany, complete `modmany`, complete `modmany`var)
539         (show language, setting breakpoint at module): New tests.
540         * gdb.fortran/module.f90 (module mod): Remove.
541         (module mod1, module mod2, module modmany, subroutine sub1)
542         (subroutine sub2, program module): New.
543
544 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
545
546         * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
547         (print value of rUC, print value of rI, print value of UI): ... here.
548         * gdb.cp/anon-union.exp (pass): Rename to ...
549         (print z 2): ... here.
550
551 2010-06-02  Michael Snyder  <msnyder@vmware.com>
552
553         * gdb.trace/actions.exp: Use gdb_test_no_output.
554         * gdb.trace/circ.exp: Ditto.
555         * gdb.trace/packetlen.exp: Ditto.
556         * gdb.trace/save-trace.exp: Ditto.
557         * gdb.trace/tracecmd.exp: Ditto.
558         * gdb.trace/tsv.exp: Ditto.
559
560         * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
561         * gdb.threads/hand-call-in-thraeds.exp: Ditto.
562         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
563         * gdb.threads/manythreads.exp: Ditto.
564         * gdb.threads/print-threads.exp: Ditto.
565         * gdb.threads/pthreads.exp: Ditto.
566         * gdb.threads/schedlock.exp: Ditto.
567         * gdb.threads/staticthreads.exp: Ditto.
568         * gdb.threads/thread-specific.exp: Ditto.
569         * gdb.threads/thread-unwindonsignal.exp: Ditto.
570         * gdb.threads/threadapply.exp: Ditto.
571         * gdb.threads/watchthreads.exp: Ditto.
572         * gdb.threads/watchthreads2.exp: Ditto.
573
574         * gdb.python/py-block.exp: Use gdb_test_no_output.
575         * gdb.python/py-prettyprint.exp: Ditto.
576         * gdb.python/py-template.exp: Ditto.
577         * gdb.python/py-value.exp: Ditto.
578
579         * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
580         * gdb.reverse/watch-reverse.exp: Ditto.
581
582         * gdb.server/ext-attach.exp: Use gdb_test_no_output.
583         * gdb.server/ext-run.exp: Ditto.
584
585         * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
586         * gdb.dwarf2/dw2-compressed.exp: Ditto.
587         * gdb.dwarf2/dw2-intercu.exp: Ditto.
588         * gdb.dwarf2/dw2-intermix.exp: Ditto.
589         * gdb.dwarf2/dw2-producer.exp: Ditto.
590         * gdb.dwarf2/mac-fileno.exp: Ditto.
591
592         * gdb.gdb/observer.exp: Use gdb_test_no_output.
593         * gdb.gdb/selftest.exp: Ditto.
594
595         * gdb.multi/base.exp: Use gdb_test_no_output.
596
597         * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
598
599 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
600
601         * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
602
603 2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
604
605         * gdb.cp/class2.exp: Use gdb_test_no_output.
606         * gdb.cp/classes.exp: Ditto.
607         * gdb.cp/extern-c.exp: Ditto.
608         * gdb.cp/inherit.exp: Ditto.
609         * gdb.cp/maint.exp: Ditto.
610         * gdb.cp/mb-inline.exp: Ditto.
611         * gdb.cp/mb-templates.exp: Ditto.
612         * gdb.cp/method2.exp: Ditto.
613         * gdb.cp/misc.exp: Ditto.
614         * gdb.cp/ovldbreak.exp: Ditto.
615         * gdb.cp/punctuator.exp: Ditto.
616         * gdb.cp/templates.exp: Ditto.
617         * gdb.cp/virtbase.exp: Ditto.
618
619         * gdb.threads/attach-stopped.exp: 
620         Replace uses of send_gdb / gdb_expect.
621         * gdb.threads/attachstop-mt.exp: 
622         Replace uses of send_gdb / gdb_expect.
623         * gdb.threads/gcore-thread.exp: 
624         Replace uses of send_gdb / gdb_expect.
625         * gdb.threads/hand-call-in-threads.exp: 
626         Replace uses of send_gdb / gdb_expect.
627         * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
628         * gdb.threads/print-threads.exp: 
629         Replace uses of send_gdb / gdb_expect.
630         * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
631         * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
632         * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
633
634         * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
635         * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
636         * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
637         * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
638         * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
639         * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
640         * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
641         * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
642         * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
643         * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
644         * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
645
646 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
647
648         * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
649
650 2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>
651
652         * gdb.cp/koenig.exp: Added new test case.
653         * gdb.cp/koenig.cc: Ditto.
654
655 2010-06-01  Michael Snyder  <msnyder@vmware.com>
656
657         * gdb.base/arithmet.exp: Use gdb_test_no_output.
658         * gdb.base/arrayidx.exp: Ditto.
659         * gdb.base/attach.exp: Ditto.
660         * gdb.base/auxv.exp: Ditto.
661         * gdb.base/bigcre.exp: Ditto.
662         * gdb.base/break-always.exp: Ditto.
663         * gdb.base/break-interp.exp: Ditto.
664         * gdb.base/break.exp: Ditto.
665         * gdb.base/breakpoint-shadow.exp: Ditto.
666         * gdb.base/call-ar-st.exp: Ditto.
667         * gdb.base/call-sc.exp: Ditto.
668         * gdb.base/call-signal-resume.exp: Ditto.
669         * gdb.base/callfuncs.exp: Ditto.
670         * gdb.base/catch-syscall.exp: Ditto.
671         * gdb.base/charset.exp: Ditto.
672         * gdb.base/code-expr.exp: Ditto.
673         * gdb.base/commands.exp: Ditto.
674         * gdb.base/cond-expr.exp: Ditto.
675         * gdb.base/condbreak.exp: Ditto.
676         * gdb.base/cursal.exp: Ditto.
677         * gdb.base/cvexpr.exp: Ditto.
678         * gdb.base/default.exp: Ditto.
679         * gdb.base/del.exp: Ditto.
680         * gdb.base/detach.exp: Ditto.
681         * gdb.base/display.exp: Ditto.
682         * gdb.base/ena-dis-br.exp: Ditto.
683         * gdb.base/eval-skip.exp: Ditto.
684         * gdb.base/foll-fork.exp: Ditto.
685         * gdb.base/foll-vfork.exp: Ditto.
686         * gdb.base/frame-args.exp: Ditto.
687         * gdb.base/funcargs.exp: Ditto.
688         * gdb.base/gcore-buffer-overflow.exp: Ditto.
689         * gdb.base/gdbvars.exp: Ditto.
690         * gdb.base/help.exp: Ditto.
691         * gdb.base/ifelse.exp: Ditto.
692         * gdb.base/included.exp: Ditto.
693         * gdb.base/list.exp: Ditto.
694         * gdb.base/macscp.exp: Ditto.
695         * gdb.base/maint.exp: Ditto.
696         * gdb.base/multi-fork.exp: Ditto.
697         * gdb.base/overlays.exp: Ditto.
698         * gdb.base/page.exp: Ditto.
699         * gdb.base/pending.exp: Ditto.
700         * gdb.base/pointers.exp: Ditto.
701         * gdb.base/pr11022.exp: Ditto.
702         * gdb.base/prelink.exp: Ditto.
703         * gdb.base/printcmds.exp: Ditto.
704         * gdb.base/psymtab.exp: Ditto.
705         * gdb.base/randomize.exp: Ditto.
706         * gdb.base/relational.exp: Ditto.
707         * gdb.base/relocate.exp: Ditto.
708         * gdb.base/remote.exp: Ditto.
709         * gdb.base/sepdebug.exp: Ditto.
710         * gdb.base/set-lang-auto.exp: Ditto.
711         * gdb.base/setshow.exp: Ditto.
712         * gdb.base/setvar.exp: Ditto.
713         * gdb.base/signals.exp: Ditto.
714         * gdb.base/signull.exp: Ditto.
715         * gdb.base/sigstep.exp: Ditto.
716         * gdb.base/sizeof.exp: Ditto.
717         * gdb.base/solib-disc.exp: Ditto.
718         * gdb.base/store.exp: Ditto.
719         * gdb.base/structs.exp: Ditto.
720         * gdb.base/structs2.exp: Ditto.
721         * gdb.base/subst.exp: Ditto.
722         * gdb.base/term.exp: Ditto.
723         * gdb.base/trace-commands.exp: Ditto.
724         * gdb.base/unwindonsignal.exp: Ditto.
725         * gdb.base/valgrind-db-attach.exp: Ditto.
726         * gdb.base/varargs.exp: Ditto.
727         * gdb.base/watch-cond.exp: Ditto.
728         * gdb.base/watch_thread_num.exp: Ditto.
729         * gdb.base/watchpoint-cond-gone.exp: Ditto.
730         * gdb.base/watchpoint.exp: Ditto.
731         * gdb.base/whatis-exp.exp: Ditto.
732
733 2010-06-01  Michael Snyder  <msnyder@vmware.com>
734
735         * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
736         * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
737         * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
738         * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
739         * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
740         * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
741         * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
742         * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
743         * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
744         * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
745         * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
746         * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
747         * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
748         * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
749         * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
750
751 2010-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
752
753         * gdb.base/commands.exp (begin commands on watch): Remove excessive
754         trailing newline.
755         * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
756         * gdb.java/jmisc.exp (p *args\n): Rename to ...
757         (p *args): ... here and remove excessive trailing newline.
758
759 2010-05-31  Joel Brobecker  <brobecker@adacore.com>
760
761         * gdb.base/subst.exp: Fix call to gdb_test with empty message.
762
763 2010-05-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
764
765         Accept the new Linux kernel "t (tracing stop)" string.
766         * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
767         Update comment.
768         (state_wait) <T (tracing stop)>: New.
769         (main): Update the state_wait expect string.
770
771 2010-05-28  Pedro Alves  <pedro@codesourcery.com>
772
773         * limits.c, limits.exp: Delete files.
774         * Makefile.in (clean mostlyclean): Adjust.
775         * tracecmd.exp: Adjust.
776
777 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
778
779         * gdb.base/tui-layout.exp: New.
780
781 2010-05-28  Michael Snyder  <msnyder@vmware.com>
782
783         * gdb.reverse/break-precsave.exp: 
784         Replace uses of send_gdb / gdb_expect.
785         * gdb.reverse/break-reverse.exp: 
786         Replace uses of send_gdb / gdb_expect.
787         * gdb.reverse/consecutive-precsave.exp: 
788         Replace uses of send_gdb / gdb_expect.
789         * gdb.reverse/consecutive-reverse.exp: 
790         Replace uses of send_gdb / gdb_expect.
791         * gdb.reverse/finish-precsave.exp: 
792         Replace uses of send_gdb / gdb_expect.
793         * gdb.reverse/finish-reverse.exp: 
794         Replace uses of send_gdb / gdb_expect.
795         * gdb.reverse/i386-precsave.exp: 
796         Replace uses of send_gdb / gdb_expect.
797         * gdb.reverse/i386-reverse.exp: 
798         Replace uses of send_gdb / gdb_expect.
799         * gdb.reverse/i386-sse-reverse.exp: 
800         Replace uses of send_gdb / gdb_expect.
801         * gdb.reverse/i387-env-reverse.exp: 
802         Replace uses of send_gdb / gdb_expect.
803         * gdb.reverse/i387-stack-reverse.exp: 
804         Replace uses of send_gdb / gdb_expect.
805         * gdb.reverse/machinestate-precsave.exp: 
806         Replace uses of send_gdb / gdb_expect.
807         * gdb.reverse/machinestate.exp: 
808         Replace uses of send_gdb / gdb_expect.
809         * gdb.reverse/sigall-precsave.exp: 
810         Replace uses of send_gdb / gdb_expect.
811         * gdb.reverse/sigall-reverse.exp: 
812         Replace uses of send_gdb / gdb_expect.
813         * gdb.reverse/solib-precsave.exp: 
814         Replace uses of send_gdb / gdb_expect.
815         * gdb.reverse/solib-reverse.exp: 
816         Replace uses of send_gdb / gdb_expect.
817         * gdb.reverse/step-precsave.exp: 
818         Replace uses of send_gdb / gdb_expect.
819         * gdb.reverse/step-reverse.exp: 
820         Replace uses of send_gdb / gdb_expect.
821         * gdb.reverse/until-precsave.exp: 
822         Replace uses of send_gdb / gdb_expect.
823         * gdb.reverse/until-reverse.exp: 
824         Replace uses of send_gdb / gdb_expect.
825         * gdb.reverse/watch-precsave.exp: 
826         Replace uses of send_gdb / gdb_expect.
827         * gdb.reverse/watch-reverse.exp: 
828         Replace uses of send_gdb / gdb_expect.
829
830 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
831
832         * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
833         excessive newline.
834
835 2010-05-27  Michael Snyder  <msnyder@vmware.com>
836
837         * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
838         * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
839         * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
840         * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
841         * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
842         * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
843         * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
844         * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
845         * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
846         * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
847         * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
848         * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
849         * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
850         * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
851         * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
852         * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
853         * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
854         * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
855         * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
856
857 2010-05-26  Michael Snyder  <msnyder@vmware.com>
858
859         * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
860         * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
861
862         * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
863         * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
864         * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
865
866         * gdb.reverse/consecutive-reverse.exp: 
867         Replace uses of send_gdb / gdb_expect.
868         * gdb.reverse/consecutive-precsave.exp: 
869         Replace uses of send_gdb / gdb_expect.
870
871         * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
872         * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
873         * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
874         * gdb.mi/mi-ns-stale-regcache.exp: 
875         Replace uses of send_gdb / gdb_expect.
876         * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
877         * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
878         * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
879         * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
880         * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
881         * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
882         * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
883         * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
884         * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
885
886 2010-05-26  Michael Snyder  <msnyder@vmware.com>
887
888         * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
889
890         * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
891
892         * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
893         * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
894         * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
895         * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
896         * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
897         * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
898         * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
899         * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
900         * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
901
902 2010-05-25  Tom Tromey  <tromey@redhat.com>
903
904         * gdb.base/macscp.exp: Add missing space after setup_kfail.
905
906 2010-05-25  Tom Tromey  <tromey@redhat.com>
907
908         * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
909         argument order.
910         * gdb.base/macscp.exp: Fix setup_kfail argument order.
911         * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
912         order.
913         * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
914         order.
915         * gdb.base/call-sc.exp (setup_kfails): Remove.
916         (setup_compiler_kfails): Remove.
917         * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
918         argument order.
919         * gdb.base/siginfo.exp: Fix setup_kfail argument order.
920         * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
921         (advancei): Fix setup_kfail argument order.
922         * gdb.base/radix.exp: Fix setup_kfail argument order.
923         * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
924         order.
925         * gdb.base/structs.exp (setup_kfails): Remove.
926         (setup_compiler_kfails): Fix setup_kfail argument order.
927         * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
928         order.
929         * gdb.java/jmain.exp: Fix setup_kfail argument order.
930         * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
931         setup_kfail argument order.
932         * gdb.cp/overload.exp: Fix setup_kfail argument order.
933
934 2010-05-25  Tom Tromey  <tromey@redhat.com>
935
936         * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
937
938 2010-05-25  Michael Snyder  <msnyder@vmware.com>
939
940         * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
941         * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
942         * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
943         * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
944         * gdb.base/assign.exp: Replace send_gdb with gdb_test.
945         * gdb.base/attach.exp: Replace send_gdb with gdb_test.
946         * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
947         * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
948         * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
949         * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
950         * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
951         * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
952         * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
953         * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
954         * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
955         * gdb.base/charset.exp: Replace send_gdb with gdb_test.
956         * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
957         * gdb.base/commands.exp: Replace send_gdb with gdb_test.
958         * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
959         * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
960         * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
961         * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
962         * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
963         * gdb.base/default.exp: Replace send_gdb with gdb_test.
964         * gdb.base/define.exp: Replace send_gdb with gdb_test.
965         * gdb.base/display.exp: Replace send_gdb with gdb_test.
966         * gdb.base/dump.exp: Replace send_gdb with gdb_test.
967         * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
968         * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
969         * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
970         * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
971         * gdb.base/finish.exp: Replace send_gdb with gdb_test.
972         * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
973         * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
974         * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
975         * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
976         * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
977         * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
978         * gdb.base/help.exp: Replace send_gdb with gdb_test.
979         * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
980         * gdb.base/jump.exp: Replace send_gdb with gdb_test.
981         * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
982         * gdb.base/maint.exp: Replace send_gdb with gdb_test.
983         * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
984         * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
985         * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
986         * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
987         * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
988
989 2010-05-25  Doug Evans  <dje@google.com>
990
991         * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
992         gdb.string_to_argv.
993
994 2010-05-21  Tom Tromey  <tromey@redhat.com>
995
996         * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
997         Call it.
998         * gdb.dwarf2/pieces.S: Update.
999         * gdb.dwarf2/pieces.c (struct B): Remove initial field.
1000
1001 2010-05-21  Tom Tromey  <tromey@redhat.com>
1002
1003         * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
1004         Call it.
1005         * gdb.dwarf2/pieces.c (struct C): New.
1006         (f6): New function.
1007         * gdb.dwarf2/pieces.S: Replace.
1008
1009 2010-05-21  Tom Tromey  <tromey@redhat.com>
1010
1011         * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
1012         Call it.
1013
1014 2010-05-21  Tom Tromey  <tromey@redhat.com>
1015
1016         * gdb.dwarf2.pieces.exp: New file.
1017         * gdb.dwarf2.pieces.S: New file.
1018         * gdb.dwarf2.pieces.c: New file.
1019
1020 2010-05-20  Pedro Alves  <pedro@codesourcery.com>
1021             Joel Brobecker  <brobecker@adacore.com>
1022
1023         * lib/gdb.exp (gdb_test_no_output): New function.
1024         * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
1025         when testing commands that should produce no output.
1026
1027 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
1028
1029         * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
1030         parameter that we want to watch being a constant.
1031
1032 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
1033
1034         * gdb.ada/cond_lang: New testcase.
1035
1036 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
1037
1038         * lib/gdb.exp (banned_variables): New variable/constant.
1039         (gdb_init): Add write trace on variables listed in banned_variables.
1040         (gdb_finish): Remove write traces on variables listed in
1041         banned_variables.
1042
1043 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
1044
1045         * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
1046         * gdb.cp/koenig.exp: Likewise.
1047
1048 2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>
1049
1050         PR python/11482
1051
1052         * gdb.python/py-value.exp (test_value_hash): New function.
1053
1054 2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>
1055
1056         PR exp/11530.
1057         * gdb.base/gdb11530.c: New file.
1058         * gdb.base/gdb11530.exp: New file.
1059
1060 2010-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1061
1062         * gdb.dwarf2/dw2-modula2-self-type.exp: New.
1063         * gdb.dwarf2/dw2-modula2-self-type.S: New.
1064
1065 2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
1066
1067         * gdb.cp/koenig.exp: New test.
1068         * gdb.cp/koenig.cc: New test program.
1069
1070 2010-05-05  Joel Brobecker  <brobecker@adacore.com>
1071
1072         Remove the use of prms_id and bug_id throughout the testsuite.
1073
1074 2010-05-04  Pierre Muller  <muller@ics.u-strasbg.fr>
1075
1076         PR exp/11349.
1077         * testsuite/gdb.cp/ref-types.exp: Add test to examine
1078         use a reference local variable.
1079
1080 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1081
1082         * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
1083         * gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
1084         variable different_dir. Move debugfile into a full directory pathname
1085         under DIFFERENT_DIR.
1086         * lib/gdb.exp (separate_debug_filename): Remove.
1087         (gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
1088         variable debug_dir and mkdir of it.  Update function comments.
1089
1090 2010-04-29  Pedro Alves  <pedro@codesourcery.com>
1091
1092         PR gdb/11557
1093
1094         * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
1095         files.
1096
1097 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
1098
1099         * gdb.python/py-param.exp: New File.
1100
1101 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
1102
1103         * gdb.base/default.exp: Fix "set language" test.
1104
1105 2010-04-24  Pierre Muller  <muller@ics.u-strasbg.fr>
1106
1107         PR breakpoints/11531.
1108         * gdb.base/gdb11531.c: New file.
1109         * gdb.base/gdb11531.exp: New file.
1110
1111 2010-04-26  Tom Tromey  <tromey@redhat.com>
1112
1113         * gdb.base/completion.exp: Add tests for completion and deprecated
1114         commands.
1115
1116 2010-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1117
1118         * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
1119         (print /x char_array): Escape curly brackets.
1120
1121 2010-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
1122
1123         Fix deadlock on looped list of loaded shared objects.
1124         * gdb.base/solib-corrupted.exp: New.
1125
1126 2010-04-23  Doug Evans  <dje@google.com>
1127
1128         * gdb.python/py-section-script.c: New file.
1129         * gdb.python/py-section-script.exp: New file.
1130         * gdb.python/py-section-script.py: New file.
1131
1132 2010-04-20  Chris Moller  <cmoller@redhat.com>
1133
1134         PR 10179
1135
1136         * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
1137         * gdb.base/pr10179-a.c:
1138         * gdb.base/pr10179-b.c:
1139         * gdb.base/pr10179.exp: New files.
1140
1141 2010-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
1142
1143         Fix crashes on dangling display expressions.
1144         * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
1145         is SEP.
1146         (lib_flags): Remove the "debug" keyword.
1147         (libsepdebug): New variable for iterating new loop.
1148         (save_pf_prefix): New variable wrapping the loop.
1149         (sep_lib_flags): New variable derived from LIB_FLAGS.  Use it.
1150         * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
1151
1152 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
1153
1154         * gdb.threads/watchthreads.exp: Change to obtain consistent output.
1155
1156 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
1157
1158         PR stabs/11479.
1159         * gdb.stabs/gdb11479.exp: New file.
1160         * gdb.stabs/gdb11479.c: New file.
1161
1162 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
1163
1164         * gdb.base/charset.c (Strin16, String32): New variables.
1165         * gdb.base/charset.exp (gdb_test): Test correct display
1166         of 16 or 32 bit strings.
1167
1168 2010-04-21  Chris Moller  <cmoller@redhat.com>
1169
1170         PR 9167
1171         * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
1172         * gdb.cp/pr9167.cc: New file.
1173         * gdb.cp/pr9167.exp: New file.
1174
1175
1176 2010-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
1177
1178         PR pascal/11492.
1179         * gdb.pascal/gdb11492.pas: New file.
1180         * gdb.pascal/gdb11492.exp: New file.
1181
1182 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
1183
1184         * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
1185
1186 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
1187
1188         * gdb.ada/dyn_loc: New testcase.
1189
1190 2010-04-20  Chris Moller  <cmoller@redhat.com>
1191
1192         PR 10867
1193         
1194         * gdb.cp/Makefile.in  (EXECUTABLES): Added pr10687
1195         * gdb.cp/pr10687.cc: New file.
1196         * gdb.cp/pr10687.exp: New file.
1197
1198
1199 2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
1200             Sergio Durigan Junior  <sergiodj@redhat.com>
1201
1202         * gdb.fortran/logical.exp: New testcase.
1203         * gdb.fortran/logical.f90: New file.
1204
1205 2010-04-19  Doug Evans  <dje@google.com>
1206
1207         * gdb.base/help.exp (help source): Update expected output.
1208
1209 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1210
1211         * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
1212         gdb_reinitialize_dir and gdb_load by clean_restart.  Remove trailing
1213         gdb_exit and return.
1214         (executable): New variable.
1215         (binfile): Use it.
1216
1217 2010-04-19  Pedro Alves  <pedro@codesourcery.com>
1218
1219         PR breakpoints/8554.
1220
1221         * gdb.trace/save-trace.exp: Adjust.
1222
1223 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
1224
1225         PR corefiles/11511
1226         * gdb.arch/system-gcore.exp: New.
1227         * gdb.arch/gcore.c: Likewise.
1228
1229 2010-04-15  Doug Evans  <dje@google.com>
1230
1231         * gdb.python/py-progspace.c: New file.
1232         * gdb.python/py-progspace.exp: New file.
1233
1234         * gdb.base/source.exp: Add tests for "source -s".
1235
1236 2010-04-14  Phil Muldoon  <pmuldoon@redhat.com>
1237
1238         * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
1239         * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
1240         * gdb.python/py-prettyprint.exp: New test for to_string returning None.
1241         * gdb.python/py-mi.exp: New test for to_string returning None.
1242
1243 2010-04-12  Phil Muldoon  <pmuldoon@redhat.com>
1244
1245         * gdb.python/py-breakpoint.c: Make result global.
1246
1247 2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1248
1249         Fix non-GNU make compatibility.
1250         * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
1251
1252 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
1253
1254         * gdb.python/py-breakpoint.exp: New File.
1255         * gdb.python/py-breakpoint.C: Ditto.
1256
1257 2010-04-08  Stan Shebs  <stan@codesourcery.com>
1258
1259         * gdb.trace/actions.exp: Clear default-collect.
1260         * gdb.trace/save-trace.exp: Clear default-collect.
1261
1262 2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
1263
1264         * gdb.python/py-value: Add null string variable.
1265           (test_lazy_string): Test zero length, NULL address lazy
1266           strings.
1267
1268 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
1269
1270         * gdb.arch/i386-avx.c: New.
1271         * gdb.arch/i386-avx.exp: Likewise.
1272
1273         * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
1274
1275 2010-04-06  Doug Evans  <dje@google.com>
1276
1277         * gdb.base/source-test.gdb: New file.
1278         * gdb.base/source.exp: Test source -v.
1279
1280 2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1281
1282         * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
1283
1284 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
1285
1286         * gdb.stabs/aout.sed: Convert all backslash to double backslash
1287         within one line, unless it is followed by a double quote.
1288         * gdb.stabs/hppa.sed: Idem.
1289         * gdb.stabs/weird.def: Add char and String constants
1290         * gdb.stabs/weird.exp: Check for correct parsing of 
1291         chhar and string constants.
1292         * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
1293         in .stabs to .stabx substitution.
1294
1295 2010-04-05  Stan Shebs  <stan@codesourcery.com>
1296
1297         * gdb.trace/tfile.c: Add a variable split across two blocks, and a
1298         constant global.
1299         * gdb.trace/tfile.exp: Try to print them.
1300
1301 2010-04-04  Stan Shebs  <stan@codesourcery.com>
1302
1303         * gdb.base/completion.exp: Update for new "info watchpoints".
1304         * gdb.base/default.exp: Ditto.
1305         * gdb.base/help.exp: Ditto.
1306         * gdb.base/watchpoint.exp: Ditto.
1307         * gdb.trace/infotrace.exp: Update "info tracpoints" output.
1308         
1309 2010-04-04  Stan Shebs  <stan@codesourcery.com>
1310
1311         * gdb.trace/tfile.exp: Sharpen tfind test.
1312
1313 2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1314
1315         * gdb.base/break-entry.exp: New.
1316
1317 2010-04-02  Hui Zhu  <teawater@gmail.com>
1318             Michael Snyder <msnyder@vmware.com>
1319
1320         * gdb.reverse/i386-sse-reverse.exp: New file.
1321         * gdb.reverse/i386-sse-reverse.c: New file.
1322
1323 2010-04-02  Pedro Alves  <pedro@codesourcery.com>
1324
1325         * gdb.trace/tfind.exp: Adjust expected disassembly output.
1326
1327 2010-04-01  Stan Shebs  <stan@codesourcery.com>
1328
1329         * gdb.trace/actions.exp: Tweak expected output.
1330         * gdb.trace/while-stepping.exp: Tweak expected output.
1331
1332 2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
1333
1334         * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
1335
1336 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
1337
1338         * gdb.base/commands.exp: Adjust.
1339         * gdb.cp/extern-c.exp: Adjust.
1340
1341 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
1342
1343         * gdb.trace/collection.c (local_test_func): Define a local struct,
1344         and instanciate it.
1345
1346 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
1347
1348         * gdb.trace/collection.exp (gdb_collect_args_test)
1349         (gdb_collect_argarray_test): XFAIL the tests that assume the
1350         argarray argument's elements are collected.
1351
1352 2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
1353
1354         * gdb.dwarf2/dw2-bad-parameter-type.exp,
1355         gdb.dwarf2/dw2-bad-parameter-type.S: New.
1356
1357 2010-03-31  Stan Shebs  <stan@codesourcery.com>
1358
1359         * gdb.trace/save-trace.exp: Test save/restore of default-collect
1360         and tracepoint conditionals.
1361         (gdb_verify_tracepoints): Delete unused return.
1362
1363 2010-03-26  Keith Seitz  <keiths@redhat.com>
1364
1365         * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
1366         appear in the output before main.
1367         Remove KFAIL for gdb/2215 aka bz 9320.
1368
1369 2010-03-30  Doug Evans  <dje@google.com>
1370
1371         * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
1372         by dejagnu.
1373         * gdb.arch/amd64-dword.exp: Ditto.
1374
1375         * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
1376         match.
1377         (break printf): Ditto.
1378
1379 2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
1380
1381         * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
1382         gcc < 4.4.
1383         * gdb.cp/shadow.exp: Ditto.
1384
1385 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
1386
1387         * gdb.trace/collection.exp (run_trace_experiment): Make sure
1388         "tstart" is silent.
1389
1390 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
1391
1392         * gdb.trace/collection.exp (executable): New.
1393         (binfile): Use it.
1394         (fpreg, spreg, pcreg): New.
1395         (test_register): Use gdb_test_multiple.  Pass /x to print.
1396         (prepare_for_trace_test): New.
1397         (run_trace_experiment): Use "continue", not gdb_run_cmd.
1398         (gdb_collect_args_test, gdb_collect_argstruct_test)
1399         (gdb_collect_argarray_test, gdb_collect_locals_test): Use
1400         prepare_for_trace_test.
1401         (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
1402         fpreg, spreg and pcreg.
1403         (gdb_collect_expression_test, gdb_collect_globals_test): Use
1404         prepare_for_trace_test.
1405         (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
1406         try to detect tracing support here.  Don't set breakpoints at
1407         `begin' or `end' here.
1408         <global scope>: Use clean_restart.  Run to main before checking
1409         for tracing support.  Check for for tracing support here.
1410
1411 2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1412
1413         * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
1414         " as $displacement" to "seen displacement message".
1415
1416 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
1417
1418         * gdb.trace/while-dyn.exp (executable): New variable.
1419         (binfile): Use it.
1420         (test_while_stepping): New function.  Move most tests here.  Call
1421         it once for each of the while-stepping, stepping and ws aliases.
1422
1423 2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1424
1425         * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
1426         that do not provide the tagless_struct type name at all.
1427         (test_print_anon_union): Do not check value of uninitialized
1428         union member.  Do not use cp_test_ptype_class, so we can accept
1429         "long" as well as "long int".
1430
1431 2010-03-26  Pedro Alves  <pedro@codesourcery.com>
1432
1433         * gdb.trace/tfile.c (tohex, bin2hex): New.
1434         (write_error_trace_file): Hexify error description.
1435
1436 2010-03-25  Stan Shebs  <stan@codesourcery.com>
1437
1438         * gdb.trace/tfile.c: Generate an additional trace file, improve
1439         portability.
1440         * gdb.trace/tfile.exp: Test trace file with an error stop, delete
1441         files in a better way.
1442
1443 2010-03-25  Keith Seitz  <keiths@redhat.com>
1444
1445         * gdb.java/jprint.exp: XFAIL printing of static class members
1446         because of GCC debuginfo problem.
1447
1448 2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1449
1450         * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
1451
1452 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
1453
1454         * gdb.base/completion.exp: Allow long instead of long int.
1455         * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
1456         * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
1457         variable p.
1458         * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
1459         * gdb.base/pointers.exp: Allow long instead of long int.
1460         * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
1461         * gdb.base/step-line.exp: Allow a directory before the source file name.
1462
1463 2010-03-24  Tom Tromey  <tromey@redhat.com>
1464
1465         PR breakpoints/9352:
1466         * gdb.base/default.exp: Update.
1467         * gdb.base/commands.exp: Update.
1468         * gdb.cp/extern-c.exp: Test setting commands on multiple
1469         breakpoints at once.
1470
1471 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
1472
1473         * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
1474         if gdb,nosignals.
1475         * gdb.base/watchpoints.c: Do not include unnecessary headers.
1476         * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
1477         exited".
1478
1479 2010-03-24  Stan Shebs  <stan@codesourcery.com>
1480
1481         * gdb.trace/tfile.exp: Expect "trace frame", with a space.
1482
1483 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
1484
1485         * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
1486         * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
1487         argument.  Handle "short" and "long".
1488         (Top level): Pass overprototyped output for old_fptr and xptr.
1489
1490 2010-03-23  Pedro Alves  <pedro@codesourcery.com>
1491
1492         * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
1493         format strings and add casts to avoid compiler warnings.
1494
1495 2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
1496
1497         * lib/trace-support.exp (gdb_trace_setactions):
1498         Don't expect whitespace after ">" prompt.
1499         * gdb.trace/actions.exp: Adjust for output changes.
1500         * gdb.trace/while-stepping.exp: Likewise.
1501
1502 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
1503
1504         * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
1505         and r157645).
1506
1507 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
1508
1509         * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
1510         New.
1511
1512 2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
1513
1514         * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
1515         * gdb.python/py-mi.exp (binfile): Rename to py-mi.
1516
1517 2010-03-19  Stan Shebs  <stan@codesourcery.com>
1518
1519         * gdb.trace/ax.exp: New file.
1520
1521 2010-03-19  Doug Evans  <dje@google.com>
1522
1523         * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
1524         output from gcc.
1525
1526         * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
1527         named /usr/sbin/prelink<foo>.
1528
1529 2010-03-18  Stan Shebs  <stan@codesourcery.com>
1530
1531         * gdb.trace/circ.exp: Test circular-trace-buffer.
1532         * gdb.trace/tfile.exp: Update tstatus test.
1533
1534 2010-03-18  Joel Brobecker  <brobecker@adacore.com>
1535
1536         * gdb.dwarf2/dw2-anonymous-func.S: New file.
1537         * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
1538
1539 2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1540
1541         * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
1542
1543 2010-03-18  Pedro Alves  <pedro@codesourcery.com>
1544
1545         * gdb.base/default.exp: Adjust the expected output of the finish
1546         and until commands when the inferior is not being run.
1547
1548 2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
1549
1550         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
1551         * gdb.cp/nsusing.exp: Ditto.
1552
1553 2010-03-15  Tom Tromey  <tromey@redhat.com>
1554
1555         * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
1556         * gdb.cp/userdef.cc (operator==): New function.
1557         (main): New locals mem1, mem2.
1558
1559 2010-03-15  Jie Zhang  <jie@codesourcery.com>
1560
1561         * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
1562         Declare and use new loadtimeout variable.
1563
1564 2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
1565
1566         * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
1567         Use gdb_load later.
1568
1569 2010-03-14  Pedro Alves  <pedro@codesourcery.com>
1570
1571         * gdb.base/solib-disc.c (main): Make format of fprintf a string
1572         literal.  Add missing endlines to prints to stderr.
1573
1574 2010-03-12  Tom Tromey  <tromey@redhat.com>
1575
1576         PR c++/9708:
1577         * gdb.cp/m-static.exp: Add regression test.
1578         * gdb.cp/m-static.cc (method): New method.
1579         (main): Call it.
1580
1581 2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
1582
1583         * gdb.cp/gdb2384-base.h: Created 'namespace B'.
1584         * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
1585
1586 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
1587
1588         * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
1589
1590 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
1591
1592         * lib/gdb.exp (skip_stl_tests): New.
1593         (gdb_compile): Symbian needs -ldl.
1594         (shlib_target_file): New.
1595         (shlib_symbol_file): New.
1596         (gdb_load_shlibs): Use shlib_target_file.
1597         * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
1598         * gdb.cp/exception.exp: Use skip_stl_tests.
1599         * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
1600         * gdb.cp/try_catch.exp: Use skip_stl_tests.
1601         * gdb.cp/mb-templates.exp: Ditto.
1602         * gdb.base/commands.exp: Relax regexes.
1603         * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
1604         shlib_target_file and shlib_symbol_file.
1605         * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
1606         sections.
1607         * gdb.base/ending-run.exp: Accept E32Main for symbian.
1608         * gdb.base/solib-disc.exp: Use
1609         shlib_target_file and shlib_symbol_file.
1610         * gdb.base/unload.exp: Don't skip on symbian.  Use
1611         shlib_target_file and shlib_symbol_file.
1612         * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
1613
1614 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
1615  
1616         * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
1617         * gdb.trace/report.exp: Adjust for x86 and x86_64.
1618         Issue a tfind end before looking for a tracepoint frame.
1619         * gdb.trace/tfind.exp: Adjust tstatus output.
1620         Adjust disassembly output.
1621         * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
1622
1623 2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1624
1625         * gdb.base/break-interp.exp: Create new displacement parameter value
1626         for the test_ld calls.
1627         (reach): New parameter displacement, verify its content.  New push of
1628         pf_prefix "reach-$func:".  Import global expect_out.
1629         (test_core): New parameter displacement, verify its content.  New push
1630         of pf_prefix "core:".  New command "set verbose on".  Import global
1631         expect_out.
1632         (test_attach): New parameter displacement, verify its content.  New
1633         push of pf_prefix "attach:".  New command "set verbose on".  Import
1634         global expect_out.
1635         (test_ld): New parameter displacement, pass it to the reach, test_core
1636         and test_attach calls and verify its content in the "ld.so exit" test.
1637         * gdb.base/prelink.exp: Remove gdb_exit and final return.
1638         (prelink): Update expected text, use gdb_test.
1639
1640 2010-03-10  Doug Evans  <dje@google.com>
1641
1642         * gdb.base/checkpoint.exp: Fix comment.
1643         Lengthen timeout while doing >600 checkpoints test.
1644         Rename duplicate "kill all one" test to keep test names unique.
1645
1646 2010-03-10  Pedro Alves  <pedro@codesourcery.com>
1647
1648         * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
1649
1650 2010-03-08  Keith Seitz  <keiths@redhat.com>
1651
1652         * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
1653         * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
1654         (dm_type_long): New function.
1655         (dm_type_unsigned_short): New function.
1656         (dm_type_unsigned_long): New function.
1657         (myint): New typedef.
1658         * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
1659         long, unsigned shor and long, operator char*, and typedef.
1660         (test_lookup_operator_functions): Add operator char* test.
1661         (test_paddr_operator_functions): Likewise.
1662         (test_paddr_overloaded_functions): Use probe values for
1663         short, long, and unsigned short and long.
1664         (test_paddr_hairy_functions): If the demangler probe detected
1665         gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
1666         demangler.
1667         * gdb.cp/expand-sals.exp: Backtrace may contain class names.
1668         * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
1669         and "print null_pmf".
1670         Add test "ptype a.*pmf".
1671         * gdb.cp/overload.exp: Allow optional "int" to appear with
1672         "short" and "long".
1673         * gdb.cp/ovldbreak.exp: Use append to construct super-duper
1674         long expect value for men_overload1arg.
1675         Allow "int" to appear with "short" and "long".
1676         When testing "info break", add argument for main (void).
1677         Also allow "int" to appear with "short" and "long".
1678         Ditto with "unsigned" and "long long".
1679         * gdb.java/jmain.exp: Do not enclose methods names in single
1680         quotes.
1681         * gdb.java/jmisc.exp: Likewise.
1682         * gdb.java/jprint.exp: Likewise.
1683         * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
1684
1685         From Jan Kratochvil  <jan.kratochvil@redhat.com>:
1686         * gdb.cp/exception.exp (backtrace after first throw)
1687         (backtrace after second throw): Allow a namespace before __cxa_throw.
1688         (backtrace after first catch, backtrace after second catch): Allow
1689         a namespace before __cxa_begin_catch.
1690
1691         * gdb.cp/cpexprs.exp: New file.
1692         * gdb.cp/cpexprs.cc: New file.
1693
1694         From Daniel Jacobowitz  <dan@codesourcery.com>
1695         * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
1696         to use string_to_regexp.
1697         (ctor, dtor): New functions.  Use them to match constructor
1698         and destructor function types.
1699         (Top level): Use runto_main.
1700
1701 2010-03-05  Tom Tromey  <tromey@redhat.com>
1702
1703         * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
1704         gdb.target_charset.
1705         (pp_ns.to_string): Likewise.
1706
1707 2010-03-04  Keith Seitz  <keiths@redhat.com>
1708
1709         * gdb.cp/overload.exp: Test that the filename portion of a linespec
1710         can be quoted.  Test that both the filename and function/line
1711         portions can be quoted at the same time.
1712
1713 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
1714
1715         * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
1716
1717 2010-03-03  Doug Evans  <dje@google.com>
1718
1719         * lib/gdb.exp (gdb_compile_pthreads): Handle case where
1720         libc contains libpthread.
1721
1722         * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
1723         * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
1724         of gdb_compile.  Add another pattern to match android backtrace.
1725
1726 2010-03-03  Tom Tromey  <tromey@redhat.com>
1727
1728         PR gdb/11345:
1729         * gdb.base/printcmds.exp (test_printf): Add test.
1730
1731 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
1732
1733         * gdb.arch/amd64-byte.exp: New.
1734         * gdb.arch/amd64-dword.exp: Likewise.
1735         * gdb.arch/amd64-pseudo.c: Likewise.
1736         * gdb.arch/amd64-word.exp: Likewise.
1737         * gdb.arch/i386-byte.exp: Likewise.
1738         * gdb.arch/i386-pseudo.c: Likewise.
1739         * gdb.arch/i386-word.exp: Likewise.
1740
1741 2010-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
1742
1743         * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
1744         types.  Add structreg, bitfields, and flags registers.
1745         * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
1746         registers.
1747
1748 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1749
1750         * gdb.xml/tdesc-regs.exp (architecture): New.  Set it for x86.
1751         (load_description): Set architecture if defined.
1752
1753 2010-02-28  Phil Muldoon  <pmuldoon@redhat.com>
1754
1755         * gdb.python/py-frame.exp: Add read_var block tests.
1756         * gdb.python/py-frame.c (block): New function.
1757
1758 2010-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1759             Daniel Jacobowitz  <dan@codesourcery.com>
1760
1761         * gdb.base/callfuncs.exp: New tests for $spval 0 and -1.  Remove return.
1762
1763 2010-02-25  David S. Miller  <davem@davemloft.net>
1764
1765         * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
1766         fix logic for setting all_syscalls_numbers.
1767
1768 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
1769
1770         * Makefile.in: Add py-block and py-symbol.
1771         * gdb.python/py-symbol.exp: New File.
1772         * gdb.python/py-symtab.exp: New File.
1773         * gdb.python/py-block.exp: New File.
1774         * gdb.python/py-symbol.c: New File.
1775         * gdb.python/py-block.c: New File.
1776
1777 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
1778
1779         PR python/11314
1780         * lib/gdb.exp (skip_python_tests): New function.
1781         * gdb.python/py-cmd.exp: Use skip_python_tests.
1782         * gdb.python/py-frame.exp: Likewise.
1783         * gdb.python/py-function.exp: Likewise.
1784         * gdb.python/py-prettyprint.exp: Likewise.
1785         * gdb.python/py-template.exp: Likewise.
1786         * gdb.python/py-type.exp: Likewise.
1787         * gdb.python/py-value.exp: Likewise.
1788
1789 2010-02-22  Pedro Alves  <pedro@codesourcery.com>
1790
1791         PR9605
1792
1793         * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
1794
1795 2010-02-19  Tom Tromey  <tromey@redhat.com>
1796
1797         PR c++/8693, PR c++/9496:
1798         * gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
1799         regression tests.
1800
1801 2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1802
1803         Fix compatibility with m68k as.
1804         * gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
1805         Use only /* comments */.
1806
1807 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1808
1809         * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
1810         * configure: Regenerate.
1811
1812 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
1813
1814         * gdb.python/py-type.exp: Check for Python support.
1815
1816 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
1817
1818         * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
1819         `regsub' syntax available.
1820
1821 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
1822
1823         * gdb.base/shmain.c (main): Remove printf call.
1824         * gdb.base/sizeof.c (main): Cast return of sizeof to int.
1825         * gdb.base/unload.c (main): Make format of fprintf a string
1826         literal.  Add missing endlines to prints to stderr.
1827         * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
1828
1829 2010-02-17  Tom Tromey  <tromey@redhat.com>
1830
1831         * gdb.java/jprint.java (jprint.props): New field.
1832         * gdb.java/jprint.exp (set_lang_java): Add regression test.
1833
1834 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
1835
1836         * gdb.base/charset.exp: Don't assume new `regsub' syntax
1837         available.
1838
1839 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
1840
1841         * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
1842         creation to support remote host testing.
1843
1844 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
1845
1846         * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
1847         Recognize "command not found".
1848
1849 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
1850
1851         * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
1852         single-stepping.
1853
1854 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
1855
1856         * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
1857         if arguments are not supported.
1858
1859 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
1860
1861         * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
1862         be const or non-const.
1863
1864 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
1865
1866         * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
1867         mi_send_resuming_command to send -exec-continue.
1868
1869 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
1870
1871         * gdb.base/list.exp (test_list_filename_and_function): Add test
1872         with single quotes.
1873         * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
1874         matching.
1875         * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
1876         Add KFAIL'd tests for PR gdb/11289.
1877
1878 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
1879
1880         * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
1881
1882 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
1883
1884         * gdb.base/comp-dir/subdir/dummy.txt: New file.
1885         * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
1886         a temporary directory.
1887
1888 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
1889
1890         * gdb.base/charset.exp: Use a single regular expression to match
1891         show host-charset and show target-charset output.
1892
1893 2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1894
1895         * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
1896         "Illegal process-id" expect string more exact.
1897         (attach to digits-starting nonsense is prohibited): New.
1898
1899 2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1900
1901         * gdb.base/prelink.exp (set verbose on): New.
1902
1903 2010-02-12  Tomas Holmberg <th@virtutech.com>
1904
1905         * mi-reverse.exp: New file. Test for reverse option to the
1906         following MI commands: exec-continue, exec-finish, exec-next,
1907         exec-step, exec-next-instruction, exec-step-instruction.
1908         
1909 2010-02-09  Joel Brobecker  <brobecker@adacore.com>
1910
1911         * gdb.ada/ptype_tagged_param: New testcase.
1912
1913 2010-02-08  Tom Tromey  <tromey@redhat.com>
1914
1915         PR c++/8017:
1916         * gdb.cp/overload.exp: Add tests.
1917         * gdb.cp/overload.cc (struct K): New.
1918         (namespace N): New.
1919         (main): Call new functions.
1920         (K::staticoverload): Define.
1921
1922 Mon Feb  8 13:18:22 2010  Chris Moller  <moller@mollerware.com>
1923
1924         PR gdb/10728
1925         * gdb.cp/pr10728-x.h: New file.
1926         * gdb.cp/pr10728-x.cc: New file.
1927         * gdb.cp/pr10728-y.cc: New file.
1928         * gdb.cp/pr10728.exp: New file.
1929         * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
1930
1931 Mon Feb  8 12:54:54 2010  Chris Moller  <moller@mollerware.com>
1932
1933         PR gdb/9067
1934         * gdb.cp/pr9067.exp:  New
1935         * gdb.cp/pr9067.cc:   New
1936         * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
1937
1938 2010-02-08  Joel Brobecker  <brobecker@adacore.com>
1939
1940         * lib/gdb.exp (gdb_test_timeout): New global variable.
1941         Set it to timeout if not already set.
1942         (gdb_init): Reset the value of timeout to gdb_test_timeout.
1943
1944 2010-02-05  Doug Evans  <dje@google.com>
1945
1946         * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
1947         user.
1948
1949 2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
1950
1951         PR c++/7935:
1952         * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
1953
1954 2010-02-04  Tom Tromey  <tromey@redhat.com>
1955
1956         * gdb.cp/virtbase.exp: Make test case names unique.
1957
1958 2010-02-02  Tom Tromey  <tromey@redhat.com>
1959
1960         * gdb.cp/virtbase.exp: Add regression tests.
1961         * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
1962         (main): Instantiate RHC.
1963
1964 2010-02-02  Tom Tromey  <tromey@redhat.com>
1965
1966         * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
1967         type-printing change.
1968
1969 2010-02-02  Tom Tromey  <tromey@redhat.com>
1970
1971         PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
1972         * gdb.cp/virtbase.cc: New file.
1973         * gdb.cp/virtbase.exp: New file.
1974         * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
1975
1976 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1977
1978         PR libc/11214:
1979         * gdb.threads/current-lwp-dead.c: Include features.h.
1980         (HAS_NOMMU): New.
1981         (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
1982
1983 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1984
1985         * gdb.base/symbol-without-target_section.exp,
1986         gdb.base/symbol-without-target_section.c: New.
1987
1988 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
1989
1990         * gdb.base/bigcore.exp: Reset increased timeout.
1991         * gdb.base/interrupt.exp: Match unexpected gdb prompt.
1992
1993 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
1994
1995         * gdb.base/gcore.exp (capture_command_output): Use
1996         gdb_test_multiple.
1997
1998 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
1999
2000         * gdb.arch/thumb2-it.S (it_breakpoints): New function.
2001         * gdb.arch/thumb2-it.exp (test_it_break): New function.
2002         (Top level): Call it.
2003
2004 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
2005
2006         * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
2007
2008 2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
2009
2010         * gdb.base/call-strs.exp, gdb.base/default.exp,
2011         gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
2012         gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
2013         gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
2014         gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
2015         gdb.base/watchpoint-solib.exp: Save and restore timeout.
2016         * gdb.base/ending-run.exp: Correct restore of timeout.
2017         * gdb.base/page.exp: Remove unnecessary timeout setting.
2018
2019 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
2020
2021         * gdb.ada/rec_return: New testcase.
2022
2023 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
2024
2025         * gdb.ada/call_pn: New testcase.
2026
2027 2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
2028
2029         * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
2030         (Top level): Use it to resume.
2031         * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
2032         the Thumb mode displaced stepping error as unsupported.
2033
2034 2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
2035
2036     * gdb.cp/nsusing.exp: Added more tests.
2037     * gdb.cp/nsrecurs.exp: Ditto.
2038     * gdb.cp/nsusing.cc: Added test functions.
2039     * gdb.cp/nsrecurs.cc: Ditto.
2040
2041 2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2042
2043         * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
2044         absolute directory pathnames in gdb.sum file.
2045
2046 2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
2047
2048         * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
2049         * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
2050
2051 2010-01-26  Tom Tromey  <tromey@redhat.com>
2052
2053         PR exp/7643:
2054         * gdb.base/printcmds.exp (test_print_string_constants): Remove
2055         setup_kfail.
2056
2057 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
2058
2059         * gdb.cp/nsrecurs.exp: New test.
2060         * gdb.cp/nsrecurs.cc: New test program.
2061         * gdb.cp/nsstress.exp: New test.
2062         * gdb.cp/nsstress.cc: New test program.
2063         * gdb.cp/nsdecl.exp: New test.
2064         * gdb.cp/nsdecl.cc: New test program.
2065
2066 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
2067
2068         * gdb.cp/namespace-using.exp: Add test for printing of namespaces
2069         imported into file scope.
2070         Marked test as xfail.
2071         * gdb.cp/namespace-using.cc (marker5): New function.
2072         * gdb.cp/shadow.exp: New test.
2073         * gdb.cp/shadow.cc: New test program.
2074         * gdb.cp/nsimport.exp: New test.
2075         * gdb.cp/nsimport.cc: New test program.
2076
2077 2010-01-25  Tom Tromey  <tromey@redhat.com>
2078
2079         PR gdb/11049:
2080         * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
2081         with "set print null-stop on".
2082
2083 2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2084
2085         * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
2086         Adjust it for DISASSEMBLY_OMIT_FNAME.
2087
2088 2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
2089
2090         PR symtab/11199:
2091         * gdb.dwarf2/member-ptr-forwardref.exp,
2092         gdb.dwarf2/member-ptr-forwardref.S: New.
2093
2094 2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2095
2096         * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
2097         (thread1_func): Protect thread1_tid with thread1_tid_cond by
2098         thread1_tid_mutex.  Remove gdbstop_mutex handling.
2099         (thread2_func): Protect thread2_tid with thread2_tid_cond by
2100         thread2_tid_mutex.  Remove gdbstop_mutex handling.
2101         (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
2102         pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
2103         pthread_cond_wait conditionalizations by while loops.
2104
2105 2010-01-20  Tom Tromey  <tromey@redhat.com>
2106
2107         PR backtrace/10770:
2108         * gdb.dwarf2/pr10770.exp: New file.
2109         * gdb.dwarf2/pr10770.c: New file.
2110         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
2111
2112 2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
2113
2114         * gdb.mi/mi-async.exp: Remove check for 'async' target, because
2115         that target was removed, and the test always runs native anyway.
2116
2117 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
2118
2119         * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
2120         gdb.base/watchpoint-cond-gone-stripped.c: New.
2121
2122 2010-01-19  Tom Tromey  <tromey@redhat.com>
2123
2124         PR c++/8000:
2125         * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
2126         existing tests.
2127         * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
2128         (main): Use AAA::SomeEnum.
2129
2130 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
2131
2132         * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
2133         (test_ignore_count): Declare line_callme_body global.
2134         (run to breakpoint with ignore count): Use line_callme_body.
2135         * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
2136         (set line_main_hello, set line_main_return): Reindent.
2137         (set line_callee4_head, set line_callee4_body, set line_callee4_next):
2138         New.
2139         (continue to callee4): Use line_callee4_body.
2140         (check *stopped from CLI command): Use line_callee4_next.
2141         * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
2142         (set line_main_hello, set line_main_return): Reindent.
2143         (set line_callee4_head, set line_callee4_body): New.
2144         (continue to callee4): Use line_callee4_body.
2145
2146 2010-01-18  Tom Tromey  <tromey@redhat.com>
2147
2148         PR c++/9680:
2149         * gdb.cp/casts.cc: Add new classes and variables.
2150         * gdb.cp/casts.exp: Test new operators.
2151
2152 2010-01-18  Tom Tromey  <tromey@redhat.com>
2153             Thiago Jung Bauermann  <bauerman@br.ibm.com>
2154
2155         * gdb.python/source2.py: New file.
2156         * gdb.python/source1: New file.
2157         * gdb.python/python.exp: Test "source" command.
2158
2159 2010-01-15  Stan Shebs  <stan@codesourcery.com>
2160
2161         * gdb.trace/tfile.c: New file.
2162         * gdb.trace/tfile.exp: New file.
2163         
2164 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
2165
2166         * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
2167
2168 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
2169
2170         * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
2171
2172 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
2173
2174         * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
2175         (libfunc): New parameter action.  Implement also selectable "sleep".
2176         * gdb.base/break-interp-main.c: Include assert.h.
2177         (libfunc): New parameter action.
2178         (main): New parameters argc and argv.  Assert argc.  Pass argv.
2179         * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
2180         (test_attach): New proc.
2181         (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
2182         * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
2183
2184 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
2185
2186         * gdb.base/break-interp.exp (test_core): New proc.
2187         (test_ld): Call it.
2188
2189 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
2190
2191         * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
2192         * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
2193         New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
2194         and gdb_compile_shlib.  Use new -Wl compiler options.
2195         (dl bt, main bt): New tests.
2196
2197 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
2198
2199         Support PIEs with no symfile_objfile.
2200         * gdb.base/break-interp.exp: New argument at the test_ld calls.
2201         (test_ld): New parameter trynosym.
2202         (test_ld <$trynosym>): New block.
2203
2204 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
2205
2206         * gdb.base/break-interp.exp: New file.
2207
2208 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
2209
2210         * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
2211         * gdb.python/py-prettyprint.py (pp_ls): New printer.
2212         * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
2213         test.
2214         * gdb.python/py-prettyprint.c: Define lazystring test structure.
2215         * gdb.python/py-mi.exp: Add lazy string test.
2216
2217 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
2218
2219         * lib/mi-support.exp (mi_check_thread_states): Handle
2220         core number in thread listing.
2221
2222 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
2223
2224         * gdb.base/maint.exp: Adjust the expected output for the
2225         "maint print type" test. Use gdb_test_multiple instead of
2226         gdb_sent/gdb_expect.
2227
2228 2010-01-11  Doug Evans  <dje@google.com>
2229
2230         * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
2231         from gdbserver_download.  All callers updated.
2232
2233         * gdb.server/ext-run.exp: "info os processes" requires xml support.
2234
2235 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2236
2237         Implement binary numbers parsing.
2238         * gdb.base/printcmds.exp (test_integer_literals_accepted)
2239         (test_integer_literals_rejected): New binary tests.
2240
2241 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2242
2243         * gdb.cell/configure: Regenerate.
2244
2245 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2246
2247         * gdb.base/corefile.exp: Move the core finding block out and call it as
2248         core_find, new variable $corefile, replace corefile by $corefile and
2249         [file tail $corefile] for usage vs. test names resp.
2250         * lib/gdb.exp (core_find): Move it as a new function here.  New
2251         parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
2252         $destcore.  Return "" on error.
2253
2254 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2255
2256         Workaround PR binutils/10802.
2257         * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
2258         (twice).
2259
2260 2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
2261
2262         * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
2263
2264 2010-01-08  Joel Brobecker  <brobecker@adacore.com>
2265
2266         * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
2267         call, to avoid interruption.
2268
2269 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2270
2271         * gdb.stabs/weird.def (args93): New.
2272
2273 2010-01-07  Doug Evans  <dje@google.com>
2274
2275         * lib/gdb.exp (gdb_skip_xml_test): Add comment.
2276
2277 2010-01-07  Tom Tromey  <tromey@redhat.com>
2278
2279         * gdb.base/source.exp: Use correct line number.
2280
2281 2010-01-05  Stan Shebs  <stan@codesourcery.com>
2282
2283         * gdb.trace/tracecmd.exp: Test ftrace.
2284
2285 2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2286
2287         * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
2288
2289 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
2290
2291         * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
2292         "uint_for_mi_testing".
2293
2294 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
2295
2296         Test indented comment in file being sourced.
2297         * gdb.base/commands.exp: Test indented comment in file being sourced.
2298
2299 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
2300
2301         * gdb.fortran/array-element.f, gdb.fortran/complex.f,
2302         gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
2303         gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
2304         notice.
2305
2306 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
2307
2308         * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
2309         notice.
2310
2311 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2312
2313         * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
2314         missing $after_stopped and comma (,) expectation.
2315
2316 2009-12-31  Stan Shebs  <stan@codesourcery.com>
2317
2318         * gdb.trace/actions.exp: Test teval action.
2319         
2320 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2321
2322         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
2323         (top level): Call test_watchpoint_in_big_blob.
2324         * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
2325         watchpoints.
2326         (func3): Write to buf.
2327
2328 2009-12-29  Stan Shebs  <stan@codesourcery.com>
2329
2330         * gdb.trace/actions.exp: Test default-collect.
2331         
2332 2009-12-28  Stan Shebs  <stan@codesourcery.com>
2333
2334         * gdb.trace/tsv.exp: New file.
2335         * gdb.base/completion.exp: Update ambiguous info output.
2336         
2337 2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
2338
2339         * gdb.base/find.c (main): Reference search buffers.
2340         * gdb.base/included.c (main): Reference integer.
2341         * gdb.base/ptype.c (charfoo): Declare.
2342         (intfoo): Call charfoo.
2343         * gdb.base/scope0.c (useitp): New function.
2344         (usestatics): Use useitp.
2345         (useit): Add a type for val.
2346         * gdb.base/scope1.c (useit1): Take a pointer argument.
2347         (usestatics1): Update calls to useit1.
2348         * gdb.cp/call-c.cc: Declare foo.
2349         (main): Call foo.
2350         * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
2351         * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
2352         (main): Call C::ensureRefs and ensureOtherRefs.
2353         * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
2354         variables.
2355         (ensureOtherRefs): New function.
2356         * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
2357         * gdb.cp/templates.cc (main): Call t5i.value.
2358
2359 2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2360
2361         Fix compatibility with G++-4.5.
2362         * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
2363         * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
2364         (uncaught return): Remove.
2365
2366 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
2367             Phil Muldoon  <pmuldoon@redhat.com>
2368
2369         * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
2370         (bp_location13, bp_location14, bp_location17, bp_location18)
2371         (marker3_proto, marker4_proto): New variables.
2372         (breakpoint info): Update output.
2373         (run until breakpoint at marker3, run until breakpoint at marker4): New
2374         tests.
2375
2376 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
2377
2378         * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
2379         Replace the printf call of Y by provided "y-set-1" label.  New block
2380         for the second shared library.
2381         * gdb.base/unload.exp: Compile also the second library, call
2382         gdb_load_shlibs also for it.  Use now gdb_breakpoint.
2383         (single pending breakpoint info): Rename to ...
2384         (pending breakpoint info before run): ... this extended test.
2385         (libfile2, libname2, libsrcfile2, libsrc2)
2386         (lib_sl2): New variables.
2387         (exec_opts): Set also SHLIB_NAME2.
2388         (pending breakpoint info on first run at shrfunc1)
2389         (pending breakpoint info on second run at shrfunc1)
2390         (pending breakpoint info on second run at shrfunc2)
2391         (print y from libfile, print y from libfile2): New tests.
2392         * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
2393         * gdb.base/unloadshr2.c: New.
2394
2395 2009-12-22  Hui Zhu  <teawater@gmail.com>
2396
2397         * gdb.reverse/sigall-reverse.exp: Adjust.
2398
2399 2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
2400
2401         PR gdb/10884
2402
2403         * gdb.mi/var-cmd.c (do_bitfield_tests): New
2404         (main): Call do_bitfield_tests.
2405         * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
2406
2407 2009-12-20  Joel Brobecker  <brobecker@adacore.com>
2408
2409         * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
2410         gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
2411         gdb.base/watch_thread_num.c, gdb.java/jprint.java,
2412         gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
2413         gdb.modula2/unbounded1.c: Update copyright header.
2414
2415 2009-12-10  Chris Moller  <moller@mollerware.com>
2416
2417         PR gdb/9399
2418         * gdb.cp/virtfunc2.exp: New tests
2419         * gdb.cp/virtfunc2.cc: New tests
2420         * gdb.cp/Makefile.in: Added tests to EXECUTABLES
2421
2422 2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
2423
2424         * gdb.reverse/i387-env-reverse.c: New file.
2425         * gdb.reverse/i387-env-reverse.exp: New file.
2426         * gdb.reverse/i387-stack-reverse.c: New file.
2427         * gdb.reverse/i387-stack-reverse.exp: New file.
2428
2429 2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
2430
2431         * gdb.python/py-type.exp (test_range): New test.
2432
2433 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
2434
2435         PR python/10805
2436
2437         * gdb.python/py-type.exp: New file.
2438         * gdb.python/py-type.c: New file.
2439         * Makefile.in: Add py-type.
2440
2441 2009-12-03  Tom Tromey  <tromey@redhat.com>
2442
2443         * gdb.python/py-value.exp (test_parse_and_eval): New
2444         function.
2445
2446 2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2447
2448        PR gdb/11022
2449
2450        * gdb.base/pr11022.exp: New test.
2451        * gdb.base/pr11022.c: New test.  
2452         
2453 2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
2454
2455         Fix spurious false FAILs.
2456         * gdb.base/structs.c (chartest): New.
2457         (main): Fill-in chartest.
2458         * gdb.base/structs.exp (anychar_re, first): New.
2459         (start_structs_test): Import global anychar_re and first.
2460         New gdb_test call "set print elements 300; ${testfile}"
2461         (start_structs_test <$first>): New block.
2462         (any): Import global anychar_re.  New variable ac.  Use ${ac}.
2463
2464 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
2465
2466         * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
2467
2468 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
2469
2470         * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
2471         Force $srcfile file.
2472         * gdb.base/foll-fork.c (callee): Comment out the printf call.
2473
2474 2009-11-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2475
2476         * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
2477         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2478         * gdb.threads/watchthreads-reorder.exp: Likewise.
2479
2480 2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
2481
2482         PR gdb/8704
2483
2484         * gdb.base/condbreak.exp: Test combinations of "break *EXP",
2485         "if", and "thread".  Correct matching in the previous test.
2486
2487 2009-11-25  Daniel Jacobowitz  <dan@codesourcery.com>
2488
2489         * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
2490
2491 2009-11-23  Michael Snyder  <msnyder@vmware.com>
2492
2493         * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
2494         * gdb.reverse-watch-precsave.exp: Ditto.
2495
2496 2009-11-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
2497
2498         * gdb.asm/asm-source.exp: Adjust.
2499         * gdb.base/help.exp: Adjust.
2500         
2501 2009-11-22  Pedro Alves  <pedro@codesourcery.com>
2502
2503         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
2504         (do_syscall_tests_without_xml): Set data-directory to
2505         /the/path/to/nowhere.
2506
2507 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
2508
2509         * gdb.threads/local-watch-wrong-thread.c,
2510         gdb.threads/local-watch-wrong-thread.exp: New files.
2511
2512 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
2513
2514         * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
2515         assume new `regsub' syntax available.
2516
2517 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2518
2519         * gdb.base/watchpoint-hw-hit-once.exp,
2520         gdb.base/watchpoint-hw-hit-once.c: New.
2521
2522 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2523
2524         * gdb.threads/watchthreads-reorder.exp,
2525         gdb.threads/watchthreads-reorder.c: New.
2526
2527 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
2528
2529         * gdb.xml/tdesc-regs.exp: Use for m68k.
2530
2531 2009-11-15  Pedro Alves  <pedro@codesourcery.com>
2532
2533         * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
2534
2535 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
2536
2537         * lib/gdb.exp (current_target_name): New procedure.
2538         (gdb_wrapper_target): New variable.
2539         (gdb_wrapper_init): Set gdb_wrapper_target.
2540         (default_gdb_init): Check gdb_wrapper_target before rebuilding the
2541         wrapper.
2542
2543 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
2544
2545         * gdb.base/remote.exp: Delete the slowest load test.
2546         Do not load with fixed packet sizes.
2547
2548 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
2549
2550         * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
2551
2552 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
2553
2554         * gdb.base/freebpcmd.exp: Delete unused variable.  Specify
2555         srcfile when setting a breakpoint.
2556
2557 2009-11-13  Maciej W. Rozycki  <macro@codesourcery.com>
2558
2559         * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
2560         macros.
2561
2562 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
2563
2564         * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
2565         to be in memory.
2566         * gdb.base/display.c (force_mem): New.
2567         (do_loops): Use it.  Add breakpoint comments.
2568         (do_vars): Add a breakpoint comment.
2569         * gdb.base/display.exp: Use gdb_get_line_number.  Remove hardcoded
2570         line numbers.
2571
2572 2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
2573
2574         * gdb.base/pending.exp: Use gdb_run_cmd to start the program
2575         instead of a bare "run".
2576
2577 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
2578
2579         * gdb.python/py-prettyprint.exp: Adjust.
2580         
2581 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
2582
2583         * lib/cell.exp (skip_cell_tests): Clean up test files before
2584         returning.
2585
2586 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
2587
2588         * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
2589         and the breakpoint menu.  Do not call perror if a prompt is seen.
2590         Consume the following GDB prompt.
2591         * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
2592         * gdb.cp/namespace.exp: Use gdb_test.
2593         * gdb.cp/templates.exp: Use gdb_test.
2594         (test_template_breakpoints): Use gdb_test_multiple.
2595
2596 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
2597
2598         * gdb.base/break1.c (struct some_struct, values): Move earlier.
2599         (marker4): Reference values.
2600
2601 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
2602
2603         * gdb.base/macscp.exp: Avoid the first FAIL if macro information
2604         is missing.
2605
2606 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
2607
2608         * gdb.base/break.c (need_malloc): New.
2609         * gdb.base/constvars.c (main): Reference crass and crisp.
2610         * gdb.base/gdb1821.c (main): Reference bar.
2611         * gdb.cp/gdb1355.cc (main): Reference s1.
2612         * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
2613         (main): Call them.
2614         * gdb.cp/hang2.cc (dummy2): Define.
2615         * gdb.cp/hang3.cc (dummy3): Define.
2616         * gdb.cp/m-data.cc (main): Reference shadow.
2617
2618 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
2619             Nathan Froyd  <froydnj@codesourcery.com>
2620
2621         * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
2622         remote host.
2623
2624 2009-11-12  Nathan Froyd  <froydnj@codesourcery.com>
2625
2626         * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
2627         * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
2628         * gdb.dwarf2/dw2-compressed.exp: Likewise.
2629         * gdb.dwarf2/dw2-intercu.exp: Likewise.
2630         * gdb.dwarf2/dw2-intermix.exp: Likewise.
2631         * gdb.dwarf2/dw2-producer.exp: Likewise.
2632         * gdb.dwarf2/mac-fileno.exp: Likewise.
2633         * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
2634         py-prettyprint.py to the remote host.
2635         * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
2636
2637 2009-11-11  Keith Seitz  <keiths@redhat.com>
2638
2639         * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
2640         use it instead of "Foo".
2641         * gdb.cp/classes.exp (do_tests): Add a test to access
2642         a method through a typedef'd class name.
2643
2644 2009-11-11  Nathan Froyd  <froydnj@codesourcery.com>
2645
2646         * gdb.base/long_long.exp: Permit leading zeros on floating-point
2647         exponents.
2648         * gdb.base/pointers.exp: Likewise.
2649         * gdb.cp/ref-types.exp: Likewise.
2650
2651 2009-11-11  Keith Seitz  <keiths@redhat.com>
2652
2653         * gdb.cp/cplusfuncs.cc (class foo): Add operators
2654         new[] and delete[].
2655         * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
2656         "void".
2657         (probe_demangler): Remove all single-quoting of
2658         method and variable names.
2659         (info_func_regexp): Remove the word "void" from any
2660         occurrence of "(void)".
2661         (print_addr_2): Remove all single-quoting of
2662         method names.
2663         (print_addr_2_kfail): Likewise.
2664         (print_addr): Single-quote C function names before
2665         passing to print_addr_2.
2666         (test_paddr_operator_functions): Remove single-quoting
2667         for method names.
2668         Add tests for operator new[] and operator delete[].
2669
2670 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2671
2672         * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
2673
2674 2009-11-09  Keith Seitz  <keiths@redhat.com>
2675
2676         * gdb.cp/overload.exp: Add tests for resolving overloaded
2677         methods in expression parsing/evaluation.
2678
2679 2009-11-10  Daniel Jacobowitz  <dan@codesourcery.com>
2680
2681         * lib/gdb.exp (default_gdb_version): Use --version instead of
2682         --command.
2683
2684 2009-11-10  Nathan Sidwell  <nathan@codesourcery.com>
2685
2686         * lib/gdb.exp (gdb_compile_test): New.
2687         (skip_ada_tests, skip_java_tests): New.
2688         (gdb_compile): Use gdb_compile_test for f77.
2689         * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
2690         * lib/java.exp (compile_java_from_source): Remove runtests check,
2691         use gdb_compile_test to record result.
2692         * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
2693         gdb.ada/exec_changed.exp, gdb.ada/start.exp,
2694         gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
2695         gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
2696         gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
2697         gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
2698         gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
2699         gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
2700         gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
2701         adjust gdb_compile invocations.
2702
2703 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2704
2705         * Makefile.in (abs_builddir): New.
2706         (site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
2707         (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
2708         `$(abs_builddir)/site.exp'.
2709
2710 2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
2711
2712         * config/m68k-emc.exp, lib/emc-support.exp,
2713         gdb.trace/gdb_c_test.c: Delete.
2714         * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
2715         gdb.trace/collection.exp, gdb.trace/deltrace.exp,
2716         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2717         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
2718         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2719         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
2720         casing for m68k-*-elf.
2721
2722 2009-11-03  Pedro Alves  <pedro@codesourcery.com>
2723
2724         * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
2725         * gdb.arch/i386-prologue.exp: Likewise.
2726         * gdb.arch/i386-unwind.exp: Likewise.
2727
2728 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
2729
2730         * lib/gdb.exp (gdb_expect): Fix timeout typo.
2731
2732 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
2733
2734         * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
2735
2736 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
2737
2738         * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
2739
2740 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2741
2742         * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
2743
2744 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2745
2746         * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
2747         * gdb.base/sepdebug2.c: New file.
2748
2749 2009-10-31  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
2750
2751         * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
2752         the modified warnings for catch syscall.  Verify if GDB was compiled
2753         with support for lib expat, and choose which tests to run depending
2754         on this.
2755
2756 2009-10-30  Vladimir Prus  <vladimir@codesourcery.com>
2757
2758         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
2759         that composite commands are parsed OK. And also test
2760         that breakpoint commands do work.
2761
2762 2009-10-23  Michael Snyder  <msnyder@vmware.com>
2763
2764         gdb.reverse/consecutive-precsave.exp: Change expect pattern
2765         to allow for new disassembly style.
2766
2767 2009-10-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
2768
2769         * gdb.asm/asm-source.exp: Adjust.
2770         
2771 2009-10-22  Michael Snyder  <msnyder@vmware.com>
2772
2773         * gdb.reverse/break-precsave.exp: New test.
2774         * gdb.reverse/consecutive-precsave.exp: Ditto.
2775         * gdb.reverse/finish-precsave.exp: Ditto.
2776         * gdb.reverse/i386-precsave.exp: Ditto.
2777         * gdb.reverse/machinestate-precsave.exp: Ditto.
2778         * gdb.reverse/sigall-precsave.exp: Ditto.
2779         * gdb.reverse/solilb-precsave.exp: Ditto.
2780         * gdb.reverse/step-precsave.exp: Ditto.
2781         * gdb.reverse/until-precsave.exp: Ditto.
2782         * gdb.reverse/watch-precsave.exp: Ditto.
2783
2784 2009-10-22  Michael Snyder  <msnyder@vmware.com>
2785
2786         * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
2787         for gdb_expect.  Adjust one test's expect strings for the new
2788         format of disassemble.
2789         * gdb.reverse/finish-reverse.exp: Delete 'return'.
2790         * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
2791         gdb_test_multiple.
2792         * gdb.reverse/step-reverse.exp: Delete 'return'.
2793         * gdb.reverse/until-reverse.exp: Delete blank lines.
2794         * gdb.reverse/watch-reverse.exp: Delete blank lines.
2795
2796 2009-10-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
2797
2798         * gdb.base/consecutive.exp: Adjust.
2799         * gdb.base/display.exp: Likewise.
2800         * gdb.base/pc-fp.exp: Likewise.
2801         * gdb.base/sigbpt.exp: Likewise.
2802         
2803 2009-10-19  Michael Snyder  <msnyder@vmware.com>
2804
2805         * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
2806         * gdb.reverse/finish-reverse.c: Ditto.
2807         * gdb.reverse/sigall-reverse.c: Ditto.
2808         * gdb.reverse/solib-reverse.c: Ditto.
2809         * gdb.reverse/step-reverse.c: Ditto.
2810         * gdb.reverse/watch-reverse.c: Ditto.
2811
2812 2009-10-19  Pedro Alves  <pedro@codesourcery.com>
2813             Stan Shebs  <stan@codesourcery.com>
2814
2815         * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
2816         * gdb.base/foll-exec.exp: Adjust to expect a process id before
2817         "Executing new program".
2818         * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
2819         * gdb.base/multi-forks.exp: Ditto.  Adjust to the inferior being
2820         left listed after having been killed.
2821         * gdb.base/attach.exp: Adjust to spell out "symbol-file".
2822         * gdb.base/maint.exp: Adjust test.
2823
2824         * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
2825         * gdb.multi/Makefile.in: New.
2826         * gdb.multi/base.exp: New.
2827         * gdb.multi/goodbye.c: New.
2828         * gdb.multi/hangout.c: New.
2829         * gdb.multi/hello.c: New.
2830         * gdb.multi/bkpt-multi-exec.c: New.
2831         * gdb.multi/bkpt-multi-exec.exp: New.
2832         * gdb.multi/crashme.c: New.
2833
2834 2009-10-13  Tristan Gingold  <gingold@adacore.com>
2835
2836         * gdb.base/sepdebug.exp: Check debug info are found.
2837
2838 2009-10-08  Pedro Alves  <pedro@codesourcery.com>
2839
2840         * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
2841         bits.
2842
2843 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2844
2845         * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
2846
2847 2009-10-07  Joel Brobecker  <brobecker@adacore.com>
2848
2849         * gdb.base/watchpoints.c: Add copyright header.  Reformat one
2850         of the comments.
2851
2852 2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
2853
2854         * gdb.base/annota1.exp: Remove obsolete match_max increase.
2855         * gdb.base/annota3.exp: Idem.
2856         * gdb.base/maint.exp: Idem.
2857
2858 2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
2859
2860         * lib/gdb.exp (default_gdb_init): Set current value of match_max 
2861         to default.
2862
2863 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
2864
2865         * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for 
2866         mingw and cygwin targets.
2867
2868 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
2869             Pedro Alves  <pedro@codesourcery.com>
2870
2871         * lib/gdb.exp (gdb_compile): Avoid adding 
2872         gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
2873
2874 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
2875
2876         * gdb.base/shr1.c: Use %p in format string.
2877         * gdb.base/unload.c: Avoid warning in fprintf.
2878         * gdb.base/watchpoint-solib.c: Idem.
2879
2880 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
2881
2882         * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
2883         long type.
2884         (test_unlink): Correct printf string.
2885         * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
2886         * gdb.threads/attachstop-mt.c: Add #include <string.h>.
2887
2888 2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
2889
2890         * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
2891         * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
2892         * gdb.arch/ia64-breakpoint-shadow.S: New file.
2893
2894 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2895
2896         * gdb.objc/basicclass.exp: Disable pending breakpoint query.
2897         * gdb.objc/nondebug.exp: Likewise.
2898
2899 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2900
2901         * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
2902         target_info setting.
2903
2904         * gdb.threads/thread-specific.exp (get_thread_list): Support targets
2905         that detect new threads during "info threads".
2906
2907 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2908
2909         * gdb.threads/manythreads.c (main): Increase thread stack size
2910         to 2*PTHREAD_STACK_MIN.
2911         * gdb.threads/multi-create.c (main): Likewise.
2912         (create_function): Likewise.
2913
2914 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2915
2916         * gdb.base/dump.exp: Pass difference of pointer types instead
2917         of integer types as offset to restore in intarr3.srec case.
2918
2919 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2920
2921         * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
2922
2923 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2924
2925         * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
2926
2927 2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
2928         
2929         New test for two watchpoints, with disabling of
2930         the first inserted.
2931         * testsuite/gdb.base/watchpoints.c: New file.
2932         * testsuite/gdb.base/watchpoints.exp: New file.
2933
2934 2009-09-25  Tom Tromey  <tromey@redhat.com>
2935
2936         * gdb.base/charset.exp: Test utf-16 strings with Python.
2937
2938 2009-09-25  Tom Tromey  <tromey@redhat.com>
2939
2940         * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
2941         UCS-4.
2942         * gdb.base/charset.c (utf_32_string): Rename.
2943         (init_utf32): Rename.
2944         (main): Update.
2945
2946 2009-09-22  Tom Tromey  <tromey@redhat.com>
2947
2948         * gdb.python/py-function.exp: Add regression tests.
2949
2950 2009-09-21  Keith Seitz  <keiths@redhat.com>
2951
2952         * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
2953         with invalid operator.
2954
2955 2009-09-21  Keith Seitz  <keiths@redhat.com>
2956
2957         * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
2958         and destructor using typedef name of class.
2959         * gdb.cp/classes.cc (class Base1): Add a destructor.
2960         (base1): New typedef.
2961         (use_methods): Instanitate an object of type base1.
2962         * gdb.cp/templates.exp (test_template_typedef): New procedure.
2963         (do_tests): Call test_template_typedef.
2964         * gdb.cp/templates.cc (Baz::~Baz): New method.
2965         (intBazOne): New typedef.
2966         (main): Instantiate intBazOne.
2967
2968 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
2969
2970         PR python/10633
2971
2972         * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
2973         Function.
2974         (run_lang_tests): Add print elements test.
2975
2976 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
2977
2978         * gdb.python/py-value.exp (test_subscript_regression): New
2979         function.  Test for invalid subscripts.
2980         * gdb.python/py-value.c (main): Add test array, and pointer to it.
2981         (ptr_ref): New function.
2982
2983 2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
2984
2985         * gdb.base/default.exp: Fix "show convenience".
2986
2987 2009-09-15  Tom Tromey  <tromey@redhat.com>
2988
2989         * lib/mi-support.exp (mi_create_varobj): Update.
2990         (mi_create_floating_varobj): Likewise.
2991         (mi_create_dynamic_varobj): New proc.
2992         (mi_varobj_update): Update.
2993         (mi_varobj_update_with_type_change): Likewise.
2994         (mi_varobj_update_kv_helper): New proc.
2995         (mi_varobj_update_dynamic_helper): Rewrite.
2996         (mi_varobj_update_dynamic): New proc.
2997         (mi_list_varobj_children): Update.
2998         (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
2999         * gdb.python/python-prettyprint.py (pp_outer): New class.
3000         (pp_nullstr): Likewise.
3001         (lookup_function): Register new printers.
3002         * gdb.python/python-prettyprint.c (struct substruct): New type.
3003         (struct outerstruct): Likewise.
3004         (substruct_test): New function.
3005         (struct nullstr): New type.
3006         (string_1, string_2): New globals.
3007         (main): Add new tests.
3008         * gdb.python/python-mi.exp: Added regression tests.
3009         * gdb.mi/mi2-var-display.exp: Update.
3010         * gdb.mi/mi2-var-cmd.exp: Update.
3011         * gdb.mi/mi2-var-child.exp: Update.
3012         * gdb.mi/mi2-var-block.exp: Update.
3013         * gdb.mi/mi-var-invalidate.exp: Update.
3014         * gdb.mi/mi-var-display.exp: Update.
3015         * gdb.mi/mi-var-cmd.exp: Update.
3016         * gdb.mi/mi-var-child.exp: Update.
3017         * gdb.mi/mi-var-block.exp: Update.
3018         * gdb.mi/mi-break.exp: Update.
3019         * gdb.mi/gdb701.exp: Update.
3020
3021 2009-09-14  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
3022
3023         * Makefile.in: Inclusion of catch-syscall object.
3024         * gdb.base/catch-syscall.c: New file.
3025         * gdb.base/catch-syscall.exp: New file.
3026
3027 2009-09-12  Michael Snyder  <msnyder@vmware.com>
3028
3029         * gdb.reverse/step-reverse.exp: Explicitly check for targets
3030         that can support reverse debuggnig.
3031
3032 2009-09-11  Tom Tromey  <tromey@redhat.com>
3033
3034         * gdb.dwarf2/valop.S: New file.
3035         * gdb.dwarf2/valop.exp: New file.
3036
3037 2009-09-11  Mark Kettenis  <kettenis@gnu.org>
3038
3039         * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
3040
3041 2009-09-10  Doug Evans  <dje@google.com>
3042
3043         * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
3044         Add $gdb_prompt to second breakpoint regexp.
3045
3046 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
3047
3048         * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
3049         names, add missing ones.
3050         * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
3051         * gdb.python/py-frame.c: Rename from python-frame.c.
3052         * gdb.python/py-frame.exp: Rename from python-frame.exp.  Adjust
3053         testfile name.
3054         * gdb.python/py-function.exp: Rename from python-function.exp.
3055         * gdb.python/py-mi.exp: Rename from python-mi.exp.  Adjust
3056         testfile name.
3057         * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
3058         * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
3059         Adjust testfile name.
3060         * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
3061         * gdb.python/py-template.cc: Rename from python-template.cc.
3062         * gdb.python/py-template.exp: Rename from python-template.exp.
3063         Adjust testfile name.
3064         * gdb.python/py-value.c: Rename from python-value.c.
3065         * gdb.python/py-value.exp: Rename from python-value.exp.  Adjust
3066         testfile name.
3067
3068 2009-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
3069
3070         * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
3071         $bpt2address.
3072         (Second breakpoint address is valid on ia64)
3073         (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
3074
3075 2009-09-03  Joseph Myers  <joseph@codesourcery.com>
3076
3077         * gdb.base/ending-run.exp: Restrict regular expression matching
3078         line number to require closing brace following.
3079
3080 2009-09-03  Doug Evans  <dje@google.com>
3081
3082         * gdb.base/store.exp (check_set): Fix typo in expected value message.
3083
3084 2009-09-02  Tom Tromey  <tromey@redhat.com>
3085
3086         * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
3087
3088 2009-09-02  Tom Tromey  <tromey@redhat.com>
3089
3090         * gdb.dwarf2/callframecfa.exp: New file.
3091         * gdb.dwarf2/callframecfa.S: New file.
3092
3093 2009-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
3094
3095         * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
3096         gdb.base/solib-overlap-main.c: New.
3097
3098 2009-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
3099
3100         PR gdb/10565
3101
3102         * gdb.base/bitfields.c (struct container, container): New.
3103         (main): Initialize it and call break5.
3104         * gdb.base/bitfields.exp (bitfield_at_offset): New test.
3105
3106 2009-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3107
3108         Support constant DW_AT_data_member_location by GCC PR debug/40659.
3109         * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
3110
3111 2009-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3112
3113         * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
3114
3115 2009-08-26  Michael Snyder  <msnyder@vmware.com>
3116
3117         * gdb.base/i386-reverse.c: New file.
3118         * gdb.base/i386-reverse.exp: New file.
3119         * gdb.base/Makefile.in: Add new files to be removed.
3120
3121 2009-08-26  Joseph Myers  <joseph@codesourcery.com>
3122
3123         * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
3124         environment-pwd for remote host.
3125         * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
3126
3127 2009-08-24  Keith Seitz  <keiths@redhat.com>
3128
3129         * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
3130         Add two new C++ completer tests which limit the output to a
3131         given class. 
3132
3133 2009-08-24  Michael Snyder  <msnyder@vmware.com>
3134
3135         * gdb.base/del.exp: Fix typo in comment.
3136         * gdb.base/step-bt.exp: Fix cut and paste error in comment.
3137
3138 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3139
3140         * configure: Regenerate.
3141         * gdb.hp/configure: Likewise.
3142         * gdb.hp/gdb.aCC/configure: Likewise.
3143         * gdb.hp/gdb.base-hp/configure: Likewise.
3144         * gdb.hp/gdb.compat/configure: Likewise.
3145         * gdb.hp/gdb.defects/configure: Likewise.
3146         * gdb.hp/gdb.objdbg/configure: Likewise.
3147         * gdb.stabs/configure: Likewise.
3148
3149 2009-08-19  Doug Evans  <dje@google.com>
3150
3151         * gdb.base/gdbvars.c: New file.
3152         * gdb.base/gdbvars.exp: Test convenience vars with program variables.
3153
3154 2009-08-14  Pedro Alves  <pedro@codesourcery.com>
3155
3156         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
3157         gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
3158
3159 2009-08-13  Pedro Alves  <pedro@codesourcery.com>
3160
3161         * gdb.base/default.exp: Adjust "set language test": it's now an
3162         enum command.  Larger help string moved to "help set language".
3163         * gdb.base/help.exp: Adjust "help set language" expected output,
3164         now lists all known languages.
3165
3166 2009-08-11  Nathan Froyd  <froydnj@codesourcery.com>
3167
3168         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
3169         all frame arguments.
3170         * gdb.arch/altivec-regs.exp: Likewise.
3171
3172 2009-08-07  Tom Tromey  <tromey@redhat.com>
3173
3174         * gdb.base/setshow.exp: Add tests for changes to set language, set
3175         check range, and set check type.
3176
3177 2009-08-03  Vladimir Prus  <vladimir@codesourcery.com>
3178
3179         * lib/mi-support.exp (mi_list_breakpoints): Make it work.
3180         * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
3181         Call it.
3182
3183 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3184
3185         * configure.ac: Run gdb.cell tests when appropriate.
3186         * configure: Regenerate.
3187         * lib/cell.exp: New file.
3188         * gdb.cell: New directory.
3189         * gdb.cell/configure.ac: New file.
3190         * gdb.cell/configure: New file.
3191         * gdb.cell/Makefile.in: New file.
3192         * gdb.cell/arch.exp: New file.
3193         * gdb.cell/break.c: New file.
3194         * gdb.cell/break.exp: New file.
3195         * gdb.cell/break-spu.c: New file.
3196         * gdb.cell/bt.c: New file.
3197         * gdb.cell/bt2-spu.c: New file.
3198         * gdb.cell/bt-spu.c: New file.
3199         * gdb.cell/bt.exp: New file.
3200         * gdb.cell/coremaker.c: New file.
3201         * gdb.cell/coremaker-spu.c: New file.
3202         * gdb.cell/core.exp: New file.
3203         * gdb.cell/gcore.exp: New file.
3204         * gdb.cell/data.c: New file.
3205         * gdb.cell/data.exp: New file.
3206         * gdb.cell/data-spu.c: New file.
3207         * gdb.cell/ea-cache.exp: New file.
3208         * gdb.cell/ea-cache.c: New file.
3209         * gdb.cell/ea-cache-spu.c: New file.
3210         * gdb.cell/ea-standalone.c: New file.
3211         * gdb.cell/ea-standalone.exp: New file.
3212         * gdb.cell/ea-test.c: New file.
3213         * gdb.cell/ea-test.exp: New file.
3214         * gdb.cell/f-regs.exp: New file.
3215         * gdb.cell/mem-access.c: New file.
3216         * gdb.cell/mem-access.exp: New file.
3217         * gdb.cell/mem-access-spu.c: New file.
3218         * gdb.cell/ptype.exp: New file.
3219         * gdb.cell/registers.exp: New file.
3220         * gdb.cell/size.c: New file.
3221         * gdb.cell/sizeof.exp: New file.
3222         * gdb.cell/size-spu.c: New file.
3223         * gdb.cell/solib.exp: New file.
3224         * gdb.cell/solib-symbol.exp: New file.
3225
3226 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3227
3228         * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
3229
3230 2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
3231
3232         * gdb.base/float.exp: Handle VFP registers.
3233
3234 2009-07-14  Michael Snyder  <msnyder@vmware.com>
3235
3236         * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
3237         to bring gdb to the beginning of the calling line.
3238
3239         * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
3240         confusing the i386 epilogue unwinder.
3241
3242 2009-07-14  Stan Shebs  <stan@codesourcery.com>
3243
3244         * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
3245
3246 2009-07-14  Michael Snyder  <msnyder@vmware.com>
3247
3248         * gdb.reverse/step-reverse.exp (stepi into function call):
3249         Call instruction may not be first instruction in the line.
3250         (reverse stepi from a function call): Used wrong line number.
3251
3252 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3253
3254         * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
3255
3256 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3257
3258         Fix gdb.base/macscp.exp when using custom inputrc.
3259         * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
3260         * gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
3261         env(TERM) set.
3262         * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
3263         * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
3264
3265 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3266
3267         Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
3268         * gdb.base/annota1.exp (thread_test): Import global $testfile.
3269         Change the compilation target to match the testcase name.
3270         * gdb.base/sect-cmd.exp: Change the compilation target to match the
3271         testcase name.
3272         * a2-run.exp: Use for setup prepare_for_testing.  Change the
3273         compilation target to match the testcase name.
3274         * gdb.base/commands.exp: Likewise.
3275         * gdb.base/finish.exp: Likewise.
3276         * gdb.base/float.exp: Likewise.
3277         * gdb.base/info-target.exp: Likewise.
3278         * gdb.base/relational.exp: Likewise.
3279         * gdb.base/term.exp: Likewise.
3280         * gdb.base/until.exp: Likewise.
3281         * gdb.base/volatile.exp: Likewise.
3282         * gdb.base/whatis-exp.exp: Likewise.
3283
3284 2009-07-11  Hui Zhu  <teawater@gmail.com>
3285
3286         * gdb.base/help.exp (disassemble): Update expected help text.
3287
3288 2009-07-09  Tom Tromey  <tromey@redhat.com>
3289
3290         * lib/gdb.exp: Handle TRANSCRIPT.
3291         (remote_spawn, remote_close, send_gdb): New procs.
3292
3293 2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
3294
3295         * gdb.python/python-prettyprint.c: Add counted null string
3296         structure.
3297         * gdb.python/python-prettyprint.exp: Print null string. Test for
3298         embedded nulls.
3299         * gdb.python/python-prettyprint.py (pp_ns): New Function.
3300         * gdb.python/python-value.exp (test_value_in_inferior): Add
3301         variable length string fetch tests.
3302         * gdb.python/python-value.c (main): Add strings for string fetch tests.
3303
3304 2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
3305
3306         * gdb.base/dump.exp (inaccessible memory is reported): New test.
3307
3308 2009-07-07  Tom Tromey  <tromey@redhat.com>
3309
3310         * gdb.base/call-rt-st.exp: Update for change to escape output.
3311         * gdb.base/callfuncs.exp: Likewise.
3312         * gdb.base/charset.exp: Likewise.
3313         * gdb.base/constvars.exp: Likewise.
3314         * gdb.base/long_long.exp: Likewise.
3315         * gdb.base/pointers.exp: Likewise.
3316         * gdb.base/printcmds.exp: Likewise.
3317         * gdb.base/setvar.exp: Likewise.
3318         * gdb.base/store.exp: Likewise.
3319         * gdb.cp/ref-types.exp: Likewise.
3320         * gdb.mi/mi-var-child.exp: Likewise.
3321         * gdb.mi/mi-var-display.exp: Likewise.
3322         * gdb.mi/mi2-var-display.exp: Likewise.
3323         * gdb.base/charset.exp: Test octal escape sequence length.
3324         Update for change to escape output.
3325
3326 2009-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3327
3328         * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
3329
3330 2009-07-06  Daniel Jacobowitz  <dan@codesourcery.com>
3331
3332         * lib/java.exp (java_init): Ignore $GCJ if it is empty.
3333
3334 2009-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3335
3336         * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
3337         gdbserver increasing $portnum if "Can't bind address" has been seen.
3338
3339 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
3340
3341         * gdb.base/ending-run.exp: Add "step out of main" pattern for
3342         mingw32ce.
3343
3344 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
3345
3346         * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
3347         VFP format.
3348
3349 2009-07-02  Pedro Alves  <pedro@codesourcery.com>
3350
3351         * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
3352         linux.  Adjust to use "inferior", "info inferiors", "detach
3353         inferior" and "kill inferior" instead of "restart", "info fork",
3354         "detach fork" and "delete fork".
3355         * gdb.base/ending-run.exp: Spell out "info".
3356         * gdb.base/help.exp: Adjust to use test_prefix_command_help for
3357         the "kill" command.
3358
3359 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3360
3361         * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
3362         change to prefix TLS offset in hex with 0x.
3363
3364 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3365
3366         * gdb.base/default.exp: Update test case for "x" changes.
3367
3368 2009-07-01  Tristan Gingold  <gingold@adacore.com>
3369
3370         * gdb.base/bigcore.exp: Make darwin untested.
3371
3372 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3373
3374         * gdb.base/completion.exp (directory completion): Create the directory.
3375         New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
3376         escapeuniquesub.
3377         (directory completion 2): Expect now ${escapeuniquesub}.
3378         (Glob remaining of directory test): Remove one excessive newline.
3379         Expect the real output.
3380
3381 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3382
3383         Fix `make check//%' target after `make check' has been ran.
3384         * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency.  Add
3385         a mkdir call.
3386         (check-gdb.base%): Remove the gdb.base%/.dir dependency.
3387         (%/.dir): Remove.
3388
3389 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3390
3391         * lib/mi-support.exp (mi_check_thread_states): Permit any output before
3392         the expected result record.
3393
3394 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3395
3396         Remove racy FAILs relying just on the timeouts.
3397         * gdb.base/setshow.exp (set annotate 2, show annotate (2))
3398         (annotation_level 2): Remove racy FAILs.
3399
3400 2009-06-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3401
3402         gdb/10275
3403         * gdb.dwarf2/dw2-restore.{S,exp}: New test.     
3404         
3405 2009-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
3406
3407         * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
3408
3409 2009-06-30  Vladimir Prus  <vladimir@codesourcery.com>
3410
3411         * gdb.mi/mi-stack.exp: Testing symbolic options
3412         to -stack-list-locals and -stack-list-arguments.
3413
3414 2009-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3415
3416         * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
3417
3418 2009-06-29  Tom Tromey  <tromey@redhat.com>
3419
3420         * dg-extract-results.sh: New file.
3421         * Makefile.in (FORCE_PARALLEL): New variable.
3422         (CHECK_TARGET): New conditional variable.
3423         (check): Use CHECK_TARGET.
3424         (DO_RUNTEST): New variable.
3425         (check-single): New target.
3426         (TEST_DIRS): New variable.
3427         (TEST_TARGETS): Likewise.
3428         (check-parallel): New target.
3429         (check-gdb.%): New pattern.
3430         (BASE1_FILES): New variable.
3431         (BASE2_FILES): Likewise.
3432         (check-gdb.base%): New pattern.
3433         (%/.dir): New pattern.
3434         * configure: Rebuild.
3435         * aclocal.m4 (AM_CONDITIONAL): New defun.
3436         * configure.ac: Check whether user is using GNU make.
3437         (GMAKE): New conditional.
3438
3439 2009-06-29  Sami Wagiaalla  <swagiaal@redhat.com>
3440
3441         * gdb.cp/namespace-nested-import.cc: New test.
3442         * gdb.cp/namespace-nested-import.exp: New test.
3443
3444 2009-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
3445
3446         * gdb.base/break.exp: Add an XFAIL for gcc/36748.
3447         * gdb.cp/annota2.exp: Accept frames-invalid in more places.
3448         * gdb.opt/Makefile.in (EXECUTABLES): Update.
3449         * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
3450         * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
3451         gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
3452         gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
3453         gdb.opt/inline-markers.c: New files.
3454         * lib/gdb.exp (skip_inline_frame_tests): New function.
3455         (skip_inline_var_tests): New function.
3456
3457 2009-06-27  Andreas Schwab  <schwab@linux-m68k.org>
3458
3459         * gdb.cp/exception.exp: Don't require $hex before inner frame in
3460         backtrace.
3461
3462 2009-06-27  Michael Snyder  <msnyder@vmware.com>
3463
3464         * gdb.reverse: New directory.
3465         * gdb.reverse/break-reverse.c: New test.
3466         * gdb.reverse/break-reverse.exp: New test.
3467         * gdb.reverse/consecutive-reverse.c: New test.
3468         * gdb.reverse/consecutive-reverse.exp: New test.
3469         * gdb.reverse/finish-reverse.c: New test.
3470         * gdb.reverse/finish-reverse.exp: New test.
3471         * gdb.reverse/machinestate.c: New test.
3472         * gdb.reverse/ms1.c: New test.
3473         * gdb.reverse/machinestate.exp: New test.
3474         * gdb.reverse/Makefile.in: New file.
3475         * gdb.reverse/shr2.c: New test.
3476         * gdb.reverse/solib-reverse.c: New test.
3477         * gdb.reverse/solib-reverse.exp: New test.
3478         * gdb.reverse/step-reverse.c: New test.
3479         * gdb.reverse/step-reverse.exp: New test.
3480         * gdb.reverse/until-reverse.c: New test.
3481         * gdb.reverse/ur1.c: New test.
3482         * gdb.reverse/until-reverse.exp: New test.
3483         * gdb.reverse/watch-reverse.c: New test.
3484         * gdb.reverse/watch-reverse.exp: New test.
3485         * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
3486         * configure: Regenerate.
3487
3488 2009-06-26  Doug Evans  <dje@google.com>
3489
3490         * gdb.base/psymtab.exp: Turn off pending breakpoints.
3491
3492 2009-06-26  Pierre Muller  <muller@ics.u-strasbg.fr>
3493
3494         * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
3495         windows problem for 'file delete $binfile'.
3496
3497 2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
3498
3499         * gdb.cp/namespace-using.exp: New test.
3500         * gdb.cp/namespace-using.cc: New test.
3501
3502 2009-05-20  Joel Brobecker  <brobecker@adacore.com>
3503
3504         * gdb.ada/variant_record_packed_array: New testcase.
3505
3506 2009-06-23  Tom Tromey  <tromey@redhat.com>
3507
3508         * gdb.base/charset.exp (test_combination): Regression test.
3509         * gdb.base/charset.c (my_wchar_t): New typedef.
3510         (myvar): New global.
3511         (main): Set myvar.
3512
3513 2009-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
3514
3515         * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
3516         target.
3517
3518 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3519
3520         * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
3521
3522 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3523
3524         * gdb.mi/gdb680.exp: Update test for error message.
3525
3526 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3527
3528         * gdb.base/annota1.exp: Allow multiple occurrences of the
3529         frames-invalid annotation.
3530         * gdb.cp/annota2.exp: Likewise.
3531
3532 2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
3533
3534         * gdb.cp/gdb2495.cc: New file.
3535         * gdb.cp/gdb2495.exp: New file.
3536
3537 2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3538
3539         Report error on GDB crash during runto.
3540         * lib/gdb.exp (runto <eof>): New.
3541
3542 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
3543
3544         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
3545         gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
3546         gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
3547         gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
3548         gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
3549         gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
3550         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
3551         gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
3552         gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
3553         gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
3554         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
3555         gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
3556         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
3557         gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
3558         gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
3559         gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
3560         gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
3561         gdb.server/server-mon.exp, gdb.server/server-run.exp,
3562         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3563         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3564         gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
3565         gdb.trace/passcount.exp, gdb.trace/report.exp,
3566         gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
3567         gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
3568         gdb.trace/while-stepping.exp: Use a unique name for the compiled
3569         executable.
3570
3571 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
3572
3573         * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
3574         defined before referencing it.
3575
3576 2009-06-03  Doug Evans  <dje@google.com>
3577
3578         * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
3579         * gdb.arch/i386-see.c: Ditto.
3580
3581 2009-05-30  Pierre Muller  <muller@ics.u-strasbg.fr>
3582
3583         * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
3584         (check_macro): Return 1 if undefined.
3585         If first test fails, check if macro debug information is available,
3586         and report unsupported test if no macro information is found.
3587
3588 2009-05-29  Doug Evans  <dje@google.com>
3589
3590         * gdb.threads/hand-call-in-threads.exp: New.
3591         * gdb.threads/hand-call-in-threads.c: New.
3592
3593 2009-05-29  Michael Snyder  <msnyder@vmware.com>
3594
3595         * gdb.base/break-always.exp: Change "1" to "on".
3596         Add confirmation check.
3597
3598 2009-05-28  Pedro Alves  <pedro@codesourcery.com>
3599
3600         * gdb.threads/threxit-hop-specific.c: New.
3601         * gdb.threads/threxit-hop-specific.exp: New.
3602         * gdb.threads/thread-execl.c: New.
3603         * gdb.threads/thread-execl.exp: New.
3604
3605 2009-05-27  Tom Tromey  <tromey@redhat.com>
3606             Thiago Jung Bauermann  <bauerman@br.ibm.com>
3607
3608         * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
3609         (mi_child_regexp): Likewise.
3610         (mi_list_varobj_children_range): Likewise.
3611         (mi_get_features): Likewise.
3612         (mi_list_varobj_children): Rewrite.
3613         * gdb.python/python-mi.exp: New file.
3614
3615 2009-05-27  Tom Tromey  <tromey@redhat.com>
3616             Thiago Jung Bauermann  <bauerman@br.ibm.com>
3617             Phil Muldoon  <pmuldoon@redhat.com>
3618             Paul Pluzhnikov  <ppluzhnikov@google.com>
3619
3620         * gdb.python/python-prettyprint.exp: New file.
3621         * gdb.python/python-prettyprint.c: New file.
3622         * gdb.python/python-prettyprint.py: New file.
3623         * gdb.base/display.exp: print/r is now valid.
3624
3625 2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3626             Tom Tromey  <tromey@redhat.com>
3627             Pedro Alves  <pedro@codesourcery.com>
3628             Paul Pluzhnikov  <ppluzhnikov@google.com>
3629
3630         * gdb.python/python-template.exp: New file.
3631         * gdb.python/python-template.cc: New file.
3632         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
3633         tests.
3634         * gdb.python/python-value.exp (py_objfile_tests): New proc.
3635         Call it.
3636         (test_value_after_death): New proc.
3637         * gdb.python/python-value.c (PTR): New typedef.
3638         (main): New variable 'x'.
3639
3640 2009-05-27  Tom Tromey  <tromey@redhat.com>
3641
3642         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
3643         tests.
3644         * gdb.python/python-value.exp (py_objfile_tests): New proc.
3645         Call it.
3646
3647 2009-05-27  Pedro Alves  <pedro@codesourcery.com>
3648
3649         * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
3650
3651 2009-05-24  Pedro Alves  <pedro@codesourcery.com>
3652
3653         * gdb.threads/fork-thread-pending.c: New.
3654         * gdb.threads/fork-thread-pending.exp: New.
3655
3656 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
3657
3658         * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
3659         * gdb.dwarf2/dw2-strp.S (a_string2): New.
3660
3661 2009-05-18  Jon Beniston <jon@beniston.com>
3662
3663         * gdb.asm/asm-source.exp: Add lm32 target.
3664
3665 2009-05-17  Pedro Alves  <pedro@codesourcery.com>
3666
3667         * gdb.base/foll-fork.c: Include stdlib.h.  Add markers for
3668         `gdb_get_line_number'.  Call `callee' in both parent and child.
3669         * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
3670         `gdb_get_line_number' instead of hardcoding line numbers.
3671         (catch_fork_unpatch_child): New procedure to test detaching
3672         breakpoints from child fork.
3673         (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
3674         hardcoding line numbers.
3675         (do_fork_tests): Run `catch_fork_unpatch_child'.
3676
3677 2009-05-17  Vladimir Prus  <vladimir@codesourcery.com>
3678
3679         * gdb.mi/mi-cmd-var.exp: Check that when varobj
3680         of structure type enters or leaves the scope, it
3681         is reported by -var-update.
3682
3683 2009-05-11  Doug Evans  <dje@sebabeach.org>
3684
3685         * gdb.mi/nsintrall.c (main): Fix off-by-one error.
3686         * gdb.threads/pending-step.c (main): Fix off-by-one error. 
3687         * gdb.threads/schedlock.c (main): Fix off-by-one error.
3688
3689 2009-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3690
3691         * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
3692
3693 2009-04-30  Doug Evans  <dje@google.com>
3694
3695         * gdb.threads/watchthreads2.exp: New testcase.
3696         * gdb.threads/watchthreads2.c: New testcase.
3697
3698 2009-04-29  Doug Evans  <dje@google.com>
3699
3700         * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
3701         * gdb.cp/mb-ctor.cc: Ditto.
3702         * gdb.cp/mb-inline.exp: Add multi-line source statement test.
3703         * gdb.cp/mb-inline.h (multi_line_foo): New function.
3704         * gdb.cp/mb-inline1.cc: Call it.
3705         * gdb.cp/mb-inline2.cc: Ditto.
3706         * gdb.cp/mb-templates.exp: Add multi-line source statement test.
3707         * gdb.cp/mb-templates.cc (multi_line_foo): New template.
3708
3709 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3710
3711         * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
3712         (info_macro): Remova `decimal' declaration.  New variable `nonzero'.
3713         Replace all uses of `decimal' by `nonzero'.
3714         (info macro FROM_COMMANDLINE): New test.
3715
3716 2009-04-27  Tom Tromey  <tromey@redhat.com>
3717
3718         * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
3719
3720 2009-04-27  Doug Evans  <dje@google.com>
3721
3722         * gdb.threads/watchthreads.c (main): Initialize args before starting
3723         the threads.  Plus formatting cleanup.
3724         * gdb.threads/watchthreads.exp: Avoid errant failures due to
3725         biased scheduling of one thread.
3726
3727 2009-04-27  Jerome Guitton  <guitton@adacore.com>
3728
3729         * gdb.cp/templates.cc (GetMax): New template.
3730         (main): Declare two instances of GetMax.
3731         * gdb.cp/templates.exp: Add new test.
3732
3733 2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3734
3735         * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
3736
3737 2009-04-22  Joseph Myers  <joseph@codesourcery.com>
3738
3739         * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
3740
3741 2009-04-15  Tom Tromey  <tromey@redhat.com>
3742
3743         * gdb.base/charset.exp: Add regression test.
3744
3745 2009-04-14  Joel Brobecker  <brobecker@adacore.com>
3746
3747         * gdb.base/exe-lock.exp: New testcase.
3748
3749 2009-04-13  Tom Tromey  <tromey@redhat.com>
3750
3751         * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
3752         operator on Frame.
3753
3754 2009-04-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3755
3756         * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
3757         * gdb.server/ext-attach.exp: Likewise.
3758
3759 2009-04-03  Vladimir Prus  <vladimir@codesourcery.com>
3760
3761         Eliminate some sleep usage.
3762
3763         * gdb.mi/basics.c (do_nothing): New.
3764         (main): Use do_nothing instead of printf, so that
3765         not to introduce race condition between output of
3766         inferiour and output of gdb. Do not use sleep as it
3767         is not generally available on embedded targets.
3768
3769 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
3770
3771         * gdb.server/ext-attach.exp: Expect an optional process id after
3772         "Detached from remote process".
3773
3774 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3775
3776         * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
3777         gdb.dwarf2/dw2-unresolved.exp: New.
3778
3779 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
3780
3781         * gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
3782         mi_run_to_main.
3783
3784 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
3785
3786         * gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
3787         mi_run_to_main.  Skip thread exit test on remote targets.
3788         * gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
3789         mi_run_to_main.
3790         * gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
3791         mi_run_to_main.
3792         * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
3793         when expecting ^connected.  Detect when the target doesn't support
3794         non-stop mode.
3795         (mi_run_cmd): Detect if non-stop mode was requested by isn't
3796         supported.  Return -1 on error, 0 on success.
3797         (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
3798         (mi_runto): Return mi_runto_helper's result explicitly.
3799
3800 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
3801
3802         * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
3803
3804 2009-04-01  Tom Tromey  <tromey@redhat.com>
3805
3806         * gdb.base/funcargs.exp: Set print frame-arguments to "all".
3807         * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
3808         * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
3809         * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
3810
3811 2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
3812             Jan Kratochvil  <jan.kratochvil@redhat.com>
3813
3814         PR gdb/931
3815         * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
3816         output.
3817         * gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
3818         for gdb/931.
3819         * dw2-strp.S (DW_AT_language): Change to C++.
3820         (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
3821
3822 2009-03-31  Joel Brobecker  <brobecker@adacore.com>
3823
3824         * gdb.ada/tasks: New testcase.
3825
3826 2009-03-30  Stan Shebs  <stan@codesourcery.com>
3827
3828         * gdb.trace/actions.exp: Update to match new info trace format.
3829         * gdb.trace/deltrace.exp: Ditto.
3830         * gdb.trace/infotrace.exp: Ditto.
3831         * gdb.trace/passcount.exp: Ditto.
3832         * gdb.trace/save-trace.exp: Ditto.
3833         * gdb.trace/while-stepping.exp: Ditto.
3834         * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
3835
3836 2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3837
3838         * gdb.python/python-frame.c: New file.
3839         * gdb.python/python-frame.exp: New file.
3840
3841 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3842
3843         * gdb.python/python-value.exp: Add tests for the address
3844         attribute.
3845
3846 2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>
3847
3848         * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
3849
3850 2009-03-26  Doug Evans  <dje@google.com>
3851
3852         * gdb.mi/mi-nonstop-exit.exp: New file.
3853         * gdb.mi/non-stop-exit.c: New file.
3854
3855 2009-03-26  Tom Tromey  <tromey@redhat.com>
3856
3857         Update for change to prologue skipping:
3858         * gdb.mi/mi2-simplerun.exp: Update.
3859         * gdb.mi/mi2-break.exp: Update.
3860         * gdb.mi/mi-simplerun.exp: Update.
3861         * gdb.mi/mi-break.exp: Update.
3862         * gdb.base/ending-run.exp: Update.
3863
3864 2009-03-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3865
3866         * gdb.python/python-value.exp (test_value_in_inferior): Test
3867         gdb.Value.is_optimized_out attribute.
3868
3869 2009-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
3870
3871         * gdb.dwarf2/dw2-noloc-main.c: New file.
3872         * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
3873         (.text): Remove.
3874         (.data): New.
3875         (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
3876         (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
3877         (DW_TAG_subprogram func_cu1, noloc): Remove.
3878         (main): New.
3879         * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
3880         `dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
3881         (file_symbols): New procedure.
3882
3883 2009-03-25  Tom Tromey  <tromey@redhat.com>
3884
3885         * gdb.base/charset.exp (valid_target_charset): New proc.
3886         Use it to skip tests on invalid charsets.
3887
3888 2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
3889
3890         * gdb.base/completion.exp: Add a test for directory completion.
3891
3892 2009-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
3893
3894         Fix a racy FAIL.
3895         * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
3896         * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
3897
3898 2009-03-21  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3899
3900         * gdb.python/python-cmd.exp: Add tests for keyword arguments.
3901         * gdb.python/python-function.exp: Add test for function returning
3902         a GDB value.
3903
3904 2009-03-20  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3905
3906         * gdb.python/python-function.exp: New file.
3907
3908 2009-03-20  Tom Tromey  <tromey@redhat.com>
3909
3910         * gdb.base/store.exp: Update for change to escape output.
3911         * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
3912         to escape output.
3913         * gdb.base/pointers.exp: Update for change to escape output.
3914         * gdb.base/long_long.exp (gdb_test_long_long): Update for change
3915         to escape output.
3916         * gdb.base/constvars.exp (do_constvar_tests): Update for change to
3917         escape output.
3918         * gdb.base/call-rt-st.exp (print_struct_call): Update for change
3919         to escape output.
3920         * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
3921         escape output.
3922         * gdb.base/setvar.exp: Update for change to escape output.
3923         * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
3924         * gdb.base/printcmds.exp (test_print_all_chars): Update for change
3925         to escape output.
3926         (test_print_string_constants): Likewise.
3927         * gdb.base/charset.exp (valid_host_charset): Check size of
3928         wchar_t.  Handle UCS-2 and UCS-4.  Add tests for wide and unicode
3929         cases.  Handle "auto"-related output.
3930         * gdb.base/charset.c (char16_t, char32_t): New typedefs.
3931         (uvar, Uvar): New globals.
3932
3933 2009-03-19  Jerome Guitton  <guitton@adacore.com>
3934
3935         * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
3936         deltas.
3937         * gdb.ada/fixed_points.exp: Ditto.
3938
3939 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
3940
3941         * return-nodebug.c: Don't include stdio.h.
3942         (init): Delete.
3943         (func): Delete definition and provide extern declaration.
3944         (t): New.
3945         (main): Don't call printf.  Call func and store its result in t.
3946         * return-nodebug1.c: New.
3947         * return-nodebug.exp: Don't expect stdio output.  Instead, print
3948         the global variable t.  Drop printf formatters and cast types from
3949         foreach loop.  Don't use prepare_for_testing.  Compile
3950         return-nodebug.c and return-nodebug1.c in separate steps.  Don't
3951         define FORMAT or CAST.
3952
3953 2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
3954
3955         * gdb.base/solib-display.exp: Disable test for remote targers.
3956
3957 2009-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
3958
3959         * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
3960
3961 2009-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3962
3963         Fix a racy FAIL.
3964         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
3965         code from `follow parent, print pids'.
3966         (`follow child, print pids', `follow parent, print pids'): Call it.
3967         Replace `gdb_test "break..."' by gdb_breakpoint.
3968
3969 2009-03-13  Vladimir Prus  <vladimir@codesourcery.com>
3970
3971         * gdb.mi/mi-cli.exp: Adjust for output difference in
3972         sync and async modes.
3973
3974 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
3975
3976         * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
3977         that was checked in by mistake. Remove loading of ada.exp, since
3978         this is not necessary in this case.
3979
3980 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
3981
3982         * gdb.ada/ptype_arith_binop.exp: New testcase.
3983
3984 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
3985
3986         * gdb.ada/mod_from_name: New testcase.
3987
3988 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
3989
3990         * gdb.ada/tick_last_segv: New testcase.
3991
3992 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
3993
3994         * gdb.mi/mi-cli.exp: Remove debug print.
3995
3996 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
3997
3998         * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
3999         include the token in ^running and frame info in *stopped.
4000
4001 2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4002
4003         * solib-display.exp: New file.
4004         * solib-display-main.c: New file.
4005         * solib-display-lib.c: New file.
4006
4007 2009-03-05  Pedro Alves  <pedro@codesourcery.com>
4008
4009         * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
4010
4011 2009-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
4012
4013         * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
4014         (list_and_check_macro): Use more specific test name.
4015         (next to definition): Make the test names unique.
4016
4017 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
4018
4019         * gdb.pascal/floats.exp: Accept approximate results everywhere.
4020
4021 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
4022
4023         * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
4024         notifications.
4025         * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
4026         * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
4027         * lib/mi-support.exp (library_loaded_re): New.
4028         (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
4029
4030 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
4031
4032         * gdb.gdb/observer.exp: Use test_notification observer, not
4033         normal_stop, everywhere.
4034         (test_normal_stop_notifications): Rename to...
4035         (test_notifications): ...this.
4036         (test_observer_normal_stop): Rename to...
4037         (test_observer): ...this.
4038
4039 2009-02-16  Doug Evans  <dje@google.com>
4040
4041         * gdb.arch/amd64-disp-step.S (test_int3): New test.
4042         * gdb.arch/amd64-disp-step.exp (test_int3): New test.
4043         * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
4044         (test_prefixed_syscall,test_int3): New tests.
4045         * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
4046         (test_prefixed_syscall,test_int3): New tests.
4047
4048 2009-02-14  Vladimir Prus  <vladimir@codesourcery.com>
4049
4050         * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
4051         (mi_expect_interrupt): Likewise.
4052         * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
4053         response.
4054
4055 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
4056
4057         * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
4058         * gdb.base/pc-fp.exp (get_valueofx): Remove.
4059         Replace calls to get_valueofx by get_hexadecimal_valueof.
4060
4061 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
4062
4063         * lib/gdb.exp (get_valueof): Accept anything as a return value.
4064         (get_integer_valueof): New procedure.
4065         (get_sizeof): Use new get_integer_value_of.
4066         * gdb.base/sizeof.exp: Replace all uses of get_valueof
4067         by get_integer_valueof.
4068
4069 2009-02-13  Tom Tromey  <tromey@redhat.com>
4070
4071         * gdb.base/remote.exp (get_sizeof): Remove.
4072         * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
4073         * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
4074         * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
4075         * lib/gdb.exp (get_valueof): Move from long_long.exp.
4076         (get_sizeof): Likewise.
4077
4078 2009-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
4079
4080         PR fortran/9806
4081         * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
4082
4083 2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4084
4085         * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
4086
4087 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
4088
4089         * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
4090
4091 2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4092
4093         * gdb.python/python-cmd.exp: New file.
4094
4095 2009-02-06  Tristan Gingold  <gingold@adacore.com>
4096
4097         * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
4098
4099 2009-02-05  Tristan Gingold  <gingold@adacore.com>
4100
4101         * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
4102         pointer is dereferenced and use this signal name in regexp.
4103         * gdb.base/signull.exp: Ditto.
4104         * gdb.base/sigbpt.c (main): Catch SIGBUS too.
4105         * gdb.base/signull.c (main): Ditto.
4106
4107 2009-02-04  Tom Tromey  <tromey@redhat.com>
4108             Thiago Jung Bauermann  <bauerman@br.ibm.com>
4109
4110         * gdb.python/python-value.exp: Use `gdb.history' instead of
4111         `gdb.value_from_history'.
4112         (test_value_numeric_ops): Add test for conversion of enum constant.
4113         * gdb.python/python-value.c (enum e): New type.
4114         (evalue): New global.
4115         (main): Use argv.
4116
4117 2009-02-04  Jerome Guitton  <guitton@adacore.com>
4118
4119         * gdb.ada/uninitialized_vars: New test program.
4120         * gdb.ada/uninitialized_vars.exp: New testcase.
4121
4122 2009-02-02  Tom Tromey  <tromey@redhat.com>
4123
4124         * gdb.cp/cpcompletion.exp: Name the test "pr9594".
4125         * gdb.cp/pr2489.cc: Rename...
4126         * gdb.cp/pr9594.cc: ... to this.
4127
4128 2009-02-02  Tom Tromey  <tromey@redhat.com>
4129
4130         * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
4131         * gdb.cp/pr2489.cc: New file.
4132         * gdb.cp/cpcompletion.exp: New file.
4133
4134 2009-02-02  Tom Tromey  <tromey@redhat.com>
4135
4136         PR exp/9059:
4137         * gdb.cp/call-c.exp: Add regression test.
4138         * gdb.cp/call-c.cc (FooHandle): New typedef.
4139         (main): New variable 'handle'.
4140
4141 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
4142
4143         * lib/mi-support.exp (et_mi_thread_list)
4144         (check_mi_and_console_threads): Adjust for current thread in
4145         -thread-list-ids output.
4146
4147 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
4148
4149         * gdb.mi/mi-break.exp (test_disabled_creation): New.
4150         Call it.
4151
4152 2009-01-28  Doug Evans  <dje@google.com>
4153
4154         * gdb.arch/amd64-disp-step.S: New file.
4155         * gdb.arch/amd64-disp-step.exp: New file.
4156         * gdb.arch/i386-disp-step.S: New file.
4157         * gdb.arch/i386-disp-step.exp: New file.
4158
4159 2009-01-27  Pierre Muller  <muller@ics.u-strasbg.fr>
4160
4161         * gdb.base/find.exp: Set newline variable
4162         using quotes instead of braces to fix cygwin failures.
4163
4164 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
4165
4166         * gdb.base/radix.exp: Add tests to ensure that that set
4167         input-radix 0 and set output-radix 0 are really rejected.
4168
4169 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
4170
4171         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
4172         copyright years.
4173
4174 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
4175
4176         PR gdb/9664:
4177         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
4178
4179 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
4180
4181         PR c++/9631:
4182         * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
4183
4184 2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>
4185
4186         * gdb.server/file-transfer.exp: Use EXEEXT variable for
4187         binfile definition to fix Windows OS failure.
4188
4189 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
4190
4191         PR gdb/9346
4192         * gdb.base/interrupt.c (sigint_handler): New.
4193         (main): Install a SIGINT handler if SIGNALS is defined.  Exit
4194         on error.
4195         * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
4196         Test "signal SIGINT".
4197
4198 2009-01-19  Doug Evans  <dje@google.com>
4199
4200         * gdb.base/break.exp: Update expected gdb output.
4201         * gdb.base/sepdebug.exp: Ditto.
4202         * gdb.mi/mi-syn-frame.exp: Ditto.
4203         * gdb.mi/mi2-syn-frame.exp: Ditto.
4204         * gdb.base/call-signal-resume.exp: New file.
4205         * gdb.base/call-signals.c: New file.
4206         * gdb.base/unwindonsignal.exp: New file.
4207         * gdb.base/unwindonsignal.c: New file.
4208         * gdb.threads/interrupted-hand-call.exp: New file.
4209         * gdb.threads/interrupted-hand-call.c: New file.
4210         * gdb.threads/thread-unwindonsignal.exp: New file.
4211
4212 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
4213
4214         * gdb.base/define.exp: Test defining and hooking prefix commands.
4215         * gdb.python/python.exp: Update test for "show user" output.
4216
4217 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4218
4219         * gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
4220         now the output exactly, using less wildcards.  Expect also the output
4221         of gfortran-4.3.  Update for the f-valprint.c modification from
4222         2008-04-22.
4223         * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
4224         Remove gdb_test test names where matching the command.
4225
4226 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
4227
4228         PR breakpoints/9681:
4229         * gdb.base/watchpoint.exp: Add regression test.
4230
4231 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
4232
4233         * gdb.threads/attach-into-signal.exp: Don't use
4234         gdb_suppress_entire_file.
4235         * gdb.threads/attach-stopped.exp: Ditto.
4236         * gdb.threads/attachstop-mt.exp: Ditto.
4237
4238 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
4239
4240         PR gdb/8812:
4241         * gdb.base/signal.exp: Change kfail to fail, and update PR number.
4242
4243 2008-12-29  Pedro Alves  <pedro@codesourcery.com>
4244
4245         PR gdb/7536:
4246         * gdb.base/radix.exp: Add tests to ensure invalid input radices
4247         and unsupported output radices are really rejected.
4248
4249 2008-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
4250
4251         * gdb.cp/punctuator.exp: Backslash the '$' signs.
4252
4253 2008-12-22  Tom Tromey  <tromey@redhat.com>
4254
4255         * gdb.cp/punctuator.exp: New file.
4256
4257 2008-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
4258
4259         * gdb.base/completion.exp (Completing non-existing component): New test.
4260
4261 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
4262
4263         Fix for PR gdb/8648.
4264         * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
4265         gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
4266         gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
4267         gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
4268
4269 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
4270
4271         * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
4272
4273 2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
4274
4275         * gdb.base/expand-psymtabs.c: Insert code in foo so that the
4276         compiler actually generate code at the expected line number.
4277
4278 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
4279
4280         * gdb.base/consecutive.exp: Don't use global in gdb_expect.
4281
4282 2008-12-12  Tom Tromey  <tromey@redhat.com>
4283
4284         * gdb.base/commands.exp (redefine_hook_test): New proc.
4285         Call it.
4286
4287 2008-12-11  Tom Tromey  <tromey@redhat.com>
4288
4289         * gdb.base/macscp.exp: New regression test.
4290
4291 2008-12-11  Tom Tromey  <tromey@redhat.com>
4292
4293         * gdb.base/macscp.exp: Print "address.addr".
4294         * gdb.base/macscp1.c (struct outer): New struct.
4295         (address): New global.
4296
4297 2008-12-09  Tom Tromey  <tromey@redhat.com>
4298
4299         * gdb.base/commands.exp (redefine_backtrace_test): New proc.
4300         Call it.
4301
4302 2008-12-04  Doug Evans  <dje@google.com>
4303
4304         * gdb.server/ext-run.exp: Relax regexp for init program.
4305
4306 2008-12-03  Tristan Gingold  <gingold@adacore.com>
4307
4308         * gdb.base/macscp.exp: Generate an object file during compilation
4309         to work around Darwin dsymutil limitations.
4310
4311 2008-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4312
4313         Test resolving external references to TLS variables.
4314         * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
4315         FILE2_THREAD_LOCAL.
4316         (testfile2, srcfile2): New variables.
4317         * gdb.threads/tls.c (file2_thread_local)
4318         (function_referencing_file2_thread_local): New.
4319         * gdb.threads/tls2.c: New file.
4320
4321 2008-11-28  Joel Brobecker  <brobecker@adacore.com>
4322
4323         * gdb.ada/int_deref.exp: Convert the addresses into long_integer
4324         rather than integer, as integer might not be big enough when
4325         on 64bit targets.
4326
4327 2008-11-27  Jerome Guitton  <guitton@adacore.com>
4328
4329         * gdb.cp/formatted-ref.exp: Add equality test.
4330         * gdb.ada/formatted_ref.exp: Ditto.
4331
4332 2008-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4333
4334         * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
4335         * gdb.base/start.exp: New comment about an alternative - `runto_main'.
4336
4337 2008-11-20  Andreas Schwab  <schwab@suse.de>
4338
4339         * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
4340         matching syscall entry point.
4341         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4342         (tcatch_vfork_then_child_follow): Likewise.  Finish through
4343         vfork even if we stopped at the syscall trampoline.
4344
4345 2008-11-20  Doug Evans  <dje@google.com>
4346
4347         * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
4348
4349 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4350
4351         * gdb.arch/ppc-dfp.exp: New file.
4352         * gdb.arch/ppc-dfp.c: New file.
4353
4354 2008-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4355
4356         * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
4357
4358 2008-11-17  Doug Evans  <dje@google.com>
4359
4360         * gdb.mi/mi-syn-frame.exp: Update expected output.
4361         * gdb.mi/mi2-syn-frame.exp: Update expected output.
4362
4363 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
4364
4365         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
4366         "thread N" results in =thread-selected.
4367         * lib/mi-support (mi_run_cmd, mi_expect_stop)
4368         (mi_send_resuming_command_raw): Be prepared for
4369         =thread-selected.
4370
4371 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
4372
4373         * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
4374         * lib/mi-support.exp: Likewise.
4375
4376 2008-11-16  Joel Brobecker  <brobecker@adacore.com>
4377
4378         * gdb.base/help.exp: Remove the "catch load" and "catch unload"
4379         commands from the expected output for "help catch".
4380
4381 2008-11-15  Joel Brobecker  <brobecker@adacore.com>
4382
4383         * gdb.ada/int_deref.exp: New testcase.
4384
4385 2008-11-14  Nick Roberts  <nickrob@snap.net.nz>
4386
4387         * gdb.mi/gdb2549.exp: New file.
4388
4389 2008-11-11  Doug Evans  <dje@google.com>
4390
4391         * gdb.base/callexit.exp: New file.
4392         * gdb.base/callexit.c: New file.
4393
4394 2008-11-10  Doug Evans  <dje@google.com>
4395
4396         * lib/gdb.exp (GDBFLAGS): Move -nx ...
4397         (INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
4398         (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
4399         (default_gdb_start,default_gdb_exit): Ditto.
4400         * lib/mi-support.exp (default_mi_gdb_start): Ditto.
4401         (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
4402         * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
4403         * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
4404         * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
4405         * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
4406
4407 2008-11-03  Andreas Schwab  <schwab@suse.de>
4408
4409         * gdb.base/hashline2.exp: Fix typo.
4410         * gdb.base/hashline3.exp: Likewise.
4411
4412 2008-10-30  Tom Tromey  <tromey@redhat.com>
4413
4414         * gdb.base/pointers.exp: Add test.
4415         * gdb.base/pointers.c (k, S): New typedefs.
4416         (instance): New global.
4417
4418 2008-10-30  Andreas Schwab  <schwab@suse.de>
4419
4420         * gdb.base/args.exp: Add tests for newlines.
4421
4422 2008-10-30  Joel Brobecker  <brobecker@adacore.com>
4423
4424         gdb.base/foll-exec.exp: Update the expected output of a couple
4425         of "info breakpoints" tests.
4426
4427 2008-10-28  Tom Tromey  <tromey@redhat.com>
4428
4429         * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
4430
4431 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
4432
4433         * gdb.python/python-value.exp (test_value_in_inferior): Don't use
4434         gdb_start_cmd.
4435         Use runto_main before any test that requires execution.
4436
4437 2008-10-23  Pedro Alves  <pedro@codesourcery.com>
4438
4439         * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
4440         instead of SIGINT.
4441
4442 2008-10-22  Joel Brobecker  <brobecker@adacore.com>
4443
4444         * gdb.base/completion.exp: Update expected output following
4445         the addition of the "info tasks" command.
4446
4447 2008-10-22  Tom Tromey  <tromey@redhat.com>
4448
4449         * gdb.base/exprs.exp (test_expr): Add test for string
4450         concatenation.
4451
4452 2008-10-19  Pedro Alves  <pedro@codesourcery.com>
4453
4454         * configure.ac: Output gdb.python/Makefile.
4455         * configure: Regenerate.
4456         * gdb.python/Makefile.in: New.
4457
4458 2008-10-16  Joel Brobecker  <brobecker@adacore.com>
4459
4460         * gdb.base/foll-fork.exp: Adjust the expected output to match
4461         the new description for fork/vfork catchpoints in the "info
4462         breakpoints" output.
4463
4464 2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
4465
4466         * Makefile.in: Add gdb.python to ALL_SUBDIRS.
4467
4468 2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4469
4470         * gdb.python/python-value.c: New file.
4471         * gdb.python/python-value.exp: New file.
4472
4473 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
4474
4475         * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
4476
4477 2008-10-15  Denis Pilat  <denis.pilat@st.com>
4478
4479         * gdb.cp/mb-ctor.exp: Fix a typo.
4480
4481 2008-10-09  Tom Tromey  <tromey@redhat.com>
4482
4483         * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
4484         'fprintf' and 'stderr'.
4485
4486 2008-10-07  Joel Brobecker  <brobecker@adacore.com>
4487
4488         * gdb.ada/ref_tick_size.exp: New testcase.
4489
4490 2008-10-06  Doug Evans  <dje@google.com>
4491
4492         * gdb.dwarf2/dw2-cu-size.exp: New file.
4493         * gdb.dwarf2/dw2-cu-size.S: New file.
4494
4495         * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
4496         .Ltype_int for clarity.
4497
4498 2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4499
4500         PR gdb/2384:
4501         * gdb.cp/gdb2384.exp: Extended to test more cases.
4502         * gdb.cp/gdb2384.cc: Likewise.
4503         * gdb.cp/gdb2384-base.h: Likewise.
4504         * gdb.cp/gdb2384-base.cc: Likewise.
4505
4506 2008-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4507
4508         * gdb.base/maint.exp (maint print type): Remove printing
4509         UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
4510
4511 2008-09-30  Tom Tromey  <tromey@redhat.com>
4512
4513         * gdb.base/macscp.exp: Add completion tests.
4514         * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
4515         (TWENTY_THREE): Likewise.
4516         (FORTY_EIGHT): Likewise.
4517
4518 2008-09-30  Tom Tromey  <tromey@redhat.com>
4519
4520         * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
4521         everywhere.
4522         * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
4523
4524 2008-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4525
4526         * gdb.threads/attachstop-mt.exp: Note a real testcase name this
4527         testcase is derived from.  Fix racy dependency on an expected PID
4528         number.  No longer support the testcase on Linux kernel 2.4.x.
4529
4530 2008-09-27  Tom Tromey  <tromey@redhat.com>
4531
4532         * gdb.base/macscp.exp: Add tests for stringification, splicing,
4533         and varargs.
4534
4535 2008-09-22  Pedro Alves  <pedro@codesourcery.com>
4536
4537         * lib/mi-support.exp (mi_expect_interrupt): New.
4538         (mi_reverse_list, mi_check_thread_states): New, moved and renamed
4539         from gdb.mi/mi-nonstop.exp.
4540         * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
4541         * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
4542         lib/mi-support.exp.
4543         Use mi_check_thread_states throughout.  Avoid ".*" and do not
4544         require an anchor after -exec-run.
4545
4546 2008-09-13  Daniel Jacobowitz  <dan@codesourcery.com>
4547
4548         * gdb.mi/mi-nonstop.exp: Do not check thread state while a
4549         stop is pending.  Avoid ".*" when two stops are pending.
4550         * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
4551         (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
4552         newlines in fullnames.
4553         * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
4554         (mi_expect_stop): Update comments.  Only anchor in sync mode.
4555         Do not match newlines.
4556         (mi_send_resuming_command_raw): Always return status.
4557         (mi_get_stop_line): Do not match more than one line by accident.
4558         Only anchor in sync mode.
4559         (mi_run_inline_test): If -exec-next fails, give up.
4560
4561 2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4562
4563         * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
4564         on SPU.
4565
4566 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
4567
4568         * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
4569
4570 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
4571
4572         * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
4573         gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4574         gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
4575         gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4576         gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
4577         gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
4578         gdb.ada/interface.exp, gdb.ada/null_array.exp,
4579         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4580         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4581         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4582         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
4583         Include the "= " sequence in the expected output of print tests.
4584
4585 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
4586
4587         * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
4588         description for boolean types.
4589
4590 2008-09-09  Pedro Alves  <pedro@codesourcery.com>
4591
4592         * gdb.base/hook-stop-continue.c: New.
4593         * gdb.base/hook-stop-continue.exp: New.
4594
4595 2008-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
4596
4597         * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
4598
4599 2008-09-08  Jerome Guitton  <guitton@adacore.com>
4600
4601         * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
4602         (stack_check_probe_2, stack_check_probe_loop_1)
4603         (stack_check_probe_loop_2): New functions.
4604         (main): Add call to these new functions.
4605         * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
4606         functions, check that the breakpoint is inserted at the appropriate
4607         location.
4608         (insert_breakpoint): Slightly refine this procedure so that it can
4609         be called several times in the test.
4610
4611 2008-09-08  Jerome Guitton  <guitton@adacore.com>
4612
4613         * gdb.base/stack-checking.c: New file.
4614         * gdb.base/stack-checking.exp: New file.
4615
4616 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4617
4618         * gdb.arch/altivec-abi.exp: Remove extra verbose call.
4619         * gdb.arch/altivec-regs.exp: Likewise.
4620         * gdb.arch/vsx-regs.exp: Likewise.
4621
4622 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4623
4624         * gdb.arch/ppc-fp.exp: New file.
4625         * gdb.arch/ppc-fp.c: New file.
4626
4627 2008-09-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4628
4629         *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
4630         lest gcc-4.3.1 optimizes the whole thing away.
4631
4632 2008-09-04  Michael Snyder  <msnyder@vmware.com>
4633
4634         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
4635         as "at" (for non-debug functions such as _start).
4636
4637 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4638
4639         * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
4640         * gdb.base/watchpoint-solib.exp: Likewise.  Update tests to handle
4641         software watchpoints.
4642         * gdb.base/watch_thread_num.exp: Likewise.
4643
4644 2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
4645
4646         * gdb.arch/i386-bp_permanent.exp: New test.
4647
4648 2008-08-24  Tom Tromey  <tromey@redhat.com>
4649
4650         * gdb.base/maint.exp: Update "maint print type".
4651
4652 2008-08-21  Vladimir Prus  <vladimir@codesourcery.com>
4653
4654         * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
4655         support.  Adjust the order of "*running" notifications.
4656         * gdb.mi/non-stop.c: Don't cast from int to void* and
4657         back.
4658
4659 2008-08-20  Mark Kettenis  <kettenis@gnu.org>
4660
4661         * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
4662         expect to find it in the "info frame" output.
4663
4664 2008-08-20  Daniel Jacobowitz  <dan@codesourcery.com>
4665
4666         * gdb.base/interp.exp: Always consume both prompts.
4667
4668 2008-08-20  Pedro Alves  <pedro@codesourcery.com>
4669
4670         * gdb.base/pending.exp: Test pending breakpoints without symbols
4671         loaded.
4672
4673 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
4674
4675         * lib/mi-support.exp (mi_expect_stop): Produce
4676         more details on failures.
4677         * gdb.mi/mi-nonstop.exp: New.
4678         * gdb.mi/non-stop.c: New.
4679
4680 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
4681
4682         * gdb.mi/mi-async.exp: Use 'set target-async'.
4683         * lib/mi-support.exp: Use 'set/show target-async'.
4684
4685 2008-08-18  Daniel Jacobowitz  <dan@codesourcery.com>
4686
4687         * gdb.arch/powerpc-prologue.exp: Correct saved registers.
4688
4689 2008-08-17  Tom Tromey  <tromey@redhat.com>
4690
4691         * gdb.base/help.exp (help catch): Rewrite.
4692
4693 2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4694
4695         * gdb.base/define.exp: Test indented command documentation.
4696         * gdb.python/python.exp: Test indented multi-line command.
4697
4698 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
4699
4700         * testsuite/gdb.arch/vsx-regs.c: New source file.
4701         * testsuite/gdb.arch/vsx-regs.exp: New testcase.
4702         * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
4703
4704 2008-08-14  Tom Tromey  <tromey@redhat.com>
4705
4706         * gdb.base/macscp.exp: Add regression test for "macro define" or
4707         "macro undef" with no arguments.
4708
4709 2008-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4710
4711         * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
4712
4713 2008-08-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4714
4715         * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
4716
4717 2008-08-06  Tom Tromey  <tromey@redhat.com>
4718
4719         * gdb.python/python.exp: New file.
4720
4721 2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
4722
4723         Fix for PR gdb/1543.
4724         * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
4725         $LOCATION.
4726         (location): New variable.
4727         * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
4728         config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
4729         config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
4730         config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
4731         gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
4732         gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
4733         gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
4734         gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
4735         gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
4736         gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
4737         gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
4738         gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
4739         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
4740         gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
4741         gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4742         gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
4743         gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
4744         gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
4745         gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
4746         gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4747         gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
4748         gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
4749         gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
4750         gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
4751         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
4752         gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
4753         gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
4754         gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
4755         gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
4756         gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
4757         gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
4758         gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
4759         gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
4760         gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
4761         gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
4762         gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
4763         gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
4764         gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4765         gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
4766         gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
4767         gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
4768         gdb.base/type-opaque.exp, gdb.base/until.exp,
4769         gdb.base/value-double-free.c, gdb.base/varargs.exp,
4770         gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
4771         gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
4772         gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4773         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
4774         gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
4775         gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4776         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4777         gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
4778         gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
4779         gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
4780         gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
4781         gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
4782         gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
4783         gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
4784         gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
4785         gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4786         gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
4787         gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
4788         gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
4789         gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
4790         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
4791         gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
4792         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
4793         gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
4794         gdb.pascal/types.exp, gdb.stabs/weird.exp,
4795         gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
4796         gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
4797         gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
4798         gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
4799         gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
4800         gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
4801         gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4802         gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4803         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4804         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4805         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4806         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4807         lib/mi-support.exp, lib/trace-support.exp: Remove reference
4808         to bug-gdb@prep.ai.mit.edu .
4809
4810 2008-07-31  Vladimir Prus  <vladimir@codesourcery.com>
4811
4812         * lib/mi-support.exp (mi_load_shlibs): New.
4813         * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
4814
4815 2008-07-30  Vladimir Prus  <vladimir@codesourcery.com>
4816
4817         * lib/mi-support.exp (get_mi_thread_list)
4818         (check_mi_and_console_threads): New, moved from ...
4819         * gdb.mi/mi-pthread.exp: ...here.
4820         * gdb.mi/gdb669.exp (get_mi_thread_list)
4821         (check_mi_and_console_threads): Delete.
4822         * gdb.mi/mi2-pthread.exp: Likewise.
4823
4824 2008-07-28  Tom Tromey  <tromey@redhat.com>
4825
4826         * Makefile.in (just-check): Remove.  Move body to...
4827         (check): ... here.
4828
4829 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
4830
4831         * gdb.threads/manythreads.exp: Use remote_expect instead of after.
4832         Add a test for duplicated SIGINTs.
4833
4834 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
4835
4836         * gdb.threads/schedlock.exp (get_args): Update to work for any
4837         value of NUM.
4838         (Top level): Report the number of threads that did not resume.
4839
4840 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
4841
4842         * gdb.dwarf2/dw2-compressed.S: Also define __start.
4843
4844 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
4845
4846         * lib/mi-support.exp (default_mi_gdb_start): Remove check for
4847         non-MI prompt.
4848
4849 2008-07-26  Tom Tromey  <tromey@redhat.com>
4850
4851         * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
4852         (function_struct, function_struct_ptr): New globals.
4853         * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
4854         function pointer in a struct.
4855
4856 2008-07-26  Tom Tromey  <tromey@redhat.com>
4857
4858         * gdb.base/macscp.exp: Add test for macro lexing bug.
4859
4860 2008-07-18  Tom Tromey  <tromey@redhat.com>
4861
4862         * gdb.base/macscp.exp: Add macro tests.
4863
4864 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4865
4866         * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
4867
4868 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4869
4870         * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
4871
4872 2008-07-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
4873
4874         * gdb.cp/class2.exp: fix for failure on spu-elf
4875
4876 2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
4877
4878         * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
4879
4880 2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4881
4882         * gdb.base/randomize.exp: Catch non-Linux targets as untested.
4883
4884 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
4885
4886         * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
4887
4888 2008-07-11  Kevin Buettner  <kevinb@redhat.com>
4889
4890         * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
4891         of regexp to account for changes made to GDB in the printing of
4892         byte vectors.
4893
4894 2008-07-11  Tom Tromey  <tromey@redhat.com>
4895
4896         * gdb.base/completion.exp: Add 'help' completion test.
4897
4898 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
4899
4900         * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
4901
4902 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
4903
4904         * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
4905
4906 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
4907
4908         * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
4909
4910 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
4911
4912         * gdb.base/fullname.exp: Restore pwd if compiling failed.
4913
4914 2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4915
4916         * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
4917
4918 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
4919
4920         * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
4921         previous commit.  Add a comment.
4922
4923 2008-06-28  Pedro Alves  <pedro@codesourcery.com>
4924
4925         * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
4926
4927 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
4928
4929         * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
4930
4931 2008-06-27  Pedro Alves  <pedro@codesourcery.com>
4932
4933         * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
4934         (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
4935         compiling an executable, link in an object that forces unbuffered
4936         output.
4937         * lib/set_unbuffered_mode.c: New file.
4938
4939 2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4940
4941         * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
4942
4943 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
4944
4945         * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
4946         mi_expect_stop.
4947         * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
4948         Demand that *running is output.
4949         (detect_async): Perform checking every time.
4950         (mi_send_resuming_command): Extract everything into...
4951         (mi_send_resuming_command_raw): ...this.
4952         (mi_expect_stop): Don't accept any output before *stopped.
4953
4954 2008-06-13  Vladimir Prus  <vladimir@codesourcery.com>
4955
4956         Robustify mi-simplerun.
4957         * gdb.mi/basics.c (main): Add a call to sleep.
4958         * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
4959         * gdb.mi/mi2-cli.exp: Likewise.
4960         * gdb.mi/mi-break.exp: Likewise.
4961
4962 2008-06-11  Vladimir Prus  <vladimir@codesourcery.com>
4963
4964         * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
4965
4966 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
4967
4968         * gdb.mi/mi-console.exp: Adjust.
4969         * gdb.mi/mi-syn-frame.exp: Adjust.
4970         * gdb.mi/mi2-console.exp: Adjust.
4971         * gdb.mi/mi2-syn-frame.exp: Adjust.
4972         * lib/mi-support.exp (mi_run_cmd): Adjust.
4973         (mi_send_resuming_command): Adjust.
4974
4975 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
4976
4977         * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
4978         * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
4979         testing of stopped.
4980         * gdb.mi/mi2-syn-frame.exp: Likewise.
4981         * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
4982         (async, detect_async): New.
4983         (mi_expect_stop, mi_continue_to_line): Adjust expectation
4984         depending on if we're running in sync or async mode.
4985
4986 2008-06-09  Tom Tromey  <tromey@redhat.com>
4987
4988         * gdb.base/completion.exp: New tests for field name completion
4989         with spaces, and field name completion with '->'.
4990
4991 2008-06-06  Tom Tromey  <tromey@redhat.com>
4992
4993         * gdb.base/break1.c (struct some_struct): New struct.
4994         (values): New global.
4995         * gdb.base/completion.exp: Add field name completion test.
4996
4997 2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4998
4999         * gdb.cp/call-c.exp: Test for incorrect handling of reference
5000         to pointer.
5001         * gdb.cp/call-c.cc: Likewise.
5002
5003 2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
5004
5005         * gdb.base/annota1.exp (thread_switch): Test for thread-changed
5006         annotation.
5007
5008 2008-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5009             Pedro Alves  <pedro@codesourcery.com>
5010
5011         * gdb.threads/execl.c, gdb.threads/execl1.c,
5012         gdb.threads/execl.exp: New tests.
5013
5014 2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
5015             Daniel Jacobowitz  <dan@codesourcery.com>
5016
5017         * gdb.cp/exception.exp: Activate test, make it work with pending
5018         catchpoints.
5019
5020 2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5021
5022         * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
5023
5024 2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
5025
5026         * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
5027         now printed.
5028         * gdb.mi/mi2-var-cmd.exp: Likewise.
5029
5030 2008-05-27  Andreas Schwab  <schwab@suse.de>
5031
5032         * gdb.base/frame-args.exp: Handle arguments that are optimized
5033         out.
5034
5035 2008-05-26  Luis Machado  <luisgpm@br.ibm.com>
5036
5037         * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
5038         quiet for ppc32 and group options into a single variable.
5039
5040 2008-05-23  Joel Brobecker  <brobecker@adacore.com>
5041
5042         * gdb.ada/null_array/foo.adb: Add multi-dimensional array
5043         of zero-size elements.
5044         * gdb.ada/null_array.exp: Test printing this new array.
5045
5046 2008-05-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5047
5048         * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
5049
5050 2008-05-21  Joel Brobecker  <brobecker@adacore.com>
5051
5052         * gdb.base/finish.exp: Test that "fin" works as an abbreviation
5053         of the "finish" command.
5054
5055 2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
5056
5057         * gdb.base/annota1.exp: Test for new annotation.
5058
5059 2008-05-16  Pedro Alves  <pedro@codesourcery.com>
5060
5061         * gdb.base/fixsection.exp: New file.
5062         * gdb.base/fixsection0.c: New file.
5063         * gdb.base/fixsection1.c: New file.
5064
5065 2008-05-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5066
5067         * gdb.base/annota1.exp: Accept printf@... in place of printf.
5068         * gdb.base/annota3.exp: Likewise.
5069
5070 2008-05-13  Nathan Froyd  <froydnj@codesourcery.com>
5071
5072         * gdb.base/watch_thread_num.exp: Don't run tests that require
5073         watchpoints if the target doesn't support them.
5074
5075 2008-05-12  Doug Evans  <dje@google.com>
5076
5077         * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
5078
5079 2008-05-09  Joel Brobecker  <brobecker@adacore.com>
5080
5081         * gdb.ada/assign_1.exp: New testcase.
5082
5083 2008-05-09  Doug Evans  <dje@google.com>
5084
5085         * gdb.base/find.exp: New file.
5086         * gdb.base/find.c: New file.
5087
5088 2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
5089
5090         * gdb.base/commands.exp (watchpoint_command_test): Handle
5091         gdb,no_hardware_watchpoints.
5092         * gdb.base/float.exp: Allow ARM targets without floating point.
5093         * gdb.base/step-test.exp: Allow callee@plt when stepping in.
5094
5095 2008-05-06  Jerome Guitton  <guitton@adacore.com>
5096             Joel Brobecker  <brobecker@adacore.com>
5097
5098         * gdb.ada/lang_switch: New test program.
5099         * gdb.ada/lang_switch.exp: New testcase.
5100
5101 2008-05-05  Doug Evans  <dje@google.com>
5102
5103         * gdb.base/help.exp (disassemble): Update expected help text.
5104
5105 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
5106
5107         * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
5108
5109 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
5110
5111         * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
5112         different times.
5113
5114 2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
5115
5116         * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
5117         * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
5118         `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
5119         * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
5120
5121 2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
5122
5123         * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
5124         notification to appear.
5125
5126 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
5127
5128         * gdb.base/fullname.c: New file.
5129         * gdb.base/fullname.exp: New file.
5130         * lib/gdb.exp (gdb_breakpoint): Support no-message option.
5131
5132 2008-05-03  Pedro Alves  <pedro@codesourcery.com>
5133
5134         * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
5135         expressions with macros.
5136
5137 2008-05-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5138
5139         * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
5140
5141 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
5142
5143         * gdb.base/completion.exp: Handle lack of other symbols beginning
5144         with "a".
5145
5146         * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
5147
5148 2008-05-02  Jim Blandy  <jimb@codesourcery.com>
5149
5150         * gdb.asm/asmsrc1.s: Add scratch space.
5151
5152 2008-05-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
5153             Daniel Jacobowitz  <dan@codesourcery.com>
5154
5155         * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
5156         gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
5157         gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
5158
5159 2007-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
5160
5161         * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
5162
5163 2008-05-01  Joel Brobecker  <brobecker@adacore.com>
5164
5165         * gdb.base/info-target.exp: New testcase.
5166
5167 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
5168
5169         * gdb.cp/hang.exp: Use .cc instead of .C.
5170         * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
5171         * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
5172
5173 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
5174
5175         * gdb.base/gdb1250.exp: Remove perror.
5176         * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
5177
5178 2008-04-30  Pedro Alves  <pedro@codesourcery.com>
5179
5180         * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
5181         .2byte.
5182
5183 2008-04-25  Daniel Jacobowitz  <dan@codesourcery.com>
5184
5185         * gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
5186         (maybe_kfail): New.
5187
5188 2008-04-25  Pedro Alves  <pedro@codesourcery.com>
5189
5190         * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
5191
5192 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
5193
5194         * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
5195         * gdb.mi/mi2-syn-frame.exp: Likewise.
5196         * lib/mi-support.exp: Likewise.
5197
5198 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
5199
5200         * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
5201         to specify regexp for the location to stop at.
5202         * gdb.base/break-always.c: New.
5203         * gdb.base/break-always.exp: New.
5204
5205 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
5206
5207         * lib/mi-support.exp (mi_runto_helper): Adjust
5208         for the original-location field.
5209         (mi_create_breakpoint, mi_list_breakpoints): New.
5210         * gdb.mi/mi-break.exp: Adjust.
5211         * gdb.mi/mi2-break.exp: Adjust.
5212         * gdb.mi/mi-pending.exp: Adjust.
5213         * gdb.mi/mi-simplerun.exp: Adjust.
5214         * gdb.mi/mi2-simplerun.exp: Adjust.
5215         * gdb.mi/mi-syn-frame.exp: Adjust.
5216         * gdb.mi/mi2-syn-frame.exp: Adjust.
5217         * gdb.mi/mi-until.exp: Adjust.
5218         * gdb.mi/mi2-until.exp: Adjust.
5219         * gdb.mi/mi-var-display.exp: Adjust.
5220         * gdb.mi/mi2-var-display.exp: Adjust.
5221         * gdb.mi/mi-watch.exp: Adjust.
5222         * gdb.mi/mi2-watch.exp: Adjust.
5223
5224 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
5225
5226         * aclocal.m4: Add override.m4.
5227         * configure: Regenerate.
5228
5229 2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
5230
5231         * gdb.mi/var-cmd.c (do_at_tests): Verify that
5232         '-var-update --all-values' reports new value even the type
5233         of a variable object has changed.
5234
5235 2008-04-18  Craig Silverstein  <csilvers@google.com>
5236
5237         * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
5238         files.
5239
5240 2008-04-18  Joel Brobecker  <brobecker@adacore.com>
5241
5242         * gdb.ada/atomic_enum: New test program.
5243         * gdb.ada/atomic_enum.exp: New testcase.
5244
5245 2008-04-17  Doug Evans  <dje@google.com>
5246
5247         * gdb.opt/Makefile.in: Fix whitespace.
5248
5249 2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
5250
5251         * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
5252
5253 2008-04-17  Doug Evans  <dje@google.com>
5254
5255         * gdb.base/hashline1.exp: New testcase.
5256         * gdb.base/hashline2.exp: New testcase.
5257         * gdb.base/hashline2.exp: New testcase.
5258
5259 2008-04-17  Pedro Alves  <pedro@codesourcery.com>
5260
5261         * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
5262
5263 2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
5264
5265         * gdb.base/attach.exp (do_attach_tests): Matching pattern for
5266         temporary breakpoint to match "Temporary breakpoint".
5267         * gdb.base/break.exp (delete_breakpoints): Likewise.
5268         * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
5269         * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
5270         * gdb.base/display.exp: Likewise.
5271         * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
5272         * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
5273         * gdb.base/restore.exp (restore_tests): Likewise.
5274         * gdb.base/sepdebug.exp: Likewise.
5275         * gdb.base/watchpoint.exp: Likewise.
5276         * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
5277         * gdb.mi/mi-pending.exp: Likewise.
5278         * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
5279         * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
5280         * gdb.mi/mi-var-cmd.exp: Likewise.
5281         * gdb.mi/mi-var-display.exp: Likewise.
5282         * gdb.mi/mi2-cli.exp: Likewise.
5283         * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
5284         * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
5285         * gdb.mi/mi2-var-display.exp: Likewise.
5286         * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
5287         * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
5288         new "disp" field.
5289         (mi_expect_stop): Move after_reason argument to be really after
5290         reason. This is to support fix for PR2424.
5291
5292 2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
5293
5294         * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
5295
5296 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
5297
5298         * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
5299         field.  Add more floating varobj tests.
5300         * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
5301         field.
5302         * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
5303         (main): Call do_at_tests.
5304         * lib/mi-support.exp (mi_create_floating_varobj)
5305         (mi_varobj_update_with_type_change): New.
5306
5307 2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
5308
5309         * gdb.mi/mi2-var-display.exp: Added tests for the new -f
5310         option of -var-evaluate-expression.
5311         * gdb.mi/mi2-var-display.exp: Likewise.
5312
5313 2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
5314
5315         Introduce test setup helpers.
5316         * lib/gdb.exp (build_executable, clean_restart)
5317         (prepare_for_testing): New.
5318         * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
5319         * gdb.base/return.exp: Likewise.
5320         * gdb.base/ending-run.exp: Likewise.
5321
5322 2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
5323
5324         * gdb.mi/mi-async.exp: New test for asynchronous Machine
5325         Interface (MI) responses.
5326
5327 2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
5328
5329         * gdb.cp/breakpoint.cc: New code to test conditions involving
5330         member variables.
5331         * gdb.cp/breakpoint.exp: Test condition involving member
5332         variables.
5333
5334 2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
5335
5336         * lib/mi-support.exp (mi_expect_stop): New.
5337         (mi_run_cmd): Change the
5338         token.  Use mi_send_resuming_command, use
5339         mi_expect_stop.
5340         (mi_execute_to_helper): Rename to mi_execute_to.
5341         (mi_send_resuming_command): Add more error patterns.
5342         (mi_wait_for_stop): Renamed to...
5343         (mi_get_stop_line): ...this.
5344         (mi_run_inline_test): Adjust.
5345
5346         * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
5347         * gdb.mi/mi-console.exp: Likewise.
5348         * gdb.mi/mi-pending.exp: Likewise.
5349         * gdb.mi/mi-simplerun.exp: Likewise.
5350         * gdb.mi/mi-stack.exp: Likewise.
5351         * gdb.mi/mi-stepi.exp: Likewise.
5352         * gdb.mi/mi-syn-frame.exp: Add comment.
5353         * gdb.mi/mi-until.exp: Likewise.
5354         * gdb.mi/mi-var-display.exp: Likewise.
5355         * gdb.mi/mi-watch.exp: Likewise.
5356         * gdb.mi/mi2-cli.exp: Likewise.
5357         * gdb.mi/mi2-console.exp: Likewise.
5358         * gdb.mi/mi2-simplerun.exp: Likewise.
5359         * gdb.mi/mi2-stack.exp: Likewise.
5360         * gdb.mi/mi2-stepi.exp: Likewise.
5361         * gdb.mi/mi2-until.exp: Likewise.
5362         * gdb.mi/mi2-var-display.exp: Likewise.
5363         * gdb.mi/mi2-watch.exp: Likewise.
5364
5365 2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5366
5367         * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
5368
5369         * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
5370
5371 2008-04-04  Pedro Alves  <pedro@codesourcery.com>
5372
5373         * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
5374         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
5375         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
5376         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
5377         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
5378         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
5379         expect an mi error duplicated in stderr.
5380
5381 2008-04-03  Joel Brobecker  <brobecker@adacore.com>
5382
5383         * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
5384         * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
5385         Add a couple of tests that verify the behavior when the new setting
5386         is set to "cancel" and "all".
5387         * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
5388         "ask" before we start the testing.
5389
5390 2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
5391
5392         * gdb.cp/casts.cc: Add class reference variables.
5393         * gdb.cp/casts.exp: New test cases for up/down casting references.
5394
5395 2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
5396
5397         * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
5398         instead of beginning to make an extra test pass.
5399         * gdb.mi/mi2-var-display.exp: Likewise.
5400
5401 2008-03-31  Maciej W. Rozycki  <macro@mips.com>
5402
5403         * gdb.base/break.exp: Mark failures as such.  Fix formatting.
5404
5405 2008-03-31  Markus Deuling  <deuling@de.ibm.com>
5406             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5407
5408         * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
5409         value.  Add xfail for older kernels.
5410
5411 2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
5412
5413         Bring mi-support in line with gdb.exp.
5414         * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
5415         (mi_gdb_start): New function.
5416
5417 2008-03-28  Maciej W. Rozycki  <macro@mips.com>
5418
5419         * gdb.mi/mi-var-cmd.exp: Fix a typo.
5420
5421 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
5422
5423         * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
5424         * gdb.mi/mi2-var-display.exp: Likewise.
5425
5426 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
5427
5428         * lib/mi-support.exp (mi_create_varobj_checked): New.
5429         (mi_list_varobj_children): Allow to check for a
5430         value.
5431         (mi_list_array_varobj_children): New.
5432
5433         * gdb.mi/mi-var-child.exp: Use mi_create_varobj
5434         and mi_list_varobj_children, as opposed to hardcoding
5435         expected strings.
5436         * gdb.mi/gdb701.exp: Likewise.
5437         * gdb.mi/gdb792.exp: Likewise.
5438         * gdb.mi/mi-var-block.exp: Likewise.
5439         * gdb.mi/mi-var-cmd.exp: Likewise.
5440         * gdb.mi/mi-var-invalidate.exp: Likewise.
5441         * gdb.mi/mi2-var-block.exp: Likewise.
5442         * gdb.mi/mi2-var-child.exp: Likewise.
5443         * gdb.mi/mi2-var-cmd.exp: Likewise.
5444         * gdb.mi/mi2-var-display.exp: Likewise.
5445
5446 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5447
5448         Fix random false FAILs on i386.
5449         * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
5450
5451 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
5452
5453         PR gdb/544
5454         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
5455
5456 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
5457
5458         PR gdb/544
5459         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
5460
5461 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
5462
5463         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
5464         fixed PR gdb/544.
5465
5466 2008-03-21  Pedro Alves  <pedro@codesourcery.com>
5467
5468         * gdb.threads/fork-child-threads.exp: Test next over fork.
5469
5470 2008-03-21  Chris Demetriou  <cgd@google.com>
5471
5472         * gdb.base/break.exp (rbreak junk): New test for rbreak
5473         "Junk at end of arguments" issue.
5474
5475 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
5476
5477         * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
5478         *& to work on created array elements.
5479         (Top level): Test print $pc with a file.  Test string operations
5480         without a target.
5481         * gdb.base/ptype.exp: Do not expect *& to work on created array
5482         elements.
5483
5484 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
5485
5486         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5487         gdb.threads/staticthreads.exp: Update exit query.
5488
5489 2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
5490
5491         * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
5492
5493 2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
5494
5495         * gdb.base/watchpoint.c (global_ptr, func4): New.
5496         (main): Call func4.
5497         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
5498         (test_inaccessible_watchpoint): New.
5499
5500 2008-02-29  Maciej W. Rozycki  <macro@mips.com>
5501
5502         * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
5503         select the largest.
5504
5505 2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
5506
5507         * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
5508         frames-invalid annotations.
5509
5510 2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
5511
5512         * gdb.base/assign.exp: avoid same output for different tests.
5513
5514 2008-02-27  Doug Evans  <dje@google.com>
5515
5516         * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
5517         for bug 1738.
5518         (breakpoint_to_handler_entry): Ditto.
5519
5520 2008-02-27  Joel Brobecker  <brobecker@adacore.com>
5521
5522         * gdb.base/ending-run.exp: Use the first line of code inside
5523         function body to test breakpoints.
5524         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
5525         location where the breakpoint is inserted when using the line
5526         where a function is declared. Fix typo in the description of
5527         one of the tests.
5528         * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
5529
5530 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
5531
5532         * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
5533         tests.
5534
5535 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
5536
5537         * gdb.base/args.exp: avoid same output for tests
5538         with single quotes.
5539
5540 2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
5541
5542         * gdb.base/annota1.exp: Adjust for 'info break'
5543         format changes.
5544         * gdb.base/annota3.exp: Likewise.
5545         * gdb.base/break.exp: Likewise.
5546         * gdb.base/condbreak.exp: Likewise.
5547         * gdb.base/pending.exp: Likewise.
5548         * gdb.base/sepdebug.exp: Likewise.
5549         * gdb.base/unload.exp: Likewise.
5550         * gdb.cp/ovldbreak.exp: Likewise.
5551         * gdb.mi/mi-pending.exp: Likewise.
5552
5553 2008-02-07  Doug Evans  <dje@google.com>
5554
5555         * gdb.cp/mb-inline.exp: New.
5556         * gdb.cp/mb-inline.h: New.
5557         * gdb.cp/mb-inline1.cc: New.
5558         * gdb.cp/mb-inline2.cc: New.
5559
5560 2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
5561
5562         * gdb.pascal/floats.pas: New test program.
5563         * gdb.pascal/floats.exp: New testcase.
5564
5565 2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
5566
5567         * gdb.base/callfuncs.c (t_float_many_args): New function.
5568         (t_double_many_args): New function.
5569         * gdb.base/callfuncs.exp: Add tests for exceeding float
5570         and double parameters passed through the stack.
5571
5572 2008-02-05  Joel Brobecker  <brobecker@adacore.com>
5573
5574         * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
5575         gdb.ada/complete/foo.adb: New files.
5576         * gdb.ada/complete.exp: New testcase.
5577
5578 2008-02-03  Doug Evans  <dje@google.com>
5579
5580         * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
5581
5582         * gdb.cp/gdb2384.exp: New file.
5583         * gdb.cp/gdb2384.cc: New file.
5584         * gdb.cp/gdb2384-base.h: New file.
5585         * gdb.cp/gdb2384-base.cc: New file.
5586
5587 2008-02-02  Doug Evans  <dje@google.com>
5588
5589         * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
5590
5591 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
5592
5593         * gdb.ada/sym_print_name: New test program.
5594         * gdb.ada/sym_print_name.exp: New testcase.
5595
5596 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
5597
5598         * gdb.ada/nested/hello.adb: New file.
5599         * gdb.ada/nested.exp: New testcase.
5600         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
5601
5602 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
5603
5604         * gdb.mi/basic.c (return_1): New function.
5605         * gdb.mi/mi-break.exp: Make sure that failed -break-insert
5606         don't cause future evaluations of function to report
5607         creation of internal breakpoints.
5608
5609 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
5610
5611         * gdb.mi/mi-break.exp (test_error): New.
5612         Call it.
5613
5614 2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
5615
5616         * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
5617         * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
5618
5619 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
5620
5621         * gdb.pascal/integers.pas: New test program.
5622         * gdb.pascal/integers.exp: New testcase.
5623
5624 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
5625
5626         * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
5627
5628 2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
5629
5630         * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
5631         * gdb.arch/powerpc-d128-regs.c: New testcase source file.
5632
5633 2008-01-30  Paul Hilfinger  <hilfinger@adacore.com>
5634
5635         * gdb.ada/formatted_ref: New test program.
5636         * gdb.ada/formatted_ref.exp: New testcase.
5637
5638         * gdb.cp/formatted-ref.cc: New file.
5639         * gdb.cp/formatted-ref.exp: New testcase.
5640
5641 2008-01-30  Joel Brobecker  <brobecker@adacore.com>
5642
5643         * gdb.base/ptype.exp: Add testing of "ptype $pc".
5644
5645 2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
5646
5647         * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
5648         (test_file_list_exec_source_file): Update to new macro-info field.
5649
5650 2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
5651
5652         * gdb.ada/exprs: New test program.
5653         * gdb.ada/exprs.exp: New testcase.
5654
5655 2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
5656
5657         * dfp-test.c (DELTA, DELTA_B): New definitions.
5658         (double_val1, double_val2, double_val3, double_val4, double_val5,
5659         double_val6, double_val7, double_val8, double_val9, double_val10,
5660         double_val11, double_val12, double_val13, double_val14, dec32_val1,
5661         dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
5662         dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
5663         dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
5664         dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
5665         dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
5666         dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
5667         dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
5668         dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
5669         dec128_val12, dec128_val13, dec128_val14, dec128_val15,
5670         dec128_val16): New global variables.
5671         (decimal_dec128_align): New function.
5672         (decimal_mixed): Likewise.
5673         (decimal_many_args_dec32): Likewise.
5674         (decimal_many_args_dec64): Likewise.
5675         (decimal_many_args_dec128): Likewise.
5676         (decimal_many_args_mixed): Likewise.
5677         * dfp-test.exp: Add tests calling new inferior functions.
5678
5679 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
5680
5681         * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
5682         gdb.server/ext-run.exp: New files.
5683         * lib/gdbserver-support.exp (gdbserver_download): New.
5684         (gdbserver_start): New.  Update gdbserver expected
5685         output.
5686         (gdbserver_spawn): Use them.
5687         (gdbserver_start_extended): New.
5688
5689 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
5690
5691         * gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
5692         Run on GNU/Linux.
5693         (do_exec_tests): Check for systems which do not support catchpoints.
5694         Do not match START.
5695         * gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
5696         Run on GNU/Linux.  Enable verbose output.
5697         (check_fork_catchpoints): New.
5698         (explicit_fork_child_follow, catch_fork_child_follow)
5699         (tcatch_fork_parent_follow): Update expected messages.
5700         (do_fork_tests): Use check_fork_catchpoints.
5701         * gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
5702         Run on GNU/Linux.  Enable verbose output.
5703         (check_vfork_catchpoints): New.
5704         (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
5705         expected messages.
5706         (do_vfork_and_exec_tests): Use check_fork_catchpoints.
5707
5708 2008-01-29  Jim Blandy  <jimb@red-bean.com>
5709
5710         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
5711         host' errors.
5712         * lib/mi-support.exp (mi_gdb_target_cmd): Same.
5713
5714 2008-01-29  Jim Blandy  <jimb@red-bean.com>
5715
5716         * gdb.threads/sigthread.c: Use barriers to ensure that
5717         child_thread and child_thread_two are always initialized before we
5718         start to use them.
5719
5720 2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
5721
5722         * gdb.base/watchpoint-solib.exp: New.
5723         * gdb.base/watchpoint-solib.c: New.
5724         * gdb.base/watchpoint-solib-shr.c: New.
5725
5726 2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
5727
5728         * gdb.base/gdb1056.exp: Add unsigned integer test.
5729
5730 2008-01-28  Doug Evans  <dje@google.com>
5731
5732         * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
5733
5734 2008-01-27  Jim Blandy  <jimb@codesourcery.com>
5735
5736         * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
5737
5738         * gdb.base/expand-psymtabs.exp: Doc fix.
5739
5740 2008-01-26  Mark Kettenis  <kettenis@gnu.org>
5741
5742         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
5743
5744 2008-01-24  Nick Roberts  <nickrob@snap.net.nz>
5745
5746         * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5747         -var-set-format.
5748
5749 2008-01-23  Chris Demetriou  <cgd@google.com>
5750
5751         * gdb.threads/thread_events.c: New testcase source file.
5752         * gdb.threads/thread_events.exp: New testcase expect file.
5753
5754 2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
5755
5756         * lib/gdb.exp: Add the variable octal.
5757
5758         * gdb.mi/mi-var-display.exp: Add value field to tests for output of
5759         -var-set-format.
5760
5761 2008-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
5762             Vladimir Prus  <vladimir@codesourcery.com>
5763
5764         * gdb.base/float.exp: Allow missing floating point for m68k and
5765         PowerPC.
5766
5767 2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
5768
5769         * gdb.mi/basics.c: Setup for testing breakpoints
5770         ignore count.
5771         * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
5772         * gdb.mi/mi-cli.exp: Adjust.
5773         * gdb.mi/mi2-cli.exp: Adjust.
5774
5775 2008-01-17  Pedro Alves  <pedro@codesourcery.com>
5776
5777         * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
5778         and 'dummy_ptr' integer pointer.  Initialize struct_declarations
5779         with dummy_ptr's address.
5780         * gdb.mi/var-cmd.c (do_children_tests): Likewise.
5781         * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
5782         all targets.
5783         * gdb.mi/mi2-var-child.exp: Likewise.
5784
5785 2008-01-09  Joel Brobecker  <brobecker@adacore.com>
5786
5787         * gdb.ada/null_array: New test program.
5788         * gdb.ada/null_array.exp: New testcase.
5789
5790 2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
5791
5792         * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
5793         with required float modifiers.
5794
5795 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
5796
5797         * gdb.ada/funcall_param: New test program.
5798         * gdb.ada/funcall_param.exp: New testcase.
5799
5800 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
5801
5802         * gdb.ada/arrayparam: New test program.
5803         * gdb.ada/arrayparam.exp: New testcase.
5804
5805 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
5806
5807         * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
5808         landed.  Should also fix random failures in the test following it.
5809
5810 2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
5811
5812         * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
5813         for expressions with decimal float values.
5814         (test_dfp_conversions): New function to test casts to and from
5815         decimal float types.
5816         Call test_dfp_conversions.
5817         * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
5818         elements.
5819         (main): Initialize ds.float4 and ds.double8 elements.
5820         * gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
5821         string to new error message.
5822         (d64_set_tests): Likewise.
5823         (d128_set_tests): Likewise.
5824         Add tests for expressions with decimal float variables.  Add tests for
5825         conversions to and from decimal float types.
5826
5827 2008-01-05  Joel Brobecker  <brobecker@adacore.com>
5828
5829         * gdb.ada/packed_tagged/comp_bug.adb: New file.
5830         * gdb.ada/packed_tagged.exp: New testcase.
5831
5832 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
5833
5834         * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
5835         gdb.ada/homonym/homonym_main.adb: New files.
5836         * gdb.ada/homonym.exp: New testcase.
5837
5838 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
5839
5840         * gdb.ada/packed_array.exp: Add testing of references to
5841         a packed array.
5842
5843 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
5844
5845         * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
5846         New files.
5847         * gdb.ada/type_coercion.exp: New testcase.
5848
5849 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
5850
5851         * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
5852         gdb.ada/tagged/foo.adb: New file.
5853         * gdb.ada/tagged.exp: New testcase.
5854
5855 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
5856
5857         * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
5858         gdb.ada/ptype_field/foo.adb: New files.
5859         * gdb.ada/ptype_field.exp: New testcase.
5860
5861 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
5862
5863         * gdb.ada/print_pc.exp: New testcase.
5864
5865 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
5866
5867         * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
5868         gdb.ada/taft_type/p.adb: New files.
5869         * gdb.ada/taft_type.exp: New testcase.
5870
5871 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
5872
5873         * gdb.ada/array_bounds/bar.adb: New file.
5874         * gdb.ada/array_bounds.exp: New testcase.
5875
5876 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
5877
5878         * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
5879         gdb.ada/arrayptr/foo.adb: New files.
5880         * gdb.ada/arrayptr.exp: New testcase.
5881
5882 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
5883
5884         * gdb.base/set-lang-auto.exp: New testcase.
5885
5886 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
5887
5888         * gdb.ada/fun_addr/foo.adb: New file.
5889         * gdb.ada/fun_addr.exp: New testcase.
5890
5891 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5892
5893         * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
5894         New files
5895
5896 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
5897
5898         * array_subscript_addr/p.adb: New file.
5899         * array_subscript_addr.exp: New testcase.
5900
5901 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
5902
5903         * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
5904         New files.
5905         * gdb.ada/str_cmp_ref.exp: New testcase.
5906
5907 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
5908
5909         * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
5910         gdb.ada/fun_in_declare/foo.adb: New files.
5911         * gdb.ada/fun_in_declare.exp: New testcase.
5912
5913 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
5914
5915         * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
5916         gdb.ada/ref_param/pck.ads: New files.
5917         * gdb.ada/ref_param.exp: New testcase.
5918
5919 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
5920
5921         * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
5922         gdb.ada/interface/foo.adb: New files.
5923         * gdb.ada/interface.exp: New testcase.
5924
5925 2007-12-31  Jim Blandy  <jimb@codesourcery.com>
5926
5927         * gdb.base/multi-forks.exp: Consume all output from child
5928         processes before proceeding to next test.
5929
5930 2007-12-29  Jim Blandy  <jimb@codesourcery.com>
5931
5932         * configure: Regenerated.
5933
5934 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
5935
5936         * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
5937         gdb.ada/fixed_cmp/fixed.adb: New files.
5938         * gdb.ada/fixed_cmp.exp: New testcase.
5939
5940 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
5941
5942         * gdb.ada/boolean_expr.exp: New testcase.
5943
5944 2007-12-26  Jim Blandy  <jimb@codesourcery.com>
5945
5946         * gdb.base/multi-forks.exp: Doc fix.
5947
5948 2007-12-26  Joel Brobecker  <brobecker@adacore.com>
5949
5950         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
5951         * gdb.ada/char_param.exp: Do not compile our test program with
5952         -gnata, this is unnecessary.
5953         * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
5954
5955 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
5956
5957         * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
5958         gdb.ada/print_chars/foo.adb: New files.
5959         * gdb.ada/print_chars.exp: New testcase.
5960
5961 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
5962
5963         * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
5964         gdb.ada/char_param/foo.adb: New files.
5965         * gdb.ada/char_param.exp: New testcase.
5966
5967 2007-12-22  Jim Blandy  <jimb@codesourcery.com>
5968
5969         * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
5970         hard-coding source line numbers into the test.
5971         * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
5972         gdb_get_line_number to find.
5973
5974 2007-12-22  Joel Brobecker  <brobecker@adacore.com>
5975
5976         * gdb.base/ptype.c (highest): New struct type.
5977         (the_highest): New variable of that type.
5978         (main): Add dummy assignment to a field of variable the_highest.
5979         * gdb.base/ptype.exp: Test type printing of our new variable.
5980
5981 2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>
5982
5983         * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
5984         and record first explicitly generated thread number.
5985         Use that thread number for thread specific watchpoint test.
5986         Add iteration number to repetitive tests.
5987
5988 2007-12-16  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5989             Jim Blandy  <jimb@codesourcery.com>
5990
5991         * gdb.base/expand-psymtabs.c: New testcase
5992         source file.
5993         * gdb.base/expand-psymtabs.exp: New testcase
5994         expect file.
5995
5996 2007-12-17  Luis Machado  <luisgpm@br.ibm.com>
5997
5998         * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
5999         * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
6000
6001 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
6002
6003         * gdb.ada/frame_args/foo.adb: New file.
6004         * gdb.ada/frame_args/pck.ads: New file.
6005         * gdb.ada/frame_args/pck.adb: New file.
6006         * gdb.ada/frame_args.exp: New testcase.
6007
6008 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
6009
6010         * gdb.base/frame-args.c: New file.
6011         * gdb.base/frame-args.exp: New testcase.
6012
6013 2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
6014             Joseph Myers  <joseph@codesourcery.com>
6015
6016         * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
6017
6018 2007-12-14  Vladimir Prus  <vladimir@codesourcery.com>
6019
6020         * gdb.mi/mi-pending.exp: New.
6021         * gdb.mi/mi-pending.c: New.
6022         * gdb.mi/mi-pendshr.c: New.
6023
6024 2007-12-06  Jim Blandy  <jimb@codesourcery.com>
6025
6026         * gdb.base/default.exp: Update expected output for 'info catch'.
6027
6028 2007-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
6029
6030         * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
6031         must be set to binary.
6032
6033 2007-12-09  Pedro Alves  <pedro_alves@portugalmail.pt>
6034
6035         * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
6036
6037 2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
6038
6039         * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
6040         gdb.mi/mi-file-transfer.exp: New.
6041
6042 2007-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
6043
6044         * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
6045
6046 2007-11-22  Maciej W. Rozycki  <macro@mips.com>
6047
6048         * gdb.trace/backtrace.exp: Fix a typo.
6049         * gdb.trace/circ.exp: Likewise.
6050         * gdb.trace/collection.exp: Likewise.
6051         * gdb.trace/limits.exp: Likewise.
6052         * gdb.trace/report.exp: Likewise.
6053         * gdb.trace/tfind.exp: Likewise.
6054         * gdb.trace/while-dyn.exp: Likewise.
6055
6056 2007-11-21  Nick Roberts  <nickrob@snap.net.nz>
6057
6058         * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
6059         objects of pointers that can't be dereferenced are now
6060         "noneditable".
6061
6062 2007-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6063
6064         * Makefile.in (Makefile): Do not depend on target_makefile_frag.
6065         (target_cpu): Remove.
6066
6067 2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
6068
6069         * gdb.base/ending-run.exp: Expect the list of cleared
6070         breakpoint to come in natural order, not the reversed one.
6071
6072 2007-11-07  Vladimir Prus  <vladimir@codesourcery.com>
6073
6074         * gdb.mi/mi-var-child.c (do_child_deletion): New.
6075         * gdb.mi/mi-var-child.exp: Run child_deletion tests.
6076
6077 2007-11-05  Luis Machado  <luisgpm@br.ibm.com>
6078
6079         * gdb.base/printcmds.exp: New function
6080         test_printf_with_dfp.
6081
6082 2007-11-02  Doug Evans  <dje@google.com>
6083
6084         * gdb.disasm/t01_mov.s: Remove carriage returns.
6085         * gdb.disasm/t02_mova.s: Ditto.
6086         * gdb.disasm/t03_add.s: Ditto.
6087         * gdb.disasm/t04_sub.s: Ditto.
6088         * gdb.disasm/t05_cmp.s: Ditto.
6089         * gdb.disasm/t06_ari2.s: Ditto.
6090         * gdb.disasm/t07_ari3.s: Ditto.
6091         * gdb.disasm/t08_or.s: Ditto.
6092         * gdb.disasm/t09_xor.s: Ditto.
6093         * gdb.disasm/t10_and.s: Ditto.
6094         * gdb.disasm/t11_logs.s: Ditto.
6095         * gdb.disasm/t12_bit.s: Ditto.
6096         * gdb.disasm/t13_otr.s: Ditto.
6097
6098 2007-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6099
6100         * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
6101
6102 2007-10-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6103
6104         * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
6105         provide DFP support.
6106
6107 2007-10-30  Daniel Jacobowitz  <dan@codesourcery.com>
6108
6109         * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
6110         Test "set powerpc vector-abi".  Skip auto-detection tests for old
6111         toolchains.
6112
6113 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
6114
6115         * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
6116         with [string compare].
6117
6118 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
6119
6120         * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
6121         * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
6122
6123 2007-10-25  Luis Machado  <luisgpm@br.ibm.com>
6124
6125         * gdb.opt/clobbered-registers-O2.c: New testcase source file.
6126         * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
6127         * gdb.opt/Makefile.in: New makefile.
6128         * Makefile.in: Create new directory "gdb.opt".
6129         * configure.ac: Add "gdb.opt" directory.
6130         * configure: Regenerated.
6131
6132 2007-10-25  Doug Evans  <dje@google.com>
6133
6134         * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
6135         * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
6136
6137 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
6138             Thiago Jung Bauermann  <bauerman@br.ibm.com>
6139
6140         * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
6141         Floating Point expressions.
6142         * gdb.base/dfp-test.exp: new file adding tests for Decimal
6143         Floating Point variables.
6144         * gdb.base/dfp-test.c: new file containing program with Decimal
6145         Floating variables, used by gdb.base/dfp-test.exp.
6146
6147 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
6148
6149         * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
6150
6151 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6152
6153         * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
6154         compiling test case with GCC.
6155         * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
6156
6157 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6158
6159         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
6160         format changes.
6161
6162 2007-10-18  Michael Snyder  <msnyder@specifix.com>
6163
6164         * gdb.base/dbx.exp: Add missing "-re " operator.
6165
6166 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
6167
6168         * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
6169         * configure.ac: Removed trailing spaces after backslash.
6170         * gdb.modula2: New directory.
6171         * gdb.modula2/Makefile.in: New file.
6172         * gdb.modula2/unbounded-array.exp: New file.
6173         * gdb.modula2/unbounded1.c: New file.
6174
6175 2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
6176
6177         * gdb.xml/tdesc-regs.exp: Add PowerPC support.
6178
6179 2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
6180
6181         * gdb.base/sigstep.c (main): Add checks for
6182         return values for setitimer call.
6183         Call setitimer again with itimer = ITIMER_REAL
6184         if first call to setitimer fails.
6185
6186 2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
6187
6188         * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
6189         of $timeout.
6190
6191 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
6192
6193         * gdb.server/server-run.exp: Test for dynamic linker symbols.
6194
6195 2007-10-09  Pierre Muller  <muller@ics.u-strasbg.fr>
6196
6197         * lib/gdb.exp (gdb_run_cmd): Move comment outside
6198         of gdb_expect call, to avoid interruption.
6199
6200 2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>
6201
6202         * gdb.base/whatis.c (v_long_long, v_signed_long_long)
6203         (v_unsigned_long_long, v_long_long_array)
6204         (v_signed_long_long_array, v_unsigned_long_long_array)
6205         (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
6206         (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
6207         [!NO_LONG_LONG]: New.
6208         (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
6209         v_long_long_member.
6210
6211         (v_long_long_func, v_signed_long_long_func)
6212         (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
6213         (main) [!NO_LONG_LONG]: Initialize long long variants.
6214
6215         * gdb.base/whatis.exp: If board file requests no_long_long, build
6216         test with NO_LONG_LONG defined.  Test long long, signed long long,
6217         and unsigned long long variants but only if board file doesn't
6218         disable it.
6219
6220 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
6221             Daniel Jacobowitz  <dan@codesourcery.com>
6222
6223         * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
6224         * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
6225         * configure: Regenerated.
6226         * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
6227         gdb.pascal/types.exp, lib/pascal.exp: New files.
6228
6229 2007-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
6230
6231         * gdb.cp/classes.exp (do_tests): Always step to the line after the
6232         call.
6233         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
6234         to return to the call.
6235         * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
6236         * gdb.mi/mi-return.exp (test_return_simple): Likewise.
6237         * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
6238         * gdb.mi/mi-until.exp (test_until): Likewise.
6239         * gdb.mi/mi2-until.exp (test_until): Likewise.
6240
6241 2007-10-01  Daniel Jacobowitz  <dan@codesourcery.com>
6242
6243         * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
6244         two-char array.
6245         * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
6246
6247 2007-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
6248
6249         * gdb.threads/watchthreads.c (thread_function): Sleep between
6250         iterations.
6251         * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
6252         at once for S/390.  Generate matching fails and passes.
6253
6254 2007-09-27  Vladimir Prus  <vladimir@codesourcery.com>
6255
6256         * gdb.mi/var-cmd.c (do_children_tests): Initialize
6257         the 'struct_declarations' variable to zeros.
6258
6259 2007-09-24  Vladimir Prus  <vladimir@codesourcery.com>
6260
6261         * gdb.cp/mb-ctor.cc: New.
6262         * gdb.cp/mb-ctor.exp: New.
6263         * gdb.cp/mb-templates.cc: New.
6264         * gdb.cp/mb-templates.exp: New.
6265
6266 2007-09-23  Daniel Jacobowitz  <dan@codesourcery.com>
6267
6268         * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
6269
6270 2007-09-23  Pedro Alves  <pedro_alves@portugalmail.pt>
6271
6272         * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
6273         targets.
6274         * configure: Regenerate.
6275
6276 2007-09-23  Vladimir Prus  <vladimir@codesourcery.com>
6277
6278         * gdb.base/annota1.exp: Adjust for 'info break'
6279         format changes.
6280         * gdb.base/annota3.exp: Likewise.
6281         * gdb.base/break.exp: Likewise.
6282         * gdb.base/condbreak.exp: Likewise.
6283         * gdb.base/pending.exp: Likewise.
6284         * gdb.base/sepdebug.exp: Likewise.
6285         * gdb.base/unload.exp: Likewise.
6286         * gdb.base/ovldbreak.exp: Likewise.
6287
6288 2007-09-22  Vladimir Prus  <vladimir@codesourcery.com>
6289
6290         * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
6291         messages.
6292         * gdb.base/chng-syms.exp: Likewise.
6293         * gdb.base/unload.exp: Likewise.
6294
6295 2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
6296
6297         * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
6298
6299 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
6300
6301         * schedlock.c (NUM): Change to 1.
6302         (main): Use args[0] for the main thread.
6303         * schedlock.exp: Only expect two threads.  Only issue one pass or fail
6304         regardless of the number of threads.
6305
6306 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
6307
6308         * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
6309         type down.
6310         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
6311         test.
6312         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
6313         watchpoint type down.
6314         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
6315         test.
6316
6317 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
6318
6319         * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
6320         Move all the tests here and run them twice, once using software
6321         watchpoints and once using hardware watchpoints.
6322         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
6323
6324 2007-09-12  Daniel Jacobowitz  <dan@codesourcery.com>
6325
6326         * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
6327         test.
6328
6329 2007-09-10  Mark Kettenis  <kettenis@gnu.org>
6330
6331         * lib/gdb.exp (build_id_debug_filename_get): Improve check for
6332         build-id.
6333
6334         * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
6335         know about $ORIGIN.  Calculate output dir from $dest instead of
6336         using ${objdir}/{$subdir}.
6337
6338 2007-09-09  Mark Kettenis  <kettenis@gnu.org>
6339
6340         * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
6341         gcore, before continuing with the test.
6342
6343 2007-09-06  Daniel Jacobowitz  <dan@codesourcery.com>
6344
6345         * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
6346         * gdb.mi/mi-watch.exp: Likewise.
6347
6348 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
6349             Jim Blandy  <jimb@codesourcery.com>
6350
6351         * gdb.arch/i386-sse.exp: Do not expect character constants.
6352         * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
6353         * gdb.base/display.exp: Allow print/s.
6354         * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
6355         and unsigned char array changes.
6356
6357 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
6358
6359         * gdb.base/display.exp: Add tests for printf %p.
6360
6361 2007-09-03  Pedro Alves  <pedro_alves@portugalmail.pt>
6362
6363         * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
6364         the dll name to unicode.
6365
6366 2007-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6367
6368         * gdb.base/default.exp (show version): Update the version text.
6369         * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
6370
6371 2007-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6372
6373         * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
6374         New files.
6375
6376 2007-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6377
6378         * lib/gdb.exp (build_id_debug_filename_get): New function.
6379         * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
6380         Remove the generate DEBUG file for the future testcase runs.
6381         New testcase for the NT_GNU_BUILD_ID retrieval.
6382         Move the final testing step to ...
6383         (test_different_dir): ... a new function.
6384         New parameter XFAIL to XFAIL all the tests performed.
6385         New parameter TEST_DIFFERENT_DIR parametrizing the directory.
6386         New parameter TYPE to PF_PREFIX all the tests performed.
6387
6388 2007-08-31  Vladimir Prus  <vladimir@codesourcery.com>
6389
6390         * gdb.mi/mi-var-cp.cc (path_expression): New
6391         function.
6392         * gdb.mi/mi-var-cp.exp: Run path exression tests.
6393
6394 2007-08-27  Markus Deuling  <deuling@de.ibm.com>
6395
6396         * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
6397         to fit into SPU Local Store memory.
6398
6399 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
6400
6401         * gdb.base/default.exp: Adjust the expected output of "info
6402         warranty" after the switch to GPLv3.
6403
6404 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
6405
6406         * lib/gdb.exp (default_gdb_init): Increase expect buffer size
6407         to 30000 (from 20000).
6408
6409 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
6410
6411         Switch the license of all .exp files to GPLv3.
6412         Switch the license of all .f and .f90 files to GPLv3.
6413         Switch the license of all .s and .S files to GPLv3.
6414
6415 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
6416
6417         * configure.ac: Switch license to GPLv3.
6418
6419 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
6420
6421         Switch the licensing to GPLv3 for all .ads and .adb files.
6422
6423 2007-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
6424
6425         * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
6426         and t_int_double.
6427         * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
6428
6429 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
6430
6431         * gdb.base/step-line.c: Switch license to GPL version 3, and
6432         update copyright year.
6433         * gdb.base/step-line.inp: Likewise.
6434
6435 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
6436
6437         * gdb.base/gdb1555.exp: Make expected output immune to formatting
6438         changes inside gdb1555.c.
6439         * gdb.base/pending.exp: Likewise.
6440
6441 2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>
6442
6443         * config/default.exp: New file.
6444
6445 2007-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
6446
6447         * gdb.base/prologue.c, gdb.base/prologue.exp: New.
6448         * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
6449
6450 2007-07-30  Maciej W. Rozycki  <macro@mips.com>
6451
6452         * gdb.base/dump.exp: Force the correct endianness for binary
6453         formats not carrying this information.
6454
6455 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
6456
6457         * gdb.threads/staticthreads.exp: Match .*sem_post.
6458
6459 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
6460
6461         * gdb.base/readline.exp (operate_and_get_next): Match the final
6462         prompt.
6463
6464 2007-07-23  Kevin Buettner  <kevinb@redhat.com>
6465
6466         * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
6467         to restarting SID.
6468
6469 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
6470
6471         * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
6472         prior to `gdb_start'.
6473
6474 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
6475
6476         * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
6477         return value to be compatible with gdb_run_cmd in lib/gdb.exp.
6478         Remove call to gdb_unload.
6479
6480 2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
6481             Daniel Jacobowitz  <dan@codesourcery.com>
6482
6483         * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
6484         for __WIN32__.
6485         (SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
6486         * gdb.base/unload.exp: Use shared library test routines.
6487
6488 2007-07-03  Markus Deuling  <deuling@de.ibm.com>
6489
6490         * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
6491         * gdb.base/solib-symbol-lib.c: Likewise.
6492         * gdb.base/solib-symbol-main.c: Likewise.
6493
6494 2007-07-02  Daniel Jacobowitz  <dan@codesourcery.com>
6495
6496         * config/gdbserver.exp (gdb_reconnect): New.
6497         * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
6498         gdb.base/solib-disc.exp: New files.
6499         * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
6500         remote debugging".
6501         (gdb_compile): Add shlib_load flag.
6502         * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
6503         port.
6504         (gdbserver_reconnect): New.
6505
6506 2007-07-01  Nick Roberts  <nickrob@snap.net.nz>
6507             Daniel Jacobowitz  <dan@codesourcery.com>
6508
6509         * gdb.base/annota3.exp: Test for if construct.
6510
6511 2007-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
6512
6513         * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
6514
6515 2007-06-21  Chris Dearman  <chris@mips.com>
6516             Maciej W. Rozycki  <macro@mips.com>
6517
6518         * gdb.base/display.exp: Allow a newline after display/i.
6519         * gdb.base/pc-fp.exp: Likewise.
6520         * gdb.base/sigbpt.exp: Likewise.
6521
6522 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
6523
6524         * gdb.xml/tdesc-regs.exp: Add MIPS support.  Allow multiple
6525         required features to be included.
6526
6527 2007-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
6528
6529         * gdb.threads/manythreads.exp: Prevent expect buffer overflow
6530         in info threads output.
6531
6532 2007-06-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6533             Markus Deuling  <deuling@de.ibm.com>
6534
6535         * gdb.arch/spu-info.exp: New testcase.
6536         * gdb.arch/spu-info.c: New file.
6537
6538 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
6539
6540         * gdb.arch/thumb-prologue.c: Record the breakpoint address in
6541         tpcs_offset.  Restore lr after the call.
6542         * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
6543
6544 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
6545
6546         * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
6547         (gdbserver_run): Kill any running gdbserver.
6548         * lib/mi-support.exp (mi_gdb_target_load): Likewise.
6549
6550 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
6551
6552         * gdb.base/sigbpt.exp: Preset segv_addr.
6553
6554 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
6555
6556         * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
6557         (gdb_compile_shlib): Likewise.
6558         (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
6559         (default_gdb_init): Clear cleanfiles.
6560         (gdb_finish): Delete recorded cleanfiles.
6561         * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
6562
6563         * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
6564         Do not use isnative.
6565         * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
6566         gdb.base/so-impl-ld.exp: Likewise.
6567         * gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
6568         * gdb.base/unload.exp: Likewise.  Do not pass empty option to
6569         gdb_compile.
6570
6571 2007-05-15  Vladimir Prus  <vladimir@codesourcery.com>
6572
6573         * config/unknown.exp: Remove.
6574
6575 2007-05-15  Markus Deuling  <deuling@de.ibm.com>
6576
6577         * gdb.base/info-proc.exp: Check is_remote.
6578
6579 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
6580
6581         * gdb.base/gcore.exp: Initialize variable core_supported.
6582
6583 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
6584
6585         * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
6586
6587 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
6588
6589         * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
6590         * gdb.threads/print-threads.exp (test_all_threads): Allow
6591         negative and hexadecimal thread IDs.
6592
6593 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
6594
6595         * gdb.java/jprint.java (public): Avoid invalid call to static
6596         method.
6597
6598 2007-05-14  Denis Pilat  <denis.pilat@st.com>
6599
6600         * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
6601         gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
6602         gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
6603         gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
6604         gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
6605
6606 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6607
6608         * gdb.base/overlays.exp: Add support for targets with only code
6609         overlay support, not data overlay.  Support spu-*-* target in
6610         this mode.
6611         * gdb.base/ovlymgr.c: Provide stubs for spu target.
6612         * gdb.base/spu.ld: New file.
6613
6614 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
6615
6616         * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
6617
6618 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
6619
6620         * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
6621
6622 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
6623
6624         * gdb.java/jmain.exp: Handle demangled names with and without method
6625         signatures.
6626
6627 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
6628
6629         * gdb.mi/mi-syn-frame.c (main, foo, bar)
6630         (have_a_very_merry_interrupt): Remove calls to puts.
6631         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
6632         inferior output.
6633         * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
6634         test names.
6635
6636 2007-04-29  Markus Deuling  <deuling@de.ibm.com>
6637             Daniel Jacobowitz  <dan@codesourcery.com>
6638
6639         * gdb.base/auxv.exp (core_works): Also check is_remote.
6640         * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
6641
6642 2007-04-25  Vladimir Prus  <vladimir@codesourcery.com>
6643
6644         * gdb.base/sigaltstack.exp: Use 'srcfile' in error
6645         message, not the undefined 'module' variable.
6646         * gdb.base/siginfo.exp: Likewise.
6647         * gdb.base/sigstep.exp: Likewise.
6648         * lib/gdbserver-support.exp (gdb_target_cmd): Quote
6649         serialport.
6650         * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
6651
6652 2007-04-25  Corinna Vinschen <vinschen@redhat.com>
6653
6654         * config/sim.exp (gdb_target_sim): Just return with -1 when setting
6655         target sim fails.  Return 0 otherwise.
6656         (gdb_load): Return prematurely if gdb_target_sim fails.
6657
6658 2007-04-16  Denis Pilat  <denis.pilat@st.com>
6659
6660         * gdb.base/setshow.exp: Reset height after having set it to 100.
6661
6662 2007-04-16  Denis Pilat  <denis.pilat@st.com>
6663
6664         * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
6665
6666 2007-04-16  Denis Pilat  <denis.pilat@st.com>
6667
6668         * gdb.mi/mi2-var-display.exp: Test for the fullname field.
6669
6670 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
6671
6672         * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
6673         tests. Run the frozen varobjs test.
6674         * gdb.mi/var-cmd.c (do_frozen_tests): New.
6675         * lib/mi-support.exp (mi_varobj_update): Fix thinko.
6676
6677 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6678
6679         * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
6680         gdb.base/type-opaque.exp: New files.
6681
6682 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
6683
6684         * gdb.mi/mi-var-child.c
6685         (do_children_tests): User char[2] instead of
6686         char so that automatic printing of pointers to char
6687         don't give unpredicable result.
6688         * gdb.mi/var-cmd.c (do_locals_test): Initialize
6689         local variables.
6690         * gdb.mi/mi-var-child.exp: Step to right line
6691         of do_children_tests.
6692         * gdb.mi/mi2-var-child.exp: Likewise.
6693         * gdb.mi/mi-var-cmd.exp: Step to right line of
6694         do_locals_tests.
6695         (do_children_tests): User char[2] instead of
6696         char so that automatic printing of pointers to char
6697         don't give unpredicable result.
6698         * gdb.mi/mi2-var-cmd.exp: Likewise.
6699         * lib/mi-support.exp (mi_continue_to_line):
6700         Pass test name to mi_wait_for_stop.
6701
6702 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
6703
6704         * gdb.asm/asm-source.exp: Remove d10v case.
6705         * lib/gdb.exp (skip_cplus_tests): Likewise.
6706         * gdb.asm/d10v.inc: Deleted.
6707
6708 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
6709
6710         * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
6711
6712 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
6713
6714         * config/netware.exp: Delete file.
6715
6716 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
6717
6718         * gdb.dwarf2/dw2-noloc.S: New file.
6719         * gdb.dwarf2/dw2-noloc.exp: New file.
6720
6721 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
6722
6723         * gdb.cp/method2.cc: New test.
6724         * gdb.cp/method2.exp: New test.
6725         * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
6726
6727 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
6728
6729         * gdb.ada/exec_changed.exp: Avoid "set confirm off".
6730
6731 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
6732
6733         * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
6734
6735 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
6736
6737         * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
6738         (gdb_load): Delete, replace with...
6739         (gdb_reload): ...this.
6740         * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
6741         * gdb.server/server-mon.exp: Likewise.
6742         * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
6743         (gdb_start_cmd): New.
6744         (gdb_file_cmd): Save the last loaded file.
6745         (gdb_reload): New.
6746         (gdb_gnu_strip_debug): Use transform.
6747         * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
6748         support here.  Use new $last_loaded_file.  Check mtime.
6749         (gdb_target_cmd): Handle ObjC failure case.
6750         (infer_host_exec): Delete.
6751         (gdbserver_load): Rename to...
6752         (gdbserver_run): ...this.  Simplify.
6753         * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
6754         (mi_gdb_load): Move most contents to a new function...
6755         (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
6756         (mi_run_cmd): Use mi_gdb_target_load.
6757         * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
6758         gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
6759         Use gdb_run_cmd.
6760         * gdb.base/charsign.exp: Remove incorrect comment.
6761         * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
6762         * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
6763         gdb.base/start.exp: Use gdb_start_cmd.
6764
6765 2007-03-23  Nigel Stephens  <nigel@mips.com>
6766             Maciej W. Rozycki  <macro@mips.com>
6767
6768         * gdb.base/sigbpt.exp: Fix the message when skipping test.
6769         * gdb.base/signull.exp: Similarly.
6770
6771 2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6772
6773         * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
6774         messages available to test cases (like chng-sym.exp).
6775
6776 2007-03-14  Andreas Schwab  <schwab@suse.de>
6777
6778         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
6779         format changes.
6780
6781 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
6782
6783         * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
6784         (optimized_1): New.
6785         (main): Call optimized_1.
6786         (gdb2029): Correct typos.  Call gdb2029_marker.
6787         * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
6788         for gdb2029.
6789
6790 2007-03-12  Mark Kettenis  <kettenis@gnu.org>
6791
6792         * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
6793         as tabs.  Remove redundant test pattern.
6794
6795 2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6796
6797         * gdb.base/long_long.exp: Accept optional symbol name in <...>
6798         for /a format output.
6799
6800 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
6801
6802         * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
6803         collect output incrementally.
6804
6805 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6806
6807         * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
6808         for -var-create lpcharacter test.
6809         * gdb.mi/mi2-var-cmd.exp: Likewise.
6810
6811 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6812
6813         * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
6814         pass on targets where address zero is readable.
6815
6816 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6817
6818         * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
6819         just a single architecture.
6820
6821 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6822
6823         * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
6824         (fetch_all_registers): New function, uses gdb_test_multiple and
6825         exp_continue to fetch inferior output line-by-line.
6826         Replace all uses of do_get_all_registers by fetch_all_registers.
6827
6828 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6829
6830         * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
6831         in target_info.
6832
6833 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
6834
6835         * gdb.threads/manythreads.exp: Use $message string for
6836         consistancy; add a default (timeout) case.
6837
6838 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
6839
6840         * gdb.base/watchpoint.exp: Fix truncated comment.
6841
6842 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
6843
6844         * Makefile.in: Remove spurious single-quotes from sed command.
6845
6846 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
6847
6848         * gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
6849         func.
6850         * gdb.mi/mi2-var-cmd.exp: Likewise.
6851
6852 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
6853
6854         * gdb.dwarf2/dw2-producer.S: New file.
6855         * gdb.dwarf2/dw2-producer.exp: New testcase.
6856
6857 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
6858
6859         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
6860         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
6861         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
6862         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
6863         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
6864         Revert tests to use mi_gdb_test and include value field in output
6865         of -var-create.
6866
6867 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
6868
6869         * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
6870
6871 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
6872
6873         * gdb.base/maint.exp: Remove full paths from test names.
6874         * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
6875         gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
6876
6877 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
6878
6879         * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
6880
6881 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
6882
6883         * gdb.server/server-mon.exp: New test.
6884
6885 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
6886
6887         * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
6888
6889 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
6890
6891         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
6892         register capitalization.
6893
6894 2007-02-13  Denis Pilat  <denis.pilat@st.com>
6895
6896         * gdb.mi/mi-var-invalidate.exp: New file.
6897
6898 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
6899
6900         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
6901
6902 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
6903
6904         * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
6905
6906 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
6907
6908         * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
6909         gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
6910
6911 2007-02-08  Nick Roberts  <nickrob@snap.net.nz>
6912
6913         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
6914         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
6915         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
6916         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
6917         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
6918         * gdb.mi/gdb792.exp, lib/mi-support.exp:
6919         Update tests to include value field in output of -var-create.
6920
6921 2007-02-08  Andreas Schwab  <schwab@suse.de>
6922
6923         * gdb.mi/mi-var-child.exp: Fix matching display of function value.
6924
6925 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
6926
6927         * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
6928         gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
6929
6930 2007-02-02  Denis Pilat  <denis.pilat@st.com>
6931
6932         * gdb.threads/threadapply.exp: check that frame is not changed by
6933         the thread apply all command.
6934
6935 2007-01-31  Andreas Schwab  <schwab@suse.de>
6936
6937         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
6938
6939         * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
6940         in the dwarf sections.
6941         * gdb.dwarf2/mac-fileno.S: Likewise.
6942
6943         * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
6944         bspstore register on ia64.
6945
6946 2007-01-29  Andreas Schwab  <schwab@suse.de>
6947
6948         * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
6949         "frame-begin" annotation.
6950
6951         * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
6952         number of "frames-invalid" annotations.
6953
6954 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
6955
6956         * gdb.base/commands.exp: Call if_commands_test.
6957         (gdb_test_no_prompt, if_commands_test): New.
6958
6959 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
6960
6961         * gdb.threads/sigthread.c (NSIGS): Make bigger.
6962
6963 2007-01-27  Andreas Schwab  <schwab@suse.de>
6964
6965         * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
6966         .short/.int/.quad in the dwarf sections.
6967         * gdb.dwarf2/dw2-intercu.S: Likewise.
6968         * gdb.dwarf2/dw2-intermix.S: Likewise.
6969
6970 2007-01-25  Jan Kratochvil <jan.kratochvil@redhat.com>
6971
6972         * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
6973         * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
6974         array.
6975         * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
6976         * gdb.base/setvar.exp: Likewise.
6977
6978 2007-01-26  Andreas Schwab  <schwab@suse.de>
6979
6980         * gdb.base/corefile.exp: Allow non-empty argument list in reinit
6981         test.
6982
6983         * gdb.base/multi-forks.exp ("restart $i"): Also match
6984         __kernel_syscall_via_break.
6985
6986 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
6987
6988         * lib/mi-support.exp (mi_delete_varobj): New.
6989         * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
6990         testcase.
6991         * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
6992         (main): Call the above.
6993         (reference_update_test, base_in_reference_test)
6994         (reference_to_pointer): Delete the created varobjs.
6995
6996 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
6997
6998         * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
6999         * configure: Regenerated.
7000         * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
7001         * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
7002         gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
7003         gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
7004         * lib/gdb.exp (gdb_skip_xml_test): New function.
7005
7006 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
7007
7008         * gdb.base/sigrepeat.exp: Correct error message.
7009
7010 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
7011             Daniel Jacobowitz  <dan@codesourcery.com>
7012
7013         * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
7014         gdb.arch/i386-gnu-cfi-asm.S: New files.
7015
7016 2007-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7017
7018         * lib/gdb.exp: Abort on missing `site.exp'.
7019
7020 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
7021             Daniel Jacobowitz  <dan@codesourcery.com>
7022
7023         * gdb.base/included.c, gdb.base/included.exp,
7024         gdb.base/included.h: New files.
7025
7026 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
7027
7028         * gdb.base/bigcore.c (RLIMIT_CAP): Define.
7029         (maximize_rlimit): Reduce limits on 64-bit systems.
7030
7031 2007-01-19  Mark Kettenis  <kettenis@gnu.org>
7032
7033         From Marcus Deuling <deuling@de.ibm.com>:
7034         * gdb.arch/altivec-regs.exp: Initialise variable endianness in
7035         every case.
7036
7037 2007-01-13  Nick Roberts  <nickrob@snap.net.nz>
7038
7039         * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
7040         (test_path_specification): Use objdir instead of srcdir to always
7041         get an absolute filename.
7042
7043 2007-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
7044
7045         * gdb.cp/member-ptr.cc (class Padding): Make contents public.
7046
7047 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
7048
7049         * gdb.mi/mi-var-cp.cc (reference_update_tests):
7050         Make sure the variable we're using is in scope.
7051         (reference_to_pointer): Likewise.
7052
7053 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
7054
7055         * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
7056         has no debug information.
7057
7058 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
7059
7060         * gdb.base/annota1.exp: Remove extra send_gdb.
7061
7062 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7063
7064         * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
7065
7066 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7067
7068         * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
7069
7070 2007-01-08  Nick Roberts  <nickrob@snap.net.nz>
7071             Daniel Jacobowitz  <dan@codesourcery.com>
7072
7073         * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
7074         lcharacter or linteger change.  Correct duplicated test name.
7075         * gdb.mi/mi2-var-cmd.exp: Likewise.
7076
7077 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
7078
7079         * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
7080
7081 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
7082
7083         * gdb.base/nofield.c: New file.
7084         * gdb.base/nofield.exp: New testcase.
7085
7086 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
7087
7088         * gdb.mi/mi-var-cp.exp: New test for references to pointers.
7089
7090         * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
7091          test.
7092
7093 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
7094
7095         * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
7096
7097 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
7098
7099         * lib/mi-support.exp (mi_runto_helper): Expect two prompts
7100         when continuing.
7101
7102 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
7103
7104         * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
7105         Expect ".exe" extension.
7106
7107 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
7108
7109         * gdb.base/charset.exp: Add explicit filename to break.
7110         * gdb.base/dbx.exp: Add explicit filename to breaks.
7111
7112 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
7113
7114         * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
7115         * gdb.mi/mi2-file.exp: Likewise.
7116
7117 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
7118
7119         Implement specification of MI tests as comments
7120         in C and C++ sources.
7121         * lib/mi-support.exp (mi_autotest_data): New variable.
7122         (mi_autotest_source): New variable.
7123         (count_newlines, mi_prepare_inline_tests)
7124         (mi_get_inline_test, mi_continue_to_line)
7125         (mi_run_inline_test, mi_tbreak)
7126         (mi_send_resuming_command, mi_wait_for_stop): New functions.
7127         * gdb.mi/mi-var-cp.exp: Move most content to the C file.
7128         Run inline tests.
7129         * gdb.mi/mi-var-cp.cc: Define tests here.
7130
7131 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
7132
7133         Simplify usage of mi_continue_to.
7134         * lib/mi-support.exp (mi_runto_helper): Renamed
7135         from mi_runto, added new parameter 'run_or_continue'.
7136         (mi_runto): Use mi_runto_helper.
7137         (mi_continue_to): Accept just function name as parameter.
7138         Use mi_runto_helper.
7139         * gdb.mi/mi-var-cmd.exp: Adjust to changes.
7140         * gdb.mi/mi2-var-cmd.exp: Likewise.
7141
7142 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
7143
7144         Make this testcase a bit more realistic. The current code
7145         is too simplistic, and allows the compiler to optimize out
7146         some of the entities we need for this testcase.
7147         * gdb.ada/null_record/bar.ads (Void_Star): New type.
7148         (Do_Nothing): Add extra parameter.
7149         * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
7150         * gdb.ada/null_record/null_record.adb: Fake use of type Empty
7151         by using a variable of type Void_Star.
7152
7153 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
7154
7155         * gdb.ada/catch_ex/foo.adb: New file.
7156         * gdb.ada/catch_ex.exp: New testcase.
7157
7158 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
7159
7160         * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
7161         pass --image-base to linker.
7162
7163 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
7164             Daniel Jacobowitz  <dan@codesourcery.com>
7165
7166         * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
7167         secondary prompts.
7168
7169 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
7170
7171         * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
7172         output.  Test the types of members and member pointers.
7173         * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
7174         gdb/2092.
7175         * gdb.cp/member-ptr.exp: Search for a comment instead of a
7176         statement.  Enable for GCC.  Update expected output for some tests
7177         and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
7178         layout.
7179         * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
7180         (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
7181         (Diamond::vget_base): New.
7182         (main): Add new tests.
7183         * gdb.cp/printmethod.exp: Update expected output for member functions.
7184         * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
7185         print pEe->D::vg().
7186
7187 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
7188
7189         * gdb.threads/tls.exp: Allow stops in sem_post.
7190
7191 2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
7192
7193         * gdb.base/annota1.exp: Allow .*printf in backtraces.
7194         * gdb.base/annota3.exp: Likewise.
7195         * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
7196         again (instead of timing out).
7197         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
7198         GCC bug 26475.
7199         * gdb.java/jmisc.exp: Adjust to work with method signatures including
7200         return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
7201         test from jmisc1.exp.
7202         * gdb.java/jmisc1.exp: Delete.
7203         * gdb.java/jprint.exp: Adjust to work with method signatures including
7204         return types.
7205         * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
7206         * gdb.threads/linux-dp.exp: Don't be confused by program output.
7207         * lib/java.exp (compile_java_from_source): Pass the correct type
7208         to target_compile.
7209
7210 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
7211
7212         * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
7213         (stack_align_edx): New function.
7214         (stack_align_eax): New function.
7215         (main): Add calls to stack_align_edx and stack_align_eax.
7216         * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
7217         Add testing for the cases where the register used during a stack
7218         realignment is edx. Same for eax.
7219
7220 2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
7221
7222         * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
7223         and generic PE targets.
7224
7225 2006-12-29  Joel Brobecker  <brobecker@adacore.com>
7226
7227         * gdb.ada/array_return.exp: Update copyright date list.
7228
7229 2006-12-27  Joel Brobecker  <brobecker@adacore.com>
7230
7231         * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
7232         (Create_Small_Float_Vector): New function.
7233         * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
7234         function body.
7235         * gdb.ada/array_return/p.adb: Use new type and function from
7236         package Pck.
7237         * gdb.ada/array_return.exp: Add a test verifying that GDB is
7238         able to print the value returned by a function returning an
7239         array of float.
7240
7241 2006-12-20  Joel Brobecker  <brobecker@adacore.com>
7242
7243         * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
7244         The associated tests should be PASSing.
7245
7246 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
7247
7248         Test for base in references.
7249         * gdb.mi/mi-var-cp.cc: Add test code.
7250         * gdb.mi/mi-var-cp.exp: Test for bases in references.
7251         * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
7252         * gdb.mi/mi2-watch.exp: Likewise.
7253         * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
7254         (mi_list_varobj_children): New function.
7255
7256 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
7257
7258         * lib/mi-support.exp
7259         (mi_runto): Accept "()" after function name.
7260         (mi_create_varobj): New function.
7261         (mi_varobj_update): New function.
7262         (mi_Check_varobj_value): New function.
7263         * gdb.mi/mi-var-cp.exp: New file.
7264         * gdb.mi/mi-var-cp.cc: New file.
7265
7266 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
7267
7268         * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
7269         gdb.base/weaklib2.c: New files.
7270
7271 2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
7272
7273         * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
7274         info.  Adjust test names.
7275
7276         * gdb.base/break.c (main): Move position of malloc.
7277         * gdb.base/break.exp: Revert mistaken checkin.
7278
7279 2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
7280
7281         * gdb.mi/mi-var-cmd.exp: Check -var-update after
7282         assignement of arrays and function pointers.
7283         * gdb.mi/var-cmd.c: Add declaration necessary for above
7284         tests.
7285
7286 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
7287
7288         * gdb.base/break.c (main): Call malloc.
7289
7290         * gdb.threads/linux-dp.exp: Read thread table before and after
7291         creating each philosopher and verify it.
7292
7293 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
7294             Paul Brook  <paul@codesourcery.com>
7295             Daniel Jacobowitz  <dan@codesourcery.com>
7296
7297         * gdb.base/ending-run.exp: Flatten expect script stepping out of
7298         main to remove duplication.  Add start function of the form
7299         '_*start[1-9]*'. Add RVDS start function.
7300
7301 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
7302
7303         * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
7304
7305 2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7306
7307         * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
7308         * gdb.asm/spu.inc: New file.
7309         * gdb.base/term.exp: Disable if [target_info exists noargs].
7310         * gdb.gdb/complaints.exp: Disable if ![isnative].
7311         * gdb.gdb/selftest.exp: Likewise.
7312         * gdb.gdb/observer.exp: Likewise.
7313         * gdb.gdb/xfullpath.exp: Likewise.
7314         * gdb.base/attach.exp: Disable on SPU target.
7315         * gdb.cp/bs145503.exp: Likewise.
7316         * gdb.cp/exception.exp: Likewise.
7317         * gdb.cp/userdef.exp: Likewise.
7318
7319 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
7320
7321         * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
7322
7323 2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
7324
7325         * gdb.base/completion.exp: Fix completion tests for
7326         'info' and 'info '.
7327         * gdb.base/help.exp (help_test_raw, test_class_help)
7328         (test_prefix_command_help): Move...
7329         * lib/gdb.exp: Here.
7330         * gdb.base/main.exp: Adjust.
7331         * gdb.cp/maint.exp: Adjust.
7332         * gdb.trace/tracecmd.exp: Use test_help_class.
7333
7334 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
7335
7336         * gdb.stabs/weird.exp (print_weird_var): Use
7337         gdb_test_multiple instead of gdb_expect.
7338
7339 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
7340
7341         * gdb.base/help.exp (help_test_raw): New.
7342         (test_class_help): New.
7343         (test_prefix_command_help): New.
7344         Adjust testcases.
7345
7346 2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
7347
7348         * gdb.base/constvars.c (main): Write to crass and crips, so that
7349         they are allocated by the compiler.
7350
7351 2006-10-27  Andreas Schwab  <schwab@suse.de>
7352
7353         * gdb.base/multi-forks.exp: Use "detach fork" instead of
7354         "detach-fork".
7355
7356 2006-10-18  Daniel Jacobowitz  <dan@codesoucery.com>
7357
7358         * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
7359         of patterns.
7360
7361 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
7362
7363         * gdb.base/sepdebug.exp: Remove debug format test.
7364         * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
7365         Handle no-symtab.
7366         * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
7367
7368 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
7369
7370         * gdb.threads/manythreads.c (thread_function, main): Don't cast
7371         int to pointer or pointer to int.
7372         * gdb.threads/manythreads.exp: Don't expect the string "LWP".
7373
7374 2006-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
7375
7376         * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
7377
7378 2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7379
7380         * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
7381
7382 2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
7383
7384         PR c++/2116
7385         * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
7386
7387 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
7388
7389         * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
7390         the corresponding bug has been fixed in GDB (PR/2018).
7391
7392 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
7393
7394         * gdb.base/subst.exp: New testcase.
7395
7396 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
7397
7398         * gdb.ada/array_return/pck.ads: Add copyright notice.
7399         * gdb.ada/array_return/pck.adb: Likewise.
7400         * gdb.ada/array_return/p.adb: Likewise.
7401         * gdb.ada/exec_changed/first.adb: Likewise.
7402         * gdb.ada/exec_changed/second.adb: Likewise.
7403
7404 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
7405
7406         * gdb.ada/watch_arg/watch.adb: New file.
7407         * gdb.ada/watch_arg.exp: New testcase.
7408
7409 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
7410
7411         * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
7412         via string_to_regexp.
7413         * gdb.mi/mi2-basics.exp: Likewise.
7414
7415 2006-09-20  Michael Snyder  <michael.snyder@palmsource.com>
7416
7417         * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
7418         Remove unused / obsolete files.
7419
7420 2006-09-19  Nick Roberts  <nickrob@snap.net.nz>
7421
7422         * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
7423
7424 2006-09-17  Vladimir Prus  <vladimir@codesourcery.com>
7425
7426         * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
7427         HIGH_FRAME argument to -stack-list-arguments can be larger than
7428         the number of frames.
7429
7430 2006-09-15  Daniel Jacobowitz  <dan@codesourcery.com>
7431
7432         * gdb.base/args.c (main): Add breakpoint marker.
7433         * gdb.base/args.exp: Use args_test for tests.  Add new tests which
7434         really test empty arguments.
7435         (args_load): Delete.
7436         (args_test): New.
7437
7438 2006-09-13  Nick Roberts  <nickrob@snap.net.nz>
7439
7440         * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
7441         check for one file.
7442
7443 2006-09-07  Vladimir Prus  <ghost@vladimir@codesourcery.com>
7444
7445         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
7446         HIGH_FRAME argument to -stack-list-locals can be larger than
7447         the number of frames.
7448
7449 2006-08-18  Fred Fish  <fnf@specifix.com>
7450
7451         * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
7452         '$' in front of skip_vmx_tests_saved when setting that.
7453
7454 2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
7455
7456         * gdb.base/trace-commands.exp: New file.
7457
7458 2006-08-10  Joel Brobecker  <brobecker@adacore.com>
7459             Daniel Jacobowitz  <dan@codesourcery.com>
7460
7461         * gdb.base/step-bt.exp: Make hexadecimal address optional in
7462         expected output of the backtrace commands.
7463
7464 2006-08-09  Joel Brobecker  <brobecker@adacore.com>
7465
7466         * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
7467         untested followed by return combination.
7468         * gdb.arch/altivec-regs.exp: Likewise.
7469         * gdb.arch/e500-abi.exp: Likewise.
7470         * gdb.arch/e500-regs.exp: Likewise.
7471         * gdb.arch/gdb1291.exp: Likewise.
7472         * gdb.arch/gdb1431.exp: Likewise.
7473         * gdb.arch/gdb1558.exp: Likewise.
7474         * gdb.arch/i386-prologue.exp: Likewise.
7475         * gdb.arch/i386-unwind.exp: Likewise.
7476         * gdb.asm/asm-source.exp: Likewise.
7477         * gdb.base/a2-run.exp: Likewise.
7478         * gdb.base/advance.exp: Likewise.
7479         * gdb.base/all-bin.exp: Likewise.
7480         * gdb.base/annota1.exp: Likewise.
7481         * gdb.base/annota3.exp: Likewise.
7482         * gdb.base/args.exp: Likewise.
7483         * gdb.base/arithmet.exp: Likewise.
7484         * gdb.base/assign.exp: Likewise.
7485         * gdb.base/async.exp: Likewise.
7486         * gdb.base/attach.exp: Likewise.
7487         * gdb.base/bang.exp: Likewise.
7488         * gdb.base/bigcore.exp: Likewise.
7489         * gdb.base/bitfields.exp: Likewise.
7490         * gdb.base/bitfields2.exp: Likewise.
7491         * gdb.base/break.exp: Likewise.
7492         * gdb.base/call-sc.exp: Likewise.
7493         * gdb.base/call-strs.exp: Likewise.
7494         * gdb.base/callfuncs.exp: Likewise.
7495         * gdb.base/checkpoint.exp: Likewise.
7496         * gdb.base/chng-syms.exp: Likewise.
7497         * gdb.base/code-expr.exp: Likewise.
7498         * gdb.base/commands.exp: Likewise.
7499         * gdb.base/completion.exp: Likewise.
7500         * gdb.base/cond-expr.exp: Likewise.
7501         * gdb.base/condbreak.exp: Likewise.
7502         * gdb.base/consecutive.exp: Likewise.
7503         * gdb.base/constvars.exp: Likewise.
7504         * gdb.base/corefile.exp: Likewise.
7505         * gdb.base/cvexpr.exp: Likewise.
7506         * gdb.base/dbx.exp: Likewise.
7507         * gdb.base/define.exp: Likewise.
7508         * gdb.base/detach.exp: Likewise.
7509         * gdb.base/display.exp: Likewise.
7510         * gdb.base/dump.exp: Likewise.
7511         * gdb.base/ena-dis-br.exp: Likewise.
7512         * gdb.base/ending-run.exp: Likewise.
7513         * gdb.base/environ.exp: Likewise.
7514         * gdb.base/eval-skip.exp: Likewise.
7515         * gdb.base/exprs.exp: Likewise.
7516         * gdb.base/fileio.exp: Likewise.
7517         * gdb.base/finish.exp: Likewise.
7518         * gdb.base/float.exp: Likewise.
7519         * gdb.base/foll-exec.exp: Likewise.
7520         * gdb.base/foll-fork.exp: Likewise.
7521         * gdb.base/foll-vfork.exp: Likewise.
7522         * gdb.base/freebpcmd.exp: Likewise.
7523         * gdb.base/funcargs.exp: Likewise.
7524         * gdb.base/gcore.exp: Likewise.
7525         * gdb.base/gdb1090.exp: Likewise.
7526         * gdb.base/gdb1250.exp: Likewise.
7527         * gdb.base/huge.exp: Likewise.
7528         * gdb.base/info-proc.exp: Likewise.
7529         * gdb.base/interrupt.exp: Likewise.
7530         * gdb.base/jump.exp: Likewise.
7531         * gdb.base/langs.exp: Likewise.
7532         * gdb.base/lineinc.exp: Likewise.
7533         * gdb.base/list.exp: Likewise.
7534         * gdb.base/logical.exp: Likewise.
7535         * gdb.base/long_long.exp: Likewise.
7536         * gdb.base/macscp.exp: Likewise.
7537         * gdb.base/maint.exp: Likewise.
7538         * gdb.base/mips_pro.exp: Likewise.
7539         * gdb.base/miscexprs.exp: Likewise.
7540         * gdb.base/multi-forks.exp: Likewise.
7541         * gdb.base/opaque.exp: Likewise.
7542         * gdb.base/overlays.exp: Likewise.
7543         * gdb.base/pc-fp.exp: Likewise.
7544         * gdb.base/pointers.exp: Likewise.
7545         * gdb.base/printcmds.exp: Likewise.
7546         * gdb.base/psymtab.exp: Likewise.
7547         * gdb.base/ptype.exp: Likewise.
7548         * gdb.base/recurse.exp: Likewise.
7549         * gdb.base/relational.exp: Likewise.
7550         * gdb.base/relocate.exp: Likewise.
7551         * gdb.base/remote.exp: Likewise.
7552         * gdb.base/reread.exp: Likewise.
7553         * gdb.base/restore.exp: Likewise.
7554         * gdb.base/return.exp: Likewise.
7555         * gdb.base/return2.exp: Likewise.
7556         * gdb.base/scope.exp: Likewise.
7557         * gdb.base/sect-cmd.exp: Likewise.
7558         * gdb.base/sep.exp: Likewise.
7559         * gdb.base/sepdebug.exp: Likewise.
7560         * gdb.base/setshow.exp: Likewise.
7561         * gdb.base/setvar.exp: Likewise.
7562         * gdb.base/sigall.exp: Likewise.
7563         * gdb.base/sigbpt.exp: Likewise.
7564         * gdb.base/signals.exp: Likewise.
7565         * gdb.base/signull.exp: Likewise.
7566         * gdb.base/sizeof.exp: Likewise.
7567         * gdb.base/solib.exp: Likewise.
7568         * gdb.base/step-line.exp: Likewise.
7569         * gdb.base/step-test.exp: Likewise.
7570         * gdb.base/structs.exp: Likewise.
7571         * gdb.base/structs2.exp: Likewise.
7572         * gdb.base/term.exp: Likewise.
7573         * gdb.base/twice.exp: Likewise.
7574         * gdb.base/until.exp: Likewise.
7575         * gdb.base/varargs.exp: Likewise.
7576         * gdb.base/volatile.exp: Likewise.
7577         * gdb.base/watchpoint.exp: Likewise.
7578         * gdb.base/whatis-exp.exp: Likewise.
7579         * gdb.base/whatis.exp: Likewise.
7580         * gdb.cp/ambiguous.exp: Likewise.
7581         * gdb.cp/annota2.exp: Likewise.
7582         * gdb.cp/annota3.exp: Likewise.
7583         * gdb.cp/bool.exp: Likewise.
7584         * gdb.cp/breakpoint.exp: Likewise.
7585         * gdb.cp/casts.exp: Likewise.
7586         * gdb.cp/class2.exp: Likewise.
7587         * gdb.cp/classes.exp: Likewise.
7588         * gdb.cp/cplusfuncs.exp: Likewise.
7589         * gdb.cp/ctti.exp: Likewise.
7590         * gdb.cp/derivation.exp: Likewise.
7591         * gdb.cp/exception.exp: Likewise.
7592         * gdb.cp/gdb1355.exp: Likewise.
7593         * gdb.cp/hang.exp: Likewise.
7594         * gdb.cp/inherit.exp: Likewise.
7595         * gdb.cp/local.exp: Likewise.
7596         * gdb.cp/m-data.exp: Likewise.
7597         * gdb.cp/m-static.exp: Likewise.
7598         * gdb.cp/member-ptr.exp: Likewise.
7599         * gdb.cp/method.exp: Likewise.
7600         * gdb.cp/misc.exp: Likewise.
7601         * gdb.cp/namespace.exp: Likewise.
7602         * gdb.cp/overload.exp: Likewise.
7603         * gdb.cp/ovldbreak.exp: Likewise.
7604         * gdb.cp/pr-1023.exp: Likewise.
7605         * gdb.cp/pr-1210.exp: Likewise.
7606         * gdb.cp/pr-574.exp: Likewise.
7607         * gdb.cp/printmethod.exp: Likewise.
7608         * gdb.cp/psmang.exp: Likewise.
7609         * gdb.cp/ref-params.exp: Likewise.
7610         * gdb.cp/ref-types.exp: Likewise.
7611         * gdb.cp/rtti.exp: Likewise.
7612         * gdb.cp/templates.exp: Likewise.
7613         * gdb.cp/try_catch.exp: Likewise.
7614         * gdb.cp/userdef.exp: Likewise.
7615         * gdb.cp/virtfunc.exp: Likewise.
7616         * gdb.disasm/am33.exp: Likewise.
7617         * gdb.disasm/h8300s.exp: Likewise.
7618         * gdb.disasm/mn10300.exp: Likewise.
7619         * gdb.disasm/sh3.exp: Likewise.
7620         * gdb.disasm/t01_mov.exp: Likewise.
7621         * gdb.disasm/t02_mova.exp: Likewise.
7622         * gdb.disasm/t03_add.exp: Likewise.
7623         * gdb.disasm/t04_sub.exp: Likewise.
7624         * gdb.disasm/t05_cmp.exp: Likewise.
7625         * gdb.disasm/t06_ari2.exp: Likewise.
7626         * gdb.disasm/t07_ari3.exp: Likewise.
7627         * gdb.disasm/t08_or.exp: Likewise.
7628         * gdb.disasm/t09_xor.exp: Likewise.
7629         * gdb.disasm/t10_and.exp: Likewise.
7630         * gdb.disasm/t11_logs.exp: Likewise.
7631         * gdb.disasm/t12_bit.exp: Likewise.
7632         * gdb.disasm/t13_otr.exp: Likewise.
7633         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
7634         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
7635         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7636         * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
7637         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
7638         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
7639         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
7640         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
7641         * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
7642         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
7643         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
7644         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
7645         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
7646         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
7647         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
7648         * gdb.mi/gdb701.exp: Likewise.
7649         * gdb.mi/gdb792.exp: Likewise.
7650         * gdb.mi/mi-basics.exp: Likewise.
7651         * gdb.mi/mi-break.exp: Likewise.
7652         * gdb.mi/mi-cli.exp: Likewise.
7653         * gdb.mi/mi-console.exp: Likewise.
7654         * gdb.mi/mi-disassemble.exp: Likewise.
7655         * gdb.mi/mi-eval.exp: Likewise.
7656         * gdb.mi/mi-file.exp: Likewise.
7657         * gdb.mi/mi-read-memory.exp: Likewise.
7658         * gdb.mi/mi-regs.exp: Likewise.
7659         * gdb.mi/mi-return.exp: Likewise.
7660         * gdb.mi/mi-simplerun.exp: Likewise.
7661         * gdb.mi/mi-stack.exp: Likewise.
7662         * gdb.mi/mi-stepi.exp: Likewise.
7663         * gdb.mi/mi-syn-frame.exp: Likewise.
7664         * gdb.mi/mi-until.exp: Likewise.
7665         * gdb.mi/mi-var-block.exp: Likewise.
7666         * gdb.mi/mi-var-child.exp: Likewise.
7667         * gdb.mi/mi-var-cmd.exp: Likewise.
7668         * gdb.mi/mi-var-display.exp: Likewise.
7669         * gdb.mi/mi-watch.exp: Likewise.
7670         * gdb.mi/mi2-basics.exp: Likewise.
7671         * gdb.mi/mi2-break.exp: Likewise.
7672         * gdb.mi/mi2-cli.exp: Likewise.
7673         * gdb.mi/mi2-console.exp: Likewise.
7674         * gdb.mi/mi2-disassemble.exp: Likewise.
7675         * gdb.mi/mi2-eval.exp: Likewise.
7676         * gdb.mi/mi2-file.exp: Likewise.
7677         * gdb.mi/mi2-read-memory.exp: Likewise.
7678         * gdb.mi/mi2-regs.exp: Likewise.
7679         * gdb.mi/mi2-return.exp: Likewise.
7680         * gdb.mi/mi2-simplerun.exp: Likewise.
7681         * gdb.mi/mi2-stack.exp: Likewise.
7682         * gdb.mi/mi2-stepi.exp: Likewise.
7683         * gdb.mi/mi2-syn-frame.exp: Likewise.
7684         * gdb.mi/mi2-until.exp: Likewise.
7685         * gdb.mi/mi2-var-block.exp: Likewise.
7686         * gdb.mi/mi2-var-child.exp: Likewise.
7687         * gdb.mi/mi2-var-cmd.exp: Likewise.
7688         * gdb.mi/mi2-var-display.exp: Likewise.
7689         * gdb.mi/mi2-watch.exp: Likewise.
7690         * gdb.stabs/exclfwd.exp: Likewise.
7691         * gdb.stabs/weird.exp: Likewise.
7692         * gdb.threads/gcore-thread.exp: Likewise.
7693         * gdb.trace/actions.exp: Likewise.
7694         * gdb.trace/backtrace.exp: Likewise.
7695         * gdb.trace/circ.exp: Likewise.
7696         * gdb.trace/collection.exp: Likewise.
7697         * gdb.trace/deltrace.exp: Likewise.
7698         * gdb.trace/infotrace.exp: Likewise.
7699         * gdb.trace/limits.exp: Likewise.
7700         * gdb.trace/packetlen.exp: Likewise.
7701         * gdb.trace/passc-dyn.exp: Likewise.
7702         * gdb.trace/passcount.exp: Likewise.
7703         * gdb.trace/report.exp: Likewise.
7704         * gdb.trace/save-trace.exp: Likewise.
7705         * gdb.trace/tfind.exp: Likewise.
7706         * gdb.trace/tracecmd.exp: Likewise.
7707         * gdb.trace/while-dyn.exp: Likewise.
7708         * gdb.trace/while-stepping.exp: Likewise.
7709
7710 2006-08-08  Joel Brobecker  <brobecker@adacore.com>
7711
7712         * gdb.base/step-bt.c: New file.
7713         * gdb.base/step-bt.exp: New testcase.
7714
7715 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
7716
7717         * config/monitor.exp (gdb_load): Remove support for obsolete
7718         download-write-size.
7719         * gdb.base/remote.exp: Likewise.  Update all callers of
7720         gdb_timed_load.
7721
7722 2006-08-02  Daniel Jacobowitz  <dan@codesourcery.com>
7723
7724         * cursal.exp: Pass binfile to gdb_load.
7725
7726 2006-08-01  Nathan Sidwell  <nathan@codesourcery.com>
7727
7728         * gdb.base/cursal.exp: Add "" to gdb_load call.
7729
7730 2006-07-29  Mark Kettenis  <kettenis@gnu.org>
7731
7732         * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
7733         NetBSD/ELF targets.
7734
7735 2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
7736
7737         * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
7738         operator*.
7739
7740 2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
7741
7742         * gdb.base/completion.exp: Update for change in "file" behavior.
7743         * gdb.stabs/weird.exp: Likewise.
7744         * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
7745         * lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
7746
7747 2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>
7748
7749         * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
7750         * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
7751
7752 2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
7753
7754         * gdb.base/default.exp: Update source command error message.
7755         * gdb.base/help.exp: Update 'help source' message.
7756
7757 2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
7758
7759         * gdb.cp/bs15503.exp: Update comment for no longer crashing
7760         test.
7761
7762 2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>
7763
7764         * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
7765
7766 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
7767
7768         * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
7769
7770 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
7771
7772         * gdb.threads/print-threads.exp: Use gdb_breakpoint.
7773
7774 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
7775
7776         * gdb.base/long_long.exp (gdb_test_long_long): Exclude
7777         *-*-openbsd* from targets for wich we expect ARM FPA floating
7778         point format.
7779
7780 2006-07-17  Nick Roberts  <nickrob@snap.net.nz>
7781
7782         * gdb.cp/annota3.exp: Expect frame-begin annotation.
7783
7784 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
7785
7786         * gdb.base/annota3.exp: Expect frame-begin annotation.
7787
7788 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
7789
7790         * gdb.base/help.exp: Adjust "help unset" test to accept
7791         any list of unset commands.
7792
7793 2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
7794             Daniel Jacobowitz  <dan@codesourcery.com>
7795
7796         * gdb.cp/ref-params.exp: New test.
7797         * gdb.cp/ref-params.cc: New source file.
7798         * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
7799
7800 2006-07-08  Mark Kettenis  <kettenis@gnu.org>
7801
7802         * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
7803         spaces/tabs in regular expressions since they might not be there.
7804
7805 2006-07-07  Andrew Stubbs  <andrew.stubbs@st.com>
7806
7807         * gdb.base/ifelse.exp: New file.
7808
7809 2006-07-04  Nathan Sidwell  <nathan@codesourcery.com>
7810
7811         * gdb.base/huge.c: Allow CRASH_GDB to be set from command
7812         line.
7813         * gdb.base/huge.exp: Loop over compilation to find a size that
7814         is acceptable.
7815         * gdb.base/remote.exp: Correct expected strings.
7816         * gdb.dwarf2/mac-fileno.S: Avoid # comments.
7817
7818 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
7819
7820         * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
7821
7822 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
7823
7824         * gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
7825         native.
7826
7827 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
7828
7829         * gdb.stabs/exclfwd.exp: Skip the test if configure did not
7830         enable stabs testing.
7831
7832 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
7833
7834         * gdb.base/auxv.exp: Intercept undefined command messages before
7835         gdb_test_multiple does.
7836
7837 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
7838
7839         * Makefile.in (host_alias): Remove.
7840         (target_alias): Use @target_noncanonical@.
7841         (site.exp): Don't set host_alias.
7842         * aclocal.m4: Remove contents.  Include acx.m4.
7843         * configure: Regenerated.
7844         * configure.ac: Use ACX_NONCANONICAL_TARGET.
7845
7846 2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
7847
7848         * lib/gdb.exp (gdb_load_cmd): New.
7849
7850         * gdb.base/fileio.c: Add system(NULL) test.
7851         * gdb.base/fileio.exp: Check it.
7852
7853         * gdb.base/break.c: Add 10a breakpoint at }
7854         * gdb.base/break.exp: Add test for breakpoint at }
7855         * gdb.cp/anon-union.cc: Add code at end of function.
7856         * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
7857         * gdb.mi/var-cmd.c: Add code at end of function.
7858         * gdb.mi/mi-var-display.exp: Adjust end of next.
7859         * gdb.mi/mi2-var-display.exp: Likewise.
7860         * gdb.base/fileio.c: Add stop function and insert calls at
7861         stopping places.
7862         * gdb.base/fileio.exp: Breakpoint stop function and remove
7863         explicit line number references.
7864
7865 2006-05-19  Joel Brobecker  <brobecker@adacore.com>
7866
7867         * gdb.base/del.exp (test_delete_alias): New function.
7868         Now check that both "del" and "d" work as aliases for "delete".
7869
7870 2006-05-18  Fred Fish  <fnf@specifix.com>
7871
7872         * gdb.base/a2-run.exp: Allow part of test to run when args aren't
7873         required.  Check for spurious output after program exits normally.
7874
7875 2006-05-17  Fred Fish  <fnf@specifix.com>
7876
7877         * gdb.base/relocate.exp: Use gdb_file_cmd rather than
7878         gdb_load, so it works in the simulator.
7879
7880 2006-05-11  Fred Fish  <fnf@specifix.com>
7881
7882         * gdb.base/bang.exp: Ignore unexpected output between the
7883         "program exited normally" and the gdb prompt, as many other
7884         tests do.
7885
7886 2006-05-07  Mark Kettenis  <kettenis@gnu.org>
7887
7888         * gdb.base/help.exp: Make "delete checkpoint" part option for
7889         "help d" and "help delete" tests.
7890
7891 2006-05-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7892
7893         * gdb.mi/mi-basics.exp: Add missing serial number to
7894         expected output in some mi_gdb_test statements.
7895         * gdb.mi/mi2-basics.exp: Likewise.
7896
7897 2006-05-05  Joel Brobecker  <brobecker@adacore.com>
7898
7899         * gdb.base/del.c: New file.
7900         * gdb.base/del.exp: New testcase.
7901
7902 2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
7903
7904         * gdb.base/break.exp: Do not assume a breakpoint on
7905         main will actually be in $srcfile when optimizing.
7906         * gdb.base/savedregs.exp: Do not require that the dummy
7907         frame location match up to a symbol and source file location.
7908         * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
7909         will get printed without a mi_cmd_data_list_register_values prefix.
7910         (*-data-list-register-*): Correct regular expressions to expect the new
7911         pseudo d? floating point registers.
7912         * gdb.mi/mi2-regs.exp: Likewise.
7913
7914 2006-05-05  Christophe Lyon  <christophe.lyon@st.com>
7915
7916         * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
7917         * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
7918         is allocated by the compiler.
7919         * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
7920         anons, e, anone to force their allocation by the compiler.
7921
7922 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
7923
7924         * gdb.base/help.exp: Update expected text for help d and
7925         help delete.
7926
7927 2006-05-02  Mark Kettenis  <kettenis@gnu.org>
7928
7929         * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
7930         NetBSD/ELF targets.
7931
7932 2006-04-30  Mark Kettenis  <kettenis@gnu.org>
7933
7934         * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
7935         single-step breakpoint fails; make this a KFAIL on
7936         sparc*-*-openbsd*.
7937         * gdb.base/siginfo.exp: Likewise.
7938         * gdb.base/sigstep.exp (advance, advancei): Likewise.
7939
7940 2006-04-26  Michael Snyder  <msnyder@redhat.com>
7941
7942         * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
7943         which may have to consume output from other forks.
7944         Add tests to make sure that "delete fork" succeeded.
7945
7946 2006-04-20  Michael Snyder  <msnyder@redhat.com>
7947
7948         * 2006-03-22  Jim Blandy  <jimb@redhat.com>
7949         Add support for the Renesas M32C and M16C.
7950
7951         * gdb.asm/asm-source.exp: Add m32c target.
7952         * gdb.asm/m32c.inc: Support for m32c target.
7953
7954 2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
7955
7956         * gdb.base/commands.exp (recursive_source_test): New test.
7957
7958 2006-04-04  David S. Miller  <davem@sunset.davemloft.net>
7959
7960         * gdb.base/float.exp: Add pattern for sparc targets.
7961
7962 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
7963
7964         * gdb.base/commands.exp (stray_arg0_test): New test.
7965
7966 2006-03-30  Paul Brook  <paul@codesourcery.com>
7967
7968         * gdb.mi/mi-until.exp: kfail broken until command.
7969         * gdb.mi/mi2-until.exp: Ditto.
7970
7971 2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
7972
7973         * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
7974
7975 2006-03-08  Alexandre Oliva  <aoliva@redhat.com>
7976
7977         * gdb.base/prelink.exp: Anchor tested-for regular expression
7978         on gdb prompt.
7979
7980 2006-03-07  Paul Brook  <paul@codesourcery.com>
7981
7982         * gdb.base/assign.exp: Correct fail message.
7983
7984 2006-03-07  Paul Brook  <paul@codesourcery.com>
7985
7986         * lib/compiler.c: Extract armcc version number.
7987         * lib/compiler.cc: Ditto.
7988
7989 2006-03-07  Paul Brook  <paul@codesourcery.com>
7990
7991         * gdb.arch/altivec-abi.exp: Use nowarnings instead of
7992         additional_flags=-w.
7993         * gdb.arch/altivec-regs.exp: Ditto.
7994         * gdb.arch/e500-abi.exp: Ditto.
7995         * gdb.arch/e500-regs.exp: Ditto.
7996         * gdb.base/all-bin.exp: Ditto.
7997         * gdb.base/annota1.exp: Ditto.
7998         * gdb.base/annota3.exp: Ditto.
7999         * gdb.base/args.exp: Ditto.
8000         * gdb.base/arithmet.exp: Ditto.
8001         * gdb.base/assign.exp: Ditto.
8002         * gdb.base/async.exp: Ditto.
8003         * gdb.base/bang.exp: Ditto.
8004         * gdb.base/break.exp: Ditto.
8005         * gdb.base/call-rt-st.exp: Ditto.
8006         * gdb.base/completion.exp: Ditto.
8007         * gdb.base/cond-expr.exp: Ditto.
8008         * gdb.base/condbreak.exp: Ditto.
8009         * gdb.base/consecutive.exp: Ditto.
8010         * gdb.base/define.exp: Ditto.
8011         * gdb.base/display.exp: Ditto.
8012         * gdb.base/ena-dis-br.exp: Ditto.
8013         * gdb.base/environ.exp: Ditto.
8014         * gdb.base/eval-skip.exp: Ditto.
8015         * gdb.base/info-proc.exp: Ditto.
8016         * gdb.base/jump.exp: Ditto.
8017         * gdb.base/logical.exp: Ditto.
8018         * gdb.base/long_long.exp: Ditto.
8019         * gdb.base/maint.exp: Ditto.
8020         * gdb.base/miscexprs.exp: Ditto.
8021         * gdb.base/pc-fp.exp: Ditto.
8022         * gdb.base/pointers.exp: Ditto.
8023         * gdb.base/relational.exp: Ditto.
8024         * gdb.base/reread.exp: Ditto.
8025         * gdb.base/sect-cmd.exp: Ditto.
8026         * gdb.base/sep.exp: Ditto.
8027         * gdb.base/sepdebug.exp: Ditto.
8028         * gdb.base/until.exp: Ditto.
8029         * gdb.base/whatis-exp.exp: Ditto.
8030         * gdb.cp/annota2.exp: Ditto.
8031         * gdb.cp/annota3.exp: Ditto.
8032         * gdb.trace/actions.exp: Ditto.
8033         * gdb.trace/backtrace.exp: Ditto.
8034         * gdb.trace/circ.exp: Ditto.
8035         * gdb.trace/collection.exp: Ditto.
8036         * gdb.trace/deltrace.exp: Ditto.
8037         * gdb.trace/infotrace.exp: Ditto.
8038         * gdb.trace/limits.exp: Ditto.
8039         * gdb.trace/packetlen.exp: Ditto.
8040         * gdb.trace/passc-dyn.exp: Ditto.
8041         * gdb.trace/passcount.exp: Ditto.
8042         * gdb.trace/report.exp: Ditto.
8043         * gdb.trace/save-trace.exp: Ditto.
8044         * gdb.trace/tfind.exp: Ditto.
8045         * gdb.trace/tracecmd.exp: Ditto.
8046         * gdb.trace/while-dyn.exp: Ditto.
8047         * gdb.trace/while-stepping.exp: Ditto.
8048         * lib/gdb.exp: Ditto.
8049         (gdb_compile): Handle nowarning option.
8050
8051 2006-03-07  Alexandre Oliva  <aoliva@redhat.com>
8052
8053         * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
8054         * gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
8055         Rename executable to prelinkt.  Don't re-prelink if we didn't
8056         get a core file.  Test prelink -u exit status to tell whether
8057         prelinking failed.  Use gdb_test_multiple.
8058
8059 2006-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
8060
8061         * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
8062         (do_tests): Call it.
8063
8064 2006-02-28  Alexandre Oliva  <aoliva@redhat.com>
8065
8066         * gdb.base/prelink.exp: New test.
8067         * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
8068
8069 2006-02-24  Wu Zhou  <woodzltc@cn.ibm.com>
8070
8071         * gdb.fortran/derived-type.f90: New file.
8072         * gdb.fortran/derived-type.exp: New testcase.
8073
8074 2006-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
8075
8076         * gdb.base/default.exp: Allow ';' as a directory separator.
8077
8078 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
8079
8080         * gdb.base/help.exp (help add-symbol-file): Update.
8081
8082 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
8083
8084         * gdb.base/help.exp (help load): Update expected results.
8085
8086 2006-02-19  Fred Fish  <fnf@specifix.com>
8087
8088         * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
8089         specifix hex value as part of results.
8090         * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
8091
8092 2006-02-16  Fred Fish  <fnf@specifix.com>
8093
8094         * gdb.base/whatis.c: Define variables using typedefs char_addr,
8095         ushort_addr, and slong_addr, so the typedefs are not optimized
8096         away.
8097         * gdb.base/whatis.exp: Add tests using type name for struct type,
8098         union type, enum type, and typedef.
8099
8100 2006-02-13  Mark Kettenis  <kettenis@gnu.org>
8101
8102         * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
8103
8104 2006-02-13  Jim Blandy  <jimb@redhat.com>
8105
8106         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
8107         case where it takes two "next" commands to skip past the init
8108         call.
8109
8110 2006-02-12  Fred Fish  <fnf@specifix.com>
8111
8112         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
8113         to handle cases where it takes two "next" commands to skip
8114         past the init call.
8115
8116 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
8117
8118         * gdb.ada/array_return.exp: Mark the last test as expected to fail
8119         on hppa32 targets.
8120
8121 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
8122
8123         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
8124         field.
8125
8126 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
8127
8128         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
8129
8130 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
8131
8132         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
8133         files.
8134
8135 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
8136
8137         * gdb.cp/maint.exp: Set complaints to a positive value.
8138
8139 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
8140
8141         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
8142         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
8143         function name.
8144
8145 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
8146
8147         * gdb.base/checkpoint.c: Update copyright notice.  Include
8148         <stdlib.h>.
8149
8150 2006-01-04  Jim Blandy  <jimb@redhat.com>
8151
8152         * gdb.asm/asm-source.exp: Independently provide default values for
8153         asm-flags and debug-flags.  Use 'string equal' to do the
8154         comparison, not the implicit expr's '==' operator.  Remove
8155         now-unneeded assignments to asm-flags.  In h8300 case, place
8156         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
8157
8158 2006-01-04  Michael Snyder  <msnyder@redhat.com>
8159
8160         * gdb.base/checkpoint.c: New file.
8161         * gdb.base/checkpoint.exp: New file.
8162         * gdb.base/multi-fork.c: New file.
8163         * gdb.base/multi-fork.exp: New file.
8164         * gdb.base/pi.txt: New file (data for checkpoint.c test).
8165
8166 2006-01-04  Fred Fish  <fnf@specifix.com>
8167
8168         * gdb.base/ptype.c (foo): Add typedef.
8169         (intfoo): Add function.
8170         * gdb.base/ptype1.c: New file.
8171         * gdb.base/ptype.exp: Handle compilation and linking with two
8172         source files.  Test that proper type for "foo" is found based
8173         on source context rather than first match found in symtabs.
8174
8175 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
8176
8177         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
8178         * gdb.asm/openbsd.inc: Indent commands.
8179
8180 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
8181
8182         * gdb.base/freebpcmd.exp: Increase timeout.
8183
8184         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
8185
8186 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
8187
8188         * gdb.base/default.exp: Update check for "show version".
8189
8190 2005-12-09  Randolph Chung  <tausq@debian.org>
8191
8192         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
8193         * gdb.asm/pa64.inc: New file.
8194
8195 2005-12-09  Randolph Chung  <tausq@debian.org>
8196
8197         * gdb.asm/common.inc: Indent commands.
8198         * gdb.asm/asmsrc1.s: Likewise.
8199         * gdb.asm/asmsrc2.s: Likewise.
8200
8201 2005-12-09  Randolph Chung  <tausq@debian.org>
8202
8203         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
8204         (get_addr_of_sym): Remove duplicate print.
8205         (gen_core): xfail hppa*-*-hpux*, update expected output.
8206         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
8207         * gdb.arch/pa64-nullify.s: New file.
8208
8209 2005-12-09  Randolph Chung  <tausq@debian.org>
8210
8211         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
8212
8213 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
8214
8215         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
8216         code generation for these functions.
8217         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
8218         error message.
8219
8220 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
8221
8222         * gdb.base/help.exp (help b, help br, help bre, help brea)
8223         (help break): Update the expected message.
8224
8225 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
8226
8227         * gdb.asm/m68hc11.inc: Setup the data section.
8228         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
8229         script for this test.
8230         (m6812-*-*): Likewise.
8231
8232 2005-11-09  Randolph Chung <tausq@debian.org>
8233
8234         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
8235
8236 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
8237
8238         * gdb.base/break.exp: Fix a comment typo.
8239
8240 2005-11-03  Jim Blandy  <jimb@redhat.com>
8241
8242         Checked in by Elena Zannoni  <ezannoni@redhat.com>
8243
8244         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
8245
8246 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
8247
8248         * gdb.arch/gdb1558.c: Include stdio.h.
8249
8250 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
8251
8252         * gdb.asm/asm-source.exp: Use -e instead of --entry.
8253
8254 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
8255
8256         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
8257
8258 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
8259
8260         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
8261         vscr" tests to better match output.
8262
8263 2005-10-12  Jim Blandy  <jimb@redhat.com>
8264
8265         * gdb.base/structs.exp (any): New function.
8266         (test_struct_returns): Don't make any assumptions at all about
8267         what value the function returns when GDB can't set the return
8268         value.
8269
8270 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
8271
8272         * gdb.ada/arrayidx/p.adb: New file.
8273         * gdb.ada/arrayidx.exp: New testcase
8274
8275 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
8276
8277         * gdb.ada/array_return/pck.ads: New file.
8278         * gdb.ada/array_return/pck.adb: New file.
8279         * gdb.ada/array_return/p.adb: New file.
8280         * gdb.ada/array_return.exp: New testcase.
8281
8282 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
8283
8284         * gdb.base/arrayidx.c: New file.
8285         * gdb.base/arrayidx.exp: New testcase.
8286
8287 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
8288
8289         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
8290         frames-invalid and breakpoints-invalid are no longer generated
8291         with level 3 so don't expect them in the output.
8292
8293 2005-09-27  Bob Rossi  <bob@brasko.net>
8294
8295         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
8296         from test.  Escape the | in mi_gdb_test call.
8297         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
8298         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
8299         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
8300         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
8301         expected regex's in mi_gdb_test calls.
8302         * lib/mi-support.exp: Remove arbitrary .* from tests.
8303         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
8304         Fully anchor GDB/MI expected results in mi_gdb_test.
8305         * lib/gdb.exp (string_to_regexp): Escape the ] character.
8306         * gdb.base/sizeof.exp: Remove escape character. Correct test.
8307
8308 2005-09-26  Paul Brook  <paul@codesourcery.com>
8309
8310         * long_long.exp: Exclude eabi targets from arm FPA float format test.
8311
8312 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
8313
8314         * bfp-test.c: New file.
8315         * bfp-test.exp: New testcase.
8316
8317 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
8318
8319         * gdb.fortran/subarray.exp: New testcase to test the evaluation
8320         of subarray and substring variable.
8321         * gdb.fortran/subarray.f: New source file for the test of subarray
8322         and substring variable evaluation.
8323         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
8324         of string constant.
8325
8326 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
8327
8328         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
8329         copyright dates.
8330
8331 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
8332
8333         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
8334         powerpc altivec' test with an almost identical 'info vector' test.
8335
8336 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
8337
8338         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
8339         vscr" tests to match output.
8340
8341 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
8342
8343         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
8344         output.
8345
8346 2005-09-11  Bob Rossi  <bob@brasko.net>
8347
8348         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
8349         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
8350         commands that return an MI output command and an asyncronous MI output
8351         command.
8352         * gdb.mi/mi-console.exp: Ditto.
8353
8354 2005-09-11  Bob Rossi  <bob@brasko.net>
8355
8356         * gdb.mi/mi-var-child.c: Include <string.h>.
8357
8358 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
8359
8360         * killed.exp: Correct gdb_expect syntax.
8361
8362 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
8363
8364         * lib/mi-support.exp (mi_gdb_load): Fix typo.
8365
8366 2005-08-02  Bob Rossi  <bob@brasko.net>
8367
8368         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
8369         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
8370         Change tests to inferior-tty-set/show.
8371         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
8372         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
8373         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
8374         inferior.  Use mi_gdb_test to get GDB and Inferior output.
8375         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
8376         descriptor.
8377         (mi_inferior_tty_name): Add inferior PTY file name.
8378         (mi_gdb_start): Add INFERIOR_PTY parameter.
8379         (mi_gdb_test): Add IPATTERN parameter.
8380
8381 2005-08-02   Bob Rossi  <bob@brasko.net>
8382
8383         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
8384         parameter to mi_gdb_test.
8385         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
8386
8387 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
8388
8389         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
8390         struct_declarations.
8391         * gdb.mi/mi-var-child.exp: Step over the initialization of
8392         struct_declarations.
8393
8394 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
8395
8396         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
8397         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
8398         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
8399         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
8400         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
8401         file.
8402
8403 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
8404
8405         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
8406         (do_children_tests): Assign values to the extra elements.
8407
8408         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
8409         them for tests for "-var-update --no-values" and
8410         "-var-update --all-values".
8411         Add test for "-var-list-children --simple-values".
8412
8413         * gdb.mi/basics.c (callee4): Add integer array D[3]...
8414
8415         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
8416         "-stack-list-locals --simple-values"  Improve doc strings and
8417         comments.
8418
8419 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
8420
8421         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
8422         *-*-openbsd*.
8423         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
8424
8425         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
8426         sigaltsatck'.
8427
8428 2005-07-14  Bob Rossi  <bob@brasko.net>
8429
8430         * gdb.base/default.exp (tty): Changed output of command.
8431         * gdb.base/help.exp (help tty): Ditto.
8432
8433 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
8434
8435         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
8436
8437 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
8438
8439         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
8440         -stack-select-frame without arguments.
8441         (test_stack_frame_listing): Add test for newly implemented command
8442         -stack-info-frame.
8443
8444 2005-07-06  Bob Rossi  <bob@brasko.net>
8445
8446         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
8447         command.
8448         (Copyright): Update copyright.
8449
8450 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
8451
8452         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
8453         tests to evaluate exponentiation expression.
8454
8455 2005-06-29  Andreas Schwab  <schwab@suse.de>
8456
8457         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
8458         main to avoid warnings.
8459
8460         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
8461
8462 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
8463
8464         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
8465         -stack-select-frame without arguments.
8466         (test_stack_frame_listing): Add test for newly implemented command
8467         -stack-info-frame.
8468
8469 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
8470
8471         * gdb.fortran/array-element.f: New file.
8472         * gdb.fortran/array-element.exp: New testcase.
8473
8474 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
8475
8476         * gdb.base/bigcore.exp: Correct checks for systems which can
8477         not dump a large core file.
8478
8479 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
8480
8481         * gdb.base/relocate.c: Add a copyright notice.
8482         (dummy): Remove.
8483         * gdb.base/relocate.exp: Test printing the values of variables
8484         from a relocatable file.
8485
8486 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
8487
8488         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
8489         excess MI output after an error.
8490
8491 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
8492
8493         * gdb.arch/alpha-step.c: New file.
8494         * gdb.arch/alpha-step.exp: New testcase.
8495
8496 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
8497             Dennis Brueni  <dennis@slickedit.com>
8498
8499         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
8500         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
8501         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
8502         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
8503         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
8504         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
8505         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
8506
8507 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
8508             Wu Zhou  <woodzltc@cn.ibm.com>
8509
8510         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
8511         IBM's xlc compiler.
8512         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
8513         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
8514
8515 2005-05-13  Jim Blandy  <jimb@redhat.com>
8516
8517         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
8518         calling gdb_suppress_entire_file.
8519         * gdb.base/charset.exp: Same.
8520         * gdb.base/call-rt-st.exp: Same.
8521
8522 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
8523
8524         * lib/gdb.exp (fullname_syntax): Added global regex.
8525         (fullname_syntax_POSIX): Ditto.
8526         (fullname_syntax_UNC): Ditto.
8527         (fullname_syntax_DOS_CASE): Ditto.
8528         (fullname_syntax_DOS): Ditto.
8529         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
8530         fullname_syntax variable to scope and use it.
8531         (test_file_list_exec_source_files): Ditto.
8532         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
8533
8534 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
8535
8536         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
8537
8538 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
8539
8540         * lib/gdb.exp (skip_altivec_tests): New function, based on
8541         check_vmx_hw_available from the GCC testsuite.
8542         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
8543         * lib/gdb.arch/altivec-regs.exp: Likewise.
8544
8545 2005-05-02  Jim Blandy  <jimb@redhat.com>
8546
8547         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
8548         calling gdb_suppress_entire_file.
8549
8550 2005-04-30  Randolph Chung  <tausq@debian.org>
8551
8552         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
8553         Slightly relax "sem_post" name checking.
8554
8555 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
8556
8557         * gdb.base/unload.exp: Use new shared library infrastructure.
8558
8559 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
8560
8561         * gdb.base/so-impl-ld.exp: Use new shared library
8562         infrastructure.
8563
8564 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
8565
8566         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
8567         * gdb.asm/h8300.inc: New file.
8568
8569 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
8570
8571         * gdb.base/shlib-call.exp: Change to use new shared library
8572         infrastructure.
8573
8574 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
8575
8576         * gdb.base/pending.exp: Change to use new shared library
8577         infrastructure.
8578
8579 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
8580
8581         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
8582         use test_compiler_info instead of gcc_compiled, and update copyright.
8583
8584 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
8585
8586         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
8587         shared objects being adjusted and update copyright years.
8588
8589 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
8590
8591         * ChangeLog: Correct some 2003-01-13 dates.
8592         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
8593         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
8594         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
8595         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
8596         gdb.trace/tfind.exp: Update copyright years.
8597
8598 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
8599             Daniel Jacobowitz  <dan@codesourcery.com>
8600
8601         * lib/gdb.exp (gdb_compile): Handle shlib=.
8602         (gdb_compile_shlib): New function.
8603
8604 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
8605
8606         * lib/gdb.exp (test_compiler_info): Give argument a default value.
8607
8608 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
8609
8610         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
8611         gdb.server.
8612         * configure.ac: Likewise.
8613         * configure: Regenerated.
8614         * gdb.gdbserver/Makefile.in: Moved to...
8615         * gdb.server/Makefile.in: ... here.
8616         * gdb.gdbserver/server.c: Moved to...
8617         * gdb.server/server.c: ... here.
8618         * gdb.gdbserver/server-run.exp: Moved to...
8619         * gdb.server/server-run.exp: ... here.
8620
8621 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
8622
8623         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
8624         * configure.ac: Create gdb.gdbserver/Makefile.
8625         * configure: Regenerated.
8626         * lib/gdbserver-support.exp: New file, derived from
8627         config/gdbserver.exp.
8628         * config/gdbserver.exp: Use gdbserver-support.exp.
8629         * gdb.gdbserver/Makefile.in: New file.
8630         * gdb.gdbserver/server.c: New file.
8631         * gdb.gdbserver/server-run.exp: New file.
8632
8633 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
8634
8635         * lib/gdb.exp (test_compiler_info): Return compiler_info
8636         if no arguments are given.
8637
8638 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
8639
8640         * gdb.arch/altivec-abi.exp: Check for compiler and set
8641         use altivec' flag accordingly.
8642         * gdb.arch/altivec-regs.exp: Likewise.
8643
8644 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
8645
8646         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
8647
8648 2005-03-27  Andreas Schwab  <schwab@suse.de>
8649
8650         * gdb.base/bigcore.c (main): Add missing mode argument in open
8651         call.
8652
8653 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
8654
8655         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
8656         downloads.
8657         * config/gdbserver.exp (gdb_load): Likewise.
8658
8659 2005-03-14  Paul Brook  <paul@codesourcery.com>
8660
8661         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
8662         targets.
8663
8664 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
8665
8666         * gdb.dwarf2/dup-psym.S: New file.
8667         * gdb.dwarf2/dup-psym.exp: New testcase.
8668
8669 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
8670
8671         * gdb.ada/exec_changed/first.adb: New file.
8672         * gdb.ada/exec_changed/second.adb: New file.
8673         * gdb.ada/exec_changed.exp: New testcase.
8674
8675 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
8676
8677         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
8678         (A2): New class.
8679         (main): Test operator+.
8680         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
8681         breakpoint test.
8682
8683         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
8684         * gdb.base/signull.exp: Disable if gdb,nosignals.
8685         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
8686         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
8687         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
8688         * gdb.mi/mi2-console.exp: Likewise.
8689         * gdb.trace/collection.exp (run_trace_experiment): Consume the
8690         continue output at start.
8691         (gdb_collect_locals_test): Robustify regexp.
8692         * gdb.trace/passc-dyn.exp: Fix comment typo.
8693         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
8694
8695 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
8696
8697         * gdb.asm/asm-source.exp: Add iq2000 case.
8698         * gdb.asm/iq2000.inc: New file.
8699
8700 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
8701
8702         * gdb.base/command.exp: Change hardcoded value to regular expression.
8703         * gdb.base/float.exp: Add powerpc to the list of targets checked.
8704
8705 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
8706
8707         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
8708         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
8709         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
8710         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
8711         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
8712
8713 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
8714
8715         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
8716         changes.
8717
8718 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
8719
8720         * lib/compiler.c: Add test for IBM's xlc compiler.
8721         * lib/compiler.cc: Likewise.
8722
8723 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
8724
8725         * gdb.ada/fixed_points.exp: Create compilation object directory
8726         before running the test.
8727         * gdb.ada/null_record.exp: Likewise.
8728         * gdb.ada/packed_array.exp: Likewise.
8729         * gdb.ada/start.exp: Likewise.
8730
8731 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
8732
8733         * gdb.ada/packed_array/pa.adb: New file.
8734         * gdb.ada/packed_array.exp: New testcase.
8735
8736 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
8737
8738         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
8739         files.
8740
8741         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
8742         on *-*-openbsd*.  Correctly match whitespace in regukar
8743         expressions.
8744
8745 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
8746
8747         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
8748         PR exp/1821
8749         * gdb.base/gdb1821.c: New test file.
8750         * gdb.base/gdb1821.exp: New test file.
8751
8752 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
8753
8754         * gdb.base/start.c: New file.
8755         * gdb.base/start.exp: New testcase.
8756
8757 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
8758
8759         * gdb.ada/start/dummy.adb: New file.
8760         * gdb.ada/start.exp: New testcase.
8761
8762 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
8763
8764         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
8765         for printing symbols and statistics.
8766         Add test for using relative pathnames in "maint print msymbols" test.
8767         Mark "maint info sections DATA" XFAIL on Cygwin.
8768         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
8769         tests.
8770
8771 2005-02-09  Andreas Schwab  <schwab@suse.de>
8772
8773         Committed by Andrew Cagney  <cagney@gnu.org>
8774         * gdb.base/remotetimeout.exp: New file.
8775
8776 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
8777
8778         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
8779
8780 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
8781
8782         * gdb.ada/gnat_ada.gpr: New file.
8783         * gdb.ada/gnat_ada.gin: Delete, no longer used.
8784         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
8785         * configure.ac: No longer generate gnat_ada.gpr.
8786         * configure: Regenerate.
8787         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
8788         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
8789         * gdb.ada/null_record/bar.ads: Likewise.
8790         * gdb.ada/null_record/bar.adb: Likewise.
8791         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
8792         * gdb.ada/null_record.exp (testdir): New variable.
8793         (testfile): executable is now in testdir subdirectory.
8794         (srcfile): Use full path to the main compilation unit.
8795         * gdb.ada/fixed_points.exp: Same changes as above.
8796
8797 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
8798
8799         * gdb.base/interp.exp: New test.
8800
8801 2005-01-24  Andrew Cagney  <cagney@gnu.org>
8802
8803         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
8804
8805 2005-01-19  Andrew Cagney  <cagney@gnu.org>
8806
8807         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
8808         configure.ac not configure.in.
8809
8810         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
8811         of powerpc*-*-*.
8812         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
8813         * gdb.base/list.exp (test_list_function)
8814         (test_list_filename_and_function): Ditto.
8815         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
8816
8817 2005-01-16  Andrew Cagney  <cagney@gnu.org>
8818
8819         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
8820
8821         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
8822
8823 2005-01-14  Andrew Cagney  <cagney@gnu.org>
8824
8825         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
8826         * gdb.mi/mi2-var-cmd.exp: Ditto.
8827
8828 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
8829
8830         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
8831
8832 2005-01-07  Andrew Cagney  <cagney@gnu.org>
8833
8834         * configure.ac: Rename configure.in, require autoconf 2.59.
8835         * configure: Re-generate.
8836         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
8837         * gdb.stabs/configure: Re-generate.
8838         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
8839         * gdb.hp/configure: Re-generate.
8840         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
8841         autoconf 2.59.
8842         * gdb.hp/gdb.objdbg/configure: Re-generate.
8843         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
8844         autoconf 2.59.
8845         * gdb.hp/gdb.defects/configure: Re-generate.
8846         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
8847         autoconf 2.59.
8848         * gdb.hp/gdb.compat/configure: Re-generate.
8849         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
8850         autoconf 2.59.
8851         * gdb.hp/gdb.base-hp/configure: Re-generate.
8852         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
8853         autoconf 2.59.
8854         * gdb.hp/gdb.aCC/configure: Re-generate.
8855
8856 2004-12-15  Jim Blandy  <jimb@redhat.com>
8857
8858         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
8859         under NPTL when there is debugging info available for libpthread.
8860
8861 2004-12-13  Jerome Guitton  <guitton@gnat.com>
8862
8863         * gdb.ada/fixed_points.c: New file.
8864         * gdb.ada/fixed_points.exp: New file.
8865
8866 2004-12-03  Randolph Chung  <tausq@debian.org>
8867
8868         * gdb.arch/pa-nullify.exp: New file.
8869         * gdb.arch/pa-nullify.s: New file.
8870
8871 2004-11-30  Randolph Chung  <tausq@debian.org>
8872
8873         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
8874         instead of "tbug".  Fix regexp to work properly with gdb_test.
8875
8876 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
8877
8878         * gdb.base/bitfields2.exp: New test.
8879         * gdb.base/bitfields2.c: New file.
8880
8881 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
8882
8883         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
8884
8885 2004-11-16  Randolph Chung  <tausq@debian.org>
8886
8887         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
8888
8889 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
8890
8891         * gdb.threads/threadapply.exp: Correct "macro details" test.
8892
8893 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
8894
8895         * gdb.threads/threadapply.exp: New test.
8896         * gdb.threads/threadapply.c: New file.
8897
8898 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
8899
8900         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
8901         frames.
8902
8903 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
8904
8905         * gdb.base/cursal.exp: New file.
8906         * gdb.base/cursal.c: New file.
8907
8908 2004-11-03  Andrew Cagney  <cagney@gnu.org>
8909
8910         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
8911
8912 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
8913
8914         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
8915         NetBSD/ELF targets.
8916
8917 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
8918
8919         * gdb.threads/bp_in_thread.c: New file, copied from
8920         pthread_cond_wait.c.
8921         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
8922         file, rather than reusing the .c file from another testcase.
8923
8924 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
8925
8926         * gdb.ada/null_record.exp: Check where we stopped after
8927         sending the start command, instead of where the associated
8928         temporary breakpoint was inserted.
8929
8930 2004-10-14  Andrew Cagney  <cagney@gnu.org>
8931
8932         * gdb.mi/gdb701.c (main): Return 0.
8933
8934 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
8935
8936         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
8937
8938 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
8939
8940         * gdb.threads/schedlock.c: Add comment markers to use to find
8941         line numbers.
8942         * gdb.threads/schedlock.exp: Adjust regex to handle the new
8943         comments.
8944         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
8945         breakpoint lines.
8946
8947 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
8948
8949         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
8950
8951 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
8952
8953         * configure.in: Add gdb.dwarf2.
8954         * configure: Regenerated.
8955         * Makefile.in: Add gdb.dwarf2.
8956         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
8957         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
8958         gdb.dwarf2/file1.txt: New files.
8959
8960 2004-10-11  Orjan Friberg  <orjanf@axis.com>
8961
8962         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
8963         of "run", since the latter doesn't work with remote targets.  Adjust
8964         the breakpoint numbering accordingly.
8965         * gdb.threads/pthread_cond_wait.exp: Ditto.
8966
8967 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
8968
8969         * gdb.base/overlays.exp: Update copyright years.
8970
8971 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
8972
8973         * gdb.base/overlays.exp: Disable if target is Linux.
8974
8975 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
8976
8977         * config/gdbserver.exp (gdb_load): Use right filename on remote.
8978
8979 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
8980
8981         * gdb.asm/asm-source.exp: Add m32r-linux target.
8982         * gdb.asm/m32r-linux.inc: New file.
8983
8984 2004-09-24  Andrew Cagney  <cagney@redhat.com>
8985             David Anderson <anderson@redhat.com>
8986
8987         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
8988         command fails, assume things will work.
8989         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
8990         (_GNU_SOURCE): Define.
8991         (print_unsigned, print_hex): Change parameter to "long long".
8992         (print_byte_count): New function, use to print byte counts.
8993         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
8994         O_LARGEFILE.
8995         (main): Compute an upper bound on a corefile in max_core_size.
8996         Limit memory chunk size to max_core_size.  Limit total memory
8997         allocated to max_core_size.
8998
8999 2004-09-23  Andrew Cagney  <cagney@gnu.org>
9000
9001         * gdb.base/bigcore.exp: Replace the code that creates a corefile
9002         from a separate process with code that creates a corefile by
9003         making the inferior dump core.
9004
9005 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
9006
9007         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
9008         block.
9009
9010 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
9011
9012         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
9013         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
9014         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
9015         Likewise.
9016
9017 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
9018
9019         * gdb.java/jprint.exp: New test case for java inferior call.
9020         * gdb.java/jprint.java: Ditto.
9021
9022 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
9023
9024         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
9025
9026 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
9027
9028         * gdb.threads/killed.c: Include <stdlib.h>.
9029         * gdb.threads/pthreads.c: Likewise.
9030
9031 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
9032
9033         * gdb.threads/killed.c: Add copyright notice.
9034
9035 2004-09-10  Jason Molenda  (jmolenda@apple.com)
9036
9037         * gdb.base/define.exp: Two new tests to verify zero space chars
9038         after 'if' and 'while' commands in a user-defined command is correctly
9039         parsed.
9040
9041 2004-09-08  Andrew Cagney  <cagney@gnu.org>
9042
9043         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
9044         delivery test with duplicate at end of file.
9045
9046 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
9047
9048         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
9049
9050 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
9051
9052         * config/hppro.exp: Removed.
9053
9054 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
9055
9056         * config/sparclet.exp: Removed.
9057
9058 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
9059
9060         * config/udi.exp: Removed.
9061
9062 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
9063
9064         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
9065         of "exp_continue".
9066         (advancei): Likewise.
9067
9068 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
9069
9070         * gdb.base/unload.exp: Fix so messages aren't duplicated.
9071
9072 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
9073
9074         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
9075         to check for nodebug in executable.
9076         * gdb.gdb/observer.exp (setup_test): Likewise.
9077         * gdb.gdb/selftest.exp (test_with_self): Likewise.
9078         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
9079
9080 2004-09-01  Andrew Cagney  <cagney@gnu.org>
9081
9082         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
9083         files.
9084
9085 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
9086
9087         * gdb.base/unload.exp: Fix expected warning message to match
9088         latest format.
9089
9090 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
9091
9092         * gdb.base/call-rt-st.exp: Fix typos.
9093
9094 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
9095
9096         * gdb.threads/thread_check.exp: New testcase.
9097         * gdb.threads/thread_check.c: New testcase.
9098
9099 2004-08-31  Andrew Cagney  <cagney@gnu.org>
9100
9101         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
9102         (skip_to_handler_entry): New procedures.  Test stepping into a
9103         handler when the breakpoint is at the handler's entry point.
9104
9105 2004-08-30  Andrew Cagney  <cagney@gnu.org>
9106
9107         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
9108         gdb/1757.
9109
9110 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
9111
9112         With code from Manoj Iyer <manjo@austin.ibm.com>:
9113         * lib/gdb.exp (gdb_file_cmd): Return more information in the
9114         return value.  Add an arm for "no debugging symbols found".
9115         Change a stray "error" to "perror".
9116         (gdb_run_cmd): Adapt to new return value.
9117         * gdb.base/remote.exp: Adapt to new return value.
9118         * gdb.gdb/complaints.exp: Likewise.
9119         * gdb.gdb/observer.exp: Likewise.
9120         * gdb.gdb/selftest.exp: Likewise.
9121         * gdb.gdb/xfullpath.exp: Likewise.
9122
9123 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
9124
9125         * gdb.threads/bp_in_thread.exp: New testcase.
9126
9127 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
9128
9129         Fix PR testsuite/1735.
9130         * gdb.threads/schedlock.c (thread_function): Add a cast
9131         to suppress a gcc warning.
9132         * gdb.threads/thread-specific.c (thread_function): Likewise.
9133
9134 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
9135
9136         * gdb.base/unload.c: Include <stdlib.h>.
9137
9138 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
9139
9140         From Paul Gilliam <pgilliam@us.ibm.com>:
9141         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
9142         synchronized after the "return".
9143
9144 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
9145
9146         * gdb.mi/basics.c: Include <stdio.h>.
9147         * gdb.mi/pthreads.c: Include <stdlib.h>.
9148         * gdb.mi/var-cmd.c: Include <stdlib.h>.
9149
9150 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
9151
9152         * gdb.threads/schedlock.c: Add copyright notice.
9153
9154 2004-08-25  Andrew Cagney  <cagney@gnu.org>
9155
9156         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
9157         (skip_over_handler, breakpoint_over_hander): New test procedures.
9158         (advance, advancei): Add a proper prefix, do not use
9159         rerun_to_main.
9160         * gdb.base/sigstep.c (main): Change to use an infinite loop.
9161
9162 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
9163
9164         * gdb.mi/basics.c: Add copyright notice.
9165         * gdb.mi/var-cmd.c: Add copyright notice.
9166
9167 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
9168
9169         * lib/gdb.exp: Remove signed_keyword_not_used.
9170         * lib/compiler.c: Likewise.
9171         * lib/compiler.cc: Likewise.
9172
9173 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
9174
9175         * gdb.base/whatis.c: Remove conditional disabling of "signed".
9176         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
9177
9178 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
9179
9180         * gdb.base/whatis.c: Add copyright notice.
9181
9182 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
9183
9184         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
9185         it to skip the breakpoints encoded in the inline assembly.
9186
9187 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
9188
9189         * Makefile.in: Add gdb.fortran.
9190
9191 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
9192
9193         * gdb.base/call-sc.exp (test_scalar_returns):
9194         Fix cut-and-paste glitch in "Make fun return now".
9195
9196 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
9197
9198         * configure.in: Add gdb.fortran.
9199         * configure: Regenerate.
9200         * gdb.fortran/Makefile.in: New file.
9201         * lib/gdb.exp (skip_fortran_tests): New procedure.
9202
9203 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
9204
9205         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
9206         reference to bug-gnu@prep.ai.mit.edu.
9207         * gdb.mi/mi-var-child.exp: Likewise.
9208         * gdb.mi/mi-var-cmd.exp: Likewise.
9209         * gdb.mi/mi-var-display.exp: Likewise.
9210         * gdb.mi/mi2-var-block.exp: Likewise.
9211         * gdb.mi/mi2-var-child.exp: Likewise.
9212         * gdb.mi/mi2-var-cmd.exp: Likewise.
9213         * gdb.mi/mi2-var-display.exp: Likewise.
9214
9215 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
9216
9217         * gdb.base/unload.c (main): Make local variable msg const.
9218
9219 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
9220
9221         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
9222         to bug-gnu@prep.ai.mit.edu.
9223         * gdb.mi/mi-disassemble.exp: Likewise.
9224         * gdb.mi/mi-eval.exp: Likewise.
9225         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
9226         default line number.
9227         * gdb.mi/mi-return.exp: Likewise.
9228         * gdb.mi/mi-simplerun.exp: Likewise.
9229         * gdb.mi/mi-stack.exp: Likewise.
9230         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
9231         number with explicit range test.
9232         * gdb.mi/mi-watch.exp: Likewise.
9233         * gdb.mi/mi2-break.exp: Likewise.
9234         * gdb.mi/mi2-cli.exp: Likewise.
9235         * gdb.mi/mi2-disassemble.exp: Likewise.
9236         * gdb.mi/mi2-eval.exp: Likewise.
9237         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
9238         default line number.
9239         * gdb.mi/mi2-return.exp: Likewise.
9240         * gdb.mi/mi2-simplerun.exp: Likewise.
9241         * gdb.mi/mi2-stack.exp: Likewise.
9242         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
9243         number with explicit range test.
9244         * gdb.mi/mi2-watch.exp: Likewise.
9245
9246 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
9247
9248         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
9249         * gdb.cp/m-static.exp: Likewise.
9250         * gdb.cp/rtti.exp: Likewise.
9251
9252 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
9253
9254         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
9255
9256 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
9257
9258         * ChangeLog: Prefix Local Variables with semi-colons and indent
9259         the reference to older ChangeLog files, to fix fontification in
9260         Emacs.
9261
9262 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
9263
9264         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
9265         * gdb.mi/mi2-break.exp: Likewise.
9266
9267 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
9268
9269         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
9270
9271 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
9272
9273         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
9274
9275 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
9276
9277         * gdb.cp/classes.exp: Remove unused declarations.  Just let
9278         test names default instead of providing special names.  Remove
9279         extraneous demangler test.
9280
9281 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
9282
9283         * gdb.base/unload.exp: New test for breakpoints in dynamically
9284         loaded libraries.
9285         * gdb.base/unload.c: Ditto.
9286         * gdb.base/unloadshr.c: Ditto.
9287
9288 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
9289
9290         * gdb.cp/classes.exp (test_ptype_class_objects): Call
9291         cp_test_ptype_class.
9292         (test_enums): Likewise.
9293
9294 2004-08-10  Andrew Cagney  <cagney@gnu.org>
9295
9296         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
9297         files.
9298
9299 2004-08-10  Andrew Cagney  <cagney@gnu.org>
9300
9301         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
9302         init_malloc call.
9303
9304 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
9305
9306         * ChangeLog: Add copyright notice.  The notice is copied
9307         from emacs 21.3 top level ChangeLog.
9308
9309 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
9310
9311         * lib/cp-support.exp: New file.
9312         * lib/cp-support.exp (cp_test_type_class): New function.
9313         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
9314         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
9315         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
9316         cp_test_ptype_class.
9317
9318 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
9319
9320         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
9321         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9322         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
9323         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
9324         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
9325         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
9326         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
9327         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
9328         gdb.mi/mi2-watch.exp: Update copyright years.
9329
9330 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
9331
9332         * gdb.base/sigaltstack.exp: Provide proper anchoring.
9333
9334 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
9335
9336         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
9337         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
9338         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
9339         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9340         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
9341         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
9342         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
9343         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9344         gdb.mi/mi-watch.exp: Update copyright years.
9345
9346 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
9347
9348         PR gdb/1738
9349         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
9350         from a breakpoint with a pending signal.
9351
9352 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
9353
9354         PR gdb/1736
9355         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
9356         * gdb.base/sigaltstack.exp (finish_test): Consume output until
9357         the prompt.
9358         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
9359
9360 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
9361
9362         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
9363
9364 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
9365
9366         PR gdb/1736
9367         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
9368         for i?86-*-linux*.
9369
9370 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
9371
9372         * gdb.arch/i386-prologue.exp: Compile without debug information.
9373
9374 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
9375
9376         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
9377         rather than asking gdb to search.
9378
9379 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
9380
9381         * gdb.base/gcore.c: Include <string.h>.
9382
9383 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
9384
9385         * gdb.base/gcore.c: Add copyright notice.
9386
9387 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
9388
9389         * gdb.base/freebpcmd.c: Include <stdio.h>.
9390         * gdb.base/long_long.c: Include <string.h>.
9391         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
9392         * gdb.base/siginfo.c: Include <string.h>.
9393         * gdb.base/sigstep.c: Include <string.h>.
9394
9395 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
9396
9397         * gdb.base/complex.c: Include <stdlib.h>.
9398
9399 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
9400
9401         * gdb.base/complex.c: Add copyright notice.
9402
9403 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
9404
9405         * gdb.base/charset.c: Include <stdlib.h>.
9406
9407 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
9408
9409         * gdb.base/auxv.c: Include <stdlib.h>.
9410
9411 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
9412
9413         * gdb.base/auxv.c: Add copyright notice.
9414
9415 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
9416
9417         * gdb.base/coremaker.c: Add copyright notice.
9418         * gdb.base/coremaker2.c: Add copyright notice.
9419
9420 2004-08-04  Andrew Cagney  <cagney@gnu.org>
9421
9422         * gdb.base/store.exp: Update copyright.
9423         (check_set, up_set, check_struct, up_struct): Add a prefix to test
9424         names, do not import gdb_prompt.
9425
9426 2004-08-01  Andrew Cagney  <cagney@gnu.org>
9427
9428         Fix PR testsuite/1729.
9429         * gdb.base/dump.exp: Add test name to callers of capture_value, do
9430         not use capture_value with value 4.
9431         (capture_value): Add optional test name parameter.
9432         (test_reload_saved_value, test_restore_saved_value): Use $msg as
9433         the prefix, pass to capture_value.
9434
9435 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
9436
9437         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
9438         * gdb.arch/i386-prologue.c (standard): New prototype and function.
9439         (main): Call new function.
9440
9441 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
9442
9443         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
9444
9445 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
9446
9447         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
9448
9449 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
9450
9451         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9452         Accept more values of vtbl pointer.  Remove some messages
9453         about "obsolete gcc or gdb".
9454
9455 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
9456
9457         * gdb.cp/classes.exp: Accept more varieties of ptype output.
9458
9459 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
9460
9461         * gdb.base/asm-source.exp: Properly convert target board
9462         debug flags from gcc format to binutils format.
9463
9464 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
9465
9466         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
9467         gdb1718".  PR backtrace/1718 partially fixed.
9468
9469 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
9470
9471         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
9472
9473 2004-07-26  Nick Clifton  <nickc@redhat.com>
9474
9475         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
9476         good default value for a specific architecture is available then
9477         set it to that value.  Otherwise default to the -gstabs switch.
9478         Remove the -g... switches from the asm-flags variable.  Allow the
9479         target board info to override the value if it wants to.  Pass the
9480         switch on the assembler command line.
9481
9482 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
9483
9484         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
9485         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
9486         (main): Call new function.
9487
9488 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
9489
9490         Test for PR exp/1715.
9491         * gdb.base/radix.exp: Refactor common procedures.  Make all
9492         test names unique.  Change XFAIL to KFAIL.
9493
9494 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
9495
9496         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
9497         * gdb.ada/gnat_ada.gin: ... to here.
9498         * configure.in: Use gnat_ada.gin.
9499         * configure: Regenerate.
9500
9501 2004-07-20  Andrew Cagney  <cagney@gnu.org>
9502
9503         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
9504         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
9505         XFAILs.  Clean up test messages and comments.  Check backtraces.
9506         Delete re-sync code.
9507
9508 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
9509
9510         Fix PR cli/740.
9511         * gdb.base/annota1.exp: Honor gdb,nosignals.
9512         * gdb.base/annota3.exp: Likewise.
9513
9514 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
9515
9516         * lib/java.exp: Update copyright notice.
9517
9518 2004-07-19  Andrew Cagney  <cagney@gnu.org>
9519
9520         * gdb.base/selftest.exp: Copy file from here ...
9521         * gdb.gdb/selftest.exp: ... to here.
9522
9523 2004-07-16  Andrew Cagney  <cagney@redhat.com>
9524
9525         * lib/insight-support.exp: Delete file.
9526         * lib/java.exp (java_init): Fix copyright.
9527
9528 2004-07-16  Andrew Cagney  <cagney@gnu.org>
9529
9530         * gdb.base/restore.c: Append "prologue" to comments marking the a
9531         function's prologue.
9532         * gdb.base/restore.exp: Update copyright, re-indent.
9533         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
9534         callerN" prefix where needed.  Update patterns that match a
9535         function's prologue.
9536
9537 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
9538
9539         * gdb.base/restore.c: Add copyright notice.
9540
9541 2004-07-16  Andrew Cagney  <cagney@gnu.org>
9542
9543         * gdb.base/logical.exp: Update copyright.
9544         (evaluate): New procedure.  Use to re-implement tests using
9545         several tables.
9546
9547 2004-07-14  Martin Hunt  <hunt@redhat.com>
9548
9549         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
9550         which fixes some problems where init.tcl was not found.
9551
9552 2004-07-13  Andrew Cagney  <cagney@gnu.org>
9553
9554         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
9555         (check_sizeof, check_valueof): Do not include the output in the
9556         test name.  Use gdb_test.
9557         (get_valueof): Use gdb_test_multiple.
9558
9559         * gdb.base/step-test.exp: Update copyright.  Use
9560         gdb_test_multiple.  Ensure that test names do not include
9561         architecture dependent output.
9562
9563         * gdb.gdb/observer.exp: Update copyright.
9564         (setup_test): Use gdb_test_multiple.
9565         (attach_first_observer, attach_second_observer)
9566         (attach_third_observer, detach_first_observer)
9567         (detach_second_observer, detach_third_observer)
9568         (reset_counters, check_counters): Make $message a prefix.
9569         (test_normal_stop_notifications): Add "args" parameter - a list of
9570         init functions to be called.  Make $message a prefix,
9571         (test_observer_normal_stop): Change the message prefixes so that
9572         they are unique, pass the attach / detach procedures to
9573         test_normal_stop_notifications.
9574
9575         * gdb.base/signull.exp (test_segv): Prefix all tests with
9576         "${name}".  Clean up test messages.
9577
9578         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
9579
9580         * gdb.base/ena-dis-br.exp: Update copyright.
9581         (break_at): New function.  Replace send_gdb with gdb_test,
9582         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
9583         ignore count, not stopped at bpt", with KFAIL.
9584
9585 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
9586
9587         * gdb.base/attach.exp: Remove cleanupfile handling.
9588
9589 2004-07-12  Andrew Cagney  <cagney@gnu.org>
9590
9591         * gdb.base/annota1.exp: Cleanup corefile test name.
9592         * gdb.base/annota3.exp: Ditto.
9593
9594 2004-07-12  Andrew Cagney  <cagney@gnu.org>
9595
9596         * gdb.base/signals.exp: Clean up copyright, re-indent.
9597
9598         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
9599         gdb_test and gdb_test_multiple.
9600
9601 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
9602
9603         * gdb.java/jmain.exp: Fix expected line number for main to
9604         break at.  Set XFAIL for break at main test since gcj does not
9605         provide line number info for first statement in main.
9606
9607 2004-07-08  Andrew Cagney  <cagney@gnu.org>
9608
9609         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
9610
9611         * gdb.base/sigbpt.exp: Make the common part of each test name a
9612         prefix instead of suffix.
9613
9614 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
9615
9616         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
9617         test from test_tbreak_creation_and_listing to
9618         test_file_list_exec_source_file
9619         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
9620         Changed name of test from test_tbreak_creation_and_listing to
9621         test_file_list_exec_source_file
9622
9623 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
9624
9625         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
9626         the jmisc() constructor instead of <init>.
9627         * gdb.java/jmisc1.exp: Ditto.
9628
9629 2004-07-07  Andrew Cagney  <cagney@gnu.org>
9630
9631         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
9632         corrupting the PC.
9633
9634 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
9635
9636         * gdb.cp/templates.exp: Accept whitespace change in demangler
9637         output.
9638
9639 2004-07-06  Andrew Cagney  <cagney@gnu.org>
9640
9641         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
9642
9643 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
9644
9645         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
9646         * lib/compiler.cc: Likewise.
9647
9648 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
9649
9650         * lib/compiler.cc: Work around string preprocessing problem
9651         with old hp c++ compiler.
9652         * lib/compiler.c: Likewise.
9653
9654 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
9655
9656         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
9657         directives to conditionalize symbol prefixing.
9658         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
9659         additional_flags handling.  Add underscore prefix for Cygwin.
9660         * gdb.arch/i386-unwind.c: Use preprocessor directives to
9661         conditionalize symbol prefixing.
9662         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
9663         additional_flags handling.  Add underscore prefix for Cygwin.
9664
9665 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
9666
9667         * gdb.base/bigcore.exp: Skip test on Cygwin.
9668
9669 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
9670
9671         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
9672         formats for "info register".  Use gdb_test_multiple.  Fix
9673         the "invalid register" test.
9674
9675 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
9676
9677         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
9678         PID for Cygwin.  Add Cygwin specific strings to check for in some
9679         tests.
9680         (do_attach_tests): Add a test for user interaction when attaching
9681         to a process with no matching symbol table already loaded.
9682
9683 2004-06-26  Andrew Cagney  <cagney@gnu.org>
9684
9685         Test PR java/1567 and PR java/1565.
9686         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
9687         * gdb.java/jmisc2.exp: Delete file.
9688
9689 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
9690
9691         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
9692
9693 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
9694
9695         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
9696         attach process.
9697
9698 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
9699
9700         * gdb.cp/pr-1553.exp: Remove.
9701
9702 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
9703
9704         * gdb.cp/pr-1553.cc: Remove.
9705         * gdb.cp/pr-1553.exp: Disable this test.
9706
9707 2004-06-20  Jim Blandy  <jimb@redhat.com>
9708
9709         Fix PR testsuite/1680.
9710         * gdb.arch/i386-sse.exp: Properly quote curly braces in
9711         regular expressions.
9712
9713 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
9714
9715         Fix PR testsuite/1679.
9716         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
9717         Issue an UNSUPPORTED result instead.
9718
9719 2004-06-18  Jim Blandy  <jimb@redhat.com>
9720
9721         * gdb.base/charset.exp: Only send a control-C if we see a new
9722         prompt and incomplete command.
9723
9724 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
9725
9726         * gdb.cp/pr-574.cc: Add copyright notice.
9727
9728 2004-06-17  Jim Blandy  <jimb@redhat.com>
9729
9730         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
9731         cases where the regexp has no groups; this grabs random text from
9732         the previous test suite, whatever that was.
9733
9734 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
9735
9736         * gdb.cp/printmethod.cc: Add copyright notice.
9737
9738 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
9739
9740         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
9741
9742 2004-06-16  Andrew Cagney  <cagney@gnu.org>
9743
9744         * gdb.base/signull.c: Update copyright.  Include <string.h>.
9745         (bowler): Replace data_pointer with data_read
9746         and data_write cases.  Add code_descriptor case.
9747         (zero, desc): New array and pointer.
9748         (data, code): Change to simple pointers.
9749         * gdb.base/signull.exp: Fix probe pattern matching a function
9750         descriptor SIGSEGV.  Replace data_pointer with data_read and
9751         data_write tests.
9752
9753 2004-06-16  Andrew Cagney  <cagney@gnu.org>
9754
9755         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
9756
9757 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
9758
9759         * gdb.base/long_long.c: Add copyright notice.
9760
9761 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
9762
9763         * gdb.base/long_long.exp: Remove reference to
9764         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
9765         to gdb_breakpoint and gdb_continue_to_breakpoint.
9766
9767 2004-06-14  Jim Blandy  <jimb@redhat.com>
9768
9769         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
9770         endian case.
9771
9772 2004-06-14  Andrew Cagney  <cagney@gnu.org>
9773
9774         * gdb.base/gcore.exp (capture_command_output): Delete the always
9775         passing tests containing inferior values.
9776         * gdb.base/ending-run.exp: Do not include the breakpoint address
9777         in the test message.  Update copyright.
9778         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
9779         size in the test name, use gdb_test_multiple.  Update copyright.
9780
9781 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
9782
9783         * gdb.cp/ref-types.cc: Add copyright notice.
9784
9785 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
9786
9787         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
9788         hp_aCC_compiler.
9789         * lib/compiler.cc: Likewise.
9790         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
9791         'set' commands.  Log diagnostics for other lines.  Set
9792         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
9793
9794 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
9795
9796         * gdb.cp/try_catch.cc: Add copyright notice.
9797
9798 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
9799
9800         * gdb.cp/userdef.cc: Add copyright notice.
9801
9802 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
9803
9804         * gdb.cp/virtfunc.cc: Add copyright notice.
9805
9806 2004-06-11  Randolph Chung  <tausq@debian.org>
9807
9808         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
9809         problem.
9810
9811 2004-06-10  Andrew Cagney  <cagney@gnu.org>
9812
9813         * lib/compiler.cc, lib/compiler.c: Append either
9814         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
9815         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
9816         instead of gcc-3-3.
9817
9818 2004-06-09  Andrew Cagney  <cagney@gnu.org>
9819
9820         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
9821         gdb/1455, bug is specific to "long long" and "double".
9822
9823         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
9824         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
9825         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
9826         fixed.
9827
9828 2004-06-09  Andrew Cagney  <cagney@gnu.org>
9829
9830         * gdb.base/structs.exp (test_struct_returns): Replace
9831         "return_value_unknown" and "finish_value_unknown" by
9832         "return_value_known" and "finish_value_known".  Instead of
9833         "return_value_unknown" iff "finish_value_unknown", check
9834         "return_value_known" implies "finish_value_known".
9835
9836 2004-06-08  Martin Hunt  <hunt@redhat.com>
9837
9838         * gdb.base/float.exp: Add pattern for mips targets.
9839
9840 2004-06-08  Randolph Chung  <tausq@debian.org>
9841
9842         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
9843         message for unknown architectures more clear.
9844
9845 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
9846
9847         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
9848         start the execution of the program.
9849
9850 2004-06-07  Jim Blandy  <jimb@redhat.com>
9851
9852         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
9853         * gdb.arch/i386-cpuid.h: New helper file.
9854
9855 2004-06-07  Randolph Chung  <tausq@debian.org>
9856
9857         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
9858         has started.
9859
9860 2004-06-04  Roland McGrath  <roland@redhat.com>
9861
9862         Fix PR gdb/1647.
9863         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
9864         differently to be robust to output buffering differences.
9865
9866 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
9867
9868         * gdb.threads/pthreads.exp: Update copyright years.
9869         (check_control_c): Change asynchronous 'after' to synchronous.
9870
9871 2004-06-04  Roland McGrath  <roland@redhat.com>
9872
9873         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
9874         next gdb prompt.
9875
9876 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
9877
9878         Fix PR gdb/1636.
9879         * gdb.threads/manythreads.exp: Change asynchronous 'after'
9880         calls to synchronous.
9881
9882 2004-05-26  Jim Blandy  <jimb@redhat.com>
9883
9884         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
9885
9886 2004-05-24  Randolph Chung  <tausq@debian.org>
9887
9888         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
9889         * gdb.asm/pa.inc: New file.
9890
9891 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
9892
9893         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
9894
9895 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
9896             Daniel Jacobowitz  <drow@mvista.com>
9897
9898         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
9899         GDB prompt.
9900
9901 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9902
9903         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
9904         setjmp/longjmp.  Use sigaction instead of signal.
9905
9906 2004-05-19  J. Brobecker  <brobecker@gnat.com>
9907             Michael Snyder  <msnyder@redhat.com>
9908
9909         * gdb.threads/pthread_cond_wait.c: New file.
9910         * gdb.threads/pthread_cond_wait.exp: New testcase.
9911
9912 2004-05-13  Andrew Cagney  <cagney@redhat.com>
9913
9914         * gdb.base/signull.exp, gdb.base/signull.c: New files.
9915         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
9916
9917 2004-05-11  Andrew Cagney  <cagney@redhat.com>
9918
9919         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
9920         fixed but revealed gdb/1639.
9921
9922 2004-05-10  Andrew Cagney  <cagney@redhat.com>
9923
9924         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
9925         func1" and "next to 2nd alarm", kernel bug avoided.
9926
9927 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
9928
9929         PR external/1568
9930         * gdb.base/bigcore.exp: Check the size of the dumped core file.
9931         XFAIL if it is smaller than bytes_allocated.
9932         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
9933         (main): Make chunks_allocated unsigned.  Correct comment.
9934
9935 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
9936
9937         * gdb.arch/powerpc-aix-prologue.c: New file.
9938         * gdb.arch/powerpc-aix-prologue.exp: New file.
9939
9940 2004-05-07  Jim Blandy  <jimb@redhat.com>
9941
9942         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
9943         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
9944
9945 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
9946
9947         * gdb.base/sep.exp: No longer setup_kfail when the program was
9948         built with dwarf2.
9949
9950 2004-05-05  Jim Ingham  <jingham@apple.com>
9951
9952         * gdb.base/pending.exp: Make sure pending breakpoints
9953         preserve the ignore count.
9954
9955 2004-04-27  Jerome Guitton  <guitton@gnat.com>
9956
9957         * i386-prologue.exp: Add testcase for jump instruction as first
9958         instruction of the real code.
9959         * i386-prologue.c (jump_at_beginning): New function.
9960
9961 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
9962
9963         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
9964         x86_64-*-*.
9965
9966 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
9967
9968         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
9969         i*86-*-*.
9970
9971 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
9972
9973         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
9974         expression that checks the return type.
9975
9976 2004-04-23  Andrew Cagney  <cagney@redhat.com>
9977
9978         * gdb.base/call-sc.exp: New test of scalar call/return values.
9979         * gdb.base/call-sc.c: Ditto.
9980
9981 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9982
9983         * gdb.threads/manythreads.c: Reduce thread stack size.
9984
9985 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
9986
9987         * gdb.threads/manythreads.c: Add copyright notice.
9988
9989 2004-04-23  Andrew Cagney  <cagney@redhat.com>
9990
9991         * gdb.base/siginfo.exp: Better handle step out of signal.
9992         * gdb.base/sigstep.exp: Ditto.
9993
9994 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
9995             Daniel Jacobowitz  <drow@mvista.com>
9996
9997         * gdb.threads/manythreads.c: New testcase.
9998         * gdb.threads/manythreads.exp: Ditto.
9999
10000 2004-04-22  Jim Blandy  <jimb@redhat.com>
10001
10002         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
10003         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
10004
10005 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
10006
10007         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
10008
10009 2004-04-21  Andrew Cagney  <cagney@redhat.com>
10010
10011         * gdb.base/sigstep.c: New file.
10012         * gdb.base/sigstep.exp: New file.
10013
10014 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
10015
10016         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
10017         call to observer_notify_normal_stop.
10018
10019 2004-04-15  Andrew Cagney  <cagney@redhat.com>
10020
10021         * gdb.base/siginfo.c: New file.
10022         * gdb.base/siginfo.exp: New file.
10023
10024 2004-04-12  J. Brobecker  <brobecker@gnat.com>
10025
10026         * gdb.base/sep.exp: Fix typo in comment.
10027
10028 2004-04-12  J. Brobecker  <brobecker@gnat.com>
10029
10030         * gdb.base/sep.c: New file.
10031         * gdb.base/sep-proc.c: New file.
10032         * gdb.base/sep.exp: New testcase.
10033
10034 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
10035
10036         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
10037         support.
10038
10039 2004-04-05  Andrew Cagney  <cagney@redhat.com>
10040
10041         * gdb.base/sigaltstack.c: New file.
10042         * gdb.base/sigaltstack.exp: New file.
10043
10044 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
10045
10046         * gdb.base/foll-fork.exp: Update the expected output for
10047         "help set follow-fork-mode", to match a change that was made
10048         to the help of this variable on 2004-01-13.
10049
10050 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
10051
10052         * lib/ada.exp: Add copyright notice.
10053         * bar.ads: Likewise.
10054         * bar.adb: Likewise.
10055         * null_record.adb: Likewise.
10056         * null_record.exp: Likewise.
10057         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
10058
10059 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
10060
10061         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
10062         * configure: Regenerate.
10063
10064 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
10065
10066         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
10067         to build the application. Remove the message printed when in
10068         verbose mode, redundant with the UNSUPPORTED message above.
10069
10070 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
10071
10072         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
10073         * gdb.ada (null_record.exp): New testcase.
10074
10075 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
10076
10077         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
10078
10079 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
10080
10081         * gdb.ada: New subdirectory.
10082         * gdb.ada/Makefile.in: New file.
10083         * gdb.ada/gnat_ada.gpr.in: New file.
10084
10085 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
10086
10087         * lib/ada.exp: New file.
10088
10089 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
10090
10091         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
10092         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
10093
10094 2004-03-22  Andrew Cagney  <cagney@redhat.com>
10095
10096         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
10097         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
10098         Problem identified by Ulrich Weigand.
10099
10100 2004-03-17  David Carlton  <carlton@kealia.com>
10101
10102         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
10103         PR c++/826.
10104
10105 2004-03-16  Roland McGrath  <roland@redhat.com>
10106
10107         * gdb.base/auxv.exp: New file.
10108         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
10109
10110 2004-03-12  David Carlton  <carlton@kealia.com>
10111
10112         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
10113         * gdb.cp/pr-1553.cc: Ditto.
10114         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
10115         pass branch.
10116
10117 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
10118
10119         * gdb.cp/templates.exp: Accept more template types.
10120
10121 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
10122
10123         From Corinna Vinschen with modifications.
10124         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
10125         local variable obj_with_enum.
10126         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
10127         results with obj_with_enum.
10128
10129 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
10130
10131         * gdb.cp/classes.cc: New file, copied from misc.cc.
10132         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
10133
10134 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
10135
10136         * gdb.cp/misc.cc: Add copyright notice.
10137
10138 2004-03-05  David Carlton  <carlton@kealia.com>
10139
10140         * gdb.cp/rtti.exp: Add 'print *obj3' test.
10141         * gdb.cp/rtti.h: Update copyright.
10142         (namespace n2::n3): New.
10143         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
10144         (n2::n3::func3): New.
10145         (main): Call n2::n3::func3.
10146         * gdb.cp/rtti2.cc: Update copyright.
10147         (n2::create3): New.
10148
10149 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
10150
10151         * gdb.asm/openbsd.inc: Fix typo.
10152
10153 2004-03-03  Fred Fish  <fnf@redhat.com>
10154
10155         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
10156         "val" instead of unused "size".  Update copyright year.
10157
10158 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
10159
10160         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
10161         to use unsigned char.
10162         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
10163         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
10164
10165 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
10166
10167         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
10168         line of output.
10169
10170 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
10171
10172         * gdb.base/relocate.c (dummy): Initialize.
10173
10174 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
10175
10176         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
10177         a breakpoint at exit.
10178
10179 2004-02-27  Fred Fish  <fnf@redhat.com>
10180
10181         * gdb.base/chng-syms.exp: Add expect condition to match failing
10182         case that isn't a timeout.
10183
10184 2004-02-27  Andrew Cagney  <cagney@redhat.com>
10185
10186         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
10187         support.
10188
10189 2004-02-26  Fred Fish  <fnf@redhat.com>
10190
10191         * gdb.arch/gdb1431.c: Remove.
10192         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
10193         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
10194         of "until" incorrectly.
10195
10196 2004-02-26  J. Brobecker  <brobecker@gnat.com>
10197
10198         * gdb.cp/class2.cc (empty): New class.
10199         (refer): New function.
10200         (main): Declare an object of type empty and use it.
10201         * gdb.cp/class2.exp: Print the value of an object of type empty.
10202
10203 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
10204
10205         * gdb.base/langs.exp: Update query string to match the
10206         new nquery format used for pending breakpoints.
10207
10208 2004-02-26  Andrew Cagney  <cagney@redhat.com>
10209
10210         Fix PR i18n/1570.
10211         * gdb.base/charset.c: Update copyright notice.
10212         (main, init_string): Remove the escape character '\e' tests.
10213         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
10214         * gdb.base/charset.exp (valid_host_charset): Ditto.
10215         * gdb.base/setvar.exp: Ditto.
10216
10217 2004-02-24  Andrew Cagney  <cagney@redhat.com>
10218
10219         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
10220         mmapped data in core file" PASS and FAIL messages consistent.
10221
10222         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
10223         setting a breakpoint.  Work around PR java/1565.
10224
10225 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
10226
10227         * lib/gdb.exp (gdb_breakpoint): Update query string to match
10228         new nquery format.
10229         * gdb.base/pending.exp: Ditto.
10230
10231 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
10232
10233         * configure.in: Run stabs tests on *BSD.
10234         * configure: Regenerated.
10235
10236 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
10237
10238         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
10239
10240 2004-02-20  Fred Fish  <fnf@redhat.com>
10241
10242         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
10243         blank in test for "returns short", for consistency with other
10244         "returns xxx" tests.  Update copyright year.
10245
10246 2004-02-19  Fred Fish  <fnf@redhat.com>
10247
10248         New testcase for PR breakpoint/1558.
10249         * gdb.arch/gdb1558.exp: New file.
10250         * gdb.arch/gdb1558.c: New file.
10251
10252 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
10253
10254         * gdb.base/nodebug.exp: Fix typo.
10255
10256 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10257
10258         Committed by Jim Blandy  <jimb@redhat.com>.
10259
10260         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
10261
10262         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
10263
10264         * gdb.base/float.exp: Support s390*-*-* targets.
10265
10266 2004-02-17  Adam Fedor  <fedor@gnu.org>
10267
10268         * gdb.base/gdb1555.exp: New file.
10269         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
10270
10271 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
10272
10273         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
10274
10275 2004-02-16  Fred Fish  <fnf@redhat.com>
10276
10277         * gdb.arch/gdb1291.c: Remove
10278         * gdb.arch/gdb1291.s: New test input file.
10279         * gdb.arch/gdb1291.exp: Expand test to check case that should not
10280         fail.  Test for correct result, known incorrect result, other
10281         failures and timeouts.
10282
10283 2004-02-16  Andrew Cagney  <cagney@redhat.com>
10284
10285         * gdb.base/bigcore.exp: New file.
10286         * gdb.base/bigcore.c: New file.
10287
10288 2004-02-13  Andrew Cagney  <cagney@redhat.com>
10289
10290         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
10291         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
10292         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
10293         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
10294         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
10295         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
10296         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
10297         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
10298         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
10299         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
10300
10301 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
10302
10303         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
10304         executed is an alloc instruction.
10305
10306 2004-02-11  David Carlton  <carlton@kealia.com>
10307
10308         * gdb.cp/breakpoint.exp: New.
10309         * gdb.cp/breakpoint.cc: New.
10310
10311 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
10312
10313         Partial fix for PR gdb/1543.
10314         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
10315         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
10316         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
10317         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
10318         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
10319         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
10320         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
10321         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
10322         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
10323         to bug-gdb@prep.ai.mit.edu .
10324         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
10325         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
10326         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
10327         Likewise.
10328
10329 2004-02-10  Andrew Cagney  <cagney@redhat.com>
10330
10331         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
10332         using gdb_internal_error_resync.
10333
10334 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
10335
10336         * gdb.threads/thread-specific.exp: Stop early if no threads are
10337         found.
10338
10339 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
10340
10341         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
10342
10343 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
10344
10345         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
10346         breakpoints.
10347
10348 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
10349
10350         * config/sim.exp (gdb_load): Handle $arg == "".
10351         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
10352         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
10353
10354 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
10355
10356         * gdb.base/maint.exp: Update test to reflect
10357          obstack changes.
10358
10359 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
10360
10361         * gdb.base/pendshr.c (pendfunc): New function that calls
10362         pendfunc1.
10363         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
10364
10365 2004-02-04  Fred Fish  <fnf@redhat.com>
10366
10367         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
10368         function symbols and update copyright years.
10369         * gdb.arch/gdb1291.c: Ditto.
10370
10371 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
10372
10373         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
10374
10375 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
10376
10377         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
10378
10379 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
10380
10381         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
10382
10383 2004-02-02  Fred Fish  <fnf@redhat.com>
10384
10385         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
10386         remote targets.  Update copyright years.
10387
10388 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
10389
10390         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
10391         support.
10392         * gdb.base/langs.exp: Fix test which attempts to create
10393         breakpoint on non-existent function to handle new pending
10394         support.
10395         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
10396         a breakpoint.
10397         * gdb.base/pending.exp: New test.
10398         * gdb.base/pending.c: New file.
10399         * gdb.base/pendshr.c: Ditto.
10400
10401 2004-02-02  David Carlton  <carlton@kealia.com>
10402
10403         * gdb.cp/overload.exp: Add overloadNamespace tests.
10404         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
10405         (overloadNamespace, XXX): New.
10406         (main): Call XXX::marker2.
10407
10408 2004-02-01  Fred Fish  <fnf@redhat.com>
10409
10410         * gdb.base/dump.exp: Use runto_main instead of "runto main".
10411         * gdb.base/finish.exp: Ditto.
10412         * gdb.base/gcore.exp: Ditto.
10413         * gdb.base/huge.exp: Ditto.
10414         * gdb.base/info-proc.exp: Ditto.
10415         * gdb.base/return2.exp: Ditto.
10416         * gdb.threads/gcore-thread.exp: Ditto.
10417
10418 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
10419
10420         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
10421
10422 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
10423
10424         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
10425         that opening the file succeeds on OpenBSD.
10426
10427 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
10428
10429         * gdb.threads/thread-specific.c: New file.
10430         * gdb.threads/threads-specific.exp: New test script.
10431         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
10432         to expect_out.
10433
10434 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
10435
10436         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
10437         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
10438         only on the "print_small_structs from print_long_arg_list" test.
10439
10440 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
10441
10442         * gdb.base/completion.exp: Kill a stray backslash.
10443
10444         From Jim Ingham <jingham@apple.com>:
10445         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
10446         agrees with the result from sending a tab.
10447
10448 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
10449
10450         * gdb.base/chng-syms.exp: Remove stray newline.
10451
10452 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
10453
10454         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
10455         *-*-openbsd*.
10456         * gdb.asm/openbsd.inc: New file.
10457
10458 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
10459
10460         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
10461         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
10462         *-*solaris2*.  Remove commented out default settings for
10463         asm-flags.  Replace gdb_compile with target_link.
10464
10465 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
10466
10467         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
10468         for all tests.  Remove old hp-ux and cygnus xfail cases.
10469
10470 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
10471
10472         * gdb.base/chng-syms.exp: New file.
10473         * gdb.base/chng-syms.c: New file.
10474
10475 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
10476
10477         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
10478         Provide arms for current output in all my configurations.
10479
10480 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
10481
10482         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
10483         * lib/compiler.cc: Likewise.
10484         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
10485         get the right preprocessor.  Eval the output directly.  Remove
10486         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
10487         hp_f77_compiler and hp_f90_compiler completely.
10488         (gdb_preprocess): Delete.
10489         (get_compiler): Delete.
10490
10491 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
10492
10493         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
10494         <string.h>.
10495
10496 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
10497
10498         * gdb.mi/mi-stack.exp: Update copyright.
10499
10500 2004-01-23  David Carlton  <carlton@kealia.com>
10501
10502         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
10503         test for cp_lookup_transparent_type.
10504         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
10505         call them.
10506
10507 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
10508
10509         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
10510         after -var-update.
10511
10512 2004-01-23  David Carlton  <carlton@kealia.com>
10513
10514         * gdb.cp/namespace.cc (C::ensureRefs): New.
10515         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
10516
10517 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
10518
10519         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
10520         case "-stack-list-locals 2".
10521         * gdb.mi/mi-var-child.exp: Test for case
10522         "-var-list-children --all-values NAME".
10523
10524 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
10525
10526         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
10527
10528 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
10529
10530         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
10531         used with gdb_test_multiple.
10532
10533         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
10534         read at address 0.  This fixes PR testsuite/1504.
10535
10536 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
10537
10538         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
10539         Remove downloading, guessing the host executable, the calls to
10540         gdb_file_cmd and gdb_target_cmd, and "load" support.
10541         (infer_host_exec): New function broken out from gdb_load.
10542         (gdb_load): New wrapper for gdbserver_gdb_load.
10543         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
10544         gdb_target_cmd.  Use -target-select.
10545         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
10546         Download binaries to the host.  Clear last_mi_remote_file when
10547         we load a new binary.
10548         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
10549         call gdbserver_gdb_load and mi_gdb_target_cmd.
10550
10551 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
10552
10553         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
10554         type patterns.
10555
10556 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
10557
10558         * gdb.cp/templates.exp: Fix typo in test name of
10559         "print Foo<volatile char*>::foo".
10560
10561 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
10562
10563         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
10564
10565 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
10566
10567         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
10568         (clean mostlyclean): Remove empty rm.
10569
10570 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
10571
10572         * gdb.base/setvar.exp: Add copyright years.
10573
10574 2004-01-14  David Carlton  <carlton@bactrian.org>
10575
10576         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
10577         PR c++/1511 and update coment.
10578         * gdb.cp/templates.exp: Update patterns to match current output.
10579         If changes involve something other than whitespace, KFAIL
10580         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
10581
10582 2004-01-14  David Carlton  <carlton@kealia.com>
10583
10584         * gdb.cp/namespace.exp: Add tests involving classes defined within
10585         namespaces.
10586         * gdb.cp/namespace.cc (C::CClass): New.
10587         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
10588
10589 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
10590
10591         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
10592         what debug info we have. Print a better message if something goes
10593         wrong while producing the separate debug info file.
10594
10595 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
10596
10597         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
10598
10599 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
10600
10601         * gdb.base/callfuncs.c: Add copyright notice.
10602
10603 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
10604
10605         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
10606         inheritance.  PR gdb/1498, PR gcc/13539.
10607
10608 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
10609
10610          * gdb.threads/gcore-thread.exp: Prefix name of binary with
10611          test specific name.
10612          * gdb.mi/gdb669.exp: Ditto.
10613          * gdb.mi/mi-pthreads.exp: Ditto.
10614          * gdb.mi/mi1-pthreads.exp: Ditto.
10615          * gdb.mi/mi2-pthreads.exp: Ditto.
10616
10617 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
10618
10619         * gdb.cp/member-ptr.cc: Add copyright notice.
10620
10621 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
10622
10623         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
10624         some patterns for recent versions of gcc and hpacc.  Delete
10625         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
10626         Delete tests that access a NULL pointer-to-member-data.  This
10627         script is still disabled for gcc.
10628
10629 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
10630
10631         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
10632         escaped correctly.
10633
10634 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
10635
10636         * gdb.base/sepdebug.exp: New file.
10637         * gdb.base/sepdebug.c: New file.
10638         * lib/gdb.exp (separate_debug_filename): New procedure.
10639         (gdb_gnu_strip_debug): New procedure.
10640
10641 2004-01-12  Andrew Cagney  <cagney@redhat.com>
10642
10643         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
10644         * gdb.mi/ChangeLog-1999-2003: New file.
10645
10646 2004-01-12  Andrew Cagney  <cagney@redhat.com>
10647
10648         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
10649         "Renaming a directory to a non-empty directory returns ENOTEMPTY
10650         or EEXIST", treat EBUSY as an XFAIL.
10651
10652 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
10653
10654         * gdb.base/scope.exp: Remove obsolete setup_xfail for
10655         hp_cc_compiler.
10656
10657 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
10658
10659         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
10660         decorations.
10661
10662 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
10663
10664         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
10665         and "(aCC)" decorations.  Remove obsolete doco about old
10666         test results.
10667
10668 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
10669
10670         * gdb.cp/exception.exp: Fix typo in doco.
10671
10672 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
10673
10674         * gdb.base/gdb1476.exp: Fix typo.
10675
10676 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
10677
10678         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
10679         file.
10680
10681 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
10682
10683         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
10684         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
10685         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
10686         for recent version of gdb.  Delete second half, which was a copy
10687         of the first half with different build flags.  This test is
10688         still disabled because it is still not ready for production.
10689
10690 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
10691
10692         * gdb.cp/exception.cc: Add copyright notice.
10693         * gdb.cp/exception.exp: Add a notice that this file is broken
10694         because of line number changes caused by addition of copyright
10695         notice.
10696
10697 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
10698
10699         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
10700         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
10701
10702 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
10703
10704         * gdb.cp/classes.exp: Accept gnu abi 2.
10705         * gdb.cp/derivation.exp: Likewise.
10706         * gdb.cp/overload.exp: Likewise.
10707         * gdb.cp/virtfunc.exp: Likewise.
10708
10709 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
10710
10711         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
10712         semicolon after end of function.
10713
10714 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
10715
10716         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
10717         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
10718         boilerplate code for compiling and running the program under
10719         test.  Add some string method tests.
10720
10721 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
10722
10723         * gdb.cp/bs15503.cc: Add copyright notice.
10724         * gdb.cp/bs15503.exp: Adjust line number.
10725
10726 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
10727
10728         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
10729         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
10730
10731 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
10732
10733         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
10734         hp_cc_compiler.
10735
10736 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
10737
10738         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
10739         * gdb.cp/ctti.exp: Use the marker instead of "next".
10740         With gcc, run further before bailing.
10741
10742 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
10743
10744         * gdb.cp/cttiadd.cc: Add copyright notice.
10745         * gdb.cp/cttiadd1.cc: Likewise.
10746         * gdb.cp/cttiadd2.cc: Likewise.
10747         * gdb.cp/cttiadd3.cc: Likewise.
10748
10749 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
10750
10751         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
10752         Use gdb_test, gdb_test_multiple.  Use floating-point values that
10753         have exact representations in IEEE-ish formats.
10754
10755 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
10756
10757         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
10758         compilers.  Delete duplicate call to get_compiler_info.
10759         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
10760         * gdb.base/volatile.exp: Likewise.
10761
10762 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
10763
10764         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
10765         memory at address 0.
10766
10767 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
10768
10769         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
10770         to test for hp-ux assembler.  Fix copyright years.
10771
10772 2004-01-07  Andrew Cagney  <cagney@redhat.com>
10773
10774         * gdb.base/fileio.c (strerrno): Add "EBUSY".
10775
10776 2004-01-07  Andrew Cagney  <cagney@redhat.com>
10777
10778         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
10779         when creating the read-only file.  From analysis by Roland McGrath
10780         and Elena Zannoni.
10781
10782 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
10783
10784         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
10785
10786 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
10787
10788         * gdb.base/cvexpr.c: Be type-safe with function pointers and
10789         data pointers.
10790
10791 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
10792
10793         * gdb.cp/m-static.exp: Compile one source file at a time.
10794         Delete unused call to get_compiler_info.
10795
10796 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
10797
10798         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
10799         * gdb.base/call-rt-st.exp: Likewise.
10800         * gdb.base/nodebug.exp: Likewise.
10801         * gdb.base/volatile.exp: Likewise.
10802         * gdb.cp/ref-types.exp: Likewise.
10803         * gdb.cp/templates.exp: Likewise.
10804
10805 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
10806
10807         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
10808
10809 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
10810
10811         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
10812         hppa*-hp-hpux*.
10813
10814 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
10815
10816         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
10817         x86_64-*-*.
10818
10819         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
10820         sparc64-*-* and sparc*-solaris2*.
10821
10822 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
10823
10824         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
10825         return ${tests}" test.  The ${tests} already mentions the
10826         filename.
10827
10828 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
10829
10830         * gdb.cp/local.exp: Accept gcc abi 2.
10831
10832 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
10833
10834         * gdb.cp/templates.exp: Accept gcc abi 2.
10835
10836 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
10837
10838         * lib/compiler.cc: Remove supports_template_debugging.
10839         * gdb.cp/templates.exp: Do not test supports_template_debugging.
10840
10841 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
10842
10843         * gdb.cp/namespace.exp: Accept gcc abi 2.
10844
10845 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
10846
10847         * gdb.cp/method.exp: Accept gcc abi 2.
10848
10849 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
10850
10851         * gdb.cp/classes.exp: Generate identical results as old version.
10852         * gdb.cp/derivation.exp: Likewise.
10853         * gdb.cp/overload.exp: Likewise.
10854         * gdb.cp/virtfunc.exp: Likewise.
10855
10856 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
10857
10858         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
10859         mysterious bug with sourceware version of expect.
10860
10861 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
10862
10863         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
10864         current versions of gcc, including gcc abi 2.  Remove gratuitous
10865         restart of test program.  Use gdb_test_multiple and gdb_test for
10866         all tests.  Add patterns to xfail missing "const" in "const char *"
10867         and kfail PR gdb/1155.
10868
10869 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
10870
10871         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
10872         current versions of gcc, including gcc abi 2.  Remove gratuitous
10873         restart of test program.  Use gdb_test_multiple and gdb_test for
10874         all tests.  Add patterns to kfail PR gdb/1498.
10875
10876 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
10877
10878         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
10879         current versions of gcc, including gcc abi 2.  Use "breakpoint"
10880         and "continue" instead of restarting the target program.  Use
10881         gdb_test_multiple and gdb_test for all tests.
10882
10883 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
10884
10885         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
10886         for *-*-solaris2*.
10887
10888 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
10889
10890         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
10891         current versions of gcc, including gcc abi 2.  Use "breakpoint"
10892         and "continue" instead of restarting the target program several
10893         times.  Use gdb_test_multiple and gdb_test for all tests.
10894
10895 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
10896
10897         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
10898         source files.
10899
10900 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
10901
10902         * gdb.base/environ.exp: Handle compiling test case from multiple
10903         source files.
10904
10905 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
10906
10907         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
10908
10909 2003-12-17  Jim Blandy  <jimb@redhat.com>
10910
10911         * gdb.base/freebpcmd.c: Add copyright notice.
10912
10913         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
10914
10915 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
10916
10917         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
10918
10919 2003-12-13  Jim Blandy  <jimb@redhat.com>
10920
10921         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
10922
10923 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
10924
10925         * gdb.asm/frv.inc: New file.
10926         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
10927
10928 2003-12-09  Fred Fish  <fnf@redhat.com>
10929
10930         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
10931         functions to break1.c and leave prototypes behind.  Add more
10932         "set breakpoint NN here" comments.
10933         * gdb.base/break1.c: New file.
10934
10935         * gdb.base/break.exp: Handle compiling test case from multiple
10936         source files and change source file references as needed.
10937         * gdb.base/completion.exp: Ditto.
10938         * gdb.base/condbreak.exp: Ditto.
10939         * gdb.base/define.exp: Ditto.
10940         * gdb.base/ena-dis-br.exp: Ditto.
10941         * gdb.base/info-proc.exp: Ditto.
10942         * gdb.base/maint.exp: Ditto.
10943         * gdb.base/until.exp: Ditto.
10944
10945         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
10946         hardcoded line numbers.
10947         * gdb.base/define.exp: Ditto.
10948         * gdb.base/ena-dis-br.exp: Ditto.
10949         * gdb.base/maint.exp: Ditto.
10950         * gdb.base/until.exp: Ditto.
10951
10952         * gdb.base/completion.exp: Use "break1" for completion tests since
10953         "break" is no longer a unique prefix.
10954
10955 2003-12-06  Andrew Cagney  <cagney@redhat.com>
10956
10957         * gdb.base/structs.exp (test_struct_returns): When applicable, set
10958         "return_value_unimplemented".  When an unimplemented struct return
10959         architecture, report incorrect values as a KFAIL
10960
10961 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
10962
10963         * gdb.cp/rtti.exp: Accept new wording of warning from
10964         cp_lookup_rtti_type.
10965
10966 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
10967
10968         Partial fix for PR testsuite/1456.
10969         * gdb.base/scope.exp (test_at_main): Replace references to
10970         gcc_compiled with calls to test_compiler_info.
10971         (test_at_foo): Likewise.
10972         (test_at_bar): Likewise.
10973
10974 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
10975
10976         Partial fix for PR testsuite/1456.
10977         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
10978         to test_compiler_info.
10979
10980 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
10981
10982         * gdb.base/so-impl-ld.exp: Update copyright notice.
10983
10984 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
10985
10986         Partial fix for PR testsuite/1456.
10987         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
10988         to test_compiler_info.
10989
10990 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
10991
10992         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
10993         from current versions of gdb.  Clean up regular expressions.
10994         Delete redundant timeout case.
10995
10996 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
10997
10998         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
10999         from current versions of gdb.  Clean up regular expressions.
11000         Delete redundant timeout case.
11001
11002 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
11003
11004         Partial fix for PR testsuite/1456.
11005         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
11006         gcc_compiled with call to test_compiler_info.
11007
11008 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
11009
11010         Partial fix for PR testsuite/1456.
11011         * gdb.base/list.exp (test_list_function): Delete unused declaration
11012         of gcc_compiled.
11013
11014 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
11015
11016         Partial fix for PR testsuite/1456.
11017         * gdb.base/complex.exp: Replace reference to gcc_compiled with
11018         call to test_compiler_info.
11019
11020 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
11021
11022         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
11023         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
11024         it to create the appropriate note.inc.
11025         * gdb.asm/asmsrc1.s: Include "note.inc".
11026         * gdb.asm/netbsd.inc: New file.
11027         * gdb.asm/empty.inc: New file.
11028
11029 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
11030
11031         Partial fix for PR testsuite/1456.
11032         * gdb.base/constvars.exp: Replace references to gcc_compiled with
11033         calls to test_compiler_info.
11034
11035 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
11036
11037         Partial fix for PR testsuite/1456.
11038         * gdb.base/volatile.exp: Replace references to gcc_compiled with
11039         calls to test_compiler_info.
11040
11041 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
11042
11043         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
11044         pattern for the KFAILs.
11045
11046 2003-11-25  Adam Fedor  <fedor@gnu.org>
11047
11048         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
11049         * gdb.objc/objcdecode.m: New file.
11050
11051 2003-11-25  Adam Fedor  <fedor@gnu.org>
11052
11053         * gdb.objc/nondebug.exp: Test for PR objc/1236.
11054         * gdb.objc/nondebug.m: New file.
11055
11056 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
11057
11058         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
11059         NetBSD as it does on FreeBSD.  Modelled on a similar change by
11060         Mark Kettenis on 2003-05-30.
11061         (link-flags): Set to "--entry _start" regardless of target.
11062         Special linker flags are to be appended to $link-flags.
11063         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
11064
11065 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
11066
11067         * gdb.cp/method.exp: Accept output of new demangler.
11068
11069 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
11070
11071         * gdb/class2.exp: New file.
11072         * gdb/class2.cc: New file.
11073
11074 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
11075
11076         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
11077         of new demangler.
11078
11079 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
11080
11081         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
11082         of gdb_test "run".
11083
11084 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
11085
11086         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
11087         "continue" into "run".
11088
11089 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
11090
11091         Partial fix for PR testsuite/1456.
11092         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
11093         call to test_compiler_info.
11094         * gdb.cp/ctti.exp: Likewise.
11095         * gdb.cp/derivation.exp: Likewise.
11096         * gdb.cp/member-ptr.exp: Likewise.
11097         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
11098         reference to gcc_compiled.
11099
11100 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
11101
11102         Fix PR testsuite/1463.
11103         * gdb.base/structs.exp (start_structs_test): Call
11104         get_debug_format before using the debug format.
11105
11106 2003-11-22  Andrew Cagney  <cagney@redhat.com>
11107
11108         * lib/gdb.exp (gdb_test_multiple): Add simple example.
11109         * gdb.base/structs.exp: Use gdb_test_multiple.
11110
11111 2003-11-20  Andrew Cagney  <cagney@redhat.com>
11112
11113         * gdb.base/structs.exp: Handle and recover from internal errors.
11114         Replace "foo${n}" with "foo<n>" in test messages.
11115
11116         * gdb.base/structs.exp: Update copyright.  Rewrite.
11117         * gdb.base/structs.c: Update copyright.  Rewrite.
11118
11119         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
11120         resync count exceeded.
11121
11122         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
11123         from the internal error.
11124         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
11125         Original from Jim Blandy.
11126         (gdb_test_multiple): Use gdb_internal_error_resync.
11127
11128 2003-11-19  Andrew Cagney  <cagney@redhat.com>
11129
11130         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
11131         KFAIL.
11132
11133 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
11134
11135         New testcase for PR backtrace/1435.
11136         * gdb.arch/i386-unwind.exp: New file.
11137         * gdb.arch/i386-unwind.c: New file.
11138
11139 2003-11-17  Andrew Cagney  <cagney@redhat.com>
11140
11141         * lib/gdb.exp (compiler_info): New global.
11142         (test_compiler_info): New function.
11143         (get_compiler_info): Set compiler_info.
11144         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
11145         "compiler_info" to gcc-<major>-<minor>.
11146
11147 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
11148
11149         * gdb.trace/configure: Remove.
11150
11151 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
11152
11153         * gdb.base/break.c: Add comments to aid finding line numbers for
11154         breakpoints.
11155         * gdb.base/break.exp: Remove all references to explicit line
11156         numbers.
11157
11158 2003-11-11  Nick Clifton  <nickc@redhat.com>
11159
11160         * gdb.base/shreloc.exp: Do not run for targets which do not
11161         support shared objects.
11162
11163 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
11164
11165         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
11166         Don't run tests if nofileio flag is given.
11167
11168 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
11169
11170         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
11171         as well as 'Watchpoint'.
11172
11173 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
11174
11175         Reported by Jim Ingham <jingham@apple.com>:
11176         * gdb.base/annota1.exp: Match at least one occurrence of the
11177         signal handler annotation.
11178
11179 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
11180
11181         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
11182         as well as 'Watchpoint'.
11183
11184 2003-11-05  Michael Chastain  <mec@shout.net>
11185
11186         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
11187
11188 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
11189
11190         * gdb.arch/gdb1291.c: New test file.
11191         * gdb.arch/gdb1291.exp: New test script.
11192         * gdb.arch/gdb1431.c: New test file.
11193         * gdb.arch/gdb1431.exp: New test script.
11194
11195 2003-10-22  Michael Chastain  <mec@shout.net>
11196
11197         * gdb.mi/pthreads.c: Add copyright notice.
11198
11199 2003-10-22  Michael Chastain  <mec@shout.net>
11200
11201         * gdb.threads/pthreads.c: Add copyright notice.
11202
11203 2003-10-20  Michael Chastain  <mec@shout.net>
11204
11205         * gdb.base/gdb1056.exp: New test script.
11206
11207 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
11208
11209         * gdb.threads/killed.exp: Use gdb_run_cmd.
11210
11211 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
11212
11213         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
11214         create a core file.
11215         * gdb.threads/gcore-thread.exp: Likewise.
11216
11217 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
11218
11219         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
11220         type, based on char type.
11221         (struct bit_flags_short_t): New bitfield type, based on short type.
11222         (init_bit_flags_char): New fuction.
11223         (init_bit_flags_short): Ditto.
11224         (print_bit_flags_char): Ditto.
11225         (print_bit_flags_short): Ditto.
11226         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
11227
11228 2003-10-11  Michael Chastain  <mec@shout.net>
11229
11230         * gdb.base/call-rt-st.exp: Update copyright year.
11231
11232 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
11233
11234         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
11235         * gdb.disasm/sh3.s: Ditto.
11236
11237 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
11238
11239         * gdb.threads/switch-threads.exp: New test.
11240         * gdb.threads/switch-threads.c: New source file.
11241
11242 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
11243
11244         * gdb.base/ending-run.exp: Add sh specific case.
11245
11246 2003-10-06  Andrew Cagney  <cagney@redhat.com>
11247
11248         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
11249         * gdb.disasm/mn10200.exp: Delete obsolete file.
11250
11251 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
11252
11253         * ChangeLog: Correct an entry command.exp -> commands.exp.
11254         * gdb.base/commands.exp (bp_deleted_in_command_test)
11255         (temporary_breakpoint_commands): Check noargs.
11256
11257 2003-09-25  David Carlton  <carlton@kealia.com>
11258
11259         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
11260         of some print tests, where appropriate.  Add tests for C::D::cd,
11261         E::ce, F::cXfX, G::XgX.
11262         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
11263
11264 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
11265
11266         * lib/java.exp (java_init): Import target_alias before using it.
11267
11268 2003-09-25  David Carlton  <carlton@kealia.com>
11269
11270         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
11271
11272 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
11273
11274         * gdb.base/selftest.exp: Accomodate more instruction reordering
11275         weirdness.
11276
11277 2003-09-17  Michael Chastain  <mec@shout.net>
11278
11279         * gdb.cp/gdb1355.exp: New file.
11280         * gdb.cp/gdb1355.c: New file.
11281
11282 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
11283
11284         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
11285         * gdb.asm/sh.inc: New file.
11286
11287 2003-09-11  David Carlton  <carlton@kealia.com>
11288
11289         * gdb.cp/namespace.exp: Add tests for namespace types.
11290         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
11291         (test_namespace): New.
11292
11293 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
11294
11295         * gdb.base/relocate.exp: Handle new gdb output at startup.
11296         * gdb.stabs/weird.exp: Ditto.
11297
11298 2003-09-08  Michael Chastain  <mec@shout.net>
11299
11300         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
11301
11302 2003-09-07  Michael Chastain  <mec@shout.net>
11303
11304         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
11305         'parse error'.
11306
11307 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
11308
11309         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
11310
11311 2003-08-30  Michael Chastain  <mec@shout.net>
11312
11313         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
11314         * gdb.gdb/observer.exp: Ditto.
11315         * gdb.gdb/xfullpath.exp: Ditto.
11316
11317 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
11318
11319         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
11320         *-*-*bsd*.
11321
11322 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
11323
11324         * gdb.base/dump.exp: Skip for ia64.
11325
11326 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
11327
11328         * gdb.asm/asm-source.exp: Add ia64 support.
11329         * gdb.asm/ia64.inc: New file.
11330
11331 2003-08-22  Michael Chastain  <mec@shout.net>
11332
11333         * gdb.cp: New directory.
11334         * gdb.cp/*: Copy from gdb.c++/*.
11335         * gdb.c++/*: Remove.
11336         * Makefile.in: Change gdb.c++ to gdb.cp.
11337         * configure.in:  Ditto.
11338         * configure: Regnerate.
11339
11340 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
11341
11342         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
11343         * gdb.arch/i386-prologue.c (gdb1338): Add function.
11344
11345 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
11346
11347         * mi-var-display.exp (-var-list-children weird): Accept function
11348         pointers with argument types.
11349         * mi1-var-display.exp (-var-list-children weird): Likewise.
11350         * mi2-var-display.exp (-var-list-children weird): Likewise.
11351
11352 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
11353
11354         * gdb.base/annota3.exp: Add missing newline.
11355
11356 2003-08-06  Michael Chastain  <mec@shout.net>
11357
11358         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
11359
11360 2003-08-12  Michael Snyder  <msnyder@redhat.com>
11361
11362         * gdb.base/float.exp: Add test for SH.
11363
11364 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
11365
11366         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
11367
11368 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
11369
11370        * gdb.base/completion.exp: Remove reduntant completion test
11371        on filename.
11372
11373 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
11374
11375         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
11376         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
11377         gdb.trace/save-trace.exp: Make sure that full pathnames are
11378         escaped correctly.
11379
11380 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
11381
11382         * configure.in: Don't generate config.h from config.hin.
11383         * configure: Regenerate.
11384         * config.hin: Remove file.
11385         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
11386         * gdb.threads/pthreads.c: Ditto.
11387
11388 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
11389
11390         From Kei Sakamoto <sakamoto.kei@renesas.com>:
11391         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
11392         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
11393         Replace ld24 with seth/add3.
11394
11395 2003-08-02  Andrew Cagney  <cagney@redhat.com>
11396
11397         * gdb.base/annota3.exp: New file.
11398         * gdb.base/annota3.c: New file.
11399         * gdb.c++/annota3.exp: New file.
11400         * gdb.c++/annota3.cc: New file.
11401
11402 2003-07-29  Michael Chastain  <mec@shout.net>
11403
11404         * gdb.threads/tls.c (spin): Check errno only if sem_wait
11405         actually failed.
11406         (do_pass): Likewise.
11407         * gdb.threads/tls.exp: Always initialize no_of_threads.
11408
11409 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
11410
11411         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
11412         pattern.
11413         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
11414         * gdb.threads/tls.exp: Recognize one case of the host library not
11415         supporting TLS.
11416
11417 2003-07-27  Andrew Cagney  <cagney@redhat.com>
11418
11419         * gdb.base/fileio.exp: Use SH when running commands using
11420         remote_exec.
11421
11422 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
11423
11424         From Kei Sakamoto <sakamoto.kei@renesas.com>:
11425         * gdb.base/relocate.c (dummy): New padding array.
11426
11427 2003-07-22  Michael Snyder  <msnyder@redhat.com>
11428
11429         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
11430
11431         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
11432         patterns to be more general, accepting old and new output.
11433         Some output chars (such as '+') also must be quoted.
11434         Some addresses are displayed numerically instead of
11435         symbolically.
11436
11437 2003-07-23  Michael Snyder  <msnyder@redhat.com>
11438
11439         * gdb.base/return2.exp: Don't test long-long return.
11440
11441         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
11442         * gdb.disasm/t01_mov.exp: Ditto.
11443         * gdb.disasm/t02_mova.s: Ditto.
11444         * gdb.disasm/t02_mova.exp: Ditto.
11445         * gdb.disasm/t03_add.s: Ditto.
11446         * gdb.disasm/t03_add.exp: Ditto.
11447         * gdb.disasm/t04_sub.s: Ditto.
11448         * gdb.disasm/t04_sub.exp: Ditto.
11449         * gdb.disasm/t05_cmp.s: Ditto.
11450         * gdb.disasm/t05_cmp.exp: Ditto.
11451         * gdb.disasm/t06_ari2.s: Ditto.
11452         * gdb.disasm/t06_ari2.exp: Ditto.
11453         * gdb.disasm/t07_ari3.s: Ditto.
11454         * gdb.disasm/t07_ari3.exp: Ditto.
11455         * gdb.disasm/t08_or.s: Ditto.
11456         * gdb.disasm/t08_or.exp: Ditto.
11457         * gdb.disasm/t09_xor.s: Ditto.
11458         * gdb.disasm/t09_xor.exp: Ditto.
11459         * gdb.disasm/t10_and.s: Ditto.
11460         * gdb.disasm/t10_and.exp: Ditto.
11461         * gdb.disasm/t11_logs.s: Ditto.
11462         * gdb.disasm/t11_logs.exp: Ditto.
11463         * gdb.disasm/t12_bit.s: Ditto.
11464         * gdb.disasm/t12_bit.exp: Ditto.
11465         * gdb.disasm/t13_otr.s: Ditto.
11466         * gdb.disasm/t13_otr.exp: Ditto.
11467
11468 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
11469
11470         * gdb.threads/tls.exp :Add kfail for 'info address' case.
11471
11472 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
11473
11474         * gdb.threads/tls.c : New file.
11475         * gdb.threads/tls.exp : New file.
11476         * gdb.threads/tls-main.c : New file.
11477         * gdb.threads/tls-shared.c : New file.
11478         * gdb.threads/tls-shared.exp : New file.
11479
11480 2003-07-22  Andreas Schwab  <schwab@suse.de>
11481
11482         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
11483
11484 2003-07-20  Andreas Schwab  <schwab@suse.de>
11485
11486         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
11487         due to insn reordering.
11488
11489 2003-07-15  Andrew Cagney  <cagney@redhat.com>
11490
11491         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
11492
11493 2003-07-15  Michael Chastain  <mec@shout.net>
11494
11495         * gdb.base/gdb1250.exp: New file.
11496         * gdb.base/gdb1250.c: New file.
11497
11498 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
11499
11500         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
11501         expansion of size_t to 'unsigned long', not only to 'unsigned'.
11502
11503 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
11504
11505         * gdb.threads/tls.c: New file.
11506         * gdb.threads/tls.exp: New file.
11507         * gdb.threads/tls-main.c: New file.
11508         * gdb.threads/tls-shared.c: New file.
11509         * gdb.threads/tls-shared.exp: New file.
11510
11511 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
11512
11513         * gdb.base/annota1.exp: Make sure that we properly escape the
11514         full path of the source file. Xfail more permissive patterns,
11515         due to a compiler debug info problem.
11516
11517 2003-07-07  Andreas Schwab  <schwab@suse.de>
11518
11519         * gdb.asm/m68k.inc: New file.
11520         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
11521
11522         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
11523         arguments"): Also match negative number.
11524
11525         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
11526
11527 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
11528
11529         * gdb.base/store.c (charest): New typedef.
11530         (add_char): Rename to add_charest, update.
11531         (wack_char): Rename to wack_charest, update types.  Return l + r
11532         to keep r live across the call.
11533         (wack_short, wack_int, wack_long, wack_longest, wack_float)
11534         (wack_double, wack_doublest): Return l + r to keep r live across
11535         the call.
11536         * gdb.base/store.exp: Accomodate store.c changes.
11537
11538 2003-06-30  David Carlton  <carlton@kealia.com>
11539
11540         * gdb.c++/maint.exp (test_invalid_name): New.
11541         (test_first_component): Add tests for invalid names.
11542
11543 2003-06-29  Michael Chastain  <mec@shout.net>
11544
11545         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
11546         output of '<VTT for class>' for virtual base classes.
11547
11548 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
11549
11550         * gdb.base/completion.exp: Tab-complete "complet" instead of
11551         "compl".
11552         * gdb.base/complex.exp, gdb.base/complex.c: New files.
11553
11554 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
11555
11556         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
11557         * gdb.base/volatile.exp: Likewise.
11558
11559 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
11560
11561         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
11562         gdb/1265.
11563
11564 2003-06-28  Michael Chastain  <mec@shout.net>
11565             Daniel Jacobowitz  <drow@mvista.com>
11566
11567         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
11568         initial line count of 'captured_main' from 26 to 32.
11569         (test_with_self): Allow xmalloc call to be interleaved with the
11570         preceding two lines.
11571
11572 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
11573
11574         * gdb.base/bang.exp: New testcase.
11575
11576 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
11577
11578         * gdb.base/langs.exp: Add some tests for the "minimal" language
11579         support.
11580
11581 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
11582
11583         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
11584         the testcase.
11585
11586 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
11587
11588         * gdb.base/relocate.exp: Test add-symbol-file with a variable
11589         offset.
11590
11591 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
11592
11593         * gdb.c++/pr-1210.cc: New file.
11594         * gdb.c++/pr-1210.exp: New file.
11595
11596 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
11597
11598         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
11599         000-exec-continue.
11600
11601 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
11602
11603         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
11604         on *-*-*bsd* instead of *-*-freebsd*.
11605
11606 2003-06-14  Andrew Cagney  <cagney@redhat.com>
11607
11608         * gdb.base/store.exp: Test longest and doublest.  Test all
11609         parameters.  Weaken return statement match.
11610         * gdb.base/store.c: Add longest and doublest - aka long long and
11611         long double functions.  Put all parameters into local register
11612         variables.  Use negative values.
11613
11614 2003-06-14  Andrew Cagney  <cagney@redhat.com>
11615
11616         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
11617         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
11618         exit status.
11619         * gdb.base/fileio.exp: Disable target when nointerrupts and
11620         noinferiorio, instead of limiting it to remote.  Use remote_exec
11621         instead of system.
11622
11623 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
11624
11625         * gdb.base/float.exp: Add ia64 support.
11626
11627 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
11628
11629         * gdb.base/fileio.exp: Run only on remote targets.
11630
11631 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
11632
11633         * gdb.base/fileio.c: New file, testing File-I/O.
11634         * gdb.base/fileio.exp: Ditto.
11635
11636 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
11637
11638         * gdb.base/shreloc.exp: New file, check symbol values obtained from
11639         shared objects after relocation at load time (gdb PR/1132).
11640         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
11641         as above, part of the shared object relocation test.
11642
11643 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
11644
11645         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
11646         fully filled history list.
11647         * gdb.base/gdb_history: New file.
11648
11649         * gdb.base/signals.exp: XFAIL "continue to func1" on
11650         i*86-*-freebsd*.
11651
11652         * gdb.base/attach.exp: When trying to attach to a nonexistent
11653         process, make it possible to specify the PID based on the target,
11654         and do so for *-*-freebsd*.
11655
11656 2003-06-02  Richard Henderson  <rth@redhat.com>
11657
11658         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
11659
11660 2003-06-02  Richard Henderson  <rth@redhat.com>
11661
11662         * gdb.base/selftest.exp: Next over lim_at_start initialization.
11663
11664 2003-06-02  Richard Henderson  <rth@redhat.com>
11665
11666         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
11667
11668 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
11669
11670         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
11671         of globalvar.
11672
11673 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
11674
11675         * gdb.asm/asm-source.exp: Check for memory read errors in
11676         disassembler test on *BSD too.
11677
11678 2003-06-01  Richard Henderson  <rth@redhat.com>
11679
11680         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
11681         for .frame.
11682         (gdbasm_call): Lose ldgp.
11683         (gdbasm_startup): Add frame information.
11684         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
11685
11686 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
11687
11688         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
11689         i?86-*-*.
11690
11691 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
11692
11693         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
11694         FreeBSD.
11695
11696 2003-05-29  Richard Henderson  <rth@redhat.com>
11697
11698         * gdb.asm/alpha.inc: New file.
11699         * gdb.asm/asm-source.exp: Use it.
11700
11701 2003-05-29  Jim Blandy  <jimb@redhat.com>
11702
11703         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
11704         'core.PID'.
11705
11706 2003-05-22  Jim Blandy  <jimb@redhat.com>
11707
11708         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
11709         backtrace.
11710
11711 2003-05-20  David Carlton  <carlton@math.stanford.edu>
11712
11713         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
11714         this time.
11715
11716 2003-05-19  David Carlton  <carlton@bactrian.org>
11717
11718         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
11719         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
11720
11721 2003-05-19  David Carlton  <carlton@bactrian.org>
11722
11723         * gdb.c++/namespace.exp: Add namespace scope and anonymous
11724         namespace tests.
11725         Bump copyright date.
11726         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
11727         (main): Call C::D::marker2.
11728         * gdb.c++/namespace1.cc: New file.
11729
11730 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
11731
11732         Roland McGrath  <roland@redhat.com>
11733         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
11734         there is no manager thread.
11735
11736 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
11737
11738         * gdb.threads/schedlock.exp: Remove assumption that all threads
11739         will run in a particular small time slice.  Also ensure we break
11740         in one of the child threads rather than the main thread.
11741
11742 2003-05-07  Jim Blandy  <jimb@redhat.com>
11743
11744         Add support for assembly source testing on the s390x.
11745         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
11746         architecture.
11747         * gdb.asm/s390x.inc: New file.
11748
11749         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
11750         succession of 'if' statements.
11751
11752 2003-05-05  Andrew Cagney  <cagney@redhat.com>
11753
11754         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
11755
11756 2003-05-05  Andrew Cagney  <cagney@redhat.com>
11757
11758         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
11759         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
11760
11761 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
11762
11763         * gdb.base/charset.exp: Update based on new behavior of set/show
11764         charset commands.
11765
11766 2003-05-01  Andrew Cagney  <cagney@redhat.com>
11767
11768         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
11769         variable do not give memory errors.
11770
11771 2003-04-30  Adam Fedor  <fedor@gnu.org>
11772
11773         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
11774         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
11775         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
11776         gdb.objc/basicclass.m: : New files
11777
11778         * lib/gdb.exp (gdb_compile_objc): New procedure.
11779
11780 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
11781
11782         * gdb.base/signals.exp: Make backtrace tests more specific.
11783
11784 2003-04-23  David Carlton  <carlton@bactrian.org>
11785
11786         * gdb.c++/maint.exp (test_first_component): Add tests for
11787         'operator' in more locations.
11788
11789 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
11790
11791         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
11792
11793 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
11794
11795         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
11796         func marke' instead. Update test name.
11797
11798 2003-04-15  David Carlton  <carlton@math.stanford.edu>
11799
11800         * gdb.c++/maint.exp: New file.
11801
11802 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
11803
11804         * gdb.threads/schedlock.c: Change type of thread function argument
11805         to long, to avoid warnings on 64-bit platforms.
11806
11807 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
11808
11809         * gdb.base/attach.exp: Add new message from ptrace in case of
11810         attaching to nonexistent process.
11811
11812 2003-04-11  Jim Blandy  <jimb@redhat.com>
11813
11814         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
11815         gdb.c++/userdef.cc: Place comments on the lines to which the
11816         marker function might return.
11817         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
11818         gdb.c++/userdef.exp: Look for those comments to check that we've
11819         returned to the right place, instead of checking line numbers.
11820
11821 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
11822
11823         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
11824         match on sourcefile name, instead of directory name.
11825
11826 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
11827
11828         * gdb.base/completion.exp: Use string_to_regexp to match the
11829         working directory name.
11830
11831 2003-04-09  Jim Blandy  <jimb@redhat.com>
11832
11833         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
11834         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
11835         after an inferior function call, report the failure, but allow the
11836         test to continue.
11837
11838 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
11839
11840         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
11841         with -DPROTOTYPES.
11842
11843 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
11844
11845         * gdb.base/break.exp: Revert last patch.
11846
11847 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
11848
11849         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
11850         with -DPROTOTYPES.
11851
11852 2003-04-02  Andrew Cagney  <cagney@redhat.com>
11853
11854         * gdb.base/callfuncs.exp: Make "print add" messages unique.
11855         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
11856         matching directories by the name breakpoint.
11857         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
11858         Make "continue to marker1" consistent.
11859         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
11860         message consistent.
11861         * lib/gdb.exp: Put "the program is no longer running", and "the
11862         program exited" in parenthesis.
11863         * lib/mi-support.exp: Ditto.
11864
11865 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
11866
11867         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
11868
11869 2003-03-29  Andrew Cagney  <cagney@redhat.com>
11870
11871         * gdb.base/sizeof.c (main): Print the value of '\377'.
11872         * gdb.base/sizeof.exp: Check the sign of '\377'.
11873
11874 2003-03-27  Michael Chastain  <mec@shout.net>
11875
11876         * gdb.base/gdb1090.exp: New file.
11877         * gdb.base/gdb1090.cc: New file.
11878
11879 2003-03-27  J. Brobecker  <brobecker@gnat.com>
11880
11881         * gdb.gdb/observer.exp: New regression test.
11882
11883 2003-03-27  Michael Chastain  <mec@shout.net>
11884
11885         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
11886         * gdb.base/ptype.exp: Likewise.
11887
11888 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
11889
11890         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
11891
11892 2003-03-26  Michael Chastain  <mec@shout.net>
11893
11894         * gdb.base/ptype.exp: Actually use some typedef'd types.
11895
11896 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
11897
11898         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
11899         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
11900
11901 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
11902
11903         * gdb.base/default.exp: Fix regular expression.
11904
11905 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
11906
11907         * gdb.base/args.exp: Fix regular expression.
11908
11909 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
11910
11911         * gdb.base/help.exp: Allow Win32 child process.
11912
11913 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
11914
11915         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
11916         when stepping out of main().
11917
11918 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
11919
11920         * gdb.base/default.exp: Check for win32 specific message when calling
11921         "run" without executable.
11922
11923 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
11924
11925         * gdb.base/args.exp: Expect .exe in output.
11926
11927 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
11928
11929         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
11930         Cygwin native.
11931
11932 2003-03-17  Andrew Cagney  <cagney@redhat.com>
11933
11934         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
11935         vector registes.
11936         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
11937         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
11938
11939 2003-03-17  David Carlton  <carlton@math.stanford.edu>
11940
11941         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
11942         test, for PR breakpoints/38.
11943         Call test_watchpoint_and_breakpoint.
11944         * gdb.base/watchpoint.c (func3): New function.
11945         (main): Call func3.
11946
11947 2003-03-04  David Carlton  <carlton@math.stanford.edu>
11948
11949         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
11950         Garply<Garply<char> >:: garply".
11951         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
11952         with respect to PR c++/1111; note also PR c++/1113.
11953         (test_template_breakpoints): KFAIL "constructor breakpoint" with
11954         respect to PR c++/1062.
11955         KFAIL "destructor breakpoint" with respect to PR c++/1112.
11956
11957 2003-03-03  David Carlton  <carlton@math.stanford.edu>
11958
11959         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
11960         with respect to PR c++/57.
11961         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
11962         c++/826.
11963         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
11964         respect to PR c++/57.
11965
11966 2003-03-03  David Carlton  <carlton@math.stanford.edu>
11967
11968         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
11969         respect to PR c++/33 into FAILs.
11970
11971 2003-03-03  Michael Chastain  <mec@shout.net>
11972
11973         * configure.in: Update copyright years.
11974
11975 2003-03-03  Michael Chastain  <mec@shout.net>
11976
11977         * Makefile.in: Update copyright years.
11978
11979 2003-02-28  David Carlton  <carlton@math.stanford.edu>
11980
11981         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
11982         print class instead of struct and/or superfluous protection
11983         specifiers, as long as the resulting output is equivalent to the
11984         source code.
11985         Delete FIXME from end of messages on tests that don't need
11986         fixing.
11987
11988 2003-02-28  David Carlton  <carlton@math.stanford.edu>
11989
11990         * gdb.c++/templates.exp (do_tests): Allow const in the two
11991         Foo<volatile char *>::foo tests.
11992
11993 2003-02-27  Michael Snyder  <msnyder@redhat.com>
11994
11995         * gdb.base/restore.c (main): Return zero, so exit code
11996         will be consistant.
11997
11998 2003-02-26  David Carlton  <carlton@math.stanford.edu>
11999
12000         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
12001         char *>::foo" test with respect to PR c++/33.  Create a new test
12002         which is identical to that one except that it doesn't put the
12003         space between the "char" and the "*"; KFAIL it, too.
12004
12005 2003-02-26  David Carlton  <carlton@math.stanford.edu>
12006
12007         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
12008         template types into either PASSes or KFAILs (corresponding to PR
12009         c++/57).  Tweak indentation.  Update copyright.
12010
12011 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
12012
12013         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
12014
12015 2003-02-13  Michael Chastain  <mec@shout.net>
12016
12017         * gdb.base/exprs.exp: Remove i960 remnants.
12018         * gdb.base/funcargs.exp: Likewise.
12019         * gdb.base/list.exp: Likewise.
12020         * gdb.base/ptype.exp: Likewise.
12021
12022 2003-02-14  David Carlton  <carlton@math.stanford.edu>
12023
12024         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
12025         pEe->D::vg()" from XFAIL to KFAIL.
12026
12027 2003-02-13  Jason Molenda  (jmolenda@apple.com)
12028
12029         * gdb.base/maint.exp: Update maint print statistics regexp to include
12030         new entries.
12031
12032 2003-02-13  Michael Chastain  <mec@shout.net>
12033
12034         * gdb.c++/inherit.exp: Remove call to get_debug_format.
12035
12036 2003-02-12  Michael Chastain  <mec@shout.net>
12037
12038         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
12039         * gdb.c++/inherit.exp: Likewise.
12040         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
12041         * gdb.c++/templates.exp: Likewise.
12042         * gdb.c++/virtfunc.exp: Likewise.
12043
12044 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
12045
12046         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
12047         why the code is written that way.
12048
12049 2003-02-05  Michael Chastain  <mec@shout.net>
12050
12051         * gdb.base/dump.exp: Add missing copyright line.
12052
12053 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
12054
12055         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
12056         at the beginning so the breakpoint doesn't get set on the loop.
12057
12058 2003-02-05  Michael Chastain  <mec@shout.net>
12059
12060         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
12061         output for configurations with gcc 2.95.3.
12062
12063 2003-02-05  Keith Seitz  <keiths@redhat.com>
12064             Andrew Cagney  <ac131313@redhat.com>
12065
12066         * gdb.mi/mi-cli.exp: New file.
12067
12068 2003-02-04  Michael Chastain  <mec@shout.net>
12069
12070         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
12071         Call perror and then continue.
12072
12073 2003-02-03  Michael Chastain  <mec@shout.net>
12074
12075         * gdb.c++/pr-1023.cc: New file.
12076         * gdb.c++/pr-1023.exp: New file.
12077
12078 2003-02-05  Jim Blandy  <jimb@redhat.com>
12079
12080         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
12081         it's local to foobar.  Check for it there, and check that it's not
12082         present in main.
12083         * gdb.c++/local.cc (marker2): New function.
12084         (foobar): Call marker1.
12085         (main): Call marker2 instead of marker1.
12086
12087 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
12088
12089         * gdb.disasm/mn10200.exp: Obsolete file.
12090         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
12091         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
12092         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
12093
12094 2003-02-04  David Carlton  <carlton@math.stanford.edu>
12095
12096         * gdb.c++/overload.exp: Test intToChar(1).
12097         * gdb.c++/overload.cc (intToChar): New.
12098         (main): Call intToChar.
12099
12100 2003-02-03  David Carlton  <carlton@math.stanford.edu>
12101
12102         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
12103         'might_kfail' arg.
12104         KFAIL some of the continue_to_bp_overloaded calls, according to
12105         PR c++/1025.
12106
12107 2003-02-01  Michael Chastain  <mec@shout.net>
12108
12109         * gdb.base/advance.c (marker1): New marker function.
12110         * gdb.base/advance.exp: When the 'advance' command lands on the
12111         return breakpoint, it can legitimately stop on either the
12112         current line or the next line.  Accommodate both outcomes.
12113         * gdb.base/until.exp: Likewise.
12114
12115 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
12116
12117         2002-11-10 Jason Molenda (jason-cl@molenda.com):
12118         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
12119         now a list, not a tuple.
12120         * gdb.mi/mi-var-display.exp: Ditto.
12121         * gdb.mi/gdb792.exp: Ditto.
12122
12123 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
12124
12125         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
12126         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
12127         stack backtraces.
12128         * gdb.mi/mi-syn-frame.c: Part of same.
12129
12130 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
12131
12132         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
12133         gdb.mi/mi1-pthreads.exp: Return instead of calling
12134         gdb_suppress_entire_file.
12135
12136 2003-02-01  Mark Salter  <msalter@redhat.com>
12137
12138         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
12139
12140 2003-01-31  Mark Salter  <msalter@redhat.com>
12141
12142         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
12143         Support empty arg.
12144
12145 2003-01-30  Michael Chastain  <mec@shout.net>
12146
12147         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
12148         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
12149         has been fixed in gdb/readline on 2003-01-09.
12150
12151 2003-01-29  Michael Snyder  <msnyder@redhat.com>
12152
12153         * gdb.base/maint.exp: Allow for leading underscore in symbol.
12154         * gdb.base/display.exp: Allow for leading underscore in symbol.
12155         * gdb.base/args.exp: Skip if target does not support args passing.
12156
12157 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
12158
12159         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
12160         gdb_test.  Accept a list of expect arguments as the third
12161         parameter.
12162         (gdb_test): Use it.
12163
12164 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
12165
12166         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
12167         allow for different test tree configurations.  Update some
12168         tescases accordingly.
12169         * gdb.arch/altivec-regs.exp: Ditto.
12170         * gdb.asm/asm-source.exp: Ditto.
12171         * gdb.base/advance.exp: Ditto.
12172         * gdb.base/display.exp: Ditto.
12173         * gdb.base/long_long.exp: Ditto.
12174         * gdb.base/mips_pro.exp: Ditto.
12175         * gdb.base/overlays.exp: Ditto.
12176         * gdb.base/relocate.exp: Ditto.
12177         * gdb.base/setshow.exp: Ditto.
12178         * gdb.base/step-line.exp: Ditto.
12179         * gdb.base/step-test.exp: Ditto.
12180         * gdb.base/until.exp: Ditto.
12181         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
12182
12183 2003-01-17  David Carlton  <carlton@math.stanford.edu>
12184
12185         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
12186         corresponding to PR c++/945.
12187         Update copyright.
12188
12189 2003-01-17  David Carlton  <carlton@math.stanford.edu>
12190
12191         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
12192         corresponding to PR c++/68.
12193
12194 2003-01-17  David Carlton  <carlton@math.stanford.edu>
12195
12196         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
12197         (test_paddr_hairy_functions): Call print_addr_2_kfail for
12198         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
12199
12200 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
12201
12202         * gdb.base/break.exp: Fix change of default location, because of
12203         removal of until tests.
12204         * gdb.base/help.exp: Update test for new 'until' help message.
12205         Add test for help on 'advance'.
12206         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
12207
12208 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
12209
12210         * gdb.base/default.exp: Adapt "info float" test for recent changes
12211         to that command.  Add test for "info vector".
12212         * gdb.base/float.exp: New file.  Add test for "info float" that
12213         resembles the old test in gdb.base/default.exp.
12214
12215 2003-01-15  David Carlton  <carlton@math.stanford.edu>
12216
12217         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
12218
12219 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
12220
12221         * gdb.base/break.exp: Move the tests of until command from here...
12222         * gdb.base/until.exp: ... to here. New file. Add other tests.
12223         * gdb.base/advance.c: New file.
12224         * gdb.base/advance.exp: New file.
12225
12226 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
12227
12228         * gdb.base/args.c: New file.
12229         * gdb.base/args.exp: New file.
12230
12231 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
12232
12233         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
12234
12235 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
12236
12237         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
12238
12239 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
12240
12241         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
12242         dates.
12243
12244 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
12245
12246         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
12247
12248 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
12249
12250         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
12251         (ptype &*"foo").
12252         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
12253
12254 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
12255
12256         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
12257         * gdb.mi/mi1-console.exp: Likewise.
12258
12259 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
12260
12261         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
12262         * gdb.mi/mi1-console.exp: Likewise.
12263
12264 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
12265
12266         * gdb.c++/overload.exp: Remove some fixed XFAILs.
12267
12268 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
12269
12270         * gdb.base/detach.exp: New test.
12271
12272 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
12273
12274         * Makefile.in (ALL_SUBDIRS): New variable.
12275         (subdirs, clean, distclean): Use it.
12276         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
12277         regenerating Makefile, since it is generated from the top level.
12278         * gdb.asm/Makefile.in: Likewise.
12279         * gdb.base/Makefile.in: Likewise.
12280         * gdb.c++/Makefile.in: Likewise.
12281         * gdb.disasm/Makefile.in: Likewise.
12282         * gdb.java/Makefile.in: Likewise.
12283         * gdb.mi/Makefile.in: Likewise.
12284         * gdb.threads/Makefile.in: Likewise.
12285         * gdb.trace/Makefile.in: Likewise.
12286
12287 2003-01-09  David Carlton  <carlton@math.stanford.edu>
12288
12289         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
12290         Add copyright year 2003.
12291
12292 2003-01-06  Michael Chastain  <mec@shout.net>
12293
12294         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
12295         When selecting a thread, 'line' and 'file' are optional.
12296         * gdb.mi/mi1-pthreads.exp: Likewise.
12297
12298 2003-01-06  Andreas Schwab  <schwab@suse.de>
12299
12300         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
12301         failures.
12302
12303 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
12304
12305         Fix PR gdb/844
12306         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
12307         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
12308
12309         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
12310         instead of calling gdb_suppress_entire_file.
12311         * gdb.threads/print-threads.exp: Likewise.
12312         * gdb.threads/schedlock.exp: Likewise.
12313
12314         * gdb.threads/killed.exp: Return instead of calling
12315         gdb_suppress_entire_file.
12316         * gdb.threads/linux-dp.exp: Likewise.
12317         * gdb.threads/pthreads.exp: Likewise.
12318
12319 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
12320
12321         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
12322         stabs.
12323         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
12324         * gdb.base/whatis.exp: Always allow (void) after function names.
12325
12326 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
12327
12328         * gdb.c++/casts.exp: Correct regexp.
12329
12330 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
12331
12332         * configure.in: Call AC_CONFIG_HEADER.  Don't call
12333         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
12334         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
12335         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
12336         aforementioned directories in the AC_OUPUT call.
12337         * config.hin: New file.
12338         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
12339         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
12340         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
12341         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
12342         pass -I$objdir instead of -I$objdir/$subdir in compilation.
12343         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
12344         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
12345         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
12346         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
12347         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
12348         gdb.threads/configure.in, gdb.threads/configure,
12349         gdb.threads/config.in, gdb.trace/configure.in,
12350         gdb.trace/configure: Removed.
12351
12352 2003-01-03  Michael Chastain  <mec@shout.net>
12353
12354         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
12355         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
12356
12357 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
12358
12359         * gdb.base/store.exp: Fix regular expressions.
12360
12361 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
12362
12363         * configure.in: Rewrite.
12364         * configure: Regenerated.
12365
12366 2003-01-03  David Carlton  <carlton@math.stanford.edu>
12367
12368         * gdb.base/psymtab.exp: New file.
12369         * gdb.base/psymtab1.c: Ditto.
12370         * gdb.base/psymtab2.c: Ditto.
12371
12372 2002-12-23  Adam Fedor  <fedor@gnu.org>
12373
12374         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
12375
12376 2002-12-23  David Carlton  <carlton@math.stanford.edu>
12377
12378         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
12379         and current_directory initialization.
12380
12381 2002-12-22  Jim Blandy  <jimb@redhat.com>
12382
12383         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
12384         rather than as part of the output file name.
12385
12386         * gdb.base/attach.exp: There's no need to copy the test program to
12387         /tmp; that was only ever necessary on HP/UX, and this test is
12388         entirely disabled there anyway.
12389
12390 2002-12-21  Jim Blandy  <jimb@redhat.com>
12391
12392         * gdb.c++/psmang.exp: Doc fix.
12393
12394         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
12395         test.
12396
12397 2002-12-20  David Carlton  <carlton@math.stanford.edu>
12398
12399         * gdb.c++/annota2.exp: KFAIL annotate-quit.
12400
12401 2002-12-18  Michael Chastain  <mec@shout.net>
12402
12403         * gdb.c++/annota2.exp: Add copyright year 2002.
12404
12405 2002-12-17  David Carlton  <carlton@math.stanford.edu>
12406
12407         * gdb.c++/try_catch.cc: Add marker comments.
12408         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
12409         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
12410         * gdb.c++/m-static.cc: Ditto.
12411         * gdb.c++/m-static1.cc: Ditto.
12412         * gdb.c++/try_catch.cc: Ditto.
12413
12414 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
12415
12416         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
12417         to see whether we are using the new -environment-directory
12418         command which resets via -r or the old version of the command
12419         which may prompt the user.  Part of fix for gdb/741.
12420
12421 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
12422
12423         * gdb.fortran/types.exp: Update obsolete comment.
12424         * gdb.fortran/exprs.exp: Ditto.
12425         * lib/gdb.exp: Delete obsolete code.
12426         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
12427         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
12428         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
12429         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
12430         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
12431         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
12432         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
12433         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
12434         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
12435         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
12436         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
12437         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
12438         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
12439         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
12440         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
12441         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
12442         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
12443         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
12444         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
12445         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
12446         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
12447         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
12448         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
12449         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
12450         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
12451         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
12452         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
12453         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
12454         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
12455         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
12456         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
12457         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
12458         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
12459         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
12460         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
12461         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
12462         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
12463
12464 2002-12-11  David Carlton  <carlton@math.stanford.edu>
12465
12466         * gdb.c++/m-data.exp: Add test for members that shadow global
12467         variables: see PR gdb/804.
12468         * gdb.c++/m-data.cc: Ditto.
12469
12470 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
12471
12472         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
12473
12474 2002-12-06  David Carlton  <carlton@math.stanford.edu>
12475
12476         * gdb.base/store.c: Don't declare functions static.
12477
12478 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
12479
12480         * gdb.base/store.exp, gdb.base/store.c: New files.
12481
12482 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
12483
12484         * gdb.base/selftest.exp: Update for current gdb.
12485
12486 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
12487
12488         * gdb.base/maint.exp: Only dump symbols from one source file
12489         or objfile.
12490
12491 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
12492
12493         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
12494         function call.
12495
12496 2002-11-25  Jim Blandy  <jimb@redhat.com>
12497
12498         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
12499         function appearing in error message.
12500
12501 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
12502
12503         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
12504
12505 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
12506
12507         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
12508         for mi1 and current mi is in correct format.  New mi startup message
12509         should be in mi console format.  This is part of fix for PR gdb/604.
12510
12511 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
12512
12513         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
12514         which explicitly prints the zero offset as "+0".
12515
12516 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
12517
12518         * gdb.threads/schedlock.c (args): Make unsigned.
12519
12520 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
12521
12522         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
12523         numbers.  Allow "foo2|selected stack frame".
12524         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
12525         * gdb.asm/asmsrc2.s: Likewise.
12526         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
12527         comments.
12528         * gdb.asm/mips.inc: New file.
12529
12530 2002-10-18  Adam Fedor  <fedor@gnu.org>
12531
12532         * gdb.base/default.exp: Update expected output to include 'ObjC'.
12533         * gdb.base/help.exp: Likewise.
12534
12535 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
12536
12537         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
12538         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
12539
12540 2002-10-02  Jim Blandy  <jimb@redhat.com>
12541
12542         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
12543
12544 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
12545
12546         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
12547         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
12548         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
12549         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
12550         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
12551         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
12552         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
12553
12554 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
12555
12556         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
12557         * mi0-disassemble.exp, mi0-eval.exp: Delete.
12558         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
12559         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
12560         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
12561         * mi0-var-block.exp, mi0-var-child.exp: Delete.
12562         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
12563
12564 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
12565
12566         * gdb.base/annota1.exp (info break): Make directory components of
12567         path optional since not all compilers emit this debug information.
12568
12569         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
12570         step ends up stepping out of the function instead of stopping on
12571         the epilogue.
12572
12573 2002-09-26  Keith Seitz  <keiths@redhat.com>
12574
12575         * lib/insight-support.exp (gdbtk_start): Figure out where
12576         the insight executable is based on where gdb is. Use this
12577         executable to start insight instead of gdb.
12578
12579 2002-09-25  Andrew Cagney  <cagney@redhat.com>
12580
12581         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
12582
12583 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
12584
12585         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
12586         test_isolated_complaints.
12587         (test_empty_complaint): New function.
12588         (test_empty_complaints): New function.  Check no output when no
12589         complaints.
12590
12591 2002-09-19  Jim Blandy  <jimb@redhat.com>
12592
12593         * gdb.base/charset.exp, gdb.base/charset.c: New files.
12594
12595 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
12596
12597         * gdb.gdb/complaints.exp: New file.
12598
12599 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
12600
12601         * gdb.base/maint.exp: Check `help maint internal-warning'.
12602
12603 2002-09-18  David Carlton  <carlton@math.stanford.edu>
12604
12605         * gdb.c++/m-static.exp: Remove breakpoints depending on line
12606         numbers, and replace them by a single breakpoint after the
12607         constructors are all finished.
12608         Add test 4.
12609         * gdb.c++/m-static.cc: Add test 4.
12610         * gdb.c++/m-static.h: New file.
12611         * gdb.c++/m-static1.cc: New file.
12612
12613         * gdb.c++/printmethod.exp: New file.
12614         * gdb.c++/printmethod.cc: New file.
12615
12616         * gdb.c++/pr-574.exp: New file.
12617         * gdb.c++/pr-574.cc: New file.
12618
12619 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
12620
12621         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
12622         embedded targets which never actually exit.
12623
12624 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
12625
12626         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
12627         "don't step after run" as unresolved or unsupported, instead of xfail.
12628
12629 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
12630
12631         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
12632         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
12633         Add newline to expected string in "step out of main (status wrapper)"
12634         case.
12635
12636 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
12637
12638         * lib/gdb.exp (rerun_to_main): Allow restarting application.
12639         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
12640
12641 2002-09-17  Tom Tromey  <tromey@redhat.com>
12642
12643         * gdb.base/printcmds.exp (test_print_string_constants): Expect
12644         \000, not \0, in double-quoted string.
12645
12646 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
12647
12648         * gdb.base/commands.exp: Don't expect a "Program exited normally"
12649         string after running the commands execution on breakpoint tests.
12650
12651 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
12652
12653         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
12654
12655 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
12656
12657         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
12658
12659 2002-09-10  Keith Seitz  <keiths@redhat.com>
12660
12661         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
12662         runto proc.
12663         (mi_run_to_main): Use mi_runto.
12664         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
12665
12666 2002-09-10  Keith Seitz  <keiths@redhat.com>
12667
12668         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
12669         regexp for stopping at main. Could have multiple event notifications.
12670         Don't assume that main was declared with no parameters.
12671         (mi_next): Use mi_step_to.
12672         (mi_step): Use mi_next_to.
12673
12674 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
12675
12676         * gdb.base/default.exp: Fix expected string in `info float' test.
12677
12678 2002-09-09  Ben Elliston  <bje@redhat.com>
12679
12680         * config/mips.exp: Update comments.
12681         * config/mips-idt.exp: Likewise.
12682         * config/nind.exp: Likewise.
12683         * config/slite.exp: Likewise.
12684         * config/sparclet.exp: Likewise.
12685         * config/udi.exp: Likewise.
12686         * config/vx.exp: Likewise.
12687         * config/vxworks29k.exp: Likewise.
12688
12689 2002-09-05  Jim Blandy  <jimb@redhat.com>
12690
12691         * gdb.threads/killed.exp: Fix test failure message.
12692
12693 2002-09-04  Keith Seitz  <keiths@redhat.com>
12694
12695         * lib/mi-support.exp: Update copyright.
12696         (mi_gdb_test): Increase the priority of the expected pattern
12697         so that it matches gdb_test.
12698
12699 2002-09-03  Keith Seitz  <keiths@redhat.com>
12700
12701         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
12702         Use integer comparison instead of string comparison for testing
12703         whether binary was built.
12704
12705 2002-09-03  Jim Blandy  <jimb@redhat.com>
12706
12707         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
12708
12709 2002-08-29  Jim Blandy  <jimb@redhat.com>
12710
12711         * gdb.threads/pthreads.exp: Move the portable thread compilation
12712         code into a function in lib/gdb.exp, and call that from here.
12713         * lib/gdb.exp (gdb_compile_pthreads): New function.
12714
12715 2002-08-29  Keith Seitz  <keiths@redhat.com>
12716
12717         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
12718         expect_out so that callers can get at it.
12719
12720 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
12721
12722         * gdb.threads/print-threads.c: New file.
12723         * gdb.threads/print-threads.exp: New file.
12724         * gdb.threads/schedlock.c: New file.
12725         * gdb.threads/schedlock.exp: New file.
12726
12727 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
12728
12729         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
12730         not altivec.c.
12731
12732 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
12733
12734         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
12735         targets.  The problem should be fixed now.
12736
12737 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
12738
12739         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
12740         2002-07-24 change that removes final dots from error messages.
12741
12742 2002-08-13  Tom Tromey  <tromey@redhat.com>
12743
12744         * gdb.base/readline.exp: New file.
12745
12746 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
12747
12748         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
12749         supress message.
12750
12751 2002-08-01  Andrew Cagney  <cagney@redhat.com>
12752
12753         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
12754         CHILL_FOR_TARGET and CHILL_LIB.
12755         * configure.in (configdirs): Remove gdb.chill.
12756         * configure: Regenerate.
12757         * lib/gdb.exp: Obsolete references to chill.
12758         * gdb.fortran/types.exp: Ditto.
12759         * gdb.fortran/exprs.exp: Ditto.
12760
12761 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
12762
12763         * gdb.base/shlib-call.exp (additional_flags): Conditionally
12764         set Irix-specific compile and link flags.
12765
12766 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
12767
12768         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
12769         source files.  The ``-o'' option doesn't work with the ``-E'' option
12770         when using the Irix compiler.
12771
12772 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
12773
12774         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
12775         Improve support for reusing an exec file.  Copy exec file
12776         to target, and run gdbserver on the target instead of on the host.
12777
12778 2002-07-18  Jim Blandy  <jimb@redhat.com>
12779
12780         * gdb.base/ending-run.exp: Don't expect to see the program end in
12781         some orderly fashion when we're running on a real stand-alone
12782         board.
12783
12784         * gdb.base/interrupt.exp: Correct logic for skipping tests on
12785         targets that don't support interrupts.
12786
12787 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
12788
12789         * gdb.base/attach.exp: Add patterns to match output from /proc-based
12790         systems.
12791         Move comments in expect statements to inside the actions, so that they
12792         don't get matched against.
12793
12794 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
12795
12796         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
12797         function when asleep" test.
12798
12799 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
12800
12801         * gdb.base/page.exp: Rewrite to handle problems with very long
12802         `info set' output.  Update copyright.
12803
12804 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
12805
12806         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
12807         gdb.threads-hp.
12808         * gdb.hp/configure: Regenerate.
12809         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
12810         * gdb.hp/gdb.threads-hp/configure: Delete file.
12811         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
12812
12813 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
12814
12815         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
12816         setlocale, bindtextdomain and textdomain.
12817
12818 2002-06-11  Jim Blandy  <jimb@redhat.com>
12819
12820         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
12821         preprocessor macro information is present.
12822
12823         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
12824         tests.
12825
12826 2002-06-06  Michael Snyder  <msnyder@redhat.com>
12827
12828         * gdb.base/overlays.exp: Record addresses of overlay
12829         functions in TCL variables rather than in GDB variables,
12830         to avoid having GDB convert them to pointers (with loss
12831         of information).
12832
12833         * gdb.base/d10v.ld: Merge in several years worth of
12834         default linker script changes.
12835         * gdb.base/long_long.exp: Add check for sizeof (long double).
12836
12837 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
12838
12839         * gdb.asm/asm-source.exp: Add x86-64 target.
12840         * gdb.asm/x86_64.inc: New.
12841
12842 2002-05-30  Michael Chastain  <mec@shout.net>
12843
12844         From Benjamin Kosnik <bkoz@redhat.com>:
12845         * gdb.c++/m-static.cc: New file.
12846         * gdb.c++/m-static.exp: New file.
12847
12848 2002-05-28  Michael Snyder  <msnyder@redhat.com>
12849
12850         * gdb.base/call-ar-st.exp: Allow for reduced floating point
12851         precision.
12852
12853 2002-05-27  Michael Chastain  <mec@shout.net>
12854
12855         From Benjamin Kosnik <bkoz@redhat.com>:
12856         * gdb.c++/m-data.cc: New file.
12857         * gdb.c++/m-data.exp: New file.
12858
12859 2002-05-27  Michael Chastain  <mec@shout.net>
12860
12861         From Benjamin Kosnik <bkoz@redhat.com>:
12862         * gdb.c++/try_catch.cc: New file.
12863         * gdb.c++/try_catch.exp: New file.
12864
12865 2002-05-27  Michael Chastain  <mec@shout.net>
12866
12867         * gdb.c++/local.exp: Accept more nested types in output.
12868
12869 2002-05-26  Michael Chastain  <mec@shout.net>
12870
12871         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
12872
12873 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
12874
12875         * lib/gdb.exp (gdb_wrapper_init): Just because
12876         gdb_wrapper_file exists, this does not mean that the file
12877         should not be rebuilt.  That is what gdb_wrapper_initialized
12878         is for.
12879         (default_gdb_init): Reset gdb_wrapper_initialized.
12880
12881 2002-05-23  Michael Snyder  <msnyder@redhat.com>
12882
12883         * gdb.base/all-bin.exp: Revise previous patch by just reducing
12884         the precision of the floating point test results.
12885         * gdb.base/call-rt-st.exp: Ditto.
12886
12887         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
12888         * gdb.base/call-rt-st.exp: Ditto.
12889
12890 2002-05-19  Michael Chastain  <mec@shout.net>
12891
12892         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
12893
12894 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
12895
12896         * configure.in (configdirs): Add gdb.arch.
12897         * configure: Regenerate.
12898
12899 2002-05-17  Jim Blandy  <jimb@redhat.com>
12900
12901         * gdb.base/completion.exp: Recognize the more detailed error
12902         messages produced by the macro expander's lexical analyzer.
12903
12904 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
12905
12906         * gdb.arch/altivec-abi.c: New file.
12907         * gdb.arch/altivec-abi.exp: New file.
12908         * gdb.arch/altivec-regs.c: New file.
12909         * gdb.arch/altivec-regs.exp: New file.
12910
12911 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
12912
12913         * gdb.base/maint.exp (maint print type): Update for new type
12914         structure.
12915
12916 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
12917
12918         * gdb.arch: New directory.
12919         * gdb.arch/configure.in: New file.
12920         * gdb.arch/configure: New file.
12921         * gdb.arch/Makefile.in: New file.
12922
12923 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
12924
12925         * gdb.asm/asm-source.exp: Add v850 as supported target.
12926         * gdb.asm/v850.inc: New file.
12927
12928 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
12929
12930         * gdb.c++/annota2.exp (annotate-quit): Add comment.
12931
12932 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
12933
12934         * gdb.base/break.exp: Check 'break "marker2"'.
12935
12936 2002-05-10  Michael Snyder  <msnyder@redhat.com>
12937
12938         * gdb.base/long_long.exp: Fix typo.
12939
12940 2002-05-10  Jim Blandy  <jimb@redhat.com>
12941
12942         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
12943         a bug.
12944
12945         * gdb.base/printcmds.exp (test_integer_literals_rejected):
12946         Recognize more detailed error message produced by the macro
12947         expander's lexical analyzer.
12948         * lib/gdb.exp (test_print_reject): Same.
12949
12950 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
12951
12952         * gdb.c++/method.exp: Fix typo.
12953
12954 2002-05-08  Michael Snyder  <msnyder@redhat.com>
12955
12956         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
12957         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
12958         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
12959         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
12960         Add iftarget clause for strongarm.
12961
12962 2002-05-06  Michael Snyder  <msnyder@redhat.com>
12963
12964         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
12965         (gdb_continue_to_end): Accept output from status wrapper.
12966         * gdb.base/ending-run.exp: Add case for output from status wrapper.
12967         Clean up fail messages to match pass messages.
12968
12969         Enable the "needs_status_wrapper" testsuite feature.
12970         * lib/gdb.exp (gdb_wrapper_init): New procedure.
12971         (gdb_compile): Conditionally call gdb_wrapper_init.
12972         * gdb.base/a2-run.exp: Recognize output from status wrapper.
12973         * gdb.c++/method.exp: Recognize output from status wrapper.
12974
12975 2002-05-06  Ben Elliston  <bje@redhat.com>
12976 From Graydon Hoare  <graydon@redhat.com>
12977
12978         * config/sid.exp: Include support for "rawsid" protocol.
12979
12980 2002-05-03  Jim Blandy  <jimb@redhat.com>
12981
12982         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
12983         * gdb.c++/hang3.C: New file.
12984
12985 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
12986
12987         * gdb.base/default.exp: Remove obsolete code.
12988         * gdb.c++/misc.exp: Ditto.  Update copyright.
12989         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
12990         * gdb.base/whatis.exp: Ditto.  Update copyright.
12991         * gdb.base/scope.exp: Ditto.  Update copyright.
12992         * gdb.base/ptype.exp: Ditto.  Update copyright.
12993         * gdb.base/printcmds.exp: Ditto.  Update copyright.
12994         * gdb.base/opaque.exp: Ditto.  Update copyright.
12995         * gdb.base/list.exp: Ditto.
12996         * gdb.base/funcargs.exp: Ditto.  Update copyright.
12997         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
12998         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
12999         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
13000         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
13001         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
13002         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
13003
13004 2002-05-02  Michael Snyder  <msnyder@redhat.com>
13005
13006         * gdb.base/watchpoint.exp: Add xscale target.
13007         * gdb.base/long_long.exp: Add xscale target.
13008         * gdb.base/default.exp: Add xscale target.
13009
13010 2002-05-01  Jim Blandy  <jimb@redhat.com>
13011
13012         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
13013         gdb.c++/hang.exp: New test.
13014
13015 2002-05-01  Fred Fish  <fnf@redhat.com>
13016
13017         * gdb.base/completion.exp: Handle completions of "./Make" for
13018         more than one completion possibility, as is the case when we
13019         build and test in the source tree.
13020
13021 2002-04-29  Anthony Green  <green@redhat.com>
13022
13023         * gdb.java/jmisc1.exp: New file.
13024         * gdb.java/jmisc2.exp: New file.
13025
13026 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
13027
13028         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
13029
13030 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
13031
13032         * gdb.base/help.exp: Change 'help status' to allow for target
13033         dependent output differences.
13034
13035 2002-04-22  Michael Chastain  <mec@shout.net>
13036
13037         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
13038
13039 2002-04-22  Michael Chastain  <mec@shout.net>
13040
13041         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
13042
13043 2002-04-17  David S. Miller  <davem@redhat.com>
13044
13045         * gdb.asm/sparc64.inc: New file.
13046         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
13047
13048 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
13049
13050         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
13051         instruction file directly into the build tree.  Clean up at end of
13052         test.
13053
13054 2002-04-18  David S. Miller  <davem@redhat.com>
13055
13056         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
13057         handle 64-bit platforms correctly.
13058         * gdb.base/maint.exp: Likewise.
13059
13060 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
13061
13062         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
13063         ``-fpic'' when compiling files comprising a shared library, but
13064         it does need additional linker flags in order to find shared
13065         libraries at run time.
13066
13067 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
13068
13069         * gdb.base/cvexpr.c (use): New function.
13070         (main): Invoke use() on all global variables to prevent
13071         some linkers from deleting these otherwise unused symbols.
13072
13073 2002-04-17  Michael Chastain  <mec@shout.net>
13074 From David S. Miller  <davem@redhat.com>
13075
13076         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
13077         handle 64-bit platforms correctly.
13078
13079 2002-04-12  Michael Snyder  <msnyder@redhat.com>
13080 From Jim Blandy  <jimb@redhat.com>
13081         * gdb.base/foo.c (foox): Remove section attribute; the linker
13082         script can handle this instead.
13083         * gdb.base/bar.c (barx): Same.
13084         * gdb.base/baz.c (bazx): Same.
13085         * gdb.base/grbx.c (grbxx): Same.
13086
13087         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
13088         manager doesn't automatically unmap overlays unnecessarily.
13089
13090 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
13091
13092         * gdb.base/ending-run.exp: Fix pattern for Mips targets
13093         stepping out of main.
13094
13095 2002-04-09  Michael Chastain  <mec@shout.net>
13096
13097         * gdb.c++/local.cc (main): Move call to marker1() inside nested
13098         scope so that the nested scope tests will make sense.
13099         * gdb.c++/local.exp: Write patterns that actually work with gcc
13100         (the HP patterns "were never known to work with gcc").
13101         Keep the old aCC patterns too.
13102
13103 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
13104
13105         * gdb.base/attach.exp: Correct target board test.
13106
13107 2002-04-08  Michael Chastain  <mec@shout.net>
13108
13109         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
13110         in a const method.  Add some xfail and fail cases for configurations
13111         that do not emit the "const ...".
13112
13113 2002-04-07  Michael Chastain  <mec@shout.net>
13114
13115         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
13116         Accept "A * const" and "const A * const" as type of "this".
13117         Fix spelling of getFunky throughout.  Make messages uniform.
13118
13119 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
13120
13121         Work around for PR gdb/285:
13122         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
13123
13124 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
13125
13126         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
13127         instructions file at run time instead of configure time.
13128         Sometimes we run the test in a directory that is not the one we
13129         configured in.
13130         * gdb.asm/configure.in: Delete creation of symlink.
13131         * gdb.asm/configure: Regenerate.
13132
13133 2002-04-05  J. Brobecker  <brobecker@gnat.com>
13134
13135         * gdb.gdb/xfullpath.exp: New test, to exercise the new
13136         xfullpath () function.
13137
13138 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
13139
13140         * gdb.asm/Makefile.in: Correct dependencies.
13141
13142         * gdb.asm/powerpc.inc: New file.
13143         * gdb.asm/asm-source.exp: Add PowerPC.
13144         * gdb.asm/configure.in: Likewise.
13145         * gdb.asm/configure: Regenerated.
13146
13147 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
13148
13149         * gdb.base/relocate.exp: New file.
13150         * gdb.base/relocate.c: New file.
13151
13152 2002-04-04  Fred Fish  <fnf@redhat.com>
13153
13154         * gdb.base/step-test.exp: Update comment regarding stopping in
13155         memcpy/bcopy calls inserted as part of the compiler runtime.
13156
13157 2002-04-04  Michael Snyder  <msnyder@redhat.com>
13158
13159         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
13160
13161 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
13162
13163         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
13164         (gdb_expect): Remove $notransfer hack.
13165
13166 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
13167
13168         * gdb.c++/classes.exp ("calling method for small class"): Match
13169         updated register output.
13170
13171 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
13172
13173         Fix PR gdb/452
13174         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
13175         when finished.  Make gdb_file_cmd send "exec-file" when
13176         appropriate.
13177
13178 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
13179
13180         * gdb.base/attach.exp: Remove extra setup_xfail.
13181
13182 2002-03-26  Michael Snyder  <msnyder@redhat.com>
13183
13184         * gdb.base/default.exp: Add tests for dump, append, and restore.
13185         * gdb.base/help.exp: Add tests for dump, append, and restore.
13186         * gdb.base/dump.exp: New file, test dump, append and restore.
13187         * gdb.base/dump.c: New file.
13188
13189 2002-03-27  Michael Snyder  <msnyder@redhat.com>
13190
13191         * gdb.base/help.exp: Modify expect strings to reflect
13192         clean-ups in help messages.
13193
13194 2002-03-26  Fred Fish  <fnf@redhat.com>
13195
13196         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
13197         have debugging info for those functions and the compiler uses them
13198         internally to copy structs around.
13199
13200 2002-03-26  Fred Fish  <fnf@redhat.com>
13201
13202         * gdb.base/list.exp: Revert the change made yesterday and add note
13203         about why we don't list the default lines for remote targets.
13204
13205 2002-03-25  Michael Snyder  <msnyder@redhat.com>
13206
13207         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
13208
13209 2002-03-25  Fred Fish  <fnf@redhat.com>
13210
13211         * gdb.base/list.exp: This test works on remote targets so remove
13212         the short circuit for remote targets.  Update copyright.
13213
13214 2002-03-25  Fred Fish  <fnf@redhat.com>
13215
13216         * gdb.base/attach.exp: Fix logic error that was suppressing this
13217         test for all non hppa*-*-hpux* targets, instead of the hp target.
13218         Move comments closer to the suppression point.  Also now need to
13219         check that we are running natively.
13220
13221 2002-03-22  Michael Snyder  <msnyder@redhat.com>
13222
13223         * gdb.base/default.exp: Add test for gcore.  Update copyright.
13224         * gdb.base/help.exp: Add test for gcore.  Update copyright.
13225
13226 2002-03-06  Fred Fish  <fnf@redhat.com>
13227
13228         * gdb.base/funcargs.c:  Remove extraneous ';' character.
13229         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
13230
13231 2002-03-04  Michael Chastain  <mec@shout.net>
13232
13233         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
13234         accommodate gcc v3 function signature.
13235         * gdb.mi/mi0-var-cmd-exp: Ditto.
13236
13237 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
13238
13239         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
13240         ``GNU/Linux'' or ``Linux kernel''
13241         * testsuite/gdb.threads/pthreads.c: Ditto.
13242
13243 2002-02-24  Michael Chastain  <mec@shout.net>
13244
13245         * gdb.threads/pthreads.c (thread1): Add a return statement.
13246         (thread2): Likewise.
13247         (foo): Likewise.
13248
13249 2002-02-23  Michael Chastain  <mec@shout.net>
13250
13251         * gdb.threads/linux-dp.c (philosopher): Add a return statement
13252         to placate gcc.
13253
13254 2002-02-23  Michael Chastain  <mec@shout.net>
13255
13256         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
13257         test "ptype bint".  The test passes on all my stabs configurations.
13258
13259 2002-02-21  Jim Blandy  <jimb@redhat.com>
13260
13261         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
13262         filename at a time, and watch for the ones we want to see.
13263
13264         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
13265         types of pointers to prototyped functions.
13266
13267 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
13268
13269         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
13270         signed, unsigned and straight char.
13271         (padding_char, padding_short, padding_int, padding_long,
13272         padding_long_long, padding_float, padding_double,
13273         padding_long_double): New global variables.
13274         (fill, fill_structs): New functions.
13275
13276         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
13277         for correctly sized writes.  Update copyright.
13278         (get_valueof): New procedure.
13279         (get_sizeof): Call get_valueof.
13280         (check_valueof): New procedure.
13281         (check_padding): New procedure.
13282
13283 2002-02-20  Michael Chastain  <mec@shout.net>
13284
13285         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
13286         to setup_xfail.  Document some of the remaining calls.
13287
13288 2002-02-18  Michael Chastain  <mec@shout.net>
13289
13290         * gdb.c++/userdef.exp: Update copyright year.
13291
13292 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
13293
13294         * gdb.c++/userdef.exp: Test overloaded operators properly.
13295         Remove xfails.
13296
13297 2002-02-14  Michael Snyder  <msnyder@redhat.com>
13298
13299         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
13300
13301 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
13302
13303         * gdb.base/a2-run.exp: Check for a remote target properly.
13304         * gdb.base/annota1.exp: Likewise.
13305         * gdb.base/list.exp: Likewise.
13306         * gdb.base/reread.exp: Likewise.
13307         * gdb.base/scope.exp: Likewise.
13308         * gdb.base/shlib-call.exp: Likewise.
13309         * gdb.base/term.exp: Likewise.
13310         * gdb.c++/annota2.exp: Likewise.
13311
13312 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
13313
13314         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
13315
13316 2002-02-10  Michael Chastain  <mec@shout.net>
13317
13318         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
13319         (call_after_alloca): Ditto.
13320
13321 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
13322
13323         * gdb.base/ending-run.exp: Guard "cont" test with
13324         gdb_skip_stdio_test.
13325
13326 2002-02-06  Jim Blandy  <jimb@redhat.com>
13327
13328         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
13329         from here...
13330         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
13331         To here.  Disable this test on non-HP platforms.  Add big comment.
13332
13333 2002-02-04  Michael Snyder  <msnyder@redhat.com>
13334
13335         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
13336           other than d10v and m32r.
13337
13338 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
13339
13340         * gdb.base/default.exp: Rewrite test patterns to reduce time
13341         taken to match them.
13342
13343 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
13344
13345         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
13346         Allow a start function above main.
13347         * gdb.threads/linux-dp.exp: Fix copyright date.
13348
13349 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
13350
13351         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
13352         (check_philosopher_stack): Check for manager thread before checking
13353         for a just-starting thread.
13354
13355 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
13356
13357         From Neil Booth <neil@daikokuya.demon.co.uk>:
13358         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
13359         warnings.
13360
13361 2002-01-21  Fred Fish  <fnf@redhat.com>
13362
13363         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
13364         not caller.
13365
13366 2002-01-21  Jim Blandy  <jimb@redhat.com>
13367
13368         * gdb.base/reread.exp: Check that GDB properly re-reads the
13369         executable file when it changes while no inferior is running.
13370
13371 2002-01-21  Fred Fish  <fnf@redhat.com>
13372
13373         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
13374         optionally accept the "shlib events" variation.
13375
13376 2002-01-21  Jim Blandy  <jimb@redhat.com>
13377
13378         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
13379         call `fflush' after every `printf', so that the output is produced
13380         at predictable points, regardless of whatever buffering does (or
13381         doesn't) take place.
13382         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
13383         at different points.
13384
13385 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
13386
13387         * gdb.c++/inherit.exp: Update copyright years.
13388         * gdb.c++/method.exp: Likewise.
13389
13390 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
13391
13392         * gdb.c++/classes.exp: Update for improved v3 support and skipping
13393         artificial methods/arguments.
13394         * gdb.c++/derivation.exp: Likewise.
13395         * gdb.c++/inherit.exp: Likewise.
13396         * gdb.c++/method.exp: Likewise.
13397         * gdb.c++/virtfunc.exp: Likewise.
13398
13399 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
13400
13401         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
13402         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
13403         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
13404         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
13405         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
13406         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
13407
13408 2002-01-17  Jim Blandy  <jimb@redhat.com>
13409
13410         * gdb.asm/asm-source.exp (info symbol): Take another shot at
13411         anchoring the pattern matching the entry point symbol's name.
13412
13413 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
13414
13415         * gdb.base/maint.exp: Update ``maint internal-error'' to match
13416         continue/quit query.  Update copyright.
13417
13418 2002-01-14  Michael Snyder  <msnyder@redhat.com>
13419
13420         * gdb.base/gcore.exp: Remove extra debugging output.
13421
13422 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
13423
13424         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
13425         for slightly dubious v2 mangled string.
13426
13427 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
13428
13429         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
13430
13431 2002-01-10  Jason Merrill  <jason@redhat.com>
13432
13433         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
13434
13435         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
13436         constructors.
13437         * gdb.c++/derivation.exp: Likewise.
13438         * gdb.c++/templates.exp: Likewise.
13439         * gdb.c++/virtfunc.exp: Likewise.
13440
13441 2002-01-10  Michael Snyder  <msnyder@redhat.com>
13442
13443         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
13444
13445 2002-01-08  Michael Snyder  <msnyder@redhat.com>
13446
13447         * gdb.base/gcore.exp: New test for generate-core-file command.
13448         * gdb.base/gcore.c: Testcase for above.
13449         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
13450
13451 2002-01-08  Jason Merrill  <jason@redhat.com>
13452
13453         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
13454
13455 2002-01-07  Fred Fish  <fnf@redhat.com>
13456
13457         * gdb.c++/overload.exp: Remove unconditional xfails for:
13458         print foo_instance1.overloadargs(1)
13459         print foo_instance1.overloadargs(1, 2)
13460         print foo_instance1.overloadargs(1, 2, 3)
13461         print foo_instance1.overloadargs(1, 2, 3, 4)
13462         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
13463         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
13464         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
13465         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
13466         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
13467         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
13468         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
13469         print foo_instance1.overload1arg()
13470         print foo_instance1.overload1arg((char)arg2)
13471         print foo_instance1.overload1arg((signed char)arg3)
13472         print foo_instance1.overload1arg((unsigned char)arg4)
13473         print foo_instance1.overload1arg((int)arg7)
13474         print foo_instance1.overload1arg((unsigned int)arg8)
13475         print foo_instance1.overload1arg((float)arg11)
13476         print foo_instance1.overload1arg((double)arg12)
13477
13478 2002-01-07  Michael Snyder  <msnyder@redhat.com>
13479
13480         * gdb.base/huge.exp: New test.  Print a very large target data object.
13481         (skip_huge_test): New test variable.  Define if you want to skip this
13482         test.  The test reads an 8 megabyte data object from the target, so it
13483         might be very time consuming on remote targets with a slow connection.
13484         * gdb.base/huge.c: New file.  Test case for above.
13485
13486 2002-01-07  Fred Fish  <fnf@redhat.com>
13487
13488         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
13489         g_instance.bfoo, and g_instance.cfoo.
13490
13491 Mon Jan  7 12:22:18 2002  Jeffrey A Law  (law@redhat.com)
13492
13493         * gdb.base/break.c (multi_line_if_conditional): New function.
13494         (multi_ilne_while_conditional): Likewise.
13495         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
13496         IF or WHILE condition puts the breakpoint at the start of
13497         the condition.
13498
13499         * gdb.base/selftest.exp (backtrace through signal handler): Remove
13500         hppa*-*-hpux* expected failure.
13501         * gdb.base/structs.exp (do_function_calls): Similarly.
13502
13503         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
13504         watchpoints.
13505
13506 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
13507
13508         Fix PR gdb/66.
13509         * gdb.base/structs.exp: Replace skip for a29k with skip for
13510         gdb,cannot_call_functions.
13511         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
13512         * gdb.base/callfuncs.exp: Ditto.
13513         * gdb.base/call-rt-st.exp: Ditto.
13514         * gdb.base/call-strs.exp: Ditto.
13515         * gdb.base/callfwmall.exp: Ditto.
13516         * gdb.base/scope.exp: Obsolete xfail a29k.
13517         * gdb.c++/misc.exp: Ditto.
13518         * gdb.c++/cplusfuncs.exp: Ditto.
13519         * gdb.base/ptype.exp: Ditto.
13520         * gdb.base/printcmds.exp: Ditto.
13521         * gdb.base/opaque.exp: Ditto.
13522         * gdb.base/list.exp: Ditto.
13523         * gdb.base/funcargs.exp: Ditto.
13524         * gdb.base/default.exp: Ditto.
13525
13526 2002-01-04  Michael Snyder  <msnyder@redhat.com>
13527
13528         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
13529         * gdb.base/maint.exp: Add tests for maint info sections options.
13530
13531 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
13532
13533         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
13534
13535 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
13536
13537         * gdb.asm/arm.inc: New file.
13538         * gdb.asm/asm-source.exp: Add arm targets.
13539         * gdb.asm/configure.in: Ditto.
13540         * gdb.asm/configure: Recreated from configure.in.
13541
13542 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
13543
13544         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
13545         with HP's compiler.
13546         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
13547         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
13548         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
13549         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
13550
13551         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
13552         either HP's compilers or GCC.
13553
13554         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
13555         a SIGBUS or SIGSEGV.
13556
13557         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
13558
13559         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
13560         can be compiled with either HP's compiler or GCC.
13561
13562         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
13563         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
13564         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
13565
13566         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
13567         to match current gdb output.  Update due to using auto-solib-limit
13568         for limiting instead of overloading auto-solib-add.
13569         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
13570         test program.
13571
13572         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
13573         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
13574         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
13575         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
13576         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
13577         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
13578         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
13579         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
13580         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
13581         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
13582         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
13583         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
13584         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
13585
13586         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
13587         a SIGTRAP to the inferior.
13588
13589 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
13590
13591         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
13592         Substitute call to target_link by call to gdb_compile.
13593
13594 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
13595
13596         * gdb.base/break.exp: Fix HP specific search string when testing
13597         backtracing in a called function.
13598
13599         * gdb.base/constvars.exp: Only set lang to C++ if we're
13600         compiling the test with HP's compilers.
13601         * gdb.base/volatile.exp: Similarly.
13602
13603 2001-12-19  Jim Blandy  <jimb@redhat.com>
13604
13605         * gdb.base/printcmds.exp: Expect the null character to be printed
13606         as '\0', and the '\013' to be printed as '\v'.
13607         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
13608         * gdb.base/setvar.exp: Same.
13609
13610 2001-12-17  Jim Blandy  <jimb@redhat.com>
13611
13612         * gdb.base/completion.exp: Rather than completing very long
13613         filenames, which can make the readline library produce output we
13614         don't recognize, cd to the directory first, and then complete
13615         using nice, short relative paths.
13616
13617         * gdb.base/completion.exp: On some systems, there is, in fact, a
13618         variable named `b' in scope, since GDB treats all static
13619         variables as being in scope.  So use `no_var_named_this'
13620         instead of `b'.
13621
13622         * gdb.base/corefile.exp: Recognize the message saying that GDB
13623         can't find the core file's registers as a failure.
13624
13625 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
13626
13627         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
13628         test expect string more specific.
13629
13630 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
13631
13632         * gdb.asm/asm-source.exp: Add support for xstormy16.
13633         * gdb.asm/configure.in: Ditto.
13634         * gdb.asm/configure: Rebuild.
13635         * gdb.asm/xstormy16.inc: New file.
13636
13637 2001-12-10  Fred Fish  <fnf@redhat.com>
13638
13639         * gdb.base/maint.exp: Update to match changes in type dumping code.
13640
13641 2001-12-10  Jim Blandy  <jimb@redhat.com>
13642
13643         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
13644         matching the entry point symbol's name at the beginning of the
13645         line.
13646
13647 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
13648
13649         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
13650         gdb.c++/inherit.exp, gdb.c++/method.exp,
13651         gdb.c++/namespace.exp, gdb.c++/templates.exp,
13652         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
13653         and class layout support.
13654
13655 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
13656
13657         * gdb.c++/classes.exp: Add test for static member function.
13658         * gdb.c++/misc.cc: Add class with static member function.
13659
13660 2001-12-07  Jim Blandy  <jimb@redhat.com>
13661
13662         If GDB says it can't find the struct the function returned, report
13663         those tests as `unsupported'.
13664         * gdb.base/call-rt-st.exp (print_struct_call): New function.
13665         Rewrite subsequent tests to use it.
13666
13667         If GDB says it can't find the struct the function returned, report
13668         those tests as `unsupported'.
13669         * gdb.base/structs.exp (call_struct_func): New function.
13670         (do_function_calls): Use call_struct_func to call the functions
13671         returning structs.
13672
13673         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
13674         whether functions are prototyped or not, so we can't possibly pass
13675         arguments to t_float_values2 properly.
13676
13677         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
13678         value of `timeout' for targets other than the mips*tx39-*.
13679
13680 2001-12-06  Michael Snyder  <msnyder@redhat.com>
13681
13682         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
13683         and detect whether the start symbol has a leading underscore.
13684
13685 2001-12-04  Jim Blandy  <jimb@redhat.com>
13686
13687         * gdb.base/completion.exp: Clarify indentation.
13688
13689 2001-12-03  Jim Blandy  <jimb@redhat.com>
13690
13691         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
13692         variables on the S/390, not `.word'.
13693
13694 2001-11-30  Jim Blandy  <jimb@redhat.com>
13695
13696         Add assembly-source tests for s390-ibm-linux.
13697         * gdb.asm/s390.inc: New file.
13698         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
13699         the S/390 architecture.
13700         * gdb.asm/configure: Regenerated.
13701
13702 2001-11-30  Michael Snyder  <msnyder@redhat.com>
13703
13704         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
13705         next, info source, info sources, info line, global and static
13706         variables, and static functions.
13707         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
13708         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
13709         * gdb.asm/asmsrc1.s: Add a static function and some variables.
13710         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
13711         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
13712         (gdbasm_leave): Restore frame pointer.
13713         (gdbasm_startup): Copy stack set-up from crt0.S.
13714
13715 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
13716
13717         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
13718         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
13719         to a local (non-static) variable. Copy tstruct.a to a static buffer
13720         and return a pointer to that buffer.
13721         * gdb.base/callfwmall.c (t_structs_a): Ditto.
13722
13723 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
13724
13725         * gdb.asm/configure.in: Fix recognition of ix86 target.
13726         * gdb.asm/configure: Regenerate.
13727
13728 2001-11-21  Michael Snyder  <msnyder@redhat.com>
13729
13730         * gdb.asm/sparc.inc: New file.
13731         * gdb.asm/asm-source.exp: Recognize sparc target.
13732         * gdb.asm/configure.in: Recognize sparc target.
13733         * gdb.asm/configure: Regenerate.
13734
13735 2001-11-21  Michael Snyder  <msnyder@redhat.com>
13736
13737         * gdb.asm/m32r.inc: New file.
13738         * gdb.asm/asm-source.exp: Recognize m32r target.
13739         * gdb.asm/configure.in: Recognize m32r target.
13740         * gdb.asm/configure: Regenerate.
13741
13742 2001-11-20  Michael Snyder  <msnyder@redhat.com>
13743
13744         * gdb.asm/i386.inc: New file.
13745         * gdb.asm/asm-source.exp: Recognize ix86 target.
13746         * gdb.asm/configure.in: Recognize ix86 target.
13747         * gdb.asm/configure: Regenerate.
13748
13749         * gdb.c++/namespace.exp: Fix quotes in output messages.
13750
13751 2001-11-14  Michael Snyder  <msnyder@redhat.com>
13752
13753         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
13754         qualifier in a type cast expression, to designate an address
13755         in the instruction space (Harvard architecture).
13756
13757 2001-11-13  Michael Snyder  <msnyder@redhat.com>
13758
13759         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
13760         Tests for expressions using 'const' and 'volatile'.
13761
13762 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
13763
13764         * gdb.asm/asm-sources.exp: Allow defining linker flags.
13765
13766 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
13767
13768         * lib/mi-support.exp (mi_run_to_helper): Move comments
13769         outside of gdb_expect.
13770
13771 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
13772
13773         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
13774         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
13775         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
13776         mi0_run_to): New functions.
13777         * gdb.mi/mi-simplerun.exp: Use them.
13778         * gdb.mi/mi0-simplerun.exp: Likewise.
13779         * gdb.mi/mi-var-cmd.exp: Likewise.
13780         * gdb.mi/mi0-var-cmd.exp: Likewise.
13781
13782 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
13783
13784         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
13785         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
13786
13787 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
13788
13789         * gdb.base/restore.exp: Include $expected value in restored test
13790         message.
13791
13792 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
13793
13794         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
13795         implemented.
13796
13797 2001-11-08  Michael Snyder  <msnyder@redhat.com>
13798
13799         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
13800         Add pass/fail message for stop at breakpoint in call dummy function.
13801
13802 2001-11-07  Michael Snyder  <msnyder@redhat.com>
13803
13804         * gdb.c++/templates.exp (test_template_breakpoints):
13805         If we get an overload menu, but it does not match what
13806         we expect, we still need to issue the "cancel" command.
13807         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
13808         making the whitespace optional.  Argument for "new" may be
13809         "unsigned" as well as "unsigned int/long".
13810         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
13811         making the whitespace optional.  Also replace "(void) with
13812         "((void|)), making the keyword "void" optional.
13813         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
13814         making the whitespace optional.  Also replace "(void) with
13815         "((void|)), making the keyword "void" optional.
13816         * gdb.base/callfuncs.c (t_float_values): This function must
13817         _not_ be prototyped, and the following function (t_float_values2)
13818         must be prototyped (if the compiler supports it), so that GDB
13819         can be tested against both cases.  Usually one case involves
13820         promotion of float to double, while the other does not.
13821         * gdb.base/callfwmall.c: Ditto.
13822         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
13823         includes a stack frame for "start".
13824
13825 2001-11-05  Jim Blandy  <jimb@redhat.com>
13826
13827         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
13828         pointers are 32 bits long, and that offsets of relocs are always
13829         stored in the data (REL-style), and not in the reloc entry itself
13830         (RELA-style).
13831         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
13832         stabs.
13833
13834 2001-11-01  Michael Snyder  <msnyder@redhat.com>
13835
13836         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
13837         and regular expression operators by using quoting.
13838
13839 2001-10-31  Michael Snyder  <msnyder@redhat.com>
13840
13841         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
13842         depending on what the symbol table contains.
13843         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
13844         the output of the ptype command.  Similarly, accept both "const &"
13845         and "const&".
13846
13847 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
13848
13849         * gdb.base/miscexprs.c (main): Add usage of preprocessor
13850         symbol `STORAGE' to allow to choose the storage class of
13851         the local datastructures.
13852         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
13853         compiler directive.
13854
13855 2001-10-30  Michael Snyder  <msnyder@redhat.com>
13856
13857         * gdb.base/jump.exp: Allow it to run for all targets.
13858
13859 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
13860
13861         * gdb.base/call-ar-st.c (print_double_array): Match for loop
13862         with new double_array size.
13863         (main): Change storage class of all local variables to static.
13864         Reduce size of double_array to 9.
13865         * gdb.base/call-ar-st.exp:  Increase timeout value.
13866         Change expected output for double array to match new size in
13867         call-ar-st.c.
13868
13869 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
13870
13871         * gdb.base/ending-run.exp: Create identical output when passing
13872         `step to end of run' case.  Add regular expression branch satisfying
13873         Stormy16 target.
13874
13875 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
13876
13877         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
13878         that we catch the expected failure under Linux/x86.
13879
13880 2001-10-29  Orjan Friberg  <orjanf@axis.com>
13881
13882         * gdb.base/setvar.exp: Escape curly braces.
13883         * gdb.stabs/weird.exp: Ditto.
13884
13885 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
13886
13887         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
13888         * gdm.mi/mi0-hack-cli.exp: Likewise.
13889
13890 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
13891
13892         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
13893         messages.
13894
13895 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
13896
13897         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
13898         checking MI enabled.
13899
13900 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
13901
13902         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
13903
13904 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
13905
13906         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
13907         if gdb child process crashes, just signal an error.
13908
13909 2001-10-02  Jim Blandy  <jimb@redhat.com>
13910
13911         * lib/gdb.exp (test_xfail_format): Simplify.
13912
13913         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
13914         front of the variable name `format'.  Simplify `if'.
13915
13916 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
13917
13918         * gdb.threads/pthreads.exp: Wait for output and delay
13919         before sending ^C.
13920
13921 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
13922
13923         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
13924         some incorrect output instead of timing out.
13925         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
13926
13927 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
13928
13929         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
13930         check to allow additional `int'.
13931
13932 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
13933
13934         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
13935         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
13936
13937 2001-09-27  Michael Snyder  <msnyder@redhat.com>
13938
13939         * lib/gdb.exp (test_debug_format): New proc.
13940         (setup_xfail_format): Use new proc test_debug_format.
13941         * gdb.base/constvars.exp (local_compiler_xfail_check): New
13942         proc; use new service proc test_debug_format.
13943         Replace all other "gcc_compiled" tests with this test.
13944         * gdb.base/volatile.exp (local_compiler_xfail_check): New
13945         proc; use new service proc test_debug_format.
13946         Replace all other "gcc_compiled" tests with this test.
13947
13948 2001-09-27  Michael Snyder  <msnyder@redhat.com>
13949
13950         * gdb.base/cvexpr.exp: New file.
13951         * gdb.base/cvexpr.c: New file
13952         Test for expressions using const and volatile keywords.
13953
13954 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
13955
13956         * gdb.base/constvars.exp: Check for different orders of keywords
13957         and additional "int" strings in output.
13958
13959 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
13960
13961         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
13962         responses from "help maint".
13963
13964 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
13965
13966         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
13967         to localhost:NNN instead of :NNN, in case Xvfb is listening
13968         only on TCP.
13969
13970 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
13971
13972         * gdb.base/recurse.exp: When checking leaving the watchpoint
13973         scope, recognize when gdb is in function's epilogue and pass.
13974
13975 2001-09-18  Keith Seitz  <keiths@redhat.com>
13976
13977         * lib/insight-support.exp (_gdbtk_export_target_info): Add
13978         support for running tests against sid targets.
13979         (gdbtk_done): Ditto.
13980
13981 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
13982
13983         * gdb.base/ending-run.c (main): Set stdout buffersize
13984         to the same reasonable value for any target.
13985         * gdb.base/ending-run.exp: Add a regular expression
13986         to make testsuite happy on Sanyo Stormy16 target.
13987
13988 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
13989
13990         * gdb.base/display.c (do_loops): Add float variable `f'.
13991         Increment f in loop.
13992         * gdb.base/display.exp: Increment timeout by 60 seconds.
13993         Change float display test to use variable `f'.
13994
13995 2001-09-17  Jim Blandy  <jimb@redhat.com>
13996
13997         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
13998         overflowing the limited breakpoint tables on some ROM monitors
13999         (like the ROM68K).
14000
14001 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
14002
14003         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
14004         the "-ac" (disable access control) flag.
14005
14006 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
14007
14008         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
14009         ints.
14010
14011 2001-08-30  Keith Seitz  <keiths@redhat.com>
14012
14013         * lib/gdb.exp: Move all insight-related functionality into
14014         separate file.
14015         * lib/insight-support.exp: New file.
14016
14017 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
14018
14019         * config/sid.exp (sid_start): Never set sid verbosity; disable
14020         expect_background {} that consumed its stdout; tolerate </dev/null.
14021         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
14022
14023 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
14024
14025         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
14026         CLI jump command to start it.
14027         (mi_run_to_main): Fail immediatly when unexpected output.
14028
14029 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
14030
14031         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
14032         beginning of function.  Fix PR gdb/191.
14033
14034 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
14035
14036         * config/sid.exp (sid_start): Don't warn if we cannot figure out
14037         what to force sid endianness to.
14038
14039 2001-08-15  Keith Seitz  <keiths@redhat.com>
14040
14041         * lib/gdb.exp (gdbtk_start): Don't set environment
14042         variables for TCL_LIBRARY and friends. Insight will
14043         now figure these out for itself.
14044
14045 2001-08-02  Michael Snyder  <msnyder@redhat.com>
14046
14047         * gdb.base/completion.exp: Remove the symbol "a64l" from
14048         the expect string; this is target-specific, and not related
14049         to what is being tested.
14050
14051 2001-08-02  Dave Brolley  <brolley@redhat.com>
14052
14053         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
14054
14055 2001-07-25  Michael Snyder  <msnyder@redhat.com>
14056
14057         * gdb.base/consecutive.exp: New file.  Test stepping over
14058         breakpoints on consecutive instructions.
14059         * gdb.base/consecutive.c: New file.
14060
14061         * gdb.base/call-rt-st.exp: Use double-backslash to quote
14062         curly braces in regular expressions.
14063
14064 2001-07-25  Michael Snyder  <msnyder@redhat.com>
14065
14066         * gdb.base/ending-run.exp: Accept "Program exited normally" as
14067         legitimate output from stepping out of main.
14068
14069 2001-07-22  Keith Seitz  <keiths@redhat.com>
14070
14071         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
14072         the empty string, do not run the tests.
14073
14074 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14075
14076         * gdb.base/long_long.exp: Detect size of pointer.  Take into
14077         account 2-byte pointers when testing for p/a results.
14078
14079 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14080
14081         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
14082         and defined to 1K for m68hc11.
14083         (random_data): Reduce table to 1K for embedded platforms (68hc11).
14084         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
14085         (sizeof_random_data): New variable to tell the size of the data table;
14086         don't test past this size; always run to main.
14087
14088 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14089
14090         * gdb.base/return2.exp: return of long long and double fails for
14091         68HC11; don't execute these tests on that platform.
14092         * gdb.base/return.exp: Return of a double fails for 68hc11.
14093
14094 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14095
14096         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
14097         tests that print a float.
14098         * call-rt-st.exp: Likewise.
14099
14100 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
14101
14102         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
14103         running this test on Linux.
14104
14105 2001-06-24  Michael Chastain  <chastain@redhat.com>
14106
14107         * gdb.base/arithmet.exp: Remove some tests to make all test names
14108         unique.
14109
14110 2001-07-03  Michael Snyder  <msnyder@redhat.com>
14111
14112         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
14113         the output of the ptype command.
14114
14115 2001-07-02  Michael Snyder  <msnyder@redhat.com>
14116
14117         * gdb.base/completion.exp: Don't assume that break.c is the only
14118         source file that may contain functions named "marker".
14119         * gdb.base/corefile.exp: Quote the curly braces in regexp.
14120
14121 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
14122
14123         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
14124         of files to delete.
14125
14126         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
14127         * gdb.disasm/h8300s.exp: New file.
14128         gdb.disasm/h8300s.s: Likewise.
14129
14130 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
14131
14132         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
14133         empty breakpoint tables.
14134
14135 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
14136
14137         * lib/mi-support.exp: Update args=... part of stop-reason
14138         patterns. Accept either a list or a tuple.
14139
14140 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
14141
14142         * lib/mi-support.exp: Remove local emacs variable defining
14143         change-log-default-name.
14144
14145 2001-06-22  Michael Chastain  <chastain@redhat.com>
14146
14147         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
14148         This is operationally compatible with the previous version.
14149
14150 2001-06-13  Jim Blandy  <jimb@redhat.com>
14151
14152         * lib/gdb.exp (gdb_test): Doc fix.
14153
14154 2001-06-10  Michael Chastain  <chastain@redhat.com>
14155
14156         * gdb.base/exprs.exp: Remove a duplicate test.
14157
14158 2001-06-06  Jim Blandy  <jimb@redhat.com>
14159
14160         * gdb.base/return2.exp (main): Use values to test float and double
14161         returns that are not NaN's, to avoid being confused by IEEE
14162         comparison rules.
14163
14164 2001-06-04  Michael Snyder  <msnyder@redhat.com>
14165
14166         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
14167         non-zero if control_c fails.  Terminate the test on failure,
14168         rather than wait for 12 more tests to time out.
14169
14170 2001-06-06  Jim Blandy  <jimb@redhat.com>
14171
14172         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
14173         Don't forget to match the GDB prompt.
14174
14175         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
14176
14177 2001-06-04  Jim Blandy  <jimb@redhat.com>
14178
14179         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
14180         command.
14181
14182 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
14183
14184         * gdb.base/annota1.exp (info break): Match four or more spaces
14185         after "Address".
14186
14187 2001-05-31  Michael Chastain  <chastain@redhat.com>
14188
14189         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
14190         (dm_type_int_star): Likewise.
14191         (dm_type_long_star): Likewise.
14192         (dm_type_void_star): Likewise.
14193
14194 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
14195
14196         * gdb.base/completion.exp (INPUTRC): Set this environment variable
14197         to a known value in order to get consistent results regardless
14198         of the setting of INPUTRC or the presence or contents of .inputrc.
14199
14200 2001-05-24  Michael Snyder  <msnyder@redhat.com>
14201
14202         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
14203         Don't require that the main thread and the manager thread are the
14204         first in the list.
14205
14206         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
14207         debugging.  If test fails, issue an "unsupported" not a "fail".
14208
14209 2001-05-24  Jim Blandy  <jimb@redhat.com>
14210
14211         Don't assume that short is shorter than int.
14212         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
14213         assume that shorts are smaller than ints.  On a 16-bit machine,
14214         this isn't true.
14215         ("print unsigned char == (~0)"): Add test that verifies that ~0,
14216         an int, is not equal to ~0 stored in an unsigned char.  This tests
14217         the same thing that the previous test meant to, but works on
14218         16-bit machines, too.
14219         ("print unsigned char != (~0)"): Same test, complemented.
14220
14221 2001-05-24  Michael Snyder  <msnyder@redhat.com>
14222
14223         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
14224         test for (full_coverage == 0).  This makes the test run faster,
14225         and prevents dejagnu getting out of step.
14226
14227 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
14228
14229         * gdb.base/finish.exp (finish_void): Revise pattern for
14230         stopping on the call statement to not permit stopping at
14231         the start of the instructions comprising the call sequence.
14232
14233 2001-05-19  Michael Chastain  <chastain@redhat.com>
14234
14235         * gdb.base/callfuncs.exp: Make all test names unique.
14236         * gdb.base/commands.exp: Make all test names unique.
14237         * gdb.base/condbreak.exp: Make all test names unique.
14238         * gdb.base/dbx.exp: Make all test names unique.
14239         * gdb.base/default.exp: Make all test names unique.
14240         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
14241         and TIMEOUT messages to their corresponding PASS message.
14242         * gdb.base/ending-run.exp: Make all test names unique.
14243         * gdb.base/long_long.exp: Remove duplicate test.
14244
14245 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
14246
14247         * gdb.base/finish.exp (finish_void): Allow "finish" command to
14248         stop on the call statement as well as the statement after the
14249         call.
14250
14251 2001-05-21  Michael Snyder  <msnyder@redhat.com>
14252
14253         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
14254
14255 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
14256
14257         * gdb.base/completion.exp: Revamp test. Make it execute on all
14258         platforms.
14259
14260 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
14261
14262         * config/gdbserver.exp (gdb_load): Handle the case
14263         in which the arguments to gdbserver are given in the
14264         baseboard configuration file.
14265         Also handle the case in which the server needs to do a
14266         load.
14267
14268 2001-05-07  Keith Seitz <keiths@cygnus.com>
14269
14270         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
14271         set up the display for testing.
14272         (gdbtk_start): Convert all paths to paths that tcl will like.
14273         Export target information to environment.
14274         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
14275         necessary.
14276         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
14277         (to_tcl_path): New proc to convert a given pathname into
14278         a path acceptible as an argument to a tcl command.
14279         (_gdbtk_export_target_info): New proc to export target info
14280         into the environment for gdbtk testing.
14281         (gdbtk_done): New proc to signal end-of-test.
14282
14283 2001-05-06  Jim Blandy  <jimb@redhat.com>
14284
14285         * restore.c: Make the code of caller0 correspond to its comment.
14286
14287 2001-05-03  Michael Snyder  <msnyder@redhat.com>
14288
14289         * config/sid.exp (gdb_target_sid): Check for error messages.
14290         On error or timeout, don't make expect exit (which will terminate
14291         all subsequent tests); instead just make gdb exit.
14292         (gdb_load): Check for error messages.  On error or timeout,
14293         return a negative value.
14294
14295 2001-04-24  Jim Blandy  <jimb@redhat.com>
14296
14297         * gdb.c++/templates.exp: If we see the prompt for the overload
14298         list, but we haven't recognized any of the longer patterns,
14299         arrange for this test to fail, not hang.
14300
14301         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
14302         variations.
14303
14304 2001-04-22  Michael Chastain  <chastain@redhat.com>
14305
14306         * gdb.c++/local.exp: Use the 'runto' library function.
14307         * gdb.c++/namespace.exp: Likewise.
14308         * gdb.c++/overload.exp: Likewise.
14309
14310 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
14311
14312         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
14313         * gdb.base/step-line.exp: New file.  Test step/next in presence of
14314         #line directives.
14315         * gdb.base/step-line.c: New file.  Test program for the above.
14316         * gdb.base/step-line.inp: New file.  We pretend that this file has
14317         been transformed by some other tool into step-line.c.
14318
14319 2001-03-21  Jim Blandy  <jimb@redhat.com>
14320
14321         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
14322         unmangled operator names.
14323
14324 2001-03-20  Jim Blandy  <jimb@redhat.com>
14325
14326         * gdb.threads/linux-dp.exp: Recognize an additional message
14327         generated by GDB when it doesn't understand how to debug threads
14328         on the target system.
14329
14330 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
14331
14332         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
14333
14334 2001-03-12  Michael Chastain  <chastain@redhat.com>
14335
14336         * gdb.c++/derivation.exp: Use the 'runto' library function.
14337
14338 2001-03-12  Michael Chastain  <chastain@redhat.com>
14339
14340         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
14341
14342 2001-02-24  Michael Chastain  <chastain@redhat.com>
14343
14344         * gdb.c++/ref-types.exp: Change handwritten code to library
14345         function 'runto'.
14346
14347 2001-03-16  Orjan Friberg  <orjanf@axis.com>
14348
14349         * gdb.base/signals.exp: Set count to 0 explicitly.
14350
14351 2001-03-15  Mark Salter  <msalter@redhat.com>
14352
14353         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
14354         (gdb_target_monitor): Add check of gdb_target_cmd return value.
14355         (gdb_load): Add support for additional target_info: gdb_download_size
14356         and gdb_load_timeout.
14357
14358 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
14359
14360         * gdb.base/annota1.exp: Move test of isnative to earlier in the
14361         file -- to prevent failing when the compile fails but we have no
14362         intention of running the tests anyway.
14363
14364         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
14365         tests if set.
14366
14367         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
14368         integers.
14369
14370         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
14371         * gdb.c++/namespace.exp: Ditto.
14372
14373 2001-03-07  Orjan Friberg  <orjanf@axis.com>
14374
14375         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
14376         * gdb.base/pointers.exp: Relax pattern match of decimals.
14377
14378 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
14379
14380         * Makefile.in, config/abug.exp, config/cfdbug.exp,
14381         config/cpu32bug.exp, config/dve.exp, config/est.exp,
14382         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
14383         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
14384         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
14385         config/sh.exp, config/sid.exp, config/slite.exp,
14386         config/sparclet.exp, config/udi.exp, config/unknown.exp,
14387         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
14388         config/vxworks.exp, config/vxworks29k.exp,
14389         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
14390         gdb.base/all-bin.exp, gdb.base/annota1.exp,
14391         gdb.base/arithmet.exp, gdb.base/assign.exp,
14392         gdb.base/async.exp, gdb.base/attach.exp,
14393         gdb.base/bitfields.exp, gdb.base/bitops.exp,
14394         gdb.base/break.exp, gdb.base/call-ar-st.exp,
14395         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
14396         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
14397         gdb.base/commands.exp, gdb.base/completion.exp,
14398         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
14399         gdb.base/constvars.exp, gdb.base/corefile.exp,
14400         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
14401         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
14402         gdb.base/ending-run.exp, gdb.base/environ.exp,
14403         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
14404         gdb.base/finish.exp, gdb.base/foll-exec.exp,
14405         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
14406         gdb.base/funcargs.exp, gdb.base/help.exp,
14407         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
14408         gdb.base/logical.exp, gdb.base/long_long.exp,
14409         gdb.base/maint.exp, gdb.base/mips_pro.exp,
14410         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
14411         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
14412         gdb.base/pointers.exp, gdb.base/printcmds.exp,
14413         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
14414         gdb.base/regs.exp, gdb.base/relational.exp,
14415         gdb.base/remote.exp, gdb.base/reread.exp,
14416         gdb.base/restore.exp, gdb.base/return2.exp,
14417         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
14418         gdb.base/selftest.exp, gdb.base/setshow.exp,
14419         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
14420         gdb.base/sigall.exp, gdb.base/signals.exp,
14421         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
14422         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
14423         gdb.base/step-test.exp, gdb.base/structs.c,
14424         gdb.base/structs.exp, gdb.base/structs2.exp,
14425         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
14426         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
14427         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
14428         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
14429         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
14430         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
14431         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
14432         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
14433         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
14434         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
14435         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
14436         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
14437         gdb.fortran/types.exp, gdb.java/jmisc.exp,
14438         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
14439         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
14440         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14441         gdb.trace/circ.exp, gdb.trace/collection.exp,
14442         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14443         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14444         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
14445         gdb.trace/report.exp, gdb.trace/save-trace.exp,
14446         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14447         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
14448         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
14449         notices.
14450
14451 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
14452
14453         * gdb.base/varargs.c (find_max_double): Fix printf format string:
14454         first arg is int not float.
14455
14456 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
14457
14458         * gdb.base/reread.exp: Unsupported for non-native targets;
14459         doesn't work for remote debugging.
14460
14461 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
14462
14463         From  Drew Moseley  <dmoseley@redhat.com>
14464         * gdb.base/ending-run.exp: Properly handle the BSP state when
14465         stepping past the end of main.
14466
14467 2001-02-19  John Moore  <jmoore@redhat.com>
14468
14469         * gdb.base/commands.exp (infrun_breakpoint_command_test):
14470         Converted HPUX fix for non-expected items following multiple
14471         step commands into general solution for all platforms.
14472
14473 2001-02-18  Michael Chastain  <chastain@redhat.com>
14474
14475         * gdb.c++/classes.exp (do_tests): Change runto statements
14476         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
14477         statements demangler agnostic.
14478         * gdb.c++/virtfunc.exp (do_tests): Likewise.
14479         (gdb_virtfunc_restart): Likewise.
14480
14481 2001-02-14  Michael Chastain  <chastain@redhat.com>
14482
14483         * gdb.c++/inherit.exp (do_tests): Change runto statements
14484         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
14485         statements demangler agnostic.
14486
14487 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
14488
14489         * gdb.threads/pthreads.exp: Unify pass/fail messages for
14490         ``continue to bkpt at common_routine in thread 2'' and ``stopped
14491         before calling common_routine 15 times'' tests.
14492
14493 2001-02-11  Michael Chastain  <chastain@redhat.com>
14494
14495         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
14496         Helps the test script figure out which demangler is in use.
14497         (dm_type_foo_ref): Ditto.
14498         (dm_type_int_star): Ditto.
14499         (dm_type_long_star): Ditto.
14500         (dm_type_unsigned_int): Ditto.
14501         (dm_type_void): Ditto.
14502         (dm_type_void_star): Ditto.
14503         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
14504         Probe the gdb demangler and set variables to accommodate
14505         formatting differences.
14506         (info_func_regexp): New function.  Same as info_func, but
14507         matches against a regexp.
14508         (info_func): Match against a literal string.
14509         (print_addr_2): New function.  Match against a literal string,
14510         which can be different from the input to gdb.
14511         (print_addr): Simply call print_addr_2 with the same argument twice.
14512         (test_lookup_operator_functions): Use demangler formatting variables.
14513         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
14514         the tests in the same order as the C++ class declaration.
14515         (test_paddr_operator_functions): Ditto.
14516         (test_paddr_overloaded_functions): Ditto.
14517         (test_paddr_hairy_functions): Use demangler formatting variables.
14518         Add reference to gdb/19 for related tests.
14519         (do_tests): Call probe_demangler.
14520
14521 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
14522
14523         * gdb.c++/templates.cc (printf): Remove unused function definition.
14524
14525 2001-01-26  Felix Lee  <flee@redhat.com>
14526
14527         * sid.exp (sid_exit): Pass host, not target, to remote_close.
14528
14529 2001-01-25  matthew green  <mrg@redhat.com>
14530
14531         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
14532         up sid.
14533         (sid_exit): Call `remote_pop_conn' after GDB is gone.
14534
14535 2001-01-25  matthew green  <mrg@redhat.com>
14536
14537         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
14538         Deprecate $sid_spawn_id.
14539         (sid_exit): Remove code necessary only for `spawn.'
14540
14541 2001-01-25  matthew green  <mrg@redhat.com>
14542
14543         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
14544
14545 2001-01-28  Michael Chastain  <chastain@redhat.com>
14546
14547         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
14548         to call when tests fail.  It takes gdb out of the overloaded
14549         function choice menu back to the main prompt, so that the test
14550         program stays synchronized.
14551         (set_bp_overloaded): New proc to collect all the common
14552         code for setting a breakpoint on an overloaded name.  Calls
14553         take_gdb_out_of_choice_menu when needed.
14554         (menu_overload1arg): New variable to collect the repeated
14555         instances of the expected menu for an overloaded name.  Change
14556         the regular expression to handle changes in g++ type encoding:
14557         "void" can be either "void" or "", and "unsigned int" can be
14558         either "unsigned int" or "unsigned".
14559         (continue_to_bp_overloaded): Change regular expressions to handle
14560         changes in g++ type encoding.
14561         (no proc): Call take_gdb_out_of_choice_menu when needed.
14562         Remove redundant calls to "info break".  Accept either "canceled"
14563         or "cancelled".  Change regular expressions in "info break"
14564         calls to handle changes in g++ type encoding.  Give all tests
14565         unique strings.
14566
14567 2001-01-17  Ben Elliston  <bje@redhat.com>
14568
14569         * config/sid.exp: New file.
14570
14571 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
14572
14573         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
14574
14575 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
14576
14577         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
14578         Add a RE to accept a non-ascii char if one is ever presented.
14579
14580 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
14581
14582         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
14583
14584 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
14585
14586         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
14587         in regexp.  One '\' does not suffice on Linux.
14588
14589 2000-12-09  Michael Chastain  <chastain@redhat.com>
14590
14591         * gdb.base/break.exp (test_clear_command): Use a marker function
14592         rather than 'main' for the test function.  Also move this
14593         test to an execution point where the marker function names are
14594         guaranteed to be bound to functions.  (Executing tests after a
14595         'finish' from main runs into name conflicts with local names
14596         in __libc_start_main).
14597
14598 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
14599
14600         * gdb.base/finish.exp: New test for gdb's "finish" command.
14601         * gdb.base/return2.exp: New test for gdb's "return" command.
14602         * gdb.base/return2.c: New source file for above.
14603
14604 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
14605
14606         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
14607         * gdb.base/miscexprs.exp: Ditto.
14608         * gdb.base/pointers.exp:  Ditto.
14609         * gdb.c++/derivation.exp: Ditto.
14610         * gdb.c++/local.exp:      Ditto.
14611         * gdb.c++/namespace.exp:  Ditto.
14612         * gdb.c++/overload.exp:   Ditto.
14613         * gdb.c++/ref-types.exp:  Ditto.
14614
14615 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
14616
14617         * gdb.base/constvars.exp: Test result of "up" command.
14618         * gdb.base/miscexprs.exp: Ditto.
14619         * gdb.base/pointers.exp:  Ditto.
14620         * gdb.base/scope.exp:     Ditto.
14621         * gdb.c++/derivation.exp: Ditto.
14622         * gdb.c++/local.exp:      Ditto.
14623         * gdb.c++/namespace.exp:  Ditto.
14624         * gdb.c++/overload.exp:   Ditto.
14625         * gdb.c++/ref-types.exp:  Ditto.
14626
14627 2000-11-22  Michael Chastain  <chastain@redhat.com>
14628
14629         * mips_pro.exp: Accept either "middle -> top -> main" or
14630         "middle -> main" in the backtrace, because gcc can optimize
14631         tail calls to jumps.  Remove setup_xfail for the hppa case.
14632         Add a comment with the original warning messages from PR 3016,
14633         which was filed in 1993, to preserve them for posterity.
14634
14635 2000-11-17  Nick Duffek  <nsd@redhat.com>
14636
14637         * lib/gdb.exp (gdb_test): Override timeout with board info.
14638
14639 2000-11-17  Nick Duffek  <nsd@redhat.com>
14640
14641         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
14642         the second kill and detach messages.
14643
14644 2000-11-17  Nick Duffek  <nsd@redhat.com>
14645
14646         * configure.in: Add AC_EXEEXT.
14647         * configure: Regenerate.
14648         * Makefile.in (just-check): Export EXEEXT.
14649         * lib/gdb.exp ($EXEEXT): Import from environment.
14650         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
14651         expect "maint dump-me" on Cygwin.
14652         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
14653         $EXEEXT.
14654
14655 2000-11-17  Nick Duffek  <nsd@redhat.com>
14656
14657         * gdb.base/break.exp: Test backtrace and finish from called
14658         function on all platforms, not just HP-UX.
14659
14660 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
14661
14662         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
14663         code from gdb_target_monitor, so it can be used independantly
14664         for gdbserver.  Also comment out an unnecessary PUTS.
14665
14666 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
14667
14668         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
14669         * gdb.base/corefile.exp: Expect the message "Program is being
14670         debugged already" when we send the "corefile" command, since
14671         the preceeding gdb_load may have connected gdb to a remote target.
14672         * gdb.base/display.exp: Disable hardware watchpoints if new
14673         board info variable "no_hardware_watchpoints" is true.
14674         Replace single-letter commands with more readable ones.
14675         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
14676         if new board info variable "no_hardware_watchpoints" is true.
14677         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
14678         to see if stdio (printf) testing is possible.
14679         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
14680         board info variable "no_hardware_watchpoints" is true.  Use new
14681         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
14682
14683 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
14684
14685         From Orjan Friberg  <orjanf@axis.com>:
14686         * gdb.base/printcmds.exp: Escape curly braces followed by a number
14687         in array print pattern match.
14688
14689 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
14690
14691         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
14692         spelling "cancelled" to U.S. spelling "canceled" to match changes
14693         made to gdb.
14694         * gdb.c++/ovldbreak.exp: Ditto.
14695
14696 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
14697
14698         * gdb.base/callfuncs.c (main):  Moved to end of file, call
14699         t_double_values to initialize the FPU before inferior calls are made.
14700         * gdb.base/callfuncs.exp:  Test for register preservation after calling
14701         inferior functions.  Add tests for continuining, finishing and
14702         returning from a stop in a call dummy.
14703
14704 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
14705
14706         * gdb.base/commands.exp: Break up long lines, and re-indent.
14707
14708 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
14709
14710         * config/gdbserver.exp:  Rewritten from the ground up, to make it
14711         compatible with the current dejagnu tree, and to make it work with
14712         the new "gdbserver" in libremote.
14713
14714 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
14715
14716         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
14717         * gdb.base/varargs.exp: Skip entire test if no printf support.
14718         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
14719         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
14720
14721 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
14722
14723         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
14724         no floating point support.
14725         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
14726         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
14727         * gdb.base/call-rt-st.exp: Ditto.
14728         * gdb.base/call-strs.exp: Ditto.
14729
14730 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
14731
14732         * gdb.base/sizeof.c: include <stdio.h>.
14733
14734         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
14735         'finish', otherwise uncaptured gdb_prompt would potentially
14736         throw remaining test points out of sync.
14737
14738 2000-07-26  Scott Bambrough <scottb@netwinder.org>
14739
14740         * gdb.base/recurse.exp: Run tests for all targets.
14741         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
14742         gnu-oldld case on ARM.
14743         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
14744         for ARM targets.
14745
14746 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
14747
14748         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
14749         * gdb.java/configure: Rebuild.
14750
14751 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
14752
14753         * gdb.java/jv-exp.exp: New file.
14754
14755 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
14756
14757         * configure: Rebuilt.
14758         * configure.in (configdirs): Add gdb.java.
14759         * gdb.java/jmisc.java: New file.
14760         * gdb.java/jmisc.exp: New file.
14761         * gdb.java/Makefile.in: New file.
14762         * gdb.java/configure: Rebuilt.
14763         * gdb.java/configure.in: New file.
14764         * lib/java.exp: New file.
14765
14766 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
14767
14768         * gdb.base/exprs.exp: Test casts to a pointer including over and
14769         underflow.
14770
14771 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
14772
14773         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
14774         and the compilers sizes.
14775
14776 2000-07-09  Nick Duffek  <nsd@redhat.com>
14777
14778         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
14779         (use_methods): New function.
14780         (main): Call use_methods().
14781         * gdb.c++/classes.exp (test_method_param_class): New procedure.
14782         (do_tests): Call test_method_param_class.
14783
14784 2000-07-09  Nick Duffek  <nsd@redhat.com>
14785
14786         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
14787         spelling.
14788         (test_enums): New procedure.  Move enum tests from end of script
14789         to here.  Set breakpoint on function name instead of line number.
14790         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
14791         (enums2): New marker function.
14792         (enums1): New function.
14793         (main): Call enums1().  Move enum tests to enums1().
14794
14795 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
14796
14797         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
14798         compile/link program.  Update line numbers.
14799         * gdb.asm/d10v.inc: Define ``startup''.
14800         * gdb.asm/asmsrc1.s: Add definition of _start.
14801
14802 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
14803
14804         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
14805
14806 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
14807
14808         * gdb.base/maint.exp: Add 'maint print architecture' item to output
14809         of 'help maint print' command.
14810
14811 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
14812
14813         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
14814         they use gdb_expect_list.
14815
14816 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
14817
14818         * gdb.base/commands.exp: Use ``set remote
14819         memory-read-packet-size'' instead of ``set endian big'' to test
14820         long commands.
14821
14822 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
14823
14824         * gdb.c++/templates.exp (do_tests): Make all of these work under
14825         g++, and stop skipping them.
14826
14827         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
14828         work under g++.
14829
14830         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
14831         initialization.
14832
14833 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
14834
14835         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
14836         the regular expression: accept an (almost) arbitrary sequence of
14837         "frames-invalid" and "breakpoints-invalid" messages both before
14838         and after the "starting" message.
14839
14840 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
14841
14842         * gdb.c++/local.exp: This test has never been known to work with g++.
14843
14844 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
14845
14846         * gdb.base/annota1.exp (annotate-signal-handler-caller):
14847         Relax the regular expression a little, make it pass on Solaris 8.
14848
14849 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
14850
14851         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
14852         a call, do not require that gdb stop on the line after the call.
14853         Instead, it is permissible for gdb to stop on the line of the
14854         call itself.
14855
14856 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
14857
14858         * gdb.base/break.exp (bp on small function, optimized file):
14859         Add a second pass pattern.  The behavior differs here between stabs
14860         and dwarf for one-line functions.  Stabs preserves two line symbols
14861         (one before the prologue and one after) with the same line number,
14862         but dwarf regards these as duplicates and discards one of them.
14863         Therefore the address after the prologue (where the breakpoint is)
14864         has no exactly matching line symbol, and GDB reports the breakpoint
14865         as if it were in the middle of a line rather than at the beginning.
14866
14867 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
14868
14869         * gdb.base/interrupt.exp: Make "pass" message say "send"
14870         rather than "send_gdb" (for consistancy).
14871
14872 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
14873
14874         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
14875         * gdb.c++/templates.cc: Properly check for GCC version number.
14876         * lib/compiler.cc: Likewise
14877
14878 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
14879
14880         * gdb.base/break.exp: When compiled with -O2 optimization,
14881         gdb may not stop at the first line of main, due to code motion.
14882
14883 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
14884
14885         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
14886         This test depends on parsing the printf output from the target.
14887         Since the sparclet stub doesn't do stdio, this will never work.
14888         * gdb.base/call-rt-st.exp: ditto.
14889         * gdb.base/call-strs: ditto.
14890
14891 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
14892
14893         * gdb.base/miscexprs.exp: make sizeof long array test portable.
14894
14895         * gdb.base/ending-run.exp: After connecting to a remote target,
14896         but before running, the target will appear to be in a random
14897         location.  Specify both a file and a line for breakpoints.
14898         Also, the function that calls main may be called 'init'
14899         rather than 'start'.
14900
14901 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
14902
14903         * gdb.base/help.exp: Update output for add-symbol-file command.
14904
14905 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
14906
14907         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14908         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
14909
14910 2000-04-07  J.T. Conklin  <jtc@redback.com>
14911
14912         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
14913
14914         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
14915
14916 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
14917
14918         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
14919         values that can be represented exactly.
14920         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
14921         above change, and to not check against the directory part of the source
14922         file name.
14923         (step into print_long_arg_list): Likewise.
14924         (print print_small_structs from print_long_arg_list): Likewise.
14925         (print print_long_arg_list): Likewise.
14926
14927 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
14928
14929         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
14930
14931 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
14932
14933         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
14934
14935 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
14936
14937         * gdb.base/commands.exp (deprecated_command_test): Add test for
14938         deprecate with no arguments.
14939
14940 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
14941
14942         * gdb.base/break.exp: Add new test for setting breakpoints on
14943         optimized code so we can test breakpoints work even when function
14944         prologues may be optimized away
14945
14946 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
14947
14948         From David Whedon <dwhedon@gordian.com>
14949         * gdb.base/commands.exp : Added command deprecator tests.
14950
14951 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
14952
14953        * gdb.base/help.exp: Added test for new apropos command.
14954
14955 2000-03-21  Kevin Buettner <kevinb@redhat.com>
14956
14957         * gdb.base/pointers.c (usevar): New function.
14958         (main): Make sure that global variables v_int_pointer2, rptr,
14959         and y are all referenced someplace in the program by calling
14960         usevar() on them.  [Some linkers delete symbols which are
14961         never referenced.  The space remains, but there's no way to
14962         get a (symbolic) handle on the variable from the debugger.]
14963
14964 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
14965
14966         * gdb.base/printcmds.c: Add typedeffed arrays.
14967
14968         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
14969         procedure to test arrays that are typedef'd.
14970
14971 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
14972
14973         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
14974         the library directories.
14975
14976 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
14977
14978         * configure.in (configdirs): Add sub directory gdb.mi.
14979         * configure: Re-generate.
14980
14981         * gdb.mi: New directory.
14982
14983 2000-02-25  Scott Bambrough <scottb@netwinder.org>
14984
14985         * gdb.base/long_long.exp: Correct test suite failure when printing
14986         a long long value as a double on ARM platforms.
14987
14988 2000-02-16  Jim Blandy  <jimb@redhat.com>
14989
14990         * gdb.base/break.exp ("breakpoint line number"): Make sure the
14991         default source file is set properly before running this test.
14992
14993 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
14994
14995         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
14996         gdbtk/library directory, not in gdbtcl2.
14997
14998 2000-02-04  Jim Blandy  <jimb@redhat.com>
14999
15000         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
15001         backslash from regexp pattern.
15002
15003         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
15004         procedure.  Use it to run all the "continue to bp overloaded"
15005         tests.  Note that this changes the names of the tests slightly.
15006         If the breakpoint hit message includes a hex PC value, because
15007         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
15008         from the real source code, still consider that a pass.
15009
15010         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
15011         XFAIL here if the breakpoint message contains a hex address.  Note
15012         similar change on 1999-11-02.
15013
15014         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
15015
15016         * gdb.base/ptype.exp: Establish a default source file before
15017         calling get_debug_format.
15018
15019 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15020
15021         * gdb.base/watchpoint.exp: Remove duplication of test messages.
15022
15023 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15024
15025         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
15026         of successive stepi commands -- while in the prologue we should see
15027         the function entry bracket.
15028
15029 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15030
15031         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
15032         reach __change_mode() when stepping through the end of main().
15033
15034 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15035
15036         * gdb.base/default.exp: Fix expected pattern.
15037         * gdb.base/help.exp: Same.
15038
15039 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15040
15041         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
15042         Don't use xfail's because that affects only the following test.
15043
15044         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
15045         solaris or linux.
15046
15047         * gdb.base/selftest.exp: Update to reflect changes to main.c.
15048
15049 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
15050
15051         * gdb.base/display.exp: Some yacc parsers like to say
15052         "A syntax error" rather than "A parse error".  Accept both.
15053
15054 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15055
15056         * gdb.base/default.exp: Remove OS dependent string from "target
15057         remote" test.
15058         * gdb.base/help.exp: Same for "help target remote" test.
15059
15060 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15061
15062         From Jim Kingdon <kingdon@redhat.com>:
15063
15064         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
15065         prompt (cleanup rather than necessity, but still might keep output
15066         from spilling to next test).
15067
15068 2000-01-02  Fred Fish  <fnf@cygnus.com>
15069
15070         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
15071         AIX, which defines them in <sys/types.h>.
15072
15073 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
15074
15075         * gdb.base/default.exp: Match arm* etc instead of arm in "info
15076         float" test.
15077
15078 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
15079
15080         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
15081
15082         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
15083         outermost frame disallowed".
15084
15085 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15086
15087         * gdb.base/setvar.exp: New tests for setting the value of a struct
15088         with a constant list.
15089
15090 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15091
15092         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
15093         require the user to type a cast before setting the value of a struct.
15094
15095 1999-12-06  Jim Blandy  <jimb@cygnus.com>
15096
15097         * gdb.base/default.exp: Expect the new 'info float' command on
15098         all i386 platforms.
15099
15100         * gdb.threads/linux-dp.exp: Expand our ability to recognize
15101         LinuxThreads libraries that don't support debugging.
15102
15103 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
15104
15105         * gdb.base/remote.c: Fill the buffer with truely random data.
15106         Change the buffer type to ``unsigned char'' to simplify size
15107         arithmetic.
15108
15109         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
15110         stub only handles 400-1 byte packets.  Verify that the download
15111         worked.
15112
15113 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15114
15115         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
15116         tests, using UNRESOLVED for the untested cases.  Also, does not wait
15117         for a timeout if the prompt was received before a recognizable pattern.
15118
15119 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15120
15121         * lib/gdb.exp (gdb_expect_list): Fix spelling.
15122
15123 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15124
15125         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
15126         watchpoints.
15127
15128 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
15129
15130         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
15131
15132         * gdb.c++/local.exp: Be more flexible in recognizing local class
15133         name mangling.  Don't allow horribly truncated method names.
15134         * gdb.c++/derivation.exp: Expect protected inheritance.
15135         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
15136         * gdb.c++/virtfunc.exp: Likewise.
15137         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
15138         when printing a nested enum.
15139
15140 1999-11-22  Jim Blandy  <jimb@cygnus.com>
15141
15142         * gdb.base/step-test.exp: Properly await GDB's response to setting
15143         a breakpoint on the call to large_struct_by_value.
15144
15145         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
15146         just because we have debug info for the `start' function.
15147
15148 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
15149
15150         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
15151         "Unknown signal" messages, which indicate (on LinuxThreads) that
15152         GDB doesn't know how to debug threads on this system.  This is
15153         better than hanging while philosopher 0 dumps chatter into gdb.log.
15154
15155 1999-11-18  Tom Tromey  <tromey@cygnus.com>
15156
15157         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
15158
15159 1999-11-18  Fred Fish  <fnf@cygnus.com>
15160
15161         * gdb.base/coremaker2.c: Add sample program for generating
15162         cores that is more self contained than coremaker.c.  Eventually
15163         I'll add more code to this and tie it into the testsuite.
15164
15165 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
15166
15167         * gdb.base/dollar.exp: Remove, now in gdb.hp.
15168
15169 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
15170
15171         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
15172         from $srcdir/lib/.
15173         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
15174         and gdb.c++/.
15175
15176         * gdb.c++/derivation.exp: remove redundant get compiler info code.
15177
15178         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
15179         'continue with watch' test point.
15180
15181 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
15182
15183         Merged from p2linux-990323-branch:
15184
15185         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
15186
15187 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
15188
15189         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
15190         {limit,fixed}''.  Test ``set download-write-size''.
15191
15192 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
15193
15194         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
15195         gdb_expect_list.
15196
15197 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
15198
15199         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
15200
15201 1999-11-03  Mark Salter  <msalter@cygnus.com>
15202
15203         * gdb.base/break.exp: Fix "stub continue" pattern.
15204
15205 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
15206
15207         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
15208
15209 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
15210
15211         * gdb.base/display.exp ("finish"): Add timeout clause.
15212
15213         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
15214         plain prompt clause, so this doesn't have to time out in order to
15215         fail.
15216
15217         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
15218         breakpoint hit messages include an address.
15219
15220         * gdb.base/display.exp: Don't forget to escape parens in regular
15221         expressions.  Unix regexp notatation sucks.
15222
15223 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15224
15225         * gdb.base/annota1.exp: Test for annotate-signalled: change output
15226         order for 'signalled' message.
15227
15228 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
15229
15230         From Jimmy Guo  <guo@cup.hp.com>:
15231         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
15232         * gdb.base/annota1.c: Add code for tests to work with.
15233
15234 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
15235
15236         * gdb.base/remote.exp: New test for remote downloading settings.
15237         * gdb.base/remote.c: New file with large .data.
15238
15239 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
15240
15241         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
15242         for LinuxThreads support, merged from the Code Fusion branch.
15243
15244 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
15245
15246         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
15247         containing exp_continue into a while within an expect.  Don't
15248         attempt a start more than three times.  Check return value from
15249         gdb_load.
15250
15251 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
15252
15253         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
15254         a pass case.
15255
15256 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
15257
15258         * gdb.base/break.c (main): Added a statement that we can step
15259         off of.
15260         * gdb.base/break.exp: Added tests for setting a breakpoint
15261         at an offset and stepping onto a breakpoint.
15262
15263 1999-10-01  Fred Fish  <fnf@cygnus.com>
15264
15265         * gdb.base/help.exp (help add-symbol-file): Update to match current
15266         gdb output.
15267
15268 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
15269
15270         * gdb.base/break.exp: Code locations are in hex, don't forget!
15271         (For HP-UX.)
15272
15273 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
15274
15275         * condbreak.exp: Use break.c as test program.
15276         * condbreak.c: Remove, redundant with break.c.
15277
15278 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
15279
15280         * config/monitor.exp (gdb_target_monitor): Disable X- and
15281         Z-packets if the target needs it.
15282
15283 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
15284
15285         * gdb.c++/overload.exp: Added tests for listing overloaded
15286         functions with function pointers in the arg, explicitly calling
15287         out the version you want.
15288
15289 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
15290
15291         * long_long.exp: Add variations of test cases that work for
15292         targets with 16-bit ints and 32-bit doubles.
15293
15294 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
15295
15296         * break.c (main): Compare a possibly-uninitialized argc with an
15297         unlikely value that fits in 16 bits.
15298
15299 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
15300
15301         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
15302         0xfeeb, don't want negative numbers if ints are 16 bits.
15303
15304         * lib/gdb.exp (skip_cplus_tests): New proc.
15305         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
15306         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
15307         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
15308         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
15309         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
15310         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
15311         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
15312         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
15313
15314         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
15315
15316 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
15317
15318         * gdb.base/corefile.exp (up): Allow a parameter to appear
15319         in the frame that we're going up to.
15320
15321         From Jim Blandy <jimb@cygnus.com>:
15322
15323         * gdb.base/default.exp (info float): Expect some output now.
15324
15325         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
15326         returning floating-point values to fail on the x86.
15327         * gdb.base/callfwmall.exp (do_function_calls): Same.
15328
15329         * gdb.base/list.exp (test_listsize): Correct expectations for
15330         listing line 1 with listsize 2.  Also, listing a single line
15331         works now, as does listing three lines.  [Kevin's note: There
15332         were a number of other cases fixed too where the expectations
15333         differed...]
15334
15335 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
15336
15337         * gdb.base/selftest.exp: Add case for when version prints as
15338         constant string instead of char pointer.
15339
15340 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
15341
15342         * gdb.base/ending-run.exp: Add Solaris case for what happens when
15343         stepping out of main.
15344
15345         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
15346         G++ used.
15347
15348         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
15349         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
15350
15351         * gdb.c++/ovldbreak.exp: Update match string in test that
15352         includes a warning of multiple breakpoints.
15353
15354 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
15355
15356         * gdb.base/display.exp: Improve precision of step-after-finish
15357         added yesterday.
15358
15359         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
15360         test.
15361
15362         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
15363         configs when using G++, not just hppa*.
15364
15365 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15366
15367         * gdb.base/async.c: New file.
15368         * gdb.base/async.exp: New file.
15369
15370 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
15371
15372         * gdb.base/break.exp: Tweak PA specific tests to properly handle
15373         PA64.
15374
15375 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
15376
15377         * gdb.base/display.exp: "finish" can leave us mid-line on many
15378         targets, deal with it.  Add a small constant to main, instead of
15379         1000 since main+1000 may not be a valid address in the target.
15380
15381         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
15382         on hpux11.
15383
15384         * gdb.base/attach.exp: Handle another hpux11 error message variant
15385         when attaching to a process that does not exist.
15386
15387 1999-08-19  J.T. Conklin  <jtc@redback.com>
15388
15389         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
15390         characters in 'continue to 1241' test.
15391
15392 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
15393
15394         * gdb.base/call-ar-st.exp: Add a shorter match case for the
15395         stop in print_long_arg_list, define and use a whitespace
15396         variable in print_small_structs test, add an XFAIL for Solaris.
15397         * gdb.base/dbx.exp: XFAIL func commands until somebody is
15398         interested enough to fix.
15399
15400 1999-08-13  Keith Seitz  <keiths@cygnus.com>
15401
15402         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
15403         (dbx_gdb_load): Remove. Use gdb_load instead, since that
15404         proc knows about targets other than the natives.
15405         (test_assign): Use "gdb_run_cmd" to "run" the target.
15406         Check that we've actually hit the breakpoint at main.
15407         When we attempt to assign a value to a local variable, check
15408         that the variable is in the current scope, i.e., don't use
15409         a test with an empty result.
15410
15411 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
15412
15413         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
15414         command.
15415
15416 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
15417
15418         From Jimmy Guo <guo@cup.hp.com> and others at HP:
15419         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
15420         gdb.compat, gdb.threads-hp.
15421         gdb.hp/configure, gdb.hp/configure.in: New files.
15422         gdb.hp/Makefile.in: Recurse into new subdirs.
15423         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
15424         gdb.hp/gdb.objdbg: New directory, tests for debugging info
15425         in object files.
15426         gdb.hp/tools: New directory, aux tools for HP-specific tests.
15427
15428 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
15429
15430         * gdb.base/display.exp: Help expect by putting a newline in the
15431         funky printf, remove a bogus p/a test.
15432
15433 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15434
15435         * gdb.base/display.exp: Make sure that when we say 'run', we are
15436         connected to the target. This is necessary when running not
15437         natively.
15438
15439 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
15440
15441         * gdb.base/step-test.exp: Removed some extraneous messages.
15442
15443         * gdb.base/long_long.exp: Don't run memory examination tests
15444         on little-endian targets (they will need a different set of
15445         results to match).
15446
15447 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
15448
15449         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
15450         until somebody decides to fix GDB.
15451
15452         * gdb.base/long_long.c: Stop compiler complaint by specifying long
15453         constant as "ULL".
15454         * gdb.base/long_long.exp: Loosen x/c test, add partial result
15455         matches for a couple x/2 commands.
15456
15457 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
15458
15459         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
15460         by merging in ref-types2 tests.
15461         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
15462
15463         From Jimmy Guo <guo@cup.hp.com> and others at HP:
15464         * gdb.c++/Makefile.in: Add standard actions.
15465         (EXECUTABLES): Rename from PROGS, update list.
15466         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
15467         from gdb.hp.
15468         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
15469         foo and bar locals.
15470         * gdb.c++/anon-union.exp: Fix tests to match.
15471         * gdb.c++/classes.exp: Run if HP compiler used, add extra
15472         expect matches to handle output variations.
15473         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
15474         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
15475         output, add HP alternatives for new and delete prints.
15476         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
15477         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
15478         * gdb.c++/demangle.exp: Use $style when reporting failure.
15479         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
15480         * gdb.c++/inherit.exp: Run if HP compiler used, add some
15481         match alternatives.
15482         * gdb.c++/local.exp: Add match alternatives or xfails for HP
15483         compilers.
15484         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
15485         * gdb.c++/method.exp: Add match alternatives.
15486         * gdb.c++/misc.cc: Add bool types.
15487         * gdb.c++/misc.exp: Add tests for bool types.
15488         * gdb.c++/overload.exp: Add xfails.
15489         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
15490         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
15491         add some more template parameter tests (only for HP currently).
15492         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
15493         * gdb.c++/virtfunc.cc: Add return type and value for main.
15494         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
15495         match alternatives.
15496
15497 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15498
15499         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
15500
15501 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
15502
15503         * gdb.base/signals.exp: Don't expect getting a backtrace from
15504         within a signal handler to fail on Linux.
15505
15506 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
15507
15508         From Jimmy Guo <guo@cup.hp.com> and others at HP:
15509         * lib/gdb.exp: Remove some gratuitious semicolons.
15510         (delete_breakpoints): Increase timeout.
15511         (gdb_expect): Add -notransfer option.
15512         (gdb_test): Use -notransfer option.
15513         (get_compiler_info): Add f77 case.
15514         (get_compiler): New proc, split out from gdb_preprocess, add f77
15515         case.
15516         (gdb_preprocess): Call get_compiler.
15517
15518         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
15519         * gdb.base/attach.exp, gdb.base/display.exp,
15520         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
15521         gdb.base/long_long.exp, gdb.base/printcmds.exp,
15522         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
15523         third arg to gdb_test.
15524         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
15525         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
15526         HP-UX xfails, add others.
15527         * gdb.base/completion.exp: Reflect name change of self-test.
15528         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
15529         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
15530         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
15531         HP failure number.
15532         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
15533         useless HP-UX 10.30 references.
15534         * gdb.base/maint.exp: Loosen matches.
15535         * gdb.base/pointers.c (main): Declare more_code.
15536         * gdb.base/pointers.exp: Match on output of a `next'.
15537         * gdb.base/structs.c: Add prototypes.
15538         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
15539         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
15540
15541 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15542
15543         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
15544         command.
15545
15546 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15547
15548         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
15549         Fix run to main failures. Watchpoint can be hardware watchpoint.
15550
15551         * gdb.base/annota1.exp: Clean up some more, in case printf has
15552         debug info.  Deal with lack of signal hanlder info in stack.
15553
15554         From Jim Kingdon  <kingdon@redhat.com>:
15555         * gdb.base/annota1.exp: If printf has debug info, deal with it.
15556
15557 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
15558
15559         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
15560         gdb.base/foll-vfork.exp: Don't run for crosses.
15561
15562 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
15563
15564         * gdb.base/configure.in: Check for gdbvars.exp instead of
15565         a1-selftest.exp.
15566         * gdb.base/configure: Re-generate.
15567
15568 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
15569
15570         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
15571         in trying to run first and name is too long.
15572
15573         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
15574         pointers2.c and pointers2.exp, respectively.
15575         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
15576         doschk happier.
15577
15578 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
15579
15580         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
15581         callfuncs2.c and callfuncs2.exp.
15582
15583         * gdb.base/list.exp: Remove mistaken xfails.
15584         * gdb.base/list0.h: Add optional prototypes.
15585
15586 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
15587
15588         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
15589         calling malloc.
15590         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
15591         * ptype.exp: Move test for get_debug_format to before its first
15592         use.
15593
15594 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15595
15596         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
15597         * gdb.base/annota2.cc, annota2.exp: Move from here.
15598         * gdb.c++/annota2.cc, annota2.exp: To here.
15599         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
15600
15601 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
15602
15603         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
15604         a consistent format.
15605
15606 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
15607
15608         From Jimmy Guo <guo@cup.hp.com> and others at HP:
15609         * lib/gdb.exp (get_compiler_info): Add detection for assorted
15610         HP compilers, also set the globals $true and $false.
15611
15612         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
15613         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
15614         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
15615         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
15616         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
15617         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
15618         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
15619         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
15620         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
15621         whatis.c} Add C++ compatible function definitions and return
15622         types, add includes for library functions.
15623         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
15624         * gdb.base/step-test.c (myglob): Rename from glob.
15625         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
15626         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
15627         files, move here from gdb.hp.
15628         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
15629         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
15630         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
15631         Adjust line numbers in regexps.
15632
15633         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
15634         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
15635         instead of 0/1.
15636
15637         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
15638         foll-vfork.exp: New files, move here from gdb.hp.
15639         * gdb.base/page.exp: New file, test of pagination command.
15640
15641         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
15642         recursion test.
15643         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
15644
15645         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
15646         gdb.base/solib.exp: Fix compiler invocation process.
15647
15648         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
15649         HP-UX 11, turn off overload resolution explicitly.
15650         * gdb.base/commands.exp: Set argument list explicitly, add
15651         watchpoint test.
15652         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
15653         them work.
15654         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
15655         expressions properly.
15656         * gdb.base/corefile.exp: Loosen the match slightly.
15657         * gdb.base/default.exp: Allow "Error accessing memory" message
15658         also.
15659         * gdb.base/display.exp: Skip over x/0 j if PA64.
15660         * gdb.base/funcargs.exp: Add xfails for HP-UX.
15661         * gdb.base/interrupt.exp: Ditto.
15662         * gdb.base/langs.exp: Add symbolic matches governed by compiler
15663         in use.
15664         * gdb.base/list.exp: Add xfails for HP-UX.
15665         * gdb.base/long_long.exp: Refine some of the numeric matches.
15666         * gdb.base/mips_pro.exp: Xfail on HP-UX.
15667         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
15668         * gdb.base/nodebug.exp: Succeed on more varieties of output.
15669         * gdb.base/opaque.exp: Remove some HP-UX xfails.
15670         * gdb.base/ptype.exp: Succeed on more varieties of output.
15671         * gdb.base/scope.exp: Add xfails for HP-UX.
15672         * gdb.base/sect-cmd.exp: Add more cases.
15673         * gdb.base/setvar.exp: Add xfails for HP-UX.
15674         * gdb.base/shlib-call.exp: Loosen some matches slightly.
15675         * gdb.base/signals.exp: Match on void symbolically.
15676         * gdb.base/step-test.exp: Add case for PA64.
15677         * gdb.base/term.exp: Add exit and restart.
15678         * gdb.base/twice.exp: Clean up after self.
15679         * gdb.base/varargs.exp: Disable overload resolution explicitly.
15680         * gdb.base/whatis.exp: Allow more ways to pass tests.
15681
15682         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
15683         no longer useful.
15684
15685 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
15686
15687         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
15688         list of patterns.
15689         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
15690         print_double_array(double_array)", "continuing to breakpoint
15691         1018", "print print_double_array(array_d)" and "continuing to
15692         1034" tests.
15693
15694 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
15695
15696         * Makefile.in: Add empty html and install-html targets.
15697
15698 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
15699
15700         * config/mt-*: Remove, these haven't been used since 1996.
15701
15702 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
15703
15704         * gdb.base/call-strs.c, gdb.base/ending-run.c,
15705         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
15706         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
15707
15708 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
15709
15710         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
15711         simpler match case for the ptype of the big class.
15712
15713 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15714
15715         * gdb.exp: Fix test for gdb_prompt existence.
15716
15717 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15718
15719         * gdb.exp (gdb_test): Add fail after calls to perror.
15720
15721 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15722
15723         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
15724
15725 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15726
15727         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
15728
15729 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
15730
15731         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
15732         malloc() is linked in.
15733
15734 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
15735
15736         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
15737         step at end.
15738
15739         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
15740
15741 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
15742
15743         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
15744
15745 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
15746
15747         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
15748         * gdb.base/mips_pro.exp: Likewise.
15749
15750 1999-06-02  Keith Seitz  <keiths@cygnus.com>
15751
15752         * gdb.c++/templates.cc: Change all "new" operators to throw
15753         an exception.
15754         * gdb.c++/cplusfuncs.cc: Likewise.
15755
15756         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
15757
15758 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
15759
15760         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
15761         * gdb.base/ending-run.exp: When stepping out of main, accept a
15762         step into an arbitrary assembler file.
15763
15764 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15765
15766         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
15767         "breakpoint-invalid" to be printed.
15768         * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
15769         number of "frames-invalid" and "breakpoint-invalid" to be printed.
15770         * gdb.base/annota2.cc: Initialize a.x to 0.
15771
15772 1999-05-17  Keith Seitz  <keiths@cygnus.com>
15773
15774         * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
15775         when "skip_float_tests" set.
15776         Ditto for "print print_double_array(array_d)", "print print_small_structs",
15777         "print print_ten_doubles", and "step into print_long_arg_list".
15778         Don't assume we can step into "print_long_arg_list": we could step into memcpy.
15779         * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
15780         is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
15781         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
15782         "skip_float_tests" is set.
15783         * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
15784         when "skip_float_tests" set.
15785
15786 1999-05-06  Keith Seitz  <keiths@cygnus.com>
15787
15788         * gdb.base/annota2.cc: Include stdio.h.
15789
15790 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
15791
15792         * gdb.base/crossload.exp: Remove, this has been disabled ever
15793         since BFD stopped including all targets, and cross-GDB gets
15794         plenty of testing anyway.
15795         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
15796         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
15797         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
15798         * gdb.base/README: Remove, was doc for this.
15799         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
15800         needed.
15801
15802 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15803
15804         * gdb.base/call-ar-st.exp: Fix one regular expression in test
15805         output.
15806
15807         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
15808         * gdb.base/annota2.exp: New file. More annotation tests.
15809         * gdb.base/annota1.c: New file. Source file for annota1.exp.
15810         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
15811
15812 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
15813
15814         * config/cfdbug.exp: New file.
15815
15816 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
15817
15818         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
15819         Marcus Daniel's and Dale Hawkins's demangler crashes.
15820
15821         * gdb.c++/demangle.exp (test_gnu_style_demangling,
15822         test_lucid_style_demangling, test_arm_style_demangling,
15823         test_hp_style_demangling): Try Tom Tromey's core-dumping
15824         identifier under each demangling style.
15825
15826 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
15827
15828         * gdb.c++/demangle.exp: Include the current demangling style
15829         in all test names.
15830         (current_demangling_style): New global variable.
15831         (set_demangling_style, test_demangling_core, test_demangling,
15832         test_demangling_exact): New functions.
15833         (test_gnu_style_demangling, test_lucid_style_demangling,
15834         test_arm_style_demangling, test_hp_style_demangling): Use those,
15835         instead of calling gdb_test and gdb_test_exact directly.
15836         (catch_demangling_errors): New function, which reports errors
15837         signalled by the demangling test functions in an orderly way.
15838         (do_tests): Use catch_demangling_errors.
15839
15840 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
15841
15842         * gdb.base/signals.exp (test_handle_all_print): Use () for
15843         grouping in expressions, not {}.
15844
15845         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
15846         initialized yet.
15847
15848 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
15849
15850         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
15851         are listed.
15852
15853 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
15854
15855         * gdb.stabs/weird.exp: Test for CC being defined before
15856         looking at its value.
15857
15858 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
15859
15860         * gdb.base/call-ar-st.exp: Remove stray '#'.
15861         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
15862         "short int" and "long int".
15863         * gdb.c++/overload.cc: Cast the string added in the previous
15864         change, to mollify finicky HP compiler.
15865         * gdb.hp/reg-test.exp (testfile): Fix file name.
15866         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
15867
15868         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
15869         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
15870         alternate form of enum ptype.
15871
15872 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
15873
15874         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
15875         * gdb.hp/*.exp: Change all to run compiler probe only after
15876         passing skip_hp_tests, so as not to waste time on guaranteed
15877         failure.
15878
15879         * gdb.c++/overload.cc: Pass string instead of char addr, always
15880         init ccpfoo.
15881         * gdb.c++/templates.cc: Fix syntax error.
15882
15883 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15884
15885         * gdb.base/commands.exp: Add test for correct position of '>'
15886         when issuing the 'commands' command after a 'while' or 'if'
15887         command.
15888
15889 1999-03-18  James Ingham  <jingham@cygnus.com>
15890
15891         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
15892
15893         * gdb.c++/method.exp: It was testing an uninitialized int on the
15894         stack and assuming it was positive.
15895
15896         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
15897
15898         * gdb.base/step-test.exp: Catch a case where finish is broken and
15899         keep it from killing the rest of the tests.
15900         Use gdb_continue_to_end.
15901
15902         * gdb.base/sigall.exp: use gdb_continue_to_end.
15903
15904         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
15905
15906         * gdb.base/display.exp: use runto_main, not run.
15907
15908         * gdb.base/default.exp: Check for the current error message in the
15909         r abbreviation test.
15910         Add strongarm to the targets that know info float.
15911
15912         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
15913         run which doesn't work with monitors.
15914
15915         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
15916
15917         * gdb.base/break.exp: use the gdb_continue_to_end proc.
15918
15919         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
15920         program.  Traps the case (in Cygmon) when the program never really
15921         exits.  Same as Mark's continue_to_exit, but I had put it in a lot
15922         more places, so I used my name.  Sorry Mark...
15923
15924         * config/monitor.exp (gdb_target_monitor): added another
15925         target_info parameter: remotebinarydownload.  This will set the
15926         remotebinarydownload flag if this is causing some boards trouble.
15927
15928 1999-03-18  Mark Salter  <msalter@cygnus.com>
15929
15930         * lib/gdb.exp (continue_to_exit): New function.
15931
15932         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
15933         * gdb.base/ending-run.exp: Ditto.
15934         * gdb.base/step-test.exp: Ditto.
15935
15936 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
15937
15938         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
15939         (suggested by Art Haas <ahaas@neosoft.com>).
15940
15941 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
15942
15943         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
15944
15945 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
15946
15947         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
15948         descriptions of types (short unsigned int vs unsigned short, etc).
15949
15950 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
15951
15952         * gdb.base/call-strs.exp: Don't assume that `step' will step over
15953         a call to strlen; sometimes we do have sources.
15954
15955 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
15956
15957         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
15958         character, so GDB won't print garbage after its end.
15959
15960         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
15961         breakpoint there instead.  Sometimes GCC emits memcpy to handle
15962         the large structures being passed by value, so we step into that
15963         instead of sum_array_print, which obscures what we're really testing.
15964         * gdb.base/step-test.exp: However, we do want a test that notices
15965         the bizarre steps into memcpy, so do that here.  Add check for
15966         stepping into function calls that pass large structures by value.
15967         ("Is that a noun clause, or are you just happy to see me?")
15968         Remove all references to specific line numbers.
15969         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
15970         New type and function.
15971         (main): Call large_struct_by_value, passing it a large struct by value.
15972         * lib/gdb.exp (gdb_get_line_number): New function.
15973
15974         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
15975         more portable.
15976
15977 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
15978
15979         * lib/gdb.exp: Doc fixes.
15980
15981 1999-03-05  Nick Clifton  <nickc@cygnus.com>
15982
15983         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
15984
15985 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
15986
15987         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
15988         commands.  They're not germane to this test, and they don't work
15989         that way on remote targets.
15990
15991 1999-03-01  James Ingham  <jingham@cygnus.com>
15992
15993         * Changelog entries merged over from gdb development branch.
15994
15995        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
15996
15997                * lib/gdb.exp (gdbtk_analyze_results): Generic function
15998                for outputting results of test run.
15999
16000         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
16001
16002                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
16003
16004 1999-02-25  Felix Lee  <flee@cygnus.com>
16005
16006         * lib/gdb.exp (debug_format): initialize
16007
16008 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
16009
16010         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
16011         * gdb.base/call-rt-st.c: Ditto.
16012
16013 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
16014
16015         * gdb.threads/pthreads.exp (horiz): New variable.
16016         (test_startup): Fix regexps that capture thread numbers.
16017
16018 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
16019
16020         * gdb.base/smoke.exp: Disambiguate two test case names (both
16021         called ``print'').
16022
16023 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
16024
16025         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
16026         compilation.
16027
16028 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
16029
16030         * gdb.base/miscexprs.exp: Change patterns to match GDB's
16031         actual output formatting.
16032         * gdb.base/smoke.exp: GDB removes leading 0's.
16033         * gdb.base/volatile.exp: Don't check type of remuneration;
16034         that variable is no longer defined in constvars.c.
16035         * gdb.base/step-test.c (main): Exit with explicit exit code.
16036         * gdb.base/step-test.exp: Remove two nexti checks--they are
16037         not portable.
16038
16039 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
16040
16041         * gdb.base/help.exp ("help delete display"): Fix test to match
16042         gdb's output.
16043
16044         * gdb.base/long_long.c (known_types): Initialize values to zero.
16045         * gdb.base/long_long.exp: Step one more line
16046         so 'dec' is initialized in "get to known place".  GDB removes
16047         leading zeros.  Explicitly ask for hex formatting.  Use
16048         unique test case names.
16049
16050 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
16051
16052         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
16053
16054         * gdb.c++/method.exp: Add missing close brace.
16055
16056 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
16057
16058         * gdb.base/maint.exp: Use 'set height 0' to disable page
16059         prompting, not 'set height 400'.
16060
16061         Fix a bunch of timeouts.
16062         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
16063         four separate tests, so expect doesn't take forever to match a ton
16064         of text against a regexp with lots of .* forms.
16065         ("maint print psymbols", "maint print symbols"): Make some of
16066         these greps more selective, so that expect doesn't try to wade
16067         through huge piles of output and time out.
16068
16069         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
16070
16071         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
16072         tests: one which doesn't expect shlib events to be reported, and
16073         another which does, but is XFAIL for all platforms other than
16074         HP/UX.
16075
16076         * gdb.base/break.exp: Teach the test suite that the `catch
16077         fork', `catch vfork', and `catch exec' commands produce error
16078         messages on platforms that don't provide these features.
16079
16080 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
16081
16082         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
16083         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
16084         (shortening names from solib_threshold.exp etc), won't run on
16085         anything but HP-UX for the foreseeable future.
16086         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
16087         reflect move.
16088
16089 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
16090
16091         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
16092         gdb.trace/Makefile.in (clean): Remove all test executables.
16093
16094 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
16095
16096         * gdb.base/shlib-call.exp: add test cases to verify that gdb
16097         successfully re-sets breakpoints in shared libraries.
16098         * gdb.base/shmain.c (main): return 0, don't fall off the end.
16099
16100 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
16101
16102         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
16103         and compiled w/o GCC.
16104
16105         * gdb.hp/watch-cmd.exp: ditto.
16106
16107         * gdb.hp/watch-hp.exp: ditto.
16108
16109         * gdb.hp/xdb1.exp: ditto.
16110
16111         * gdb.hp/xdb2.exp: ditto.
16112
16113         * gdb.hp/dbx.exp: ditto.
16114
16115 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
16116
16117         * constvars.c: Remove C++-isms.
16118         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
16119         with GCC.
16120
16121 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
16122
16123         The following changes are part of the HP merge.
16124
16125         * gdb.base/break.exp: new tests to verify that catchpoints for
16126         fork, vfork, and exec don't trigger inappropriately.
16127
16128         * gdb.base/opaque.exp: compile one file at a time, then link.
16129
16130         * gdb.base/signals.exp: be more restrictive about which hppa
16131         systems receive a setup_xfail.  new tests.
16132
16133         * gdb.base/solib_threshold.build: new file.
16134         * gdb.base/solib_threshold.exp: new file.
16135         * gdb.base/solib_threshold.link_opts: new file.
16136         * gdb.base/solib_threshold.mk: new file.
16137         * gdb.base/gen_solib_threshold.c: new file.
16138
16139         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
16140         tests.  New tests for enums inside classes.
16141
16142         * gdb.c++/compiler.cc: indicate support of template debugging.
16143
16144         * gdb.c++/demangle.exp: run hp style demangling tests.
16145
16146         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
16147         tests.
16148
16149         * gdb.c++/misc.cc: changes to support new tests.
16150
16151         * gdb.c++/templates.cc: changes to support HP's compiler; changes
16152         to support new tests.
16153
16154         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
16155         gcc, then skip these tests.
16156
16157 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
16158
16159         The following files are part of the HP merge; some had longer
16160         names at HP, but have been renamed to be no more than 14
16161         characters in length.
16162
16163         * gdb.hp/ambiguous.cc: new file.
16164         * gdb.hp/ambiguous.exp: new file.
16165         * gdb.hp/attach.exp: new file.
16166         * gdb.hp/attach2.exp: new file.
16167         * gdb.hp/classes-hp.exp: new file.
16168         * gdb.hp/ctti.exp: new file.
16169         * gdb.hp/ctti-add.cc: new file.
16170         * gdb.hp/ctti-add1.cc: new file.
16171         * gdb.hp/ctti-add2.cc: new file.
16172         * gdb.hp/ctti-add3.cc: new file.
16173         * gdb.hp/dbx.exp: new file.
16174         * gdb.hp/exception.cc: new file.
16175         * gdb.hp/exception.exp: new file.
16176         * gdb.hp/foll-exec.c: new file.
16177         * gdb.hp/foll-exec.exp: new file.
16178         * gdb.hp/foll-fork.c: new file.
16179         * gdb.hp/foll-fork.exp: new file.
16180         * gdb.hp/foll-vfork.c: new file.
16181         * gdb.hp/foll-vfork.exp: new file.
16182         * gdb.hp/inherit-hp.exp: new file.
16183         * gdb.hp/more-steps.exp: new file.
16184         * gdb.hp/namespace.cc: new file.
16185         * gdb.hp/namespace.exp: new file.
16186         * gdb.hp/optimize.exp: new file.
16187         * gdb.hp/pxdb.c: new file.
16188         * gdb.hp/pxdb.exp: new file.
16189         * gdb.hp/quicksort.exp: new file.
16190         * gdb.hp/reg-test.exp: new file.
16191         * gdb.hp/reg-test.s: new file.
16192         * gdb.hp/sized-enum.c: new file.
16193         * gdb.hp/sized-enum.exp: new file.
16194         * gdb.hp/start-stop.exp: new file.
16195         * gdb.hp/templ-hp.cc: new file.
16196         * gdb.hp/templ-hp.exp: new file.
16197         * gdb.hp/thr-lib.c: new file.
16198         * gdb.hp/thr-lib.exp: new file.
16199         * gdb.hp/thr-lib.h: new file.
16200         * gdb.hp/thr-liblib.c: new file.
16201         * gdb.hp/virtfun-hp.c: new file.
16202         * gdb.hp/virtfun-hp.exp: new file.
16203         * gdb.hp/watch-cmd.exp: new file.
16204         * gdb.hp/watch-hp.exp: new file.
16205         * gdb.hp/xdb1.exp: new file.
16206         * gdb.hp/xdb2.exp: new file.
16207         * gdb.hp/xdb3.exp: new file.
16208
16209 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
16210
16211         The following files are part of the HP merge; some had longer
16212         names at HP, but have been renamed to be no more than 14
16213         characters in length.
16214
16215         * gdb.base/ss.h: new file.
16216         * gdb.base/call-ar-st.c: new file.
16217         * gdb.base/call-ar-st.exp: new file.
16218         * gdb.base/call-rt-st.c: new file.
16219         * gdb.base/call-rt-st-exp: new file.
16220         * gdb.base/call-strs.exp: new file.
16221         * gdb.base/ena-dis-br.exp: new file.
16222         * gdb.base/environ.exp: new file.
16223         * gdb.base/long_long.exp: new file.
16224         * gdb.base/sect-cmd.exp: new file.
16225         * gdb.base/shlib-cl2.exp: new file.
16226         * gdb.base/smoke.exp: new file.
16227         * gdb.base/so-impl-ld.c: new file.
16228         * gdb.base/so-impl-ld.exp: new file.
16229         * gdb.base/so-indr-cl.c: new file.
16230         * gdb.base/so-indr-cl.exp: new file.
16231         * gdb.base/varargs.exp: new file.
16232         * gdb.base/volatile.exp: new file.
16233         * gdb.base/whatis-exp.exp: new file.
16234         * gdb.base/display.exp: new file.
16235         * gdb.c++/derivation.exp: new file.
16236         * gdb.c++/local.exp: new file.
16237         * gdb.c++/member-ptr.exp: new file.
16238         * gdb.c++/overload.exp: new file.
16239         * gdb.c++/ovldbreak.exp: new file.
16240         * gdb.c++/ref-types.exp: new file.
16241         * gdb.c++/ref-types2.exp: new file.
16242         * gdb.c++/userdef.exp: new file.
16243
16244 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
16245
16246         * gdb.base/default.exp: Reflect wording change in remote.c.
16247
16248 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
16249
16250         * gdb.base/help.exp: Update to reflect current text.
16251
16252 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
16253
16254         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
16255         they're stack variables and contain garbage.
16256         * gdb.c++/anon-union.exp: new file.
16257
16258         The following changes were made by David Taylor
16259         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
16260         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
16261         in changes by HP.
16262
16263         * gdb.base/bitops.exp: new file.
16264         * gdb.base/default.exp: change expected messages for catch and
16265         info catch tests to reflect HP merge changes.
16266         * gdb.base/enable-disable-break.exp
16267         * gdb.base/ending-run.c: new file.
16268         * gdb.base/long_long.c: new file.
16269         * gdb.base/maint.exp: new file.
16270         * gdb.base/pointers2.exp: new file.
16271         * gdb.base/shlib-call2.exp: new file.
16272         * gdb.base/solib.exp: new file.
16273         * gdb.base/step-test.c: new file.
16274         * gdb.c++/anon-union.cc: new file.
16275         * gdb.c++/local.cc: new file.
16276         * gdb.c++/member-pointer.cc: new file.
16277         * gdb.c++/method.cc: new file.
16278         * gdb.c++/ref-types.cc: new file.
16279         * gdb.c++/ref-types2.cc: new file.
16280         * gdb.c++/userdef.cc: new file.
16281
16282         * gdb.base/scope.exp: compile one file at a time, then link.
16283         * gdb.base/langs.exp: ditto.
16284         * gdb.base/list.exp: ditto.
16285
16286 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
16287
16288         The following changes were made by David Taylor
16289         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
16290         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
16291         in changes by HP.
16292
16293         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
16294         skip tests.  When compiling pass c++ flag to gdb_compile.
16295         * gdb.c++/
16296
16297         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
16298         test for on hppa*-*-hpux*; use args to see if c++ was specified.
16299         (skip_hp_tests): new function.
16300         (gdb_preprocess): new function.
16301
16302         * configure.in (hpdir): decide whether to configure gdb.hp.
16303         * configure: regenerated.
16304
16305         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
16306         to delete on clean.
16307         (EXECUTABLES): update to reflect new additions.
16308         * gdb.base/commands.exp: update message expected.
16309         * gdb.base/default.exp: add copyright notice.
16310         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
16311         * gdb.base/help.exp: update messages to reflect current text.
16312         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
16313         targets for recurse tests.
16314         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
16315         skip this file.
16316
16317         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
16318         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
16319         compilation.
16320         * gdb.c++/misc.exp: ditto.
16321         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
16322         run the tests.  tell gdb_compile that it's a c++ compilation.
16323
16324         * gdb.threads/pthreads.exp: fix typo in message.
16325
16326         * gdb.base/all-bin.exp: new file.
16327         * gdb.base/arithmet.exp: new file.
16328         * gdb.base/assign.exp: new file.
16329         * gdb.base/completion.exp: new file.
16330         * gdb.base/cond-expr.exp: new file.
16331         * gdb.base/condbreak.exp: new file.
16332         * gdb.base/define.exp: new file.
16333         * gdb.base/dollar.exp: new file.
16334         * gdb.base/environment.exp: new file.
16335         * gdb.base/eval-skip.exp: new file.
16336         * gdb.base/jump.exp: new file.
16337         * gdb.base/logical.exp: new file.
16338         * gdb.base/pointers.exp: new file.
16339         * gdb.base/relational.exp: new file.
16340         * gdb.base/section_command.exp: new file.
16341         * gdb.base/whatis-expr.exp: new file.
16342
16343         * gdb.base/all-types.c: new file.
16344         * gdb.base/call-array-struct.c: new file.
16345         * gdb.base/call-return-struct.c: new file.
16346         * gdb.base/call-strings.c: new file.
16347         * gdb.base/callfuncs2.c: new file.
16348         * gdb.base/condbreak.c: new file.
16349         * gdb.base/constvars.c: new file.
16350         * gdb.base/display.c: new file.
16351         * gdb.base/int-type.c: new file.
16352         * gdb.base/jump.c: new file.
16353         * gdb.base/miscexprs.c: new file.
16354         * gdb.base/pointers.c: new file.
16355         * gdb.base/pointers2.c: new file.
16356         * gdb.base/shmain.c: new file.
16357         * gdb.base/shr1.c: new file.
16358         * gdb.base/shr2.c: new file.
16359         * gdb.base/solib.c: new file.
16360         * gdb.base/solib1.c: new file.
16361         * gdb.base/solib2.c: new file.
16362         * gdb.base/varargs.c: new file.
16363         * gdb.c++/derivation.cc: new file.
16364         * gdb.c++/overload.cc: new file.
16365         * gdb.c++/ovldbreak.cc: new file.
16366         * gdb.hp/attach.c: new file.
16367         * gdb.hp/attach2.c: new file.
16368         * gdb.hp/average.c: new file.
16369         * gdb.hp/compiler.c: new file.
16370         * gdb.hp/compiler.cc: new file.
16371         * gdb.hp/execd-program.c: new file.
16372         * gdb.hp/follow-exec.c: new file.
16373         * gdb.hp/follow-fork.c: new file.
16374         * gdb.hp/follow-vfork-and-exec.c: new file.
16375         * gdb.hp/misc-hp.cc: new file.
16376         * gdb.hp/more-steps.c: new file.
16377         * gdb.hp/optimize.c: new file.
16378         * gdb.hp/quicksort.c: new file.
16379         * gdb.hp/run-hp.c: new file.
16380         * gdb.hp/start-stop.c: new file.
16381         * gdb.hp/sum.c: new file.
16382         * gdb.hp/templates-hp.cc: new file.
16383         * gdb.hp/thread-local-in-lib.c: new file.
16384         * gdb.hp/thread-local-in-lib.h: new file.
16385         * gdb.hp/thread-local-in-lib.lib.c: new file.
16386         * gdb.hp/vforked-program.c: new file.
16387         * gdb.hp/virtfunc-hp.cc: new file.
16388         * gdb.hp/watchpoint-hp.c: new file.
16389         * gdb.hp/xdb.c: new file.
16390         * gdb.hp/xdb0.c: new file.
16391         * gdb.hp/xdb0.h: new file.
16392         * gdb.hp/xdb1.c: new file.
16393
16394 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
16395
16396         The following change was made by Edith Epstein
16397         <eepstein@cygnus.com> as part of a project to merge in changes
16398         originally made by HP; HP did not create ChangeLog entries.
16399
16400         * gdb.c++/demangle.exp: changed the expected output for some
16401         ARM-style mangling -- removed second reference to datatype.
16402         For example, maint demangle __dt__11T1__pt__2_cFv
16403                      T1<char>::~T1<char>(void)
16404         becomes,
16405                      maint demangle __dt__11T1__pt__2_cFv
16406                      T1<char>::~T1(void)
16407
16408         (test_hp_style_demangling): new hp specific demangling test cases.
16409
16410 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
16411
16412         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
16413         * gdb.trace/backtrace.exp: Likewise.
16414         * gdb.trace/circ.exp: Likewise.
16415         * gdb.trace/collection.exp: Likewise.
16416         * gdb.trace/deltrace.exp: Likewise.
16417         * gdb.trace/infotrace.exp: Likewise.
16418         * gdb.trace/limits.exp: Likewise.
16419         * gdb.trace/packetlen.exp: Likewise.
16420         * gdb.trace/passc-dyn.exp: Likewise.
16421         * gdb.trace/passcount.exp: Likewise.
16422         * gdb.trace/report.exp: Likewise.
16423         * gdb.trace/save-trace.exp: Likewise.
16424         * gdb.trace/tfind.exp: Likewise.
16425         * gdb.trace/tracecmd.exp: Likewise.
16426         * gdb.trace/while-dyn.exp: Likewise.
16427         * gdb.trace/while-stepping.exp: Likewise.
16428
16429 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
16430
16431         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
16432
16433 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
16434
16435         From Brendan Kehoe:
16436         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
16437         int return types.
16438
16439 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
16440
16441         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
16442         remote dos host testing right.
16443
16444 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
16445
16446         * gdb.base/corefile.exp: remove some xfails.
16447
16448 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
16449
16450         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
16451         have different timestamps.
16452
16453 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
16454
16455         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
16456         gdb.base/default.exp: Replace "exec" with "executable".
16457
16458 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
16459
16460         * gdb.base/default.exp: Change else if to elseif from previous
16461         delta.
16462
16463 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
16464
16465         * gdb.base/default.exp: Add brace missing from previous delta.
16466
16467 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
16468
16469         * gdb.base/default.exp: Support test for info float for all
16470         varieties of arm toolchain.
16471
16472 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
16473
16474         * gdb.trace/*.exp: remove "remote_download" command.
16475
16476 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
16477
16478         * gdb.trace/*.exp: remove -gdwarf from compile.
16479
16480 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
16481
16482         * gdb.trace/configure.in(AC_INIT): typo
16483         * gdb.trace/configure: regenerated
16484
16485 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
16486
16487         * config/m68k-emc.exp: New file.
16488         * lib/<emc-support.exp trace-support.exp}: New files.
16489         * configure.in: add new test directory gdb.trace.
16490         * gdb.trace/{configure configure.in Makefile.in}: New files.
16491         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
16492         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
16493         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
16494         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
16495         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
16496         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
16497         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
16498
16499 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
16500
16501         * gdb.c++/classes.exp: Change all regular expressions to match
16502         arbitrary combinations of newline/carriage-return, so that they
16503         will work equally well on Unix and Windows.
16504         * gdb.c++/inherit.exp: ditto.
16505         * gdb.c++/virtfunc.exp: ditto.
16506
16507 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
16508
16509         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
16510
16511 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
16512
16513         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
16514         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
16515         to use a0-a3/d0-d3 as needed.
16516
16517 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
16518
16519         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
16520         * gdb.disasm/am33.exp: Corresponding changes.
16521
16522 1998-07-11  Felix Lee  <flee@cygnus.com>
16523
16524         * gdb.base/callfuncs.exp: add cmp10 test.
16525         * gdb.base/callfuncs.c (cmp10): new function.
16526
16527 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
16528
16529         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
16530         into two parts to get around a synchronization problem in expect.
16531
16532 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
16533
16534         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
16535
16536         * configure.in: Add options for gdbtk testsuite.
16537
16538         * configure: Regenerate.
16539
16540         * gdb.gdbtk: New directory to hold gdbtk tests.
16541
16542 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
16543
16544         * gdb.fortran/types.exp:  Escape brackets in expect patterns
16545         for test_float_literal_types_accepted tests.
16546         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
16547         before run test.
16548
16549 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
16550
16551         * am33.exp: Just compile, do not link the testcase.
16552         * am33.s: Add ".am33" pseudoop to force am33 mode.
16553
16554 1998-06-25  Felix Lee  <flee@cygnus.com>
16555
16556         * gdb.base/setshow.exp: make sure $pc is sane.
16557
16558         * gdb.stabs/weird.exp: split expect patterns properly.
16559
16560 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
16561
16562         * gdb.disasm/am33.s: New disassembler testfile for the am33.
16563         * gdb.disasm/am33.exp: Run it.
16564
16565 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
16566
16567         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
16568         match processing (and eliminate spurious timeouts when running).
16569
16570 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
16571
16572         * gdb.base/signals.exp (test_handle_all_print): put back Mach
16573         exception test, but conditionalize it on target [mach | gnu].
16574
16575 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
16576
16577         * gdb.base/overlays.exp: fixup compile line for linker script.
16578
16579 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
16580
16581         * gdb.fortran/types.exp: don't guess at float size.
16582
16583 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
16584
16585         * gdb.base/exprs.exp: delete test that depends on int size.
16586
16587 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
16588
16589         * config/sim.exp: Removed checks for target triplets.
16590         (gdb_target_sim): Use gdb,target_sim_options.
16591
16592 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
16593
16594         * gdb.base/reread.exp: New file.
16595         * gdb.base/reread1.c: New file.
16596         * gdb.base/reread2.c: New file.
16597
16598 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
16599
16600         * config/sim.exp: Use 'target sim -sparclite' when running
16601         SPARClite programs.
16602
16603 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
16604
16605         * gdb.base/structs2.exp: New file.
16606         * gdb.base/structs2.c: New file.
16607
16608 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
16609
16610         * gdb.asm/common.inc: New file.
16611         * gdb.asm/d10v.inc: New file.
16612         * asm-source.exp: Pass -I's to gas to find .inc files.
16613         Update line numbers in expected output.
16614         * asmsrc1.s: Rewrite.
16615         * asmsrc2.s: Rewrite.
16616         * configure.in: Create arch.inc symlink.
16617         * configure: Regenerate.
16618         * Makefile.in (distclean): Delete arch.inc.
16619
16620 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
16621
16622         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
16623         (t_enum_value2): ditto
16624         (t_enum_value3): ditto
16625         (main): ditto
16626 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
16627
16628         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
16629         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
16630         change.
16631         Use gdb_test instead of send_gdb/gdb_expect sequences.
16632
16633 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
16634
16635         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
16636         not void.
16637
16638 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
16639
16640         * gdb.base/branches.c: Code with lots of loops and
16641         subroutines. Used to test gdbs ability to single step through PC
16642         changes, especially to test mips-tdep.c:mips_next_pc
16643
16644 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
16645
16646         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
16647         more rigorous EGCS C++ error checking.
16648
16649 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
16650
16651         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
16652         tests.
16653         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
16654         function when asleep.
16655         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
16656         for i*86 Linux and SVR4 signal handling problems.
16657         Remove linux xfail for `next to handler in signals_tests_1', fixed
16658         by recent infrun.c change.
16659         Limit backtrace to 10 frames to avoid timeout problems with infinite
16660         stack backtraces.
16661         Adjust expect pattern in `handle all print' test to match Apr 28 1997
16662         target.[ch] change.
16663
16664 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
16665
16666         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
16667         for a newline from gdb before continuing.
16668         (default_gdb_exit): Just look for y or n.
16669         (gdb_test): Detect abnormal exit from GDB running on DOS; if
16670         it does, fail the rests of the tests in the file.
16671
16672 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
16673
16674         * config/cygmon.exp: New file.
16675
16676 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
16677
16678         * gdb.base/list.exp: Fix problem with "list default lines around
16679         main" test on remote targets.
16680
16681         * gdb.base/scope.exp: Fix problem with filelocal_bss before
16682         run test on remote targets.
16683
16684 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
16685
16686         * gdb.asm: New directory.
16687         * configure.in: Configure it.
16688         * configure: Regenerate.
16689         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
16690         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
16691
16692 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
16693
16694         * config/mn10300-eval.exp: New file to support MN10300 eval board.
16695
16696 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
16697
16698         * gdb.base/overlays (several files): Merge the two overlay
16699         managers into one.  Change variables (foox, barx, bazx, grbxx)
16700         back into ints but force them to load in their proper sections.
16701
16702 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
16703
16704         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
16705         on-chip insn memory and IMAP1 to upper 128k.
16706         (D10VCopy): Handle memory regions crossing 16k boundaries.
16707         (D10VCopy): Transfer data in 32 bit chunks.
16708
16709 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
16710
16711         * gdb.base/overlays.c (main): Exit normally when result is
16712         correct.
16713
16714         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
16715         map.  Include space for printf in .text segment.
16716
16717         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
16718         updated d10v memory VMA/LMA map.
16719         (D10VCopy): Call D10VTranslate.
16720
16721 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
16722
16723         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
16724
16725         * gdb.base/bar.c (barx, bar): Change variable to small array so
16726         that it won't be put into the .sdata - small data -
16727         section. Update reference.
16728         * gdb.base/baz.c (bazx, baz): Ditto.
16729         * gdb.base/foo.c (foox, foo): Ditto.
16730         * gdb.base/grbx.c (grbxx, grbx): Ditto.
16731
16732         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
16733         to be arrays.
16734
16735 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
16736
16737         * gdb.base/overlays.exp: fix up and get working again.
16738         Add tests for backtraces from an overlay function.
16739
16740 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
16741
16742         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
16743         "calling function with watchpoint enabled".
16744
16745 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
16746
16747         * gdb.base/break.exp (test_next_with_recursion): Remove
16748         gdb_suppress_tests for d10v-*-*.
16749         * lib/gdb.exp (gdb_suppress_tests): Disable this function
16750         pending review of whether it is useful or not.
16751
16752 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
16753
16754         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
16755
16756 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
16757
16758         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
16759         * config/dve.exp: New file to support Densan boards.
16760
16761 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
16762
16763         * gdb.base/interrupt.exp: Document problem of simulators, signals,
16764         reads and BSD.
16765
16766 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
16767
16768         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
16769         response.
16770
16771         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
16772
16773 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
16774
16775         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
16776         test.
16777
16778         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
16779         target_sizeof_long and target_bigendian_p.
16780         (structs_by_value, structs_by_reference): Check values according
16781         to targets word size and endianess.
16782
16783 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
16784
16785         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
16786         output.
16787
16788 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
16789
16790         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
16791         Update test of set args help to match source change.
16792
16793 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
16794
16795         * gdb.base/default.exp: Expect help system output to be in
16796         alphabetical order.
16797         * gdb.base/help.exp: Ditto.
16798
16799 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
16800
16801         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
16802         "i*86-pc-linux-gnu*".
16803         * gdb.base/interrupt.exp: Ditto.
16804         * gdb.base/corefile.exp: Ditto.
16805
16806         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
16807         define vxworks when building the testcase.
16808
16809         * gdb.base/ptype.exp: Fix testnames to be unique.
16810         * gdb.base/radix.exp: Ditto.
16811         * gdb.base/term.exp: Ditto.
16812         * gdb.base/whatis.exp: Ditto.
16813         * gdb.c++/classes.exp: Ditto.
16814
16815 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
16816
16817         * gdb.base/callfuncs.exp: Fix indentation.
16818
16819         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
16820         suppress_flag has been set.
16821         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
16822         target feature.
16823
16824 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
16825
16826         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
16827         the testcase.
16828
16829         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
16830         set_debug_traps() and breakpoint().
16831         * gdb.c++/misc.cc (main): Ditto.
16832         * gdb.c++/templates.cc (main): Ditto.
16833         * gdb.c++/virtfunc.cc (main): Ditto.
16834
16835 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
16836
16837         * lib/gdb.exp(gdb_step_for_stub): New function.
16838         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
16839         exists, reload the executable and do a "continue" instead of
16840         doing a jump.
16841         (runto_main): Use gdb_step_for_stub.
16842
16843         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
16844         tests to have unique names.
16845         * gdb.base/callfuncs.exp: Ditto.
16846         * gdb.base/commands.exp: Ditto.
16847         * gdb.base/default.exp: Ditto.
16848         * gdb.base/help.exp: Ditto.
16849         * gdb.base/list.exp: Ditto.
16850         * gdb.base/opaque.exp: Ditto.
16851         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
16852         similar tests.
16853
16854         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
16855         * gdb.c++/cplusfuncs.cc: Ditto.
16856         * gdb.c++/virtfunc.cc: Ditto.
16857
16858         * config/monitor.exp: Keep track of the last file we saw, rather
16859         than trying to get the info from gdb.
16860
16861         * gdb.fortran/types.exp: Move comment to previous line.
16862
16863 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
16864
16865         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
16866         target mode.
16867
16868 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
16869
16870         From Bob Manson:
16871         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
16872         string from GDB when it connects.
16873
16874         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
16875
16876 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
16877
16878         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
16879         if we can't get a debug format from GDB (we may be testing an
16880         older GDB). Use a 10 second timeout when checking for the format.
16881
16882         * gdb.stabs/weird.exp: Fix quoting.
16883
16884         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
16885
16886 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
16887
16888         * config/arm-ice.exp: New file.
16889
16890 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
16891
16892         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
16893         until it has been modified to work with the new testsuite.
16894
16895         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
16896         testcase won't compile, cause all of the testcases in the file to
16897         fail instead.
16898
16899         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
16900         (gdb_clear_suppressed): New procedure.
16901         (gdb_stop_suppressing_tests): Only clear suppress_flag if
16902         it contains a positive value.
16903
16904 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
16905
16906         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
16907
16908         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
16909
16910 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
16911
16912         * lib/gdb.exp (setup_xfail_format): New function.
16913         (get_debug_format): New function to get debug format.
16914         (debug_format): New global variable to hold last value set
16915         by get_debug_format.
16916         * gdb.base/list.exp: Call get_debug_format and expect some
16917         tests to fail for DWARF 1 and COFF formats.
16918         * gdb.c++/ptype.exp: Ditto.
16919         * gdb.c++/classes.exp: Ditto.
16920         * gdb.c++/cplusfuncs.exp: Ditto.
16921         * gdb.c++/inherit.exp: Ditto.
16922         * gdb.c++/templates.exp: Ditto.
16923         * gdb.c++/virtfunc.exp: Ditto.
16924
16925 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
16926
16927         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
16928         host doesn't have a currently-open connection.
16929
16930         * config/sparclet.exp: Cleanups and fixes to make it generic for
16931         any gdb stub target. Handle cases where gdb doesn't respond when
16932         interrupted in a sane fashion.
16933
16934         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
16935         same thing in a totally different way.
16936
16937         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
16938         setting "timeout".
16939         (gdb_start): We set the global gdb_prompt variable in
16940         default_gdb_init now.
16941
16942 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
16943
16944         * gdb.base/printcmds.exp: Fix "check for floating addition"
16945         regexp to accept results within approx +/- .01 of exact value.
16946         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
16947
16948 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
16949
16950         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
16951         properly.
16952         (gdb_expect): Add optional timeout parameter, and add timeout
16953         value to various calls.
16954         (gdb_suppress_tests): Only give one warning message per group.
16955
16956 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
16957
16958         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
16959         global variables. Handle getting a value for $timeout more
16960         gracefully.
16961
16962 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
16963
16964         * lib/gdb.exp: Close connection to remote host if gdb doesn't
16965         initialize.
16966         (default_gdb_init): New procedure; allow gdb_init to be overridden
16967         by a target configuration file.
16968         (gdb_expect): Pass the timeout to remote_expect.
16969
16970         * config/monitor.exp(gdb_load): Fix typo in regexp.
16971
16972 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
16973
16974         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
16975
16976 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
16977
16978         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
16979         here. Call gdb_target_exec before rebooting the target, to make
16980         sure the connection to the target is closed.
16981         (gdb_load): Pass the name of the executable to gdb_target_monitor.
16982         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
16983         Also detect "Timeout reading from remote" error.
16984
16985         * config/gdbserver.exp: Pass the executable being loaded to
16986         gdb_target_monitor. Don't call gdb_file_cmd here; let
16987         gdb_target_monitor do it.
16988
16989         * gdb.disasm/hppa.exp: Don't use exec_output.
16990
16991 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
16992
16993         * gdb.base/list.exp: If we're debugging a non-native target,
16994         try to set the pc register to point to the start of the
16995         program before doing the first list command.
16996
16997         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
16998         test_calls after restarting.
16999
17000         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
17001         reloading.
17002
17003         * gdb.base/watchpoint.exp: Fix typo.
17004
17005         * gdb.base/setshow.exp: Check for use_gdb_stub.
17006
17007         * gdb.base/break.exp: Fix continue until exit test for the gdb
17008         stub case.
17009         * gdb.base/langs.exp: Ditto.
17010
17011         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
17012         gdb_load_offset. If we weren't given a file to load, figure out
17013         what the current file is and use it.
17014
17015         * config/i386-bozo.exp: New file.
17016
17017 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
17018
17019         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
17020         feature.
17021
17022         * config/proelf.exp: New entry.
17023
17024 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
17025
17026         * lib/gdb.exp: Remove spurious .* patterns at the beginning
17027         of regexps.
17028
17029         * gdb.base/watchpoint.exp: Don't run the test_stepping
17030         tests if gdb can't call functions on the target.
17031
17032         * gdb.base/setshow.exp: Don't run the set prompt tests if
17033         the board has gdb_prompt set.
17034
17035 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
17036
17037         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
17038         * gdb.base/commands.exp: Likewise.
17039         * gdb.base/setshow.exp: Likewise.
17040
17041 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
17042
17043         * config/monitor.exp(gdb_start): Look for gdb_prompt target
17044         feature.
17045
17046         * config/i960.exp: New file.
17047
17048 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
17049
17050         * gdb.base/funcargs.exp: Check for gdb,short_int target
17051         feature instead of looking for explicit target triplets.
17052
17053 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
17054
17055         * gdb.base/printcmds.exp: add a couple more tests a la
17056         "p 123DEADBEEF", to check parse_number.
17057         * top.c: change "to enable to enable" to "to enable" in a couple
17058         of help strings.
17059
17060 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
17061
17062         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
17063         on the mn10300.
17064
17065 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
17066
17067         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
17068         where the test executable is run with explicit args.
17069         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
17070
17071 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
17072
17073         * gdb.base/run.c: Use FAKEARGV to build test executable that
17074         does not require a command line arg, since most simulators
17075         don't currently support passing such an arg into the simulated
17076         program.
17077         * gdb.base/commands.exp: Change tests to insert the proper
17078         value as the arg to the first recursive factorial call.  Change
17079         compilation line to define FAKEARGV at compile time.
17080
17081 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
17082
17083         * gdb.base/recurse.exp: Enable these tests for the mn10300.
17084         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
17085         function with watchpoint enabled" test.
17086
17087 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
17088
17089         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
17090         Don't call gdb_test when the command doesn't return to a gdb prompt.
17091
17092         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
17093         "Tests restarted" messages.
17094
17095 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
17096
17097         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
17098
17099 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
17100
17101         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
17102         for INFO SYMBOL; add help tests for OVERLAY commands.
17103         * gdb.base/default.exp: add tests for INFO SYMBOL command;
17104         add tests for OVERLAY commands
17105         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
17106         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
17107         * gdb.base/sigall.c: add usestubs code frag
17108         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
17109
17110 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
17111
17112         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
17113         failures.
17114         (gdb_stop_suppressing_tests): Note that tests have restarted.
17115
17116 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
17117
17118         * config/h8300.exp: New file.
17119
17120 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
17121
17122         * gdb.base/setshow.exp: Check for the existence of a
17123         feature, not its value.
17124
17125 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
17126
17127         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
17128
17129         * gdb.base/scope.exp: It's now init0(), not init().
17130
17131         * gdb.base/scope0.c: For now, change init() to be init0().
17132
17133         * config/monitor.exp: Use gdb_serial in preference to serial
17134         or netport.
17135
17136         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
17137         and it's not already set.
17138
17139 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
17140
17141         * gdb.base/setshow.exp: Only test the run command if the target
17142         isn't using a stub and if it supports argument passing.
17143
17144 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
17145
17146         * config/udi.exp(gdb_start): Make sure UDICONF is set
17147         properly before starting gdb.
17148
17149 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
17150
17151         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
17152         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
17153         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
17154
17155 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
17156
17157         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
17158         specialized code to reboot the board, use remote_reboot instead.
17159
17160         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
17161
17162         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
17163
17164         * config/monitor.exp: Make sure we disconnect from the target.
17165         Also, try a reboot/reload cycle instead of failing if the
17166         load fails.
17167
17168 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
17169
17170         * gdb.base/default.exp: Don't set match_max.
17171         * gdb.base/help.exp: Ditto.
17172         * gdb.base/list.exp: Ditto.
17173         * gdb.base/signals.exp: Ditto.
17174
17175         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
17176         set, use remote_ld to download the testcase instead of
17177         the GDB loader.
17178
17179 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
17180
17181         * config/vr5000.exp: New file.
17182
17183         * config/monitor.exp(gdb_target_monitor): Add pattern for
17184         "Ending remote" to detect errors in connecting.
17185
17186         * gdb.base/setshow.exp: Add .* within auto language test.
17187
17188         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
17189         target feature.
17190
17191         * config/monitor.exp(gdb_load): Check for a failure when loading,
17192         and reboot the board if necessary.
17193
17194         * gdb.base/setvar.exp(test_set): Handle multiple prints within
17195         a set of tests. Remove print.* from the patterns being checked.
17196
17197 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
17198
17199         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
17200         refer to gdb_spawn_id.
17201
17202         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
17203         longer used.
17204         * config/sparclet.exp: Ditto.
17205         * config/sparclet-old.exp: Ditto.
17206         * config/slite.exp: Ditto.
17207         * config/sim.exp: Ditto.
17208         * gdb.base/funcargs.exp: Ditto.
17209
17210         * lib/gdb.exp:Remove references to gdb_spawn_id.
17211         (gdb_expect): Move to remote.exp.
17212
17213 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
17214
17215         * config/monitor.exp: Detect the "Couldn't establish connection"
17216         message from GDB.
17217
17218 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
17219
17220         * gdb.base/bitfields.exp: Use runto instead of explicit
17221         gdb_run_cmd/gdb_expect sequences.
17222
17223         * gdb.base/break.exp(text_next_with_recursion): Add match for
17224         gdb_expect call.
17225
17226         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
17227         We also need to handle the "A program is being debugged already"
17228         prompt from gdb. Use gdb_test to set the baud rate.
17229
17230         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
17231         to 20000. Really. I mean it.
17232
17233 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
17234
17235         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
17236         fails. If suppress_flag is set, skip perror message about not
17237         being able to send to GDB.
17238         (send_gdb): If suppress_flag is set, don't try to send commands to
17239         GDB.
17240         (gdb_expect): If suppress_flag is set, always fail immediately.
17241         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
17242         (gdb_init): Call gdb_stop_suppressing_tests.
17243         (default_gdb_exit): Ditto.
17244         (default_gdb_start): Ditto.
17245
17246         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
17247         gdb_stop_suppressing_tests as appropriate.
17248         * gdb.base/break.exp: Ditto.
17249         * gdb.base/callfuncs.exp: Ditto.
17250         * gdb.base/commands.exp: Ditto.
17251         * gdb.base/exprs.exp: Ditto.
17252         * gdb.base/funcargs.exp: Ditto.
17253         * gdb.base/list.exp: Ditto.
17254         * gdb.base/recurse.exp: Ditto.
17255         * gdb.base/scope.exp:  Ditto.
17256         * gdb.base/structs.exp: Ditto.
17257         * gdb.c++/inherit.exp: Ditto.
17258
17259 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
17260
17261         * config/vr4300.exp: New file.
17262
17263         * gdb.*/*.exp: Call gdb_expect instead of expect.
17264
17265         * lib/gdb.exp(gdb_expect): New function.
17266
17267 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
17268
17269         * lib/gdb.exp(gdb_init): New function.
17270
17271         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
17272         for each individual variable set.
17273
17274         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
17275         name.
17276
17277         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
17278
17279         * gdb.base/scope.exp: Use gdb_test.
17280
17281         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
17282         aborting; the testsuite driver will do that for us (see
17283         gdb_finish). Also, use gdb_test in a few more places.
17284
17285 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
17286
17287         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
17288
17289 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
17290
17291         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
17292         and "add_tests" are not at the same address.
17293
17294 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
17295
17296         * gdb.base/ptype.exp: Use gdb_test.
17297
17298 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
17299
17300         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
17301         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
17302         left in.  No longer expect them to fail.
17303
17304         * gdb.stabs/*.mt; Deleted, no longer used.
17305         * gdb.stabs/configure.in: Remove references to target makefile
17306         frags.
17307         * gdb.stabs/configure: Rebuilt.
17308
17309         * gdb.disasm/*.mt: Deleted, no longer used.
17310         * gdb.disasm/configure.in: Remove references to target makefile
17311         frags.  Use "sh3.s" as the unique filename for this directory.
17312         * gdb.disasm/configure: Rebuilt.
17313
17314         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
17315         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
17316         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
17317
17318 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
17319
17320         * config/udi.exp: Use mondfe,name instead of remote_host.
17321
17322 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
17323
17324         * gdb.base/watchpoint.exp: Don't expect a failure when calling
17325         a function with a watchpoint enabled on the mn10200.
17326
17327         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
17328         before trying to create it!
17329
17330 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
17331
17332         * config/vx.exp: Use hostname instead of netport.
17333
17334         * config/vxworks.exp: New file.
17335
17336         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
17337
17338         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
17339         gdb before assuming everything worked. Send a ^C if a timeout
17340         occurs.
17341
17342         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
17343         $gdb_spawn_id directly.
17344         (gdb_run_cmd): Try _start as well as start. Use the target feature
17345         gdb,start_symbol as the symbol to start from when jumping.
17346
17347 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
17348
17349         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
17350         redundant) test.
17351
17352         * gdb.base/recurse.exp: Relax final value test for 'b' so that
17353         it doesn't lose for 16bit integer systems.
17354
17355 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
17356
17357         * gdb.fortran/types.exp: If the target doesn't support "double"
17358         data types, then expect "real" types to only be 4 bytes.
17359
17360         * gdb.c++/virtfunc.exp: Expect failure for virtual function
17361         call tests if the target doesn't support inferior function calls.
17362
17363         * gdb.base/printcmds.exp: Allow minor deviation in FP values
17364         in printf tests.
17365
17366 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
17367
17368         * gdb.base/help.exp: Disable "help set", "help show", and
17369         "help support".  Simplify regexp for "help stack".
17370
17371         * gdb.base/default.exp: Set match_max to 5000 and the timeout
17372         to 60 seconds.  Temporarily set match_max to 15000 around the
17373         "info copying" test.
17374
17375         * gdb.base/nodebug.exp: Don't try to do an inferior function
17376         call if the target doesn't support them.
17377         * gdb.base/printcmds.exp: Likewise.
17378         * gdb.base/setvar.exp: Likewise.
17379         * gdb.base/structs.exp: Likewise.
17380         * gdb.c++/templates.exp: Likewise.
17381         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
17382
17383         * gdb.base/recurse.exp: Enable for the mn10200.
17384
17385         * configure.in: Do configure gdb.stabs directory for *-*-elf
17386         targets.
17387         * configure: Rebuilt.
17388
17389         * gdb.base/break.exp: Check for gdb,noresults before testing
17390         exit status and/or results from the target.
17391         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
17392         * lib/gdb.exp: Remove old (now bogus) initialization of
17393         noinferior, noargs, noresults and nosignals.
17394
17395 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
17396
17397         * config/sh.exp: New file.
17398
17399         * config/slite.exp: Try to connect multiple times to the board
17400         before rebooting. Only send a "monitor run" if need_monitor_run
17401         is set.
17402
17403         * gdb.base/break.exp: Don't do the "stub continue" test if
17404         the target has gdb_stub set.
17405
17406         * gdb.base/callfuncs.exp: Increase the timeout.
17407
17408         * gdb.base/interrupt.exp: Don't even try to compile the testcase
17409         if the target has gdb,noinferiorio set.
17410
17411         * gdb.base/list.exp: Increase match_max to 10000 characters.
17412
17413         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
17414
17415         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
17416         target.
17417
17418         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
17419
17420 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
17421
17422         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
17423         trying to delete the copy of gdb. Catch the file delete so we
17424         don't die if the delete fails; also, the file should be copied to
17425         the host, not to the build.
17426
17427 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
17428
17429         * lib/gdb.exp(gdb_test): Surround the result pattern with
17430         parenthesis in case it contains multiple regexps separated
17431         with |.
17432
17433         * gdb.base/watchpoint.exp: Use gdb_test.
17434         * gdb.base/default.exp: Ditto.
17435
17436 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
17437
17438         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
17439
17440         * gdb.base/scope.exp: Use gdb_test.
17441         * gdb.c++/classes.exp: Ditto.
17442         * gdb.c++/inherit.exp: Ditto.
17443
17444 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
17445
17446         * gdb.base/crossload.exp: Don't use execute_anywhere, use
17447         remote_exec instead.
17448         * gdb.base/corefile.exp: Don't be ridiculous.
17449         * gdb.base/*.c: Add missing stub invocations.
17450
17451 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
17452
17453         * config/slite.exp: Miscellaneous fixes.
17454
17455         * lib/gdb.exp: Fix runto.
17456
17457         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
17458         the target.
17459
17460         * gdb.base/watchpoint.exp: Fix regexp.
17461
17462         * lib/gdb.exp(default_gdb_exit): Add a catch to the
17463         close and wait commands, as the descriptor may now be
17464         invalid. Always call "remote_close host".
17465
17466 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
17467
17468            Major rewrite for testsuite revision.
17469
17470         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
17471         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
17472         instead of relying on spawn_id to always contain a valid
17473         spawn id.
17474         (get_compiler_info): New procedure to build the ${binfile}.ci
17475         file, instead of replicating this in N different places.
17476         (gdb_compile): New procedure.
17477
17478         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
17479         appropriate arguments) instead of compile. Use gdb_test in a lot
17480         more places.  Use send_gdb instead of send. Always run gdb_start
17481         at the start of a testcase, as this is no longer done magically.
17482
17483         config/*-gdb.exp: Rename without the -gdb suffix.
17484
17485         config/mips.exp: Use remote_close instead of exit_remote_shell.
17486         config/monitor.exp: Use target_info instead of looking at
17487         baud, timeout, etc.
17488         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
17489
17490 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
17491
17492         * gdb.c++/templates.exp (test_ptype_of_templates),
17493         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
17494         Update expect patterns for destructors and assignment operators
17495         to match corresponding c-typeprint.c changes.
17496         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
17497         to destructor breakpoint test, GDB should be able to set the
17498         destructor breakpoint without specifying arguments.
17499
17500 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
17501
17502         * gdb.threads/pthreads.exp: Change result for failure to compile due
17503         to lack of pthreads runtime support from an error to simply an
17504         unsupported test, per dejagnu standards.
17505
17506 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
17507
17508         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
17509         where GDB exits to reduce pattern match time.
17510         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
17511
17512         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
17513
17514 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
17515
17516         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
17517         * gdb.base/default.exp:   ditto.
17518         * gdb.base/nodebug.exp:   ditto.
17519         * gdb.base/printcmds.exp: ditto.
17520         * gdb.base/ptype.exp:     ditto.
17521         * gdb.base/setvar.exp:    ditto.
17522         * gdb.base/structs.exp:   ditto.
17523         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
17524
17525 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
17526
17527         * configure, */configure: Rebuild with autoconf 2.12.
17528
17529 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
17530
17531         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
17532         use new i*86-pc-linux*-gnu quads.
17533         * gdb.base/corefile.exp: Ditto.
17534         * gdb.base/signals.exp: Ditto.
17535         * gdb.base/sigall.exp: Ditto.
17536         * gdb.base/interrupt.exp: Ditto.
17537
17538         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
17539         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
17540         RedHat 4.0.
17541
17542         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
17543         linux.  This allows the test case to at least compile on latest
17544         linux, but still not run due to missing the threads runtime library.
17545
17546 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
17547
17548         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
17549         directory to search gdb directory. Accept and step over conditional
17550         stack alignment code. Consume $prompt in failure cases.
17551         Reset timeout to $oldtimeout instead of some arbitrary value.
17552         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
17553         timeout problems with infinite stack backtraces.
17554         * gdb.base/ptype.exp (ptype struct link, union tu_link):
17555         Accept function parameters for linkfunc member.
17556
17557 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
17558
17559         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
17560         (CXXFLAGS): Remove, unreferenced.
17561         (B_OPTIONS): Add for -B options and add code to initialize with
17562         previous -B options and also add -B option to pick up cross compiled
17563         runtime.
17564         (TARGET_INCLUDES): Add for -I options and add code to initialize when
17565         doing cross compiles.
17566         (target_alias): Declare global.
17567         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
17568         to verify that gcc exists in build tree, and if so set CC to that
17569         gcc and to use B_OPTIONS and TARGET_INCLUDES.
17570
17571 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
17572
17573         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
17574         ptype test for anonymous union.  Fixup testcase to match
17575         current gcc debug output.
17576
17577 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
17578
17579         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
17580         force argument to an unsigned long type.
17581
17582 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
17583
17584         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
17585         tests and anonymous union print/ptype tests.
17586         * gdb.base/list.exp (test_forward-search): Increase timeout by
17587         5 minutes for the "search extremely long line" case.
17588         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
17589         completely optional and that the pass/fail messages use the command as
17590         the message if that third arg is a null string.
17591         (gdb_test_exact):  Arrange that a null string pattern means match a
17592         null string output rather than any output, which might include random
17593         errors.
17594         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
17595         backtrace test.
17596         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
17597         always failing and failure is now exposed by gdb.exp changes.
17598
17599 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
17600
17601         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
17602         weren't being noted.
17603
17604 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
17605
17606         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
17607         * gdb.stabs/weird.exp:  Remove v_comb xfails.
17608
17609 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
17610
17611         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
17612                     list.exp scope.exp watchpoint.exp]
17613           Make all timeout error msgs explicitly say "(timeout)".
17614
17615 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
17616
17617         * config/monitor.exp: Increase download timeout to 1000 seconds.
17618
17619 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
17620
17621         * config/m32r.exp: Increase timeout to 120 seconds.
17622
17623 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
17624
17625         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
17626         and accept older ordering as obsolescent gcc or gdb.
17627         * gdb.c++/templates.exp: Ditto.
17628         * gdb.c++/virtfunc.exp: Ditto.
17629
17630 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
17631
17632         * gdb.base/coremaker.c: Add code to mmap some data so we
17633         can check that it ends up in the core file.
17634         * gdb.base/corefile.exp: Add test to read mmapped data
17635         from core file.
17636
17637 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
17638
17639         * config/m32r.exp: New file.
17640
17641 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
17642
17643         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
17644         that cflags can contains -gstabs, and work correctly for other tests.
17645
17646 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
17647
17648         * gdb.base/setshow.exp: New file, tests show and set.
17649         * gdb.base/setshow.c:   New file, tests show and set.
17650         * gdb.base/help.exp: Add test for help set|show annotate.
17651         * gdb.base/default.exp: Add test for set|show annotate.
17652
17653 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
17654
17655         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
17656         errors unique.
17657         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
17658         explicitly.
17659
17660 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
17661
17662         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
17663         and width commands.  This is done elsewhere.
17664         * (gdb_start):  Don't call gdb_start_sim here.  That's already
17665         done in gdb_load.  This fixes lots of failures in default.exp.
17666
17667 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
17668
17669         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
17670         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
17671         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
17672         in the same we we treat other failures (since it may be an expected
17673         condition), rather than as an error.
17674         * gdb.base/signals.exp (test_handle_all_print): Revert back to
17675         old test format.
17676
17677 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
17678
17679         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
17680         (distclean maintainer-clean realclean): No need to remove files
17681         twice.  Nuke the duplicates.
17682         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
17683         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
17684         Remove config.h along with other config files.
17685
17686 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
17687
17688         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
17689         "p func1 ()" and note that rests of tests are skipped.
17690         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
17691         setup_xfails for "print func2::coremaker_local".
17692         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
17693         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
17694         affected by the previous run test.
17695         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
17696         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
17697         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
17698         "pass int powerset tuple" and "pass modeless int powerset tuple".
17699         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
17700         "real write 4" and "real write 8".
17701         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
17702         setup_xfails for "print vs1 after tuple assign 2",
17703         "print \$i after tuple assign 2", and
17704         "print vs2 after tuple assign 2".
17705         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
17706         meaningful error message and return -1 so the caller can
17707         suppress further tests and avoid a cascade of errors.
17708
17709 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
17710
17711         * gdb.base/a1-selftest.exp: Tweak tests to account for new
17712         format for printing version.
17713         * gdb.base/default.exp: Ditto.
17714         * gdb.base/interrupt.exp: Fix problem with cascade of
17715         errors if child process dies while calling a function.
17716
17717 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
17718
17719         * Makefile.in (VPATH): Add
17720         * Makefile.in (Makefile, config.status): Fix rules so things get
17721         remade when necessary.
17722
17723 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
17724
17725         * Makefile.in (just-check): Add path to sibling expect dir
17726         to environment variable specified by RPATH_ENVVAR.
17727
17728 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
17729
17730         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
17731         (just-check): Add shared library paths for libstdc++, tk,
17732         tcl, bfd, and opcodes to the environment variable specified
17733         in RPATH_ENVVAR.
17734         * configure.in: Add support to recognize --enable-shared flag
17735         and generate correct value for RPATH_ENVVAR.
17736         * configure: Regenerated with autoconf.
17737
17738 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
17739
17740         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
17741         include all osf versions.
17742         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
17743         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
17744         when target is linux.  When failing to build pthreads test
17745         executable, give more meaningful message.
17746         * gdb.threads/pthreads.c: Hpux also uses old definition of second
17747         arg for pthread_create.
17748
17749 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
17750
17751         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
17752         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
17753         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
17754         and -lpthreads (everybody else).
17755         (test_startup): Fail gracefully if threads are not supported.
17756         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
17757         "p/c array_index("abcdef",2)" when not gcc compiled.
17758         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
17759         "print func2::coremaker_local" when not gcc compiled.
17760         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
17761         "ptype on opaque struct tagname (statically)",
17762         "ptype on opaque struct tagname (dynamically) 1", and
17763         "ptype on opaque struct tagname (dynamically) 2"
17764         for not compiled with gcc.
17765         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
17766         backtrace when compiled with gcc.
17767         * lib/gdb.exp (runto_main): Return result of "runto main" rather
17768         than always return success.
17769
17770 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
17771
17772         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
17773
17774 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
17775
17776         * gdb.base/structs.exp: Undo last change.
17777
17778 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
17779
17780         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
17781         encapsulate all the steps/nexts done during self test, starting
17782         at main, and makes them less sensitive to optimization issues.
17783         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
17784         signal handler" test.
17785         * gdb.threads/pthreads.exp: Only run this for native configs.
17786         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
17787         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
17788         tests.
17789         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
17790         for "runto test_calls(void)" test.
17791
17792 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
17793
17794         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
17795         and don't expect address info in breakpoint confirmations.
17796
17797 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
17798
17799         * gdb.base/list.exp (test_forward_search): Increase timeout
17800         temporarily by 60 seconds for searching extremely long line,
17801         and then reset to old value when done.  Increase expect input
17802         buffer to 10000.
17803
17804 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
17805
17806         * gdb.base/list.exp (test_forward_search): Fix to handle very
17807         long source line without overflowing expect's input buffer.
17808
17809 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
17810
17811         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
17812         "buffer_full".
17813
17814         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
17815         "buffer_full".
17816
17817         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
17818         "buffer_full".
17819
17820         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
17821         "buffer_full".
17822
17823 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
17824
17825         * configure.in (configdirs): Add gdb.threads.
17826         * configure: Regenerated with autoconf.
17827         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
17828         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
17829         * gdb.threads/configure: New, generated with autoconf.
17830
17831 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
17832
17833         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
17834
17835 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
17836
17837         * gdb.base/signals.exp (test_handle_all_print): Test separately for
17838         each signal's status in the output of "handle all print".
17839         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
17840         the \r\n sequence that immediately precedes the gdb prompt.
17841         * gdb.base/a1-selftest.exp: Save original timeout and restore
17842         after test.
17843
17844 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
17845
17846         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
17847         symbol.
17848
17849 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
17850
17851         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
17852
17853 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
17854
17855         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
17856         timeout by 60 seconds.
17857
17858 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
17859
17860         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
17861         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
17862         error return.
17863
17864 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
17865
17866         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
17867         gdb initialization, also report how long dejagnu waited.  Restore
17868         old timeout before doing error return.  Temporarily increase timeout
17869         by 3 minutes to allow for slow startups over heavy NFS use.
17870
17871 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
17872
17873         * lib/gdb.exp: Report timeout value for verbosity level 2.
17874         * config/gdbserver.exp: Ditto.
17875         * config/hppro.exp: Ditto.
17876         * config/mips-gdb.exp: Ditto.
17877         * config/monitor.exp: Ditto.
17878         * config/netware.exp: Ditto.
17879         * config/sim-gdb.exp: Ditto.
17880         * config/slite-gdb.exp: Ditto.
17881         * config/udi-gdb.exp: Ditto.
17882         * config/unix-gdb.exp: Ditto.
17883         * config/vx-gdb.exp: Ditto.
17884         * gdb.base/a1-selftest.exp: Ditto.
17885         * gdb.base/a2-run.exp: Ditto.
17886         * gdb.base/break.exp: Ditto.
17887         * gdb.base/corefile.exp: Ditto.
17888         * gdb.base/list.exp: Ditto.
17889         * gdb.base/recurse.exp: Ditto.
17890         * gdb.base/scope.exp: Ditto.
17891         * gdb.base/signals.exp: Ditto.
17892
17893 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
17894
17895         * gdb.threads/Makefile.in (docdir): Removed.
17896
17897 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
17898
17899         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
17900         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
17901         @srcdir@.
17902         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
17903         autoconf 2.5 or higher.
17904         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
17905
17906 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
17907
17908         * configure: Regenerated.
17909         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
17910         avoid name clashes with SunOS headers.
17911
17912 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
17913
17914         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
17915
17916 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
17917
17918         * gdb.base/callfuncs.exp: Finish last change -- make sure the
17919         prototype information ends up in the compiler info file.
17920
17921 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
17922
17923         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
17924         attempting to regenerate it.  Eliminate use of a temporary file
17925         and just generate the info file directly.  Source it immediately,
17926         for consistency of use.
17927         * gdb.base/corefile.exp: Ditto
17928         * gdb.base/exprs.exp: Ditto.
17929         * gdb.base/funcargs.exp: Ditto.
17930         * gdb.base/langs.exp: Ditto.
17931         * gdb.base/list.exp: Ditto.
17932         * gdb.base/mips_pro.exp: Ditto.
17933         * gdb.base/nodebug.exp: Ditto.
17934         * gdb.base/opaque.exp: Ditto.
17935         * gdb.base/ptype.exp: Ditto.
17936         * gdb.base/scope.exp: Ditto.
17937         * gdb.base/setvar.exp: Ditto.
17938         * gdb.base/signals.exp: Ditto.
17939         * gdb.base/whatis.exp: Ditto.
17940         * gdb.c++/templates.exp: Ditto.
17941         * gdb.c++/virtfunc.exp: Ditto.
17942         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
17943         whether or not to add -lstdc++ to the compile command line args.
17944
17945 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
17946
17947         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
17948         it got fixed by the recent lookup_minimal_symbol_by_pc change.
17949         Increase timeout, a lot of single stepping might be needed if the
17950         target has no hardware watchpoints.
17951
17952 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
17953
17954         * gdb.base/break.exp: Ignore compiler warnings when compiling
17955         break.c.
17956         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
17957         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
17958         from remote-sim.
17959         * gdb.base/exprs.exp: Add h8300 xfails.
17960         * gdb.base/funcargs.exp: Likewise.
17961         * gdb.base/nodebug.exp: Likewise.
17962         * gdb.base/printcmds.exp: Likewise.
17963         * gdb.base/ptype.exp: Likewise.
17964         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
17965         h8300 xfails.
17966         * gdb.base/return.exp: Handle float/double precision problems
17967         on the h8300.
17968         * gdb.base/funcargs.c: Explicitly make last constant argument to
17969         call_after_alloca_subr an unsigned long type.
17970         * gdb.base/return.c: Include stdio.h.
17971
17972 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
17973
17974         * config/abug.exp: New file for the older Motorola Bug monitor
17975         that runs on the mvme13x series VME boards.
17976         * config/monitor.exp: Use the new config array for target settings
17977         if they exist.
17978
17979 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
17980
17981         * sim-gdb.exp: Make the SH simulator allocate less space when
17982         it is targeted.
17983
17984 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
17985
17986         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
17987         test.
17988
17989 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
17990
17991         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
17992         "rs6000-*-*" for "list function in include file" when gcc compiled.
17993         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
17994         for "p ctable1[120]".
17995         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
17996         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
17997         Remove setup_xfail for "rs6000-*-*" for
17998         "print 'scope0.c'::filelocal before run".
17999         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
18000         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
18001         since some compilers don't allow both options to be given
18002         on the same command line.  Create object file and move it.
18003
18004 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
18005
18006         * gdb.base/corefile.exp: Always regenerate the core file, since
18007         we always regenerate the coremaker program.  Detect special case
18008         where registers cannot be read from core file.
18009
18010 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
18011
18012         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
18013         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
18014         * gdb.c++/templates.exp: Only match on basename of file since
18015         some formats like xcoff don't encode directory information.
18016         * gdb.stabs/weird.exp: Use the right sed script for powerpc
18017         and rs6000 AIX xcoff targets.
18018         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
18019         * configure: Regenerate.
18020         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
18021         here, rather than in distclean.
18022
18023 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
18024
18025         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
18026         defined, and use it to compile the test case with -O2.  The
18027         native compilation still uses no optimization.
18028         * gdb.base/mips_pro.c: Remove inline assembly code since
18029         it is compiled PIC by default, which results in assembler
18030         warnings that make the testsuite think the compilation
18031         was unsuccessful.
18032
18033 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
18034
18035         * gdb.c++/misc.exp: Add note to message for
18036         "print s.a for foo struct" that this is a known gcc 2.7.2
18037         and earlier bug.
18038
18039 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
18040
18041         * gdb.base/break.exp: Fix pattern for matching "Delete all
18042         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
18043         setup_xfail for deleting all breakpoints test.  Fix various
18044         timeout messages to include "(timeout)".
18045         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
18046         for "p t_float_values2(3.14159,float_val2)".
18047         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
18048         for "continue to call2g" when gcc compiled.
18049         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
18050         "up to foo in langs.exp", "show language at foo in langs.exp",
18051         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
18052         and "show language at fsub in langs.exp".
18053         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
18054         "list line 1 in include file", "list message for lines past EOF",
18055         "list function in include file", "list list0.h:foo", and
18056         "list filename:function; nonexistant function".
18057         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
18058         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
18059         and "ptype t_char_array" to be for native cc only.
18060
18061 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
18062
18063         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
18064         setup_xfail for "print coremaker_bss", "print coremaker_ro",
18065         "print func2::coremaker_local", and "backtrace in corefile.exp".
18066
18067 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
18068
18069         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
18070         "bt in signals.exp".  This problem only appears when running
18071         the testsuite, and then only intermittently.
18072
18073 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
18074
18075         * gdb.base/return.exp (return_tests): Differentiate between
18076         two tests of continuing.
18077
18078 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
18079
18080         * */Makefile.in (maintainer-clean): Remove config.log.
18081         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
18082         * gdb.c++/Makefile.in (PROGS): Add inherit.
18083         (clean): Remove *.ci.
18084
18085 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
18086
18087         * gdb.c++/misc.cc: Add test code from Mike Stump.
18088         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
18089
18090 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
18091
18092         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
18093         to "alpha-*-osf2*" and add comment.
18094         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
18095         setup_xfail for "step over execarg initialization" and
18096         "step over corearg initialization".
18097         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
18098         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
18099         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
18100         gcc compiled for "print coremaker_bss", "print coremaker_ro",
18101         "print func2::coremaker_local", and "backtrace in corefile.exp".
18102         * gdb.base/signals.exp: Build and source signals.ci.
18103         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
18104         to be for gcc only.
18105         * lib/gdb.exp: Move verbose statements outside conditionals.
18106
18107 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18108
18109         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
18110         Feb 3 procfs.c change.
18111
18112 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
18113
18114         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
18115
18116 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
18117
18118         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
18119         from dejagnu's apparent default of 10 seconds, which gives random
18120         results when running the tests over NFS on moderately loaded systems.
18121         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
18122
18123 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
18124
18125         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
18126         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
18127         result reports.
18128
18129 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
18130
18131         * configure.in (CY_AC_PATH_TCLH): Remove.
18132         * configure: Regenerate.
18133
18134 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
18135
18136         * gdb.c++/Makefile.in (clean): Add missing '{'.
18137
18138 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
18139
18140         * lib/gdb.exp: Provide a default value for noinferior.
18141
18142         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
18143         Load libgloss.exp.
18144
18145 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
18146
18147         * gdb.disasm/hppa.exp: Compile directly into an executable, use
18148         the executable, not the .o to run the tests from.
18149
18150 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
18151
18152         * gdb.base/break.exp: Don't test for program exit or exit status
18153         if $noresults if nonzero.
18154         * gdb.base/langs.exp: Likewise.
18155         * gdb.base/watchpoint.exp: Likewise.
18156
18157         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
18158         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
18159         trying to compile the testcase.
18160
18161 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
18162
18163         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
18164         * gdb.base/signals.exp (continue to handler): Likewise.
18165
18166 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
18167
18168         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
18169
18170         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
18171
18172 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
18173
18174         * gdb.base/corefile.exp: Recognize "not found" as failure
18175         when trying to determine if a core file was generated.
18176         If no core file was generate the first time, try again without
18177         the ulimit -c to work around braindamaged shells.
18178
18179 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
18180
18181         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
18182         [] tests with "test" and enclose string in quotes.
18183         * gdb.stabs/configure: Rebuild
18184
18185 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
18186
18187         Changes in sync with expect:
18188         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
18189         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
18190         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
18191         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
18192         argument to AC_REQUIRE.
18193         * configure: Regenerated.
18194
18195 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
18196
18197         * gdb.base/corefile.exp: When generating a core, discard any
18198         error messages about ulimit not found and the "core dumped"
18199         message from the shell that runs the coredumper.
18200
18201 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
18202
18203         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
18204
18205         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
18206         which sed script to run.  Expect failure for v_comb test
18207         on PA targets too.
18208
18209 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
18210
18211         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
18212         "print func2::coremaker_local" and for "backtrace in corefile.exp"
18213
18214 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
18215
18216         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
18217         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
18218         "sparc-sun-solaris*" xfails for "p v_comb".
18219         * lib/gdb.exp (default_gdb_start): Fix typo.
18220         * gdb.base/corefile.exp: Allow "Core was generated by ..."
18221         messages to not include the full program name that caused
18222         the core dump since some systems (such as solaris) apparently
18223         truncate this path to about 80 characters.
18224         When generating a core file first try increasing the core file
18225         size limit to unlimited since some systems may default it to
18226         zero, and it is harmless to try it.  Move the test for failing
18227         to generate a core file to where it will actually get executed.
18228         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
18229         new gdb result from g++ debug info improvements and make old
18230         pattern obsolescent.  Also account for size_t differences
18231         (may be int or long).
18232         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
18233         initialization before function call is placed in the delay slot
18234         and thus appears to be skipped over by commands such as "next".
18235
18236 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
18237
18238         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
18239
18240 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
18241
18242         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
18243         input source file; fix code to compile test to deal with this
18244         convention.
18245         * gdb.c++/*.exp: Likewise.
18246
18247 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
18248
18249         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
18250         "bt in signals.exp".
18251
18252 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
18253
18254         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
18255         "step over execarg initialization" and
18256         "step over corearg initialization".
18257
18258 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
18259
18260         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
18261         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
18262
18263 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
18264
18265         From Rob Savoye  (rob@poseidon.cygnus.com)
18266         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
18267         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
18268         configure.in}, gdb.disasm/{Makefile.in, configure.in},
18269         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
18270         configure.in}: Major reworking for autoconfig.
18271         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
18272         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
18273         New files.
18274         * config/unix-gdb.exp:  Make GDB global.
18275         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
18276         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
18277         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
18278         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
18279         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
18280         term.exp, twice.exp, watchpoint.exp, whatis.exp},
18281         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
18282         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
18283         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
18284         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
18285         pr-8136.exp, result.exp, string.exp, tuples.exp},
18286         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
18287         to returns as necessary, arrange for test to compile own testcase
18288         executable.
18289         * lib/gdb.exp: Changes for testsuite to compile own test cases.
18290
18291 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
18292
18293         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
18294         clear_xfail at end of test which might not call either pass or fail.
18295         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
18296         "backtrace through signal handler".
18297
18298 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18299
18300         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
18301         continuing from a job control stop signal.
18302         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
18303
18304 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
18305
18306         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
18307         * gdb.base/corefile.exp: Likewise.
18308         * gdb.base/funcargs.exp: Likewise.
18309
18310 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
18311
18312         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
18313         * config/monitor.exp:  Add support for setting baud rate.
18314
18315 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
18316
18317         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
18318         i*86-*-linux* xfails for "backtrace through signal handler".
18319         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
18320         "print func2::coremaker_local".
18321         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
18322         alpha-dec-osf2* xfail for
18323         "delete all breakpoints when none".
18324
18325 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
18326
18327         * gdb.base/break.exp: Change test that deletes all breakpoints
18328         when no user breakpoints are installed.  A post 4.15 change
18329         causes gdb to no longer prompt in this case.
18330
18331 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
18332
18333         * gdb.base/return.exp (return_tests):  Change xfail for test
18334         "correct value returned double test" to stop xfailing at
18335         Solaris 2.5.  Apparently the bug has been fixed.
18336
18337 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
18338
18339         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
18340         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
18341
18342 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
18343
18344         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
18345         * gdb.disasm/hppa.s: Corresponding changes.
18346
18347 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
18348
18349         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
18350         makefile fragment.
18351         * config/mt-hpux: Deleted.
18352
18353 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
18354
18355         * Many files: When warning about suppressed tests due to a
18356         nonexistant test binary, avoid incrementing the warning count.
18357
18358 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
18359
18360         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
18361
18362 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18363
18364         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
18365         "sparc-*-solaris2*".
18366
18367 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18368
18369         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
18370         Add global and local variables and initialize them.
18371         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
18372         by printing variables. Remove rs6000 and powerpc xfails, BFD now
18373         extracts the file name and terminating signal from the core file.
18374         * TODO:  Remove note about tests for correct mapping of corefile.
18375         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
18376         from optimizing it away.
18377         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
18378         handles common blocks.
18379
18380 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
18381
18382         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
18383         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
18384
18385 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
18386
18387         * Makefile.in (maintainer-clean): New target, synonym for
18388         realclean.
18389         * gdb.base/Makefile.in (maintainer-clean): Likewise.
18390         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
18391         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
18392         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
18393         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
18394         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
18395
18396 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
18397
18398         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
18399         xfails when not gcc compiled for "print foo::funclocal".
18400         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
18401         "print foo::funclocal at foo",
18402         "print 'scope1.c'::foo::funclocal at foo",
18403         "print foo::funclocal_bss at foo",
18404         "print 'scope1.c'::foo::funclocal_bss at foo",
18405         "print foo::funclocal_ro at foo",
18406         "print 'scope1.c'::foo::funclocal_ro at foo",
18407         "print bar::funclocal at foo" and
18408         "print 'scope1.c'::bar::funclocal at foo".
18409         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
18410         gcc compiled for "print foo::funclocal at bar".
18411         Expand all messages to ensure that they identify that
18412         the test is at bar().
18413         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
18414         gcc compiled for:
18415         "ptype on opaque struct pointer (statically)",
18416         "ptype on opaque struct tagname (statically)",
18417         "ptype on opaque struct pointer (dynamically) 1",
18418         "ptype on opaque struct tagname (dynamically) 1",
18419         "ptype on opaque struct pointer (dynamically) 2" and
18420         "ptype on opaque struct tagname (dynamically) 2
18421         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
18422         gcc compiled for:
18423         "p datalocal"
18424         "whatis datalocal",
18425         "ptype datalocal",
18426         "p bsslocal",
18427         "whatis bsslocal", and
18428         "ptype bsslocal".
18429         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
18430         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
18431         when not gcc compiled.
18432         * gdb.base/funcargs.exp (float_and_integral_args):  Add
18433         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
18434         compiled.
18435         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
18436         "backtrace from call6a" when not gcc compiled.
18437         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
18438         "backtrace from call7a" when not gcc compiled.
18439         * gdb.base/callfuncs.exp (do_function_calls):
18440         Add "hppa*-*-hpux*" xfail when not gcc compiled for
18441         "p t_char_array_values(char_array_val2,char_array_val1)",
18442         "p t_char_array_values(char_array_val1,char_array_val2)",
18443         "p t_char_array_values("carray 1","carray 2")",
18444         "p t_char_array_values("carray 1",char_array_val2)",
18445         "p t_char_array_values(char_array_val1,"carray 2")",
18446         "p sum_args(1,{2})",
18447         "p sum_args(2,{2,3})",
18448         "p sum_args(3,{2,3,4})",
18449         "p sum_args(4,{2,3,4,5})"
18450         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
18451         "backtrace in corefile.exp" when not gcc compiled.
18452
18453 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18454
18455         * gdb.base/signals.exp:  Rewrite `handle all print' test as
18456         a procedure. Accept blanks or TABs as whitespace, increase
18457         timeout and expect input buffer size for the large output
18458         from the command. Remove "i*86-*-bsdi2.0" xfail.
18459
18460 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18461
18462         * gdb.base/setvar.exp:  Add new testcases for truncation when
18463         assigning invalid values to bitfields.
18464
18465 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
18466
18467         * gdb.base/callfuncs.exp (do_function_calls):  Remove
18468         mips-sgi-irix* xfail for
18469         "call inferior func with struct - returns char *"
18470         and fix test so that an optional (unsigned char *) cast is
18471         accepted in the result.
18472
18473 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
18474
18475         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
18476         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
18477         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
18478         * gdb.base/signals.exp: Remove duplicate "handle all print" test
18479         that accidentally got checked in.
18480
18481 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
18482
18483         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
18484         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
18485         compiled test.
18486         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
18487         Add mips-sgi-irix5* xfail for not gcc compiled.
18488         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
18489         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
18490         "p top", "whatis top", "p middle", and "whatis middle".
18491         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
18492         "whatis signed char" for not gcc compiled.
18493         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
18494         "set variable signed char=-1 (-1)" and
18495         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
18496         * gdb.base/funcargs.exp (float_and_integral_args):
18497         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
18498         Add mips-sgi-irix* xfail when not gcc compiled for
18499         "continue to call2b".
18500         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
18501         "continue to call2g".
18502         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
18503         "backtrace from call6a"
18504         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
18505         "backtrace from call7k".
18506         Add mips-sgi-irix5* xfail when not gcc compiled for
18507         "backtrace from call7a".
18508         (localvars_after_alloca):  Fix gdb_test cmds for
18509         "print * after runto ...".
18510         Remove rs6000-*-* xfails for
18511         "print i after runto localvars_after_alloca" and
18512         "print l after runto localvars_after_alloca"
18513         for all compilers.
18514         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
18515         when not compiled with gcc, for:
18516         "print signed char == (minus)",
18517         "print signed char != (minus)",
18518         "print signed char < (minus)",
18519         "print signed char > (minus)".
18520         * gdb.base/callfuncs.exp (do_function_calls):
18521         Add mips-sgi-irix* xfail, when compiled with native compiler, for
18522         "call inferior func with struct - returns char *".
18523         * gdb.base/return.exp (return_tests): Change xfail for
18524         "correct value returned double test" to include Solaris 2.4.
18525         * gdb.base/funcargs.exp (float_and_integral_args):
18526         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
18527
18528 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18529
18530         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
18531         enumeration bitfields if compiling with GNU C.
18532         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
18533         to empty' prompt.
18534
18535 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
18536
18537         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
18538         test for PRO targets.
18539
18540         * gdb.base/funcargs.exp: Avoid ever setting more than 8
18541         breakpoints in the inferior at any given time by making
18542         two groups of breakpoints for call2*, call6* and call7*
18543         tests.
18544
18545 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18546
18547         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
18548         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
18549         from optimizing it away.
18550         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
18551         "call inferior func with struct".
18552
18553 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
18554
18555         * configure.in: Only configure gdb.chill for particular targets.
18556
18557 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
18558
18559         * gdb.base/Makefile.in:  Add action to .c.o transformation
18560         rule that generates a .ci file for each .o file and remove
18561         explicit .c.o rules except for callfuncs.o.
18562         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
18563         generates a .ci file for each .o file and remove explicit
18564         .cc.o rules.
18565         (clean): Remove *.tmp *.ci files.
18566         (EXECUTABLES): Remove templ-info.exp.
18567         * gdb.base/compiler.c: New file.
18568         * gdb.c++/compiler.cc: New file
18569         * gdb.base/scope.exp: Source gdb.base/scope.ci.
18570         Change rs6000-*-* xfail for
18571         "print 'scope0.c'::filelocal_ro" and
18572         "print 'scope1.c'::filelocal" and
18573         "print 'scope1.c'::filelocal_bss" and
18574         "print 'scope1.c'::filelocal_ro" and
18575         "print 'scope1.c'::foo::funclocal" and
18576         "print 'scope1.c'::foo::funclocal_ro" and
18577         "print 'scope1.c'::bar::funclocal" and
18578         "print 'scope0.c'::filelocal_ro" and
18579         "print 'scope1.c'::filelocal at foo" and
18580         "print 'scope1.c'::filelocal_bss at foo" and
18581         "print 'scope1.c'::filelocal_ro at foo" and
18582         "print 'scope1.c'::foo::funclocal at foo" and
18583         "print 'scope1.c'::foo::funclocal_bss at foo" and
18584         "print 'scope1.c'::foo::funclocal_ro at foo" and
18585         "print 'scope1.c'::bar::funclocal at foo" and
18586         "print 'scope0.c'::filelocal_ro" and
18587         "print 'scope1.c'::filelocal" and
18588         "print 'scope1.c'::filelocal_bss" and
18589         "print 'scope1.c'::filelocal_ro" and
18590         "print 'scope1.c'::foo::funclocal" and
18591         "print 'scope1.c'::foo::funclocal_bss" and
18592         "print 'scope1.c'::foo::funclocal_ro" and
18593         "print 'scope1.c'::bar::funclocal" and
18594         "print 'scope1.c'::bar::funclocal_bss"
18595         to only be xfail'd when not compiled with gcc.
18596         Add rs6000-*-* xfail for
18597         "print 'scope0.c'::filelocal_bss before run"
18598         when compiled with gcc.
18599         (test_at_main): Add rs6000-*-* xfail for
18600         "print filelocal_ro in test_at_main"
18601         when compiled with gcc.
18602         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
18603         Add rs6000-*-aix* xfail for
18604         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
18605         "ptype t_char_array",  not compiled with gcc.
18606         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
18607         xfail for "list foo (in include file)" when gcc compiled.
18608         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
18609         (integral_args): Add rs6000-*-* xfail for
18610         "run to call0a" if not compiled with gcc.
18611         (unsigned_integral_args): Add rs6000-*-* xfail for
18612         "run to call1a" if not compiled with gcc.
18613         (float_and_integral_args):  Add rs6000-*-* xfail for
18614         "run to call2a" if not compiled with gcc and for
18615         "continue to call2b" for any compiler.
18616         Add rs6000-*-* xfail to
18617         "print f1 after run to call2a" for gcc compiled.
18618         (discard_and_shuffle): Add rs6000-*-* xfail for
18619         "run to call6a".
18620         (shuffle_round_robin): Add rs6000-*-* xfail for
18621         "backtrace from call7a" if not compiled with gcc.
18622         Add rs6000-*-* xfail for
18623         "backtrace from call7b" if compiled with gcc.
18624         (call_after_alloca): Add rs6000-*-* xfail for
18625         "print c in call_after_alloca" and
18626         "print s in call_after_alloca" and
18627         "backtrace from call_after_alloca_subr"
18628         if not compiled with gcc.
18629         (localvars_in_indirect_call): Add rs6000-*-* xfail for
18630         "print c in localvars_in_indirect_call" and
18631         "print c in localvars_in_indirect_call" and
18632         "backtrace in indirectly called function" and
18633         "stepping into indirectly called function"
18634         if not compiled with gcc.
18635         (localvars_after_alloca): Add rs6000-*-* xfail for
18636         "print c after runto localvars_after_alloca" and
18637         "print s after runto localvars_after_alloca" and
18638         "print i after runto localvars_after_alloca" and
18639         "print l after runto localvars_after_alloca"
18640         for all compilers.
18641         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
18642         than whatis-info.exp.
18643         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
18644         than opaque-info.exp.
18645         Setup rs6000-*-* xfail for
18646         "ptype on opaque struct pointer (statically)" and
18647         "ptype on opaque struct pointer (dynamically)" when
18648         not compiled with gcc.
18649         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
18650         rather than callf-info.exp.
18651         (do_function_calls):  Add clear_xfail for rs6000-*-* for
18652         "p t_float_values2(3.14159,float_val2)".  Seems to work
18653         fine there, both with xlc and gcc.  Need to find out what
18654         it is doing right and fix other platforms.
18655         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
18656         "call inferior func with struct - returns int",
18657         "call inferior func with struct - returns long",
18658         "call inferior func with struct - returns float",
18659         "call inferior func with struct - returns double",
18660         "call inferior func with struct - returns char *",
18661         but only if not gcc compiled (presumes xlc compiled).
18662         Change rs6000-*-* xfails for
18663         "call inferior func with struct - returns char" and
18664         " call inferior func with struct -  returns short" to only
18665         xfail if not using gcc.
18666         (clean mostlyclean):  Remove *.ci and *.tmp files.
18667         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
18668         than templ-info.exp.
18669         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
18670         Add rs6000-*-* xfail for "up to foo in langs.exp"
18671         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
18672         when not gcc compiled.
18673
18674 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
18675
18676         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
18677         * gdb.base/corefile.exp: Likewise.
18678         * gdb.base/list.exp: Likewise.
18679         * gdb.base/scope.exp: Likewise.
18680         * gdb.base/siganls.exp: Likewise.
18681
18682         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
18683         compiler output.
18684         * gdb.base/whatis.exp: Likewise.
18685
18686 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
18687
18688         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
18689         failure (opcode table has been fixed to match reality).
18690
18691 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
18692
18693         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
18694         "call inferior func with struct - returns char",
18695         "call inferior func with struct - returns short"
18696
18697         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
18698         "print 'scope0.c'::filelocal at main",
18699         "print 'scope0.c'::filelocal_bss in test_at_main",
18700         "print 'scope0.c'::filelocal at foo",
18701         "print 'scope0.c'::filelocal_bss in test_at_foo",
18702         "print 'scope0.c'::filelocal at bar",
18703         "print 'scope0.c'::filelocal_bss in test_at_bar"
18704
18705         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
18706         in source file 1".  This bug seems to have been fixed with both
18707         gcc and native cc (was native assembler bug?).
18708
18709 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
18710
18711         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
18712         "backtrace through signal handler" to "i*86-*-sysv4*".
18713         * gdb.base/signals.exp: Add xfail for "'next' behaved as
18714         continue" case.  Add "known SVR4 bug" to fail message.
18715         Add "i*86-*-bsdi2.0" xfail for "handle all print".
18716         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
18717         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
18718         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
18719         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
18720         "up to foo in langs.exp", "show language at foo in
18721         langs.exp", "up to cppsub_ in langs.exp", "show
18722         language at cppsub_ in langs.exp", "up to fsub in
18723         langs.exp", and "show language at fsub in langs.exp".
18724         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
18725         "bactrace in corefile.exp".
18726         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
18727         "call inferior function with struct - returns float" and
18728         "call inferior function with struct - returns double".
18729
18730 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
18731
18732         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
18733         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
18734         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
18735         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
18736
18737 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
18738
18739         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
18740         (or overriden) "CHILL" macro rather then bare "gcc".
18741         Also look for ../../gcc/xgcc since that is what we will
18742         actually need, not "Makefile".  Remove following assignment
18743         of CHILL to CHILL_FOR_TARGET because that results in
18744         recursive definition.
18745
18746 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
18747
18748         * gdb.base/corefile.exp:  Change xfail for backtrace in
18749         corefile.exp from linuxaout to all linux.
18750         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
18751         cases where we miss the breakpoint at the signal handler
18752         for some reason.  Setup xfail for linuxoldld/linuxaout and
18753         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
18754         hitting SIGURG breakpoint.
18755         * gdb.base/signals.exp:  Setup xfail for "next" acting like
18756         continue to add linuxoldld.  Setup xfail for all linux for
18757         "next to handler in signals_tests_1", "backtrace in
18758         signals_tests_1", "continue to func1", "pass SIGUSR1",
18759         and continue to handler".
18760
18761 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
18762
18763         * Update all FSF addresses except those in COPYING* files.
18764
18765 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
18766
18767         * gdb.base/a2-run.exp: Change messages to be more explicit about
18768         the status of args, and quote binfile in results.
18769
18770 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
18771
18772         * gdb.base/callfuncs.exp: Add tests for passing structs to
18773         inferior functions and return various types.
18774         * gdb.base/callfuncs.c: Add functions to receive a struct
18775         and return a member of the struct, in various types.
18776
18777 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18778
18779         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
18780
18781 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
18782
18783         * config/vxworks29k.exp: New file, sources vxworks.exp.
18784
18785 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
18786
18787         * config/gdbremote.exp: New file.  Testing framework using
18788         gdbserver.
18789
18790 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
18791
18792         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
18793         "call function when asleep" and "send end of file".
18794         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
18795         for "backtrace in corefile.exp".
18796         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
18797         for "backtrace through signal handler".
18798         * gdb.base/corefile.exp: Make sure we actually generate a core file
18799         before trying the core tests.  Some systems allow the user to suppress
18800         generation of core files and default to that (linux for example).
18801         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
18802         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
18803
18804 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
18805
18806         * gdb.threads: New directory with some crude multi-threaded
18807         gdb tests (step.exp and step2.exp).
18808         * config/mt-lynx (STEP_EXECUTABLE): Define.
18809         (THREADFLAGS): Define.
18810
18811 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
18812
18813         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
18814
18815         * gdb.base/signals.exp: Disable whole file for lynx until
18816         further notice.
18817
18818         * gdb.base/signals.exp: xfail test where "next" acts like
18819         "continue" for lynx.
18820
18821         * gdb.base/interrupt.exp: xfail test for calling function while
18822         inferior is asleep for lynx.
18823
18824         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
18825         than one cr-lf  after each command.
18826
18827 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18828
18829         * configure.in:  Reinstate setting of stabsdirs variable, fix
18830         typo in setting up configdirs for native builds.
18831
18832         * gdb.base/return.exp:  Fix typo in return double test.
18833         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
18834         compiler from optimizing them away.
18835
18836 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
18837
18838         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
18839         sequences to be echo'd by gdb when using gdb_test.
18840         * gdb.chill/chexp.exp: Likewise.
18841         * gdb.fortran/exprs.exp: Likewise
18842
18843 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
18844
18845         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
18846         after the inferior gdb has started.
18847
18848         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
18849         after each command.
18850         * gdb.base/funcargs.exp: Likewise.
18851         * gdb.base/gdbvars.exp: Likewise.
18852         * gdb.base/interrupt.exp: Likewise.
18853         * gdb.base/list.exp: Likewise.
18854         * gdb.base/watchpoint.exp: Likewise.
18855         * gdb.c++/demangle.exp: Likewise.
18856         * gdb.c++/inherit.exp: Likewise.
18857         * gdb.chill/chexp.exp: Likewise.
18858         * gdb.fortran/exprs.exp: Likewise.
18859
18860         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
18861         test if we can't handle IO to/from the inferior.
18862
18863         * gdb.c++/misc.exp: Always check for a program already being
18864         started after sending a "run" command to gdb.
18865
18866         * gdb.base/twice.exp: Start with a fresh gdb.
18867
18868         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
18869         only depend on gdb's expression code, not the chill runtime.
18870
18871         * gdb.base/return.c: Put return values into variables so we
18872         can have gdb print them rather than depending on the program
18873         to print them.
18874         * gdb.base/return.exp: Corresponding changes.
18875
18876         * lib/gdb.exp: Provide default value for noinferiorio.
18877         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
18878         the inferior.
18879
18880         * gdb.base/break.exp: Always check for a program already being
18881         started after sending a "run" command to gdb.
18882         (text_next_with_recursion): Don't check the output from the
18883         program's printf statement.  Instead just make sure the program
18884         exited.
18885
18886         * gdb.base/commands.exp: Protect tests which need arguments with
18887         $noargs conditionals.
18888
18889 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18890
18891         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
18892         of structure member arrays to match gdb/valops.c:value_addr change.
18893
18894 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
18895
18896         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
18897         cases.
18898
18899 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
18900
18901         * configure.in (configdirs):  Remove gdb.chill from default list
18902         of subdirs and then add it back in only if doing a native build.
18903         The current chill compiler does not yet work in any cross build.
18904         * Revert all signal changes from Jul 6.
18905         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
18906         for sh-hms targets, allowing these tests to link, with no other
18907         changes.  Testing is suppressed by setting "nosignals" in site.exp.
18908
18909 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
18910
18911         * configure.in (signaldirs): Define and add to configdirs for all
18912         targets except some specific ones that are known to not support signals.
18913         Also clean up formatting.
18914         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
18915         (signals, sigall):  Remove rules to build.
18916         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
18917         Moved to new gdb.signals directory.
18918         * gdb.signals: New test directory.
18919         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
18920         signals.c signals.exp}:  New or moved files.
18921
18922 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
18923
18924         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
18925
18926 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
18927
18928         * gdb.base/return.exp:  Xfail `return double' test failure
18929         on at least Solaris 2.3 and handle future/past versions on
18930         a case by case basis as appropriate.  Also update message
18931         to include i*86 failures.
18932
18933 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
18934
18935         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
18936
18937         * lib/gdb.exp: Fix comment which erroneously identified
18938         gdb_file_cmd as gdb_load (the 19 May change was in fact to
18939         gdb_file_cmd not gdb_load).
18940         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
18941
18942         * gdb.base/setvar.exp: Make test names consistent between pass and
18943         fail cases.  Use gdb_test more.
18944
18945 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
18946
18947         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
18948
18949 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18950
18951         * gdb.base/help.exp:  Fix expected help string for `show commands'.
18952
18953 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
18954
18955         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
18956
18957         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
18958         of a text section.
18959
18960 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
18961
18962         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
18963         that loop eventually terminates.  Fix Connection refused logic so
18964         that testsuite will expire nicely.
18965
18966 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
18967
18968         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
18969         config/rom68k.exp:  New tcl glue for the appropriate monitors.
18970         These all just end up calling monitor.exp.
18971         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
18972         refused' by retrying.  Cleanup some timeout issues.
18973         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
18974         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
18975         callers don't have to set/restore global timeout variable.
18976
18977         * The following set of changes centralizes management of the global
18978         timeout variable.  This way, it can be set in one target dependent
18979         place instead of dozens of places scattered throughout the test suite.
18980         If you need to lengthen a timeout, then you should either set timeout
18981         in one of the config/{target}.exp files, or multiply it by a factor.
18982         Setting it to an absolute value is always going to lose for some
18983         targets.
18984         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
18985         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
18986         * gdb.base/funcargs.exp:  Don't set timeout.
18987         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
18988         * gdb.base/printcmds.exp (test_print_string_constants
18989         test_print_array_constants):  Don't set timeout.
18990         * gdb.base/ptype.exp:  Don't set timeout.
18991         * gdb.base/recurse.exp:  Don't set timeout.
18992         * gdb.base/return.exp:  Don't set timeout.
18993         * gdb.base/watchpoint.exp:  Don't set timeout.
18994         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
18995         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
18996
18997 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
18998
18999         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
19000
19001 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19002
19003         * lib/gdb.exp: Disable chill tests for irix5.
19004
19005 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19006
19007         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
19008         each test pass or fail.
19009
19010 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19011
19012         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
19013         xlc not gcc.
19014
19015 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
19016
19017         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
19018
19019 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
19020
19021         * config/est.exp:  Fix copyright and comments.  Remove dead code.
19022         Use targetname, serialport and baud variables instead of fixed
19023         constants.
19024         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
19025         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
19026
19027 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19028
19029         * gdb.base/watchpoint.exp: Don't run
19030         test_watchpoint_triggered_in_syscall for sunos.
19031
19032 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19033
19034         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
19035         they don't seem to exist.  Do include stdio.h.
19036
19037 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19038
19039         * gdb.base/a1-selftest.exp: Add alpha xfail.
19040
19041 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19042
19043         * gdb.base/watchpoint.c (main): Prompt before calling read().
19044         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
19045         Revise accordingly.  Remove cruft about sending "123" several
19046         times, until it gets noticed.  Clean up the "print buf[0]" stuff
19047         so that it passes or fails, and waits for prompts in the usual way.
19048
19049 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19050
19051         * gdb.base/recurse.exp: Fix comment.
19052
19053         * TODO: Remove item about printing variables in nodebug.exp.  Add
19054         item about enabling tests which are only run on some targets.
19055
19056         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
19057         fail, make test names unique, use new gdb_test convention
19058         regarding pattern, use gdb_test more, etc.).
19059
19060         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
19061         fail, make test names unique, etc.).
19062
19063 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19064
19065         * gdb.base/nodebug.c:  Change return type of top and middle to
19066         short.
19067         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
19068         are fixed by the recent mdebugread.c changes. Allow `short ()'
19069         as type for top and middle.
19070
19071 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19072
19073         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
19074         nearly as I can tell, the whole thing was an accident in Stu's
19075         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
19076         to replace a send/expect pair with gdb_test, but ended up only
19077         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
19078         of 30 Mar 1995 took care of it, but left this vestigial comment
19079         which I am now nuking.
19080
19081 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19082
19083         * gdb.base/break.exp: Look for different line number for
19084         breakpoint at main depending on usestubs.
19085
19086 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19087
19088         * gdb.base/list.exp:  Adjust some alternate expect patterns to
19089         match recent list0.c change. Add alternate expect pattern for
19090         output from `list default lines around main' for optimizing
19091         compilers.
19092
19093 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19094
19095         * lib/gdb.exp: If nosignals is not set, set it to 0.
19096
19097 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
19098
19099         * config/slite-gdb.exp: Responds to load symbol table prompt.
19100         * gdb.base/break.exp: Adjust line number, fix rerun.
19101         * gdb.base/langs0.c: Add #ifdef usestubs.
19102
19103 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
19104
19105         * gdb.base/list.exp: Adjust line contents after adding new lines in
19106         list0.c. Also fix a syntax error.
19107
19108         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
19109         * gdb.base/break.exp: ditto.
19110         * gdb.base/list.exp: ditto.
19111         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
19112         * gdb.base/run.c: ditto.
19113         * gdb.base/list0.c: ditto.
19114         * gdb.base/funcargs.c: ditto.
19115
19116 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
19117
19118         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
19119         $targetname, $serialport and $baud instead of hardwired variables.
19120         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
19121         target doesn't support signals.
19122
19123 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
19124
19125         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
19126
19127 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19128
19129         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
19130         Don't rely on the value of an auto variable before it has been
19131         initialized.  Use gdb_test more.
19132
19133 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19134
19135         * lib/gdb.exp (default_gdb_version): A version number must start
19136         with a digit, but other than that contains all characters up to
19137         the first whitespace character.
19138
19139 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19140
19141         * gdb.base/commands.exp (breakpoint_command_test): New tests.
19142
19143 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19144
19145         * gdb.c++/*.exp: Warn if executable does not exist.  The original
19146         reason for skipping the warning was that configure.in sometimes
19147         intentionally skipped building the executables but the tcl code
19148         had no way of knowing.  That (a) was always bogus with respect to
19149         error handling, (b) is no longer true (right now there is no way
19150         to skip C++ tests).
19151
19152         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
19153
19154 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19155
19156         * gdb.base/list.exp:  Add expect patterns for output from
19157         SunPRO compiled executables.
19158         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
19159         types.
19160
19161 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19162
19163         * gdb.base/break.exp (test_next_with_recursion): Accept any line
19164         number (we are already testing that the correct source line text
19165         gets printed).
19166
19167         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
19168         that is what is intended, but something needed to be done to get
19169         sunos4 native working again.
19170
19171         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
19172
19173         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
19174         apparently went with a (very) old xfail.
19175
19176 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
19177
19178         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
19179         runto_main is a proc in gdb.exp that will do 'step' for target use
19180         stubs.
19181         * gdb.base/exprs.exp: ditto.
19182         * gdb.base/interrupt.exp: ditto.
19183         * gdb.base/opaque.exp: ditto.
19184         * gdb.base/printcmds.exp: ditto.
19185         * gdb.base/ptype.exp: ditto.
19186         * gdb.base/scope.exp: ditto.
19187         * gdb.base/setvar.exp: ditto.
19188         * gdb.base/signals.exp: ditto.
19189         * gdb.base/twice.exp: ditto.
19190         * gdb.c++/classes.exp: ditto.
19191         * gdb.c++/inherit.exp: ditto.
19192         * gdb.c++/templates.exp: ditto.
19193         * gdb.base/break.exp: no run and hit main for stubs. Change line
19194         numbers for breakpoints and info breakpoint.
19195         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
19196         breakpoint().
19197         * gdb.base/callfuncs.c: ditto.
19198         * gdb.base/exprs: ditto.
19199         * gdb.base/interrupt.c: ditto.
19200         * gdb.base/opaque0.c: ditto.
19201         * gdb.base/printcmds.c: ditto.
19202         * gdb.base/ptype.c: ditto.
19203         * gdb.base/scope0.c: ditto.
19204         * gdb.base/setvar.c: ditto.
19205         * gdb.base/signals.c: ditto.
19206         * gdb.base/twice.c: ditto.
19207         * gdb.c++/misc.cc: ditto.
19208         * gdb.c++/templates.cc: ditto.
19209
19210 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19211
19212         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
19213
19214         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
19215         somewhere between `read' and `main.c'.  I'm pretty sure the
19216         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
19217         and it isn't particularly useful.
19218
19219         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
19220
19221 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19222
19223         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
19224
19225 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
19226
19227         * config/mt-slite: add LIBS and -nostdlib.
19228         * config/slite-gdb.exp: add this new file to support sparclite target.
19229
19230 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
19231
19232         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
19233
19234         * gdb.base/a2-run.exp: Change argument to istarget from
19235         "*-*-vxworks" to "*-*-vxworks*".
19236         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
19237
19238 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
19239
19240         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
19241         will not runto main but do a 'step' to step out of breakpoint().
19242         * config/mt-slite: add -Dusestubs.
19243
19244 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19245
19246         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
19247         instead of just @.
19248
19249         * gdb.base/signals.exp: Add test for "handle all print".
19250         * TODO: Remove "handle all print".  Also remove item about
19251         checking copyright date (I don't like the idea of a spurious FAIL
19252         based on when we run the tests).
19253
19254         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
19255         for SunOS4 (reason for failure not investigated).  Remove
19256         redundant test for $binfile.
19257
19258         * gdb.base/nodebug.c (array_index): Call malloc.
19259
19260         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
19261
19262 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
19263
19264         * gdb.base/recurse.exp: Update gdb_test invocation to use new
19265         conventions and slightly simplify the matching regexp.
19266
19267 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19268
19269         * gdb.base/break.exp: Update gdb_test invocation to use new
19270         convention.
19271
19272         * lib/gdb.exp: If noargs is not set, set it to 0.
19273
19274         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
19275         tests unique.
19276
19277         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
19278
19279 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19280
19281         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
19282         one argument of type "<non-float parameter>".
19283
19284 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
19285
19286         * config/rom68k.exp:  New file to support Motorola IDP board.
19287         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
19288         * gdb.base/break.c:  Change things around so that this program
19289         doesn't depend upon args.  This is necessary to make remote
19290         targets work (in general, they can't take args).
19291         * gdb.base/break.exp:  Don't try to send args to program.  Don't
19292         expect output.  Also, replace lots of code with gdb_test.
19293
19294 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19295
19296         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
19297         printing of '\'' (which is what the comment says we are testing,
19298         even though we were not), not '''.
19299         (test_integer_literals_rejected): Test that printing ''' is an error.
19300
19301         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
19302         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
19303         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
19304         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
19305         Use gdb_test not test_print_accept.
19306         * lib/gdb.exp: Remove test_print_accept.
19307
19308         * gdb.base/signals.exp (signal_tests_1): Make pass message
19309         consistent with fail message.
19310
19311         * gdb.base/whatis.exp: Remove xfails for printing char vs.
19312         unsigned char; the bug (PR 1821) is fixed.
19313
19314         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
19315
19316         * gdb.base/scope.exp (test_at_localscopes): Call pass for
19317         successful tests--makes xfailing them work right.
19318
19319 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19320
19321         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
19322         only \r\n, not .*.  The test can pass .* as the last thing in
19323         $pattern if that is what it wants.  In addition to providing this
19324         flexibility, this change should speed up pattern matching in cases
19325         where the pattern already ended with .* (there were a number of
19326         them).  This change also helps catch bad patterns--in the old
19327         scheme the typo "char \*" instead of "char \\*" would pass.  Now
19328         it is caught.
19329         * Many .exp files: Update callers.
19330
19331         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
19332         clearer and does not spuriously match multiple ('s.  Likewise for
19333         ) and *.
19334
19335         * gdb.base/nodebug.exp: Test ability to call a function and pass
19336         it a string (even with no debugging info).
19337
19338         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
19339         "p '\'", which is the same as "p ''" once tcl gets done with
19340         quoting, to "p '\\'", which I suspect is what is intended (one
19341         backslash gets sent to GDB).
19342
19343         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
19344
19345 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19346
19347         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
19348         1817) was fixed literally years ago.
19349
19350 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19351
19352         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
19353         test, it causes stepping out of call_after_alloca_subr with
19354         optimizing compilers.
19355         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
19356         fails.
19357
19358         * gdb.c++/templates.exp:  Source templ-info.exp only if
19359         the templates executable exists.
19360
19361         * gdb.c++/misc.cc (class Contains_static_instance,
19362         class Contains_nested_static_instance),
19363         gdb.c++/classes.exp (test_static_members):  Test printing of
19364         a class that contains a static instance of the class.
19365
19366 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19367
19368         * gdb.base/langs2.c (cppsub_): Don't prototype.
19369         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
19370         only, I believe).
19371
19372 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19373
19374         * lib/gdb.exp (skip_chill_tests): New procedure.
19375
19376         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
19377
19378 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
19379
19380         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
19381         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
19382
19383 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19384
19385         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
19386
19387         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
19388         disassemble 8, not 16, instructions for part 4.
19389
19390         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
19391         support the latter anymore.
19392
19393         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
19394         -DNO_PROTOTYPES.
19395         * gdb.base/callfuncs.c: Control use of prototypes based on
19396         NO_PROTOTYPES, not __STDC__.
19397         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
19398         t_float_values2 tests if prototypes in use.
19399
19400         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
19401         t_double_values):  When checking differences against DELTA, check
19402         that difference is within the range (-DELTA,DELTA), not just
19403         (-infinity,DELTA).
19404
19405 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
19406
19407         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
19408         'file' command firts, then 'target', then 'load', this is due to gdb
19409         target set up.
19410         * config/mips-gdb.exp: Fix a couple regular exp bugs.
19411
19412 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
19413
19414         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
19415         FP load/store variants.
19416         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
19417
19418 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
19419
19420         * gdb.base/term.exp: Do not give a warning if not native, it is
19421         not an abnormal condition.
19422
19423 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
19424
19425         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
19426         t_char_array".
19427
19428 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
19429
19430         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
19431         are getting the version number.
19432
19433         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
19434         if not native, it is not an abnormal condition.
19435
19436 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19437
19438         * lib/gdb.exp: Just use "file exists", rather than undocumented
19439         dejagnu procedure "findfile".
19440
19441 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
19442
19443         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
19444           (LDFLAGS): Set to -Xlinker -Ur.
19445
19446         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
19447           Removed, these values are set by lib/gdb.exp.
19448
19449         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
19450
19451 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
19452
19453         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
19454           of replicating gdb startup code.
19455
19456         * config/mt-vxworks (LDFLAGS): Set to -r.
19457           (CFLAGS_FOR_TARGET): Removed.
19458
19459         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
19460           (gdb) and gdb for vxworks uses (vxgdb).
19461
19462         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
19463           executable is not in the tree and host != target, use sed and
19464           program_transform_name to determine the gdb name used by the
19465           target.
19466
19467         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
19468           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
19469
19470 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19471
19472         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
19473         floats, chars, and shorts where there are ANSI-style function
19474         definitions.
19475
19476         * gdb.base/langs.exp, gdb.base/langs*: New test.
19477         * gdb.base/Makefile.in: Build it.
19478         * TODO: Remove item about checking that C names don't get C++
19479         demangling applied; this test tests it.
19480
19481 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19482
19483         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
19484         went with the const70 xfail.  The xfail went away a year ago.
19485
19486         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
19487
19488         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
19489         for hp300.
19490
19491         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
19492
19493         * gdb.base/a1-selftest.exp: Don't run on hp300.
19494
19495 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19496
19497         * Makefile.in (site.exp): Set host_alias and target_alias as well
19498         as host_triplet and target_triplet.
19499
19500 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19501
19502         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
19503
19504         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
19505         places as other ecoff systems).
19506
19507         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
19508         ultrix.
19509
19510 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19511
19512         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
19513         remove them.
19514         * gdb.base/nodebug.exp: Accept "function" in addition to "text
19515         variable and "variable" in addition to "data variable".
19516         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
19517
19518         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
19519         2.
19520         * gdb.base/list1.c (long_line): Add additional statement at start
19521         of function.
19522         * gdb.base/list.exp (test_forward_search): Update line number to
19523         reflect new statement.
19524
19525 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19526
19527         * gdb.base/signals.exp:  Reinitialize searched source directories
19528         after gdb_start call.
19529
19530 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
19531
19532         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
19533         * gdb.stabs/Makefile.in: Likewise.
19534
19535         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
19536         change.  Instead split the tests into smaller pieces.
19537         * gdb.disasm/hppa.s: Corresponding changes.
19538
19539 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19540
19541         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
19542         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
19543
19544         * gdb.base/funcargs.exp: Modify many tests so that every test
19545         either passes or fails.  Make some test names unique.
19546
19547 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19548
19549         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
19550         Call stty to set interrupt character.
19551
19552         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
19553         for HP assembler versus GNU assembler based on actual behavior of
19554         $(CC), rather than assuming that $(AS) is always the GNU assembler.
19555
19556         * TODO: Suggest a few more stepping tests.
19557
19558 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
19559
19560         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
19561         restart GDB for h8300 after a continue.
19562         (return): Add pattern to match a29k-udi behavior.
19563         * gdb.base/nodebug.exp: Remove obsolete comment.
19564         * gdb.base/regs.exp: New file, testing of register displays.
19565         * gdb.base/return.exp: Fix typo in reference to $objdir.
19566         * gdb.base/whatis.exp: Always start with a fresh GDB.
19567
19568 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19569
19570         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
19571         higher, these tests generate a lot of output.
19572
19573 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19574
19575         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
19576         code following the catch silently ignored some errors; without the
19577         catch they should be thrown like any other tcl error.  Also, the
19578         catch used "" instead of {} which meant all the callers who wanted
19579         to include one of the characters "[]$ had to quote it an extra time.
19580         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
19581         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
19582         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
19583         Remove extra quoting.
19584
19585 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
19586
19587         * gdb.base/commands.exp: Make test names unique; every test either
19588         passes or fails.  Update some comments.
19589
19590         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
19591
19592 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19593
19594         The following fixes a FAIL caused by the fact that the alpha stabs
19595         configuration didn't use the ".if alpha" code in weird.def.
19596         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
19597         bit pointer, so the 32 bit version works even on the alpha.
19598         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
19599         Remove the stuff which allowed us to have separate versions for
19600         alpha and everything else.
19601
19602         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
19603         regexp which "info func operator\[\](" is supposed to match.  Fix
19604         string to send to GDB.  Note that GDB still doesn't work right.  Add a
19605         new test for "info func .perator\[\](" which GDB does handle correctly.
19606
19607         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
19608
19609 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19610
19611         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
19612         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
19613         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
19614         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
19615         it makes the tests harder to understand and confuses test-o-matic.
19616         The preferred style is that each test provides a PASS or a FAIL,
19617         and has a unique message (e.g. "continue #54" not just "continue")
19618         which is the same for the pass and the fail.
19619         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
19620         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
19621         to lib/gdb.exp.
19622         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
19623         prt_accept which was basically the same thing.  Likewise for
19624         test_print_reject and prt_reject.
19625         * lib/gdb.exp (test_print_reject): Add some more error message
19626         patterns to match from the former printcmds.exp (prt_reject).
19627         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
19628         One defect of the passcount stuff is that some of it failed to
19629         report XPASS where appropriate.
19630         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
19631         stuff before and after arg in expected pattern.
19632         (test_paddr_operator_functions): Re-do test without print_addr_of;
19633         this is the only test which seems to want extra stuff there.
19634
19635 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
19636
19637         * gdb.base/nodebug.exp: Update new tests to reflect improved
19638         wording of gdb output.
19639
19640         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
19641         and "ptype" work on variables in files compiled without -g.
19642         Replaces commented out "maint print msymbol" tests.
19643
19644 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
19645
19646         * gdb.base/setvar.c (dummy): Call malloc.
19647
19648         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
19649         losing with the irix4 sed.
19650
19651         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
19652         ALRM" on irix4.
19653
19654 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
19655
19656         * TODO: Remove items about corefile.exp testing new exec-file and
19657         backtrace; both are now done.  Add items about printing enums.
19658
19659 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
19660
19661         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
19662         "get signal $thissig" test fails.
19663
19664         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
19665
19666 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
19667
19668         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
19669         compiler warning with dec alpha compiler.
19670
19671         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
19672         extra \n from gdb_test call (this explains why the prompt test
19673         that I removed yesterday was there).
19674         (user_defined_command_test): Remove extra \n and prompt test.
19675
19676         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
19677         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
19678         doesn't exist.
19679         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
19680         Also remove alpha workaround, which turns out to be because
19681         SIGABRT == SIGLOST.
19682
19683         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
19684
19685         * gdb.base/help.exp: Don't test "help show".
19686
19687 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
19688
19689         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
19690         "set print address" is on.
19691         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
19692         pass prompt to gdb_test; gdb_test already looks for the prompt.
19693
19694         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
19695
19696         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
19697         was a vestige of the manual TESTSTRATEGY, and the purpose of it
19698         was to make sure that gdb can read a core file.  But (a) the "read
19699         the corefile" part didn't make it to a1-selftest.exp, we just
19700         delete the corefile after creating it, and (b) we test reading
19701         corefiles in corefile.exp anyway.  Also, this test left around a
19702         xgdb process on Solaris.
19703
19704         * gdb.base/corefile.exp: Also test backtrace.
19705
19706 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
19707
19708         * gdb.base/commands.exp: Test a simple user defined command with
19709         arguments and if/while statements; verify the full user command is
19710         printed by "show user".
19711
19712         * gdb.base/commands.exp: Test if/while commands as part of a
19713         breakpoint command list; verify they appear in breakpoint
19714         information.
19715
19716 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
19717
19718         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
19719         than by dividing by zero.
19720
19721 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
19722
19723         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
19724         performing an inferior call with watchpoints enabled.
19725         * gdb.base/watchpoint.c (main): Delete second unnecessary read
19726         call.
19727
19728 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
19729
19730         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
19731         of "file" command.
19732
19733         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
19734         Add additional pattern for when "int operator int(void);" appears
19735         in a different order.
19736
19737 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
19738
19739         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
19740
19741         * gdb.base/help.exp: Replace most of docstrings for "info signals"
19742         and "signal" with ".*".
19743
19744 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
19745
19746         * TODO: Add note about "handle all nostop".
19747
19748         * gdb.base/{sigall.c, sigall.exp}: New test.
19749         * gdb.base/Makefile.in: Add it.
19750
19751 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
19752
19753         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
19754         when invoking GDB, suppresses any windowing interface.
19755
19756 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
19757
19758         * config/sim-gdb: New file, simulator testing support.
19759
19760 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
19761
19762         * gdb.base/interrupt.exp: Test calling func1 twice.
19763
19764 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
19765
19766         * gdb.base/list.exp (test_forward_search): Set timeout higher
19767         when we'll be getting lots of output from gdb.
19768
19769         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
19770         "init_malloc" to after the expect statement.  Run it if that
19771         regexp is taken, but also for two others which happen if source
19772         cannot be found.
19773
19774 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
19775
19776         * gdb.base/printcmds.exp: New test, for printing register before
19777         program is running.
19778
19779 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19780
19781         * gdb.base/list.exp:  Correct some alternate expect patterns
19782         to reflect changes in list1.c.
19783
19784 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
19785
19786         * TODO: Add item regarding large frames.
19787
19788         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
19789
19790         * TODO: Remove item about enabling return.exp; it
19791         is enabled.  Suggest a few more "return" tests.
19792
19793 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19794
19795         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
19796         anonymous unions.
19797
19798 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
19799
19800         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
19801         and pr-5646.o, so "make" is the same as "make all", not "make
19802         pr-4975.o".
19803
19804 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
19805
19806         * gdb.base/list.exp: Adjust expectations to reflect changes in
19807         list1.c.
19808         (test_forward_search): New test proc.
19809         * gdb.base/list1.c (long_line): New function, has long source line.
19810
19811 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
19812
19813         * gdb.base/a1-selftest.exp: Change initial stepping to know about
19814         additional line of code that was added.
19815
19816 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
19817
19818         * gdb.disasm/hppa.s: Break the large branching tests into smaller
19819         tests so as not to overflow expect's input buffers.
19820         * gdb.disasm/hppa.exp: Corresponding changes.
19821
19822 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19823
19824         Beginnings of template debugging tests.
19825         * gdb.c++/templ-info.cc:  New file to test for template
19826         debugging capability of the compiler.
19827         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
19828         templ-info.cc.
19829         * gdb.c++/templates.cc:  Add explicit template instantiations
19830         to enable compiling with -fno-implicit-templates. Add destructor
19831         and 'value' method to T5 class for template tests.
19832         * gdb.c++/templates.exp:  Add testcases for printing of template
19833         types, setting breakpoints on template methods and calling a
19834         template method.
19835
19836 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
19837
19838         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
19839         branch target since some assemblers (gas-2.5)  may emit a
19840         relocation for the branch instead of resolving it in the
19841         assembler.
19842
19843 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19844
19845         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
19846         through signal handler.
19847
19848 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
19849
19850         * configure.in (*-*-netware): Use config/mt-netware.
19851
19852         * config/mt-netware: New file.
19853         * config/mt-i386-netware: Removed, separate configs for different
19854           netware architectures are no longer needed now that we have
19855           --with-headers.
19856
19857 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19858
19859         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
19860         by the recent changes to use ANSI C arithmetic conversions.
19861
19862 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
19863
19864         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
19865         bug involving using inferior_pid to figure out whether to select a
19866         frame.
19867
19868 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
19869
19870         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
19871         match the current disassembler output.
19872
19873 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
19874
19875         * gdb.fortran/exprs.exp: Expect VOID instead of void.
19876         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
19877         types, expect "int" as type of integer values (for now).
19878
19879 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
19880
19881         * gdb.base/commands.exp: New tests for if/while commands.
19882
19883 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
19884
19885         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
19886         by .*, since hex values have different syntax in Chill mode.
19887
19888 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19889
19890         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
19891         linefeed from expect pattern for repeated types with indices > 9.
19892
19893 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
19894
19895         First part of Fortran test suite.
19896         * gdb.fortran: New directory.
19897         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
19898
19899 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19900
19901         * gdb.base/default.exp:  Update expect pattern for load command
19902         without arguments.
19903
19904 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
19905
19906         * configure.in: Change i386 to i[345]86.
19907         * gdb.base/configure.in: Likewise.
19908         * gdb.c++/configure.in: Likewise.
19909         * gdb.chill/configure.in: Likewise.
19910
19911 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
19912
19913         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
19914         patterns, since that is not a valid context for comments.
19915
19916 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
19917
19918         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
19919         repeated types and repeated types with indices > 9.
19920
19921 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
19922
19923         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
19924         2417; old bug has been fixed.
19925
19926 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
19927
19928         * gdb.base/interrupt.exp: When trying to wake up the inferior,
19929         send the newline ourselves instead of assuming gdb_test will do
19930         so when passed an empty input string.
19931
19932         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
19933         stabs testcode.
19934
19935 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
19936
19937         * lib/gdb.exp (gdb_test): Don't send anything if the first
19938           argument is an empty string.  This makes cases where we want to
19939           match output that is already in expect's buffers (for example,
19940           matching a breakpoint after gdb_run_cmd has been called) work
19941           reliably.
19942
19943 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
19944
19945         * config/netware.exp: New file.
19946
19947 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
19948
19949         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
19950           the -B and -L prefixes so we can find the debugging stub.
19951
19952         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
19953           there and we are using the gcc from the tree.
19954
19955         * gdb.base/types.c: Removed.
19956
19957         * gdb.base/configure.in: Look for makefile fragments in ../config.
19958           Recognize i386-*-netware.
19959         * gdb.c++/configure.in: Likewise.
19960
19961 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19962
19963         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
19964         the correct TCL syntax.
19965
19966 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
19967
19968         * gdb.base/opaque.exp: use runto instead of messing around with
19969           breakpoints.  Simplify by using gdb_test.
19970
19971         * gdb.base/bitfields.exp: restart between tests on netware targets
19972           because breakpoints aren't relocated after target death.  Run
19973           processes to completion.
19974
19975         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
19976
19977 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
19978
19979         * Makefile.in:  Remove extra tabs that confuse some versions
19980         of "make".  Use the newly built gdb to test with by default,
19981         rather than the first one in the tester's search path.
19982
19983 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
19984
19985         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
19986
19987         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
19988         condition help.
19989
19990 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
19991
19992         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
19993
19994         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
19995           running.
19996         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
19997         * gdb.base/funcargs.exp: Likewise.
19998
19999         * gdb.base/bitfields.exp: Simplify by using gdb_test.
20000         * gdb.base/funcargs.exp: Likewise.
20001
20002         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
20003           message is "".
20004
20005 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
20006
20007         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
20008           return,signals,twice}.exp: Handle non-existant binaries
20009           consistantly.
20010
20011         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
20012         * gdb.base/Makefile.in: Don't try to generate a core dump, we
20013           might testing a cross development system.
20014
20015 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
20016
20017         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
20018           runtest script is relative to ${srcdir}, not ${rootdir}.
20019
20020 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
20021
20022         * gdb.base/signals.exp: Allow for optionality of breakpoint
20023         address.
20024
20025 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20026
20027         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
20028
20029 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
20030
20031         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
20032           for size_t definition.
20033         * gdb.c++/templates.cc: Likewise
20034
20035         * config/mt-i386-netware: New file.
20036
20037         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
20038           defined.
20039
20040         * gdb.base/Makefile.in: Added support for systems that name core
20041           files by appending "core" to the program name.
20042         * gdb.base/a1-selftest.exp: Likewise.
20043
20044 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20045
20046         * gdb.base/return.exp:  Add comment and message for `return double'
20047         test failure on Sparc Solaris.
20048
20049 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
20050
20051         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
20052
20053 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20054
20055         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
20056         from optimizing them away.
20057         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
20058         patterns to include default constructors and assignment operators,
20059         to match gcc versions beyond 2.5.8. Accept any cplus demangling
20060         character in the output of the virtual base pointer.
20061
20062 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20063
20064         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
20065         expression match in print_addr_of to avoid unintented matches.
20066         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
20067         versions up to 2.5.8.
20068
20069 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20070
20071         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
20072         included file to run under newer versions of expect.
20073         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
20074         consecutive >'s in templates to accomodate recent cplus-dem.c change.
20075         Remove xfail for the virtual table of BDDHookV.
20076
20077 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
20078
20079         * lib/gdb.exp (string_to_regexp): Set a default result.
20080         (default_gdb_start): Fix misleading message.
20081
20082 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
20083
20084         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
20085         Remove all CC, etc definitions.
20086         * config/mt-hpux: New file.
20087         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
20088         (CFLAGS, LDFLAGS): Define.
20089         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
20090
20091         * Makefile.in (site.exp): Don't insert host_os, etc.
20092         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
20093         (distclean): Check existence of subdir.
20094         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
20095         * gdb.base/Makefile.in: General cleanup and simplification.
20096         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
20097         to build executables.   Use default rule to build .o files.
20098         (EXPECT, RUNTEST, CC): Fix relative pathname.
20099         (site.exp): Don't insert host_os, etc.
20100         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
20101         and/or SIGUSR1 defined.
20102         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
20103         * gdb.c++/Makefile.in: General cleanup and simplification.
20104         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
20105         (CFLAGS): Remove.
20106         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
20107
20108 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
20109
20110         * gdb.base/recurse.exp: Misc changes to get tests running again
20111         after Kung's changes to the watchpoint code.
20112         * gdb.base/watchpoint.exp: Likewise.
20113
20114 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
20115
20116         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
20117
20118 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
20119
20120         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
20121         * lib/gdb.exp (default_gdb_start): Define.
20122         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
20123         gdb.base/funcargs.exp, gdb.base/opaque.exp,
20124         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
20125         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
20126         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
20127         Don't call gdb_target_udi in between tests.
20128
20129 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20130
20131         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
20132         (which was basically just a local version of the same thing).  In
20133         addition to avoiding duplication, gdb_test_exact is faster.
20134         * lib/gdb.exp (gdb_test_exact): Fix typo.
20135
20136         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
20137         don't give an error.
20138
20139         * gdb.base/term.exp: Call delete_breakpoints before starting.
20140
20141         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
20142         (t10): Add comment.
20143
20144 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
20145
20146         Reorganization of the GDB Test Suite.
20147
20148         * gdb.base: New directory, contains all the basic tests.
20149         * gdb.c++: New directory, tests specific to C++.
20150         * gdb.chill: New directory, tests specific to Chill.
20151         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
20152         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
20153         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
20154         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
20155         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
20156         t30-31 to chill).
20157         * */gdbme.*: Rename to match appropriate expect scripts.
20158         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
20159         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
20160         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
20161         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
20162         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
20163         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
20164         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
20165         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
20166         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
20167         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
20168         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
20169         gdb.c++/virtfunc.cc: New names of C++ files.
20170         * gdb.chill/chillvars.ch: New name of Chill file.
20171         * gdb.base/configure.in, gdb.c++/configure.in,
20172         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
20173         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
20174         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
20175         * configure.in (configdirs): Update to reflect directory changes.
20176         (target_abbrev): No longer define for any configuration.
20177         * Makefile.in: Cosmetic improvements to header comments.
20178
20179 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
20180
20181         Various changes to gdb.t31:
20182
20183         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
20184         * gdbme.ch:  Make all key-words and predefineds be upper-case.
20185         * chillvars.exp:  Expect key-words and predefinds in upper-case.
20186
20187         * chillvars.exp:  Use gdb_test_exact many places.
20188         Change expected output for arrays (which now includes index labels).
20189
20190         * pr-5020.exp, gdme.ch (module PR_5020):
20191         New test, for PR-5020.
20192
20193 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
20194
20195         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
20196         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
20197
20198 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
20199
20200         * Makefile.in:  Fix bit-rot in definitions of CHILL,
20201         CHILL_FOR_TARGET and Chill_LIB.
20202         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
20203         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
20204         CHILL, and CHILL_LIB.
20205
20206 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
20207
20208         * Revert the previous changes.  Please see Rob's directory
20209           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
20210
20211 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
20212
20213         * Makefile.in, configure.in, config/mips-gdb.exp,
20214           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
20215           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
20216           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
20217           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
20218           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
20219           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
20220           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
20221           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
20222           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
20223           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
20224           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
20225           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
20226           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
20227           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
20228           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
20229           changes from 94Q1.
20230
20231 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
20232
20233         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
20234           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
20235           Rob's new testing fragments.
20236
20237 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
20238
20239         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
20240           lib/gdb.exp: Replace error proc calls with perror.
20241
20242 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
20243
20244         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
20245         version also, match on casted version strings, and match on
20246         gdb startup case where the line numbers might be messed up.
20247
20248 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
20249
20250         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
20251           (CFLAGS): Delete it from here.
20252
20253 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
20254
20255         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
20256
20257 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
20258
20259         * Makefile.in (RUNTEST): Default to just "runtest".
20260
20261 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20262
20263         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
20264         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
20265         the code has been restructured.
20266
20267 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20268
20269         * gdb.t00/default.exp (set write): Allow any number of \r and/or
20270         \n, not just one of each.
20271
20272         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
20273         /bin/cc gives a warning if you do.
20274
20275 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
20276
20277         * gdb.t24/demangle.exp: change expect pattern of
20278         __t10ListS_link1ZUiRCUiPT0
20279
20280 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20281
20282         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
20283         on local variables in recursive functions.
20284
20285         * gdb.t07/Makefile.in: Build the new test.
20286
20287 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20288
20289         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
20290         directly.  Instead compare the return values from actual calls.
20291
20292 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
20293
20294         * Makefile.in (check): Set TCL_LIBRARY for runtest.
20295
20296 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20297
20298         * From Peter Schauer with minor modifications.
20299         * gdb.t15/return.exp (return_tests): Handle targets where "return"
20300         stops in mid-line in the caller.  Add xfail for returning a float
20301         value on X86 targets.
20302
20303 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20304
20305         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
20306         to avoid expect lossage.
20307         (fmem_LRbug_tests): Likewise.
20308         * gdb.disasm/hppa.s: Corresponding changes.
20309
20310         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
20311         conditions to work with latest dejagnu/expect.
20312
20313         * gdb.t15/funcargs.exp (finish from indirect call): No longer
20314         expected to fail on the PA.
20315         (backtrace in call with trampolines): Explicitly require main
20316         to be frame #1 (no trampolines should show up in backtrace).
20317
20318         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
20319         "continue -expect".
20320         * gdb.t06/break.exp: Likewise.
20321         * gdb.t07/watchpoint.exp: Likewise.
20322         * gdb.t13/bitfields.exp: Likewise.
20323         * gdb.t15/{funcargs,return}.exp: Likewise.
20324         * gdb.stabs/weird.exp: Likewise.
20325         * config/{mips,udi}-gdb.exp: Likewise.
20326
20327         * hppa.sed: Enclose comments within a sed command to avoid
20328         losing with the old OSF1 sed.
20329
20330 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20331
20332         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
20333         sequent dynix.
20334         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
20335         * gdb.t15/funcargs.exp:  Conditionally step again to really
20336         finish from marker_call_with_trampolines. Handle the case where
20337         the first step from within call_with_trampolines already steps
20338         us back to main.
20339         * gdb.t15/gdbme.c:  Add comment to closing brace of
20340         call_with_trampolines for funcargs.exp.
20341
20342 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20343
20344         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20345         Fix typo(s).
20346
20347 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20348
20349         * gdb.t07/gdbme.c: More code for watchpoint testing.
20350
20351         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
20352         "Hardware watchpoint" throughout file.
20353         (test_watchpoint_triggered_in_syscall): New test.
20354         (test_complex_watchpoint): New test.
20355
20356 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20357
20358         * gdbme.c (call_with_trampolines): New function to try and step
20359         into.  Tests trampoline problems on the PA.
20360
20361         * funcargs.exp (localvars_in_indirect_call): No longer expect
20362         stepping into indirect call to fail on PAs.
20363         (test_stepping_over_trampolines): New test.
20364
20365 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20366
20367         * TODO: Add suggestions for static member function tests, and
20368         completion tests.
20369
20370 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20371
20372         * TODO: Add suggestions for "p/a" tests.
20373
20374         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
20375         (default_gdb_exit): Replace all the hair with sending "quit" to
20376         the process with a simple close.
20377
20378 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20379
20380         * TODO: Add suggestions for shared library tests.
20381
20382 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20383
20384         * TODO: Add suggestions for x/s tests.
20385
20386 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20387
20388         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
20389         "enable once", and "enable breakpoints once" with ".*".
20390
20391 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20392
20393         * TODO: Add suggestions about structure passing tests.
20394
20395 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20396
20397         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
20398         the primary1 test, use work around if __GNUC__ < 2.
20399         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
20400         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
20401         Test for bad output rather than waiting for timeout.  Issue
20402         second continue only if first continue failed.
20403
20404 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
20405
20406         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
20407         operator[] test with gdb_test because the old code didn't seem to
20408         be getting the quoting right with the new dejagnu.
20409
20410 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
20411
20412         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
20413         one from the path.
20414         * Makefile.in: Use a fresh expect if there is one, use runtest
20415         from the src tree if there is one.
20416
20417 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
20418
20419         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
20420         next over recursive call.  Revise the tests from that point on
20421         (which had been skipped) to match GDB's actual (correct) output.
20422
20423         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
20424         with next over a breakpoint whose condition is false.
20425
20426         * gdb.t00/help.exp: Comment out "help set print" tests just like
20427         (and for same reason as) "help set" test.
20428
20429 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20430
20431         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
20432         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
20433
20434 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20435
20436         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
20437         necessary gdb_target_udi.
20438
20439         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
20440
20441         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
20442         1838 and 2417; they are fixed.
20443
20444         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
20445         gdb.t03/ptype.exp (ptype structure, ptype union):
20446         Remove xfails; the test is looser than when the xfails were added.
20447
20448         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
20449         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
20450
20451         * gdb.t01/run.exp: Only run shell test if isnative.
20452
20453         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
20454         since "run" automatically loads if necessary.  Call gdb_target_udi
20455         after the "file" since "file" kills any execution target.
20456
20457         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
20458         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
20459         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
20460         argument for UDI.
20461
20462 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
20463
20464         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
20465
20466         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
20467
20468 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20469
20470         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
20471         properly quoting regexps.  This makes the second argument to
20472         demangle a fixed string, which matches the callers, instead of a
20473         shell-style pattern which is what the previous implementation
20474         used.  Update some of the callers.
20475
20476 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20477
20478         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
20479         (comib_nullified_tests): Fix typo.
20480         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
20481         strings.  No longer expected to fail.
20482
20483         * gdb.disasm/hppa.s (addib_tests): Fix typo.
20484         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
20485         strings.  No longer expected to fail.
20486
20487         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
20488         string.  No longer expected to fail.
20489
20490 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20491
20492         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
20493         No longer expected to fail.
20494
20495         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
20496         string.  No longer expected to fail.
20497
20498 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20499
20500         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
20501         only in the names (I probably got most of them).  I was even
20502         generous with some which differed in underscores in names, and
20503         probably missed a few, and I *still* was able to remove almost a
20504         third of the file with almost no impact on testsuite coverage.
20505
20506 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20507
20508         * gdb.t00/default.exp: Match udi_attach error message as well as
20509         the one from child_attach.
20510
20511         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
20512
20513         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
20514
20515         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
20516         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
20517
20518         * Move test with enums and partial symbols back to
20519         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
20520         Reverts the change of 26 May 93.  Per today's change to
20521         stabs.texinfo, the behavior that weird.exp was expecting was
20522         unreasonable; what is important is that the compiler+gdb get
20523         things right, which happens with a recent gcc.  Also fix the test
20524         to deal with native compilers which put out the stab gdb can't
20525         deal with.
20526
20527 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20528
20529         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
20530         in the names.  The main thing these accomplish is to slow things down.
20531         Many more such duplicates surely remain.
20532
20533         * gdb.t00/help.exp: Comment out "help support" test just like
20534         (and for same reason as) "help set" test.
20535
20536 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
20537
20538         * gdb.t06/break.exp:  Remove setup_xfails for
20539         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
20540         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
20541         about known bug in gcc to include up through 2.5.8.
20542         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
20543         well as "_vb$".
20544         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
20545         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
20546         with latest gcc and gdb.
20547         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
20548         well as "_vb$".
20549
20550 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20551
20552         * configure.in (hppa*-*-*): Also configure and build stabs-only
20553         tests.
20554
20555 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20556
20557         * gdb.t10/hppa.mt: A makefile fragment for the PA.
20558         * gdb.t10/configure.in (hppa*-*-*): Use it.
20559
20560 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20561
20562         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
20563
20564 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20565
20566         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
20567         versions prior to 1.13.5.
20568
20569 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20570
20571         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
20572         the prompt is at the start of a line.
20573
20574 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
20575
20576         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
20577         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
20578         in the copr tests now.
20579         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
20580         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
20581         expected to fail.
20582
20583 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
20584
20585         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
20586         gdb.t31/chillvars.exp, lib/gdb.exp:
20587         Tweak to run under either version of expect.
20588         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
20589         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
20590         * gdb.t11/list.exp: Remove extraneous whitespace.
20591
20592 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20593
20594         * gdb.t16/printcmds.exp (test_print_strings): Accept
20595         "(unsigned char *) " before the string.
20596
20597         * TODO: Add notes about printing of fancy types and GDB expressions.
20598
20599 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
20600
20601         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
20602         * gdb.t06/configure.in: Don't try to compile signals test program
20603         if doing mips-idt-ecoff.
20604
20605 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
20606
20607         * Most .exp files: Tweak to run under either version of expect.
20608
20609 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20610
20611         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
20612         xfails; I'm not sure why they are failing, but not because of PR 1806.
20613
20614 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
20615
20616         * config/unix-gdb.exp: Remove gdb_unload cause it's already
20617         defined in lib/gdb.exp.
20618
20619 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20620
20621         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
20622         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
20623         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
20624         have to be typeless.
20625
20626 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
20627
20628         * TODO: Add suggestion for copyright year test.
20629
20630 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
20631
20632         * configure.in (*-*-lynxos*): Add stabs tests.
20633
20634 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
20635
20636         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
20637         so insert a tab before any assembler directive in column zero.
20638
20639         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
20640         stores.
20641         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
20642         stores.
20643         (fpu_short_memory_tests): Likewise.
20644
20645 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20646
20647         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
20648         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
20649         .stabs directives in comments.
20650
20651 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20652
20653         * TODO: New file, describing tests we could write.
20654         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
20655
20656 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20657
20658         * gdb.t06/signals.exp: Add kludge to force re-sync.
20659
20660         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
20661         to xgdb instead of gdb, get out of gdb.
20662
20663 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
20664
20665         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
20666         for info.
20667
20668 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
20669
20670         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
20671         * gdb.stabs/configure.in (hppa*-*-*): Use it.
20672         * gdb.stabs/hppa.sed: New sed script for the PA.
20673
20674 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20675
20676         * gdb.stabs: Re-write weird.def and configuration to use sed
20677         instead of cpp.  sed is portable and POSIX; cpp is neither.
20678
20679 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20680
20681         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
20682
20683 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20684
20685         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
20686
20687 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20688
20689         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
20690         "_vb$".
20691         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
20692         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
20693
20694 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20695
20696         * lib/gdb.exp: Comment out code which depends on non-existent
20697         `transform' procedure.
20698
20699 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
20700
20701         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
20702         * lib/gdb.exp: Transform tool name.
20703         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
20704         1.1's new error handling system.
20705
20706 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20707
20708         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
20709
20710 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20711
20712         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
20713         They made pattern matching so slow that timeouts happened on
20714         heavily loaded systems.  Now any output from "show print" which
20715         gets us back to the GDB prompt is a PASS.
20716
20717 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
20718
20719         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
20720
20721 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20722
20723         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
20724
20725         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
20726         It is not from PR 3220.
20727
20728 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20729
20730         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
20731         just started failing because they depended on the order the
20732         subcommands are presented, or exact docstring text.  This kind of
20733         test is a pain and has minimal benefit.
20734
20735 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20736
20737         * gdb.t09/corefile.exp: At end of test, use "core" command with
20738         no arguments.
20739
20740 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
20741
20742         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
20743         17}/Makefile.in:  Make it possible to run the testsuite with Sun
20744         make and CC = cross gcc by adding explicit build rules for .o
20745         files.
20746
20747 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20748
20749         * gdb.t15/funcargs.exp: Don't put comments on same line as
20750         setup_xfail (@#$*%& tcl braindamage!).
20751
20752 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20753
20754         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
20755
20756 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
20757
20758         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
20759         * gdb.t20/inherit.exp: remove three dumplicate entries.
20760
20761 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20762
20763         * gdb.t06/break.exp: For "next over recursive call", fail on any
20764         incorrect output, not just on "factorial (value=2)".
20765
20766 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20767
20768         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
20769         working now. Add an xfail if accesing a bss variable causes
20770         a memory error if the target is not yet run.
20771
20772 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20773
20774         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
20775         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
20776         name of __st* demangling (2 strings).  Did Kung really get the
20777         more than 95 others right without testing them?
20778
20779 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
20780
20781         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
20782
20783 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
20784
20785         * configure.in (configdirs): Add gdb.disasm
20786         * gdb.disasm: New directory for GDB disassembler tests.
20787         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
20788
20789 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20790
20791         * gdb.t00/help.exp: Don't test "help set".
20792
20793         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
20794         from within expect statements.  None of these happen anymore and
20795         they cause regressions to be silently unnoticed.
20796
20797         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
20798         messages) about known failures with gcc cygnus-2.4.5-930417.
20799
20800         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
20801         comp-info.exp so it gets built if it doesn't exist.
20802
20803         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
20804         it is no longer used.
20805         * gdb.t13/comp-info.c: Removed.
20806
20807 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
20808
20809         * gdb.t06/signals.exp: Add xfail for sun3.
20810
20811 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20812
20813         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
20814         relevant because ^C doesn't get sent but failure can be reproduced
20815         interactively).
20816
20817 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20818
20819         * gdb.stabs/alpha.mt:  New configuration file for alpha.
20820         * gdb.stabs/configure.in:  Use it.
20821         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
20822         sharing with alpha.mt, redefine long to word via preprocessor.
20823         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
20824         for alpha.
20825         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
20826         native cc.
20827         * gdb.t00/teststrategy.exp:  Change expect string so that we
20828         consume the `(xgdb)' from the command echo and from the gdb prompt.
20829         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
20830         gdb currently compares all values as long, so this failure probably
20831         applies to any configuration where LONGEST is bigger than a target int.
20832         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
20833         with gcc.
20834         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
20835         to handle opaque pointers, gcc is.
20836         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
20837         as first argument. Include <sys/types.h> and change all operator
20838         new definitions to use size_t.
20839         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
20840         now that we use size_t.
20841
20842 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20843
20844         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
20845         a long or float array cast all array members to the same type.
20846         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
20847         with 64 bit longs.
20848         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
20849         on alpha.
20850         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
20851
20852 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20853
20854         * gdb.t24 (demangle.exp): Constructors of templates have names like
20855         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
20856         section 14.6 of the ARM.
20857
20858         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
20859         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
20860         accomplish little and slow down the testsuite.
20861
20862         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
20863         Accept spaces various places.
20864
20865 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20866
20867         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
20868         with watchpoint enabled.
20869
20870         * Makefile.in: Remove definition of CC and remove the second
20871         definition of CXX (the "CXX = gcc" one remains).  These definitions
20872         were causing backquotes to be expanded within backquotes, which
20873         doesn't work.
20874
20875 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
20876
20877         * gdb.t17/callfuncs.exp: Add "return 0" to end.
20878
20879 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20880
20881         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
20882         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
20883         by mips cc and contains no stabs entries.
20884
20885 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
20886
20887         * config/vx-gdb.exp: Use fake device to load files rather than
20888         NFS.
20889         * lib/gdb.exp: New proc to do "file" command.
20890         * config/unix-gdb.exp: Use new "file" proc.
20891
20892 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
20893
20894         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
20895         Rework board rebooting slightly.
20896         (gdb_exit): Don't exit from the remote shell; there isn't one.
20897         * gdb.stabs/weird.exp: If a program is being debugged already,
20898         kill it.
20899         * gdb.t04/setvar.exp: Stop and restart gdb.
20900         * gdb.t05/expr.exp: Likewise.
20901         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
20902         restart gdb and reload the program.
20903         * gdb.t08/opaque.exp: Likewise.
20904         * gdb.t12/scope.exp: Likewise.
20905         * gdb.t13/bitfields.exp: Likewise.
20906         * gdb.t15/funcargs.exp: Likewise.
20907         * gdb.t20/classes.exp: Likewise.
20908         * gdb.t03/ptype.exp: Increase timeout.
20909         * gdb.t16/printcmds.exp (test_print_string_constants,
20910         test_print_array_constants): Likewise.
20911         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
20912         * gdb.t20/classes.exp (do_tests): Likewise.
20913         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
20914
20915 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
20916
20917         * gdb.stabs: Renamed *wierd* to *weird*.
20918
20919 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
20920
20921         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
20922         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
20923
20924 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
20925
20926         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
20927         (do_tests): Remove xfail for whatis on one_var and two_var.
20928
20929 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
20930
20931         * Makefile.in: Made cross building work better by adding
20932         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
20933
20934 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20935
20936         * gdb.t15/{return.c,return.exp,Makefile.in}:
20937         New test, currently commented out.
20938
20939 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
20940
20941         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
20942         still running and removes the leftover named socket so GDb can do
20943         clean restarts.
20944
20945 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
20946
20947         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
20948         console, not GDB.
20949         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
20950         cross testing works better with "make check"
20951         * config/unix-gdb: Use default procedures for exit and version.
20952         * config/vx-gdb.exp: Cleaned up and massaged back to working order
20953         with the newest VxWorks.
20954
20955 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20956
20957         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
20958         old form.
20959
20960         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
20961         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
20962
20963         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
20964
20965         * config/unix-gdb.exp: Remove this version of gdb_exit
20966         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
20967         Rob says he'll look at it when he gets back to testing boards.
20968
20969 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
20970
20971         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
20972         an expected fail for certain ptype commands.
20973
20974         * gdb.t20/classes.exp:  Update expected results of "ptype class
20975         Base1" to account for the constructor that now appears in the type.
20976
20977 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
20978
20979         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
20980         disappeared from list.
20981         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
20982         "alldone" proc with call to cleanup and exit.
20983         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
20984         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
20985         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
20986         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
20987         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
20988         "alldone" proc with simple returns that suppress remaining
20989         tests.  The alldone proc went away many months ago.
20990
20991 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
20992
20993         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
20994
20995         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
20996
20997 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20998
20999         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
21000         as vax gdb will display them.
21001
21002 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21003
21004         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
21005         optimizers.
21006
21007         * scope.exp: Change "bad value for localval" messages so each one
21008         is unique.
21009
21010         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
21011         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
21012
21013         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
21014
21015 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21016
21017         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
21018         doesn't exist (due to optimization).
21019
21020 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21021
21022         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
21023         contains \r because the filename is long.
21024
21025         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
21026         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
21027
21028 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21029
21030         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
21031         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
21032         Ultrix.
21033         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
21034         int tests.
21035         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
21036
21037 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
21038
21039         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
21040
21041         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
21042         to match does not match the passing case but still matches the
21043         failing case.
21044
21045 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21046
21047         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
21048
21049 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
21050
21051         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
21052         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
21053         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
21054         Remove various versions of gdb_exit.
21055         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
21056         gdb_exit.
21057         * config/unix-gdb.exp:  gdb_exit remains here, and should override
21058         the generic version, since it's doing a lot of wierd stuff that
21059         the other versions aren't.  FIXME, fold it in, or abandon this
21060         version.
21061
21062 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21063
21064         * gdb.t24/demangle.exp: Add tests for PR 3220.
21065
21066 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21067
21068         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
21069
21070 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
21071
21072         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
21073         "i386-*-*".  Works for i486 as well.
21074
21075         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
21076         bug, and expand domain of xfail to all SVR4 systems, since the
21077         actual problem is likely to be in generic SVR4 /proc support.
21078
21079 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21080
21081         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
21082
21083 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
21084
21085         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
21086         xfails for other systems.  Match a missing 'Continuing.' as an
21087         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
21088
21089         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
21090         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
21091         Only issue warning for missing executables if -all option is used.
21092
21093         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
21094         file if -all option is used.  It's like an unpredictable XFAIL.
21095
21096 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21097
21098         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
21099         for dynamically linked binaries.
21100
21101         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
21102
21103 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21104
21105         * gdb.t20/inherit.exp: Change message for "print tagless struct"
21106         to state that this is a known bug in old versions of g++.
21107
21108 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21109
21110         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
21111         while waiting for `Continuing'.
21112
21113 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
21114
21115         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
21116         in text, data, and bss.
21117         * gdb.t10/nodebug.c:  Add local and global test variables for
21118         initialized and uninitialized data.
21119
21120 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21121
21122         * config/unix-gdb.exp (gdb_exit): Add "wait".
21123
21124 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21125
21126         * gdb.t06/signals.exp:  xfail the continue from the handler for all
21127         targets.
21128
21129         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
21130         function with watchpoints enabled, the i386 call dummy starts with
21131         a call.
21132
21133         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
21134         386 bsd names its corefiles.
21135
21136 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
21137
21138         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
21139         compilers don't grok it.
21140         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
21141         with small octal ints rather than character constants, which
21142         are signed and might not fit if first promoted to int.
21143
21144 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
21145
21146         * gdb.t09/Makefile.in (clean):  Remove corefile.
21147
21148 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21149
21150         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
21151
21152 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21153                           and Jim Kingdon (kingdon@cygnus.com)
21154
21155         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
21156         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
21157         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
21158
21159 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21160
21161         * gdb.t17/interrupt.exp: Add xfail for hppa.
21162
21163 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21164
21165         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
21166         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
21167         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
21168         to determine signed-ness of bitfields and use the result to setup
21169         the xfail.
21170         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
21171         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
21172         call line is reached if necessary.
21173
21174 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21175
21176         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
21177
21178 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21179
21180         * gdb.t06/break.exp: Also test `clear' command.
21181
21182 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
21183
21184         * gdb.t00/teststrategy.exp: Remove extra quote.
21185
21186         * gdb.t07/watchpoint.exp: Change xfail for calling function with
21187         watchpoint enabled to be for all non-68k machines.
21188
21189         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
21190
21191 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21192
21193         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
21194         targets use aout.mt instead of ecoff.mt as gas understands
21195         standard aout format.
21196
21197 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
21198
21199         * lib/gdb.exp (runto): Don't insist that function we are running to
21200         was compiled with -g.
21201
21202         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
21203
21204         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
21205         to get back into the read system call.
21206         Accept leading newline in case where we woke it up.
21207
21208 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21209
21210         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
21211         to make the stabs test work on ecoff systems using gcc and -with-stabs.
21212         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
21213         enable ecoff configuration.
21214
21215 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21216
21217         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
21218
21219 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21220
21221         * gdb.t16/printcmds.exp: Add another printf test.
21222
21223 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
21224
21225         * configure.in: If configured -with-stabs on any target, add
21226         stabsdirs to configdirs.
21227
21228 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21229
21230         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
21231         fun" so pattern does not match the command itself.
21232
21233 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21234
21235         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
21236
21237 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21238
21239         * gdb.t17/interrupt.exp: Test for more things.
21240
21241 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21242
21243         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
21244         compiler arranges the code and line numbers.
21245
21246         * gdb.t17/interrupt.exp: Don't send \n after ^C.
21247
21248 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21249
21250         * gdb.t00/help.exp:  Increase expect input buffer size.
21251
21252 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21253
21254         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
21255
21256         * gdb.t07/watchpoint.exp: Add xfail for hppa.
21257
21258         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
21259
21260         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
21261         [0-9]*, not just [0-9].
21262
21263 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21264
21265         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
21266
21267         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
21268
21269 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21270
21271         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
21272
21273 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21274
21275         * gdb.t06/signals.c: Add xfails for sun3.
21276
21277         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
21278
21279         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
21280         test_stepping tests.
21281
21282 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21283
21284         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
21285
21286         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
21287
21288         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
21289         rather than actually putting it through cpp twice.
21290
21291         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
21292
21293 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
21294
21295         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
21296         no longer needed.
21297
21298 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21299
21300         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
21301
21302         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
21303         C++ features prints as "struct", make it a pass, not an xfail.
21304
21305 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21306
21307         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
21308         Don't require VA to print as "class" rather than "struct".
21309
21310 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
21311
21312         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
21313
21314 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21315
21316         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
21317
21318 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21319
21320         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
21321         order.
21322
21323 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21324
21325         * gdb.t16/printcmds.exp: Add printf tests.
21326
21327         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
21328
21329         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
21330
21331 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
21332
21333         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
21334         pass counts, to counteract any existing or future setup_xfails.
21335
21336 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21337
21338         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
21339         {BEGIN,END}_COMMON for common block instead of STAB.
21340         * gdb.stabs/wierd.exp: Add xfail for rs6000.
21341
21342         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
21343         intp_var should be N_GSYM not N_LSYM.
21344         wierd-aout.S: Use a label for the value of the N_SO.
21345         wierd.def: Remove all backslashes.
21346         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
21347
21348 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21349
21350         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
21351         get the expected next to inheritance3.
21352
21353 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21354
21355         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
21356         now that gcc-2.4 gets it right.
21357
21358 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21359
21360         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
21361
21362         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
21363         generating comp-info.exp which works for cross-compilation.
21364
21365 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
21366
21367         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
21368         "*-*-sysv4.*".
21369
21370 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
21371
21372         * gdb.t01/run.exp:  Start with a fresh gdb.
21373         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
21374         SVR4.x.
21375
21376 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
21377
21378         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
21379         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
21380         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
21381         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
21382         things to remove.
21383
21384 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
21385
21386         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
21387         test cases from bug reports.
21388
21389 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
21390
21391         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
21392         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
21393           avoid spurious xfails.
21394         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
21395         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
21396         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
21397
21398 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
21399
21400         * gdb.t00/teststrategy.exp:  Rework to provide more useful
21401         description of each test, fix problem with systems that define
21402         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
21403         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
21404         results for "next over recursive call" so timeouts aren't taken
21405         by error.
21406
21407 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
21408
21409         * gdb.t12/scope.exp: Test printing of variables before run.
21410
21411         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
21412         printed in wrong order due to sorting.
21413
21414 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
21415
21416         * gdb.t00/teststrategy.exp:  Fix expected results for printing
21417         user entered string constant.  Is array of char, prints with no
21418         address.
21419
21420         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
21421         commands.
21422         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
21423         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
21424         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
21425         of struct of char arrays.
21426         * gdb.t00/radix.exp:  New tests for radix commands.
21427
21428 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
21429
21430         * gdb.t16/printcmd.exp: Print a variable before running program
21431         (with xfail for AIX).
21432
21433 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
21434
21435         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
21436
21437         * gdb.t16/printcmd.exp: Don't print variables before running program.
21438
21439         * gdb.t06/break.exp: Don't require envp argument to main.
21440
21441         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
21442
21443         * gdb.t02/whatis.exp, gdb.t11/list.exp:
21444         Add xfails for rs6000.
21445
21446         * gdb.t02/whatis.exp: Change other tests not to re-test something
21447         we already tested.
21448
21449         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
21450         each type used has a variable of that type.
21451
21452 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
21453
21454         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
21455
21456 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
21457
21458         * configure.in: change srctrigger to be a file, not a directory
21459
21460 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
21461
21462         * configure.in (mips-idt-ecoff*): Added trailing '*'.
21463
21464         * gdb.t11/list.exp: Fixed a couple of typos.
21465
21466 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
21467
21468         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
21469         is fixed and PR is closed.
21470         * gdb.t16 (gdbme.c):  Add simple test string variable.
21471         * gdb.t16 (printcmds.exp):  Add tests with simple test string
21472         variable, primarily for boundaries on "set print elements".
21473
21474 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
21475
21476         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
21477         Make leading 0's optional and don't expect a tab in the middle
21478         of the number.
21479
21480         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
21481
21482         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
21483         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
21484         don't end command passed to gdb_test with newline.
21485
21486         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
21487         signed keyword away, don't expect signed bitfields to be signed.
21488
21489         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
21490         printing with only as many 1's as are in the field as well as printing
21491         with 32 1's (see comment).
21492
21493 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
21494
21495         * gdb.t00/default.exp:  Start with a fresh gdb.
21496         * configure.in (configdirs):  Remove gdb.t31 until the chill
21497         compiler works again.  It no longer is able to find chillrt0
21498         since it isn't in libchill.a anymore.
21499         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
21500         wierd.o, make more modular.
21501         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
21502         spurious newlines that caused problems.
21503
21504 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21505
21506         * Move test with enums and partial symbols from gdb.t03/ptype.exp
21507         to gdb.stabs/wierd.exp since GCC has worked around the bug.
21508         gdb.stabs/wierd.{exp,def}: Many new tests.
21509
21510         * gdb.t00/default.exp: update info line for new message.
21511
21512         * gdb.t02/{whatis.exp,gdbme.c}:
21513         Test that "char *" doesn't print as "caddr_t".
21514
21515 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21516
21517         * gdb.t00/help.exp: Use .* in place of some help messages which
21518         just changed.
21519         gdb.t00/default.exp: Update "info frame" test for new message.
21520         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
21521         Remove some xfails
21522
21523 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21524
21525         * gdb.t03/{gdbme.c,ptype.exp}:
21526         Add tests for typedef'd struct and union without tags.
21527         Also check "whatis" on a variable of a typedef'd enum without a tag.
21528
21529         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
21530         PRMS 1823; the bug still exists but isn't reproduced by this test
21531         anymore), and remove rs6000 XFAIL (the bug is fixed).
21532
21533         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
21534         duplicated from whatis.exp.  For those that are left, accept
21535         "long", "long int", or "int" for long variables (whatis.exp already
21536         has an XFAIL for "int", so no need to fail it here).
21537
21538         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
21539         Deal with GCC's names for types now that GDB uses the compiler's names.
21540
21541         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
21542         setup_xfail's for sunos4.  If we #defined the signed keyword away,
21543         don't expect GDB to know that char it is signed.
21544
21545         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
21546
21547 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
21548
21549         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
21550         should work on any system, regardless of debugging format.
21551         * gdb.t21/demangle.exp:  Move to gdb.t24.
21552         * gdb.t24/demangle.exp:  Move from gdb.t21.
21553         * gdb.t24/{Makefile.in, configure.in}:  New files.
21554
21555 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21556
21557         * configure.in: Do gdb.stabs and C++ tests only for stabs.
21558         * gdb.stabs: New directory.
21559
21560 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
21561
21562         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
21563         not just "Quit anyway?".
21564
21565 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
21566
21567         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
21568         that all setup_xfails are immediately followed by clear_xfails.
21569
21570 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
21571
21572         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
21573         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
21574         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
21575         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
21576         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
21577         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
21578         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
21579         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
21580         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
21581         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
21582         gdb.t31/chillvars.exp, lib/gdb.exp:
21583         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
21584         bug-gdb@prep.ai.mit.edu.
21585
21586 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
21587
21588         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
21589         with 0.0, not integer 0.
21590
21591 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
21592
21593         * gdb.t06/break.exp: Update for "Kill the program" message change.
21594
21595 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
21596
21597         * Makefile.in (GDBFLAGS):  Set to -nx.
21598         * Makefile.in (site.exp):  Use GDBFLAGS.
21599
21600 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
21601
21602         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
21603           Makefiles.
21604           (check): depend on just-check.
21605           (just-check): added so that tests can be run without a noop
21606           build pass.
21607
21608 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
21609
21610         Switch to using configure's configdirs.
21611         * Makefile.in (Makefile): add configure.in dependency.
21612           (SUBDIRS): removed redundant assignment.
21613         * configure.in: switch subdirs assignment to configdirs.
21614         * gdb.t*/configure.in: new files.
21615
21616 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
21617
21618         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
21619         works.
21620
21621 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
21622
21623         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
21624         in explicit rules.  Apparently this is not supported by some makes.
21625
21626 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
21627
21628         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
21629
21630 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21631
21632         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
21633         disappeared.
21634
21635 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
21636
21637         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
21638
21639 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
21640
21641         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
21642         watchpoint problem that is now fixed.
21643         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
21644         uninitialized convenience variables.
21645         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
21646         structures.
21647
21648 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21649
21650         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
21651         which causes expect to get out of sync with gdb on long output
21652         from help set.
21653         * gdb.t09/corefile.exp: Make expected pattern for core file
21654         failing signal and frame output format less sun specific.
21655
21656 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
21657
21658         * gdb.t31/chillvars.exp:  Add and remove initial dummy
21659         breakpoint, so that symbol table is forced in.
21660         (Needed at least on Sunos4, though it seems not SVR4.)
21661         * gdb.t31/chillvars.exp:  Update for changed output format.
21662
21663 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
21664
21665         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
21666
21667 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
21668
21669         * Makefile.in: Added --srcdir when invoking runtest, removed the
21670         need for a local config file. (optional now)
21671
21672 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
21673
21674         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
21675         failure count used to force early termination.  Add some more
21676         expected failures for gnu style demangling.
21677
21678 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21679
21680         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
21681         pmi variable from gdb.t20/gdbme to get optimized away.
21682         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
21683         Check for written corefile upon timeout _and_ eof.
21684
21685 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21686
21687         * config/unix-gdb.exp:  Add missing return 0.
21688
21689 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21690
21691         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
21692         test termination.
21693
21694 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
21695
21696         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
21697         disappeared.
21698
21699 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
21700
21701         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
21702         time as i860 support works.
21703
21704         * gdb.t15/funcargs.exp:  Fix expected outputs to include
21705         "backtrace 100\r" rather than just "backtrace\r", to match last
21706         change.
21707
21708 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
21709
21710         * config/udi-gdb.exp (gdb_exit): Remove close command.
21711         (gdb_target_udi): New procedure to set the UDI target.
21712         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
21713         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
21714         Added waits for prompts after several question responses.  Added
21715         some more responses used by a29k-amd-udi-gdb.
21716         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
21717         pass different arguments, restart UDI connection after program
21718         completion.
21719         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
21720         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
21721         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
21722         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
21723         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
21724         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
21725         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
21726         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
21727         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
21728         after program completion.
21729         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
21730         compiled with a SELECT_VECS setting.
21731         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
21732         infinite recursion.
21733
21734         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
21735         Added checks for COFF results, and made them expected failures for
21736         all targets.  It would be better to make them expected failures
21737         for COFF targets only.
21738
21739 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
21740
21741         * Makefile.in: add null dvi target, don't bother to recurse
21742         through test directories for info and install-info; rename
21743         $(datadir) to be dejagnu instead of deja-gnu
21744
21745 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
21746
21747         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
21748         compiler to coredump.
21749         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
21750         code.
21751
21752 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
21753
21754         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
21755         coredump.
21756         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
21757         code.
21758
21759 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
21760
21761         * gdb.t03/ptype.exp: tests for return code from gdb_test.
21762         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
21763         which in a shell. Deletes xgdb when done.
21764         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
21765         Tests the return from the "set height" or "set width" commands.
21766         Added a few return codes where needed.
21767
21768 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
21769
21770         * Makefile.in (SUBDIRS):  Add gdb.t17.
21771         * configure.in (subdirs):  Add gdb.t17.
21772         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
21773         files to test gdb's calling of functions in the inferior with
21774         the correct arguments and gdb's ability to retrieve any
21775         result returned.
21776
21777 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
21778
21779         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
21780         may be called after gdb goes away.  Previous versions of expect
21781         needed these to avoid file descriptor leaks, but they cause
21782         errors with the current revision of expect.
21783         * gdb.t00/gdbvars.exp:  Use -re on expected output after
21784         setting sevenbit-strings.
21785         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
21786         to set sevenbit-strings consistent across tests.
21787         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
21788         set sevenbit-strings consistent across tests.
21789
21790 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
21791
21792         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
21793         expected output to match current "expect" expectations.
21794
21795 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
21796
21797         * gdb.t00/default.exp:  Change expected output for default "source"
21798         command, to match new gdb behavior which requires a filename to
21799         source.
21800
21801 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
21802
21803         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
21804         expected fail for i486-*-* that misses the marker2 function.
21805         * gdb.t10/crossload.exp (bfddefault):  Allow successful
21806         recognition of a format to pass even if no symbols are found.
21807         Explicitly catch failures where the format is not recognized
21808         or is ambiguous, and add the reason to the fail message.
21809         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
21810         the cause is and invalid target and add reason to failure message.
21811         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
21812         elf32-i386, elf32-sparc, and elf32-i860.
21813         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
21814         Set up expected failure for 'filename'::variable scope resolution,
21815         which is now apparently broken on all targets.
21816         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
21817         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
21818         gdb.t23/templates.exp:   Change failure for missing binfile into
21819         just a warning.
21820         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
21821         references.
21822
21823 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
21824
21825         * gdb.t00/default.exp:  Add expected output for default "source"
21826         command, to match new gdb behavior.
21827         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
21828
21829 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
21830
21831         * config/*-gdb.exp: returns an error, rather than exiting on
21832         internal errors.
21833
21834 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
21835
21836         * gdb.t03/gdbme.c:  Add pointer to struct variable.
21837         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
21838         referencing struct members.
21839
21840 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
21841
21842         * configure.in (mips-idt-ecoff): New target.
21843         * config/mips-gdb.exp: New file for remote board using MIPS remote
21844         debugging protocol.
21845
21846         * Redid configuration scheme.  Removed gdb.t*/configure.in.
21847         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
21848         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
21849         distclean targets.  Built executables via .o files.  Adjusted
21850         tests to account for source files in $(srcdir) rather than
21851         $(objdir).
21852         * lib/gdb.exp (runto): Don't expect () after the function name,
21853         because it may have arguments.
21854
21855 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
21856
21857         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
21858         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
21859         expected failures for mips-idt-* and mips-sgi-*.
21860         * gdb.t00/default.exp (attach): Kill process if requested.
21861         * gdb.t00/help.exp (help target core, help target): Accept a gdb
21862         that does not read core files.
21863         * gdb.t01/run.exp: Removed checks for exit status code.
21864         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
21865         it is linked in.
21866         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
21867         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
21868         appropriate, rather than doing it by hand.
21869         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
21870         execution.
21871         * gdb.t10/crossload.exp: Kill existing program if needed.
21872         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
21873         appropriate, rather than doing it by hand.  Always increase
21874         timeout for this test, not just for VxWorks.
21875
21876 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
21877
21878         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
21879         of Chill STRUCT types and STRUCT values.
21880         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
21881         than "char".
21882         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
21883         struct2):  New struct definitions and initializations to test
21884         simple Chill STRUCT types.
21885
21886 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
21887
21888         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
21889         the null byte at the end of strings.
21890         * gdb.t00/default.exp:  Make show version insensitive to copyright
21891         date.
21892         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
21893         to avoid dependencies on target char signedness.
21894         * gdb.t16/printcmds.exp:  Update expected results for explicitly
21895         unsigned char.
21896         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
21897         now work.
21898         * gdb.t21/demangle.exp:  Add many more patterns for template
21899         demangling, most of them being expected failures.
21900         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
21901         string we are matching for, to match on the whole string.
21902         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
21903         and fix a whole bunch that had incorrect expected output but were
21904         passing anyway because of the bug in "proc demangle".
21905         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
21906         type.
21907         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
21908
21909 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
21910
21911         * gdb/testsuite: made modifications to testcases, etc., to allow
21912         them to work properly  given the reorganization of deja-gnu and the
21913         relocation of the testcases from deja-gnu to a "tool" subdirectory.
21914
21915 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
21916
21917         * gdb/testsuite: Initial creation of gdb/testsuite.
21918         Migrated dejagnu testcases and support files for testing nm to
21919         gdb/testsuite from deja-gnu.  These files were moved "as is"
21920         with no modifications.  This migration is part of a major overhaul
21921         of dejagnu.  The modifications to these testcases, etc., which
21922         will allow them to work with the new version of dejagnu will be
21923         made in a future update.
21924
21925  For additional changes see gdb.mi/ChangeLog-1999-2003.
21926 \f
21927 ;; Local Variables:
21928 ;; mode: change-log
21929 ;; left-margin: 8
21930 ;; fill-column: 74
21931 ;; version-control: never
21932 ;; End:
21933
21934     Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
21935     2003, 2004, 2005 Free Software Foundation, Inc.
21936   Copying and distribution of this file, with or without modification,
21937   are permitted provided the copyright notice and this notice are preserved.