ee17900db202da905fae483820bc9ffb19ec235a
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2006-02-13  Jim Blandy  <jimb@redhat.com>
2
3         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
4         case where it takes two "next" commands to skip past the init
5         call.
6
7 2006-02-12  Fred Fish  <fnf@specifix.com>
8
9         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10         to handle cases where it takes two "next" commands to skip
11         past the init call.
12
13 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
14
15         * gdb.ada/array_return.exp: Mark the last test as expected to fail
16         on hppa32 targets.
17
18 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
19
20         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
21         field.
22
23 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
24
25         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
26
27 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
28
29         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
30         files.
31
32 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
33
34         * gdb.cp/maint.exp: Set complaints to a positive value.
35
36 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
37
38         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
39         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
40         function name.
41
42 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
43
44         * gdb.base/checkpoint.c: Update copyright notice.  Include
45         <stdlib.h>.
46
47 2006-01-04  Jim Blandy  <jimb@redhat.com>
48
49         * gdb.asm/asm-source.exp: Independently provide default values for
50         asm-flags and debug-flags.  Use 'string equal' to do the
51         comparison, not the implicit expr's '==' operator.  Remove
52         now-unneeded assignments to asm-flags.  In h8300 case, place
53         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
54
55 2006-01-04  Michael Snyder  <msnyder@redhat.com>
56
57         * gdb.base/checkpoint.c: New file.
58         * gdb.base/checkpoint.exp: New file.
59         * gdb.base/multi-fork.c: New file.
60         * gdb.base/multi-fork.exp: New file.
61         * gdb.base/pi.txt: New file (data for checkpoint.c test).
62
63 2006-01-04  Fred Fish  <fnf@specifix.com>
64
65         * gdb.base/ptype.c (foo): Add typedef.
66         (intfoo): Add function.
67         * gdb.base/ptype1.c: New file.
68         * gdb.base/ptype.exp: Handle compilation and linking with two
69         source files.  Test that proper type for "foo" is found based
70         on source context rather than first match found in symtabs.
71
72 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
73
74         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
75         * gdb.asm/openbsd.inc: Indent commands.
76
77 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
78
79         * gdb.base/freebpcmd.exp: Increase timeout.
80
81         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
82
83 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
84
85         * gdb.base/default.exp: Update check for "show version".
86
87 2005-12-09  Randolph Chung  <tausq@debian.org>
88
89         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
90         * gdb.asm/pa64.inc: New file.
91
92 2005-12-09  Randolph Chung  <tausq@debian.org>
93
94         * gdb.asm/common.inc: Indent commands.
95         * gdb.asm/asmsrc1.s: Likewise.
96         * gdb.asm/asmsrc2.s: Likewise.
97
98 2005-12-09  Randolph Chung  <tausq@debian.org>
99
100         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
101         (get_addr_of_sym): Remove duplicate print.
102         (gen_core): xfail hppa*-*-hpux*, update expected output.
103         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
104         * gdb.arch/pa64-nullify.s: New file.
105
106 2005-12-09  Randolph Chung  <tausq@debian.org>
107
108         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
109
110 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
111
112         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
113         code generation for these functions.
114         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
115         error message.
116
117 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
118
119         * gdb.base/help.exp (help b, help br, help bre, help brea)
120         (help break): Update the expected message.
121
122 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
123
124         * gdb.asm/m68hc11.inc: Setup the data section.
125         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
126         script for this test.
127         (m6812-*-*): Likewise.
128
129 2005-11-09  Randolph Chung <tausq@debian.org>
130
131         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
132
133 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
134
135         * gdb.base/break.exp: Fix a comment typo.
136
137 2005-11-03  Jim Blandy  <jimb@redhat.com>
138
139         Checked in by Elena Zannoni  <ezannoni@redhat.com>
140  
141         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
142
143 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
144
145         * gdb.arch/gdb1558.c: Include stdio.h.
146
147 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
148
149         * gdb.asm/asm-source.exp: Use -e instead of --entry.
150
151 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
152
153         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
154
155 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
156
157         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
158         vscr" tests to better match output.
159
160 2005-10-12  Jim Blandy  <jimb@redhat.com>
161
162         * gdb.base/structs.exp (any): New function.
163         (test_struct_returns): Don't make any assumptions at all about
164         what value the function returns when GDB can't set the return
165         value.
166
167 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
168
169         * gdb.ada/arrayidx/p.adb: New file.
170         * gdb.ada/arrayidx.exp: New testcase
171
172 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
173
174         * gdb.ada/array_return/pck.ads: New file.
175         * gdb.ada/array_return/pck.adb: New file.
176         * gdb.ada/array_return/p.adb: New file.
177         * gdb.ada/array_return.exp: New testcase.
178
179 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
180
181         * gdb.base/arrayidx.c: New file.
182         * gdb.base/arrayidx.exp: New testcase.
183
184 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
185
186         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
187         frames-invalid and breakpoints-invalid are no longer generated
188         with level 3 so don't expect them in the output.
189
190 2005-09-27  Bob Rossi  <bob@brasko.net>
191
192         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .* 
193         from test.  Escape the | in mi_gdb_test call.
194         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
195         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
196         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
197         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
198         expected regex's in mi_gdb_test calls.
199         * lib/mi-support.exp: Remove arbitrary .* from tests.
200         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
201         Fully anchor GDB/MI expected results in mi_gdb_test.
202         * lib/gdb.exp (string_to_regexp): Escape the ] character.
203         * gdb.base/sizeof.exp: Remove escape character. Correct test.
204
205 2005-09-26  Paul Brook  <paul@codesourcery.com>
206
207         * long_long.exp: Exclude eabi targets from arm FPA float format test.
208
209 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
210
211         * bfp-test.c: New file.
212         * bfp-test.exp: New testcase.
213
214 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
215
216         * gdb.fortran/subarray.exp: New testcase to test the evaluation
217         of subarray and substring variable.
218         * gdb.fortran/subarray.f: New source file for the test of subarray
219         and substring variable evaluation.
220         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
221         of string constant.
222
223 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
224
225         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
226         copyright dates.
227
228 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
229
230         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
231         powerpc altivec' test with an almost identical 'info vector' test.
232
233 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
234
235         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
236         vscr" tests to match output.
237
238 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
239
240         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
241         output.
242
243 2005-09-11  Bob Rossi  <bob@brasko.net>
244
245         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
246         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for 
247         commands that return an MI output command and an asyncronous MI output
248         command.
249         * gdb.mi/mi-console.exp: Ditto.
250
251 2005-09-11  Bob Rossi  <bob@brasko.net>
252
253         * gdb.mi/mi-var-child.c: Include <string.h>.
254
255 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
256
257         * killed.exp: Correct gdb_expect syntax.
258
259 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
260
261         * lib/mi-support.exp (mi_gdb_load): Fix typo.
262
263 2005-08-02  Bob Rossi  <bob@brasko.net>
264
265         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
266         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
267         Change tests to inferior-tty-set/show.
268         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
269         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
270         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
271         inferior.  Use mi_gdb_test to get GDB and Inferior output.
272         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
273         descriptor.
274         (mi_inferior_tty_name): Add inferior PTY file name.
275         (mi_gdb_start): Add INFERIOR_PTY parameter.
276         (mi_gdb_test): Add IPATTERN parameter.
277
278 2005-08-02   Bob Rossi  <bob@brasko.net>
279   
280         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
281         parameter to mi_gdb_test.
282         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
283
284 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
285
286         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
287         struct_declarations.
288         * gdb.mi/mi-var-child.exp: Step over the initialization of
289         struct_declarations.
290
291 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
292
293         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
294         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
295         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
296         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
297         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
298         file.
299
300 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
301
302         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
303         (do_children_tests): Assign values to the extra elements.
304
305         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
306         them for tests for "-var-update --no-values" and
307         "-var-update --all-values".  
308         Add test for "-var-list-children --simple-values".
309
310         * gdb.mi/basics.c (callee4): Add integer array D[3]...
311
312         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
313         "-stack-list-locals --simple-values"  Improve doc strings and
314         comments.
315
316 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
317
318         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
319         *-*-openbsd*.
320         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
321
322         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
323         sigaltsatck'.
324
325 2005-07-14  Bob Rossi  <bob@brasko.net>
326   
327         * gdb.base/default.exp (tty): Changed output of command.
328         * gdb.base/help.exp (help tty): Ditto.
329
330 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
331
332         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
333
334 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
335
336         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
337         -stack-select-frame without arguments.
338         (test_stack_frame_listing): Add test for newly implemented command
339         -stack-info-frame.
340
341 2005-07-06  Bob Rossi  <bob@brasko.net>
342
343         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
344         command.
345         (Copyright): Update copyright.
346
347 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
348
349         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
350         tests to evaluate exponentiation expression.
351
352 2005-06-29  Andreas Schwab  <schwab@suse.de>
353
354         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
355         main to avoid warnings.
356
357         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
358
359 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
360
361         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
362         -stack-select-frame without arguments.
363         (test_stack_frame_listing): Add test for newly implemented command
364         -stack-info-frame.
365         
366 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
367
368         * gdb.fortran/array-element.f: New file.
369         * gdb.fortran/array-element.exp: New testcase.
370
371 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
372
373         * gdb.base/bigcore.exp: Correct checks for systems which can
374         not dump a large core file.
375
376 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
377
378         * gdb.base/relocate.c: Add a copyright notice.
379         (dummy): Remove.
380         * gdb.base/relocate.exp: Test printing the values of variables
381         from a relocatable file.
382
383 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
384
385         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
386         excess MI output after an error.
387
388 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
389
390         * gdb.arch/alpha-step.c: New file.
391         * gdb.arch/alpha-step.exp: New testcase.
392
393 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
394             Dennis Brueni  <dennis@slickedit.com>
395
396         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
397         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
398         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
399         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
400         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
401         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
402         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
403
404 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
405             Wu Zhou  <woodzltc@cn.ibm.com>
406
407         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
408         IBM's xlc compiler.
409         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
410         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
411
412 2005-05-13  Jim Blandy  <jimb@redhat.com>
413
414         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
415         calling gdb_suppress_entire_file.
416         * gdb.base/charset.exp: Same.
417         * gdb.base/call-rt-st.exp: Same.
418
419 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
420
421         * lib/gdb.exp (fullname_syntax): Added global regex.
422         (fullname_syntax_POSIX): Ditto.
423         (fullname_syntax_UNC): Ditto.
424         (fullname_syntax_DOS_CASE): Ditto.
425         (fullname_syntax_DOS): Ditto.
426         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
427         fullname_syntax variable to scope and use it.
428         (test_file_list_exec_source_files): Ditto.
429         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
430
431 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
432
433         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
434
435 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
436
437         * lib/gdb.exp (skip_altivec_tests): New function, based on
438         check_vmx_hw_available from the GCC testsuite.
439         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
440         * lib/gdb.arch/altivec-regs.exp: Likewise.
441
442 2005-05-02  Jim Blandy  <jimb@redhat.com>
443
444         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
445         calling gdb_suppress_entire_file.
446
447 2005-04-30  Randolph Chung  <tausq@debian.org>
448
449         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
450         Slightly relax "sem_post" name checking.
451
452 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
453
454         * gdb.base/unload.exp: Use new shared library infrastructure.
455
456 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
457
458         * gdb.base/so-impl-ld.exp: Use new shared library
459         infrastructure.
460
461 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
462
463         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
464         * gdb.asm/h8300.inc: New file.
465
466 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
467
468         * gdb.base/shlib-call.exp: Change to use new shared library
469         infrastructure.
470
471 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
472
473         * gdb.base/pending.exp: Change to use new shared library
474         infrastructure.
475
476 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
477
478         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
479         use test_compiler_info instead of gcc_compiled, and update copyright.
480
481 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
482
483         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
484         shared objects being adjusted and update copyright years.
485
486 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
487
488         * ChangeLog: Correct some 2003-01-13 dates.
489         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
490         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
491         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
492         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
493         gdb.trace/tfind.exp: Update copyright years.
494
495 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
496             Daniel Jacobowitz  <dan@codesourcery.com>
497
498         * lib/gdb.exp (gdb_compile): Handle shlib=.
499         (gdb_compile_shlib): New function.
500
501 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
502
503         * lib/gdb.exp (test_compiler_info): Give argument a default value.
504
505 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
506
507         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
508         gdb.server.
509         * configure.ac: Likewise.
510         * configure: Regenerated.
511         * gdb.gdbserver/Makefile.in: Moved to...
512         * gdb.server/Makefile.in: ... here.
513         * gdb.gdbserver/server.c: Moved to...
514         * gdb.server/server.c: ... here.
515         * gdb.gdbserver/server-run.exp: Moved to...
516         * gdb.server/server-run.exp: ... here.
517
518 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
519
520         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
521         * configure.ac: Create gdb.gdbserver/Makefile.
522         * configure: Regenerated.
523         * lib/gdbserver-support.exp: New file, derived from
524         config/gdbserver.exp.
525         * config/gdbserver.exp: Use gdbserver-support.exp.
526         * gdb.gdbserver/Makefile.in: New file.
527         * gdb.gdbserver/server.c: New file.
528         * gdb.gdbserver/server-run.exp: New file.
529
530 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
531
532         * lib/gdb.exp (test_compiler_info): Return compiler_info
533         if no arguments are given.
534
535 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
536
537         * gdb.arch/altivec-abi.exp: Check for compiler and set
538         use altivec' flag accordingly.
539         * gdb.arch/altivec-regs.exp: Likewise.
540
541 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
542
543         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
544
545 2005-03-27  Andreas Schwab  <schwab@suse.de>
546
547         * gdb.base/bigcore.c (main): Add missing mode argument in open
548         call.
549
550 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
551
552         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
553         downloads.
554         * config/gdbserver.exp (gdb_load): Likewise.
555
556 2005-03-14  Paul Brook  <paul@codesourcery.com>
557
558         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
559         targets.
560
561 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
562
563         * gdb.dwarf2/dup-psym.S: New file.
564         * gdb.dwarf2/dup-psym.exp: New testcase.
565
566 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
567
568         * gdb.ada/exec_changed/first.adb: New file.
569         * gdb.ada/exec_changed/second.adb: New file.
570         * gdb.ada/exec_changed.exp: New testcase.
571
572 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
573
574         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
575         (A2): New class.
576         (main): Test operator+.
577         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
578         breakpoint test.
579
580         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
581         * gdb.base/signull.exp: Disable if gdb,nosignals.
582         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
583         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
584         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
585         * gdb.mi/mi2-console.exp: Likewise.
586         * gdb.trace/collection.exp (run_trace_experiment): Consume the
587         continue output at start.
588         (gdb_collect_locals_test): Robustify regexp.
589         * gdb.trace/passc-dyn.exp: Fix comment typo.
590         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
591
592 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
593
594         * gdb.asm/asm-source.exp: Add iq2000 case.
595         * gdb.asm/iq2000.inc: New file.
596
597 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
598         
599         * gdb.base/command.exp: Change hardcoded value to regular expression.
600         * gdb.base/float.exp: Add powerpc to the list of targets checked.
601
602 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
603
604         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
605         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
606         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
607         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
608         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
609
610 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
611
612         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
613         changes.
614
615 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
616
617         * lib/compiler.c: Add test for IBM's xlc compiler.
618         * lib/compiler.cc: Likewise.
619
620 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
621
622         * gdb.ada/fixed_points.exp: Create compilation object directory
623         before running the test.
624         * gdb.ada/null_record.exp: Likewise.
625         * gdb.ada/packed_array.exp: Likewise.
626         * gdb.ada/start.exp: Likewise.
627
628 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
629
630         * gdb.ada/packed_array/pa.adb: New file.
631         * gdb.ada/packed_array.exp: New testcase.
632
633 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
634
635         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
636         files.
637
638         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
639         on *-*-openbsd*.  Correctly match whitespace in regukar
640         expressions.
641
642 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
643
644         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
645         PR exp/1821
646         * gdb.base/gdb1821.c: New test file.
647         * gdb.base/gdb1821.exp: New test file.
648
649 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
650
651         * gdb.base/start.c: New file.
652         * gdb.base/start.exp: New testcase.
653
654 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
655
656         * gdb.ada/start/dummy.adb: New file.
657         * gdb.ada/start.exp: New testcase.
658
659 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
660
661         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
662         for printing symbols and statistics.
663         Add test for using relative pathnames in "maint print msymbols" test.
664         Mark "maint info sections DATA" XFAIL on Cygwin.
665         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
666         tests.
667
668 2005-02-09  Andreas Schwab  <schwab@suse.de>
669
670         Committed by Andrew Cagney  <cagney@gnu.org>
671         * gdb.base/remotetimeout.exp: New file.
672
673 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
674
675         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
676
677 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
678
679         * gdb.ada/gnat_ada.gpr: New file.
680         * gdb.ada/gnat_ada.gin: Delete, no longer used.
681         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
682         * configure.ac: No longer generate gnat_ada.gpr.
683         * configure: Regenerate.
684         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
685         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
686         * gdb.ada/null_record/bar.ads: Likewise.
687         * gdb.ada/null_record/bar.adb: Likewise.
688         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
689         * gdb.ada/null_record.exp (testdir): New variable.
690         (testfile): executable is now in testdir subdirectory.
691         (srcfile): Use full path to the main compilation unit.
692         * gdb.ada/fixed_points.exp: Same changes as above.
693
694 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
695
696         * gdb.base/interp.exp: New test.
697
698 2005-01-24  Andrew Cagney  <cagney@gnu.org>
699
700         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
701
702 2005-01-19  Andrew Cagney  <cagney@gnu.org>
703
704         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
705         configure.ac not configure.in.
706
707         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
708         of powerpc*-*-*.
709         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
710         * gdb.base/list.exp (test_list_function) 
711         (test_list_filename_and_function): Ditto.
712         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
713
714 2005-01-16  Andrew Cagney  <cagney@gnu.org>
715
716         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
717
718         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
719
720 2005-01-14  Andrew Cagney  <cagney@gnu.org>
721
722         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
723         * gdb.mi/mi2-var-cmd.exp: Ditto.
724
725 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
726
727         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
728
729 2005-01-07  Andrew Cagney  <cagney@gnu.org>
730
731         * configure.ac: Rename configure.in, require autoconf 2.59.
732         * configure: Re-generate.
733         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
734         * gdb.stabs/configure: Re-generate.
735         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
736         * gdb.hp/configure: Re-generate.
737         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
738         autoconf 2.59.
739         * gdb.hp/gdb.objdbg/configure: Re-generate.
740         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
741         autoconf 2.59.
742         * gdb.hp/gdb.defects/configure: Re-generate.
743         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
744         autoconf 2.59.
745         * gdb.hp/gdb.compat/configure: Re-generate.
746         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
747         autoconf 2.59.
748         * gdb.hp/gdb.base-hp/configure: Re-generate.
749         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
750         autoconf 2.59.
751         * gdb.hp/gdb.aCC/configure: Re-generate.
752
753 2004-12-15  Jim Blandy  <jimb@redhat.com>
754
755         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
756         under NPTL when there is debugging info available for libpthread.
757
758 2004-12-13  Jerome Guitton  <guitton@gnat.com>
759
760         * gdb.ada/fixed_points.c: New file.
761         * gdb.ada/fixed_points.exp: New file.
762
763 2004-12-03  Randolph Chung  <tausq@debian.org>
764
765         * gdb.arch/pa-nullify.exp: New file.
766         * gdb.arch/pa-nullify.s: New file.
767
768 2004-11-30  Randolph Chung  <tausq@debian.org>
769
770         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
771         instead of "tbug".  Fix regexp to work properly with gdb_test.
772
773 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
774
775         * gdb.base/bitfields2.exp: New test.
776         * gdb.base/bitfields2.c: New file.
777
778 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
779
780         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
781
782 2004-11-16  Randolph Chung  <tausq@debian.org>
783
784         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
785
786 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
787
788         * gdb.threads/threadapply.exp: Correct "macro details" test.
789
790 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
791
792         * gdb.threads/threadapply.exp: New test.
793         * gdb.threads/threadapply.c: New file.
794
795 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
796
797         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
798         frames.
799
800 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
801
802         * gdb.base/cursal.exp: New file.
803         * gdb.base/cursal.c: New file.
804
805 2004-11-03  Andrew Cagney  <cagney@gnu.org>
806
807         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
808
809 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
810
811         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
812         NetBSD/ELF targets.
813
814 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
815
816         * gdb.threads/bp_in_thread.c: New file, copied from
817         pthread_cond_wait.c.
818         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
819         file, rather than reusing the .c file from another testcase.
820
821 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
822
823         * gdb.ada/null_record.exp: Check where we stopped after
824         sending the start command, instead of where the associated
825         temporary breakpoint was inserted.
826
827 2004-10-14  Andrew Cagney  <cagney@gnu.org>
828
829         * gdb.mi/gdb701.c (main): Return 0.
830
831 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
832
833         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
834
835 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
836
837         * gdb.threads/schedlock.c: Add comment markers to use to find
838         line numbers.
839         * gdb.threads/schedlock.exp: Adjust regex to handle the new
840         comments.
841         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
842         breakpoint lines.
843
844 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
845
846         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
847
848 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
849
850         * configure.in: Add gdb.dwarf2.
851         * configure: Regenerated.
852         * Makefile.in: Add gdb.dwarf2.
853         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
854         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
855         gdb.dwarf2/file1.txt: New files.
856
857 2004-10-11  Orjan Friberg  <orjanf@axis.com>
858
859         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead 
860         of "run", since the latter doesn't work with remote targets.  Adjust
861         the breakpoint numbering accordingly.
862         * gdb.threads/pthread_cond_wait.exp: Ditto.
863
864 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
865
866         * gdb.base/overlays.exp: Update copyright years.
867
868 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
869
870         * gdb.base/overlays.exp: Disable if target is Linux.
871
872 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
873
874         * config/gdbserver.exp (gdb_load): Use right filename on remote.
875
876 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
877
878         * gdb.asm/asm-source.exp: Add m32r-linux target.
879         * gdb.asm/m32r-linux.inc: New file.
880
881 2004-09-24  Andrew Cagney  <cagney@redhat.com>
882             David Anderson <anderson@redhat.com>
883
884         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
885         command fails, assume things will work.
886         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
887         (_GNU_SOURCE): Define.
888         (print_unsigned, print_hex): Change parameter to "long long".
889         (print_byte_count): New function, use to print byte counts.
890         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
891         O_LARGEFILE.
892         (main): Compute an upper bound on a corefile in max_core_size.
893         Limit memory chunk size to max_core_size.  Limit total memory
894         allocated to max_core_size.
895
896 2004-09-23  Andrew Cagney  <cagney@gnu.org>
897
898         * gdb.base/bigcore.exp: Replace the code that creates a corefile
899         from a separate process with code that creates a corefile by
900         making the inferior dump core.
901
902 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
903
904         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
905         block.
906
907 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
908
909         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
910         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
911         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
912         Likewise.
913
914 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
915
916         * gdb.java/jprint.exp: New test case for java inferior call.
917         * gdb.java/jprint.java: Ditto.
918
919 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
920
921         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
922
923 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
924
925         * gdb.threads/killed.c: Include <stdlib.h>.
926         * gdb.threads/pthreads.c: Likewise.
927
928 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
929
930         * gdb.threads/killed.c: Add copyright notice.
931
932 2004-09-10  Jason Molenda  (jmolenda@apple.com)
933
934         * gdb.base/define.exp: Two new tests to verify zero space chars
935         after 'if' and 'while' commands in a user-defined command is correctly
936         parsed.
937
938 2004-09-08  Andrew Cagney  <cagney@gnu.org>
939
940         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
941         delivery test with duplicate at end of file.
942
943 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
944
945         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
946
947 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
948
949         * config/hppro.exp: Removed.
950
951 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
952
953         * config/sparclet.exp: Removed.
954
955 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
956
957         * config/udi.exp: Removed.
958
959 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
960
961         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
962         of "exp_continue".
963         (advancei): Likewise.
964
965 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
966
967         * gdb.base/unload.exp: Fix so messages aren't duplicated.
968
969 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
970
971         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
972         to check for nodebug in executable.
973         * gdb.gdb/observer.exp (setup_test): Likewise.
974         * gdb.gdb/selftest.exp (test_with_self): Likewise.
975         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
976
977 2004-09-01  Andrew Cagney  <cagney@gnu.org>
978
979         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
980         files.
981
982 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
983
984         * gdb.base/unload.exp: Fix expected warning message to match
985         latest format.
986
987 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
988
989         * gdb.base/call-rt-st.exp: Fix typos.
990
991 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
992
993         * gdb.threads/thread_check.exp: New testcase.
994         * gdb.threads/thread_check.c: New testcase.
995
996 2004-08-31  Andrew Cagney  <cagney@gnu.org>
997
998         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
999         (skip_to_handler_entry): New procedures.  Test stepping into a
1000         handler when the breakpoint is at the handler's entry point.
1001
1002 2004-08-30  Andrew Cagney  <cagney@gnu.org>
1003
1004         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
1005         gdb/1757.
1006
1007 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
1008
1009         With code from Manoj Iyer <manjo@austin.ibm.com>:
1010         * lib/gdb.exp (gdb_file_cmd): Return more information in the
1011         return value.  Add an arm for "no debugging symbols found".
1012         Change a stray "error" to "perror".
1013         (gdb_run_cmd): Adapt to new return value.
1014         * gdb.base/remote.exp: Adapt to new return value.
1015         * gdb.gdb/complaints.exp: Likewise.
1016         * gdb.gdb/observer.exp: Likewise.
1017         * gdb.gdb/selftest.exp: Likewise.
1018         * gdb.gdb/xfullpath.exp: Likewise.
1019
1020 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
1021
1022         * gdb.threads/bp_in_thread.exp: New testcase.
1023
1024 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
1025
1026         Fix PR testsuite/1735.
1027         * gdb.threads/schedlock.c (thread_function): Add a cast
1028         to suppress a gcc warning.
1029         * gdb.threads/thread-specific.c (thread_function): Likewise.
1030
1031 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
1032
1033         * gdb.base/unload.c: Include <stdlib.h>.
1034
1035 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
1036
1037         From Paul Gilliam <pgilliam@us.ibm.com>:
1038         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
1039         synchronized after the "return".
1040
1041 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
1042
1043         * gdb.mi/basics.c: Include <stdio.h>.
1044         * gdb.mi/pthreads.c: Include <stdlib.h>.
1045         * gdb.mi/var-cmd.c: Include <stdlib.h>.
1046
1047 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
1048
1049         * gdb.threads/schedlock.c: Add copyright notice.
1050
1051 2004-08-25  Andrew Cagney  <cagney@gnu.org>
1052
1053         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
1054         (skip_over_handler, breakpoint_over_hander): New test procedures.
1055         (advance, advancei): Add a proper prefix, do not use
1056         rerun_to_main.
1057         * gdb.base/sigstep.c (main): Change to use an infinite loop.
1058
1059 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
1060
1061         * gdb.mi/basics.c: Add copyright notice.
1062         * gdb.mi/var-cmd.c: Add copyright notice.
1063
1064 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
1065
1066         * lib/gdb.exp: Remove signed_keyword_not_used.
1067         * lib/compiler.c: Likewise.
1068         * lib/compiler.cc: Likewise.
1069
1070 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
1071
1072         * gdb.base/whatis.c: Remove conditional disabling of "signed".
1073         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
1074
1075 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
1076
1077         * gdb.base/whatis.c: Add copyright notice.
1078
1079 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
1080
1081         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
1082         it to skip the breakpoints encoded in the inline assembly.
1083
1084 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
1085
1086         * Makefile.in: Add gdb.fortran.
1087
1088 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
1089
1090         * gdb.base/call-sc.exp (test_scalar_returns):
1091         Fix cut-and-paste glitch in "Make fun return now".
1092
1093 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
1094
1095         * configure.in: Add gdb.fortran.
1096         * configure: Regenerate.
1097         * gdb.fortran/Makefile.in: New file.
1098         * lib/gdb.exp (skip_fortran_tests): New procedure.
1099
1100 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
1101
1102         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
1103         reference to bug-gnu@prep.ai.mit.edu.
1104         * gdb.mi/mi-var-child.exp: Likewise.
1105         * gdb.mi/mi-var-cmd.exp: Likewise.
1106         * gdb.mi/mi-var-display.exp: Likewise.
1107         * gdb.mi/mi2-var-block.exp: Likewise.
1108         * gdb.mi/mi2-var-child.exp: Likewise.
1109         * gdb.mi/mi2-var-cmd.exp: Likewise.
1110         * gdb.mi/mi2-var-display.exp: Likewise.
1111
1112 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
1113
1114         * gdb.base/unload.c (main): Make local variable msg const.
1115
1116 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
1117
1118         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
1119         to bug-gnu@prep.ai.mit.edu.
1120         * gdb.mi/mi-disassemble.exp: Likewise.
1121         * gdb.mi/mi-eval.exp: Likewise.
1122         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
1123         default line number.
1124         * gdb.mi/mi-return.exp: Likewise.
1125         * gdb.mi/mi-simplerun.exp: Likewise.
1126         * gdb.mi/mi-stack.exp: Likewise.
1127         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
1128         number with explicit range test.
1129         * gdb.mi/mi-watch.exp: Likewise.
1130         * gdb.mi/mi2-break.exp: Likewise.
1131         * gdb.mi/mi2-cli.exp: Likewise.
1132         * gdb.mi/mi2-disassemble.exp: Likewise.
1133         * gdb.mi/mi2-eval.exp: Likewise.
1134         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
1135         default line number.
1136         * gdb.mi/mi2-return.exp: Likewise.
1137         * gdb.mi/mi2-simplerun.exp: Likewise.
1138         * gdb.mi/mi2-stack.exp: Likewise.
1139         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
1140         number with explicit range test.
1141         * gdb.mi/mi2-watch.exp: Likewise.
1142
1143 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
1144
1145         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
1146         * gdb.cp/m-static.exp: Likewise.
1147         * gdb.cp/rtti.exp: Likewise.
1148
1149 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
1150
1151         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
1152
1153 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
1154
1155         * ChangeLog: Prefix Local Variables with semi-colons and indent
1156         the reference to older ChangeLog files, to fix fontification in
1157         Emacs.
1158
1159 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
1160
1161         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
1162         * gdb.mi/mi2-break.exp: Likewise.
1163
1164 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
1165
1166         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
1167
1168 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
1169
1170         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
1171
1172 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
1173
1174         * gdb.cp/classes.exp: Remove unused declarations.  Just let
1175         test names default instead of providing special names.  Remove
1176         extraneous demangler test.
1177
1178 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
1179
1180         * gdb.base/unload.exp: New test for breakpoints in dynamically
1181         loaded libraries.
1182         * gdb.base/unload.c: Ditto.
1183         * gdb.base/unloadshr.c: Ditto.
1184
1185 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
1186
1187         * gdb.cp/classes.exp (test_ptype_class_objects): Call
1188         cp_test_ptype_class.
1189         (test_enums): Likewise.
1190
1191 2004-08-10  Andrew Cagney  <cagney@gnu.org>
1192
1193         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
1194         files.
1195
1196 2004-08-10  Andrew Cagney  <cagney@gnu.org>
1197
1198         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
1199         init_malloc call.
1200
1201 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
1202
1203         * ChangeLog: Add copyright notice.  The notice is copied
1204         from emacs 21.3 top level ChangeLog.
1205
1206 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
1207
1208         * lib/cp-support.exp: New file.
1209         * lib/cp-support.exp (cp_test_type_class): New function.
1210         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
1211         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
1212         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
1213         cp_test_ptype_class.
1214
1215 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
1216
1217         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
1218         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
1219         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
1220         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
1221         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
1222         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
1223         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
1224         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
1225         gdb.mi/mi2-watch.exp: Update copyright years.
1226
1227 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
1228
1229         * gdb.base/sigaltstack.exp: Provide proper anchoring.
1230
1231 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
1232
1233         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
1234         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
1235         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
1236         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
1237         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
1238         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
1239         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
1240         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
1241         gdb.mi/mi-watch.exp: Update copyright years.
1242
1243 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
1244
1245         PR gdb/1738
1246         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
1247         from a breakpoint with a pending signal.
1248
1249 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
1250
1251         PR gdb/1736
1252         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
1253         * gdb.base/sigaltstack.exp (finish_test): Consume output until
1254         the prompt.
1255         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
1256
1257 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
1258
1259         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
1260
1261 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
1262
1263         PR gdb/1736
1264         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
1265         for i?86-*-linux*.
1266
1267 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
1268
1269         * gdb.arch/i386-prologue.exp: Compile without debug information.
1270
1271 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
1272
1273         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
1274         rather than asking gdb to search.
1275
1276 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
1277
1278         * gdb.base/gcore.c: Include <string.h>.
1279
1280 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
1281
1282         * gdb.base/gcore.c: Add copyright notice.
1283
1284 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
1285
1286         * gdb.base/freebpcmd.c: Include <stdio.h>.
1287         * gdb.base/long_long.c: Include <string.h>.
1288         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
1289         * gdb.base/siginfo.c: Include <string.h>.
1290         * gdb.base/sigstep.c: Include <string.h>.
1291
1292 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
1293
1294         * gdb.base/complex.c: Include <stdlib.h>.
1295
1296 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
1297
1298         * gdb.base/complex.c: Add copyright notice.
1299
1300 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
1301
1302         * gdb.base/charset.c: Include <stdlib.h>.
1303
1304 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
1305
1306         * gdb.base/auxv.c: Include <stdlib.h>.
1307
1308 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
1309
1310         * gdb.base/auxv.c: Add copyright notice.
1311
1312 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
1313
1314         * gdb.base/coremaker.c: Add copyright notice.
1315         * gdb.base/coremaker2.c: Add copyright notice.
1316
1317 2004-08-04  Andrew Cagney  <cagney@gnu.org>
1318
1319         * gdb.base/store.exp: Update copyright.
1320         (check_set, up_set, check_struct, up_struct): Add a prefix to test
1321         names, do not import gdb_prompt.
1322
1323 2004-08-01  Andrew Cagney  <cagney@gnu.org>
1324
1325         Fix PR testsuite/1729.
1326         * gdb.base/dump.exp: Add test name to callers of capture_value, do
1327         not use capture_value with value 4.
1328         (capture_value): Add optional test name parameter.
1329         (test_reload_saved_value, test_restore_saved_value): Use $msg as
1330         the prefix, pass to capture_value.
1331
1332 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
1333
1334         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
1335         * gdb.arch/i386-prologue.c (standard): New prototype and function.
1336         (main): Call new function.
1337
1338 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
1339
1340         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
1341
1342 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
1343
1344         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
1345
1346 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
1347
1348         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
1349         Accept more values of vtbl pointer.  Remove some messages
1350         about "obsolete gcc or gdb".
1351
1352 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
1353
1354         * gdb.cp/classes.exp: Accept more varieties of ptype output.
1355
1356 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
1357
1358         * gdb.base/asm-source.exp: Properly convert target board
1359         debug flags from gcc format to binutils format.
1360
1361 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
1362
1363         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
1364         gdb1718".  PR backtrace/1718 partially fixed.
1365
1366 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
1367
1368         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
1369
1370 2004-07-26  Nick Clifton  <nickc@redhat.com>
1371
1372         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
1373         good default value for a specific architecture is available then
1374         set it to that value.  Otherwise default to the -gstabs switch.
1375         Remove the -g... switches from the asm-flags variable.  Allow the
1376         target board info to override the value if it wants to.  Pass the
1377         switch on the assembler command line.
1378
1379 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
1380
1381         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
1382         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
1383         (main): Call new function.
1384
1385 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
1386
1387         Test for PR exp/1715.
1388         * gdb.base/radix.exp: Refactor common procedures.  Make all
1389         test names unique.  Change XFAIL to KFAIL.
1390
1391 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
1392
1393         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
1394         * gdb.ada/gnat_ada.gin: ... to here.
1395         * configure.in: Use gnat_ada.gin.
1396         * configure: Regenerate.
1397
1398 2004-07-20  Andrew Cagney  <cagney@gnu.org>
1399
1400         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
1401         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
1402         XFAILs.  Clean up test messages and comments.  Check backtraces.
1403         Delete re-sync code.
1404
1405 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
1406
1407         Fix PR cli/740.
1408         * gdb.base/annota1.exp: Honor gdb,nosignals.
1409         * gdb.base/annota3.exp: Likewise.
1410
1411 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
1412
1413         * lib/java.exp: Update copyright notice.
1414
1415 2004-07-19  Andrew Cagney  <cagney@gnu.org>
1416
1417         * gdb.base/selftest.exp: Copy file from here ...
1418         * gdb.gdb/selftest.exp: ... to here.
1419
1420 2004-07-16  Andrew Cagney  <cagney@redhat.com>
1421
1422         * lib/insight-support.exp: Delete file.
1423         * lib/java.exp (java_init): Fix copyright.
1424
1425 2004-07-16  Andrew Cagney  <cagney@gnu.org>
1426
1427         * gdb.base/restore.c: Append "prologue" to comments marking the a
1428         function's prologue.
1429         * gdb.base/restore.exp: Update copyright, re-indent.
1430         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
1431         callerN" prefix where needed.  Update patterns that match a
1432         function's prologue.
1433
1434 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
1435
1436         * gdb.base/restore.c: Add copyright notice.
1437
1438 2004-07-16  Andrew Cagney  <cagney@gnu.org>
1439
1440         * gdb.base/logical.exp: Update copyright.
1441         (evaluate): New procedure.  Use to re-implement tests using
1442         several tables.
1443
1444 2004-07-14  Martin Hunt  <hunt@redhat.com>
1445
1446         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
1447         which fixes some problems where init.tcl was not found.
1448
1449 2004-07-13  Andrew Cagney  <cagney@gnu.org>
1450
1451         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
1452         (check_sizeof, check_valueof): Do not include the output in the
1453         test name.  Use gdb_test.
1454         (get_valueof): Use gdb_test_multiple.
1455
1456         * gdb.base/step-test.exp: Update copyright.  Use
1457         gdb_test_multiple.  Ensure that test names do not include
1458         architecture dependent output.
1459
1460         * gdb.gdb/observer.exp: Update copyright.
1461         (setup_test): Use gdb_test_multiple.
1462         (attach_first_observer, attach_second_observer)
1463         (attach_third_observer, detach_first_observer)
1464         (detach_second_observer, detach_third_observer)
1465         (reset_counters, check_counters): Make $message a prefix.
1466         (test_normal_stop_notifications): Add "args" parameter - a list of
1467         init functions to be called.  Make $message a prefix,
1468         (test_observer_normal_stop): Change the message prefixes so that
1469         they are unique, pass the attach / detach procedures to
1470         test_normal_stop_notifications.
1471
1472         * gdb.base/signull.exp (test_segv): Prefix all tests with
1473         "${name}".  Clean up test messages.
1474
1475         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
1476
1477         * gdb.base/ena-dis-br.exp: Update copyright.
1478         (break_at): New function.  Replace send_gdb with gdb_test,
1479         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
1480         ignore count, not stopped at bpt", with KFAIL.
1481
1482 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
1483
1484         * gdb.base/attach.exp: Remove cleanupfile handling.
1485
1486 2004-07-12  Andrew Cagney  <cagney@gnu.org>
1487
1488         * gdb.base/annota1.exp: Cleanup corefile test name.
1489         * gdb.base/annota3.exp: Ditto.
1490
1491 2004-07-12  Andrew Cagney  <cagney@gnu.org>
1492
1493         * gdb.base/signals.exp: Clean up copyright, re-indent.
1494
1495         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
1496         gdb_test and gdb_test_multiple.
1497
1498 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
1499
1500         * gdb.java/jmain.exp: Fix expected line number for main to
1501         break at.  Set XFAIL for break at main test since gcj does not 
1502         provide line number info for first statement in main.
1503
1504 2004-07-08  Andrew Cagney  <cagney@gnu.org>
1505
1506         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
1507
1508         * gdb.base/sigbpt.exp: Make the common part of each test name a
1509         prefix instead of suffix.
1510
1511 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
1512
1513         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
1514         test from test_tbreak_creation_and_listing to
1515         test_file_list_exec_source_file
1516         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
1517         Changed name of test from test_tbreak_creation_and_listing to
1518         test_file_list_exec_source_file
1519
1520 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
1521
1522         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
1523         the jmisc() constructor instead of <init>.
1524         * gdb.java/jmisc1.exp: Ditto.
1525
1526 2004-07-07  Andrew Cagney  <cagney@gnu.org>
1527
1528         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
1529         corrupting the PC.
1530
1531 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
1532
1533         * gdb.cp/templates.exp: Accept whitespace change in demangler
1534         output.
1535
1536 2004-07-06  Andrew Cagney  <cagney@gnu.org>
1537
1538         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
1539
1540 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
1541
1542         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
1543         * lib/compiler.cc: Likewise.
1544
1545 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
1546
1547         * lib/compiler.cc: Work around string preprocessing problem
1548         with old hp c++ compiler.
1549         * lib/compiler.c: Likewise.
1550
1551 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
1552
1553         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
1554         directives to conditionalize symbol prefixing.
1555         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
1556         additional_flags handling.  Add underscore prefix for Cygwin.
1557         * gdb.arch/i386-unwind.c: Use preprocessor directives to
1558         conditionalize symbol prefixing.
1559         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
1560         additional_flags handling.  Add underscore prefix for Cygwin.
1561
1562 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
1563
1564         * gdb.base/bigcore.exp: Skip test on Cygwin.
1565
1566 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
1567
1568         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
1569         formats for "info register".  Use gdb_test_multiple.  Fix
1570         the "invalid register" test.
1571
1572 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
1573
1574         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
1575         PID for Cygwin.  Add Cygwin specific strings to check for in some
1576         tests.
1577         (do_attach_tests): Add a test for user interaction when attaching
1578         to a process with no matching symbol table already loaded.
1579
1580 2004-06-26  Andrew Cagney  <cagney@gnu.org>
1581
1582         Test PR java/1567 and PR java/1565.
1583         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
1584         * gdb.java/jmisc2.exp: Delete file.
1585
1586 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
1587
1588         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
1589
1590 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
1591
1592         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
1593         attach process.
1594
1595 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
1596
1597         * gdb.cp/pr-1553.exp: Remove.
1598
1599 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
1600
1601         * gdb.cp/pr-1553.cc: Remove.
1602         * gdb.cp/pr-1553.exp: Disable this test.
1603
1604 2004-06-20  Jim Blandy  <jimb@redhat.com>
1605
1606         Fix PR testsuite/1680.
1607         * gdb.arch/i386-sse.exp: Properly quote curly braces in
1608         regular expressions.
1609
1610 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
1611
1612         Fix PR testsuite/1679.
1613         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
1614         Issue an UNSUPPORTED result instead.
1615
1616 2004-06-18  Jim Blandy  <jimb@redhat.com>
1617
1618         * gdb.base/charset.exp: Only send a control-C if we see a new
1619         prompt and incomplete command.
1620
1621 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
1622
1623         * gdb.cp/pr-574.cc: Add copyright notice.
1624
1625 2004-06-17  Jim Blandy  <jimb@redhat.com>
1626
1627         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
1628         cases where the regexp has no groups; this grabs random text from
1629         the previous test suite, whatever that was.
1630
1631 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
1632
1633         * gdb.cp/printmethod.cc: Add copyright notice.
1634
1635 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
1636
1637         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
1638
1639 2004-06-16  Andrew Cagney  <cagney@gnu.org>
1640
1641         * gdb.base/signull.c: Update copyright.  Include <string.h>.
1642         (bowler): Replace data_pointer with data_read
1643         and data_write cases.  Add code_descriptor case.
1644         (zero, desc): New array and pointer.
1645         (data, code): Change to simple pointers.
1646         * gdb.base/signull.exp: Fix probe pattern matching a function
1647         descriptor SIGSEGV.  Replace data_pointer with data_read and
1648         data_write tests.
1649
1650 2004-06-16  Andrew Cagney  <cagney@gnu.org>
1651
1652         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
1653
1654 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
1655
1656         * gdb.base/long_long.c: Add copyright notice.
1657
1658 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
1659
1660         * gdb.base/long_long.exp: Remove reference to
1661         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
1662         to gdb_breakpoint and gdb_continue_to_breakpoint.
1663
1664 2004-06-14  Jim Blandy  <jimb@redhat.com>
1665
1666         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
1667         endian case.
1668
1669 2004-06-14  Andrew Cagney  <cagney@gnu.org>
1670
1671         * gdb.base/gcore.exp (capture_command_output): Delete the always
1672         passing tests containing inferior values.
1673         * gdb.base/ending-run.exp: Do not include the breakpoint address
1674         in the test message.  Update copyright.
1675         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
1676         size in the test name, use gdb_test_multiple.  Update copyright.
1677
1678 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
1679
1680         * gdb.cp/ref-types.cc: Add copyright notice.
1681
1682 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
1683
1684         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
1685         hp_aCC_compiler.
1686         * lib/compiler.cc: Likewise.
1687         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
1688         'set' commands.  Log diagnostics for other lines.  Set
1689         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
1690
1691 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
1692
1693         * gdb.cp/try_catch.cc: Add copyright notice.
1694
1695 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
1696
1697         * gdb.cp/userdef.cc: Add copyright notice.
1698
1699 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
1700
1701         * gdb.cp/virtfunc.cc: Add copyright notice.
1702
1703 2004-06-11  Randolph Chung  <tausq@debian.org>
1704
1705         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
1706         problem.
1707
1708 2004-06-10  Andrew Cagney  <cagney@gnu.org>
1709
1710         * lib/compiler.cc, lib/compiler.c: Append either
1711         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
1712         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
1713         instead of gcc-3-3.
1714
1715 2004-06-09  Andrew Cagney  <cagney@gnu.org>
1716
1717         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
1718         gdb/1455, bug is specific to "long long" and "double".
1719         
1720         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
1721         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
1722         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
1723         fixed.
1724
1725 2004-06-09  Andrew Cagney  <cagney@gnu.org>
1726
1727         * gdb.base/structs.exp (test_struct_returns): Replace
1728         "return_value_unknown" and "finish_value_unknown" by
1729         "return_value_known" and "finish_value_known".  Instead of
1730         "return_value_unknown" iff "finish_value_unknown", check
1731         "return_value_known" implies "finish_value_known".
1732
1733 2004-06-08  Martin Hunt  <hunt@redhat.com>
1734
1735         * gdb.base/float.exp: Add pattern for mips targets.
1736
1737 2004-06-08  Randolph Chung  <tausq@debian.org>
1738
1739         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
1740         message for unknown architectures more clear.
1741
1742 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
1743
1744         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
1745         start the execution of the program.
1746
1747 2004-06-07  Jim Blandy  <jimb@redhat.com>
1748
1749         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
1750         * gdb.arch/i386-cpuid.h: New helper file.
1751
1752 2004-06-07  Randolph Chung  <tausq@debian.org>
1753
1754         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
1755         has started.
1756
1757 2004-06-04  Roland McGrath  <roland@redhat.com>
1758
1759         Fix PR gdb/1647.
1760         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
1761         differently to be robust to output buffering differences.
1762
1763 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
1764
1765         * gdb.threads/pthreads.exp: Update copyright years.
1766         (check_control_c): Change asynchronous 'after' to synchronous.
1767
1768 2004-06-04  Roland McGrath  <roland@redhat.com>
1769
1770         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
1771         next gdb prompt.
1772
1773 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
1774
1775         Fix PR gdb/1636.
1776         * gdb.threads/manythreads.exp: Change asynchronous 'after'
1777         calls to synchronous.
1778
1779 2004-05-26  Jim Blandy  <jimb@redhat.com>
1780
1781         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
1782
1783 2004-05-24  Randolph Chung  <tausq@debian.org>
1784
1785         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
1786         * gdb.asm/pa.inc: New file.
1787
1788 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
1789
1790         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
1791
1792 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
1793             Daniel Jacobowitz  <drow@mvista.com>
1794
1795         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
1796         GDB prompt.
1797
1798 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1799
1800         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
1801         setjmp/longjmp.  Use sigaction instead of signal.
1802
1803 2004-05-19  J. Brobecker  <brobecker@gnat.com>
1804             Michael Snyder  <msnyder@redhat.com>
1805
1806         * gdb.threads/pthread_cond_wait.c: New file.
1807         * gdb.threads/pthread_cond_wait.exp: New testcase.
1808
1809 2004-05-13  Andrew Cagney  <cagney@redhat.com>
1810
1811         * gdb.base/signull.exp, gdb.base/signull.c: New files.
1812         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
1813
1814 2004-05-11  Andrew Cagney  <cagney@redhat.com>
1815
1816         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
1817         fixed but revealed gdb/1639.
1818
1819 2004-05-10  Andrew Cagney  <cagney@redhat.com>
1820
1821         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
1822         func1" and "next to 2nd alarm", kernel bug avoided.
1823
1824 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
1825
1826         PR external/1568
1827         * gdb.base/bigcore.exp: Check the size of the dumped core file.
1828         XFAIL if it is smaller than bytes_allocated.
1829         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
1830         (main): Make chunks_allocated unsigned.  Correct comment.
1831
1832 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
1833
1834         * gdb.arch/powerpc-aix-prologue.c: New file.
1835         * gdb.arch/powerpc-aix-prologue.exp: New file.
1836
1837 2004-05-07  Jim Blandy  <jimb@redhat.com>
1838
1839         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
1840         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
1841
1842 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
1843
1844         * gdb.base/sep.exp: No longer setup_kfail when the program was
1845         built with dwarf2.
1846
1847 2004-05-05  Jim Ingham  <jingham@apple.com>
1848
1849         * gdb.base/pending.exp: Make sure pending breakpoints
1850         preserve the ignore count.
1851
1852 2004-04-27  Jerome Guitton  <guitton@gnat.com>
1853
1854         * i386-prologue.exp: Add testcase for jump instruction as first
1855         instruction of the real code.
1856         * i386-prologue.c (jump_at_beginning): New function.
1857
1858 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
1859
1860         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
1861         x86_64-*-*.
1862
1863 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
1864
1865         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
1866         i*86-*-*.
1867
1868 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
1869
1870         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
1871         expression that checks the return type.
1872
1873 2004-04-23  Andrew Cagney  <cagney@redhat.com>
1874
1875         * gdb.base/call-sc.exp: New test of scalar call/return values.
1876         * gdb.base/call-sc.c: Ditto.
1877
1878 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1879
1880         * gdb.threads/manythreads.c: Reduce thread stack size.
1881
1882 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
1883
1884         * gdb.threads/manythreads.c: Add copyright notice.
1885
1886 2004-04-23  Andrew Cagney  <cagney@redhat.com>
1887
1888         * gdb.base/siginfo.exp: Better handle step out of signal.
1889         * gdb.base/sigstep.exp: Ditto.
1890
1891 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
1892             Daniel Jacobowitz  <drow@mvista.com>
1893
1894         * gdb.threads/manythreads.c: New testcase.
1895         * gdb.threads/manythreads.exp: Ditto.
1896
1897 2004-04-22  Jim Blandy  <jimb@redhat.com>
1898
1899         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
1900         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
1901
1902 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
1903
1904         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
1905
1906 2004-04-21  Andrew Cagney  <cagney@redhat.com>
1907
1908         * gdb.base/sigstep.c: New file.
1909         * gdb.base/sigstep.exp: New file.
1910
1911 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
1912
1913         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
1914         call to observer_notify_normal_stop.
1915
1916 2004-04-15  Andrew Cagney  <cagney@redhat.com>
1917
1918         * gdb.base/siginfo.c: New file.
1919         * gdb.base/siginfo.exp: New file.
1920
1921 2004-04-12  J. Brobecker  <brobecker@gnat.com>
1922
1923         * gdb.base/sep.exp: Fix typo in comment.
1924
1925 2004-04-12  J. Brobecker  <brobecker@gnat.com>
1926
1927         * gdb.base/sep.c: New file.
1928         * gdb.base/sep-proc.c: New file.
1929         * gdb.base/sep.exp: New testcase.
1930
1931 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
1932
1933         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
1934         support.
1935
1936 2004-04-05  Andrew Cagney  <cagney@redhat.com>
1937
1938         * gdb.base/sigaltstack.c: New file.
1939         * gdb.base/sigaltstack.exp: New file.
1940
1941 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
1942
1943         * gdb.base/foll-fork.exp: Update the expected output for
1944         "help set follow-fork-mode", to match a change that was made
1945         to the help of this variable on 2004-01-13.
1946
1947 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
1948
1949         * lib/ada.exp: Add copyright notice.
1950         * bar.ads: Likewise.
1951         * bar.adb: Likewise.
1952         * null_record.adb: Likewise.
1953         * null_record.exp: Likewise.
1954         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
1955
1956 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
1957
1958         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
1959         * configure: Regenerate.
1960
1961 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
1962
1963         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
1964         to build the application. Remove the message printed when in
1965         verbose mode, redundant with the UNSUPPORTED message above.
1966
1967 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
1968
1969         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
1970         * gdb.ada (null_record.exp): New testcase.
1971
1972 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
1973
1974         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
1975
1976 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
1977
1978         * gdb.ada: New subdirectory.
1979         * gdb.ada/Makefile.in: New file.
1980         * gdb.ada/gnat_ada.gpr.in: New file.
1981
1982 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
1983
1984         * lib/ada.exp: New file.
1985
1986 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
1987
1988         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
1989         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
1990
1991 2004-03-22  Andrew Cagney  <cagney@redhat.com>
1992
1993         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
1994         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
1995         Problem identified by Ulrich Weigand.
1996
1997 2004-03-17  David Carlton  <carlton@kealia.com>
1998
1999         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
2000         PR c++/826.
2001
2002 2004-03-16  Roland McGrath  <roland@redhat.com>
2003
2004         * gdb.base/auxv.exp: New file.
2005         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
2006
2007 2004-03-12  David Carlton  <carlton@kealia.com>
2008
2009         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
2010         * gdb.cp/pr-1553.cc: Ditto.
2011         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
2012         pass branch.
2013
2014 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
2015
2016         * gdb.cp/templates.exp: Accept more template types.
2017
2018 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
2019
2020         From Corinna Vinschen with modifications.
2021         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
2022         local variable obj_with_enum.
2023         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
2024         results with obj_with_enum.
2025
2026 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
2027
2028         * gdb.cp/classes.cc: New file, copied from misc.cc.
2029         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
2030
2031 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
2032
2033         * gdb.cp/misc.cc: Add copyright notice.
2034
2035 2004-03-05  David Carlton  <carlton@kealia.com>
2036
2037         * gdb.cp/rtti.exp: Add 'print *obj3' test.
2038         * gdb.cp/rtti.h: Update copyright.
2039         (namespace n2::n3): New.
2040         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
2041         (n2::n3::func3): New.
2042         (main): Call n2::n3::func3.
2043         * gdb.cp/rtti2.cc: Update copyright.
2044         (n2::create3): New.
2045
2046 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
2047
2048         * gdb.asm/openbsd.inc: Fix typo.
2049
2050 2004-03-03  Fred Fish  <fnf@redhat.com>
2051
2052         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
2053         "val" instead of unused "size".  Update copyright year.
2054
2055 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
2056
2057         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
2058         to use unsigned char.
2059         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
2060         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
2061
2062 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
2063
2064         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
2065         line of output.
2066
2067 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
2068
2069         * gdb.base/relocate.c (dummy): Initialize.
2070
2071 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
2072
2073         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
2074         a breakpoint at exit.
2075
2076 2004-02-27  Fred Fish  <fnf@redhat.com>
2077
2078         * gdb.base/chng-syms.exp: Add expect condition to match failing
2079         case that isn't a timeout.
2080
2081 2004-02-27  Andrew Cagney  <cagney@redhat.com>
2082
2083         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
2084         support.
2085
2086 2004-02-26  Fred Fish  <fnf@redhat.com>
2087
2088         * gdb.arch/gdb1431.c: Remove.
2089         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
2090         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
2091         of "until" incorrectly.
2092
2093 2004-02-26  J. Brobecker  <brobecker@gnat.com>
2094
2095         * gdb.cp/class2.cc (empty): New class.
2096         (refer): New function.
2097         (main): Declare an object of type empty and use it.
2098         * gdb.cp/class2.exp: Print the value of an object of type empty.
2099
2100 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
2101
2102         * gdb.base/langs.exp: Update query string to match the
2103         new nquery format used for pending breakpoints.
2104
2105 2004-02-26  Andrew Cagney  <cagney@redhat.com>
2106
2107         Fix PR i18n/1570.
2108         * gdb.base/charset.c: Update copyright notice.
2109         (main, init_string): Remove the escape character '\e' tests.
2110         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
2111         * gdb.base/charset.exp (valid_host_charset): Ditto.
2112         * gdb.base/setvar.exp: Ditto.
2113
2114 2004-02-24  Andrew Cagney  <cagney@redhat.com>
2115
2116         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
2117         mmapped data in core file" PASS and FAIL messages consistent.
2118
2119         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
2120         setting a breakpoint.  Work around PR java/1565.
2121
2122 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
2123
2124         * lib/gdb.exp (gdb_breakpoint): Update query string to match
2125         new nquery format.
2126         * gdb.base/pending.exp: Ditto.
2127
2128 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
2129
2130         * configure.in: Run stabs tests on *BSD.
2131         * configure: Regenerated.
2132
2133 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
2134
2135         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
2136
2137 2004-02-20  Fred Fish  <fnf@redhat.com>
2138
2139         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
2140         blank in test for "returns short", for consistency with other
2141         "returns xxx" tests.  Update copyright year.
2142
2143 2004-02-19  Fred Fish  <fnf@redhat.com>
2144
2145         New testcase for PR breakpoint/1558.
2146         * gdb.arch/gdb1558.exp: New file.
2147         * gdb.arch/gdb1558.c: New file.
2148
2149 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
2150
2151         * gdb.base/nodebug.exp: Fix typo.
2152
2153 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2154
2155         Committed by Jim Blandy  <jimb@redhat.com>.
2156
2157         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
2158
2159         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
2160
2161         * gdb.base/float.exp: Support s390*-*-* targets.
2162
2163 2004-02-17  Adam Fedor  <fedor@gnu.org>
2164
2165         * gdb.base/gdb1555.exp: New file.
2166         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
2167
2168 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
2169
2170         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
2171
2172 2004-02-16  Fred Fish  <fnf@redhat.com>
2173
2174         * gdb.arch/gdb1291.c: Remove
2175         * gdb.arch/gdb1291.s: New test input file.
2176         * gdb.arch/gdb1291.exp: Expand test to check case that should not
2177         fail.  Test for correct result, known incorrect result, other
2178         failures and timeouts.
2179
2180 2004-02-16  Andrew Cagney  <cagney@redhat.com>
2181
2182         * gdb.base/bigcore.exp: New file.
2183         * gdb.base/bigcore.c: New file.
2184
2185 2004-02-13  Andrew Cagney  <cagney@redhat.com>
2186
2187         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
2188         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
2189         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
2190         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
2191         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
2192         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
2193         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
2194         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
2195         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
2196         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
2197
2198 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
2199
2200         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
2201         executed is an alloc instruction.
2202
2203 2004-02-11  David Carlton  <carlton@kealia.com>
2204
2205         * gdb.cp/breakpoint.exp: New.
2206         * gdb.cp/breakpoint.cc: New.
2207
2208 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
2209
2210         Partial fix for PR gdb/1543.
2211         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
2212         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
2213         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
2214         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
2215         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
2216         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
2217         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
2218         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
2219         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
2220         to bug-gdb@prep.ai.mit.edu .
2221         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
2222         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
2223         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
2224         Likewise.
2225
2226 2004-02-10  Andrew Cagney  <cagney@redhat.com>
2227
2228         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
2229         using gdb_internal_error_resync.
2230
2231 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
2232
2233         * gdb.threads/thread-specific.exp: Stop early if no threads are
2234         found.
2235
2236 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
2237
2238         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
2239
2240 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
2241
2242         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
2243         breakpoints.
2244
2245 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
2246
2247         * config/sim.exp (gdb_load): Handle $arg == "".
2248         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
2249         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
2250
2251 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
2252
2253         * gdb.base/maint.exp: Update test to reflect
2254          obstack changes.
2255
2256 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
2257
2258         * gdb.base/pendshr.c (pendfunc): New function that calls
2259         pendfunc1.
2260         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
2261
2262 2004-02-04  Fred Fish  <fnf@redhat.com>
2263
2264         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
2265         function symbols and update copyright years.
2266         * gdb.arch/gdb1291.c: Ditto.
2267
2268 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
2269
2270         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
2271
2272 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
2273
2274         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
2275
2276 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
2277
2278         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
2279
2280 2004-02-02  Fred Fish  <fnf@redhat.com>
2281
2282         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
2283         remote targets.  Update copyright years.
2284
2285 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
2286
2287         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
2288         support.
2289         * gdb.base/langs.exp: Fix test which attempts to create
2290         breakpoint on non-existent function to handle new pending
2291         support.
2292         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
2293         a breakpoint.
2294         * gdb.base/pending.exp: New test.
2295         * gdb.base/pending.c: New file.
2296         * gdb.base/pendshr.c: Ditto.
2297
2298 2004-02-02  David Carlton  <carlton@kealia.com>
2299
2300         * gdb.cp/overload.exp: Add overloadNamespace tests.
2301         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
2302         (overloadNamespace, XXX): New.
2303         (main): Call XXX::marker2.
2304
2305 2004-02-01  Fred Fish  <fnf@redhat.com>
2306
2307         * gdb.base/dump.exp: Use runto_main instead of "runto main".
2308         * gdb.base/finish.exp: Ditto.
2309         * gdb.base/gcore.exp: Ditto.
2310         * gdb.base/huge.exp: Ditto.
2311         * gdb.base/info-proc.exp: Ditto.
2312         * gdb.base/return2.exp: Ditto.
2313         * gdb.threads/gcore-thread.exp: Ditto.
2314
2315 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
2316
2317         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
2318
2319 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
2320
2321         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
2322         that opening the file succeeds on OpenBSD.
2323
2324 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
2325
2326         * gdb.threads/thread-specific.c: New file.
2327         * gdb.threads/threads-specific.exp: New test script.
2328         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
2329         to expect_out.
2330
2331 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
2332
2333         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
2334         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
2335         only on the "print_small_structs from print_long_arg_list" test.
2336
2337 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
2338
2339         * gdb.base/completion.exp: Kill a stray backslash.
2340
2341         From Jim Ingham <jingham@apple.com>:
2342         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
2343         agrees with the result from sending a tab.
2344
2345 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
2346
2347         * gdb.base/chng-syms.exp: Remove stray newline.
2348
2349 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
2350
2351         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
2352         *-*-openbsd*.
2353         * gdb.asm/openbsd.inc: New file.
2354
2355 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
2356
2357         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
2358         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
2359         *-*solaris2*.  Remove commented out default settings for
2360         asm-flags.  Replace gdb_compile with target_link.
2361
2362 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
2363
2364         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
2365         for all tests.  Remove old hp-ux and cygnus xfail cases.
2366
2367 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
2368
2369         * gdb.base/chng-syms.exp: New file.
2370         * gdb.base/chng-syms.c: New file.
2371
2372 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
2373
2374         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
2375         Provide arms for current output in all my configurations.
2376
2377 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
2378
2379         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
2380         * lib/compiler.cc: Likewise.
2381         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
2382         get the right preprocessor.  Eval the output directly.  Remove
2383         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
2384         hp_f77_compiler and hp_f90_compiler completely.
2385         (gdb_preprocess): Delete.
2386         (get_compiler): Delete.
2387
2388 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
2389
2390         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
2391         <string.h>.
2392
2393 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
2394
2395         * gdb.mi/mi-stack.exp: Update copyright.
2396
2397 2004-01-23  David Carlton  <carlton@kealia.com>
2398
2399         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
2400         test for cp_lookup_transparent_type.
2401         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
2402         call them.
2403
2404 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
2405
2406         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
2407         after -var-update.
2408
2409 2004-01-23  David Carlton  <carlton@kealia.com>
2410
2411         * gdb.cp/namespace.cc (C::ensureRefs): New.
2412         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
2413
2414 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
2415
2416         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
2417         case "-stack-list-locals 2".
2418         * gdb.mi/mi-var-child.exp: Test for case
2419         "-var-list-children --all-values NAME".
2420
2421 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
2422
2423         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
2424
2425 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
2426
2427         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
2428         used with gdb_test_multiple.
2429
2430         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
2431         read at address 0.  This fixes PR testsuite/1504.
2432
2433 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
2434
2435         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
2436         Remove downloading, guessing the host executable, the calls to
2437         gdb_file_cmd and gdb_target_cmd, and "load" support.
2438         (infer_host_exec): New function broken out from gdb_load.
2439         (gdb_load): New wrapper for gdbserver_gdb_load.
2440         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
2441         gdb_target_cmd.  Use -target-select.
2442         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
2443         Download binaries to the host.  Clear last_mi_remote_file when
2444         we load a new binary.
2445         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
2446         call gdbserver_gdb_load and mi_gdb_target_cmd.
2447
2448 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
2449
2450         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
2451         type patterns.
2452
2453 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
2454
2455         * gdb.cp/templates.exp: Fix typo in test name of
2456         "print Foo<volatile char*>::foo".
2457
2458 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
2459
2460         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
2461
2462 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
2463
2464         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
2465         (clean mostlyclean): Remove empty rm.
2466
2467 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
2468
2469         * gdb.base/setvar.exp: Add copyright years.
2470
2471 2004-01-14  David Carlton  <carlton@bactrian.org>
2472
2473         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
2474         PR c++/1511 and update coment.
2475         * gdb.cp/templates.exp: Update patterns to match current output.
2476         If changes involve something other than whitespace, KFAIL
2477         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
2478
2479 2004-01-14  David Carlton  <carlton@kealia.com>
2480
2481         * gdb.cp/namespace.exp: Add tests involving classes defined within
2482         namespaces.
2483         * gdb.cp/namespace.cc (C::CClass): New.
2484         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
2485
2486 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
2487
2488         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
2489         what debug info we have. Print a better message if something goes
2490         wrong while producing the separate debug info file.
2491
2492 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
2493
2494         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
2495
2496 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
2497
2498         * gdb.base/callfuncs.c: Add copyright notice.
2499
2500 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
2501
2502         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
2503         inheritance.  PR gdb/1498, PR gcc/13539.
2504
2505 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
2506
2507          * gdb.threads/gcore-thread.exp: Prefix name of binary with
2508          test specific name.
2509          * gdb.mi/gdb669.exp: Ditto.
2510          * gdb.mi/mi-pthreads.exp: Ditto.
2511          * gdb.mi/mi1-pthreads.exp: Ditto.
2512          * gdb.mi/mi2-pthreads.exp: Ditto.
2513
2514 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
2515
2516         * gdb.cp/member-ptr.cc: Add copyright notice.
2517
2518 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
2519
2520         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
2521         some patterns for recent versions of gcc and hpacc.  Delete
2522         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
2523         Delete tests that access a NULL pointer-to-member-data.  This
2524         script is still disabled for gcc.
2525
2526 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
2527
2528         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
2529         escaped correctly.
2530
2531 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
2532
2533         * gdb.base/sepdebug.exp: New file.
2534         * gdb.base/sepdebug.c: New file.
2535         * lib/gdb.exp (separate_debug_filename): New procedure.
2536         (gdb_gnu_strip_debug): New procedure.
2537
2538 2004-01-12  Andrew Cagney  <cagney@redhat.com>
2539
2540         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
2541         * gdb.mi/ChangeLog-1999-2003: New file.
2542
2543 2004-01-12  Andrew Cagney  <cagney@redhat.com>
2544
2545         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
2546         "Renaming a directory to a non-empty directory returns ENOTEMPTY
2547         or EEXIST", treat EBUSY as an XFAIL.
2548
2549 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
2550
2551         * gdb.base/scope.exp: Remove obsolete setup_xfail for
2552         hp_cc_compiler.
2553
2554 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
2555
2556         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
2557         decorations.
2558
2559 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
2560
2561         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
2562         and "(aCC)" decorations.  Remove obsolete doco about old
2563         test results.
2564
2565 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
2566
2567         * gdb.cp/exception.exp: Fix typo in doco.
2568
2569 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
2570
2571         * gdb.base/gdb1476.exp: Fix typo.
2572
2573 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
2574
2575         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
2576         file.
2577
2578 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
2579
2580         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
2581         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
2582         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
2583         for recent version of gdb.  Delete second half, which was a copy
2584         of the first half with different build flags.  This test is
2585         still disabled because it is still not ready for production.
2586
2587 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
2588
2589         * gdb.cp/exception.cc: Add copyright notice.
2590         * gdb.cp/exception.exp: Add a notice that this file is broken
2591         because of line number changes caused by addition of copyright
2592         notice.
2593
2594 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
2595
2596         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
2597         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
2598
2599 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
2600
2601         * gdb.cp/classes.exp: Accept gnu abi 2.
2602         * gdb.cp/derivation.exp: Likewise.
2603         * gdb.cp/overload.exp: Likewise.
2604         * gdb.cp/virtfunc.exp: Likewise.
2605
2606 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
2607
2608         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
2609         semicolon after end of function.
2610
2611 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
2612
2613         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
2614         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
2615         boilerplate code for compiling and running the program under
2616         test.  Add some string method tests.
2617
2618 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
2619
2620         * gdb.cp/bs15503.cc: Add copyright notice.
2621         * gdb.cp/bs15503.exp: Adjust line number.
2622
2623 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
2624
2625         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
2626         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2627
2628 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
2629
2630         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
2631         hp_cc_compiler.
2632
2633 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
2634
2635         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
2636         * gdb.cp/ctti.exp: Use the marker instead of "next".
2637         With gcc, run further before bailing.
2638
2639 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
2640
2641         * gdb.cp/cttiadd.cc: Add copyright notice.
2642         * gdb.cp/cttiadd1.cc: Likewise.
2643         * gdb.cp/cttiadd2.cc: Likewise.
2644         * gdb.cp/cttiadd3.cc: Likewise.
2645
2646 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
2647
2648         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
2649         Use gdb_test, gdb_test_multiple.  Use floating-point values that
2650         have exact representations in IEEE-ish formats.
2651
2652 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
2653
2654         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
2655         compilers.  Delete duplicate call to get_compiler_info.
2656         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
2657         * gdb.base/volatile.exp: Likewise.
2658
2659 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
2660
2661         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
2662         memory at address 0.
2663
2664 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
2665
2666         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
2667         to test for hp-ux assembler.  Fix copyright years.
2668
2669 2004-01-07  Andrew Cagney  <cagney@redhat.com>
2670
2671         * gdb.base/fileio.c (strerrno): Add "EBUSY".
2672
2673 2004-01-07  Andrew Cagney  <cagney@redhat.com>
2674
2675         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
2676         when creating the read-only file.  From analysis by Roland McGrath
2677         and Elena Zannoni.
2678
2679 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
2680
2681         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
2682
2683 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
2684
2685         * gdb.base/cvexpr.c: Be type-safe with function pointers and
2686         data pointers.
2687
2688 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
2689
2690         * gdb.cp/m-static.exp: Compile one source file at a time.
2691         Delete unused call to get_compiler_info.
2692
2693 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
2694
2695         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
2696         * gdb.base/call-rt-st.exp: Likewise.
2697         * gdb.base/nodebug.exp: Likewise.
2698         * gdb.base/volatile.exp: Likewise.
2699         * gdb.cp/ref-types.exp: Likewise.
2700         * gdb.cp/templates.exp: Likewise.
2701
2702 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
2703
2704         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
2705
2706 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
2707
2708         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
2709         hppa*-hp-hpux*.
2710
2711 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
2712
2713         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2714         x86_64-*-*.
2715
2716         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2717         sparc64-*-* and sparc*-solaris2*.
2718
2719 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
2720
2721         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
2722         return ${tests}" test.  The ${tests} already mentions the
2723         filename.
2724
2725 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
2726
2727         * gdb.cp/local.exp: Accept gcc abi 2.
2728
2729 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
2730
2731         * gdb.cp/templates.exp: Accept gcc abi 2.
2732
2733 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
2734
2735         * lib/compiler.cc: Remove supports_template_debugging.
2736         * gdb.cp/templates.exp: Do not test supports_template_debugging.
2737
2738 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
2739
2740         * gdb.cp/namespace.exp: Accept gcc abi 2.
2741
2742 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
2743
2744         * gdb.cp/method.exp: Accept gcc abi 2.
2745
2746 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
2747
2748         * gdb.cp/classes.exp: Generate identical results as old version.
2749         * gdb.cp/derivation.exp: Likewise.
2750         * gdb.cp/overload.exp: Likewise.
2751         * gdb.cp/virtfunc.exp: Likewise.
2752
2753 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
2754
2755         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
2756         mysterious bug with sourceware version of expect.
2757
2758 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
2759
2760         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
2761         current versions of gcc, including gcc abi 2.  Remove gratuitous
2762         restart of test program.  Use gdb_test_multiple and gdb_test for
2763         all tests.  Add patterns to xfail missing "const" in "const char *"
2764         and kfail PR gdb/1155.
2765
2766 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
2767
2768         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
2769         current versions of gcc, including gcc abi 2.  Remove gratuitous
2770         restart of test program.  Use gdb_test_multiple and gdb_test for
2771         all tests.  Add patterns to kfail PR gdb/1498.
2772
2773 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
2774
2775         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
2776         current versions of gcc, including gcc abi 2.  Use "breakpoint"
2777         and "continue" instead of restarting the target program.  Use
2778         gdb_test_multiple and gdb_test for all tests.
2779
2780 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
2781
2782         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
2783         for *-*-solaris2*.
2784
2785 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
2786
2787         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
2788         current versions of gcc, including gcc abi 2.  Use "breakpoint"
2789         and "continue" instead of restarting the target program several
2790         times.  Use gdb_test_multiple and gdb_test for all tests.
2791
2792 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
2793
2794         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
2795         source files.
2796
2797 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
2798
2799         * gdb.base/environ.exp: Handle compiling test case from multiple
2800         source files.
2801
2802 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
2803
2804         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2805
2806 2003-12-17  Jim Blandy  <jimb@redhat.com>
2807
2808         * gdb.base/freebpcmd.c: Add copyright notice.
2809
2810         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2811
2812 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
2813
2814         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2815
2816 2003-12-13  Jim Blandy  <jimb@redhat.com>
2817
2818         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2819
2820 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
2821
2822         * gdb.asm/frv.inc: New file.
2823         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2824
2825 2003-12-09  Fred Fish  <fnf@redhat.com>
2826
2827         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
2828         functions to break1.c and leave prototypes behind.  Add more
2829         "set breakpoint NN here" comments.
2830         * gdb.base/break1.c: New file.
2831
2832         * gdb.base/break.exp: Handle compiling test case from multiple
2833         source files and change source file references as needed.
2834         * gdb.base/completion.exp: Ditto.
2835         * gdb.base/condbreak.exp: Ditto.
2836         * gdb.base/define.exp: Ditto.
2837         * gdb.base/ena-dis-br.exp: Ditto.
2838         * gdb.base/info-proc.exp: Ditto.
2839         * gdb.base/maint.exp: Ditto.
2840         * gdb.base/until.exp: Ditto.
2841
2842         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
2843         hardcoded line numbers.
2844         * gdb.base/define.exp: Ditto.
2845         * gdb.base/ena-dis-br.exp: Ditto.
2846         * gdb.base/maint.exp: Ditto.
2847         * gdb.base/until.exp: Ditto.
2848
2849         * gdb.base/completion.exp: Use "break1" for completion tests since
2850         "break" is no longer a unique prefix.
2851
2852 2003-12-06  Andrew Cagney  <cagney@redhat.com>
2853
2854         * gdb.base/structs.exp (test_struct_returns): When applicable, set
2855         "return_value_unimplemented".  When an unimplemented struct return
2856         architecture, report incorrect values as a KFAIL
2857
2858 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
2859
2860         * gdb.cp/rtti.exp: Accept new wording of warning from
2861         cp_lookup_rtti_type.
2862
2863 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
2864
2865         Partial fix for PR testsuite/1456.
2866         * gdb.base/scope.exp (test_at_main): Replace references to
2867         gcc_compiled with calls to test_compiler_info.
2868         (test_at_foo): Likewise.
2869         (test_at_bar): Likewise.
2870
2871 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
2872
2873         Partial fix for PR testsuite/1456.
2874         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
2875         to test_compiler_info.
2876
2877 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
2878
2879         * gdb.base/so-impl-ld.exp: Update copyright notice.
2880
2881 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
2882
2883         Partial fix for PR testsuite/1456.
2884         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
2885         to test_compiler_info.
2886
2887 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
2888
2889         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
2890         from current versions of gdb.  Clean up regular expressions.
2891         Delete redundant timeout case.
2892
2893 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
2894
2895         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
2896         from current versions of gdb.  Clean up regular expressions.
2897         Delete redundant timeout case.
2898
2899 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
2900
2901         Partial fix for PR testsuite/1456.
2902         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
2903         gcc_compiled with call to test_compiler_info.
2904
2905 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
2906
2907         Partial fix for PR testsuite/1456.
2908         * gdb.base/list.exp (test_list_function): Delete unused declaration
2909         of gcc_compiled.
2910
2911 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
2912
2913         Partial fix for PR testsuite/1456.
2914         * gdb.base/complex.exp: Replace reference to gcc_compiled with
2915         call to test_compiler_info.
2916
2917 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
2918
2919         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
2920         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
2921         it to create the appropriate note.inc.
2922         * gdb.asm/asmsrc1.s: Include "note.inc".
2923         * gdb.asm/netbsd.inc: New file.
2924         * gdb.asm/empty.inc: New file.
2925
2926 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
2927
2928         Partial fix for PR testsuite/1456.
2929         * gdb.base/constvars.exp: Replace references to gcc_compiled with
2930         calls to test_compiler_info.
2931
2932 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
2933
2934         Partial fix for PR testsuite/1456.
2935         * gdb.base/volatile.exp: Replace references to gcc_compiled with
2936         calls to test_compiler_info.
2937
2938 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
2939
2940         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
2941         pattern for the KFAILs.
2942
2943 2003-11-25  Adam Fedor  <fedor@gnu.org>
2944
2945         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
2946         * gdb.objc/objcdecode.m: New file.
2947
2948 2003-11-25  Adam Fedor  <fedor@gnu.org>
2949
2950         * gdb.objc/nondebug.exp: Test for PR objc/1236.
2951         * gdb.objc/nondebug.m: New file.
2952
2953 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
2954
2955         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2956         NetBSD as it does on FreeBSD.  Modelled on a similar change by
2957         Mark Kettenis on 2003-05-30.
2958         (link-flags): Set to "--entry _start" regardless of target.
2959         Special linker flags are to be appended to $link-flags.
2960         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2961
2962 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
2963
2964         * gdb.cp/method.exp: Accept output of new demangler.
2965
2966 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
2967
2968         * gdb/class2.exp: New file.
2969         * gdb/class2.cc: New file.
2970
2971 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
2972
2973         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
2974         of new demangler.
2975
2976 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
2977
2978         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
2979         of gdb_test "run".
2980
2981 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
2982
2983         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
2984         "continue" into "run".
2985
2986 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
2987
2988         Partial fix for PR testsuite/1456.
2989         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
2990         call to test_compiler_info.
2991         * gdb.cp/ctti.exp: Likewise.
2992         * gdb.cp/derivation.exp: Likewise.
2993         * gdb.cp/member-ptr.exp: Likewise.
2994         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
2995         reference to gcc_compiled.
2996
2997 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
2998
2999         Fix PR testsuite/1463.
3000         * gdb.base/structs.exp (start_structs_test): Call
3001         get_debug_format before using the debug format.
3002
3003 2003-11-22  Andrew Cagney  <cagney@redhat.com>
3004
3005         * lib/gdb.exp (gdb_test_multiple): Add simple example.
3006         * gdb.base/structs.exp: Use gdb_test_multiple.
3007
3008 2003-11-20  Andrew Cagney  <cagney@redhat.com>
3009
3010         * gdb.base/structs.exp: Handle and recover from internal errors.
3011         Replace "foo${n}" with "foo<n>" in test messages.
3012
3013         * gdb.base/structs.exp: Update copyright.  Rewrite.
3014         * gdb.base/structs.c: Update copyright.  Rewrite.
3015
3016         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
3017         resync count exceeded.
3018
3019         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
3020         from the internal error.
3021         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
3022         Original from Jim Blandy.
3023         (gdb_test_multiple): Use gdb_internal_error_resync.
3024
3025 2003-11-19  Andrew Cagney  <cagney@redhat.com>
3026
3027         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
3028         KFAIL.
3029
3030 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
3031
3032         New testcase for PR backtrace/1435.
3033         * gdb.arch/i386-unwind.exp: New file.
3034         * gdb.arch/i386-unwind.c: New file.
3035
3036 2003-11-17  Andrew Cagney  <cagney@redhat.com>
3037
3038         * lib/gdb.exp (compiler_info): New global.
3039         (test_compiler_info): New function.
3040         (get_compiler_info): Set compiler_info.
3041         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
3042         "compiler_info" to gcc-<major>-<minor>.
3043
3044 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
3045
3046         * gdb.trace/configure: Remove.
3047
3048 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
3049
3050         * gdb.base/break.c: Add comments to aid finding line numbers for
3051         breakpoints.
3052         * gdb.base/break.exp: Remove all references to explicit line
3053         numbers.
3054
3055 2003-11-11  Nick Clifton  <nickc@redhat.com>
3056
3057         * gdb.base/shreloc.exp: Do not run for targets which do not
3058         support shared objects.
3059
3060 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
3061
3062         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
3063         Don't run tests if nofileio flag is given.
3064
3065 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
3066
3067         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
3068         as well as 'Watchpoint'.
3069
3070 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
3071
3072         Reported by Jim Ingham <jingham@apple.com>:
3073         * gdb.base/annota1.exp: Match at least one occurrence of the
3074         signal handler annotation.
3075
3076 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
3077
3078         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
3079         as well as 'Watchpoint'.
3080
3081 2003-11-05  Michael Chastain  <mec@shout.net>
3082
3083         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
3084
3085 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
3086
3087         * gdb.arch/gdb1291.c: New test file.
3088         * gdb.arch/gdb1291.exp: New test script.
3089         * gdb.arch/gdb1431.c: New test file.
3090         * gdb.arch/gdb1431.exp: New test script.
3091
3092 2003-10-22  Michael Chastain  <mec@shout.net>
3093
3094         * gdb.mi/pthreads.c: Add copyright notice.
3095
3096 2003-10-22  Michael Chastain  <mec@shout.net>
3097
3098         * gdb.threads/pthreads.c: Add copyright notice.
3099
3100 2003-10-20  Michael Chastain  <mec@shout.net>
3101
3102         * gdb.base/gdb1056.exp: New test script.
3103
3104 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
3105
3106         * gdb.threads/killed.exp: Use gdb_run_cmd.
3107
3108 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
3109
3110         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
3111         create a core file.
3112         * gdb.threads/gcore-thread.exp: Likewise.
3113
3114 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
3115
3116         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
3117         type, based on char type.
3118         (struct bit_flags_short_t): New bitfield type, based on short type.
3119         (init_bit_flags_char): New fuction.
3120         (init_bit_flags_short): Ditto.
3121         (print_bit_flags_char): Ditto.
3122         (print_bit_flags_short): Ditto.
3123         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
3124
3125 2003-10-11  Michael Chastain  <mec@shout.net>
3126
3127         * gdb.base/call-rt-st.exp: Update copyright year.
3128
3129 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
3130
3131         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
3132         * gdb.disasm/sh3.s: Ditto.
3133
3134 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
3135
3136         * gdb.threads/switch-threads.exp: New test.
3137         * gdb.threads/switch-threads.c: New source file.
3138
3139 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
3140
3141         * gdb.base/ending-run.exp: Add sh specific case.
3142
3143 2003-10-06  Andrew Cagney  <cagney@redhat.com>
3144
3145         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
3146         * gdb.disasm/mn10200.exp: Delete obsolete file.
3147
3148 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
3149
3150         * ChangeLog: Correct an entry command.exp -> commands.exp.
3151         * gdb.base/commands.exp (bp_deleted_in_command_test)
3152         (temporary_breakpoint_commands): Check noargs.
3153
3154 2003-09-25  David Carlton  <carlton@kealia.com>
3155
3156         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
3157         of some print tests, where appropriate.  Add tests for C::D::cd,
3158         E::ce, F::cXfX, G::XgX.
3159         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
3160
3161 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
3162
3163         * lib/java.exp (java_init): Import target_alias before using it.
3164
3165 2003-09-25  David Carlton  <carlton@kealia.com>
3166
3167         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
3168
3169 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
3170
3171         * gdb.base/selftest.exp: Accomodate more instruction reordering
3172         weirdness.
3173
3174 2003-09-17  Michael Chastain  <mec@shout.net>
3175
3176         * gdb.cp/gdb1355.exp: New file.
3177         * gdb.cp/gdb1355.c: New file.
3178
3179 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
3180
3181         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
3182         * gdb.asm/sh.inc: New file.
3183
3184 2003-09-11  David Carlton  <carlton@kealia.com>
3185
3186         * gdb.cp/namespace.exp: Add tests for namespace types.
3187         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
3188         (test_namespace): New.
3189
3190 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
3191
3192         * gdb.base/relocate.exp: Handle new gdb output at startup.
3193         * gdb.stabs/weird.exp: Ditto.
3194
3195 2003-09-08  Michael Chastain  <mec@shout.net>
3196
3197         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
3198
3199 2003-09-07  Michael Chastain  <mec@shout.net>
3200
3201         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
3202         'parse error'.
3203
3204 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
3205
3206         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
3207
3208 2003-08-30  Michael Chastain  <mec@shout.net>
3209
3210         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
3211         * gdb.gdb/observer.exp: Ditto.
3212         * gdb.gdb/xfullpath.exp: Ditto.
3213
3214 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
3215
3216         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
3217         *-*-*bsd*.
3218
3219 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
3220
3221         * gdb.base/dump.exp: Skip for ia64.
3222
3223 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
3224
3225         * gdb.asm/asm-source.exp: Add ia64 support.
3226         * gdb.asm/ia64.inc: New file.
3227
3228 2003-08-22  Michael Chastain  <mec@shout.net>
3229
3230         * gdb.cp: New directory.
3231         * gdb.cp/*: Copy from gdb.c++/*.
3232         * gdb.c++/*: Remove.
3233         * Makefile.in: Change gdb.c++ to gdb.cp.
3234         * configure.in:  Ditto.
3235         * configure: Regnerate.
3236
3237 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
3238
3239         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
3240         * gdb.arch/i386-prologue.c (gdb1338): Add function.
3241
3242 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
3243
3244         * mi-var-display.exp (-var-list-children weird): Accept function
3245         pointers with argument types.
3246         * mi1-var-display.exp (-var-list-children weird): Likewise.
3247         * mi2-var-display.exp (-var-list-children weird): Likewise.
3248
3249 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
3250
3251         * gdb.base/annota3.exp: Add missing newline.
3252
3253 2003-08-06  Michael Chastain  <mec@shout.net>
3254
3255         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
3256
3257 2003-08-12  Michael Snyder  <msnyder@redhat.com>
3258
3259         * gdb.base/float.exp: Add test for SH.
3260
3261 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
3262
3263         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
3264
3265 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
3266
3267        * gdb.base/completion.exp: Remove reduntant completion test
3268        on filename.
3269
3270 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
3271
3272         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
3273         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
3274         gdb.trace/save-trace.exp: Make sure that full pathnames are
3275         escaped correctly.
3276
3277 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
3278
3279         * configure.in: Don't generate config.h from config.hin.
3280         * configure: Regenerate.
3281         * config.hin: Remove file.
3282         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
3283         * gdb.threads/pthreads.c: Ditto.
3284
3285 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
3286
3287         From Kei Sakamoto <sakamoto.kei@renesas.com>:
3288         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
3289         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
3290         Replace ld24 with seth/add3.
3291
3292 2003-08-02  Andrew Cagney  <cagney@redhat.com>
3293
3294         * gdb.base/annota3.exp: New file.
3295         * gdb.base/annota3.c: New file.
3296         * gdb.c++/annota3.exp: New file.
3297         * gdb.c++/annota3.cc: New file.
3298
3299 2003-07-29  Michael Chastain  <mec@shout.net>
3300
3301         * gdb.threads/tls.c (spin): Check errno only if sem_wait
3302         actually failed.
3303         (do_pass): Likewise.
3304         * gdb.threads/tls.exp: Always initialize no_of_threads.
3305
3306 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
3307
3308         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
3309         pattern.
3310         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
3311         * gdb.threads/tls.exp: Recognize one case of the host library not
3312         supporting TLS.
3313
3314 2003-07-27  Andrew Cagney  <cagney@redhat.com>
3315
3316         * gdb.base/fileio.exp: Use SH when running commands using
3317         remote_exec.
3318
3319 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
3320
3321         From Kei Sakamoto <sakamoto.kei@renesas.com>:
3322         * gdb.base/relocate.c (dummy): New padding array.
3323
3324 2003-07-22  Michael Snyder  <msnyder@redhat.com>
3325
3326         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3327
3328         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
3329         patterns to be more general, accepting old and new output.
3330         Some output chars (such as '+') also must be quoted.
3331         Some addresses are displayed numerically instead of
3332         symbolically.
3333
3334 2003-07-23  Michael Snyder  <msnyder@redhat.com>
3335
3336         * gdb.base/return2.exp: Don't test long-long return.
3337
3338         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
3339         * gdb.disasm/t01_mov.exp: Ditto.
3340         * gdb.disasm/t02_mova.s: Ditto.
3341         * gdb.disasm/t02_mova.exp: Ditto.
3342         * gdb.disasm/t03_add.s: Ditto.
3343         * gdb.disasm/t03_add.exp: Ditto.
3344         * gdb.disasm/t04_sub.s: Ditto.
3345         * gdb.disasm/t04_sub.exp: Ditto.
3346         * gdb.disasm/t05_cmp.s: Ditto.
3347         * gdb.disasm/t05_cmp.exp: Ditto.
3348         * gdb.disasm/t06_ari2.s: Ditto.
3349         * gdb.disasm/t06_ari2.exp: Ditto.
3350         * gdb.disasm/t07_ari3.s: Ditto.
3351         * gdb.disasm/t07_ari3.exp: Ditto.
3352         * gdb.disasm/t08_or.s: Ditto.
3353         * gdb.disasm/t08_or.exp: Ditto.
3354         * gdb.disasm/t09_xor.s: Ditto.
3355         * gdb.disasm/t09_xor.exp: Ditto.
3356         * gdb.disasm/t10_and.s: Ditto.
3357         * gdb.disasm/t10_and.exp: Ditto.
3358         * gdb.disasm/t11_logs.s: Ditto.
3359         * gdb.disasm/t11_logs.exp: Ditto.
3360         * gdb.disasm/t12_bit.s: Ditto.
3361         * gdb.disasm/t12_bit.exp: Ditto.
3362         * gdb.disasm/t13_otr.s: Ditto.
3363         * gdb.disasm/t13_otr.exp: Ditto.
3364
3365 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
3366
3367         * gdb.threads/tls.exp :Add kfail for 'info address' case.
3368
3369 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
3370
3371         * gdb.threads/tls.c : New file.
3372         * gdb.threads/tls.exp : New file.
3373         * gdb.threads/tls-main.c : New file.
3374         * gdb.threads/tls-shared.c : New file.
3375         * gdb.threads/tls-shared.exp : New file.
3376
3377 2003-07-22  Andreas Schwab  <schwab@suse.de>
3378
3379         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
3380
3381 2003-07-20  Andreas Schwab  <schwab@suse.de>
3382
3383         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
3384         due to insn reordering.
3385
3386 2003-07-15  Andrew Cagney  <cagney@redhat.com>
3387
3388         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
3389
3390 2003-07-15  Michael Chastain  <mec@shout.net>
3391
3392         * gdb.base/gdb1250.exp: New file.
3393         * gdb.base/gdb1250.c: New file.
3394
3395 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
3396
3397         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
3398         expansion of size_t to 'unsigned long', not only to 'unsigned'.
3399
3400 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
3401
3402         * gdb.threads/tls.c: New file.
3403         * gdb.threads/tls.exp: New file.
3404         * gdb.threads/tls-main.c: New file.
3405         * gdb.threads/tls-shared.c: New file.
3406         * gdb.threads/tls-shared.exp: New file.
3407
3408 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
3409
3410         * gdb.base/annota1.exp: Make sure that we properly escape the
3411         full path of the source file. Xfail more permissive patterns,
3412         due to a compiler debug info problem.
3413
3414 2003-07-07  Andreas Schwab  <schwab@suse.de>
3415
3416         * gdb.asm/m68k.inc: New file.
3417         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
3418
3419         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
3420         arguments"): Also match negative number.
3421
3422         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
3423
3424 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
3425
3426         * gdb.base/store.c (charest): New typedef.
3427         (add_char): Rename to add_charest, update.
3428         (wack_char): Rename to wack_charest, update types.  Return l + r
3429         to keep r live across the call.
3430         (wack_short, wack_int, wack_long, wack_longest, wack_float)
3431         (wack_double, wack_doublest): Return l + r to keep r live across
3432         the call.
3433         * gdb.base/store.exp: Accomodate store.c changes.
3434
3435 2003-06-30  David Carlton  <carlton@kealia.com>
3436
3437         * gdb.c++/maint.exp (test_invalid_name): New.
3438         (test_first_component): Add tests for invalid names.
3439
3440 2003-06-29  Michael Chastain  <mec@shout.net>
3441
3442         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
3443         output of '<VTT for class>' for virtual base classes.
3444
3445 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
3446
3447         * gdb.base/completion.exp: Tab-complete "complet" instead of
3448         "compl".
3449         * gdb.base/complex.exp, gdb.base/complex.c: New files.
3450
3451 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
3452
3453         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
3454         * gdb.base/volatile.exp: Likewise.
3455
3456 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
3457
3458         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
3459         gdb/1265.
3460
3461 2003-06-28  Michael Chastain  <mec@shout.net>
3462             Daniel Jacobowitz  <drow@mvista.com>
3463
3464         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
3465         initial line count of 'captured_main' from 26 to 32.
3466         (test_with_self): Allow xmalloc call to be interleaved with the
3467         preceding two lines.
3468
3469 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
3470
3471         * gdb.base/bang.exp: New testcase.
3472
3473 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
3474
3475         * gdb.base/langs.exp: Add some tests for the "minimal" language
3476         support.
3477
3478 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
3479
3480         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
3481         the testcase.
3482
3483 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
3484
3485         * gdb.base/relocate.exp: Test add-symbol-file with a variable
3486         offset.
3487
3488 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
3489
3490         * gdb.c++/pr-1210.cc: New file.
3491         * gdb.c++/pr-1210.exp: New file.
3492
3493 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
3494
3495         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
3496         000-exec-continue.
3497
3498 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
3499
3500         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
3501         on *-*-*bsd* instead of *-*-freebsd*.
3502
3503 2003-06-14  Andrew Cagney  <cagney@redhat.com>
3504
3505         * gdb.base/store.exp: Test longest and doublest.  Test all
3506         parameters.  Weaken return statement match.
3507         * gdb.base/store.c: Add longest and doublest - aka long long and
3508         long double functions.  Put all parameters into local register
3509         variables.  Use negative values.
3510
3511 2003-06-14  Andrew Cagney  <cagney@redhat.com>
3512
3513         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
3514         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
3515         exit status.
3516         * gdb.base/fileio.exp: Disable target when nointerrupts and
3517         noinferiorio, instead of limiting it to remote.  Use remote_exec
3518         instead of system.
3519
3520 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
3521
3522         * gdb.base/float.exp: Add ia64 support.
3523
3524 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
3525
3526         * gdb.base/fileio.exp: Run only on remote targets.
3527
3528 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
3529
3530         * gdb.base/fileio.c: New file, testing File-I/O.
3531         * gdb.base/fileio.exp: Ditto.
3532
3533 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
3534
3535         * gdb.base/shreloc.exp: New file, check symbol values obtained from
3536         shared objects after relocation at load time (gdb PR/1132).
3537         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
3538         as above, part of the shared object relocation test.
3539
3540 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
3541
3542         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
3543         fully filled history list.
3544         * gdb.base/gdb_history: New file.
3545
3546         * gdb.base/signals.exp: XFAIL "continue to func1" on
3547         i*86-*-freebsd*.
3548
3549         * gdb.base/attach.exp: When trying to attach to a nonexistent
3550         process, make it possible to specify the PID based on the target,
3551         and do so for *-*-freebsd*.
3552
3553 2003-06-02  Richard Henderson  <rth@redhat.com>
3554
3555         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
3556
3557 2003-06-02  Richard Henderson  <rth@redhat.com>
3558
3559         * gdb.base/selftest.exp: Next over lim_at_start initialization.
3560
3561 2003-06-02  Richard Henderson  <rth@redhat.com>
3562
3563         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
3564
3565 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
3566
3567         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
3568         of globalvar.
3569
3570 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
3571
3572         * gdb.asm/asm-source.exp: Check for memory read errors in
3573         disassembler test on *BSD too.
3574
3575 2003-06-01  Richard Henderson  <rth@redhat.com>
3576
3577         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
3578         for .frame.
3579         (gdbasm_call): Lose ldgp.
3580         (gdbasm_startup): Add frame information.
3581         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
3582
3583 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
3584
3585         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
3586         i?86-*-*.
3587
3588 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
3589
3590         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
3591         FreeBSD.
3592
3593 2003-05-29  Richard Henderson  <rth@redhat.com>
3594
3595         * gdb.asm/alpha.inc: New file.
3596         * gdb.asm/asm-source.exp: Use it.
3597
3598 2003-05-29  Jim Blandy  <jimb@redhat.com>
3599
3600         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
3601         'core.PID'.
3602
3603 2003-05-22  Jim Blandy  <jimb@redhat.com>
3604
3605         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
3606         backtrace.
3607
3608 2003-05-20  David Carlton  <carlton@math.stanford.edu>
3609
3610         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
3611         this time.
3612
3613 2003-05-19  David Carlton  <carlton@bactrian.org>
3614
3615         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
3616         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
3617
3618 2003-05-19  David Carlton  <carlton@bactrian.org>
3619
3620         * gdb.c++/namespace.exp: Add namespace scope and anonymous
3621         namespace tests.
3622         Bump copyright date.
3623         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
3624         (main): Call C::D::marker2.
3625         * gdb.c++/namespace1.cc: New file.
3626
3627 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
3628
3629         Roland McGrath  <roland@redhat.com>
3630         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
3631         there is no manager thread.
3632
3633 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
3634
3635         * gdb.threads/schedlock.exp: Remove assumption that all threads
3636         will run in a particular small time slice.  Also ensure we break
3637         in one of the child threads rather than the main thread.
3638
3639 2003-05-07  Jim Blandy  <jimb@redhat.com>
3640
3641         Add support for assembly source testing on the s390x.
3642         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
3643         architecture.
3644         * gdb.asm/s390x.inc: New file.
3645
3646         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
3647         succession of 'if' statements.
3648
3649 2003-05-05  Andrew Cagney  <cagney@redhat.com>
3650
3651         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
3652
3653 2003-05-05  Andrew Cagney  <cagney@redhat.com>
3654
3655         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
3656         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
3657
3658 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
3659
3660         * gdb.base/charset.exp: Update based on new behavior of set/show
3661         charset commands.
3662
3663 2003-05-01  Andrew Cagney  <cagney@redhat.com>
3664
3665         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
3666         variable do not give memory errors.
3667
3668 2003-04-30  Adam Fedor  <fedor@gnu.org>
3669
3670         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
3671         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
3672         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
3673         gdb.objc/basicclass.m: : New files
3674
3675         * lib/gdb.exp (gdb_compile_objc): New procedure.
3676
3677 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
3678
3679         * gdb.base/signals.exp: Make backtrace tests more specific.
3680
3681 2003-04-23  David Carlton  <carlton@bactrian.org>
3682
3683         * gdb.c++/maint.exp (test_first_component): Add tests for
3684         'operator' in more locations.
3685
3686 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
3687
3688         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
3689
3690 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
3691
3692         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
3693         func marke' instead. Update test name.
3694
3695 2003-04-15  David Carlton  <carlton@math.stanford.edu>
3696
3697         * gdb.c++/maint.exp: New file.
3698
3699 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
3700
3701         * gdb.threads/schedlock.c: Change type of thread function argument
3702         to long, to avoid warnings on 64-bit platforms.
3703
3704 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
3705
3706         * gdb.base/attach.exp: Add new message from ptrace in case of
3707         attaching to nonexistent process.
3708
3709 2003-04-11  Jim Blandy  <jimb@redhat.com>
3710
3711         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3712         gdb.c++/userdef.cc: Place comments on the lines to which the
3713         marker function might return.
3714         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3715         gdb.c++/userdef.exp: Look for those comments to check that we've
3716         returned to the right place, instead of checking line numbers.
3717
3718 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
3719
3720         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
3721         match on sourcefile name, instead of directory name.
3722
3723 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
3724
3725         * gdb.base/completion.exp: Use string_to_regexp to match the
3726         working directory name.
3727
3728 2003-04-09  Jim Blandy  <jimb@redhat.com>
3729
3730         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3731         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
3732         after an inferior function call, report the failure, but allow the
3733         test to continue.
3734
3735 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
3736
3737         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3738         with -DPROTOTYPES.
3739
3740 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
3741
3742         * gdb.base/break.exp: Revert last patch.
3743
3744 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
3745
3746         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3747         with -DPROTOTYPES.
3748
3749 2003-04-02  Andrew Cagney  <cagney@redhat.com>
3750
3751         * gdb.base/callfuncs.exp: Make "print add" messages unique.
3752         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
3753         matching directories by the name breakpoint.
3754         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
3755         Make "continue to marker1" consistent.
3756         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
3757         message consistent.
3758         * lib/gdb.exp: Put "the program is no longer running", and "the
3759         program exited" in parenthesis.
3760         * lib/mi-support.exp: Ditto.
3761
3762 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
3763
3764         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
3765
3766 2003-03-29  Andrew Cagney  <cagney@redhat.com>
3767
3768         * gdb.base/sizeof.c (main): Print the value of '\377'.
3769         * gdb.base/sizeof.exp: Check the sign of '\377'.
3770
3771 2003-03-27  Michael Chastain  <mec@shout.net>
3772
3773         * gdb.base/gdb1090.exp: New file.
3774         * gdb.base/gdb1090.cc: New file.
3775
3776 2003-03-27  J. Brobecker  <brobecker@gnat.com>
3777
3778         * gdb.gdb/observer.exp: New regression test.
3779
3780 2003-03-27  Michael Chastain  <mec@shout.net>
3781
3782         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
3783         * gdb.base/ptype.exp: Likewise.
3784
3785 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
3786
3787         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
3788
3789 2003-03-26  Michael Chastain  <mec@shout.net>
3790
3791         * gdb.base/ptype.exp: Actually use some typedef'd types.
3792
3793 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
3794
3795         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
3796         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
3797
3798 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
3799
3800         * gdb.base/default.exp: Fix regular expression.
3801
3802 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
3803
3804         * gdb.base/args.exp: Fix regular expression.
3805
3806 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
3807
3808         * gdb.base/help.exp: Allow Win32 child process.
3809
3810 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
3811
3812         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
3813         when stepping out of main().
3814
3815 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
3816
3817         * gdb.base/default.exp: Check for win32 specific message when calling
3818         "run" without executable.
3819
3820 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
3821
3822         * gdb.base/args.exp: Expect .exe in output.
3823
3824 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
3825
3826         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
3827         Cygwin native.
3828
3829 2003-03-17  Andrew Cagney  <cagney@redhat.com>
3830
3831         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
3832         vector registes.
3833         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
3834         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
3835
3836 2003-03-17  David Carlton  <carlton@math.stanford.edu>
3837
3838         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
3839         test, for PR breakpoints/38.
3840         Call test_watchpoint_and_breakpoint.
3841         * gdb.base/watchpoint.c (func3): New function.
3842         (main): Call func3.
3843
3844 2003-03-04  David Carlton  <carlton@math.stanford.edu>
3845
3846         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
3847         Garply<Garply<char> >:: garply".
3848         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
3849         with respect to PR c++/1111; note also PR c++/1113.
3850         (test_template_breakpoints): KFAIL "constructor breakpoint" with
3851         respect to PR c++/1062.
3852         KFAIL "destructor breakpoint" with respect to PR c++/1112.
3853
3854 2003-03-03  David Carlton  <carlton@math.stanford.edu>
3855
3856         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
3857         with respect to PR c++/57.
3858         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
3859         c++/826.
3860         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
3861         respect to PR c++/57.
3862
3863 2003-03-03  David Carlton  <carlton@math.stanford.edu>
3864
3865         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
3866         respect to PR c++/33 into FAILs.
3867
3868 2003-03-03  Michael Chastain  <mec@shout.net>
3869
3870         * configure.in: Update copyright years.
3871
3872 2003-03-03  Michael Chastain  <mec@shout.net>
3873
3874         * Makefile.in: Update copyright years.
3875
3876 2003-02-28  David Carlton  <carlton@math.stanford.edu>
3877
3878         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
3879         print class instead of struct and/or superfluous protection
3880         specifiers, as long as the resulting output is equivalent to the
3881         source code.
3882         Delete FIXME from end of messages on tests that don't need
3883         fixing.
3884
3885 2003-02-28  David Carlton  <carlton@math.stanford.edu>
3886
3887         * gdb.c++/templates.exp (do_tests): Allow const in the two
3888         Foo<volatile char *>::foo tests.
3889
3890 2003-02-27  Michael Snyder  <msnyder@redhat.com>
3891
3892         * gdb.base/restore.c (main): Return zero, so exit code
3893         will be consistant.
3894
3895 2003-02-26  David Carlton  <carlton@math.stanford.edu>
3896
3897         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
3898         char *>::foo" test with respect to PR c++/33.  Create a new test
3899         which is identical to that one except that it doesn't put the
3900         space between the "char" and the "*"; KFAIL it, too.
3901
3902 2003-02-26  David Carlton  <carlton@math.stanford.edu>
3903
3904         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
3905         template types into either PASSes or KFAILs (corresponding to PR
3906         c++/57).  Tweak indentation.  Update copyright.
3907
3908 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
3909
3910         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
3911
3912 2003-02-13  Michael Chastain  <mec@shout.net>
3913
3914         * gdb.base/exprs.exp: Remove i960 remnants.
3915         * gdb.base/funcargs.exp: Likewise.
3916         * gdb.base/list.exp: Likewise.
3917         * gdb.base/ptype.exp: Likewise.
3918
3919 2003-02-14  David Carlton  <carlton@math.stanford.edu>
3920
3921         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
3922         pEe->D::vg()" from XFAIL to KFAIL.
3923
3924 2003-02-13  Jason Molenda  (jmolenda@apple.com)
3925
3926         * gdb.base/maint.exp: Update maint print statistics regexp to include
3927         new entries.
3928
3929 2003-02-13  Michael Chastain  <mec@shout.net>
3930
3931         * gdb.c++/inherit.exp: Remove call to get_debug_format.
3932
3933 2003-02-12  Michael Chastain  <mec@shout.net>
3934
3935         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
3936         * gdb.c++/inherit.exp: Likewise.
3937         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
3938         * gdb.c++/templates.exp: Likewise.
3939         * gdb.c++/virtfunc.exp: Likewise.
3940
3941 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
3942
3943         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
3944         why the code is written that way.
3945
3946 2003-02-05  Michael Chastain  <mec@shout.net>
3947
3948         * gdb.base/dump.exp: Add missing copyright line.
3949
3950 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
3951
3952         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
3953         at the beginning so the breakpoint doesn't get set on the loop.
3954
3955 2003-02-05  Michael Chastain  <mec@shout.net>
3956
3957         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
3958         output for configurations with gcc 2.95.3.
3959
3960 2003-02-05  Keith Seitz  <keiths@redhat.com>
3961             Andrew Cagney  <ac131313@redhat.com>
3962
3963         * gdb.mi/mi-cli.exp: New file.
3964
3965 2003-02-04  Michael Chastain  <mec@shout.net>
3966
3967         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
3968         Call perror and then continue.
3969
3970 2003-02-03  Michael Chastain  <mec@shout.net>
3971
3972         * gdb.c++/pr-1023.cc: New file.
3973         * gdb.c++/pr-1023.exp: New file.
3974
3975 2003-02-05  Jim Blandy  <jimb@redhat.com>
3976
3977         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
3978         it's local to foobar.  Check for it there, and check that it's not
3979         present in main.
3980         * gdb.c++/local.cc (marker2): New function.
3981         (foobar): Call marker1.
3982         (main): Call marker2 instead of marker1.
3983
3984 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
3985
3986         * gdb.disasm/mn10200.exp: Obsolete file.
3987         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
3988         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
3989         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
3990
3991 2003-02-04  David Carlton  <carlton@math.stanford.edu>
3992
3993         * gdb.c++/overload.exp: Test intToChar(1).
3994         * gdb.c++/overload.cc (intToChar): New.
3995         (main): Call intToChar.
3996
3997 2003-02-03  David Carlton  <carlton@math.stanford.edu>
3998
3999         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
4000         'might_kfail' arg.
4001         KFAIL some of the continue_to_bp_overloaded calls, according to
4002         PR c++/1025.
4003
4004 2003-02-01  Michael Chastain  <mec@shout.net>
4005
4006         * gdb.base/advance.c (marker1): New marker function.
4007         * gdb.base/advance.exp: When the 'advance' command lands on the
4008         return breakpoint, it can legitimately stop on either the
4009         current line or the next line.  Accommodate both outcomes.
4010         * gdb.base/until.exp: Likewise.
4011
4012 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
4013
4014         2002-11-10 Jason Molenda (jason-cl@molenda.com):
4015         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
4016         now a list, not a tuple.
4017         * gdb.mi/mi-var-display.exp: Ditto.
4018         * gdb.mi/gdb792.exp: Ditto.
4019
4020 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
4021
4022         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
4023         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
4024         stack backtraces.
4025         * gdb.mi/mi-syn-frame.c: Part of same.
4026
4027 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
4028
4029         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
4030         gdb.mi/mi1-pthreads.exp: Return instead of calling
4031         gdb_suppress_entire_file.
4032
4033 2003-02-01  Mark Salter  <msalter@redhat.com>
4034
4035         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
4036
4037 2003-01-31  Mark Salter  <msalter@redhat.com>
4038
4039         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
4040         Support empty arg.
4041
4042 2003-01-30  Michael Chastain  <mec@shout.net>
4043
4044         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
4045         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
4046         has been fixed in gdb/readline on 2003-01-09.
4047
4048 2003-01-29  Michael Snyder  <msnyder@redhat.com>
4049
4050         * gdb.base/maint.exp: Allow for leading underscore in symbol.
4051         * gdb.base/display.exp: Allow for leading underscore in symbol.
4052         * gdb.base/args.exp: Skip if target does not support args passing.
4053
4054 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
4055
4056         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
4057         gdb_test.  Accept a list of expect arguments as the third
4058         parameter.
4059         (gdb_test): Use it.
4060
4061 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
4062
4063         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
4064         allow for different test tree configurations.  Update some
4065         tescases accordingly.
4066         * gdb.arch/altivec-regs.exp: Ditto.
4067         * gdb.asm/asm-source.exp: Ditto.
4068         * gdb.base/advance.exp: Ditto.
4069         * gdb.base/display.exp: Ditto.
4070         * gdb.base/long_long.exp: Ditto.
4071         * gdb.base/mips_pro.exp: Ditto.
4072         * gdb.base/overlays.exp: Ditto.
4073         * gdb.base/relocate.exp: Ditto.
4074         * gdb.base/setshow.exp: Ditto.
4075         * gdb.base/step-line.exp: Ditto.
4076         * gdb.base/step-test.exp: Ditto.
4077         * gdb.base/until.exp: Ditto.
4078         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
4079
4080 2003-01-17  David Carlton  <carlton@math.stanford.edu>
4081
4082         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
4083         corresponding to PR c++/945.
4084         Update copyright.
4085
4086 2003-01-17  David Carlton  <carlton@math.stanford.edu>
4087
4088         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
4089         corresponding to PR c++/68.
4090
4091 2003-01-17  David Carlton  <carlton@math.stanford.edu>
4092
4093         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
4094         (test_paddr_hairy_functions): Call print_addr_2_kfail for
4095         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
4096
4097 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
4098
4099         * gdb.base/break.exp: Fix change of default location, because of
4100         removal of until tests.
4101         * gdb.base/help.exp: Update test for new 'until' help message.
4102         Add test for help on 'advance'.
4103         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
4104
4105 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
4106
4107         * gdb.base/default.exp: Adapt "info float" test for recent changes
4108         to that command.  Add test for "info vector".
4109         * gdb.base/float.exp: New file.  Add test for "info float" that
4110         resembles the old test in gdb.base/default.exp.
4111
4112 2003-01-15  David Carlton  <carlton@math.stanford.edu>
4113
4114         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
4115
4116 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
4117
4118         * gdb.base/break.exp: Move the tests of until command from here...
4119         * gdb.base/until.exp: ... to here. New file. Add other tests.
4120         * gdb.base/advance.c: New file.
4121         * gdb.base/advance.exp: New file.
4122
4123 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
4124
4125         * gdb.base/args.c: New file.
4126         * gdb.base/args.exp: New file.
4127
4128 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
4129
4130         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
4131
4132 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
4133
4134         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
4135
4136 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
4137
4138         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
4139         dates.
4140
4141 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
4142
4143         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
4144
4145 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
4146
4147         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
4148         (ptype &*"foo").
4149         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
4150
4151 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
4152
4153         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
4154         * gdb.mi/mi1-console.exp: Likewise.
4155
4156 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
4157
4158         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
4159         * gdb.mi/mi1-console.exp: Likewise.
4160
4161 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
4162
4163         * gdb.c++/overload.exp: Remove some fixed XFAILs.
4164
4165 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
4166
4167         * gdb.base/detach.exp: New test.
4168
4169 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
4170
4171         * Makefile.in (ALL_SUBDIRS): New variable.
4172         (subdirs, clean, distclean): Use it.
4173         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
4174         regenerating Makefile, since it is generated from the top level.
4175         * gdb.asm/Makefile.in: Likewise.
4176         * gdb.base/Makefile.in: Likewise.
4177         * gdb.c++/Makefile.in: Likewise.
4178         * gdb.disasm/Makefile.in: Likewise.
4179         * gdb.java/Makefile.in: Likewise.
4180         * gdb.mi/Makefile.in: Likewise.
4181         * gdb.threads/Makefile.in: Likewise.
4182         * gdb.trace/Makefile.in: Likewise.
4183
4184 2003-01-09  David Carlton  <carlton@math.stanford.edu>
4185
4186         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
4187         Add copyright year 2003.
4188
4189 2003-01-06  Michael Chastain  <mec@shout.net>
4190
4191         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
4192         When selecting a thread, 'line' and 'file' are optional.
4193         * gdb.mi/mi1-pthreads.exp: Likewise.
4194
4195 2003-01-06  Andreas Schwab  <schwab@suse.de>
4196
4197         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
4198         failures.
4199
4200 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
4201
4202         Fix PR gdb/844
4203         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
4204         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
4205
4206         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
4207         instead of calling gdb_suppress_entire_file.
4208         * gdb.threads/print-threads.exp: Likewise.
4209         * gdb.threads/schedlock.exp: Likewise.
4210
4211         * gdb.threads/killed.exp: Return instead of calling
4212         gdb_suppress_entire_file.
4213         * gdb.threads/linux-dp.exp: Likewise.
4214         * gdb.threads/pthreads.exp: Likewise.
4215
4216 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
4217
4218         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
4219         stabs.
4220         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
4221         * gdb.base/whatis.exp: Always allow (void) after function names.
4222
4223 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
4224
4225         * gdb.c++/casts.exp: Correct regexp.
4226
4227 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
4228
4229         * configure.in: Call AC_CONFIG_HEADER.  Don't call
4230         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
4231         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
4232         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
4233         aforementioned directories in the AC_OUPUT call.
4234         * config.hin: New file.
4235         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
4236         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
4237         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
4238         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
4239         pass -I$objdir instead of -I$objdir/$subdir in compilation.
4240         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
4241         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
4242         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
4243         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
4244         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
4245         gdb.threads/configure.in, gdb.threads/configure,
4246         gdb.threads/config.in, gdb.trace/configure.in,
4247         gdb.trace/configure: Removed.
4248
4249 2003-01-03  Michael Chastain  <mec@shout.net>
4250
4251         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
4252         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
4253
4254 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
4255
4256         * gdb.base/store.exp: Fix regular expressions.
4257
4258 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
4259
4260         * configure.in: Rewrite.
4261         * configure: Regenerated.
4262
4263 2003-01-03  David Carlton  <carlton@math.stanford.edu>
4264
4265         * gdb.base/psymtab.exp: New file.
4266         * gdb.base/psymtab1.c: Ditto.
4267         * gdb.base/psymtab2.c: Ditto.
4268
4269 2002-12-23  Adam Fedor  <fedor@gnu.org>
4270
4271         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
4272
4273 2002-12-23  David Carlton  <carlton@math.stanford.edu>
4274
4275         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
4276         and current_directory initialization.
4277
4278 2002-12-22  Jim Blandy  <jimb@redhat.com>
4279
4280         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
4281         rather than as part of the output file name.
4282
4283         * gdb.base/attach.exp: There's no need to copy the test program to
4284         /tmp; that was only ever necessary on HP/UX, and this test is
4285         entirely disabled there anyway.
4286
4287 2002-12-21  Jim Blandy  <jimb@redhat.com>
4288
4289         * gdb.c++/psmang.exp: Doc fix.
4290
4291         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
4292         test.
4293
4294 2002-12-20  David Carlton  <carlton@math.stanford.edu>
4295
4296         * gdb.c++/annota2.exp: KFAIL annotate-quit.
4297
4298 2002-12-18  Michael Chastain  <mec@shout.net>
4299
4300         * gdb.c++/annota2.exp: Add copyright year 2002.
4301
4302 2002-12-17  David Carlton  <carlton@math.stanford.edu>
4303
4304         * gdb.c++/try_catch.cc: Add marker comments.
4305         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
4306         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
4307         * gdb.c++/m-static.cc: Ditto.
4308         * gdb.c++/m-static1.cc: Ditto.
4309         * gdb.c++/try_catch.cc: Ditto.
4310
4311 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
4312
4313         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
4314         to see whether we are using the new -environment-directory
4315         command which resets via -r or the old version of the command
4316         which may prompt the user.  Part of fix for gdb/741.
4317
4318 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
4319
4320         * gdb.fortran/types.exp: Update obsolete comment.
4321         * gdb.fortran/exprs.exp: Ditto.
4322         * lib/gdb.exp: Delete obsolete code.
4323         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
4324         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
4325         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
4326         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
4327         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
4328         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
4329         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
4330         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
4331         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
4332         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
4333         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
4334         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
4335         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
4336         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
4337         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
4338         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
4339         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
4340         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
4341         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
4342         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
4343         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
4344         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
4345         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
4346         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
4347         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
4348         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
4349         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
4350         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
4351         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
4352         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
4353         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
4354         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
4355         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
4356         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
4357         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
4358         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
4359         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
4360
4361 2002-12-11  David Carlton  <carlton@math.stanford.edu>
4362
4363         * gdb.c++/m-data.exp: Add test for members that shadow global
4364         variables: see PR gdb/804.
4365         * gdb.c++/m-data.cc: Ditto.
4366
4367 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
4368
4369         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
4370
4371 2002-12-06  David Carlton  <carlton@math.stanford.edu>
4372
4373         * gdb.base/store.c: Don't declare functions static.
4374
4375 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
4376
4377         * gdb.base/store.exp, gdb.base/store.c: New files.
4378
4379 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
4380
4381         * gdb.base/selftest.exp: Update for current gdb.
4382
4383 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
4384
4385         * gdb.base/maint.exp: Only dump symbols from one source file
4386         or objfile.
4387
4388 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
4389
4390         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
4391         function call.
4392
4393 2002-11-25  Jim Blandy  <jimb@redhat.com>
4394
4395         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
4396         function appearing in error message.
4397
4398 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
4399
4400         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
4401
4402 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
4403
4404         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
4405         for mi1 and current mi is in correct format.  New mi startup message
4406         should be in mi console format.  This is part of fix for PR gdb/604.
4407
4408 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
4409
4410         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
4411         which explicitly prints the zero offset as "+0".
4412
4413 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
4414
4415         * gdb.threads/schedlock.c (args): Make unsigned.
4416
4417 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
4418
4419         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
4420         numbers.  Allow "foo2|selected stack frame".
4421         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
4422         * gdb.asm/asmsrc2.s: Likewise.
4423         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
4424         comments.
4425         * gdb.asm/mips.inc: New file.
4426
4427 2002-10-18  Adam Fedor  <fedor@gnu.org>
4428
4429         * gdb.base/default.exp: Update expected output to include 'ObjC'.
4430         * gdb.base/help.exp: Likewise.
4431
4432 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
4433
4434         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
4435         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
4436
4437 2002-10-02  Jim Blandy  <jimb@redhat.com>
4438
4439         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
4440
4441 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
4442
4443         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
4444         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
4445         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
4446         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
4447         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
4448         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
4449         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
4450
4451 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
4452
4453         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
4454         * mi0-disassemble.exp, mi0-eval.exp: Delete.
4455         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
4456         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
4457         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
4458         * mi0-var-block.exp, mi0-var-child.exp: Delete.
4459         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
4460
4461 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
4462
4463         * gdb.base/annota1.exp (info break): Make directory components of
4464         path optional since not all compilers emit this debug information.
4465
4466         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
4467         step ends up stepping out of the function instead of stopping on
4468         the epilogue.
4469
4470 2002-09-26  Keith Seitz  <keiths@redhat.com>
4471
4472         * lib/insight-support.exp (gdbtk_start): Figure out where
4473         the insight executable is based on where gdb is. Use this
4474         executable to start insight instead of gdb.
4475
4476 2002-09-25  Andrew Cagney  <cagney@redhat.com>
4477
4478         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
4479
4480 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
4481
4482         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
4483         test_isolated_complaints.
4484         (test_empty_complaint): New function.
4485         (test_empty_complaints): New function.  Check no output when no
4486         complaints.
4487
4488 2002-09-19  Jim Blandy  <jimb@redhat.com>
4489
4490         * gdb.base/charset.exp, gdb.base/charset.c: New files.
4491
4492 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
4493
4494         * gdb.gdb/complaints.exp: New file.
4495
4496 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
4497
4498         * gdb.base/maint.exp: Check `help maint internal-warning'.
4499
4500 2002-09-18  David Carlton  <carlton@math.stanford.edu>
4501
4502         * gdb.c++/m-static.exp: Remove breakpoints depending on line
4503         numbers, and replace them by a single breakpoint after the
4504         constructors are all finished.
4505         Add test 4.
4506         * gdb.c++/m-static.cc: Add test 4.
4507         * gdb.c++/m-static.h: New file.
4508         * gdb.c++/m-static1.cc: New file.
4509
4510         * gdb.c++/printmethod.exp: New file.
4511         * gdb.c++/printmethod.cc: New file.
4512
4513         * gdb.c++/pr-574.exp: New file.
4514         * gdb.c++/pr-574.cc: New file.
4515
4516 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
4517
4518         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
4519         embedded targets which never actually exit.
4520
4521 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
4522
4523         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
4524         "don't step after run" as unresolved or unsupported, instead of xfail.
4525
4526 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
4527
4528         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
4529         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
4530         Add newline to expected string in "step out of main (status wrapper)"
4531         case.
4532
4533 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
4534
4535         * lib/gdb.exp (rerun_to_main): Allow restarting application.
4536         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
4537
4538 2002-09-17  Tom Tromey  <tromey@redhat.com>
4539
4540         * gdb.base/printcmds.exp (test_print_string_constants): Expect
4541         \000, not \0, in double-quoted string.
4542
4543 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
4544
4545         * gdb.base/commands.exp: Don't expect a "Program exited normally"
4546         string after running the commands execution on breakpoint tests.
4547
4548 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
4549
4550         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
4551
4552 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
4553
4554         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
4555
4556 2002-09-10  Keith Seitz  <keiths@redhat.com>
4557
4558         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
4559         runto proc.
4560         (mi_run_to_main): Use mi_runto.
4561         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
4562
4563 2002-09-10  Keith Seitz  <keiths@redhat.com>
4564
4565         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
4566         regexp for stopping at main. Could have multiple event notifications.
4567         Don't assume that main was declared with no parameters.
4568         (mi_next): Use mi_step_to.
4569         (mi_step): Use mi_next_to.
4570
4571 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
4572
4573         * gdb.base/default.exp: Fix expected string in `info float' test.
4574
4575 2002-09-09  Ben Elliston  <bje@redhat.com>
4576
4577         * config/mips.exp: Update comments.
4578         * config/mips-idt.exp: Likewise.
4579         * config/nind.exp: Likewise.
4580         * config/slite.exp: Likewise.
4581         * config/sparclet.exp: Likewise.
4582         * config/udi.exp: Likewise.
4583         * config/vx.exp: Likewise.
4584         * config/vxworks29k.exp: Likewise.
4585
4586 2002-09-05  Jim Blandy  <jimb@redhat.com>
4587
4588         * gdb.threads/killed.exp: Fix test failure message.
4589
4590 2002-09-04  Keith Seitz  <keiths@redhat.com>
4591
4592         * lib/mi-support.exp: Update copyright.
4593         (mi_gdb_test): Increase the priority of the expected pattern
4594         so that it matches gdb_test.
4595
4596 2002-09-03  Keith Seitz  <keiths@redhat.com>
4597
4598         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
4599         Use integer comparison instead of string comparison for testing
4600         whether binary was built.
4601
4602 2002-09-03  Jim Blandy  <jimb@redhat.com>
4603
4604         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
4605
4606 2002-08-29  Jim Blandy  <jimb@redhat.com>
4607
4608         * gdb.threads/pthreads.exp: Move the portable thread compilation
4609         code into a function in lib/gdb.exp, and call that from here.
4610         * lib/gdb.exp (gdb_compile_pthreads): New function.
4611
4612 2002-08-29  Keith Seitz  <keiths@redhat.com>
4613
4614         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
4615         expect_out so that callers can get at it.
4616
4617 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
4618
4619         * gdb.threads/print-threads.c: New file.
4620         * gdb.threads/print-threads.exp: New file.
4621         * gdb.threads/schedlock.c: New file.
4622         * gdb.threads/schedlock.exp: New file.
4623
4624 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
4625
4626         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
4627         not altivec.c.
4628
4629 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
4630
4631         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
4632         targets.  The problem should be fixed now.
4633
4634 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
4635
4636         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
4637         2002-07-24 change that removes final dots from error messages.
4638
4639 2002-08-13  Tom Tromey  <tromey@redhat.com>
4640
4641         * gdb.base/readline.exp: New file.
4642
4643 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
4644
4645         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
4646         supress message.
4647
4648 2002-08-01  Andrew Cagney  <cagney@redhat.com>
4649
4650         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
4651         CHILL_FOR_TARGET and CHILL_LIB.
4652         * configure.in (configdirs): Remove gdb.chill.
4653         * configure: Regenerate.
4654         * lib/gdb.exp: Obsolete references to chill.
4655         * gdb.fortran/types.exp: Ditto.
4656         * gdb.fortran/exprs.exp: Ditto.
4657
4658 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
4659
4660         * gdb.base/shlib-call.exp (additional_flags): Conditionally
4661         set Irix-specific compile and link flags.
4662
4663 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
4664
4665         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
4666         source files.  The ``-o'' option doesn't work with the ``-E'' option
4667         when using the Irix compiler.
4668
4669 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
4670
4671         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
4672         Improve support for reusing an exec file.  Copy exec file
4673         to target, and run gdbserver on the target instead of on the host.
4674
4675 2002-07-18  Jim Blandy  <jimb@redhat.com>
4676
4677         * gdb.base/ending-run.exp: Don't expect to see the program end in
4678         some orderly fashion when we're running on a real stand-alone
4679         board.
4680
4681         * gdb.base/interrupt.exp: Correct logic for skipping tests on
4682         targets that don't support interrupts.
4683
4684 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
4685
4686         * gdb.base/attach.exp: Add patterns to match output from /proc-based
4687         systems.
4688         Move comments in expect statements to inside the actions, so that they
4689         don't get matched against.
4690
4691 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
4692
4693         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
4694         function when asleep" test.
4695
4696 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
4697
4698         * gdb.base/page.exp: Rewrite to handle problems with very long
4699         `info set' output.  Update copyright.
4700
4701 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
4702
4703         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
4704         gdb.threads-hp.
4705         * gdb.hp/configure: Regenerate.
4706         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
4707         * gdb.hp/gdb.threads-hp/configure: Delete file.
4708         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
4709
4710 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
4711
4712         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
4713         setlocale, bindtextdomain and textdomain.
4714
4715 2002-06-11  Jim Blandy  <jimb@redhat.com>
4716
4717         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
4718         preprocessor macro information is present.
4719
4720         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
4721         tests.
4722
4723 2002-06-06  Michael Snyder  <msnyder@redhat.com>
4724
4725         * gdb.base/overlays.exp: Record addresses of overlay
4726         functions in TCL variables rather than in GDB variables,
4727         to avoid having GDB convert them to pointers (with loss
4728         of information).
4729
4730         * gdb.base/d10v.ld: Merge in several years worth of
4731         default linker script changes.
4732         * gdb.base/long_long.exp: Add check for sizeof (long double).
4733
4734 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
4735
4736         * gdb.asm/asm-source.exp: Add x86-64 target.
4737         * gdb.asm/x86_64.inc: New.
4738
4739 2002-05-30  Michael Chastain  <mec@shout.net>
4740
4741         From Benjamin Kosnik <bkoz@redhat.com>:
4742         * gdb.c++/m-static.cc: New file.
4743         * gdb.c++/m-static.exp: New file.
4744
4745 2002-05-28  Michael Snyder  <msnyder@redhat.com>
4746
4747         * gdb.base/call-ar-st.exp: Allow for reduced floating point
4748         precision.
4749
4750 2002-05-27  Michael Chastain  <mec@shout.net>
4751
4752         From Benjamin Kosnik <bkoz@redhat.com>:
4753         * gdb.c++/m-data.cc: New file.
4754         * gdb.c++/m-data.exp: New file.
4755
4756 2002-05-27  Michael Chastain  <mec@shout.net>
4757
4758         From Benjamin Kosnik <bkoz@redhat.com>:
4759         * gdb.c++/try_catch.cc: New file.
4760         * gdb.c++/try_catch.exp: New file.
4761
4762 2002-05-27  Michael Chastain  <mec@shout.net>
4763
4764         * gdb.c++/local.exp: Accept more nested types in output.
4765
4766 2002-05-26  Michael Chastain  <mec@shout.net>
4767
4768         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
4769
4770 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
4771
4772         * lib/gdb.exp (gdb_wrapper_init): Just because
4773         gdb_wrapper_file exists, this does not mean that the file
4774         should not be rebuilt.  That is what gdb_wrapper_initialized
4775         is for.
4776         (default_gdb_init): Reset gdb_wrapper_initialized.
4777
4778 2002-05-23  Michael Snyder  <msnyder@redhat.com>
4779
4780         * gdb.base/all-bin.exp: Revise previous patch by just reducing
4781         the precision of the floating point test results.
4782         * gdb.base/call-rt-st.exp: Ditto.
4783
4784         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
4785         * gdb.base/call-rt-st.exp: Ditto.
4786
4787 2002-05-19  Michael Chastain  <mec@shout.net>
4788
4789         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
4790
4791 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
4792
4793         * configure.in (configdirs): Add gdb.arch.
4794         * configure: Regenerate.
4795
4796 2002-05-17  Jim Blandy  <jimb@redhat.com>
4797
4798         * gdb.base/completion.exp: Recognize the more detailed error
4799         messages produced by the macro expander's lexical analyzer.
4800
4801 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
4802
4803         * gdb.arch/altivec-abi.c: New file.
4804         * gdb.arch/altivec-abi.exp: New file.
4805         * gdb.arch/altivec-regs.c: New file.
4806         * gdb.arch/altivec-regs.exp: New file.
4807
4808 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
4809
4810         * gdb.base/maint.exp (maint print type): Update for new type
4811         structure.
4812
4813 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
4814
4815         * gdb.arch: New directory.
4816         * gdb.arch/configure.in: New file.
4817         * gdb.arch/configure: New file.
4818         * gdb.arch/Makefile.in: New file.
4819
4820 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
4821
4822         * gdb.asm/asm-source.exp: Add v850 as supported target.
4823         * gdb.asm/v850.inc: New file.
4824
4825 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
4826
4827         * gdb.c++/annota2.exp (annotate-quit): Add comment.
4828
4829 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
4830
4831         * gdb.base/break.exp: Check 'break "marker2"'.
4832
4833 2002-05-10  Michael Snyder  <msnyder@redhat.com>
4834
4835         * gdb.base/long_long.exp: Fix typo.
4836
4837 2002-05-10  Jim Blandy  <jimb@redhat.com>
4838
4839         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
4840         a bug.
4841
4842         * gdb.base/printcmds.exp (test_integer_literals_rejected):
4843         Recognize more detailed error message produced by the macro
4844         expander's lexical analyzer.
4845         * lib/gdb.exp (test_print_reject): Same.
4846
4847 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
4848
4849         * gdb.c++/method.exp: Fix typo.
4850
4851 2002-05-08  Michael Snyder  <msnyder@redhat.com>
4852
4853         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
4854         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
4855         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
4856         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
4857         Add iftarget clause for strongarm.
4858
4859 2002-05-06  Michael Snyder  <msnyder@redhat.com>
4860
4861         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
4862         (gdb_continue_to_end): Accept output from status wrapper.
4863         * gdb.base/ending-run.exp: Add case for output from status wrapper.
4864         Clean up fail messages to match pass messages.
4865
4866         Enable the "needs_status_wrapper" testsuite feature.
4867         * lib/gdb.exp (gdb_wrapper_init): New procedure.
4868         (gdb_compile): Conditionally call gdb_wrapper_init.
4869         * gdb.base/a2-run.exp: Recognize output from status wrapper.
4870         * gdb.c++/method.exp: Recognize output from status wrapper.
4871
4872 2002-05-06  Ben Elliston  <bje@redhat.com>
4873 From Graydon Hoare  <graydon@redhat.com>
4874
4875         * config/sid.exp: Include support for "rawsid" protocol.
4876
4877 2002-05-03  Jim Blandy  <jimb@redhat.com>
4878
4879         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
4880         * gdb.c++/hang3.C: New file.
4881
4882 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
4883
4884         * gdb.base/default.exp: Remove obsolete code.
4885         * gdb.c++/misc.exp: Ditto.  Update copyright.
4886         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
4887         * gdb.base/whatis.exp: Ditto.  Update copyright.
4888         * gdb.base/scope.exp: Ditto.  Update copyright.
4889         * gdb.base/ptype.exp: Ditto.  Update copyright.
4890         * gdb.base/printcmds.exp: Ditto.  Update copyright.
4891         * gdb.base/opaque.exp: Ditto.  Update copyright.
4892         * gdb.base/list.exp: Ditto.
4893         * gdb.base/funcargs.exp: Ditto.  Update copyright.
4894         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
4895         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
4896         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
4897         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
4898         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
4899         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
4900
4901 2002-05-02  Michael Snyder  <msnyder@redhat.com>
4902
4903         * gdb.base/watchpoint.exp: Add xscale target.
4904         * gdb.base/long_long.exp: Add xscale target.
4905         * gdb.base/default.exp: Add xscale target.
4906
4907 2002-05-01  Jim Blandy  <jimb@redhat.com>
4908
4909         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
4910         gdb.c++/hang.exp: New test.
4911
4912 2002-05-01  Fred Fish  <fnf@redhat.com>
4913
4914         * gdb.base/completion.exp: Handle completions of "./Make" for
4915         more than one completion possibility, as is the case when we
4916         build and test in the source tree.
4917
4918 2002-04-29  Anthony Green  <green@redhat.com>
4919
4920         * gdb.java/jmisc1.exp: New file.
4921         * gdb.java/jmisc2.exp: New file.
4922
4923 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
4924
4925         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
4926
4927 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
4928
4929         * gdb.base/help.exp: Change 'help status' to allow for target
4930         dependent output differences.
4931
4932 2002-04-22  Michael Chastain  <mec@shout.net>
4933
4934         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
4935
4936 2002-04-22  Michael Chastain  <mec@shout.net>
4937
4938         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
4939
4940 2002-04-17  David S. Miller  <davem@redhat.com>
4941
4942         * gdb.asm/sparc64.inc: New file.
4943         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
4944
4945 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
4946
4947         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
4948         instruction file directly into the build tree.  Clean up at end of
4949         test.
4950
4951 2002-04-18  David S. Miller  <davem@redhat.com>
4952
4953         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
4954         handle 64-bit platforms correctly.
4955         * gdb.base/maint.exp: Likewise.
4956
4957 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
4958
4959         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
4960         ``-fpic'' when compiling files comprising a shared library, but
4961         it does need additional linker flags in order to find shared
4962         libraries at run time.
4963
4964 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
4965
4966         * gdb.base/cvexpr.c (use): New function.
4967         (main): Invoke use() on all global variables to prevent
4968         some linkers from deleting these otherwise unused symbols.
4969
4970 2002-04-17  Michael Chastain  <mec@shout.net>
4971 From David S. Miller  <davem@redhat.com>
4972
4973         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
4974         handle 64-bit platforms correctly.
4975
4976 2002-04-12  Michael Snyder  <msnyder@redhat.com>
4977 From Jim Blandy  <jimb@redhat.com>
4978         * gdb.base/foo.c (foox): Remove section attribute; the linker
4979         script can handle this instead.
4980         * gdb.base/bar.c (barx): Same.
4981         * gdb.base/baz.c (bazx): Same.
4982         * gdb.base/grbx.c (grbxx): Same.
4983
4984         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
4985         manager doesn't automatically unmap overlays unnecessarily.
4986
4987 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
4988
4989         * gdb.base/ending-run.exp: Fix pattern for Mips targets
4990         stepping out of main.
4991
4992 2002-04-09  Michael Chastain  <mec@shout.net>
4993
4994         * gdb.c++/local.cc (main): Move call to marker1() inside nested
4995         scope so that the nested scope tests will make sense.
4996         * gdb.c++/local.exp: Write patterns that actually work with gcc
4997         (the HP patterns "were never known to work with gcc").
4998         Keep the old aCC patterns too.
4999
5000 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
5001
5002         * gdb.base/attach.exp: Correct target board test.
5003
5004 2002-04-08  Michael Chastain  <mec@shout.net>
5005
5006         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
5007         in a const method.  Add some xfail and fail cases for configurations
5008         that do not emit the "const ...".
5009
5010 2002-04-07  Michael Chastain  <mec@shout.net>
5011
5012         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
5013         Accept "A * const" and "const A * const" as type of "this".
5014         Fix spelling of getFunky throughout.  Make messages uniform.
5015
5016 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
5017
5018         Work around for PR gdb/285:
5019         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
5020
5021 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
5022
5023         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
5024         instructions file at run time instead of configure time.
5025         Sometimes we run the test in a directory that is not the one we
5026         configured in.
5027         * gdb.asm/configure.in: Delete creation of symlink.
5028         * gdb.asm/configure: Regenerate.
5029
5030 2002-04-05  J. Brobecker  <brobecker@gnat.com>
5031
5032         * gdb.gdb/xfullpath.exp: New test, to exercise the new
5033         xfullpath () function.
5034
5035 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
5036
5037         * gdb.asm/Makefile.in: Correct dependencies.
5038
5039         * gdb.asm/powerpc.inc: New file.
5040         * gdb.asm/asm-source.exp: Add PowerPC.
5041         * gdb.asm/configure.in: Likewise.
5042         * gdb.asm/configure: Regenerated.
5043
5044 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
5045
5046         * gdb.base/relocate.exp: New file.
5047         * gdb.base/relocate.c: New file.
5048
5049 2002-04-04  Fred Fish  <fnf@redhat.com>
5050
5051         * gdb.base/step-test.exp: Update comment regarding stopping in
5052         memcpy/bcopy calls inserted as part of the compiler runtime.
5053
5054 2002-04-04  Michael Snyder  <msnyder@redhat.com>
5055
5056         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
5057
5058 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
5059
5060         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
5061         (gdb_expect): Remove $notransfer hack.
5062
5063 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
5064
5065         * gdb.c++/classes.exp ("calling method for small class"): Match
5066         updated register output.
5067
5068 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
5069
5070         Fix PR gdb/452
5071         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
5072         when finished.  Make gdb_file_cmd send "exec-file" when
5073         appropriate.
5074
5075 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
5076
5077         * gdb.base/attach.exp: Remove extra setup_xfail.
5078
5079 2002-03-26  Michael Snyder  <msnyder@redhat.com>
5080
5081         * gdb.base/default.exp: Add tests for dump, append, and restore.
5082         * gdb.base/help.exp: Add tests for dump, append, and restore.
5083         * gdb.base/dump.exp: New file, test dump, append and restore.
5084         * gdb.base/dump.c: New file.
5085
5086 2002-03-27  Michael Snyder  <msnyder@redhat.com>
5087
5088         * gdb.base/help.exp: Modify expect strings to reflect
5089         clean-ups in help messages.
5090
5091 2002-03-26  Fred Fish  <fnf@redhat.com>
5092
5093         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
5094         have debugging info for those functions and the compiler uses them
5095         internally to copy structs around.
5096
5097 2002-03-26  Fred Fish  <fnf@redhat.com>
5098
5099         * gdb.base/list.exp: Revert the change made yesterday and add note
5100         about why we don't list the default lines for remote targets.
5101
5102 2002-03-25  Michael Snyder  <msnyder@redhat.com>
5103
5104         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
5105
5106 2002-03-25  Fred Fish  <fnf@redhat.com>
5107
5108         * gdb.base/list.exp: This test works on remote targets so remove
5109         the short circuit for remote targets.  Update copyright.
5110
5111 2002-03-25  Fred Fish  <fnf@redhat.com>
5112
5113         * gdb.base/attach.exp: Fix logic error that was suppressing this
5114         test for all non hppa*-*-hpux* targets, instead of the hp target.
5115         Move comments closer to the suppression point.  Also now need to
5116         check that we are running natively.
5117
5118 2002-03-22  Michael Snyder  <msnyder@redhat.com>
5119
5120         * gdb.base/default.exp: Add test for gcore.  Update copyright.
5121         * gdb.base/help.exp: Add test for gcore.  Update copyright.
5122
5123 2002-03-06  Fred Fish  <fnf@redhat.com>
5124
5125         * gdb.base/funcargs.c:  Remove extraneous ';' character.
5126         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
5127
5128 2002-03-04  Michael Chastain  <mec@shout.net>
5129
5130         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
5131         accommodate gcc v3 function signature.
5132         * gdb.mi/mi0-var-cmd-exp: Ditto.
5133
5134 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
5135
5136         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
5137         ``GNU/Linux'' or ``Linux kernel''
5138         * testsuite/gdb.threads/pthreads.c: Ditto.
5139
5140 2002-02-24  Michael Chastain  <mec@shout.net>
5141
5142         * gdb.threads/pthreads.c (thread1): Add a return statement.
5143         (thread2): Likewise.
5144         (foo): Likewise.
5145
5146 2002-02-23  Michael Chastain  <mec@shout.net>
5147
5148         * gdb.threads/linux-dp.c (philosopher): Add a return statement
5149         to placate gcc.
5150
5151 2002-02-23  Michael Chastain  <mec@shout.net>
5152
5153         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
5154         test "ptype bint".  The test passes on all my stabs configurations.
5155
5156 2002-02-21  Jim Blandy  <jimb@redhat.com>
5157
5158         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
5159         filename at a time, and watch for the ones we want to see.
5160
5161         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
5162         types of pointers to prototyped functions.
5163
5164 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
5165
5166         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
5167         signed, unsigned and straight char.
5168         (padding_char, padding_short, padding_int, padding_long,
5169         padding_long_long, padding_float, padding_double,
5170         padding_long_double): New global variables.
5171         (fill, fill_structs): New functions.
5172
5173         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
5174         for correctly sized writes.  Update copyright.
5175         (get_valueof): New procedure.
5176         (get_sizeof): Call get_valueof.
5177         (check_valueof): New procedure.
5178         (check_padding): New procedure.
5179
5180 2002-02-20  Michael Chastain  <mec@shout.net>
5181
5182         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
5183         to setup_xfail.  Document some of the remaining calls.
5184
5185 2002-02-18  Michael Chastain  <mec@shout.net>
5186
5187         * gdb.c++/userdef.exp: Update copyright year.
5188
5189 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
5190
5191         * gdb.c++/userdef.exp: Test overloaded operators properly.
5192         Remove xfails.
5193
5194 2002-02-14  Michael Snyder  <msnyder@redhat.com>
5195
5196         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
5197
5198 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
5199
5200         * gdb.base/a2-run.exp: Check for a remote target properly.
5201         * gdb.base/annota1.exp: Likewise.
5202         * gdb.base/list.exp: Likewise.
5203         * gdb.base/reread.exp: Likewise.
5204         * gdb.base/scope.exp: Likewise.
5205         * gdb.base/shlib-call.exp: Likewise.
5206         * gdb.base/term.exp: Likewise.
5207         * gdb.c++/annota2.exp: Likewise.
5208
5209 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
5210
5211         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
5212
5213 2002-02-10  Michael Chastain  <mec@shout.net>
5214
5215         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
5216         (call_after_alloca): Ditto.
5217
5218 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
5219
5220         * gdb.base/ending-run.exp: Guard "cont" test with
5221         gdb_skip_stdio_test.
5222
5223 2002-02-06  Jim Blandy  <jimb@redhat.com>
5224
5225         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
5226         from here...
5227         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
5228         To here.  Disable this test on non-HP platforms.  Add big comment.
5229
5230 2002-02-04  Michael Snyder  <msnyder@redhat.com>
5231
5232         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
5233           other than d10v and m32r.
5234
5235 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
5236
5237         * gdb.base/default.exp: Rewrite test patterns to reduce time
5238         taken to match them.
5239
5240 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
5241
5242         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
5243         Allow a start function above main.
5244         * gdb.threads/linux-dp.exp: Fix copyright date.
5245
5246 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
5247
5248         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
5249         (check_philosopher_stack): Check for manager thread before checking
5250         for a just-starting thread.
5251
5252 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
5253
5254         From Neil Booth <neil@daikokuya.demon.co.uk>:
5255         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
5256         warnings.
5257
5258 2002-01-21  Fred Fish  <fnf@redhat.com>
5259
5260         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
5261         not caller.
5262
5263 2002-01-21  Jim Blandy  <jimb@redhat.com>
5264
5265         * gdb.base/reread.exp: Check that GDB properly re-reads the
5266         executable file when it changes while no inferior is running.
5267
5268 2002-01-21  Fred Fish  <fnf@redhat.com>
5269
5270         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
5271         optionally accept the "shlib events" variation.
5272
5273 2002-01-21  Jim Blandy  <jimb@redhat.com>
5274
5275         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
5276         call `fflush' after every `printf', so that the output is produced
5277         at predictable points, regardless of whatever buffering does (or
5278         doesn't) take place.
5279         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
5280         at different points.
5281
5282 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
5283
5284         * gdb.c++/inherit.exp: Update copyright years.
5285         * gdb.c++/method.exp: Likewise.
5286
5287 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
5288
5289         * gdb.c++/classes.exp: Update for improved v3 support and skipping
5290         artificial methods/arguments.
5291         * gdb.c++/derivation.exp: Likewise.
5292         * gdb.c++/inherit.exp: Likewise.
5293         * gdb.c++/method.exp: Likewise.
5294         * gdb.c++/virtfunc.exp: Likewise.
5295
5296 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
5297
5298         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
5299         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
5300         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
5301         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
5302         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
5303         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
5304
5305 2002-01-17  Jim Blandy  <jimb@redhat.com>
5306
5307         * gdb.asm/asm-source.exp (info symbol): Take another shot at
5308         anchoring the pattern matching the entry point symbol's name.
5309
5310 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
5311
5312         * gdb.base/maint.exp: Update ``maint internal-error'' to match
5313         continue/quit query.  Update copyright.
5314
5315 2002-01-14  Michael Snyder  <msnyder@redhat.com>
5316
5317         * gdb.base/gcore.exp: Remove extra debugging output.
5318
5319 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
5320
5321         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
5322         for slightly dubious v2 mangled string.
5323
5324 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
5325
5326         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
5327
5328 2002-01-10  Jason Merrill  <jason@redhat.com>
5329
5330         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
5331
5332         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
5333         constructors.
5334         * gdb.c++/derivation.exp: Likewise.
5335         * gdb.c++/templates.exp: Likewise.
5336         * gdb.c++/virtfunc.exp: Likewise.
5337
5338 2002-01-10  Michael Snyder  <msnyder@redhat.com>
5339
5340         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
5341
5342 2002-01-08  Michael Snyder  <msnyder@redhat.com>
5343
5344         * gdb.base/gcore.exp: New test for generate-core-file command.
5345         * gdb.base/gcore.c: Testcase for above.
5346         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
5347
5348 2002-01-08  Jason Merrill  <jason@redhat.com>
5349
5350         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
5351
5352 2002-01-07  Fred Fish  <fnf@redhat.com>
5353
5354         * gdb.c++/overload.exp: Remove unconditional xfails for:
5355         print foo_instance1.overloadargs(1)
5356         print foo_instance1.overloadargs(1, 2)
5357         print foo_instance1.overloadargs(1, 2, 3)
5358         print foo_instance1.overloadargs(1, 2, 3, 4)
5359         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
5360         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
5361         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
5362         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
5363         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
5364         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
5365         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
5366         print foo_instance1.overload1arg()
5367         print foo_instance1.overload1arg((char)arg2)
5368         print foo_instance1.overload1arg((signed char)arg3)
5369         print foo_instance1.overload1arg((unsigned char)arg4)
5370         print foo_instance1.overload1arg((int)arg7)
5371         print foo_instance1.overload1arg((unsigned int)arg8)
5372         print foo_instance1.overload1arg((float)arg11)
5373         print foo_instance1.overload1arg((double)arg12)
5374
5375 2002-01-07  Michael Snyder  <msnyder@redhat.com>
5376
5377         * gdb.base/huge.exp: New test.  Print a very large target data object.
5378         (skip_huge_test): New test variable.  Define if you want to skip this
5379         test.  The test reads an 8 megabyte data object from the target, so it
5380         might be very time consuming on remote targets with a slow connection.
5381         * gdb.base/huge.c: New file.  Test case for above.
5382
5383 2002-01-07  Fred Fish  <fnf@redhat.com>
5384
5385         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
5386         g_instance.bfoo, and g_instance.cfoo.
5387
5388 Mon Jan  7 12:22:18 2002  Jeffrey A Law  (law@redhat.com)
5389
5390         * gdb.base/break.c (multi_line_if_conditional): New function.
5391         (multi_ilne_while_conditional): Likewise.
5392         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
5393         IF or WHILE condition puts the breakpoint at the start of
5394         the condition.
5395
5396         * gdb.base/selftest.exp (backtrace through signal handler): Remove
5397         hppa*-*-hpux* expected failure.
5398         * gdb.base/structs.exp (do_function_calls): Similarly.
5399
5400         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
5401         watchpoints.
5402
5403 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
5404
5405         Fix PR gdb/66.
5406         * gdb.base/structs.exp: Replace skip for a29k with skip for
5407         gdb,cannot_call_functions.
5408         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
5409         * gdb.base/callfuncs.exp: Ditto.
5410         * gdb.base/call-rt-st.exp: Ditto.
5411         * gdb.base/call-strs.exp: Ditto.
5412         * gdb.base/callfwmall.exp: Ditto.
5413         * gdb.base/scope.exp: Obsolete xfail a29k.
5414         * gdb.c++/misc.exp: Ditto.
5415         * gdb.c++/cplusfuncs.exp: Ditto.
5416         * gdb.base/ptype.exp: Ditto.
5417         * gdb.base/printcmds.exp: Ditto.
5418         * gdb.base/opaque.exp: Ditto.
5419         * gdb.base/list.exp: Ditto.
5420         * gdb.base/funcargs.exp: Ditto.
5421         * gdb.base/default.exp: Ditto.
5422
5423 2002-01-04  Michael Snyder  <msnyder@redhat.com>
5424
5425         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
5426         * gdb.base/maint.exp: Add tests for maint info sections options.
5427
5428 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
5429
5430         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
5431
5432 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
5433
5434         * gdb.asm/arm.inc: New file.
5435         * gdb.asm/asm-source.exp: Add arm targets.
5436         * gdb.asm/configure.in: Ditto.
5437         * gdb.asm/configure: Recreated from configure.in.
5438
5439 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
5440
5441         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
5442         with HP's compiler.
5443         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
5444         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
5445         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
5446         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
5447
5448         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
5449         either HP's compilers or GCC.
5450
5451         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
5452         a SIGBUS or SIGSEGV.
5453
5454         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
5455
5456         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
5457         can be compiled with either HP's compiler or GCC.
5458
5459         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
5460         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
5461         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
5462
5463         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
5464         to match current gdb output.  Update due to using auto-solib-limit
5465         for limiting instead of overloading auto-solib-add.
5466         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
5467         test program.
5468
5469         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
5470         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
5471         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
5472         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
5473         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
5474         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
5475         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
5476         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
5477         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
5478         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
5479         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
5480         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
5481         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
5482
5483         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
5484         a SIGTRAP to the inferior.
5485
5486 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
5487
5488         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
5489         Substitute call to target_link by call to gdb_compile.
5490
5491 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
5492
5493         * gdb.base/break.exp: Fix HP specific search string when testing
5494         backtracing in a called function.
5495
5496         * gdb.base/constvars.exp: Only set lang to C++ if we're
5497         compiling the test with HP's compilers.
5498         * gdb.base/volatile.exp: Similarly.
5499
5500 2001-12-19  Jim Blandy  <jimb@redhat.com>
5501
5502         * gdb.base/printcmds.exp: Expect the null character to be printed
5503         as '\0', and the '\013' to be printed as '\v'.
5504         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
5505         * gdb.base/setvar.exp: Same.
5506
5507 2001-12-17  Jim Blandy  <jimb@redhat.com>
5508
5509         * gdb.base/completion.exp: Rather than completing very long
5510         filenames, which can make the readline library produce output we
5511         don't recognize, cd to the directory first, and then complete
5512         using nice, short relative paths.
5513
5514         * gdb.base/completion.exp: On some systems, there is, in fact, a
5515         variable named `b' in scope, since GDB treats all static
5516         variables as being in scope.  So use `no_var_named_this'
5517         instead of `b'.
5518
5519         * gdb.base/corefile.exp: Recognize the message saying that GDB
5520         can't find the core file's registers as a failure.
5521
5522 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
5523
5524         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
5525         test expect string more specific.
5526
5527 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
5528
5529         * gdb.asm/asm-source.exp: Add support for xstormy16.
5530         * gdb.asm/configure.in: Ditto.
5531         * gdb.asm/configure: Rebuild.
5532         * gdb.asm/xstormy16.inc: New file.
5533
5534 2001-12-10  Fred Fish  <fnf@redhat.com>
5535
5536         * gdb.base/maint.exp: Update to match changes in type dumping code.
5537
5538 2001-12-10  Jim Blandy  <jimb@redhat.com>
5539
5540         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
5541         matching the entry point symbol's name at the beginning of the
5542         line.
5543
5544 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
5545
5546         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
5547         gdb.c++/inherit.exp, gdb.c++/method.exp,
5548         gdb.c++/namespace.exp, gdb.c++/templates.exp,
5549         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
5550         and class layout support.
5551
5552 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
5553
5554         * gdb.c++/classes.exp: Add test for static member function.
5555         * gdb.c++/misc.cc: Add class with static member function.
5556
5557 2001-12-07  Jim Blandy  <jimb@redhat.com>
5558
5559         If GDB says it can't find the struct the function returned, report
5560         those tests as `unsupported'.
5561         * gdb.base/call-rt-st.exp (print_struct_call): New function.
5562         Rewrite subsequent tests to use it.
5563
5564         If GDB says it can't find the struct the function returned, report
5565         those tests as `unsupported'.
5566         * gdb.base/structs.exp (call_struct_func): New function.
5567         (do_function_calls): Use call_struct_func to call the functions
5568         returning structs.
5569
5570         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
5571         whether functions are prototyped or not, so we can't possibly pass
5572         arguments to t_float_values2 properly.
5573
5574         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
5575         value of `timeout' for targets other than the mips*tx39-*.
5576
5577 2001-12-06  Michael Snyder  <msnyder@redhat.com>
5578
5579         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
5580         and detect whether the start symbol has a leading underscore.
5581
5582 2001-12-04  Jim Blandy  <jimb@redhat.com>
5583
5584         * gdb.base/completion.exp: Clarify indentation.
5585
5586 2001-12-03  Jim Blandy  <jimb@redhat.com>
5587
5588         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
5589         variables on the S/390, not `.word'.
5590
5591 2001-11-30  Jim Blandy  <jimb@redhat.com>
5592
5593         Add assembly-source tests for s390-ibm-linux.
5594         * gdb.asm/s390.inc: New file.
5595         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
5596         the S/390 architecture.
5597         * gdb.asm/configure: Regenerated.
5598
5599 2001-11-30  Michael Snyder  <msnyder@redhat.com>
5600
5601         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
5602         next, info source, info sources, info line, global and static
5603         variables, and static functions.
5604         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
5605         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
5606         * gdb.asm/asmsrc1.s: Add a static function and some variables.
5607         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
5608         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
5609         (gdbasm_leave): Restore frame pointer.
5610         (gdbasm_startup): Copy stack set-up from crt0.S.
5611
5612 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
5613
5614         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
5615         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
5616         to a local (non-static) variable. Copy tstruct.a to a static buffer
5617         and return a pointer to that buffer.
5618         * gdb.base/callfwmall.c (t_structs_a): Ditto.
5619
5620 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
5621
5622         * gdb.asm/configure.in: Fix recognition of ix86 target.
5623         * gdb.asm/configure: Regenerate.
5624
5625 2001-11-21  Michael Snyder  <msnyder@redhat.com>
5626
5627         * gdb.asm/sparc.inc: New file.
5628         * gdb.asm/asm-source.exp: Recognize sparc target.
5629         * gdb.asm/configure.in: Recognize sparc target.
5630         * gdb.asm/configure: Regenerate.
5631
5632 2001-11-21  Michael Snyder  <msnyder@redhat.com>
5633
5634         * gdb.asm/m32r.inc: New file.
5635         * gdb.asm/asm-source.exp: Recognize m32r target.
5636         * gdb.asm/configure.in: Recognize m32r target.
5637         * gdb.asm/configure: Regenerate.
5638
5639 2001-11-20  Michael Snyder  <msnyder@redhat.com>
5640
5641         * gdb.asm/i386.inc: New file.
5642         * gdb.asm/asm-source.exp: Recognize ix86 target.
5643         * gdb.asm/configure.in: Recognize ix86 target.
5644         * gdb.asm/configure: Regenerate.
5645
5646         * gdb.c++/namespace.exp: Fix quotes in output messages.
5647
5648 2001-11-14  Michael Snyder  <msnyder@redhat.com>
5649
5650         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
5651         qualifier in a type cast expression, to designate an address
5652         in the instruction space (Harvard architecture).
5653
5654 2001-11-13  Michael Snyder  <msnyder@redhat.com>
5655
5656         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
5657         Tests for expressions using 'const' and 'volatile'.
5658
5659 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
5660
5661         * gdb.asm/asm-sources.exp: Allow defining linker flags.
5662
5663 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
5664
5665         * lib/mi-support.exp (mi_run_to_helper): Move comments
5666         outside of gdb_expect.
5667
5668 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
5669
5670         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
5671         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
5672         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
5673         mi0_run_to): New functions.
5674         * gdb.mi/mi-simplerun.exp: Use them.
5675         * gdb.mi/mi0-simplerun.exp: Likewise.
5676         * gdb.mi/mi-var-cmd.exp: Likewise.
5677         * gdb.mi/mi0-var-cmd.exp: Likewise.
5678
5679 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
5680
5681         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
5682         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
5683
5684 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
5685
5686         * gdb.base/restore.exp: Include $expected value in restored test
5687         message.
5688
5689 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
5690
5691         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
5692         implemented.
5693
5694 2001-11-08  Michael Snyder  <msnyder@redhat.com>
5695
5696         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
5697         Add pass/fail message for stop at breakpoint in call dummy function.
5698
5699 2001-11-07  Michael Snyder  <msnyder@redhat.com>
5700
5701         * gdb.c++/templates.exp (test_template_breakpoints):
5702         If we get an overload menu, but it does not match what
5703         we expect, we still need to issue the "cancel" command.
5704         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
5705         making the whitespace optional.  Argument for "new" may be
5706         "unsigned" as well as "unsigned int/long".
5707         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
5708         making the whitespace optional.  Also replace "(void) with
5709         "((void|)), making the keyword "void" optional.
5710         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
5711         making the whitespace optional.  Also replace "(void) with
5712         "((void|)), making the keyword "void" optional.
5713         * gdb.base/callfuncs.c (t_float_values): This function must
5714         _not_ be prototyped, and the following function (t_float_values2)
5715         must be prototyped (if the compiler supports it), so that GDB
5716         can be tested against both cases.  Usually one case involves
5717         promotion of float to double, while the other does not.
5718         * gdb.base/callfwmall.c: Ditto.
5719         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
5720         includes a stack frame for "start".
5721
5722 2001-11-05  Jim Blandy  <jimb@redhat.com>
5723
5724         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
5725         pointers are 32 bits long, and that offsets of relocs are always
5726         stored in the data (REL-style), and not in the reloc entry itself
5727         (RELA-style).
5728         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
5729         stabs.
5730
5731 2001-11-01  Michael Snyder  <msnyder@redhat.com>
5732
5733         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
5734         and regular expression operators by using quoting.
5735
5736 2001-10-31  Michael Snyder  <msnyder@redhat.com>
5737
5738         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
5739         depending on what the symbol table contains.
5740         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
5741         the output of the ptype command.  Similarly, accept both "const &"
5742         and "const&".
5743
5744 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
5745
5746         * gdb.base/miscexprs.c (main): Add usage of preprocessor
5747         symbol `STORAGE' to allow to choose the storage class of
5748         the local datastructures.
5749         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
5750         compiler directive.
5751
5752 2001-10-30  Michael Snyder  <msnyder@redhat.com>
5753
5754         * gdb.base/jump.exp: Allow it to run for all targets.
5755
5756 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
5757
5758         * gdb.base/call-ar-st.c (print_double_array): Match for loop
5759         with new double_array size.
5760         (main): Change storage class of all local variables to static.
5761         Reduce size of double_array to 9.
5762         * gdb.base/call-ar-st.exp:  Increase timeout value.
5763         Change expected output for double array to match new size in
5764         call-ar-st.c.
5765
5766 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
5767
5768         * gdb.base/ending-run.exp: Create identical output when passing
5769         `step to end of run' case.  Add regular expression branch satisfying
5770         Stormy16 target.
5771
5772 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
5773
5774         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
5775         that we catch the expected failure under Linux/x86.
5776
5777 2001-10-29  Orjan Friberg  <orjanf@axis.com>
5778
5779         * gdb.base/setvar.exp: Escape curly braces.
5780         * gdb.stabs/weird.exp: Ditto.
5781
5782 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
5783
5784         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
5785         * gdm.mi/mi0-hack-cli.exp: Likewise.
5786
5787 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
5788
5789         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
5790         messages.
5791
5792 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
5793
5794         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
5795         checking MI enabled.
5796
5797 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
5798
5799         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
5800
5801 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
5802
5803         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
5804         if gdb child process crashes, just signal an error.
5805
5806 2001-10-02  Jim Blandy  <jimb@redhat.com>
5807
5808         * lib/gdb.exp (test_xfail_format): Simplify.
5809
5810         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
5811         front of the variable name `format'.  Simplify `if'.
5812
5813 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
5814
5815         * gdb.threads/pthreads.exp: Wait for output and delay
5816         before sending ^C.
5817
5818 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
5819
5820         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
5821         some incorrect output instead of timing out.
5822         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
5823
5824 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
5825
5826         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
5827         check to allow additional `int'.
5828
5829 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
5830
5831         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
5832         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
5833
5834 2001-09-27  Michael Snyder  <msnyder@redhat.com>
5835
5836         * lib/gdb.exp (test_debug_format): New proc.
5837         (setup_xfail_format): Use new proc test_debug_format.
5838         * gdb.base/constvars.exp (local_compiler_xfail_check): New
5839         proc; use new service proc test_debug_format.
5840         Replace all other "gcc_compiled" tests with this test.
5841         * gdb.base/volatile.exp (local_compiler_xfail_check): New
5842         proc; use new service proc test_debug_format.
5843         Replace all other "gcc_compiled" tests with this test.
5844
5845 2001-09-27  Michael Snyder  <msnyder@redhat.com>
5846
5847         * gdb.base/cvexpr.exp: New file.
5848         * gdb.base/cvexpr.c: New file
5849         Test for expressions using const and volatile keywords.
5850
5851 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
5852
5853         * gdb.base/constvars.exp: Check for different orders of keywords
5854         and additional "int" strings in output.
5855
5856 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
5857
5858         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
5859         responses from "help maint".
5860
5861 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
5862
5863         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
5864         to localhost:NNN instead of :NNN, in case Xvfb is listening
5865         only on TCP.
5866
5867 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
5868
5869         * gdb.base/recurse.exp: When checking leaving the watchpoint
5870         scope, recognize when gdb is in function's epilogue and pass.
5871
5872 2001-09-18  Keith Seitz  <keiths@redhat.com>
5873
5874         * lib/insight-support.exp (_gdbtk_export_target_info): Add
5875         support for running tests against sid targets.
5876         (gdbtk_done): Ditto.
5877
5878 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
5879
5880         * gdb.base/ending-run.c (main): Set stdout buffersize
5881         to the same reasonable value for any target.
5882         * gdb.base/ending-run.exp: Add a regular expression
5883         to make testsuite happy on Sanyo Stormy16 target.
5884
5885 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
5886
5887         * gdb.base/display.c (do_loops): Add float variable `f'.
5888         Increment f in loop.
5889         * gdb.base/display.exp: Increment timeout by 60 seconds.
5890         Change float display test to use variable `f'.
5891
5892 2001-09-17  Jim Blandy  <jimb@redhat.com>
5893
5894         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
5895         overflowing the limited breakpoint tables on some ROM monitors
5896         (like the ROM68K).
5897
5898 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
5899
5900         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
5901         the "-ac" (disable access control) flag.
5902
5903 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
5904
5905         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
5906         ints.
5907
5908 2001-08-30  Keith Seitz  <keiths@redhat.com>
5909
5910         * lib/gdb.exp: Move all insight-related functionality into
5911         separate file.
5912         * lib/insight-support.exp: New file.
5913
5914 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
5915
5916         * config/sid.exp (sid_start): Never set sid verbosity; disable
5917         expect_background {} that consumed its stdout; tolerate </dev/null.
5918         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
5919
5920 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
5921
5922         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
5923         CLI jump command to start it.
5924         (mi_run_to_main): Fail immediatly when unexpected output.
5925
5926 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
5927
5928         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
5929         beginning of function.  Fix PR gdb/191.
5930
5931 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
5932
5933         * config/sid.exp (sid_start): Don't warn if we cannot figure out
5934         what to force sid endianness to.
5935
5936 2001-08-15  Keith Seitz  <keiths@redhat.com>
5937
5938         * lib/gdb.exp (gdbtk_start): Don't set environment
5939         variables for TCL_LIBRARY and friends. Insight will
5940         now figure these out for itself.
5941
5942 2001-08-02  Michael Snyder  <msnyder@redhat.com>
5943
5944         * gdb.base/completion.exp: Remove the symbol "a64l" from
5945         the expect string; this is target-specific, and not related
5946         to what is being tested.
5947
5948 2001-08-02  Dave Brolley  <brolley@redhat.com>
5949
5950         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
5951
5952 2001-07-25  Michael Snyder  <msnyder@redhat.com>
5953
5954         * gdb.base/consecutive.exp: New file.  Test stepping over
5955         breakpoints on consecutive instructions.
5956         * gdb.base/consecutive.c: New file.
5957
5958         * gdb.base/call-rt-st.exp: Use double-backslash to quote
5959         curly braces in regular expressions.
5960
5961 2001-07-25  Michael Snyder  <msnyder@redhat.com>
5962
5963         * gdb.base/ending-run.exp: Accept "Program exited normally" as
5964         legitimate output from stepping out of main.
5965
5966 2001-07-22  Keith Seitz  <keiths@redhat.com>
5967
5968         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
5969         the empty string, do not run the tests.
5970
5971 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5972
5973         * gdb.base/long_long.exp: Detect size of pointer.  Take into
5974         account 2-byte pointers when testing for p/a results.
5975
5976 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5977
5978         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
5979         and defined to 1K for m68hc11.
5980         (random_data): Reduce table to 1K for embedded platforms (68hc11).
5981         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
5982         (sizeof_random_data): New variable to tell the size of the data table;
5983         don't test past this size; always run to main.
5984
5985 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5986
5987         * gdb.base/return2.exp: return of long long and double fails for
5988         68HC11; don't execute these tests on that platform.
5989         * gdb.base/return.exp: Return of a double fails for 68hc11.
5990
5991 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5992
5993         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
5994         tests that print a float.
5995         * call-rt-st.exp: Likewise.
5996
5997 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
5998
5999         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
6000         running this test on Linux.
6001
6002 2001-06-24  Michael Chastain  <chastain@redhat.com>
6003
6004         * gdb.base/arithmet.exp: Remove some tests to make all test names
6005         unique.
6006
6007 2001-07-03  Michael Snyder  <msnyder@redhat.com>
6008
6009         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
6010         the output of the ptype command.
6011
6012 2001-07-02  Michael Snyder  <msnyder@redhat.com>
6013
6014         * gdb.base/completion.exp: Don't assume that break.c is the only
6015         source file that may contain functions named "marker".
6016         * gdb.base/corefile.exp: Quote the curly braces in regexp.
6017
6018 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
6019
6020         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
6021         of files to delete.
6022
6023         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
6024         * gdb.disasm/h8300s.exp: New file.
6025         gdb.disasm/h8300s.s: Likewise.
6026
6027 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
6028
6029         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
6030         empty breakpoint tables.
6031
6032 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
6033
6034         * lib/mi-support.exp: Update args=... part of stop-reason
6035         patterns. Accept either a list or a tuple.
6036
6037 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
6038
6039         * lib/mi-support.exp: Remove local emacs variable defining
6040         change-log-default-name.
6041
6042 2001-06-22  Michael Chastain  <chastain@redhat.com>
6043
6044         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
6045         This is operationally compatible with the previous version.
6046
6047 2001-06-13  Jim Blandy  <jimb@redhat.com>
6048
6049         * lib/gdb.exp (gdb_test): Doc fix.
6050
6051 2001-06-10  Michael Chastain  <chastain@redhat.com>
6052
6053         * gdb.base/exprs.exp: Remove a duplicate test.
6054
6055 2001-06-06  Jim Blandy  <jimb@redhat.com>
6056
6057         * gdb.base/return2.exp (main): Use values to test float and double
6058         returns that are not NaN's, to avoid being confused by IEEE
6059         comparison rules.
6060
6061 2001-06-04  Michael Snyder  <msnyder@redhat.com>
6062
6063         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
6064         non-zero if control_c fails.  Terminate the test on failure,
6065         rather than wait for 12 more tests to time out.
6066
6067 2001-06-06  Jim Blandy  <jimb@redhat.com>
6068
6069         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
6070         Don't forget to match the GDB prompt.
6071
6072         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
6073
6074 2001-06-04  Jim Blandy  <jimb@redhat.com>
6075
6076         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
6077         command.
6078
6079 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
6080
6081         * gdb.base/annota1.exp (info break): Match four or more spaces
6082         after "Address".
6083
6084 2001-05-31  Michael Chastain  <chastain@redhat.com>
6085
6086         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
6087         (dm_type_int_star): Likewise.
6088         (dm_type_long_star): Likewise.
6089         (dm_type_void_star): Likewise.
6090
6091 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
6092
6093         * gdb.base/completion.exp (INPUTRC): Set this environment variable
6094         to a known value in order to get consistent results regardless
6095         of the setting of INPUTRC or the presence or contents of .inputrc.
6096
6097 2001-05-24  Michael Snyder  <msnyder@redhat.com>
6098
6099         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
6100         Don't require that the main thread and the manager thread are the
6101         first in the list.
6102
6103         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
6104         debugging.  If test fails, issue an "unsupported" not a "fail".
6105
6106 2001-05-24  Jim Blandy  <jimb@redhat.com>
6107
6108         Don't assume that short is shorter than int.
6109         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
6110         assume that shorts are smaller than ints.  On a 16-bit machine,
6111         this isn't true.
6112         ("print unsigned char == (~0)"): Add test that verifies that ~0,
6113         an int, is not equal to ~0 stored in an unsigned char.  This tests
6114         the same thing that the previous test meant to, but works on
6115         16-bit machines, too.
6116         ("print unsigned char != (~0)"): Same test, complemented.
6117
6118 2001-05-24  Michael Snyder  <msnyder@redhat.com>
6119
6120         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
6121         test for (full_coverage == 0).  This makes the test run faster,
6122         and prevents dejagnu getting out of step.
6123
6124 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
6125
6126         * gdb.base/finish.exp (finish_void): Revise pattern for
6127         stopping on the call statement to not permit stopping at
6128         the start of the instructions comprising the call sequence.
6129
6130 2001-05-19  Michael Chastain  <chastain@redhat.com>
6131
6132         * gdb.base/callfuncs.exp: Make all test names unique.
6133         * gdb.base/commands.exp: Make all test names unique.
6134         * gdb.base/condbreak.exp: Make all test names unique.
6135         * gdb.base/dbx.exp: Make all test names unique.
6136         * gdb.base/default.exp: Make all test names unique.
6137         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
6138         and TIMEOUT messages to their corresponding PASS message.
6139         * gdb.base/ending-run.exp: Make all test names unique.
6140         * gdb.base/long_long.exp: Remove duplicate test.
6141
6142 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
6143
6144         * gdb.base/finish.exp (finish_void): Allow "finish" command to
6145         stop on the call statement as well as the statement after the
6146         call.
6147
6148 2001-05-21  Michael Snyder  <msnyder@redhat.com>
6149
6150         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
6151
6152 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
6153
6154         * gdb.base/completion.exp: Revamp test. Make it execute on all
6155         platforms.
6156
6157 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
6158
6159         * config/gdbserver.exp (gdb_load): Handle the case
6160         in which the arguments to gdbserver are given in the
6161         baseboard configuration file.
6162         Also handle the case in which the server needs to do a
6163         load.
6164
6165 2001-05-07  Keith Seitz <keiths@cygnus.com>
6166
6167         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
6168         set up the display for testing.
6169         (gdbtk_start): Convert all paths to paths that tcl will like.
6170         Export target information to environment.
6171         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
6172         necessary.
6173         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
6174         (to_tcl_path): New proc to convert a given pathname into
6175         a path acceptible as an argument to a tcl command.
6176         (_gdbtk_export_target_info): New proc to export target info
6177         into the environment for gdbtk testing.
6178         (gdbtk_done): New proc to signal end-of-test.
6179
6180 2001-05-06  Jim Blandy  <jimb@redhat.com>
6181
6182         * restore.c: Make the code of caller0 correspond to its comment.
6183
6184 2001-05-03  Michael Snyder  <msnyder@redhat.com>
6185
6186         * config/sid.exp (gdb_target_sid): Check for error messages.
6187         On error or timeout, don't make expect exit (which will terminate
6188         all subsequent tests); instead just make gdb exit.
6189         (gdb_load): Check for error messages.  On error or timeout,
6190         return a negative value.
6191
6192 2001-04-24  Jim Blandy  <jimb@redhat.com>
6193
6194         * gdb.c++/templates.exp: If we see the prompt for the overload
6195         list, but we haven't recognized any of the longer patterns,
6196         arrange for this test to fail, not hang.
6197
6198         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
6199         variations.
6200
6201 2001-04-22  Michael Chastain  <chastain@redhat.com>
6202
6203         * gdb.c++/local.exp: Use the 'runto' library function.
6204         * gdb.c++/namespace.exp: Likewise.
6205         * gdb.c++/overload.exp: Likewise.
6206
6207 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
6208
6209         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
6210         * gdb.base/step-line.exp: New file.  Test step/next in presence of
6211         #line directives.
6212         * gdb.base/step-line.c: New file.  Test program for the above.
6213         * gdb.base/step-line.inp: New file.  We pretend that this file has
6214         been transformed by some other tool into step-line.c.
6215
6216 2001-03-21  Jim Blandy  <jimb@redhat.com>
6217
6218         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
6219         unmangled operator names.
6220
6221 2001-03-20  Jim Blandy  <jimb@redhat.com>
6222
6223         * gdb.threads/linux-dp.exp: Recognize an additional message
6224         generated by GDB when it doesn't understand how to debug threads
6225         on the target system.
6226
6227 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
6228
6229         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
6230
6231 2001-03-12  Michael Chastain  <chastain@redhat.com>
6232
6233         * gdb.c++/derivation.exp: Use the 'runto' library function.
6234
6235 2001-03-12  Michael Chastain  <chastain@redhat.com>
6236
6237         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
6238
6239 2001-02-24  Michael Chastain  <chastain@redhat.com>
6240
6241         * gdb.c++/ref-types.exp: Change handwritten code to library
6242         function 'runto'.
6243
6244 2001-03-16  Orjan Friberg  <orjanf@axis.com>
6245
6246         * gdb.base/signals.exp: Set count to 0 explicitly.
6247
6248 2001-03-15  Mark Salter  <msalter@redhat.com>
6249
6250         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
6251         (gdb_target_monitor): Add check of gdb_target_cmd return value.
6252         (gdb_load): Add support for additional target_info: gdb_download_size
6253         and gdb_load_timeout.
6254
6255 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
6256
6257         * gdb.base/annota1.exp: Move test of isnative to earlier in the
6258         file -- to prevent failing when the compile fails but we have no
6259         intention of running the tests anyway.
6260
6261         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
6262         tests if set.
6263
6264         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
6265         integers.
6266
6267         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
6268         * gdb.c++/namespace.exp: Ditto.
6269
6270 2001-03-07  Orjan Friberg  <orjanf@axis.com>
6271
6272         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
6273         * gdb.base/pointers.exp: Relax pattern match of decimals.
6274
6275 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
6276
6277         * Makefile.in, config/abug.exp, config/cfdbug.exp,
6278         config/cpu32bug.exp, config/dve.exp, config/est.exp,
6279         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
6280         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
6281         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
6282         config/sh.exp, config/sid.exp, config/slite.exp,
6283         config/sparclet.exp, config/udi.exp, config/unknown.exp,
6284         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
6285         config/vxworks.exp, config/vxworks29k.exp,
6286         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
6287         gdb.base/all-bin.exp, gdb.base/annota1.exp,
6288         gdb.base/arithmet.exp, gdb.base/assign.exp,
6289         gdb.base/async.exp, gdb.base/attach.exp,
6290         gdb.base/bitfields.exp, gdb.base/bitops.exp,
6291         gdb.base/break.exp, gdb.base/call-ar-st.exp,
6292         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
6293         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
6294         gdb.base/commands.exp, gdb.base/completion.exp,
6295         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6296         gdb.base/constvars.exp, gdb.base/corefile.exp,
6297         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
6298         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
6299         gdb.base/ending-run.exp, gdb.base/environ.exp,
6300         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6301         gdb.base/finish.exp, gdb.base/foll-exec.exp,
6302         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
6303         gdb.base/funcargs.exp, gdb.base/help.exp,
6304         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
6305         gdb.base/logical.exp, gdb.base/long_long.exp,
6306         gdb.base/maint.exp, gdb.base/mips_pro.exp,
6307         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
6308         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
6309         gdb.base/pointers.exp, gdb.base/printcmds.exp,
6310         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
6311         gdb.base/regs.exp, gdb.base/relational.exp,
6312         gdb.base/remote.exp, gdb.base/reread.exp,
6313         gdb.base/restore.exp, gdb.base/return2.exp,
6314         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
6315         gdb.base/selftest.exp, gdb.base/setshow.exp,
6316         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
6317         gdb.base/sigall.exp, gdb.base/signals.exp,
6318         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
6319         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6320         gdb.base/step-test.exp, gdb.base/structs.c,
6321         gdb.base/structs.exp, gdb.base/structs2.exp,
6322         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
6323         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
6324         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
6325         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6326         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
6327         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
6328         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
6329         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
6330         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
6331         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
6332         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
6333         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
6334         gdb.fortran/types.exp, gdb.java/jmisc.exp,
6335         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6336         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
6337         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6338         gdb.trace/circ.exp, gdb.trace/collection.exp,
6339         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6340         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6341         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
6342         gdb.trace/report.exp, gdb.trace/save-trace.exp,
6343         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6344         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6345         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
6346         notices.
6347
6348 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
6349
6350         * gdb.base/varargs.c (find_max_double): Fix printf format string:
6351         first arg is int not float.
6352
6353 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
6354
6355         * gdb.base/reread.exp: Unsupported for non-native targets;
6356         doesn't work for remote debugging.
6357
6358 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
6359
6360         From  Drew Moseley  <dmoseley@redhat.com>
6361         * gdb.base/ending-run.exp: Properly handle the BSP state when
6362         stepping past the end of main.
6363
6364 2001-02-19  John Moore  <jmoore@redhat.com>
6365
6366         * gdb.base/commands.exp (infrun_breakpoint_command_test):
6367         Converted HPUX fix for non-expected items following multiple
6368         step commands into general solution for all platforms.
6369
6370 2001-02-18  Michael Chastain  <chastain@redhat.com>
6371
6372         * gdb.c++/classes.exp (do_tests): Change runto statements
6373         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
6374         statements demangler agnostic.
6375         * gdb.c++/virtfunc.exp (do_tests): Likewise.
6376         (gdb_virtfunc_restart): Likewise.
6377
6378 2001-02-14  Michael Chastain  <chastain@redhat.com>
6379
6380         * gdb.c++/inherit.exp (do_tests): Change runto statements
6381         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
6382         statements demangler agnostic.
6383
6384 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
6385
6386         * gdb.threads/pthreads.exp: Unify pass/fail messages for
6387         ``continue to bkpt at common_routine in thread 2'' and ``stopped
6388         before calling common_routine 15 times'' tests.
6389
6390 2001-02-11  Michael Chastain  <chastain@redhat.com>
6391
6392         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
6393         Helps the test script figure out which demangler is in use.
6394         (dm_type_foo_ref): Ditto.
6395         (dm_type_int_star): Ditto.
6396         (dm_type_long_star): Ditto.
6397         (dm_type_unsigned_int): Ditto.
6398         (dm_type_void): Ditto.
6399         (dm_type_void_star): Ditto.
6400         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
6401         Probe the gdb demangler and set variables to accommodate
6402         formatting differences.
6403         (info_func_regexp): New function.  Same as info_func, but
6404         matches against a regexp.
6405         (info_func): Match against a literal string.
6406         (print_addr_2): New function.  Match against a literal string,
6407         which can be different from the input to gdb.
6408         (print_addr): Simply call print_addr_2 with the same argument twice.
6409         (test_lookup_operator_functions): Use demangler formatting variables.
6410         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
6411         the tests in the same order as the C++ class declaration.
6412         (test_paddr_operator_functions): Ditto.
6413         (test_paddr_overloaded_functions): Ditto.
6414         (test_paddr_hairy_functions): Use demangler formatting variables.
6415         Add reference to gdb/19 for related tests.
6416         (do_tests): Call probe_demangler.
6417
6418 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
6419
6420         * gdb.c++/templates.cc (printf): Remove unused function definition.
6421
6422 2001-01-26  Felix Lee  <flee@redhat.com>
6423
6424         * sid.exp (sid_exit): Pass host, not target, to remote_close.
6425
6426 2001-01-25  matthew green  <mrg@redhat.com>
6427
6428         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
6429         up sid.
6430         (sid_exit): Call `remote_pop_conn' after GDB is gone.
6431
6432 2001-01-25  matthew green  <mrg@redhat.com>
6433
6434         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
6435         Deprecate $sid_spawn_id.
6436         (sid_exit): Remove code necessary only for `spawn.'
6437
6438 2001-01-25  matthew green  <mrg@redhat.com>
6439
6440         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
6441
6442 2001-01-28  Michael Chastain  <chastain@redhat.com>
6443
6444         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
6445         to call when tests fail.  It takes gdb out of the overloaded
6446         function choice menu back to the main prompt, so that the test
6447         program stays synchronized.
6448         (set_bp_overloaded): New proc to collect all the common
6449         code for setting a breakpoint on an overloaded name.  Calls
6450         take_gdb_out_of_choice_menu when needed.
6451         (menu_overload1arg): New variable to collect the repeated
6452         instances of the expected menu for an overloaded name.  Change
6453         the regular expression to handle changes in g++ type encoding:
6454         "void" can be either "void" or "", and "unsigned int" can be
6455         either "unsigned int" or "unsigned".
6456         (continue_to_bp_overloaded): Change regular expressions to handle
6457         changes in g++ type encoding.
6458         (no proc): Call take_gdb_out_of_choice_menu when needed.
6459         Remove redundant calls to "info break".  Accept either "canceled"
6460         or "cancelled".  Change regular expressions in "info break"
6461         calls to handle changes in g++ type encoding.  Give all tests
6462         unique strings.
6463
6464 2001-01-17  Ben Elliston  <bje@redhat.com>
6465
6466         * config/sid.exp: New file.
6467
6468 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
6469
6470         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
6471
6472 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
6473
6474         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
6475         Add a RE to accept a non-ascii char if one is ever presented.
6476
6477 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
6478
6479         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
6480
6481 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
6482
6483         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
6484         in regexp.  One '\' does not suffice on Linux.
6485
6486 2000-12-09  Michael Chastain  <chastain@redhat.com>
6487
6488         * gdb.base/break.exp (test_clear_command): Use a marker function
6489         rather than 'main' for the test function.  Also move this
6490         test to an execution point where the marker function names are
6491         guaranteed to be bound to functions.  (Executing tests after a
6492         'finish' from main runs into name conflicts with local names
6493         in __libc_start_main).
6494
6495 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
6496
6497         * gdb.base/finish.exp: New test for gdb's "finish" command.
6498         * gdb.base/return2.exp: New test for gdb's "return" command.
6499         * gdb.base/return2.c: New source file for above.
6500
6501 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
6502
6503         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
6504         * gdb.base/miscexprs.exp: Ditto.
6505         * gdb.base/pointers.exp:  Ditto.
6506         * gdb.c++/derivation.exp: Ditto.
6507         * gdb.c++/local.exp:      Ditto.
6508         * gdb.c++/namespace.exp:  Ditto.
6509         * gdb.c++/overload.exp:   Ditto.
6510         * gdb.c++/ref-types.exp:  Ditto.
6511
6512 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
6513
6514         * gdb.base/constvars.exp: Test result of "up" command.
6515         * gdb.base/miscexprs.exp: Ditto.
6516         * gdb.base/pointers.exp:  Ditto.
6517         * gdb.base/scope.exp:     Ditto.
6518         * gdb.c++/derivation.exp: Ditto.
6519         * gdb.c++/local.exp:      Ditto.
6520         * gdb.c++/namespace.exp:  Ditto.
6521         * gdb.c++/overload.exp:   Ditto.
6522         * gdb.c++/ref-types.exp:  Ditto.
6523
6524 2000-11-22  Michael Chastain  <chastain@redhat.com>
6525
6526         * mips_pro.exp: Accept either "middle -> top -> main" or
6527         "middle -> main" in the backtrace, because gcc can optimize
6528         tail calls to jumps.  Remove setup_xfail for the hppa case.
6529         Add a comment with the original warning messages from PR 3016,
6530         which was filed in 1993, to preserve them for posterity.
6531
6532 2000-11-17  Nick Duffek  <nsd@redhat.com>
6533
6534         * lib/gdb.exp (gdb_test): Override timeout with board info.
6535
6536 2000-11-17  Nick Duffek  <nsd@redhat.com>
6537
6538         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
6539         the second kill and detach messages.
6540
6541 2000-11-17  Nick Duffek  <nsd@redhat.com>
6542
6543         * configure.in: Add AC_EXEEXT.
6544         * configure: Regenerate.
6545         * Makefile.in (just-check): Export EXEEXT.
6546         * lib/gdb.exp ($EXEEXT): Import from environment.
6547         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
6548         expect "maint dump-me" on Cygwin.
6549         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
6550         $EXEEXT.
6551
6552 2000-11-17  Nick Duffek  <nsd@redhat.com>
6553
6554         * gdb.base/break.exp: Test backtrace and finish from called
6555         function on all platforms, not just HP-UX.
6556
6557 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
6558
6559         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
6560         code from gdb_target_monitor, so it can be used independantly
6561         for gdbserver.  Also comment out an unnecessary PUTS.
6562
6563 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
6564
6565         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
6566         * gdb.base/corefile.exp: Expect the message "Program is being
6567         debugged already" when we send the "corefile" command, since
6568         the preceeding gdb_load may have connected gdb to a remote target.
6569         * gdb.base/display.exp: Disable hardware watchpoints if new
6570         board info variable "no_hardware_watchpoints" is true.
6571         Replace single-letter commands with more readable ones.
6572         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
6573         if new board info variable "no_hardware_watchpoints" is true.
6574         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
6575         to see if stdio (printf) testing is possible.
6576         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
6577         board info variable "no_hardware_watchpoints" is true.  Use new
6578         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
6579
6580 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
6581
6582         From Orjan Friberg  <orjanf@axis.com>:
6583         * gdb.base/printcmds.exp: Escape curly braces followed by a number
6584         in array print pattern match.
6585
6586 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
6587
6588         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
6589         spelling "cancelled" to U.S. spelling "canceled" to match changes
6590         made to gdb.
6591         * gdb.c++/ovldbreak.exp: Ditto.
6592
6593 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
6594
6595         * gdb.base/callfuncs.c (main):  Moved to end of file, call
6596         t_double_values to initialize the FPU before inferior calls are made.
6597         * gdb.base/callfuncs.exp:  Test for register preservation after calling
6598         inferior functions.  Add tests for continuining, finishing and
6599         returning from a stop in a call dummy.
6600
6601 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
6602
6603         * gdb.base/commands.exp: Break up long lines, and re-indent.
6604
6605 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
6606
6607         * config/gdbserver.exp:  Rewritten from the ground up, to make it
6608         compatible with the current dejagnu tree, and to make it work with
6609         the new "gdbserver" in libremote.
6610
6611 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
6612
6613         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
6614         * gdb.base/varargs.exp: Skip entire test if no printf support.
6615         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
6616         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
6617
6618 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
6619
6620         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
6621         no floating point support.
6622         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
6623         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
6624         * gdb.base/call-rt-st.exp: Ditto.
6625         * gdb.base/call-strs.exp: Ditto.
6626
6627 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
6628
6629         * gdb.base/sizeof.c: include <stdio.h>.
6630
6631         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
6632         'finish', otherwise uncaptured gdb_prompt would potentially
6633         throw remaining test points out of sync.
6634
6635 2000-07-26  Scott Bambrough <scottb@netwinder.org>
6636
6637         * gdb.base/recurse.exp: Run tests for all targets.
6638         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
6639         gnu-oldld case on ARM.
6640         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
6641         for ARM targets.
6642
6643 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
6644
6645         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
6646         * gdb.java/configure: Rebuild.
6647
6648 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
6649
6650         * gdb.java/jv-exp.exp: New file.
6651
6652 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
6653
6654         * configure: Rebuilt.
6655         * configure.in (configdirs): Add gdb.java.
6656         * gdb.java/jmisc.java: New file.
6657         * gdb.java/jmisc.exp: New file.
6658         * gdb.java/Makefile.in: New file.
6659         * gdb.java/configure: Rebuilt.
6660         * gdb.java/configure.in: New file.
6661         * lib/java.exp: New file.
6662
6663 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
6664
6665         * gdb.base/exprs.exp: Test casts to a pointer including over and
6666         underflow.
6667
6668 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
6669
6670         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
6671         and the compilers sizes.
6672
6673 2000-07-09  Nick Duffek  <nsd@redhat.com>
6674
6675         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
6676         (use_methods): New function.
6677         (main): Call use_methods().
6678         * gdb.c++/classes.exp (test_method_param_class): New procedure.
6679         (do_tests): Call test_method_param_class.
6680
6681 2000-07-09  Nick Duffek  <nsd@redhat.com>
6682
6683         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
6684         spelling.
6685         (test_enums): New procedure.  Move enum tests from end of script
6686         to here.  Set breakpoint on function name instead of line number.
6687         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
6688         (enums2): New marker function.
6689         (enums1): New function.
6690         (main): Call enums1().  Move enum tests to enums1().
6691
6692 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
6693
6694         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
6695         compile/link program.  Update line numbers.
6696         * gdb.asm/d10v.inc: Define ``startup''.
6697         * gdb.asm/asmsrc1.s: Add definition of _start.
6698
6699 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
6700
6701         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
6702
6703 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6704
6705         * gdb.base/maint.exp: Add 'maint print architecture' item to output
6706         of 'help maint print' command.
6707
6708 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
6709
6710         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
6711         they use gdb_expect_list.
6712
6713 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
6714
6715         * gdb.base/commands.exp: Use ``set remote
6716         memory-read-packet-size'' instead of ``set endian big'' to test
6717         long commands.
6718
6719 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
6720
6721         * gdb.c++/templates.exp (do_tests): Make all of these work under
6722         g++, and stop skipping them.
6723
6724         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
6725         work under g++.
6726
6727         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
6728         initialization.
6729
6730 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
6731
6732         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
6733         the regular expression: accept an (almost) arbitrary sequence of
6734         "frames-invalid" and "breakpoints-invalid" messages both before
6735         and after the "starting" message.
6736
6737 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
6738
6739         * gdb.c++/local.exp: This test has never been known to work with g++.
6740
6741 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
6742
6743         * gdb.base/annota1.exp (annotate-signal-handler-caller):
6744         Relax the regular expression a little, make it pass on Solaris 8.
6745
6746 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
6747
6748         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
6749         a call, do not require that gdb stop on the line after the call.
6750         Instead, it is permissible for gdb to stop on the line of the
6751         call itself.
6752
6753 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
6754
6755         * gdb.base/break.exp (bp on small function, optimized file):
6756         Add a second pass pattern.  The behavior differs here between stabs
6757         and dwarf for one-line functions.  Stabs preserves two line symbols
6758         (one before the prologue and one after) with the same line number,
6759         but dwarf regards these as duplicates and discards one of them.
6760         Therefore the address after the prologue (where the breakpoint is)
6761         has no exactly matching line symbol, and GDB reports the breakpoint
6762         as if it were in the middle of a line rather than at the beginning.
6763
6764 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
6765
6766         * gdb.base/interrupt.exp: Make "pass" message say "send"
6767         rather than "send_gdb" (for consistancy).
6768
6769 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
6770
6771         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
6772         * gdb.c++/templates.cc: Properly check for GCC version number.
6773         * lib/compiler.cc: Likewise
6774
6775 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
6776
6777         * gdb.base/break.exp: When compiled with -O2 optimization,
6778         gdb may not stop at the first line of main, due to code motion.
6779
6780 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
6781
6782         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
6783         This test depends on parsing the printf output from the target.
6784         Since the sparclet stub doesn't do stdio, this will never work.
6785         * gdb.base/call-rt-st.exp: ditto.
6786         * gdb.base/call-strs: ditto.
6787
6788 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
6789
6790         * gdb.base/miscexprs.exp: make sizeof long array test portable.
6791
6792         * gdb.base/ending-run.exp: After connecting to a remote target,
6793         but before running, the target will appear to be in a random
6794         location.  Specify both a file and a line for breakpoints.
6795         Also, the function that calls main may be called 'init'
6796         rather than 'start'.
6797
6798 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6799
6800         * gdb.base/help.exp: Update output for add-symbol-file command.
6801
6802 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
6803
6804         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6805         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
6806
6807 2000-04-07  J.T. Conklin  <jtc@redback.com>
6808
6809         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
6810
6811         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
6812
6813 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
6814
6815         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
6816         values that can be represented exactly.
6817         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
6818         above change, and to not check against the directory part of the source
6819         file name.
6820         (step into print_long_arg_list): Likewise.
6821         (print print_small_structs from print_long_arg_list): Likewise.
6822         (print print_long_arg_list): Likewise.
6823
6824 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6825
6826         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
6827
6828 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
6829
6830         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
6831
6832 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
6833
6834         * gdb.base/commands.exp (deprecated_command_test): Add test for
6835         deprecate with no arguments.
6836
6837 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
6838
6839         * gdb.base/break.exp: Add new test for setting breakpoints on
6840         optimized code so we can test breakpoints work even when function
6841         prologues may be optimized away
6842
6843 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6844
6845         From David Whedon <dwhedon@gordian.com>
6846         * gdb.base/commands.exp : Added command deprecator tests.
6847
6848 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
6849
6850        * gdb.base/help.exp: Added test for new apropos command.
6851
6852 2000-03-21  Kevin Buettner <kevinb@redhat.com>
6853
6854         * gdb.base/pointers.c (usevar): New function.
6855         (main): Make sure that global variables v_int_pointer2, rptr,
6856         and y are all referenced someplace in the program by calling
6857         usevar() on them.  [Some linkers delete symbols which are
6858         never referenced.  The space remains, but there's no way to
6859         get a (symbolic) handle on the variable from the debugger.]
6860
6861 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6862
6863         * gdb.base/printcmds.c: Add typedeffed arrays.
6864
6865         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
6866         procedure to test arrays that are typedef'd.
6867
6868 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
6869
6870         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
6871         the library directories.
6872
6873 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
6874
6875         * configure.in (configdirs): Add sub directory gdb.mi.
6876         * configure: Re-generate.
6877
6878         * gdb.mi: New directory.
6879
6880 2000-02-25  Scott Bambrough <scottb@netwinder.org>
6881
6882         * gdb.base/long_long.exp: Correct test suite failure when printing
6883         a long long value as a double on ARM platforms.
6884
6885 2000-02-16  Jim Blandy  <jimb@redhat.com>
6886
6887         * gdb.base/break.exp ("breakpoint line number"): Make sure the
6888         default source file is set properly before running this test.
6889
6890 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6891
6892         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
6893         gdbtk/library directory, not in gdbtcl2.
6894
6895 2000-02-04  Jim Blandy  <jimb@redhat.com>
6896
6897         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
6898         backslash from regexp pattern.
6899
6900         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
6901         procedure.  Use it to run all the "continue to bp overloaded"
6902         tests.  Note that this changes the names of the tests slightly.
6903         If the breakpoint hit message includes a hex PC value, because
6904         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
6905         from the real source code, still consider that a pass.
6906
6907         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
6908         XFAIL here if the breakpoint message contains a hex address.  Note
6909         similar change on 1999-11-02.
6910
6911         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
6912
6913         * gdb.base/ptype.exp: Establish a default source file before
6914         calling get_debug_format.
6915
6916 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6917
6918         * gdb.base/watchpoint.exp: Remove duplication of test messages.
6919
6920 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6921
6922         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
6923         of successive stepi commands -- while in the prologue we should see
6924         the function entry bracket.
6925
6926 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6927
6928         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
6929         reach __change_mode() when stepping through the end of main().
6930
6931 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6932
6933         * gdb.base/default.exp: Fix expected pattern.
6934         * gdb.base/help.exp: Same.
6935
6936 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6937
6938         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
6939         Don't use xfail's because that affects only the following test.
6940
6941         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
6942         solaris or linux.
6943
6944         * gdb.base/selftest.exp: Update to reflect changes to main.c.
6945
6946 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
6947
6948         * gdb.base/display.exp: Some yacc parsers like to say
6949         "A syntax error" rather than "A parse error".  Accept both.
6950
6951 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6952
6953         * gdb.base/default.exp: Remove OS dependent string from "target
6954         remote" test.
6955         * gdb.base/help.exp: Same for "help target remote" test.
6956
6957 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6958
6959         From Jim Kingdon <kingdon@redhat.com>:
6960
6961         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
6962         prompt (cleanup rather than necessity, but still might keep output
6963         from spilling to next test).
6964
6965 2000-01-02  Fred Fish  <fnf@cygnus.com>
6966
6967         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
6968         AIX, which defines them in <sys/types.h>.
6969
6970 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
6971
6972         * gdb.base/default.exp: Match arm* etc instead of arm in "info
6973         float" test.
6974
6975 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
6976
6977         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
6978
6979         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
6980         outermost frame disallowed".
6981
6982 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6983
6984         * gdb.base/setvar.exp: New tests for setting the value of a struct
6985         with a constant list.
6986
6987 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6988
6989         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
6990         require the user to type a cast before setting the value of a struct.
6991
6992 1999-12-06  Jim Blandy  <jimb@cygnus.com>
6993
6994         * gdb.base/default.exp: Expect the new 'info float' command on
6995         all i386 platforms.
6996
6997         * gdb.threads/linux-dp.exp: Expand our ability to recognize
6998         LinuxThreads libraries that don't support debugging.
6999
7000 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
7001
7002         * gdb.base/remote.c: Fill the buffer with truely random data.
7003         Change the buffer type to ``unsigned char'' to simplify size
7004         arithmetic.
7005
7006         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
7007         stub only handles 400-1 byte packets.  Verify that the download
7008         worked.
7009
7010 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
7011
7012         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
7013         tests, using UNRESOLVED for the untested cases.  Also, does not wait
7014         for a timeout if the prompt was received before a recognizable pattern.
7015
7016 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
7017
7018         * lib/gdb.exp (gdb_expect_list): Fix spelling.
7019
7020 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7021
7022         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
7023         watchpoints.
7024
7025 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
7026
7027         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
7028
7029         * gdb.c++/local.exp: Be more flexible in recognizing local class
7030         name mangling.  Don't allow horribly truncated method names.
7031         * gdb.c++/derivation.exp: Expect protected inheritance.
7032         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
7033         * gdb.c++/virtfunc.exp: Likewise.
7034         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
7035         when printing a nested enum.
7036
7037 1999-11-22  Jim Blandy  <jimb@cygnus.com>
7038
7039         * gdb.base/step-test.exp: Properly await GDB's response to setting
7040         a breakpoint on the call to large_struct_by_value.
7041
7042         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
7043         just because we have debug info for the `start' function.
7044
7045 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
7046
7047         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
7048         "Unknown signal" messages, which indicate (on LinuxThreads) that
7049         GDB doesn't know how to debug threads on this system.  This is
7050         better than hanging while philosopher 0 dumps chatter into gdb.log.
7051
7052 1999-11-18  Tom Tromey  <tromey@cygnus.com>
7053
7054         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
7055
7056 1999-11-18  Fred Fish  <fnf@cygnus.com>
7057
7058         * gdb.base/coremaker2.c: Add sample program for generating
7059         cores that is more self contained than coremaker.c.  Eventually
7060         I'll add more code to this and tie it into the testsuite.
7061
7062 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
7063
7064         * gdb.base/dollar.exp: Remove, now in gdb.hp.
7065
7066 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
7067
7068         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
7069         from $srcdir/lib/.
7070         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
7071         and gdb.c++/.
7072
7073         * gdb.c++/derivation.exp: remove redundant get compiler info code.
7074
7075         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
7076         'continue with watch' test point.
7077
7078 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
7079
7080         Merged from p2linux-990323-branch:
7081
7082         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
7083
7084 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
7085
7086         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
7087         {limit,fixed}''.  Test ``set download-write-size''.
7088
7089 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
7090
7091         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
7092         gdb_expect_list.
7093
7094 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
7095
7096         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
7097
7098 1999-11-03  Mark Salter  <msalter@cygnus.com>
7099
7100         * gdb.base/break.exp: Fix "stub continue" pattern.
7101
7102 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
7103
7104         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
7105
7106 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
7107
7108         * gdb.base/display.exp ("finish"): Add timeout clause.
7109
7110         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
7111         plain prompt clause, so this doesn't have to time out in order to
7112         fail.
7113
7114         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
7115         breakpoint hit messages include an address.
7116
7117         * gdb.base/display.exp: Don't forget to escape parens in regular
7118         expressions.  Unix regexp notatation sucks.
7119
7120 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7121
7122         * gdb.base/annota1.exp: Test for annotate-signalled: change output
7123         order for 'signalled' message.
7124
7125 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
7126
7127         From Jimmy Guo  <guo@cup.hp.com>:
7128         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
7129         * gdb.base/annota1.c: Add code for tests to work with.
7130
7131 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
7132
7133         * gdb.base/remote.exp: New test for remote downloading settings.
7134         * gdb.base/remote.c: New file with large .data.
7135
7136 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
7137
7138         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
7139         for LinuxThreads support, merged from the Code Fusion branch.
7140
7141 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
7142
7143         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
7144         containing exp_continue into a while within an expect.  Don't
7145         attempt a start more than three times.  Check return value from
7146         gdb_load.
7147
7148 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
7149
7150         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
7151         a pass case.
7152
7153 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
7154
7155         * gdb.base/break.c (main): Added a statement that we can step
7156         off of.
7157         * gdb.base/break.exp: Added tests for setting a breakpoint
7158         at an offset and stepping onto a breakpoint.
7159
7160 1999-10-01  Fred Fish  <fnf@cygnus.com>
7161
7162         * gdb.base/help.exp (help add-symbol-file): Update to match current
7163         gdb output.
7164
7165 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
7166
7167         * gdb.base/break.exp: Code locations are in hex, don't forget!
7168         (For HP-UX.)
7169
7170 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
7171
7172         * condbreak.exp: Use break.c as test program.
7173         * condbreak.c: Remove, redundant with break.c.
7174
7175 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
7176
7177         * config/monitor.exp (gdb_target_monitor): Disable X- and
7178         Z-packets if the target needs it.
7179
7180 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
7181
7182         * gdb.c++/overload.exp: Added tests for listing overloaded
7183         functions with function pointers in the arg, explicitly calling
7184         out the version you want.
7185
7186 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
7187
7188         * long_long.exp: Add variations of test cases that work for
7189         targets with 16-bit ints and 32-bit doubles.
7190
7191 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
7192
7193         * break.c (main): Compare a possibly-uninitialized argc with an
7194         unlikely value that fits in 16 bits.
7195
7196 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
7197
7198         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
7199         0xfeeb, don't want negative numbers if ints are 16 bits.
7200
7201         * lib/gdb.exp (skip_cplus_tests): New proc.
7202         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
7203         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
7204         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
7205         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
7206         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
7207         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
7208         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
7209         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
7210
7211         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
7212
7213 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
7214
7215         * gdb.base/corefile.exp (up): Allow a parameter to appear
7216         in the frame that we're going up to.
7217
7218         From Jim Blandy <jimb@cygnus.com>:
7219
7220         * gdb.base/default.exp (info float): Expect some output now.
7221
7222         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
7223         returning floating-point values to fail on the x86.
7224         * gdb.base/callfwmall.exp (do_function_calls): Same.
7225
7226         * gdb.base/list.exp (test_listsize): Correct expectations for
7227         listing line 1 with listsize 2.  Also, listing a single line
7228         works now, as does listing three lines.  [Kevin's note: There
7229         were a number of other cases fixed too where the expectations
7230         differed...]
7231
7232 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
7233
7234         * gdb.base/selftest.exp: Add case for when version prints as
7235         constant string instead of char pointer.
7236
7237 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
7238
7239         * gdb.base/ending-run.exp: Add Solaris case for what happens when
7240         stepping out of main.
7241
7242         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
7243         G++ used.
7244
7245         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
7246         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
7247
7248         * gdb.c++/ovldbreak.exp: Update match string in test that
7249         includes a warning of multiple breakpoints.
7250
7251 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
7252
7253         * gdb.base/display.exp: Improve precision of step-after-finish
7254         added yesterday.
7255
7256         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
7257         test.
7258
7259         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
7260         configs when using G++, not just hppa*.
7261
7262 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7263
7264         * gdb.base/async.c: New file.
7265         * gdb.base/async.exp: New file.
7266
7267 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
7268
7269         * gdb.base/break.exp: Tweak PA specific tests to properly handle
7270         PA64.
7271
7272 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
7273
7274         * gdb.base/display.exp: "finish" can leave us mid-line on many
7275         targets, deal with it.  Add a small constant to main, instead of
7276         1000 since main+1000 may not be a valid address in the target.
7277
7278         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
7279         on hpux11.
7280
7281         * gdb.base/attach.exp: Handle another hpux11 error message variant
7282         when attaching to a process that does not exist.
7283
7284 1999-08-19  J.T. Conklin  <jtc@redback.com>
7285
7286         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
7287         characters in 'continue to 1241' test.
7288
7289 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
7290
7291         * gdb.base/call-ar-st.exp: Add a shorter match case for the
7292         stop in print_long_arg_list, define and use a whitespace
7293         variable in print_small_structs test, add an XFAIL for Solaris.
7294         * gdb.base/dbx.exp: XFAIL func commands until somebody is
7295         interested enough to fix.
7296
7297 1999-08-13  Keith Seitz  <keiths@cygnus.com>
7298
7299         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
7300         (dbx_gdb_load): Remove. Use gdb_load instead, since that
7301         proc knows about targets other than the natives.
7302         (test_assign): Use "gdb_run_cmd" to "run" the target.
7303         Check that we've actually hit the breakpoint at main.
7304         When we attempt to assign a value to a local variable, check
7305         that the variable is in the current scope, i.e., don't use
7306         a test with an empty result.
7307
7308 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
7309
7310         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
7311         command.
7312
7313 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
7314
7315         From Jimmy Guo <guo@cup.hp.com> and others at HP:
7316         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
7317         gdb.compat, gdb.threads-hp.
7318         gdb.hp/configure, gdb.hp/configure.in: New files.
7319         gdb.hp/Makefile.in: Recurse into new subdirs.
7320         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
7321         gdb.hp/gdb.objdbg: New directory, tests for debugging info
7322         in object files.
7323         gdb.hp/tools: New directory, aux tools for HP-specific tests.
7324
7325 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
7326
7327         * gdb.base/display.exp: Help expect by putting a newline in the
7328         funky printf, remove a bogus p/a test.
7329
7330 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7331
7332         * gdb.base/display.exp: Make sure that when we say 'run', we are
7333         connected to the target. This is necessary when running not
7334         natively.
7335
7336 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
7337
7338         * gdb.base/step-test.exp: Removed some extraneous messages.
7339
7340         * gdb.base/long_long.exp: Don't run memory examination tests
7341         on little-endian targets (they will need a different set of
7342         results to match).
7343
7344 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
7345
7346         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
7347         until somebody decides to fix GDB.
7348
7349         * gdb.base/long_long.c: Stop compiler complaint by specifying long
7350         constant as "ULL".
7351         * gdb.base/long_long.exp: Loosen x/c test, add partial result
7352         matches for a couple x/2 commands.
7353
7354 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
7355
7356         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
7357         by merging in ref-types2 tests.
7358         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
7359
7360         From Jimmy Guo <guo@cup.hp.com> and others at HP:
7361         * gdb.c++/Makefile.in: Add standard actions.
7362         (EXECUTABLES): Rename from PROGS, update list.
7363         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
7364         from gdb.hp.
7365         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
7366         foo and bar locals.
7367         * gdb.c++/anon-union.exp: Fix tests to match.
7368         * gdb.c++/classes.exp: Run if HP compiler used, add extra
7369         expect matches to handle output variations.
7370         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
7371         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
7372         output, add HP alternatives for new and delete prints.
7373         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
7374         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
7375         * gdb.c++/demangle.exp: Use $style when reporting failure.
7376         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
7377         * gdb.c++/inherit.exp: Run if HP compiler used, add some
7378         match alternatives.
7379         * gdb.c++/local.exp: Add match alternatives or xfails for HP
7380         compilers.
7381         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
7382         * gdb.c++/method.exp: Add match alternatives.
7383         * gdb.c++/misc.cc: Add bool types.
7384         * gdb.c++/misc.exp: Add tests for bool types.
7385         * gdb.c++/overload.exp: Add xfails.
7386         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
7387         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
7388         add some more template parameter tests (only for HP currently).
7389         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
7390         * gdb.c++/virtfunc.cc: Add return type and value for main.
7391         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
7392         match alternatives.
7393
7394 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7395
7396         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
7397
7398 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
7399
7400         * gdb.base/signals.exp: Don't expect getting a backtrace from
7401         within a signal handler to fail on Linux.
7402
7403 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
7404
7405         From Jimmy Guo <guo@cup.hp.com> and others at HP:
7406         * lib/gdb.exp: Remove some gratuitious semicolons.
7407         (delete_breakpoints): Increase timeout.
7408         (gdb_expect): Add -notransfer option.
7409         (gdb_test): Use -notransfer option.
7410         (get_compiler_info): Add f77 case.
7411         (get_compiler): New proc, split out from gdb_preprocess, add f77
7412         case.
7413         (gdb_preprocess): Call get_compiler.
7414
7415         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
7416         * gdb.base/attach.exp, gdb.base/display.exp,
7417         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
7418         gdb.base/long_long.exp, gdb.base/printcmds.exp,
7419         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
7420         third arg to gdb_test.
7421         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
7422         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
7423         HP-UX xfails, add others.
7424         * gdb.base/completion.exp: Reflect name change of self-test.
7425         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
7426         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
7427         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
7428         HP failure number.
7429         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
7430         useless HP-UX 10.30 references.
7431         * gdb.base/maint.exp: Loosen matches.
7432         * gdb.base/pointers.c (main): Declare more_code.
7433         * gdb.base/pointers.exp: Match on output of a `next'.
7434         * gdb.base/structs.c: Add prototypes.
7435         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
7436         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
7437
7438 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7439
7440         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
7441         command.
7442
7443 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7444
7445         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
7446         Fix run to main failures. Watchpoint can be hardware watchpoint.
7447
7448         * gdb.base/annota1.exp: Clean up some more, in case printf has
7449         debug info.  Deal with lack of signal hanlder info in stack.
7450
7451         From Jim Kingdon  <kingdon@redhat.com>:
7452         * gdb.base/annota1.exp: If printf has debug info, deal with it.
7453
7454 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
7455
7456         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
7457         gdb.base/foll-vfork.exp: Don't run for crosses.
7458
7459 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
7460
7461         * gdb.base/configure.in: Check for gdbvars.exp instead of
7462         a1-selftest.exp.
7463         * gdb.base/configure: Re-generate.
7464
7465 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
7466
7467         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
7468         in trying to run first and name is too long.
7469
7470         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
7471         pointers2.c and pointers2.exp, respectively.
7472         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
7473         doschk happier.
7474
7475 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
7476
7477         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
7478         callfuncs2.c and callfuncs2.exp.
7479
7480         * gdb.base/list.exp: Remove mistaken xfails.
7481         * gdb.base/list0.h: Add optional prototypes.
7482
7483 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
7484
7485         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
7486         calling malloc.
7487         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
7488         * ptype.exp: Move test for get_debug_format to before its first
7489         use.
7490
7491 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7492
7493         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
7494         * gdb.base/annota2.cc, annota2.exp: Move from here.
7495         * gdb.c++/annota2.cc, annota2.exp: To here.
7496         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
7497
7498 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
7499
7500         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
7501         a consistent format.
7502
7503 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
7504
7505         From Jimmy Guo <guo@cup.hp.com> and others at HP:
7506         * lib/gdb.exp (get_compiler_info): Add detection for assorted
7507         HP compilers, also set the globals $true and $false.
7508
7509         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
7510         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
7511         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
7512         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
7513         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
7514         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
7515         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
7516         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
7517         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
7518         whatis.c} Add C++ compatible function definitions and return
7519         types, add includes for library functions.
7520         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
7521         * gdb.base/step-test.c (myglob): Rename from glob.
7522         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
7523         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
7524         files, move here from gdb.hp.
7525         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
7526         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
7527         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
7528         Adjust line numbers in regexps.
7529
7530         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
7531         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
7532         instead of 0/1.
7533
7534         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
7535         foll-vfork.exp: New files, move here from gdb.hp.
7536         * gdb.base/page.exp: New file, test of pagination command.
7537
7538         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
7539         recursion test.
7540         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
7541
7542         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
7543         gdb.base/solib.exp: Fix compiler invocation process.
7544
7545         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
7546         HP-UX 11, turn off overload resolution explicitly.
7547         * gdb.base/commands.exp: Set argument list explicitly, add
7548         watchpoint test.
7549         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
7550         them work.
7551         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
7552         expressions properly.
7553         * gdb.base/corefile.exp: Loosen the match slightly.
7554         * gdb.base/default.exp: Allow "Error accessing memory" message
7555         also.
7556         * gdb.base/display.exp: Skip over x/0 j if PA64.
7557         * gdb.base/funcargs.exp: Add xfails for HP-UX.
7558         * gdb.base/interrupt.exp: Ditto.
7559         * gdb.base/langs.exp: Add symbolic matches governed by compiler
7560         in use.
7561         * gdb.base/list.exp: Add xfails for HP-UX.
7562         * gdb.base/long_long.exp: Refine some of the numeric matches.
7563         * gdb.base/mips_pro.exp: Xfail on HP-UX.
7564         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
7565         * gdb.base/nodebug.exp: Succeed on more varieties of output.
7566         * gdb.base/opaque.exp: Remove some HP-UX xfails.
7567         * gdb.base/ptype.exp: Succeed on more varieties of output.
7568         * gdb.base/scope.exp: Add xfails for HP-UX.
7569         * gdb.base/sect-cmd.exp: Add more cases.
7570         * gdb.base/setvar.exp: Add xfails for HP-UX.
7571         * gdb.base/shlib-call.exp: Loosen some matches slightly.
7572         * gdb.base/signals.exp: Match on void symbolically.
7573         * gdb.base/step-test.exp: Add case for PA64.
7574         * gdb.base/term.exp: Add exit and restart.
7575         * gdb.base/twice.exp: Clean up after self.
7576         * gdb.base/varargs.exp: Disable overload resolution explicitly.
7577         * gdb.base/whatis.exp: Allow more ways to pass tests.
7578
7579         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
7580         no longer useful.
7581
7582 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
7583
7584         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
7585         list of patterns.
7586         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
7587         print_double_array(double_array)", "continuing to breakpoint
7588         1018", "print print_double_array(array_d)" and "continuing to
7589         1034" tests.
7590
7591 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
7592
7593         * Makefile.in: Add empty html and install-html targets.
7594
7595 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
7596
7597         * config/mt-*: Remove, these haven't been used since 1996.
7598
7599 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
7600
7601         * gdb.base/call-strs.c, gdb.base/ending-run.c,
7602         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
7603         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
7604
7605 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
7606
7607         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
7608         simpler match case for the ptype of the big class.
7609
7610 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
7611
7612         * gdb.exp: Fix test for gdb_prompt existence.
7613
7614 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
7615
7616         * gdb.exp (gdb_test): Add fail after calls to perror.
7617
7618 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
7619
7620         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
7621
7622 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
7623
7624         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
7625
7626 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
7627
7628         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
7629         malloc() is linked in.
7630
7631 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
7632
7633         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
7634         step at end.
7635
7636         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
7637
7638 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
7639
7640         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
7641
7642 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
7643
7644         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
7645         * gdb.base/mips_pro.exp: Likewise.
7646
7647 1999-06-02  Keith Seitz  <keiths@cygnus.com>
7648
7649         * gdb.c++/templates.cc: Change all "new" operators to throw
7650         an exception.
7651         * gdb.c++/cplusfuncs.cc: Likewise.
7652
7653         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
7654
7655 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
7656
7657         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
7658         * gdb.base/ending-run.exp: When stepping out of main, accept a
7659         step into an arbitrary assembler file.
7660
7661 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7662
7663         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
7664         "breakpoint-invalid" to be printed.
7665         * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
7666         number of "frames-invalid" and "breakpoint-invalid" to be printed.
7667         * gdb.base/annota2.cc: Initialize a.x to 0.
7668
7669 1999-05-17  Keith Seitz  <keiths@cygnus.com>
7670
7671         * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
7672         when "skip_float_tests" set.
7673         Ditto for "print print_double_array(array_d)", "print print_small_structs",
7674         "print print_ten_doubles", and "step into print_long_arg_list".
7675         Don't assume we can step into "print_long_arg_list": we could step into memcpy.
7676         * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
7677         is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
7678         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
7679         "skip_float_tests" is set.
7680         * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
7681         when "skip_float_tests" set.
7682
7683 1999-05-06  Keith Seitz  <keiths@cygnus.com>
7684
7685         * gdb.base/annota2.cc: Include stdio.h.
7686
7687 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
7688
7689         * gdb.base/crossload.exp: Remove, this has been disabled ever
7690         since BFD stopped including all targets, and cross-GDB gets
7691         plenty of testing anyway.
7692         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
7693         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
7694         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
7695         * gdb.base/README: Remove, was doc for this.
7696         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
7697         needed.
7698
7699 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7700
7701         * gdb.base/call-ar-st.exp: Fix one regular expression in test
7702         output.
7703
7704         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
7705         * gdb.base/annota2.exp: New file. More annotation tests.
7706         * gdb.base/annota1.c: New file. Source file for annota1.exp.
7707         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
7708
7709 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
7710
7711         * config/cfdbug.exp: New file.
7712
7713 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
7714
7715         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
7716         Marcus Daniel's and Dale Hawkins's demangler crashes.
7717
7718         * gdb.c++/demangle.exp (test_gnu_style_demangling,
7719         test_lucid_style_demangling, test_arm_style_demangling,
7720         test_hp_style_demangling): Try Tom Tromey's core-dumping
7721         identifier under each demangling style.
7722
7723 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
7724
7725         * gdb.c++/demangle.exp: Include the current demangling style
7726         in all test names.
7727         (current_demangling_style): New global variable.
7728         (set_demangling_style, test_demangling_core, test_demangling,
7729         test_demangling_exact): New functions.
7730         (test_gnu_style_demangling, test_lucid_style_demangling,
7731         test_arm_style_demangling, test_hp_style_demangling): Use those,
7732         instead of calling gdb_test and gdb_test_exact directly.
7733         (catch_demangling_errors): New function, which reports errors
7734         signalled by the demangling test functions in an orderly way.
7735         (do_tests): Use catch_demangling_errors.
7736
7737 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
7738
7739         * gdb.base/signals.exp (test_handle_all_print): Use () for
7740         grouping in expressions, not {}.
7741
7742         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
7743         initialized yet.
7744
7745 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
7746
7747         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
7748         are listed.
7749
7750 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
7751
7752         * gdb.stabs/weird.exp: Test for CC being defined before
7753         looking at its value.
7754
7755 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
7756
7757         * gdb.base/call-ar-st.exp: Remove stray '#'.
7758         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
7759         "short int" and "long int".
7760         * gdb.c++/overload.cc: Cast the string added in the previous
7761         change, to mollify finicky HP compiler.
7762         * gdb.hp/reg-test.exp (testfile): Fix file name.
7763         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
7764
7765         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
7766         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
7767         alternate form of enum ptype.
7768
7769 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
7770
7771         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
7772         * gdb.hp/*.exp: Change all to run compiler probe only after
7773         passing skip_hp_tests, so as not to waste time on guaranteed
7774         failure.
7775
7776         * gdb.c++/overload.cc: Pass string instead of char addr, always
7777         init ccpfoo.
7778         * gdb.c++/templates.cc: Fix syntax error.
7779
7780 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7781
7782         * gdb.base/commands.exp: Add test for correct position of '>'
7783         when issuing the 'commands' command after a 'while' or 'if'
7784         command.
7785
7786 1999-03-18  James Ingham  <jingham@cygnus.com>
7787
7788         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
7789
7790         * gdb.c++/method.exp: It was testing an uninitialized int on the
7791         stack and assuming it was positive.
7792
7793         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
7794
7795         * gdb.base/step-test.exp: Catch a case where finish is broken and
7796         keep it from killing the rest of the tests.
7797         Use gdb_continue_to_end.
7798
7799         * gdb.base/sigall.exp: use gdb_continue_to_end.
7800
7801         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
7802
7803         * gdb.base/display.exp: use runto_main, not run.
7804
7805         * gdb.base/default.exp: Check for the current error message in the
7806         r abbreviation test.
7807         Add strongarm to the targets that know info float.
7808
7809         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7810         run which doesn't work with monitors.
7811
7812         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
7813
7814         * gdb.base/break.exp: use the gdb_continue_to_end proc.
7815
7816         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
7817         program.  Traps the case (in Cygmon) when the program never really
7818         exits.  Same as Mark's continue_to_exit, but I had put it in a lot
7819         more places, so I used my name.  Sorry Mark...
7820
7821         * config/monitor.exp (gdb_target_monitor): added another
7822         target_info parameter: remotebinarydownload.  This will set the
7823         remotebinarydownload flag if this is causing some boards trouble.
7824
7825 1999-03-18  Mark Salter  <msalter@cygnus.com>
7826
7827         * lib/gdb.exp (continue_to_exit): New function.
7828
7829         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
7830         * gdb.base/ending-run.exp: Ditto.
7831         * gdb.base/step-test.exp: Ditto.
7832
7833 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
7834
7835         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
7836         (suggested by Art Haas <ahaas@neosoft.com>).
7837
7838 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
7839
7840         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7841
7842 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
7843
7844         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
7845         descriptions of types (short unsigned int vs unsigned short, etc).
7846
7847 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
7848
7849         * gdb.base/call-strs.exp: Don't assume that `step' will step over
7850         a call to strlen; sometimes we do have sources.
7851
7852 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
7853
7854         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
7855         character, so GDB won't print garbage after its end.
7856
7857         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
7858         breakpoint there instead.  Sometimes GCC emits memcpy to handle
7859         the large structures being passed by value, so we step into that
7860         instead of sum_array_print, which obscures what we're really testing.
7861         * gdb.base/step-test.exp: However, we do want a test that notices
7862         the bizarre steps into memcpy, so do that here.  Add check for
7863         stepping into function calls that pass large structures by value.
7864         ("Is that a noun clause, or are you just happy to see me?")
7865         Remove all references to specific line numbers.
7866         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
7867         New type and function.
7868         (main): Call large_struct_by_value, passing it a large struct by value.
7869         * lib/gdb.exp (gdb_get_line_number): New function.
7870
7871         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
7872         more portable.
7873
7874 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
7875
7876         * lib/gdb.exp: Doc fixes.
7877
7878 1999-03-05  Nick Clifton  <nickc@cygnus.com>
7879
7880         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7881
7882 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
7883
7884         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
7885         commands.  They're not germane to this test, and they don't work
7886         that way on remote targets.
7887
7888 1999-03-01  James Ingham  <jingham@cygnus.com>
7889
7890         * Changelog entries merged over from gdb development branch.
7891
7892        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
7893
7894                * lib/gdb.exp (gdbtk_analyze_results): Generic function
7895                for outputting results of test run.
7896
7897         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
7898
7899                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
7900
7901 1999-02-25  Felix Lee  <flee@cygnus.com>
7902
7903         * lib/gdb.exp (debug_format): initialize
7904
7905 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
7906
7907         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
7908         * gdb.base/call-rt-st.c: Ditto.
7909
7910 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
7911
7912         * gdb.threads/pthreads.exp (horiz): New variable.
7913         (test_startup): Fix regexps that capture thread numbers.
7914
7915 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
7916
7917         * gdb.base/smoke.exp: Disambiguate two test case names (both
7918         called ``print'').
7919
7920 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
7921
7922         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
7923         compilation.
7924
7925 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
7926
7927         * gdb.base/miscexprs.exp: Change patterns to match GDB's
7928         actual output formatting.
7929         * gdb.base/smoke.exp: GDB removes leading 0's.
7930         * gdb.base/volatile.exp: Don't check type of remuneration;
7931         that variable is no longer defined in constvars.c.
7932         * gdb.base/step-test.c (main): Exit with explicit exit code.
7933         * gdb.base/step-test.exp: Remove two nexti checks--they are
7934         not portable.
7935
7936 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
7937
7938         * gdb.base/help.exp ("help delete display"): Fix test to match
7939         gdb's output.
7940
7941         * gdb.base/long_long.c (known_types): Initialize values to zero.
7942         * gdb.base/long_long.exp: Step one more line
7943         so 'dec' is initialized in "get to known place".  GDB removes
7944         leading zeros.  Explicitly ask for hex formatting.  Use
7945         unique test case names.
7946
7947 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7948
7949         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
7950
7951         * gdb.c++/method.exp: Add missing close brace.
7952
7953 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
7954
7955         * gdb.base/maint.exp: Use 'set height 0' to disable page
7956         prompting, not 'set height 400'.
7957
7958         Fix a bunch of timeouts.
7959         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
7960         four separate tests, so expect doesn't take forever to match a ton
7961         of text against a regexp with lots of .* forms.
7962         ("maint print psymbols", "maint print symbols"): Make some of
7963         these greps more selective, so that expect doesn't try to wade
7964         through huge piles of output and time out.
7965
7966         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
7967
7968         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
7969         tests: one which doesn't expect shlib events to be reported, and
7970         another which does, but is XFAIL for all platforms other than
7971         HP/UX.
7972
7973         * gdb.base/break.exp: Teach the test suite that the `catch
7974         fork', `catch vfork', and `catch exec' commands produce error
7975         messages on platforms that don't provide these features.
7976
7977 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
7978
7979         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
7980         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
7981         (shortening names from solib_threshold.exp etc), won't run on
7982         anything but HP-UX for the foreseeable future.
7983         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
7984         reflect move.
7985
7986 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
7987
7988         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7989         gdb.trace/Makefile.in (clean): Remove all test executables.
7990
7991 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
7992
7993         * gdb.base/shlib-call.exp: add test cases to verify that gdb
7994         successfully re-sets breakpoints in shared libraries.
7995         * gdb.base/shmain.c (main): return 0, don't fall off the end.
7996
7997 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7998
7999         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
8000         and compiled w/o GCC.
8001
8002         * gdb.hp/watch-cmd.exp: ditto.
8003
8004         * gdb.hp/watch-hp.exp: ditto.
8005
8006         * gdb.hp/xdb1.exp: ditto.
8007
8008         * gdb.hp/xdb2.exp: ditto.
8009
8010         * gdb.hp/dbx.exp: ditto.
8011
8012 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
8013
8014         * constvars.c: Remove C++-isms.
8015         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
8016         with GCC.
8017
8018 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
8019
8020         The following changes are part of the HP merge.
8021
8022         * gdb.base/break.exp: new tests to verify that catchpoints for
8023         fork, vfork, and exec don't trigger inappropriately.
8024
8025         * gdb.base/opaque.exp: compile one file at a time, then link.
8026
8027         * gdb.base/signals.exp: be more restrictive about which hppa
8028         systems receive a setup_xfail.  new tests.
8029
8030         * gdb.base/solib_threshold.build: new file.
8031         * gdb.base/solib_threshold.exp: new file.
8032         * gdb.base/solib_threshold.link_opts: new file.
8033         * gdb.base/solib_threshold.mk: new file.
8034         * gdb.base/gen_solib_threshold.c: new file.
8035
8036         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
8037         tests.  New tests for enums inside classes.
8038
8039         * gdb.c++/compiler.cc: indicate support of template debugging.
8040
8041         * gdb.c++/demangle.exp: run hp style demangling tests.
8042
8043         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
8044         tests.
8045
8046         * gdb.c++/misc.cc: changes to support new tests.
8047
8048         * gdb.c++/templates.cc: changes to support HP's compiler; changes
8049         to support new tests.
8050
8051         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
8052         gcc, then skip these tests.
8053
8054 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
8055
8056         The following files are part of the HP merge; some had longer
8057         names at HP, but have been renamed to be no more than 14
8058         characters in length.
8059
8060         * gdb.hp/ambiguous.cc: new file.
8061         * gdb.hp/ambiguous.exp: new file.
8062         * gdb.hp/attach.exp: new file.
8063         * gdb.hp/attach2.exp: new file.
8064         * gdb.hp/classes-hp.exp: new file.
8065         * gdb.hp/ctti.exp: new file.
8066         * gdb.hp/ctti-add.cc: new file.
8067         * gdb.hp/ctti-add1.cc: new file.
8068         * gdb.hp/ctti-add2.cc: new file.
8069         * gdb.hp/ctti-add3.cc: new file.
8070         * gdb.hp/dbx.exp: new file.
8071         * gdb.hp/exception.cc: new file.
8072         * gdb.hp/exception.exp: new file.
8073         * gdb.hp/foll-exec.c: new file.
8074         * gdb.hp/foll-exec.exp: new file.
8075         * gdb.hp/foll-fork.c: new file.
8076         * gdb.hp/foll-fork.exp: new file.
8077         * gdb.hp/foll-vfork.c: new file.
8078         * gdb.hp/foll-vfork.exp: new file.
8079         * gdb.hp/inherit-hp.exp: new file.
8080         * gdb.hp/more-steps.exp: new file.
8081         * gdb.hp/namespace.cc: new file.
8082         * gdb.hp/namespace.exp: new file.
8083         * gdb.hp/optimize.exp: new file.
8084         * gdb.hp/pxdb.c: new file.
8085         * gdb.hp/pxdb.exp: new file.
8086         * gdb.hp/quicksort.exp: new file.
8087         * gdb.hp/reg-test.exp: new file.
8088         * gdb.hp/reg-test.s: new file.
8089         * gdb.hp/sized-enum.c: new file.
8090         * gdb.hp/sized-enum.exp: new file.
8091         * gdb.hp/start-stop.exp: new file.
8092         * gdb.hp/templ-hp.cc: new file.
8093         * gdb.hp/templ-hp.exp: new file.
8094         * gdb.hp/thr-lib.c: new file.
8095         * gdb.hp/thr-lib.exp: new file.
8096         * gdb.hp/thr-lib.h: new file.
8097         * gdb.hp/thr-liblib.c: new file.
8098         * gdb.hp/virtfun-hp.c: new file.
8099         * gdb.hp/virtfun-hp.exp: new file.
8100         * gdb.hp/watch-cmd.exp: new file.
8101         * gdb.hp/watch-hp.exp: new file.
8102         * gdb.hp/xdb1.exp: new file.
8103         * gdb.hp/xdb2.exp: new file.
8104         * gdb.hp/xdb3.exp: new file.
8105
8106 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
8107
8108         The following files are part of the HP merge; some had longer
8109         names at HP, but have been renamed to be no more than 14
8110         characters in length.
8111
8112         * gdb.base/ss.h: new file.
8113         * gdb.base/call-ar-st.c: new file.
8114         * gdb.base/call-ar-st.exp: new file.
8115         * gdb.base/call-rt-st.c: new file.
8116         * gdb.base/call-rt-st-exp: new file.
8117         * gdb.base/call-strs.exp: new file.
8118         * gdb.base/ena-dis-br.exp: new file.
8119         * gdb.base/environ.exp: new file.
8120         * gdb.base/long_long.exp: new file.
8121         * gdb.base/sect-cmd.exp: new file.
8122         * gdb.base/shlib-cl2.exp: new file.
8123         * gdb.base/smoke.exp: new file.
8124         * gdb.base/so-impl-ld.c: new file.
8125         * gdb.base/so-impl-ld.exp: new file.
8126         * gdb.base/so-indr-cl.c: new file.
8127         * gdb.base/so-indr-cl.exp: new file.
8128         * gdb.base/varargs.exp: new file.
8129         * gdb.base/volatile.exp: new file.
8130         * gdb.base/whatis-exp.exp: new file.
8131         * gdb.base/display.exp: new file.
8132         * gdb.c++/derivation.exp: new file.
8133         * gdb.c++/local.exp: new file.
8134         * gdb.c++/member-ptr.exp: new file.
8135         * gdb.c++/overload.exp: new file.
8136         * gdb.c++/ovldbreak.exp: new file.
8137         * gdb.c++/ref-types.exp: new file.
8138         * gdb.c++/ref-types2.exp: new file.
8139         * gdb.c++/userdef.exp: new file.
8140
8141 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
8142
8143         * gdb.base/default.exp: Reflect wording change in remote.c.
8144
8145 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
8146
8147         * gdb.base/help.exp: Update to reflect current text.
8148
8149 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
8150
8151         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
8152         they're stack variables and contain garbage.
8153         * gdb.c++/anon-union.exp: new file.
8154
8155         The following changes were made by David Taylor
8156         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
8157         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
8158         in changes by HP.
8159
8160         * gdb.base/bitops.exp: new file.
8161         * gdb.base/default.exp: change expected messages for catch and
8162         info catch tests to reflect HP merge changes.
8163         * gdb.base/enable-disable-break.exp
8164         * gdb.base/ending-run.c: new file.
8165         * gdb.base/long_long.c: new file.
8166         * gdb.base/maint.exp: new file.
8167         * gdb.base/pointers2.exp: new file.
8168         * gdb.base/shlib-call2.exp: new file.
8169         * gdb.base/solib.exp: new file.
8170         * gdb.base/step-test.c: new file.
8171         * gdb.c++/anon-union.cc: new file.
8172         * gdb.c++/local.cc: new file.
8173         * gdb.c++/member-pointer.cc: new file.
8174         * gdb.c++/method.cc: new file.
8175         * gdb.c++/ref-types.cc: new file.
8176         * gdb.c++/ref-types2.cc: new file.
8177         * gdb.c++/userdef.cc: new file.
8178
8179         * gdb.base/scope.exp: compile one file at a time, then link.
8180         * gdb.base/langs.exp: ditto.
8181         * gdb.base/list.exp: ditto.
8182
8183 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
8184
8185         The following changes were made by David Taylor
8186         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
8187         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
8188         in changes by HP.
8189
8190         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
8191         skip tests.  When compiling pass c++ flag to gdb_compile.
8192         * gdb.c++/
8193
8194         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
8195         test for on hppa*-*-hpux*; use args to see if c++ was specified.
8196         (skip_hp_tests): new function.
8197         (gdb_preprocess): new function.
8198
8199         * configure.in (hpdir): decide whether to configure gdb.hp.
8200         * configure: regenerated.
8201
8202         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
8203         to delete on clean.
8204         (EXECUTABLES): update to reflect new additions.
8205         * gdb.base/commands.exp: update message expected.
8206         * gdb.base/default.exp: add copyright notice.
8207         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
8208         * gdb.base/help.exp: update messages to reflect current text.
8209         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
8210         targets for recurse tests.
8211         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
8212         skip this file.
8213
8214         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
8215         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
8216         compilation.
8217         * gdb.c++/misc.exp: ditto.
8218         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
8219         run the tests.  tell gdb_compile that it's a c++ compilation.
8220
8221         * gdb.threads/pthreads.exp: fix typo in message.
8222
8223         * gdb.base/all-bin.exp: new file.
8224         * gdb.base/arithmet.exp: new file.
8225         * gdb.base/assign.exp: new file.
8226         * gdb.base/completion.exp: new file.
8227         * gdb.base/cond-expr.exp: new file.
8228         * gdb.base/condbreak.exp: new file.
8229         * gdb.base/define.exp: new file.
8230         * gdb.base/dollar.exp: new file.
8231         * gdb.base/environment.exp: new file.
8232         * gdb.base/eval-skip.exp: new file.
8233         * gdb.base/jump.exp: new file.
8234         * gdb.base/logical.exp: new file.
8235         * gdb.base/pointers.exp: new file.
8236         * gdb.base/relational.exp: new file.
8237         * gdb.base/section_command.exp: new file.
8238         * gdb.base/whatis-expr.exp: new file.
8239
8240         * gdb.base/all-types.c: new file.
8241         * gdb.base/call-array-struct.c: new file.
8242         * gdb.base/call-return-struct.c: new file.
8243         * gdb.base/call-strings.c: new file.
8244         * gdb.base/callfuncs2.c: new file.
8245         * gdb.base/condbreak.c: new file.
8246         * gdb.base/constvars.c: new file.
8247         * gdb.base/display.c: new file.
8248         * gdb.base/int-type.c: new file.
8249         * gdb.base/jump.c: new file.
8250         * gdb.base/miscexprs.c: new file.
8251         * gdb.base/pointers.c: new file.
8252         * gdb.base/pointers2.c: new file.
8253         * gdb.base/shmain.c: new file.
8254         * gdb.base/shr1.c: new file.
8255         * gdb.base/shr2.c: new file.
8256         * gdb.base/solib.c: new file.
8257         * gdb.base/solib1.c: new file.
8258         * gdb.base/solib2.c: new file.
8259         * gdb.base/varargs.c: new file.
8260         * gdb.c++/derivation.cc: new file.
8261         * gdb.c++/overload.cc: new file.
8262         * gdb.c++/ovldbreak.cc: new file.
8263         * gdb.hp/attach.c: new file.
8264         * gdb.hp/attach2.c: new file.
8265         * gdb.hp/average.c: new file.
8266         * gdb.hp/compiler.c: new file.
8267         * gdb.hp/compiler.cc: new file.
8268         * gdb.hp/execd-program.c: new file.
8269         * gdb.hp/follow-exec.c: new file.
8270         * gdb.hp/follow-fork.c: new file.
8271         * gdb.hp/follow-vfork-and-exec.c: new file.
8272         * gdb.hp/misc-hp.cc: new file.
8273         * gdb.hp/more-steps.c: new file.
8274         * gdb.hp/optimize.c: new file.
8275         * gdb.hp/quicksort.c: new file.
8276         * gdb.hp/run-hp.c: new file.
8277         * gdb.hp/start-stop.c: new file.
8278         * gdb.hp/sum.c: new file.
8279         * gdb.hp/templates-hp.cc: new file.
8280         * gdb.hp/thread-local-in-lib.c: new file.
8281         * gdb.hp/thread-local-in-lib.h: new file.
8282         * gdb.hp/thread-local-in-lib.lib.c: new file.
8283         * gdb.hp/vforked-program.c: new file.
8284         * gdb.hp/virtfunc-hp.cc: new file.
8285         * gdb.hp/watchpoint-hp.c: new file.
8286         * gdb.hp/xdb.c: new file.
8287         * gdb.hp/xdb0.c: new file.
8288         * gdb.hp/xdb0.h: new file.
8289         * gdb.hp/xdb1.c: new file.
8290
8291 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
8292
8293         The following change was made by Edith Epstein
8294         <eepstein@cygnus.com> as part of a project to merge in changes
8295         originally made by HP; HP did not create ChangeLog entries.
8296
8297         * gdb.c++/demangle.exp: changed the expected output for some
8298         ARM-style mangling -- removed second reference to datatype.
8299         For example, maint demangle __dt__11T1__pt__2_cFv
8300                      T1<char>::~T1<char>(void)
8301         becomes,
8302                      maint demangle __dt__11T1__pt__2_cFv
8303                      T1<char>::~T1(void)
8304
8305         (test_hp_style_demangling): new hp specific demangling test cases.
8306
8307 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
8308
8309         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
8310         * gdb.trace/backtrace.exp: Likewise.
8311         * gdb.trace/circ.exp: Likewise.
8312         * gdb.trace/collection.exp: Likewise.
8313         * gdb.trace/deltrace.exp: Likewise.
8314         * gdb.trace/infotrace.exp: Likewise.
8315         * gdb.trace/limits.exp: Likewise.
8316         * gdb.trace/packetlen.exp: Likewise.
8317         * gdb.trace/passc-dyn.exp: Likewise.
8318         * gdb.trace/passcount.exp: Likewise.
8319         * gdb.trace/report.exp: Likewise.
8320         * gdb.trace/save-trace.exp: Likewise.
8321         * gdb.trace/tfind.exp: Likewise.
8322         * gdb.trace/tracecmd.exp: Likewise.
8323         * gdb.trace/while-dyn.exp: Likewise.
8324         * gdb.trace/while-stepping.exp: Likewise.
8325
8326 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
8327
8328         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
8329
8330 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
8331
8332         From Brendan Kehoe:
8333         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
8334         int return types.
8335
8336 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
8337
8338         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
8339         remote dos host testing right.
8340
8341 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
8342
8343         * gdb.base/corefile.exp: remove some xfails.
8344
8345 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
8346
8347         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
8348         have different timestamps.
8349
8350 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
8351
8352         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
8353         gdb.base/default.exp: Replace "exec" with "executable".
8354
8355 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
8356
8357         * gdb.base/default.exp: Change else if to elseif from previous
8358         delta.
8359
8360 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
8361
8362         * gdb.base/default.exp: Add brace missing from previous delta.
8363
8364 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
8365
8366         * gdb.base/default.exp: Support test for info float for all
8367         varieties of arm toolchain.
8368
8369 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
8370
8371         * gdb.trace/*.exp: remove "remote_download" command.
8372
8373 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
8374
8375         * gdb.trace/*.exp: remove -gdwarf from compile.
8376
8377 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
8378
8379         * gdb.trace/configure.in(AC_INIT): typo
8380         * gdb.trace/configure: regenerated
8381
8382 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
8383
8384         * config/m68k-emc.exp: New file.
8385         * lib/<emc-support.exp trace-support.exp}: New files.
8386         * configure.in: add new test directory gdb.trace.
8387         * gdb.trace/{configure configure.in Makefile.in}: New files.
8388         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
8389         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
8390         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
8391         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
8392         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
8393         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
8394         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
8395
8396 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
8397
8398         * gdb.c++/classes.exp: Change all regular expressions to match
8399         arbitrary combinations of newline/carriage-return, so that they
8400         will work equally well on Unix and Windows.
8401         * gdb.c++/inherit.exp: ditto.
8402         * gdb.c++/virtfunc.exp: ditto.
8403
8404 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
8405
8406         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
8407
8408 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
8409
8410         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
8411         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
8412         to use a0-a3/d0-d3 as needed.
8413
8414 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
8415
8416         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
8417         * gdb.disasm/am33.exp: Corresponding changes.
8418
8419 1998-07-11  Felix Lee  <flee@cygnus.com>
8420
8421         * gdb.base/callfuncs.exp: add cmp10 test.
8422         * gdb.base/callfuncs.c (cmp10): new function.
8423
8424 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
8425
8426         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
8427         into two parts to get around a synchronization problem in expect.
8428
8429 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
8430
8431         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
8432
8433         * configure.in: Add options for gdbtk testsuite.
8434
8435         * configure: Regenerate.
8436
8437         * gdb.gdbtk: New directory to hold gdbtk tests.
8438
8439 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
8440
8441         * gdb.fortran/types.exp:  Escape brackets in expect patterns
8442         for test_float_literal_types_accepted tests.
8443         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
8444         before run test.
8445
8446 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
8447
8448         * am33.exp: Just compile, do not link the testcase.
8449         * am33.s: Add ".am33" pseudoop to force am33 mode.
8450
8451 1998-06-25  Felix Lee  <flee@cygnus.com>
8452
8453         * gdb.base/setshow.exp: make sure $pc is sane.
8454
8455         * gdb.stabs/weird.exp: split expect patterns properly.
8456
8457 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
8458
8459         * gdb.disasm/am33.s: New disassembler testfile for the am33.
8460         * gdb.disasm/am33.exp: Run it.
8461
8462 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
8463
8464         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
8465         match processing (and eliminate spurious timeouts when running).
8466
8467 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
8468
8469         * gdb.base/signals.exp (test_handle_all_print): put back Mach
8470         exception test, but conditionalize it on target [mach | gnu].
8471
8472 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
8473
8474         * gdb.base/overlays.exp: fixup compile line for linker script.
8475
8476 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
8477
8478         * gdb.fortran/types.exp: don't guess at float size.
8479
8480 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
8481
8482         * gdb.base/exprs.exp: delete test that depends on int size.
8483
8484 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
8485
8486         * config/sim.exp: Removed checks for target triplets.
8487         (gdb_target_sim): Use gdb,target_sim_options.
8488
8489 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
8490
8491         * gdb.base/reread.exp: New file.
8492         * gdb.base/reread1.c: New file.
8493         * gdb.base/reread2.c: New file.
8494
8495 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
8496
8497         * config/sim.exp: Use 'target sim -sparclite' when running
8498         SPARClite programs.
8499
8500 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
8501
8502         * gdb.base/structs2.exp: New file.
8503         * gdb.base/structs2.c: New file.
8504
8505 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
8506
8507         * gdb.asm/common.inc: New file.
8508         * gdb.asm/d10v.inc: New file.
8509         * asm-source.exp: Pass -I's to gas to find .inc files.
8510         Update line numbers in expected output.
8511         * asmsrc1.s: Rewrite.
8512         * asmsrc2.s: Rewrite.
8513         * configure.in: Create arch.inc symlink.
8514         * configure: Regenerate.
8515         * Makefile.in (distclean): Delete arch.inc.
8516
8517 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
8518
8519         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
8520         (t_enum_value2): ditto
8521         (t_enum_value3): ditto
8522         (main): ditto
8523 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
8524
8525         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
8526         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
8527         change.
8528         Use gdb_test instead of send_gdb/gdb_expect sequences.
8529
8530 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
8531
8532         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
8533         not void.
8534
8535 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
8536
8537         * gdb.base/branches.c: Code with lots of loops and
8538         subroutines. Used to test gdbs ability to single step through PC
8539         changes, especially to test mips-tdep.c:mips_next_pc
8540
8541 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
8542
8543         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
8544         more rigorous EGCS C++ error checking.
8545
8546 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8547
8548         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
8549         tests.
8550         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
8551         function when asleep.
8552         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
8553         for i*86 Linux and SVR4 signal handling problems.
8554         Remove linux xfail for `next to handler in signals_tests_1', fixed
8555         by recent infrun.c change.
8556         Limit backtrace to 10 frames to avoid timeout problems with infinite
8557         stack backtraces.
8558         Adjust expect pattern in `handle all print' test to match Apr 28 1997
8559         target.[ch] change.
8560
8561 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
8562
8563         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
8564         for a newline from gdb before continuing.
8565         (default_gdb_exit): Just look for y or n.
8566         (gdb_test): Detect abnormal exit from GDB running on DOS; if
8567         it does, fail the rests of the tests in the file.
8568
8569 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
8570
8571         * config/cygmon.exp: New file.
8572
8573 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
8574
8575         * gdb.base/list.exp: Fix problem with "list default lines around
8576         main" test on remote targets.
8577
8578         * gdb.base/scope.exp: Fix problem with filelocal_bss before
8579         run test on remote targets.
8580
8581 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
8582
8583         * gdb.asm: New directory.
8584         * configure.in: Configure it.
8585         * configure: Regenerate.
8586         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
8587         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
8588
8589 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
8590
8591         * config/mn10300-eval.exp: New file to support MN10300 eval board.
8592
8593 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
8594
8595         * gdb.base/overlays (several files): Merge the two overlay
8596         managers into one.  Change variables (foox, barx, bazx, grbxx)
8597         back into ints but force them to load in their proper sections.
8598
8599 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
8600
8601         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
8602         on-chip insn memory and IMAP1 to upper 128k.
8603         (D10VCopy): Handle memory regions crossing 16k boundaries.
8604         (D10VCopy): Transfer data in 32 bit chunks.
8605
8606 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
8607
8608         * gdb.base/overlays.c (main): Exit normally when result is
8609         correct.
8610
8611         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
8612         map.  Include space for printf in .text segment.
8613
8614         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
8615         updated d10v memory VMA/LMA map.
8616         (D10VCopy): Call D10VTranslate.
8617
8618 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
8619
8620         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
8621
8622         * gdb.base/bar.c (barx, bar): Change variable to small array so
8623         that it won't be put into the .sdata - small data -
8624         section. Update reference.
8625         * gdb.base/baz.c (bazx, baz): Ditto.
8626         * gdb.base/foo.c (foox, foo): Ditto.
8627         * gdb.base/grbx.c (grbxx, grbx): Ditto.
8628
8629         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
8630         to be arrays.
8631
8632 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
8633
8634         * gdb.base/overlays.exp: fix up and get working again.
8635         Add tests for backtraces from an overlay function.
8636
8637 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
8638
8639         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
8640         "calling function with watchpoint enabled".
8641
8642 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
8643
8644         * gdb.base/break.exp (test_next_with_recursion): Remove
8645         gdb_suppress_tests for d10v-*-*.
8646         * lib/gdb.exp (gdb_suppress_tests): Disable this function
8647         pending review of whether it is useful or not.
8648
8649 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
8650
8651         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
8652
8653 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
8654
8655         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
8656         * config/dve.exp: New file to support Densan boards.
8657
8658 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
8659
8660         * gdb.base/interrupt.exp: Document problem of simulators, signals,
8661         reads and BSD.
8662
8663 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
8664
8665         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
8666         response.
8667
8668         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
8669
8670 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
8671
8672         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
8673         test.
8674
8675         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
8676         target_sizeof_long and target_bigendian_p.
8677         (structs_by_value, structs_by_reference): Check values according
8678         to targets word size and endianess.
8679
8680 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
8681
8682         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
8683         output.
8684
8685 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
8686
8687         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
8688         Update test of set args help to match source change.
8689
8690 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
8691
8692         * gdb.base/default.exp: Expect help system output to be in
8693         alphabetical order.
8694         * gdb.base/help.exp: Ditto.
8695
8696 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
8697
8698         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
8699         "i*86-pc-linux-gnu*".
8700         * gdb.base/interrupt.exp: Ditto.
8701         * gdb.base/corefile.exp: Ditto.
8702
8703         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
8704         define vxworks when building the testcase.
8705
8706         * gdb.base/ptype.exp: Fix testnames to be unique.
8707         * gdb.base/radix.exp: Ditto.
8708         * gdb.base/term.exp: Ditto.
8709         * gdb.base/whatis.exp: Ditto.
8710         * gdb.c++/classes.exp: Ditto.
8711
8712 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
8713
8714         * gdb.base/callfuncs.exp: Fix indentation.
8715
8716         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
8717         suppress_flag has been set.
8718         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
8719         target feature.
8720
8721 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
8722
8723         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
8724         the testcase.
8725
8726         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
8727         set_debug_traps() and breakpoint().
8728         * gdb.c++/misc.cc (main): Ditto.
8729         * gdb.c++/templates.cc (main): Ditto.
8730         * gdb.c++/virtfunc.cc (main): Ditto.
8731
8732 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
8733
8734         * lib/gdb.exp(gdb_step_for_stub): New function.
8735         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
8736         exists, reload the executable and do a "continue" instead of
8737         doing a jump.
8738         (runto_main): Use gdb_step_for_stub.
8739
8740         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
8741         tests to have unique names.
8742         * gdb.base/callfuncs.exp: Ditto.
8743         * gdb.base/commands.exp: Ditto.
8744         * gdb.base/default.exp: Ditto.
8745         * gdb.base/help.exp: Ditto.
8746         * gdb.base/list.exp: Ditto.
8747         * gdb.base/opaque.exp: Ditto.
8748         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
8749         similar tests.
8750
8751         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
8752         * gdb.c++/cplusfuncs.cc: Ditto.
8753         * gdb.c++/virtfunc.cc: Ditto.
8754
8755         * config/monitor.exp: Keep track of the last file we saw, rather
8756         than trying to get the info from gdb.
8757
8758         * gdb.fortran/types.exp: Move comment to previous line.
8759
8760 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
8761
8762         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
8763         target mode.
8764
8765 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
8766
8767         From Bob Manson:
8768         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
8769         string from GDB when it connects.
8770
8771         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
8772
8773 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
8774
8775         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
8776         if we can't get a debug format from GDB (we may be testing an
8777         older GDB). Use a 10 second timeout when checking for the format.
8778
8779         * gdb.stabs/weird.exp: Fix quoting.
8780
8781         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
8782
8783 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
8784
8785         * config/arm-ice.exp: New file.
8786
8787 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
8788
8789         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
8790         until it has been modified to work with the new testsuite.
8791
8792         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
8793         testcase won't compile, cause all of the testcases in the file to
8794         fail instead.
8795
8796         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
8797         (gdb_clear_suppressed): New procedure.
8798         (gdb_stop_suppressing_tests): Only clear suppress_flag if
8799         it contains a positive value.
8800
8801 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
8802
8803         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
8804
8805         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
8806
8807 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
8808
8809         * lib/gdb.exp (setup_xfail_format): New function.
8810         (get_debug_format): New function to get debug format.
8811         (debug_format): New global variable to hold last value set
8812         by get_debug_format.
8813         * gdb.base/list.exp: Call get_debug_format and expect some
8814         tests to fail for DWARF 1 and COFF formats.
8815         * gdb.c++/ptype.exp: Ditto.
8816         * gdb.c++/classes.exp: Ditto.
8817         * gdb.c++/cplusfuncs.exp: Ditto.
8818         * gdb.c++/inherit.exp: Ditto.
8819         * gdb.c++/templates.exp: Ditto.
8820         * gdb.c++/virtfunc.exp: Ditto.
8821
8822 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
8823
8824         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
8825         host doesn't have a currently-open connection.
8826
8827         * config/sparclet.exp: Cleanups and fixes to make it generic for
8828         any gdb stub target. Handle cases where gdb doesn't respond when
8829         interrupted in a sane fashion.
8830
8831         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
8832         same thing in a totally different way.
8833
8834         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
8835         setting "timeout".
8836         (gdb_start): We set the global gdb_prompt variable in
8837         default_gdb_init now.
8838
8839 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
8840
8841         * gdb.base/printcmds.exp: Fix "check for floating addition"
8842         regexp to accept results within approx +/- .01 of exact value.
8843         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
8844
8845 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
8846
8847         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
8848         properly.
8849         (gdb_expect): Add optional timeout parameter, and add timeout
8850         value to various calls.
8851         (gdb_suppress_tests): Only give one warning message per group.
8852
8853 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
8854
8855         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
8856         global variables. Handle getting a value for $timeout more
8857         gracefully.
8858
8859 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
8860
8861         * lib/gdb.exp: Close connection to remote host if gdb doesn't
8862         initialize.
8863         (default_gdb_init): New procedure; allow gdb_init to be overridden
8864         by a target configuration file.
8865         (gdb_expect): Pass the timeout to remote_expect.
8866
8867         * config/monitor.exp(gdb_load): Fix typo in regexp.
8868
8869 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
8870
8871         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
8872
8873 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
8874
8875         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
8876         here. Call gdb_target_exec before rebooting the target, to make
8877         sure the connection to the target is closed.
8878         (gdb_load): Pass the name of the executable to gdb_target_monitor.
8879         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
8880         Also detect "Timeout reading from remote" error.
8881
8882         * config/gdbserver.exp: Pass the executable being loaded to
8883         gdb_target_monitor. Don't call gdb_file_cmd here; let
8884         gdb_target_monitor do it.
8885
8886         * gdb.disasm/hppa.exp: Don't use exec_output.
8887
8888 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
8889
8890         * gdb.base/list.exp: If we're debugging a non-native target,
8891         try to set the pc register to point to the start of the
8892         program before doing the first list command.
8893
8894         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
8895         test_calls after restarting.
8896
8897         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
8898         reloading.
8899
8900         * gdb.base/watchpoint.exp: Fix typo.
8901
8902         * gdb.base/setshow.exp: Check for use_gdb_stub.
8903
8904         * gdb.base/break.exp: Fix continue until exit test for the gdb
8905         stub case.
8906         * gdb.base/langs.exp: Ditto.
8907
8908         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
8909         gdb_load_offset. If we weren't given a file to load, figure out
8910         what the current file is and use it.
8911
8912         * config/i386-bozo.exp: New file.
8913
8914 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
8915
8916         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
8917         feature.
8918
8919         * config/proelf.exp: New entry.
8920
8921 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
8922
8923         * lib/gdb.exp: Remove spurious .* patterns at the beginning
8924         of regexps.
8925
8926         * gdb.base/watchpoint.exp: Don't run the test_stepping
8927         tests if gdb can't call functions on the target.
8928
8929         * gdb.base/setshow.exp: Don't run the set prompt tests if
8930         the board has gdb_prompt set.
8931
8932 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
8933
8934         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
8935         * gdb.base/commands.exp: Likewise.
8936         * gdb.base/setshow.exp: Likewise.
8937
8938 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
8939
8940         * config/monitor.exp(gdb_start): Look for gdb_prompt target
8941         feature.
8942
8943         * config/i960.exp: New file.
8944
8945 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
8946
8947         * gdb.base/funcargs.exp: Check for gdb,short_int target
8948         feature instead of looking for explicit target triplets.
8949
8950 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
8951
8952         * gdb.base/printcmds.exp: add a couple more tests a la
8953         "p 123DEADBEEF", to check parse_number.
8954         * top.c: change "to enable to enable" to "to enable" in a couple
8955         of help strings.
8956
8957 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
8958
8959         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
8960         on the mn10300.
8961
8962 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
8963
8964         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
8965         where the test executable is run with explicit args.
8966         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
8967
8968 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
8969
8970         * gdb.base/run.c: Use FAKEARGV to build test executable that
8971         does not require a command line arg, since most simulators
8972         don't currently support passing such an arg into the simulated
8973         program.
8974         * gdb.base/commands.exp: Change tests to insert the proper
8975         value as the arg to the first recursive factorial call.  Change
8976         compilation line to define FAKEARGV at compile time.
8977
8978 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
8979
8980         * gdb.base/recurse.exp: Enable these tests for the mn10300.
8981         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
8982         function with watchpoint enabled" test.
8983
8984 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
8985
8986         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
8987         Don't call gdb_test when the command doesn't return to a gdb prompt.
8988
8989         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
8990         "Tests restarted" messages.
8991
8992 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
8993
8994         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
8995
8996 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
8997
8998         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
8999         for INFO SYMBOL; add help tests for OVERLAY commands.
9000         * gdb.base/default.exp: add tests for INFO SYMBOL command;
9001         add tests for OVERLAY commands
9002         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
9003         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
9004         * gdb.base/sigall.c: add usestubs code frag
9005         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
9006
9007 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
9008
9009         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
9010         failures.
9011         (gdb_stop_suppressing_tests): Note that tests have restarted.
9012
9013 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
9014
9015         * config/h8300.exp: New file.
9016
9017 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
9018
9019         * gdb.base/setshow.exp: Check for the existence of a
9020         feature, not its value.
9021
9022 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
9023
9024         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
9025
9026         * gdb.base/scope.exp: It's now init0(), not init().
9027
9028         * gdb.base/scope0.c: For now, change init() to be init0().
9029
9030         * config/monitor.exp: Use gdb_serial in preference to serial
9031         or netport.
9032
9033         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
9034         and it's not already set.
9035
9036 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
9037
9038         * gdb.base/setshow.exp: Only test the run command if the target
9039         isn't using a stub and if it supports argument passing.
9040
9041 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
9042
9043         * config/udi.exp(gdb_start): Make sure UDICONF is set
9044         properly before starting gdb.
9045
9046 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
9047
9048         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
9049         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
9050         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
9051
9052 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
9053
9054         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
9055         specialized code to reboot the board, use remote_reboot instead.
9056
9057         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
9058
9059         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
9060
9061         * config/monitor.exp: Make sure we disconnect from the target.
9062         Also, try a reboot/reload cycle instead of failing if the
9063         load fails.
9064
9065 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
9066
9067         * gdb.base/default.exp: Don't set match_max.
9068         * gdb.base/help.exp: Ditto.
9069         * gdb.base/list.exp: Ditto.
9070         * gdb.base/signals.exp: Ditto.
9071
9072         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
9073         set, use remote_ld to download the testcase instead of
9074         the GDB loader.
9075
9076 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
9077
9078         * config/vr5000.exp: New file.
9079
9080         * config/monitor.exp(gdb_target_monitor): Add pattern for
9081         "Ending remote" to detect errors in connecting.
9082
9083         * gdb.base/setshow.exp: Add .* within auto language test.
9084
9085         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
9086         target feature.
9087
9088         * config/monitor.exp(gdb_load): Check for a failure when loading,
9089         and reboot the board if necessary.
9090
9091         * gdb.base/setvar.exp(test_set): Handle multiple prints within
9092         a set of tests. Remove print.* from the patterns being checked.
9093
9094 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
9095
9096         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
9097         refer to gdb_spawn_id.
9098
9099         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
9100         longer used.
9101         * config/sparclet.exp: Ditto.
9102         * config/sparclet-old.exp: Ditto.
9103         * config/slite.exp: Ditto.
9104         * config/sim.exp: Ditto.
9105         * gdb.base/funcargs.exp: Ditto.
9106
9107         * lib/gdb.exp:Remove references to gdb_spawn_id.
9108         (gdb_expect): Move to remote.exp.
9109
9110 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
9111
9112         * config/monitor.exp: Detect the "Couldn't establish connection"
9113         message from GDB.
9114
9115 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
9116
9117         * gdb.base/bitfields.exp: Use runto instead of explicit
9118         gdb_run_cmd/gdb_expect sequences.
9119
9120         * gdb.base/break.exp(text_next_with_recursion): Add match for
9121         gdb_expect call.
9122
9123         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
9124         We also need to handle the "A program is being debugged already"
9125         prompt from gdb. Use gdb_test to set the baud rate.
9126
9127         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
9128         to 20000. Really. I mean it.
9129
9130 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
9131
9132         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
9133         fails. If suppress_flag is set, skip perror message about not
9134         being able to send to GDB.
9135         (send_gdb): If suppress_flag is set, don't try to send commands to
9136         GDB.
9137         (gdb_expect): If suppress_flag is set, always fail immediately.
9138         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
9139         (gdb_init): Call gdb_stop_suppressing_tests.
9140         (default_gdb_exit): Ditto.
9141         (default_gdb_start): Ditto.
9142
9143         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
9144         gdb_stop_suppressing_tests as appropriate.
9145         * gdb.base/break.exp: Ditto.
9146         * gdb.base/callfuncs.exp: Ditto.
9147         * gdb.base/commands.exp: Ditto.
9148         * gdb.base/exprs.exp: Ditto.
9149         * gdb.base/funcargs.exp: Ditto.
9150         * gdb.base/list.exp: Ditto.
9151         * gdb.base/recurse.exp: Ditto.
9152         * gdb.base/scope.exp:  Ditto.
9153         * gdb.base/structs.exp: Ditto.
9154         * gdb.c++/inherit.exp: Ditto.
9155
9156 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
9157
9158         * config/vr4300.exp: New file.
9159
9160         * gdb.*/*.exp: Call gdb_expect instead of expect.
9161
9162         * lib/gdb.exp(gdb_expect): New function.
9163
9164 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
9165
9166         * lib/gdb.exp(gdb_init): New function.
9167
9168         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
9169         for each individual variable set.
9170
9171         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
9172         name.
9173
9174         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
9175
9176         * gdb.base/scope.exp: Use gdb_test.
9177
9178         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
9179         aborting; the testsuite driver will do that for us (see
9180         gdb_finish). Also, use gdb_test in a few more places.
9181
9182 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
9183
9184         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
9185
9186 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
9187
9188         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
9189         and "add_tests" are not at the same address.
9190
9191 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
9192
9193         * gdb.base/ptype.exp: Use gdb_test.
9194
9195 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
9196
9197         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
9198         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
9199         left in.  No longer expect them to fail.
9200
9201         * gdb.stabs/*.mt; Deleted, no longer used.
9202         * gdb.stabs/configure.in: Remove references to target makefile
9203         frags.
9204         * gdb.stabs/configure: Rebuilt.
9205
9206         * gdb.disasm/*.mt: Deleted, no longer used.
9207         * gdb.disasm/configure.in: Remove references to target makefile
9208         frags.  Use "sh3.s" as the unique filename for this directory.
9209         * gdb.disasm/configure: Rebuilt.
9210
9211         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
9212         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
9213         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
9214
9215 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
9216
9217         * config/udi.exp: Use mondfe,name instead of remote_host.
9218
9219 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
9220
9221         * gdb.base/watchpoint.exp: Don't expect a failure when calling
9222         a function with a watchpoint enabled on the mn10200.
9223
9224         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
9225         before trying to create it!
9226
9227 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
9228
9229         * config/vx.exp: Use hostname instead of netport.
9230
9231         * config/vxworks.exp: New file.
9232
9233         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
9234
9235         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
9236         gdb before assuming everything worked. Send a ^C if a timeout
9237         occurs.
9238
9239         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
9240         $gdb_spawn_id directly.
9241         (gdb_run_cmd): Try _start as well as start. Use the target feature
9242         gdb,start_symbol as the symbol to start from when jumping.
9243
9244 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
9245
9246         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
9247         redundant) test.
9248
9249         * gdb.base/recurse.exp: Relax final value test for 'b' so that
9250         it doesn't lose for 16bit integer systems.
9251
9252 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
9253
9254         * gdb.fortran/types.exp: If the target doesn't support "double"
9255         data types, then expect "real" types to only be 4 bytes.
9256
9257         * gdb.c++/virtfunc.exp: Expect failure for virtual function
9258         call tests if the target doesn't support inferior function calls.
9259
9260         * gdb.base/printcmds.exp: Allow minor deviation in FP values
9261         in printf tests.
9262
9263 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
9264
9265         * gdb.base/help.exp: Disable "help set", "help show", and
9266         "help support".  Simplify regexp for "help stack".
9267
9268         * gdb.base/default.exp: Set match_max to 5000 and the timeout
9269         to 60 seconds.  Temporarily set match_max to 15000 around the
9270         "info copying" test.
9271
9272         * gdb.base/nodebug.exp: Don't try to do an inferior function
9273         call if the target doesn't support them.
9274         * gdb.base/printcmds.exp: Likewise.
9275         * gdb.base/setvar.exp: Likewise.
9276         * gdb.base/structs.exp: Likewise.
9277         * gdb.c++/templates.exp: Likewise.
9278         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
9279
9280         * gdb.base/recurse.exp: Enable for the mn10200.
9281
9282         * configure.in: Do configure gdb.stabs directory for *-*-elf
9283         targets.
9284         * configure: Rebuilt.
9285
9286         * gdb.base/break.exp: Check for gdb,noresults before testing
9287         exit status and/or results from the target.
9288         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
9289         * lib/gdb.exp: Remove old (now bogus) initialization of
9290         noinferior, noargs, noresults and nosignals.
9291
9292 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
9293
9294         * config/sh.exp: New file.
9295
9296         * config/slite.exp: Try to connect multiple times to the board
9297         before rebooting. Only send a "monitor run" if need_monitor_run
9298         is set.
9299
9300         * gdb.base/break.exp: Don't do the "stub continue" test if
9301         the target has gdb_stub set.
9302
9303         * gdb.base/callfuncs.exp: Increase the timeout.
9304
9305         * gdb.base/interrupt.exp: Don't even try to compile the testcase
9306         if the target has gdb,noinferiorio set.
9307
9308         * gdb.base/list.exp: Increase match_max to 10000 characters.
9309
9310         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
9311
9312         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
9313         target.
9314
9315         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
9316
9317 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
9318
9319         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
9320         trying to delete the copy of gdb. Catch the file delete so we
9321         don't die if the delete fails; also, the file should be copied to
9322         the host, not to the build.
9323
9324 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
9325
9326         * lib/gdb.exp(gdb_test): Surround the result pattern with
9327         parenthesis in case it contains multiple regexps separated
9328         with |.
9329
9330         * gdb.base/watchpoint.exp: Use gdb_test.
9331         * gdb.base/default.exp: Ditto.
9332
9333 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
9334
9335         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
9336
9337         * gdb.base/scope.exp: Use gdb_test.
9338         * gdb.c++/classes.exp: Ditto.
9339         * gdb.c++/inherit.exp: Ditto.
9340
9341 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
9342
9343         * gdb.base/crossload.exp: Don't use execute_anywhere, use
9344         remote_exec instead.
9345         * gdb.base/corefile.exp: Don't be ridiculous.
9346         * gdb.base/*.c: Add missing stub invocations.
9347
9348 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
9349
9350         * config/slite.exp: Miscellaneous fixes.
9351
9352         * lib/gdb.exp: Fix runto.
9353
9354         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
9355         the target.
9356
9357         * gdb.base/watchpoint.exp: Fix regexp.
9358
9359         * lib/gdb.exp(default_gdb_exit): Add a catch to the
9360         close and wait commands, as the descriptor may now be
9361         invalid. Always call "remote_close host".
9362
9363 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
9364
9365            Major rewrite for testsuite revision.
9366
9367         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
9368         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
9369         instead of relying on spawn_id to always contain a valid
9370         spawn id.
9371         (get_compiler_info): New procedure to build the ${binfile}.ci
9372         file, instead of replicating this in N different places.
9373         (gdb_compile): New procedure.
9374
9375         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
9376         appropriate arguments) instead of compile. Use gdb_test in a lot
9377         more places.  Use send_gdb instead of send. Always run gdb_start
9378         at the start of a testcase, as this is no longer done magically.
9379
9380         config/*-gdb.exp: Rename without the -gdb suffix.
9381
9382         config/mips.exp: Use remote_close instead of exit_remote_shell.
9383         config/monitor.exp: Use target_info instead of looking at
9384         baud, timeout, etc.
9385         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
9386
9387 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9388
9389         * gdb.c++/templates.exp (test_ptype_of_templates),
9390         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
9391         Update expect patterns for destructors and assignment operators
9392         to match corresponding c-typeprint.c changes.
9393         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
9394         to destructor breakpoint test, GDB should be able to set the
9395         destructor breakpoint without specifying arguments.
9396
9397 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
9398
9399         * gdb.threads/pthreads.exp: Change result for failure to compile due
9400         to lack of pthreads runtime support from an error to simply an
9401         unsupported test, per dejagnu standards.
9402
9403 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9404
9405         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
9406         where GDB exits to reduce pattern match time.
9407         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
9408
9409         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
9410
9411 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
9412
9413         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
9414         * gdb.base/default.exp:   ditto.
9415         * gdb.base/nodebug.exp:   ditto.
9416         * gdb.base/printcmds.exp: ditto.
9417         * gdb.base/ptype.exp:     ditto.
9418         * gdb.base/setvar.exp:    ditto.
9419         * gdb.base/structs.exp:   ditto.
9420         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
9421
9422 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
9423
9424         * configure, */configure: Rebuild with autoconf 2.12.
9425
9426 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
9427
9428         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
9429         use new i*86-pc-linux*-gnu quads.
9430         * gdb.base/corefile.exp: Ditto.
9431         * gdb.base/signals.exp: Ditto.
9432         * gdb.base/sigall.exp: Ditto.
9433         * gdb.base/interrupt.exp: Ditto.
9434
9435         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
9436         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
9437         RedHat 4.0.
9438
9439         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
9440         linux.  This allows the test case to at least compile on latest
9441         linux, but still not run due to missing the threads runtime library.
9442
9443 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9444
9445         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
9446         directory to search gdb directory. Accept and step over conditional
9447         stack alignment code. Consume $prompt in failure cases.
9448         Reset timeout to $oldtimeout instead of some arbitrary value.
9449         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
9450         timeout problems with infinite stack backtraces.
9451         * gdb.base/ptype.exp (ptype struct link, union tu_link):
9452         Accept function parameters for linkfunc member.
9453
9454 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
9455
9456         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
9457         (CXXFLAGS): Remove, unreferenced.
9458         (B_OPTIONS): Add for -B options and add code to initialize with
9459         previous -B options and also add -B option to pick up cross compiled
9460         runtime.
9461         (TARGET_INCLUDES): Add for -I options and add code to initialize when
9462         doing cross compiles.
9463         (target_alias): Declare global.
9464         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
9465         to verify that gcc exists in build tree, and if so set CC to that
9466         gcc and to use B_OPTIONS and TARGET_INCLUDES.
9467
9468 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
9469
9470         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
9471         ptype test for anonymous union.  Fixup testcase to match
9472         current gcc debug output.
9473
9474 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
9475
9476         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
9477         force argument to an unsigned long type.
9478
9479 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
9480
9481         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
9482         tests and anonymous union print/ptype tests.
9483         * gdb.base/list.exp (test_forward-search): Increase timeout by
9484         5 minutes for the "search extremely long line" case.
9485         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
9486         completely optional and that the pass/fail messages use the command as
9487         the message if that third arg is a null string.
9488         (gdb_test_exact):  Arrange that a null string pattern means match a
9489         null string output rather than any output, which might include random
9490         errors.
9491         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
9492         backtrace test.
9493         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
9494         always failing and failure is now exposed by gdb.exp changes.
9495
9496 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
9497
9498         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
9499         weren't being noted.
9500
9501 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9502
9503         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
9504         * gdb.stabs/weird.exp:  Remove v_comb xfails.
9505
9506 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
9507
9508         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
9509                     list.exp scope.exp watchpoint.exp]
9510           Make all timeout error msgs explicitly say "(timeout)".
9511
9512 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
9513
9514         * config/monitor.exp: Increase download timeout to 1000 seconds.
9515
9516 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
9517
9518         * config/m32r.exp: Increase timeout to 120 seconds.
9519
9520 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
9521
9522         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
9523         and accept older ordering as obsolescent gcc or gdb.
9524         * gdb.c++/templates.exp: Ditto.
9525         * gdb.c++/virtfunc.exp: Ditto.
9526
9527 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
9528
9529         * gdb.base/coremaker.c: Add code to mmap some data so we
9530         can check that it ends up in the core file.
9531         * gdb.base/corefile.exp: Add test to read mmapped data
9532         from core file.
9533
9534 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
9535
9536         * config/m32r.exp: New file.
9537
9538 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
9539
9540         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
9541         that cflags can contains -gstabs, and work correctly for other tests.
9542
9543 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
9544
9545         * gdb.base/setshow.exp: New file, tests show and set.
9546         * gdb.base/setshow.c:   New file, tests show and set.
9547         * gdb.base/help.exp: Add test for help set|show annotate.
9548         * gdb.base/default.exp: Add test for set|show annotate.
9549
9550 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
9551
9552         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
9553         errors unique.
9554         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
9555         explicitly.
9556
9557 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
9558
9559         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
9560         and width commands.  This is done elsewhere.
9561         * (gdb_start):  Don't call gdb_start_sim here.  That's already
9562         done in gdb_load.  This fixes lots of failures in default.exp.
9563
9564 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
9565
9566         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
9567         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
9568         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
9569         in the same we we treat other failures (since it may be an expected
9570         condition), rather than as an error.
9571         * gdb.base/signals.exp (test_handle_all_print): Revert back to
9572         old test format.
9573
9574 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
9575
9576         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
9577         (distclean maintainer-clean realclean): No need to remove files
9578         twice.  Nuke the duplicates.
9579         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
9580         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
9581         Remove config.h along with other config files.
9582
9583 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
9584
9585         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
9586         "p func1 ()" and note that rests of tests are skipped.
9587         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
9588         setup_xfails for "print func2::coremaker_local".
9589         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
9590         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
9591         affected by the previous run test.
9592         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
9593         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
9594         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
9595         "pass int powerset tuple" and "pass modeless int powerset tuple".
9596         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
9597         "real write 4" and "real write 8".
9598         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
9599         setup_xfails for "print vs1 after tuple assign 2",
9600         "print \$i after tuple assign 2", and
9601         "print vs2 after tuple assign 2".
9602         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
9603         meaningful error message and return -1 so the caller can
9604         suppress further tests and avoid a cascade of errors.
9605
9606 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
9607
9608         * gdb.base/a1-selftest.exp: Tweak tests to account for new
9609         format for printing version.
9610         * gdb.base/default.exp: Ditto.
9611         * gdb.base/interrupt.exp: Fix problem with cascade of
9612         errors if child process dies while calling a function.
9613
9614 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
9615
9616         * Makefile.in (VPATH): Add
9617         * Makefile.in (Makefile, config.status): Fix rules so things get
9618         remade when necessary.
9619
9620 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
9621
9622         * Makefile.in (just-check): Add path to sibling expect dir
9623         to environment variable specified by RPATH_ENVVAR.
9624
9625 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
9626
9627         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
9628         (just-check): Add shared library paths for libstdc++, tk,
9629         tcl, bfd, and opcodes to the environment variable specified
9630         in RPATH_ENVVAR.
9631         * configure.in: Add support to recognize --enable-shared flag
9632         and generate correct value for RPATH_ENVVAR.
9633         * configure: Regenerated with autoconf.
9634
9635 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
9636
9637         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
9638         include all osf versions.
9639         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
9640         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
9641         when target is linux.  When failing to build pthreads test
9642         executable, give more meaningful message.
9643         * gdb.threads/pthreads.c: Hpux also uses old definition of second
9644         arg for pthread_create.
9645
9646 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
9647
9648         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
9649         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
9650         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
9651         and -lpthreads (everybody else).
9652         (test_startup): Fail gracefully if threads are not supported.
9653         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
9654         "p/c array_index("abcdef",2)" when not gcc compiled.
9655         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
9656         "print func2::coremaker_local" when not gcc compiled.
9657         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
9658         "ptype on opaque struct tagname (statically)",
9659         "ptype on opaque struct tagname (dynamically) 1", and
9660         "ptype on opaque struct tagname (dynamically) 2"
9661         for not compiled with gcc.
9662         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
9663         backtrace when compiled with gcc.
9664         * lib/gdb.exp (runto_main): Return result of "runto main" rather
9665         than always return success.
9666
9667 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
9668
9669         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
9670
9671 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
9672
9673         * gdb.base/structs.exp: Undo last change.
9674
9675 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
9676
9677         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
9678         encapsulate all the steps/nexts done during self test, starting
9679         at main, and makes them less sensitive to optimization issues.
9680         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
9681         signal handler" test.
9682         * gdb.threads/pthreads.exp: Only run this for native configs.
9683         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
9684         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
9685         tests.
9686         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
9687         for "runto test_calls(void)" test.
9688
9689 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
9690
9691         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
9692         and don't expect address info in breakpoint confirmations.
9693
9694 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
9695
9696         * gdb.base/list.exp (test_forward_search): Increase timeout
9697         temporarily by 60 seconds for searching extremely long line,
9698         and then reset to old value when done.  Increase expect input
9699         buffer to 10000.
9700
9701 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
9702
9703         * gdb.base/list.exp (test_forward_search): Fix to handle very
9704         long source line without overflowing expect's input buffer.
9705
9706 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
9707
9708         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
9709         "buffer_full".
9710
9711         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
9712         "buffer_full".
9713
9714         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
9715         "buffer_full".
9716
9717         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
9718         "buffer_full".
9719
9720 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
9721
9722         * configure.in (configdirs): Add gdb.threads.
9723         * configure: Regenerated with autoconf.
9724         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
9725         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
9726         * gdb.threads/configure: New, generated with autoconf.
9727
9728 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
9729
9730         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
9731
9732 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
9733
9734         * gdb.base/signals.exp (test_handle_all_print): Test separately for
9735         each signal's status in the output of "handle all print".
9736         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
9737         the \r\n sequence that immediately precedes the gdb prompt.
9738         * gdb.base/a1-selftest.exp: Save original timeout and restore
9739         after test.
9740
9741 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
9742
9743         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
9744         symbol.
9745
9746 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
9747
9748         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
9749
9750 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
9751
9752         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
9753         timeout by 60 seconds.
9754
9755 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
9756
9757         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
9758         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
9759         error return.
9760
9761 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
9762
9763         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
9764         gdb initialization, also report how long dejagnu waited.  Restore
9765         old timeout before doing error return.  Temporarily increase timeout
9766         by 3 minutes to allow for slow startups over heavy NFS use.
9767
9768 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
9769
9770         * lib/gdb.exp: Report timeout value for verbosity level 2.
9771         * config/gdbserver.exp: Ditto.
9772         * config/hppro.exp: Ditto.
9773         * config/mips-gdb.exp: Ditto.
9774         * config/monitor.exp: Ditto.
9775         * config/netware.exp: Ditto.
9776         * config/sim-gdb.exp: Ditto.
9777         * config/slite-gdb.exp: Ditto.
9778         * config/udi-gdb.exp: Ditto.
9779         * config/unix-gdb.exp: Ditto.
9780         * config/vx-gdb.exp: Ditto.
9781         * gdb.base/a1-selftest.exp: Ditto.
9782         * gdb.base/a2-run.exp: Ditto.
9783         * gdb.base/break.exp: Ditto.
9784         * gdb.base/corefile.exp: Ditto.
9785         * gdb.base/list.exp: Ditto.
9786         * gdb.base/recurse.exp: Ditto.
9787         * gdb.base/scope.exp: Ditto.
9788         * gdb.base/signals.exp: Ditto.
9789
9790 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
9791
9792         * gdb.threads/Makefile.in (docdir): Removed.
9793
9794 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
9795
9796         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
9797         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
9798         @srcdir@.
9799         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
9800         autoconf 2.5 or higher.
9801         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
9802
9803 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
9804
9805         * configure: Regenerated.
9806         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
9807         avoid name clashes with SunOS headers.
9808
9809 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
9810
9811         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
9812
9813 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
9814
9815         * gdb.base/callfuncs.exp: Finish last change -- make sure the
9816         prototype information ends up in the compiler info file.
9817
9818 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
9819
9820         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
9821         attempting to regenerate it.  Eliminate use of a temporary file
9822         and just generate the info file directly.  Source it immediately,
9823         for consistency of use.
9824         * gdb.base/corefile.exp: Ditto
9825         * gdb.base/exprs.exp: Ditto.
9826         * gdb.base/funcargs.exp: Ditto.
9827         * gdb.base/langs.exp: Ditto.
9828         * gdb.base/list.exp: Ditto.
9829         * gdb.base/mips_pro.exp: Ditto.
9830         * gdb.base/nodebug.exp: Ditto.
9831         * gdb.base/opaque.exp: Ditto.
9832         * gdb.base/ptype.exp: Ditto.
9833         * gdb.base/scope.exp: Ditto.
9834         * gdb.base/setvar.exp: Ditto.
9835         * gdb.base/signals.exp: Ditto.
9836         * gdb.base/whatis.exp: Ditto.
9837         * gdb.c++/templates.exp: Ditto.
9838         * gdb.c++/virtfunc.exp: Ditto.
9839         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
9840         whether or not to add -lstdc++ to the compile command line args.
9841
9842 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9843
9844         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
9845         it got fixed by the recent lookup_minimal_symbol_by_pc change.
9846         Increase timeout, a lot of single stepping might be needed if the
9847         target has no hardware watchpoints.
9848
9849 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
9850
9851         * gdb.base/break.exp: Ignore compiler warnings when compiling
9852         break.c.
9853         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
9854         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
9855         from remote-sim.
9856         * gdb.base/exprs.exp: Add h8300 xfails.
9857         * gdb.base/funcargs.exp: Likewise.
9858         * gdb.base/nodebug.exp: Likewise.
9859         * gdb.base/printcmds.exp: Likewise.
9860         * gdb.base/ptype.exp: Likewise.
9861         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
9862         h8300 xfails.
9863         * gdb.base/return.exp: Handle float/double precision problems
9864         on the h8300.
9865         * gdb.base/funcargs.c: Explicitly make last constant argument to
9866         call_after_alloca_subr an unsigned long type.
9867         * gdb.base/return.c: Include stdio.h.
9868
9869 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
9870
9871         * config/abug.exp: New file for the older Motorola Bug monitor
9872         that runs on the mvme13x series VME boards.
9873         * config/monitor.exp: Use the new config array for target settings
9874         if they exist.
9875
9876 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
9877
9878         * sim-gdb.exp: Make the SH simulator allocate less space when
9879         it is targeted.
9880
9881 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
9882
9883         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
9884         test.
9885
9886 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
9887
9888         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
9889         "rs6000-*-*" for "list function in include file" when gcc compiled.
9890         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
9891         for "p ctable1[120]".
9892         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
9893         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
9894         Remove setup_xfail for "rs6000-*-*" for
9895         "print 'scope0.c'::filelocal before run".
9896         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
9897         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
9898         since some compilers don't allow both options to be given
9899         on the same command line.  Create object file and move it.
9900
9901 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
9902
9903         * gdb.base/corefile.exp: Always regenerate the core file, since
9904         we always regenerate the coremaker program.  Detect special case
9905         where registers cannot be read from core file.
9906
9907 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
9908
9909         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
9910         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
9911         * gdb.c++/templates.exp: Only match on basename of file since
9912         some formats like xcoff don't encode directory information.
9913         * gdb.stabs/weird.exp: Use the right sed script for powerpc
9914         and rs6000 AIX xcoff targets.
9915         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
9916         * configure: Regenerate.
9917         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
9918         here, rather than in distclean.
9919
9920 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
9921
9922         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
9923         defined, and use it to compile the test case with -O2.  The
9924         native compilation still uses no optimization.
9925         * gdb.base/mips_pro.c: Remove inline assembly code since
9926         it is compiled PIC by default, which results in assembler
9927         warnings that make the testsuite think the compilation
9928         was unsuccessful.
9929
9930 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
9931
9932         * gdb.c++/misc.exp: Add note to message for
9933         "print s.a for foo struct" that this is a known gcc 2.7.2
9934         and earlier bug.
9935
9936 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
9937
9938         * gdb.base/break.exp: Fix pattern for matching "Delete all
9939         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
9940         setup_xfail for deleting all breakpoints test.  Fix various
9941         timeout messages to include "(timeout)".
9942         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
9943         for "p t_float_values2(3.14159,float_val2)".
9944         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
9945         for "continue to call2g" when gcc compiled.
9946         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
9947         "up to foo in langs.exp", "show language at foo in langs.exp",
9948         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
9949         and "show language at fsub in langs.exp".
9950         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
9951         "list line 1 in include file", "list message for lines past EOF",
9952         "list function in include file", "list list0.h:foo", and
9953         "list filename:function; nonexistant function".
9954         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
9955         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
9956         and "ptype t_char_array" to be for native cc only.
9957
9958 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
9959
9960         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
9961         setup_xfail for "print coremaker_bss", "print coremaker_ro",
9962         "print func2::coremaker_local", and "backtrace in corefile.exp".
9963
9964 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
9965
9966         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
9967         "bt in signals.exp".  This problem only appears when running
9968         the testsuite, and then only intermittently.
9969
9970 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
9971
9972         * gdb.base/return.exp (return_tests): Differentiate between
9973         two tests of continuing.
9974
9975 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
9976
9977         * */Makefile.in (maintainer-clean): Remove config.log.
9978         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
9979         * gdb.c++/Makefile.in (PROGS): Add inherit.
9980         (clean): Remove *.ci.
9981
9982 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
9983
9984         * gdb.c++/misc.cc: Add test code from Mike Stump.
9985         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
9986
9987 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
9988
9989         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
9990         to "alpha-*-osf2*" and add comment.
9991         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
9992         setup_xfail for "step over execarg initialization" and
9993         "step over corearg initialization".
9994         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
9995         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
9996         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
9997         gcc compiled for "print coremaker_bss", "print coremaker_ro",
9998         "print func2::coremaker_local", and "backtrace in corefile.exp".
9999         * gdb.base/signals.exp: Build and source signals.ci.
10000         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
10001         to be for gcc only.
10002         * lib/gdb.exp: Move verbose statements outside conditionals.
10003
10004 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10005
10006         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
10007         Feb 3 procfs.c change.
10008
10009 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
10010
10011         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
10012
10013 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
10014
10015         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
10016         from dejagnu's apparent default of 10 seconds, which gives random
10017         results when running the tests over NFS on moderately loaded systems.
10018         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
10019
10020 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
10021
10022         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
10023         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
10024         result reports.
10025
10026 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
10027
10028         * configure.in (CY_AC_PATH_TCLH): Remove.
10029         * configure: Regenerate.
10030
10031 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
10032
10033         * gdb.c++/Makefile.in (clean): Add missing '{'.
10034
10035 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
10036
10037         * lib/gdb.exp: Provide a default value for noinferior.
10038
10039         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
10040         Load libgloss.exp.
10041
10042 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
10043
10044         * gdb.disasm/hppa.exp: Compile directly into an executable, use
10045         the executable, not the .o to run the tests from.
10046
10047 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
10048
10049         * gdb.base/break.exp: Don't test for program exit or exit status
10050         if $noresults if nonzero.
10051         * gdb.base/langs.exp: Likewise.
10052         * gdb.base/watchpoint.exp: Likewise.
10053
10054         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
10055         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
10056         trying to compile the testcase.
10057
10058 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
10059
10060         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
10061         * gdb.base/signals.exp (continue to handler): Likewise.
10062
10063 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
10064
10065         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
10066
10067         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
10068
10069 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
10070
10071         * gdb.base/corefile.exp: Recognize "not found" as failure
10072         when trying to determine if a core file was generated.
10073         If no core file was generate the first time, try again without
10074         the ulimit -c to work around braindamaged shells.
10075
10076 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
10077
10078         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
10079         [] tests with "test" and enclose string in quotes.
10080         * gdb.stabs/configure: Rebuild
10081
10082 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
10083
10084         Changes in sync with expect:
10085         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
10086         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
10087         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
10088         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
10089         argument to AC_REQUIRE.
10090         * configure: Regenerated.
10091
10092 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
10093
10094         * gdb.base/corefile.exp: When generating a core, discard any
10095         error messages about ulimit not found and the "core dumped"
10096         message from the shell that runs the coredumper.
10097
10098 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
10099
10100         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
10101
10102         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
10103         which sed script to run.  Expect failure for v_comb test
10104         on PA targets too.
10105
10106 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
10107
10108         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
10109         "print func2::coremaker_local" and for "backtrace in corefile.exp"
10110
10111 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
10112
10113         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
10114         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
10115         "sparc-sun-solaris*" xfails for "p v_comb".
10116         * lib/gdb.exp (default_gdb_start): Fix typo.
10117         * gdb.base/corefile.exp: Allow "Core was generated by ..."
10118         messages to not include the full program name that caused
10119         the core dump since some systems (such as solaris) apparently
10120         truncate this path to about 80 characters.
10121         When generating a core file first try increasing the core file
10122         size limit to unlimited since some systems may default it to
10123         zero, and it is harmless to try it.  Move the test for failing
10124         to generate a core file to where it will actually get executed.
10125         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
10126         new gdb result from g++ debug info improvements and make old
10127         pattern obsolescent.  Also account for size_t differences
10128         (may be int or long).
10129         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
10130         initialization before function call is placed in the delay slot
10131         and thus appears to be skipped over by commands such as "next".
10132
10133 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
10134
10135         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
10136
10137 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
10138
10139         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
10140         input source file; fix code to compile test to deal with this
10141         convention.
10142         * gdb.c++/*.exp: Likewise.
10143
10144 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
10145
10146         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
10147         "bt in signals.exp".
10148
10149 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
10150
10151         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
10152         "step over execarg initialization" and
10153         "step over corearg initialization".
10154
10155 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
10156
10157         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
10158         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
10159
10160 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
10161
10162         From Rob Savoye  (rob@poseidon.cygnus.com)
10163         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
10164         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
10165         configure.in}, gdb.disasm/{Makefile.in, configure.in},
10166         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
10167         configure.in}: Major reworking for autoconfig.
10168         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
10169         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
10170         New files.
10171         * config/unix-gdb.exp:  Make GDB global.
10172         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
10173         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
10174         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
10175         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
10176         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
10177         term.exp, twice.exp, watchpoint.exp, whatis.exp},
10178         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
10179         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
10180         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
10181         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
10182         pr-8136.exp, result.exp, string.exp, tuples.exp},
10183         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
10184         to returns as necessary, arrange for test to compile own testcase
10185         executable.
10186         * lib/gdb.exp: Changes for testsuite to compile own test cases.
10187
10188 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
10189
10190         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
10191         clear_xfail at end of test which might not call either pass or fail.
10192         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
10193         "backtrace through signal handler".
10194
10195 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10196
10197         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
10198         continuing from a job control stop signal.
10199         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
10200
10201 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
10202
10203         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
10204         * gdb.base/corefile.exp: Likewise.
10205         * gdb.base/funcargs.exp: Likewise.
10206
10207 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
10208
10209         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
10210         * config/monitor.exp:  Add support for setting baud rate.
10211
10212 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
10213
10214         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
10215         i*86-*-linux* xfails for "backtrace through signal handler".
10216         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
10217         "print func2::coremaker_local".
10218         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
10219         alpha-dec-osf2* xfail for
10220         "delete all breakpoints when none".
10221
10222 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
10223
10224         * gdb.base/break.exp: Change test that deletes all breakpoints
10225         when no user breakpoints are installed.  A post 4.15 change
10226         causes gdb to no longer prompt in this case.
10227
10228 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
10229
10230         * gdb.base/return.exp (return_tests):  Change xfail for test
10231         "correct value returned double test" to stop xfailing at
10232         Solaris 2.5.  Apparently the bug has been fixed.
10233
10234 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
10235
10236         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
10237         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
10238
10239 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
10240
10241         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
10242         * gdb.disasm/hppa.s: Corresponding changes.
10243
10244 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
10245
10246         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
10247         makefile fragment.
10248         * config/mt-hpux: Deleted.
10249
10250 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
10251
10252         * Many files: When warning about suppressed tests due to a
10253         nonexistant test binary, avoid incrementing the warning count.
10254
10255 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
10256
10257         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
10258
10259 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10260
10261         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
10262         "sparc-*-solaris2*".
10263
10264 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10265
10266         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
10267         Add global and local variables and initialize them.
10268         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
10269         by printing variables. Remove rs6000 and powerpc xfails, BFD now
10270         extracts the file name and terminating signal from the core file.
10271         * TODO:  Remove note about tests for correct mapping of corefile.
10272         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
10273         from optimizing it away.
10274         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
10275         handles common blocks.
10276
10277 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
10278
10279         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
10280         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
10281
10282 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
10283
10284         * Makefile.in (maintainer-clean): New target, synonym for
10285         realclean.
10286         * gdb.base/Makefile.in (maintainer-clean): Likewise.
10287         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
10288         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
10289         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
10290         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
10291         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
10292
10293 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
10294
10295         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
10296         xfails when not gcc compiled for "print foo::funclocal".
10297         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
10298         "print foo::funclocal at foo",
10299         "print 'scope1.c'::foo::funclocal at foo",
10300         "print foo::funclocal_bss at foo",
10301         "print 'scope1.c'::foo::funclocal_bss at foo",
10302         "print foo::funclocal_ro at foo",
10303         "print 'scope1.c'::foo::funclocal_ro at foo",
10304         "print bar::funclocal at foo" and
10305         "print 'scope1.c'::bar::funclocal at foo".
10306         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
10307         gcc compiled for "print foo::funclocal at bar".
10308         Expand all messages to ensure that they identify that
10309         the test is at bar().
10310         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
10311         gcc compiled for:
10312         "ptype on opaque struct pointer (statically)",
10313         "ptype on opaque struct tagname (statically)",
10314         "ptype on opaque struct pointer (dynamically) 1",
10315         "ptype on opaque struct tagname (dynamically) 1",
10316         "ptype on opaque struct pointer (dynamically) 2" and
10317         "ptype on opaque struct tagname (dynamically) 2
10318         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
10319         gcc compiled for:
10320         "p datalocal"
10321         "whatis datalocal",
10322         "ptype datalocal",
10323         "p bsslocal",
10324         "whatis bsslocal", and
10325         "ptype bsslocal".
10326         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
10327         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
10328         when not gcc compiled.
10329         * gdb.base/funcargs.exp (float_and_integral_args):  Add
10330         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
10331         compiled.
10332         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
10333         "backtrace from call6a" when not gcc compiled.
10334         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
10335         "backtrace from call7a" when not gcc compiled.
10336         * gdb.base/callfuncs.exp (do_function_calls):
10337         Add "hppa*-*-hpux*" xfail when not gcc compiled for
10338         "p t_char_array_values(char_array_val2,char_array_val1)",
10339         "p t_char_array_values(char_array_val1,char_array_val2)",
10340         "p t_char_array_values("carray 1","carray 2")",
10341         "p t_char_array_values("carray 1",char_array_val2)",
10342         "p t_char_array_values(char_array_val1,"carray 2")",
10343         "p sum_args(1,{2})",
10344         "p sum_args(2,{2,3})",
10345         "p sum_args(3,{2,3,4})",
10346         "p sum_args(4,{2,3,4,5})"
10347         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
10348         "backtrace in corefile.exp" when not gcc compiled.
10349
10350 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10351
10352         * gdb.base/signals.exp:  Rewrite `handle all print' test as
10353         a procedure. Accept blanks or TABs as whitespace, increase
10354         timeout and expect input buffer size for the large output
10355         from the command. Remove "i*86-*-bsdi2.0" xfail.
10356
10357 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10358
10359         * gdb.base/setvar.exp:  Add new testcases for truncation when
10360         assigning invalid values to bitfields.
10361
10362 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
10363
10364         * gdb.base/callfuncs.exp (do_function_calls):  Remove
10365         mips-sgi-irix* xfail for
10366         "call inferior func with struct - returns char *"
10367         and fix test so that an optional (unsigned char *) cast is
10368         accepted in the result.
10369
10370 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
10371
10372         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
10373         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
10374         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
10375         * gdb.base/signals.exp: Remove duplicate "handle all print" test
10376         that accidentally got checked in.
10377
10378 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
10379
10380         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
10381         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
10382         compiled test.
10383         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
10384         Add mips-sgi-irix5* xfail for not gcc compiled.
10385         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
10386         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
10387         "p top", "whatis top", "p middle", and "whatis middle".
10388         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
10389         "whatis signed char" for not gcc compiled.
10390         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
10391         "set variable signed char=-1 (-1)" and
10392         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
10393         * gdb.base/funcargs.exp (float_and_integral_args):
10394         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
10395         Add mips-sgi-irix* xfail when not gcc compiled for
10396         "continue to call2b".
10397         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
10398         "continue to call2g".
10399         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
10400         "backtrace from call6a"
10401         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
10402         "backtrace from call7k".
10403         Add mips-sgi-irix5* xfail when not gcc compiled for
10404         "backtrace from call7a".
10405         (localvars_after_alloca):  Fix gdb_test cmds for
10406         "print * after runto ...".
10407         Remove rs6000-*-* xfails for
10408         "print i after runto localvars_after_alloca" and
10409         "print l after runto localvars_after_alloca"
10410         for all compilers.
10411         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
10412         when not compiled with gcc, for:
10413         "print signed char == (minus)",
10414         "print signed char != (minus)",
10415         "print signed char < (minus)",
10416         "print signed char > (minus)".
10417         * gdb.base/callfuncs.exp (do_function_calls):
10418         Add mips-sgi-irix* xfail, when compiled with native compiler, for
10419         "call inferior func with struct - returns char *".
10420         * gdb.base/return.exp (return_tests): Change xfail for
10421         "correct value returned double test" to include Solaris 2.4.
10422         * gdb.base/funcargs.exp (float_and_integral_args):
10423         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
10424
10425 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10426
10427         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
10428         enumeration bitfields if compiling with GNU C.
10429         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
10430         to empty' prompt.
10431
10432 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
10433
10434         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
10435         test for PRO targets.
10436
10437         * gdb.base/funcargs.exp: Avoid ever setting more than 8
10438         breakpoints in the inferior at any given time by making
10439         two groups of breakpoints for call2*, call6* and call7*
10440         tests.
10441
10442 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10443
10444         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
10445         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
10446         from optimizing it away.
10447         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
10448         "call inferior func with struct".
10449
10450 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
10451
10452         * configure.in: Only configure gdb.chill for particular targets.
10453
10454 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
10455
10456         * gdb.base/Makefile.in:  Add action to .c.o transformation
10457         rule that generates a .ci file for each .o file and remove
10458         explicit .c.o rules except for callfuncs.o.
10459         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
10460         generates a .ci file for each .o file and remove explicit
10461         .cc.o rules.
10462         (clean): Remove *.tmp *.ci files.
10463         (EXECUTABLES): Remove templ-info.exp.
10464         * gdb.base/compiler.c: New file.
10465         * gdb.c++/compiler.cc: New file
10466         * gdb.base/scope.exp: Source gdb.base/scope.ci.
10467         Change rs6000-*-* xfail for
10468         "print 'scope0.c'::filelocal_ro" and
10469         "print 'scope1.c'::filelocal" and
10470         "print 'scope1.c'::filelocal_bss" and
10471         "print 'scope1.c'::filelocal_ro" and
10472         "print 'scope1.c'::foo::funclocal" and
10473         "print 'scope1.c'::foo::funclocal_ro" and
10474         "print 'scope1.c'::bar::funclocal" and
10475         "print 'scope0.c'::filelocal_ro" and
10476         "print 'scope1.c'::filelocal at foo" and
10477         "print 'scope1.c'::filelocal_bss at foo" and
10478         "print 'scope1.c'::filelocal_ro at foo" and
10479         "print 'scope1.c'::foo::funclocal at foo" and
10480         "print 'scope1.c'::foo::funclocal_bss at foo" and
10481         "print 'scope1.c'::foo::funclocal_ro at foo" and
10482         "print 'scope1.c'::bar::funclocal at foo" and
10483         "print 'scope0.c'::filelocal_ro" and
10484         "print 'scope1.c'::filelocal" and
10485         "print 'scope1.c'::filelocal_bss" and
10486         "print 'scope1.c'::filelocal_ro" and
10487         "print 'scope1.c'::foo::funclocal" and
10488         "print 'scope1.c'::foo::funclocal_bss" and
10489         "print 'scope1.c'::foo::funclocal_ro" and
10490         "print 'scope1.c'::bar::funclocal" and
10491         "print 'scope1.c'::bar::funclocal_bss"
10492         to only be xfail'd when not compiled with gcc.
10493         Add rs6000-*-* xfail for
10494         "print 'scope0.c'::filelocal_bss before run"
10495         when compiled with gcc.
10496         (test_at_main): Add rs6000-*-* xfail for
10497         "print filelocal_ro in test_at_main"
10498         when compiled with gcc.
10499         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
10500         Add rs6000-*-aix* xfail for
10501         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
10502         "ptype t_char_array",  not compiled with gcc.
10503         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
10504         xfail for "list foo (in include file)" when gcc compiled.
10505         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
10506         (integral_args): Add rs6000-*-* xfail for
10507         "run to call0a" if not compiled with gcc.
10508         (unsigned_integral_args): Add rs6000-*-* xfail for
10509         "run to call1a" if not compiled with gcc.
10510         (float_and_integral_args):  Add rs6000-*-* xfail for
10511         "run to call2a" if not compiled with gcc and for
10512         "continue to call2b" for any compiler.
10513         Add rs6000-*-* xfail to
10514         "print f1 after run to call2a" for gcc compiled.
10515         (discard_and_shuffle): Add rs6000-*-* xfail for
10516         "run to call6a".
10517         (shuffle_round_robin): Add rs6000-*-* xfail for
10518         "backtrace from call7a" if not compiled with gcc.
10519         Add rs6000-*-* xfail for
10520         "backtrace from call7b" if compiled with gcc.
10521         (call_after_alloca): Add rs6000-*-* xfail for
10522         "print c in call_after_alloca" and
10523         "print s in call_after_alloca" and
10524         "backtrace from call_after_alloca_subr"
10525         if not compiled with gcc.
10526         (localvars_in_indirect_call): Add rs6000-*-* xfail for
10527         "print c in localvars_in_indirect_call" and
10528         "print c in localvars_in_indirect_call" and
10529         "backtrace in indirectly called function" and
10530         "stepping into indirectly called function"
10531         if not compiled with gcc.
10532         (localvars_after_alloca): Add rs6000-*-* xfail for
10533         "print c after runto localvars_after_alloca" and
10534         "print s after runto localvars_after_alloca" and
10535         "print i after runto localvars_after_alloca" and
10536         "print l after runto localvars_after_alloca"
10537         for all compilers.
10538         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
10539         than whatis-info.exp.
10540         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
10541         than opaque-info.exp.
10542         Setup rs6000-*-* xfail for
10543         "ptype on opaque struct pointer (statically)" and
10544         "ptype on opaque struct pointer (dynamically)" when
10545         not compiled with gcc.
10546         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
10547         rather than callf-info.exp.
10548         (do_function_calls):  Add clear_xfail for rs6000-*-* for
10549         "p t_float_values2(3.14159,float_val2)".  Seems to work
10550         fine there, both with xlc and gcc.  Need to find out what
10551         it is doing right and fix other platforms.
10552         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
10553         "call inferior func with struct - returns int",
10554         "call inferior func with struct - returns long",
10555         "call inferior func with struct - returns float",
10556         "call inferior func with struct - returns double",
10557         "call inferior func with struct - returns char *",
10558         but only if not gcc compiled (presumes xlc compiled).
10559         Change rs6000-*-* xfails for
10560         "call inferior func with struct - returns char" and
10561         " call inferior func with struct -  returns short" to only
10562         xfail if not using gcc.
10563         (clean mostlyclean):  Remove *.ci and *.tmp files.
10564         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
10565         than templ-info.exp.
10566         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
10567         Add rs6000-*-* xfail for "up to foo in langs.exp"
10568         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
10569         when not gcc compiled.
10570
10571 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
10572
10573         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
10574         * gdb.base/corefile.exp: Likewise.
10575         * gdb.base/list.exp: Likewise.
10576         * gdb.base/scope.exp: Likewise.
10577         * gdb.base/siganls.exp: Likewise.
10578
10579         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
10580         compiler output.
10581         * gdb.base/whatis.exp: Likewise.
10582
10583 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
10584
10585         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
10586         failure (opcode table has been fixed to match reality).
10587
10588 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
10589
10590         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
10591         "call inferior func with struct - returns char",
10592         "call inferior func with struct - returns short"
10593
10594         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
10595         "print 'scope0.c'::filelocal at main",
10596         "print 'scope0.c'::filelocal_bss in test_at_main",
10597         "print 'scope0.c'::filelocal at foo",
10598         "print 'scope0.c'::filelocal_bss in test_at_foo",
10599         "print 'scope0.c'::filelocal at bar",
10600         "print 'scope0.c'::filelocal_bss in test_at_bar"
10601
10602         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
10603         in source file 1".  This bug seems to have been fixed with both
10604         gcc and native cc (was native assembler bug?).
10605
10606 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
10607
10608         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
10609         "backtrace through signal handler" to "i*86-*-sysv4*".
10610         * gdb.base/signals.exp: Add xfail for "'next' behaved as
10611         continue" case.  Add "known SVR4 bug" to fail message.
10612         Add "i*86-*-bsdi2.0" xfail for "handle all print".
10613         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
10614         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
10615         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
10616         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
10617         "up to foo in langs.exp", "show language at foo in
10618         langs.exp", "up to cppsub_ in langs.exp", "show
10619         language at cppsub_ in langs.exp", "up to fsub in
10620         langs.exp", and "show language at fsub in langs.exp".
10621         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
10622         "bactrace in corefile.exp".
10623         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
10624         "call inferior function with struct - returns float" and
10625         "call inferior function with struct - returns double".
10626
10627 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
10628
10629         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
10630         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
10631         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
10632         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
10633
10634 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
10635
10636         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
10637         (or overriden) "CHILL" macro rather then bare "gcc".
10638         Also look for ../../gcc/xgcc since that is what we will
10639         actually need, not "Makefile".  Remove following assignment
10640         of CHILL to CHILL_FOR_TARGET because that results in
10641         recursive definition.
10642
10643 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
10644
10645         * gdb.base/corefile.exp:  Change xfail for backtrace in
10646         corefile.exp from linuxaout to all linux.
10647         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
10648         cases where we miss the breakpoint at the signal handler
10649         for some reason.  Setup xfail for linuxoldld/linuxaout and
10650         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
10651         hitting SIGURG breakpoint.
10652         * gdb.base/signals.exp:  Setup xfail for "next" acting like
10653         continue to add linuxoldld.  Setup xfail for all linux for
10654         "next to handler in signals_tests_1", "backtrace in
10655         signals_tests_1", "continue to func1", "pass SIGUSR1",
10656         and continue to handler".
10657
10658 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
10659
10660         * Update all FSF addresses except those in COPYING* files.
10661
10662 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
10663
10664         * gdb.base/a2-run.exp: Change messages to be more explicit about
10665         the status of args, and quote binfile in results.
10666
10667 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
10668
10669         * gdb.base/callfuncs.exp: Add tests for passing structs to
10670         inferior functions and return various types.
10671         * gdb.base/callfuncs.c: Add functions to receive a struct
10672         and return a member of the struct, in various types.
10673
10674 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10675
10676         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
10677
10678 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
10679
10680         * config/vxworks29k.exp: New file, sources vxworks.exp.
10681
10682 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
10683
10684         * config/gdbremote.exp: New file.  Testing framework using
10685         gdbserver.
10686
10687 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
10688
10689         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
10690         "call function when asleep" and "send end of file".
10691         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
10692         for "backtrace in corefile.exp".
10693         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
10694         for "backtrace through signal handler".
10695         * gdb.base/corefile.exp: Make sure we actually generate a core file
10696         before trying the core tests.  Some systems allow the user to suppress
10697         generation of core files and default to that (linux for example).
10698         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
10699         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
10700
10701 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
10702
10703         * gdb.threads: New directory with some crude multi-threaded
10704         gdb tests (step.exp and step2.exp).
10705         * config/mt-lynx (STEP_EXECUTABLE): Define.
10706         (THREADFLAGS): Define.
10707
10708 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
10709
10710         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
10711
10712         * gdb.base/signals.exp: Disable whole file for lynx until
10713         further notice.
10714
10715         * gdb.base/signals.exp: xfail test where "next" acts like
10716         "continue" for lynx.
10717
10718         * gdb.base/interrupt.exp: xfail test for calling function while
10719         inferior is asleep for lynx.
10720
10721         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
10722         than one cr-lf  after each command.
10723
10724 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10725
10726         * configure.in:  Reinstate setting of stabsdirs variable, fix
10727         typo in setting up configdirs for native builds.
10728
10729         * gdb.base/return.exp:  Fix typo in return double test.
10730         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
10731         compiler from optimizing them away.
10732
10733 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
10734
10735         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
10736         sequences to be echo'd by gdb when using gdb_test.
10737         * gdb.chill/chexp.exp: Likewise.
10738         * gdb.fortran/exprs.exp: Likewise
10739
10740 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
10741
10742         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
10743         after the inferior gdb has started.
10744
10745         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
10746         after each command.
10747         * gdb.base/funcargs.exp: Likewise.
10748         * gdb.base/gdbvars.exp: Likewise.
10749         * gdb.base/interrupt.exp: Likewise.
10750         * gdb.base/list.exp: Likewise.
10751         * gdb.base/watchpoint.exp: Likewise.
10752         * gdb.c++/demangle.exp: Likewise.
10753         * gdb.c++/inherit.exp: Likewise.
10754         * gdb.chill/chexp.exp: Likewise.
10755         * gdb.fortran/exprs.exp: Likewise.
10756
10757         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
10758         test if we can't handle IO to/from the inferior.
10759
10760         * gdb.c++/misc.exp: Always check for a program already being
10761         started after sending a "run" command to gdb.
10762
10763         * gdb.base/twice.exp: Start with a fresh gdb.
10764
10765         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
10766         only depend on gdb's expression code, not the chill runtime.
10767
10768         * gdb.base/return.c: Put return values into variables so we
10769         can have gdb print them rather than depending on the program
10770         to print them.
10771         * gdb.base/return.exp: Corresponding changes.
10772
10773         * lib/gdb.exp: Provide default value for noinferiorio.
10774         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
10775         the inferior.
10776
10777         * gdb.base/break.exp: Always check for a program already being
10778         started after sending a "run" command to gdb.
10779         (text_next_with_recursion): Don't check the output from the
10780         program's printf statement.  Instead just make sure the program
10781         exited.
10782
10783         * gdb.base/commands.exp: Protect tests which need arguments with
10784         $noargs conditionals.
10785
10786 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10787
10788         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
10789         of structure member arrays to match gdb/valops.c:value_addr change.
10790
10791 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
10792
10793         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
10794         cases.
10795
10796 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
10797
10798         * configure.in (configdirs):  Remove gdb.chill from default list
10799         of subdirs and then add it back in only if doing a native build.
10800         The current chill compiler does not yet work in any cross build.
10801         * Revert all signal changes from Jul 6.
10802         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
10803         for sh-hms targets, allowing these tests to link, with no other
10804         changes.  Testing is suppressed by setting "nosignals" in site.exp.
10805
10806 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
10807
10808         * configure.in (signaldirs): Define and add to configdirs for all
10809         targets except some specific ones that are known to not support signals.
10810         Also clean up formatting.
10811         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
10812         (signals, sigall):  Remove rules to build.
10813         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
10814         Moved to new gdb.signals directory.
10815         * gdb.signals: New test directory.
10816         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
10817         signals.c signals.exp}:  New or moved files.
10818
10819 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
10820
10821         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
10822
10823 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
10824
10825         * gdb.base/return.exp:  Xfail `return double' test failure
10826         on at least Solaris 2.3 and handle future/past versions on
10827         a case by case basis as appropriate.  Also update message
10828         to include i*86 failures.
10829
10830 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10831
10832         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
10833
10834         * lib/gdb.exp: Fix comment which erroneously identified
10835         gdb_file_cmd as gdb_load (the 19 May change was in fact to
10836         gdb_file_cmd not gdb_load).
10837         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
10838
10839         * gdb.base/setvar.exp: Make test names consistent between pass and
10840         fail cases.  Use gdb_test more.
10841
10842 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10843
10844         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
10845
10846 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10847
10848         * gdb.base/help.exp:  Fix expected help string for `show commands'.
10849
10850 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
10851
10852         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
10853
10854         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
10855         of a text section.
10856
10857 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
10858
10859         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
10860         that loop eventually terminates.  Fix Connection refused logic so
10861         that testsuite will expire nicely.
10862
10863 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
10864
10865         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
10866         config/rom68k.exp:  New tcl glue for the appropriate monitors.
10867         These all just end up calling monitor.exp.
10868         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
10869         refused' by retrying.  Cleanup some timeout issues.
10870         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
10871         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
10872         callers don't have to set/restore global timeout variable.
10873
10874         * The following set of changes centralizes management of the global
10875         timeout variable.  This way, it can be set in one target dependent
10876         place instead of dozens of places scattered throughout the test suite.
10877         If you need to lengthen a timeout, then you should either set timeout
10878         in one of the config/{target}.exp files, or multiply it by a factor.
10879         Setting it to an absolute value is always going to lose for some
10880         targets.
10881         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
10882         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
10883         * gdb.base/funcargs.exp:  Don't set timeout.
10884         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
10885         * gdb.base/printcmds.exp (test_print_string_constants
10886         test_print_array_constants):  Don't set timeout.
10887         * gdb.base/ptype.exp:  Don't set timeout.
10888         * gdb.base/recurse.exp:  Don't set timeout.
10889         * gdb.base/return.exp:  Don't set timeout.
10890         * gdb.base/watchpoint.exp:  Don't set timeout.
10891         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
10892         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
10893
10894 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
10895
10896         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
10897
10898 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10899
10900         * lib/gdb.exp: Disable chill tests for irix5.
10901
10902 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10903
10904         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
10905         each test pass or fail.
10906
10907 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10908
10909         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
10910         xlc not gcc.
10911
10912 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
10913
10914         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
10915
10916 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
10917
10918         * config/est.exp:  Fix copyright and comments.  Remove dead code.
10919         Use targetname, serialport and baud variables instead of fixed
10920         constants.
10921         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
10922         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
10923
10924 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10925
10926         * gdb.base/watchpoint.exp: Don't run
10927         test_watchpoint_triggered_in_syscall for sunos.
10928
10929 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10930
10931         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
10932         they don't seem to exist.  Do include stdio.h.
10933
10934 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10935
10936         * gdb.base/a1-selftest.exp: Add alpha xfail.
10937
10938 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10939
10940         * gdb.base/watchpoint.c (main): Prompt before calling read().
10941         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10942         Revise accordingly.  Remove cruft about sending "123" several
10943         times, until it gets noticed.  Clean up the "print buf[0]" stuff
10944         so that it passes or fails, and waits for prompts in the usual way.
10945
10946 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10947
10948         * gdb.base/recurse.exp: Fix comment.
10949
10950         * TODO: Remove item about printing variables in nodebug.exp.  Add
10951         item about enabling tests which are only run on some targets.
10952
10953         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
10954         fail, make test names unique, use new gdb_test convention
10955         regarding pattern, use gdb_test more, etc.).
10956
10957         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
10958         fail, make test names unique, etc.).
10959
10960 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10961
10962         * gdb.base/nodebug.c:  Change return type of top and middle to
10963         short.
10964         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
10965         are fixed by the recent mdebugread.c changes. Allow `short ()'
10966         as type for top and middle.
10967
10968 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10969
10970         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
10971         nearly as I can tell, the whole thing was an accident in Stu's
10972         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
10973         to replace a send/expect pair with gdb_test, but ended up only
10974         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
10975         of 30 Mar 1995 took care of it, but left this vestigial comment
10976         which I am now nuking.
10977
10978 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10979
10980         * gdb.base/break.exp: Look for different line number for
10981         breakpoint at main depending on usestubs.
10982
10983 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10984
10985         * gdb.base/list.exp:  Adjust some alternate expect patterns to
10986         match recent list0.c change. Add alternate expect pattern for
10987         output from `list default lines around main' for optimizing
10988         compilers.
10989
10990 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10991
10992         * lib/gdb.exp: If nosignals is not set, set it to 0.
10993
10994 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
10995
10996         * config/slite-gdb.exp: Responds to load symbol table prompt.
10997         * gdb.base/break.exp: Adjust line number, fix rerun.
10998         * gdb.base/langs0.c: Add #ifdef usestubs.
10999
11000 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
11001
11002         * gdb.base/list.exp: Adjust line contents after adding new lines in
11003         list0.c. Also fix a syntax error.
11004
11005         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
11006         * gdb.base/break.exp: ditto.
11007         * gdb.base/list.exp: ditto.
11008         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
11009         * gdb.base/run.c: ditto.
11010         * gdb.base/list0.c: ditto.
11011         * gdb.base/funcargs.c: ditto.
11012
11013 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
11014
11015         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
11016         $targetname, $serialport and $baud instead of hardwired variables.
11017         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
11018         target doesn't support signals.
11019
11020 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
11021
11022         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
11023
11024 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11025
11026         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
11027         Don't rely on the value of an auto variable before it has been
11028         initialized.  Use gdb_test more.
11029
11030 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11031
11032         * lib/gdb.exp (default_gdb_version): A version number must start
11033         with a digit, but other than that contains all characters up to
11034         the first whitespace character.
11035
11036 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11037
11038         * gdb.base/commands.exp (breakpoint_command_test): New tests.
11039
11040 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11041
11042         * gdb.c++/*.exp: Warn if executable does not exist.  The original
11043         reason for skipping the warning was that configure.in sometimes
11044         intentionally skipped building the executables but the tcl code
11045         had no way of knowing.  That (a) was always bogus with respect to
11046         error handling, (b) is no longer true (right now there is no way
11047         to skip C++ tests).
11048
11049         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
11050
11051 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11052
11053         * gdb.base/list.exp:  Add expect patterns for output from
11054         SunPRO compiled executables.
11055         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
11056         types.
11057
11058 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11059
11060         * gdb.base/break.exp (test_next_with_recursion): Accept any line
11061         number (we are already testing that the correct source line text
11062         gets printed).
11063
11064         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
11065         that is what is intended, but something needed to be done to get
11066         sunos4 native working again.
11067
11068         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
11069
11070         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
11071         apparently went with a (very) old xfail.
11072
11073 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
11074
11075         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
11076         runto_main is a proc in gdb.exp that will do 'step' for target use
11077         stubs.
11078         * gdb.base/exprs.exp: ditto.
11079         * gdb.base/interrupt.exp: ditto.
11080         * gdb.base/opaque.exp: ditto.
11081         * gdb.base/printcmds.exp: ditto.
11082         * gdb.base/ptype.exp: ditto.
11083         * gdb.base/scope.exp: ditto.
11084         * gdb.base/setvar.exp: ditto.
11085         * gdb.base/signals.exp: ditto.
11086         * gdb.base/twice.exp: ditto.
11087         * gdb.c++/classes.exp: ditto.
11088         * gdb.c++/inherit.exp: ditto.
11089         * gdb.c++/templates.exp: ditto.
11090         * gdb.base/break.exp: no run and hit main for stubs. Change line
11091         numbers for breakpoints and info breakpoint.
11092         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
11093         breakpoint().
11094         * gdb.base/callfuncs.c: ditto.
11095         * gdb.base/exprs: ditto.
11096         * gdb.base/interrupt.c: ditto.
11097         * gdb.base/opaque0.c: ditto.
11098         * gdb.base/printcmds.c: ditto.
11099         * gdb.base/ptype.c: ditto.
11100         * gdb.base/scope0.c: ditto.
11101         * gdb.base/setvar.c: ditto.
11102         * gdb.base/signals.c: ditto.
11103         * gdb.base/twice.c: ditto.
11104         * gdb.c++/misc.cc: ditto.
11105         * gdb.c++/templates.cc: ditto.
11106
11107 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11108
11109         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
11110
11111         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
11112         somewhere between `read' and `main.c'.  I'm pretty sure the
11113         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
11114         and it isn't particularly useful.
11115
11116         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
11117
11118 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11119
11120         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
11121
11122 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
11123
11124         * config/mt-slite: add LIBS and -nostdlib.
11125         * config/slite-gdb.exp: add this new file to support sparclite target.
11126
11127 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
11128
11129         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
11130
11131         * gdb.base/a2-run.exp: Change argument to istarget from
11132         "*-*-vxworks" to "*-*-vxworks*".
11133         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
11134
11135 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
11136
11137         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
11138         will not runto main but do a 'step' to step out of breakpoint().
11139         * config/mt-slite: add -Dusestubs.
11140
11141 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11142
11143         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
11144         instead of just @.
11145
11146         * gdb.base/signals.exp: Add test for "handle all print".
11147         * TODO: Remove "handle all print".  Also remove item about
11148         checking copyright date (I don't like the idea of a spurious FAIL
11149         based on when we run the tests).
11150
11151         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
11152         for SunOS4 (reason for failure not investigated).  Remove
11153         redundant test for $binfile.
11154
11155         * gdb.base/nodebug.c (array_index): Call malloc.
11156
11157         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
11158
11159 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
11160
11161         * gdb.base/recurse.exp: Update gdb_test invocation to use new
11162         conventions and slightly simplify the matching regexp.
11163
11164 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11165
11166         * gdb.base/break.exp: Update gdb_test invocation to use new
11167         convention.
11168
11169         * lib/gdb.exp: If noargs is not set, set it to 0.
11170
11171         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
11172         tests unique.
11173
11174         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
11175
11176 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11177
11178         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
11179         one argument of type "<non-float parameter>".
11180
11181 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
11182
11183         * config/rom68k.exp:  New file to support Motorola IDP board.
11184         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
11185         * gdb.base/break.c:  Change things around so that this program
11186         doesn't depend upon args.  This is necessary to make remote
11187         targets work (in general, they can't take args).
11188         * gdb.base/break.exp:  Don't try to send args to program.  Don't
11189         expect output.  Also, replace lots of code with gdb_test.
11190
11191 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11192
11193         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
11194         printing of '\'' (which is what the comment says we are testing,
11195         even though we were not), not '''.
11196         (test_integer_literals_rejected): Test that printing ''' is an error.
11197
11198         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11199         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
11200         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
11201         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
11202         Use gdb_test not test_print_accept.
11203         * lib/gdb.exp: Remove test_print_accept.
11204
11205         * gdb.base/signals.exp (signal_tests_1): Make pass message
11206         consistent with fail message.
11207
11208         * gdb.base/whatis.exp: Remove xfails for printing char vs.
11209         unsigned char; the bug (PR 1821) is fixed.
11210
11211         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
11212
11213         * gdb.base/scope.exp (test_at_localscopes): Call pass for
11214         successful tests--makes xfailing them work right.
11215
11216 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11217
11218         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
11219         only \r\n, not .*.  The test can pass .* as the last thing in
11220         $pattern if that is what it wants.  In addition to providing this
11221         flexibility, this change should speed up pattern matching in cases
11222         where the pattern already ended with .* (there were a number of
11223         them).  This change also helps catch bad patterns--in the old
11224         scheme the typo "char \*" instead of "char \\*" would pass.  Now
11225         it is caught.
11226         * Many .exp files: Update callers.
11227
11228         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
11229         clearer and does not spuriously match multiple ('s.  Likewise for
11230         ) and *.
11231
11232         * gdb.base/nodebug.exp: Test ability to call a function and pass
11233         it a string (even with no debugging info).
11234
11235         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
11236         "p '\'", which is the same as "p ''" once tcl gets done with
11237         quoting, to "p '\\'", which I suspect is what is intended (one
11238         backslash gets sent to GDB).
11239
11240         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
11241
11242 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11243
11244         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
11245         1817) was fixed literally years ago.
11246
11247 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11248
11249         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
11250         test, it causes stepping out of call_after_alloca_subr with
11251         optimizing compilers.
11252         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
11253         fails.
11254
11255         * gdb.c++/templates.exp:  Source templ-info.exp only if
11256         the templates executable exists.
11257
11258         * gdb.c++/misc.cc (class Contains_static_instance,
11259         class Contains_nested_static_instance),
11260         gdb.c++/classes.exp (test_static_members):  Test printing of
11261         a class that contains a static instance of the class.
11262
11263 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11264
11265         * gdb.base/langs2.c (cppsub_): Don't prototype.
11266         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
11267         only, I believe).
11268
11269 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11270
11271         * lib/gdb.exp (skip_chill_tests): New procedure.
11272
11273         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
11274
11275 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
11276
11277         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
11278         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
11279
11280 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11281
11282         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
11283
11284         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
11285         disassemble 8, not 16, instructions for part 4.
11286
11287         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
11288         support the latter anymore.
11289
11290         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
11291         -DNO_PROTOTYPES.
11292         * gdb.base/callfuncs.c: Control use of prototypes based on
11293         NO_PROTOTYPES, not __STDC__.
11294         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
11295         t_float_values2 tests if prototypes in use.
11296
11297         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
11298         t_double_values):  When checking differences against DELTA, check
11299         that difference is within the range (-DELTA,DELTA), not just
11300         (-infinity,DELTA).
11301
11302 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
11303
11304         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
11305         'file' command firts, then 'target', then 'load', this is due to gdb
11306         target set up.
11307         * config/mips-gdb.exp: Fix a couple regular exp bugs.
11308
11309 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
11310
11311         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
11312         FP load/store variants.
11313         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
11314
11315 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
11316
11317         * gdb.base/term.exp: Do not give a warning if not native, it is
11318         not an abnormal condition.
11319
11320 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
11321
11322         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
11323         t_char_array".
11324
11325 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
11326
11327         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
11328         are getting the version number.
11329
11330         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
11331         if not native, it is not an abnormal condition.
11332
11333 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11334
11335         * lib/gdb.exp: Just use "file exists", rather than undocumented
11336         dejagnu procedure "findfile".
11337
11338 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
11339
11340         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
11341           (LDFLAGS): Set to -Xlinker -Ur.
11342
11343         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
11344           Removed, these values are set by lib/gdb.exp.
11345
11346         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
11347
11348 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
11349
11350         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
11351           of replicating gdb startup code.
11352
11353         * config/mt-vxworks (LDFLAGS): Set to -r.
11354           (CFLAGS_FOR_TARGET): Removed.
11355
11356         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
11357           (gdb) and gdb for vxworks uses (vxgdb).
11358
11359         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
11360           executable is not in the tree and host != target, use sed and
11361           program_transform_name to determine the gdb name used by the
11362           target.
11363
11364         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
11365           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
11366
11367 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11368
11369         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
11370         floats, chars, and shorts where there are ANSI-style function
11371         definitions.
11372
11373         * gdb.base/langs.exp, gdb.base/langs*: New test.
11374         * gdb.base/Makefile.in: Build it.
11375         * TODO: Remove item about checking that C names don't get C++
11376         demangling applied; this test tests it.
11377
11378 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11379
11380         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
11381         went with the const70 xfail.  The xfail went away a year ago.
11382
11383         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
11384
11385         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
11386         for hp300.
11387
11388         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
11389
11390         * gdb.base/a1-selftest.exp: Don't run on hp300.
11391
11392 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11393
11394         * Makefile.in (site.exp): Set host_alias and target_alias as well
11395         as host_triplet and target_triplet.
11396
11397 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11398
11399         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
11400
11401         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
11402         places as other ecoff systems).
11403
11404         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
11405         ultrix.
11406
11407 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11408
11409         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
11410         remove them.
11411         * gdb.base/nodebug.exp: Accept "function" in addition to "text
11412         variable and "variable" in addition to "data variable".
11413         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
11414
11415         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
11416         2.
11417         * gdb.base/list1.c (long_line): Add additional statement at start
11418         of function.
11419         * gdb.base/list.exp (test_forward_search): Update line number to
11420         reflect new statement.
11421
11422 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11423
11424         * gdb.base/signals.exp:  Reinitialize searched source directories
11425         after gdb_start call.
11426
11427 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
11428
11429         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
11430         * gdb.stabs/Makefile.in: Likewise.
11431
11432         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
11433         change.  Instead split the tests into smaller pieces.
11434         * gdb.disasm/hppa.s: Corresponding changes.
11435
11436 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11437
11438         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11439         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
11440
11441         * gdb.base/funcargs.exp: Modify many tests so that every test
11442         either passes or fails.  Make some test names unique.
11443
11444 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11445
11446         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11447         Call stty to set interrupt character.
11448
11449         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
11450         for HP assembler versus GNU assembler based on actual behavior of
11451         $(CC), rather than assuming that $(AS) is always the GNU assembler.
11452
11453         * TODO: Suggest a few more stepping tests.
11454
11455 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
11456
11457         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
11458         restart GDB for h8300 after a continue.
11459         (return): Add pattern to match a29k-udi behavior.
11460         * gdb.base/nodebug.exp: Remove obsolete comment.
11461         * gdb.base/regs.exp: New file, testing of register displays.
11462         * gdb.base/return.exp: Fix typo in reference to $objdir.
11463         * gdb.base/whatis.exp: Always start with a fresh GDB.
11464
11465 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11466
11467         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
11468         higher, these tests generate a lot of output.
11469
11470 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11471
11472         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
11473         code following the catch silently ignored some errors; without the
11474         catch they should be thrown like any other tcl error.  Also, the
11475         catch used "" instead of {} which meant all the callers who wanted
11476         to include one of the characters "[]$ had to quote it an extra time.
11477         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
11478         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
11479         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
11480         Remove extra quoting.
11481
11482 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
11483
11484         * gdb.base/commands.exp: Make test names unique; every test either
11485         passes or fails.  Update some comments.
11486
11487         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
11488
11489 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11490
11491         The following fixes a FAIL caused by the fact that the alpha stabs
11492         configuration didn't use the ".if alpha" code in weird.def.
11493         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
11494         bit pointer, so the 32 bit version works even on the alpha.
11495         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
11496         Remove the stuff which allowed us to have separate versions for
11497         alpha and everything else.
11498
11499         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
11500         regexp which "info func operator\[\](" is supposed to match.  Fix
11501         string to send to GDB.  Note that GDB still doesn't work right.  Add a
11502         new test for "info func .perator\[\](" which GDB does handle correctly.
11503
11504         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
11505
11506 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11507
11508         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
11509         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
11510         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
11511         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
11512         it makes the tests harder to understand and confuses test-o-matic.
11513         The preferred style is that each test provides a PASS or a FAIL,
11514         and has a unique message (e.g. "continue #54" not just "continue")
11515         which is the same for the pass and the fail.
11516         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11517         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
11518         to lib/gdb.exp.
11519         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
11520         prt_accept which was basically the same thing.  Likewise for
11521         test_print_reject and prt_reject.
11522         * lib/gdb.exp (test_print_reject): Add some more error message
11523         patterns to match from the former printcmds.exp (prt_reject).
11524         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
11525         One defect of the passcount stuff is that some of it failed to
11526         report XPASS where appropriate.
11527         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
11528         stuff before and after arg in expected pattern.
11529         (test_paddr_operator_functions): Re-do test without print_addr_of;
11530         this is the only test which seems to want extra stuff there.
11531
11532 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
11533
11534         * gdb.base/nodebug.exp: Update new tests to reflect improved
11535         wording of gdb output.
11536
11537         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
11538         and "ptype" work on variables in files compiled without -g.
11539         Replaces commented out "maint print msymbol" tests.
11540
11541 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
11542
11543         * gdb.base/setvar.c (dummy): Call malloc.
11544
11545         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
11546         losing with the irix4 sed.
11547
11548         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
11549         ALRM" on irix4.
11550
11551 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
11552
11553         * TODO: Remove items about corefile.exp testing new exec-file and
11554         backtrace; both are now done.  Add items about printing enums.
11555
11556 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
11557
11558         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
11559         "get signal $thissig" test fails.
11560
11561         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
11562
11563 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
11564
11565         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
11566         compiler warning with dec alpha compiler.
11567
11568         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
11569         extra \n from gdb_test call (this explains why the prompt test
11570         that I removed yesterday was there).
11571         (user_defined_command_test): Remove extra \n and prompt test.
11572
11573         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
11574         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
11575         doesn't exist.
11576         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
11577         Also remove alpha workaround, which turns out to be because
11578         SIGABRT == SIGLOST.
11579
11580         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
11581
11582         * gdb.base/help.exp: Don't test "help show".
11583
11584 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
11585
11586         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
11587         "set print address" is on.
11588         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
11589         pass prompt to gdb_test; gdb_test already looks for the prompt.
11590
11591         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
11592
11593         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
11594         was a vestige of the manual TESTSTRATEGY, and the purpose of it
11595         was to make sure that gdb can read a core file.  But (a) the "read
11596         the corefile" part didn't make it to a1-selftest.exp, we just
11597         delete the corefile after creating it, and (b) we test reading
11598         corefiles in corefile.exp anyway.  Also, this test left around a
11599         xgdb process on Solaris.
11600
11601         * gdb.base/corefile.exp: Also test backtrace.
11602
11603 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
11604
11605         * gdb.base/commands.exp: Test a simple user defined command with
11606         arguments and if/while statements; verify the full user command is
11607         printed by "show user".
11608
11609         * gdb.base/commands.exp: Test if/while commands as part of a
11610         breakpoint command list; verify they appear in breakpoint
11611         information.
11612
11613 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
11614
11615         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
11616         than by dividing by zero.
11617
11618 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
11619
11620         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
11621         performing an inferior call with watchpoints enabled.
11622         * gdb.base/watchpoint.c (main): Delete second unnecessary read
11623         call.
11624
11625 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
11626
11627         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
11628         of "file" command.
11629
11630         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
11631         Add additional pattern for when "int operator int(void);" appears
11632         in a different order.
11633
11634 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
11635
11636         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
11637
11638         * gdb.base/help.exp: Replace most of docstrings for "info signals"
11639         and "signal" with ".*".
11640
11641 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
11642
11643         * TODO: Add note about "handle all nostop".
11644
11645         * gdb.base/{sigall.c, sigall.exp}: New test.
11646         * gdb.base/Makefile.in: Add it.
11647
11648 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
11649
11650         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
11651         when invoking GDB, suppresses any windowing interface.
11652
11653 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
11654
11655         * config/sim-gdb: New file, simulator testing support.
11656
11657 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
11658
11659         * gdb.base/interrupt.exp: Test calling func1 twice.
11660
11661 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
11662
11663         * gdb.base/list.exp (test_forward_search): Set timeout higher
11664         when we'll be getting lots of output from gdb.
11665
11666         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
11667         "init_malloc" to after the expect statement.  Run it if that
11668         regexp is taken, but also for two others which happen if source
11669         cannot be found.
11670
11671 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11672
11673         * gdb.base/printcmds.exp: New test, for printing register before
11674         program is running.
11675
11676 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11677
11678         * gdb.base/list.exp:  Correct some alternate expect patterns
11679         to reflect changes in list1.c.
11680
11681 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11682
11683         * TODO: Add item regarding large frames.
11684
11685         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
11686
11687         * TODO: Remove item about enabling return.exp; it
11688         is enabled.  Suggest a few more "return" tests.
11689
11690 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11691
11692         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
11693         anonymous unions.
11694
11695 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11696
11697         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
11698         and pr-5646.o, so "make" is the same as "make all", not "make
11699         pr-4975.o".
11700
11701 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
11702
11703         * gdb.base/list.exp: Adjust expectations to reflect changes in
11704         list1.c.
11705         (test_forward_search): New test proc.
11706         * gdb.base/list1.c (long_line): New function, has long source line.
11707
11708 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
11709
11710         * gdb.base/a1-selftest.exp: Change initial stepping to know about
11711         additional line of code that was added.
11712
11713 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
11714
11715         * gdb.disasm/hppa.s: Break the large branching tests into smaller
11716         tests so as not to overflow expect's input buffers.
11717         * gdb.disasm/hppa.exp: Corresponding changes.
11718
11719 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11720
11721         Beginnings of template debugging tests.
11722         * gdb.c++/templ-info.cc:  New file to test for template
11723         debugging capability of the compiler.
11724         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
11725         templ-info.cc.
11726         * gdb.c++/templates.cc:  Add explicit template instantiations
11727         to enable compiling with -fno-implicit-templates. Add destructor
11728         and 'value' method to T5 class for template tests.
11729         * gdb.c++/templates.exp:  Add testcases for printing of template
11730         types, setting breakpoints on template methods and calling a
11731         template method.
11732
11733 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
11734
11735         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
11736         branch target since some assemblers (gas-2.5)  may emit a
11737         relocation for the branch instead of resolving it in the
11738         assembler.
11739
11740 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11741
11742         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
11743         through signal handler.
11744
11745 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
11746
11747         * configure.in (*-*-netware): Use config/mt-netware.
11748
11749         * config/mt-netware: New file.
11750         * config/mt-i386-netware: Removed, separate configs for different
11751           netware architectures are no longer needed now that we have
11752           --with-headers.
11753
11754 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11755
11756         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
11757         by the recent changes to use ANSI C arithmetic conversions.
11758
11759 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11760
11761         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
11762         bug involving using inferior_pid to figure out whether to select a
11763         frame.
11764
11765 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
11766
11767         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
11768         match the current disassembler output.
11769
11770 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
11771
11772         * gdb.fortran/exprs.exp: Expect VOID instead of void.
11773         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
11774         types, expect "int" as type of integer values (for now).
11775
11776 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
11777
11778         * gdb.base/commands.exp: New tests for if/while commands.
11779
11780 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
11781
11782         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
11783         by .*, since hex values have different syntax in Chill mode.
11784
11785 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11786
11787         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
11788         linefeed from expect pattern for repeated types with indices > 9.
11789
11790 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
11791
11792         First part of Fortran test suite.
11793         * gdb.fortran: New directory.
11794         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
11795
11796 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11797
11798         * gdb.base/default.exp:  Update expect pattern for load command
11799         without arguments.
11800
11801 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
11802
11803         * configure.in: Change i386 to i[345]86.
11804         * gdb.base/configure.in: Likewise.
11805         * gdb.c++/configure.in: Likewise.
11806         * gdb.chill/configure.in: Likewise.
11807
11808 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
11809
11810         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
11811         patterns, since that is not a valid context for comments.
11812
11813 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
11814
11815         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
11816         repeated types and repeated types with indices > 9.
11817
11818 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
11819
11820         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
11821         2417; old bug has been fixed.
11822
11823 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
11824
11825         * gdb.base/interrupt.exp: When trying to wake up the inferior,
11826         send the newline ourselves instead of assuming gdb_test will do
11827         so when passed an empty input string.
11828
11829         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
11830         stabs testcode.
11831
11832 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
11833
11834         * lib/gdb.exp (gdb_test): Don't send anything if the first
11835           argument is an empty string.  This makes cases where we want to
11836           match output that is already in expect's buffers (for example,
11837           matching a breakpoint after gdb_run_cmd has been called) work
11838           reliably.
11839
11840 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
11841
11842         * config/netware.exp: New file.
11843
11844 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
11845
11846         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
11847           the -B and -L prefixes so we can find the debugging stub.
11848
11849         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
11850           there and we are using the gcc from the tree.
11851
11852         * gdb.base/types.c: Removed.
11853
11854         * gdb.base/configure.in: Look for makefile fragments in ../config.
11855           Recognize i386-*-netware.
11856         * gdb.c++/configure.in: Likewise.
11857
11858 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11859
11860         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
11861         the correct TCL syntax.
11862
11863 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
11864
11865         * gdb.base/opaque.exp: use runto instead of messing around with
11866           breakpoints.  Simplify by using gdb_test.
11867
11868         * gdb.base/bitfields.exp: restart between tests on netware targets
11869           because breakpoints aren't relocated after target death.  Run
11870           processes to completion.
11871
11872         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
11873
11874 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
11875
11876         * Makefile.in:  Remove extra tabs that confuse some versions
11877         of "make".  Use the newly built gdb to test with by default,
11878         rather than the first one in the tester's search path.
11879
11880 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
11881
11882         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
11883
11884         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
11885         condition help.
11886
11887 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
11888
11889         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
11890
11891         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
11892           running.
11893         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
11894         * gdb.base/funcargs.exp: Likewise.
11895
11896         * gdb.base/bitfields.exp: Simplify by using gdb_test.
11897         * gdb.base/funcargs.exp: Likewise.
11898
11899         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
11900           message is "".
11901
11902 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
11903
11904         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
11905           return,signals,twice}.exp: Handle non-existant binaries
11906           consistantly.
11907
11908         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
11909         * gdb.base/Makefile.in: Don't try to generate a core dump, we
11910           might testing a cross development system.
11911
11912 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
11913
11914         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
11915           runtest script is relative to ${srcdir}, not ${rootdir}.
11916
11917 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
11918
11919         * gdb.base/signals.exp: Allow for optionality of breakpoint
11920         address.
11921
11922 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11923
11924         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
11925
11926 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
11927
11928         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
11929           for size_t definition.
11930         * gdb.c++/templates.cc: Likewise
11931
11932         * config/mt-i386-netware: New file.
11933
11934         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
11935           defined.
11936
11937         * gdb.base/Makefile.in: Added support for systems that name core
11938           files by appending "core" to the program name.
11939         * gdb.base/a1-selftest.exp: Likewise.
11940
11941 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11942
11943         * gdb.base/return.exp:  Add comment and message for `return double'
11944         test failure on Sparc Solaris.
11945
11946 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
11947
11948         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
11949
11950 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11951
11952         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
11953         from optimizing them away.
11954         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
11955         patterns to include default constructors and assignment operators,
11956         to match gcc versions beyond 2.5.8. Accept any cplus demangling
11957         character in the output of the virtual base pointer.
11958
11959 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11960
11961         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
11962         expression match in print_addr_of to avoid unintented matches.
11963         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
11964         versions up to 2.5.8.
11965
11966 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11967
11968         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
11969         included file to run under newer versions of expect.
11970         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
11971         consecutive >'s in templates to accomodate recent cplus-dem.c change.
11972         Remove xfail for the virtual table of BDDHookV.
11973
11974 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
11975
11976         * lib/gdb.exp (string_to_regexp): Set a default result.
11977         (default_gdb_start): Fix misleading message.
11978
11979 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
11980
11981         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
11982         Remove all CC, etc definitions.
11983         * config/mt-hpux: New file.
11984         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
11985         (CFLAGS, LDFLAGS): Define.
11986         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
11987
11988         * Makefile.in (site.exp): Don't insert host_os, etc.
11989         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
11990         (distclean): Check existence of subdir.
11991         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
11992         * gdb.base/Makefile.in: General cleanup and simplification.
11993         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11994         to build executables.   Use default rule to build .o files.
11995         (EXPECT, RUNTEST, CC): Fix relative pathname.
11996         (site.exp): Don't insert host_os, etc.
11997         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
11998         and/or SIGUSR1 defined.
11999         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
12000         * gdb.c++/Makefile.in: General cleanup and simplification.
12001         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
12002         (CFLAGS): Remove.
12003         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
12004
12005 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
12006
12007         * gdb.base/recurse.exp: Misc changes to get tests running again
12008         after Kung's changes to the watchpoint code.
12009         * gdb.base/watchpoint.exp: Likewise.
12010
12011 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
12012
12013         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
12014
12015 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
12016
12017         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
12018         * lib/gdb.exp (default_gdb_start): Define.
12019         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
12020         gdb.base/funcargs.exp, gdb.base/opaque.exp,
12021         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
12022         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
12023         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
12024         Don't call gdb_target_udi in between tests.
12025
12026 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12027
12028         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
12029         (which was basically just a local version of the same thing).  In
12030         addition to avoiding duplication, gdb_test_exact is faster.
12031         * lib/gdb.exp (gdb_test_exact): Fix typo.
12032
12033         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
12034         don't give an error.
12035
12036         * gdb.base/term.exp: Call delete_breakpoints before starting.
12037
12038         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
12039         (t10): Add comment.
12040
12041 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
12042
12043         Reorganization of the GDB Test Suite.
12044
12045         * gdb.base: New directory, contains all the basic tests.
12046         * gdb.c++: New directory, tests specific to C++.
12047         * gdb.chill: New directory, tests specific to Chill.
12048         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
12049         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
12050         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
12051         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
12052         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
12053         t30-31 to chill).
12054         * */gdbme.*: Rename to match appropriate expect scripts.
12055         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
12056         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
12057         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
12058         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
12059         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
12060         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
12061         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
12062         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
12063         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
12064         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
12065         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
12066         gdb.c++/virtfunc.cc: New names of C++ files.
12067         * gdb.chill/chillvars.ch: New name of Chill file.
12068         * gdb.base/configure.in, gdb.c++/configure.in,
12069         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
12070         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
12071         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
12072         * configure.in (configdirs): Update to reflect directory changes.
12073         (target_abbrev): No longer define for any configuration.
12074         * Makefile.in: Cosmetic improvements to header comments.
12075
12076 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
12077
12078         Various changes to gdb.t31:
12079
12080         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
12081         * gdbme.ch:  Make all key-words and predefineds be upper-case.
12082         * chillvars.exp:  Expect key-words and predefinds in upper-case.
12083
12084         * chillvars.exp:  Use gdb_test_exact many places.
12085         Change expected output for arrays (which now includes index labels).
12086
12087         * pr-5020.exp, gdme.ch (module PR_5020):
12088         New test, for PR-5020.
12089
12090 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
12091
12092         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
12093         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
12094
12095 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
12096
12097         * Makefile.in:  Fix bit-rot in definitions of CHILL,
12098         CHILL_FOR_TARGET and Chill_LIB.
12099         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
12100         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
12101         CHILL, and CHILL_LIB.
12102
12103 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
12104
12105         * Revert the previous changes.  Please see Rob's directory
12106           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
12107
12108 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
12109
12110         * Makefile.in, configure.in, config/mips-gdb.exp,
12111           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
12112           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
12113           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
12114           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
12115           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
12116           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
12117           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
12118           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
12119           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
12120           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
12121           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
12122           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
12123           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
12124           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
12125           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
12126           changes from 94Q1.
12127
12128 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
12129
12130         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
12131           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
12132           Rob's new testing fragments.
12133
12134 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
12135
12136         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
12137           lib/gdb.exp: Replace error proc calls with perror.
12138
12139 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
12140
12141         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
12142         version also, match on casted version strings, and match on
12143         gdb startup case where the line numbers might be messed up.
12144
12145 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
12146
12147         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
12148           (CFLAGS): Delete it from here.
12149
12150 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
12151
12152         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
12153
12154 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
12155
12156         * Makefile.in (RUNTEST): Default to just "runtest".
12157
12158 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12159
12160         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
12161         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
12162         the code has been restructured.
12163
12164 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12165
12166         * gdb.t00/default.exp (set write): Allow any number of \r and/or
12167         \n, not just one of each.
12168
12169         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
12170         /bin/cc gives a warning if you do.
12171
12172 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
12173
12174         * gdb.t24/demangle.exp: change expect pattern of
12175         __t10ListS_link1ZUiRCUiPT0
12176
12177 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12178
12179         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
12180         on local variables in recursive functions.
12181
12182         * gdb.t07/Makefile.in: Build the new test.
12183
12184 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12185
12186         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
12187         directly.  Instead compare the return values from actual calls.
12188
12189 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
12190
12191         * Makefile.in (check): Set TCL_LIBRARY for runtest.
12192
12193 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12194
12195         * From Peter Schauer with minor modifications.
12196         * gdb.t15/return.exp (return_tests): Handle targets where "return"
12197         stops in mid-line in the caller.  Add xfail for returning a float
12198         value on X86 targets.
12199
12200 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12201
12202         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
12203         to avoid expect lossage.
12204         (fmem_LRbug_tests): Likewise.
12205         * gdb.disasm/hppa.s: Corresponding changes.
12206
12207         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
12208         conditions to work with latest dejagnu/expect.
12209
12210         * gdb.t15/funcargs.exp (finish from indirect call): No longer
12211         expected to fail on the PA.
12212         (backtrace in call with trampolines): Explicitly require main
12213         to be frame #1 (no trampolines should show up in backtrace).
12214
12215         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
12216         "continue -expect".
12217         * gdb.t06/break.exp: Likewise.
12218         * gdb.t07/watchpoint.exp: Likewise.
12219         * gdb.t13/bitfields.exp: Likewise.
12220         * gdb.t15/{funcargs,return}.exp: Likewise.
12221         * gdb.stabs/weird.exp: Likewise.
12222         * config/{mips,udi}-gdb.exp: Likewise.
12223
12224         * hppa.sed: Enclose comments within a sed command to avoid
12225         losing with the old OSF1 sed.
12226
12227 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12228
12229         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
12230         sequent dynix.
12231         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
12232         * gdb.t15/funcargs.exp:  Conditionally step again to really
12233         finish from marker_call_with_trampolines. Handle the case where
12234         the first step from within call_with_trampolines already steps
12235         us back to main.
12236         * gdb.t15/gdbme.c:  Add comment to closing brace of
12237         call_with_trampolines for funcargs.exp.
12238
12239 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12240
12241         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
12242         Fix typo(s).
12243
12244 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12245
12246         * gdb.t07/gdbme.c: More code for watchpoint testing.
12247
12248         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
12249         "Hardware watchpoint" throughout file.
12250         (test_watchpoint_triggered_in_syscall): New test.
12251         (test_complex_watchpoint): New test.
12252
12253 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12254
12255         * gdbme.c (call_with_trampolines): New function to try and step
12256         into.  Tests trampoline problems on the PA.
12257
12258         * funcargs.exp (localvars_in_indirect_call): No longer expect
12259         stepping into indirect call to fail on PAs.
12260         (test_stepping_over_trampolines): New test.
12261
12262 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12263
12264         * TODO: Add suggestions for static member function tests, and
12265         completion tests.
12266
12267 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12268
12269         * TODO: Add suggestions for "p/a" tests.
12270
12271         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
12272         (default_gdb_exit): Replace all the hair with sending "quit" to
12273         the process with a simple close.
12274
12275 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12276
12277         * TODO: Add suggestions for shared library tests.
12278
12279 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12280
12281         * TODO: Add suggestions for x/s tests.
12282
12283 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12284
12285         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
12286         "enable once", and "enable breakpoints once" with ".*".
12287
12288 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12289
12290         * TODO: Add suggestions about structure passing tests.
12291
12292 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12293
12294         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
12295         the primary1 test, use work around if __GNUC__ < 2.
12296         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
12297         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
12298         Test for bad output rather than waiting for timeout.  Issue
12299         second continue only if first continue failed.
12300
12301 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
12302
12303         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
12304         operator[] test with gdb_test because the old code didn't seem to
12305         be getting the quoting right with the new dejagnu.
12306
12307 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
12308
12309         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
12310         one from the path.
12311         * Makefile.in: Use a fresh expect if there is one, use runtest
12312         from the src tree if there is one.
12313
12314 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
12315
12316         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
12317         next over recursive call.  Revise the tests from that point on
12318         (which had been skipped) to match GDB's actual (correct) output.
12319
12320         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
12321         with next over a breakpoint whose condition is false.
12322
12323         * gdb.t00/help.exp: Comment out "help set print" tests just like
12324         (and for same reason as) "help set" test.
12325
12326 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12327
12328         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
12329         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
12330
12331 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12332
12333         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
12334         necessary gdb_target_udi.
12335
12336         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
12337
12338         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
12339         1838 and 2417; they are fixed.
12340
12341         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
12342         gdb.t03/ptype.exp (ptype structure, ptype union):
12343         Remove xfails; the test is looser than when the xfails were added.
12344
12345         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
12346         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
12347
12348         * gdb.t01/run.exp: Only run shell test if isnative.
12349
12350         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
12351         since "run" automatically loads if necessary.  Call gdb_target_udi
12352         after the "file" since "file" kills any execution target.
12353
12354         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
12355         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
12356         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
12357         argument for UDI.
12358
12359 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
12360
12361         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
12362
12363         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
12364
12365 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12366
12367         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
12368         properly quoting regexps.  This makes the second argument to
12369         demangle a fixed string, which matches the callers, instead of a
12370         shell-style pattern which is what the previous implementation
12371         used.  Update some of the callers.
12372
12373 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12374
12375         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
12376         (comib_nullified_tests): Fix typo.
12377         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
12378         strings.  No longer expected to fail.
12379
12380         * gdb.disasm/hppa.s (addib_tests): Fix typo.
12381         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
12382         strings.  No longer expected to fail.
12383
12384         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
12385         string.  No longer expected to fail.
12386
12387 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12388
12389         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
12390         No longer expected to fail.
12391
12392         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
12393         string.  No longer expected to fail.
12394
12395 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12396
12397         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
12398         only in the names (I probably got most of them).  I was even
12399         generous with some which differed in underscores in names, and
12400         probably missed a few, and I *still* was able to remove almost a
12401         third of the file with almost no impact on testsuite coverage.
12402
12403 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12404
12405         * gdb.t00/default.exp: Match udi_attach error message as well as
12406         the one from child_attach.
12407
12408         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
12409
12410         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
12411
12412         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
12413         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
12414
12415         * Move test with enums and partial symbols back to
12416         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
12417         Reverts the change of 26 May 93.  Per today's change to
12418         stabs.texinfo, the behavior that weird.exp was expecting was
12419         unreasonable; what is important is that the compiler+gdb get
12420         things right, which happens with a recent gcc.  Also fix the test
12421         to deal with native compilers which put out the stab gdb can't
12422         deal with.
12423
12424 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12425
12426         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
12427         in the names.  The main thing these accomplish is to slow things down.
12428         Many more such duplicates surely remain.
12429
12430         * gdb.t00/help.exp: Comment out "help support" test just like
12431         (and for same reason as) "help set" test.
12432
12433 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
12434
12435         * gdb.t06/break.exp:  Remove setup_xfails for
12436         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
12437         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
12438         about known bug in gcc to include up through 2.5.8.
12439         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
12440         well as "_vb$".
12441         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
12442         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
12443         with latest gcc and gdb.
12444         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
12445         well as "_vb$".
12446
12447 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12448
12449         * configure.in (hppa*-*-*): Also configure and build stabs-only
12450         tests.
12451
12452 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12453
12454         * gdb.t10/hppa.mt: A makefile fragment for the PA.
12455         * gdb.t10/configure.in (hppa*-*-*): Use it.
12456
12457 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12458
12459         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
12460
12461 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12462
12463         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
12464         versions prior to 1.13.5.
12465
12466 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12467
12468         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
12469         the prompt is at the start of a line.
12470
12471 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
12472
12473         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
12474         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
12475         in the copr tests now.
12476         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
12477         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
12478         expected to fail.
12479
12480 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
12481
12482         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
12483         gdb.t31/chillvars.exp, lib/gdb.exp:
12484         Tweak to run under either version of expect.
12485         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
12486         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
12487         * gdb.t11/list.exp: Remove extraneous whitespace.
12488
12489 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12490
12491         * gdb.t16/printcmds.exp (test_print_strings): Accept
12492         "(unsigned char *) " before the string.
12493
12494         * TODO: Add notes about printing of fancy types and GDB expressions.
12495
12496 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
12497
12498         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
12499         * gdb.t06/configure.in: Don't try to compile signals test program
12500         if doing mips-idt-ecoff.
12501
12502 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
12503
12504         * Most .exp files: Tweak to run under either version of expect.
12505
12506 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12507
12508         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
12509         xfails; I'm not sure why they are failing, but not because of PR 1806.
12510
12511 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
12512
12513         * config/unix-gdb.exp: Remove gdb_unload cause it's already
12514         defined in lib/gdb.exp.
12515
12516 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12517
12518         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
12519         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
12520         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
12521         have to be typeless.
12522
12523 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
12524
12525         * TODO: Add suggestion for copyright year test.
12526
12527 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
12528
12529         * configure.in (*-*-lynxos*): Add stabs tests.
12530
12531 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
12532
12533         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
12534         so insert a tab before any assembler directive in column zero.
12535
12536         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
12537         stores.
12538         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
12539         stores.
12540         (fpu_short_memory_tests): Likewise.
12541
12542 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12543
12544         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
12545         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
12546         .stabs directives in comments.
12547
12548 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12549
12550         * TODO: New file, describing tests we could write.
12551         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
12552
12553 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12554
12555         * gdb.t06/signals.exp: Add kludge to force re-sync.
12556
12557         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
12558         to xgdb instead of gdb, get out of gdb.
12559
12560 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
12561
12562         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
12563         for info.
12564
12565 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
12566
12567         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
12568         * gdb.stabs/configure.in (hppa*-*-*): Use it.
12569         * gdb.stabs/hppa.sed: New sed script for the PA.
12570
12571 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12572
12573         * gdb.stabs: Re-write weird.def and configuration to use sed
12574         instead of cpp.  sed is portable and POSIX; cpp is neither.
12575
12576 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12577
12578         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
12579
12580 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12581
12582         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
12583
12584 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12585
12586         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
12587         "_vb$".
12588         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
12589         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
12590
12591 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12592
12593         * lib/gdb.exp: Comment out code which depends on non-existent
12594         `transform' procedure.
12595
12596 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
12597
12598         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
12599         * lib/gdb.exp: Transform tool name.
12600         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
12601         1.1's new error handling system.
12602
12603 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12604
12605         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
12606
12607 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12608
12609         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
12610         They made pattern matching so slow that timeouts happened on
12611         heavily loaded systems.  Now any output from "show print" which
12612         gets us back to the GDB prompt is a PASS.
12613
12614 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
12615
12616         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
12617
12618 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12619
12620         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
12621
12622         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
12623         It is not from PR 3220.
12624
12625 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12626
12627         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
12628         just started failing because they depended on the order the
12629         subcommands are presented, or exact docstring text.  This kind of
12630         test is a pain and has minimal benefit.
12631
12632 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12633
12634         * gdb.t09/corefile.exp: At end of test, use "core" command with
12635         no arguments.
12636
12637 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
12638
12639         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
12640         17}/Makefile.in:  Make it possible to run the testsuite with Sun
12641         make and CC = cross gcc by adding explicit build rules for .o
12642         files.
12643
12644 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12645
12646         * gdb.t15/funcargs.exp: Don't put comments on same line as
12647         setup_xfail (@#$*%& tcl braindamage!).
12648
12649 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12650
12651         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
12652
12653 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
12654
12655         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
12656         * gdb.t20/inherit.exp: remove three dumplicate entries.
12657
12658 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12659
12660         * gdb.t06/break.exp: For "next over recursive call", fail on any
12661         incorrect output, not just on "factorial (value=2)".
12662
12663 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12664
12665         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
12666         working now. Add an xfail if accesing a bss variable causes
12667         a memory error if the target is not yet run.
12668
12669 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12670
12671         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
12672         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
12673         name of __st* demangling (2 strings).  Did Kung really get the
12674         more than 95 others right without testing them?
12675
12676 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
12677
12678         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
12679
12680 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
12681
12682         * configure.in (configdirs): Add gdb.disasm
12683         * gdb.disasm: New directory for GDB disassembler tests.
12684         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
12685
12686 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12687
12688         * gdb.t00/help.exp: Don't test "help set".
12689
12690         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
12691         from within expect statements.  None of these happen anymore and
12692         they cause regressions to be silently unnoticed.
12693
12694         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
12695         messages) about known failures with gcc cygnus-2.4.5-930417.
12696
12697         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
12698         comp-info.exp so it gets built if it doesn't exist.
12699
12700         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
12701         it is no longer used.
12702         * gdb.t13/comp-info.c: Removed.
12703
12704 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
12705
12706         * gdb.t06/signals.exp: Add xfail for sun3.
12707
12708 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12709
12710         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
12711         relevant because ^C doesn't get sent but failure can be reproduced
12712         interactively).
12713
12714 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12715
12716         * gdb.stabs/alpha.mt:  New configuration file for alpha.
12717         * gdb.stabs/configure.in:  Use it.
12718         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
12719         sharing with alpha.mt, redefine long to word via preprocessor.
12720         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
12721         for alpha.
12722         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
12723         native cc.
12724         * gdb.t00/teststrategy.exp:  Change expect string so that we
12725         consume the `(xgdb)' from the command echo and from the gdb prompt.
12726         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
12727         gdb currently compares all values as long, so this failure probably
12728         applies to any configuration where LONGEST is bigger than a target int.
12729         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
12730         with gcc.
12731         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
12732         to handle opaque pointers, gcc is.
12733         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
12734         as first argument. Include <sys/types.h> and change all operator
12735         new definitions to use size_t.
12736         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
12737         now that we use size_t.
12738
12739 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12740
12741         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
12742         a long or float array cast all array members to the same type.
12743         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
12744         with 64 bit longs.
12745         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
12746         on alpha.
12747         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
12748
12749 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12750
12751         * gdb.t24 (demangle.exp): Constructors of templates have names like
12752         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
12753         section 14.6 of the ARM.
12754
12755         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
12756         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
12757         accomplish little and slow down the testsuite.
12758
12759         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
12760         Accept spaces various places.
12761
12762 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12763
12764         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
12765         with watchpoint enabled.
12766
12767         * Makefile.in: Remove definition of CC and remove the second
12768         definition of CXX (the "CXX = gcc" one remains).  These definitions
12769         were causing backquotes to be expanded within backquotes, which
12770         doesn't work.
12771
12772 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
12773
12774         * gdb.t17/callfuncs.exp: Add "return 0" to end.
12775
12776 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12777
12778         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
12779         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
12780         by mips cc and contains no stabs entries.
12781
12782 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
12783
12784         * config/vx-gdb.exp: Use fake device to load files rather than
12785         NFS.
12786         * lib/gdb.exp: New proc to do "file" command.
12787         * config/unix-gdb.exp: Use new "file" proc.
12788
12789 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
12790
12791         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
12792         Rework board rebooting slightly.
12793         (gdb_exit): Don't exit from the remote shell; there isn't one.
12794         * gdb.stabs/weird.exp: If a program is being debugged already,
12795         kill it.
12796         * gdb.t04/setvar.exp: Stop and restart gdb.
12797         * gdb.t05/expr.exp: Likewise.
12798         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
12799         restart gdb and reload the program.
12800         * gdb.t08/opaque.exp: Likewise.
12801         * gdb.t12/scope.exp: Likewise.
12802         * gdb.t13/bitfields.exp: Likewise.
12803         * gdb.t15/funcargs.exp: Likewise.
12804         * gdb.t20/classes.exp: Likewise.
12805         * gdb.t03/ptype.exp: Increase timeout.
12806         * gdb.t16/printcmds.exp (test_print_string_constants,
12807         test_print_array_constants): Likewise.
12808         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
12809         * gdb.t20/classes.exp (do_tests): Likewise.
12810         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
12811
12812 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
12813
12814         * gdb.stabs: Renamed *wierd* to *weird*.
12815
12816 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
12817
12818         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
12819         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
12820
12821 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
12822
12823         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
12824         (do_tests): Remove xfail for whatis on one_var and two_var.
12825
12826 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
12827
12828         * Makefile.in: Made cross building work better by adding
12829         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
12830
12831 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12832
12833         * gdb.t15/{return.c,return.exp,Makefile.in}:
12834         New test, currently commented out.
12835
12836 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
12837
12838         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
12839         still running and removes the leftover named socket so GDb can do
12840         clean restarts.
12841
12842 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
12843
12844         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
12845         console, not GDB.
12846         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
12847         cross testing works better with "make check"
12848         * config/unix-gdb: Use default procedures for exit and version.
12849         * config/vx-gdb.exp: Cleaned up and massaged back to working order
12850         with the newest VxWorks.
12851
12852 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12853
12854         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
12855         old form.
12856
12857         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
12858         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
12859
12860         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
12861
12862         * config/unix-gdb.exp: Remove this version of gdb_exit
12863         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
12864         Rob says he'll look at it when he gets back to testing boards.
12865
12866 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
12867
12868         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
12869         an expected fail for certain ptype commands.
12870
12871         * gdb.t20/classes.exp:  Update expected results of "ptype class
12872         Base1" to account for the constructor that now appears in the type.
12873
12874 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
12875
12876         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
12877         disappeared from list.
12878         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
12879         "alldone" proc with call to cleanup and exit.
12880         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
12881         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
12882         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
12883         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
12884         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
12885         "alldone" proc with simple returns that suppress remaining
12886         tests.  The alldone proc went away many months ago.
12887
12888 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12889
12890         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
12891
12892         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
12893
12894 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12895
12896         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
12897         as vax gdb will display them.
12898
12899 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12900
12901         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
12902         optimizers.
12903
12904         * scope.exp: Change "bad value for localval" messages so each one
12905         is unique.
12906
12907         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
12908         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
12909
12910         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
12911
12912 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12913
12914         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
12915         doesn't exist (due to optimization).
12916
12917 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12918
12919         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
12920         contains \r because the filename is long.
12921
12922         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
12923         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
12924
12925 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12926
12927         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
12928         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
12929         Ultrix.
12930         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
12931         int tests.
12932         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
12933
12934 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
12935
12936         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
12937
12938         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
12939         to match does not match the passing case but still matches the
12940         failing case.
12941
12942 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12943
12944         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
12945
12946 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
12947
12948         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
12949         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
12950         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
12951         Remove various versions of gdb_exit.
12952         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
12953         gdb_exit.
12954         * config/unix-gdb.exp:  gdb_exit remains here, and should override
12955         the generic version, since it's doing a lot of wierd stuff that
12956         the other versions aren't.  FIXME, fold it in, or abandon this
12957         version.
12958
12959 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12960
12961         * gdb.t24/demangle.exp: Add tests for PR 3220.
12962
12963 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12964
12965         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
12966
12967 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
12968
12969         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
12970         "i386-*-*".  Works for i486 as well.
12971
12972         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
12973         bug, and expand domain of xfail to all SVR4 systems, since the
12974         actual problem is likely to be in generic SVR4 /proc support.
12975
12976 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12977
12978         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
12979
12980 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
12981
12982         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
12983         xfails for other systems.  Match a missing 'Continuing.' as an
12984         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
12985
12986         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
12987         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
12988         Only issue warning for missing executables if -all option is used.
12989
12990         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
12991         file if -all option is used.  It's like an unpredictable XFAIL.
12992
12993 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12994
12995         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
12996         for dynamically linked binaries.
12997
12998         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
12999
13000 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13001
13002         * gdb.t20/inherit.exp: Change message for "print tagless struct"
13003         to state that this is a known bug in old versions of g++.
13004
13005 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13006
13007         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
13008         while waiting for `Continuing'.
13009
13010 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
13011
13012         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
13013         in text, data, and bss.
13014         * gdb.t10/nodebug.c:  Add local and global test variables for
13015         initialized and uninitialized data.
13016
13017 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13018
13019         * config/unix-gdb.exp (gdb_exit): Add "wait".
13020
13021 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13022
13023         * gdb.t06/signals.exp:  xfail the continue from the handler for all
13024         targets.
13025
13026         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
13027         function with watchpoints enabled, the i386 call dummy starts with
13028         a call.
13029
13030         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
13031         386 bsd names its corefiles.
13032
13033 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
13034
13035         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
13036         compilers don't grok it.
13037         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
13038         with small octal ints rather than character constants, which
13039         are signed and might not fit if first promoted to int.
13040
13041 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
13042
13043         * gdb.t09/Makefile.in (clean):  Remove corefile.
13044
13045 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13046
13047         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
13048
13049 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13050                           and Jim Kingdon (kingdon@cygnus.com)
13051
13052         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
13053         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
13054         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
13055
13056 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13057
13058         * gdb.t17/interrupt.exp: Add xfail for hppa.
13059
13060 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13061
13062         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
13063         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
13064         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
13065         to determine signed-ness of bitfields and use the result to setup
13066         the xfail.
13067         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
13068         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
13069         call line is reached if necessary.
13070
13071 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13072
13073         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
13074
13075 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13076
13077         * gdb.t06/break.exp: Also test `clear' command.
13078
13079 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
13080
13081         * gdb.t00/teststrategy.exp: Remove extra quote.
13082
13083         * gdb.t07/watchpoint.exp: Change xfail for calling function with
13084         watchpoint enabled to be for all non-68k machines.
13085
13086         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
13087
13088 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13089
13090         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
13091         targets use aout.mt instead of ecoff.mt as gas understands
13092         standard aout format.
13093
13094 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
13095
13096         * lib/gdb.exp (runto): Don't insist that function we are running to
13097         was compiled with -g.
13098
13099         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
13100
13101         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
13102         to get back into the read system call.
13103         Accept leading newline in case where we woke it up.
13104
13105 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13106
13107         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
13108         to make the stabs test work on ecoff systems using gcc and -with-stabs.
13109         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
13110         enable ecoff configuration.
13111
13112 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13113
13114         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
13115
13116 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13117
13118         * gdb.t16/printcmds.exp: Add another printf test.
13119
13120 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
13121
13122         * configure.in: If configured -with-stabs on any target, add
13123         stabsdirs to configdirs.
13124
13125 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13126
13127         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
13128         fun" so pattern does not match the command itself.
13129
13130 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13131
13132         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
13133
13134 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13135
13136         * gdb.t17/interrupt.exp: Test for more things.
13137
13138 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13139
13140         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
13141         compiler arranges the code and line numbers.
13142
13143         * gdb.t17/interrupt.exp: Don't send \n after ^C.
13144
13145 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13146
13147         * gdb.t00/help.exp:  Increase expect input buffer size.
13148
13149 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13150
13151         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
13152
13153         * gdb.t07/watchpoint.exp: Add xfail for hppa.
13154
13155         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
13156
13157         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
13158         [0-9]*, not just [0-9].
13159
13160 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13161
13162         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
13163
13164         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
13165
13166 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13167
13168         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
13169
13170 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13171
13172         * gdb.t06/signals.c: Add xfails for sun3.
13173
13174         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
13175
13176         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
13177         test_stepping tests.
13178
13179 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13180
13181         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
13182
13183         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
13184
13185         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
13186         rather than actually putting it through cpp twice.
13187
13188         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
13189
13190 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
13191
13192         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
13193         no longer needed.
13194
13195 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13196
13197         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
13198
13199         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
13200         C++ features prints as "struct", make it a pass, not an xfail.
13201
13202 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13203
13204         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
13205         Don't require VA to print as "class" rather than "struct".
13206
13207 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
13208
13209         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
13210
13211 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13212
13213         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
13214
13215 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13216
13217         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
13218         order.
13219
13220 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13221
13222         * gdb.t16/printcmds.exp: Add printf tests.
13223
13224         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
13225
13226         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
13227
13228 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
13229
13230         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
13231         pass counts, to counteract any existing or future setup_xfails.
13232
13233 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13234
13235         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
13236         {BEGIN,END}_COMMON for common block instead of STAB.
13237         * gdb.stabs/wierd.exp: Add xfail for rs6000.
13238
13239         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
13240         intp_var should be N_GSYM not N_LSYM.
13241         wierd-aout.S: Use a label for the value of the N_SO.
13242         wierd.def: Remove all backslashes.
13243         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
13244
13245 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13246
13247         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
13248         get the expected next to inheritance3.
13249
13250 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13251
13252         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
13253         now that gcc-2.4 gets it right.
13254
13255 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13256
13257         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
13258
13259         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
13260         generating comp-info.exp which works for cross-compilation.
13261
13262 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
13263
13264         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
13265         "*-*-sysv4.*".
13266
13267 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
13268
13269         * gdb.t01/run.exp:  Start with a fresh gdb.
13270         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
13271         SVR4.x.
13272
13273 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
13274
13275         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
13276         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
13277         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
13278         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
13279         things to remove.
13280
13281 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
13282
13283         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
13284         test cases from bug reports.
13285
13286 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
13287
13288         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
13289         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
13290           avoid spurious xfails.
13291         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
13292         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
13293         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
13294
13295 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
13296
13297         * gdb.t00/teststrategy.exp:  Rework to provide more useful
13298         description of each test, fix problem with systems that define
13299         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
13300         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
13301         results for "next over recursive call" so timeouts aren't taken
13302         by error.
13303
13304 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
13305
13306         * gdb.t12/scope.exp: Test printing of variables before run.
13307
13308         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
13309         printed in wrong order due to sorting.
13310
13311 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
13312
13313         * gdb.t00/teststrategy.exp:  Fix expected results for printing
13314         user entered string constant.  Is array of char, prints with no
13315         address.
13316
13317         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
13318         commands.
13319         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
13320         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
13321         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
13322         of struct of char arrays.
13323         * gdb.t00/radix.exp:  New tests for radix commands.
13324
13325 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
13326
13327         * gdb.t16/printcmd.exp: Print a variable before running program
13328         (with xfail for AIX).
13329
13330 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
13331
13332         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
13333
13334         * gdb.t16/printcmd.exp: Don't print variables before running program.
13335
13336         * gdb.t06/break.exp: Don't require envp argument to main.
13337
13338         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
13339
13340         * gdb.t02/whatis.exp, gdb.t11/list.exp:
13341         Add xfails for rs6000.
13342
13343         * gdb.t02/whatis.exp: Change other tests not to re-test something
13344         we already tested.
13345
13346         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
13347         each type used has a variable of that type.
13348
13349 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
13350
13351         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
13352
13353 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
13354
13355         * configure.in: change srctrigger to be a file, not a directory
13356
13357 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
13358
13359         * configure.in (mips-idt-ecoff*): Added trailing '*'.
13360
13361         * gdb.t11/list.exp: Fixed a couple of typos.
13362
13363 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
13364
13365         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
13366         is fixed and PR is closed.
13367         * gdb.t16 (gdbme.c):  Add simple test string variable.
13368         * gdb.t16 (printcmds.exp):  Add tests with simple test string
13369         variable, primarily for boundaries on "set print elements".
13370
13371 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
13372
13373         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
13374         Make leading 0's optional and don't expect a tab in the middle
13375         of the number.
13376
13377         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
13378
13379         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
13380         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
13381         don't end command passed to gdb_test with newline.
13382
13383         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
13384         signed keyword away, don't expect signed bitfields to be signed.
13385
13386         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
13387         printing with only as many 1's as are in the field as well as printing
13388         with 32 1's (see comment).
13389
13390 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
13391
13392         * gdb.t00/default.exp:  Start with a fresh gdb.
13393         * configure.in (configdirs):  Remove gdb.t31 until the chill
13394         compiler works again.  It no longer is able to find chillrt0
13395         since it isn't in libchill.a anymore.
13396         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
13397         wierd.o, make more modular.
13398         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
13399         spurious newlines that caused problems.
13400
13401 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13402
13403         * Move test with enums and partial symbols from gdb.t03/ptype.exp
13404         to gdb.stabs/wierd.exp since GCC has worked around the bug.
13405         gdb.stabs/wierd.{exp,def}: Many new tests.
13406
13407         * gdb.t00/default.exp: update info line for new message.
13408
13409         * gdb.t02/{whatis.exp,gdbme.c}:
13410         Test that "char *" doesn't print as "caddr_t".
13411
13412 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13413
13414         * gdb.t00/help.exp: Use .* in place of some help messages which
13415         just changed.
13416         gdb.t00/default.exp: Update "info frame" test for new message.
13417         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
13418         Remove some xfails
13419
13420 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13421
13422         * gdb.t03/{gdbme.c,ptype.exp}:
13423         Add tests for typedef'd struct and union without tags.
13424         Also check "whatis" on a variable of a typedef'd enum without a tag.
13425
13426         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
13427         PRMS 1823; the bug still exists but isn't reproduced by this test
13428         anymore), and remove rs6000 XFAIL (the bug is fixed).
13429
13430         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
13431         duplicated from whatis.exp.  For those that are left, accept
13432         "long", "long int", or "int" for long variables (whatis.exp already
13433         has an XFAIL for "int", so no need to fail it here).
13434
13435         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
13436         Deal with GCC's names for types now that GDB uses the compiler's names.
13437
13438         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
13439         setup_xfail's for sunos4.  If we #defined the signed keyword away,
13440         don't expect GDB to know that char it is signed.
13441
13442         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
13443
13444 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
13445
13446         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
13447         should work on any system, regardless of debugging format.
13448         * gdb.t21/demangle.exp:  Move to gdb.t24.
13449         * gdb.t24/demangle.exp:  Move from gdb.t21.
13450         * gdb.t24/{Makefile.in, configure.in}:  New files.
13451
13452 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13453
13454         * configure.in: Do gdb.stabs and C++ tests only for stabs.
13455         * gdb.stabs: New directory.
13456
13457 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
13458
13459         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
13460         not just "Quit anyway?".
13461
13462 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
13463
13464         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
13465         that all setup_xfails are immediately followed by clear_xfails.
13466
13467 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
13468
13469         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
13470         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
13471         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
13472         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
13473         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
13474         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13475         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13476         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
13477         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
13478         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
13479         gdb.t31/chillvars.exp, lib/gdb.exp:
13480         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
13481         bug-gdb@prep.ai.mit.edu.
13482
13483 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
13484
13485         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
13486         with 0.0, not integer 0.
13487
13488 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
13489
13490         * gdb.t06/break.exp: Update for "Kill the program" message change.
13491
13492 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
13493
13494         * Makefile.in (GDBFLAGS):  Set to -nx.
13495         * Makefile.in (site.exp):  Use GDBFLAGS.
13496
13497 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
13498
13499         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
13500           Makefiles.
13501           (check): depend on just-check.
13502           (just-check): added so that tests can be run without a noop
13503           build pass.
13504
13505 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
13506
13507         Switch to using configure's configdirs.
13508         * Makefile.in (Makefile): add configure.in dependency.
13509           (SUBDIRS): removed redundant assignment.
13510         * configure.in: switch subdirs assignment to configdirs.
13511         * gdb.t*/configure.in: new files.
13512
13513 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
13514
13515         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
13516         works.
13517
13518 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
13519
13520         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
13521         in explicit rules.  Apparently this is not supported by some makes.
13522
13523 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
13524
13525         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
13526
13527 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13528
13529         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
13530         disappeared.
13531
13532 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
13533
13534         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
13535
13536 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
13537
13538         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
13539         watchpoint problem that is now fixed.
13540         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
13541         uninitialized convenience variables.
13542         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
13543         structures.
13544
13545 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13546
13547         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
13548         which causes expect to get out of sync with gdb on long output
13549         from help set.
13550         * gdb.t09/corefile.exp: Make expected pattern for core file
13551         failing signal and frame output format less sun specific.
13552
13553 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
13554
13555         * gdb.t31/chillvars.exp:  Add and remove initial dummy
13556         breakpoint, so that symbol table is forced in.
13557         (Needed at least on Sunos4, though it seems not SVR4.)
13558         * gdb.t31/chillvars.exp:  Update for changed output format.
13559
13560 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
13561
13562         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
13563
13564 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
13565
13566         * Makefile.in: Added --srcdir when invoking runtest, removed the
13567         need for a local config file. (optional now)
13568
13569 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
13570
13571         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
13572         failure count used to force early termination.  Add some more
13573         expected failures for gnu style demangling.
13574
13575 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13576
13577         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
13578         pmi variable from gdb.t20/gdbme to get optimized away.
13579         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
13580         Check for written corefile upon timeout _and_ eof.
13581
13582 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13583
13584         * config/unix-gdb.exp:  Add missing return 0.
13585
13586 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13587
13588         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
13589         test termination.
13590
13591 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
13592
13593         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
13594         disappeared.
13595
13596 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
13597
13598         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
13599         time as i860 support works.
13600
13601         * gdb.t15/funcargs.exp:  Fix expected outputs to include
13602         "backtrace 100\r" rather than just "backtrace\r", to match last
13603         change.
13604
13605 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
13606
13607         * config/udi-gdb.exp (gdb_exit): Remove close command.
13608         (gdb_target_udi): New procedure to set the UDI target.
13609         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
13610         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
13611         Added waits for prompts after several question responses.  Added
13612         some more responses used by a29k-amd-udi-gdb.
13613         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
13614         pass different arguments, restart UDI connection after program
13615         completion.
13616         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
13617         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13618         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
13619         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
13620         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
13621         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
13622         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13623         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
13624         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
13625         after program completion.
13626         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
13627         compiled with a SELECT_VECS setting.
13628         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
13629         infinite recursion.
13630
13631         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
13632         Added checks for COFF results, and made them expected failures for
13633         all targets.  It would be better to make them expected failures
13634         for COFF targets only.
13635
13636 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
13637
13638         * Makefile.in: add null dvi target, don't bother to recurse
13639         through test directories for info and install-info; rename
13640         $(datadir) to be dejagnu instead of deja-gnu
13641
13642 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
13643
13644         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
13645         compiler to coredump.
13646         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
13647         code.
13648
13649 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
13650
13651         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
13652         coredump.
13653         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
13654         code.
13655
13656 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
13657
13658         * gdb.t03/ptype.exp: tests for return code from gdb_test.
13659         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
13660         which in a shell. Deletes xgdb when done.
13661         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
13662         Tests the return from the "set height" or "set width" commands.
13663         Added a few return codes where needed.
13664
13665 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
13666
13667         * Makefile.in (SUBDIRS):  Add gdb.t17.
13668         * configure.in (subdirs):  Add gdb.t17.
13669         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
13670         files to test gdb's calling of functions in the inferior with
13671         the correct arguments and gdb's ability to retrieve any
13672         result returned.
13673
13674 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
13675
13676         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
13677         may be called after gdb goes away.  Previous versions of expect
13678         needed these to avoid file descriptor leaks, but they cause
13679         errors with the current revision of expect.
13680         * gdb.t00/gdbvars.exp:  Use -re on expected output after
13681         setting sevenbit-strings.
13682         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
13683         to set sevenbit-strings consistent across tests.
13684         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
13685         set sevenbit-strings consistent across tests.
13686
13687 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
13688
13689         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
13690         expected output to match current "expect" expectations.
13691
13692 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
13693
13694         * gdb.t00/default.exp:  Change expected output for default "source"
13695         command, to match new gdb behavior which requires a filename to
13696         source.
13697
13698 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
13699
13700         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
13701         expected fail for i486-*-* that misses the marker2 function.
13702         * gdb.t10/crossload.exp (bfddefault):  Allow successful
13703         recognition of a format to pass even if no symbols are found.
13704         Explicitly catch failures where the format is not recognized
13705         or is ambiguous, and add the reason to the fail message.
13706         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
13707         the cause is and invalid target and add reason to failure message.
13708         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
13709         elf32-i386, elf32-sparc, and elf32-i860.
13710         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
13711         Set up expected failure for 'filename'::variable scope resolution,
13712         which is now apparently broken on all targets.
13713         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
13714         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
13715         gdb.t23/templates.exp:   Change failure for missing binfile into
13716         just a warning.
13717         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
13718         references.
13719
13720 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
13721
13722         * gdb.t00/default.exp:  Add expected output for default "source"
13723         command, to match new gdb behavior.
13724         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
13725
13726 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
13727
13728         * config/*-gdb.exp: returns an error, rather than exiting on
13729         internal errors.
13730
13731 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
13732
13733         * gdb.t03/gdbme.c:  Add pointer to struct variable.
13734         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
13735         referencing struct members.
13736
13737 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
13738
13739         * configure.in (mips-idt-ecoff): New target.
13740         * config/mips-gdb.exp: New file for remote board using MIPS remote
13741         debugging protocol.
13742
13743         * Redid configuration scheme.  Removed gdb.t*/configure.in.
13744         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
13745         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
13746         distclean targets.  Built executables via .o files.  Adjusted
13747         tests to account for source files in $(srcdir) rather than
13748         $(objdir).
13749         * lib/gdb.exp (runto): Don't expect () after the function name,
13750         because it may have arguments.
13751
13752 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
13753
13754         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
13755         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
13756         expected failures for mips-idt-* and mips-sgi-*.
13757         * gdb.t00/default.exp (attach): Kill process if requested.
13758         * gdb.t00/help.exp (help target core, help target): Accept a gdb
13759         that does not read core files.
13760         * gdb.t01/run.exp: Removed checks for exit status code.
13761         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
13762         it is linked in.
13763         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
13764         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
13765         appropriate, rather than doing it by hand.
13766         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
13767         execution.
13768         * gdb.t10/crossload.exp: Kill existing program if needed.
13769         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
13770         appropriate, rather than doing it by hand.  Always increase
13771         timeout for this test, not just for VxWorks.
13772
13773 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
13774
13775         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
13776         of Chill STRUCT types and STRUCT values.
13777         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
13778         than "char".
13779         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
13780         struct2):  New struct definitions and initializations to test
13781         simple Chill STRUCT types.
13782
13783 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
13784
13785         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
13786         the null byte at the end of strings.
13787         * gdb.t00/default.exp:  Make show version insensitive to copyright
13788         date.
13789         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
13790         to avoid dependencies on target char signedness.
13791         * gdb.t16/printcmds.exp:  Update expected results for explicitly
13792         unsigned char.
13793         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
13794         now work.
13795         * gdb.t21/demangle.exp:  Add many more patterns for template
13796         demangling, most of them being expected failures.
13797         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
13798         string we are matching for, to match on the whole string.
13799         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
13800         and fix a whole bunch that had incorrect expected output but were
13801         passing anyway because of the bug in "proc demangle".
13802         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
13803         type.
13804         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
13805
13806 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
13807
13808         * gdb/testsuite: made modifications to testcases, etc., to allow
13809         them to work properly  given the reorganization of deja-gnu and the
13810         relocation of the testcases from deja-gnu to a "tool" subdirectory.
13811
13812 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
13813
13814         * gdb/testsuite: Initial creation of gdb/testsuite.
13815         Migrated dejagnu testcases and support files for testing nm to
13816         gdb/testsuite from deja-gnu.  These files were moved "as is"
13817         with no modifications.  This migration is part of a major overhaul
13818         of dejagnu.  The modifications to these testcases, etc., which
13819         will allow them to work with the new version of dejagnu will be
13820         made in a future update.
13821
13822  For additional changes see gdb.mi/ChangeLog-1999-2003.
13823 \f
13824 ;; Local Variables:
13825 ;; mode: change-log
13826 ;; left-margin: 8
13827 ;; fill-column: 74
13828 ;; version-control: never
13829 ;; End:
13830
13831     Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
13832     2003, 2004, 2005 Free Software Foundation, Inc.
13833   Copying and distribution of this file, with or without modification,
13834   are permitted provided the copyright notice and this notice are preserved.