This commit was manufactured by cvs2svn to create tag
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2004-03-17  David Carlton  <carlton@kealia.com>
2
3         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
4         PR c++/826.
5
6 2004-03-16  Roland McGrath  <roland@redhat.com>
7
8         * gdb.base/auxv.exp: New file.
9         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
10
11 2004-03-12  David Carlton  <carlton@kealia.com>
12
13         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
14         * gdb.cp/pr-1553.cc: Ditto.
15         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
16         pass branch.
17
18 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
19
20         * gdb.cp/templates.exp: Accept more template types.
21
22 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
23
24         From Corinna Vinschen with modifications.
25         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
26         local variable obj_with_enum.
27         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
28         results with obj_with_enum.
29
30 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
31
32         * gdb.cp/classes.cc: New file, copied from misc.cc.
33         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
34
35 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
36
37         * gdb.cp/misc.cc: Add copyright notice.
38
39 2004-03-05  David Carlton  <carlton@kealia.com>
40
41         * gdb.cp/rtti.exp: Add 'print *obj3' test.
42         * gdb.cp/rtti.h: Update copyright.
43         (namespace n2::n3): New.
44         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
45         (n2::n3::func3): New.
46         (main): Call n2::n3::func3.
47         * gdb.cp/rtti2.cc: Update copyright.
48         (n2::create3): New.
49
50 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
51
52         * gdb.asm/openbsd.inc: Fix typo.
53
54 2004-03-03  Fred Fish  <fnf@redhat.com>
55
56         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
57         "val" instead of unused "size".  Update copyright year.
58
59 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
60
61         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
62         to use unsigned char.
63         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
64         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
65
66 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
67
68         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
69         line of output.
70
71 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
72
73         * gdb.base/relocate.c (dummy): Initialize.
74
75 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
76
77         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
78         a breakpoint at exit.
79
80 2004-02-27  Fred Fish  <fnf@redhat.com>
81
82         * gdb.base/chng-syms.exp: Add expect condition to match failing
83         case that isn't a timeout.
84
85 2004-02-27  Andrew Cagney  <cagney@redhat.com>
86
87         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
88         support.
89
90 2004-02-26  Fred Fish  <fnf@redhat.com>
91
92         * gdb.arch/gdb1431.c: Remove.
93         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
94         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
95         of "until" incorrectly.
96
97 2004-02-26  J. Brobecker  <brobecker@gnat.com>
98
99         * gdb.cp/class2.cc (empty): New class.
100         (refer): New function.
101         (main): Declare an object of type empty and use it.
102         * gdb.cp/class2.exp: Print the value of an object of type empty.
103
104 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
105
106         * gdb.base/langs.exp: Update query string to match the
107         new nquery format used for pending breakpoints.
108
109 2004-02-26  Andrew Cagney  <cagney@redhat.com>
110
111         Fix PR i18n/1570.
112         * gdb.base/charset.c: Update copyright notice.
113         (main, init_string): Remove the escape character '\e' tests.
114         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
115         * gdb.base/charset.exp (valid_host_charset): Ditto.
116         * gdb.base/setvar.exp: Ditto.
117
118 2004-02-24  Andrew Cagney  <cagney@redhat.com>
119
120         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
121         mmapped data in core file" PASS and FAIL messages consistent.
122
123         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
124         setting a breakpoint.  Work around PR java/1565.
125
126 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
127
128         * lib/gdb.exp (gdb_breakpoint): Update query string to match
129         new nquery format.
130         * gdb.base/pending.exp: Ditto.
131
132 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
133
134         * configure.in: Run stabs tests on *BSD.
135         * configure: Regenerated.
136
137 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
138
139         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
140
141 2004-02-20  Fred Fish  <fnf@redhat.com>
142
143         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
144         blank in test for "returns short", for consistency with other
145         "returns xxx" tests.  Update copyright year.
146
147 2004-02-19  Fred Fish  <fnf@redhat.com>
148
149         New testcase for PR breakpoint/1558.
150         * gdb.arch/gdb1558.exp: New file.
151         * gdb.arch/gdb1558.c: New file.
152
153 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
154
155         * gdb.base/nodebug.exp: Fix typo.
156
157 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
158
159         Committed by Jim Blandy  <jimb@redhat.com>.
160
161         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
162
163         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
164
165         * gdb.base/float.exp: Support s390*-*-* targets.
166
167 2004-02-17  Adam Fedor  <fedor@gnu.org>
168
169         * gdb.base/gdb1555.exp: New file.
170         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
171
172 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
173
174         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
175
176 2004-02-16  Fred Fish  <fnf@redhat.com>
177
178         * gdb.arch/gdb1291.c: Remove
179         * gdb.arch/gdb1291.s: New test input file.
180         * gdb.arch/gdb1291.exp: Expand test to check case that should not
181         fail.  Test for correct result, known incorrect result, other
182         failures and timeouts.
183
184 2004-02-16  Andrew Cagney  <cagney@redhat.com>
185
186         * gdb.base/bigcore.exp: New file.
187         * gdb.base/bigcore.c: New file.
188
189 2004-02-13  Andrew Cagney  <cagney@redhat.com>
190
191         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
192         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
193         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
194         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
195         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
196         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
197         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
198         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
199         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
200         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
201
202 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
203
204         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
205         executed is an alloc instruction.
206
207 2004-02-11  David Carlton  <carlton@kealia.com>
208
209         * gdb.cp/breakpoint.exp: New.
210         * gdb.cp/breakpoint.cc: New.
211
212 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
213
214         Partial fix for PR gdb/1543.
215         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
216         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
217         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
218         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
219         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
220         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
221         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
222         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
223         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
224         to bug-gdb@prep.ai.mit.edu .
225         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
226         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
227         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
228         Likewise.
229
230 2004-02-10  Andrew Cagney  <cagney@redhat.com>
231
232         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
233         using gdb_internal_error_resync.
234
235 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
236
237         * gdb.threads/thread-specific.exp: Stop early if no threads are
238         found.
239
240 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
241
242         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
243
244 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
245
246         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
247         breakpoints.
248
249 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
250
251         * config/sim.exp (gdb_load): Handle $arg == "".
252         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
253         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
254
255 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
256
257         * gdb.base/maint.exp: Update test to reflect
258          obstack changes.
259
260 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
261
262         * gdb.base/pendshr.c (pendfunc): New function that calls
263         pendfunc1.
264         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
265
266 2004-02-04  Fred Fish  <fnf@redhat.com>
267
268         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
269         function symbols and update copyright years.
270         * gdb.arch/gdb1291.c: Ditto.
271
272 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
273
274         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
275
276 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
277
278         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
279
280 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
281
282         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
283
284 2004-02-02  Fred Fish  <fnf@redhat.com>
285
286         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
287         remote targets.  Update copyright years.
288
289 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
290
291         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
292         support.
293         * gdb.base/langs.exp: Fix test which attempts to create
294         breakpoint on non-existent function to handle new pending
295         support.
296         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
297         a breakpoint.
298         * gdb.base/pending.exp: New test.
299         * gdb.base/pending.c: New file.
300         * gdb.base/pendshr.c: Ditto.
301
302 2004-02-02  David Carlton  <carlton@kealia.com>
303
304         * gdb.cp/overload.exp: Add overloadNamespace tests.
305         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
306         (overloadNamespace, XXX): New.
307         (main): Call XXX::marker2.
308
309 2004-02-01  Fred Fish  <fnf@redhat.com>
310
311         * gdb.base/dump.exp: Use runto_main instead of "runto main".
312         * gdb.base/finish.exp: Ditto.
313         * gdb.base/gcore.exp: Ditto.
314         * gdb.base/huge.exp: Ditto.
315         * gdb.base/info-proc.exp: Ditto.
316         * gdb.base/return2.exp: Ditto.
317         * gdb.threads/gcore-thread.exp: Ditto.
318
319 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
320
321         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
322
323 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
324
325         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
326         that opening the file succeeds on OpenBSD.
327
328 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
329
330         * gdb.threads/thread-specific.c: New file.
331         * gdb.threads/threads-specific.exp: New test script.
332         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
333         to expect_out.
334
335 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
336
337         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
338         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
339         only on the "print_small_structs from print_long_arg_list" test.
340
341 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
342
343         * gdb.base/completion.exp: Kill a stray backslash.
344
345         From Jim Ingham <jingham@apple.com>:
346         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
347         agrees with the result from sending a tab.
348
349 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
350
351         * gdb.base/chng-syms.exp: Remove stray newline.
352
353 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
354
355         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
356         *-*-openbsd*.
357         * gdb.asm/openbsd.inc: New file.
358
359 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
360
361         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
362         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
363         *-*solaris2*.  Remove commented out default settings for
364         asm-flags.  Replace gdb_compile with target_link.
365
366 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
367
368         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
369         for all tests.  Remove old hp-ux and cygnus xfail cases.
370
371 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
372
373         * gdb.base/chng-syms.exp: New file.
374         * gdb.base/chng-syms.c: New file.
375
376 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
377
378         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
379         Provide arms for current output in all my configurations.
380
381 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
382
383         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
384         * lib/compiler.cc: Likewise.
385         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
386         get the right preprocessor.  Eval the output directly.  Remove
387         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
388         hp_f77_compiler and hp_f90_compiler completely.
389         (gdb_preprocess): Delete.
390         (get_compiler): Delete.
391
392 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
393
394         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
395         <string.h>.
396
397 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
398
399         * gdb.mi/mi-stack.exp: Update copyright.
400
401 2004-01-23  David Carlton  <carlton@kealia.com>
402
403         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
404         test for cp_lookup_transparent_type.
405         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
406         call them.
407
408 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
409
410         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
411         after -var-update.
412
413 2004-01-23  David Carlton  <carlton@kealia.com>
414
415         * gdb.cp/namespace.cc (C::ensureRefs): New.
416         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
417
418 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
419
420         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
421         case "-stack-list-locals 2".
422         * gdb.mi/mi-var-child.exp: Test for case
423         "-var-list-children --all-values NAME".
424
425 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
426
427         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
428
429 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
430
431         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
432         used with gdb_test_multiple.
433
434         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
435         read at address 0.  This fixes PR testsuite/1504.
436
437 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
438
439         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
440         Remove downloading, guessing the host executable, the calls to
441         gdb_file_cmd and gdb_target_cmd, and "load" support.
442         (infer_host_exec): New function broken out from gdb_load.
443         (gdb_load): New wrapper for gdbserver_gdb_load.
444         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
445         gdb_target_cmd.  Use -target-select.
446         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
447         Download binaries to the host.  Clear last_mi_remote_file when
448         we load a new binary.
449         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
450         call gdbserver_gdb_load and mi_gdb_target_cmd.
451
452 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
453
454         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
455         type patterns.
456
457 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
458
459         * gdb.cp/templates.exp: Fix typo in test name of
460         "print Foo<volatile char*>::foo".
461
462 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
463
464         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
465
466 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
467
468         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
469         (clean mostlyclean): Remove empty rm.
470
471 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
472
473         * gdb.base/setvar.exp: Add copyright years.
474
475 2004-01-14  David Carlton  <carlton@bactrian.org>
476
477         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
478         PR c++/1511 and update coment.
479         * gdb.cp/templates.exp: Update patterns to match current output.
480         If changes involve something other than whitespace, KFAIL
481         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
482
483 2004-01-14  David Carlton  <carlton@kealia.com>
484
485         * gdb.cp/namespace.exp: Add tests involving classes defined within
486         namespaces.
487         * gdb.cp/namespace.cc (C::CClass): New.
488         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
489
490 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
491
492         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
493         what debug info we have. Print a better message if something goes
494         wrong while producing the separate debug info file.
495
496 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
497
498         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
499
500 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
501
502         * gdb.base/callfuncs.c: Add copyright notice.
503
504 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
505
506         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
507         inheritance.  PR gdb/1498, PR gcc/13539.
508
509 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
510
511          * gdb.threads/gcore-thread.exp: Prefix name of binary with
512          test specific name.
513          * gdb.mi/gdb669.exp: Ditto.
514          * gdb.mi/mi-pthreads.exp: Ditto.
515          * gdb.mi/mi1-pthreads.exp: Ditto.
516          * gdb.mi/mi2-pthreads.exp: Ditto.
517
518 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
519
520         * gdb.cp/member-ptr.cc: Add copyright notice.
521
522 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
523
524         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
525         some patterns for recent versions of gcc and hpacc.  Delete
526         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
527         Delete tests that access a NULL pointer-to-member-data.  This
528         script is still disabled for gcc.
529
530 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
531
532         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
533         escaped correctly.
534
535 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
536
537         * gdb.base/sepdebug.exp: New file.
538         * gdb.base/sepdebug.c: New file.
539         * lib/gdb.exp (separate_debug_filename): New procedure.
540         (gdb_gnu_strip_debug): New procedure.
541
542 2004-01-12  Andrew Cagney  <cagney@redhat.com>
543
544         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
545         * gdb.mi/ChangeLog-1999-2003: New file.
546
547 2004-01-12  Andrew Cagney  <cagney@redhat.com>
548
549         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
550         "Renaming a directory to a non-empty directory returns ENOTEMPTY
551         or EEXIST", treat EBUSY as an XFAIL.
552
553 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
554
555         * gdb.base/scope.exp: Remove obsolete setup_xfail for
556         hp_cc_compiler.
557
558 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
559
560         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
561         decorations.
562
563 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
564
565         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
566         and "(aCC)" decorations.  Remove obsolete doco about old
567         test results.
568
569 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
570
571         * gdb.cp/exception.exp: Fix typo in doco.
572
573 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
574
575         * gdb.base/gdb1476.exp: Fix typo.
576
577 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
578
579         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
580         file.
581
582 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
583
584         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
585         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
586         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
587         for recent version of gdb.  Delete second half, which was a copy
588         of the first half with different build flags.  This test is
589         still disabled because it is still not ready for production.
590
591 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
592
593         * gdb.cp/exception.cc: Add copyright notice.
594         * gdb.cp/exception.exp: Add a notice that this file is broken
595         because of line number changes caused by addition of copyright
596         notice.
597
598 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
599
600         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
601         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
602
603 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
604
605         * gdb.cp/classes.exp: Accept gnu abi 2.
606         * gdb.cp/derivation.exp: Likewise.
607         * gdb.cp/overload.exp: Likewise.
608         * gdb.cp/virtfunc.exp: Likewise.
609
610 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
611
612         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
613         semicolon after end of function.
614
615 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
616
617         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
618         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
619         boilerplate code for compiling and running the program under
620         test.  Add some string method tests.
621
622 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
623
624         * gdb.cp/bs15503.cc: Add copyright notice.
625         * gdb.cp/bs15503.exp: Adjust line number.
626
627 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
628
629         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
630         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
631
632 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
633
634         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
635         hp_cc_compiler.
636
637 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
638
639         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
640         * gdb.cp/ctti.exp: Use the marker instead of "next".
641         With gcc, run further before bailing.
642
643 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
644
645         * gdb.cp/cttiadd.cc: Add copyright notice.
646         * gdb.cp/cttiadd1.cc: Likewise.
647         * gdb.cp/cttiadd2.cc: Likewise.
648         * gdb.cp/cttiadd3.cc: Likewise.
649
650 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
651
652         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
653         Use gdb_test, gdb_test_multiple.  Use floating-point values that
654         have exact representations in IEEE-ish formats.
655
656 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
657
658         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
659         compilers.  Delete duplicate call to get_compiler_info.
660         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
661         * gdb.base/volatile.exp: Likewise.
662
663 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
664
665         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
666         memory at address 0.
667
668 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
669
670         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
671         to test for hp-ux assembler.  Fix copyright years.
672
673 2004-01-07  Andrew Cagney  <cagney@redhat.com>
674
675         * gdb.base/fileio.c (strerrno): Add "EBUSY".
676
677 2004-01-07  Andrew Cagney  <cagney@redhat.com>
678
679         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
680         when creating the read-only file.  From analysis by Roland McGrath
681         and Elena Zannoni.
682
683 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
684
685         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
686
687 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
688
689         * gdb.base/cvexpr.c: Be type-safe with function pointers and
690         data pointers.
691
692 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
693
694         * gdb.cp/m-static.exp: Compile one source file at a time.
695         Delete unused call to get_compiler_info.
696
697 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
698
699         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
700         * gdb.base/call-rt-st.exp: Likewise.
701         * gdb.base/nodebug.exp: Likewise.
702         * gdb.base/volatile.exp: Likewise.
703         * gdb.cp/ref-types.exp: Likewise.
704         * gdb.cp/templates.exp: Likewise.
705
706 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
707
708         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
709
710 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
711
712         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
713         hppa*-hp-hpux*.
714
715 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
716
717         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
718         x86_64-*-*.
719
720         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
721         sparc64-*-* and sparc*-solaris2*.
722
723 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
724
725         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
726         return ${tests}" test.  The ${tests} already mentions the
727         filename.
728
729 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
730
731         * gdb.cp/local.exp: Accept gcc abi 2.
732
733 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
734
735         * gdb.cp/templates.exp: Accept gcc abi 2.
736
737 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
738
739         * lib/compiler.cc: Remove supports_template_debugging.
740         * gdb.cp/templates.exp: Do not test supports_template_debugging.
741
742 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
743
744         * gdb.cp/namespace.exp: Accept gcc abi 2.
745
746 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
747
748         * gdb.cp/method.exp: Accept gcc abi 2.
749
750 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
751
752         * gdb.cp/classes.exp: Generate identical results as old version.
753         * gdb.cp/derivation.exp: Likewise.
754         * gdb.cp/overload.exp: Likewise.
755         * gdb.cp/virtfunc.exp: Likewise.
756
757 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
758
759         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
760         mysterious bug with sourceware version of expect.
761
762 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
763
764         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
765         current versions of gcc, including gcc abi 2.  Remove gratuitous
766         restart of test program.  Use gdb_test_multiple and gdb_test for
767         all tests.  Add patterns to xfail missing "const" in "const char *"
768         and kfail PR gdb/1155.
769
770 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
771
772         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
773         current versions of gcc, including gcc abi 2.  Remove gratuitous
774         restart of test program.  Use gdb_test_multiple and gdb_test for
775         all tests.  Add patterns to kfail PR gdb/1498.
776
777 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
778
779         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
780         current versions of gcc, including gcc abi 2.  Use "breakpoint"
781         and "continue" instead of restarting the target program.  Use
782         gdb_test_multiple and gdb_test for all tests.
783
784 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
785
786         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
787         for *-*-solaris2*.
788
789 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
790
791         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
792         current versions of gcc, including gcc abi 2.  Use "breakpoint"
793         and "continue" instead of restarting the target program several
794         times.  Use gdb_test_multiple and gdb_test for all tests.
795
796 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
797
798         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
799         source files.
800
801 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
802
803         * gdb.base/environ.exp: Handle compiling test case from multiple
804         source files.
805
806 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
807
808         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
809
810 2003-12-17  Jim Blandy  <jimb@redhat.com>
811
812         * gdb.base/freebpcmd.c: Add copyright notice.
813
814         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
815
816 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
817
818         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
819
820 2003-12-13  Jim Blandy  <jimb@redhat.com>
821
822         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
823
824 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
825
826         * gdb.asm/frv.inc: New file.
827         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
828
829 2003-12-09  Fred Fish  <fnf@redhat.com>
830
831         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
832         functions to break1.c and leave prototypes behind.  Add more
833         "set breakpoint NN here" comments.
834         * gdb.base/break1.c: New file.
835
836         * gdb.base/break.exp: Handle compiling test case from multiple
837         source files and change source file references as needed.
838         * gdb.base/completion.exp: Ditto.
839         * gdb.base/condbreak.exp: Ditto.
840         * gdb.base/define.exp: Ditto.
841         * gdb.base/ena-dis-br.exp: Ditto.
842         * gdb.base/info-proc.exp: Ditto.
843         * gdb.base/maint.exp: Ditto.
844         * gdb.base/until.exp: Ditto.
845
846         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
847         hardcoded line numbers.
848         * gdb.base/define.exp: Ditto.
849         * gdb.base/ena-dis-br.exp: Ditto.
850         * gdb.base/maint.exp: Ditto.
851         * gdb.base/until.exp: Ditto.
852
853         * gdb.base/completion.exp: Use "break1" for completion tests since
854         "break" is no longer a unique prefix.
855
856 2003-12-06  Andrew Cagney  <cagney@redhat.com>
857
858         * gdb.base/structs.exp (test_struct_returns): When applicable, set
859         "return_value_unimplemented".  When an unimplemented struct return
860         architecture, report incorrect values as a KFAIL
861
862 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
863
864         * gdb.cp/rtti.exp: Accept new wording of warning from
865         cp_lookup_rtti_type.
866
867 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
868
869         Partial fix for PR testsuite/1456.
870         * gdb.base/scope.exp (test_at_main): Replace references to
871         gcc_compiled with calls to test_compiler_info.
872         (test_at_foo): Likewise.
873         (test_at_bar): Likewise.
874
875 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
876
877         Partial fix for PR testsuite/1456.
878         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
879         to test_compiler_info.
880
881 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
882
883         * gdb.base/so-impl-ld.exp: Update copyright notice.
884
885 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
886
887         Partial fix for PR testsuite/1456.
888         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
889         to test_compiler_info.
890
891 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
892
893         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
894         from current versions of gdb.  Clean up regular expressions.
895         Delete redundant timeout case.
896
897 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
898
899         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
900         from current versions of gdb.  Clean up regular expressions.
901         Delete redundant timeout case.
902
903 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
904
905         Partial fix for PR testsuite/1456.
906         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
907         gcc_compiled with call to test_compiler_info.
908
909 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
910
911         Partial fix for PR testsuite/1456.
912         * gdb.base/list.exp (test_list_function): Delete unused declaration
913         of gcc_compiled.
914
915 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
916
917         Partial fix for PR testsuite/1456.
918         * gdb.base/complex.exp: Replace reference to gcc_compiled with
919         call to test_compiler_info.
920
921 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
922
923         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
924         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
925         it to create the appropriate note.inc.
926         * gdb.asm/asmsrc1.s: Include "note.inc".
927         * gdb.asm/netbsd.inc: New file.
928         * gdb.asm/empty.inc: New file.
929
930 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
931
932         Partial fix for PR testsuite/1456.
933         * gdb.base/constvars.exp: Replace references to gcc_compiled with
934         calls to test_compiler_info.
935
936 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
937
938         Partial fix for PR testsuite/1456.
939         * gdb.base/volatile.exp: Replace references to gcc_compiled with
940         calls to test_compiler_info.
941
942 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
943
944         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
945         pattern for the KFAILs.
946
947 2003-11-25  Adam Fedor  <fedor@gnu.org>
948
949         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
950         * gdb.objc/objcdecode.m: New file.
951
952 2003-11-25  Adam Fedor  <fedor@gnu.org>
953
954         * gdb.objc/nondebug.exp: Test for PR objc/1236.
955         * gdb.objc/nondebug.m: New file.
956
957 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
958
959         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
960         NetBSD as it does on FreeBSD.  Modelled on a similar change by
961         Mark Kettenis on 2003-05-30.
962         (link-flags): Set to "--entry _start" regardless of target.
963         Special linker flags are to be appended to $link-flags.
964         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
965
966 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
967
968         * gdb.cp/method.exp: Accept output of new demangler.
969
970 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
971
972         * gdb/class2.exp: New file.
973         * gdb/class2.cc: New file.
974
975 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
976
977         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
978         of new demangler.
979
980 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
981
982         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
983         of gdb_test "run".
984
985 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
986
987         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
988         "continue" into "run".
989
990 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
991
992         Partial fix for PR testsuite/1456.
993         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
994         call to test_compiler_info.
995         * gdb.cp/ctti.exp: Likewise.
996         * gdb.cp/derivation.exp: Likewise.
997         * gdb.cp/member-ptr.exp: Likewise.
998         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
999         reference to gcc_compiled.
1000
1001 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
1002
1003         Fix PR testsuite/1463.
1004         * gdb.base/structs.exp (start_structs_test): Call
1005         get_debug_format before using the debug format.
1006
1007 2003-11-22  Andrew Cagney  <cagney@redhat.com>
1008
1009         * lib/gdb.exp (gdb_test_multiple): Add simple example.
1010         * gdb.base/structs.exp: Use gdb_test_multiple.
1011
1012 2003-11-20  Andrew Cagney  <cagney@redhat.com>
1013
1014         * gdb.base/structs.exp: Handle and recover from internal errors.
1015         Replace "foo${n}" with "foo<n>" in test messages.
1016
1017         * gdb.base/structs.exp: Update copyright.  Rewrite.
1018         * gdb.base/structs.c: Update copyright.  Rewrite.
1019
1020         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1021         resync count exceeded.
1022
1023         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1024         from the internal error.
1025         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1026         Original from Jim Blandy.
1027         (gdb_test_multiple): Use gdb_internal_error_resync.
1028
1029 2003-11-19  Andrew Cagney  <cagney@redhat.com>
1030
1031         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1032         KFAIL.
1033
1034 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
1035
1036         New testcase for PR backtrace/1435.
1037         * gdb.arch/i386-unwind.exp: New file.
1038         * gdb.arch/i386-unwind.c: New file.
1039
1040 2003-11-17  Andrew Cagney  <cagney@redhat.com>
1041
1042         * lib/gdb.exp (compiler_info): New global.
1043         (test_compiler_info): New function.
1044         (get_compiler_info): Set compiler_info.
1045         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
1046         "compiler_info" to gcc-<major>-<minor>.
1047
1048 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
1049
1050         * gdb.trace/configure: Remove.
1051
1052 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
1053
1054         * gdb.base/break.c: Add comments to aid finding line numbers for
1055         breakpoints.
1056         * gdb.base/break.exp: Remove all references to explicit line
1057         numbers.
1058
1059 2003-11-11  Nick Clifton  <nickc@redhat.com>
1060
1061         * gdb.base/shreloc.exp: Do not run for targets which do not
1062         support shared objects.
1063
1064 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
1065
1066         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1067         Don't run tests if nofileio flag is given.
1068
1069 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
1070
1071         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1072         as well as 'Watchpoint'.
1073
1074 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
1075
1076         Reported by Jim Ingham <jingham@apple.com>:
1077         * gdb.base/annota1.exp: Match at least one occurrence of the
1078         signal handler annotation.
1079
1080 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
1081
1082         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1083         as well as 'Watchpoint'.
1084
1085 2003-11-05  Michael Chastain  <mec@shout.net>
1086
1087         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1088
1089 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
1090
1091         * gdb.arch/gdb1291.c: New test file.
1092         * gdb.arch/gdb1291.exp: New test script.
1093         * gdb.arch/gdb1431.c: New test file.
1094         * gdb.arch/gdb1431.exp: New test script.
1095
1096 2003-10-22  Michael Chastain  <mec@shout.net>
1097
1098         * gdb.mi/pthreads.c: Add copyright notice.
1099
1100 2003-10-22  Michael Chastain  <mec@shout.net>
1101
1102         * gdb.threads/pthreads.c: Add copyright notice.
1103
1104 2003-10-20  Michael Chastain  <mec@shout.net>
1105
1106         * gdb.base/gdb1056.exp: New test script.
1107
1108 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
1109
1110         * gdb.threads/killed.exp: Use gdb_run_cmd.
1111
1112 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
1113
1114         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1115         create a core file.
1116         * gdb.threads/gcore-thread.exp: Likewise.
1117
1118 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
1119
1120         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1121         type, based on char type.
1122         (struct bit_flags_short_t): New bitfield type, based on short type.
1123         (init_bit_flags_char): New fuction.
1124         (init_bit_flags_short): Ditto.
1125         (print_bit_flags_char): Ditto.
1126         (print_bit_flags_short): Ditto.
1127         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1128
1129 2003-10-11  Michael Chastain  <mec@shout.net>
1130
1131         * gdb.base/call-rt-st.exp: Update copyright year.
1132
1133 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
1134
1135         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1136         * gdb.disasm/sh3.s: Ditto.
1137
1138 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
1139
1140         * gdb.threads/switch-threads.exp: New test.
1141         * gdb.threads/switch-threads.c: New source file.
1142
1143 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
1144
1145         * gdb.base/ending-run.exp: Add sh specific case.
1146
1147 2003-10-06  Andrew Cagney  <cagney@redhat.com>
1148
1149         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1150         * gdb.disasm/mn10200.exp: Delete obsolete file.
1151
1152 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
1153
1154         * ChangeLog: Correct an entry command.exp -> commands.exp.
1155         * gdb.base/commands.exp (bp_deleted_in_command_test)
1156         (temporary_breakpoint_commands): Check noargs.
1157
1158 2003-09-25  David Carlton  <carlton@kealia.com>
1159
1160         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
1161         of some print tests, where appropriate.  Add tests for C::D::cd,
1162         E::ce, F::cXfX, G::XgX.
1163         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1164
1165 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
1166
1167         * lib/java.exp (java_init): Import target_alias before using it.
1168
1169 2003-09-25  David Carlton  <carlton@kealia.com>
1170
1171         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1172
1173 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
1174
1175         * gdb.base/selftest.exp: Accomodate more instruction reordering
1176         weirdness.
1177
1178 2003-09-17  Michael Chastain  <mec@shout.net>
1179
1180         * gdb.cp/gdb1355.exp: New file.
1181         * gdb.cp/gdb1355.c: New file.
1182
1183 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
1184
1185         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1186         * gdb.asm/sh.inc: New file.
1187
1188 2003-09-11  David Carlton  <carlton@kealia.com>
1189
1190         * gdb.cp/namespace.exp: Add tests for namespace types.
1191         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
1192         (test_namespace): New.
1193
1194 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
1195
1196         * gdb.base/relocate.exp: Handle new gdb output at startup.
1197         * gdb.stabs/weird.exp: Ditto.
1198
1199 2003-09-08  Michael Chastain  <mec@shout.net>
1200
1201         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1202
1203 2003-09-07  Michael Chastain  <mec@shout.net>
1204
1205         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1206         'parse error'.
1207
1208 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
1209
1210         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1211
1212 2003-08-30  Michael Chastain  <mec@shout.net>
1213
1214         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1215         * gdb.gdb/observer.exp: Ditto.
1216         * gdb.gdb/xfullpath.exp: Ditto.
1217
1218 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
1219
1220         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1221         *-*-*bsd*.
1222
1223 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
1224
1225         * gdb.base/dump.exp: Skip for ia64.
1226
1227 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
1228
1229         * gdb.asm/asm-source.exp: Add ia64 support.
1230         * gdb.asm/ia64.inc: New file.
1231
1232 2003-08-22  Michael Chastain  <mec@shout.net>
1233
1234         * gdb.cp: New directory.
1235         * gdb.cp/*: Copy from gdb.c++/*.
1236         * gdb.c++/*: Remove.
1237         * Makefile.in: Change gdb.c++ to gdb.cp.
1238         * configure.in:  Ditto.
1239         * configure: Regnerate.
1240
1241 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
1242
1243         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1244         * gdb.arch/i386-prologue.c (gdb1338): Add function.
1245
1246 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
1247
1248         * mi-var-display.exp (-var-list-children weird): Accept function
1249         pointers with argument types.
1250         * mi1-var-display.exp (-var-list-children weird): Likewise.
1251         * mi2-var-display.exp (-var-list-children weird): Likewise.
1252
1253 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
1254
1255         * gdb.base/annota3.exp: Add missing newline.
1256
1257 2003-08-06  Michael Chastain  <mec@shout.net>
1258
1259         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1260
1261 2003-08-12  Michael Snyder  <msnyder@redhat.com>
1262
1263         * gdb.base/float.exp: Add test for SH.
1264
1265 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
1266
1267         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1268
1269 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
1270
1271        * gdb.base/completion.exp: Remove reduntant completion test
1272        on filename.
1273
1274 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
1275
1276         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1277         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1278         gdb.trace/save-trace.exp: Make sure that full pathnames are
1279         escaped correctly.
1280
1281 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
1282
1283         * configure.in: Don't generate config.h from config.hin.
1284         * configure: Regenerate.
1285         * config.hin: Remove file.
1286         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1287         * gdb.threads/pthreads.c: Ditto.
1288
1289 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
1290
1291         From Kei Sakamoto <sakamoto.kei@renesas.com>:
1292         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1293         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1294         Replace ld24 with seth/add3.
1295
1296 2003-08-02  Andrew Cagney  <cagney@redhat.com>
1297
1298         * gdb.base/annota3.exp: New file.
1299         * gdb.base/annota3.c: New file.
1300         * gdb.c++/annota3.exp: New file.
1301         * gdb.c++/annota3.cc: New file.
1302
1303 2003-07-29  Michael Chastain  <mec@shout.net>
1304
1305         * gdb.threads/tls.c (spin): Check errno only if sem_wait
1306         actually failed.
1307         (do_pass): Likewise.
1308         * gdb.threads/tls.exp: Always initialize no_of_threads.
1309
1310 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
1311
1312         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1313         pattern.
1314         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1315         * gdb.threads/tls.exp: Recognize one case of the host library not
1316         supporting TLS.
1317
1318 2003-07-27  Andrew Cagney  <cagney@redhat.com>
1319
1320         * gdb.base/fileio.exp: Use SH when running commands using
1321         remote_exec.
1322
1323 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
1324
1325         From Kei Sakamoto <sakamoto.kei@renesas.com>:
1326         * gdb.base/relocate.c (dummy): New padding array.
1327
1328 2003-07-22  Michael Snyder  <msnyder@redhat.com>
1329
1330         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1331
1332         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1333         patterns to be more general, accepting old and new output.
1334         Some output chars (such as '+') also must be quoted.
1335         Some addresses are displayed numerically instead of
1336         symbolically.
1337
1338 2003-07-23  Michael Snyder  <msnyder@redhat.com>
1339
1340         * gdb.base/return2.exp: Don't test long-long return.
1341
1342         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1343         * gdb.disasm/t01_mov.exp: Ditto.
1344         * gdb.disasm/t02_mova.s: Ditto.
1345         * gdb.disasm/t02_mova.exp: Ditto.
1346         * gdb.disasm/t03_add.s: Ditto.
1347         * gdb.disasm/t03_add.exp: Ditto.
1348         * gdb.disasm/t04_sub.s: Ditto.
1349         * gdb.disasm/t04_sub.exp: Ditto.
1350         * gdb.disasm/t05_cmp.s: Ditto.
1351         * gdb.disasm/t05_cmp.exp: Ditto.
1352         * gdb.disasm/t06_ari2.s: Ditto.
1353         * gdb.disasm/t06_ari2.exp: Ditto.
1354         * gdb.disasm/t07_ari3.s: Ditto.
1355         * gdb.disasm/t07_ari3.exp: Ditto.
1356         * gdb.disasm/t08_or.s: Ditto.
1357         * gdb.disasm/t08_or.exp: Ditto.
1358         * gdb.disasm/t09_xor.s: Ditto.
1359         * gdb.disasm/t09_xor.exp: Ditto.
1360         * gdb.disasm/t10_and.s: Ditto.
1361         * gdb.disasm/t10_and.exp: Ditto.
1362         * gdb.disasm/t11_logs.s: Ditto.
1363         * gdb.disasm/t11_logs.exp: Ditto.
1364         * gdb.disasm/t12_bit.s: Ditto.
1365         * gdb.disasm/t12_bit.exp: Ditto.
1366         * gdb.disasm/t13_otr.s: Ditto.
1367         * gdb.disasm/t13_otr.exp: Ditto.
1368
1369 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
1370
1371         * gdb.threads/tls.exp :Add kfail for 'info address' case.
1372
1373 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
1374
1375         * gdb.threads/tls.c : New file.
1376         * gdb.threads/tls.exp : New file.
1377         * gdb.threads/tls-main.c : New file.
1378         * gdb.threads/tls-shared.c : New file.
1379         * gdb.threads/tls-shared.exp : New file.
1380
1381 2003-07-22  Andreas Schwab  <schwab@suse.de>
1382
1383         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1384
1385 2003-07-20  Andreas Schwab  <schwab@suse.de>
1386
1387         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1388         due to insn reordering.
1389
1390 2003-07-15  Andrew Cagney  <cagney@redhat.com>
1391
1392         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1393
1394 2003-07-15  Michael Chastain  <mec@shout.net>
1395
1396         * gdb.base/gdb1250.exp: New file.
1397         * gdb.base/gdb1250.c: New file.
1398
1399 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
1400
1401         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1402         expansion of size_t to 'unsigned long', not only to 'unsigned'.
1403
1404 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
1405
1406         * gdb.threads/tls.c: New file.
1407         * gdb.threads/tls.exp: New file.
1408         * gdb.threads/tls-main.c: New file.
1409         * gdb.threads/tls-shared.c: New file.
1410         * gdb.threads/tls-shared.exp: New file.
1411
1412 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
1413
1414         * gdb.base/annota1.exp: Make sure that we properly escape the
1415         full path of the source file. Xfail more permissive patterns,
1416         due to a compiler debug info problem.
1417
1418 2003-07-07  Andreas Schwab  <schwab@suse.de>
1419
1420         * gdb.asm/m68k.inc: New file.
1421         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1422
1423         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1424         arguments"): Also match negative number.
1425
1426         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1427
1428 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
1429
1430         * gdb.base/store.c (charest): New typedef.
1431         (add_char): Rename to add_charest, update.
1432         (wack_char): Rename to wack_charest, update types.  Return l + r
1433         to keep r live across the call.
1434         (wack_short, wack_int, wack_long, wack_longest, wack_float)
1435         (wack_double, wack_doublest): Return l + r to keep r live across
1436         the call.
1437         * gdb.base/store.exp: Accomodate store.c changes.
1438
1439 2003-06-30  David Carlton  <carlton@kealia.com>
1440
1441         * gdb.c++/maint.exp (test_invalid_name): New.
1442         (test_first_component): Add tests for invalid names.
1443
1444 2003-06-29  Michael Chastain  <mec@shout.net>
1445
1446         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1447         output of '<VTT for class>' for virtual base classes.
1448
1449 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
1450
1451         * gdb.base/completion.exp: Tab-complete "complet" instead of
1452         "compl".
1453         * gdb.base/complex.exp, gdb.base/complex.c: New files.
1454
1455 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
1456
1457         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1458         * gdb.base/volatile.exp: Likewise.
1459
1460 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
1461
1462         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1463         gdb/1265.
1464
1465 2003-06-28  Michael Chastain  <mec@shout.net>
1466             Daniel Jacobowitz  <drow@mvista.com>
1467
1468         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1469         initial line count of 'captured_main' from 26 to 32.
1470         (test_with_self): Allow xmalloc call to be interleaved with the
1471         preceding two lines.
1472
1473 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
1474
1475         * gdb.base/bang.exp: New testcase.
1476
1477 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
1478
1479         * gdb.base/langs.exp: Add some tests for the "minimal" language
1480         support.
1481
1482 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
1483
1484         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1485         the testcase.
1486
1487 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
1488
1489         * gdb.base/relocate.exp: Test add-symbol-file with a variable
1490         offset.
1491
1492 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
1493
1494         * gdb.c++/pr-1210.cc: New file.
1495         * gdb.c++/pr-1210.exp: New file.
1496
1497 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
1498
1499         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1500         000-exec-continue.
1501
1502 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
1503
1504         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1505         on *-*-*bsd* instead of *-*-freebsd*.
1506
1507 2003-06-14  Andrew Cagney  <cagney@redhat.com>
1508
1509         * gdb.base/store.exp: Test longest and doublest.  Test all
1510         parameters.  Weaken return statement match.
1511         * gdb.base/store.c: Add longest and doublest - aka long long and
1512         long double functions.  Put all parameters into local register
1513         variables.  Use negative values.
1514
1515 2003-06-14  Andrew Cagney  <cagney@redhat.com>
1516
1517         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
1518         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
1519         exit status.
1520         * gdb.base/fileio.exp: Disable target when nointerrupts and
1521         noinferiorio, instead of limiting it to remote.  Use remote_exec
1522         instead of system.
1523
1524 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
1525
1526         * gdb.base/float.exp: Add ia64 support.
1527
1528 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
1529
1530         * gdb.base/fileio.exp: Run only on remote targets.
1531
1532 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
1533
1534         * gdb.base/fileio.c: New file, testing File-I/O.
1535         * gdb.base/fileio.exp: Ditto.
1536
1537 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
1538
1539         * gdb.base/shreloc.exp: New file, check symbol values obtained from
1540         shared objects after relocation at load time (gdb PR/1132).
1541         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1542         as above, part of the shared object relocation test.
1543
1544 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
1545
1546         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1547         fully filled history list.
1548         * gdb.base/gdb_history: New file.
1549
1550         * gdb.base/signals.exp: XFAIL "continue to func1" on
1551         i*86-*-freebsd*.
1552
1553         * gdb.base/attach.exp: When trying to attach to a nonexistent
1554         process, make it possible to specify the PID based on the target,
1555         and do so for *-*-freebsd*.
1556
1557 2003-06-02  Richard Henderson  <rth@redhat.com>
1558
1559         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1560
1561 2003-06-02  Richard Henderson  <rth@redhat.com>
1562
1563         * gdb.base/selftest.exp: Next over lim_at_start initialization.
1564
1565 2003-06-02  Richard Henderson  <rth@redhat.com>
1566
1567         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1568
1569 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
1570
1571         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1572         of globalvar.
1573
1574 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
1575
1576         * gdb.asm/asm-source.exp: Check for memory read errors in
1577         disassembler test on *BSD too.
1578
1579 2003-06-01  Richard Henderson  <rth@redhat.com>
1580
1581         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1582         for .frame.
1583         (gdbasm_call): Lose ldgp.
1584         (gdbasm_startup): Add frame information.
1585         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1586
1587 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
1588
1589         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1590         i?86-*-*.
1591
1592 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
1593
1594         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1595         FreeBSD.
1596
1597 2003-05-29  Richard Henderson  <rth@redhat.com>
1598
1599         * gdb.asm/alpha.inc: New file.
1600         * gdb.asm/asm-source.exp: Use it.
1601
1602 2003-05-29  Jim Blandy  <jimb@redhat.com>
1603
1604         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1605         'core.PID'.
1606
1607 2003-05-22  Jim Blandy  <jimb@redhat.com>
1608
1609         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1610         backtrace.
1611
1612 2003-05-20  David Carlton  <carlton@math.stanford.edu>
1613
1614         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1615         this time.
1616
1617 2003-05-19  David Carlton  <carlton@bactrian.org>
1618
1619         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1620         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1621
1622 2003-05-19  David Carlton  <carlton@bactrian.org>
1623
1624         * gdb.c++/namespace.exp: Add namespace scope and anonymous
1625         namespace tests.
1626         Bump copyright date.
1627         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1628         (main): Call C::D::marker2.
1629         * gdb.c++/namespace1.cc: New file.
1630
1631 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
1632
1633         Roland McGrath  <roland@redhat.com>
1634         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1635         there is no manager thread.
1636
1637 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
1638
1639         * gdb.threads/schedlock.exp: Remove assumption that all threads
1640         will run in a particular small time slice.  Also ensure we break
1641         in one of the child threads rather than the main thread.
1642
1643 2003-05-07  Jim Blandy  <jimb@redhat.com>
1644
1645         Add support for assembly source testing on the s390x.
1646         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1647         architecture.
1648         * gdb.asm/s390x.inc: New file.
1649
1650         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1651         succession of 'if' statements.
1652
1653 2003-05-05  Andrew Cagney  <cagney@redhat.com>
1654
1655         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1656
1657 2003-05-05  Andrew Cagney  <cagney@redhat.com>
1658
1659         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1660         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1661
1662 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
1663
1664         * gdb.base/charset.exp: Update based on new behavior of set/show
1665         charset commands.
1666
1667 2003-05-01  Andrew Cagney  <cagney@redhat.com>
1668
1669         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1670         variable do not give memory errors.
1671
1672 2003-04-30  Adam Fedor  <fedor@gnu.org>
1673
1674         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1675         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1676         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1677         gdb.objc/basicclass.m: : New files
1678
1679         * lib/gdb.exp (gdb_compile_objc): New procedure.
1680
1681 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
1682
1683         * gdb.base/signals.exp: Make backtrace tests more specific.
1684
1685 2003-04-23  David Carlton  <carlton@bactrian.org>
1686
1687         * gdb.c++/maint.exp (test_first_component): Add tests for
1688         'operator' in more locations.
1689
1690 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
1691
1692         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1693
1694 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
1695
1696         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1697         func marke' instead. Update test name.
1698
1699 2003-04-15  David Carlton  <carlton@math.stanford.edu>
1700
1701         * gdb.c++/maint.exp: New file.
1702
1703 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
1704
1705         * gdb.threads/schedlock.c: Change type of thread function argument
1706         to long, to avoid warnings on 64-bit platforms.
1707
1708 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
1709
1710         * gdb.base/attach.exp: Add new message from ptrace in case of
1711         attaching to nonexistent process.
1712
1713 2003-04-11  Jim Blandy  <jimb@redhat.com>
1714
1715         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1716         gdb.c++/userdef.cc: Place comments on the lines to which the
1717         marker function might return.
1718         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1719         gdb.c++/userdef.exp: Look for those comments to check that we've
1720         returned to the right place, instead of checking line numbers.
1721
1722 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
1723
1724         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1725         match on sourcefile name, instead of directory name.
1726
1727 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
1728
1729         * gdb.base/completion.exp: Use string_to_regexp to match the
1730         working directory name.
1731
1732 2003-04-09  Jim Blandy  <jimb@redhat.com>
1733
1734         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1735         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1736         after an inferior function call, report the failure, but allow the
1737         test to continue.
1738
1739 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
1740
1741         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1742         with -DPROTOTYPES.
1743
1744 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
1745
1746         * gdb.base/break.exp: Revert last patch.
1747
1748 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
1749
1750         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1751         with -DPROTOTYPES.
1752
1753 2003-04-02  Andrew Cagney  <cagney@redhat.com>
1754
1755         * gdb.base/callfuncs.exp: Make "print add" messages unique.
1756         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1757         matching directories by the name breakpoint.
1758         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1759         Make "continue to marker1" consistent.
1760         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1761         message consistent.
1762         * lib/gdb.exp: Put "the program is no longer running", and "the
1763         program exited" in parenthesis.
1764         * lib/mi-support.exp: Ditto.
1765
1766 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
1767
1768         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1769
1770 2003-03-29  Andrew Cagney  <cagney@redhat.com>
1771
1772         * gdb.base/sizeof.c (main): Print the value of '\377'.
1773         * gdb.base/sizeof.exp: Check the sign of '\377'.
1774
1775 2003-03-27  Michael Chastain  <mec@shout.net>
1776
1777         * gdb.base/gdb1090.exp: New file.
1778         * gdb.base/gdb1090.cc: New file.
1779
1780 2003-03-27  J. Brobecker  <brobecker@gnat.com>
1781
1782         * gdb.gdb/observer.exp: New regression test.
1783
1784 2003-03-27  Michael Chastain  <mec@shout.net>
1785
1786         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1787         * gdb.base/ptype.exp: Likewise.
1788
1789 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
1790
1791         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1792
1793 2003-03-26  Michael Chastain  <mec@shout.net>
1794
1795         * gdb.base/ptype.exp: Actually use some typedef'd types.
1796
1797 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
1798
1799         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1800         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1801
1802 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
1803
1804         * gdb.base/default.exp: Fix regular expression.
1805
1806 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
1807
1808         * gdb.base/args.exp: Fix regular expression.
1809
1810 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
1811
1812         * gdb.base/help.exp: Allow Win32 child process.
1813
1814 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
1815
1816         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1817         when stepping out of main().
1818
1819 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
1820
1821         * gdb.base/default.exp: Check for win32 specific message when calling
1822         "run" without executable.
1823
1824 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
1825
1826         * gdb.base/args.exp: Expect .exe in output.
1827
1828 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
1829
1830         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1831         Cygwin native.
1832
1833 2003-03-17  Andrew Cagney  <cagney@redhat.com>
1834
1835         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
1836         vector registes.
1837         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1838         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1839
1840 2003-03-17  David Carlton  <carlton@math.stanford.edu>
1841
1842         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1843         test, for PR breakpoints/38.
1844         Call test_watchpoint_and_breakpoint.
1845         * gdb.base/watchpoint.c (func3): New function.
1846         (main): Call func3.
1847
1848 2003-03-04  David Carlton  <carlton@math.stanford.edu>
1849
1850         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1851         Garply<Garply<char> >:: garply".
1852         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1853         with respect to PR c++/1111; note also PR c++/1113.
1854         (test_template_breakpoints): KFAIL "constructor breakpoint" with
1855         respect to PR c++/1062.
1856         KFAIL "destructor breakpoint" with respect to PR c++/1112.
1857
1858 2003-03-03  David Carlton  <carlton@math.stanford.edu>
1859
1860         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1861         with respect to PR c++/57.
1862         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1863         c++/826.
1864         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1865         respect to PR c++/57.
1866
1867 2003-03-03  David Carlton  <carlton@math.stanford.edu>
1868
1869         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1870         respect to PR c++/33 into FAILs.
1871
1872 2003-03-03  Michael Chastain  <mec@shout.net>
1873
1874         * configure.in: Update copyright years.
1875
1876 2003-03-03  Michael Chastain  <mec@shout.net>
1877
1878         * Makefile.in: Update copyright years.
1879
1880 2003-02-28  David Carlton  <carlton@math.stanford.edu>
1881
1882         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1883         print class instead of struct and/or superfluous protection
1884         specifiers, as long as the resulting output is equivalent to the
1885         source code.
1886         Delete FIXME from end of messages on tests that don't need
1887         fixing.
1888
1889 2003-02-28  David Carlton  <carlton@math.stanford.edu>
1890
1891         * gdb.c++/templates.exp (do_tests): Allow const in the two
1892         Foo<volatile char *>::foo tests.
1893
1894 2003-02-27  Michael Snyder  <msnyder@redhat.com>
1895
1896         * gdb.base/restore.c (main): Return zero, so exit code
1897         will be consistant.
1898
1899 2003-02-26  David Carlton  <carlton@math.stanford.edu>
1900
1901         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1902         char *>::foo" test with respect to PR c++/33.  Create a new test
1903         which is identical to that one except that it doesn't put the
1904         space between the "char" and the "*"; KFAIL it, too.
1905
1906 2003-02-26  David Carlton  <carlton@math.stanford.edu>
1907
1908         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1909         template types into either PASSes or KFAILs (corresponding to PR
1910         c++/57).  Tweak indentation.  Update copyright.
1911
1912 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
1913
1914         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1915
1916 2003-02-13  Michael Chastain  <mec@shout.net>
1917
1918         * gdb.base/exprs.exp: Remove i960 remnants.
1919         * gdb.base/funcargs.exp: Likewise.
1920         * gdb.base/list.exp: Likewise.
1921         * gdb.base/ptype.exp: Likewise.
1922
1923 2003-02-14  David Carlton  <carlton@math.stanford.edu>
1924
1925         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1926         pEe->D::vg()" from XFAIL to KFAIL.
1927
1928 2003-02-13  Jason Molenda  (jmolenda@apple.com)
1929
1930         * gdb.base/maint.exp: Update maint print statistics regexp to include
1931         new entries.
1932
1933 2003-02-13  Michael Chastain  <mec@shout.net>
1934
1935         * gdb.c++/inherit.exp: Remove call to get_debug_format.
1936
1937 2003-02-12  Michael Chastain  <mec@shout.net>
1938
1939         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1940         * gdb.c++/inherit.exp: Likewise.
1941         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1942         * gdb.c++/templates.exp: Likewise.
1943         * gdb.c++/virtfunc.exp: Likewise.
1944
1945 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
1946
1947         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1948         why the code is written that way.
1949
1950 2003-02-05  Michael Chastain  <mec@shout.net>
1951
1952         * gdb.base/dump.exp: Add missing copyright line.
1953
1954 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
1955
1956         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
1957         at the beginning so the breakpoint doesn't get set on the loop.
1958
1959 2003-02-05  Michael Chastain  <mec@shout.net>
1960
1961         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1962         output for configurations with gcc 2.95.3.
1963
1964 2003-02-05  Keith Seitz  <keiths@redhat.com>
1965             Andrew Cagney  <ac131313@redhat.com>
1966
1967         * gdb.mi/mi-cli.exp: New file.
1968
1969 2003-02-04  Michael Chastain  <mec@shout.net>
1970
1971         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1972         Call perror and then continue.
1973
1974 2003-02-03  Michael Chastain  <mec@shout.net>
1975
1976         * gdb.c++/pr-1023.cc: New file.
1977         * gdb.c++/pr-1023.exp: New file.
1978
1979 2003-02-05  Jim Blandy  <jimb@redhat.com>
1980
1981         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1982         it's local to foobar.  Check for it there, and check that it's not
1983         present in main.
1984         * gdb.c++/local.cc (marker2): New function.
1985         (foobar): Call marker1.
1986         (main): Call marker2 instead of marker1.
1987
1988 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
1989
1990         * gdb.disasm/mn10200.exp: Obsolete file.
1991         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1992         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1993         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1994
1995 2003-02-04  David Carlton  <carlton@math.stanford.edu>
1996
1997         * gdb.c++/overload.exp: Test intToChar(1).
1998         * gdb.c++/overload.cc (intToChar): New.
1999         (main): Call intToChar.
2000
2001 2003-02-03  David Carlton  <carlton@math.stanford.edu>
2002
2003         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2004         'might_kfail' arg.
2005         KFAIL some of the continue_to_bp_overloaded calls, according to
2006         PR c++/1025.
2007
2008 2003-02-01  Michael Chastain  <mec@shout.net>
2009
2010         * gdb.base/advance.c (marker1): New marker function.
2011         * gdb.base/advance.exp: When the 'advance' command lands on the
2012         return breakpoint, it can legitimately stop on either the
2013         current line or the next line.  Accommodate both outcomes.
2014         * gdb.base/until.exp: Likewise.
2015
2016 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
2017
2018         2002-11-10 Jason Molenda (jason-cl@molenda.com):
2019         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2020         now a list, not a tuple.
2021         * gdb.mi/mi-var-display.exp: Ditto.
2022         * gdb.mi/gdb792.exp: Ditto.
2023
2024 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
2025
2026         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2027         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2028         stack backtraces.
2029         * gdb.mi/mi-syn-frame.c: Part of same.
2030
2031 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
2032
2033         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2034         gdb.mi/mi1-pthreads.exp: Return instead of calling
2035         gdb_suppress_entire_file.
2036
2037 2003-02-01  Mark Salter  <msalter@redhat.com>
2038
2039         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2040
2041 2003-01-31  Mark Salter  <msalter@redhat.com>
2042
2043         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2044         Support empty arg.
2045
2046 2003-01-30  Michael Chastain  <mec@shout.net>
2047
2048         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2049         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
2050         has been fixed in gdb/readline on 2003-01-09.
2051
2052 2003-01-29  Michael Snyder  <msnyder@redhat.com>
2053
2054         * gdb.base/maint.exp: Allow for leading underscore in symbol.
2055         * gdb.base/display.exp: Allow for leading underscore in symbol.
2056         * gdb.base/args.exp: Skip if target does not support args passing.
2057
2058 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
2059
2060         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2061         gdb_test.  Accept a list of expect arguments as the third
2062         parameter.
2063         (gdb_test): Use it.
2064
2065 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
2066
2067         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2068         allow for different test tree configurations.  Update some
2069         tescases accordingly.
2070         * gdb.arch/altivec-regs.exp: Ditto.
2071         * gdb.asm/asm-source.exp: Ditto.
2072         * gdb.base/advance.exp: Ditto.
2073         * gdb.base/display.exp: Ditto.
2074         * gdb.base/long_long.exp: Ditto.
2075         * gdb.base/mips_pro.exp: Ditto.
2076         * gdb.base/overlays.exp: Ditto.
2077         * gdb.base/relocate.exp: Ditto.
2078         * gdb.base/setshow.exp: Ditto.
2079         * gdb.base/step-line.exp: Ditto.
2080         * gdb.base/step-test.exp: Ditto.
2081         * gdb.base/until.exp: Ditto.
2082         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2083
2084 2003-01-17  David Carlton  <carlton@math.stanford.edu>
2085
2086         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2087         corresponding to PR c++/945.
2088         Update copyright.
2089
2090 2003-01-17  David Carlton  <carlton@math.stanford.edu>
2091
2092         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2093         corresponding to PR c++/68.
2094
2095 2003-01-17  David Carlton  <carlton@math.stanford.edu>
2096
2097         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2098         (test_paddr_hairy_functions): Call print_addr_2_kfail for
2099         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
2100
2101 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
2102
2103         * gdb.base/break.exp: Fix change of default location, because of
2104         removal of until tests.
2105         * gdb.base/help.exp: Update test for new 'until' help message.
2106         Add test for help on 'advance'.
2107         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2108
2109 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
2110
2111         * gdb.base/default.exp: Adapt "info float" test for recent changes
2112         to that command.  Add test for "info vector".
2113         * gdb.base/float.exp: New file.  Add test for "info float" that
2114         resembles the old test in gdb.base/default.exp.
2115
2116 2003-01-15  David Carlton  <carlton@math.stanford.edu>
2117
2118         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2119
2120 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
2121
2122         * gdb.base/break.exp: Move the tests of until command from here...
2123         * gdb.base/until.exp: ... to here. New file. Add other tests.
2124         * gdb.base/advance.c: New file.
2125         * gdb.base/advance.exp: New file.
2126
2127 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
2128
2129         * gdb.base/args.c: New file.
2130         * gdb.base/args.exp: New file.
2131
2132 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
2133
2134         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2135
2136 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
2137
2138         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2139
2140 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
2141
2142         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
2143         dates.
2144
2145 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
2146
2147         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2148
2149 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
2150
2151         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2152         (ptype &*"foo").
2153         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2154
2155 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
2156
2157         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2158         * gdb.mi/mi1-console.exp: Likewise.
2159
2160 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
2161
2162         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2163         * gdb.mi/mi1-console.exp: Likewise.
2164
2165 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
2166
2167         * gdb.c++/overload.exp: Remove some fixed XFAILs.
2168
2169 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
2170
2171         * gdb.base/detach.exp: New test.
2172
2173 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
2174
2175         * Makefile.in (ALL_SUBDIRS): New variable.
2176         (subdirs, clean, distclean): Use it.
2177         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
2178         regenerating Makefile, since it is generated from the top level.
2179         * gdb.asm/Makefile.in: Likewise.
2180         * gdb.base/Makefile.in: Likewise.
2181         * gdb.c++/Makefile.in: Likewise.
2182         * gdb.disasm/Makefile.in: Likewise.
2183         * gdb.java/Makefile.in: Likewise.
2184         * gdb.mi/Makefile.in: Likewise.
2185         * gdb.threads/Makefile.in: Likewise.
2186         * gdb.trace/Makefile.in: Likewise.
2187
2188 2003-01-09  David Carlton  <carlton@math.stanford.edu>
2189
2190         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2191         Add copyright year 2003.
2192
2193 2003-01-06  Michael Chastain  <mec@shout.net>
2194
2195         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2196         When selecting a thread, 'line' and 'file' are optional.
2197         * gdb.mi/mi1-pthreads.exp: Likewise.
2198
2199 2003-01-06  Andreas Schwab  <schwab@suse.de>
2200
2201         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2202         failures.
2203
2204 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
2205
2206         Fix PR gdb/844
2207         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2208         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2209
2210         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
2211         instead of calling gdb_suppress_entire_file.
2212         * gdb.threads/print-threads.exp: Likewise.
2213         * gdb.threads/schedlock.exp: Likewise.
2214
2215         * gdb.threads/killed.exp: Return instead of calling
2216         gdb_suppress_entire_file.
2217         * gdb.threads/linux-dp.exp: Likewise.
2218         * gdb.threads/pthreads.exp: Likewise.
2219
2220 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
2221
2222         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2223         stabs.
2224         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2225         * gdb.base/whatis.exp: Always allow (void) after function names.
2226
2227 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
2228
2229         * gdb.c++/casts.exp: Correct regexp.
2230
2231 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
2232
2233         * configure.in: Call AC_CONFIG_HEADER.  Don't call
2234         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2235         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
2236         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
2237         aforementioned directories in the AC_OUPUT call.
2238         * config.hin: New file.
2239         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2240         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2241         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2242         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2243         pass -I$objdir instead of -I$objdir/$subdir in compilation.
2244         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2245         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2246         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2247         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2248         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2249         gdb.threads/configure.in, gdb.threads/configure,
2250         gdb.threads/config.in, gdb.trace/configure.in,
2251         gdb.trace/configure: Removed.
2252
2253 2003-01-03  Michael Chastain  <mec@shout.net>
2254
2255         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2256         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2257
2258 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
2259
2260         * gdb.base/store.exp: Fix regular expressions.
2261
2262 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
2263
2264         * configure.in: Rewrite.
2265         * configure: Regenerated.
2266
2267 2003-01-03  David Carlton  <carlton@math.stanford.edu>
2268
2269         * gdb.base/psymtab.exp: New file.
2270         * gdb.base/psymtab1.c: Ditto.
2271         * gdb.base/psymtab2.c: Ditto.
2272
2273 2002-12-23  Adam Fedor  <fedor@gnu.org>
2274
2275         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2276
2277 2002-12-23  David Carlton  <carlton@math.stanford.edu>
2278
2279         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2280         and current_directory initialization.
2281
2282 2002-12-22  Jim Blandy  <jimb@redhat.com>
2283
2284         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2285         rather than as part of the output file name.
2286
2287         * gdb.base/attach.exp: There's no need to copy the test program to
2288         /tmp; that was only ever necessary on HP/UX, and this test is
2289         entirely disabled there anyway.
2290
2291 2002-12-21  Jim Blandy  <jimb@redhat.com>
2292
2293         * gdb.c++/psmang.exp: Doc fix.
2294
2295         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2296         test.
2297
2298 2002-12-20  David Carlton  <carlton@math.stanford.edu>
2299
2300         * gdb.c++/annota2.exp: KFAIL annotate-quit.
2301
2302 2002-12-18  Michael Chastain  <mec@shout.net>
2303
2304         * gdb.c++/annota2.exp: Add copyright year 2002.
2305
2306 2002-12-17  David Carlton  <carlton@math.stanford.edu>
2307
2308         * gdb.c++/try_catch.cc: Add marker comments.
2309         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2310         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2311         * gdb.c++/m-static.cc: Ditto.
2312         * gdb.c++/m-static1.cc: Ditto.
2313         * gdb.c++/try_catch.cc: Ditto.
2314
2315 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
2316
2317         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2318         to see whether we are using the new -environment-directory
2319         command which resets via -r or the old version of the command
2320         which may prompt the user.  Part of fix for gdb/741.
2321
2322 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
2323
2324         * gdb.fortran/types.exp: Update obsolete comment.
2325         * gdb.fortran/exprs.exp: Ditto.
2326         * lib/gdb.exp: Delete obsolete code.
2327         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2328         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2329         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2330         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2331         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2332         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2333         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2334         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2335         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2336         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2337         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2338         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2339         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2340         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2341         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2342         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2343         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2344         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2345         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2346         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2347         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2348         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2349         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2350         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2351         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2352         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2353         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2354         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2355         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2356         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2357         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2358         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2359         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2360         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2361         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2362         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2363         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2364
2365 2002-12-11  David Carlton  <carlton@math.stanford.edu>
2366
2367         * gdb.c++/m-data.exp: Add test for members that shadow global
2368         variables: see PR gdb/804.
2369         * gdb.c++/m-data.cc: Ditto.
2370
2371 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
2372
2373         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2374
2375 2002-12-06  David Carlton  <carlton@math.stanford.edu>
2376
2377         * gdb.base/store.c: Don't declare functions static.
2378
2379 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
2380
2381         * gdb.base/store.exp, gdb.base/store.c: New files.
2382
2383 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
2384
2385         * gdb.base/selftest.exp: Update for current gdb.
2386
2387 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
2388
2389         * gdb.base/maint.exp: Only dump symbols from one source file
2390         or objfile.
2391
2392 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
2393
2394         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2395         function call.
2396
2397 2002-11-25  Jim Blandy  <jimb@redhat.com>
2398
2399         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2400         function appearing in error message.
2401
2402 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
2403
2404         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2405
2406 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
2407
2408         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2409         for mi1 and current mi is in correct format.  New mi startup message
2410         should be in mi console format.  This is part of fix for PR gdb/604.
2411
2412 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
2413
2414         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2415         which explicitly prints the zero offset as "+0".
2416
2417 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
2418
2419         * gdb.threads/schedlock.c (args): Make unsigned.
2420
2421 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
2422
2423         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
2424         numbers.  Allow "foo2|selected stack frame".
2425         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2426         * gdb.asm/asmsrc2.s: Likewise.
2427         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
2428         comments.
2429         * gdb.asm/mips.inc: New file.
2430
2431 2002-10-18  Adam Fedor  <fedor@gnu.org>
2432
2433         * gdb.base/default.exp: Update expected output to include 'ObjC'.
2434         * gdb.base/help.exp: Likewise.
2435
2436 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
2437
2438         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2439         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2440
2441 2002-10-02  Jim Blandy  <jimb@redhat.com>
2442
2443         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2444
2445 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
2446
2447         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2448         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2449         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2450         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2451         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2452         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2453         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2454
2455 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
2456
2457         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2458         * mi0-disassemble.exp, mi0-eval.exp: Delete.
2459         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2460         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2461         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2462         * mi0-var-block.exp, mi0-var-child.exp: Delete.
2463         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2464
2465 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
2466
2467         * gdb.base/annota1.exp (info break): Make directory components of
2468         path optional since not all compilers emit this debug information.
2469
2470         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2471         step ends up stepping out of the function instead of stopping on
2472         the epilogue.
2473
2474 2002-09-26  Keith Seitz  <keiths@redhat.com>
2475
2476         * lib/insight-support.exp (gdbtk_start): Figure out where
2477         the insight executable is based on where gdb is. Use this
2478         executable to start insight instead of gdb.
2479
2480 2002-09-25  Andrew Cagney  <cagney@redhat.com>
2481
2482         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2483
2484 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
2485
2486         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2487         test_isolated_complaints.
2488         (test_empty_complaint): New function.
2489         (test_empty_complaints): New function.  Check no output when no
2490         complaints.
2491
2492 2002-09-19  Jim Blandy  <jimb@redhat.com>
2493
2494         * gdb.base/charset.exp, gdb.base/charset.c: New files.
2495
2496 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
2497
2498         * gdb.gdb/complaints.exp: New file.
2499
2500 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
2501
2502         * gdb.base/maint.exp: Check `help maint internal-warning'.
2503
2504 2002-09-18  David Carlton  <carlton@math.stanford.edu>
2505
2506         * gdb.c++/m-static.exp: Remove breakpoints depending on line
2507         numbers, and replace them by a single breakpoint after the
2508         constructors are all finished.
2509         Add test 4.
2510         * gdb.c++/m-static.cc: Add test 4.
2511         * gdb.c++/m-static.h: New file.
2512         * gdb.c++/m-static1.cc: New file.
2513
2514         * gdb.c++/printmethod.exp: New file.
2515         * gdb.c++/printmethod.cc: New file.
2516
2517         * gdb.c++/pr-574.exp: New file.
2518         * gdb.c++/pr-574.cc: New file.
2519
2520 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
2521
2522         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2523         embedded targets which never actually exit.
2524
2525 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
2526
2527         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2528         "don't step after run" as unresolved or unsupported, instead of xfail.
2529
2530 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
2531
2532         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2533         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2534         Add newline to expected string in "step out of main (status wrapper)"
2535         case.
2536
2537 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
2538
2539         * lib/gdb.exp (rerun_to_main): Allow restarting application.
2540         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2541
2542 2002-09-17  Tom Tromey  <tromey@redhat.com>
2543
2544         * gdb.base/printcmds.exp (test_print_string_constants): Expect
2545         \000, not \0, in double-quoted string.
2546
2547 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
2548
2549         * gdb.base/commands.exp: Don't expect a "Program exited normally"
2550         string after running the commands execution on breakpoint tests.
2551
2552 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
2553
2554         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2555
2556 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
2557
2558         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2559
2560 2002-09-10  Keith Seitz  <keiths@redhat.com>
2561
2562         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2563         runto proc.
2564         (mi_run_to_main): Use mi_runto.
2565         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2566
2567 2002-09-10  Keith Seitz  <keiths@redhat.com>
2568
2569         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2570         regexp for stopping at main. Could have multiple event notifications.
2571         Don't assume that main was declared with no parameters.
2572         (mi_next): Use mi_step_to.
2573         (mi_step): Use mi_next_to.
2574
2575 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
2576
2577         * gdb.base/default.exp: Fix expected string in `info float' test.
2578
2579 2002-09-09  Ben Elliston  <bje@redhat.com>
2580
2581         * config/mips.exp: Update comments.
2582         * config/mips-idt.exp: Likewise.
2583         * config/nind.exp: Likewise.
2584         * config/slite.exp: Likewise.
2585         * config/sparclet.exp: Likewise.
2586         * config/udi.exp: Likewise.
2587         * config/vx.exp: Likewise.
2588         * config/vxworks29k.exp: Likewise.
2589
2590 2002-09-05  Jim Blandy  <jimb@redhat.com>
2591
2592         * gdb.threads/killed.exp: Fix test failure message.
2593
2594 2002-09-04  Keith Seitz  <keiths@redhat.com>
2595
2596         * lib/mi-support.exp: Update copyright.
2597         (mi_gdb_test): Increase the priority of the expected pattern
2598         so that it matches gdb_test.
2599
2600 2002-09-03  Keith Seitz  <keiths@redhat.com>
2601
2602         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2603         Use integer comparison instead of string comparison for testing
2604         whether binary was built.
2605
2606 2002-09-03  Jim Blandy  <jimb@redhat.com>
2607
2608         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2609
2610 2002-08-29  Jim Blandy  <jimb@redhat.com>
2611
2612         * gdb.threads/pthreads.exp: Move the portable thread compilation
2613         code into a function in lib/gdb.exp, and call that from here.
2614         * lib/gdb.exp (gdb_compile_pthreads): New function.
2615
2616 2002-08-29  Keith Seitz  <keiths@redhat.com>
2617
2618         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2619         expect_out so that callers can get at it.
2620
2621 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
2622
2623         * gdb.threads/print-threads.c: New file.
2624         * gdb.threads/print-threads.exp: New file.
2625         * gdb.threads/schedlock.c: New file.
2626         * gdb.threads/schedlock.exp: New file.
2627
2628 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
2629
2630         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2631         not altivec.c.
2632
2633 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
2634
2635         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2636         targets.  The problem should be fixed now.
2637
2638 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
2639
2640         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2641         2002-07-24 change that removes final dots from error messages.
2642
2643 2002-08-13  Tom Tromey  <tromey@redhat.com>
2644
2645         * gdb.base/readline.exp: New file.
2646
2647 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
2648
2649         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2650         supress message.
2651
2652 2002-08-01  Andrew Cagney  <cagney@redhat.com>
2653
2654         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2655         CHILL_FOR_TARGET and CHILL_LIB.
2656         * configure.in (configdirs): Remove gdb.chill.
2657         * configure: Regenerate.
2658         * lib/gdb.exp: Obsolete references to chill.
2659         * gdb.fortran/types.exp: Ditto.
2660         * gdb.fortran/exprs.exp: Ditto.
2661
2662 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
2663
2664         * gdb.base/shlib-call.exp (additional_flags): Conditionally
2665         set Irix-specific compile and link flags.
2666
2667 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
2668
2669         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2670         source files.  The ``-o'' option doesn't work with the ``-E'' option
2671         when using the Irix compiler.
2672
2673 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
2674
2675         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2676         Improve support for reusing an exec file.  Copy exec file
2677         to target, and run gdbserver on the target instead of on the host.
2678
2679 2002-07-18  Jim Blandy  <jimb@redhat.com>
2680
2681         * gdb.base/ending-run.exp: Don't expect to see the program end in
2682         some orderly fashion when we're running on a real stand-alone
2683         board.
2684
2685         * gdb.base/interrupt.exp: Correct logic for skipping tests on
2686         targets that don't support interrupts.
2687
2688 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
2689
2690         * gdb.base/attach.exp: Add patterns to match output from /proc-based
2691         systems.
2692         Move comments in expect statements to inside the actions, so that they
2693         don't get matched against.
2694
2695 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
2696
2697         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2698         function when asleep" test.
2699
2700 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
2701
2702         * gdb.base/page.exp: Rewrite to handle problems with very long
2703         `info set' output.  Update copyright.
2704
2705 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
2706
2707         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2708         gdb.threads-hp.
2709         * gdb.hp/configure: Regenerate.
2710         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2711         * gdb.hp/gdb.threads-hp/configure: Delete file.
2712         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2713
2714 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
2715
2716         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2717         setlocale, bindtextdomain and textdomain.
2718
2719 2002-06-11  Jim Blandy  <jimb@redhat.com>
2720
2721         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2722         preprocessor macro information is present.
2723
2724         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2725         tests.
2726
2727 2002-06-06  Michael Snyder  <msnyder@redhat.com>
2728
2729         * gdb.base/overlays.exp: Record addresses of overlay
2730         functions in TCL variables rather than in GDB variables,
2731         to avoid having GDB convert them to pointers (with loss
2732         of information).
2733
2734         * gdb.base/d10v.ld: Merge in several years worth of
2735         default linker script changes.
2736         * gdb.base/long_long.exp: Add check for sizeof (long double).
2737
2738 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
2739
2740         * gdb.asm/asm-source.exp: Add x86-64 target.
2741         * gdb.asm/x86_64.inc: New.
2742
2743 2002-05-30  Michael Chastain  <mec@shout.net>
2744
2745         From Benjamin Kosnik <bkoz@redhat.com>:
2746         * gdb.c++/m-static.cc: New file.
2747         * gdb.c++/m-static.exp: New file.
2748
2749 2002-05-28  Michael Snyder  <msnyder@redhat.com>
2750
2751         * gdb.base/call-ar-st.exp: Allow for reduced floating point
2752         precision.
2753
2754 2002-05-27  Michael Chastain  <mec@shout.net>
2755
2756         From Benjamin Kosnik <bkoz@redhat.com>:
2757         * gdb.c++/m-data.cc: New file.
2758         * gdb.c++/m-data.exp: New file.
2759
2760 2002-05-27  Michael Chastain  <mec@shout.net>
2761
2762         From Benjamin Kosnik <bkoz@redhat.com>:
2763         * gdb.c++/try_catch.cc: New file.
2764         * gdb.c++/try_catch.exp: New file.
2765
2766 2002-05-27  Michael Chastain  <mec@shout.net>
2767
2768         * gdb.c++/local.exp: Accept more nested types in output.
2769
2770 2002-05-26  Michael Chastain  <mec@shout.net>
2771
2772         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2773
2774 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
2775
2776         * lib/gdb.exp (gdb_wrapper_init): Just because
2777         gdb_wrapper_file exists, this does not mean that the file
2778         should not be rebuilt.  That is what gdb_wrapper_initialized
2779         is for.
2780         (default_gdb_init): Reset gdb_wrapper_initialized.
2781
2782 2002-05-23  Michael Snyder  <msnyder@redhat.com>
2783
2784         * gdb.base/all-bin.exp: Revise previous patch by just reducing
2785         the precision of the floating point test results.
2786         * gdb.base/call-rt-st.exp: Ditto.
2787
2788         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2789         * gdb.base/call-rt-st.exp: Ditto.
2790
2791 2002-05-19  Michael Chastain  <mec@shout.net>
2792
2793         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2794
2795 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
2796
2797         * configure.in (configdirs): Add gdb.arch.
2798         * configure: Regenerate.
2799
2800 2002-05-17  Jim Blandy  <jimb@redhat.com>
2801
2802         * gdb.base/completion.exp: Recognize the more detailed error
2803         messages produced by the macro expander's lexical analyzer.
2804
2805 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
2806
2807         * gdb.arch/altivec-abi.c: New file.
2808         * gdb.arch/altivec-abi.exp: New file.
2809         * gdb.arch/altivec-regs.c: New file.
2810         * gdb.arch/altivec-regs.exp: New file.
2811
2812 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
2813
2814         * gdb.base/maint.exp (maint print type): Update for new type
2815         structure.
2816
2817 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
2818
2819         * gdb.arch: New directory.
2820         * gdb.arch/configure.in: New file.
2821         * gdb.arch/configure: New file.
2822         * gdb.arch/Makefile.in: New file.
2823
2824 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
2825
2826         * gdb.asm/asm-source.exp: Add v850 as supported target.
2827         * gdb.asm/v850.inc: New file.
2828
2829 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
2830
2831         * gdb.c++/annota2.exp (annotate-quit): Add comment.
2832
2833 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
2834
2835         * gdb.base/break.exp: Check 'break "marker2"'.
2836
2837 2002-05-10  Michael Snyder  <msnyder@redhat.com>
2838
2839         * gdb.base/long_long.exp: Fix typo.
2840
2841 2002-05-10  Jim Blandy  <jimb@redhat.com>
2842
2843         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
2844         a bug.
2845
2846         * gdb.base/printcmds.exp (test_integer_literals_rejected):
2847         Recognize more detailed error message produced by the macro
2848         expander's lexical analyzer.
2849         * lib/gdb.exp (test_print_reject): Same.
2850
2851 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
2852
2853         * gdb.c++/method.exp: Fix typo.
2854
2855 2002-05-08  Michael Snyder  <msnyder@redhat.com>
2856
2857         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2858         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2859         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2860         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2861         Add iftarget clause for strongarm.
2862
2863 2002-05-06  Michael Snyder  <msnyder@redhat.com>
2864
2865         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2866         (gdb_continue_to_end): Accept output from status wrapper.
2867         * gdb.base/ending-run.exp: Add case for output from status wrapper.
2868         Clean up fail messages to match pass messages.
2869
2870         Enable the "needs_status_wrapper" testsuite feature.
2871         * lib/gdb.exp (gdb_wrapper_init): New procedure.
2872         (gdb_compile): Conditionally call gdb_wrapper_init.
2873         * gdb.base/a2-run.exp: Recognize output from status wrapper.
2874         * gdb.c++/method.exp: Recognize output from status wrapper.
2875
2876 2002-05-06  Ben Elliston  <bje@redhat.com>
2877 From Graydon Hoare  <graydon@redhat.com>
2878
2879         * config/sid.exp: Include support for "rawsid" protocol.
2880
2881 2002-05-03  Jim Blandy  <jimb@redhat.com>
2882
2883         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2884         * gdb.c++/hang3.C: New file.
2885
2886 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
2887
2888         * gdb.base/default.exp: Remove obsolete code.
2889         * gdb.c++/misc.exp: Ditto.  Update copyright.
2890         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
2891         * gdb.base/whatis.exp: Ditto.  Update copyright.
2892         * gdb.base/scope.exp: Ditto.  Update copyright.
2893         * gdb.base/ptype.exp: Ditto.  Update copyright.
2894         * gdb.base/printcmds.exp: Ditto.  Update copyright.
2895         * gdb.base/opaque.exp: Ditto.  Update copyright.
2896         * gdb.base/list.exp: Ditto.
2897         * gdb.base/funcargs.exp: Ditto.  Update copyright.
2898         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2899         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2900         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2901         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2902         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2903         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2904
2905 2002-05-02  Michael Snyder  <msnyder@redhat.com>
2906
2907         * gdb.base/watchpoint.exp: Add xscale target.
2908         * gdb.base/long_long.exp: Add xscale target.
2909         * gdb.base/default.exp: Add xscale target.
2910
2911 2002-05-01  Jim Blandy  <jimb@redhat.com>
2912
2913         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2914         gdb.c++/hang.exp: New test.
2915
2916 2002-05-01  Fred Fish  <fnf@redhat.com>
2917
2918         * gdb.base/completion.exp: Handle completions of "./Make" for
2919         more than one completion possibility, as is the case when we
2920         build and test in the source tree.
2921
2922 2002-04-29  Anthony Green  <green@redhat.com>
2923
2924         * gdb.java/jmisc1.exp: New file.
2925         * gdb.java/jmisc2.exp: New file.
2926
2927 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
2928
2929         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2930
2931 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
2932
2933         * gdb.base/help.exp: Change 'help status' to allow for target
2934         dependent output differences.
2935
2936 2002-04-22  Michael Chastain  <mec@shout.net>
2937
2938         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2939
2940 2002-04-22  Michael Chastain  <mec@shout.net>
2941
2942         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2943
2944 2002-04-17  David S. Miller  <davem@redhat.com>
2945
2946         * gdb.asm/sparc64.inc: New file.
2947         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2948
2949 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
2950
2951         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2952         instruction file directly into the build tree.  Clean up at end of
2953         test.
2954
2955 2002-04-18  David S. Miller  <davem@redhat.com>
2956
2957         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2958         handle 64-bit platforms correctly.
2959         * gdb.base/maint.exp: Likewise.
2960
2961 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
2962
2963         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2964         ``-fpic'' when compiling files comprising a shared library, but
2965         it does need additional linker flags in order to find shared
2966         libraries at run time.
2967
2968 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
2969
2970         * gdb.base/cvexpr.c (use): New function.
2971         (main): Invoke use() on all global variables to prevent
2972         some linkers from deleting these otherwise unused symbols.
2973
2974 2002-04-17  Michael Chastain  <mec@shout.net>
2975 From David S. Miller  <davem@redhat.com>
2976
2977         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2978         handle 64-bit platforms correctly.
2979
2980 2002-04-12  Michael Snyder  <msnyder@redhat.com>
2981 From Jim Blandy  <jimb@redhat.com>
2982         * gdb.base/foo.c (foox): Remove section attribute; the linker
2983         script can handle this instead.
2984         * gdb.base/bar.c (barx): Same.
2985         * gdb.base/baz.c (bazx): Same.
2986         * gdb.base/grbx.c (grbxx): Same.
2987
2988         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2989         manager doesn't automatically unmap overlays unnecessarily.
2990
2991 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
2992
2993         * gdb.base/ending-run.exp: Fix pattern for Mips targets
2994         stepping out of main.
2995
2996 2002-04-09  Michael Chastain  <mec@shout.net>
2997
2998         * gdb.c++/local.cc (main): Move call to marker1() inside nested
2999         scope so that the nested scope tests will make sense.
3000         * gdb.c++/local.exp: Write patterns that actually work with gcc
3001         (the HP patterns "were never known to work with gcc").
3002         Keep the old aCC patterns too.
3003
3004 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
3005
3006         * gdb.base/attach.exp: Correct target board test.
3007
3008 2002-04-08  Michael Chastain  <mec@shout.net>
3009
3010         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3011         in a const method.  Add some xfail and fail cases for configurations
3012         that do not emit the "const ...".
3013
3014 2002-04-07  Michael Chastain  <mec@shout.net>
3015
3016         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3017         Accept "A * const" and "const A * const" as type of "this".
3018         Fix spelling of getFunky throughout.  Make messages uniform.
3019
3020 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
3021
3022         Work around for PR gdb/285:
3023         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3024
3025 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
3026
3027         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3028         instructions file at run time instead of configure time.
3029         Sometimes we run the test in a directory that is not the one we
3030         configured in.
3031         * gdb.asm/configure.in: Delete creation of symlink.
3032         * gdb.asm/configure: Regenerate.
3033
3034 2002-04-05  J. Brobecker  <brobecker@gnat.com>
3035
3036         * gdb.gdb/xfullpath.exp: New test, to exercise the new
3037         xfullpath () function.
3038
3039 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
3040
3041         * gdb.asm/Makefile.in: Correct dependencies.
3042
3043         * gdb.asm/powerpc.inc: New file.
3044         * gdb.asm/asm-source.exp: Add PowerPC.
3045         * gdb.asm/configure.in: Likewise.
3046         * gdb.asm/configure: Regenerated.
3047
3048 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
3049
3050         * gdb.base/relocate.exp: New file.
3051         * gdb.base/relocate.c: New file.
3052
3053 2002-04-04  Fred Fish  <fnf@redhat.com>
3054
3055         * gdb.base/step-test.exp: Update comment regarding stopping in
3056         memcpy/bcopy calls inserted as part of the compiler runtime.
3057
3058 2002-04-04  Michael Snyder  <msnyder@redhat.com>
3059
3060         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3061
3062 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
3063
3064         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3065         (gdb_expect): Remove $notransfer hack.
3066
3067 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
3068
3069         * gdb.c++/classes.exp ("calling method for small class"): Match
3070         updated register output.
3071
3072 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
3073
3074         Fix PR gdb/452
3075         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3076         when finished.  Make gdb_file_cmd send "exec-file" when
3077         appropriate.
3078
3079 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
3080
3081         * gdb.base/attach.exp: Remove extra setup_xfail.
3082
3083 2002-03-26  Michael Snyder  <msnyder@redhat.com>
3084
3085         * gdb.base/default.exp: Add tests for dump, append, and restore.
3086         * gdb.base/help.exp: Add tests for dump, append, and restore.
3087         * gdb.base/dump.exp: New file, test dump, append and restore.
3088         * gdb.base/dump.c: New file.
3089
3090 2002-03-27  Michael Snyder  <msnyder@redhat.com>
3091
3092         * gdb.base/help.exp: Modify expect strings to reflect
3093         clean-ups in help messages.
3094
3095 2002-03-26  Fred Fish  <fnf@redhat.com>
3096
3097         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3098         have debugging info for those functions and the compiler uses them
3099         internally to copy structs around.
3100
3101 2002-03-26  Fred Fish  <fnf@redhat.com>
3102
3103         * gdb.base/list.exp: Revert the change made yesterday and add note
3104         about why we don't list the default lines for remote targets.
3105
3106 2002-03-25  Michael Snyder  <msnyder@redhat.com>
3107
3108         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3109
3110 2002-03-25  Fred Fish  <fnf@redhat.com>
3111
3112         * gdb.base/list.exp: This test works on remote targets so remove
3113         the short circuit for remote targets.  Update copyright.
3114
3115 2002-03-25  Fred Fish  <fnf@redhat.com>
3116
3117         * gdb.base/attach.exp: Fix logic error that was suppressing this
3118         test for all non hppa*-*-hpux* targets, instead of the hp target.
3119         Move comments closer to the suppression point.  Also now need to
3120         check that we are running natively.
3121
3122 2002-03-22  Michael Snyder  <msnyder@redhat.com>
3123
3124         * gdb.base/default.exp: Add test for gcore.  Update copyright.
3125         * gdb.base/help.exp: Add test for gcore.  Update copyright.
3126
3127 2002-03-06  Fred Fish  <fnf@redhat.com>
3128
3129         * gdb.base/funcargs.c:  Remove extraneous ';' character.
3130         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3131
3132 2002-03-04  Michael Chastain  <mec@shout.net>
3133
3134         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3135         accommodate gcc v3 function signature.
3136         * gdb.mi/mi0-var-cmd-exp: Ditto.
3137
3138 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
3139
3140         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3141         ``GNU/Linux'' or ``Linux kernel''
3142         * testsuite/gdb.threads/pthreads.c: Ditto.
3143
3144 2002-02-24  Michael Chastain  <mec@shout.net>
3145
3146         * gdb.threads/pthreads.c (thread1): Add a return statement.
3147         (thread2): Likewise.
3148         (foo): Likewise.
3149
3150 2002-02-23  Michael Chastain  <mec@shout.net>
3151
3152         * gdb.threads/linux-dp.c (philosopher): Add a return statement
3153         to placate gcc.
3154
3155 2002-02-23  Michael Chastain  <mec@shout.net>
3156
3157         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3158         test "ptype bint".  The test passes on all my stabs configurations.
3159
3160 2002-02-21  Jim Blandy  <jimb@redhat.com>
3161
3162         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3163         filename at a time, and watch for the ones we want to see.
3164
3165         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3166         types of pointers to prototyped functions.
3167
3168 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
3169
3170         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
3171         signed, unsigned and straight char.
3172         (padding_char, padding_short, padding_int, padding_long,
3173         padding_long_long, padding_float, padding_double,
3174         padding_long_double): New global variables.
3175         (fill, fill_structs): New functions.
3176
3177         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
3178         for correctly sized writes.  Update copyright.
3179         (get_valueof): New procedure.
3180         (get_sizeof): Call get_valueof.
3181         (check_valueof): New procedure.
3182         (check_padding): New procedure.
3183
3184 2002-02-20  Michael Chastain  <mec@shout.net>
3185
3186         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3187         to setup_xfail.  Document some of the remaining calls.
3188
3189 2002-02-18  Michael Chastain  <mec@shout.net>
3190
3191         * gdb.c++/userdef.exp: Update copyright year.
3192
3193 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
3194
3195         * gdb.c++/userdef.exp: Test overloaded operators properly.
3196         Remove xfails.
3197
3198 2002-02-14  Michael Snyder  <msnyder@redhat.com>
3199
3200         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3201
3202 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
3203
3204         * gdb.base/a2-run.exp: Check for a remote target properly.
3205         * gdb.base/annota1.exp: Likewise.
3206         * gdb.base/list.exp: Likewise.
3207         * gdb.base/reread.exp: Likewise.
3208         * gdb.base/scope.exp: Likewise.
3209         * gdb.base/shlib-call.exp: Likewise.
3210         * gdb.base/term.exp: Likewise.
3211         * gdb.c++/annota2.exp: Likewise.
3212
3213 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
3214
3215         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3216
3217 2002-02-10  Michael Chastain  <mec@shout.net>
3218
3219         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3220         (call_after_alloca): Ditto.
3221
3222 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
3223
3224         * gdb.base/ending-run.exp: Guard "cont" test with
3225         gdb_skip_stdio_test.
3226
3227 2002-02-06  Jim Blandy  <jimb@redhat.com>
3228
3229         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3230         from here...
3231         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3232         To here.  Disable this test on non-HP platforms.  Add big comment.
3233
3234 2002-02-04  Michael Snyder  <msnyder@redhat.com>
3235
3236         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
3237           other than d10v and m32r.
3238
3239 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
3240
3241         * gdb.base/default.exp: Rewrite test patterns to reduce time
3242         taken to match them.
3243
3244 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
3245
3246         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3247         Allow a start function above main.
3248         * gdb.threads/linux-dp.exp: Fix copyright date.
3249
3250 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
3251
3252         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3253         (check_philosopher_stack): Check for manager thread before checking
3254         for a just-starting thread.
3255
3256 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
3257
3258         From Neil Booth <neil@daikokuya.demon.co.uk>:
3259         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3260         warnings.
3261
3262 2002-01-21  Fred Fish  <fnf@redhat.com>
3263
3264         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3265         not caller.
3266
3267 2002-01-21  Jim Blandy  <jimb@redhat.com>
3268
3269         * gdb.base/reread.exp: Check that GDB properly re-reads the
3270         executable file when it changes while no inferior is running.
3271
3272 2002-01-21  Fred Fish  <fnf@redhat.com>
3273
3274         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3275         optionally accept the "shlib events" variation.
3276
3277 2002-01-21  Jim Blandy  <jimb@redhat.com>
3278
3279         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3280         call `fflush' after every `printf', so that the output is produced
3281         at predictable points, regardless of whatever buffering does (or
3282         doesn't) take place.
3283         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3284         at different points.
3285
3286 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
3287
3288         * gdb.c++/inherit.exp: Update copyright years.
3289         * gdb.c++/method.exp: Likewise.
3290
3291 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
3292
3293         * gdb.c++/classes.exp: Update for improved v3 support and skipping
3294         artificial methods/arguments.
3295         * gdb.c++/derivation.exp: Likewise.
3296         * gdb.c++/inherit.exp: Likewise.
3297         * gdb.c++/method.exp: Likewise.
3298         * gdb.c++/virtfunc.exp: Likewise.
3299
3300 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
3301
3302         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3303         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3304         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3305         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3306         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3307         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3308
3309 2002-01-17  Jim Blandy  <jimb@redhat.com>
3310
3311         * gdb.asm/asm-source.exp (info symbol): Take another shot at
3312         anchoring the pattern matching the entry point symbol's name.
3313
3314 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
3315
3316         * gdb.base/maint.exp: Update ``maint internal-error'' to match
3317         continue/quit query.  Update copyright.
3318
3319 2002-01-14  Michael Snyder  <msnyder@redhat.com>
3320
3321         * gdb.base/gcore.exp: Remove extra debugging output.
3322
3323 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
3324
3325         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3326         for slightly dubious v2 mangled string.
3327
3328 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
3329
3330         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3331
3332 2002-01-10  Jason Merrill  <jason@redhat.com>
3333
3334         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
3335
3336         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3337         constructors.
3338         * gdb.c++/derivation.exp: Likewise.
3339         * gdb.c++/templates.exp: Likewise.
3340         * gdb.c++/virtfunc.exp: Likewise.
3341
3342 2002-01-10  Michael Snyder  <msnyder@redhat.com>
3343
3344         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
3345
3346 2002-01-08  Michael Snyder  <msnyder@redhat.com>
3347
3348         * gdb.base/gcore.exp: New test for generate-core-file command.
3349         * gdb.base/gcore.c: Testcase for above.
3350         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3351
3352 2002-01-08  Jason Merrill  <jason@redhat.com>
3353
3354         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3355
3356 2002-01-07  Fred Fish  <fnf@redhat.com>
3357
3358         * gdb.c++/overload.exp: Remove unconditional xfails for:
3359         print foo_instance1.overloadargs(1)
3360         print foo_instance1.overloadargs(1, 2)
3361         print foo_instance1.overloadargs(1, 2, 3)
3362         print foo_instance1.overloadargs(1, 2, 3, 4)
3363         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3364         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3365         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3366         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3367         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3368         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3369         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3370         print foo_instance1.overload1arg()
3371         print foo_instance1.overload1arg((char)arg2)
3372         print foo_instance1.overload1arg((signed char)arg3)
3373         print foo_instance1.overload1arg((unsigned char)arg4)
3374         print foo_instance1.overload1arg((int)arg7)
3375         print foo_instance1.overload1arg((unsigned int)arg8)
3376         print foo_instance1.overload1arg((float)arg11)
3377         print foo_instance1.overload1arg((double)arg12)
3378
3379 2002-01-07  Michael Snyder  <msnyder@redhat.com>
3380
3381         * gdb.base/huge.exp: New test.  Print a very large target data object.
3382         (skip_huge_test): New test variable.  Define if you want to skip this
3383         test.  The test reads an 8 megabyte data object from the target, so it
3384         might be very time consuming on remote targets with a slow connection.
3385         * gdb.base/huge.c: New file.  Test case for above.
3386
3387 2002-01-07  Fred Fish  <fnf@redhat.com>
3388
3389         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3390         g_instance.bfoo, and g_instance.cfoo.
3391
3392 Mon Jan  7 12:22:18 2002  Jeffrey A Law  (law@redhat.com)
3393
3394         * gdb.base/break.c (multi_line_if_conditional): New function.
3395         (multi_ilne_while_conditional): Likewise.
3396         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3397         IF or WHILE condition puts the breakpoint at the start of
3398         the condition.
3399
3400         * gdb.base/selftest.exp (backtrace through signal handler): Remove
3401         hppa*-*-hpux* expected failure.
3402         * gdb.base/structs.exp (do_function_calls): Similarly.
3403
3404         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3405         watchpoints.
3406
3407 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
3408
3409         Fix PR gdb/66.
3410         * gdb.base/structs.exp: Replace skip for a29k with skip for
3411         gdb,cannot_call_functions.
3412         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3413         * gdb.base/callfuncs.exp: Ditto.
3414         * gdb.base/call-rt-st.exp: Ditto.
3415         * gdb.base/call-strs.exp: Ditto.
3416         * gdb.base/callfwmall.exp: Ditto.
3417         * gdb.base/scope.exp: Obsolete xfail a29k.
3418         * gdb.c++/misc.exp: Ditto.
3419         * gdb.c++/cplusfuncs.exp: Ditto.
3420         * gdb.base/ptype.exp: Ditto.
3421         * gdb.base/printcmds.exp: Ditto.
3422         * gdb.base/opaque.exp: Ditto.
3423         * gdb.base/list.exp: Ditto.
3424         * gdb.base/funcargs.exp: Ditto.
3425         * gdb.base/default.exp: Ditto.
3426
3427 2002-01-04  Michael Snyder  <msnyder@redhat.com>
3428
3429         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
3430         * gdb.base/maint.exp: Add tests for maint info sections options.
3431
3432 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
3433
3434         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3435
3436 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
3437
3438         * gdb.asm/arm.inc: New file.
3439         * gdb.asm/asm-source.exp: Add arm targets.
3440         * gdb.asm/configure.in: Ditto.
3441         * gdb.asm/configure: Recreated from configure.in.
3442
3443 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
3444
3445         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3446         with HP's compiler.
3447         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3448         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3449         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3450         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3451
3452         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3453         either HP's compilers or GCC.
3454
3455         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3456         a SIGBUS or SIGSEGV.
3457
3458         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3459
3460         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3461         can be compiled with either HP's compiler or GCC.
3462
3463         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3464         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3465         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3466
3467         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3468         to match current gdb output.  Update due to using auto-solib-limit
3469         for limiting instead of overloading auto-solib-add.
3470         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3471         test program.
3472
3473         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
3474         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3475         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3476         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3477         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3478         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3479         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3480         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3481         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3482         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3483         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3484         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3485         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3486
3487         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3488         a SIGTRAP to the inferior.
3489
3490 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
3491
3492         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3493         Substitute call to target_link by call to gdb_compile.
3494
3495 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
3496
3497         * gdb.base/break.exp: Fix HP specific search string when testing
3498         backtracing in a called function.
3499
3500         * gdb.base/constvars.exp: Only set lang to C++ if we're
3501         compiling the test with HP's compilers.
3502         * gdb.base/volatile.exp: Similarly.
3503
3504 2001-12-19  Jim Blandy  <jimb@redhat.com>
3505
3506         * gdb.base/printcmds.exp: Expect the null character to be printed
3507         as '\0', and the '\013' to be printed as '\v'.
3508         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3509         * gdb.base/setvar.exp: Same.
3510
3511 2001-12-17  Jim Blandy  <jimb@redhat.com>
3512
3513         * gdb.base/completion.exp: Rather than completing very long
3514         filenames, which can make the readline library produce output we
3515         don't recognize, cd to the directory first, and then complete
3516         using nice, short relative paths.
3517
3518         * gdb.base/completion.exp: On some systems, there is, in fact, a
3519         variable named `b' in scope, since GDB treats all static
3520         variables as being in scope.  So use `no_var_named_this'
3521         instead of `b'.
3522
3523         * gdb.base/corefile.exp: Recognize the message saying that GDB
3524         can't find the core file's registers as a failure.
3525
3526 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
3527
3528         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3529         test expect string more specific.
3530
3531 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
3532
3533         * gdb.asm/asm-source.exp: Add support for xstormy16.
3534         * gdb.asm/configure.in: Ditto.
3535         * gdb.asm/configure: Rebuild.
3536         * gdb.asm/xstormy16.inc: New file.
3537
3538 2001-12-10  Fred Fish  <fnf@redhat.com>
3539
3540         * gdb.base/maint.exp: Update to match changes in type dumping code.
3541
3542 2001-12-10  Jim Blandy  <jimb@redhat.com>
3543
3544         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3545         matching the entry point symbol's name at the beginning of the
3546         line.
3547
3548 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
3549
3550         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3551         gdb.c++/inherit.exp, gdb.c++/method.exp,
3552         gdb.c++/namespace.exp, gdb.c++/templates.exp,
3553         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3554         and class layout support.
3555
3556 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
3557
3558         * gdb.c++/classes.exp: Add test for static member function.
3559         * gdb.c++/misc.cc: Add class with static member function.
3560
3561 2001-12-07  Jim Blandy  <jimb@redhat.com>
3562
3563         If GDB says it can't find the struct the function returned, report
3564         those tests as `unsupported'.
3565         * gdb.base/call-rt-st.exp (print_struct_call): New function.
3566         Rewrite subsequent tests to use it.
3567
3568         If GDB says it can't find the struct the function returned, report
3569         those tests as `unsupported'.
3570         * gdb.base/structs.exp (call_struct_func): New function.
3571         (do_function_calls): Use call_struct_func to call the functions
3572         returning structs.
3573
3574         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3575         whether functions are prototyped or not, so we can't possibly pass
3576         arguments to t_float_values2 properly.
3577
3578         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3579         value of `timeout' for targets other than the mips*tx39-*.
3580
3581 2001-12-06  Michael Snyder  <msnyder@redhat.com>
3582
3583         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3584         and detect whether the start symbol has a leading underscore.
3585
3586 2001-12-04  Jim Blandy  <jimb@redhat.com>
3587
3588         * gdb.base/completion.exp: Clarify indentation.
3589
3590 2001-12-03  Jim Blandy  <jimb@redhat.com>
3591
3592         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3593         variables on the S/390, not `.word'.
3594
3595 2001-11-30  Jim Blandy  <jimb@redhat.com>
3596
3597         Add assembly-source tests for s390-ibm-linux.
3598         * gdb.asm/s390.inc: New file.
3599         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3600         the S/390 architecture.
3601         * gdb.asm/configure: Regenerated.
3602
3603 2001-11-30  Michael Snyder  <msnyder@redhat.com>
3604
3605         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3606         next, info source, info sources, info line, global and static
3607         variables, and static functions.
3608         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3609         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3610         * gdb.asm/asmsrc1.s: Add a static function and some variables.
3611         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3612         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3613         (gdbasm_leave): Restore frame pointer.
3614         (gdbasm_startup): Copy stack set-up from crt0.S.
3615
3616 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
3617
3618         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
3619         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3620         to a local (non-static) variable. Copy tstruct.a to a static buffer
3621         and return a pointer to that buffer.
3622         * gdb.base/callfwmall.c (t_structs_a): Ditto.
3623
3624 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
3625
3626         * gdb.asm/configure.in: Fix recognition of ix86 target.
3627         * gdb.asm/configure: Regenerate.
3628
3629 2001-11-21  Michael Snyder  <msnyder@redhat.com>
3630
3631         * gdb.asm/sparc.inc: New file.
3632         * gdb.asm/asm-source.exp: Recognize sparc target.
3633         * gdb.asm/configure.in: Recognize sparc target.
3634         * gdb.asm/configure: Regenerate.
3635
3636 2001-11-21  Michael Snyder  <msnyder@redhat.com>
3637
3638         * gdb.asm/m32r.inc: New file.
3639         * gdb.asm/asm-source.exp: Recognize m32r target.
3640         * gdb.asm/configure.in: Recognize m32r target.
3641         * gdb.asm/configure: Regenerate.
3642
3643 2001-11-20  Michael Snyder  <msnyder@redhat.com>
3644
3645         * gdb.asm/i386.inc: New file.
3646         * gdb.asm/asm-source.exp: Recognize ix86 target.
3647         * gdb.asm/configure.in: Recognize ix86 target.
3648         * gdb.asm/configure: Regenerate.
3649
3650         * gdb.c++/namespace.exp: Fix quotes in output messages.
3651
3652 2001-11-14  Michael Snyder  <msnyder@redhat.com>
3653
3654         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
3655         qualifier in a type cast expression, to designate an address
3656         in the instruction space (Harvard architecture).
3657
3658 2001-11-13  Michael Snyder  <msnyder@redhat.com>
3659
3660         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3661         Tests for expressions using 'const' and 'volatile'.
3662
3663 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
3664
3665         * gdb.asm/asm-sources.exp: Allow defining linker flags.
3666
3667 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
3668
3669         * lib/mi-support.exp (mi_run_to_helper): Move comments
3670         outside of gdb_expect.
3671
3672 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
3673
3674         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3675         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3676         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3677         mi0_run_to): New functions.
3678         * gdb.mi/mi-simplerun.exp: Use them.
3679         * gdb.mi/mi0-simplerun.exp: Likewise.
3680         * gdb.mi/mi-var-cmd.exp: Likewise.
3681         * gdb.mi/mi0-var-cmd.exp: Likewise.
3682
3683 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
3684
3685         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3686         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3687
3688 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
3689
3690         * gdb.base/restore.exp: Include $expected value in restored test
3691         message.
3692
3693 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
3694
3695         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3696         implemented.
3697
3698 2001-11-08  Michael Snyder  <msnyder@redhat.com>
3699
3700         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3701         Add pass/fail message for stop at breakpoint in call dummy function.
3702
3703 2001-11-07  Michael Snyder  <msnyder@redhat.com>
3704
3705         * gdb.c++/templates.exp (test_template_breakpoints):
3706         If we get an overload menu, but it does not match what
3707         we expect, we still need to issue the "cancel" command.
3708         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3709         making the whitespace optional.  Argument for "new" may be
3710         "unsigned" as well as "unsigned int/long".
3711         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3712         making the whitespace optional.  Also replace "(void) with
3713         "((void|)), making the keyword "void" optional.
3714         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3715         making the whitespace optional.  Also replace "(void) with
3716         "((void|)), making the keyword "void" optional.
3717         * gdb.base/callfuncs.c (t_float_values): This function must
3718         _not_ be prototyped, and the following function (t_float_values2)
3719         must be prototyped (if the compiler supports it), so that GDB
3720         can be tested against both cases.  Usually one case involves
3721         promotion of float to double, while the other does not.
3722         * gdb.base/callfwmall.c: Ditto.
3723         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3724         includes a stack frame for "start".
3725
3726 2001-11-05  Jim Blandy  <jimb@redhat.com>
3727
3728         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
3729         pointers are 32 bits long, and that offsets of relocs are always
3730         stored in the data (REL-style), and not in the reloc entry itself
3731         (RELA-style).
3732         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3733         stabs.
3734
3735 2001-11-01  Michael Snyder  <msnyder@redhat.com>
3736
3737         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3738         and regular expression operators by using quoting.
3739
3740 2001-10-31  Michael Snyder  <msnyder@redhat.com>
3741
3742         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3743         depending on what the symbol table contains.
3744         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3745         the output of the ptype command.  Similarly, accept both "const &"
3746         and "const&".
3747
3748 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
3749
3750         * gdb.base/miscexprs.c (main): Add usage of preprocessor
3751         symbol `STORAGE' to allow to choose the storage class of
3752         the local datastructures.
3753         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3754         compiler directive.
3755
3756 2001-10-30  Michael Snyder  <msnyder@redhat.com>
3757
3758         * gdb.base/jump.exp: Allow it to run for all targets.
3759
3760 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
3761
3762         * gdb.base/call-ar-st.c (print_double_array): Match for loop
3763         with new double_array size.
3764         (main): Change storage class of all local variables to static.
3765         Reduce size of double_array to 9.
3766         * gdb.base/call-ar-st.exp:  Increase timeout value.
3767         Change expected output for double array to match new size in
3768         call-ar-st.c.
3769
3770 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
3771
3772         * gdb.base/ending-run.exp: Create identical output when passing
3773         `step to end of run' case.  Add regular expression branch satisfying
3774         Stormy16 target.
3775
3776 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
3777
3778         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3779         that we catch the expected failure under Linux/x86.
3780
3781 2001-10-29  Orjan Friberg  <orjanf@axis.com>
3782
3783         * gdb.base/setvar.exp: Escape curly braces.
3784         * gdb.stabs/weird.exp: Ditto.
3785
3786 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
3787
3788         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3789         * gdm.mi/mi0-hack-cli.exp: Likewise.
3790
3791 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
3792
3793         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3794         messages.
3795
3796 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
3797
3798         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3799         checking MI enabled.
3800
3801 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
3802
3803         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3804
3805 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
3806
3807         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3808         if gdb child process crashes, just signal an error.
3809
3810 2001-10-02  Jim Blandy  <jimb@redhat.com>
3811
3812         * lib/gdb.exp (test_xfail_format): Simplify.
3813
3814         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3815         front of the variable name `format'.  Simplify `if'.
3816
3817 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
3818
3819         * gdb.threads/pthreads.exp: Wait for output and delay
3820         before sending ^C.
3821
3822 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
3823
3824         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
3825         some incorrect output instead of timing out.
3826         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
3827
3828 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
3829
3830         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3831         check to allow additional `int'.
3832
3833 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
3834
3835         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3836         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3837
3838 2001-09-27  Michael Snyder  <msnyder@redhat.com>
3839
3840         * lib/gdb.exp (test_debug_format): New proc.
3841         (setup_xfail_format): Use new proc test_debug_format.
3842         * gdb.base/constvars.exp (local_compiler_xfail_check): New
3843         proc; use new service proc test_debug_format.
3844         Replace all other "gcc_compiled" tests with this test.
3845         * gdb.base/volatile.exp (local_compiler_xfail_check): New
3846         proc; use new service proc test_debug_format.
3847         Replace all other "gcc_compiled" tests with this test.
3848
3849 2001-09-27  Michael Snyder  <msnyder@redhat.com>
3850
3851         * gdb.base/cvexpr.exp: New file.
3852         * gdb.base/cvexpr.c: New file
3853         Test for expressions using const and volatile keywords.
3854
3855 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
3856
3857         * gdb.base/constvars.exp: Check for different orders of keywords
3858         and additional "int" strings in output.
3859
3860 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
3861
3862         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3863         responses from "help maint".
3864
3865 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
3866
3867         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3868         to localhost:NNN instead of :NNN, in case Xvfb is listening
3869         only on TCP.
3870
3871 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
3872
3873         * gdb.base/recurse.exp: When checking leaving the watchpoint
3874         scope, recognize when gdb is in function's epilogue and pass.
3875
3876 2001-09-18  Keith Seitz  <keiths@redhat.com>
3877
3878         * lib/insight-support.exp (_gdbtk_export_target_info): Add
3879         support for running tests against sid targets.
3880         (gdbtk_done): Ditto.
3881
3882 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
3883
3884         * gdb.base/ending-run.c (main): Set stdout buffersize
3885         to the same reasonable value for any target.
3886         * gdb.base/ending-run.exp: Add a regular expression
3887         to make testsuite happy on Sanyo Stormy16 target.
3888
3889 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
3890
3891         * gdb.base/display.c (do_loops): Add float variable `f'.
3892         Increment f in loop.
3893         * gdb.base/display.exp: Increment timeout by 60 seconds.
3894         Change float display test to use variable `f'.
3895
3896 2001-09-17  Jim Blandy  <jimb@redhat.com>
3897
3898         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3899         overflowing the limited breakpoint tables on some ROM monitors
3900         (like the ROM68K).
3901
3902 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
3903
3904         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3905         the "-ac" (disable access control) flag.
3906
3907 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
3908
3909         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3910         ints.
3911
3912 2001-08-30  Keith Seitz  <keiths@redhat.com>
3913
3914         * lib/gdb.exp: Move all insight-related functionality into
3915         separate file.
3916         * lib/insight-support.exp: New file.
3917
3918 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
3919
3920         * config/sid.exp (sid_start): Never set sid verbosity; disable
3921         expect_background {} that consumed its stdout; tolerate </dev/null.
3922         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
3923
3924 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
3925
3926         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3927         CLI jump command to start it.
3928         (mi_run_to_main): Fail immediatly when unexpected output.
3929
3930 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
3931
3932         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3933         beginning of function.  Fix PR gdb/191.
3934
3935 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
3936
3937         * config/sid.exp (sid_start): Don't warn if we cannot figure out
3938         what to force sid endianness to.
3939
3940 2001-08-15  Keith Seitz  <keiths@redhat.com>
3941
3942         * lib/gdb.exp (gdbtk_start): Don't set environment
3943         variables for TCL_LIBRARY and friends. Insight will
3944         now figure these out for itself.
3945
3946 2001-08-02  Michael Snyder  <msnyder@redhat.com>
3947
3948         * gdb.base/completion.exp: Remove the symbol "a64l" from
3949         the expect string; this is target-specific, and not related
3950         to what is being tested.
3951
3952 2001-08-02  Dave Brolley  <brolley@redhat.com>
3953
3954         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3955
3956 2001-07-25  Michael Snyder  <msnyder@redhat.com>
3957
3958         * gdb.base/consecutive.exp: New file.  Test stepping over
3959         breakpoints on consecutive instructions.
3960         * gdb.base/consecutive.c: New file.
3961
3962         * gdb.base/call-rt-st.exp: Use double-backslash to quote
3963         curly braces in regular expressions.
3964
3965 2001-07-25  Michael Snyder  <msnyder@redhat.com>
3966
3967         * gdb.base/ending-run.exp: Accept "Program exited normally" as
3968         legitimate output from stepping out of main.
3969
3970 2001-07-22  Keith Seitz  <keiths@redhat.com>
3971
3972         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3973         the empty string, do not run the tests.
3974
3975 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3976
3977         * gdb.base/long_long.exp: Detect size of pointer.  Take into
3978         account 2-byte pointers when testing for p/a results.
3979
3980 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3981
3982         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3983         and defined to 1K for m68hc11.
3984         (random_data): Reduce table to 1K for embedded platforms (68hc11).
3985         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3986         (sizeof_random_data): New variable to tell the size of the data table;
3987         don't test past this size; always run to main.
3988
3989 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3990
3991         * gdb.base/return2.exp: return of long long and double fails for
3992         68HC11; don't execute these tests on that platform.
3993         * gdb.base/return.exp: Return of a double fails for 68hc11.
3994
3995 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3996
3997         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3998         tests that print a float.
3999         * call-rt-st.exp: Likewise.
4000
4001 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
4002
4003         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4004         running this test on Linux.
4005
4006 2001-06-24  Michael Chastain  <chastain@redhat.com>
4007
4008         * gdb.base/arithmet.exp: Remove some tests to make all test names
4009         unique.
4010
4011 2001-07-03  Michael Snyder  <msnyder@redhat.com>
4012
4013         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4014         the output of the ptype command.
4015
4016 2001-07-02  Michael Snyder  <msnyder@redhat.com>
4017
4018         * gdb.base/completion.exp: Don't assume that break.c is the only
4019         source file that may contain functions named "marker".
4020         * gdb.base/corefile.exp: Quote the curly braces in regexp.
4021
4022 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
4023
4024         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4025         of files to delete.
4026
4027         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4028         * gdb.disasm/h8300s.exp: New file.
4029         gdb.disasm/h8300s.s: Likewise.
4030
4031 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
4032
4033         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4034         empty breakpoint tables.
4035
4036 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
4037
4038         * lib/mi-support.exp: Update args=... part of stop-reason
4039         patterns. Accept either a list or a tuple.
4040
4041 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
4042
4043         * lib/mi-support.exp: Remove local emacs variable defining
4044         change-log-default-name.
4045
4046 2001-06-22  Michael Chastain  <chastain@redhat.com>
4047
4048         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4049         This is operationally compatible with the previous version.
4050
4051 2001-06-13  Jim Blandy  <jimb@redhat.com>
4052
4053         * lib/gdb.exp (gdb_test): Doc fix.
4054
4055 2001-06-10  Michael Chastain  <chastain@redhat.com>
4056
4057         * gdb.base/exprs.exp: Remove a duplicate test.
4058
4059 2001-06-06  Jim Blandy  <jimb@redhat.com>
4060
4061         * gdb.base/return2.exp (main): Use values to test float and double
4062         returns that are not NaN's, to avoid being confused by IEEE
4063         comparison rules.
4064
4065 2001-06-04  Michael Snyder  <msnyder@redhat.com>
4066
4067         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
4068         non-zero if control_c fails.  Terminate the test on failure,
4069         rather than wait for 12 more tests to time out.
4070
4071 2001-06-06  Jim Blandy  <jimb@redhat.com>
4072
4073         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
4074         Don't forget to match the GDB prompt.
4075
4076         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4077
4078 2001-06-04  Jim Blandy  <jimb@redhat.com>
4079
4080         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4081         command.
4082
4083 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
4084
4085         * gdb.base/annota1.exp (info break): Match four or more spaces
4086         after "Address".
4087
4088 2001-05-31  Michael Chastain  <chastain@redhat.com>
4089
4090         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4091         (dm_type_int_star): Likewise.
4092         (dm_type_long_star): Likewise.
4093         (dm_type_void_star): Likewise.
4094
4095 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
4096
4097         * gdb.base/completion.exp (INPUTRC): Set this environment variable
4098         to a known value in order to get consistent results regardless
4099         of the setting of INPUTRC or the presence or contents of .inputrc.
4100
4101 2001-05-24  Michael Snyder  <msnyder@redhat.com>
4102
4103         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4104         Don't require that the main thread and the manager thread are the
4105         first in the list.
4106
4107         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4108         debugging.  If test fails, issue an "unsupported" not a "fail".
4109
4110 2001-05-24  Jim Blandy  <jimb@redhat.com>
4111
4112         Don't assume that short is shorter than int.
4113         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4114         assume that shorts are smaller than ints.  On a 16-bit machine,
4115         this isn't true.
4116         ("print unsigned char == (~0)"): Add test that verifies that ~0,
4117         an int, is not equal to ~0 stored in an unsigned char.  This tests
4118         the same thing that the previous test meant to, but works on
4119         16-bit machines, too.
4120         ("print unsigned char != (~0)"): Same test, complemented.
4121
4122 2001-05-24  Michael Snyder  <msnyder@redhat.com>
4123
4124         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
4125         test for (full_coverage == 0).  This makes the test run faster,
4126         and prevents dejagnu getting out of step.
4127
4128 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
4129
4130         * gdb.base/finish.exp (finish_void): Revise pattern for
4131         stopping on the call statement to not permit stopping at
4132         the start of the instructions comprising the call sequence.
4133
4134 2001-05-19  Michael Chastain  <chastain@redhat.com>
4135
4136         * gdb.base/callfuncs.exp: Make all test names unique.
4137         * gdb.base/commands.exp: Make all test names unique.
4138         * gdb.base/condbreak.exp: Make all test names unique.
4139         * gdb.base/dbx.exp: Make all test names unique.
4140         * gdb.base/default.exp: Make all test names unique.
4141         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
4142         and TIMEOUT messages to their corresponding PASS message.
4143         * gdb.base/ending-run.exp: Make all test names unique.
4144         * gdb.base/long_long.exp: Remove duplicate test.
4145
4146 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
4147
4148         * gdb.base/finish.exp (finish_void): Allow "finish" command to
4149         stop on the call statement as well as the statement after the
4150         call.
4151
4152 2001-05-21  Michael Snyder  <msnyder@redhat.com>
4153
4154         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4155
4156 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
4157
4158         * gdb.base/completion.exp: Revamp test. Make it execute on all
4159         platforms.
4160
4161 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
4162
4163         * config/gdbserver.exp (gdb_load): Handle the case
4164         in which the arguments to gdbserver are given in the
4165         baseboard configuration file.
4166         Also handle the case in which the server needs to do a
4167         load.
4168
4169 2001-05-07  Keith Seitz <keiths@cygnus.com>
4170
4171         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4172         set up the display for testing.
4173         (gdbtk_start): Convert all paths to paths that tcl will like.
4174         Export target information to environment.
4175         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4176         necessary.
4177         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4178         (to_tcl_path): New proc to convert a given pathname into
4179         a path acceptible as an argument to a tcl command.
4180         (_gdbtk_export_target_info): New proc to export target info
4181         into the environment for gdbtk testing.
4182         (gdbtk_done): New proc to signal end-of-test.
4183
4184 2001-05-06  Jim Blandy  <jimb@redhat.com>
4185
4186         * restore.c: Make the code of caller0 correspond to its comment.
4187
4188 2001-05-03  Michael Snyder  <msnyder@redhat.com>
4189
4190         * config/sid.exp (gdb_target_sid): Check for error messages.
4191         On error or timeout, don't make expect exit (which will terminate
4192         all subsequent tests); instead just make gdb exit.
4193         (gdb_load): Check for error messages.  On error or timeout,
4194         return a negative value.
4195
4196 2001-04-24  Jim Blandy  <jimb@redhat.com>
4197
4198         * gdb.c++/templates.exp: If we see the prompt for the overload
4199         list, but we haven't recognized any of the longer patterns,
4200         arrange for this test to fail, not hang.
4201
4202         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4203         variations.
4204
4205 2001-04-22  Michael Chastain  <chastain@redhat.com>
4206
4207         * gdb.c++/local.exp: Use the 'runto' library function.
4208         * gdb.c++/namespace.exp: Likewise.
4209         * gdb.c++/overload.exp: Likewise.
4210
4211 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
4212
4213         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4214         * gdb.base/step-line.exp: New file.  Test step/next in presence of
4215         #line directives.
4216         * gdb.base/step-line.c: New file.  Test program for the above.
4217         * gdb.base/step-line.inp: New file.  We pretend that this file has
4218         been transformed by some other tool into step-line.c.
4219
4220 2001-03-21  Jim Blandy  <jimb@redhat.com>
4221
4222         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4223         unmangled operator names.
4224
4225 2001-03-20  Jim Blandy  <jimb@redhat.com>
4226
4227         * gdb.threads/linux-dp.exp: Recognize an additional message
4228         generated by GDB when it doesn't understand how to debug threads
4229         on the target system.
4230
4231 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
4232
4233         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4234
4235 2001-03-12  Michael Chastain  <chastain@redhat.com>
4236
4237         * gdb.c++/derivation.exp: Use the 'runto' library function.
4238
4239 2001-03-12  Michael Chastain  <chastain@redhat.com>
4240
4241         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4242
4243 2001-02-24  Michael Chastain  <chastain@redhat.com>
4244
4245         * gdb.c++/ref-types.exp: Change handwritten code to library
4246         function 'runto'.
4247
4248 2001-03-16  Orjan Friberg  <orjanf@axis.com>
4249
4250         * gdb.base/signals.exp: Set count to 0 explicitly.
4251
4252 2001-03-15  Mark Salter  <msalter@redhat.com>
4253
4254         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4255         (gdb_target_monitor): Add check of gdb_target_cmd return value.
4256         (gdb_load): Add support for additional target_info: gdb_download_size
4257         and gdb_load_timeout.
4258
4259 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
4260
4261         * gdb.base/annota1.exp: Move test of isnative to earlier in the
4262         file -- to prevent failing when the compile fails but we have no
4263         intention of running the tests anyway.
4264
4265         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4266         tests if set.
4267
4268         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4269         integers.
4270
4271         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4272         * gdb.c++/namespace.exp: Ditto.
4273
4274 2001-03-07  Orjan Friberg  <orjanf@axis.com>
4275
4276         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4277         * gdb.base/pointers.exp: Relax pattern match of decimals.
4278
4279 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
4280
4281         * Makefile.in, config/abug.exp, config/cfdbug.exp,
4282         config/cpu32bug.exp, config/dve.exp, config/est.exp,
4283         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4284         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4285         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4286         config/sh.exp, config/sid.exp, config/slite.exp,
4287         config/sparclet.exp, config/udi.exp, config/unknown.exp,
4288         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4289         config/vxworks.exp, config/vxworks29k.exp,
4290         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4291         gdb.base/all-bin.exp, gdb.base/annota1.exp,
4292         gdb.base/arithmet.exp, gdb.base/assign.exp,
4293         gdb.base/async.exp, gdb.base/attach.exp,
4294         gdb.base/bitfields.exp, gdb.base/bitops.exp,
4295         gdb.base/break.exp, gdb.base/call-ar-st.exp,
4296         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4297         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4298         gdb.base/commands.exp, gdb.base/completion.exp,
4299         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4300         gdb.base/constvars.exp, gdb.base/corefile.exp,
4301         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4302         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4303         gdb.base/ending-run.exp, gdb.base/environ.exp,
4304         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4305         gdb.base/finish.exp, gdb.base/foll-exec.exp,
4306         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4307         gdb.base/funcargs.exp, gdb.base/help.exp,
4308         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4309         gdb.base/logical.exp, gdb.base/long_long.exp,
4310         gdb.base/maint.exp, gdb.base/mips_pro.exp,
4311         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4312         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4313         gdb.base/pointers.exp, gdb.base/printcmds.exp,
4314         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4315         gdb.base/regs.exp, gdb.base/relational.exp,
4316         gdb.base/remote.exp, gdb.base/reread.exp,
4317         gdb.base/restore.exp, gdb.base/return2.exp,
4318         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4319         gdb.base/selftest.exp, gdb.base/setshow.exp,
4320         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4321         gdb.base/sigall.exp, gdb.base/signals.exp,
4322         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4323         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4324         gdb.base/step-test.exp, gdb.base/structs.c,
4325         gdb.base/structs.exp, gdb.base/structs2.exp,
4326         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4327         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4328         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4329         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4330         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4331         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4332         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4333         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4334         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4335         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4336         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4337         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4338         gdb.fortran/types.exp, gdb.java/jmisc.exp,
4339         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4340         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4341         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4342         gdb.trace/circ.exp, gdb.trace/collection.exp,
4343         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4344         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4345         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4346         gdb.trace/report.exp, gdb.trace/save-trace.exp,
4347         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4348         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4349         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4350         notices.
4351
4352 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
4353
4354         * gdb.base/varargs.c (find_max_double): Fix printf format string:
4355         first arg is int not float.
4356
4357 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
4358
4359         * gdb.base/reread.exp: Unsupported for non-native targets;
4360         doesn't work for remote debugging.
4361
4362 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
4363
4364         From  Drew Moseley  <dmoseley@redhat.com>
4365         * gdb.base/ending-run.exp: Properly handle the BSP state when
4366         stepping past the end of main.
4367
4368 2001-02-19  John Moore  <jmoore@redhat.com>
4369
4370         * gdb.base/commands.exp (infrun_breakpoint_command_test):
4371         Converted HPUX fix for non-expected items following multiple
4372         step commands into general solution for all platforms.
4373
4374 2001-02-18  Michael Chastain  <chastain@redhat.com>
4375
4376         * gdb.c++/classes.exp (do_tests): Change runto statements
4377         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
4378         statements demangler agnostic.
4379         * gdb.c++/virtfunc.exp (do_tests): Likewise.
4380         (gdb_virtfunc_restart): Likewise.
4381
4382 2001-02-14  Michael Chastain  <chastain@redhat.com>
4383
4384         * gdb.c++/inherit.exp (do_tests): Change runto statements
4385         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
4386         statements demangler agnostic.
4387
4388 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
4389
4390         * gdb.threads/pthreads.exp: Unify pass/fail messages for
4391         ``continue to bkpt at common_routine in thread 2'' and ``stopped
4392         before calling common_routine 15 times'' tests.
4393
4394 2001-02-11  Michael Chastain  <chastain@redhat.com>
4395
4396         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4397         Helps the test script figure out which demangler is in use.
4398         (dm_type_foo_ref): Ditto.
4399         (dm_type_int_star): Ditto.
4400         (dm_type_long_star): Ditto.
4401         (dm_type_unsigned_int): Ditto.
4402         (dm_type_void): Ditto.
4403         (dm_type_void_star): Ditto.
4404         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
4405         Probe the gdb demangler and set variables to accommodate
4406         formatting differences.
4407         (info_func_regexp): New function.  Same as info_func, but
4408         matches against a regexp.
4409         (info_func): Match against a literal string.
4410         (print_addr_2): New function.  Match against a literal string,
4411         which can be different from the input to gdb.
4412         (print_addr): Simply call print_addr_2 with the same argument twice.
4413         (test_lookup_operator_functions): Use demangler formatting variables.
4414         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
4415         the tests in the same order as the C++ class declaration.
4416         (test_paddr_operator_functions): Ditto.
4417         (test_paddr_overloaded_functions): Ditto.
4418         (test_paddr_hairy_functions): Use demangler formatting variables.
4419         Add reference to gdb/19 for related tests.
4420         (do_tests): Call probe_demangler.
4421
4422 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
4423
4424         * gdb.c++/templates.cc (printf): Remove unused function definition.
4425
4426 2001-01-26  Felix Lee  <flee@redhat.com>
4427
4428         * sid.exp (sid_exit): Pass host, not target, to remote_close.
4429
4430 2001-01-25  matthew green  <mrg@redhat.com>
4431
4432         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4433         up sid.
4434         (sid_exit): Call `remote_pop_conn' after GDB is gone.
4435
4436 2001-01-25  matthew green  <mrg@redhat.com>
4437
4438         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4439         Deprecate $sid_spawn_id.
4440         (sid_exit): Remove code necessary only for `spawn.'
4441
4442 2001-01-25  matthew green  <mrg@redhat.com>
4443
4444         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4445
4446 2001-01-28  Michael Chastain  <chastain@redhat.com>
4447
4448         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4449         to call when tests fail.  It takes gdb out of the overloaded
4450         function choice menu back to the main prompt, so that the test
4451         program stays synchronized.
4452         (set_bp_overloaded): New proc to collect all the common
4453         code for setting a breakpoint on an overloaded name.  Calls
4454         take_gdb_out_of_choice_menu when needed.
4455         (menu_overload1arg): New variable to collect the repeated
4456         instances of the expected menu for an overloaded name.  Change
4457         the regular expression to handle changes in g++ type encoding:
4458         "void" can be either "void" or "", and "unsigned int" can be
4459         either "unsigned int" or "unsigned".
4460         (continue_to_bp_overloaded): Change regular expressions to handle
4461         changes in g++ type encoding.
4462         (no proc): Call take_gdb_out_of_choice_menu when needed.
4463         Remove redundant calls to "info break".  Accept either "canceled"
4464         or "cancelled".  Change regular expressions in "info break"
4465         calls to handle changes in g++ type encoding.  Give all tests
4466         unique strings.
4467
4468 2001-01-17  Ben Elliston  <bje@redhat.com>
4469
4470         * config/sid.exp: New file.
4471
4472 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
4473
4474         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4475
4476 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
4477
4478         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4479         Add a RE to accept a non-ascii char if one is ever presented.
4480
4481 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
4482
4483         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
4484
4485 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
4486
4487         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4488         in regexp.  One '\' does not suffice on Linux.
4489
4490 2000-12-09  Michael Chastain  <chastain@redhat.com>
4491
4492         * gdb.base/break.exp (test_clear_command): Use a marker function
4493         rather than 'main' for the test function.  Also move this
4494         test to an execution point where the marker function names are
4495         guaranteed to be bound to functions.  (Executing tests after a
4496         'finish' from main runs into name conflicts with local names
4497         in __libc_start_main).
4498
4499 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
4500
4501         * gdb.base/finish.exp: New test for gdb's "finish" command.
4502         * gdb.base/return2.exp: New test for gdb's "return" command.
4503         * gdb.base/return2.c: New source file for above.
4504
4505 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
4506
4507         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4508         * gdb.base/miscexprs.exp: Ditto.
4509         * gdb.base/pointers.exp:  Ditto.
4510         * gdb.c++/derivation.exp: Ditto.
4511         * gdb.c++/local.exp:      Ditto.
4512         * gdb.c++/namespace.exp:  Ditto.
4513         * gdb.c++/overload.exp:   Ditto.
4514         * gdb.c++/ref-types.exp:  Ditto.
4515
4516 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
4517
4518         * gdb.base/constvars.exp: Test result of "up" command.
4519         * gdb.base/miscexprs.exp: Ditto.
4520         * gdb.base/pointers.exp:  Ditto.
4521         * gdb.base/scope.exp:     Ditto.
4522         * gdb.c++/derivation.exp: Ditto.
4523         * gdb.c++/local.exp:      Ditto.
4524         * gdb.c++/namespace.exp:  Ditto.
4525         * gdb.c++/overload.exp:   Ditto.
4526         * gdb.c++/ref-types.exp:  Ditto.
4527
4528 2000-11-22  Michael Chastain  <chastain@redhat.com>
4529
4530         * mips_pro.exp: Accept either "middle -> top -> main" or
4531         "middle -> main" in the backtrace, because gcc can optimize
4532         tail calls to jumps.  Remove setup_xfail for the hppa case.
4533         Add a comment with the original warning messages from PR 3016,
4534         which was filed in 1993, to preserve them for posterity.
4535
4536 2000-11-17  Nick Duffek  <nsd@redhat.com>
4537
4538         * lib/gdb.exp (gdb_test): Override timeout with board info.
4539
4540 2000-11-17  Nick Duffek  <nsd@redhat.com>
4541
4542         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
4543         the second kill and detach messages.
4544
4545 2000-11-17  Nick Duffek  <nsd@redhat.com>
4546
4547         * configure.in: Add AC_EXEEXT.
4548         * configure: Regenerate.
4549         * Makefile.in (just-check): Export EXEEXT.
4550         * lib/gdb.exp ($EXEEXT): Import from environment.
4551         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
4552         expect "maint dump-me" on Cygwin.
4553         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4554         $EXEEXT.
4555
4556 2000-11-17  Nick Duffek  <nsd@redhat.com>
4557
4558         * gdb.base/break.exp: Test backtrace and finish from called
4559         function on all platforms, not just HP-UX.
4560
4561 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
4562
4563         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4564         code from gdb_target_monitor, so it can be used independantly
4565         for gdbserver.  Also comment out an unnecessary PUTS.
4566
4567 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
4568
4569         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4570         * gdb.base/corefile.exp: Expect the message "Program is being
4571         debugged already" when we send the "corefile" command, since
4572         the preceeding gdb_load may have connected gdb to a remote target.
4573         * gdb.base/display.exp: Disable hardware watchpoints if new
4574         board info variable "no_hardware_watchpoints" is true.
4575         Replace single-letter commands with more readable ones.
4576         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4577         if new board info variable "no_hardware_watchpoints" is true.
4578         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4579         to see if stdio (printf) testing is possible.
4580         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4581         board info variable "no_hardware_watchpoints" is true.  Use new
4582         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4583
4584 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
4585
4586         From Orjan Friberg  <orjanf@axis.com>:
4587         * gdb.base/printcmds.exp: Escape curly braces followed by a number
4588         in array print pattern match.
4589
4590 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
4591
4592         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4593         spelling "cancelled" to U.S. spelling "canceled" to match changes
4594         made to gdb.
4595         * gdb.c++/ovldbreak.exp: Ditto.
4596
4597 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
4598
4599         * gdb.base/callfuncs.c (main):  Moved to end of file, call
4600         t_double_values to initialize the FPU before inferior calls are made.
4601         * gdb.base/callfuncs.exp:  Test for register preservation after calling
4602         inferior functions.  Add tests for continuining, finishing and
4603         returning from a stop in a call dummy.
4604
4605 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
4606
4607         * gdb.base/commands.exp: Break up long lines, and re-indent.
4608
4609 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
4610
4611         * config/gdbserver.exp:  Rewritten from the ground up, to make it
4612         compatible with the current dejagnu tree, and to make it work with
4613         the new "gdbserver" in libremote.
4614
4615 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
4616
4617         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4618         * gdb.base/varargs.exp: Skip entire test if no printf support.
4619         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4620         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4621
4622 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
4623
4624         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
4625         no floating point support.
4626         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
4627         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4628         * gdb.base/call-rt-st.exp: Ditto.
4629         * gdb.base/call-strs.exp: Ditto.
4630
4631 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
4632
4633         * gdb.base/sizeof.c: include <stdio.h>.
4634
4635         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4636         'finish', otherwise uncaptured gdb_prompt would potentially
4637         throw remaining test points out of sync.
4638
4639 2000-07-26  Scott Bambrough <scottb@netwinder.org>
4640
4641         * gdb.base/recurse.exp: Run tests for all targets.
4642         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4643         gnu-oldld case on ARM.
4644         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4645         for ARM targets.
4646
4647 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
4648
4649         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4650         * gdb.java/configure: Rebuild.
4651
4652 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
4653
4654         * gdb.java/jv-exp.exp: New file.
4655
4656 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
4657
4658         * configure: Rebuilt.
4659         * configure.in (configdirs): Add gdb.java.
4660         * gdb.java/jmisc.java: New file.
4661         * gdb.java/jmisc.exp: New file.
4662         * gdb.java/Makefile.in: New file.
4663         * gdb.java/configure: Rebuilt.
4664         * gdb.java/configure.in: New file.
4665         * lib/java.exp: New file.
4666
4667 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4668
4669         * gdb.base/exprs.exp: Test casts to a pointer including over and
4670         underflow.
4671
4672 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4673
4674         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
4675         and the compilers sizes.
4676
4677 2000-07-09  Nick Duffek  <nsd@redhat.com>
4678
4679         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4680         (use_methods): New function.
4681         (main): Call use_methods().
4682         * gdb.c++/classes.exp (test_method_param_class): New procedure.
4683         (do_tests): Call test_method_param_class.
4684
4685 2000-07-09  Nick Duffek  <nsd@redhat.com>
4686
4687         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4688         spelling.
4689         (test_enums): New procedure.  Move enum tests from end of script
4690         to here.  Set breakpoint on function name instead of line number.
4691         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4692         (enums2): New marker function.
4693         (enums1): New function.
4694         (main): Call enums1().  Move enum tests to enums1().
4695
4696 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4697
4698         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4699         compile/link program.  Update line numbers.
4700         * gdb.asm/d10v.inc: Define ``startup''.
4701         * gdb.asm/asmsrc1.s: Add definition of _start.
4702
4703 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4704
4705         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4706
4707 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
4708
4709         * gdb.base/maint.exp: Add 'maint print architecture' item to output
4710         of 'help maint print' command.
4711
4712 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4713
4714         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4715         they use gdb_expect_list.
4716
4717 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4718
4719         * gdb.base/commands.exp: Use ``set remote
4720         memory-read-packet-size'' instead of ``set endian big'' to test
4721         long commands.
4722
4723 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
4724
4725         * gdb.c++/templates.exp (do_tests): Make all of these work under
4726         g++, and stop skipping them.
4727
4728         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4729         work under g++.
4730
4731         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4732         initialization.
4733
4734 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
4735
4736         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4737         the regular expression: accept an (almost) arbitrary sequence of
4738         "frames-invalid" and "breakpoints-invalid" messages both before
4739         and after the "starting" message.
4740
4741 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
4742
4743         * gdb.c++/local.exp: This test has never been known to work with g++.
4744
4745 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
4746
4747         * gdb.base/annota1.exp (annotate-signal-handler-caller):
4748         Relax the regular expression a little, make it pass on Solaris 8.
4749
4750 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
4751
4752         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4753         a call, do not require that gdb stop on the line after the call.
4754         Instead, it is permissible for gdb to stop on the line of the
4755         call itself.
4756
4757 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
4758
4759         * gdb.base/break.exp (bp on small function, optimized file):
4760         Add a second pass pattern.  The behavior differs here between stabs
4761         and dwarf for one-line functions.  Stabs preserves two line symbols
4762         (one before the prologue and one after) with the same line number,
4763         but dwarf regards these as duplicates and discards one of them.
4764         Therefore the address after the prologue (where the breakpoint is)
4765         has no exactly matching line symbol, and GDB reports the breakpoint
4766         as if it were in the middle of a line rather than at the beginning.
4767
4768 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
4769
4770         * gdb.base/interrupt.exp: Make "pass" message say "send"
4771         rather than "send_gdb" (for consistancy).
4772
4773 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4774
4775         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
4776         * gdb.c++/templates.cc: Properly check for GCC version number.
4777         * lib/compiler.cc: Likewise
4778
4779 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
4780
4781         * gdb.base/break.exp: When compiled with -O2 optimization,
4782         gdb may not stop at the first line of main, due to code motion.
4783
4784 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
4785
4786         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4787         This test depends on parsing the printf output from the target.
4788         Since the sparclet stub doesn't do stdio, this will never work.
4789         * gdb.base/call-rt-st.exp: ditto.
4790         * gdb.base/call-strs: ditto.
4791
4792 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
4793
4794         * gdb.base/miscexprs.exp: make sizeof long array test portable.
4795
4796         * gdb.base/ending-run.exp: After connecting to a remote target,
4797         but before running, the target will appear to be in a random
4798         location.  Specify both a file and a line for breakpoints.
4799         Also, the function that calls main may be called 'init'
4800         rather than 'start'.
4801
4802 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
4803
4804         * gdb.base/help.exp: Update output for add-symbol-file command.
4805
4806 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
4807
4808         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4809         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4810
4811 2000-04-07  J.T. Conklin  <jtc@redback.com>
4812
4813         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4814
4815         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4816
4817 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
4818
4819         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4820         values that can be represented exactly.
4821         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4822         above change, and to not check against the directory part of the source
4823         file name.
4824         (step into print_long_arg_list): Likewise.
4825         (print print_small_structs from print_long_arg_list): Likewise.
4826         (print print_long_arg_list): Likewise.
4827
4828 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
4829
4830         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
4831
4832 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4833
4834         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4835
4836 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
4837
4838         * gdb.base/commands.exp (deprecated_command_test): Add test for
4839         deprecate with no arguments.
4840
4841 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
4842
4843         * gdb.base/break.exp: Add new test for setting breakpoints on
4844         optimized code so we can test breakpoints work even when function
4845         prologues may be optimized away
4846
4847 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
4848
4849         From David Whedon <dwhedon@gordian.com>
4850         * gdb.base/commands.exp : Added command deprecator tests.
4851
4852 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
4853
4854        * gdb.base/help.exp: Added test for new apropos command.
4855
4856 2000-03-21  Kevin Buettner <kevinb@redhat.com>
4857
4858         * gdb.base/pointers.c (usevar): New function.
4859         (main): Make sure that global variables v_int_pointer2, rptr,
4860         and y are all referenced someplace in the program by calling
4861         usevar() on them.  [Some linkers delete symbols which are
4862         never referenced.  The space remains, but there's no way to
4863         get a (symbolic) handle on the variable from the debugger.]
4864
4865 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
4866
4867         * gdb.base/printcmds.c: Add typedeffed arrays.
4868
4869         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4870         procedure to test arrays that are typedef'd.
4871
4872 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
4873
4874         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
4875         the library directories.
4876
4877 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4878
4879         * configure.in (configdirs): Add sub directory gdb.mi.
4880         * configure: Re-generate.
4881
4882         * gdb.mi: New directory.
4883
4884 2000-02-25  Scott Bambrough <scottb@netwinder.org>
4885
4886         * gdb.base/long_long.exp: Correct test suite failure when printing
4887         a long long value as a double on ARM platforms.
4888
4889 2000-02-16  Jim Blandy  <jimb@redhat.com>
4890
4891         * gdb.base/break.exp ("breakpoint line number"): Make sure the
4892         default source file is set properly before running this test.
4893
4894 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
4895
4896         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4897         gdbtk/library directory, not in gdbtcl2.
4898
4899 2000-02-04  Jim Blandy  <jimb@redhat.com>
4900
4901         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4902         backslash from regexp pattern.
4903
4904         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4905         procedure.  Use it to run all the "continue to bp overloaded"
4906         tests.  Note that this changes the names of the tests slightly.
4907         If the breakpoint hit message includes a hex PC value, because
4908         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4909         from the real source code, still consider that a pass.
4910
4911         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4912         XFAIL here if the breakpoint message contains a hex address.  Note
4913         similar change on 1999-11-02.
4914
4915         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4916
4917         * gdb.base/ptype.exp: Establish a default source file before
4918         calling get_debug_format.
4919
4920 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
4921
4922         * gdb.base/watchpoint.exp: Remove duplication of test messages.
4923
4924 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
4925
4926         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4927         of successive stepi commands -- while in the prologue we should see
4928         the function entry bracket.
4929
4930 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
4931
4932         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4933         reach __change_mode() when stepping through the end of main().
4934
4935 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
4936
4937         * gdb.base/default.exp: Fix expected pattern.
4938         * gdb.base/help.exp: Same.
4939
4940 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
4941
4942         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4943         Don't use xfail's because that affects only the following test.
4944
4945         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4946         solaris or linux.
4947
4948         * gdb.base/selftest.exp: Update to reflect changes to main.c.
4949
4950 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
4951
4952         * gdb.base/display.exp: Some yacc parsers like to say
4953         "A syntax error" rather than "A parse error".  Accept both.
4954
4955 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
4956
4957         * gdb.base/default.exp: Remove OS dependent string from "target
4958         remote" test.
4959         * gdb.base/help.exp: Same for "help target remote" test.
4960
4961 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
4962
4963         From Jim Kingdon <kingdon@redhat.com>:
4964
4965         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4966         prompt (cleanup rather than necessity, but still might keep output
4967         from spilling to next test).
4968
4969 2000-01-02  Fred Fish  <fnf@cygnus.com>
4970
4971         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4972         AIX, which defines them in <sys/types.h>.
4973
4974 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
4975
4976         * gdb.base/default.exp: Match arm* etc instead of arm in "info
4977         float" test.
4978
4979 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
4980
4981         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
4982
4983         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4984         outermost frame disallowed".
4985
4986 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
4987
4988         * gdb.base/setvar.exp: New tests for setting the value of a struct
4989         with a constant list.
4990
4991 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
4992
4993         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4994         require the user to type a cast before setting the value of a struct.
4995
4996 1999-12-06  Jim Blandy  <jimb@cygnus.com>
4997
4998         * gdb.base/default.exp: Expect the new 'info float' command on
4999         all i386 platforms.
5000
5001         * gdb.threads/linux-dp.exp: Expand our ability to recognize
5002         LinuxThreads libraries that don't support debugging.
5003
5004 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5005
5006         * gdb.base/remote.c: Fill the buffer with truely random data.
5007         Change the buffer type to ``unsigned char'' to simplify size
5008         arithmetic.
5009
5010         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
5011         stub only handles 400-1 byte packets.  Verify that the download
5012         worked.
5013
5014 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5015
5016         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5017         tests, using UNRESOLVED for the untested cases.  Also, does not wait
5018         for a timeout if the prompt was received before a recognizable pattern.
5019
5020 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5021
5022         * lib/gdb.exp (gdb_expect_list): Fix spelling.
5023
5024 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5025
5026         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5027         watchpoints.
5028
5029 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
5030
5031         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5032
5033         * gdb.c++/local.exp: Be more flexible in recognizing local class
5034         name mangling.  Don't allow horribly truncated method names.
5035         * gdb.c++/derivation.exp: Expect protected inheritance.
5036         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5037         * gdb.c++/virtfunc.exp: Likewise.
5038         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
5039         when printing a nested enum.
5040
5041 1999-11-22  Jim Blandy  <jimb@cygnus.com>
5042
5043         * gdb.base/step-test.exp: Properly await GDB's response to setting
5044         a breakpoint on the call to large_struct_by_value.
5045
5046         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5047         just because we have debug info for the `start' function.
5048
5049 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
5050
5051         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5052         "Unknown signal" messages, which indicate (on LinuxThreads) that
5053         GDB doesn't know how to debug threads on this system.  This is
5054         better than hanging while philosopher 0 dumps chatter into gdb.log.
5055
5056 1999-11-18  Tom Tromey  <tromey@cygnus.com>
5057
5058         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5059
5060 1999-11-18  Fred Fish  <fnf@cygnus.com>
5061
5062         * gdb.base/coremaker2.c: Add sample program for generating
5063         cores that is more self contained than coremaker.c.  Eventually
5064         I'll add more code to this and tie it into the testsuite.
5065
5066 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
5067
5068         * gdb.base/dollar.exp: Remove, now in gdb.hp.
5069
5070 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
5071
5072         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5073         from $srcdir/lib/.
5074         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5075         and gdb.c++/.
5076
5077         * gdb.c++/derivation.exp: remove redundant get compiler info code.
5078
5079         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
5080         'continue with watch' test point.
5081
5082 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
5083
5084         Merged from p2linux-990323-branch:
5085
5086         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5087
5088 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
5089
5090         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5091         {limit,fixed}''.  Test ``set download-write-size''.
5092
5093 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5094
5095         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5096         gdb_expect_list.
5097
5098 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5099
5100         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5101
5102 1999-11-03  Mark Salter  <msalter@cygnus.com>
5103
5104         * gdb.base/break.exp: Fix "stub continue" pattern.
5105
5106 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
5107
5108         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5109
5110 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
5111
5112         * gdb.base/display.exp ("finish"): Add timeout clause.
5113
5114         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5115         plain prompt clause, so this doesn't have to time out in order to
5116         fail.
5117
5118         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5119         breakpoint hit messages include an address.
5120
5121         * gdb.base/display.exp: Don't forget to escape parens in regular
5122         expressions.  Unix regexp notatation sucks.
5123
5124 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5125
5126         * gdb.base/annota1.exp: Test for annotate-signalled: change output
5127         order for 'signalled' message.
5128
5129 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
5130
5131         From Jimmy Guo  <guo@cup.hp.com>:
5132         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5133         * gdb.base/annota1.c: Add code for tests to work with.
5134
5135 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
5136
5137         * gdb.base/remote.exp: New test for remote downloading settings.
5138         * gdb.base/remote.c: New file with large .data.
5139
5140 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
5141
5142         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5143         for LinuxThreads support, merged from the Code Fusion branch.
5144
5145 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
5146
5147         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5148         containing exp_continue into a while within an expect.  Don't
5149         attempt a start more than three times.  Check return value from
5150         gdb_load.
5151
5152 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5153
5154         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5155         a pass case.
5156
5157 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
5158
5159         * gdb.base/break.c (main): Added a statement that we can step
5160         off of.
5161         * gdb.base/break.exp: Added tests for setting a breakpoint
5162         at an offset and stepping onto a breakpoint.
5163
5164 1999-10-01  Fred Fish  <fnf@cygnus.com>
5165
5166         * gdb.base/help.exp (help add-symbol-file): Update to match current
5167         gdb output.
5168
5169 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
5170
5171         * gdb.base/break.exp: Code locations are in hex, don't forget!
5172         (For HP-UX.)
5173
5174 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
5175
5176         * condbreak.exp: Use break.c as test program.
5177         * condbreak.c: Remove, redundant with break.c.
5178
5179 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
5180
5181         * config/monitor.exp (gdb_target_monitor): Disable X- and
5182         Z-packets if the target needs it.
5183
5184 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
5185
5186         * gdb.c++/overload.exp: Added tests for listing overloaded
5187         functions with function pointers in the arg, explicitly calling
5188         out the version you want.
5189
5190 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
5191
5192         * long_long.exp: Add variations of test cases that work for
5193         targets with 16-bit ints and 32-bit doubles.
5194
5195 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
5196
5197         * break.c (main): Compare a possibly-uninitialized argc with an
5198         unlikely value that fits in 16 bits.
5199
5200 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
5201
5202         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5203         0xfeeb, don't want negative numbers if ints are 16 bits.
5204
5205         * lib/gdb.exp (skip_cplus_tests): New proc.
5206         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5207         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5208         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5209         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5210         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5211         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5212         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5213         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5214
5215         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5216
5217 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
5218
5219         * gdb.base/corefile.exp (up): Allow a parameter to appear
5220         in the frame that we're going up to.
5221
5222         From Jim Blandy <jimb@cygnus.com>:
5223
5224         * gdb.base/default.exp (info float): Expect some output now.
5225
5226         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5227         returning floating-point values to fail on the x86.
5228         * gdb.base/callfwmall.exp (do_function_calls): Same.
5229
5230         * gdb.base/list.exp (test_listsize): Correct expectations for
5231         listing line 1 with listsize 2.  Also, listing a single line
5232         works now, as does listing three lines.  [Kevin's note: There
5233         were a number of other cases fixed too where the expectations
5234         differed...]
5235
5236 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
5237
5238         * gdb.base/selftest.exp: Add case for when version prints as
5239         constant string instead of char pointer.
5240
5241 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
5242
5243         * gdb.base/ending-run.exp: Add Solaris case for what happens when
5244         stepping out of main.
5245
5246         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5247         G++ used.
5248
5249         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5250         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5251
5252         * gdb.c++/ovldbreak.exp: Update match string in test that
5253         includes a warning of multiple breakpoints.
5254
5255 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
5256
5257         * gdb.base/display.exp: Improve precision of step-after-finish
5258         added yesterday.
5259
5260         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5261         test.
5262
5263         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5264         configs when using G++, not just hppa*.
5265
5266 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5267
5268         * gdb.base/async.c: New file.
5269         * gdb.base/async.exp: New file.
5270
5271 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
5272
5273         * gdb.base/break.exp: Tweak PA specific tests to properly handle
5274         PA64.
5275
5276 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
5277
5278         * gdb.base/display.exp: "finish" can leave us mid-line on many
5279         targets, deal with it.  Add a small constant to main, instead of
5280         1000 since main+1000 may not be a valid address in the target.
5281
5282         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5283         on hpux11.
5284
5285         * gdb.base/attach.exp: Handle another hpux11 error message variant
5286         when attaching to a process that does not exist.
5287
5288 1999-08-19  J.T. Conklin  <jtc@redback.com>
5289
5290         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5291         characters in 'continue to 1241' test.
5292
5293 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
5294
5295         * gdb.base/call-ar-st.exp: Add a shorter match case for the
5296         stop in print_long_arg_list, define and use a whitespace
5297         variable in print_small_structs test, add an XFAIL for Solaris.
5298         * gdb.base/dbx.exp: XFAIL func commands until somebody is
5299         interested enough to fix.
5300
5301 1999-08-13  Keith Seitz  <keiths@cygnus.com>
5302
5303         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5304         (dbx_gdb_load): Remove. Use gdb_load instead, since that
5305         proc knows about targets other than the natives.
5306         (test_assign): Use "gdb_run_cmd" to "run" the target.
5307         Check that we've actually hit the breakpoint at main.
5308         When we attempt to assign a value to a local variable, check
5309         that the variable is in the current scope, i.e., don't use
5310         a test with an empty result.
5311
5312 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5313
5314         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5315         command.
5316
5317 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
5318
5319         From Jimmy Guo <guo@cup.hp.com> and others at HP:
5320         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5321         gdb.compat, gdb.threads-hp.
5322         gdb.hp/configure, gdb.hp/configure.in: New files.
5323         gdb.hp/Makefile.in: Recurse into new subdirs.
5324         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5325         gdb.hp/gdb.objdbg: New directory, tests for debugging info
5326         in object files.
5327         gdb.hp/tools: New directory, aux tools for HP-specific tests.
5328
5329 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
5330
5331         * gdb.base/display.exp: Help expect by putting a newline in the
5332         funky printf, remove a bogus p/a test.
5333
5334 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5335
5336         * gdb.base/display.exp: Make sure that when we say 'run', we are
5337         connected to the target. This is necessary when running not
5338         natively.
5339
5340 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
5341
5342         * gdb.base/step-test.exp: Removed some extraneous messages.
5343
5344         * gdb.base/long_long.exp: Don't run memory examination tests
5345         on little-endian targets (they will need a different set of
5346         results to match).
5347
5348 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
5349
5350         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5351         until somebody decides to fix GDB.
5352
5353         * gdb.base/long_long.c: Stop compiler complaint by specifying long
5354         constant as "ULL".
5355         * gdb.base/long_long.exp: Loosen x/c test, add partial result
5356         matches for a couple x/2 commands.
5357
5358 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
5359
5360         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5361         by merging in ref-types2 tests.
5362         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5363
5364         From Jimmy Guo <guo@cup.hp.com> and others at HP:
5365         * gdb.c++/Makefile.in: Add standard actions.
5366         (EXECUTABLES): Rename from PROGS, update list.
5367         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5368         from gdb.hp.
5369         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5370         foo and bar locals.
5371         * gdb.c++/anon-union.exp: Fix tests to match.
5372         * gdb.c++/classes.exp: Run if HP compiler used, add extra
5373         expect matches to handle output variations.
5374         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5375         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5376         output, add HP alternatives for new and delete prints.
5377         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5378         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5379         * gdb.c++/demangle.exp: Use $style when reporting failure.
5380         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5381         * gdb.c++/inherit.exp: Run if HP compiler used, add some
5382         match alternatives.
5383         * gdb.c++/local.exp: Add match alternatives or xfails for HP
5384         compilers.
5385         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5386         * gdb.c++/method.exp: Add match alternatives.
5387         * gdb.c++/misc.cc: Add bool types.
5388         * gdb.c++/misc.exp: Add tests for bool types.
5389         * gdb.c++/overload.exp: Add xfails.
5390         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5391         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5392         add some more template parameter tests (only for HP currently).
5393         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5394         * gdb.c++/virtfunc.cc: Add return type and value for main.
5395         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5396         match alternatives.
5397
5398 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5399
5400         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5401
5402 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
5403
5404         * gdb.base/signals.exp: Don't expect getting a backtrace from
5405         within a signal handler to fail on Linux.
5406
5407 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
5408
5409         From Jimmy Guo <guo@cup.hp.com> and others at HP:
5410         * lib/gdb.exp: Remove some gratuitious semicolons.
5411         (delete_breakpoints): Increase timeout.
5412         (gdb_expect): Add -notransfer option.
5413         (gdb_test): Use -notransfer option.
5414         (get_compiler_info): Add f77 case.
5415         (get_compiler): New proc, split out from gdb_preprocess, add f77
5416         case.
5417         (gdb_preprocess): Call get_compiler.
5418
5419         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5420         * gdb.base/attach.exp, gdb.base/display.exp,
5421         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5422         gdb.base/long_long.exp, gdb.base/printcmds.exp,
5423         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5424         third arg to gdb_test.
5425         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5426         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5427         HP-UX xfails, add others.
5428         * gdb.base/completion.exp: Reflect name change of self-test.
5429         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5430         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5431         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5432         HP failure number.
5433         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5434         useless HP-UX 10.30 references.
5435         * gdb.base/maint.exp: Loosen matches.
5436         * gdb.base/pointers.c (main): Declare more_code.
5437         * gdb.base/pointers.exp: Match on output of a `next'.
5438         * gdb.base/structs.c: Add prototypes.
5439         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5440         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5441
5442 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5443
5444         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5445         command.
5446
5447 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5448
5449         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5450         Fix run to main failures. Watchpoint can be hardware watchpoint.
5451
5452         * gdb.base/annota1.exp: Clean up some more, in case printf has
5453         debug info.  Deal with lack of signal hanlder info in stack.
5454
5455         From Jim Kingdon  <kingdon@redhat.com>:
5456         * gdb.base/annota1.exp: If printf has debug info, deal with it.
5457
5458 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
5459
5460         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5461         gdb.base/foll-vfork.exp: Don't run for crosses.
5462
5463 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5464
5465         * gdb.base/configure.in: Check for gdbvars.exp instead of
5466         a1-selftest.exp.
5467         * gdb.base/configure: Re-generate.
5468
5469 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
5470
5471         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5472         in trying to run first and name is too long.
5473
5474         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5475         pointers2.c and pointers2.exp, respectively.
5476         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5477         doschk happier.
5478
5479 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
5480
5481         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5482         callfuncs2.c and callfuncs2.exp.
5483
5484         * gdb.base/list.exp: Remove mistaken xfails.
5485         * gdb.base/list0.h: Add optional prototypes.
5486
5487 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
5488
5489         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5490         calling malloc.
5491         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5492         * ptype.exp: Move test for get_debug_format to before its first
5493         use.
5494
5495 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5496
5497         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5498         * gdb.base/annota2.cc, annota2.exp: Move from here.
5499         * gdb.c++/annota2.cc, annota2.exp: To here.
5500         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5501
5502 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5503
5504         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5505         a consistent format.
5506
5507 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
5508
5509         From Jimmy Guo <guo@cup.hp.com> and others at HP:
5510         * lib/gdb.exp (get_compiler_info): Add detection for assorted
5511         HP compilers, also set the globals $true and $false.
5512
5513         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5514         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5515         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5516         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5517         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5518         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5519         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5520         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5521         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5522         whatis.c} Add C++ compatible function definitions and return
5523         types, add includes for library functions.
5524         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5525         * gdb.base/step-test.c (myglob): Rename from glob.
5526         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5527         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5528         files, move here from gdb.hp.
5529         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5530         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5531         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5532         Adjust line numbers in regexps.
5533
5534         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5535         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5536         instead of 0/1.
5537
5538         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5539         foll-vfork.exp: New files, move here from gdb.hp.
5540         * gdb.base/page.exp: New file, test of pagination command.
5541
5542         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5543         recursion test.
5544         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5545
5546         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5547         gdb.base/solib.exp: Fix compiler invocation process.
5548
5549         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5550         HP-UX 11, turn off overload resolution explicitly.
5551         * gdb.base/commands.exp: Set argument list explicitly, add
5552         watchpoint test.
5553         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5554         them work.
5555         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5556         expressions properly.
5557         * gdb.base/corefile.exp: Loosen the match slightly.
5558         * gdb.base/default.exp: Allow "Error accessing memory" message
5559         also.
5560         * gdb.base/display.exp: Skip over x/0 j if PA64.
5561         * gdb.base/funcargs.exp: Add xfails for HP-UX.
5562         * gdb.base/interrupt.exp: Ditto.
5563         * gdb.base/langs.exp: Add symbolic matches governed by compiler
5564         in use.
5565         * gdb.base/list.exp: Add xfails for HP-UX.
5566         * gdb.base/long_long.exp: Refine some of the numeric matches.
5567         * gdb.base/mips_pro.exp: Xfail on HP-UX.
5568         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5569         * gdb.base/nodebug.exp: Succeed on more varieties of output.
5570         * gdb.base/opaque.exp: Remove some HP-UX xfails.
5571         * gdb.base/ptype.exp: Succeed on more varieties of output.
5572         * gdb.base/scope.exp: Add xfails for HP-UX.
5573         * gdb.base/sect-cmd.exp: Add more cases.
5574         * gdb.base/setvar.exp: Add xfails for HP-UX.
5575         * gdb.base/shlib-call.exp: Loosen some matches slightly.
5576         * gdb.base/signals.exp: Match on void symbolically.
5577         * gdb.base/step-test.exp: Add case for PA64.
5578         * gdb.base/term.exp: Add exit and restart.
5579         * gdb.base/twice.exp: Clean up after self.
5580         * gdb.base/varargs.exp: Disable overload resolution explicitly.
5581         * gdb.base/whatis.exp: Allow more ways to pass tests.
5582
5583         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5584         no longer useful.
5585
5586 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5587
5588         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
5589         list of patterns.
5590         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5591         print_double_array(double_array)", "continuing to breakpoint
5592         1018", "print print_double_array(array_d)" and "continuing to
5593         1034" tests.
5594
5595 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
5596
5597         * Makefile.in: Add empty html and install-html targets.
5598
5599 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
5600
5601         * config/mt-*: Remove, these haven't been used since 1996.
5602
5603 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
5604
5605         * gdb.base/call-strs.c, gdb.base/ending-run.c,
5606         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5607         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5608
5609 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
5610
5611         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5612         simpler match case for the ptype of the big class.
5613
5614 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5615
5616         * gdb.exp: Fix test for gdb_prompt existence.
5617
5618 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5619
5620         * gdb.exp (gdb_test): Add fail after calls to perror.
5621
5622 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5623
5624         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5625
5626 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5627
5628         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5629
5630 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5631
5632         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
5633         malloc() is linked in.
5634
5635 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5636
5637         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5638         step at end.
5639
5640         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5641
5642 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
5643
5644         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
5645
5646 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
5647
5648         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5649         * gdb.base/mips_pro.exp: Likewise.
5650
5651 1999-06-02  Keith Seitz  <keiths@cygnus.com>
5652
5653         * gdb.c++/templates.cc: Change all "new" operators to throw
5654         an exception.
5655         * gdb.c++/cplusfuncs.cc: Likewise.
5656
5657         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5658
5659 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5660
5661         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5662         * gdb.base/ending-run.exp: When stepping out of main, accept a
5663         step into an arbitrary assembler file.
5664
5665 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5666
5667         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
5668         "breakpoint-invalid" to be printed.
5669         * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
5670         number of "frames-invalid" and "breakpoint-invalid" to be printed.
5671         * gdb.base/annota2.cc: Initialize a.x to 0.
5672
5673 1999-05-17  Keith Seitz  <keiths@cygnus.com>
5674
5675         * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5676         when "skip_float_tests" set.
5677         Ditto for "print print_double_array(array_d)", "print print_small_structs",
5678         "print print_ten_doubles", and "step into print_long_arg_list".
5679         Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5680         * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5681         is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5682         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5683         "skip_float_tests" is set.
5684         * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5685         when "skip_float_tests" set.
5686
5687 1999-05-06  Keith Seitz  <keiths@cygnus.com>
5688
5689         * gdb.base/annota2.cc: Include stdio.h.
5690
5691 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
5692
5693         * gdb.base/crossload.exp: Remove, this has been disabled ever
5694         since BFD stopped including all targets, and cross-GDB gets
5695         plenty of testing anyway.
5696         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5697         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5698         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5699         * gdb.base/README: Remove, was doc for this.
5700         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5701         needed.
5702
5703 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5704
5705         * gdb.base/call-ar-st.exp: Fix one regular expression in test
5706         output.
5707
5708         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5709         * gdb.base/annota2.exp: New file. More annotation tests.
5710         * gdb.base/annota1.c: New file. Source file for annota1.exp.
5711         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5712
5713 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
5714
5715         * config/cfdbug.exp: New file.
5716
5717 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
5718
5719         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5720         Marcus Daniel's and Dale Hawkins's demangler crashes.
5721
5722         * gdb.c++/demangle.exp (test_gnu_style_demangling,
5723         test_lucid_style_demangling, test_arm_style_demangling,
5724         test_hp_style_demangling): Try Tom Tromey's core-dumping
5725         identifier under each demangling style.
5726
5727 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
5728
5729         * gdb.c++/demangle.exp: Include the current demangling style
5730         in all test names.
5731         (current_demangling_style): New global variable.
5732         (set_demangling_style, test_demangling_core, test_demangling,
5733         test_demangling_exact): New functions.
5734         (test_gnu_style_demangling, test_lucid_style_demangling,
5735         test_arm_style_demangling, test_hp_style_demangling): Use those,
5736         instead of calling gdb_test and gdb_test_exact directly.
5737         (catch_demangling_errors): New function, which reports errors
5738         signalled by the demangling test functions in an orderly way.
5739         (do_tests): Use catch_demangling_errors.
5740
5741 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
5742
5743         * gdb.base/signals.exp (test_handle_all_print): Use () for
5744         grouping in expressions, not {}.
5745
5746         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
5747         initialized yet.
5748
5749 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
5750
5751         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5752         are listed.
5753
5754 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
5755
5756         * gdb.stabs/weird.exp: Test for CC being defined before
5757         looking at its value.
5758
5759 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
5760
5761         * gdb.base/call-ar-st.exp: Remove stray '#'.
5762         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5763         "short int" and "long int".
5764         * gdb.c++/overload.cc: Cast the string added in the previous
5765         change, to mollify finicky HP compiler.
5766         * gdb.hp/reg-test.exp (testfile): Fix file name.
5767         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
5768
5769         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5770         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5771         alternate form of enum ptype.
5772
5773 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
5774
5775         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5776         * gdb.hp/*.exp: Change all to run compiler probe only after
5777         passing skip_hp_tests, so as not to waste time on guaranteed
5778         failure.
5779
5780         * gdb.c++/overload.cc: Pass string instead of char addr, always
5781         init ccpfoo.
5782         * gdb.c++/templates.cc: Fix syntax error.
5783
5784 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5785
5786         * gdb.base/commands.exp: Add test for correct position of '>'
5787         when issuing the 'commands' command after a 'while' or 'if'
5788         command.
5789
5790 1999-03-18  James Ingham  <jingham@cygnus.com>
5791
5792         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5793
5794         * gdb.c++/method.exp: It was testing an uninitialized int on the
5795         stack and assuming it was positive.
5796
5797         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5798
5799         * gdb.base/step-test.exp: Catch a case where finish is broken and
5800         keep it from killing the rest of the tests.
5801         Use gdb_continue_to_end.
5802
5803         * gdb.base/sigall.exp: use gdb_continue_to_end.
5804
5805         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5806
5807         * gdb.base/display.exp: use runto_main, not run.
5808
5809         * gdb.base/default.exp: Check for the current error message in the
5810         r abbreviation test.
5811         Add strongarm to the targets that know info float.
5812
5813         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
5814         run which doesn't work with monitors.
5815
5816         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5817
5818         * gdb.base/break.exp: use the gdb_continue_to_end proc.
5819
5820         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
5821         program.  Traps the case (in Cygmon) when the program never really
5822         exits.  Same as Mark's continue_to_exit, but I had put it in a lot
5823         more places, so I used my name.  Sorry Mark...
5824
5825         * config/monitor.exp (gdb_target_monitor): added another
5826         target_info parameter: remotebinarydownload.  This will set the
5827         remotebinarydownload flag if this is causing some boards trouble.
5828
5829 1999-03-18  Mark Salter  <msalter@cygnus.com>
5830
5831         * lib/gdb.exp (continue_to_exit): New function.
5832
5833         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5834         * gdb.base/ending-run.exp: Ditto.
5835         * gdb.base/step-test.exp: Ditto.
5836
5837 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
5838
5839         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5840         (suggested by Art Haas <ahaas@neosoft.com>).
5841
5842 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
5843
5844         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5845
5846 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
5847
5848         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5849         descriptions of types (short unsigned int vs unsigned short, etc).
5850
5851 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
5852
5853         * gdb.base/call-strs.exp: Don't assume that `step' will step over
5854         a call to strlen; sometimes we do have sources.
5855
5856 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
5857
5858         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5859         character, so GDB won't print garbage after its end.
5860
5861         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5862         breakpoint there instead.  Sometimes GCC emits memcpy to handle
5863         the large structures being passed by value, so we step into that
5864         instead of sum_array_print, which obscures what we're really testing.
5865         * gdb.base/step-test.exp: However, we do want a test that notices
5866         the bizarre steps into memcpy, so do that here.  Add check for
5867         stepping into function calls that pass large structures by value.
5868         ("Is that a noun clause, or are you just happy to see me?")
5869         Remove all references to specific line numbers.
5870         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5871         New type and function.
5872         (main): Call large_struct_by_value, passing it a large struct by value.
5873         * lib/gdb.exp (gdb_get_line_number): New function.
5874
5875         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5876         more portable.
5877
5878 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
5879
5880         * lib/gdb.exp: Doc fixes.
5881
5882 1999-03-05  Nick Clifton  <nickc@cygnus.com>
5883
5884         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
5885
5886 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
5887
5888         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5889         commands.  They're not germane to this test, and they don't work
5890         that way on remote targets.
5891
5892 1999-03-01  James Ingham  <jingham@cygnus.com>
5893
5894         * Changelog entries merged over from gdb development branch.
5895
5896        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
5897
5898                * lib/gdb.exp (gdbtk_analyze_results): Generic function
5899                for outputting results of test run.
5900
5901         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
5902
5903                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
5904
5905 1999-02-25  Felix Lee  <flee@cygnus.com>
5906
5907         * lib/gdb.exp (debug_format): initialize
5908
5909 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
5910
5911         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5912         * gdb.base/call-rt-st.c: Ditto.
5913
5914 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
5915
5916         * gdb.threads/pthreads.exp (horiz): New variable.
5917         (test_startup): Fix regexps that capture thread numbers.
5918
5919 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
5920
5921         * gdb.base/smoke.exp: Disambiguate two test case names (both
5922         called ``print'').
5923
5924 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
5925
5926         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5927         compilation.
5928
5929 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
5930
5931         * gdb.base/miscexprs.exp: Change patterns to match GDB's
5932         actual output formatting.
5933         * gdb.base/smoke.exp: GDB removes leading 0's.
5934         * gdb.base/volatile.exp: Don't check type of remuneration;
5935         that variable is no longer defined in constvars.c.
5936         * gdb.base/step-test.c (main): Exit with explicit exit code.
5937         * gdb.base/step-test.exp: Remove two nexti checks--they are
5938         not portable.
5939
5940 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
5941
5942         * gdb.base/help.exp ("help delete display"): Fix test to match
5943         gdb's output.
5944
5945         * gdb.base/long_long.c (known_types): Initialize values to zero.
5946         * gdb.base/long_long.exp: Step one more line
5947         so 'dec' is initialized in "get to known place".  GDB removes
5948         leading zeros.  Explicitly ask for hex formatting.  Use
5949         unique test case names.
5950
5951 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5952
5953         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
5954
5955         * gdb.c++/method.exp: Add missing close brace.
5956
5957 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
5958
5959         * gdb.base/maint.exp: Use 'set height 0' to disable page
5960         prompting, not 'set height 400'.
5961
5962         Fix a bunch of timeouts.
5963         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5964         four separate tests, so expect doesn't take forever to match a ton
5965         of text against a regexp with lots of .* forms.
5966         ("maint print psymbols", "maint print symbols"): Make some of
5967         these greps more selective, so that expect doesn't try to wade
5968         through huge piles of output and time out.
5969
5970         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5971
5972         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5973         tests: one which doesn't expect shlib events to be reported, and
5974         another which does, but is XFAIL for all platforms other than
5975         HP/UX.
5976
5977         * gdb.base/break.exp: Teach the test suite that the `catch
5978         fork', `catch vfork', and `catch exec' commands produce error
5979         messages on platforms that don't provide these features.
5980
5981 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
5982
5983         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5984         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5985         (shortening names from solib_threshold.exp etc), won't run on
5986         anything but HP-UX for the foreseeable future.
5987         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5988         reflect move.
5989
5990 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
5991
5992         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5993         gdb.trace/Makefile.in (clean): Remove all test executables.
5994
5995 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
5996
5997         * gdb.base/shlib-call.exp: add test cases to verify that gdb
5998         successfully re-sets breakpoints in shared libraries.
5999         * gdb.base/shmain.c (main): return 0, don't fall off the end.
6000
6001 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6002
6003         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6004         and compiled w/o GCC.
6005
6006         * gdb.hp/watch-cmd.exp: ditto.
6007
6008         * gdb.hp/watch-hp.exp: ditto.
6009
6010         * gdb.hp/xdb1.exp: ditto.
6011
6012         * gdb.hp/xdb2.exp: ditto.
6013
6014         * gdb.hp/dbx.exp: ditto.
6015
6016 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
6017
6018         * constvars.c: Remove C++-isms.
6019         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6020         with GCC.
6021
6022 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
6023
6024         The following changes are part of the HP merge.
6025
6026         * gdb.base/break.exp: new tests to verify that catchpoints for
6027         fork, vfork, and exec don't trigger inappropriately.
6028
6029         * gdb.base/opaque.exp: compile one file at a time, then link.
6030
6031         * gdb.base/signals.exp: be more restrictive about which hppa
6032         systems receive a setup_xfail.  new tests.
6033
6034         * gdb.base/solib_threshold.build: new file.
6035         * gdb.base/solib_threshold.exp: new file.
6036         * gdb.base/solib_threshold.link_opts: new file.
6037         * gdb.base/solib_threshold.mk: new file.
6038         * gdb.base/gen_solib_threshold.c: new file.
6039
6040         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6041         tests.  New tests for enums inside classes.
6042
6043         * gdb.c++/compiler.cc: indicate support of template debugging.
6044
6045         * gdb.c++/demangle.exp: run hp style demangling tests.
6046
6047         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6048         tests.
6049
6050         * gdb.c++/misc.cc: changes to support new tests.
6051
6052         * gdb.c++/templates.cc: changes to support HP's compiler; changes
6053         to support new tests.
6054
6055         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6056         gcc, then skip these tests.
6057
6058 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
6059
6060         The following files are part of the HP merge; some had longer
6061         names at HP, but have been renamed to be no more than 14
6062         characters in length.
6063
6064         * gdb.hp/ambiguous.cc: new file.
6065         * gdb.hp/ambiguous.exp: new file.
6066         * gdb.hp/attach.exp: new file.
6067         * gdb.hp/attach2.exp: new file.
6068         * gdb.hp/classes-hp.exp: new file.
6069         * gdb.hp/ctti.exp: new file.
6070         * gdb.hp/ctti-add.cc: new file.
6071         * gdb.hp/ctti-add1.cc: new file.
6072         * gdb.hp/ctti-add2.cc: new file.
6073         * gdb.hp/ctti-add3.cc: new file.
6074         * gdb.hp/dbx.exp: new file.
6075         * gdb.hp/exception.cc: new file.
6076         * gdb.hp/exception.exp: new file.
6077         * gdb.hp/foll-exec.c: new file.
6078         * gdb.hp/foll-exec.exp: new file.
6079         * gdb.hp/foll-fork.c: new file.
6080         * gdb.hp/foll-fork.exp: new file.
6081         * gdb.hp/foll-vfork.c: new file.
6082         * gdb.hp/foll-vfork.exp: new file.
6083         * gdb.hp/inherit-hp.exp: new file.
6084         * gdb.hp/more-steps.exp: new file.
6085         * gdb.hp/namespace.cc: new file.
6086         * gdb.hp/namespace.exp: new file.
6087         * gdb.hp/optimize.exp: new file.
6088         * gdb.hp/pxdb.c: new file.
6089         * gdb.hp/pxdb.exp: new file.
6090         * gdb.hp/quicksort.exp: new file.
6091         * gdb.hp/reg-test.exp: new file.
6092         * gdb.hp/reg-test.s: new file.
6093         * gdb.hp/sized-enum.c: new file.
6094         * gdb.hp/sized-enum.exp: new file.
6095         * gdb.hp/start-stop.exp: new file.
6096         * gdb.hp/templ-hp.cc: new file.
6097         * gdb.hp/templ-hp.exp: new file.
6098         * gdb.hp/thr-lib.c: new file.
6099         * gdb.hp/thr-lib.exp: new file.
6100         * gdb.hp/thr-lib.h: new file.
6101         * gdb.hp/thr-liblib.c: new file.
6102         * gdb.hp/virtfun-hp.c: new file.
6103         * gdb.hp/virtfun-hp.exp: new file.
6104         * gdb.hp/watch-cmd.exp: new file.
6105         * gdb.hp/watch-hp.exp: new file.
6106         * gdb.hp/xdb1.exp: new file.
6107         * gdb.hp/xdb2.exp: new file.
6108         * gdb.hp/xdb3.exp: new file.
6109
6110 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
6111
6112         The following files are part of the HP merge; some had longer
6113         names at HP, but have been renamed to be no more than 14
6114         characters in length.
6115
6116         * gdb.base/ss.h: new file.
6117         * gdb.base/call-ar-st.c: new file.
6118         * gdb.base/call-ar-st.exp: new file.
6119         * gdb.base/call-rt-st.c: new file.
6120         * gdb.base/call-rt-st-exp: new file.
6121         * gdb.base/call-strs.exp: new file.
6122         * gdb.base/ena-dis-br.exp: new file.
6123         * gdb.base/environ.exp: new file.
6124         * gdb.base/long_long.exp: new file.
6125         * gdb.base/sect-cmd.exp: new file.
6126         * gdb.base/shlib-cl2.exp: new file.
6127         * gdb.base/smoke.exp: new file.
6128         * gdb.base/so-impl-ld.c: new file.
6129         * gdb.base/so-impl-ld.exp: new file.
6130         * gdb.base/so-indr-cl.c: new file.
6131         * gdb.base/so-indr-cl.exp: new file.
6132         * gdb.base/varargs.exp: new file.
6133         * gdb.base/volatile.exp: new file.
6134         * gdb.base/whatis-exp.exp: new file.
6135         * gdb.base/display.exp: new file.
6136         * gdb.c++/derivation.exp: new file.
6137         * gdb.c++/local.exp: new file.
6138         * gdb.c++/member-ptr.exp: new file.
6139         * gdb.c++/overload.exp: new file.
6140         * gdb.c++/ovldbreak.exp: new file.
6141         * gdb.c++/ref-types.exp: new file.
6142         * gdb.c++/ref-types2.exp: new file.
6143         * gdb.c++/userdef.exp: new file.
6144
6145 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
6146
6147         * gdb.base/default.exp: Reflect wording change in remote.c.
6148
6149 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
6150
6151         * gdb.base/help.exp: Update to reflect current text.
6152
6153 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
6154
6155         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6156         they're stack variables and contain garbage.
6157         * gdb.c++/anon-union.exp: new file.
6158
6159         The following changes were made by David Taylor
6160         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6161         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6162         in changes by HP.
6163
6164         * gdb.base/bitops.exp: new file.
6165         * gdb.base/default.exp: change expected messages for catch and
6166         info catch tests to reflect HP merge changes.
6167         * gdb.base/enable-disable-break.exp
6168         * gdb.base/ending-run.c: new file.
6169         * gdb.base/long_long.c: new file.
6170         * gdb.base/maint.exp: new file.
6171         * gdb.base/pointers2.exp: new file.
6172         * gdb.base/shlib-call2.exp: new file.
6173         * gdb.base/solib.exp: new file.
6174         * gdb.base/step-test.c: new file.
6175         * gdb.c++/anon-union.cc: new file.
6176         * gdb.c++/local.cc: new file.
6177         * gdb.c++/member-pointer.cc: new file.
6178         * gdb.c++/method.cc: new file.
6179         * gdb.c++/ref-types.cc: new file.
6180         * gdb.c++/ref-types2.cc: new file.
6181         * gdb.c++/userdef.cc: new file.
6182
6183         * gdb.base/scope.exp: compile one file at a time, then link.
6184         * gdb.base/langs.exp: ditto.
6185         * gdb.base/list.exp: ditto.
6186
6187 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
6188
6189         The following changes were made by David Taylor
6190         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6191         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6192         in changes by HP.
6193
6194         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6195         skip tests.  When compiling pass c++ flag to gdb_compile.
6196         * gdb.c++/
6197
6198         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6199         test for on hppa*-*-hpux*; use args to see if c++ was specified.
6200         (skip_hp_tests): new function.
6201         (gdb_preprocess): new function.
6202
6203         * configure.in (hpdir): decide whether to configure gdb.hp.
6204         * configure: regenerated.
6205
6206         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6207         to delete on clean.
6208         (EXECUTABLES): update to reflect new additions.
6209         * gdb.base/commands.exp: update message expected.
6210         * gdb.base/default.exp: add copyright notice.
6211         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6212         * gdb.base/help.exp: update messages to reflect current text.
6213         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6214         targets for recurse tests.
6215         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6216         skip this file.
6217
6218         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6219         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6220         compilation.
6221         * gdb.c++/misc.exp: ditto.
6222         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6223         run the tests.  tell gdb_compile that it's a c++ compilation.
6224
6225         * gdb.threads/pthreads.exp: fix typo in message.
6226
6227         * gdb.base/all-bin.exp: new file.
6228         * gdb.base/arithmet.exp: new file.
6229         * gdb.base/assign.exp: new file.
6230         * gdb.base/completion.exp: new file.
6231         * gdb.base/cond-expr.exp: new file.
6232         * gdb.base/condbreak.exp: new file.
6233         * gdb.base/define.exp: new file.
6234         * gdb.base/dollar.exp: new file.
6235         * gdb.base/environment.exp: new file.
6236         * gdb.base/eval-skip.exp: new file.
6237         * gdb.base/jump.exp: new file.
6238         * gdb.base/logical.exp: new file.
6239         * gdb.base/pointers.exp: new file.
6240         * gdb.base/relational.exp: new file.
6241         * gdb.base/section_command.exp: new file.
6242         * gdb.base/whatis-expr.exp: new file.
6243
6244         * gdb.base/all-types.c: new file.
6245         * gdb.base/call-array-struct.c: new file.
6246         * gdb.base/call-return-struct.c: new file.
6247         * gdb.base/call-strings.c: new file.
6248         * gdb.base/callfuncs2.c: new file.
6249         * gdb.base/condbreak.c: new file.
6250         * gdb.base/constvars.c: new file.
6251         * gdb.base/display.c: new file.
6252         * gdb.base/int-type.c: new file.
6253         * gdb.base/jump.c: new file.
6254         * gdb.base/miscexprs.c: new file.
6255         * gdb.base/pointers.c: new file.
6256         * gdb.base/pointers2.c: new file.
6257         * gdb.base/shmain.c: new file.
6258         * gdb.base/shr1.c: new file.
6259         * gdb.base/shr2.c: new file.
6260         * gdb.base/solib.c: new file.
6261         * gdb.base/solib1.c: new file.
6262         * gdb.base/solib2.c: new file.
6263         * gdb.base/varargs.c: new file.
6264         * gdb.c++/derivation.cc: new file.
6265         * gdb.c++/overload.cc: new file.
6266         * gdb.c++/ovldbreak.cc: new file.
6267         * gdb.hp/attach.c: new file.
6268         * gdb.hp/attach2.c: new file.
6269         * gdb.hp/average.c: new file.
6270         * gdb.hp/compiler.c: new file.
6271         * gdb.hp/compiler.cc: new file.
6272         * gdb.hp/execd-program.c: new file.
6273         * gdb.hp/follow-exec.c: new file.
6274         * gdb.hp/follow-fork.c: new file.
6275         * gdb.hp/follow-vfork-and-exec.c: new file.
6276         * gdb.hp/misc-hp.cc: new file.
6277         * gdb.hp/more-steps.c: new file.
6278         * gdb.hp/optimize.c: new file.
6279         * gdb.hp/quicksort.c: new file.
6280         * gdb.hp/run-hp.c: new file.
6281         * gdb.hp/start-stop.c: new file.
6282         * gdb.hp/sum.c: new file.
6283         * gdb.hp/templates-hp.cc: new file.
6284         * gdb.hp/thread-local-in-lib.c: new file.
6285         * gdb.hp/thread-local-in-lib.h: new file.
6286         * gdb.hp/thread-local-in-lib.lib.c: new file.
6287         * gdb.hp/vforked-program.c: new file.
6288         * gdb.hp/virtfunc-hp.cc: new file.
6289         * gdb.hp/watchpoint-hp.c: new file.
6290         * gdb.hp/xdb.c: new file.
6291         * gdb.hp/xdb0.c: new file.
6292         * gdb.hp/xdb0.h: new file.
6293         * gdb.hp/xdb1.c: new file.
6294
6295 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
6296
6297         The following change was made by Edith Epstein
6298         <eepstein@cygnus.com> as part of a project to merge in changes
6299         originally made by HP; HP did not create ChangeLog entries.
6300
6301         * gdb.c++/demangle.exp: changed the expected output for some
6302         ARM-style mangling -- removed second reference to datatype.
6303         For example, maint demangle __dt__11T1__pt__2_cFv
6304                      T1<char>::~T1<char>(void)
6305         becomes,
6306                      maint demangle __dt__11T1__pt__2_cFv
6307                      T1<char>::~T1(void)
6308
6309         (test_hp_style_demangling): new hp specific demangling test cases.
6310
6311 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
6312
6313         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6314         * gdb.trace/backtrace.exp: Likewise.
6315         * gdb.trace/circ.exp: Likewise.
6316         * gdb.trace/collection.exp: Likewise.
6317         * gdb.trace/deltrace.exp: Likewise.
6318         * gdb.trace/infotrace.exp: Likewise.
6319         * gdb.trace/limits.exp: Likewise.
6320         * gdb.trace/packetlen.exp: Likewise.
6321         * gdb.trace/passc-dyn.exp: Likewise.
6322         * gdb.trace/passcount.exp: Likewise.
6323         * gdb.trace/report.exp: Likewise.
6324         * gdb.trace/save-trace.exp: Likewise.
6325         * gdb.trace/tfind.exp: Likewise.
6326         * gdb.trace/tracecmd.exp: Likewise.
6327         * gdb.trace/while-dyn.exp: Likewise.
6328         * gdb.trace/while-stepping.exp: Likewise.
6329
6330 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
6331
6332         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6333
6334 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
6335
6336         From Brendan Kehoe:
6337         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6338         int return types.
6339
6340 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
6341
6342         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6343         remote dos host testing right.
6344
6345 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
6346
6347         * gdb.base/corefile.exp: remove some xfails.
6348
6349 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
6350
6351         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6352         have different timestamps.
6353
6354 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
6355
6356         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6357         gdb.base/default.exp: Replace "exec" with "executable".
6358
6359 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
6360
6361         * gdb.base/default.exp: Change else if to elseif from previous
6362         delta.
6363
6364 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
6365
6366         * gdb.base/default.exp: Add brace missing from previous delta.
6367
6368 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
6369
6370         * gdb.base/default.exp: Support test for info float for all
6371         varieties of arm toolchain.
6372
6373 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
6374
6375         * gdb.trace/*.exp: remove "remote_download" command.
6376
6377 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
6378
6379         * gdb.trace/*.exp: remove -gdwarf from compile.
6380
6381 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
6382
6383         * gdb.trace/configure.in(AC_INIT): typo
6384         * gdb.trace/configure: regenerated
6385
6386 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
6387
6388         * config/m68k-emc.exp: New file.
6389         * lib/<emc-support.exp trace-support.exp}: New files.
6390         * configure.in: add new test directory gdb.trace.
6391         * gdb.trace/{configure configure.in Makefile.in}: New files.
6392         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6393         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6394         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6395         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6396         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6397         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6398         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
6399
6400 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
6401
6402         * gdb.c++/classes.exp: Change all regular expressions to match
6403         arbitrary combinations of newline/carriage-return, so that they
6404         will work equally well on Unix and Windows.
6405         * gdb.c++/inherit.exp: ditto.
6406         * gdb.c++/virtfunc.exp: ditto.
6407
6408 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
6409
6410         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6411
6412 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
6413
6414         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6415         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
6416         to use a0-a3/d0-d3 as needed.
6417
6418 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
6419
6420         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6421         * gdb.disasm/am33.exp: Corresponding changes.
6422
6423 1998-07-11  Felix Lee  <flee@cygnus.com>
6424
6425         * gdb.base/callfuncs.exp: add cmp10 test.
6426         * gdb.base/callfuncs.c (cmp10): new function.
6427
6428 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
6429
6430         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
6431         into two parts to get around a synchronization problem in expect.
6432
6433 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
6434
6435         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6436
6437         * configure.in: Add options for gdbtk testsuite.
6438
6439         * configure: Regenerate.
6440
6441         * gdb.gdbtk: New directory to hold gdbtk tests.
6442
6443 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
6444
6445         * gdb.fortran/types.exp:  Escape brackets in expect patterns
6446         for test_float_literal_types_accepted tests.
6447         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
6448         before run test.
6449
6450 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
6451
6452         * am33.exp: Just compile, do not link the testcase.
6453         * am33.s: Add ".am33" pseudoop to force am33 mode.
6454
6455 1998-06-25  Felix Lee  <flee@cygnus.com>
6456
6457         * gdb.base/setshow.exp: make sure $pc is sane.
6458
6459         * gdb.stabs/weird.exp: split expect patterns properly.
6460
6461 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
6462
6463         * gdb.disasm/am33.s: New disassembler testfile for the am33.
6464         * gdb.disasm/am33.exp: Run it.
6465
6466 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
6467
6468         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6469         match processing (and eliminate spurious timeouts when running).
6470
6471 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
6472
6473         * gdb.base/signals.exp (test_handle_all_print): put back Mach
6474         exception test, but conditionalize it on target [mach | gnu].
6475
6476 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
6477
6478         * gdb.base/overlays.exp: fixup compile line for linker script.
6479
6480 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
6481
6482         * gdb.fortran/types.exp: don't guess at float size.
6483
6484 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
6485
6486         * gdb.base/exprs.exp: delete test that depends on int size.
6487
6488 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
6489
6490         * config/sim.exp: Removed checks for target triplets.
6491         (gdb_target_sim): Use gdb,target_sim_options.
6492
6493 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
6494
6495         * gdb.base/reread.exp: New file.
6496         * gdb.base/reread1.c: New file.
6497         * gdb.base/reread2.c: New file.
6498
6499 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
6500
6501         * config/sim.exp: Use 'target sim -sparclite' when running
6502         SPARClite programs.
6503
6504 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
6505
6506         * gdb.base/structs2.exp: New file.
6507         * gdb.base/structs2.c: New file.
6508
6509 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
6510
6511         * gdb.asm/common.inc: New file.
6512         * gdb.asm/d10v.inc: New file.
6513         * asm-source.exp: Pass -I's to gas to find .inc files.
6514         Update line numbers in expected output.
6515         * asmsrc1.s: Rewrite.
6516         * asmsrc2.s: Rewrite.
6517         * configure.in: Create arch.inc symlink.
6518         * configure: Regenerate.
6519         * Makefile.in (distclean): Delete arch.inc.
6520
6521 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
6522
6523         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
6524         (t_enum_value2): ditto
6525         (t_enum_value3): ditto
6526         (main): ditto
6527 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
6528
6529         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
6530         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6531         change.
6532         Use gdb_test instead of send_gdb/gdb_expect sequences.
6533
6534 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
6535
6536         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6537         not void.
6538
6539 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
6540
6541         * gdb.base/branches.c: Code with lots of loops and
6542         subroutines. Used to test gdbs ability to single step through PC
6543         changes, especially to test mips-tdep.c:mips_next_pc
6544
6545 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6546
6547         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6548         more rigorous EGCS C++ error checking.
6549
6550 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
6551
6552         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
6553         tests.
6554         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
6555         function when asleep.
6556         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
6557         for i*86 Linux and SVR4 signal handling problems.
6558         Remove linux xfail for `next to handler in signals_tests_1', fixed
6559         by recent infrun.c change.
6560         Limit backtrace to 10 frames to avoid timeout problems with infinite
6561         stack backtraces.
6562         Adjust expect pattern in `handle all print' test to match Apr 28 1997
6563         target.[ch] change.
6564
6565 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
6566
6567         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6568         for a newline from gdb before continuing.
6569         (default_gdb_exit): Just look for y or n.
6570         (gdb_test): Detect abnormal exit from GDB running on DOS; if
6571         it does, fail the rests of the tests in the file.
6572
6573 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
6574
6575         * config/cygmon.exp: New file.
6576
6577 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
6578
6579         * gdb.base/list.exp: Fix problem with "list default lines around
6580         main" test on remote targets.
6581
6582         * gdb.base/scope.exp: Fix problem with filelocal_bss before
6583         run test on remote targets.
6584
6585 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
6586
6587         * gdb.asm: New directory.
6588         * configure.in: Configure it.
6589         * configure: Regenerate.
6590         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6591         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6592
6593 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
6594
6595         * config/mn10300-eval.exp: New file to support MN10300 eval board.
6596
6597 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
6598
6599         * gdb.base/overlays (several files): Merge the two overlay
6600         managers into one.  Change variables (foox, barx, bazx, grbxx)
6601         back into ints but force them to load in their proper sections.
6602
6603 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
6604
6605         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6606         on-chip insn memory and IMAP1 to upper 128k.
6607         (D10VCopy): Handle memory regions crossing 16k boundaries.
6608         (D10VCopy): Transfer data in 32 bit chunks.
6609
6610 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
6611
6612         * gdb.base/overlays.c (main): Exit normally when result is
6613         correct.
6614
6615         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6616         map.  Include space for printf in .text segment.
6617
6618         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6619         updated d10v memory VMA/LMA map.
6620         (D10VCopy): Call D10VTranslate.
6621
6622 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
6623
6624         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6625
6626         * gdb.base/bar.c (barx, bar): Change variable to small array so
6627         that it won't be put into the .sdata - small data -
6628         section. Update reference.
6629         * gdb.base/baz.c (bazx, baz): Ditto.
6630         * gdb.base/foo.c (foox, foo): Ditto.
6631         * gdb.base/grbx.c (grbxx, grbx): Ditto.
6632
6633         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6634         to be arrays.
6635
6636 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
6637
6638         * gdb.base/overlays.exp: fix up and get working again.
6639         Add tests for backtraces from an overlay function.
6640
6641 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
6642
6643         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6644         "calling function with watchpoint enabled".
6645
6646 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
6647
6648         * gdb.base/break.exp (test_next_with_recursion): Remove
6649         gdb_suppress_tests for d10v-*-*.
6650         * lib/gdb.exp (gdb_suppress_tests): Disable this function
6651         pending review of whether it is useful or not.
6652
6653 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
6654
6655         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6656
6657 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
6658
6659         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6660         * config/dve.exp: New file to support Densan boards.
6661
6662 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
6663
6664         * gdb.base/interrupt.exp: Document problem of simulators, signals,
6665         reads and BSD.
6666
6667 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
6668
6669         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6670         response.
6671
6672         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6673
6674 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
6675
6676         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6677         test.
6678
6679         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6680         target_sizeof_long and target_bigendian_p.
6681         (structs_by_value, structs_by_reference): Check values according
6682         to targets word size and endianess.
6683
6684 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
6685
6686         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6687         output.
6688
6689 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
6690
6691         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6692         Update test of set args help to match source change.
6693
6694 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
6695
6696         * gdb.base/default.exp: Expect help system output to be in
6697         alphabetical order.
6698         * gdb.base/help.exp: Ditto.
6699
6700 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
6701
6702         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6703         "i*86-pc-linux-gnu*".
6704         * gdb.base/interrupt.exp: Ditto.
6705         * gdb.base/corefile.exp: Ditto.
6706
6707         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6708         define vxworks when building the testcase.
6709
6710         * gdb.base/ptype.exp: Fix testnames to be unique.
6711         * gdb.base/radix.exp: Ditto.
6712         * gdb.base/term.exp: Ditto.
6713         * gdb.base/whatis.exp: Ditto.
6714         * gdb.c++/classes.exp: Ditto.
6715
6716 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
6717
6718         * gdb.base/callfuncs.exp: Fix indentation.
6719
6720         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6721         suppress_flag has been set.
6722         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6723         target feature.
6724
6725 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
6726
6727         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6728         the testcase.
6729
6730         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6731         set_debug_traps() and breakpoint().
6732         * gdb.c++/misc.cc (main): Ditto.
6733         * gdb.c++/templates.cc (main): Ditto.
6734         * gdb.c++/virtfunc.cc (main): Ditto.
6735
6736 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
6737
6738         * lib/gdb.exp(gdb_step_for_stub): New function.
6739         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6740         exists, reload the executable and do a "continue" instead of
6741         doing a jump.
6742         (runto_main): Use gdb_step_for_stub.
6743
6744         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6745         tests to have unique names.
6746         * gdb.base/callfuncs.exp: Ditto.
6747         * gdb.base/commands.exp: Ditto.
6748         * gdb.base/default.exp: Ditto.
6749         * gdb.base/help.exp: Ditto.
6750         * gdb.base/list.exp: Ditto.
6751         * gdb.base/opaque.exp: Ditto.
6752         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6753         similar tests.
6754
6755         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6756         * gdb.c++/cplusfuncs.cc: Ditto.
6757         * gdb.c++/virtfunc.cc: Ditto.
6758
6759         * config/monitor.exp: Keep track of the last file we saw, rather
6760         than trying to get the info from gdb.
6761
6762         * gdb.fortran/types.exp: Move comment to previous line.
6763
6764 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
6765
6766         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6767         target mode.
6768
6769 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
6770
6771         From Bob Manson:
6772         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6773         string from GDB when it connects.
6774
6775         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6776
6777 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
6778
6779         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6780         if we can't get a debug format from GDB (we may be testing an
6781         older GDB). Use a 10 second timeout when checking for the format.
6782
6783         * gdb.stabs/weird.exp: Fix quoting.
6784
6785         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6786
6787 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
6788
6789         * config/arm-ice.exp: New file.
6790
6791 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
6792
6793         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6794         until it has been modified to work with the new testsuite.
6795
6796         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
6797         testcase won't compile, cause all of the testcases in the file to
6798         fail instead.
6799
6800         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6801         (gdb_clear_suppressed): New procedure.
6802         (gdb_stop_suppressing_tests): Only clear suppress_flag if
6803         it contains a positive value.
6804
6805 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
6806
6807         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6808
6809         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6810
6811 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
6812
6813         * lib/gdb.exp (setup_xfail_format): New function.
6814         (get_debug_format): New function to get debug format.
6815         (debug_format): New global variable to hold last value set
6816         by get_debug_format.
6817         * gdb.base/list.exp: Call get_debug_format and expect some
6818         tests to fail for DWARF 1 and COFF formats.
6819         * gdb.c++/ptype.exp: Ditto.
6820         * gdb.c++/classes.exp: Ditto.
6821         * gdb.c++/cplusfuncs.exp: Ditto.
6822         * gdb.c++/inherit.exp: Ditto.
6823         * gdb.c++/templates.exp: Ditto.
6824         * gdb.c++/virtfunc.exp: Ditto.
6825
6826 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
6827
6828         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6829         host doesn't have a currently-open connection.
6830
6831         * config/sparclet.exp: Cleanups and fixes to make it generic for
6832         any gdb stub target. Handle cases where gdb doesn't respond when
6833         interrupted in a sane fashion.
6834
6835         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6836         same thing in a totally different way.
6837
6838         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6839         setting "timeout".
6840         (gdb_start): We set the global gdb_prompt variable in
6841         default_gdb_init now.
6842
6843 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
6844
6845         * gdb.base/printcmds.exp: Fix "check for floating addition"
6846         regexp to accept results within approx +/- .01 of exact value.
6847         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6848
6849 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
6850
6851         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6852         properly.
6853         (gdb_expect): Add optional timeout parameter, and add timeout
6854         value to various calls.
6855         (gdb_suppress_tests): Only give one warning message per group.
6856
6857 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
6858
6859         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6860         global variables. Handle getting a value for $timeout more
6861         gracefully.
6862
6863 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
6864
6865         * lib/gdb.exp: Close connection to remote host if gdb doesn't
6866         initialize.
6867         (default_gdb_init): New procedure; allow gdb_init to be overridden
6868         by a target configuration file.
6869         (gdb_expect): Pass the timeout to remote_expect.
6870
6871         * config/monitor.exp(gdb_load): Fix typo in regexp.
6872
6873 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
6874
6875         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6876
6877 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
6878
6879         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6880         here. Call gdb_target_exec before rebooting the target, to make
6881         sure the connection to the target is closed.
6882         (gdb_load): Pass the name of the executable to gdb_target_monitor.
6883         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6884         Also detect "Timeout reading from remote" error.
6885
6886         * config/gdbserver.exp: Pass the executable being loaded to
6887         gdb_target_monitor. Don't call gdb_file_cmd here; let
6888         gdb_target_monitor do it.
6889
6890         * gdb.disasm/hppa.exp: Don't use exec_output.
6891
6892 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
6893
6894         * gdb.base/list.exp: If we're debugging a non-native target,
6895         try to set the pc register to point to the start of the
6896         program before doing the first list command.
6897
6898         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6899         test_calls after restarting.
6900
6901         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6902         reloading.
6903
6904         * gdb.base/watchpoint.exp: Fix typo.
6905
6906         * gdb.base/setshow.exp: Check for use_gdb_stub.
6907
6908         * gdb.base/break.exp: Fix continue until exit test for the gdb
6909         stub case.
6910         * gdb.base/langs.exp: Ditto.
6911
6912         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6913         gdb_load_offset. If we weren't given a file to load, figure out
6914         what the current file is and use it.
6915
6916         * config/i386-bozo.exp: New file.
6917
6918 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
6919
6920         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6921         feature.
6922
6923         * config/proelf.exp: New entry.
6924
6925 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
6926
6927         * lib/gdb.exp: Remove spurious .* patterns at the beginning
6928         of regexps.
6929
6930         * gdb.base/watchpoint.exp: Don't run the test_stepping
6931         tests if gdb can't call functions on the target.
6932
6933         * gdb.base/setshow.exp: Don't run the set prompt tests if
6934         the board has gdb_prompt set.
6935
6936 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
6937
6938         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6939         * gdb.base/commands.exp: Likewise.
6940         * gdb.base/setshow.exp: Likewise.
6941
6942 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
6943
6944         * config/monitor.exp(gdb_start): Look for gdb_prompt target
6945         feature.
6946
6947         * config/i960.exp: New file.
6948
6949 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
6950
6951         * gdb.base/funcargs.exp: Check for gdb,short_int target
6952         feature instead of looking for explicit target triplets.
6953
6954 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
6955
6956         * gdb.base/printcmds.exp: add a couple more tests a la
6957         "p 123DEADBEEF", to check parse_number.
6958         * top.c: change "to enable to enable" to "to enable" in a couple
6959         of help strings.
6960
6961 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
6962
6963         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6964         on the mn10300.
6965
6966 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
6967
6968         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6969         where the test executable is run with explicit args.
6970         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6971
6972 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
6973
6974         * gdb.base/run.c: Use FAKEARGV to build test executable that
6975         does not require a command line arg, since most simulators
6976         don't currently support passing such an arg into the simulated
6977         program.
6978         * gdb.base/commands.exp: Change tests to insert the proper
6979         value as the arg to the first recursive factorial call.  Change
6980         compilation line to define FAKEARGV at compile time.
6981
6982 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
6983
6984         * gdb.base/recurse.exp: Enable these tests for the mn10300.
6985         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6986         function with watchpoint enabled" test.
6987
6988 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
6989
6990         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6991         Don't call gdb_test when the command doesn't return to a gdb prompt.
6992
6993         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6994         "Tests restarted" messages.
6995
6996 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
6997
6998         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6999
7000 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
7001
7002         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7003         for INFO SYMBOL; add help tests for OVERLAY commands.
7004         * gdb.base/default.exp: add tests for INFO SYMBOL command;
7005         add tests for OVERLAY commands
7006         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7007         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7008         * gdb.base/sigall.c: add usestubs code frag
7009         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
7010
7011 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
7012
7013         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7014         failures.
7015         (gdb_stop_suppressing_tests): Note that tests have restarted.
7016
7017 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
7018
7019         * config/h8300.exp: New file.
7020
7021 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
7022
7023         * gdb.base/setshow.exp: Check for the existence of a
7024         feature, not its value.
7025
7026 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
7027
7028         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7029
7030         * gdb.base/scope.exp: It's now init0(), not init().
7031
7032         * gdb.base/scope0.c: For now, change init() to be init0().
7033
7034         * config/monitor.exp: Use gdb_serial in preference to serial
7035         or netport.
7036
7037         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7038         and it's not already set.
7039
7040 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
7041
7042         * gdb.base/setshow.exp: Only test the run command if the target
7043         isn't using a stub and if it supports argument passing.
7044
7045 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
7046
7047         * config/udi.exp(gdb_start): Make sure UDICONF is set
7048         properly before starting gdb.
7049
7050 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
7051
7052         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7053         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7054         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7055
7056 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
7057
7058         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7059         specialized code to reboot the board, use remote_reboot instead.
7060
7061         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7062
7063         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7064
7065         * config/monitor.exp: Make sure we disconnect from the target.
7066         Also, try a reboot/reload cycle instead of failing if the
7067         load fails.
7068
7069 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
7070
7071         * gdb.base/default.exp: Don't set match_max.
7072         * gdb.base/help.exp: Ditto.
7073         * gdb.base/list.exp: Ditto.
7074         * gdb.base/signals.exp: Ditto.
7075
7076         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7077         set, use remote_ld to download the testcase instead of
7078         the GDB loader.
7079
7080 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
7081
7082         * config/vr5000.exp: New file.
7083
7084         * config/monitor.exp(gdb_target_monitor): Add pattern for
7085         "Ending remote" to detect errors in connecting.
7086
7087         * gdb.base/setshow.exp: Add .* within auto language test.
7088
7089         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7090         target feature.
7091
7092         * config/monitor.exp(gdb_load): Check for a failure when loading,
7093         and reboot the board if necessary.
7094
7095         * gdb.base/setvar.exp(test_set): Handle multiple prints within
7096         a set of tests. Remove print.* from the patterns being checked.
7097
7098 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
7099
7100         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7101         refer to gdb_spawn_id.
7102
7103         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7104         longer used.
7105         * config/sparclet.exp: Ditto.
7106         * config/sparclet-old.exp: Ditto.
7107         * config/slite.exp: Ditto.
7108         * config/sim.exp: Ditto.
7109         * gdb.base/funcargs.exp: Ditto.
7110
7111         * lib/gdb.exp:Remove references to gdb_spawn_id.
7112         (gdb_expect): Move to remote.exp.
7113
7114 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
7115
7116         * config/monitor.exp: Detect the "Couldn't establish connection"
7117         message from GDB.
7118
7119 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
7120
7121         * gdb.base/bitfields.exp: Use runto instead of explicit
7122         gdb_run_cmd/gdb_expect sequences.
7123
7124         * gdb.base/break.exp(text_next_with_recursion): Add match for
7125         gdb_expect call.
7126
7127         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7128         We also need to handle the "A program is being debugged already"
7129         prompt from gdb. Use gdb_test to set the baud rate.
7130
7131         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7132         to 20000. Really. I mean it.
7133
7134 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
7135
7136         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7137         fails. If suppress_flag is set, skip perror message about not
7138         being able to send to GDB.
7139         (send_gdb): If suppress_flag is set, don't try to send commands to
7140         GDB.
7141         (gdb_expect): If suppress_flag is set, always fail immediately.
7142         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7143         (gdb_init): Call gdb_stop_suppressing_tests.
7144         (default_gdb_exit): Ditto.
7145         (default_gdb_start): Ditto.
7146
7147         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7148         gdb_stop_suppressing_tests as appropriate.
7149         * gdb.base/break.exp: Ditto.
7150         * gdb.base/callfuncs.exp: Ditto.
7151         * gdb.base/commands.exp: Ditto.
7152         * gdb.base/exprs.exp: Ditto.
7153         * gdb.base/funcargs.exp: Ditto.
7154         * gdb.base/list.exp: Ditto.
7155         * gdb.base/recurse.exp: Ditto.
7156         * gdb.base/scope.exp:  Ditto.
7157         * gdb.base/structs.exp: Ditto.
7158         * gdb.c++/inherit.exp: Ditto.
7159
7160 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
7161
7162         * config/vr4300.exp: New file.
7163
7164         * gdb.*/*.exp: Call gdb_expect instead of expect.
7165
7166         * lib/gdb.exp(gdb_expect): New function.
7167
7168 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
7169
7170         * lib/gdb.exp(gdb_init): New function.
7171
7172         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7173         for each individual variable set.
7174
7175         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7176         name.
7177
7178         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7179
7180         * gdb.base/scope.exp: Use gdb_test.
7181
7182         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7183         aborting; the testsuite driver will do that for us (see
7184         gdb_finish). Also, use gdb_test in a few more places.
7185
7186 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
7187
7188         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7189
7190 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
7191
7192         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7193         and "add_tests" are not at the same address.
7194
7195 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
7196
7197         * gdb.base/ptype.exp: Use gdb_test.
7198
7199 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
7200
7201         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7202         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7203         left in.  No longer expect them to fail.
7204
7205         * gdb.stabs/*.mt; Deleted, no longer used.
7206         * gdb.stabs/configure.in: Remove references to target makefile
7207         frags.
7208         * gdb.stabs/configure: Rebuilt.
7209
7210         * gdb.disasm/*.mt: Deleted, no longer used.
7211         * gdb.disasm/configure.in: Remove references to target makefile
7212         frags.  Use "sh3.s" as the unique filename for this directory.
7213         * gdb.disasm/configure: Rebuilt.
7214
7215         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7216         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7217         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7218
7219 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
7220
7221         * config/udi.exp: Use mondfe,name instead of remote_host.
7222
7223 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
7224
7225         * gdb.base/watchpoint.exp: Don't expect a failure when calling
7226         a function with a watchpoint enabled on the mn10200.
7227
7228         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7229         before trying to create it!
7230
7231 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
7232
7233         * config/vx.exp: Use hostname instead of netport.
7234
7235         * config/vxworks.exp: New file.
7236
7237         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7238
7239         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7240         gdb before assuming everything worked. Send a ^C if a timeout
7241         occurs.
7242
7243         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7244         $gdb_spawn_id directly.
7245         (gdb_run_cmd): Try _start as well as start. Use the target feature
7246         gdb,start_symbol as the symbol to start from when jumping.
7247
7248 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
7249
7250         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7251         redundant) test.
7252
7253         * gdb.base/recurse.exp: Relax final value test for 'b' so that
7254         it doesn't lose for 16bit integer systems.
7255
7256 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
7257
7258         * gdb.fortran/types.exp: If the target doesn't support "double"
7259         data types, then expect "real" types to only be 4 bytes.
7260
7261         * gdb.c++/virtfunc.exp: Expect failure for virtual function
7262         call tests if the target doesn't support inferior function calls.
7263
7264         * gdb.base/printcmds.exp: Allow minor deviation in FP values
7265         in printf tests.
7266
7267 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
7268
7269         * gdb.base/help.exp: Disable "help set", "help show", and
7270         "help support".  Simplify regexp for "help stack".
7271
7272         * gdb.base/default.exp: Set match_max to 5000 and the timeout
7273         to 60 seconds.  Temporarily set match_max to 15000 around the
7274         "info copying" test.
7275
7276         * gdb.base/nodebug.exp: Don't try to do an inferior function
7277         call if the target doesn't support them.
7278         * gdb.base/printcmds.exp: Likewise.
7279         * gdb.base/setvar.exp: Likewise.
7280         * gdb.base/structs.exp: Likewise.
7281         * gdb.c++/templates.exp: Likewise.
7282         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
7283
7284         * gdb.base/recurse.exp: Enable for the mn10200.
7285
7286         * configure.in: Do configure gdb.stabs directory for *-*-elf
7287         targets.
7288         * configure: Rebuilt.
7289
7290         * gdb.base/break.exp: Check for gdb,noresults before testing
7291         exit status and/or results from the target.
7292         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7293         * lib/gdb.exp: Remove old (now bogus) initialization of
7294         noinferior, noargs, noresults and nosignals.
7295
7296 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
7297
7298         * config/sh.exp: New file.
7299
7300         * config/slite.exp: Try to connect multiple times to the board
7301         before rebooting. Only send a "monitor run" if need_monitor_run
7302         is set.
7303
7304         * gdb.base/break.exp: Don't do the "stub continue" test if
7305         the target has gdb_stub set.
7306
7307         * gdb.base/callfuncs.exp: Increase the timeout.
7308
7309         * gdb.base/interrupt.exp: Don't even try to compile the testcase
7310         if the target has gdb,noinferiorio set.
7311
7312         * gdb.base/list.exp: Increase match_max to 10000 characters.
7313
7314         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7315
7316         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7317         target.
7318
7319         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7320
7321 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
7322
7323         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7324         trying to delete the copy of gdb. Catch the file delete so we
7325         don't die if the delete fails; also, the file should be copied to
7326         the host, not to the build.
7327
7328 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
7329
7330         * lib/gdb.exp(gdb_test): Surround the result pattern with
7331         parenthesis in case it contains multiple regexps separated
7332         with |.
7333
7334         * gdb.base/watchpoint.exp: Use gdb_test.
7335         * gdb.base/default.exp: Ditto.
7336
7337 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
7338
7339         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
7340
7341         * gdb.base/scope.exp: Use gdb_test.
7342         * gdb.c++/classes.exp: Ditto.
7343         * gdb.c++/inherit.exp: Ditto.
7344
7345 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
7346
7347         * gdb.base/crossload.exp: Don't use execute_anywhere, use
7348         remote_exec instead.
7349         * gdb.base/corefile.exp: Don't be ridiculous.
7350         * gdb.base/*.c: Add missing stub invocations.
7351
7352 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
7353
7354         * config/slite.exp: Miscellaneous fixes.
7355
7356         * lib/gdb.exp: Fix runto.
7357
7358         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7359         the target.
7360
7361         * gdb.base/watchpoint.exp: Fix regexp.
7362
7363         * lib/gdb.exp(default_gdb_exit): Add a catch to the
7364         close and wait commands, as the descriptor may now be
7365         invalid. Always call "remote_close host".
7366
7367 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
7368
7369            Major rewrite for testsuite revision.
7370
7371         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7372         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7373         instead of relying on spawn_id to always contain a valid
7374         spawn id.
7375         (get_compiler_info): New procedure to build the ${binfile}.ci
7376         file, instead of replicating this in N different places.
7377         (gdb_compile): New procedure.
7378
7379         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7380         appropriate arguments) instead of compile. Use gdb_test in a lot
7381         more places.  Use send_gdb instead of send. Always run gdb_start
7382         at the start of a testcase, as this is no longer done magically.
7383
7384         config/*-gdb.exp: Rename without the -gdb suffix.
7385
7386         config/mips.exp: Use remote_close instead of exit_remote_shell.
7387         config/monitor.exp: Use target_info instead of looking at
7388         baud, timeout, etc.
7389         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7390
7391 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
7392
7393         * gdb.c++/templates.exp (test_ptype_of_templates),
7394         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7395         Update expect patterns for destructors and assignment operators
7396         to match corresponding c-typeprint.c changes.
7397         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
7398         to destructor breakpoint test, GDB should be able to set the
7399         destructor breakpoint without specifying arguments.
7400
7401 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
7402
7403         * gdb.threads/pthreads.exp: Change result for failure to compile due
7404         to lack of pthreads runtime support from an error to simply an
7405         unsupported test, per dejagnu standards.
7406
7407 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
7408
7409         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
7410         where GDB exits to reduce pattern match time.
7411         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
7412
7413         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
7414
7415 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
7416
7417         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7418         * gdb.base/default.exp:   ditto.
7419         * gdb.base/nodebug.exp:   ditto.
7420         * gdb.base/printcmds.exp: ditto.
7421         * gdb.base/ptype.exp:     ditto.
7422         * gdb.base/setvar.exp:    ditto.
7423         * gdb.base/structs.exp:   ditto.
7424         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
7425
7426 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
7427
7428         * configure, */configure: Rebuild with autoconf 2.12.
7429
7430 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
7431
7432         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7433         use new i*86-pc-linux*-gnu quads.
7434         * gdb.base/corefile.exp: Ditto.
7435         * gdb.base/signals.exp: Ditto.
7436         * gdb.base/sigall.exp: Ditto.
7437         * gdb.base/interrupt.exp: Ditto.
7438
7439         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7440         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
7441         RedHat 4.0.
7442
7443         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7444         linux.  This allows the test case to at least compile on latest
7445         linux, but still not run due to missing the threads runtime library.
7446
7447 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
7448
7449         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
7450         directory to search gdb directory. Accept and step over conditional
7451         stack alignment code. Consume $prompt in failure cases.
7452         Reset timeout to $oldtimeout instead of some arbitrary value.
7453         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
7454         timeout problems with infinite stack backtraces.
7455         * gdb.base/ptype.exp (ptype struct link, union tu_link):
7456         Accept function parameters for linkfunc member.
7457
7458 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
7459
7460         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7461         (CXXFLAGS): Remove, unreferenced.
7462         (B_OPTIONS): Add for -B options and add code to initialize with
7463         previous -B options and also add -B option to pick up cross compiled
7464         runtime.
7465         (TARGET_INCLUDES): Add for -I options and add code to initialize when
7466         doing cross compiles.
7467         (target_alias): Declare global.
7468         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
7469         to verify that gcc exists in build tree, and if so set CC to that
7470         gcc and to use B_OPTIONS and TARGET_INCLUDES.
7471
7472 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
7473
7474         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7475         ptype test for anonymous union.  Fixup testcase to match
7476         current gcc debug output.
7477
7478 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
7479
7480         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7481         force argument to an unsigned long type.
7482
7483 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
7484
7485         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7486         tests and anonymous union print/ptype tests.
7487         * gdb.base/list.exp (test_forward-search): Increase timeout by
7488         5 minutes for the "search extremely long line" case.
7489         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7490         completely optional and that the pass/fail messages use the command as
7491         the message if that third arg is a null string.
7492         (gdb_test_exact):  Arrange that a null string pattern means match a
7493         null string output rather than any output, which might include random
7494         errors.
7495         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7496         backtrace test.
7497         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7498         always failing and failure is now exposed by gdb.exp changes.
7499
7500 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
7501
7502         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7503         weren't being noted.
7504
7505 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
7506
7507         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
7508         * gdb.stabs/weird.exp:  Remove v_comb xfails.
7509
7510 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
7511
7512         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7513                     list.exp scope.exp watchpoint.exp]
7514           Make all timeout error msgs explicitly say "(timeout)".
7515
7516 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
7517
7518         * config/monitor.exp: Increase download timeout to 1000 seconds.
7519
7520 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
7521
7522         * config/m32r.exp: Increase timeout to 120 seconds.
7523
7524 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
7525
7526         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7527         and accept older ordering as obsolescent gcc or gdb.
7528         * gdb.c++/templates.exp: Ditto.
7529         * gdb.c++/virtfunc.exp: Ditto.
7530
7531 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
7532
7533         * gdb.base/coremaker.c: Add code to mmap some data so we
7534         can check that it ends up in the core file.
7535         * gdb.base/corefile.exp: Add test to read mmapped data
7536         from core file.
7537
7538 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
7539
7540         * config/m32r.exp: New file.
7541
7542 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
7543
7544         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
7545         that cflags can contains -gstabs, and work correctly for other tests.
7546
7547 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
7548
7549         * gdb.base/setshow.exp: New file, tests show and set.
7550         * gdb.base/setshow.c:   New file, tests show and set.
7551         * gdb.base/help.exp: Add test for help set|show annotate.
7552         * gdb.base/default.exp: Add test for set|show annotate.
7553
7554 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
7555
7556         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
7557         errors unique.
7558         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
7559         explicitly.
7560
7561 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
7562
7563         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
7564         and width commands.  This is done elsewhere.
7565         * (gdb_start):  Don't call gdb_start_sim here.  That's already
7566         done in gdb_load.  This fixes lots of failures in default.exp.
7567
7568 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
7569
7570         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7571         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7572         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7573         in the same we we treat other failures (since it may be an expected
7574         condition), rather than as an error.
7575         * gdb.base/signals.exp (test_handle_all_print): Revert back to
7576         old test format.
7577
7578 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
7579
7580         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7581         (distclean maintainer-clean realclean): No need to remove files
7582         twice.  Nuke the duplicates.
7583         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
7584         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
7585         Remove config.h along with other config files.
7586
7587 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
7588
7589         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7590         "p func1 ()" and note that rests of tests are skipped.
7591         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7592         setup_xfails for "print func2::coremaker_local".
7593         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7594         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7595         affected by the previous run test.
7596         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7597         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7598         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7599         "pass int powerset tuple" and "pass modeless int powerset tuple".
7600         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7601         "real write 4" and "real write 8".
7602         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7603         setup_xfails for "print vs1 after tuple assign 2",
7604         "print \$i after tuple assign 2", and
7605         "print vs2 after tuple assign 2".
7606         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7607         meaningful error message and return -1 so the caller can
7608         suppress further tests and avoid a cascade of errors.
7609
7610 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
7611
7612         * gdb.base/a1-selftest.exp: Tweak tests to account for new
7613         format for printing version.
7614         * gdb.base/default.exp: Ditto.
7615         * gdb.base/interrupt.exp: Fix problem with cascade of
7616         errors if child process dies while calling a function.
7617
7618 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
7619
7620         * Makefile.in (VPATH): Add
7621         * Makefile.in (Makefile, config.status): Fix rules so things get
7622         remade when necessary.
7623
7624 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
7625
7626         * Makefile.in (just-check): Add path to sibling expect dir
7627         to environment variable specified by RPATH_ENVVAR.
7628
7629 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
7630
7631         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7632         (just-check): Add shared library paths for libstdc++, tk,
7633         tcl, bfd, and opcodes to the environment variable specified
7634         in RPATH_ENVVAR.
7635         * configure.in: Add support to recognize --enable-shared flag
7636         and generate correct value for RPATH_ENVVAR.
7637         * configure: Regenerated with autoconf.
7638
7639 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
7640
7641         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7642         include all osf versions.
7643         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7644         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
7645         when target is linux.  When failing to build pthreads test
7646         executable, give more meaningful message.
7647         * gdb.threads/pthreads.c: Hpux also uses old definition of second
7648         arg for pthread_create.
7649
7650 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
7651
7652         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7653         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7654         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7655         and -lpthreads (everybody else).
7656         (test_startup): Fail gracefully if threads are not supported.
7657         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7658         "p/c array_index("abcdef",2)" when not gcc compiled.
7659         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7660         "print func2::coremaker_local" when not gcc compiled.
7661         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7662         "ptype on opaque struct tagname (statically)",
7663         "ptype on opaque struct tagname (dynamically) 1", and
7664         "ptype on opaque struct tagname (dynamically) 2"
7665         for not compiled with gcc.
7666         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7667         backtrace when compiled with gcc.
7668         * lib/gdb.exp (runto_main): Return result of "runto main" rather
7669         than always return success.
7670
7671 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
7672
7673         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7674
7675 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
7676
7677         * gdb.base/structs.exp: Undo last change.
7678
7679 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
7680
7681         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7682         encapsulate all the steps/nexts done during self test, starting
7683         at main, and makes them less sensitive to optimization issues.
7684         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7685         signal handler" test.
7686         * gdb.threads/pthreads.exp: Only run this for native configs.
7687         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7688         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7689         tests.
7690         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7691         for "runto test_calls(void)" test.
7692
7693 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
7694
7695         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7696         and don't expect address info in breakpoint confirmations.
7697
7698 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
7699
7700         * gdb.base/list.exp (test_forward_search): Increase timeout
7701         temporarily by 60 seconds for searching extremely long line,
7702         and then reset to old value when done.  Increase expect input
7703         buffer to 10000.
7704
7705 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
7706
7707         * gdb.base/list.exp (test_forward_search): Fix to handle very
7708         long source line without overflowing expect's input buffer.
7709
7710 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
7711
7712         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7713         "buffer_full".
7714
7715         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7716         "buffer_full".
7717
7718         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7719         "buffer_full".
7720
7721         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7722         "buffer_full".
7723
7724 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
7725
7726         * configure.in (configdirs): Add gdb.threads.
7727         * configure: Regenerated with autoconf.
7728         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7729         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7730         * gdb.threads/configure: New, generated with autoconf.
7731
7732 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
7733
7734         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7735
7736 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
7737
7738         * gdb.base/signals.exp (test_handle_all_print): Test separately for
7739         each signal's status in the output of "handle all print".
7740         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7741         the \r\n sequence that immediately precedes the gdb prompt.
7742         * gdb.base/a1-selftest.exp: Save original timeout and restore
7743         after test.
7744
7745 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
7746
7747         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7748         symbol.
7749
7750 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
7751
7752         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7753
7754 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
7755
7756         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7757         timeout by 60 seconds.
7758
7759 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
7760
7761         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7762         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7763         error return.
7764
7765 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
7766
7767         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7768         gdb initialization, also report how long dejagnu waited.  Restore
7769         old timeout before doing error return.  Temporarily increase timeout
7770         by 3 minutes to allow for slow startups over heavy NFS use.
7771
7772 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
7773
7774         * lib/gdb.exp: Report timeout value for verbosity level 2.
7775         * config/gdbserver.exp: Ditto.
7776         * config/hppro.exp: Ditto.
7777         * config/mips-gdb.exp: Ditto.
7778         * config/monitor.exp: Ditto.
7779         * config/netware.exp: Ditto.
7780         * config/sim-gdb.exp: Ditto.
7781         * config/slite-gdb.exp: Ditto.
7782         * config/udi-gdb.exp: Ditto.
7783         * config/unix-gdb.exp: Ditto.
7784         * config/vx-gdb.exp: Ditto.
7785         * gdb.base/a1-selftest.exp: Ditto.
7786         * gdb.base/a2-run.exp: Ditto.
7787         * gdb.base/break.exp: Ditto.
7788         * gdb.base/corefile.exp: Ditto.
7789         * gdb.base/list.exp: Ditto.
7790         * gdb.base/recurse.exp: Ditto.
7791         * gdb.base/scope.exp: Ditto.
7792         * gdb.base/signals.exp: Ditto.
7793
7794 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
7795
7796         * gdb.threads/Makefile.in (docdir): Removed.
7797
7798 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
7799
7800         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
7801         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
7802         @srcdir@.
7803         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
7804         autoconf 2.5 or higher.
7805         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7806
7807 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
7808
7809         * configure: Regenerated.
7810         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7811         avoid name clashes with SunOS headers.
7812
7813 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
7814
7815         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7816
7817 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
7818
7819         * gdb.base/callfuncs.exp: Finish last change -- make sure the
7820         prototype information ends up in the compiler info file.
7821
7822 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
7823
7824         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7825         attempting to regenerate it.  Eliminate use of a temporary file
7826         and just generate the info file directly.  Source it immediately,
7827         for consistency of use.
7828         * gdb.base/corefile.exp: Ditto
7829         * gdb.base/exprs.exp: Ditto.
7830         * gdb.base/funcargs.exp: Ditto.
7831         * gdb.base/langs.exp: Ditto.
7832         * gdb.base/list.exp: Ditto.
7833         * gdb.base/mips_pro.exp: Ditto.
7834         * gdb.base/nodebug.exp: Ditto.
7835         * gdb.base/opaque.exp: Ditto.
7836         * gdb.base/ptype.exp: Ditto.
7837         * gdb.base/scope.exp: Ditto.
7838         * gdb.base/setvar.exp: Ditto.
7839         * gdb.base/signals.exp: Ditto.
7840         * gdb.base/whatis.exp: Ditto.
7841         * gdb.c++/templates.exp: Ditto.
7842         * gdb.c++/virtfunc.exp: Ditto.
7843         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7844         whether or not to add -lstdc++ to the compile command line args.
7845
7846 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
7847
7848         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
7849         it got fixed by the recent lookup_minimal_symbol_by_pc change.
7850         Increase timeout, a lot of single stepping might be needed if the
7851         target has no hardware watchpoints.
7852
7853 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
7854
7855         * gdb.base/break.exp: Ignore compiler warnings when compiling
7856         break.c.
7857         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7858         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
7859         from remote-sim.
7860         * gdb.base/exprs.exp: Add h8300 xfails.
7861         * gdb.base/funcargs.exp: Likewise.
7862         * gdb.base/nodebug.exp: Likewise.
7863         * gdb.base/printcmds.exp: Likewise.
7864         * gdb.base/ptype.exp: Likewise.
7865         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
7866         h8300 xfails.
7867         * gdb.base/return.exp: Handle float/double precision problems
7868         on the h8300.
7869         * gdb.base/funcargs.c: Explicitly make last constant argument to
7870         call_after_alloca_subr an unsigned long type.
7871         * gdb.base/return.c: Include stdio.h.
7872
7873 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
7874
7875         * config/abug.exp: New file for the older Motorola Bug monitor
7876         that runs on the mvme13x series VME boards.
7877         * config/monitor.exp: Use the new config array for target settings
7878         if they exist.
7879
7880 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
7881
7882         * sim-gdb.exp: Make the SH simulator allocate less space when
7883         it is targeted.
7884
7885 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
7886
7887         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7888         test.
7889
7890 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
7891
7892         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7893         "rs6000-*-*" for "list function in include file" when gcc compiled.
7894         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7895         for "p ctable1[120]".
7896         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7897         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7898         Remove setup_xfail for "rs6000-*-*" for
7899         "print 'scope0.c'::filelocal before run".
7900         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7901         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7902         since some compilers don't allow both options to be given
7903         on the same command line.  Create object file and move it.
7904
7905 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
7906
7907         * gdb.base/corefile.exp: Always regenerate the core file, since
7908         we always regenerate the coremaker program.  Detect special case
7909         where registers cannot be read from core file.
7910
7911 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
7912
7913         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7914         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7915         * gdb.c++/templates.exp: Only match on basename of file since
7916         some formats like xcoff don't encode directory information.
7917         * gdb.stabs/weird.exp: Use the right sed script for powerpc
7918         and rs6000 AIX xcoff targets.
7919         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7920         * configure: Regenerate.
7921         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7922         here, rather than in distclean.
7923
7924 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
7925
7926         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7927         defined, and use it to compile the test case with -O2.  The
7928         native compilation still uses no optimization.
7929         * gdb.base/mips_pro.c: Remove inline assembly code since
7930         it is compiled PIC by default, which results in assembler
7931         warnings that make the testsuite think the compilation
7932         was unsuccessful.
7933
7934 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
7935
7936         * gdb.c++/misc.exp: Add note to message for
7937         "print s.a for foo struct" that this is a known gcc 2.7.2
7938         and earlier bug.
7939
7940 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
7941
7942         * gdb.base/break.exp: Fix pattern for matching "Delete all
7943         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
7944         setup_xfail for deleting all breakpoints test.  Fix various
7945         timeout messages to include "(timeout)".
7946         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7947         for "p t_float_values2(3.14159,float_val2)".
7948         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7949         for "continue to call2g" when gcc compiled.
7950         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7951         "up to foo in langs.exp", "show language at foo in langs.exp",
7952         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7953         and "show language at fsub in langs.exp".
7954         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7955         "list line 1 in include file", "list message for lines past EOF",
7956         "list function in include file", "list list0.h:foo", and
7957         "list filename:function; nonexistant function".
7958         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7959         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7960         and "ptype t_char_array" to be for native cc only.
7961
7962 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
7963
7964         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
7965         setup_xfail for "print coremaker_bss", "print coremaker_ro",
7966         "print func2::coremaker_local", and "backtrace in corefile.exp".
7967
7968 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
7969
7970         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7971         "bt in signals.exp".  This problem only appears when running
7972         the testsuite, and then only intermittently.
7973
7974 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
7975
7976         * gdb.base/return.exp (return_tests): Differentiate between
7977         two tests of continuing.
7978
7979 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
7980
7981         * */Makefile.in (maintainer-clean): Remove config.log.
7982         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7983         * gdb.c++/Makefile.in (PROGS): Add inherit.
7984         (clean): Remove *.ci.
7985
7986 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
7987
7988         * gdb.c++/misc.cc: Add test code from Mike Stump.
7989         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7990
7991 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
7992
7993         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7994         to "alpha-*-osf2*" and add comment.
7995         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7996         setup_xfail for "step over execarg initialization" and
7997         "step over corearg initialization".
7998         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7999         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8000         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8001         gcc compiled for "print coremaker_bss", "print coremaker_ro",
8002         "print func2::coremaker_local", and "backtrace in corefile.exp".
8003         * gdb.base/signals.exp: Build and source signals.ci.
8004         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8005         to be for gcc only.
8006         * lib/gdb.exp: Move verbose statements outside conditionals.
8007
8008 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8009
8010         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
8011         Feb 3 procfs.c change.
8012
8013 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
8014
8015         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8016
8017 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
8018
8019         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8020         from dejagnu's apparent default of 10 seconds, which gives random
8021         results when running the tests over NFS on moderately loaded systems.
8022         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8023
8024 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
8025
8026         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
8027         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8028         result reports.
8029
8030 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
8031
8032         * configure.in (CY_AC_PATH_TCLH): Remove.
8033         * configure: Regenerate.
8034
8035 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
8036
8037         * gdb.c++/Makefile.in (clean): Add missing '{'.
8038
8039 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
8040
8041         * lib/gdb.exp: Provide a default value for noinferior.
8042
8043         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8044         Load libgloss.exp.
8045
8046 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
8047
8048         * gdb.disasm/hppa.exp: Compile directly into an executable, use
8049         the executable, not the .o to run the tests from.
8050
8051 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
8052
8053         * gdb.base/break.exp: Don't test for program exit or exit status
8054         if $noresults if nonzero.
8055         * gdb.base/langs.exp: Likewise.
8056         * gdb.base/watchpoint.exp: Likewise.
8057
8058         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8059         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8060         trying to compile the testcase.
8061
8062 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
8063
8064         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8065         * gdb.base/signals.exp (continue to handler): Likewise.
8066
8067 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
8068
8069         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
8070
8071         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
8072
8073 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
8074
8075         * gdb.base/corefile.exp: Recognize "not found" as failure
8076         when trying to determine if a core file was generated.
8077         If no core file was generate the first time, try again without
8078         the ulimit -c to work around braindamaged shells.
8079
8080 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
8081
8082         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8083         [] tests with "test" and enclose string in quotes.
8084         * gdb.stabs/configure: Rebuild
8085
8086 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
8087
8088         Changes in sync with expect:
8089         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8090         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8091         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8092         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
8093         argument to AC_REQUIRE.
8094         * configure: Regenerated.
8095
8096 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
8097
8098         * gdb.base/corefile.exp: When generating a core, discard any
8099         error messages about ulimit not found and the "core dumped"
8100         message from the shell that runs the coredumper.
8101
8102 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
8103
8104         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8105
8106         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8107         which sed script to run.  Expect failure for v_comb test
8108         on PA targets too.
8109
8110 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
8111
8112         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8113         "print func2::coremaker_local" and for "backtrace in corefile.exp"
8114
8115 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
8116
8117         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8118         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8119         "sparc-sun-solaris*" xfails for "p v_comb".
8120         * lib/gdb.exp (default_gdb_start): Fix typo.
8121         * gdb.base/corefile.exp: Allow "Core was generated by ..."
8122         messages to not include the full program name that caused
8123         the core dump since some systems (such as solaris) apparently
8124         truncate this path to about 80 characters.
8125         When generating a core file first try increasing the core file
8126         size limit to unlimited since some systems may default it to
8127         zero, and it is harmless to try it.  Move the test for failing
8128         to generate a core file to where it will actually get executed.
8129         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8130         new gdb result from g++ debug info improvements and make old
8131         pattern obsolescent.  Also account for size_t differences
8132         (may be int or long).
8133         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8134         initialization before function call is placed in the delay slot
8135         and thus appears to be skipped over by commands such as "next".
8136
8137 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
8138
8139         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8140
8141 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
8142
8143         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8144         input source file; fix code to compile test to deal with this
8145         convention.
8146         * gdb.c++/*.exp: Likewise.
8147
8148 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
8149
8150         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8151         "bt in signals.exp".
8152
8153 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
8154
8155         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8156         "step over execarg initialization" and
8157         "step over corearg initialization".
8158
8159 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
8160
8161         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8162         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
8163
8164 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
8165
8166         From Rob Savoye  (rob@poseidon.cygnus.com)
8167         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8168         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8169         configure.in}, gdb.disasm/{Makefile.in, configure.in},
8170         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8171         configure.in}: Major reworking for autoconfig.
8172         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8173         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8174         New files.
8175         * config/unix-gdb.exp:  Make GDB global.
8176         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8177         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8178         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8179         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8180         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8181         term.exp, twice.exp, watchpoint.exp, whatis.exp},
8182         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8183         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8184         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8185         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8186         pr-8136.exp, result.exp, string.exp, tuples.exp},
8187         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8188         to returns as necessary, arrange for test to compile own testcase
8189         executable.
8190         * lib/gdb.exp: Changes for testsuite to compile own test cases.
8191
8192 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
8193
8194         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8195         clear_xfail at end of test which might not call either pass or fail.
8196         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8197         "backtrace through signal handler".
8198
8199 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8200
8201         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
8202         continuing from a job control stop signal.
8203         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
8204
8205 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
8206
8207         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8208         * gdb.base/corefile.exp: Likewise.
8209         * gdb.base/funcargs.exp: Likewise.
8210
8211 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
8212
8213         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
8214         * config/monitor.exp:  Add support for setting baud rate.
8215
8216 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
8217
8218         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8219         i*86-*-linux* xfails for "backtrace through signal handler".
8220         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8221         "print func2::coremaker_local".
8222         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8223         alpha-dec-osf2* xfail for
8224         "delete all breakpoints when none".
8225
8226 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
8227
8228         * gdb.base/break.exp: Change test that deletes all breakpoints
8229         when no user breakpoints are installed.  A post 4.15 change
8230         causes gdb to no longer prompt in this case.
8231
8232 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
8233
8234         * gdb.base/return.exp (return_tests):  Change xfail for test
8235         "correct value returned double test" to stop xfailing at
8236         Solaris 2.5.  Apparently the bug has been fixed.
8237
8238 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
8239
8240         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8241         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8242
8243 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
8244
8245         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8246         * gdb.disasm/hppa.s: Corresponding changes.
8247
8248 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
8249
8250         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8251         makefile fragment.
8252         * config/mt-hpux: Deleted.
8253
8254 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
8255
8256         * Many files: When warning about suppressed tests due to a
8257         nonexistant test binary, avoid incrementing the warning count.
8258
8259 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
8260
8261         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
8262
8263 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8264
8265         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
8266         "sparc-*-solaris2*".
8267
8268 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8269
8270         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
8271         Add global and local variables and initialize them.
8272         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
8273         by printing variables. Remove rs6000 and powerpc xfails, BFD now
8274         extracts the file name and terminating signal from the core file.
8275         * TODO:  Remove note about tests for correct mapping of corefile.
8276         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
8277         from optimizing it away.
8278         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
8279         handles common blocks.
8280
8281 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
8282
8283         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8284         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8285
8286 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
8287
8288         * Makefile.in (maintainer-clean): New target, synonym for
8289         realclean.
8290         * gdb.base/Makefile.in (maintainer-clean): Likewise.
8291         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8292         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8293         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8294         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8295         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8296
8297 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
8298
8299         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
8300         xfails when not gcc compiled for "print foo::funclocal".
8301         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8302         "print foo::funclocal at foo",
8303         "print 'scope1.c'::foo::funclocal at foo",
8304         "print foo::funclocal_bss at foo",
8305         "print 'scope1.c'::foo::funclocal_bss at foo",
8306         "print foo::funclocal_ro at foo",
8307         "print 'scope1.c'::foo::funclocal_ro at foo",
8308         "print bar::funclocal at foo" and
8309         "print 'scope1.c'::bar::funclocal at foo".
8310         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
8311         gcc compiled for "print foo::funclocal at bar".
8312         Expand all messages to ensure that they identify that
8313         the test is at bar().
8314         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8315         gcc compiled for:
8316         "ptype on opaque struct pointer (statically)",
8317         "ptype on opaque struct tagname (statically)",
8318         "ptype on opaque struct pointer (dynamically) 1",
8319         "ptype on opaque struct tagname (dynamically) 1",
8320         "ptype on opaque struct pointer (dynamically) 2" and
8321         "ptype on opaque struct tagname (dynamically) 2
8322         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8323         gcc compiled for:
8324         "p datalocal"
8325         "whatis datalocal",
8326         "ptype datalocal",
8327         "p bsslocal",
8328         "whatis bsslocal", and
8329         "ptype bsslocal".
8330         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8331         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8332         when not gcc compiled.
8333         * gdb.base/funcargs.exp (float_and_integral_args):  Add
8334         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8335         compiled.
8336         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
8337         "backtrace from call6a" when not gcc compiled.
8338         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8339         "backtrace from call7a" when not gcc compiled.
8340         * gdb.base/callfuncs.exp (do_function_calls):
8341         Add "hppa*-*-hpux*" xfail when not gcc compiled for
8342         "p t_char_array_values(char_array_val2,char_array_val1)",
8343         "p t_char_array_values(char_array_val1,char_array_val2)",
8344         "p t_char_array_values("carray 1","carray 2")",
8345         "p t_char_array_values("carray 1",char_array_val2)",
8346         "p t_char_array_values(char_array_val1,"carray 2")",
8347         "p sum_args(1,{2})",
8348         "p sum_args(2,{2,3})",
8349         "p sum_args(3,{2,3,4})",
8350         "p sum_args(4,{2,3,4,5})"
8351         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8352         "backtrace in corefile.exp" when not gcc compiled.
8353
8354 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8355
8356         * gdb.base/signals.exp:  Rewrite `handle all print' test as
8357         a procedure. Accept blanks or TABs as whitespace, increase
8358         timeout and expect input buffer size for the large output
8359         from the command. Remove "i*86-*-bsdi2.0" xfail.
8360
8361 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8362
8363         * gdb.base/setvar.exp:  Add new testcases for truncation when
8364         assigning invalid values to bitfields.
8365
8366 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
8367
8368         * gdb.base/callfuncs.exp (do_function_calls):  Remove
8369         mips-sgi-irix* xfail for
8370         "call inferior func with struct - returns char *"
8371         and fix test so that an optional (unsigned char *) cast is
8372         accepted in the result.
8373
8374 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
8375
8376         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
8377         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8378         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8379         * gdb.base/signals.exp: Remove duplicate "handle all print" test
8380         that accidentally got checked in.
8381
8382 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
8383
8384         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
8385         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8386         compiled test.
8387         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8388         Add mips-sgi-irix5* xfail for not gcc compiled.
8389         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
8390         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8391         "p top", "whatis top", "p middle", and "whatis middle".
8392         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8393         "whatis signed char" for not gcc compiled.
8394         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8395         "set variable signed char=-1 (-1)" and
8396         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8397         * gdb.base/funcargs.exp (float_and_integral_args):
8398         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8399         Add mips-sgi-irix* xfail when not gcc compiled for
8400         "continue to call2b".
8401         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8402         "continue to call2g".
8403         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8404         "backtrace from call6a"
8405         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8406         "backtrace from call7k".
8407         Add mips-sgi-irix5* xfail when not gcc compiled for
8408         "backtrace from call7a".
8409         (localvars_after_alloca):  Fix gdb_test cmds for
8410         "print * after runto ...".
8411         Remove rs6000-*-* xfails for
8412         "print i after runto localvars_after_alloca" and
8413         "print l after runto localvars_after_alloca"
8414         for all compilers.
8415         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8416         when not compiled with gcc, for:
8417         "print signed char == (minus)",
8418         "print signed char != (minus)",
8419         "print signed char < (minus)",
8420         "print signed char > (minus)".
8421         * gdb.base/callfuncs.exp (do_function_calls):
8422         Add mips-sgi-irix* xfail, when compiled with native compiler, for
8423         "call inferior func with struct - returns char *".
8424         * gdb.base/return.exp (return_tests): Change xfail for
8425         "correct value returned double test" to include Solaris 2.4.
8426         * gdb.base/funcargs.exp (float_and_integral_args):
8427         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8428
8429 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8430
8431         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
8432         enumeration bitfields if compiling with GNU C.
8433         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
8434         to empty' prompt.
8435
8436 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
8437
8438         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8439         test for PRO targets.
8440
8441         * gdb.base/funcargs.exp: Avoid ever setting more than 8
8442         breakpoints in the inferior at any given time by making
8443         two groups of breakpoints for call2*, call6* and call7*
8444         tests.
8445
8446 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8447
8448         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
8449         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
8450         from optimizing it away.
8451         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
8452         "call inferior func with struct".
8453
8454 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
8455
8456         * configure.in: Only configure gdb.chill for particular targets.
8457
8458 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
8459
8460         * gdb.base/Makefile.in:  Add action to .c.o transformation
8461         rule that generates a .ci file for each .o file and remove
8462         explicit .c.o rules except for callfuncs.o.
8463         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
8464         generates a .ci file for each .o file and remove explicit
8465         .cc.o rules.
8466         (clean): Remove *.tmp *.ci files.
8467         (EXECUTABLES): Remove templ-info.exp.
8468         * gdb.base/compiler.c: New file.
8469         * gdb.c++/compiler.cc: New file
8470         * gdb.base/scope.exp: Source gdb.base/scope.ci.
8471         Change rs6000-*-* xfail for
8472         "print 'scope0.c'::filelocal_ro" and
8473         "print 'scope1.c'::filelocal" and
8474         "print 'scope1.c'::filelocal_bss" and
8475         "print 'scope1.c'::filelocal_ro" and
8476         "print 'scope1.c'::foo::funclocal" and
8477         "print 'scope1.c'::foo::funclocal_ro" and
8478         "print 'scope1.c'::bar::funclocal" and
8479         "print 'scope0.c'::filelocal_ro" and
8480         "print 'scope1.c'::filelocal at foo" and
8481         "print 'scope1.c'::filelocal_bss at foo" and
8482         "print 'scope1.c'::filelocal_ro at foo" and
8483         "print 'scope1.c'::foo::funclocal at foo" and
8484         "print 'scope1.c'::foo::funclocal_bss at foo" and
8485         "print 'scope1.c'::foo::funclocal_ro at foo" and
8486         "print 'scope1.c'::bar::funclocal at foo" and
8487         "print 'scope0.c'::filelocal_ro" and
8488         "print 'scope1.c'::filelocal" and
8489         "print 'scope1.c'::filelocal_bss" and
8490         "print 'scope1.c'::filelocal_ro" and
8491         "print 'scope1.c'::foo::funclocal" and
8492         "print 'scope1.c'::foo::funclocal_bss" and
8493         "print 'scope1.c'::foo::funclocal_ro" and
8494         "print 'scope1.c'::bar::funclocal" and
8495         "print 'scope1.c'::bar::funclocal_bss"
8496         to only be xfail'd when not compiled with gcc.
8497         Add rs6000-*-* xfail for
8498         "print 'scope0.c'::filelocal_bss before run"
8499         when compiled with gcc.
8500         (test_at_main): Add rs6000-*-* xfail for
8501         "print filelocal_ro in test_at_main"
8502         when compiled with gcc.
8503         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
8504         Add rs6000-*-aix* xfail for
8505         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8506         "ptype t_char_array",  not compiled with gcc.
8507         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
8508         xfail for "list foo (in include file)" when gcc compiled.
8509         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8510         (integral_args): Add rs6000-*-* xfail for
8511         "run to call0a" if not compiled with gcc.
8512         (unsigned_integral_args): Add rs6000-*-* xfail for
8513         "run to call1a" if not compiled with gcc.
8514         (float_and_integral_args):  Add rs6000-*-* xfail for
8515         "run to call2a" if not compiled with gcc and for
8516         "continue to call2b" for any compiler.
8517         Add rs6000-*-* xfail to
8518         "print f1 after run to call2a" for gcc compiled.
8519         (discard_and_shuffle): Add rs6000-*-* xfail for
8520         "run to call6a".
8521         (shuffle_round_robin): Add rs6000-*-* xfail for
8522         "backtrace from call7a" if not compiled with gcc.
8523         Add rs6000-*-* xfail for
8524         "backtrace from call7b" if compiled with gcc.
8525         (call_after_alloca): Add rs6000-*-* xfail for
8526         "print c in call_after_alloca" and
8527         "print s in call_after_alloca" and
8528         "backtrace from call_after_alloca_subr"
8529         if not compiled with gcc.
8530         (localvars_in_indirect_call): Add rs6000-*-* xfail for
8531         "print c in localvars_in_indirect_call" and
8532         "print c in localvars_in_indirect_call" and
8533         "backtrace in indirectly called function" and
8534         "stepping into indirectly called function"
8535         if not compiled with gcc.
8536         (localvars_after_alloca): Add rs6000-*-* xfail for
8537         "print c after runto localvars_after_alloca" and
8538         "print s after runto localvars_after_alloca" and
8539         "print i after runto localvars_after_alloca" and
8540         "print l after runto localvars_after_alloca"
8541         for all compilers.
8542         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8543         than whatis-info.exp.
8544         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8545         than opaque-info.exp.
8546         Setup rs6000-*-* xfail for
8547         "ptype on opaque struct pointer (statically)" and
8548         "ptype on opaque struct pointer (dynamically)" when
8549         not compiled with gcc.
8550         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8551         rather than callf-info.exp.
8552         (do_function_calls):  Add clear_xfail for rs6000-*-* for
8553         "p t_float_values2(3.14159,float_val2)".  Seems to work
8554         fine there, both with xlc and gcc.  Need to find out what
8555         it is doing right and fix other platforms.
8556         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8557         "call inferior func with struct - returns int",
8558         "call inferior func with struct - returns long",
8559         "call inferior func with struct - returns float",
8560         "call inferior func with struct - returns double",
8561         "call inferior func with struct - returns char *",
8562         but only if not gcc compiled (presumes xlc compiled).
8563         Change rs6000-*-* xfails for
8564         "call inferior func with struct - returns char" and
8565         " call inferior func with struct -  returns short" to only
8566         xfail if not using gcc.
8567         (clean mostlyclean):  Remove *.ci and *.tmp files.
8568         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8569         than templ-info.exp.
8570         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
8571         Add rs6000-*-* xfail for "up to foo in langs.exp"
8572         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8573         when not gcc compiled.
8574
8575 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
8576
8577         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8578         * gdb.base/corefile.exp: Likewise.
8579         * gdb.base/list.exp: Likewise.
8580         * gdb.base/scope.exp: Likewise.
8581         * gdb.base/siganls.exp: Likewise.
8582
8583         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
8584         compiler output.
8585         * gdb.base/whatis.exp: Likewise.
8586
8587 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
8588
8589         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8590         failure (opcode table has been fixed to match reality).
8591
8592 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
8593
8594         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8595         "call inferior func with struct - returns char",
8596         "call inferior func with struct - returns short"
8597
8598         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8599         "print 'scope0.c'::filelocal at main",
8600         "print 'scope0.c'::filelocal_bss in test_at_main",
8601         "print 'scope0.c'::filelocal at foo",
8602         "print 'scope0.c'::filelocal_bss in test_at_foo",
8603         "print 'scope0.c'::filelocal at bar",
8604         "print 'scope0.c'::filelocal_bss in test_at_bar"
8605
8606         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8607         in source file 1".  This bug seems to have been fixed with both
8608         gcc and native cc (was native assembler bug?).
8609
8610 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
8611
8612         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8613         "backtrace through signal handler" to "i*86-*-sysv4*".
8614         * gdb.base/signals.exp: Add xfail for "'next' behaved as
8615         continue" case.  Add "known SVR4 bug" to fail message.
8616         Add "i*86-*-bsdi2.0" xfail for "handle all print".
8617         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8618         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8619         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8620         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8621         "up to foo in langs.exp", "show language at foo in
8622         langs.exp", "up to cppsub_ in langs.exp", "show
8623         language at cppsub_ in langs.exp", "up to fsub in
8624         langs.exp", and "show language at fsub in langs.exp".
8625         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8626         "bactrace in corefile.exp".
8627         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8628         "call inferior function with struct - returns float" and
8629         "call inferior function with struct - returns double".
8630
8631 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
8632
8633         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8634         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8635         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8636         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8637
8638 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
8639
8640         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8641         (or overriden) "CHILL" macro rather then bare "gcc".
8642         Also look for ../../gcc/xgcc since that is what we will
8643         actually need, not "Makefile".  Remove following assignment
8644         of CHILL to CHILL_FOR_TARGET because that results in
8645         recursive definition.
8646
8647 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
8648
8649         * gdb.base/corefile.exp:  Change xfail for backtrace in
8650         corefile.exp from linuxaout to all linux.
8651         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
8652         cases where we miss the breakpoint at the signal handler
8653         for some reason.  Setup xfail for linuxoldld/linuxaout and
8654         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
8655         hitting SIGURG breakpoint.
8656         * gdb.base/signals.exp:  Setup xfail for "next" acting like
8657         continue to add linuxoldld.  Setup xfail for all linux for
8658         "next to handler in signals_tests_1", "backtrace in
8659         signals_tests_1", "continue to func1", "pass SIGUSR1",
8660         and continue to handler".
8661
8662 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
8663
8664         * Update all FSF addresses except those in COPYING* files.
8665
8666 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
8667
8668         * gdb.base/a2-run.exp: Change messages to be more explicit about
8669         the status of args, and quote binfile in results.
8670
8671 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
8672
8673         * gdb.base/callfuncs.exp: Add tests for passing structs to
8674         inferior functions and return various types.
8675         * gdb.base/callfuncs.c: Add functions to receive a struct
8676         and return a member of the struct, in various types.
8677
8678 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8679
8680         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
8681
8682 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
8683
8684         * config/vxworks29k.exp: New file, sources vxworks.exp.
8685
8686 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
8687
8688         * config/gdbremote.exp: New file.  Testing framework using
8689         gdbserver.
8690
8691 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
8692
8693         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8694         "call function when asleep" and "send end of file".
8695         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8696         for "backtrace in corefile.exp".
8697         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8698         for "backtrace through signal handler".
8699         * gdb.base/corefile.exp: Make sure we actually generate a core file
8700         before trying the core tests.  Some systems allow the user to suppress
8701         generation of core files and default to that (linux for example).
8702         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8703         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
8704
8705 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
8706
8707         * gdb.threads: New directory with some crude multi-threaded
8708         gdb tests (step.exp and step2.exp).
8709         * config/mt-lynx (STEP_EXECUTABLE): Define.
8710         (THREADFLAGS): Define.
8711
8712 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
8713
8714         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8715
8716         * gdb.base/signals.exp: Disable whole file for lynx until
8717         further notice.
8718
8719         * gdb.base/signals.exp: xfail test where "next" acts like
8720         "continue" for lynx.
8721
8722         * gdb.base/interrupt.exp: xfail test for calling function while
8723         inferior is asleep for lynx.
8724
8725         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8726         than one cr-lf  after each command.
8727
8728 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8729
8730         * configure.in:  Reinstate setting of stabsdirs variable, fix
8731         typo in setting up configdirs for native builds.
8732
8733         * gdb.base/return.exp:  Fix typo in return double test.
8734         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
8735         compiler from optimizing them away.
8736
8737 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
8738
8739         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8740         sequences to be echo'd by gdb when using gdb_test.
8741         * gdb.chill/chexp.exp: Likewise.
8742         * gdb.fortran/exprs.exp: Likewise
8743
8744 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
8745
8746         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8747         after the inferior gdb has started.
8748
8749         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8750         after each command.
8751         * gdb.base/funcargs.exp: Likewise.
8752         * gdb.base/gdbvars.exp: Likewise.
8753         * gdb.base/interrupt.exp: Likewise.
8754         * gdb.base/list.exp: Likewise.
8755         * gdb.base/watchpoint.exp: Likewise.
8756         * gdb.c++/demangle.exp: Likewise.
8757         * gdb.c++/inherit.exp: Likewise.
8758         * gdb.chill/chexp.exp: Likewise.
8759         * gdb.fortran/exprs.exp: Likewise.
8760
8761         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8762         test if we can't handle IO to/from the inferior.
8763
8764         * gdb.c++/misc.exp: Always check for a program already being
8765         started after sending a "run" command to gdb.
8766
8767         * gdb.base/twice.exp: Start with a fresh gdb.
8768
8769         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8770         only depend on gdb's expression code, not the chill runtime.
8771
8772         * gdb.base/return.c: Put return values into variables so we
8773         can have gdb print them rather than depending on the program
8774         to print them.
8775         * gdb.base/return.exp: Corresponding changes.
8776
8777         * lib/gdb.exp: Provide default value for noinferiorio.
8778         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8779         the inferior.
8780
8781         * gdb.base/break.exp: Always check for a program already being
8782         started after sending a "run" command to gdb.
8783         (text_next_with_recursion): Don't check the output from the
8784         program's printf statement.  Instead just make sure the program
8785         exited.
8786
8787         * gdb.base/commands.exp: Protect tests which need arguments with
8788         $noargs conditionals.
8789
8790 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8791
8792         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
8793         of structure member arrays to match gdb/valops.c:value_addr change.
8794
8795 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
8796
8797         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8798         cases.
8799
8800 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
8801
8802         * configure.in (configdirs):  Remove gdb.chill from default list
8803         of subdirs and then add it back in only if doing a native build.
8804         The current chill compiler does not yet work in any cross build.
8805         * Revert all signal changes from Jul 6.
8806         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
8807         for sh-hms targets, allowing these tests to link, with no other
8808         changes.  Testing is suppressed by setting "nosignals" in site.exp.
8809
8810 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
8811
8812         * configure.in (signaldirs): Define and add to configdirs for all
8813         targets except some specific ones that are known to not support signals.
8814         Also clean up formatting.
8815         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
8816         (signals, sigall):  Remove rules to build.
8817         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8818         Moved to new gdb.signals directory.
8819         * gdb.signals: New test directory.
8820         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8821         signals.c signals.exp}:  New or moved files.
8822
8823 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
8824
8825         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8826
8827 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
8828
8829         * gdb.base/return.exp:  Xfail `return double' test failure
8830         on at least Solaris 2.3 and handle future/past versions on
8831         a case by case basis as appropriate.  Also update message
8832         to include i*86 failures.
8833
8834 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8835
8836         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8837
8838         * lib/gdb.exp: Fix comment which erroneously identified
8839         gdb_file_cmd as gdb_load (the 19 May change was in fact to
8840         gdb_file_cmd not gdb_load).
8841         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8842
8843         * gdb.base/setvar.exp: Make test names consistent between pass and
8844         fail cases.  Use gdb_test more.
8845
8846 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8847
8848         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8849
8850 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8851
8852         * gdb.base/help.exp:  Fix expected help string for `show commands'.
8853
8854 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
8855
8856         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8857
8858         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8859         of a text section.
8860
8861 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
8862
8863         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
8864         that loop eventually terminates.  Fix Connection refused logic so
8865         that testsuite will expire nicely.
8866
8867 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
8868
8869         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8870         config/rom68k.exp:  New tcl glue for the appropriate monitors.
8871         These all just end up calling monitor.exp.
8872         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
8873         refused' by retrying.  Cleanup some timeout issues.
8874         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
8875         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
8876         callers don't have to set/restore global timeout variable.
8877
8878         * The following set of changes centralizes management of the global
8879         timeout variable.  This way, it can be set in one target dependent
8880         place instead of dozens of places scattered throughout the test suite.
8881         If you need to lengthen a timeout, then you should either set timeout
8882         in one of the config/{target}.exp files, or multiply it by a factor.
8883         Setting it to an absolute value is always going to lose for some
8884         targets.
8885         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
8886         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
8887         * gdb.base/funcargs.exp:  Don't set timeout.
8888         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
8889         * gdb.base/printcmds.exp (test_print_string_constants
8890         test_print_array_constants):  Don't set timeout.
8891         * gdb.base/ptype.exp:  Don't set timeout.
8892         * gdb.base/recurse.exp:  Don't set timeout.
8893         * gdb.base/return.exp:  Don't set timeout.
8894         * gdb.base/watchpoint.exp:  Don't set timeout.
8895         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
8896         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
8897
8898 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
8899
8900         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8901
8902 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8903
8904         * lib/gdb.exp: Disable chill tests for irix5.
8905
8906 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8907
8908         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
8909         each test pass or fail.
8910
8911 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8912
8913         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8914         xlc not gcc.
8915
8916 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
8917
8918         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
8919
8920 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
8921
8922         * config/est.exp:  Fix copyright and comments.  Remove dead code.
8923         Use targetname, serialport and baud variables instead of fixed
8924         constants.
8925         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
8926         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
8927
8928 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8929
8930         * gdb.base/watchpoint.exp: Don't run
8931         test_watchpoint_triggered_in_syscall for sunos.
8932
8933 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8934
8935         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8936         they don't seem to exist.  Do include stdio.h.
8937
8938 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8939
8940         * gdb.base/a1-selftest.exp: Add alpha xfail.
8941
8942 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8943
8944         * gdb.base/watchpoint.c (main): Prompt before calling read().
8945         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8946         Revise accordingly.  Remove cruft about sending "123" several
8947         times, until it gets noticed.  Clean up the "print buf[0]" stuff
8948         so that it passes or fails, and waits for prompts in the usual way.
8949
8950 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8951
8952         * gdb.base/recurse.exp: Fix comment.
8953
8954         * TODO: Remove item about printing variables in nodebug.exp.  Add
8955         item about enabling tests which are only run on some targets.
8956
8957         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8958         fail, make test names unique, use new gdb_test convention
8959         regarding pattern, use gdb_test more, etc.).
8960
8961         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8962         fail, make test names unique, etc.).
8963
8964 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8965
8966         * gdb.base/nodebug.c:  Change return type of top and middle to
8967         short.
8968         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
8969         are fixed by the recent mdebugread.c changes. Allow `short ()'
8970         as type for top and middle.
8971
8972 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8973
8974         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
8975         nearly as I can tell, the whole thing was an accident in Stu's
8976         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8977         to replace a send/expect pair with gdb_test, but ended up only
8978         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
8979         of 30 Mar 1995 took care of it, but left this vestigial comment
8980         which I am now nuking.
8981
8982 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8983
8984         * gdb.base/break.exp: Look for different line number for
8985         breakpoint at main depending on usestubs.
8986
8987 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8988
8989         * gdb.base/list.exp:  Adjust some alternate expect patterns to
8990         match recent list0.c change. Add alternate expect pattern for
8991         output from `list default lines around main' for optimizing
8992         compilers.
8993
8994 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
8995
8996         * lib/gdb.exp: If nosignals is not set, set it to 0.
8997
8998 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
8999
9000         * config/slite-gdb.exp: Responds to load symbol table prompt.
9001         * gdb.base/break.exp: Adjust line number, fix rerun.
9002         * gdb.base/langs0.c: Add #ifdef usestubs.
9003
9004 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
9005
9006         * gdb.base/list.exp: Adjust line contents after adding new lines in
9007         list0.c. Also fix a syntax error.
9008
9009         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9010         * gdb.base/break.exp: ditto.
9011         * gdb.base/list.exp: ditto.
9012         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9013         * gdb.base/run.c: ditto.
9014         * gdb.base/list0.c: ditto.
9015         * gdb.base/funcargs.c: ditto.
9016
9017 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
9018
9019         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
9020         $targetname, $serialport and $baud instead of hardwired variables.
9021         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
9022         target doesn't support signals.
9023
9024 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
9025
9026         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9027
9028 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9029
9030         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
9031         Don't rely on the value of an auto variable before it has been
9032         initialized.  Use gdb_test more.
9033
9034 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9035
9036         * lib/gdb.exp (default_gdb_version): A version number must start
9037         with a digit, but other than that contains all characters up to
9038         the first whitespace character.
9039
9040 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9041
9042         * gdb.base/commands.exp (breakpoint_command_test): New tests.
9043
9044 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9045
9046         * gdb.c++/*.exp: Warn if executable does not exist.  The original
9047         reason for skipping the warning was that configure.in sometimes
9048         intentionally skipped building the executables but the tcl code
9049         had no way of knowing.  That (a) was always bogus with respect to
9050         error handling, (b) is no longer true (right now there is no way
9051         to skip C++ tests).
9052
9053         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9054
9055 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9056
9057         * gdb.base/list.exp:  Add expect patterns for output from
9058         SunPRO compiled executables.
9059         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
9060         types.
9061
9062 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9063
9064         * gdb.base/break.exp (test_next_with_recursion): Accept any line
9065         number (we are already testing that the correct source line text
9066         gets printed).
9067
9068         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
9069         that is what is intended, but something needed to be done to get
9070         sunos4 native working again.
9071
9072         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9073
9074         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9075         apparently went with a (very) old xfail.
9076
9077 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
9078
9079         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9080         runto_main is a proc in gdb.exp that will do 'step' for target use
9081         stubs.
9082         * gdb.base/exprs.exp: ditto.
9083         * gdb.base/interrupt.exp: ditto.
9084         * gdb.base/opaque.exp: ditto.
9085         * gdb.base/printcmds.exp: ditto.
9086         * gdb.base/ptype.exp: ditto.
9087         * gdb.base/scope.exp: ditto.
9088         * gdb.base/setvar.exp: ditto.
9089         * gdb.base/signals.exp: ditto.
9090         * gdb.base/twice.exp: ditto.
9091         * gdb.c++/classes.exp: ditto.
9092         * gdb.c++/inherit.exp: ditto.
9093         * gdb.c++/templates.exp: ditto.
9094         * gdb.base/break.exp: no run and hit main for stubs. Change line
9095         numbers for breakpoints and info breakpoint.
9096         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9097         breakpoint().
9098         * gdb.base/callfuncs.c: ditto.
9099         * gdb.base/exprs: ditto.
9100         * gdb.base/interrupt.c: ditto.
9101         * gdb.base/opaque0.c: ditto.
9102         * gdb.base/printcmds.c: ditto.
9103         * gdb.base/ptype.c: ditto.
9104         * gdb.base/scope0.c: ditto.
9105         * gdb.base/setvar.c: ditto.
9106         * gdb.base/signals.c: ditto.
9107         * gdb.base/twice.c: ditto.
9108         * gdb.c++/misc.cc: ditto.
9109         * gdb.c++/templates.cc: ditto.
9110
9111 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9112
9113         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9114
9115         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9116         somewhere between `read' and `main.c'.  I'm pretty sure the
9117         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9118         and it isn't particularly useful.
9119
9120         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
9121
9122 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9123
9124         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9125
9126 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
9127
9128         * config/mt-slite: add LIBS and -nostdlib.
9129         * config/slite-gdb.exp: add this new file to support sparclite target.
9130
9131 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
9132
9133         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9134
9135         * gdb.base/a2-run.exp: Change argument to istarget from
9136         "*-*-vxworks" to "*-*-vxworks*".
9137         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9138
9139 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
9140
9141         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9142         will not runto main but do a 'step' to step out of breakpoint().
9143         * config/mt-slite: add -Dusestubs.
9144
9145 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9146
9147         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9148         instead of just @.
9149
9150         * gdb.base/signals.exp: Add test for "handle all print".
9151         * TODO: Remove "handle all print".  Also remove item about
9152         checking copyright date (I don't like the idea of a spurious FAIL
9153         based on when we run the tests).
9154
9155         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
9156         for SunOS4 (reason for failure not investigated).  Remove
9157         redundant test for $binfile.
9158
9159         * gdb.base/nodebug.c (array_index): Call malloc.
9160
9161         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9162
9163 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
9164
9165         * gdb.base/recurse.exp: Update gdb_test invocation to use new
9166         conventions and slightly simplify the matching regexp.
9167
9168 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9169
9170         * gdb.base/break.exp: Update gdb_test invocation to use new
9171         convention.
9172
9173         * lib/gdb.exp: If noargs is not set, set it to 0.
9174
9175         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
9176         tests unique.
9177
9178         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9179
9180 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9181
9182         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9183         one argument of type "<non-float parameter>".
9184
9185 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
9186
9187         * config/rom68k.exp:  New file to support Motorola IDP board.
9188         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
9189         * gdb.base/break.c:  Change things around so that this program
9190         doesn't depend upon args.  This is necessary to make remote
9191         targets work (in general, they can't take args).
9192         * gdb.base/break.exp:  Don't try to send args to program.  Don't
9193         expect output.  Also, replace lots of code with gdb_test.
9194
9195 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9196
9197         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9198         printing of '\'' (which is what the comment says we are testing,
9199         even though we were not), not '''.
9200         (test_integer_literals_rejected): Test that printing ''' is an error.
9201
9202         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9203         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9204         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9205         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9206         Use gdb_test not test_print_accept.
9207         * lib/gdb.exp: Remove test_print_accept.
9208
9209         * gdb.base/signals.exp (signal_tests_1): Make pass message
9210         consistent with fail message.
9211
9212         * gdb.base/whatis.exp: Remove xfails for printing char vs.
9213         unsigned char; the bug (PR 1821) is fixed.
9214
9215         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9216
9217         * gdb.base/scope.exp (test_at_localscopes): Call pass for
9218         successful tests--makes xfailing them work right.
9219
9220 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9221
9222         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9223         only \r\n, not .*.  The test can pass .* as the last thing in
9224         $pattern if that is what it wants.  In addition to providing this
9225         flexibility, this change should speed up pattern matching in cases
9226         where the pattern already ended with .* (there were a number of
9227         them).  This change also helps catch bad patterns--in the old
9228         scheme the typo "char \*" instead of "char \\*" would pass.  Now
9229         it is caught.
9230         * Many .exp files: Update callers.
9231
9232         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
9233         clearer and does not spuriously match multiple ('s.  Likewise for
9234         ) and *.
9235
9236         * gdb.base/nodebug.exp: Test ability to call a function and pass
9237         it a string (even with no debugging info).
9238
9239         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9240         "p '\'", which is the same as "p ''" once tcl gets done with
9241         quoting, to "p '\\'", which I suspect is what is intended (one
9242         backslash gets sent to GDB).
9243
9244         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9245
9246 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9247
9248         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
9249         1817) was fixed literally years ago.
9250
9251 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9252
9253         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
9254         test, it causes stepping out of call_after_alloca_subr with
9255         optimizing compilers.
9256         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
9257         fails.
9258
9259         * gdb.c++/templates.exp:  Source templ-info.exp only if
9260         the templates executable exists.
9261
9262         * gdb.c++/misc.cc (class Contains_static_instance,
9263         class Contains_nested_static_instance),
9264         gdb.c++/classes.exp (test_static_members):  Test printing of
9265         a class that contains a static instance of the class.
9266
9267 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9268
9269         * gdb.base/langs2.c (cppsub_): Don't prototype.
9270         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9271         only, I believe).
9272
9273 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9274
9275         * lib/gdb.exp (skip_chill_tests): New procedure.
9276
9277         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9278
9279 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
9280
9281         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9282         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
9283
9284 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9285
9286         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9287
9288         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9289         disassemble 8, not 16, instructions for part 4.
9290
9291         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
9292         support the latter anymore.
9293
9294         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9295         -DNO_PROTOTYPES.
9296         * gdb.base/callfuncs.c: Control use of prototypes based on
9297         NO_PROTOTYPES, not __STDC__.
9298         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9299         t_float_values2 tests if prototypes in use.
9300
9301         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9302         t_double_values):  When checking differences against DELTA, check
9303         that difference is within the range (-DELTA,DELTA), not just
9304         (-infinity,DELTA).
9305
9306 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
9307
9308         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9309         'file' command firts, then 'target', then 'load', this is due to gdb
9310         target set up.
9311         * config/mips-gdb.exp: Fix a couple regular exp bugs.
9312
9313 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
9314
9315         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9316         FP load/store variants.
9317         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9318
9319 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
9320
9321         * gdb.base/term.exp: Do not give a warning if not native, it is
9322         not an abnormal condition.
9323
9324 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
9325
9326         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9327         t_char_array".
9328
9329 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
9330
9331         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9332         are getting the version number.
9333
9334         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9335         if not native, it is not an abnormal condition.
9336
9337 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9338
9339         * lib/gdb.exp: Just use "file exists", rather than undocumented
9340         dejagnu procedure "findfile".
9341
9342 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
9343
9344         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9345           (LDFLAGS): Set to -Xlinker -Ur.
9346
9347         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9348           Removed, these values are set by lib/gdb.exp.
9349
9350         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9351
9352 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
9353
9354         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9355           of replicating gdb startup code.
9356
9357         * config/mt-vxworks (LDFLAGS): Set to -r.
9358           (CFLAGS_FOR_TARGET): Removed.
9359
9360         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9361           (gdb) and gdb for vxworks uses (vxgdb).
9362
9363         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9364           executable is not in the tree and host != target, use sed and
9365           program_transform_name to determine the gdb name used by the
9366           target.
9367
9368         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9369           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9370
9371 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9372
9373         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9374         floats, chars, and shorts where there are ANSI-style function
9375         definitions.
9376
9377         * gdb.base/langs.exp, gdb.base/langs*: New test.
9378         * gdb.base/Makefile.in: Build it.
9379         * TODO: Remove item about checking that C names don't get C++
9380         demangling applied; this test tests it.
9381
9382 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9383
9384         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9385         went with the const70 xfail.  The xfail went away a year ago.
9386
9387         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9388
9389         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
9390         for hp300.
9391
9392         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9393
9394         * gdb.base/a1-selftest.exp: Don't run on hp300.
9395
9396 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9397
9398         * Makefile.in (site.exp): Set host_alias and target_alias as well
9399         as host_triplet and target_triplet.
9400
9401 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9402
9403         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9404
9405         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9406         places as other ecoff systems).
9407
9408         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9409         ultrix.
9410
9411 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9412
9413         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9414         remove them.
9415         * gdb.base/nodebug.exp: Accept "function" in addition to "text
9416         variable and "variable" in addition to "data variable".
9417         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9418
9419         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9420         2.
9421         * gdb.base/list1.c (long_line): Add additional statement at start
9422         of function.
9423         * gdb.base/list.exp (test_forward_search): Update line number to
9424         reflect new statement.
9425
9426 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9427
9428         * gdb.base/signals.exp:  Reinitialize searched source directories
9429         after gdb_start call.
9430
9431 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
9432
9433         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9434         * gdb.stabs/Makefile.in: Likewise.
9435
9436         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9437         change.  Instead split the tests into smaller pieces.
9438         * gdb.disasm/hppa.s: Corresponding changes.
9439
9440 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9441
9442         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9443         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
9444
9445         * gdb.base/funcargs.exp: Modify many tests so that every test
9446         either passes or fails.  Make some test names unique.
9447
9448 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9449
9450         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9451         Call stty to set interrupt character.
9452
9453         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9454         for HP assembler versus GNU assembler based on actual behavior of
9455         $(CC), rather than assuming that $(AS) is always the GNU assembler.
9456
9457         * TODO: Suggest a few more stepping tests.
9458
9459 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
9460
9461         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9462         restart GDB for h8300 after a continue.
9463         (return): Add pattern to match a29k-udi behavior.
9464         * gdb.base/nodebug.exp: Remove obsolete comment.
9465         * gdb.base/regs.exp: New file, testing of register displays.
9466         * gdb.base/return.exp: Fix typo in reference to $objdir.
9467         * gdb.base/whatis.exp: Always start with a fresh GDB.
9468
9469 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9470
9471         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9472         higher, these tests generate a lot of output.
9473
9474 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9475
9476         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
9477         code following the catch silently ignored some errors; without the
9478         catch they should be thrown like any other tcl error.  Also, the
9479         catch used "" instead of {} which meant all the callers who wanted
9480         to include one of the characters "[]$ had to quote it an extra time.
9481         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9482         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9483         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9484         Remove extra quoting.
9485
9486 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
9487
9488         * gdb.base/commands.exp: Make test names unique; every test either
9489         passes or fails.  Update some comments.
9490
9491         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9492
9493 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9494
9495         The following fixes a FAIL caused by the fact that the alpha stabs
9496         configuration didn't use the ".if alpha" code in weird.def.
9497         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9498         bit pointer, so the 32 bit version works even on the alpha.
9499         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9500         Remove the stuff which allowed us to have separate versions for
9501         alpha and everything else.
9502
9503         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9504         regexp which "info func operator\[\](" is supposed to match.  Fix
9505         string to send to GDB.  Note that GDB still doesn't work right.  Add a
9506         new test for "info func .perator\[\](" which GDB does handle correctly.
9507
9508         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9509
9510 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9511
9512         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9513         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9514         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9515         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9516         it makes the tests harder to understand and confuses test-o-matic.
9517         The preferred style is that each test provides a PASS or a FAIL,
9518         and has a unique message (e.g. "continue #54" not just "continue")
9519         which is the same for the pass and the fail.
9520         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9521         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9522         to lib/gdb.exp.
9523         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
9524         prt_accept which was basically the same thing.  Likewise for
9525         test_print_reject and prt_reject.
9526         * lib/gdb.exp (test_print_reject): Add some more error message
9527         patterns to match from the former printcmds.exp (prt_reject).
9528         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9529         One defect of the passcount stuff is that some of it failed to
9530         report XPASS where appropriate.
9531         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9532         stuff before and after arg in expected pattern.
9533         (test_paddr_operator_functions): Re-do test without print_addr_of;
9534         this is the only test which seems to want extra stuff there.
9535
9536 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
9537
9538         * gdb.base/nodebug.exp: Update new tests to reflect improved
9539         wording of gdb output.
9540
9541         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9542         and "ptype" work on variables in files compiled without -g.
9543         Replaces commented out "maint print msymbol" tests.
9544
9545 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
9546
9547         * gdb.base/setvar.c (dummy): Call malloc.
9548
9549         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9550         losing with the irix4 sed.
9551
9552         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9553         ALRM" on irix4.
9554
9555 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
9556
9557         * TODO: Remove items about corefile.exp testing new exec-file and
9558         backtrace; both are now done.  Add items about printing enums.
9559
9560 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
9561
9562         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9563         "get signal $thissig" test fails.
9564
9565         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9566
9567 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
9568
9569         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9570         compiler warning with dec alpha compiler.
9571
9572         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9573         extra \n from gdb_test call (this explains why the prompt test
9574         that I removed yesterday was there).
9575         (user_defined_command_test): Remove extra \n and prompt test.
9576
9577         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9578         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9579         doesn't exist.
9580         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9581         Also remove alpha workaround, which turns out to be because
9582         SIGABRT == SIGLOST.
9583
9584         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9585
9586         * gdb.base/help.exp: Don't test "help show".
9587
9588 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
9589
9590         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9591         "set print address" is on.
9592         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9593         pass prompt to gdb_test; gdb_test already looks for the prompt.
9594
9595         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9596
9597         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
9598         was a vestige of the manual TESTSTRATEGY, and the purpose of it
9599         was to make sure that gdb can read a core file.  But (a) the "read
9600         the corefile" part didn't make it to a1-selftest.exp, we just
9601         delete the corefile after creating it, and (b) we test reading
9602         corefiles in corefile.exp anyway.  Also, this test left around a
9603         xgdb process on Solaris.
9604
9605         * gdb.base/corefile.exp: Also test backtrace.
9606
9607 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
9608
9609         * gdb.base/commands.exp: Test a simple user defined command with
9610         arguments and if/while statements; verify the full user command is
9611         printed by "show user".
9612
9613         * gdb.base/commands.exp: Test if/while commands as part of a
9614         breakpoint command list; verify they appear in breakpoint
9615         information.
9616
9617 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
9618
9619         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9620         than by dividing by zero.
9621
9622 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
9623
9624         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9625         performing an inferior call with watchpoints enabled.
9626         * gdb.base/watchpoint.c (main): Delete second unnecessary read
9627         call.
9628
9629 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
9630
9631         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9632         of "file" command.
9633
9634         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9635         Add additional pattern for when "int operator int(void);" appears
9636         in a different order.
9637
9638 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
9639
9640         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9641
9642         * gdb.base/help.exp: Replace most of docstrings for "info signals"
9643         and "signal" with ".*".
9644
9645 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9646
9647         * TODO: Add note about "handle all nostop".
9648
9649         * gdb.base/{sigall.c, sigall.exp}: New test.
9650         * gdb.base/Makefile.in: Add it.
9651
9652 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
9653
9654         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9655         when invoking GDB, suppresses any windowing interface.
9656
9657 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
9658
9659         * config/sim-gdb: New file, simulator testing support.
9660
9661 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
9662
9663         * gdb.base/interrupt.exp: Test calling func1 twice.
9664
9665 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
9666
9667         * gdb.base/list.exp (test_forward_search): Set timeout higher
9668         when we'll be getting lots of output from gdb.
9669
9670         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9671         "init_malloc" to after the expect statement.  Run it if that
9672         regexp is taken, but also for two others which happen if source
9673         cannot be found.
9674
9675 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
9676
9677         * gdb.base/printcmds.exp: New test, for printing register before
9678         program is running.
9679
9680 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9681
9682         * gdb.base/list.exp:  Correct some alternate expect patterns
9683         to reflect changes in list1.c.
9684
9685 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
9686
9687         * TODO: Add item regarding large frames.
9688
9689         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9690
9691         * TODO: Remove item about enabling return.exp; it
9692         is enabled.  Suggest a few more "return" tests.
9693
9694 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9695
9696         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
9697         anonymous unions.
9698
9699 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
9700
9701         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9702         and pr-5646.o, so "make" is the same as "make all", not "make
9703         pr-4975.o".
9704
9705 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
9706
9707         * gdb.base/list.exp: Adjust expectations to reflect changes in
9708         list1.c.
9709         (test_forward_search): New test proc.
9710         * gdb.base/list1.c (long_line): New function, has long source line.
9711
9712 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
9713
9714         * gdb.base/a1-selftest.exp: Change initial stepping to know about
9715         additional line of code that was added.
9716
9717 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
9718
9719         * gdb.disasm/hppa.s: Break the large branching tests into smaller
9720         tests so as not to overflow expect's input buffers.
9721         * gdb.disasm/hppa.exp: Corresponding changes.
9722
9723 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9724
9725         Beginnings of template debugging tests.
9726         * gdb.c++/templ-info.cc:  New file to test for template
9727         debugging capability of the compiler.
9728         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
9729         templ-info.cc.
9730         * gdb.c++/templates.cc:  Add explicit template instantiations
9731         to enable compiling with -fno-implicit-templates. Add destructor
9732         and 'value' method to T5 class for template tests.
9733         * gdb.c++/templates.exp:  Add testcases for printing of template
9734         types, setting breakpoints on template methods and calling a
9735         template method.
9736
9737 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
9738
9739         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9740         branch target since some assemblers (gas-2.5)  may emit a
9741         relocation for the branch instead of resolving it in the
9742         assembler.
9743
9744 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9745
9746         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
9747         through signal handler.
9748
9749 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
9750
9751         * configure.in (*-*-netware): Use config/mt-netware.
9752
9753         * config/mt-netware: New file.
9754         * config/mt-i386-netware: Removed, separate configs for different
9755           netware architectures are no longer needed now that we have
9756           --with-headers.
9757
9758 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9759
9760         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
9761         by the recent changes to use ANSI C arithmetic conversions.
9762
9763 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
9764
9765         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9766         bug involving using inferior_pid to figure out whether to select a
9767         frame.
9768
9769 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
9770
9771         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9772         match the current disassembler output.
9773
9774 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
9775
9776         * gdb.fortran/exprs.exp: Expect VOID instead of void.
9777         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9778         types, expect "int" as type of integer values (for now).
9779
9780 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
9781
9782         * gdb.base/commands.exp: New tests for if/while commands.
9783
9784 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
9785
9786         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
9787         by .*, since hex values have different syntax in Chill mode.
9788
9789 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9790
9791         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
9792         linefeed from expect pattern for repeated types with indices > 9.
9793
9794 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
9795
9796         First part of Fortran test suite.
9797         * gdb.fortran: New directory.
9798         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9799
9800 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9801
9802         * gdb.base/default.exp:  Update expect pattern for load command
9803         without arguments.
9804
9805 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
9806
9807         * configure.in: Change i386 to i[345]86.
9808         * gdb.base/configure.in: Likewise.
9809         * gdb.c++/configure.in: Likewise.
9810         * gdb.chill/configure.in: Likewise.
9811
9812 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
9813
9814         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9815         patterns, since that is not a valid context for comments.
9816
9817 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
9818
9819         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9820         repeated types and repeated types with indices > 9.
9821
9822 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
9823
9824         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9825         2417; old bug has been fixed.
9826
9827 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
9828
9829         * gdb.base/interrupt.exp: When trying to wake up the inferior,
9830         send the newline ourselves instead of assuming gdb_test will do
9831         so when passed an empty input string.
9832
9833         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9834         stabs testcode.
9835
9836 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
9837
9838         * lib/gdb.exp (gdb_test): Don't send anything if the first
9839           argument is an empty string.  This makes cases where we want to
9840           match output that is already in expect's buffers (for example,
9841           matching a breakpoint after gdb_run_cmd has been called) work
9842           reliably.
9843
9844 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
9845
9846         * config/netware.exp: New file.
9847
9848 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
9849
9850         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9851           the -B and -L prefixes so we can find the debugging stub.
9852
9853         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9854           there and we are using the gcc from the tree.
9855
9856         * gdb.base/types.c: Removed.
9857
9858         * gdb.base/configure.in: Look for makefile fragments in ../config.
9859           Recognize i386-*-netware.
9860         * gdb.c++/configure.in: Likewise.
9861
9862 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9863
9864         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
9865         the correct TCL syntax.
9866
9867 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
9868
9869         * gdb.base/opaque.exp: use runto instead of messing around with
9870           breakpoints.  Simplify by using gdb_test.
9871
9872         * gdb.base/bitfields.exp: restart between tests on netware targets
9873           because breakpoints aren't relocated after target death.  Run
9874           processes to completion.
9875
9876         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9877
9878 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
9879
9880         * Makefile.in:  Remove extra tabs that confuse some versions
9881         of "make".  Use the newly built gdb to test with by default,
9882         rather than the first one in the tester's search path.
9883
9884 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
9885
9886         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9887
9888         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9889         condition help.
9890
9891 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
9892
9893         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9894
9895         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9896           running.
9897         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9898         * gdb.base/funcargs.exp: Likewise.
9899
9900         * gdb.base/bitfields.exp: Simplify by using gdb_test.
9901         * gdb.base/funcargs.exp: Likewise.
9902
9903         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9904           message is "".
9905
9906 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
9907
9908         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9909           return,signals,twice}.exp: Handle non-existant binaries
9910           consistantly.
9911
9912         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9913         * gdb.base/Makefile.in: Don't try to generate a core dump, we
9914           might testing a cross development system.
9915
9916 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
9917
9918         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9919           runtest script is relative to ${srcdir}, not ${rootdir}.
9920
9921 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
9922
9923         * gdb.base/signals.exp: Allow for optionality of breakpoint
9924         address.
9925
9926 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
9927
9928         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9929
9930 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
9931
9932         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9933           for size_t definition.
9934         * gdb.c++/templates.cc: Likewise
9935
9936         * config/mt-i386-netware: New file.
9937
9938         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9939           defined.
9940
9941         * gdb.base/Makefile.in: Added support for systems that name core
9942           files by appending "core" to the program name.
9943         * gdb.base/a1-selftest.exp: Likewise.
9944
9945 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9946
9947         * gdb.base/return.exp:  Add comment and message for `return double'
9948         test failure on Sparc Solaris.
9949
9950 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
9951
9952         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9953
9954 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9955
9956         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
9957         from optimizing them away.
9958         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
9959         patterns to include default constructors and assignment operators,
9960         to match gcc versions beyond 2.5.8. Accept any cplus demangling
9961         character in the output of the virtual base pointer.
9962
9963 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9964
9965         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
9966         expression match in print_addr_of to avoid unintented matches.
9967         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
9968         versions up to 2.5.8.
9969
9970 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9971
9972         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
9973         included file to run under newer versions of expect.
9974         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
9975         consecutive >'s in templates to accomodate recent cplus-dem.c change.
9976         Remove xfail for the virtual table of BDDHookV.
9977
9978 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
9979
9980         * lib/gdb.exp (string_to_regexp): Set a default result.
9981         (default_gdb_start): Fix misleading message.
9982
9983 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
9984
9985         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9986         Remove all CC, etc definitions.
9987         * config/mt-hpux: New file.
9988         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9989         (CFLAGS, LDFLAGS): Define.
9990         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9991
9992         * Makefile.in (site.exp): Don't insert host_os, etc.
9993         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9994         (distclean): Check existence of subdir.
9995         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9996         * gdb.base/Makefile.in: General cleanup and simplification.
9997         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9998         to build executables.   Use default rule to build .o files.
9999         (EXPECT, RUNTEST, CC): Fix relative pathname.
10000         (site.exp): Don't insert host_os, etc.
10001         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10002         and/or SIGUSR1 defined.
10003         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10004         * gdb.c++/Makefile.in: General cleanup and simplification.
10005         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10006         (CFLAGS): Remove.
10007         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10008
10009 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
10010
10011         * gdb.base/recurse.exp: Misc changes to get tests running again
10012         after Kung's changes to the watchpoint code.
10013         * gdb.base/watchpoint.exp: Likewise.
10014
10015 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
10016
10017         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
10018
10019 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
10020
10021         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10022         * lib/gdb.exp (default_gdb_start): Define.
10023         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10024         gdb.base/funcargs.exp, gdb.base/opaque.exp,
10025         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10026         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10027         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10028         Don't call gdb_target_udi in between tests.
10029
10030 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10031
10032         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10033         (which was basically just a local version of the same thing).  In
10034         addition to avoiding duplication, gdb_test_exact is faster.
10035         * lib/gdb.exp (gdb_test_exact): Fix typo.
10036
10037         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10038         don't give an error.
10039
10040         * gdb.base/term.exp: Call delete_breakpoints before starting.
10041
10042         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10043         (t10): Add comment.
10044
10045 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
10046
10047         Reorganization of the GDB Test Suite.
10048
10049         * gdb.base: New directory, contains all the basic tests.
10050         * gdb.c++: New directory, tests specific to C++.
10051         * gdb.chill: New directory, tests specific to Chill.
10052         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10053         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10054         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10055         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10056         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10057         t30-31 to chill).
10058         * */gdbme.*: Rename to match appropriate expect scripts.
10059         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10060         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10061         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10062         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10063         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10064         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10065         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10066         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10067         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10068         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10069         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10070         gdb.c++/virtfunc.cc: New names of C++ files.
10071         * gdb.chill/chillvars.ch: New name of Chill file.
10072         * gdb.base/configure.in, gdb.c++/configure.in,
10073         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10074         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10075         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10076         * configure.in (configdirs): Update to reflect directory changes.
10077         (target_abbrev): No longer define for any configuration.
10078         * Makefile.in: Cosmetic improvements to header comments.
10079
10080 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
10081
10082         Various changes to gdb.t31:
10083
10084         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
10085         * gdbme.ch:  Make all key-words and predefineds be upper-case.
10086         * chillvars.exp:  Expect key-words and predefinds in upper-case.
10087
10088         * chillvars.exp:  Use gdb_test_exact many places.
10089         Change expected output for arrays (which now includes index labels).
10090
10091         * pr-5020.exp, gdme.ch (module PR_5020):
10092         New test, for PR-5020.
10093
10094 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
10095
10096         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
10097         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
10098
10099 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
10100
10101         * Makefile.in:  Fix bit-rot in definitions of CHILL,
10102         CHILL_FOR_TARGET and Chill_LIB.
10103         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
10104         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
10105         CHILL, and CHILL_LIB.
10106
10107 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
10108
10109         * Revert the previous changes.  Please see Rob's directory
10110           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10111
10112 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
10113
10114         * Makefile.in, configure.in, config/mips-gdb.exp,
10115           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10116           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10117           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10118           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10119           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10120           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10121           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10122           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10123           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10124           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10125           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10126           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10127           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10128           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10129           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
10130           changes from 94Q1.
10131
10132 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
10133
10134         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10135           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10136           Rob's new testing fragments.
10137
10138 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
10139
10140         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10141           lib/gdb.exp: Replace error proc calls with perror.
10142
10143 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
10144
10145         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10146         version also, match on casted version strings, and match on
10147         gdb startup case where the line numbers might be messed up.
10148
10149 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
10150
10151         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10152           (CFLAGS): Delete it from here.
10153
10154 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
10155
10156         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10157
10158 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
10159
10160         * Makefile.in (RUNTEST): Default to just "runtest".
10161
10162 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10163
10164         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10165         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10166         the code has been restructured.
10167
10168 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10169
10170         * gdb.t00/default.exp (set write): Allow any number of \r and/or
10171         \n, not just one of each.
10172
10173         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10174         /bin/cc gives a warning if you do.
10175
10176 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
10177
10178         * gdb.t24/demangle.exp: change expect pattern of
10179         __t10ListS_link1ZUiRCUiPT0
10180
10181 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10182
10183         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10184         on local variables in recursive functions.
10185
10186         * gdb.t07/Makefile.in: Build the new test.
10187
10188 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10189
10190         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10191         directly.  Instead compare the return values from actual calls.
10192
10193 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
10194
10195         * Makefile.in (check): Set TCL_LIBRARY for runtest.
10196
10197 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10198
10199         * From Peter Schauer with minor modifications.
10200         * gdb.t15/return.exp (return_tests): Handle targets where "return"
10201         stops in mid-line in the caller.  Add xfail for returning a float
10202         value on X86 targets.
10203
10204 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10205
10206         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10207         to avoid expect lossage.
10208         (fmem_LRbug_tests): Likewise.
10209         * gdb.disasm/hppa.s: Corresponding changes.
10210
10211         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10212         conditions to work with latest dejagnu/expect.
10213
10214         * gdb.t15/funcargs.exp (finish from indirect call): No longer
10215         expected to fail on the PA.
10216         (backtrace in call with trampolines): Explicitly require main
10217         to be frame #1 (no trampolines should show up in backtrace).
10218
10219         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10220         "continue -expect".
10221         * gdb.t06/break.exp: Likewise.
10222         * gdb.t07/watchpoint.exp: Likewise.
10223         * gdb.t13/bitfields.exp: Likewise.
10224         * gdb.t15/{funcargs,return}.exp: Likewise.
10225         * gdb.stabs/weird.exp: Likewise.
10226         * config/{mips,udi}-gdb.exp: Likewise.
10227
10228         * hppa.sed: Enclose comments within a sed command to avoid
10229         losing with the old OSF1 sed.
10230
10231 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10232
10233         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
10234         sequent dynix.
10235         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
10236         * gdb.t15/funcargs.exp:  Conditionally step again to really
10237         finish from marker_call_with_trampolines. Handle the case where
10238         the first step from within call_with_trampolines already steps
10239         us back to main.
10240         * gdb.t15/gdbme.c:  Add comment to closing brace of
10241         call_with_trampolines for funcargs.exp.
10242
10243 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10244
10245         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10246         Fix typo(s).
10247
10248 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10249
10250         * gdb.t07/gdbme.c: More code for watchpoint testing.
10251
10252         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10253         "Hardware watchpoint" throughout file.
10254         (test_watchpoint_triggered_in_syscall): New test.
10255         (test_complex_watchpoint): New test.
10256
10257 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10258
10259         * gdbme.c (call_with_trampolines): New function to try and step
10260         into.  Tests trampoline problems on the PA.
10261
10262         * funcargs.exp (localvars_in_indirect_call): No longer expect
10263         stepping into indirect call to fail on PAs.
10264         (test_stepping_over_trampolines): New test.
10265
10266 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10267
10268         * TODO: Add suggestions for static member function tests, and
10269         completion tests.
10270
10271 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10272
10273         * TODO: Add suggestions for "p/a" tests.
10274
10275         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10276         (default_gdb_exit): Replace all the hair with sending "quit" to
10277         the process with a simple close.
10278
10279 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10280
10281         * TODO: Add suggestions for shared library tests.
10282
10283 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10284
10285         * TODO: Add suggestions for x/s tests.
10286
10287 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10288
10289         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10290         "enable once", and "enable breakpoints once" with ".*".
10291
10292 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10293
10294         * TODO: Add suggestions about structure passing tests.
10295
10296 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10297
10298         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
10299         the primary1 test, use work around if __GNUC__ < 2.
10300         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
10301         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
10302         Test for bad output rather than waiting for timeout.  Issue
10303         second continue only if first continue failed.
10304
10305 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
10306
10307         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10308         operator[] test with gdb_test because the old code didn't seem to
10309         be getting the quoting right with the new dejagnu.
10310
10311 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
10312
10313         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10314         one from the path.
10315         * Makefile.in: Use a fresh expect if there is one, use runtest
10316         from the src tree if there is one.
10317
10318 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
10319
10320         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10321         next over recursive call.  Revise the tests from that point on
10322         (which had been skipped) to match GDB's actual (correct) output.
10323
10324         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10325         with next over a breakpoint whose condition is false.
10326
10327         * gdb.t00/help.exp: Comment out "help set print" tests just like
10328         (and for same reason as) "help set" test.
10329
10330 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10331
10332         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10333         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10334
10335 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10336
10337         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10338         necessary gdb_target_udi.
10339
10340         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10341
10342         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10343         1838 and 2417; they are fixed.
10344
10345         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10346         gdb.t03/ptype.exp (ptype structure, ptype union):
10347         Remove xfails; the test is looser than when the xfails were added.
10348
10349         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10350         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10351
10352         * gdb.t01/run.exp: Only run shell test if isnative.
10353
10354         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10355         since "run" automatically loads if necessary.  Call gdb_target_udi
10356         after the "file" since "file" kills any execution target.
10357
10358         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10359         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
10360         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10361         argument for UDI.
10362
10363 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
10364
10365         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10366
10367         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10368
10369 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10370
10371         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10372         properly quoting regexps.  This makes the second argument to
10373         demangle a fixed string, which matches the callers, instead of a
10374         shell-style pattern which is what the previous implementation
10375         used.  Update some of the callers.
10376
10377 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10378
10379         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10380         (comib_nullified_tests): Fix typo.
10381         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10382         strings.  No longer expected to fail.
10383
10384         * gdb.disasm/hppa.s (addib_tests): Fix typo.
10385         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10386         strings.  No longer expected to fail.
10387
10388         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10389         string.  No longer expected to fail.
10390
10391 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10392
10393         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10394         No longer expected to fail.
10395
10396         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10397         string.  No longer expected to fail.
10398
10399 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10400
10401         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10402         only in the names (I probably got most of them).  I was even
10403         generous with some which differed in underscores in names, and
10404         probably missed a few, and I *still* was able to remove almost a
10405         third of the file with almost no impact on testsuite coverage.
10406
10407 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10408
10409         * gdb.t00/default.exp: Match udi_attach error message as well as
10410         the one from child_attach.
10411
10412         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10413
10414         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10415
10416         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10417         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10418
10419         * Move test with enums and partial symbols back to
10420         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10421         Reverts the change of 26 May 93.  Per today's change to
10422         stabs.texinfo, the behavior that weird.exp was expecting was
10423         unreasonable; what is important is that the compiler+gdb get
10424         things right, which happens with a recent gcc.  Also fix the test
10425         to deal with native compilers which put out the stab gdb can't
10426         deal with.
10427
10428 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10429
10430         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10431         in the names.  The main thing these accomplish is to slow things down.
10432         Many more such duplicates surely remain.
10433
10434         * gdb.t00/help.exp: Comment out "help support" test just like
10435         (and for same reason as) "help set" test.
10436
10437 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
10438
10439         * gdb.t06/break.exp:  Remove setup_xfails for
10440         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10441         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
10442         about known bug in gcc to include up through 2.5.8.
10443         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
10444         well as "_vb$".
10445         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10446         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10447         with latest gcc and gdb.
10448         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
10449         well as "_vb$".
10450
10451 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10452
10453         * configure.in (hppa*-*-*): Also configure and build stabs-only
10454         tests.
10455
10456 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10457
10458         * gdb.t10/hppa.mt: A makefile fragment for the PA.
10459         * gdb.t10/configure.in (hppa*-*-*): Use it.
10460
10461 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10462
10463         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
10464
10465 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10466
10467         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
10468         versions prior to 1.13.5.
10469
10470 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10471
10472         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10473         the prompt is at the start of a line.
10474
10475 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
10476
10477         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10478         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
10479         in the copr tests now.
10480         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
10481         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
10482         expected to fail.
10483
10484 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
10485
10486         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10487         gdb.t31/chillvars.exp, lib/gdb.exp:
10488         Tweak to run under either version of expect.
10489         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10490         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10491         * gdb.t11/list.exp: Remove extraneous whitespace.
10492
10493 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10494
10495         * gdb.t16/printcmds.exp (test_print_strings): Accept
10496         "(unsigned char *) " before the string.
10497
10498         * TODO: Add notes about printing of fancy types and GDB expressions.
10499
10500 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
10501
10502         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10503         * gdb.t06/configure.in: Don't try to compile signals test program
10504         if doing mips-idt-ecoff.
10505
10506 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
10507
10508         * Most .exp files: Tweak to run under either version of expect.
10509
10510 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10511
10512         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
10513         xfails; I'm not sure why they are failing, but not because of PR 1806.
10514
10515 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
10516
10517         * config/unix-gdb.exp: Remove gdb_unload cause it's already
10518         defined in lib/gdb.exp.
10519
10520 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10521
10522         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
10523         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10524         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
10525         have to be typeless.
10526
10527 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10528
10529         * TODO: Add suggestion for copyright year test.
10530
10531 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
10532
10533         * configure.in (*-*-lynxos*): Add stabs tests.
10534
10535 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
10536
10537         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10538         so insert a tab before any assembler directive in column zero.
10539
10540         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10541         stores.
10542         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10543         stores.
10544         (fpu_short_memory_tests): Likewise.
10545
10546 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10547
10548         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
10549         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
10550         .stabs directives in comments.
10551
10552 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10553
10554         * TODO: New file, describing tests we could write.
10555         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10556
10557 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10558
10559         * gdb.t06/signals.exp: Add kludge to force re-sync.
10560
10561         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10562         to xgdb instead of gdb, get out of gdb.
10563
10564 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
10565
10566         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10567         for info.
10568
10569 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
10570
10571         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10572         * gdb.stabs/configure.in (hppa*-*-*): Use it.
10573         * gdb.stabs/hppa.sed: New sed script for the PA.
10574
10575 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10576
10577         * gdb.stabs: Re-write weird.def and configuration to use sed
10578         instead of cpp.  sed is portable and POSIX; cpp is neither.
10579
10580 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10581
10582         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10583
10584 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10585
10586         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10587
10588 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10589
10590         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10591         "_vb$".
10592         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10593         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10594
10595 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10596
10597         * lib/gdb.exp: Comment out code which depends on non-existent
10598         `transform' procedure.
10599
10600 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
10601
10602         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10603         * lib/gdb.exp: Transform tool name.
10604         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10605         1.1's new error handling system.
10606
10607 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10608
10609         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10610
10611 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10612
10613         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10614         They made pattern matching so slow that timeouts happened on
10615         heavily loaded systems.  Now any output from "show print" which
10616         gets us back to the GDB prompt is a PASS.
10617
10618 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
10619
10620         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
10621
10622 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10623
10624         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10625
10626         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10627         It is not from PR 3220.
10628
10629 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10630
10631         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10632         just started failing because they depended on the order the
10633         subcommands are presented, or exact docstring text.  This kind of
10634         test is a pain and has minimal benefit.
10635
10636 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10637
10638         * gdb.t09/corefile.exp: At end of test, use "core" command with
10639         no arguments.
10640
10641 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
10642
10643         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10644         17}/Makefile.in:  Make it possible to run the testsuite with Sun
10645         make and CC = cross gcc by adding explicit build rules for .o
10646         files.
10647
10648 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10649
10650         * gdb.t15/funcargs.exp: Don't put comments on same line as
10651         setup_xfail (@#$*%& tcl braindamage!).
10652
10653 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10654
10655         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10656
10657 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
10658
10659         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10660         * gdb.t20/inherit.exp: remove three dumplicate entries.
10661
10662 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10663
10664         * gdb.t06/break.exp: For "next over recursive call", fail on any
10665         incorrect output, not just on "factorial (value=2)".
10666
10667 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10668
10669         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
10670         working now. Add an xfail if accesing a bss variable causes
10671         a memory error if the target is not yet run.
10672
10673 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10674
10675         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10676         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10677         name of __st* demangling (2 strings).  Did Kung really get the
10678         more than 95 others right without testing them?
10679
10680 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
10681
10682         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10683
10684 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
10685
10686         * configure.in (configdirs): Add gdb.disasm
10687         * gdb.disasm: New directory for GDB disassembler tests.
10688         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10689
10690 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10691
10692         * gdb.t00/help.exp: Don't test "help set".
10693
10694         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10695         from within expect statements.  None of these happen anymore and
10696         they cause regressions to be silently unnoticed.
10697
10698         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10699         messages) about known failures with gcc cygnus-2.4.5-930417.
10700
10701         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10702         comp-info.exp so it gets built if it doesn't exist.
10703
10704         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10705         it is no longer used.
10706         * gdb.t13/comp-info.c: Removed.
10707
10708 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
10709
10710         * gdb.t06/signals.exp: Add xfail for sun3.
10711
10712 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10713
10714         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10715         relevant because ^C doesn't get sent but failure can be reproduced
10716         interactively).
10717
10718 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10719
10720         * gdb.stabs/alpha.mt:  New configuration file for alpha.
10721         * gdb.stabs/configure.in:  Use it.
10722         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
10723         sharing with alpha.mt, redefine long to word via preprocessor.
10724         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
10725         for alpha.
10726         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
10727         native cc.
10728         * gdb.t00/teststrategy.exp:  Change expect string so that we
10729         consume the `(xgdb)' from the command echo and from the gdb prompt.
10730         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
10731         gdb currently compares all values as long, so this failure probably
10732         applies to any configuration where LONGEST is bigger than a target int.
10733         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
10734         with gcc.
10735         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
10736         to handle opaque pointers, gcc is.
10737         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
10738         as first argument. Include <sys/types.h> and change all operator
10739         new definitions to use size_t.
10740         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
10741         now that we use size_t.
10742
10743 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10744
10745         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
10746         a long or float array cast all array members to the same type.
10747         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
10748         with 64 bit longs.
10749         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
10750         on alpha.
10751         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
10752
10753 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10754
10755         * gdb.t24 (demangle.exp): Constructors of templates have names like
10756         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
10757         section 14.6 of the ARM.
10758
10759         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10760         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10761         accomplish little and slow down the testsuite.
10762
10763         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10764         Accept spaces various places.
10765
10766 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10767
10768         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10769         with watchpoint enabled.
10770
10771         * Makefile.in: Remove definition of CC and remove the second
10772         definition of CXX (the "CXX = gcc" one remains).  These definitions
10773         were causing backquotes to be expanded within backquotes, which
10774         doesn't work.
10775
10776 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
10777
10778         * gdb.t17/callfuncs.exp: Add "return 0" to end.
10779
10780 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10781
10782         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
10783         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
10784         by mips cc and contains no stabs entries.
10785
10786 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
10787
10788         * config/vx-gdb.exp: Use fake device to load files rather than
10789         NFS.
10790         * lib/gdb.exp: New proc to do "file" command.
10791         * config/unix-gdb.exp: Use new "file" proc.
10792
10793 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
10794
10795         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10796         Rework board rebooting slightly.
10797         (gdb_exit): Don't exit from the remote shell; there isn't one.
10798         * gdb.stabs/weird.exp: If a program is being debugged already,
10799         kill it.
10800         * gdb.t04/setvar.exp: Stop and restart gdb.
10801         * gdb.t05/expr.exp: Likewise.
10802         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10803         restart gdb and reload the program.
10804         * gdb.t08/opaque.exp: Likewise.
10805         * gdb.t12/scope.exp: Likewise.
10806         * gdb.t13/bitfields.exp: Likewise.
10807         * gdb.t15/funcargs.exp: Likewise.
10808         * gdb.t20/classes.exp: Likewise.
10809         * gdb.t03/ptype.exp: Increase timeout.
10810         * gdb.t16/printcmds.exp (test_print_string_constants,
10811         test_print_array_constants): Likewise.
10812         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10813         * gdb.t20/classes.exp (do_tests): Likewise.
10814         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10815
10816 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
10817
10818         * gdb.stabs: Renamed *wierd* to *weird*.
10819
10820 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
10821
10822         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10823         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
10824
10825 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
10826
10827         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10828         (do_tests): Remove xfail for whatis on one_var and two_var.
10829
10830 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
10831
10832         * Makefile.in: Made cross building work better by adding
10833         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10834
10835 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10836
10837         * gdb.t15/{return.c,return.exp,Makefile.in}:
10838         New test, currently commented out.
10839
10840 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
10841
10842         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10843         still running and removes the leftover named socket so GDb can do
10844         clean restarts.
10845
10846 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
10847
10848         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10849         console, not GDB.
10850         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10851         cross testing works better with "make check"
10852         * config/unix-gdb: Use default procedures for exit and version.
10853         * config/vx-gdb.exp: Cleaned up and massaged back to working order
10854         with the newest VxWorks.
10855
10856 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10857
10858         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10859         old form.
10860
10861         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10862         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10863
10864         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10865
10866         * config/unix-gdb.exp: Remove this version of gdb_exit
10867         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10868         Rob says he'll look at it when he gets back to testing boards.
10869
10870 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
10871
10872         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
10873         an expected fail for certain ptype commands.
10874
10875         * gdb.t20/classes.exp:  Update expected results of "ptype class
10876         Base1" to account for the constructor that now appears in the type.
10877
10878 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
10879
10880         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
10881         disappeared from list.
10882         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
10883         "alldone" proc with call to cleanup and exit.
10884         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10885         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10886         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10887         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10888         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
10889         "alldone" proc with simple returns that suppress remaining
10890         tests.  The alldone proc went away many months ago.
10891
10892 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10893
10894         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10895
10896         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10897
10898 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10899
10900         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
10901         as vax gdb will display them.
10902
10903 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10904
10905         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10906         optimizers.
10907
10908         * scope.exp: Change "bad value for localval" messages so each one
10909         is unique.
10910
10911         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10912         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10913
10914         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10915
10916 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10917
10918         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10919         doesn't exist (due to optimization).
10920
10921 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10922
10923         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10924         contains \r because the filename is long.
10925
10926         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10927         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10928
10929 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10930
10931         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10932         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
10933         Ultrix.
10934         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
10935         int tests.
10936         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
10937
10938 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
10939
10940         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
10941
10942         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
10943         to match does not match the passing case but still matches the
10944         failing case.
10945
10946 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10947
10948         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10949
10950 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
10951
10952         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
10953         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10954         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10955         Remove various versions of gdb_exit.
10956         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
10957         gdb_exit.
10958         * config/unix-gdb.exp:  gdb_exit remains here, and should override
10959         the generic version, since it's doing a lot of wierd stuff that
10960         the other versions aren't.  FIXME, fold it in, or abandon this
10961         version.
10962
10963 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10964
10965         * gdb.t24/demangle.exp: Add tests for PR 3220.
10966
10967 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10968
10969         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10970
10971 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
10972
10973         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
10974         "i386-*-*".  Works for i486 as well.
10975
10976         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
10977         bug, and expand domain of xfail to all SVR4 systems, since the
10978         actual problem is likely to be in generic SVR4 /proc support.
10979
10980 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10981
10982         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10983
10984 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
10985
10986         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
10987         xfails for other systems.  Match a missing 'Continuing.' as an
10988         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10989
10990         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10991         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10992         Only issue warning for missing executables if -all option is used.
10993
10994         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
10995         file if -all option is used.  It's like an unpredictable XFAIL.
10996
10997 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
10998
10999         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11000         for dynamically linked binaries.
11001
11002         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11003
11004 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11005
11006         * gdb.t20/inherit.exp: Change message for "print tagless struct"
11007         to state that this is a known bug in old versions of g++.
11008
11009 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11010
11011         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
11012         while waiting for `Continuing'.
11013
11014 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
11015
11016         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
11017         in text, data, and bss.
11018         * gdb.t10/nodebug.c:  Add local and global test variables for
11019         initialized and uninitialized data.
11020
11021 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11022
11023         * config/unix-gdb.exp (gdb_exit): Add "wait".
11024
11025 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11026
11027         * gdb.t06/signals.exp:  xfail the continue from the handler for all
11028         targets.
11029
11030         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
11031         function with watchpoints enabled, the i386 call dummy starts with
11032         a call.
11033
11034         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
11035         386 bsd names its corefiles.
11036
11037 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
11038
11039         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
11040         compilers don't grok it.
11041         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
11042         with small octal ints rather than character constants, which
11043         are signed and might not fit if first promoted to int.
11044
11045 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
11046
11047         * gdb.t09/Makefile.in (clean):  Remove corefile.
11048
11049 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11050
11051         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11052
11053 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11054                           and Jim Kingdon (kingdon@cygnus.com)
11055
11056         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11057         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
11058         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11059
11060 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11061
11062         * gdb.t17/interrupt.exp: Add xfail for hppa.
11063
11064 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11065
11066         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11067         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
11068         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
11069         to determine signed-ness of bitfields and use the result to setup
11070         the xfail.
11071         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
11072         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
11073         call line is reached if necessary.
11074
11075 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11076
11077         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11078
11079 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11080
11081         * gdb.t06/break.exp: Also test `clear' command.
11082
11083 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
11084
11085         * gdb.t00/teststrategy.exp: Remove extra quote.
11086
11087         * gdb.t07/watchpoint.exp: Change xfail for calling function with
11088         watchpoint enabled to be for all non-68k machines.
11089
11090         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11091
11092 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11093
11094         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11095         targets use aout.mt instead of ecoff.mt as gas understands
11096         standard aout format.
11097
11098 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
11099
11100         * lib/gdb.exp (runto): Don't insist that function we are running to
11101         was compiled with -g.
11102
11103         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11104
11105         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11106         to get back into the read system call.
11107         Accept leading newline in case where we woke it up.
11108
11109 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11110
11111         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
11112         to make the stabs test work on ecoff systems using gcc and -with-stabs.
11113         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
11114         enable ecoff configuration.
11115
11116 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11117
11118         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11119
11120 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11121
11122         * gdb.t16/printcmds.exp: Add another printf test.
11123
11124 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
11125
11126         * configure.in: If configured -with-stabs on any target, add
11127         stabsdirs to configdirs.
11128
11129 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11130
11131         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11132         fun" so pattern does not match the command itself.
11133
11134 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11135
11136         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11137
11138 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11139
11140         * gdb.t17/interrupt.exp: Test for more things.
11141
11142 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11143
11144         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11145         compiler arranges the code and line numbers.
11146
11147         * gdb.t17/interrupt.exp: Don't send \n after ^C.
11148
11149 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11150
11151         * gdb.t00/help.exp:  Increase expect input buffer size.
11152
11153 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11154
11155         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11156
11157         * gdb.t07/watchpoint.exp: Add xfail for hppa.
11158
11159         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11160
11161         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11162         [0-9]*, not just [0-9].
11163
11164 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11165
11166         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11167
11168         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11169
11170 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11171
11172         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11173
11174 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11175
11176         * gdb.t06/signals.c: Add xfails for sun3.
11177
11178         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11179
11180         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
11181         test_stepping tests.
11182
11183 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11184
11185         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11186
11187         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11188
11189         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11190         rather than actually putting it through cpp twice.
11191
11192         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11193
11194 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
11195
11196         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11197         no longer needed.
11198
11199 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11200
11201         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11202
11203         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11204         C++ features prints as "struct", make it a pass, not an xfail.
11205
11206 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11207
11208         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11209         Don't require VA to print as "class" rather than "struct".
11210
11211 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
11212
11213         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11214
11215 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11216
11217         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11218
11219 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11220
11221         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
11222         order.
11223
11224 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11225
11226         * gdb.t16/printcmds.exp: Add printf tests.
11227
11228         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11229
11230         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11231
11232 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
11233
11234         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
11235         pass counts, to counteract any existing or future setup_xfails.
11236
11237 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11238
11239         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11240         {BEGIN,END}_COMMON for common block instead of STAB.
11241         * gdb.stabs/wierd.exp: Add xfail for rs6000.
11242
11243         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11244         intp_var should be N_GSYM not N_LSYM.
11245         wierd-aout.S: Use a label for the value of the N_SO.
11246         wierd.def: Remove all backslashes.
11247         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11248
11249 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11250
11251         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11252         get the expected next to inheritance3.
11253
11254 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11255
11256         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11257         now that gcc-2.4 gets it right.
11258
11259 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11260
11261         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11262
11263         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11264         generating comp-info.exp which works for cross-compilation.
11265
11266 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
11267
11268         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
11269         "*-*-sysv4.*".
11270
11271 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
11272
11273         * gdb.t01/run.exp:  Start with a fresh gdb.
11274         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
11275         SVR4.x.
11276
11277 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
11278
11279         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11280         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11281         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11282         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
11283         things to remove.
11284
11285 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
11286
11287         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
11288         test cases from bug reports.
11289
11290 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
11291
11292         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
11293         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
11294           avoid spurious xfails.
11295         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
11296         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
11297         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
11298
11299 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
11300
11301         * gdb.t00/teststrategy.exp:  Rework to provide more useful
11302         description of each test, fix problem with systems that define
11303         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11304         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
11305         results for "next over recursive call" so timeouts aren't taken
11306         by error.
11307
11308 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
11309
11310         * gdb.t12/scope.exp: Test printing of variables before run.
11311
11312         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11313         printed in wrong order due to sorting.
11314
11315 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
11316
11317         * gdb.t00/teststrategy.exp:  Fix expected results for printing
11318         user entered string constant.  Is array of char, prints with no
11319         address.
11320
11321         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
11322         commands.
11323         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
11324         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
11325         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
11326         of struct of char arrays.
11327         * gdb.t00/radix.exp:  New tests for radix commands.
11328
11329 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
11330
11331         * gdb.t16/printcmd.exp: Print a variable before running program
11332         (with xfail for AIX).
11333
11334 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
11335
11336         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11337
11338         * gdb.t16/printcmd.exp: Don't print variables before running program.
11339
11340         * gdb.t06/break.exp: Don't require envp argument to main.
11341
11342         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11343
11344         * gdb.t02/whatis.exp, gdb.t11/list.exp:
11345         Add xfails for rs6000.
11346
11347         * gdb.t02/whatis.exp: Change other tests not to re-test something
11348         we already tested.
11349
11350         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11351         each type used has a variable of that type.
11352
11353 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
11354
11355         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11356
11357 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
11358
11359         * configure.in: change srctrigger to be a file, not a directory
11360
11361 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
11362
11363         * configure.in (mips-idt-ecoff*): Added trailing '*'.
11364
11365         * gdb.t11/list.exp: Fixed a couple of typos.
11366
11367 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
11368
11369         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
11370         is fixed and PR is closed.
11371         * gdb.t16 (gdbme.c):  Add simple test string variable.
11372         * gdb.t16 (printcmds.exp):  Add tests with simple test string
11373         variable, primarily for boundaries on "set print elements".
11374
11375 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
11376
11377         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11378         Make leading 0's optional and don't expect a tab in the middle
11379         of the number.
11380
11381         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11382
11383         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11384         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
11385         don't end command passed to gdb_test with newline.
11386
11387         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11388         signed keyword away, don't expect signed bitfields to be signed.
11389
11390         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11391         printing with only as many 1's as are in the field as well as printing
11392         with 32 1's (see comment).
11393
11394 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
11395
11396         * gdb.t00/default.exp:  Start with a fresh gdb.
11397         * configure.in (configdirs):  Remove gdb.t31 until the chill
11398         compiler works again.  It no longer is able to find chillrt0
11399         since it isn't in libchill.a anymore.
11400         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
11401         wierd.o, make more modular.
11402         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
11403         spurious newlines that caused problems.
11404
11405 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11406
11407         * Move test with enums and partial symbols from gdb.t03/ptype.exp
11408         to gdb.stabs/wierd.exp since GCC has worked around the bug.
11409         gdb.stabs/wierd.{exp,def}: Many new tests.
11410
11411         * gdb.t00/default.exp: update info line for new message.
11412
11413         * gdb.t02/{whatis.exp,gdbme.c}:
11414         Test that "char *" doesn't print as "caddr_t".
11415
11416 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11417
11418         * gdb.t00/help.exp: Use .* in place of some help messages which
11419         just changed.
11420         gdb.t00/default.exp: Update "info frame" test for new message.
11421         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11422         Remove some xfails
11423
11424 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11425
11426         * gdb.t03/{gdbme.c,ptype.exp}:
11427         Add tests for typedef'd struct and union without tags.
11428         Also check "whatis" on a variable of a typedef'd enum without a tag.
11429
11430         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11431         PRMS 1823; the bug still exists but isn't reproduced by this test
11432         anymore), and remove rs6000 XFAIL (the bug is fixed).
11433
11434         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11435         duplicated from whatis.exp.  For those that are left, accept
11436         "long", "long int", or "int" for long variables (whatis.exp already
11437         has an XFAIL for "int", so no need to fail it here).
11438
11439         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11440         Deal with GCC's names for types now that GDB uses the compiler's names.
11441
11442         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
11443         setup_xfail's for sunos4.  If we #defined the signed keyword away,
11444         don't expect GDB to know that char it is signed.
11445
11446         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11447
11448 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
11449
11450         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
11451         should work on any system, regardless of debugging format.
11452         * gdb.t21/demangle.exp:  Move to gdb.t24.
11453         * gdb.t24/demangle.exp:  Move from gdb.t21.
11454         * gdb.t24/{Makefile.in, configure.in}:  New files.
11455
11456 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11457
11458         * configure.in: Do gdb.stabs and C++ tests only for stabs.
11459         * gdb.stabs: New directory.
11460
11461 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11462
11463         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11464         not just "Quit anyway?".
11465
11466 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
11467
11468         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
11469         that all setup_xfails are immediately followed by clear_xfails.
11470
11471 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
11472
11473         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11474         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11475         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11476         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11477         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11478         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11479         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11480         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11481         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11482         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11483         gdb.t31/chillvars.exp, lib/gdb.exp:
11484         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11485         bug-gdb@prep.ai.mit.edu.
11486
11487 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
11488
11489         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
11490         with 0.0, not integer 0.
11491
11492 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
11493
11494         * gdb.t06/break.exp: Update for "Kill the program" message change.
11495
11496 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
11497
11498         * Makefile.in (GDBFLAGS):  Set to -nx.
11499         * Makefile.in (site.exp):  Use GDBFLAGS.
11500
11501 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
11502
11503         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11504           Makefiles.
11505           (check): depend on just-check.
11506           (just-check): added so that tests can be run without a noop
11507           build pass.
11508
11509 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
11510
11511         Switch to using configure's configdirs.
11512         * Makefile.in (Makefile): add configure.in dependency.
11513           (SUBDIRS): removed redundant assignment.
11514         * configure.in: switch subdirs assignment to configdirs.
11515         * gdb.t*/configure.in: new files.
11516
11517 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
11518
11519         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11520         works.
11521
11522 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
11523
11524         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
11525         in explicit rules.  Apparently this is not supported by some makes.
11526
11527 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
11528
11529         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
11530
11531 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11532
11533         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
11534         disappeared.
11535
11536 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
11537
11538         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
11539
11540 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
11541
11542         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
11543         watchpoint problem that is now fixed.
11544         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
11545         uninitialized convenience variables.
11546         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
11547         structures.
11548
11549 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11550
11551         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11552         which causes expect to get out of sync with gdb on long output
11553         from help set.
11554         * gdb.t09/corefile.exp: Make expected pattern for core file
11555         failing signal and frame output format less sun specific.
11556
11557 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
11558
11559         * gdb.t31/chillvars.exp:  Add and remove initial dummy
11560         breakpoint, so that symbol table is forced in.
11561         (Needed at least on Sunos4, though it seems not SVR4.)
11562         * gdb.t31/chillvars.exp:  Update for changed output format.
11563
11564 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
11565
11566         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11567
11568 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
11569
11570         * Makefile.in: Added --srcdir when invoking runtest, removed the
11571         need for a local config file. (optional now)
11572
11573 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
11574
11575         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
11576         failure count used to force early termination.  Add some more
11577         expected failures for gnu style demangling.
11578
11579 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11580
11581         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11582         pmi variable from gdb.t20/gdbme to get optimized away.
11583         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11584         Check for written corefile upon timeout _and_ eof.
11585
11586 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11587
11588         * config/unix-gdb.exp:  Add missing return 0.
11589
11590 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11591
11592         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
11593         test termination.
11594
11595 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
11596
11597         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
11598         disappeared.
11599
11600 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
11601
11602         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
11603         time as i860 support works.
11604
11605         * gdb.t15/funcargs.exp:  Fix expected outputs to include
11606         "backtrace 100\r" rather than just "backtrace\r", to match last
11607         change.
11608
11609 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
11610
11611         * config/udi-gdb.exp (gdb_exit): Remove close command.
11612         (gdb_target_udi): New procedure to set the UDI target.
11613         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
11614         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11615         Added waits for prompts after several question responses.  Added
11616         some more responses used by a29k-amd-udi-gdb.
11617         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11618         pass different arguments, restart UDI connection after program
11619         completion.
11620         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11621         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11622         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11623         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11624         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11625         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11626         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11627         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11628         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11629         after program completion.
11630         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11631         compiled with a SELECT_VECS setting.
11632         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11633         infinite recursion.
11634
11635         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11636         Added checks for COFF results, and made them expected failures for
11637         all targets.  It would be better to make them expected failures
11638         for COFF targets only.
11639
11640 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
11641
11642         * Makefile.in: add null dvi target, don't bother to recurse
11643         through test directories for info and install-info; rename
11644         $(datadir) to be dejagnu instead of deja-gnu
11645
11646 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
11647
11648         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
11649         compiler to coredump.
11650         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
11651         code.
11652
11653 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
11654
11655         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
11656         coredump.
11657         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
11658         code.
11659
11660 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
11661
11662         * gdb.t03/ptype.exp: tests for return code from gdb_test.
11663         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11664         which in a shell. Deletes xgdb when done.
11665         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11666         Tests the return from the "set height" or "set width" commands.
11667         Added a few return codes where needed.
11668
11669 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
11670
11671         * Makefile.in (SUBDIRS):  Add gdb.t17.
11672         * configure.in (subdirs):  Add gdb.t17.
11673         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
11674         files to test gdb's calling of functions in the inferior with
11675         the correct arguments and gdb's ability to retrieve any
11676         result returned.
11677
11678 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
11679
11680         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
11681         may be called after gdb goes away.  Previous versions of expect
11682         needed these to avoid file descriptor leaks, but they cause
11683         errors with the current revision of expect.
11684         * gdb.t00/gdbvars.exp:  Use -re on expected output after
11685         setting sevenbit-strings.
11686         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
11687         to set sevenbit-strings consistent across tests.
11688         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
11689         set sevenbit-strings consistent across tests.
11690
11691 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
11692
11693         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
11694         expected output to match current "expect" expectations.
11695
11696 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
11697
11698         * gdb.t00/default.exp:  Change expected output for default "source"
11699         command, to match new gdb behavior which requires a filename to
11700         source.
11701
11702 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
11703
11704         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
11705         expected fail for i486-*-* that misses the marker2 function.
11706         * gdb.t10/crossload.exp (bfddefault):  Allow successful
11707         recognition of a format to pass even if no symbols are found.
11708         Explicitly catch failures where the format is not recognized
11709         or is ambiguous, and add the reason to the fail message.
11710         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
11711         the cause is and invalid target and add reason to failure message.
11712         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
11713         elf32-i386, elf32-sparc, and elf32-i860.
11714         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11715         Set up expected failure for 'filename'::variable scope resolution,
11716         which is now apparently broken on all targets.
11717         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11718         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11719         gdb.t23/templates.exp:   Change failure for missing binfile into
11720         just a warning.
11721         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
11722         references.
11723
11724 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
11725
11726         * gdb.t00/default.exp:  Add expected output for default "source"
11727         command, to match new gdb behavior.
11728         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
11729
11730 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
11731
11732         * config/*-gdb.exp: returns an error, rather than exiting on
11733         internal errors.
11734
11735 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
11736
11737         * gdb.t03/gdbme.c:  Add pointer to struct variable.
11738         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
11739         referencing struct members.
11740
11741 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
11742
11743         * configure.in (mips-idt-ecoff): New target.
11744         * config/mips-gdb.exp: New file for remote board using MIPS remote
11745         debugging protocol.
11746
11747         * Redid configuration scheme.  Removed gdb.t*/configure.in.
11748         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
11749         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
11750         distclean targets.  Built executables via .o files.  Adjusted
11751         tests to account for source files in $(srcdir) rather than
11752         $(objdir).
11753         * lib/gdb.exp (runto): Don't expect () after the function name,
11754         because it may have arguments.
11755
11756 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
11757
11758         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11759         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11760         expected failures for mips-idt-* and mips-sgi-*.
11761         * gdb.t00/default.exp (attach): Kill process if requested.
11762         * gdb.t00/help.exp (help target core, help target): Accept a gdb
11763         that does not read core files.
11764         * gdb.t01/run.exp: Removed checks for exit status code.
11765         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11766         it is linked in.
11767         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11768         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11769         appropriate, rather than doing it by hand.
11770         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11771         execution.
11772         * gdb.t10/crossload.exp: Kill existing program if needed.
11773         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11774         appropriate, rather than doing it by hand.  Always increase
11775         timeout for this test, not just for VxWorks.
11776
11777 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
11778
11779         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
11780         of Chill STRUCT types and STRUCT values.
11781         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
11782         than "char".
11783         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
11784         struct2):  New struct definitions and initializations to test
11785         simple Chill STRUCT types.
11786
11787 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
11788
11789         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
11790         the null byte at the end of strings.
11791         * gdb.t00/default.exp:  Make show version insensitive to copyright
11792         date.
11793         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
11794         to avoid dependencies on target char signedness.
11795         * gdb.t16/printcmds.exp:  Update expected results for explicitly
11796         unsigned char.
11797         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
11798         now work.
11799         * gdb.t21/demangle.exp:  Add many more patterns for template
11800         demangling, most of them being expected failures.
11801         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
11802         string we are matching for, to match on the whole string.
11803         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
11804         and fix a whole bunch that had incorrect expected output but were
11805         passing anyway because of the bug in "proc demangle".
11806         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
11807         type.
11808         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
11809
11810 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
11811
11812         * gdb/testsuite: made modifications to testcases, etc., to allow
11813         them to work properly  given the reorganization of deja-gnu and the
11814         relocation of the testcases from deja-gnu to a "tool" subdirectory.
11815
11816 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
11817
11818         * gdb/testsuite: Initial creation of gdb/testsuite.
11819         Migrated dejagnu testcases and support files for testing nm to
11820         gdb/testsuite from deja-gnu.  These files were moved "as is"
11821         with no modifications.  This migration is part of a major overhaul
11822         of dejagnu.  The modifications to these testcases, etc., which
11823         will allow them to work with the new version of dejagnu will be
11824         made in a future update.
11825
11826 For additional changes see gdb.mi/ChangeLog-1999-2003.
11827 \f
11828 Local Variables:
11829 mode: change-log
11830 left-margin: 8
11831 fill-column: 74
11832 version-control: never
11833 End: