97a657b9029a706333d5549ce81a10e5443fa47c
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2004-02-26 Fred Fish <fnf@redhat.com>
2
3 * gdb.arch/gdb1431.c: Remove.
4 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
5 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
6 of "until" incorrectly.
7
8 2004-02-26 J. Brobecker <brobecker@gnat.com>
9
10 * gdb.cp/class2.cc (empty): New class.
11 (refer): New function.
12 (main): Declare an object of type empty and use it.
13 * gdb.cp/class2.exp: Print the value of an object of type empty.
14
15 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
16
17 * gdb.base/langs.exp: Update query string to match the
18 new nquery format used for pending breakpoints.
19
20 2004-02-26 Andrew Cagney <cagney@redhat.com>
21
22 Fix PR i18n/1570.
23 * gdb.base/charset.c: Update copyright notice.
24 (main, init_string): Remove the escape character '\e' tests.
25 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
26 * gdb.base/charset.exp (valid_host_charset): Ditto.
27 * gdb.base/setvar.exp: Ditto.
28
29 2004-02-24 Andrew Cagney <cagney@redhat.com>
30
31 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
32 mmapped data in core file" PASS and FAIL messages consistent.
33
34 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
35 setting a breakpoint. Work around PR java/1565.
36
37 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
38
39 * lib/gdb.exp (gdb_breakpoint): Update query string to match
40 new nquery format.
41 * gdb.base/pending.exp: Ditto.
42
43 2004-02-22 Mark Kettenis <kettenis@gnu.org>
44
45 * configure.in: Run stabs tests on *BSD.
46 * configure: Regenerated.
47
48 2004-02-21 Mark Kettenis <kettenis@gnu.org>
49
50 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
51
52 2004-02-20 Fred Fish <fnf@redhat.com>
53
54 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
55 blank in test for "returns short", for consistency with other
56 "returns xxx" tests. Update copyright year.
57
58 2004-02-19 Fred Fish <fnf@redhat.com>
59
60 New testcase for PR breakpoint/1558.
61 * gdb.arch/gdb1558.exp: New file.
62 * gdb.arch/gdb1558.c: New file.
63
64 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
65
66 * gdb.base/nodebug.exp: Fix typo.
67
68 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
69
70 Committed by Jim Blandy <jimb@redhat.com>.
71
72 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
73
74 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
75
76 * gdb.base/float.exp: Support s390*-*-* targets.
77
78 2004-02-17 Adam Fedor <fedor@gnu.org>
79
80 * gdb.base/gdb1555.exp: New file.
81 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
82
83 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
84
85 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
86
87 2004-02-16 Fred Fish <fnf@redhat.com>
88
89 * gdb.arch/gdb1291.c: Remove
90 * gdb.arch/gdb1291.s: New test input file.
91 * gdb.arch/gdb1291.exp: Expand test to check case that should not
92 fail. Test for correct result, known incorrect result, other
93 failures and timeouts.
94
95 2004-02-16 Andrew Cagney <cagney@redhat.com>
96
97 * gdb.base/bigcore.exp: New file.
98 * gdb.base/bigcore.c: New file.
99
100 2004-02-13 Andrew Cagney <cagney@redhat.com>
101
102 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
103 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
104 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
105 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
106 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
107 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
108 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
109 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
110 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
111 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
112
113 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
114
115 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
116 executed is an alloc instruction.
117
118 2004-02-11 David Carlton <carlton@kealia.com>
119
120 * gdb.cp/breakpoint.exp: New.
121 * gdb.cp/breakpoint.cc: New.
122
123 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
124
125 Partial fix for PR gdb/1543.
126 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
127 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
128 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
129 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
130 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
131 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
132 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
133 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
134 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
135 to bug-gdb@prep.ai.mit.edu .
136 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
137 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
138 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
139 Likewise.
140
141 2004-02-10 Andrew Cagney <cagney@redhat.com>
142
143 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
144 using gdb_internal_error_resync.
145
146 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
147
148 * gdb.threads/thread-specific.exp: Stop early if no threads are
149 found.
150
151 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
152
153 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
154
155 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
156
157 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
158 breakpoints.
159
160 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
161
162 * config/sim.exp (gdb_load): Handle $arg == "".
163 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
164 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
165
166 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
167
168 * gdb.base/maint.exp: Update test to reflect
169 obstack changes.
170
171 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
172
173 * gdb.base/pendshr.c (pendfunc): New function that calls
174 pendfunc1.
175 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
176
177 2004-02-04 Fred Fish <fnf@redhat.com>
178
179 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
180 function symbols and update copyright years.
181 * gdb.arch/gdb1291.c: Ditto.
182
183 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
184
185 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
186
187 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
188
189 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
190
191 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
192
193 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
194
195 2004-02-02 Fred Fish <fnf@redhat.com>
196
197 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
198 remote targets. Update copyright years.
199
200 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
201
202 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
203 support.
204 * gdb.base/langs.exp: Fix test which attempts to create
205 breakpoint on non-existent function to handle new pending
206 support.
207 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
208 a breakpoint.
209 * gdb.base/pending.exp: New test.
210 * gdb.base/pending.c: New file.
211 * gdb.base/pendshr.c: Ditto.
212
213 2004-02-02 David Carlton <carlton@kealia.com>
214
215 * gdb.cp/overload.exp: Add overloadNamespace tests.
216 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
217 (overloadNamespace, XXX): New.
218 (main): Call XXX::marker2.
219
220 2004-02-01 Fred Fish <fnf@redhat.com>
221
222 * gdb.base/dump.exp: Use runto_main instead of "runto main".
223 * gdb.base/finish.exp: Ditto.
224 * gdb.base/gcore.exp: Ditto.
225 * gdb.base/huge.exp: Ditto.
226 * gdb.base/info-proc.exp: Ditto.
227 * gdb.base/return2.exp: Ditto.
228 * gdb.threads/gcore-thread.exp: Ditto.
229
230 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
231
232 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
233
234 2004-02-01 Mark Kettenis <kettenis@gnu.org>
235
236 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
237 that opening the file succeeds on OpenBSD.
238
239 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
240
241 * gdb.threads/thread-specific.c: New file.
242 * gdb.threads/threads-specific.exp: New test script.
243 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
244 to expect_out.
245
246 2004-02-01 Mark Kettenis <kettenis@gnu.org>
247
248 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
249 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
250 only on the "print_small_structs from print_long_arg_list" test.
251
252 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
253
254 * gdb.base/completion.exp: Kill a stray backslash.
255
256 From Jim Ingham <jingham@apple.com>:
257 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
258 agrees with the result from sending a tab.
259
260 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
261
262 * gdb.base/chng-syms.exp: Remove stray newline.
263
264 2004-01-31 Mark Kettenis <kettenis@gnu.org>
265
266 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
267 *-*-openbsd*.
268 * gdb.asm/openbsd.inc: New file.
269
270 2004-01-30 Mark Kettenis <kettenis@gnu.org>
271
272 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
273 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
274 *-*solaris2*. Remove commented out default settings for
275 asm-flags. Replace gdb_compile with target_link.
276
277 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
278
279 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
280 for all tests. Remove old hp-ux and cygnus xfail cases.
281
282 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
283
284 * gdb.base/chng-syms.exp: New file.
285 * gdb.base/chng-syms.c: New file.
286
287 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
288
289 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
290 Provide arms for current output in all my configurations.
291
292 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
293
294 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
295 * lib/compiler.cc: Likewise.
296 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
297 get the right preprocessor. Eval the output directly. Remove
298 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
299 hp_f77_compiler and hp_f90_compiler completely.
300 (gdb_preprocess): Delete.
301 (get_compiler): Delete.
302
303 2004-01-24 Mark Kettenis <kettenis@gnu.org>
304
305 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
306 <string.h>.
307
308 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
309
310 * gdb.mi/mi-stack.exp: Update copyright.
311
312 2004-01-23 David Carlton <carlton@kealia.com>
313
314 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
315 test for cp_lookup_transparent_type.
316 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
317 call them.
318
319 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
320
321 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
322 after -var-update.
323
324 2004-01-23 David Carlton <carlton@kealia.com>
325
326 * gdb.cp/namespace.cc (C::ensureRefs): New.
327 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
328
329 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
330
331 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
332 case "-stack-list-locals 2".
333 * gdb.mi/mi-var-child.exp: Test for case
334 "-var-list-children --all-values NAME".
335
336 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
337
338 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
339
340 2004-01-18 Mark Kettenis <kettenis@gnu.org>
341
342 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
343 used with gdb_test_multiple.
344
345 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
346 read at address 0. This fixes PR testsuite/1504.
347
348 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
349
350 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
351 Remove downloading, guessing the host executable, the calls to
352 gdb_file_cmd and gdb_target_cmd, and "load" support.
353 (infer_host_exec): New function broken out from gdb_load.
354 (gdb_load): New wrapper for gdbserver_gdb_load.
355 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
356 gdb_target_cmd. Use -target-select.
357 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
358 Download binaries to the host. Clear last_mi_remote_file when
359 we load a new binary.
360 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
361 call gdbserver_gdb_load and mi_gdb_target_cmd.
362
363 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
364
365 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
366 type patterns.
367
368 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
369
370 * gdb.cp/templates.exp: Fix typo in test name of
371 "print Foo<volatile char*>::foo".
372
373 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
374
375 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
376
377 2004-01-16 Ben Elliston <bje@wasabisystems.com>
378
379 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
380 (clean mostlyclean): Remove empty rm.
381
382 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
383
384 * gdb.base/setvar.exp: Add copyright years.
385
386 2004-01-14 David Carlton <carlton@bactrian.org>
387
388 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
389 PR c++/1511 and update coment.
390 * gdb.cp/templates.exp: Update patterns to match current output.
391 If changes involve something other than whitespace, KFAIL
392 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
393
394 2004-01-14 David Carlton <carlton@kealia.com>
395
396 * gdb.cp/namespace.exp: Add tests involving classes defined within
397 namespaces.
398 * gdb.cp/namespace.cc (C::CClass): New.
399 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
400
401 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
402
403 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
404 what debug info we have. Print a better message if something goes
405 wrong while producing the separate debug info file.
406
407 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
408
409 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
410
411 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
412
413 * gdb.base/callfuncs.c: Add copyright notice.
414
415 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
416
417 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
418 inheritance. PR gdb/1498, PR gcc/13539.
419
420 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
421
422 * gdb.threads/gcore-thread.exp: Prefix name of binary with
423 test specific name.
424 * gdb.mi/gdb669.exp: Ditto.
425 * gdb.mi/mi-pthreads.exp: Ditto.
426 * gdb.mi/mi1-pthreads.exp: Ditto.
427 * gdb.mi/mi2-pthreads.exp: Ditto.
428
429 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
430
431 * gdb.cp/member-ptr.cc: Add copyright notice.
432
433 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
434
435 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
436 some patterns for recent versions of gcc and hpacc. Delete
437 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
438 Delete tests that access a NULL pointer-to-member-data. This
439 script is still disabled for gcc.
440
441 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
442
443 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
444 escaped correctly.
445
446 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
447
448 * gdb.base/sepdebug.exp: New file.
449 * gdb.base/sepdebug.c: New file.
450 * lib/gdb.exp (separate_debug_filename): New procedure.
451 (gdb_gnu_strip_debug): New procedure.
452
453 2004-01-12 Andrew Cagney <cagney@redhat.com>
454
455 * gdb.mi/ChangeLog: Delete file. Renamed to ...
456 * gdb.mi/ChangeLog-1999-2003: New file.
457
458 2004-01-12 Andrew Cagney <cagney@redhat.com>
459
460 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
461 "Renaming a directory to a non-empty directory returns ENOTEMPTY
462 or EEXIST", treat EBUSY as an XFAIL.
463
464 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
465
466 * gdb.base/scope.exp: Remove obsolete setup_xfail for
467 hp_cc_compiler.
468
469 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
470
471 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
472 decorations.
473
474 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
475
476 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
477 and "(aCC)" decorations. Remove obsolete doco about old
478 test results.
479
480 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
481
482 * gdb.cp/exception.exp: Fix typo in doco.
483
484 2004-01-09 Mark Kettenis <kettenis@gnu.org>
485
486 * gdb.base/gdb1476.exp: Fix typo.
487
488 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
489
490 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
491 file.
492
493 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
494
495 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
496 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
497 Use gdb_compile. Remove restriction on gcc. Add some patterns
498 for recent version of gdb. Delete second half, which was a copy
499 of the first half with different build flags. This test is
500 still disabled because it is still not ready for production.
501
502 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
503
504 * gdb.cp/exception.cc: Add copyright notice.
505 * gdb.cp/exception.exp: Add a notice that this file is broken
506 because of line number changes caused by addition of copyright
507 notice.
508
509 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
510
511 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
512 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
513
514 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
515
516 * gdb.cp/classes.exp: Accept gnu abi 2.
517 * gdb.cp/derivation.exp: Likewise.
518 * gdb.cp/overload.exp: Likewise.
519 * gdb.cp/virtfunc.exp: Likewise.
520
521 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
522
523 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
524 semicolon after end of function.
525
526 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
527
528 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
529 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
530 boilerplate code for compiling and running the program under
531 test. Add some string method tests.
532
533 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
534
535 * gdb.cp/bs15503.cc: Add copyright notice.
536 * gdb.cp/bs15503.exp: Adjust line number.
537
538 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
539
540 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
541 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
542
543 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
544
545 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
546 hp_cc_compiler.
547
548 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
549
550 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
551 * gdb.cp/ctti.exp: Use the marker instead of "next".
552 With gcc, run further before bailing.
553
554 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
555
556 * gdb.cp/cttiadd.cc: Add copyright notice.
557 * gdb.cp/cttiadd1.cc: Likewise.
558 * gdb.cp/cttiadd2.cc: Likewise.
559 * gdb.cp/cttiadd3.cc: Likewise.
560
561 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
562
563 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
564 Use gdb_test, gdb_test_multiple. Use floating-point values that
565 have exact representations in IEEE-ish formats.
566
567 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
568
569 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
570 compilers. Delete duplicate call to get_compiler_info.
571 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
572 * gdb.base/volatile.exp: Likewise.
573
574 2004-01-07 Mark Kettenis <kettenis@gnu.org>
575
576 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
577 memory at address 0.
578
579 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
580
581 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
582 to test for hp-ux assembler. Fix copyright years.
583
584 2004-01-07 Andrew Cagney <cagney@redhat.com>
585
586 * gdb.base/fileio.c (strerrno): Add "EBUSY".
587
588 2004-01-07 Andrew Cagney <cagney@redhat.com>
589
590 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
591 when creating the read-only file. From analysis by Roland McGrath
592 and Elena Zannoni.
593
594 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
595
596 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
597
598 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
599
600 * gdb.base/cvexpr.c: Be type-safe with function pointers and
601 data pointers.
602
603 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
604
605 * gdb.cp/m-static.exp: Compile one source file at a time.
606 Delete unused call to get_compiler_info.
607
608 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
609
610 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
611 * gdb.base/call-rt-st.exp: Likewise.
612 * gdb.base/nodebug.exp: Likewise.
613 * gdb.base/volatile.exp: Likewise.
614 * gdb.cp/ref-types.exp: Likewise.
615 * gdb.cp/templates.exp: Likewise.
616
617 2004-01-05 Mark Kettenis <kettenis@gnu.org>
618
619 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
620
621 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
622
623 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
624 hppa*-hp-hpux*.
625
626 2004-01-04 Mark Kettenis <kettenis@gnu.org>
627
628 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
629 x86_64-*-*.
630
631 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
632 sparc64-*-* and sparc*-solaris2*.
633
634 2004-01-04 Mark Kettenis <kettenis@gnu.org>
635
636 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
637 return ${tests}" test. The ${tests} already mentions the
638 filename.
639
640 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
641
642 * gdb.cp/local.exp: Accept gcc abi 2.
643
644 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
645
646 * gdb.cp/templates.exp: Accept gcc abi 2.
647
648 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
649
650 * lib/compiler.cc: Remove supports_template_debugging.
651 * gdb.cp/templates.exp: Do not test supports_template_debugging.
652
653 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
654
655 * gdb.cp/namespace.exp: Accept gcc abi 2.
656
657 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
658
659 * gdb.cp/method.exp: Accept gcc abi 2.
660
661 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
662
663 * gdb.cp/classes.exp: Generate identical results as old version.
664 * gdb.cp/derivation.exp: Likewise.
665 * gdb.cp/overload.exp: Likewise.
666 * gdb.cp/virtfunc.exp: Likewise.
667
668 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
669
670 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
671 mysterious bug with sourceware version of expect.
672
673 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
674
675 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
676 current versions of gcc, including gcc abi 2. Remove gratuitous
677 restart of test program. Use gdb_test_multiple and gdb_test for
678 all tests. Add patterns to xfail missing "const" in "const char *"
679 and kfail PR gdb/1155.
680
681 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
682
683 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
684 current versions of gcc, including gcc abi 2. Remove gratuitous
685 restart of test program. Use gdb_test_multiple and gdb_test for
686 all tests. Add patterns to kfail PR gdb/1498.
687
688 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
689
690 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
691 current versions of gcc, including gcc abi 2. Use "breakpoint"
692 and "continue" instead of restarting the target program. Use
693 gdb_test_multiple and gdb_test for all tests.
694
695 2004-01-01 Mark Kettenis <kettenis@gnu.org>
696
697 * gdb.asm/asm-source.exp: Update copyright year. Link statically
698 for *-*-solaris2*.
699
700 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
701
702 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
703 current versions of gcc, including gcc abi 2. Use "breakpoint"
704 and "continue" instead of restarting the target program several
705 times. Use gdb_test_multiple and gdb_test for all tests.
706
707 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
708
709 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
710 source files.
711
712 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
713
714 * gdb.base/environ.exp: Handle compiling test case from multiple
715 source files.
716
717 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
718
719 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
720
721 2003-12-17 Jim Blandy <jimb@redhat.com>
722
723 * gdb.base/freebpcmd.c: Add copyright notice.
724
725 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
726
727 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
728
729 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
730
731 2003-12-13 Jim Blandy <jimb@redhat.com>
732
733 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
734
735 2003-12-12 Kevin Buettner <kevinb@redhat.com>
736
737 * gdb.asm/frv.inc: New file.
738 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
739
740 2003-12-09 Fred Fish <fnf@redhat.com>
741
742 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
743 functions to break1.c and leave prototypes behind. Add more
744 "set breakpoint NN here" comments.
745 * gdb.base/break1.c: New file.
746
747 * gdb.base/break.exp: Handle compiling test case from multiple
748 source files and change source file references as needed.
749 * gdb.base/completion.exp: Ditto.
750 * gdb.base/condbreak.exp: Ditto.
751 * gdb.base/define.exp: Ditto.
752 * gdb.base/ena-dis-br.exp: Ditto.
753 * gdb.base/info-proc.exp: Ditto.
754 * gdb.base/maint.exp: Ditto.
755 * gdb.base/until.exp: Ditto.
756
757 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
758 hardcoded line numbers.
759 * gdb.base/define.exp: Ditto.
760 * gdb.base/ena-dis-br.exp: Ditto.
761 * gdb.base/maint.exp: Ditto.
762 * gdb.base/until.exp: Ditto.
763
764 * gdb.base/completion.exp: Use "break1" for completion tests since
765 "break" is no longer a unique prefix.
766
767 2003-12-06 Andrew Cagney <cagney@redhat.com>
768
769 * gdb.base/structs.exp (test_struct_returns): When applicable, set
770 "return_value_unimplemented". When an unimplemented struct return
771 architecture, report incorrect values as a KFAIL
772
773 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
774
775 * gdb.cp/rtti.exp: Accept new wording of warning from
776 cp_lookup_rtti_type.
777
778 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
779
780 Partial fix for PR testsuite/1456.
781 * gdb.base/scope.exp (test_at_main): Replace references to
782 gcc_compiled with calls to test_compiler_info.
783 (test_at_foo): Likewise.
784 (test_at_bar): Likewise.
785
786 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
787
788 Partial fix for PR testsuite/1456.
789 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
790 to test_compiler_info.
791
792 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
793
794 * gdb.base/so-impl-ld.exp: Update copyright notice.
795
796 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
797
798 Partial fix for PR testsuite/1456.
799 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
800 to test_compiler_info.
801
802 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
803
804 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
805 from current versions of gdb. Clean up regular expressions.
806 Delete redundant timeout case.
807
808 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
809
810 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
811 from current versions of gdb. Clean up regular expressions.
812 Delete redundant timeout case.
813
814 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
815
816 Partial fix for PR testsuite/1456.
817 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
818 gcc_compiled with call to test_compiler_info.
819
820 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
821
822 Partial fix for PR testsuite/1456.
823 * gdb.base/list.exp (test_list_function): Delete unused declaration
824 of gcc_compiled.
825
826 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
827
828 Partial fix for PR testsuite/1456.
829 * gdb.base/complex.exp: Replace reference to gcc_compiled with
830 call to test_compiler_info.
831
832 2003-11-29 Mark Kettenis <kettenis@gnu.org>
833
834 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
835 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
836 it to create the appropriate note.inc.
837 * gdb.asm/asmsrc1.s: Include "note.inc".
838 * gdb.asm/netbsd.inc: New file.
839 * gdb.asm/empty.inc: New file.
840
841 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
842
843 Partial fix for PR testsuite/1456.
844 * gdb.base/constvars.exp: Replace references to gcc_compiled with
845 calls to test_compiler_info.
846
847 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
848
849 Partial fix for PR testsuite/1456.
850 * gdb.base/volatile.exp: Replace references to gcc_compiled with
851 calls to test_compiler_info.
852
853 2003-11-27 Mark Kettenis <kettenis@gnu.org>
854
855 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
856 pattern for the KFAILs.
857
858 2003-11-25 Adam Fedor <fedor@gnu.org>
859
860 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
861 * gdb.objc/objcdecode.m: New file.
862
863 2003-11-25 Adam Fedor <fedor@gnu.org>
864
865 * gdb.objc/nondebug.exp: Test for PR objc/1236.
866 * gdb.objc/nondebug.m: New file.
867
868 2003-11-26 Ben Elliston <bje@wasabisystems.com>
869
870 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
871 NetBSD as it does on FreeBSD. Modelled on a similar change by
872 Mark Kettenis on 2003-05-30.
873 (link-flags): Set to "--entry _start" regardless of target.
874 Special linker flags are to be appended to $link-flags.
875 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
876
877 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
878
879 * gdb.cp/method.exp: Accept output of new demangler.
880
881 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
882
883 * gdb/class2.exp: New file.
884 * gdb/class2.cc: New file.
885
886 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
887
888 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
889 of new demangler.
890
891 2003-11-23 Mark Kettenis <kettenis@gnu.org>
892
893 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
894 of gdb_test "run".
895
896 2003-11-23 Mark Kettenis <kettenis@gnu.org>
897
898 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
899 "continue" into "run".
900
901 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
902
903 Partial fix for PR testsuite/1456.
904 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
905 call to test_compiler_info.
906 * gdb.cp/ctti.exp: Likewise.
907 * gdb.cp/derivation.exp: Likewise.
908 * gdb.cp/member-ptr.exp: Likewise.
909 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
910 reference to gcc_compiled.
911
912 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
913
914 Fix PR testsuite/1463.
915 * gdb.base/structs.exp (start_structs_test): Call
916 get_debug_format before using the debug format.
917
918 2003-11-22 Andrew Cagney <cagney@redhat.com>
919
920 * lib/gdb.exp (gdb_test_multiple): Add simple example.
921 * gdb.base/structs.exp: Use gdb_test_multiple.
922
923 2003-11-20 Andrew Cagney <cagney@redhat.com>
924
925 * gdb.base/structs.exp: Handle and recover from internal errors.
926 Replace "foo${n}" with "foo<n>" in test messages.
927
928 * gdb.base/structs.exp: Update copyright. Rewrite.
929 * gdb.base/structs.c: Update copyright. Rewrite.
930
931 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
932 resync count exceeded.
933
934 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
935 from the internal error.
936 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
937 Original from Jim Blandy.
938 (gdb_test_multiple): Use gdb_internal_error_resync.
939
940 2003-11-19 Andrew Cagney <cagney@redhat.com>
941
942 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
943 KFAIL.
944
945 2003-11-17 Mark Kettenis <kettenis@gnu.org>
946
947 New testcase for PR backtrace/1435.
948 * gdb.arch/i386-unwind.exp: New file.
949 * gdb.arch/i386-unwind.c: New file.
950
951 2003-11-17 Andrew Cagney <cagney@redhat.com>
952
953 * lib/gdb.exp (compiler_info): New global.
954 (test_compiler_info): New function.
955 (get_compiler_info): Set compiler_info.
956 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
957 "compiler_info" to gcc-<major>-<minor>.
958
959 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
960
961 * gdb.trace/configure: Remove.
962
963 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
964
965 * gdb.base/break.c: Add comments to aid finding line numbers for
966 breakpoints.
967 * gdb.base/break.exp: Remove all references to explicit line
968 numbers.
969
970 2003-11-11 Nick Clifton <nickc@redhat.com>
971
972 * gdb.base/shreloc.exp: Do not run for targets which do not
973 support shared objects.
974
975 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
976
977 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
978 Don't run tests if nofileio flag is given.
979
980 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
981
982 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
983 as well as 'Watchpoint'.
984
985 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
986
987 Reported by Jim Ingham <jingham@apple.com>:
988 * gdb.base/annota1.exp: Match at least one occurrence of the
989 signal handler annotation.
990
991 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
992
993 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
994 as well as 'Watchpoint'.
995
996 2003-11-05 Michael Chastain <mec@shout.net>
997
998 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
999
1000 2003-11-03 Kris Warkentin <kewarken@qnx.com>
1001
1002 * gdb.arch/gdb1291.c: New test file.
1003 * gdb.arch/gdb1291.exp: New test script.
1004 * gdb.arch/gdb1431.c: New test file.
1005 * gdb.arch/gdb1431.exp: New test script.
1006
1007 2003-10-22 Michael Chastain <mec@shout.net>
1008
1009 * gdb.mi/pthreads.c: Add copyright notice.
1010
1011 2003-10-22 Michael Chastain <mec@shout.net>
1012
1013 * gdb.threads/pthreads.c: Add copyright notice.
1014
1015 2003-10-20 Michael Chastain <mec@shout.net>
1016
1017 * gdb.base/gdb1056.exp: New test script.
1018
1019 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
1020
1021 * gdb.threads/killed.exp: Use gdb_run_cmd.
1022
1023 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
1024
1025 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1026 create a core file.
1027 * gdb.threads/gcore-thread.exp: Likewise.
1028
1029 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
1030
1031 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1032 type, based on char type.
1033 (struct bit_flags_short_t): New bitfield type, based on short type.
1034 (init_bit_flags_char): New fuction.
1035 (init_bit_flags_short): Ditto.
1036 (print_bit_flags_char): Ditto.
1037 (print_bit_flags_short): Ditto.
1038 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1039
1040 2003-10-11 Michael Chastain <mec@shout.net>
1041
1042 * gdb.base/call-rt-st.exp: Update copyright year.
1043
1044 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1045
1046 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1047 * gdb.disasm/sh3.s: Ditto.
1048
1049 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
1050
1051 * gdb.threads/switch-threads.exp: New test.
1052 * gdb.threads/switch-threads.c: New source file.
1053
1054 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
1055
1056 * gdb.base/ending-run.exp: Add sh specific case.
1057
1058 2003-10-06 Andrew Cagney <cagney@redhat.com>
1059
1060 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1061 * gdb.disasm/mn10200.exp: Delete obsolete file.
1062
1063 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
1064
1065 * ChangeLog: Correct an entry command.exp -> commands.exp.
1066 * gdb.base/commands.exp (bp_deleted_in_command_test)
1067 (temporary_breakpoint_commands): Check noargs.
1068
1069 2003-09-25 David Carlton <carlton@kealia.com>
1070
1071 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1072 of some print tests, where appropriate. Add tests for C::D::cd,
1073 E::ce, F::cXfX, G::XgX.
1074 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1075
1076 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
1077
1078 * lib/java.exp (java_init): Import target_alias before using it.
1079
1080 2003-09-25 David Carlton <carlton@kealia.com>
1081
1082 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1083
1084 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
1085
1086 * gdb.base/selftest.exp: Accomodate more instruction reordering
1087 weirdness.
1088
1089 2003-09-17 Michael Chastain <mec@shout.net>
1090
1091 * gdb.cp/gdb1355.exp: New file.
1092 * gdb.cp/gdb1355.c: New file.
1093
1094 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
1095
1096 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1097 * gdb.asm/sh.inc: New file.
1098
1099 2003-09-11 David Carlton <carlton@kealia.com>
1100
1101 * gdb.cp/namespace.exp: Add tests for namespace types.
1102 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
1103 (test_namespace): New.
1104
1105 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
1106
1107 * gdb.base/relocate.exp: Handle new gdb output at startup.
1108 * gdb.stabs/weird.exp: Ditto.
1109
1110 2003-09-08 Michael Chastain <mec@shout.net>
1111
1112 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1113
1114 2003-09-07 Michael Chastain <mec@shout.net>
1115
1116 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1117 'parse error'.
1118
1119 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1120
1121 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1122
1123 2003-08-30 Michael Chastain <mec@shout.net>
1124
1125 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1126 * gdb.gdb/observer.exp: Ditto.
1127 * gdb.gdb/xfullpath.exp: Ditto.
1128
1129 2003-08-29 Mark Kettenis <kettenis@gnu.org>
1130
1131 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1132 *-*-*bsd*.
1133
1134 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1135
1136 * gdb.base/dump.exp: Skip for ia64.
1137
1138 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1139
1140 * gdb.asm/asm-source.exp: Add ia64 support.
1141 * gdb.asm/ia64.inc: New file.
1142
1143 2003-08-22 Michael Chastain <mec@shout.net>
1144
1145 * gdb.cp: New directory.
1146 * gdb.cp/*: Copy from gdb.c++/*.
1147 * gdb.c++/*: Remove.
1148 * Makefile.in: Change gdb.c++ to gdb.cp.
1149 * configure.in: Ditto.
1150 * configure: Regnerate.
1151
1152 2003-08-18 Mark Kettenis <kettenis@gnu.org>
1153
1154 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1155 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1156
1157 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1158
1159 * mi-var-display.exp (-var-list-children weird): Accept function
1160 pointers with argument types.
1161 * mi1-var-display.exp (-var-list-children weird): Likewise.
1162 * mi2-var-display.exp (-var-list-children weird): Likewise.
1163
1164 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1165
1166 * gdb.base/annota3.exp: Add missing newline.
1167
1168 2003-08-06 Michael Chastain <mec@shout.net>
1169
1170 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1171
1172 2003-08-12 Michael Snyder <msnyder@redhat.com>
1173
1174 * gdb.base/float.exp: Add test for SH.
1175
1176 2003-08-10 Mark Kettenis <kettenis@gnu.org>
1177
1178 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1179
1180 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1181
1182 * gdb.base/completion.exp: Remove reduntant completion test
1183 on filename.
1184
1185 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1186
1187 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1188 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1189 gdb.trace/save-trace.exp: Make sure that full pathnames are
1190 escaped correctly.
1191
1192 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1193
1194 * configure.in: Don't generate config.h from config.hin.
1195 * configure: Regenerate.
1196 * config.hin: Remove file.
1197 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1198 * gdb.threads/pthreads.c: Ditto.
1199
1200 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
1201
1202 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1203 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1204 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1205 Replace ld24 with seth/add3.
1206
1207 2003-08-02 Andrew Cagney <cagney@redhat.com>
1208
1209 * gdb.base/annota3.exp: New file.
1210 * gdb.base/annota3.c: New file.
1211 * gdb.c++/annota3.exp: New file.
1212 * gdb.c++/annota3.cc: New file.
1213
1214 2003-07-29 Michael Chastain <mec@shout.net>
1215
1216 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1217 actually failed.
1218 (do_pass): Likewise.
1219 * gdb.threads/tls.exp: Always initialize no_of_threads.
1220
1221 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
1222
1223 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1224 pattern.
1225 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1226 * gdb.threads/tls.exp: Recognize one case of the host library not
1227 supporting TLS.
1228
1229 2003-07-27 Andrew Cagney <cagney@redhat.com>
1230
1231 * gdb.base/fileio.exp: Use SH when running commands using
1232 remote_exec.
1233
1234 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
1235
1236 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1237 * gdb.base/relocate.c (dummy): New padding array.
1238
1239 2003-07-22 Michael Snyder <msnyder@redhat.com>
1240
1241 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1242
1243 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1244 patterns to be more general, accepting old and new output.
1245 Some output chars (such as '+') also must be quoted.
1246 Some addresses are displayed numerically instead of
1247 symbolically.
1248
1249 2003-07-23 Michael Snyder <msnyder@redhat.com>
1250
1251 * gdb.base/return2.exp: Don't test long-long return.
1252
1253 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1254 * gdb.disasm/t01_mov.exp: Ditto.
1255 * gdb.disasm/t02_mova.s: Ditto.
1256 * gdb.disasm/t02_mova.exp: Ditto.
1257 * gdb.disasm/t03_add.s: Ditto.
1258 * gdb.disasm/t03_add.exp: Ditto.
1259 * gdb.disasm/t04_sub.s: Ditto.
1260 * gdb.disasm/t04_sub.exp: Ditto.
1261 * gdb.disasm/t05_cmp.s: Ditto.
1262 * gdb.disasm/t05_cmp.exp: Ditto.
1263 * gdb.disasm/t06_ari2.s: Ditto.
1264 * gdb.disasm/t06_ari2.exp: Ditto.
1265 * gdb.disasm/t07_ari3.s: Ditto.
1266 * gdb.disasm/t07_ari3.exp: Ditto.
1267 * gdb.disasm/t08_or.s: Ditto.
1268 * gdb.disasm/t08_or.exp: Ditto.
1269 * gdb.disasm/t09_xor.s: Ditto.
1270 * gdb.disasm/t09_xor.exp: Ditto.
1271 * gdb.disasm/t10_and.s: Ditto.
1272 * gdb.disasm/t10_and.exp: Ditto.
1273 * gdb.disasm/t11_logs.s: Ditto.
1274 * gdb.disasm/t11_logs.exp: Ditto.
1275 * gdb.disasm/t12_bit.s: Ditto.
1276 * gdb.disasm/t12_bit.exp: Ditto.
1277 * gdb.disasm/t13_otr.s: Ditto.
1278 * gdb.disasm/t13_otr.exp: Ditto.
1279
1280 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1281
1282 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1283
1284 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1285
1286 * gdb.threads/tls.c : New file.
1287 * gdb.threads/tls.exp : New file.
1288 * gdb.threads/tls-main.c : New file.
1289 * gdb.threads/tls-shared.c : New file.
1290 * gdb.threads/tls-shared.exp : New file.
1291
1292 2003-07-22 Andreas Schwab <schwab@suse.de>
1293
1294 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1295
1296 2003-07-20 Andreas Schwab <schwab@suse.de>
1297
1298 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1299 due to insn reordering.
1300
1301 2003-07-15 Andrew Cagney <cagney@redhat.com>
1302
1303 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1304
1305 2003-07-15 Michael Chastain <mec@shout.net>
1306
1307 * gdb.base/gdb1250.exp: New file.
1308 * gdb.base/gdb1250.c: New file.
1309
1310 2003-07-09 Michal Ludvig <mludvig@suse.cz>
1311
1312 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1313 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1314
1315 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1316
1317 * gdb.threads/tls.c: New file.
1318 * gdb.threads/tls.exp: New file.
1319 * gdb.threads/tls-main.c: New file.
1320 * gdb.threads/tls-shared.c: New file.
1321 * gdb.threads/tls-shared.exp: New file.
1322
1323 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1324
1325 * gdb.base/annota1.exp: Make sure that we properly escape the
1326 full path of the source file. Xfail more permissive patterns,
1327 due to a compiler debug info problem.
1328
1329 2003-07-07 Andreas Schwab <schwab@suse.de>
1330
1331 * gdb.asm/m68k.inc: New file.
1332 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1333
1334 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1335 arguments"): Also match negative number.
1336
1337 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1338
1339 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
1340
1341 * gdb.base/store.c (charest): New typedef.
1342 (add_char): Rename to add_charest, update.
1343 (wack_char): Rename to wack_charest, update types. Return l + r
1344 to keep r live across the call.
1345 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1346 (wack_double, wack_doublest): Return l + r to keep r live across
1347 the call.
1348 * gdb.base/store.exp: Accomodate store.c changes.
1349
1350 2003-06-30 David Carlton <carlton@kealia.com>
1351
1352 * gdb.c++/maint.exp (test_invalid_name): New.
1353 (test_first_component): Add tests for invalid names.
1354
1355 2003-06-29 Michael Chastain <mec@shout.net>
1356
1357 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1358 output of '<VTT for class>' for virtual base classes.
1359
1360 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1361
1362 * gdb.base/completion.exp: Tab-complete "complet" instead of
1363 "compl".
1364 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1365
1366 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1367
1368 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1369 * gdb.base/volatile.exp: Likewise.
1370
1371 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1372
1373 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1374 gdb/1265.
1375
1376 2003-06-28 Michael Chastain <mec@shout.net>
1377 Daniel Jacobowitz <drow@mvista.com>
1378
1379 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1380 initial line count of 'captured_main' from 26 to 32.
1381 (test_with_self): Allow xmalloc call to be interleaved with the
1382 preceding two lines.
1383
1384 2003-06-24 Joel Brobecker <brobecker@gnat.com>
1385
1386 * gdb.base/bang.exp: New testcase.
1387
1388 2003-06-23 Joel Brobecker <brobecker@gnat.com>
1389
1390 * gdb.base/langs.exp: Add some tests for the "minimal" language
1391 support.
1392
1393 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
1394
1395 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1396 the testcase.
1397
1398 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
1399
1400 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1401 offset.
1402
1403 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
1404
1405 * gdb.c++/pr-1210.cc: New file.
1406 * gdb.c++/pr-1210.exp: New file.
1407
1408 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
1409
1410 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1411 000-exec-continue.
1412
1413 2003-06-15 Mark Kettenis <kettenis@gnu.org>
1414
1415 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1416 on *-*-*bsd* instead of *-*-freebsd*.
1417
1418 2003-06-14 Andrew Cagney <cagney@redhat.com>
1419
1420 * gdb.base/store.exp: Test longest and doublest. Test all
1421 parameters. Weaken return statement match.
1422 * gdb.base/store.c: Add longest and doublest - aka long long and
1423 long double functions. Put all parameters into local register
1424 variables. Use negative values.
1425
1426 2003-06-14 Andrew Cagney <cagney@redhat.com>
1427
1428 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1429 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1430 exit status.
1431 * gdb.base/fileio.exp: Disable target when nointerrupts and
1432 noinferiorio, instead of limiting it to remote. Use remote_exec
1433 instead of system.
1434
1435 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1436
1437 * gdb.base/float.exp: Add ia64 support.
1438
1439 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
1440
1441 * gdb.base/fileio.exp: Run only on remote targets.
1442
1443 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
1444
1445 * gdb.base/fileio.c: New file, testing File-I/O.
1446 * gdb.base/fileio.exp: Ditto.
1447
1448 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1449
1450 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1451 shared objects after relocation at load time (gdb PR/1132).
1452 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1453 as above, part of the shared object relocation test.
1454
1455 2003-06-08 Mark Kettenis <kettenis@gnu.org>
1456
1457 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1458 fully filled history list.
1459 * gdb.base/gdb_history: New file.
1460
1461 * gdb.base/signals.exp: XFAIL "continue to func1" on
1462 i*86-*-freebsd*.
1463
1464 * gdb.base/attach.exp: When trying to attach to a nonexistent
1465 process, make it possible to specify the PID based on the target,
1466 and do so for *-*-freebsd*.
1467
1468 2003-06-02 Richard Henderson <rth@redhat.com>
1469
1470 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1471
1472 2003-06-02 Richard Henderson <rth@redhat.com>
1473
1474 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1475
1476 2003-06-02 Richard Henderson <rth@redhat.com>
1477
1478 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1479
1480 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
1481
1482 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1483 of globalvar.
1484
1485 2003-06-01 Mark Kettenis <kettenis@gnu.org>
1486
1487 * gdb.asm/asm-source.exp: Check for memory read errors in
1488 disassembler test on *BSD too.
1489
1490 2003-06-01 Richard Henderson <rth@redhat.com>
1491
1492 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1493 for .frame.
1494 (gdbasm_call): Lose ldgp.
1495 (gdbasm_startup): Add frame information.
1496 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1497
1498 2003-05-31 Mark Kettenis <kettenis@gnu.org>
1499
1500 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1501 i?86-*-*.
1502
1503 2003-05-30 Mark Kettenis <kettenis@gnu.org>
1504
1505 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1506 FreeBSD.
1507
1508 2003-05-29 Richard Henderson <rth@redhat.com>
1509
1510 * gdb.asm/alpha.inc: New file.
1511 * gdb.asm/asm-source.exp: Use it.
1512
1513 2003-05-29 Jim Blandy <jimb@redhat.com>
1514
1515 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1516 'core.PID'.
1517
1518 2003-05-22 Jim Blandy <jimb@redhat.com>
1519
1520 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1521 backtrace.
1522
1523 2003-05-20 David Carlton <carlton@math.stanford.edu>
1524
1525 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1526 this time.
1527
1528 2003-05-19 David Carlton <carlton@bactrian.org>
1529
1530 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1531 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1532
1533 2003-05-19 David Carlton <carlton@bactrian.org>
1534
1535 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1536 namespace tests.
1537 Bump copyright date.
1538 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1539 (main): Call C::D::marker2.
1540 * gdb.c++/namespace1.cc: New file.
1541
1542 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1543
1544 Roland McGrath <roland@redhat.com>
1545 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1546 there is no manager thread.
1547
1548 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1549
1550 * gdb.threads/schedlock.exp: Remove assumption that all threads
1551 will run in a particular small time slice. Also ensure we break
1552 in one of the child threads rather than the main thread.
1553
1554 2003-05-07 Jim Blandy <jimb@redhat.com>
1555
1556 Add support for assembly source testing on the s390x.
1557 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1558 architecture.
1559 * gdb.asm/s390x.inc: New file.
1560
1561 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1562 succession of 'if' statements.
1563
1564 2003-05-05 Andrew Cagney <cagney@redhat.com>
1565
1566 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1567
1568 2003-05-05 Andrew Cagney <cagney@redhat.com>
1569
1570 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1571 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1572
1573 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
1574
1575 * gdb.base/charset.exp: Update based on new behavior of set/show
1576 charset commands.
1577
1578 2003-05-01 Andrew Cagney <cagney@redhat.com>
1579
1580 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1581 variable do not give memory errors.
1582
1583 2003-04-30 Adam Fedor <fedor@gnu.org>
1584
1585 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1586 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1587 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1588 gdb.objc/basicclass.m: : New files
1589
1590 * lib/gdb.exp (gdb_compile_objc): New procedure.
1591
1592 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
1593
1594 * gdb.base/signals.exp: Make backtrace tests more specific.
1595
1596 2003-04-23 David Carlton <carlton@bactrian.org>
1597
1598 * gdb.c++/maint.exp (test_first_component): Add tests for
1599 'operator' in more locations.
1600
1601 2003-04-16 Kevin Buettner <kevinb@redhat.com>
1602
1603 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1604
1605 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
1606
1607 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1608 func marke' instead. Update test name.
1609
1610 2003-04-15 David Carlton <carlton@math.stanford.edu>
1611
1612 * gdb.c++/maint.exp: New file.
1613
1614 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1615
1616 * gdb.threads/schedlock.c: Change type of thread function argument
1617 to long, to avoid warnings on 64-bit platforms.
1618
1619 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1620
1621 * gdb.base/attach.exp: Add new message from ptrace in case of
1622 attaching to nonexistent process.
1623
1624 2003-04-11 Jim Blandy <jimb@redhat.com>
1625
1626 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1627 gdb.c++/userdef.cc: Place comments on the lines to which the
1628 marker function might return.
1629 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1630 gdb.c++/userdef.exp: Look for those comments to check that we've
1631 returned to the right place, instead of checking line numbers.
1632
1633 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
1634
1635 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1636 match on sourcefile name, instead of directory name.
1637
1638 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
1639
1640 * gdb.base/completion.exp: Use string_to_regexp to match the
1641 working directory name.
1642
1643 2003-04-09 Jim Blandy <jimb@redhat.com>
1644
1645 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1646 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1647 after an inferior function call, report the failure, but allow the
1648 test to continue.
1649
1650 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1651
1652 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1653 with -DPROTOTYPES.
1654
1655 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1656
1657 * gdb.base/break.exp: Revert last patch.
1658
1659 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1660
1661 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1662 with -DPROTOTYPES.
1663
1664 2003-04-02 Andrew Cagney <cagney@redhat.com>
1665
1666 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1667 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1668 matching directories by the name breakpoint.
1669 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1670 Make "continue to marker1" consistent.
1671 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1672 message consistent.
1673 * lib/gdb.exp: Put "the program is no longer running", and "the
1674 program exited" in parenthesis.
1675 * lib/mi-support.exp: Ditto.
1676
1677 2003-04-02 Bob Rossi <bob_rossi@cox.net>
1678
1679 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1680
1681 2003-03-29 Andrew Cagney <cagney@redhat.com>
1682
1683 * gdb.base/sizeof.c (main): Print the value of '\377'.
1684 * gdb.base/sizeof.exp: Check the sign of '\377'.
1685
1686 2003-03-27 Michael Chastain <mec@shout.net>
1687
1688 * gdb.base/gdb1090.exp: New file.
1689 * gdb.base/gdb1090.cc: New file.
1690
1691 2003-03-27 J. Brobecker <brobecker@gnat.com>
1692
1693 * gdb.gdb/observer.exp: New regression test.
1694
1695 2003-03-27 Michael Chastain <mec@shout.net>
1696
1697 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1698 * gdb.base/ptype.exp: Likewise.
1699
1700 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
1701
1702 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1703
1704 2003-03-26 Michael Chastain <mec@shout.net>
1705
1706 * gdb.base/ptype.exp: Actually use some typedef'd types.
1707
1708 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1709
1710 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1711 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1712
1713 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1714
1715 * gdb.base/default.exp: Fix regular expression.
1716
1717 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1718
1719 * gdb.base/args.exp: Fix regular expression.
1720
1721 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1722
1723 * gdb.base/help.exp: Allow Win32 child process.
1724
1725 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1726
1727 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1728 when stepping out of main().
1729
1730 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1731
1732 * gdb.base/default.exp: Check for win32 specific message when calling
1733 "run" without executable.
1734
1735 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1736
1737 * gdb.base/args.exp: Expect .exe in output.
1738
1739 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1740
1741 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1742 Cygwin native.
1743
1744 2003-03-17 Andrew Cagney <cagney@redhat.com>
1745
1746 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1747 vector registes.
1748 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1749 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1750
1751 2003-03-17 David Carlton <carlton@math.stanford.edu>
1752
1753 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1754 test, for PR breakpoints/38.
1755 Call test_watchpoint_and_breakpoint.
1756 * gdb.base/watchpoint.c (func3): New function.
1757 (main): Call func3.
1758
1759 2003-03-04 David Carlton <carlton@math.stanford.edu>
1760
1761 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1762 Garply<Garply<char> >:: garply".
1763 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1764 with respect to PR c++/1111; note also PR c++/1113.
1765 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1766 respect to PR c++/1062.
1767 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1768
1769 2003-03-03 David Carlton <carlton@math.stanford.edu>
1770
1771 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1772 with respect to PR c++/57.
1773 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1774 c++/826.
1775 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1776 respect to PR c++/57.
1777
1778 2003-03-03 David Carlton <carlton@math.stanford.edu>
1779
1780 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1781 respect to PR c++/33 into FAILs.
1782
1783 2003-03-03 Michael Chastain <mec@shout.net>
1784
1785 * configure.in: Update copyright years.
1786
1787 2003-03-03 Michael Chastain <mec@shout.net>
1788
1789 * Makefile.in: Update copyright years.
1790
1791 2003-02-28 David Carlton <carlton@math.stanford.edu>
1792
1793 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1794 print class instead of struct and/or superfluous protection
1795 specifiers, as long as the resulting output is equivalent to the
1796 source code.
1797 Delete FIXME from end of messages on tests that don't need
1798 fixing.
1799
1800 2003-02-28 David Carlton <carlton@math.stanford.edu>
1801
1802 * gdb.c++/templates.exp (do_tests): Allow const in the two
1803 Foo<volatile char *>::foo tests.
1804
1805 2003-02-27 Michael Snyder <msnyder@redhat.com>
1806
1807 * gdb.base/restore.c (main): Return zero, so exit code
1808 will be consistant.
1809
1810 2003-02-26 David Carlton <carlton@math.stanford.edu>
1811
1812 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1813 char *>::foo" test with respect to PR c++/33. Create a new test
1814 which is identical to that one except that it doesn't put the
1815 space between the "char" and the "*"; KFAIL it, too.
1816
1817 2003-02-26 David Carlton <carlton@math.stanford.edu>
1818
1819 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1820 template types into either PASSes or KFAILs (corresponding to PR
1821 c++/57). Tweak indentation. Update copyright.
1822
1823 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1824
1825 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1826
1827 2003-02-13 Michael Chastain <mec@shout.net>
1828
1829 * gdb.base/exprs.exp: Remove i960 remnants.
1830 * gdb.base/funcargs.exp: Likewise.
1831 * gdb.base/list.exp: Likewise.
1832 * gdb.base/ptype.exp: Likewise.
1833
1834 2003-02-14 David Carlton <carlton@math.stanford.edu>
1835
1836 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1837 pEe->D::vg()" from XFAIL to KFAIL.
1838
1839 2003-02-13 Jason Molenda (jmolenda@apple.com)
1840
1841 * gdb.base/maint.exp: Update maint print statistics regexp to include
1842 new entries.
1843
1844 2003-02-13 Michael Chastain <mec@shout.net>
1845
1846 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1847
1848 2003-02-12 Michael Chastain <mec@shout.net>
1849
1850 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1851 * gdb.c++/inherit.exp: Likewise.
1852 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1853 * gdb.c++/templates.exp: Likewise.
1854 * gdb.c++/virtfunc.exp: Likewise.
1855
1856 2003-02-06 Jason Molenda (jason-cl@molenda.com)
1857
1858 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1859 why the code is written that way.
1860
1861 2003-02-05 Michael Chastain <mec@shout.net>
1862
1863 * gdb.base/dump.exp: Add missing copyright line.
1864
1865 2003-02-05 Jason Molenda (jason-cl@molenda.com)
1866
1867 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
1868 at the beginning so the breakpoint doesn't get set on the loop.
1869
1870 2003-02-05 Michael Chastain <mec@shout.net>
1871
1872 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1873 output for configurations with gcc 2.95.3.
1874
1875 2003-02-05 Keith Seitz <keiths@redhat.com>
1876 Andrew Cagney <ac131313@redhat.com>
1877
1878 * gdb.mi/mi-cli.exp: New file.
1879
1880 2003-02-04 Michael Chastain <mec@shout.net>
1881
1882 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1883 Call perror and then continue.
1884
1885 2003-02-03 Michael Chastain <mec@shout.net>
1886
1887 * gdb.c++/pr-1023.cc: New file.
1888 * gdb.c++/pr-1023.exp: New file.
1889
1890 2003-02-05 Jim Blandy <jimb@redhat.com>
1891
1892 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1893 it's local to foobar. Check for it there, and check that it's not
1894 present in main.
1895 * gdb.c++/local.cc (marker2): New function.
1896 (foobar): Call marker1.
1897 (main): Call marker2 instead of marker1.
1898
1899 2003-02-04 Andrew Cagney <ac131313@redhat.com>
1900
1901 * gdb.disasm/mn10200.exp: Obsolete file.
1902 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1903 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1904 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1905
1906 2003-02-04 David Carlton <carlton@math.stanford.edu>
1907
1908 * gdb.c++/overload.exp: Test intToChar(1).
1909 * gdb.c++/overload.cc (intToChar): New.
1910 (main): Call intToChar.
1911
1912 2003-02-03 David Carlton <carlton@math.stanford.edu>
1913
1914 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1915 'might_kfail' arg.
1916 KFAIL some of the continue_to_bp_overloaded calls, according to
1917 PR c++/1025.
1918
1919 2003-02-01 Michael Chastain <mec@shout.net>
1920
1921 * gdb.base/advance.c (marker1): New marker function.
1922 * gdb.base/advance.exp: When the 'advance' command lands on the
1923 return breakpoint, it can legitimately stop on either the
1924 current line or the next line. Accommodate both outcomes.
1925 * gdb.base/until.exp: Likewise.
1926
1927 2003-02-02 Andrew Cagney <ac131313@redhat.com>
1928
1929 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1930 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1931 now a list, not a tuple.
1932 * gdb.mi/mi-var-display.exp: Ditto.
1933 * gdb.mi/gdb792.exp: Ditto.
1934
1935 2003-02-01 Andrew Cagney <ac131313@redhat.com>
1936
1937 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1938 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1939 stack backtraces.
1940 * gdb.mi/mi-syn-frame.c: Part of same.
1941
1942 2003-02-01 Mark Kettenis <kettenis@gnu.org>
1943
1944 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1945 gdb.mi/mi1-pthreads.exp: Return instead of calling
1946 gdb_suppress_entire_file.
1947
1948 2003-02-01 Mark Salter <msalter@redhat.com>
1949
1950 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1951
1952 2003-01-31 Mark Salter <msalter@redhat.com>
1953
1954 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1955 Support empty arg.
1956
1957 2003-01-30 Michael Chastain <mec@shout.net>
1958
1959 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1960 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1961 has been fixed in gdb/readline on 2003-01-09.
1962
1963 2003-01-29 Michael Snyder <msnyder@redhat.com>
1964
1965 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1966 * gdb.base/display.exp: Allow for leading underscore in symbol.
1967 * gdb.base/args.exp: Skip if target does not support args passing.
1968
1969 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
1970
1971 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
1972 gdb_test. Accept a list of expect arguments as the third
1973 parameter.
1974 (gdb_test): Use it.
1975
1976 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
1977
1978 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1979 allow for different test tree configurations. Update some
1980 tescases accordingly.
1981 * gdb.arch/altivec-regs.exp: Ditto.
1982 * gdb.asm/asm-source.exp: Ditto.
1983 * gdb.base/advance.exp: Ditto.
1984 * gdb.base/display.exp: Ditto.
1985 * gdb.base/long_long.exp: Ditto.
1986 * gdb.base/mips_pro.exp: Ditto.
1987 * gdb.base/overlays.exp: Ditto.
1988 * gdb.base/relocate.exp: Ditto.
1989 * gdb.base/setshow.exp: Ditto.
1990 * gdb.base/step-line.exp: Ditto.
1991 * gdb.base/step-test.exp: Ditto.
1992 * gdb.base/until.exp: Ditto.
1993 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1994
1995 2003-01-17 David Carlton <carlton@math.stanford.edu>
1996
1997 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1998 corresponding to PR c++/945.
1999 Update copyright.
2000
2001 2003-01-17 David Carlton <carlton@math.stanford.edu>
2002
2003 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2004 corresponding to PR c++/68.
2005
2006 2003-01-17 David Carlton <carlton@math.stanford.edu>
2007
2008 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2009 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2010 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2011
2012 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
2013
2014 * gdb.base/break.exp: Fix change of default location, because of
2015 removal of until tests.
2016 * gdb.base/help.exp: Update test for new 'until' help message.
2017 Add test for help on 'advance'.
2018 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2019
2020 2003-01-15 Mark Kettenis <kettenis@gnu.org>
2021
2022 * gdb.base/default.exp: Adapt "info float" test for recent changes
2023 to that command. Add test for "info vector".
2024 * gdb.base/float.exp: New file. Add test for "info float" that
2025 resembles the old test in gdb.base/default.exp.
2026
2027 2003-01-15 David Carlton <carlton@math.stanford.edu>
2028
2029 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2030
2031 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
2032
2033 * gdb.base/break.exp: Move the tests of until command from here...
2034 * gdb.base/until.exp: ... to here. New file. Add other tests.
2035 * gdb.base/advance.c: New file.
2036 * gdb.base/advance.exp: New file.
2037
2038 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
2039
2040 * gdb.base/args.c: New file.
2041 * gdb.base/args.exp: New file.
2042
2043 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2044
2045 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2046
2047 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2048
2049 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2050
2051 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2052
2053 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2054 dates.
2055
2056 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2057
2058 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2059
2060 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2061
2062 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2063 (ptype &*"foo").
2064 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2065
2066 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2067
2068 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2069 * gdb.mi/mi1-console.exp: Likewise.
2070
2071 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2072
2073 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2074 * gdb.mi/mi1-console.exp: Likewise.
2075
2076 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2077
2078 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2079
2080 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2081
2082 * gdb.base/detach.exp: New test.
2083
2084 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2085
2086 * Makefile.in (ALL_SUBDIRS): New variable.
2087 (subdirs, clean, distclean): Use it.
2088 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2089 regenerating Makefile, since it is generated from the top level.
2090 * gdb.asm/Makefile.in: Likewise.
2091 * gdb.base/Makefile.in: Likewise.
2092 * gdb.c++/Makefile.in: Likewise.
2093 * gdb.disasm/Makefile.in: Likewise.
2094 * gdb.java/Makefile.in: Likewise.
2095 * gdb.mi/Makefile.in: Likewise.
2096 * gdb.threads/Makefile.in: Likewise.
2097 * gdb.trace/Makefile.in: Likewise.
2098
2099 2003-01-09 David Carlton <carlton@math.stanford.edu>
2100
2101 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2102 Add copyright year 2003.
2103
2104 2003-01-06 Michael Chastain <mec@shout.net>
2105
2106 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2107 When selecting a thread, 'line' and 'file' are optional.
2108 * gdb.mi/mi1-pthreads.exp: Likewise.
2109
2110 2003-01-06 Andreas Schwab <schwab@suse.de>
2111
2112 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2113 failures.
2114
2115 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2116
2117 Fix PR gdb/844
2118 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2119 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2120
2121 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2122 instead of calling gdb_suppress_entire_file.
2123 * gdb.threads/print-threads.exp: Likewise.
2124 * gdb.threads/schedlock.exp: Likewise.
2125
2126 * gdb.threads/killed.exp: Return instead of calling
2127 gdb_suppress_entire_file.
2128 * gdb.threads/linux-dp.exp: Likewise.
2129 * gdb.threads/pthreads.exp: Likewise.
2130
2131 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2132
2133 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2134 stabs.
2135 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2136 * gdb.base/whatis.exp: Always allow (void) after function names.
2137
2138 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2139
2140 * gdb.c++/casts.exp: Correct regexp.
2141
2142 2003-01-04 Mark Kettenis <kettenis@gnu.org>
2143
2144 * configure.in: Call AC_CONFIG_HEADER. Don't call
2145 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2146 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2147 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2148 aforementioned directories in the AC_OUPUT call.
2149 * config.hin: New file.
2150 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2151 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2152 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2153 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2154 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2155 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2156 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2157 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2158 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2159 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2160 gdb.threads/configure.in, gdb.threads/configure,
2161 gdb.threads/config.in, gdb.trace/configure.in,
2162 gdb.trace/configure: Removed.
2163
2164 2003-01-03 Michael Chastain <mec@shout.net>
2165
2166 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2167 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2168
2169 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
2170
2171 * gdb.base/store.exp: Fix regular expressions.
2172
2173 2002-12-28 Mark Kettenis <kettenis@gnu.org>
2174
2175 * configure.in: Rewrite.
2176 * configure: Regenerated.
2177
2178 2003-01-03 David Carlton <carlton@math.stanford.edu>
2179
2180 * gdb.base/psymtab.exp: New file.
2181 * gdb.base/psymtab1.c: Ditto.
2182 * gdb.base/psymtab2.c: Ditto.
2183
2184 2002-12-23 Adam Fedor <fedor@gnu.org>
2185
2186 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2187
2188 2002-12-23 David Carlton <carlton@math.stanford.edu>
2189
2190 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2191 and current_directory initialization.
2192
2193 2002-12-22 Jim Blandy <jimb@redhat.com>
2194
2195 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2196 rather than as part of the output file name.
2197
2198 * gdb.base/attach.exp: There's no need to copy the test program to
2199 /tmp; that was only ever necessary on HP/UX, and this test is
2200 entirely disabled there anyway.
2201
2202 2002-12-21 Jim Blandy <jimb@redhat.com>
2203
2204 * gdb.c++/psmang.exp: Doc fix.
2205
2206 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2207 test.
2208
2209 2002-12-20 David Carlton <carlton@math.stanford.edu>
2210
2211 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2212
2213 2002-12-18 Michael Chastain <mec@shout.net>
2214
2215 * gdb.c++/annota2.exp: Add copyright year 2002.
2216
2217 2002-12-17 David Carlton <carlton@math.stanford.edu>
2218
2219 * gdb.c++/try_catch.cc: Add marker comments.
2220 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2221 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2222 * gdb.c++/m-static.cc: Ditto.
2223 * gdb.c++/m-static1.cc: Ditto.
2224 * gdb.c++/try_catch.cc: Ditto.
2225
2226 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2227
2228 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2229 to see whether we are using the new -environment-directory
2230 command which resets via -r or the old version of the command
2231 which may prompt the user. Part of fix for gdb/741.
2232
2233 2002-12-13 Andrew Cagney <ac131313@redhat.com>
2234
2235 * gdb.fortran/types.exp: Update obsolete comment.
2236 * gdb.fortran/exprs.exp: Ditto.
2237 * lib/gdb.exp: Delete obsolete code.
2238 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2239 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2240 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2241 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2242 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2243 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2244 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2245 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2246 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2247 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2248 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2249 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2250 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2251 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2252 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2253 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2254 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2255 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2256 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2257 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2258 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2259 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2260 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2261 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2262 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2263 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2264 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2265 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2266 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2267 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2268 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2269 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2270 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2271 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2272 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2273 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2274 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2275
2276 2002-12-11 David Carlton <carlton@math.stanford.edu>
2277
2278 * gdb.c++/m-data.exp: Add test for members that shadow global
2279 variables: see PR gdb/804.
2280 * gdb.c++/m-data.cc: Ditto.
2281
2282 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
2283
2284 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2285
2286 2002-12-06 David Carlton <carlton@math.stanford.edu>
2287
2288 * gdb.base/store.c: Don't declare functions static.
2289
2290 2002-12-04 Andrew Cagney <ac131313@redhat.com>
2291
2292 * gdb.base/store.exp, gdb.base/store.c: New files.
2293
2294 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2295
2296 * gdb.base/selftest.exp: Update for current gdb.
2297
2298 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2299
2300 * gdb.base/maint.exp: Only dump symbols from one source file
2301 or objfile.
2302
2303 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2304
2305 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2306 function call.
2307
2308 2002-11-25 Jim Blandy <jimb@redhat.com>
2309
2310 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2311 function appearing in error message.
2312
2313 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
2314
2315 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2316
2317 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2318
2319 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2320 for mi1 and current mi is in correct format. New mi startup message
2321 should be in mi console format. This is part of fix for PR gdb/604.
2322
2323 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2324
2325 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2326 which explicitly prints the zero offset as "+0".
2327
2328 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
2329
2330 * gdb.threads/schedlock.c (args): Make unsigned.
2331
2332 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
2333
2334 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2335 numbers. Allow "foo2|selected stack frame".
2336 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2337 * gdb.asm/asmsrc2.s: Likewise.
2338 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2339 comments.
2340 * gdb.asm/mips.inc: New file.
2341
2342 2002-10-18 Adam Fedor <fedor@gnu.org>
2343
2344 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2345 * gdb.base/help.exp: Likewise.
2346
2347 2002-10-17 Kevin Buettner <kevinb@redhat.com>
2348
2349 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2350 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2351
2352 2002-10-02 Jim Blandy <jimb@redhat.com>
2353
2354 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2355
2356 2002-10-01 Andrew Cagney <ac131313@redhat.com>
2357
2358 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2359 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2360 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2361 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2362 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2363 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2364 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2365
2366 2002-09-29 Andrew Cagney <ac131313@redhat.com>
2367
2368 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2369 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2370 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2371 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2372 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2373 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2374 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2375
2376 2002-09-27 Kevin Buettner <kevinb@redhat.com>
2377
2378 * gdb.base/annota1.exp (info break): Make directory components of
2379 path optional since not all compilers emit this debug information.
2380
2381 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2382 step ends up stepping out of the function instead of stopping on
2383 the epilogue.
2384
2385 2002-09-26 Keith Seitz <keiths@redhat.com>
2386
2387 * lib/insight-support.exp (gdbtk_start): Figure out where
2388 the insight executable is based on where gdb is. Use this
2389 executable to start insight instead of gdb.
2390
2391 2002-09-25 Andrew Cagney <cagney@redhat.com>
2392
2393 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2394
2395 2002-09-24 Andrew Cagney <ac131313@redhat.com>
2396
2397 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2398 test_isolated_complaints.
2399 (test_empty_complaint): New function.
2400 (test_empty_complaints): New function. Check no output when no
2401 complaints.
2402
2403 2002-09-19 Jim Blandy <jimb@redhat.com>
2404
2405 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2406
2407 2002-09-19 Andrew Cagney <ac131313@redhat.com>
2408
2409 * gdb.gdb/complaints.exp: New file.
2410
2411 2002-09-18 Andrew Cagney <ac131313@redhat.com>
2412
2413 * gdb.base/maint.exp: Check `help maint internal-warning'.
2414
2415 2002-09-18 David Carlton <carlton@math.stanford.edu>
2416
2417 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2418 numbers, and replace them by a single breakpoint after the
2419 constructors are all finished.
2420 Add test 4.
2421 * gdb.c++/m-static.cc: Add test 4.
2422 * gdb.c++/m-static.h: New file.
2423 * gdb.c++/m-static1.cc: New file.
2424
2425 * gdb.c++/printmethod.exp: New file.
2426 * gdb.c++/printmethod.cc: New file.
2427
2428 * gdb.c++/pr-574.exp: New file.
2429 * gdb.c++/pr-574.cc: New file.
2430
2431 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2432
2433 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2434 embedded targets which never actually exit.
2435
2436 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2437
2438 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2439 "don't step after run" as unresolved or unsupported, instead of xfail.
2440
2441 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2442
2443 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2444 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2445 Add newline to expected string in "step out of main (status wrapper)"
2446 case.
2447
2448 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2449
2450 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2451 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2452
2453 2002-09-17 Tom Tromey <tromey@redhat.com>
2454
2455 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2456 \000, not \0, in double-quoted string.
2457
2458 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
2459
2460 * gdb.base/commands.exp: Don't expect a "Program exited normally"
2461 string after running the commands execution on breakpoint tests.
2462
2463 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
2464
2465 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2466
2467 2002-09-12 Joel Brobecker <brobecker@gnat.com>
2468
2469 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2470
2471 2002-09-10 Keith Seitz <keiths@redhat.com>
2472
2473 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2474 runto proc.
2475 (mi_run_to_main): Use mi_runto.
2476 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2477
2478 2002-09-10 Keith Seitz <keiths@redhat.com>
2479
2480 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2481 regexp for stopping at main. Could have multiple event notifications.
2482 Don't assume that main was declared with no parameters.
2483 (mi_next): Use mi_step_to.
2484 (mi_step): Use mi_next_to.
2485
2486 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
2487
2488 * gdb.base/default.exp: Fix expected string in `info float' test.
2489
2490 2002-09-09 Ben Elliston <bje@redhat.com>
2491
2492 * config/mips.exp: Update comments.
2493 * config/mips-idt.exp: Likewise.
2494 * config/nind.exp: Likewise.
2495 * config/slite.exp: Likewise.
2496 * config/sparclet.exp: Likewise.
2497 * config/udi.exp: Likewise.
2498 * config/vx.exp: Likewise.
2499 * config/vxworks29k.exp: Likewise.
2500
2501 2002-09-05 Jim Blandy <jimb@redhat.com>
2502
2503 * gdb.threads/killed.exp: Fix test failure message.
2504
2505 2002-09-04 Keith Seitz <keiths@redhat.com>
2506
2507 * lib/mi-support.exp: Update copyright.
2508 (mi_gdb_test): Increase the priority of the expected pattern
2509 so that it matches gdb_test.
2510
2511 2002-09-03 Keith Seitz <keiths@redhat.com>
2512
2513 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2514 Use integer comparison instead of string comparison for testing
2515 whether binary was built.
2516
2517 2002-09-03 Jim Blandy <jimb@redhat.com>
2518
2519 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2520
2521 2002-08-29 Jim Blandy <jimb@redhat.com>
2522
2523 * gdb.threads/pthreads.exp: Move the portable thread compilation
2524 code into a function in lib/gdb.exp, and call that from here.
2525 * lib/gdb.exp (gdb_compile_pthreads): New function.
2526
2527 2002-08-29 Keith Seitz <keiths@redhat.com>
2528
2529 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2530 expect_out so that callers can get at it.
2531
2532 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
2533
2534 * gdb.threads/print-threads.c: New file.
2535 * gdb.threads/print-threads.exp: New file.
2536 * gdb.threads/schedlock.c: New file.
2537 * gdb.threads/schedlock.exp: New file.
2538
2539 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
2540
2541 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2542 not altivec.c.
2543
2544 2002-08-17 Mark Kettenis <kettenis@gnu.org>
2545
2546 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2547 targets. The problem should be fixed now.
2548
2549 2002-08-15 Mark Kettenis <kettenis@gnu.org>
2550
2551 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2552 2002-07-24 change that removes final dots from error messages.
2553
2554 2002-08-13 Tom Tromey <tromey@redhat.com>
2555
2556 * gdb.base/readline.exp: New file.
2557
2558 2002-08-01 Andrew Cagney <ac131313@redhat.com>
2559
2560 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2561 supress message.
2562
2563 2002-08-01 Andrew Cagney <cagney@redhat.com>
2564
2565 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2566 CHILL_FOR_TARGET and CHILL_LIB.
2567 * configure.in (configdirs): Remove gdb.chill.
2568 * configure: Regenerate.
2569 * lib/gdb.exp: Obsolete references to chill.
2570 * gdb.fortran/types.exp: Ditto.
2571 * gdb.fortran/exprs.exp: Ditto.
2572
2573 2002-07-30 Kevin Buettner <kevinb@redhat.com>
2574
2575 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2576 set Irix-specific compile and link flags.
2577
2578 2002-07-29 Kevin Buettner <kevinb@redhat.com>
2579
2580 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2581 source files. The ``-o'' option doesn't work with the ``-E'' option
2582 when using the Irix compiler.
2583
2584 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
2585
2586 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2587 Improve support for reusing an exec file. Copy exec file
2588 to target, and run gdbserver on the target instead of on the host.
2589
2590 2002-07-18 Jim Blandy <jimb@redhat.com>
2591
2592 * gdb.base/ending-run.exp: Don't expect to see the program end in
2593 some orderly fashion when we're running on a real stand-alone
2594 board.
2595
2596 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2597 targets that don't support interrupts.
2598
2599 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2600
2601 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2602 systems.
2603 Move comments in expect statements to inside the actions, so that they
2604 don't get matched against.
2605
2606 2002-07-10 Mark Kettenis <kettenis@gnu.org>
2607
2608 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2609 function when asleep" test.
2610
2611 2002-07-10 Andrew Cagney <ac131313@redhat.com>
2612
2613 * gdb.base/page.exp: Rewrite to handle problems with very long
2614 `info set' output. Update copyright.
2615
2616 2002-06-26 Andrew Cagney <ac131313@redhat.com>
2617
2618 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2619 gdb.threads-hp.
2620 * gdb.hp/configure: Regenerate.
2621 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2622 * gdb.hp/gdb.threads-hp/configure: Delete file.
2623 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2624
2625 2002-06-22 Andrew Cagney <ac131313@redhat.com>
2626
2627 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2628 setlocale, bindtextdomain and textdomain.
2629
2630 2002-06-11 Jim Blandy <jimb@redhat.com>
2631
2632 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2633 preprocessor macro information is present.
2634
2635 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2636 tests.
2637
2638 2002-06-06 Michael Snyder <msnyder@redhat.com>
2639
2640 * gdb.base/overlays.exp: Record addresses of overlay
2641 functions in TCL variables rather than in GDB variables,
2642 to avoid having GDB convert them to pointers (with loss
2643 of information).
2644
2645 * gdb.base/d10v.ld: Merge in several years worth of
2646 default linker script changes.
2647 * gdb.base/long_long.exp: Add check for sizeof (long double).
2648
2649 2002-06-06 Michal Ludvig <mludvig@suse.cz>
2650
2651 * gdb.asm/asm-source.exp: Add x86-64 target.
2652 * gdb.asm/x86_64.inc: New.
2653
2654 2002-05-30 Michael Chastain <mec@shout.net>
2655
2656 From Benjamin Kosnik <bkoz@redhat.com>:
2657 * gdb.c++/m-static.cc: New file.
2658 * gdb.c++/m-static.exp: New file.
2659
2660 2002-05-28 Michael Snyder <msnyder@redhat.com>
2661
2662 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2663 precision.
2664
2665 2002-05-27 Michael Chastain <mec@shout.net>
2666
2667 From Benjamin Kosnik <bkoz@redhat.com>:
2668 * gdb.c++/m-data.cc: New file.
2669 * gdb.c++/m-data.exp: New file.
2670
2671 2002-05-27 Michael Chastain <mec@shout.net>
2672
2673 From Benjamin Kosnik <bkoz@redhat.com>:
2674 * gdb.c++/try_catch.cc: New file.
2675 * gdb.c++/try_catch.exp: New file.
2676
2677 2002-05-27 Michael Chastain <mec@shout.net>
2678
2679 * gdb.c++/local.exp: Accept more nested types in output.
2680
2681 2002-05-26 Michael Chastain <mec@shout.net>
2682
2683 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2684
2685 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2686
2687 * lib/gdb.exp (gdb_wrapper_init): Just because
2688 gdb_wrapper_file exists, this does not mean that the file
2689 should not be rebuilt. That is what gdb_wrapper_initialized
2690 is for.
2691 (default_gdb_init): Reset gdb_wrapper_initialized.
2692
2693 2002-05-23 Michael Snyder <msnyder@redhat.com>
2694
2695 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2696 the precision of the floating point test results.
2697 * gdb.base/call-rt-st.exp: Ditto.
2698
2699 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2700 * gdb.base/call-rt-st.exp: Ditto.
2701
2702 2002-05-19 Michael Chastain <mec@shout.net>
2703
2704 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2705
2706 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
2707
2708 * configure.in (configdirs): Add gdb.arch.
2709 * configure: Regenerate.
2710
2711 2002-05-17 Jim Blandy <jimb@redhat.com>
2712
2713 * gdb.base/completion.exp: Recognize the more detailed error
2714 messages produced by the macro expander's lexical analyzer.
2715
2716 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2717
2718 * gdb.arch/altivec-abi.c: New file.
2719 * gdb.arch/altivec-abi.exp: New file.
2720 * gdb.arch/altivec-regs.c: New file.
2721 * gdb.arch/altivec-regs.exp: New file.
2722
2723 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
2724
2725 * gdb.base/maint.exp (maint print type): Update for new type
2726 structure.
2727
2728 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2729
2730 * gdb.arch: New directory.
2731 * gdb.arch/configure.in: New file.
2732 * gdb.arch/configure: New file.
2733 * gdb.arch/Makefile.in: New file.
2734
2735 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
2736
2737 * gdb.asm/asm-source.exp: Add v850 as supported target.
2738 * gdb.asm/v850.inc: New file.
2739
2740 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
2741
2742 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2743
2744 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
2745
2746 * gdb.base/break.exp: Check 'break "marker2"'.
2747
2748 2002-05-10 Michael Snyder <msnyder@redhat.com>
2749
2750 * gdb.base/long_long.exp: Fix typo.
2751
2752 2002-05-10 Jim Blandy <jimb@redhat.com>
2753
2754 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2755 a bug.
2756
2757 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2758 Recognize more detailed error message produced by the macro
2759 expander's lexical analyzer.
2760 * lib/gdb.exp (test_print_reject): Same.
2761
2762 2002-05-09 Mark Kettenis <kettenis@gnu.org>
2763
2764 * gdb.c++/method.exp: Fix typo.
2765
2766 2002-05-08 Michael Snyder <msnyder@redhat.com>
2767
2768 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2769 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2770 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2771 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2772 Add iftarget clause for strongarm.
2773
2774 2002-05-06 Michael Snyder <msnyder@redhat.com>
2775
2776 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2777 (gdb_continue_to_end): Accept output from status wrapper.
2778 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2779 Clean up fail messages to match pass messages.
2780
2781 Enable the "needs_status_wrapper" testsuite feature.
2782 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2783 (gdb_compile): Conditionally call gdb_wrapper_init.
2784 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2785 * gdb.c++/method.exp: Recognize output from status wrapper.
2786
2787 2002-05-06 Ben Elliston <bje@redhat.com>
2788 From Graydon Hoare <graydon@redhat.com>
2789
2790 * config/sid.exp: Include support for "rawsid" protocol.
2791
2792 2002-05-03 Jim Blandy <jimb@redhat.com>
2793
2794 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2795 * gdb.c++/hang3.C: New file.
2796
2797 2002-05-04 Andrew Cagney <ac131313@redhat.com>
2798
2799 * gdb.base/default.exp: Remove obsolete code.
2800 * gdb.c++/misc.exp: Ditto. Update copyright.
2801 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2802 * gdb.base/whatis.exp: Ditto. Update copyright.
2803 * gdb.base/scope.exp: Ditto. Update copyright.
2804 * gdb.base/ptype.exp: Ditto. Update copyright.
2805 * gdb.base/printcmds.exp: Ditto. Update copyright.
2806 * gdb.base/opaque.exp: Ditto. Update copyright.
2807 * gdb.base/list.exp: Ditto.
2808 * gdb.base/funcargs.exp: Ditto. Update copyright.
2809 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2810 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2811 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2812 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2813 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2814 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2815
2816 2002-05-02 Michael Snyder <msnyder@redhat.com>
2817
2818 * gdb.base/watchpoint.exp: Add xscale target.
2819 * gdb.base/long_long.exp: Add xscale target.
2820 * gdb.base/default.exp: Add xscale target.
2821
2822 2002-05-01 Jim Blandy <jimb@redhat.com>
2823
2824 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2825 gdb.c++/hang.exp: New test.
2826
2827 2002-05-01 Fred Fish <fnf@redhat.com>
2828
2829 * gdb.base/completion.exp: Handle completions of "./Make" for
2830 more than one completion possibility, as is the case when we
2831 build and test in the source tree.
2832
2833 2002-04-29 Anthony Green <green@redhat.com>
2834
2835 * gdb.java/jmisc1.exp: New file.
2836 * gdb.java/jmisc2.exp: New file.
2837
2838 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
2839
2840 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2841
2842 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
2843
2844 * gdb.base/help.exp: Change 'help status' to allow for target
2845 dependent output differences.
2846
2847 2002-04-22 Michael Chastain <mec@shout.net>
2848
2849 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2850
2851 2002-04-22 Michael Chastain <mec@shout.net>
2852
2853 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2854
2855 2002-04-17 David S. Miller <davem@redhat.com>
2856
2857 * gdb.asm/sparc64.inc: New file.
2858 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2859
2860 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
2861
2862 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2863 instruction file directly into the build tree. Clean up at end of
2864 test.
2865
2866 2002-04-18 David S. Miller <davem@redhat.com>
2867
2868 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2869 handle 64-bit platforms correctly.
2870 * gdb.base/maint.exp: Likewise.
2871
2872 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2873
2874 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2875 ``-fpic'' when compiling files comprising a shared library, but
2876 it does need additional linker flags in order to find shared
2877 libraries at run time.
2878
2879 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2880
2881 * gdb.base/cvexpr.c (use): New function.
2882 (main): Invoke use() on all global variables to prevent
2883 some linkers from deleting these otherwise unused symbols.
2884
2885 2002-04-17 Michael Chastain <mec@shout.net>
2886 From David S. Miller <davem@redhat.com>
2887
2888 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2889 handle 64-bit platforms correctly.
2890
2891 2002-04-12 Michael Snyder <msnyder@redhat.com>
2892 From Jim Blandy <jimb@redhat.com>
2893 * gdb.base/foo.c (foox): Remove section attribute; the linker
2894 script can handle this instead.
2895 * gdb.base/bar.c (barx): Same.
2896 * gdb.base/baz.c (bazx): Same.
2897 * gdb.base/grbx.c (grbxx): Same.
2898
2899 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2900 manager doesn't automatically unmap overlays unnecessarily.
2901
2902 2002-04-10 Martin M. Hunt <hunt@redhat.com>
2903
2904 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2905 stepping out of main.
2906
2907 2002-04-09 Michael Chastain <mec@shout.net>
2908
2909 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2910 scope so that the nested scope tests will make sense.
2911 * gdb.c++/local.exp: Write patterns that actually work with gcc
2912 (the HP patterns "were never known to work with gcc").
2913 Keep the old aCC patterns too.
2914
2915 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
2916
2917 * gdb.base/attach.exp: Correct target board test.
2918
2919 2002-04-08 Michael Chastain <mec@shout.net>
2920
2921 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2922 in a const method. Add some xfail and fail cases for configurations
2923 that do not emit the "const ...".
2924
2925 2002-04-07 Michael Chastain <mec@shout.net>
2926
2927 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2928 Accept "A * const" and "const A * const" as type of "this".
2929 Fix spelling of getFunky throughout. Make messages uniform.
2930
2931 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
2932
2933 Work around for PR gdb/285:
2934 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2935
2936 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
2937
2938 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2939 instructions file at run time instead of configure time.
2940 Sometimes we run the test in a directory that is not the one we
2941 configured in.
2942 * gdb.asm/configure.in: Delete creation of symlink.
2943 * gdb.asm/configure: Regenerate.
2944
2945 2002-04-05 J. Brobecker <brobecker@gnat.com>
2946
2947 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2948 xfullpath () function.
2949
2950 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
2951
2952 * gdb.asm/Makefile.in: Correct dependencies.
2953
2954 * gdb.asm/powerpc.inc: New file.
2955 * gdb.asm/asm-source.exp: Add PowerPC.
2956 * gdb.asm/configure.in: Likewise.
2957 * gdb.asm/configure: Regenerated.
2958
2959 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
2960
2961 * gdb.base/relocate.exp: New file.
2962 * gdb.base/relocate.c: New file.
2963
2964 2002-04-04 Fred Fish <fnf@redhat.com>
2965
2966 * gdb.base/step-test.exp: Update comment regarding stopping in
2967 memcpy/bcopy calls inserted as part of the compiler runtime.
2968
2969 2002-04-04 Michael Snyder <msnyder@redhat.com>
2970
2971 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2972
2973 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
2974
2975 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2976 (gdb_expect): Remove $notransfer hack.
2977
2978 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
2979
2980 * gdb.c++/classes.exp ("calling method for small class"): Match
2981 updated register output.
2982
2983 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
2984
2985 Fix PR gdb/452
2986 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2987 when finished. Make gdb_file_cmd send "exec-file" when
2988 appropriate.
2989
2990 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
2991
2992 * gdb.base/attach.exp: Remove extra setup_xfail.
2993
2994 2002-03-26 Michael Snyder <msnyder@redhat.com>
2995
2996 * gdb.base/default.exp: Add tests for dump, append, and restore.
2997 * gdb.base/help.exp: Add tests for dump, append, and restore.
2998 * gdb.base/dump.exp: New file, test dump, append and restore.
2999 * gdb.base/dump.c: New file.
3000
3001 2002-03-27 Michael Snyder <msnyder@redhat.com>
3002
3003 * gdb.base/help.exp: Modify expect strings to reflect
3004 clean-ups in help messages.
3005
3006 2002-03-26 Fred Fish <fnf@redhat.com>
3007
3008 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3009 have debugging info for those functions and the compiler uses them
3010 internally to copy structs around.
3011
3012 2002-03-26 Fred Fish <fnf@redhat.com>
3013
3014 * gdb.base/list.exp: Revert the change made yesterday and add note
3015 about why we don't list the default lines for remote targets.
3016
3017 2002-03-25 Michael Snyder <msnyder@redhat.com>
3018
3019 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3020
3021 2002-03-25 Fred Fish <fnf@redhat.com>
3022
3023 * gdb.base/list.exp: This test works on remote targets so remove
3024 the short circuit for remote targets. Update copyright.
3025
3026 2002-03-25 Fred Fish <fnf@redhat.com>
3027
3028 * gdb.base/attach.exp: Fix logic error that was suppressing this
3029 test for all non hppa*-*-hpux* targets, instead of the hp target.
3030 Move comments closer to the suppression point. Also now need to
3031 check that we are running natively.
3032
3033 2002-03-22 Michael Snyder <msnyder@redhat.com>
3034
3035 * gdb.base/default.exp: Add test for gcore. Update copyright.
3036 * gdb.base/help.exp: Add test for gcore. Update copyright.
3037
3038 2002-03-06 Fred Fish <fnf@redhat.com>
3039
3040 * gdb.base/funcargs.c: Remove extraneous ';' character.
3041 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3042
3043 2002-03-04 Michael Chastain <mec@shout.net>
3044
3045 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3046 accommodate gcc v3 function signature.
3047 * gdb.mi/mi0-var-cmd-exp: Ditto.
3048
3049 2002-02-24 Andrew Cagney <ac131313@redhat.com>
3050
3051 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3052 ``GNU/Linux'' or ``Linux kernel''
3053 * testsuite/gdb.threads/pthreads.c: Ditto.
3054
3055 2002-02-24 Michael Chastain <mec@shout.net>
3056
3057 * gdb.threads/pthreads.c (thread1): Add a return statement.
3058 (thread2): Likewise.
3059 (foo): Likewise.
3060
3061 2002-02-23 Michael Chastain <mec@shout.net>
3062
3063 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3064 to placate gcc.
3065
3066 2002-02-23 Michael Chastain <mec@shout.net>
3067
3068 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3069 test "ptype bint". The test passes on all my stabs configurations.
3070
3071 2002-02-21 Jim Blandy <jimb@redhat.com>
3072
3073 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3074 filename at a time, and watch for the ones we want to see.
3075
3076 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3077 types of pointers to prototyped functions.
3078
3079 2002-02-20 Andrew Cagney <ac131313@redhat.com>
3080
3081 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3082 signed, unsigned and straight char.
3083 (padding_char, padding_short, padding_int, padding_long,
3084 padding_long_long, padding_float, padding_double,
3085 padding_long_double): New global variables.
3086 (fill, fill_structs): New functions.
3087
3088 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3089 for correctly sized writes. Update copyright.
3090 (get_valueof): New procedure.
3091 (get_sizeof): Call get_valueof.
3092 (check_valueof): New procedure.
3093 (check_padding): New procedure.
3094
3095 2002-02-20 Michael Chastain <mec@shout.net>
3096
3097 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3098 to setup_xfail. Document some of the remaining calls.
3099
3100 2002-02-18 Michael Chastain <mec@shout.net>
3101
3102 * gdb.c++/userdef.exp: Update copyright year.
3103
3104 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
3105
3106 * gdb.c++/userdef.exp: Test overloaded operators properly.
3107 Remove xfails.
3108
3109 2002-02-14 Michael Snyder <msnyder@redhat.com>
3110
3111 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3112
3113 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
3114
3115 * gdb.base/a2-run.exp: Check for a remote target properly.
3116 * gdb.base/annota1.exp: Likewise.
3117 * gdb.base/list.exp: Likewise.
3118 * gdb.base/reread.exp: Likewise.
3119 * gdb.base/scope.exp: Likewise.
3120 * gdb.base/shlib-call.exp: Likewise.
3121 * gdb.base/term.exp: Likewise.
3122 * gdb.c++/annota2.exp: Likewise.
3123
3124 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
3125
3126 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3127
3128 2002-02-10 Michael Chastain <mec@shout.net>
3129
3130 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3131 (call_after_alloca): Ditto.
3132
3133 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
3134
3135 * gdb.base/ending-run.exp: Guard "cont" test with
3136 gdb_skip_stdio_test.
3137
3138 2002-02-06 Jim Blandy <jimb@redhat.com>
3139
3140 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3141 from here...
3142 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3143 To here. Disable this test on non-HP platforms. Add big comment.
3144
3145 2002-02-04 Michael Snyder <msnyder@redhat.com>
3146
3147 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3148 other than d10v and m32r.
3149
3150 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
3151
3152 * gdb.base/default.exp: Rewrite test patterns to reduce time
3153 taken to match them.
3154
3155 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3156
3157 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3158 Allow a start function above main.
3159 * gdb.threads/linux-dp.exp: Fix copyright date.
3160
3161 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3162
3163 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3164 (check_philosopher_stack): Check for manager thread before checking
3165 for a just-starting thread.
3166
3167 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3168
3169 From Neil Booth <neil@daikokuya.demon.co.uk>:
3170 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3171 warnings.
3172
3173 2002-01-21 Fred Fish <fnf@redhat.com>
3174
3175 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3176 not caller.
3177
3178 2002-01-21 Jim Blandy <jimb@redhat.com>
3179
3180 * gdb.base/reread.exp: Check that GDB properly re-reads the
3181 executable file when it changes while no inferior is running.
3182
3183 2002-01-21 Fred Fish <fnf@redhat.com>
3184
3185 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3186 optionally accept the "shlib events" variation.
3187
3188 2002-01-21 Jim Blandy <jimb@redhat.com>
3189
3190 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3191 call `fflush' after every `printf', so that the output is produced
3192 at predictable points, regardless of whatever buffering does (or
3193 doesn't) take place.
3194 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3195 at different points.
3196
3197 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3198
3199 * gdb.c++/inherit.exp: Update copyright years.
3200 * gdb.c++/method.exp: Likewise.
3201
3202 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3203
3204 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3205 artificial methods/arguments.
3206 * gdb.c++/derivation.exp: Likewise.
3207 * gdb.c++/inherit.exp: Likewise.
3208 * gdb.c++/method.exp: Likewise.
3209 * gdb.c++/virtfunc.exp: Likewise.
3210
3211 2002-01-18 Andrew Cagney <ac131313@redhat.com>
3212
3213 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3214 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3215 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3216 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3217 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3218 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3219
3220 2002-01-17 Jim Blandy <jimb@redhat.com>
3221
3222 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3223 anchoring the pattern matching the entry point symbol's name.
3224
3225 2002-01-17 Andrew Cagney <ac131313@redhat.com>
3226
3227 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3228 continue/quit query. Update copyright.
3229
3230 2002-01-14 Michael Snyder <msnyder@redhat.com>
3231
3232 * gdb.base/gcore.exp: Remove extra debugging output.
3233
3234 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3235
3236 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3237 for slightly dubious v2 mangled string.
3238
3239 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3240
3241 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3242
3243 2002-01-10 Jason Merrill <jason@redhat.com>
3244
3245 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
3246
3247 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3248 constructors.
3249 * gdb.c++/derivation.exp: Likewise.
3250 * gdb.c++/templates.exp: Likewise.
3251 * gdb.c++/virtfunc.exp: Likewise.
3252
3253 2002-01-10 Michael Snyder <msnyder@redhat.com>
3254
3255 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
3256
3257 2002-01-08 Michael Snyder <msnyder@redhat.com>
3258
3259 * gdb.base/gcore.exp: New test for generate-core-file command.
3260 * gdb.base/gcore.c: Testcase for above.
3261 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3262
3263 2002-01-08 Jason Merrill <jason@redhat.com>
3264
3265 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3266
3267 2002-01-07 Fred Fish <fnf@redhat.com>
3268
3269 * gdb.c++/overload.exp: Remove unconditional xfails for:
3270 print foo_instance1.overloadargs(1)
3271 print foo_instance1.overloadargs(1, 2)
3272 print foo_instance1.overloadargs(1, 2, 3)
3273 print foo_instance1.overloadargs(1, 2, 3, 4)
3274 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3275 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3276 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3277 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3278 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3279 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3280 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3281 print foo_instance1.overload1arg()
3282 print foo_instance1.overload1arg((char)arg2)
3283 print foo_instance1.overload1arg((signed char)arg3)
3284 print foo_instance1.overload1arg((unsigned char)arg4)
3285 print foo_instance1.overload1arg((int)arg7)
3286 print foo_instance1.overload1arg((unsigned int)arg8)
3287 print foo_instance1.overload1arg((float)arg11)
3288 print foo_instance1.overload1arg((double)arg12)
3289
3290 2002-01-07 Michael Snyder <msnyder@redhat.com>
3291
3292 * gdb.base/huge.exp: New test. Print a very large target data object.
3293 (skip_huge_test): New test variable. Define if you want to skip this
3294 test. The test reads an 8 megabyte data object from the target, so it
3295 might be very time consuming on remote targets with a slow connection.
3296 * gdb.base/huge.c: New file. Test case for above.
3297
3298 2002-01-07 Fred Fish <fnf@redhat.com>
3299
3300 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3301 g_instance.bfoo, and g_instance.cfoo.
3302
3303 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3304
3305 * gdb.base/break.c (multi_line_if_conditional): New function.
3306 (multi_ilne_while_conditional): Likewise.
3307 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3308 IF or WHILE condition puts the breakpoint at the start of
3309 the condition.
3310
3311 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3312 hppa*-*-hpux* expected failure.
3313 * gdb.base/structs.exp (do_function_calls): Similarly.
3314
3315 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3316 watchpoints.
3317
3318 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3319
3320 Fix PR gdb/66.
3321 * gdb.base/structs.exp: Replace skip for a29k with skip for
3322 gdb,cannot_call_functions.
3323 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3324 * gdb.base/callfuncs.exp: Ditto.
3325 * gdb.base/call-rt-st.exp: Ditto.
3326 * gdb.base/call-strs.exp: Ditto.
3327 * gdb.base/callfwmall.exp: Ditto.
3328 * gdb.base/scope.exp: Obsolete xfail a29k.
3329 * gdb.c++/misc.exp: Ditto.
3330 * gdb.c++/cplusfuncs.exp: Ditto.
3331 * gdb.base/ptype.exp: Ditto.
3332 * gdb.base/printcmds.exp: Ditto.
3333 * gdb.base/opaque.exp: Ditto.
3334 * gdb.base/list.exp: Ditto.
3335 * gdb.base/funcargs.exp: Ditto.
3336 * gdb.base/default.exp: Ditto.
3337
3338 2002-01-04 Michael Snyder <msnyder@redhat.com>
3339
3340 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
3341 * gdb.base/maint.exp: Add tests for maint info sections options.
3342
3343 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3344
3345 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3346
3347 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
3348
3349 * gdb.asm/arm.inc: New file.
3350 * gdb.asm/asm-source.exp: Add arm targets.
3351 * gdb.asm/configure.in: Ditto.
3352 * gdb.asm/configure: Recreated from configure.in.
3353
3354 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3355
3356 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3357 with HP's compiler.
3358 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3359 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3360 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3361 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3362
3363 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3364 either HP's compilers or GCC.
3365
3366 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3367 a SIGBUS or SIGSEGV.
3368
3369 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3370
3371 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3372 can be compiled with either HP's compiler or GCC.
3373
3374 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3375 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3376 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3377
3378 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3379 to match current gdb output. Update due to using auto-solib-limit
3380 for limiting instead of overloading auto-solib-add.
3381 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3382 test program.
3383
3384 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
3385 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3386 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3387 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3388 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3389 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3390 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3391 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3392 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3393 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3394 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3395 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3396 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3397
3398 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3399 a SIGTRAP to the inferior.
3400
3401 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
3402
3403 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3404 Substitute call to target_link by call to gdb_compile.
3405
3406 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3407
3408 * gdb.base/break.exp: Fix HP specific search string when testing
3409 backtracing in a called function.
3410
3411 * gdb.base/constvars.exp: Only set lang to C++ if we're
3412 compiling the test with HP's compilers.
3413 * gdb.base/volatile.exp: Similarly.
3414
3415 2001-12-19 Jim Blandy <jimb@redhat.com>
3416
3417 * gdb.base/printcmds.exp: Expect the null character to be printed
3418 as '\0', and the '\013' to be printed as '\v'.
3419 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3420 * gdb.base/setvar.exp: Same.
3421
3422 2001-12-17 Jim Blandy <jimb@redhat.com>
3423
3424 * gdb.base/completion.exp: Rather than completing very long
3425 filenames, which can make the readline library produce output we
3426 don't recognize, cd to the directory first, and then complete
3427 using nice, short relative paths.
3428
3429 * gdb.base/completion.exp: On some systems, there is, in fact, a
3430 variable named `b' in scope, since GDB treats all static
3431 variables as being in scope. So use `no_var_named_this'
3432 instead of `b'.
3433
3434 * gdb.base/corefile.exp: Recognize the message saying that GDB
3435 can't find the core file's registers as a failure.
3436
3437 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3438
3439 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3440 test expect string more specific.
3441
3442 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
3443
3444 * gdb.asm/asm-source.exp: Add support for xstormy16.
3445 * gdb.asm/configure.in: Ditto.
3446 * gdb.asm/configure: Rebuild.
3447 * gdb.asm/xstormy16.inc: New file.
3448
3449 2001-12-10 Fred Fish <fnf@redhat.com>
3450
3451 * gdb.base/maint.exp: Update to match changes in type dumping code.
3452
3453 2001-12-10 Jim Blandy <jimb@redhat.com>
3454
3455 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3456 matching the entry point symbol's name at the beginning of the
3457 line.
3458
3459 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3460
3461 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3462 gdb.c++/inherit.exp, gdb.c++/method.exp,
3463 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3464 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3465 and class layout support.
3466
3467 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3468
3469 * gdb.c++/classes.exp: Add test for static member function.
3470 * gdb.c++/misc.cc: Add class with static member function.
3471
3472 2001-12-07 Jim Blandy <jimb@redhat.com>
3473
3474 If GDB says it can't find the struct the function returned, report
3475 those tests as `unsupported'.
3476 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3477 Rewrite subsequent tests to use it.
3478
3479 If GDB says it can't find the struct the function returned, report
3480 those tests as `unsupported'.
3481 * gdb.base/structs.exp (call_struct_func): New function.
3482 (do_function_calls): Use call_struct_func to call the functions
3483 returning structs.
3484
3485 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3486 whether functions are prototyped or not, so we can't possibly pass
3487 arguments to t_float_values2 properly.
3488
3489 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3490 value of `timeout' for targets other than the mips*tx39-*.
3491
3492 2001-12-06 Michael Snyder <msnyder@redhat.com>
3493
3494 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3495 and detect whether the start symbol has a leading underscore.
3496
3497 2001-12-04 Jim Blandy <jimb@redhat.com>
3498
3499 * gdb.base/completion.exp: Clarify indentation.
3500
3501 2001-12-03 Jim Blandy <jimb@redhat.com>
3502
3503 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3504 variables on the S/390, not `.word'.
3505
3506 2001-11-30 Jim Blandy <jimb@redhat.com>
3507
3508 Add assembly-source tests for s390-ibm-linux.
3509 * gdb.asm/s390.inc: New file.
3510 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3511 the S/390 architecture.
3512 * gdb.asm/configure: Regenerated.
3513
3514 2001-11-30 Michael Snyder <msnyder@redhat.com>
3515
3516 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3517 next, info source, info sources, info line, global and static
3518 variables, and static functions.
3519 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3520 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3521 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3522 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3523 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3524 (gdbasm_leave): Restore frame pointer.
3525 (gdbasm_startup): Copy stack set-up from crt0.S.
3526
3527 2001-11-26 Fernando Nasser <fnasser@redhat.com>
3528
3529 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3530 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3531 to a local (non-static) variable. Copy tstruct.a to a static buffer
3532 and return a pointer to that buffer.
3533 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3534
3535 2001-11-24 Mark Kettenis <kettenis@gnu.org>
3536
3537 * gdb.asm/configure.in: Fix recognition of ix86 target.
3538 * gdb.asm/configure: Regenerate.
3539
3540 2001-11-21 Michael Snyder <msnyder@redhat.com>
3541
3542 * gdb.asm/sparc.inc: New file.
3543 * gdb.asm/asm-source.exp: Recognize sparc target.
3544 * gdb.asm/configure.in: Recognize sparc target.
3545 * gdb.asm/configure: Regenerate.
3546
3547 2001-11-21 Michael Snyder <msnyder@redhat.com>
3548
3549 * gdb.asm/m32r.inc: New file.
3550 * gdb.asm/asm-source.exp: Recognize m32r target.
3551 * gdb.asm/configure.in: Recognize m32r target.
3552 * gdb.asm/configure: Regenerate.
3553
3554 2001-11-20 Michael Snyder <msnyder@redhat.com>
3555
3556 * gdb.asm/i386.inc: New file.
3557 * gdb.asm/asm-source.exp: Recognize ix86 target.
3558 * gdb.asm/configure.in: Recognize ix86 target.
3559 * gdb.asm/configure: Regenerate.
3560
3561 * gdb.c++/namespace.exp: Fix quotes in output messages.
3562
3563 2001-11-14 Michael Snyder <msnyder@redhat.com>
3564
3565 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
3566 qualifier in a type cast expression, to designate an address
3567 in the instruction space (Harvard architecture).
3568
3569 2001-11-13 Michael Snyder <msnyder@redhat.com>
3570
3571 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3572 Tests for expressions using 'const' and 'volatile'.
3573
3574 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
3575
3576 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3577
3578 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
3579
3580 * lib/mi-support.exp (mi_run_to_helper): Move comments
3581 outside of gdb_expect.
3582
3583 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
3584
3585 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3586 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3587 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3588 mi0_run_to): New functions.
3589 * gdb.mi/mi-simplerun.exp: Use them.
3590 * gdb.mi/mi0-simplerun.exp: Likewise.
3591 * gdb.mi/mi-var-cmd.exp: Likewise.
3592 * gdb.mi/mi0-var-cmd.exp: Likewise.
3593
3594 2001-11-10 Andrew Cagney <ac131313@redhat.com>
3595
3596 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3597 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3598
3599 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3600
3601 * gdb.base/restore.exp: Include $expected value in restored test
3602 message.
3603
3604 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3605
3606 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3607 implemented.
3608
3609 2001-11-08 Michael Snyder <msnyder@redhat.com>
3610
3611 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3612 Add pass/fail message for stop at breakpoint in call dummy function.
3613
3614 2001-11-07 Michael Snyder <msnyder@redhat.com>
3615
3616 * gdb.c++/templates.exp (test_template_breakpoints):
3617 If we get an overload menu, but it does not match what
3618 we expect, we still need to issue the "cancel" command.
3619 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3620 making the whitespace optional. Argument for "new" may be
3621 "unsigned" as well as "unsigned int/long".
3622 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3623 making the whitespace optional. Also replace "(void) with
3624 "((void|)), making the keyword "void" optional.
3625 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3626 making the whitespace optional. Also replace "(void) with
3627 "((void|)), making the keyword "void" optional.
3628 * gdb.base/callfuncs.c (t_float_values): This function must
3629 _not_ be prototyped, and the following function (t_float_values2)
3630 must be prototyped (if the compiler supports it), so that GDB
3631 can be tested against both cases. Usually one case involves
3632 promotion of float to double, while the other does not.
3633 * gdb.base/callfwmall.c: Ditto.
3634 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3635 includes a stack frame for "start".
3636
3637 2001-11-05 Jim Blandy <jimb@redhat.com>
3638
3639 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3640 pointers are 32 bits long, and that offsets of relocs are always
3641 stored in the data (REL-style), and not in the reloc entry itself
3642 (RELA-style).
3643 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3644 stabs.
3645
3646 2001-11-01 Michael Snyder <msnyder@redhat.com>
3647
3648 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3649 and regular expression operators by using quoting.
3650
3651 2001-10-31 Michael Snyder <msnyder@redhat.com>
3652
3653 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3654 depending on what the symbol table contains.
3655 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3656 the output of the ptype command. Similarly, accept both "const &"
3657 and "const&".
3658
3659 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
3660
3661 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3662 symbol `STORAGE' to allow to choose the storage class of
3663 the local datastructures.
3664 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3665 compiler directive.
3666
3667 2001-10-30 Michael Snyder <msnyder@redhat.com>
3668
3669 * gdb.base/jump.exp: Allow it to run for all targets.
3670
3671 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3672
3673 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3674 with new double_array size.
3675 (main): Change storage class of all local variables to static.
3676 Reduce size of double_array to 9.
3677 * gdb.base/call-ar-st.exp: Increase timeout value.
3678 Change expected output for double array to match new size in
3679 call-ar-st.c.
3680
3681 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3682
3683 * gdb.base/ending-run.exp: Create identical output when passing
3684 `step to end of run' case. Add regular expression branch satisfying
3685 Stormy16 target.
3686
3687 2001-10-28 Mark Kettenis <kettenis@gnu.org>
3688
3689 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3690 that we catch the expected failure under Linux/x86.
3691
3692 2001-10-29 Orjan Friberg <orjanf@axis.com>
3693
3694 * gdb.base/setvar.exp: Escape curly braces.
3695 * gdb.stabs/weird.exp: Ditto.
3696
3697 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
3698
3699 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3700 * gdm.mi/mi0-hack-cli.exp: Likewise.
3701
3702 2001-10-25 Andrew Cagney <ac131313@redhat.com>
3703
3704 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3705 messages.
3706
3707 2001-10-21 Andrew Cagney <ac131313@redhat.com>
3708
3709 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3710 checking MI enabled.
3711
3712 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
3713
3714 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3715
3716 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
3717
3718 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3719 if gdb child process crashes, just signal an error.
3720
3721 2001-10-02 Jim Blandy <jimb@redhat.com>
3722
3723 * lib/gdb.exp (test_xfail_format): Simplify.
3724
3725 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3726 front of the variable name `format'. Simplify `if'.
3727
3728 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3729
3730 * gdb.threads/pthreads.exp: Wait for output and delay
3731 before sending ^C.
3732
3733 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3734
3735 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3736 some incorrect output instead of timing out.
3737 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3738
3739 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
3740
3741 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3742 check to allow additional `int'.
3743
3744 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
3745
3746 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3747 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3748
3749 2001-09-27 Michael Snyder <msnyder@redhat.com>
3750
3751 * lib/gdb.exp (test_debug_format): New proc.
3752 (setup_xfail_format): Use new proc test_debug_format.
3753 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3754 proc; use new service proc test_debug_format.
3755 Replace all other "gcc_compiled" tests with this test.
3756 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3757 proc; use new service proc test_debug_format.
3758 Replace all other "gcc_compiled" tests with this test.
3759
3760 2001-09-27 Michael Snyder <msnyder@redhat.com>
3761
3762 * gdb.base/cvexpr.exp: New file.
3763 * gdb.base/cvexpr.c: New file
3764 Test for expressions using const and volatile keywords.
3765
3766 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
3767
3768 * gdb.base/constvars.exp: Check for different orders of keywords
3769 and additional "int" strings in output.
3770
3771 2001-09-22 Andrew Cagney <ac131313@redhat.com>
3772
3773 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3774 responses from "help maint".
3775
3776 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
3777
3778 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3779 to localhost:NNN instead of :NNN, in case Xvfb is listening
3780 only on TCP.
3781
3782 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
3783
3784 * gdb.base/recurse.exp: When checking leaving the watchpoint
3785 scope, recognize when gdb is in function's epilogue and pass.
3786
3787 2001-09-18 Keith Seitz <keiths@redhat.com>
3788
3789 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3790 support for running tests against sid targets.
3791 (gdbtk_done): Ditto.
3792
3793 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
3794
3795 * gdb.base/ending-run.c (main): Set stdout buffersize
3796 to the same reasonable value for any target.
3797 * gdb.base/ending-run.exp: Add a regular expression
3798 to make testsuite happy on Sanyo Stormy16 target.
3799
3800 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
3801
3802 * gdb.base/display.c (do_loops): Add float variable `f'.
3803 Increment f in loop.
3804 * gdb.base/display.exp: Increment timeout by 60 seconds.
3805 Change float display test to use variable `f'.
3806
3807 2001-09-17 Jim Blandy <jimb@redhat.com>
3808
3809 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3810 overflowing the limited breakpoint tables on some ROM monitors
3811 (like the ROM68K).
3812
3813 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
3814
3815 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3816 the "-ac" (disable access control) flag.
3817
3818 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
3819
3820 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3821 ints.
3822
3823 2001-08-30 Keith Seitz <keiths@redhat.com>
3824
3825 * lib/gdb.exp: Move all insight-related functionality into
3826 separate file.
3827 * lib/insight-support.exp: New file.
3828
3829 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
3830
3831 * config/sid.exp (sid_start): Never set sid verbosity; disable
3832 expect_background {} that consumed its stdout; tolerate </dev/null.
3833 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3834
3835 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3836
3837 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3838 CLI jump command to start it.
3839 (mi_run_to_main): Fail immediatly when unexpected output.
3840
3841 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3842
3843 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3844 beginning of function. Fix PR gdb/191.
3845
3846 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
3847
3848 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3849 what to force sid endianness to.
3850
3851 2001-08-15 Keith Seitz <keiths@redhat.com>
3852
3853 * lib/gdb.exp (gdbtk_start): Don't set environment
3854 variables for TCL_LIBRARY and friends. Insight will
3855 now figure these out for itself.
3856
3857 2001-08-02 Michael Snyder <msnyder@redhat.com>
3858
3859 * gdb.base/completion.exp: Remove the symbol "a64l" from
3860 the expect string; this is target-specific, and not related
3861 to what is being tested.
3862
3863 2001-08-02 Dave Brolley <brolley@redhat.com>
3864
3865 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3866
3867 2001-07-25 Michael Snyder <msnyder@redhat.com>
3868
3869 * gdb.base/consecutive.exp: New file. Test stepping over
3870 breakpoints on consecutive instructions.
3871 * gdb.base/consecutive.c: New file.
3872
3873 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3874 curly braces in regular expressions.
3875
3876 2001-07-25 Michael Snyder <msnyder@redhat.com>
3877
3878 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3879 legitimate output from stepping out of main.
3880
3881 2001-07-22 Keith Seitz <keiths@redhat.com>
3882
3883 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3884 the empty string, do not run the tests.
3885
3886 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3887
3888 * gdb.base/long_long.exp: Detect size of pointer. Take into
3889 account 2-byte pointers when testing for p/a results.
3890
3891 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3892
3893 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3894 and defined to 1K for m68hc11.
3895 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3896 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3897 (sizeof_random_data): New variable to tell the size of the data table;
3898 don't test past this size; always run to main.
3899
3900 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3901
3902 * gdb.base/return2.exp: return of long long and double fails for
3903 68HC11; don't execute these tests on that platform.
3904 * gdb.base/return.exp: Return of a double fails for 68hc11.
3905
3906 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3907
3908 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3909 tests that print a float.
3910 * call-rt-st.exp: Likewise.
3911
3912 2001-07-12 Mark Kettenis <kettenis@gnu.org>
3913
3914 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3915 running this test on Linux.
3916
3917 2001-06-24 Michael Chastain <chastain@redhat.com>
3918
3919 * gdb.base/arithmet.exp: Remove some tests to make all test names
3920 unique.
3921
3922 2001-07-03 Michael Snyder <msnyder@redhat.com>
3923
3924 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3925 the output of the ptype command.
3926
3927 2001-07-02 Michael Snyder <msnyder@redhat.com>
3928
3929 * gdb.base/completion.exp: Don't assume that break.c is the only
3930 source file that may contain functions named "marker".
3931 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3932
3933 2001-06-28 Andrew Cagney <ac131313@redhat.com>
3934
3935 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3936 of files to delete.
3937
3938 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3939 * gdb.disasm/h8300s.exp: New file.
3940 gdb.disasm/h8300s.s: Likewise.
3941
3942 2001-06-27 Andrew Cagney <ac131313@redhat.com>
3943
3944 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3945 empty breakpoint tables.
3946
3947 2001-06-25 Andrew Cagney <ac131313@redhat.com>
3948
3949 * lib/mi-support.exp: Update args=... part of stop-reason
3950 patterns. Accept either a list or a tuple.
3951
3952 2001-06-23 Andrew Cagney <ac131313@redhat.com>
3953
3954 * lib/mi-support.exp: Remove local emacs variable defining
3955 change-log-default-name.
3956
3957 2001-06-22 Michael Chastain <chastain@redhat.com>
3958
3959 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3960 This is operationally compatible with the previous version.
3961
3962 2001-06-13 Jim Blandy <jimb@redhat.com>
3963
3964 * lib/gdb.exp (gdb_test): Doc fix.
3965
3966 2001-06-10 Michael Chastain <chastain@redhat.com>
3967
3968 * gdb.base/exprs.exp: Remove a duplicate test.
3969
3970 2001-06-06 Jim Blandy <jimb@redhat.com>
3971
3972 * gdb.base/return2.exp (main): Use values to test float and double
3973 returns that are not NaN's, to avoid being confused by IEEE
3974 comparison rules.
3975
3976 2001-06-04 Michael Snyder <msnyder@redhat.com>
3977
3978 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3979 non-zero if control_c fails. Terminate the test on failure,
3980 rather than wait for 12 more tests to time out.
3981
3982 2001-06-06 Jim Blandy <jimb@redhat.com>
3983
3984 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3985 Don't forget to match the GDB prompt.
3986
3987 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3988
3989 2001-06-04 Jim Blandy <jimb@redhat.com>
3990
3991 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3992 command.
3993
3994 2001-05-31 Kevin Buettner <kevinb@redhat.com>
3995
3996 * gdb.base/annota1.exp (info break): Match four or more spaces
3997 after "Address".
3998
3999 2001-05-31 Michael Chastain <chastain@redhat.com>
4000
4001 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4002 (dm_type_int_star): Likewise.
4003 (dm_type_long_star): Likewise.
4004 (dm_type_void_star): Likewise.
4005
4006 2001-05-29 Kevin Buettner <kevinb@redhat.com>
4007
4008 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4009 to a known value in order to get consistent results regardless
4010 of the setting of INPUTRC or the presence or contents of .inputrc.
4011
4012 2001-05-24 Michael Snyder <msnyder@redhat.com>
4013
4014 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4015 Don't require that the main thread and the manager thread are the
4016 first in the list.
4017
4018 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4019 debugging. If test fails, issue an "unsupported" not a "fail".
4020
4021 2001-05-24 Jim Blandy <jimb@redhat.com>
4022
4023 Don't assume that short is shorter than int.
4024 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4025 assume that shorts are smaller than ints. On a 16-bit machine,
4026 this isn't true.
4027 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4028 an int, is not equal to ~0 stored in an unsigned char. This tests
4029 the same thing that the previous test meant to, but works on
4030 16-bit machines, too.
4031 ("print unsigned char != (~0)"): Same test, complemented.
4032
4033 2001-05-24 Michael Snyder <msnyder@redhat.com>
4034
4035 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
4036 test for (full_coverage == 0). This makes the test run faster,
4037 and prevents dejagnu getting out of step.
4038
4039 2001-05-23 Kevin Buettner <kevinb@redhat.com>
4040
4041 * gdb.base/finish.exp (finish_void): Revise pattern for
4042 stopping on the call statement to not permit stopping at
4043 the start of the instructions comprising the call sequence.
4044
4045 2001-05-19 Michael Chastain <chastain@redhat.com>
4046
4047 * gdb.base/callfuncs.exp: Make all test names unique.
4048 * gdb.base/commands.exp: Make all test names unique.
4049 * gdb.base/condbreak.exp: Make all test names unique.
4050 * gdb.base/dbx.exp: Make all test names unique.
4051 * gdb.base/default.exp: Make all test names unique.
4052 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4053 and TIMEOUT messages to their corresponding PASS message.
4054 * gdb.base/ending-run.exp: Make all test names unique.
4055 * gdb.base/long_long.exp: Remove duplicate test.
4056
4057 2001-05-21 Kevin Buettner <kevinb@redhat.com>
4058
4059 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4060 stop on the call statement as well as the statement after the
4061 call.
4062
4063 2001-05-21 Michael Snyder <msnyder@redhat.com>
4064
4065 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4066
4067 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
4068
4069 * gdb.base/completion.exp: Revamp test. Make it execute on all
4070 platforms.
4071
4072 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
4073
4074 * config/gdbserver.exp (gdb_load): Handle the case
4075 in which the arguments to gdbserver are given in the
4076 baseboard configuration file.
4077 Also handle the case in which the server needs to do a
4078 load.
4079
4080 2001-05-07 Keith Seitz <keiths@cygnus.com>
4081
4082 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4083 set up the display for testing.
4084 (gdbtk_start): Convert all paths to paths that tcl will like.
4085 Export target information to environment.
4086 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4087 necessary.
4088 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4089 (to_tcl_path): New proc to convert a given pathname into
4090 a path acceptible as an argument to a tcl command.
4091 (_gdbtk_export_target_info): New proc to export target info
4092 into the environment for gdbtk testing.
4093 (gdbtk_done): New proc to signal end-of-test.
4094
4095 2001-05-06 Jim Blandy <jimb@redhat.com>
4096
4097 * restore.c: Make the code of caller0 correspond to its comment.
4098
4099 2001-05-03 Michael Snyder <msnyder@redhat.com>
4100
4101 * config/sid.exp (gdb_target_sid): Check for error messages.
4102 On error or timeout, don't make expect exit (which will terminate
4103 all subsequent tests); instead just make gdb exit.
4104 (gdb_load): Check for error messages. On error or timeout,
4105 return a negative value.
4106
4107 2001-04-24 Jim Blandy <jimb@redhat.com>
4108
4109 * gdb.c++/templates.exp: If we see the prompt for the overload
4110 list, but we haven't recognized any of the longer patterns,
4111 arrange for this test to fail, not hang.
4112
4113 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4114 variations.
4115
4116 2001-04-22 Michael Chastain <chastain@redhat.com>
4117
4118 * gdb.c++/local.exp: Use the 'runto' library function.
4119 * gdb.c++/namespace.exp: Likewise.
4120 * gdb.c++/overload.exp: Likewise.
4121
4122 2001-03-26 Kevin Buettner <kevinb@redhat.com>
4123
4124 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4125 * gdb.base/step-line.exp: New file. Test step/next in presence of
4126 #line directives.
4127 * gdb.base/step-line.c: New file. Test program for the above.
4128 * gdb.base/step-line.inp: New file. We pretend that this file has
4129 been transformed by some other tool into step-line.c.
4130
4131 2001-03-21 Jim Blandy <jimb@redhat.com>
4132
4133 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4134 unmangled operator names.
4135
4136 2001-03-20 Jim Blandy <jimb@redhat.com>
4137
4138 * gdb.threads/linux-dp.exp: Recognize an additional message
4139 generated by GDB when it doesn't understand how to debug threads
4140 on the target system.
4141
4142 2001-03-19 Andrew Cagney <ac131313@redhat.com>
4143
4144 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4145
4146 2001-03-12 Michael Chastain <chastain@redhat.com>
4147
4148 * gdb.c++/derivation.exp: Use the 'runto' library function.
4149
4150 2001-03-12 Michael Chastain <chastain@redhat.com>
4151
4152 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4153
4154 2001-02-24 Michael Chastain <chastain@redhat.com>
4155
4156 * gdb.c++/ref-types.exp: Change handwritten code to library
4157 function 'runto'.
4158
4159 2001-03-16 Orjan Friberg <orjanf@axis.com>
4160
4161 * gdb.base/signals.exp: Set count to 0 explicitly.
4162
4163 2001-03-15 Mark Salter <msalter@redhat.com>
4164
4165 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4166 (gdb_target_monitor): Add check of gdb_target_cmd return value.
4167 (gdb_load): Add support for additional target_info: gdb_download_size
4168 and gdb_load_timeout.
4169
4170 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4171
4172 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4173 file -- to prevent failing when the compile fails but we have no
4174 intention of running the tests anyway.
4175
4176 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4177 tests if set.
4178
4179 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4180 integers.
4181
4182 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4183 * gdb.c++/namespace.exp: Ditto.
4184
4185 2001-03-07 Orjan Friberg <orjanf@axis.com>
4186
4187 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4188 * gdb.base/pointers.exp: Relax pattern match of decimals.
4189
4190 2001-03-06 Kevin Buettner <kevinb@redhat.com>
4191
4192 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4193 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4194 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4195 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4196 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4197 config/sh.exp, config/sid.exp, config/slite.exp,
4198 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4199 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4200 config/vxworks.exp, config/vxworks29k.exp,
4201 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4202 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4203 gdb.base/arithmet.exp, gdb.base/assign.exp,
4204 gdb.base/async.exp, gdb.base/attach.exp,
4205 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4206 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4207 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4208 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4209 gdb.base/commands.exp, gdb.base/completion.exp,
4210 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4211 gdb.base/constvars.exp, gdb.base/corefile.exp,
4212 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4213 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4214 gdb.base/ending-run.exp, gdb.base/environ.exp,
4215 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4216 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4217 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4218 gdb.base/funcargs.exp, gdb.base/help.exp,
4219 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4220 gdb.base/logical.exp, gdb.base/long_long.exp,
4221 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4222 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4223 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4224 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4225 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4226 gdb.base/regs.exp, gdb.base/relational.exp,
4227 gdb.base/remote.exp, gdb.base/reread.exp,
4228 gdb.base/restore.exp, gdb.base/return2.exp,
4229 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4230 gdb.base/selftest.exp, gdb.base/setshow.exp,
4231 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4232 gdb.base/sigall.exp, gdb.base/signals.exp,
4233 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4234 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4235 gdb.base/step-test.exp, gdb.base/structs.c,
4236 gdb.base/structs.exp, gdb.base/structs2.exp,
4237 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4238 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4239 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4240 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4241 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4242 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4243 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4244 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4245 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4246 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4247 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4248 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4249 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4250 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4251 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4252 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4253 gdb.trace/circ.exp, gdb.trace/collection.exp,
4254 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4255 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4256 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4257 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4258 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4259 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4260 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4261 notices.
4262
4263 2001-02-27 Michael Snyder <msnyder@cygnus.com>
4264
4265 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4266 first arg is int not float.
4267
4268 2001-02-22 Michael Snyder <msnyder@cygnus.com>
4269
4270 * gdb.base/reread.exp: Unsupported for non-native targets;
4271 doesn't work for remote debugging.
4272
4273 2001-02-19 Fernando Nasser <fnasser@redhat.com>
4274
4275 From Drew Moseley <dmoseley@redhat.com>
4276 * gdb.base/ending-run.exp: Properly handle the BSP state when
4277 stepping past the end of main.
4278
4279 2001-02-19 John Moore <jmoore@redhat.com>
4280
4281 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4282 Converted HPUX fix for non-expected items following multiple
4283 step commands into general solution for all platforms.
4284
4285 2001-02-18 Michael Chastain <chastain@redhat.com>
4286
4287 * gdb.c++/classes.exp (do_tests): Change runto statements
4288 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4289 statements demangler agnostic.
4290 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4291 (gdb_virtfunc_restart): Likewise.
4292
4293 2001-02-14 Michael Chastain <chastain@redhat.com>
4294
4295 * gdb.c++/inherit.exp (do_tests): Change runto statements
4296 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4297 statements demangler agnostic.
4298
4299 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4300
4301 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4302 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4303 before calling common_routine 15 times'' tests.
4304
4305 2001-02-11 Michael Chastain <chastain@redhat.com>
4306
4307 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4308 Helps the test script figure out which demangler is in use.
4309 (dm_type_foo_ref): Ditto.
4310 (dm_type_int_star): Ditto.
4311 (dm_type_long_star): Ditto.
4312 (dm_type_unsigned_int): Ditto.
4313 (dm_type_void): Ditto.
4314 (dm_type_void_star): Ditto.
4315 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
4316 Probe the gdb demangler and set variables to accommodate
4317 formatting differences.
4318 (info_func_regexp): New function. Same as info_func, but
4319 matches against a regexp.
4320 (info_func): Match against a literal string.
4321 (print_addr_2): New function. Match against a literal string,
4322 which can be different from the input to gdb.
4323 (print_addr): Simply call print_addr_2 with the same argument twice.
4324 (test_lookup_operator_functions): Use demangler formatting variables.
4325 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4326 the tests in the same order as the C++ class declaration.
4327 (test_paddr_operator_functions): Ditto.
4328 (test_paddr_overloaded_functions): Ditto.
4329 (test_paddr_hairy_functions): Use demangler formatting variables.
4330 Add reference to gdb/19 for related tests.
4331 (do_tests): Call probe_demangler.
4332
4333 2001-01-30 Kevin Buettner <kevinb@redhat.com>
4334
4335 * gdb.c++/templates.cc (printf): Remove unused function definition.
4336
4337 2001-01-26 Felix Lee <flee@redhat.com>
4338
4339 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4340
4341 2001-01-25 matthew green <mrg@redhat.com>
4342
4343 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4344 up sid.
4345 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4346
4347 2001-01-25 matthew green <mrg@redhat.com>
4348
4349 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4350 Deprecate $sid_spawn_id.
4351 (sid_exit): Remove code necessary only for `spawn.'
4352
4353 2001-01-25 matthew green <mrg@redhat.com>
4354
4355 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4356
4357 2001-01-28 Michael Chastain <chastain@redhat.com>
4358
4359 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4360 to call when tests fail. It takes gdb out of the overloaded
4361 function choice menu back to the main prompt, so that the test
4362 program stays synchronized.
4363 (set_bp_overloaded): New proc to collect all the common
4364 code for setting a breakpoint on an overloaded name. Calls
4365 take_gdb_out_of_choice_menu when needed.
4366 (menu_overload1arg): New variable to collect the repeated
4367 instances of the expected menu for an overloaded name. Change
4368 the regular expression to handle changes in g++ type encoding:
4369 "void" can be either "void" or "", and "unsigned int" can be
4370 either "unsigned int" or "unsigned".
4371 (continue_to_bp_overloaded): Change regular expressions to handle
4372 changes in g++ type encoding.
4373 (no proc): Call take_gdb_out_of_choice_menu when needed.
4374 Remove redundant calls to "info break". Accept either "canceled"
4375 or "cancelled". Change regular expressions in "info break"
4376 calls to handle changes in g++ type encoding. Give all tests
4377 unique strings.
4378
4379 2001-01-17 Ben Elliston <bje@redhat.com>
4380
4381 * config/sid.exp: New file.
4382
4383 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4384
4385 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4386
4387 2000-12-21 Michael Snyder <msnyder@cygnus.com>
4388
4389 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4390 Add a RE to accept a non-ascii char if one is ever presented.
4391
4392 2000-12-20 Fernando Nasser <fnasser@redhat.com>
4393
4394 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
4395
4396 2000-12-18 Michael Snyder <msnyder@cygnus.com>
4397
4398 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4399 in regexp. One '\' does not suffice on Linux.
4400
4401 2000-12-09 Michael Chastain <chastain@redhat.com>
4402
4403 * gdb.base/break.exp (test_clear_command): Use a marker function
4404 rather than 'main' for the test function. Also move this
4405 test to an execution point where the marker function names are
4406 guaranteed to be bound to functions. (Executing tests after a
4407 'finish' from main runs into name conflicts with local names
4408 in __libc_start_main).
4409
4410 2000-12-07 Michael Snyder <msnyder@cygnus.com>
4411
4412 * gdb.base/finish.exp: New test for gdb's "finish" command.
4413 * gdb.base/return2.exp: New test for gdb's "return" command.
4414 * gdb.base/return2.c: New source file for above.
4415
4416 2000-12-05 Michael Snyder <msnyder@cygnus.com>
4417
4418 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4419 * gdb.base/miscexprs.exp: Ditto.
4420 * gdb.base/pointers.exp: Ditto.
4421 * gdb.c++/derivation.exp: Ditto.
4422 * gdb.c++/local.exp: Ditto.
4423 * gdb.c++/namespace.exp: Ditto.
4424 * gdb.c++/overload.exp: Ditto.
4425 * gdb.c++/ref-types.exp: Ditto.
4426
4427 2000-12-05 Michael Snyder <msnyder@cygnus.com>
4428
4429 * gdb.base/constvars.exp: Test result of "up" command.
4430 * gdb.base/miscexprs.exp: Ditto.
4431 * gdb.base/pointers.exp: Ditto.
4432 * gdb.base/scope.exp: Ditto.
4433 * gdb.c++/derivation.exp: Ditto.
4434 * gdb.c++/local.exp: Ditto.
4435 * gdb.c++/namespace.exp: Ditto.
4436 * gdb.c++/overload.exp: Ditto.
4437 * gdb.c++/ref-types.exp: Ditto.
4438
4439 2000-11-22 Michael Chastain <chastain@redhat.com>
4440
4441 * mips_pro.exp: Accept either "middle -> top -> main" or
4442 "middle -> main" in the backtrace, because gcc can optimize
4443 tail calls to jumps. Remove setup_xfail for the hppa case.
4444 Add a comment with the original warning messages from PR 3016,
4445 which was filed in 1993, to preserve them for posterity.
4446
4447 2000-11-17 Nick Duffek <nsd@redhat.com>
4448
4449 * lib/gdb.exp (gdb_test): Override timeout with board info.
4450
4451 2000-11-17 Nick Duffek <nsd@redhat.com>
4452
4453 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4454 the second kill and detach messages.
4455
4456 2000-11-17 Nick Duffek <nsd@redhat.com>
4457
4458 * configure.in: Add AC_EXEEXT.
4459 * configure: Regenerate.
4460 * Makefile.in (just-check): Export EXEEXT.
4461 * lib/gdb.exp ($EXEEXT): Import from environment.
4462 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4463 expect "maint dump-me" on Cygwin.
4464 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4465 $EXEEXT.
4466
4467 2000-11-17 Nick Duffek <nsd@redhat.com>
4468
4469 * gdb.base/break.exp: Test backtrace and finish from called
4470 function on all platforms, not just HP-UX.
4471
4472 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4473
4474 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4475 code from gdb_target_monitor, so it can be used independantly
4476 for gdbserver. Also comment out an unnecessary PUTS.
4477
4478 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4479
4480 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4481 * gdb.base/corefile.exp: Expect the message "Program is being
4482 debugged already" when we send the "corefile" command, since
4483 the preceeding gdb_load may have connected gdb to a remote target.
4484 * gdb.base/display.exp: Disable hardware watchpoints if new
4485 board info variable "no_hardware_watchpoints" is true.
4486 Replace single-letter commands with more readable ones.
4487 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4488 if new board info variable "no_hardware_watchpoints" is true.
4489 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4490 to see if stdio (printf) testing is possible.
4491 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4492 board info variable "no_hardware_watchpoints" is true. Use new
4493 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4494
4495 2000-11-13 Fernando Nasser <fnasser@redhat.com>
4496
4497 From Orjan Friberg <orjanf@axis.com>:
4498 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4499 in array print pattern match.
4500
4501 2000-11-09 Fernando Nasser <fnasser@redhat.com>
4502
4503 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4504 spelling "cancelled" to U.S. spelling "canceled" to match changes
4505 made to gdb.
4506 * gdb.c++/ovldbreak.exp: Ditto.
4507
4508 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4509
4510 * gdb.base/callfuncs.c (main): Moved to end of file, call
4511 t_double_values to initialize the FPU before inferior calls are made.
4512 * gdb.base/callfuncs.exp: Test for register preservation after calling
4513 inferior functions. Add tests for continuining, finishing and
4514 returning from a stop in a call dummy.
4515
4516 2000-10-24 Michael Snyder <msnyder@cygnus.com>
4517
4518 * gdb.base/commands.exp: Break up long lines, and re-indent.
4519
4520 2000-10-19 Michael Snyder <msnyder@cygnus.com>
4521
4522 * config/gdbserver.exp: Rewritten from the ground up, to make it
4523 compatible with the current dejagnu tree, and to make it work with
4524 the new "gdbserver" in libremote.
4525
4526 2000-10-16 Michael Snyder <msnyder@cygnus.com>
4527
4528 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4529 * gdb.base/varargs.exp: Skip entire test if no printf support.
4530 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4531 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4532
4533 2000-10-13 Michael Snyder <msnyder@cygnus.com>
4534
4535 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4536 no floating point support.
4537 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4538 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4539 * gdb.base/call-rt-st.exp: Ditto.
4540 * gdb.base/call-strs.exp: Ditto.
4541
4542 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4543
4544 * gdb.base/sizeof.c: include <stdio.h>.
4545
4546 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4547 'finish', otherwise uncaptured gdb_prompt would potentially
4548 throw remaining test points out of sync.
4549
4550 2000-07-26 Scott Bambrough <scottb@netwinder.org>
4551
4552 * gdb.base/recurse.exp: Run tests for all targets.
4553 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4554 gnu-oldld case on ARM.
4555 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4556 for ARM targets.
4557
4558 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4559
4560 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4561 * gdb.java/configure: Rebuild.
4562
4563 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4564
4565 * gdb.java/jv-exp.exp: New file.
4566
4567 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4568
4569 * configure: Rebuilt.
4570 * configure.in (configdirs): Add gdb.java.
4571 * gdb.java/jmisc.java: New file.
4572 * gdb.java/jmisc.exp: New file.
4573 * gdb.java/Makefile.in: New file.
4574 * gdb.java/configure: Rebuilt.
4575 * gdb.java/configure.in: New file.
4576 * lib/java.exp: New file.
4577
4578 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4579
4580 * gdb.base/exprs.exp: Test casts to a pointer including over and
4581 underflow.
4582
4583 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4584
4585 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4586 and the compilers sizes.
4587
4588 2000-07-09 Nick Duffek <nsd@redhat.com>
4589
4590 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4591 (use_methods): New function.
4592 (main): Call use_methods().
4593 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4594 (do_tests): Call test_method_param_class.
4595
4596 2000-07-09 Nick Duffek <nsd@redhat.com>
4597
4598 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4599 spelling.
4600 (test_enums): New procedure. Move enum tests from end of script
4601 to here. Set breakpoint on function name instead of line number.
4602 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4603 (enums2): New marker function.
4604 (enums1): New function.
4605 (main): Call enums1(). Move enum tests to enums1().
4606
4607 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4608
4609 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4610 compile/link program. Update line numbers.
4611 * gdb.asm/d10v.inc: Define ``startup''.
4612 * gdb.asm/asmsrc1.s: Add definition of _start.
4613
4614 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4615
4616 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4617
4618 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4619
4620 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4621 of 'help maint print' command.
4622
4623 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4624
4625 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4626 they use gdb_expect_list.
4627
4628 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4629
4630 * gdb.base/commands.exp: Use ``set remote
4631 memory-read-packet-size'' instead of ``set endian big'' to test
4632 long commands.
4633
4634 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
4635
4636 * gdb.c++/templates.exp (do_tests): Make all of these work under
4637 g++, and stop skipping them.
4638
4639 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4640 work under g++.
4641
4642 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4643 initialization.
4644
4645 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4646
4647 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4648 the regular expression: accept an (almost) arbitrary sequence of
4649 "frames-invalid" and "breakpoints-invalid" messages both before
4650 and after the "starting" message.
4651
4652 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4653
4654 * gdb.c++/local.exp: This test has never been known to work with g++.
4655
4656 2000-05-18 Michael Snyder <msnyder@cygnus.com>
4657
4658 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4659 Relax the regular expression a little, make it pass on Solaris 8.
4660
4661 2000-05-12 Kevin Buettner <kevinb@redhat.com>
4662
4663 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4664 a call, do not require that gdb stop on the line after the call.
4665 Instead, it is permissible for gdb to stop on the line of the
4666 call itself.
4667
4668 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
4669
4670 * gdb.base/break.exp (bp on small function, optimized file):
4671 Add a second pass pattern. The behavior differs here between stabs
4672 and dwarf for one-line functions. Stabs preserves two line symbols
4673 (one before the prologue and one after) with the same line number,
4674 but dwarf regards these as duplicates and discards one of them.
4675 Therefore the address after the prologue (where the breakpoint is)
4676 has no exactly matching line symbol, and GDB reports the breakpoint
4677 as if it were in the middle of a line rather than at the beginning.
4678
4679 2000-05-08 Michael Snyder <msnyder@cygnus.com>
4680
4681 * gdb.base/interrupt.exp: Make "pass" message say "send"
4682 rather than "send_gdb" (for consistancy).
4683
4684 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4685
4686 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4687 * gdb.c++/templates.cc: Properly check for GCC version number.
4688 * lib/compiler.cc: Likewise
4689
4690 2000-04-28 Michael Snyder <msnyder@cygnus.com>
4691
4692 * gdb.base/break.exp: When compiled with -O2 optimization,
4693 gdb may not stop at the first line of main, due to code motion.
4694
4695 2000-04-26 Michael Snyder <msnyder@cygnus.com>
4696
4697 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4698 This test depends on parsing the printf output from the target.
4699 Since the sparclet stub doesn't do stdio, this will never work.
4700 * gdb.base/call-rt-st.exp: ditto.
4701 * gdb.base/call-strs: ditto.
4702
4703 2000-04-24 Michael Snyder <msnyder@cygnus.com>
4704
4705 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4706
4707 * gdb.base/ending-run.exp: After connecting to a remote target,
4708 but before running, the target will appear to be in a random
4709 location. Specify both a file and a line for breakpoints.
4710 Also, the function that calls main may be called 'init'
4711 rather than 'start'.
4712
4713 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4714
4715 * gdb.base/help.exp: Update output for add-symbol-file command.
4716
4717 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
4718
4719 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4720 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4721
4722 2000-04-07 J.T. Conklin <jtc@redback.com>
4723
4724 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4725
4726 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4727
4728 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4729
4730 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4731 values that can be represented exactly.
4732 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4733 above change, and to not check against the directory part of the source
4734 file name.
4735 (step into print_long_arg_list): Likewise.
4736 (print print_small_structs from print_long_arg_list): Likewise.
4737 (print print_long_arg_list): Likewise.
4738
4739 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4740
4741 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
4742
4743 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4744
4745 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4746
4747 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
4748
4749 * gdb.base/commands.exp (deprecated_command_test): Add test for
4750 deprecate with no arguments.
4751
4752 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4753
4754 * gdb.base/break.exp: Add new test for setting breakpoints on
4755 optimized code so we can test breakpoints work even when function
4756 prologues may be optimized away
4757
4758 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4759
4760 From David Whedon <dwhedon@gordian.com>
4761 * gdb.base/commands.exp : Added command deprecator tests.
4762
4763 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
4764
4765 * gdb.base/help.exp: Added test for new apropos command.
4766
4767 2000-03-21 Kevin Buettner <kevinb@redhat.com>
4768
4769 * gdb.base/pointers.c (usevar): New function.
4770 (main): Make sure that global variables v_int_pointer2, rptr,
4771 and y are all referenced someplace in the program by calling
4772 usevar() on them. [Some linkers delete symbols which are
4773 never referenced. The space remains, but there's no way to
4774 get a (symbolic) handle on the variable from the debugger.]
4775
4776 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4777
4778 * gdb.base/printcmds.c: Add typedeffed arrays.
4779
4780 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4781 procedure to test arrays that are typedef'd.
4782
4783 2000-03-13 James Ingham <jingham@leda.cygnus.com>
4784
4785 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
4786 the library directories.
4787
4788 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4789
4790 * configure.in (configdirs): Add sub directory gdb.mi.
4791 * configure: Re-generate.
4792
4793 * gdb.mi: New directory.
4794
4795 2000-02-25 Scott Bambrough <scottb@netwinder.org>
4796
4797 * gdb.base/long_long.exp: Correct test suite failure when printing
4798 a long long value as a double on ARM platforms.
4799
4800 2000-02-16 Jim Blandy <jimb@redhat.com>
4801
4802 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4803 default source file is set properly before running this test.
4804
4805 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4806
4807 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4808 gdbtk/library directory, not in gdbtcl2.
4809
4810 2000-02-04 Jim Blandy <jimb@redhat.com>
4811
4812 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4813 backslash from regexp pattern.
4814
4815 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4816 procedure. Use it to run all the "continue to bp overloaded"
4817 tests. Note that this changes the names of the tests slightly.
4818 If the breakpoint hit message includes a hex PC value, because
4819 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4820 from the real source code, still consider that a pass.
4821
4822 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4823 XFAIL here if the breakpoint message contains a hex address. Note
4824 similar change on 1999-11-02.
4825
4826 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4827
4828 * gdb.base/ptype.exp: Establish a default source file before
4829 calling get_debug_format.
4830
4831 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4832
4833 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4834
4835 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4836
4837 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4838 of successive stepi commands -- while in the prologue we should see
4839 the function entry bracket.
4840
4841 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4842
4843 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4844 reach __change_mode() when stepping through the end of main().
4845
4846 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4847
4848 * gdb.base/default.exp: Fix expected pattern.
4849 * gdb.base/help.exp: Same.
4850
4851 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4852
4853 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4854 Don't use xfail's because that affects only the following test.
4855
4856 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4857 solaris or linux.
4858
4859 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4860
4861 2000-01-07 Michael Snyder <msnyder@cygnus.com>
4862
4863 * gdb.base/display.exp: Some yacc parsers like to say
4864 "A syntax error" rather than "A parse error". Accept both.
4865
4866 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4867
4868 * gdb.base/default.exp: Remove OS dependent string from "target
4869 remote" test.
4870 * gdb.base/help.exp: Same for "help target remote" test.
4871
4872 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4873
4874 From Jim Kingdon <kingdon@redhat.com>:
4875
4876 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4877 prompt (cleanup rather than necessity, but still might keep output
4878 from spilling to next test).
4879
4880 2000-01-02 Fred Fish <fnf@cygnus.com>
4881
4882 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4883 AIX, which defines them in <sys/types.h>.
4884
4885 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
4886
4887 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4888 float" test.
4889
4890 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
4891
4892 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
4893
4894 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4895 outermost frame disallowed".
4896
4897 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4898
4899 * gdb.base/setvar.exp: New tests for setting the value of a struct
4900 with a constant list.
4901
4902 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4903
4904 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4905 require the user to type a cast before setting the value of a struct.
4906
4907 1999-12-06 Jim Blandy <jimb@cygnus.com>
4908
4909 * gdb.base/default.exp: Expect the new 'info float' command on
4910 all i386 platforms.
4911
4912 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4913 LinuxThreads libraries that don't support debugging.
4914
4915 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4916
4917 * gdb.base/remote.c: Fill the buffer with truely random data.
4918 Change the buffer type to ``unsigned char'' to simplify size
4919 arithmetic.
4920
4921 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4922 stub only handles 400-1 byte packets. Verify that the download
4923 worked.
4924
4925 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4926
4927 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4928 tests, using UNRESOLVED for the untested cases. Also, does not wait
4929 for a timeout if the prompt was received before a recognizable pattern.
4930
4931 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4932
4933 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4934
4935 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4936
4937 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4938 watchpoints.
4939
4940 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
4941
4942 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4943
4944 * gdb.c++/local.exp: Be more flexible in recognizing local class
4945 name mangling. Don't allow horribly truncated method names.
4946 * gdb.c++/derivation.exp: Expect protected inheritance.
4947 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4948 * gdb.c++/virtfunc.exp: Likewise.
4949 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4950 when printing a nested enum.
4951
4952 1999-11-22 Jim Blandy <jimb@cygnus.com>
4953
4954 * gdb.base/step-test.exp: Properly await GDB's response to setting
4955 a breakpoint on the call to large_struct_by_value.
4956
4957 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4958 just because we have debug info for the `start' function.
4959
4960 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4961
4962 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4963 "Unknown signal" messages, which indicate (on LinuxThreads) that
4964 GDB doesn't know how to debug threads on this system. This is
4965 better than hanging while philosopher 0 dumps chatter into gdb.log.
4966
4967 1999-11-18 Tom Tromey <tromey@cygnus.com>
4968
4969 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4970
4971 1999-11-18 Fred Fish <fnf@cygnus.com>
4972
4973 * gdb.base/coremaker2.c: Add sample program for generating
4974 cores that is more self contained than coremaker.c. Eventually
4975 I'll add more code to this and tie it into the testsuite.
4976
4977 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4978
4979 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4980
4981 1999-11-10 Jimmy Guo <guo@cup.hp.com>
4982
4983 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4984 from $srcdir/lib/.
4985 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4986 and gdb.c++/.
4987
4988 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4989
4990 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4991 'continue with watch' test point.
4992
4993 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4994
4995 Merged from p2linux-990323-branch:
4996
4997 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4998
4999 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5000
5001 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5002 {limit,fixed}''. Test ``set download-write-size''.
5003
5004 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5005
5006 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5007 gdb_expect_list.
5008
5009 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5010
5011 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5012
5013 1999-11-03 Mark Salter <msalter@cygnus.com>
5014
5015 * gdb.base/break.exp: Fix "stub continue" pattern.
5016
5017 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5018
5019 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5020
5021 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5022
5023 * gdb.base/display.exp ("finish"): Add timeout clause.
5024
5025 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5026 plain prompt clause, so this doesn't have to time out in order to
5027 fail.
5028
5029 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5030 breakpoint hit messages include an address.
5031
5032 * gdb.base/display.exp: Don't forget to escape parens in regular
5033 expressions. Unix regexp notatation sucks.
5034
5035 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5036
5037 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5038 order for 'signalled' message.
5039
5040 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5041
5042 From Jimmy Guo <guo@cup.hp.com>:
5043 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5044 * gdb.base/annota1.c: Add code for tests to work with.
5045
5046 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5047
5048 * gdb.base/remote.exp: New test for remote downloading settings.
5049 * gdb.base/remote.c: New file with large .data.
5050
5051 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5052
5053 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5054 for LinuxThreads support, merged from the Code Fusion branch.
5055
5056 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5057
5058 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5059 containing exp_continue into a while within an expect. Don't
5060 attempt a start more than three times. Check return value from
5061 gdb_load.
5062
5063 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5064
5065 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5066 a pass case.
5067
5068 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
5069
5070 * gdb.base/break.c (main): Added a statement that we can step
5071 off of.
5072 * gdb.base/break.exp: Added tests for setting a breakpoint
5073 at an offset and stepping onto a breakpoint.
5074
5075 1999-10-01 Fred Fish <fnf@cygnus.com>
5076
5077 * gdb.base/help.exp (help add-symbol-file): Update to match current
5078 gdb output.
5079
5080 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5081
5082 * gdb.base/break.exp: Code locations are in hex, don't forget!
5083 (For HP-UX.)
5084
5085 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5086
5087 * condbreak.exp: Use break.c as test program.
5088 * condbreak.c: Remove, redundant with break.c.
5089
5090 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5091
5092 * config/monitor.exp (gdb_target_monitor): Disable X- and
5093 Z-packets if the target needs it.
5094
5095 1999-09-13 James Ingham <jingham@leda.cygnus.com>
5096
5097 * gdb.c++/overload.exp: Added tests for listing overloaded
5098 functions with function pointers in the arg, explicitly calling
5099 out the version you want.
5100
5101 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5102
5103 * long_long.exp: Add variations of test cases that work for
5104 targets with 16-bit ints and 32-bit doubles.
5105
5106 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5107
5108 * break.c (main): Compare a possibly-uninitialized argc with an
5109 unlikely value that fits in 16 bits.
5110
5111 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5112
5113 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5114 0xfeeb, don't want negative numbers if ints are 16 bits.
5115
5116 * lib/gdb.exp (skip_cplus_tests): New proc.
5117 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5118 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5119 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5120 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5121 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5122 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5123 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5124 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5125
5126 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5127
5128 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5129
5130 * gdb.base/corefile.exp (up): Allow a parameter to appear
5131 in the frame that we're going up to.
5132
5133 From Jim Blandy <jimb@cygnus.com>:
5134
5135 * gdb.base/default.exp (info float): Expect some output now.
5136
5137 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5138 returning floating-point values to fail on the x86.
5139 * gdb.base/callfwmall.exp (do_function_calls): Same.
5140
5141 * gdb.base/list.exp (test_listsize): Correct expectations for
5142 listing line 1 with listsize 2. Also, listing a single line
5143 works now, as does listing three lines. [Kevin's note: There
5144 were a number of other cases fixed too where the expectations
5145 differed...]
5146
5147 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5148
5149 * gdb.base/selftest.exp: Add case for when version prints as
5150 constant string instead of char pointer.
5151
5152 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5153
5154 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5155 stepping out of main.
5156
5157 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5158 G++ used.
5159
5160 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5161 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5162
5163 * gdb.c++/ovldbreak.exp: Update match string in test that
5164 includes a warning of multiple breakpoints.
5165
5166 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5167
5168 * gdb.base/display.exp: Improve precision of step-after-finish
5169 added yesterday.
5170
5171 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5172 test.
5173
5174 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5175 configs when using G++, not just hppa*.
5176
5177 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5178
5179 * gdb.base/async.c: New file.
5180 * gdb.base/async.exp: New file.
5181
5182 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5183
5184 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5185 PA64.
5186
5187 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5188
5189 * gdb.base/display.exp: "finish" can leave us mid-line on many
5190 targets, deal with it. Add a small constant to main, instead of
5191 1000 since main+1000 may not be a valid address in the target.
5192
5193 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5194 on hpux11.
5195
5196 * gdb.base/attach.exp: Handle another hpux11 error message variant
5197 when attaching to a process that does not exist.
5198
5199 1999-08-19 J.T. Conklin <jtc@redback.com>
5200
5201 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5202 characters in 'continue to 1241' test.
5203
5204 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5205
5206 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5207 stop in print_long_arg_list, define and use a whitespace
5208 variable in print_small_structs test, add an XFAIL for Solaris.
5209 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5210 interested enough to fix.
5211
5212 1999-08-13 Keith Seitz <keiths@cygnus.com>
5213
5214 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5215 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5216 proc knows about targets other than the natives.
5217 (test_assign): Use "gdb_run_cmd" to "run" the target.
5218 Check that we've actually hit the breakpoint at main.
5219 When we attempt to assign a value to a local variable, check
5220 that the variable is in the current scope, i.e., don't use
5221 a test with an empty result.
5222
5223 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5224
5225 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5226 command.
5227
5228 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5229
5230 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5231 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5232 gdb.compat, gdb.threads-hp.
5233 gdb.hp/configure, gdb.hp/configure.in: New files.
5234 gdb.hp/Makefile.in: Recurse into new subdirs.
5235 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5236 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5237 in object files.
5238 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5239
5240 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5241
5242 * gdb.base/display.exp: Help expect by putting a newline in the
5243 funky printf, remove a bogus p/a test.
5244
5245 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5246
5247 * gdb.base/display.exp: Make sure that when we say 'run', we are
5248 connected to the target. This is necessary when running not
5249 natively.
5250
5251 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5252
5253 * gdb.base/step-test.exp: Removed some extraneous messages.
5254
5255 * gdb.base/long_long.exp: Don't run memory examination tests
5256 on little-endian targets (they will need a different set of
5257 results to match).
5258
5259 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5260
5261 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5262 until somebody decides to fix GDB.
5263
5264 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5265 constant as "ULL".
5266 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5267 matches for a couple x/2 commands.
5268
5269 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5270
5271 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5272 by merging in ref-types2 tests.
5273 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5274
5275 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5276 * gdb.c++/Makefile.in: Add standard actions.
5277 (EXECUTABLES): Rename from PROGS, update list.
5278 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5279 from gdb.hp.
5280 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5281 foo and bar locals.
5282 * gdb.c++/anon-union.exp: Fix tests to match.
5283 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5284 expect matches to handle output variations.
5285 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5286 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5287 output, add HP alternatives for new and delete prints.
5288 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5289 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5290 * gdb.c++/demangle.exp: Use $style when reporting failure.
5291 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5292 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5293 match alternatives.
5294 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5295 compilers.
5296 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5297 * gdb.c++/method.exp: Add match alternatives.
5298 * gdb.c++/misc.cc: Add bool types.
5299 * gdb.c++/misc.exp: Add tests for bool types.
5300 * gdb.c++/overload.exp: Add xfails.
5301 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5302 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5303 add some more template parameter tests (only for HP currently).
5304 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5305 * gdb.c++/virtfunc.cc: Add return type and value for main.
5306 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5307 match alternatives.
5308
5309 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5310
5311 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5312
5313 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5314
5315 * gdb.base/signals.exp: Don't expect getting a backtrace from
5316 within a signal handler to fail on Linux.
5317
5318 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5319
5320 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5321 * lib/gdb.exp: Remove some gratuitious semicolons.
5322 (delete_breakpoints): Increase timeout.
5323 (gdb_expect): Add -notransfer option.
5324 (gdb_test): Use -notransfer option.
5325 (get_compiler_info): Add f77 case.
5326 (get_compiler): New proc, split out from gdb_preprocess, add f77
5327 case.
5328 (gdb_preprocess): Call get_compiler.
5329
5330 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5331 * gdb.base/attach.exp, gdb.base/display.exp,
5332 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5333 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5334 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5335 third arg to gdb_test.
5336 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5337 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5338 HP-UX xfails, add others.
5339 * gdb.base/completion.exp: Reflect name change of self-test.
5340 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5341 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5342 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5343 HP failure number.
5344 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5345 useless HP-UX 10.30 references.
5346 * gdb.base/maint.exp: Loosen matches.
5347 * gdb.base/pointers.c (main): Declare more_code.
5348 * gdb.base/pointers.exp: Match on output of a `next'.
5349 * gdb.base/structs.c: Add prototypes.
5350 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5351 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5352
5353 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5354
5355 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5356 command.
5357
5358 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5359
5360 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5361 Fix run to main failures. Watchpoint can be hardware watchpoint.
5362
5363 * gdb.base/annota1.exp: Clean up some more, in case printf has
5364 debug info. Deal with lack of signal hanlder info in stack.
5365
5366 From Jim Kingdon <kingdon@redhat.com>:
5367 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5368
5369 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5370
5371 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5372 gdb.base/foll-vfork.exp: Don't run for crosses.
5373
5374 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5375
5376 * gdb.base/configure.in: Check for gdbvars.exp instead of
5377 a1-selftest.exp.
5378 * gdb.base/configure: Re-generate.
5379
5380 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5381
5382 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5383 in trying to run first and name is too long.
5384
5385 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5386 pointers2.c and pointers2.exp, respectively.
5387 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5388 doschk happier.
5389
5390 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5391
5392 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5393 callfuncs2.c and callfuncs2.exp.
5394
5395 * gdb.base/list.exp: Remove mistaken xfails.
5396 * gdb.base/list0.h: Add optional prototypes.
5397
5398 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5399
5400 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5401 calling malloc.
5402 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5403 * ptype.exp: Move test for get_debug_format to before its first
5404 use.
5405
5406 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5407
5408 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5409 * gdb.base/annota2.cc, annota2.exp: Move from here.
5410 * gdb.c++/annota2.cc, annota2.exp: To here.
5411 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5412
5413 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5414
5415 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5416 a consistent format.
5417
5418 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5419
5420 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5421 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5422 HP compilers, also set the globals $true and $false.
5423
5424 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5425 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5426 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5427 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5428 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5429 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5430 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5431 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5432 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5433 whatis.c} Add C++ compatible function definitions and return
5434 types, add includes for library functions.
5435 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5436 * gdb.base/step-test.c (myglob): Rename from glob.
5437 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5438 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5439 files, move here from gdb.hp.
5440 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5441 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5442 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5443 Adjust line numbers in regexps.
5444
5445 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5446 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5447 instead of 0/1.
5448
5449 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5450 foll-vfork.exp: New files, move here from gdb.hp.
5451 * gdb.base/page.exp: New file, test of pagination command.
5452
5453 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5454 recursion test.
5455 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5456
5457 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5458 gdb.base/solib.exp: Fix compiler invocation process.
5459
5460 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5461 HP-UX 11, turn off overload resolution explicitly.
5462 * gdb.base/commands.exp: Set argument list explicitly, add
5463 watchpoint test.
5464 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5465 them work.
5466 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5467 expressions properly.
5468 * gdb.base/corefile.exp: Loosen the match slightly.
5469 * gdb.base/default.exp: Allow "Error accessing memory" message
5470 also.
5471 * gdb.base/display.exp: Skip over x/0 j if PA64.
5472 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5473 * gdb.base/interrupt.exp: Ditto.
5474 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5475 in use.
5476 * gdb.base/list.exp: Add xfails for HP-UX.
5477 * gdb.base/long_long.exp: Refine some of the numeric matches.
5478 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5479 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5480 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5481 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5482 * gdb.base/ptype.exp: Succeed on more varieties of output.
5483 * gdb.base/scope.exp: Add xfails for HP-UX.
5484 * gdb.base/sect-cmd.exp: Add more cases.
5485 * gdb.base/setvar.exp: Add xfails for HP-UX.
5486 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5487 * gdb.base/signals.exp: Match on void symbolically.
5488 * gdb.base/step-test.exp: Add case for PA64.
5489 * gdb.base/term.exp: Add exit and restart.
5490 * gdb.base/twice.exp: Clean up after self.
5491 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5492 * gdb.base/whatis.exp: Allow more ways to pass tests.
5493
5494 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5495 no longer useful.
5496
5497 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5498
5499 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5500 list of patterns.
5501 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5502 print_double_array(double_array)", "continuing to breakpoint
5503 1018", "print print_double_array(array_d)" and "continuing to
5504 1034" tests.
5505
5506 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5507
5508 * Makefile.in: Add empty html and install-html targets.
5509
5510 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5511
5512 * config/mt-*: Remove, these haven't been used since 1996.
5513
5514 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5515
5516 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5517 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5518 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5519
5520 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5521
5522 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5523 simpler match case for the ptype of the big class.
5524
5525 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5526
5527 * gdb.exp: Fix test for gdb_prompt existence.
5528
5529 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5530
5531 * gdb.exp (gdb_test): Add fail after calls to perror.
5532
5533 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5534
5535 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5536
5537 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5538
5539 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5540
5541 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5542
5543 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5544 malloc() is linked in.
5545
5546 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5547
5548 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5549 step at end.
5550
5551 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5552
5553 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5554
5555 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5556
5557 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5558
5559 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5560 * gdb.base/mips_pro.exp: Likewise.
5561
5562 1999-06-02 Keith Seitz <keiths@cygnus.com>
5563
5564 * gdb.c++/templates.cc: Change all "new" operators to throw
5565 an exception.
5566 * gdb.c++/cplusfuncs.cc: Likewise.
5567
5568 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5569
5570 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5571
5572 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5573 * gdb.base/ending-run.exp: When stepping out of main, accept a
5574 step into an arbitrary assembler file.
5575
5576 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5577
5578 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
5579 "breakpoint-invalid" to be printed.
5580 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
5581 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5582 * gdb.base/annota2.cc: Initialize a.x to 0.
5583
5584 1999-05-17 Keith Seitz <keiths@cygnus.com>
5585
5586 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5587 when "skip_float_tests" set.
5588 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5589 "print print_ten_doubles", and "step into print_long_arg_list".
5590 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5591 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5592 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5593 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5594 "skip_float_tests" is set.
5595 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5596 when "skip_float_tests" set.
5597
5598 1999-05-06 Keith Seitz <keiths@cygnus.com>
5599
5600 * gdb.base/annota2.cc: Include stdio.h.
5601
5602 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5603
5604 * gdb.base/crossload.exp: Remove, this has been disabled ever
5605 since BFD stopped including all targets, and cross-GDB gets
5606 plenty of testing anyway.
5607 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5608 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5609 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5610 * gdb.base/README: Remove, was doc for this.
5611 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5612 needed.
5613
5614 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5615
5616 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5617 output.
5618
5619 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5620 * gdb.base/annota2.exp: New file. More annotation tests.
5621 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5622 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5623
5624 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
5625
5626 * config/cfdbug.exp: New file.
5627
5628 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5629
5630 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5631 Marcus Daniel's and Dale Hawkins's demangler crashes.
5632
5633 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5634 test_lucid_style_demangling, test_arm_style_demangling,
5635 test_hp_style_demangling): Try Tom Tromey's core-dumping
5636 identifier under each demangling style.
5637
5638 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5639
5640 * gdb.c++/demangle.exp: Include the current demangling style
5641 in all test names.
5642 (current_demangling_style): New global variable.
5643 (set_demangling_style, test_demangling_core, test_demangling,
5644 test_demangling_exact): New functions.
5645 (test_gnu_style_demangling, test_lucid_style_demangling,
5646 test_arm_style_demangling, test_hp_style_demangling): Use those,
5647 instead of calling gdb_test and gdb_test_exact directly.
5648 (catch_demangling_errors): New function, which reports errors
5649 signalled by the demangling test functions in an orderly way.
5650 (do_tests): Use catch_demangling_errors.
5651
5652 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5653
5654 * gdb.base/signals.exp (test_handle_all_print): Use () for
5655 grouping in expressions, not {}.
5656
5657 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5658 initialized yet.
5659
5660 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5661
5662 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5663 are listed.
5664
5665 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5666
5667 * gdb.stabs/weird.exp: Test for CC being defined before
5668 looking at its value.
5669
5670 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5671
5672 * gdb.base/call-ar-st.exp: Remove stray '#'.
5673 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5674 "short int" and "long int".
5675 * gdb.c++/overload.cc: Cast the string added in the previous
5676 change, to mollify finicky HP compiler.
5677 * gdb.hp/reg-test.exp (testfile): Fix file name.
5678 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
5679
5680 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5681 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5682 alternate form of enum ptype.
5683
5684 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5685
5686 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5687 * gdb.hp/*.exp: Change all to run compiler probe only after
5688 passing skip_hp_tests, so as not to waste time on guaranteed
5689 failure.
5690
5691 * gdb.c++/overload.cc: Pass string instead of char addr, always
5692 init ccpfoo.
5693 * gdb.c++/templates.cc: Fix syntax error.
5694
5695 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5696
5697 * gdb.base/commands.exp: Add test for correct position of '>'
5698 when issuing the 'commands' command after a 'while' or 'if'
5699 command.
5700
5701 1999-03-18 James Ingham <jingham@cygnus.com>
5702
5703 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5704
5705 * gdb.c++/method.exp: It was testing an uninitialized int on the
5706 stack and assuming it was positive.
5707
5708 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5709
5710 * gdb.base/step-test.exp: Catch a case where finish is broken and
5711 keep it from killing the rest of the tests.
5712 Use gdb_continue_to_end.
5713
5714 * gdb.base/sigall.exp: use gdb_continue_to_end.
5715
5716 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5717
5718 * gdb.base/display.exp: use runto_main, not run.
5719
5720 * gdb.base/default.exp: Check for the current error message in the
5721 r abbreviation test.
5722 Add strongarm to the targets that know info float.
5723
5724 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
5725 run which doesn't work with monitors.
5726
5727 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5728
5729 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5730
5731 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
5732 program. Traps the case (in Cygmon) when the program never really
5733 exits. Same as Mark's continue_to_exit, but I had put it in a lot
5734 more places, so I used my name. Sorry Mark...
5735
5736 * config/monitor.exp (gdb_target_monitor): added another
5737 target_info parameter: remotebinarydownload. This will set the
5738 remotebinarydownload flag if this is causing some boards trouble.
5739
5740 1999-03-18 Mark Salter <msalter@cygnus.com>
5741
5742 * lib/gdb.exp (continue_to_exit): New function.
5743
5744 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5745 * gdb.base/ending-run.exp: Ditto.
5746 * gdb.base/step-test.exp: Ditto.
5747
5748 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5749
5750 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5751 (suggested by Art Haas <ahaas@neosoft.com>).
5752
5753 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5754
5755 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5756
5757 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5758
5759 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5760 descriptions of types (short unsigned int vs unsigned short, etc).
5761
5762 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5763
5764 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5765 a call to strlen; sometimes we do have sources.
5766
5767 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5768
5769 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5770 character, so GDB won't print garbage after its end.
5771
5772 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5773 breakpoint there instead. Sometimes GCC emits memcpy to handle
5774 the large structures being passed by value, so we step into that
5775 instead of sum_array_print, which obscures what we're really testing.
5776 * gdb.base/step-test.exp: However, we do want a test that notices
5777 the bizarre steps into memcpy, so do that here. Add check for
5778 stepping into function calls that pass large structures by value.
5779 ("Is that a noun clause, or are you just happy to see me?")
5780 Remove all references to specific line numbers.
5781 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5782 New type and function.
5783 (main): Call large_struct_by_value, passing it a large struct by value.
5784 * lib/gdb.exp (gdb_get_line_number): New function.
5785
5786 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5787 more portable.
5788
5789 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5790
5791 * lib/gdb.exp: Doc fixes.
5792
5793 1999-03-05 Nick Clifton <nickc@cygnus.com>
5794
5795 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
5796
5797 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5798
5799 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5800 commands. They're not germane to this test, and they don't work
5801 that way on remote targets.
5802
5803 1999-03-01 James Ingham <jingham@cygnus.com>
5804
5805 * Changelog entries merged over from gdb development branch.
5806
5807 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5808
5809 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5810 for outputting results of test run.
5811
5812 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
5813
5814 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
5815
5816 1999-02-25 Felix Lee <flee@cygnus.com>
5817
5818 * lib/gdb.exp (debug_format): initialize
5819
5820 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5821
5822 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5823 * gdb.base/call-rt-st.c: Ditto.
5824
5825 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5826
5827 * gdb.threads/pthreads.exp (horiz): New variable.
5828 (test_startup): Fix regexps that capture thread numbers.
5829
5830 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5831
5832 * gdb.base/smoke.exp: Disambiguate two test case names (both
5833 called ``print'').
5834
5835 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5836
5837 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5838 compilation.
5839
5840 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5841
5842 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5843 actual output formatting.
5844 * gdb.base/smoke.exp: GDB removes leading 0's.
5845 * gdb.base/volatile.exp: Don't check type of remuneration;
5846 that variable is no longer defined in constvars.c.
5847 * gdb.base/step-test.c (main): Exit with explicit exit code.
5848 * gdb.base/step-test.exp: Remove two nexti checks--they are
5849 not portable.
5850
5851 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5852
5853 * gdb.base/help.exp ("help delete display"): Fix test to match
5854 gdb's output.
5855
5856 * gdb.base/long_long.c (known_types): Initialize values to zero.
5857 * gdb.base/long_long.exp: Step one more line
5858 so 'dec' is initialized in "get to known place". GDB removes
5859 leading zeros. Explicitly ask for hex formatting. Use
5860 unique test case names.
5861
5862 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5863
5864 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
5865
5866 * gdb.c++/method.exp: Add missing close brace.
5867
5868 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5869
5870 * gdb.base/maint.exp: Use 'set height 0' to disable page
5871 prompting, not 'set height 400'.
5872
5873 Fix a bunch of timeouts.
5874 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5875 four separate tests, so expect doesn't take forever to match a ton
5876 of text against a regexp with lots of .* forms.
5877 ("maint print psymbols", "maint print symbols"): Make some of
5878 these greps more selective, so that expect doesn't try to wade
5879 through huge piles of output and time out.
5880
5881 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5882
5883 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5884 tests: one which doesn't expect shlib events to be reported, and
5885 another which does, but is XFAIL for all platforms other than
5886 HP/UX.
5887
5888 * gdb.base/break.exp: Teach the test suite that the `catch
5889 fork', `catch vfork', and `catch exec' commands produce error
5890 messages on platforms that don't provide these features.
5891
5892 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5893
5894 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5895 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5896 (shortening names from solib_threshold.exp etc), won't run on
5897 anything but HP-UX for the foreseeable future.
5898 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5899 reflect move.
5900
5901 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5902
5903 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5904 gdb.trace/Makefile.in (clean): Remove all test executables.
5905
5906 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5907
5908 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5909 successfully re-sets breakpoints in shared libraries.
5910 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5911
5912 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5913
5914 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5915 and compiled w/o GCC.
5916
5917 * gdb.hp/watch-cmd.exp: ditto.
5918
5919 * gdb.hp/watch-hp.exp: ditto.
5920
5921 * gdb.hp/xdb1.exp: ditto.
5922
5923 * gdb.hp/xdb2.exp: ditto.
5924
5925 * gdb.hp/dbx.exp: ditto.
5926
5927 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5928
5929 * constvars.c: Remove C++-isms.
5930 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5931 with GCC.
5932
5933 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5934
5935 The following changes are part of the HP merge.
5936
5937 * gdb.base/break.exp: new tests to verify that catchpoints for
5938 fork, vfork, and exec don't trigger inappropriately.
5939
5940 * gdb.base/opaque.exp: compile one file at a time, then link.
5941
5942 * gdb.base/signals.exp: be more restrictive about which hppa
5943 systems receive a setup_xfail. new tests.
5944
5945 * gdb.base/solib_threshold.build: new file.
5946 * gdb.base/solib_threshold.exp: new file.
5947 * gdb.base/solib_threshold.link_opts: new file.
5948 * gdb.base/solib_threshold.mk: new file.
5949 * gdb.base/gen_solib_threshold.c: new file.
5950
5951 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5952 tests. New tests for enums inside classes.
5953
5954 * gdb.c++/compiler.cc: indicate support of template debugging.
5955
5956 * gdb.c++/demangle.exp: run hp style demangling tests.
5957
5958 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5959 tests.
5960
5961 * gdb.c++/misc.cc: changes to support new tests.
5962
5963 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5964 to support new tests.
5965
5966 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5967 gcc, then skip these tests.
5968
5969 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5970
5971 The following files are part of the HP merge; some had longer
5972 names at HP, but have been renamed to be no more than 14
5973 characters in length.
5974
5975 * gdb.hp/ambiguous.cc: new file.
5976 * gdb.hp/ambiguous.exp: new file.
5977 * gdb.hp/attach.exp: new file.
5978 * gdb.hp/attach2.exp: new file.
5979 * gdb.hp/classes-hp.exp: new file.
5980 * gdb.hp/ctti.exp: new file.
5981 * gdb.hp/ctti-add.cc: new file.
5982 * gdb.hp/ctti-add1.cc: new file.
5983 * gdb.hp/ctti-add2.cc: new file.
5984 * gdb.hp/ctti-add3.cc: new file.
5985 * gdb.hp/dbx.exp: new file.
5986 * gdb.hp/exception.cc: new file.
5987 * gdb.hp/exception.exp: new file.
5988 * gdb.hp/foll-exec.c: new file.
5989 * gdb.hp/foll-exec.exp: new file.
5990 * gdb.hp/foll-fork.c: new file.
5991 * gdb.hp/foll-fork.exp: new file.
5992 * gdb.hp/foll-vfork.c: new file.
5993 * gdb.hp/foll-vfork.exp: new file.
5994 * gdb.hp/inherit-hp.exp: new file.
5995 * gdb.hp/more-steps.exp: new file.
5996 * gdb.hp/namespace.cc: new file.
5997 * gdb.hp/namespace.exp: new file.
5998 * gdb.hp/optimize.exp: new file.
5999 * gdb.hp/pxdb.c: new file.
6000 * gdb.hp/pxdb.exp: new file.
6001 * gdb.hp/quicksort.exp: new file.
6002 * gdb.hp/reg-test.exp: new file.
6003 * gdb.hp/reg-test.s: new file.
6004 * gdb.hp/sized-enum.c: new file.
6005 * gdb.hp/sized-enum.exp: new file.
6006 * gdb.hp/start-stop.exp: new file.
6007 * gdb.hp/templ-hp.cc: new file.
6008 * gdb.hp/templ-hp.exp: new file.
6009 * gdb.hp/thr-lib.c: new file.
6010 * gdb.hp/thr-lib.exp: new file.
6011 * gdb.hp/thr-lib.h: new file.
6012 * gdb.hp/thr-liblib.c: new file.
6013 * gdb.hp/virtfun-hp.c: new file.
6014 * gdb.hp/virtfun-hp.exp: new file.
6015 * gdb.hp/watch-cmd.exp: new file.
6016 * gdb.hp/watch-hp.exp: new file.
6017 * gdb.hp/xdb1.exp: new file.
6018 * gdb.hp/xdb2.exp: new file.
6019 * gdb.hp/xdb3.exp: new file.
6020
6021 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6022
6023 The following files are part of the HP merge; some had longer
6024 names at HP, but have been renamed to be no more than 14
6025 characters in length.
6026
6027 * gdb.base/ss.h: new file.
6028 * gdb.base/call-ar-st.c: new file.
6029 * gdb.base/call-ar-st.exp: new file.
6030 * gdb.base/call-rt-st.c: new file.
6031 * gdb.base/call-rt-st-exp: new file.
6032 * gdb.base/call-strs.exp: new file.
6033 * gdb.base/ena-dis-br.exp: new file.
6034 * gdb.base/environ.exp: new file.
6035 * gdb.base/long_long.exp: new file.
6036 * gdb.base/sect-cmd.exp: new file.
6037 * gdb.base/shlib-cl2.exp: new file.
6038 * gdb.base/smoke.exp: new file.
6039 * gdb.base/so-impl-ld.c: new file.
6040 * gdb.base/so-impl-ld.exp: new file.
6041 * gdb.base/so-indr-cl.c: new file.
6042 * gdb.base/so-indr-cl.exp: new file.
6043 * gdb.base/varargs.exp: new file.
6044 * gdb.base/volatile.exp: new file.
6045 * gdb.base/whatis-exp.exp: new file.
6046 * gdb.base/display.exp: new file.
6047 * gdb.c++/derivation.exp: new file.
6048 * gdb.c++/local.exp: new file.
6049 * gdb.c++/member-ptr.exp: new file.
6050 * gdb.c++/overload.exp: new file.
6051 * gdb.c++/ovldbreak.exp: new file.
6052 * gdb.c++/ref-types.exp: new file.
6053 * gdb.c++/ref-types2.exp: new file.
6054 * gdb.c++/userdef.exp: new file.
6055
6056 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6057
6058 * gdb.base/default.exp: Reflect wording change in remote.c.
6059
6060 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
6061
6062 * gdb.base/help.exp: Update to reflect current text.
6063
6064 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6065
6066 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6067 they're stack variables and contain garbage.
6068 * gdb.c++/anon-union.exp: new file.
6069
6070 The following changes were made by David Taylor
6071 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6072 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6073 in changes by HP.
6074
6075 * gdb.base/bitops.exp: new file.
6076 * gdb.base/default.exp: change expected messages for catch and
6077 info catch tests to reflect HP merge changes.
6078 * gdb.base/enable-disable-break.exp
6079 * gdb.base/ending-run.c: new file.
6080 * gdb.base/long_long.c: new file.
6081 * gdb.base/maint.exp: new file.
6082 * gdb.base/pointers2.exp: new file.
6083 * gdb.base/shlib-call2.exp: new file.
6084 * gdb.base/solib.exp: new file.
6085 * gdb.base/step-test.c: new file.
6086 * gdb.c++/anon-union.cc: new file.
6087 * gdb.c++/local.cc: new file.
6088 * gdb.c++/member-pointer.cc: new file.
6089 * gdb.c++/method.cc: new file.
6090 * gdb.c++/ref-types.cc: new file.
6091 * gdb.c++/ref-types2.cc: new file.
6092 * gdb.c++/userdef.cc: new file.
6093
6094 * gdb.base/scope.exp: compile one file at a time, then link.
6095 * gdb.base/langs.exp: ditto.
6096 * gdb.base/list.exp: ditto.
6097
6098 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6099
6100 The following changes were made by David Taylor
6101 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6102 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6103 in changes by HP.
6104
6105 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6106 skip tests. When compiling pass c++ flag to gdb_compile.
6107 * gdb.c++/
6108
6109 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6110 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6111 (skip_hp_tests): new function.
6112 (gdb_preprocess): new function.
6113
6114 * configure.in (hpdir): decide whether to configure gdb.hp.
6115 * configure: regenerated.
6116
6117 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6118 to delete on clean.
6119 (EXECUTABLES): update to reflect new additions.
6120 * gdb.base/commands.exp: update message expected.
6121 * gdb.base/default.exp: add copyright notice.
6122 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6123 * gdb.base/help.exp: update messages to reflect current text.
6124 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6125 targets for recurse tests.
6126 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6127 skip this file.
6128
6129 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6130 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6131 compilation.
6132 * gdb.c++/misc.exp: ditto.
6133 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6134 run the tests. tell gdb_compile that it's a c++ compilation.
6135
6136 * gdb.threads/pthreads.exp: fix typo in message.
6137
6138 * gdb.base/all-bin.exp: new file.
6139 * gdb.base/arithmet.exp: new file.
6140 * gdb.base/assign.exp: new file.
6141 * gdb.base/completion.exp: new file.
6142 * gdb.base/cond-expr.exp: new file.
6143 * gdb.base/condbreak.exp: new file.
6144 * gdb.base/define.exp: new file.
6145 * gdb.base/dollar.exp: new file.
6146 * gdb.base/environment.exp: new file.
6147 * gdb.base/eval-skip.exp: new file.
6148 * gdb.base/jump.exp: new file.
6149 * gdb.base/logical.exp: new file.
6150 * gdb.base/pointers.exp: new file.
6151 * gdb.base/relational.exp: new file.
6152 * gdb.base/section_command.exp: new file.
6153 * gdb.base/whatis-expr.exp: new file.
6154
6155 * gdb.base/all-types.c: new file.
6156 * gdb.base/call-array-struct.c: new file.
6157 * gdb.base/call-return-struct.c: new file.
6158 * gdb.base/call-strings.c: new file.
6159 * gdb.base/callfuncs2.c: new file.
6160 * gdb.base/condbreak.c: new file.
6161 * gdb.base/constvars.c: new file.
6162 * gdb.base/display.c: new file.
6163 * gdb.base/int-type.c: new file.
6164 * gdb.base/jump.c: new file.
6165 * gdb.base/miscexprs.c: new file.
6166 * gdb.base/pointers.c: new file.
6167 * gdb.base/pointers2.c: new file.
6168 * gdb.base/shmain.c: new file.
6169 * gdb.base/shr1.c: new file.
6170 * gdb.base/shr2.c: new file.
6171 * gdb.base/solib.c: new file.
6172 * gdb.base/solib1.c: new file.
6173 * gdb.base/solib2.c: new file.
6174 * gdb.base/varargs.c: new file.
6175 * gdb.c++/derivation.cc: new file.
6176 * gdb.c++/overload.cc: new file.
6177 * gdb.c++/ovldbreak.cc: new file.
6178 * gdb.hp/attach.c: new file.
6179 * gdb.hp/attach2.c: new file.
6180 * gdb.hp/average.c: new file.
6181 * gdb.hp/compiler.c: new file.
6182 * gdb.hp/compiler.cc: new file.
6183 * gdb.hp/execd-program.c: new file.
6184 * gdb.hp/follow-exec.c: new file.
6185 * gdb.hp/follow-fork.c: new file.
6186 * gdb.hp/follow-vfork-and-exec.c: new file.
6187 * gdb.hp/misc-hp.cc: new file.
6188 * gdb.hp/more-steps.c: new file.
6189 * gdb.hp/optimize.c: new file.
6190 * gdb.hp/quicksort.c: new file.
6191 * gdb.hp/run-hp.c: new file.
6192 * gdb.hp/start-stop.c: new file.
6193 * gdb.hp/sum.c: new file.
6194 * gdb.hp/templates-hp.cc: new file.
6195 * gdb.hp/thread-local-in-lib.c: new file.
6196 * gdb.hp/thread-local-in-lib.h: new file.
6197 * gdb.hp/thread-local-in-lib.lib.c: new file.
6198 * gdb.hp/vforked-program.c: new file.
6199 * gdb.hp/virtfunc-hp.cc: new file.
6200 * gdb.hp/watchpoint-hp.c: new file.
6201 * gdb.hp/xdb.c: new file.
6202 * gdb.hp/xdb0.c: new file.
6203 * gdb.hp/xdb0.h: new file.
6204 * gdb.hp/xdb1.c: new file.
6205
6206 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6207
6208 The following change was made by Edith Epstein
6209 <eepstein@cygnus.com> as part of a project to merge in changes
6210 originally made by HP; HP did not create ChangeLog entries.
6211
6212 * gdb.c++/demangle.exp: changed the expected output for some
6213 ARM-style mangling -- removed second reference to datatype.
6214 For example, maint demangle __dt__11T1__pt__2_cFv
6215 T1<char>::~T1<char>(void)
6216 becomes,
6217 maint demangle __dt__11T1__pt__2_cFv
6218 T1<char>::~T1(void)
6219
6220 (test_hp_style_demangling): new hp specific demangling test cases.
6221
6222 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6223
6224 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6225 * gdb.trace/backtrace.exp: Likewise.
6226 * gdb.trace/circ.exp: Likewise.
6227 * gdb.trace/collection.exp: Likewise.
6228 * gdb.trace/deltrace.exp: Likewise.
6229 * gdb.trace/infotrace.exp: Likewise.
6230 * gdb.trace/limits.exp: Likewise.
6231 * gdb.trace/packetlen.exp: Likewise.
6232 * gdb.trace/passc-dyn.exp: Likewise.
6233 * gdb.trace/passcount.exp: Likewise.
6234 * gdb.trace/report.exp: Likewise.
6235 * gdb.trace/save-trace.exp: Likewise.
6236 * gdb.trace/tfind.exp: Likewise.
6237 * gdb.trace/tracecmd.exp: Likewise.
6238 * gdb.trace/while-dyn.exp: Likewise.
6239 * gdb.trace/while-stepping.exp: Likewise.
6240
6241 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6242
6243 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6244
6245 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6246
6247 From Brendan Kehoe:
6248 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6249 int return types.
6250
6251 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6252
6253 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6254 remote dos host testing right.
6255
6256 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6257
6258 * gdb.base/corefile.exp: remove some xfails.
6259
6260 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6261
6262 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6263 have different timestamps.
6264
6265 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6266
6267 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6268 gdb.base/default.exp: Replace "exec" with "executable".
6269
6270 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6271
6272 * gdb.base/default.exp: Change else if to elseif from previous
6273 delta.
6274
6275 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6276
6277 * gdb.base/default.exp: Add brace missing from previous delta.
6278
6279 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6280
6281 * gdb.base/default.exp: Support test for info float for all
6282 varieties of arm toolchain.
6283
6284 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
6285
6286 * gdb.trace/*.exp: remove "remote_download" command.
6287
6288 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
6289
6290 * gdb.trace/*.exp: remove -gdwarf from compile.
6291
6292 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6293
6294 * gdb.trace/configure.in(AC_INIT): typo
6295 * gdb.trace/configure: regenerated
6296
6297 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
6298
6299 * config/m68k-emc.exp: New file.
6300 * lib/<emc-support.exp trace-support.exp}: New files.
6301 * configure.in: add new test directory gdb.trace.
6302 * gdb.trace/{configure configure.in Makefile.in}: New files.
6303 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6304 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6305 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6306 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6307 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6308 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6309 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
6310
6311 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
6312
6313 * gdb.c++/classes.exp: Change all regular expressions to match
6314 arbitrary combinations of newline/carriage-return, so that they
6315 will work equally well on Unix and Windows.
6316 * gdb.c++/inherit.exp: ditto.
6317 * gdb.c++/virtfunc.exp: ditto.
6318
6319 1998-08-11 Dawn Perchik <dawn@cygnus.com>
6320
6321 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6322
6323 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6324
6325 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6326 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6327 to use a0-a3/d0-d3 as needed.
6328
6329 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6330
6331 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6332 * gdb.disasm/am33.exp: Corresponding changes.
6333
6334 1998-07-11 Felix Lee <flee@cygnus.com>
6335
6336 * gdb.base/callfuncs.exp: add cmp10 test.
6337 * gdb.base/callfuncs.c (cmp10): new function.
6338
6339 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6340
6341 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
6342 into two parts to get around a synchronization problem in expect.
6343
6344 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6345
6346 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6347
6348 * configure.in: Add options for gdbtk testsuite.
6349
6350 * configure: Regenerate.
6351
6352 * gdb.gdbtk: New directory to hold gdbtk tests.
6353
6354 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6355
6356 * gdb.fortran/types.exp: Escape brackets in expect patterns
6357 for test_float_literal_types_accepted tests.
6358 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6359 before run test.
6360
6361 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6362
6363 * am33.exp: Just compile, do not link the testcase.
6364 * am33.s: Add ".am33" pseudoop to force am33 mode.
6365
6366 1998-06-25 Felix Lee <flee@cygnus.com>
6367
6368 * gdb.base/setshow.exp: make sure $pc is sane.
6369
6370 * gdb.stabs/weird.exp: split expect patterns properly.
6371
6372 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6373
6374 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6375 * gdb.disasm/am33.exp: Run it.
6376
6377 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
6378
6379 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6380 match processing (and eliminate spurious timeouts when running).
6381
6382 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
6383
6384 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6385 exception test, but conditionalize it on target [mach | gnu].
6386
6387 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
6388
6389 * gdb.base/overlays.exp: fixup compile line for linker script.
6390
6391 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6392
6393 * gdb.fortran/types.exp: don't guess at float size.
6394
6395 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6396
6397 * gdb.base/exprs.exp: delete test that depends on int size.
6398
6399 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6400
6401 * config/sim.exp: Removed checks for target triplets.
6402 (gdb_target_sim): Use gdb,target_sim_options.
6403
6404 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6405
6406 * gdb.base/reread.exp: New file.
6407 * gdb.base/reread1.c: New file.
6408 * gdb.base/reread2.c: New file.
6409
6410 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6411
6412 * config/sim.exp: Use 'target sim -sparclite' when running
6413 SPARClite programs.
6414
6415 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6416
6417 * gdb.base/structs2.exp: New file.
6418 * gdb.base/structs2.c: New file.
6419
6420 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6421
6422 * gdb.asm/common.inc: New file.
6423 * gdb.asm/d10v.inc: New file.
6424 * asm-source.exp: Pass -I's to gas to find .inc files.
6425 Update line numbers in expected output.
6426 * asmsrc1.s: Rewrite.
6427 * asmsrc2.s: Rewrite.
6428 * configure.in: Create arch.inc symlink.
6429 * configure: Regenerate.
6430 * Makefile.in (distclean): Delete arch.inc.
6431
6432 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6433
6434 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6435 (t_enum_value2): ditto
6436 (t_enum_value3): ditto
6437 (main): ditto
6438 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6439
6440 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6441 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6442 change.
6443 Use gdb_test instead of send_gdb/gdb_expect sequences.
6444
6445 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6446
6447 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6448 not void.
6449
6450 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6451
6452 * gdb.base/branches.c: Code with lots of loops and
6453 subroutines. Used to test gdbs ability to single step through PC
6454 changes, especially to test mips-tdep.c:mips_next_pc
6455
6456 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6457
6458 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6459 more rigorous EGCS C++ error checking.
6460
6461 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6462
6463 * gdb.base/help.exp: Clean up `help set args' and `help show args'
6464 tests.
6465 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
6466 function when asleep.
6467 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
6468 for i*86 Linux and SVR4 signal handling problems.
6469 Remove linux xfail for `next to handler in signals_tests_1', fixed
6470 by recent infrun.c change.
6471 Limit backtrace to 10 frames to avoid timeout problems with infinite
6472 stack backtraces.
6473 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6474 target.[ch] change.
6475
6476 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6477
6478 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6479 for a newline from gdb before continuing.
6480 (default_gdb_exit): Just look for y or n.
6481 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6482 it does, fail the rests of the tests in the file.
6483
6484 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6485
6486 * config/cygmon.exp: New file.
6487
6488 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6489
6490 * gdb.base/list.exp: Fix problem with "list default lines around
6491 main" test on remote targets.
6492
6493 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6494 run test on remote targets.
6495
6496 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6497
6498 * gdb.asm: New directory.
6499 * configure.in: Configure it.
6500 * configure: Regenerate.
6501 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6502 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6503
6504 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6505
6506 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6507
6508 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
6509
6510 * gdb.base/overlays (several files): Merge the two overlay
6511 managers into one. Change variables (foox, barx, bazx, grbxx)
6512 back into ints but force them to load in their proper sections.
6513
6514 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6515
6516 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6517 on-chip insn memory and IMAP1 to upper 128k.
6518 (D10VCopy): Handle memory regions crossing 16k boundaries.
6519 (D10VCopy): Transfer data in 32 bit chunks.
6520
6521 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6522
6523 * gdb.base/overlays.c (main): Exit normally when result is
6524 correct.
6525
6526 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6527 map. Include space for printf in .text segment.
6528
6529 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6530 updated d10v memory VMA/LMA map.
6531 (D10VCopy): Call D10VTranslate.
6532
6533 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6534
6535 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6536
6537 * gdb.base/bar.c (barx, bar): Change variable to small array so
6538 that it won't be put into the .sdata - small data -
6539 section. Update reference.
6540 * gdb.base/baz.c (bazx, baz): Ditto.
6541 * gdb.base/foo.c (foox, foo): Ditto.
6542 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6543
6544 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6545 to be arrays.
6546
6547 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
6548
6549 * gdb.base/overlays.exp: fix up and get working again.
6550 Add tests for backtraces from an overlay function.
6551
6552 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6553
6554 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6555 "calling function with watchpoint enabled".
6556
6557 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6558
6559 * gdb.base/break.exp (test_next_with_recursion): Remove
6560 gdb_suppress_tests for d10v-*-*.
6561 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6562 pending review of whether it is useful or not.
6563
6564 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6565
6566 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6567
6568 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6569
6570 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6571 * config/dve.exp: New file to support Densan boards.
6572
6573 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6574
6575 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6576 reads and BSD.
6577
6578 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6579
6580 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6581 response.
6582
6583 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6584
6585 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6586
6587 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6588 test.
6589
6590 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6591 target_sizeof_long and target_bigendian_p.
6592 (structs_by_value, structs_by_reference): Check values according
6593 to targets word size and endianess.
6594
6595 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6596
6597 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6598 output.
6599
6600 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6601
6602 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6603 Update test of set args help to match source change.
6604
6605 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6606
6607 * gdb.base/default.exp: Expect help system output to be in
6608 alphabetical order.
6609 * gdb.base/help.exp: Ditto.
6610
6611 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6612
6613 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6614 "i*86-pc-linux-gnu*".
6615 * gdb.base/interrupt.exp: Ditto.
6616 * gdb.base/corefile.exp: Ditto.
6617
6618 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6619 define vxworks when building the testcase.
6620
6621 * gdb.base/ptype.exp: Fix testnames to be unique.
6622 * gdb.base/radix.exp: Ditto.
6623 * gdb.base/term.exp: Ditto.
6624 * gdb.base/whatis.exp: Ditto.
6625 * gdb.c++/classes.exp: Ditto.
6626
6627 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6628
6629 * gdb.base/callfuncs.exp: Fix indentation.
6630
6631 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6632 suppress_flag has been set.
6633 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6634 target feature.
6635
6636 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6637
6638 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6639 the testcase.
6640
6641 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6642 set_debug_traps() and breakpoint().
6643 * gdb.c++/misc.cc (main): Ditto.
6644 * gdb.c++/templates.cc (main): Ditto.
6645 * gdb.c++/virtfunc.cc (main): Ditto.
6646
6647 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6648
6649 * lib/gdb.exp(gdb_step_for_stub): New function.
6650 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6651 exists, reload the executable and do a "continue" instead of
6652 doing a jump.
6653 (runto_main): Use gdb_step_for_stub.
6654
6655 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6656 tests to have unique names.
6657 * gdb.base/callfuncs.exp: Ditto.
6658 * gdb.base/commands.exp: Ditto.
6659 * gdb.base/default.exp: Ditto.
6660 * gdb.base/help.exp: Ditto.
6661 * gdb.base/list.exp: Ditto.
6662 * gdb.base/opaque.exp: Ditto.
6663 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6664 similar tests.
6665
6666 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6667 * gdb.c++/cplusfuncs.cc: Ditto.
6668 * gdb.c++/virtfunc.cc: Ditto.
6669
6670 * config/monitor.exp: Keep track of the last file we saw, rather
6671 than trying to get the info from gdb.
6672
6673 * gdb.fortran/types.exp: Move comment to previous line.
6674
6675 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6676
6677 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6678 target mode.
6679
6680 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6681
6682 From Bob Manson:
6683 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6684 string from GDB when it connects.
6685
6686 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6687
6688 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6689
6690 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6691 if we can't get a debug format from GDB (we may be testing an
6692 older GDB). Use a 10 second timeout when checking for the format.
6693
6694 * gdb.stabs/weird.exp: Fix quoting.
6695
6696 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6697
6698 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6699
6700 * config/arm-ice.exp: New file.
6701
6702 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6703
6704 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6705 until it has been modified to work with the new testsuite.
6706
6707 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
6708 testcase won't compile, cause all of the testcases in the file to
6709 fail instead.
6710
6711 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6712 (gdb_clear_suppressed): New procedure.
6713 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6714 it contains a positive value.
6715
6716 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6717
6718 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6719
6720 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6721
6722 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6723
6724 * lib/gdb.exp (setup_xfail_format): New function.
6725 (get_debug_format): New function to get debug format.
6726 (debug_format): New global variable to hold last value set
6727 by get_debug_format.
6728 * gdb.base/list.exp: Call get_debug_format and expect some
6729 tests to fail for DWARF 1 and COFF formats.
6730 * gdb.c++/ptype.exp: Ditto.
6731 * gdb.c++/classes.exp: Ditto.
6732 * gdb.c++/cplusfuncs.exp: Ditto.
6733 * gdb.c++/inherit.exp: Ditto.
6734 * gdb.c++/templates.exp: Ditto.
6735 * gdb.c++/virtfunc.exp: Ditto.
6736
6737 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6738
6739 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6740 host doesn't have a currently-open connection.
6741
6742 * config/sparclet.exp: Cleanups and fixes to make it generic for
6743 any gdb stub target. Handle cases where gdb doesn't respond when
6744 interrupted in a sane fashion.
6745
6746 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6747 same thing in a totally different way.
6748
6749 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6750 setting "timeout".
6751 (gdb_start): We set the global gdb_prompt variable in
6752 default_gdb_init now.
6753
6754 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6755
6756 * gdb.base/printcmds.exp: Fix "check for floating addition"
6757 regexp to accept results within approx +/- .01 of exact value.
6758 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6759
6760 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6761
6762 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6763 properly.
6764 (gdb_expect): Add optional timeout parameter, and add timeout
6765 value to various calls.
6766 (gdb_suppress_tests): Only give one warning message per group.
6767
6768 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6769
6770 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6771 global variables. Handle getting a value for $timeout more
6772 gracefully.
6773
6774 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6775
6776 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6777 initialize.
6778 (default_gdb_init): New procedure; allow gdb_init to be overridden
6779 by a target configuration file.
6780 (gdb_expect): Pass the timeout to remote_expect.
6781
6782 * config/monitor.exp(gdb_load): Fix typo in regexp.
6783
6784 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6785
6786 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6787
6788 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6789
6790 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6791 here. Call gdb_target_exec before rebooting the target, to make
6792 sure the connection to the target is closed.
6793 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6794 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6795 Also detect "Timeout reading from remote" error.
6796
6797 * config/gdbserver.exp: Pass the executable being loaded to
6798 gdb_target_monitor. Don't call gdb_file_cmd here; let
6799 gdb_target_monitor do it.
6800
6801 * gdb.disasm/hppa.exp: Don't use exec_output.
6802
6803 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6804
6805 * gdb.base/list.exp: If we're debugging a non-native target,
6806 try to set the pc register to point to the start of the
6807 program before doing the first list command.
6808
6809 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6810 test_calls after restarting.
6811
6812 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6813 reloading.
6814
6815 * gdb.base/watchpoint.exp: Fix typo.
6816
6817 * gdb.base/setshow.exp: Check for use_gdb_stub.
6818
6819 * gdb.base/break.exp: Fix continue until exit test for the gdb
6820 stub case.
6821 * gdb.base/langs.exp: Ditto.
6822
6823 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6824 gdb_load_offset. If we weren't given a file to load, figure out
6825 what the current file is and use it.
6826
6827 * config/i386-bozo.exp: New file.
6828
6829 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6830
6831 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6832 feature.
6833
6834 * config/proelf.exp: New entry.
6835
6836 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6837
6838 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6839 of regexps.
6840
6841 * gdb.base/watchpoint.exp: Don't run the test_stepping
6842 tests if gdb can't call functions on the target.
6843
6844 * gdb.base/setshow.exp: Don't run the set prompt tests if
6845 the board has gdb_prompt set.
6846
6847 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6848
6849 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6850 * gdb.base/commands.exp: Likewise.
6851 * gdb.base/setshow.exp: Likewise.
6852
6853 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6854
6855 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6856 feature.
6857
6858 * config/i960.exp: New file.
6859
6860 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6861
6862 * gdb.base/funcargs.exp: Check for gdb,short_int target
6863 feature instead of looking for explicit target triplets.
6864
6865 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
6866
6867 * gdb.base/printcmds.exp: add a couple more tests a la
6868 "p 123DEADBEEF", to check parse_number.
6869 * top.c: change "to enable to enable" to "to enable" in a couple
6870 of help strings.
6871
6872 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6873
6874 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6875 on the mn10300.
6876
6877 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6878
6879 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6880 where the test executable is run with explicit args.
6881 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6882
6883 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6884
6885 * gdb.base/run.c: Use FAKEARGV to build test executable that
6886 does not require a command line arg, since most simulators
6887 don't currently support passing such an arg into the simulated
6888 program.
6889 * gdb.base/commands.exp: Change tests to insert the proper
6890 value as the arg to the first recursive factorial call. Change
6891 compilation line to define FAKEARGV at compile time.
6892
6893 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6894
6895 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6896 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6897 function with watchpoint enabled" test.
6898
6899 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6900
6901 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6902 Don't call gdb_test when the command doesn't return to a gdb prompt.
6903
6904 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6905 "Tests restarted" messages.
6906
6907 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6908
6909 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6910
6911 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
6912
6913 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6914 for INFO SYMBOL; add help tests for OVERLAY commands.
6915 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6916 add tests for OVERLAY commands
6917 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6918 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6919 * gdb.base/sigall.c: add usestubs code frag
6920 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
6921
6922 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6923
6924 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6925 failures.
6926 (gdb_stop_suppressing_tests): Note that tests have restarted.
6927
6928 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6929
6930 * config/h8300.exp: New file.
6931
6932 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6933
6934 * gdb.base/setshow.exp: Check for the existence of a
6935 feature, not its value.
6936
6937 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6938
6939 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6940
6941 * gdb.base/scope.exp: It's now init0(), not init().
6942
6943 * gdb.base/scope0.c: For now, change init() to be init0().
6944
6945 * config/monitor.exp: Use gdb_serial in preference to serial
6946 or netport.
6947
6948 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6949 and it's not already set.
6950
6951 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6952
6953 * gdb.base/setshow.exp: Only test the run command if the target
6954 isn't using a stub and if it supports argument passing.
6955
6956 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6957
6958 * config/udi.exp(gdb_start): Make sure UDICONF is set
6959 properly before starting gdb.
6960
6961 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6962
6963 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6964 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6965 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6966
6967 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6968
6969 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6970 specialized code to reboot the board, use remote_reboot instead.
6971
6972 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6973
6974 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6975
6976 * config/monitor.exp: Make sure we disconnect from the target.
6977 Also, try a reboot/reload cycle instead of failing if the
6978 load fails.
6979
6980 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6981
6982 * gdb.base/default.exp: Don't set match_max.
6983 * gdb.base/help.exp: Ditto.
6984 * gdb.base/list.exp: Ditto.
6985 * gdb.base/signals.exp: Ditto.
6986
6987 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6988 set, use remote_ld to download the testcase instead of
6989 the GDB loader.
6990
6991 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6992
6993 * config/vr5000.exp: New file.
6994
6995 * config/monitor.exp(gdb_target_monitor): Add pattern for
6996 "Ending remote" to detect errors in connecting.
6997
6998 * gdb.base/setshow.exp: Add .* within auto language test.
6999
7000 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7001 target feature.
7002
7003 * config/monitor.exp(gdb_load): Check for a failure when loading,
7004 and reboot the board if necessary.
7005
7006 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7007 a set of tests. Remove print.* from the patterns being checked.
7008
7009 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7010
7011 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7012 refer to gdb_spawn_id.
7013
7014 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7015 longer used.
7016 * config/sparclet.exp: Ditto.
7017 * config/sparclet-old.exp: Ditto.
7018 * config/slite.exp: Ditto.
7019 * config/sim.exp: Ditto.
7020 * gdb.base/funcargs.exp: Ditto.
7021
7022 * lib/gdb.exp:Remove references to gdb_spawn_id.
7023 (gdb_expect): Move to remote.exp.
7024
7025 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7026
7027 * config/monitor.exp: Detect the "Couldn't establish connection"
7028 message from GDB.
7029
7030 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7031
7032 * gdb.base/bitfields.exp: Use runto instead of explicit
7033 gdb_run_cmd/gdb_expect sequences.
7034
7035 * gdb.base/break.exp(text_next_with_recursion): Add match for
7036 gdb_expect call.
7037
7038 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7039 We also need to handle the "A program is being debugged already"
7040 prompt from gdb. Use gdb_test to set the baud rate.
7041
7042 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7043 to 20000. Really. I mean it.
7044
7045 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7046
7047 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7048 fails. If suppress_flag is set, skip perror message about not
7049 being able to send to GDB.
7050 (send_gdb): If suppress_flag is set, don't try to send commands to
7051 GDB.
7052 (gdb_expect): If suppress_flag is set, always fail immediately.
7053 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7054 (gdb_init): Call gdb_stop_suppressing_tests.
7055 (default_gdb_exit): Ditto.
7056 (default_gdb_start): Ditto.
7057
7058 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7059 gdb_stop_suppressing_tests as appropriate.
7060 * gdb.base/break.exp: Ditto.
7061 * gdb.base/callfuncs.exp: Ditto.
7062 * gdb.base/commands.exp: Ditto.
7063 * gdb.base/exprs.exp: Ditto.
7064 * gdb.base/funcargs.exp: Ditto.
7065 * gdb.base/list.exp: Ditto.
7066 * gdb.base/recurse.exp: Ditto.
7067 * gdb.base/scope.exp: Ditto.
7068 * gdb.base/structs.exp: Ditto.
7069 * gdb.c++/inherit.exp: Ditto.
7070
7071 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7072
7073 * config/vr4300.exp: New file.
7074
7075 * gdb.*/*.exp: Call gdb_expect instead of expect.
7076
7077 * lib/gdb.exp(gdb_expect): New function.
7078
7079 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7080
7081 * lib/gdb.exp(gdb_init): New function.
7082
7083 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7084 for each individual variable set.
7085
7086 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7087 name.
7088
7089 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7090
7091 * gdb.base/scope.exp: Use gdb_test.
7092
7093 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7094 aborting; the testsuite driver will do that for us (see
7095 gdb_finish). Also, use gdb_test in a few more places.
7096
7097 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7098
7099 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7100
7101 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7102
7103 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7104 and "add_tests" are not at the same address.
7105
7106 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7107
7108 * gdb.base/ptype.exp: Use gdb_test.
7109
7110 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7111
7112 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7113 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7114 left in. No longer expect them to fail.
7115
7116 * gdb.stabs/*.mt; Deleted, no longer used.
7117 * gdb.stabs/configure.in: Remove references to target makefile
7118 frags.
7119 * gdb.stabs/configure: Rebuilt.
7120
7121 * gdb.disasm/*.mt: Deleted, no longer used.
7122 * gdb.disasm/configure.in: Remove references to target makefile
7123 frags. Use "sh3.s" as the unique filename for this directory.
7124 * gdb.disasm/configure: Rebuilt.
7125
7126 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7127 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7128 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7129
7130 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7131
7132 * config/udi.exp: Use mondfe,name instead of remote_host.
7133
7134 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7135
7136 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7137 a function with a watchpoint enabled on the mn10200.
7138
7139 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7140 before trying to create it!
7141
7142 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7143
7144 * config/vx.exp: Use hostname instead of netport.
7145
7146 * config/vxworks.exp: New file.
7147
7148 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7149
7150 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7151 gdb before assuming everything worked. Send a ^C if a timeout
7152 occurs.
7153
7154 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7155 $gdb_spawn_id directly.
7156 (gdb_run_cmd): Try _start as well as start. Use the target feature
7157 gdb,start_symbol as the symbol to start from when jumping.
7158
7159 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7160
7161 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7162 redundant) test.
7163
7164 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7165 it doesn't lose for 16bit integer systems.
7166
7167 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7168
7169 * gdb.fortran/types.exp: If the target doesn't support "double"
7170 data types, then expect "real" types to only be 4 bytes.
7171
7172 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7173 call tests if the target doesn't support inferior function calls.
7174
7175 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7176 in printf tests.
7177
7178 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7179
7180 * gdb.base/help.exp: Disable "help set", "help show", and
7181 "help support". Simplify regexp for "help stack".
7182
7183 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7184 to 60 seconds. Temporarily set match_max to 15000 around the
7185 "info copying" test.
7186
7187 * gdb.base/nodebug.exp: Don't try to do an inferior function
7188 call if the target doesn't support them.
7189 * gdb.base/printcmds.exp: Likewise.
7190 * gdb.base/setvar.exp: Likewise.
7191 * gdb.base/structs.exp: Likewise.
7192 * gdb.c++/templates.exp: Likewise.
7193 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7194
7195 * gdb.base/recurse.exp: Enable for the mn10200.
7196
7197 * configure.in: Do configure gdb.stabs directory for *-*-elf
7198 targets.
7199 * configure: Rebuilt.
7200
7201 * gdb.base/break.exp: Check for gdb,noresults before testing
7202 exit status and/or results from the target.
7203 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7204 * lib/gdb.exp: Remove old (now bogus) initialization of
7205 noinferior, noargs, noresults and nosignals.
7206
7207 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7208
7209 * config/sh.exp: New file.
7210
7211 * config/slite.exp: Try to connect multiple times to the board
7212 before rebooting. Only send a "monitor run" if need_monitor_run
7213 is set.
7214
7215 * gdb.base/break.exp: Don't do the "stub continue" test if
7216 the target has gdb_stub set.
7217
7218 * gdb.base/callfuncs.exp: Increase the timeout.
7219
7220 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7221 if the target has gdb,noinferiorio set.
7222
7223 * gdb.base/list.exp: Increase match_max to 10000 characters.
7224
7225 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7226
7227 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7228 target.
7229
7230 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7231
7232 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7233
7234 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7235 trying to delete the copy of gdb. Catch the file delete so we
7236 don't die if the delete fails; also, the file should be copied to
7237 the host, not to the build.
7238
7239 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7240
7241 * lib/gdb.exp(gdb_test): Surround the result pattern with
7242 parenthesis in case it contains multiple regexps separated
7243 with |.
7244
7245 * gdb.base/watchpoint.exp: Use gdb_test.
7246 * gdb.base/default.exp: Ditto.
7247
7248 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7249
7250 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
7251
7252 * gdb.base/scope.exp: Use gdb_test.
7253 * gdb.c++/classes.exp: Ditto.
7254 * gdb.c++/inherit.exp: Ditto.
7255
7256 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7257
7258 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7259 remote_exec instead.
7260 * gdb.base/corefile.exp: Don't be ridiculous.
7261 * gdb.base/*.c: Add missing stub invocations.
7262
7263 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7264
7265 * config/slite.exp: Miscellaneous fixes.
7266
7267 * lib/gdb.exp: Fix runto.
7268
7269 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7270 the target.
7271
7272 * gdb.base/watchpoint.exp: Fix regexp.
7273
7274 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7275 close and wait commands, as the descriptor may now be
7276 invalid. Always call "remote_close host".
7277
7278 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7279
7280 Major rewrite for testsuite revision.
7281
7282 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7283 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7284 instead of relying on spawn_id to always contain a valid
7285 spawn id.
7286 (get_compiler_info): New procedure to build the ${binfile}.ci
7287 file, instead of replicating this in N different places.
7288 (gdb_compile): New procedure.
7289
7290 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7291 appropriate arguments) instead of compile. Use gdb_test in a lot
7292 more places. Use send_gdb instead of send. Always run gdb_start
7293 at the start of a testcase, as this is no longer done magically.
7294
7295 config/*-gdb.exp: Rename without the -gdb suffix.
7296
7297 config/mips.exp: Use remote_close instead of exit_remote_shell.
7298 config/monitor.exp: Use target_info instead of looking at
7299 baud, timeout, etc.
7300 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7301
7302 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7303
7304 * gdb.c++/templates.exp (test_ptype_of_templates),
7305 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7306 Update expect patterns for destructors and assignment operators
7307 to match corresponding c-typeprint.c changes.
7308 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7309 to destructor breakpoint test, GDB should be able to set the
7310 destructor breakpoint without specifying arguments.
7311
7312 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7313
7314 * gdb.threads/pthreads.exp: Change result for failure to compile due
7315 to lack of pthreads runtime support from an error to simply an
7316 unsupported test, per dejagnu standards.
7317
7318 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7319
7320 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7321 where GDB exits to reduce pattern match time.
7322 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7323
7324 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7325
7326 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
7327
7328 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7329 * gdb.base/default.exp: ditto.
7330 * gdb.base/nodebug.exp: ditto.
7331 * gdb.base/printcmds.exp: ditto.
7332 * gdb.base/ptype.exp: ditto.
7333 * gdb.base/setvar.exp: ditto.
7334 * gdb.base/structs.exp: ditto.
7335 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7336
7337 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7338
7339 * configure, */configure: Rebuild with autoconf 2.12.
7340
7341 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7342
7343 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7344 use new i*86-pc-linux*-gnu quads.
7345 * gdb.base/corefile.exp: Ditto.
7346 * gdb.base/signals.exp: Ditto.
7347 * gdb.base/sigall.exp: Ditto.
7348 * gdb.base/interrupt.exp: Ditto.
7349
7350 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7351 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7352 RedHat 4.0.
7353
7354 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7355 linux. This allows the test case to at least compile on latest
7356 linux, but still not run due to missing the threads runtime library.
7357
7358 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7359
7360 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7361 directory to search gdb directory. Accept and step over conditional
7362 stack alignment code. Consume $prompt in failure cases.
7363 Reset timeout to $oldtimeout instead of some arbitrary value.
7364 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7365 timeout problems with infinite stack backtraces.
7366 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7367 Accept function parameters for linkfunc member.
7368
7369 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7370
7371 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7372 (CXXFLAGS): Remove, unreferenced.
7373 (B_OPTIONS): Add for -B options and add code to initialize with
7374 previous -B options and also add -B option to pick up cross compiled
7375 runtime.
7376 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7377 doing cross compiles.
7378 (target_alias): Declare global.
7379 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7380 to verify that gcc exists in build tree, and if so set CC to that
7381 gcc and to use B_OPTIONS and TARGET_INCLUDES.
7382
7383 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7384
7385 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7386 ptype test for anonymous union. Fixup testcase to match
7387 current gcc debug output.
7388
7389 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7390
7391 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7392 force argument to an unsigned long type.
7393
7394 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7395
7396 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7397 tests and anonymous union print/ptype tests.
7398 * gdb.base/list.exp (test_forward-search): Increase timeout by
7399 5 minutes for the "search extremely long line" case.
7400 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7401 completely optional and that the pass/fail messages use the command as
7402 the message if that third arg is a null string.
7403 (gdb_test_exact): Arrange that a null string pattern means match a
7404 null string output rather than any output, which might include random
7405 errors.
7406 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7407 backtrace test.
7408 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7409 always failing and failure is now exposed by gdb.exp changes.
7410
7411 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7412
7413 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7414 weren't being noted.
7415
7416 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7417
7418 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7419 * gdb.stabs/weird.exp: Remove v_comb xfails.
7420
7421 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
7422
7423 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7424 list.exp scope.exp watchpoint.exp]
7425 Make all timeout error msgs explicitly say "(timeout)".
7426
7427 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
7428
7429 * config/monitor.exp: Increase download timeout to 1000 seconds.
7430
7431 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
7432
7433 * config/m32r.exp: Increase timeout to 120 seconds.
7434
7435 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7436
7437 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7438 and accept older ordering as obsolescent gcc or gdb.
7439 * gdb.c++/templates.exp: Ditto.
7440 * gdb.c++/virtfunc.exp: Ditto.
7441
7442 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7443
7444 * gdb.base/coremaker.c: Add code to mmap some data so we
7445 can check that it ends up in the core file.
7446 * gdb.base/corefile.exp: Add test to read mmapped data
7447 from core file.
7448
7449 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
7450
7451 * config/m32r.exp: New file.
7452
7453 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7454
7455 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7456 that cflags can contains -gstabs, and work correctly for other tests.
7457
7458 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
7459
7460 * gdb.base/setshow.exp: New file, tests show and set.
7461 * gdb.base/setshow.c: New file, tests show and set.
7462 * gdb.base/help.exp: Add test for help set|show annotate.
7463 * gdb.base/default.exp: Add test for set|show annotate.
7464
7465 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7466
7467 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7468 errors unique.
7469 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7470 explicitly.
7471
7472 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7473
7474 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7475 and width commands. This is done elsewhere.
7476 * (gdb_start): Don't call gdb_start_sim here. That's already
7477 done in gdb_load. This fixes lots of failures in default.exp.
7478
7479 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7480
7481 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7482 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7483 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7484 in the same we we treat other failures (since it may be an expected
7485 condition), rather than as an error.
7486 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7487 old test format.
7488
7489 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7490
7491 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7492 (distclean maintainer-clean realclean): No need to remove files
7493 twice. Nuke the duplicates.
7494 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
7495 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
7496 Remove config.h along with other config files.
7497
7498 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7499
7500 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7501 "p func1 ()" and note that rests of tests are skipped.
7502 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7503 setup_xfails for "print func2::coremaker_local".
7504 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7505 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7506 affected by the previous run test.
7507 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7508 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7509 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7510 "pass int powerset tuple" and "pass modeless int powerset tuple".
7511 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7512 "real write 4" and "real write 8".
7513 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7514 setup_xfails for "print vs1 after tuple assign 2",
7515 "print \$i after tuple assign 2", and
7516 "print vs2 after tuple assign 2".
7517 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7518 meaningful error message and return -1 so the caller can
7519 suppress further tests and avoid a cascade of errors.
7520
7521 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7522
7523 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7524 format for printing version.
7525 * gdb.base/default.exp: Ditto.
7526 * gdb.base/interrupt.exp: Fix problem with cascade of
7527 errors if child process dies while calling a function.
7528
7529 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7530
7531 * Makefile.in (VPATH): Add
7532 * Makefile.in (Makefile, config.status): Fix rules so things get
7533 remade when necessary.
7534
7535 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7536
7537 * Makefile.in (just-check): Add path to sibling expect dir
7538 to environment variable specified by RPATH_ENVVAR.
7539
7540 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7541
7542 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7543 (just-check): Add shared library paths for libstdc++, tk,
7544 tcl, bfd, and opcodes to the environment variable specified
7545 in RPATH_ENVVAR.
7546 * configure.in: Add support to recognize --enable-shared flag
7547 and generate correct value for RPATH_ENVVAR.
7548 * configure: Regenerated with autoconf.
7549
7550 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7551
7552 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7553 include all osf versions.
7554 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7555 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7556 when target is linux. When failing to build pthreads test
7557 executable, give more meaningful message.
7558 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7559 arg for pthread_create.
7560
7561 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7562
7563 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7564 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7565 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7566 and -lpthreads (everybody else).
7567 (test_startup): Fail gracefully if threads are not supported.
7568 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7569 "p/c array_index("abcdef",2)" when not gcc compiled.
7570 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7571 "print func2::coremaker_local" when not gcc compiled.
7572 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7573 "ptype on opaque struct tagname (statically)",
7574 "ptype on opaque struct tagname (dynamically) 1", and
7575 "ptype on opaque struct tagname (dynamically) 2"
7576 for not compiled with gcc.
7577 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7578 backtrace when compiled with gcc.
7579 * lib/gdb.exp (runto_main): Return result of "runto main" rather
7580 than always return success.
7581
7582 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7583
7584 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7585
7586 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7587
7588 * gdb.base/structs.exp: Undo last change.
7589
7590 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7591
7592 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7593 encapsulate all the steps/nexts done during self test, starting
7594 at main, and makes them less sensitive to optimization issues.
7595 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7596 signal handler" test.
7597 * gdb.threads/pthreads.exp: Only run this for native configs.
7598 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7599 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7600 tests.
7601 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7602 for "runto test_calls(void)" test.
7603
7604 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7605
7606 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7607 and don't expect address info in breakpoint confirmations.
7608
7609 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7610
7611 * gdb.base/list.exp (test_forward_search): Increase timeout
7612 temporarily by 60 seconds for searching extremely long line,
7613 and then reset to old value when done. Increase expect input
7614 buffer to 10000.
7615
7616 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7617
7618 * gdb.base/list.exp (test_forward_search): Fix to handle very
7619 long source line without overflowing expect's input buffer.
7620
7621 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7622
7623 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7624 "buffer_full".
7625
7626 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7627 "buffer_full".
7628
7629 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7630 "buffer_full".
7631
7632 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7633 "buffer_full".
7634
7635 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7636
7637 * configure.in (configdirs): Add gdb.threads.
7638 * configure: Regenerated with autoconf.
7639 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7640 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7641 * gdb.threads/configure: New, generated with autoconf.
7642
7643 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7644
7645 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7646
7647 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7648
7649 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7650 each signal's status in the output of "handle all print".
7651 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7652 the \r\n sequence that immediately precedes the gdb prompt.
7653 * gdb.base/a1-selftest.exp: Save original timeout and restore
7654 after test.
7655
7656 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7657
7658 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7659 symbol.
7660
7661 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7662
7663 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7664
7665 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7666
7667 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7668 timeout by 60 seconds.
7669
7670 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7671
7672 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7673 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7674 error return.
7675
7676 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7677
7678 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7679 gdb initialization, also report how long dejagnu waited. Restore
7680 old timeout before doing error return. Temporarily increase timeout
7681 by 3 minutes to allow for slow startups over heavy NFS use.
7682
7683 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7684
7685 * lib/gdb.exp: Report timeout value for verbosity level 2.
7686 * config/gdbserver.exp: Ditto.
7687 * config/hppro.exp: Ditto.
7688 * config/mips-gdb.exp: Ditto.
7689 * config/monitor.exp: Ditto.
7690 * config/netware.exp: Ditto.
7691 * config/sim-gdb.exp: Ditto.
7692 * config/slite-gdb.exp: Ditto.
7693 * config/udi-gdb.exp: Ditto.
7694 * config/unix-gdb.exp: Ditto.
7695 * config/vx-gdb.exp: Ditto.
7696 * gdb.base/a1-selftest.exp: Ditto.
7697 * gdb.base/a2-run.exp: Ditto.
7698 * gdb.base/break.exp: Ditto.
7699 * gdb.base/corefile.exp: Ditto.
7700 * gdb.base/list.exp: Ditto.
7701 * gdb.base/recurse.exp: Ditto.
7702 * gdb.base/scope.exp: Ditto.
7703 * gdb.base/signals.exp: Ditto.
7704
7705 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7706
7707 * gdb.threads/Makefile.in (docdir): Removed.
7708
7709 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7710
7711 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
7712 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
7713 @srcdir@.
7714 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
7715 autoconf 2.5 or higher.
7716 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7717
7718 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7719
7720 * configure: Regenerated.
7721 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7722 avoid name clashes with SunOS headers.
7723
7724 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7725
7726 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7727
7728 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7729
7730 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7731 prototype information ends up in the compiler info file.
7732
7733 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7734
7735 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7736 attempting to regenerate it. Eliminate use of a temporary file
7737 and just generate the info file directly. Source it immediately,
7738 for consistency of use.
7739 * gdb.base/corefile.exp: Ditto
7740 * gdb.base/exprs.exp: Ditto.
7741 * gdb.base/funcargs.exp: Ditto.
7742 * gdb.base/langs.exp: Ditto.
7743 * gdb.base/list.exp: Ditto.
7744 * gdb.base/mips_pro.exp: Ditto.
7745 * gdb.base/nodebug.exp: Ditto.
7746 * gdb.base/opaque.exp: Ditto.
7747 * gdb.base/ptype.exp: Ditto.
7748 * gdb.base/scope.exp: Ditto.
7749 * gdb.base/setvar.exp: Ditto.
7750 * gdb.base/signals.exp: Ditto.
7751 * gdb.base/whatis.exp: Ditto.
7752 * gdb.c++/templates.exp: Ditto.
7753 * gdb.c++/virtfunc.exp: Ditto.
7754 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7755 whether or not to add -lstdc++ to the compile command line args.
7756
7757 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7758
7759 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7760 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7761 Increase timeout, a lot of single stepping might be needed if the
7762 target has no hardware watchpoints.
7763
7764 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7765
7766 * gdb.base/break.exp: Ignore compiler warnings when compiling
7767 break.c.
7768 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7769 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7770 from remote-sim.
7771 * gdb.base/exprs.exp: Add h8300 xfails.
7772 * gdb.base/funcargs.exp: Likewise.
7773 * gdb.base/nodebug.exp: Likewise.
7774 * gdb.base/printcmds.exp: Likewise.
7775 * gdb.base/ptype.exp: Likewise.
7776 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7777 h8300 xfails.
7778 * gdb.base/return.exp: Handle float/double precision problems
7779 on the h8300.
7780 * gdb.base/funcargs.c: Explicitly make last constant argument to
7781 call_after_alloca_subr an unsigned long type.
7782 * gdb.base/return.c: Include stdio.h.
7783
7784 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7785
7786 * config/abug.exp: New file for the older Motorola Bug monitor
7787 that runs on the mvme13x series VME boards.
7788 * config/monitor.exp: Use the new config array for target settings
7789 if they exist.
7790
7791 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7792
7793 * sim-gdb.exp: Make the SH simulator allocate less space when
7794 it is targeted.
7795
7796 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7797
7798 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7799 test.
7800
7801 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7802
7803 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7804 "rs6000-*-*" for "list function in include file" when gcc compiled.
7805 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7806 for "p ctable1[120]".
7807 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7808 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7809 Remove setup_xfail for "rs6000-*-*" for
7810 "print 'scope0.c'::filelocal before run".
7811 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7812 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7813 since some compilers don't allow both options to be given
7814 on the same command line. Create object file and move it.
7815
7816 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7817
7818 * gdb.base/corefile.exp: Always regenerate the core file, since
7819 we always regenerate the coremaker program. Detect special case
7820 where registers cannot be read from core file.
7821
7822 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7823
7824 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7825 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7826 * gdb.c++/templates.exp: Only match on basename of file since
7827 some formats like xcoff don't encode directory information.
7828 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7829 and rs6000 AIX xcoff targets.
7830 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7831 * configure: Regenerate.
7832 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7833 here, rather than in distclean.
7834
7835 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7836
7837 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7838 defined, and use it to compile the test case with -O2. The
7839 native compilation still uses no optimization.
7840 * gdb.base/mips_pro.c: Remove inline assembly code since
7841 it is compiled PIC by default, which results in assembler
7842 warnings that make the testsuite think the compilation
7843 was unsuccessful.
7844
7845 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7846
7847 * gdb.c++/misc.exp: Add note to message for
7848 "print s.a for foo struct" that this is a known gcc 2.7.2
7849 and earlier bug.
7850
7851 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7852
7853 * gdb.base/break.exp: Fix pattern for matching "Delete all
7854 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7855 setup_xfail for deleting all breakpoints test. Fix various
7856 timeout messages to include "(timeout)".
7857 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7858 for "p t_float_values2(3.14159,float_val2)".
7859 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7860 for "continue to call2g" when gcc compiled.
7861 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7862 "up to foo in langs.exp", "show language at foo in langs.exp",
7863 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7864 and "show language at fsub in langs.exp".
7865 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7866 "list line 1 in include file", "list message for lines past EOF",
7867 "list function in include file", "list list0.h:foo", and
7868 "list filename:function; nonexistant function".
7869 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7870 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7871 and "ptype t_char_array" to be for native cc only.
7872
7873 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7874
7875 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
7876 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7877 "print func2::coremaker_local", and "backtrace in corefile.exp".
7878
7879 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7880
7881 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7882 "bt in signals.exp". This problem only appears when running
7883 the testsuite, and then only intermittently.
7884
7885 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7886
7887 * gdb.base/return.exp (return_tests): Differentiate between
7888 two tests of continuing.
7889
7890 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7891
7892 * */Makefile.in (maintainer-clean): Remove config.log.
7893 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7894 * gdb.c++/Makefile.in (PROGS): Add inherit.
7895 (clean): Remove *.ci.
7896
7897 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7898
7899 * gdb.c++/misc.cc: Add test code from Mike Stump.
7900 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7901
7902 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7903
7904 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7905 to "alpha-*-osf2*" and add comment.
7906 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7907 setup_xfail for "step over execarg initialization" and
7908 "step over corearg initialization".
7909 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7910 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7911 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7912 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7913 "print func2::coremaker_local", and "backtrace in corefile.exp".
7914 * gdb.base/signals.exp: Build and source signals.ci.
7915 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7916 to be for gcc only.
7917 * lib/gdb.exp: Move verbose statements outside conditionals.
7918
7919 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7920
7921 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7922 Feb 3 procfs.c change.
7923
7924 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7925
7926 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7927
7928 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7929
7930 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7931 from dejagnu's apparent default of 10 seconds, which gives random
7932 results when running the tests over NFS on moderately loaded systems.
7933 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7934
7935 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7936
7937 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7938 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7939 result reports.
7940
7941 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7942
7943 * configure.in (CY_AC_PATH_TCLH): Remove.
7944 * configure: Regenerate.
7945
7946 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7947
7948 * gdb.c++/Makefile.in (clean): Add missing '{'.
7949
7950 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7951
7952 * lib/gdb.exp: Provide a default value for noinferior.
7953
7954 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7955 Load libgloss.exp.
7956
7957 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7958
7959 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7960 the executable, not the .o to run the tests from.
7961
7962 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7963
7964 * gdb.base/break.exp: Don't test for program exit or exit status
7965 if $noresults if nonzero.
7966 * gdb.base/langs.exp: Likewise.
7967 * gdb.base/watchpoint.exp: Likewise.
7968
7969 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7970 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7971 trying to compile the testcase.
7972
7973 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7974
7975 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7976 * gdb.base/signals.exp (continue to handler): Likewise.
7977
7978 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7979
7980 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7981
7982 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7983
7984 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7985
7986 * gdb.base/corefile.exp: Recognize "not found" as failure
7987 when trying to determine if a core file was generated.
7988 If no core file was generate the first time, try again without
7989 the ulimit -c to work around braindamaged shells.
7990
7991 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7992
7993 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7994 [] tests with "test" and enclose string in quotes.
7995 * gdb.stabs/configure: Rebuild
7996
7997 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7998
7999 Changes in sync with expect:
8000 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8001 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8002 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8003 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8004 argument to AC_REQUIRE.
8005 * configure: Regenerated.
8006
8007 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8008
8009 * gdb.base/corefile.exp: When generating a core, discard any
8010 error messages about ulimit not found and the "core dumped"
8011 message from the shell that runs the coredumper.
8012
8013 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8014
8015 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8016
8017 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8018 which sed script to run. Expect failure for v_comb test
8019 on PA targets too.
8020
8021 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8022
8023 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8024 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8025
8026 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8027
8028 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8029 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8030 "sparc-sun-solaris*" xfails for "p v_comb".
8031 * lib/gdb.exp (default_gdb_start): Fix typo.
8032 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8033 messages to not include the full program name that caused
8034 the core dump since some systems (such as solaris) apparently
8035 truncate this path to about 80 characters.
8036 When generating a core file first try increasing the core file
8037 size limit to unlimited since some systems may default it to
8038 zero, and it is harmless to try it. Move the test for failing
8039 to generate a core file to where it will actually get executed.
8040 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8041 new gdb result from g++ debug info improvements and make old
8042 pattern obsolescent. Also account for size_t differences
8043 (may be int or long).
8044 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8045 initialization before function call is placed in the delay slot
8046 and thus appears to be skipped over by commands such as "next".
8047
8048 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8049
8050 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8051
8052 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8053
8054 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8055 input source file; fix code to compile test to deal with this
8056 convention.
8057 * gdb.c++/*.exp: Likewise.
8058
8059 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8060
8061 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8062 "bt in signals.exp".
8063
8064 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8065
8066 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8067 "step over execarg initialization" and
8068 "step over corearg initialization".
8069
8070 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8071
8072 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8073 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8074
8075 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8076
8077 From Rob Savoye (rob@poseidon.cygnus.com)
8078 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8079 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8080 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8081 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8082 configure.in}: Major reworking for autoconfig.
8083 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8084 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8085 New files.
8086 * config/unix-gdb.exp: Make GDB global.
8087 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8088 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8089 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8090 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8091 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8092 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8093 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8094 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8095 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8096 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8097 pr-8136.exp, result.exp, string.exp, tuples.exp},
8098 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8099 to returns as necessary, arrange for test to compile own testcase
8100 executable.
8101 * lib/gdb.exp: Changes for testsuite to compile own test cases.
8102
8103 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8104
8105 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8106 clear_xfail at end of test which might not call either pass or fail.
8107 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8108 "backtrace through signal handler".
8109
8110 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8111
8112 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8113 continuing from a job control stop signal.
8114 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8115
8116 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8117
8118 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8119 * gdb.base/corefile.exp: Likewise.
8120 * gdb.base/funcargs.exp: Likewise.
8121
8122 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8123
8124 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8125 * config/monitor.exp: Add support for setting baud rate.
8126
8127 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8128
8129 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8130 i*86-*-linux* xfails for "backtrace through signal handler".
8131 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8132 "print func2::coremaker_local".
8133 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8134 alpha-dec-osf2* xfail for
8135 "delete all breakpoints when none".
8136
8137 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8138
8139 * gdb.base/break.exp: Change test that deletes all breakpoints
8140 when no user breakpoints are installed. A post 4.15 change
8141 causes gdb to no longer prompt in this case.
8142
8143 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8144
8145 * gdb.base/return.exp (return_tests): Change xfail for test
8146 "correct value returned double test" to stop xfailing at
8147 Solaris 2.5. Apparently the bug has been fixed.
8148
8149 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8150
8151 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8152 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8153
8154 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8155
8156 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8157 * gdb.disasm/hppa.s: Corresponding changes.
8158
8159 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8160
8161 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8162 makefile fragment.
8163 * config/mt-hpux: Deleted.
8164
8165 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8166
8167 * Many files: When warning about suppressed tests due to a
8168 nonexistant test binary, avoid incrementing the warning count.
8169
8170 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8171
8172 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
8173
8174 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8175
8176 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8177 "sparc-*-solaris2*".
8178
8179 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8180
8181 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8182 Add global and local variables and initialize them.
8183 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8184 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8185 extracts the file name and terminating signal from the core file.
8186 * TODO: Remove note about tests for correct mapping of corefile.
8187 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8188 from optimizing it away.
8189 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8190 handles common blocks.
8191
8192 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8193
8194 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8195 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8196
8197 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8198
8199 * Makefile.in (maintainer-clean): New target, synonym for
8200 realclean.
8201 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8202 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8203 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8204 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8205 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8206 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8207
8208 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8209
8210 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8211 xfails when not gcc compiled for "print foo::funclocal".
8212 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8213 "print foo::funclocal at foo",
8214 "print 'scope1.c'::foo::funclocal at foo",
8215 "print foo::funclocal_bss at foo",
8216 "print 'scope1.c'::foo::funclocal_bss at foo",
8217 "print foo::funclocal_ro at foo",
8218 "print 'scope1.c'::foo::funclocal_ro at foo",
8219 "print bar::funclocal at foo" and
8220 "print 'scope1.c'::bar::funclocal at foo".
8221 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8222 gcc compiled for "print foo::funclocal at bar".
8223 Expand all messages to ensure that they identify that
8224 the test is at bar().
8225 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8226 gcc compiled for:
8227 "ptype on opaque struct pointer (statically)",
8228 "ptype on opaque struct tagname (statically)",
8229 "ptype on opaque struct pointer (dynamically) 1",
8230 "ptype on opaque struct tagname (dynamically) 1",
8231 "ptype on opaque struct pointer (dynamically) 2" and
8232 "ptype on opaque struct tagname (dynamically) 2
8233 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8234 gcc compiled for:
8235 "p datalocal"
8236 "whatis datalocal",
8237 "ptype datalocal",
8238 "p bsslocal",
8239 "whatis bsslocal", and
8240 "ptype bsslocal".
8241 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8242 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8243 when not gcc compiled.
8244 * gdb.base/funcargs.exp (float_and_integral_args): Add
8245 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8246 compiled.
8247 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8248 "backtrace from call6a" when not gcc compiled.
8249 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8250 "backtrace from call7a" when not gcc compiled.
8251 * gdb.base/callfuncs.exp (do_function_calls):
8252 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8253 "p t_char_array_values(char_array_val2,char_array_val1)",
8254 "p t_char_array_values(char_array_val1,char_array_val2)",
8255 "p t_char_array_values("carray 1","carray 2")",
8256 "p t_char_array_values("carray 1",char_array_val2)",
8257 "p t_char_array_values(char_array_val1,"carray 2")",
8258 "p sum_args(1,{2})",
8259 "p sum_args(2,{2,3})",
8260 "p sum_args(3,{2,3,4})",
8261 "p sum_args(4,{2,3,4,5})"
8262 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8263 "backtrace in corefile.exp" when not gcc compiled.
8264
8265 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8266
8267 * gdb.base/signals.exp: Rewrite `handle all print' test as
8268 a procedure. Accept blanks or TABs as whitespace, increase
8269 timeout and expect input buffer size for the large output
8270 from the command. Remove "i*86-*-bsdi2.0" xfail.
8271
8272 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8273
8274 * gdb.base/setvar.exp: Add new testcases for truncation when
8275 assigning invalid values to bitfields.
8276
8277 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8278
8279 * gdb.base/callfuncs.exp (do_function_calls): Remove
8280 mips-sgi-irix* xfail for
8281 "call inferior func with struct - returns char *"
8282 and fix test so that an optional (unsigned char *) cast is
8283 accepted in the result.
8284
8285 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8286
8287 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8288 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8289 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8290 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8291 that accidentally got checked in.
8292
8293 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8294
8295 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
8296 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8297 compiled test.
8298 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8299 Add mips-sgi-irix5* xfail for not gcc compiled.
8300 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8301 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8302 "p top", "whatis top", "p middle", and "whatis middle".
8303 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8304 "whatis signed char" for not gcc compiled.
8305 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8306 "set variable signed char=-1 (-1)" and
8307 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8308 * gdb.base/funcargs.exp (float_and_integral_args):
8309 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8310 Add mips-sgi-irix* xfail when not gcc compiled for
8311 "continue to call2b".
8312 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8313 "continue to call2g".
8314 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8315 "backtrace from call6a"
8316 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8317 "backtrace from call7k".
8318 Add mips-sgi-irix5* xfail when not gcc compiled for
8319 "backtrace from call7a".
8320 (localvars_after_alloca): Fix gdb_test cmds for
8321 "print * after runto ...".
8322 Remove rs6000-*-* xfails for
8323 "print i after runto localvars_after_alloca" and
8324 "print l after runto localvars_after_alloca"
8325 for all compilers.
8326 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8327 when not compiled with gcc, for:
8328 "print signed char == (minus)",
8329 "print signed char != (minus)",
8330 "print signed char < (minus)",
8331 "print signed char > (minus)".
8332 * gdb.base/callfuncs.exp (do_function_calls):
8333 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8334 "call inferior func with struct - returns char *".
8335 * gdb.base/return.exp (return_tests): Change xfail for
8336 "correct value returned double test" to include Solaris 2.4.
8337 * gdb.base/funcargs.exp (float_and_integral_args):
8338 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8339
8340 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8341
8342 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8343 enumeration bitfields if compiling with GNU C.
8344 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8345 to empty' prompt.
8346
8347 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8348
8349 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8350 test for PRO targets.
8351
8352 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8353 breakpoints in the inferior at any given time by making
8354 two groups of breakpoints for call2*, call6* and call7*
8355 tests.
8356
8357 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8358
8359 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8360 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8361 from optimizing it away.
8362 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8363 "call inferior func with struct".
8364
8365 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8366
8367 * configure.in: Only configure gdb.chill for particular targets.
8368
8369 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8370
8371 * gdb.base/Makefile.in: Add action to .c.o transformation
8372 rule that generates a .ci file for each .o file and remove
8373 explicit .c.o rules except for callfuncs.o.
8374 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8375 generates a .ci file for each .o file and remove explicit
8376 .cc.o rules.
8377 (clean): Remove *.tmp *.ci files.
8378 (EXECUTABLES): Remove templ-info.exp.
8379 * gdb.base/compiler.c: New file.
8380 * gdb.c++/compiler.cc: New file
8381 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8382 Change rs6000-*-* xfail for
8383 "print 'scope0.c'::filelocal_ro" and
8384 "print 'scope1.c'::filelocal" and
8385 "print 'scope1.c'::filelocal_bss" and
8386 "print 'scope1.c'::filelocal_ro" and
8387 "print 'scope1.c'::foo::funclocal" and
8388 "print 'scope1.c'::foo::funclocal_ro" and
8389 "print 'scope1.c'::bar::funclocal" and
8390 "print 'scope0.c'::filelocal_ro" and
8391 "print 'scope1.c'::filelocal at foo" and
8392 "print 'scope1.c'::filelocal_bss at foo" and
8393 "print 'scope1.c'::filelocal_ro at foo" and
8394 "print 'scope1.c'::foo::funclocal at foo" and
8395 "print 'scope1.c'::foo::funclocal_bss at foo" and
8396 "print 'scope1.c'::foo::funclocal_ro at foo" and
8397 "print 'scope1.c'::bar::funclocal at foo" and
8398 "print 'scope0.c'::filelocal_ro" and
8399 "print 'scope1.c'::filelocal" and
8400 "print 'scope1.c'::filelocal_bss" and
8401 "print 'scope1.c'::filelocal_ro" and
8402 "print 'scope1.c'::foo::funclocal" and
8403 "print 'scope1.c'::foo::funclocal_bss" and
8404 "print 'scope1.c'::foo::funclocal_ro" and
8405 "print 'scope1.c'::bar::funclocal" and
8406 "print 'scope1.c'::bar::funclocal_bss"
8407 to only be xfail'd when not compiled with gcc.
8408 Add rs6000-*-* xfail for
8409 "print 'scope0.c'::filelocal_bss before run"
8410 when compiled with gcc.
8411 (test_at_main): Add rs6000-*-* xfail for
8412 "print filelocal_ro in test_at_main"
8413 when compiled with gcc.
8414 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
8415 Add rs6000-*-aix* xfail for
8416 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8417 "ptype t_char_array", not compiled with gcc.
8418 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8419 xfail for "list foo (in include file)" when gcc compiled.
8420 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8421 (integral_args): Add rs6000-*-* xfail for
8422 "run to call0a" if not compiled with gcc.
8423 (unsigned_integral_args): Add rs6000-*-* xfail for
8424 "run to call1a" if not compiled with gcc.
8425 (float_and_integral_args): Add rs6000-*-* xfail for
8426 "run to call2a" if not compiled with gcc and for
8427 "continue to call2b" for any compiler.
8428 Add rs6000-*-* xfail to
8429 "print f1 after run to call2a" for gcc compiled.
8430 (discard_and_shuffle): Add rs6000-*-* xfail for
8431 "run to call6a".
8432 (shuffle_round_robin): Add rs6000-*-* xfail for
8433 "backtrace from call7a" if not compiled with gcc.
8434 Add rs6000-*-* xfail for
8435 "backtrace from call7b" if compiled with gcc.
8436 (call_after_alloca): Add rs6000-*-* xfail for
8437 "print c in call_after_alloca" and
8438 "print s in call_after_alloca" and
8439 "backtrace from call_after_alloca_subr"
8440 if not compiled with gcc.
8441 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8442 "print c in localvars_in_indirect_call" and
8443 "print c in localvars_in_indirect_call" and
8444 "backtrace in indirectly called function" and
8445 "stepping into indirectly called function"
8446 if not compiled with gcc.
8447 (localvars_after_alloca): Add rs6000-*-* xfail for
8448 "print c after runto localvars_after_alloca" and
8449 "print s after runto localvars_after_alloca" and
8450 "print i after runto localvars_after_alloca" and
8451 "print l after runto localvars_after_alloca"
8452 for all compilers.
8453 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8454 than whatis-info.exp.
8455 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8456 than opaque-info.exp.
8457 Setup rs6000-*-* xfail for
8458 "ptype on opaque struct pointer (statically)" and
8459 "ptype on opaque struct pointer (dynamically)" when
8460 not compiled with gcc.
8461 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8462 rather than callf-info.exp.
8463 (do_function_calls): Add clear_xfail for rs6000-*-* for
8464 "p t_float_values2(3.14159,float_val2)". Seems to work
8465 fine there, both with xlc and gcc. Need to find out what
8466 it is doing right and fix other platforms.
8467 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8468 "call inferior func with struct - returns int",
8469 "call inferior func with struct - returns long",
8470 "call inferior func with struct - returns float",
8471 "call inferior func with struct - returns double",
8472 "call inferior func with struct - returns char *",
8473 but only if not gcc compiled (presumes xlc compiled).
8474 Change rs6000-*-* xfails for
8475 "call inferior func with struct - returns char" and
8476 " call inferior func with struct - returns short" to only
8477 xfail if not using gcc.
8478 (clean mostlyclean): Remove *.ci and *.tmp files.
8479 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8480 than templ-info.exp.
8481 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8482 Add rs6000-*-* xfail for "up to foo in langs.exp"
8483 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8484 when not gcc compiled.
8485
8486 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8487
8488 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8489 * gdb.base/corefile.exp: Likewise.
8490 * gdb.base/list.exp: Likewise.
8491 * gdb.base/scope.exp: Likewise.
8492 * gdb.base/siganls.exp: Likewise.
8493
8494 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8495 compiler output.
8496 * gdb.base/whatis.exp: Likewise.
8497
8498 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8499
8500 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8501 failure (opcode table has been fixed to match reality).
8502
8503 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8504
8505 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8506 "call inferior func with struct - returns char",
8507 "call inferior func with struct - returns short"
8508
8509 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8510 "print 'scope0.c'::filelocal at main",
8511 "print 'scope0.c'::filelocal_bss in test_at_main",
8512 "print 'scope0.c'::filelocal at foo",
8513 "print 'scope0.c'::filelocal_bss in test_at_foo",
8514 "print 'scope0.c'::filelocal at bar",
8515 "print 'scope0.c'::filelocal_bss in test_at_bar"
8516
8517 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8518 in source file 1". This bug seems to have been fixed with both
8519 gcc and native cc (was native assembler bug?).
8520
8521 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8522
8523 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8524 "backtrace through signal handler" to "i*86-*-sysv4*".
8525 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8526 continue" case. Add "known SVR4 bug" to fail message.
8527 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8528 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8529 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8530 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8531 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8532 "up to foo in langs.exp", "show language at foo in
8533 langs.exp", "up to cppsub_ in langs.exp", "show
8534 language at cppsub_ in langs.exp", "up to fsub in
8535 langs.exp", and "show language at fsub in langs.exp".
8536 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8537 "bactrace in corefile.exp".
8538 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8539 "call inferior function with struct - returns float" and
8540 "call inferior function with struct - returns double".
8541
8542 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8543
8544 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8545 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8546 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8547 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8548
8549 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8550
8551 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8552 (or overriden) "CHILL" macro rather then bare "gcc".
8553 Also look for ../../gcc/xgcc since that is what we will
8554 actually need, not "Makefile". Remove following assignment
8555 of CHILL to CHILL_FOR_TARGET because that results in
8556 recursive definition.
8557
8558 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8559
8560 * gdb.base/corefile.exp: Change xfail for backtrace in
8561 corefile.exp from linuxaout to all linux.
8562 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8563 cases where we miss the breakpoint at the signal handler
8564 for some reason. Setup xfail for linuxoldld/linuxaout and
8565 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8566 hitting SIGURG breakpoint.
8567 * gdb.base/signals.exp: Setup xfail for "next" acting like
8568 continue to add linuxoldld. Setup xfail for all linux for
8569 "next to handler in signals_tests_1", "backtrace in
8570 signals_tests_1", "continue to func1", "pass SIGUSR1",
8571 and continue to handler".
8572
8573 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8574
8575 * Update all FSF addresses except those in COPYING* files.
8576
8577 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8578
8579 * gdb.base/a2-run.exp: Change messages to be more explicit about
8580 the status of args, and quote binfile in results.
8581
8582 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8583
8584 * gdb.base/callfuncs.exp: Add tests for passing structs to
8585 inferior functions and return various types.
8586 * gdb.base/callfuncs.c: Add functions to receive a struct
8587 and return a member of the struct, in various types.
8588
8589 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8590
8591 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8592
8593 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8594
8595 * config/vxworks29k.exp: New file, sources vxworks.exp.
8596
8597 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8598
8599 * config/gdbremote.exp: New file. Testing framework using
8600 gdbserver.
8601
8602 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8603
8604 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8605 "call function when asleep" and "send end of file".
8606 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8607 for "backtrace in corefile.exp".
8608 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8609 for "backtrace through signal handler".
8610 * gdb.base/corefile.exp: Make sure we actually generate a core file
8611 before trying the core tests. Some systems allow the user to suppress
8612 generation of core files and default to that (linux for example).
8613 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8614 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8615
8616 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8617
8618 * gdb.threads: New directory with some crude multi-threaded
8619 gdb tests (step.exp and step2.exp).
8620 * config/mt-lynx (STEP_EXECUTABLE): Define.
8621 (THREADFLAGS): Define.
8622
8623 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8624
8625 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8626
8627 * gdb.base/signals.exp: Disable whole file for lynx until
8628 further notice.
8629
8630 * gdb.base/signals.exp: xfail test where "next" acts like
8631 "continue" for lynx.
8632
8633 * gdb.base/interrupt.exp: xfail test for calling function while
8634 inferior is asleep for lynx.
8635
8636 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8637 than one cr-lf after each command.
8638
8639 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8640
8641 * configure.in: Reinstate setting of stabsdirs variable, fix
8642 typo in setting up configdirs for native builds.
8643
8644 * gdb.base/return.exp: Fix typo in return double test.
8645 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8646 compiler from optimizing them away.
8647
8648 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8649
8650 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8651 sequences to be echo'd by gdb when using gdb_test.
8652 * gdb.chill/chexp.exp: Likewise.
8653 * gdb.fortran/exprs.exp: Likewise
8654
8655 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8656
8657 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8658 after the inferior gdb has started.
8659
8660 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8661 after each command.
8662 * gdb.base/funcargs.exp: Likewise.
8663 * gdb.base/gdbvars.exp: Likewise.
8664 * gdb.base/interrupt.exp: Likewise.
8665 * gdb.base/list.exp: Likewise.
8666 * gdb.base/watchpoint.exp: Likewise.
8667 * gdb.c++/demangle.exp: Likewise.
8668 * gdb.c++/inherit.exp: Likewise.
8669 * gdb.chill/chexp.exp: Likewise.
8670 * gdb.fortran/exprs.exp: Likewise.
8671
8672 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8673 test if we can't handle IO to/from the inferior.
8674
8675 * gdb.c++/misc.exp: Always check for a program already being
8676 started after sending a "run" command to gdb.
8677
8678 * gdb.base/twice.exp: Start with a fresh gdb.
8679
8680 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8681 only depend on gdb's expression code, not the chill runtime.
8682
8683 * gdb.base/return.c: Put return values into variables so we
8684 can have gdb print them rather than depending on the program
8685 to print them.
8686 * gdb.base/return.exp: Corresponding changes.
8687
8688 * lib/gdb.exp: Provide default value for noinferiorio.
8689 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8690 the inferior.
8691
8692 * gdb.base/break.exp: Always check for a program already being
8693 started after sending a "run" command to gdb.
8694 (text_next_with_recursion): Don't check the output from the
8695 program's printf statement. Instead just make sure the program
8696 exited.
8697
8698 * gdb.base/commands.exp: Protect tests which need arguments with
8699 $noargs conditionals.
8700
8701 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8702
8703 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8704 of structure member arrays to match gdb/valops.c:value_addr change.
8705
8706 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8707
8708 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8709 cases.
8710
8711 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8712
8713 * configure.in (configdirs): Remove gdb.chill from default list
8714 of subdirs and then add it back in only if doing a native build.
8715 The current chill compiler does not yet work in any cross build.
8716 * Revert all signal changes from Jul 6.
8717 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8718 for sh-hms targets, allowing these tests to link, with no other
8719 changes. Testing is suppressed by setting "nosignals" in site.exp.
8720
8721 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8722
8723 * configure.in (signaldirs): Define and add to configdirs for all
8724 targets except some specific ones that are known to not support signals.
8725 Also clean up formatting.
8726 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8727 (signals, sigall): Remove rules to build.
8728 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8729 Moved to new gdb.signals directory.
8730 * gdb.signals: New test directory.
8731 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8732 signals.c signals.exp}: New or moved files.
8733
8734 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8735
8736 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8737
8738 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8739
8740 * gdb.base/return.exp: Xfail `return double' test failure
8741 on at least Solaris 2.3 and handle future/past versions on
8742 a case by case basis as appropriate. Also update message
8743 to include i*86 failures.
8744
8745 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8746
8747 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8748
8749 * lib/gdb.exp: Fix comment which erroneously identified
8750 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8751 gdb_file_cmd not gdb_load).
8752 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8753
8754 * gdb.base/setvar.exp: Make test names consistent between pass and
8755 fail cases. Use gdb_test more.
8756
8757 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8758
8759 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8760
8761 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8762
8763 * gdb.base/help.exp: Fix expected help string for `show commands'.
8764
8765 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8766
8767 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8768
8769 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8770 of a text section.
8771
8772 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8773
8774 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8775 that loop eventually terminates. Fix Connection refused logic so
8776 that testsuite will expire nicely.
8777
8778 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8779
8780 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8781 config/rom68k.exp: New tcl glue for the appropriate monitors.
8782 These all just end up calling monitor.exp.
8783 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8784 refused' by retrying. Cleanup some timeout issues.
8785 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8786 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8787 callers don't have to set/restore global timeout variable.
8788
8789 * The following set of changes centralizes management of the global
8790 timeout variable. This way, it can be set in one target dependent
8791 place instead of dozens of places scattered throughout the test suite.
8792 If you need to lengthen a timeout, then you should either set timeout
8793 in one of the config/{target}.exp files, or multiply it by a factor.
8794 Setting it to an absolute value is always going to lose for some
8795 targets.
8796 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8797 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8798 * gdb.base/funcargs.exp: Don't set timeout.
8799 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8800 * gdb.base/printcmds.exp (test_print_string_constants
8801 test_print_array_constants): Don't set timeout.
8802 * gdb.base/ptype.exp: Don't set timeout.
8803 * gdb.base/recurse.exp: Don't set timeout.
8804 * gdb.base/return.exp: Don't set timeout.
8805 * gdb.base/watchpoint.exp: Don't set timeout.
8806 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8807 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8808
8809 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8810
8811 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8812
8813 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8814
8815 * lib/gdb.exp: Disable chill tests for irix5.
8816
8817 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8818
8819 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8820 each test pass or fail.
8821
8822 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8823
8824 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8825 xlc not gcc.
8826
8827 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8828
8829 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8830
8831 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8832
8833 * config/est.exp: Fix copyright and comments. Remove dead code.
8834 Use targetname, serialport and baud variables instead of fixed
8835 constants.
8836 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8837 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8838
8839 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8840
8841 * gdb.base/watchpoint.exp: Don't run
8842 test_watchpoint_triggered_in_syscall for sunos.
8843
8844 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8845
8846 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8847 they don't seem to exist. Do include stdio.h.
8848
8849 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8850
8851 * gdb.base/a1-selftest.exp: Add alpha xfail.
8852
8853 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8854
8855 * gdb.base/watchpoint.c (main): Prompt before calling read().
8856 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8857 Revise accordingly. Remove cruft about sending "123" several
8858 times, until it gets noticed. Clean up the "print buf[0]" stuff
8859 so that it passes or fails, and waits for prompts in the usual way.
8860
8861 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8862
8863 * gdb.base/recurse.exp: Fix comment.
8864
8865 * TODO: Remove item about printing variables in nodebug.exp. Add
8866 item about enabling tests which are only run on some targets.
8867
8868 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8869 fail, make test names unique, use new gdb_test convention
8870 regarding pattern, use gdb_test more, etc.).
8871
8872 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8873 fail, make test names unique, etc.).
8874
8875 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8876
8877 * gdb.base/nodebug.c: Change return type of top and middle to
8878 short.
8879 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8880 are fixed by the recent mdebugread.c changes. Allow `short ()'
8881 as type for top and middle.
8882
8883 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8884
8885 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8886 nearly as I can tell, the whole thing was an accident in Stu's
8887 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8888 to replace a send/expect pair with gdb_test, but ended up only
8889 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8890 of 30 Mar 1995 took care of it, but left this vestigial comment
8891 which I am now nuking.
8892
8893 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8894
8895 * gdb.base/break.exp: Look for different line number for
8896 breakpoint at main depending on usestubs.
8897
8898 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8899
8900 * gdb.base/list.exp: Adjust some alternate expect patterns to
8901 match recent list0.c change. Add alternate expect pattern for
8902 output from `list default lines around main' for optimizing
8903 compilers.
8904
8905 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8906
8907 * lib/gdb.exp: If nosignals is not set, set it to 0.
8908
8909 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8910
8911 * config/slite-gdb.exp: Responds to load symbol table prompt.
8912 * gdb.base/break.exp: Adjust line number, fix rerun.
8913 * gdb.base/langs0.c: Add #ifdef usestubs.
8914
8915 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8916
8917 * gdb.base/list.exp: Adjust line contents after adding new lines in
8918 list0.c. Also fix a syntax error.
8919
8920 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8921 * gdb.base/break.exp: ditto.
8922 * gdb.base/list.exp: ditto.
8923 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8924 * gdb.base/run.c: ditto.
8925 * gdb.base/list0.c: ditto.
8926 * gdb.base/funcargs.c: ditto.
8927
8928 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8929
8930 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8931 $targetname, $serialport and $baud instead of hardwired variables.
8932 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8933 target doesn't support signals.
8934
8935 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8936
8937 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8938
8939 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8940
8941 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8942 Don't rely on the value of an auto variable before it has been
8943 initialized. Use gdb_test more.
8944
8945 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8946
8947 * lib/gdb.exp (default_gdb_version): A version number must start
8948 with a digit, but other than that contains all characters up to
8949 the first whitespace character.
8950
8951 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8952
8953 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8954
8955 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8956
8957 * gdb.c++/*.exp: Warn if executable does not exist. The original
8958 reason for skipping the warning was that configure.in sometimes
8959 intentionally skipped building the executables but the tcl code
8960 had no way of knowing. That (a) was always bogus with respect to
8961 error handling, (b) is no longer true (right now there is no way
8962 to skip C++ tests).
8963
8964 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8965
8966 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8967
8968 * gdb.base/list.exp: Add expect patterns for output from
8969 SunPRO compiled executables.
8970 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8971 types.
8972
8973 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8974
8975 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8976 number (we are already testing that the correct source line text
8977 gets printed).
8978
8979 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8980 that is what is intended, but something needed to be done to get
8981 sunos4 native working again.
8982
8983 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8984
8985 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8986 apparently went with a (very) old xfail.
8987
8988 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8989
8990 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8991 runto_main is a proc in gdb.exp that will do 'step' for target use
8992 stubs.
8993 * gdb.base/exprs.exp: ditto.
8994 * gdb.base/interrupt.exp: ditto.
8995 * gdb.base/opaque.exp: ditto.
8996 * gdb.base/printcmds.exp: ditto.
8997 * gdb.base/ptype.exp: ditto.
8998 * gdb.base/scope.exp: ditto.
8999 * gdb.base/setvar.exp: ditto.
9000 * gdb.base/signals.exp: ditto.
9001 * gdb.base/twice.exp: ditto.
9002 * gdb.c++/classes.exp: ditto.
9003 * gdb.c++/inherit.exp: ditto.
9004 * gdb.c++/templates.exp: ditto.
9005 * gdb.base/break.exp: no run and hit main for stubs. Change line
9006 numbers for breakpoints and info breakpoint.
9007 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9008 breakpoint().
9009 * gdb.base/callfuncs.c: ditto.
9010 * gdb.base/exprs: ditto.
9011 * gdb.base/interrupt.c: ditto.
9012 * gdb.base/opaque0.c: ditto.
9013 * gdb.base/printcmds.c: ditto.
9014 * gdb.base/ptype.c: ditto.
9015 * gdb.base/scope0.c: ditto.
9016 * gdb.base/setvar.c: ditto.
9017 * gdb.base/signals.c: ditto.
9018 * gdb.base/twice.c: ditto.
9019 * gdb.c++/misc.cc: ditto.
9020 * gdb.c++/templates.cc: ditto.
9021
9022 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9023
9024 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9025
9026 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9027 somewhere between `read' and `main.c'. I'm pretty sure the
9028 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9029 and it isn't particularly useful.
9030
9031 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9032
9033 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9034
9035 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9036
9037 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9038
9039 * config/mt-slite: add LIBS and -nostdlib.
9040 * config/slite-gdb.exp: add this new file to support sparclite target.
9041
9042 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9043
9044 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9045
9046 * gdb.base/a2-run.exp: Change argument to istarget from
9047 "*-*-vxworks" to "*-*-vxworks*".
9048 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9049
9050 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9051
9052 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9053 will not runto main but do a 'step' to step out of breakpoint().
9054 * config/mt-slite: add -Dusestubs.
9055
9056 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9057
9058 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9059 instead of just @.
9060
9061 * gdb.base/signals.exp: Add test for "handle all print".
9062 * TODO: Remove "handle all print". Also remove item about
9063 checking copyright date (I don't like the idea of a spurious FAIL
9064 based on when we run the tests).
9065
9066 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9067 for SunOS4 (reason for failure not investigated). Remove
9068 redundant test for $binfile.
9069
9070 * gdb.base/nodebug.c (array_index): Call malloc.
9071
9072 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9073
9074 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9075
9076 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9077 conventions and slightly simplify the matching regexp.
9078
9079 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9080
9081 * gdb.base/break.exp: Update gdb_test invocation to use new
9082 convention.
9083
9084 * lib/gdb.exp: If noargs is not set, set it to 0.
9085
9086 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9087 tests unique.
9088
9089 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9090
9091 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9092
9093 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9094 one argument of type "<non-float parameter>".
9095
9096 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9097
9098 * config/rom68k.exp: New file to support Motorola IDP board.
9099 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9100 * gdb.base/break.c: Change things around so that this program
9101 doesn't depend upon args. This is necessary to make remote
9102 targets work (in general, they can't take args).
9103 * gdb.base/break.exp: Don't try to send args to program. Don't
9104 expect output. Also, replace lots of code with gdb_test.
9105
9106 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9107
9108 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9109 printing of '\'' (which is what the comment says we are testing,
9110 even though we were not), not '''.
9111 (test_integer_literals_rejected): Test that printing ''' is an error.
9112
9113 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9114 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9115 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9116 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9117 Use gdb_test not test_print_accept.
9118 * lib/gdb.exp: Remove test_print_accept.
9119
9120 * gdb.base/signals.exp (signal_tests_1): Make pass message
9121 consistent with fail message.
9122
9123 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9124 unsigned char; the bug (PR 1821) is fixed.
9125
9126 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9127
9128 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9129 successful tests--makes xfailing them work right.
9130
9131 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9132
9133 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9134 only \r\n, not .*. The test can pass .* as the last thing in
9135 $pattern if that is what it wants. In addition to providing this
9136 flexibility, this change should speed up pattern matching in cases
9137 where the pattern already ended with .* (there were a number of
9138 them). This change also helps catch bad patterns--in the old
9139 scheme the typo "char \*" instead of "char \\*" would pass. Now
9140 it is caught.
9141 * Many .exp files: Update callers.
9142
9143 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9144 clearer and does not spuriously match multiple ('s. Likewise for
9145 ) and *.
9146
9147 * gdb.base/nodebug.exp: Test ability to call a function and pass
9148 it a string (even with no debugging info).
9149
9150 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9151 "p '\'", which is the same as "p ''" once tcl gets done with
9152 quoting, to "p '\\'", which I suspect is what is intended (one
9153 backslash gets sent to GDB).
9154
9155 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9156
9157 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9158
9159 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9160 1817) was fixed literally years ago.
9161
9162 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9163
9164 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9165 test, it causes stepping out of call_after_alloca_subr with
9166 optimizing compilers.
9167 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9168 fails.
9169
9170 * gdb.c++/templates.exp: Source templ-info.exp only if
9171 the templates executable exists.
9172
9173 * gdb.c++/misc.cc (class Contains_static_instance,
9174 class Contains_nested_static_instance),
9175 gdb.c++/classes.exp (test_static_members): Test printing of
9176 a class that contains a static instance of the class.
9177
9178 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9179
9180 * gdb.base/langs2.c (cppsub_): Don't prototype.
9181 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9182 only, I believe).
9183
9184 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9185
9186 * lib/gdb.exp (skip_chill_tests): New procedure.
9187
9188 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9189
9190 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9191
9192 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9193 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9194
9195 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9196
9197 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9198
9199 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9200 disassemble 8, not 16, instructions for part 4.
9201
9202 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9203 support the latter anymore.
9204
9205 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9206 -DNO_PROTOTYPES.
9207 * gdb.base/callfuncs.c: Control use of prototypes based on
9208 NO_PROTOTYPES, not __STDC__.
9209 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9210 t_float_values2 tests if prototypes in use.
9211
9212 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9213 t_double_values): When checking differences against DELTA, check
9214 that difference is within the range (-DELTA,DELTA), not just
9215 (-infinity,DELTA).
9216
9217 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9218
9219 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9220 'file' command firts, then 'target', then 'load', this is due to gdb
9221 target set up.
9222 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9223
9224 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9225
9226 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9227 FP load/store variants.
9228 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9229
9230 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9231
9232 * gdb.base/term.exp: Do not give a warning if not native, it is
9233 not an abnormal condition.
9234
9235 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9236
9237 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9238 t_char_array".
9239
9240 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9241
9242 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9243 are getting the version number.
9244
9245 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9246 if not native, it is not an abnormal condition.
9247
9248 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9249
9250 * lib/gdb.exp: Just use "file exists", rather than undocumented
9251 dejagnu procedure "findfile".
9252
9253 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9254
9255 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9256 (LDFLAGS): Set to -Xlinker -Ur.
9257
9258 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9259 Removed, these values are set by lib/gdb.exp.
9260
9261 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9262
9263 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9264
9265 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9266 of replicating gdb startup code.
9267
9268 * config/mt-vxworks (LDFLAGS): Set to -r.
9269 (CFLAGS_FOR_TARGET): Removed.
9270
9271 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9272 (gdb) and gdb for vxworks uses (vxgdb).
9273
9274 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9275 executable is not in the tree and host != target, use sed and
9276 program_transform_name to determine the gdb name used by the
9277 target.
9278
9279 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9280 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9281
9282 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9283
9284 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9285 floats, chars, and shorts where there are ANSI-style function
9286 definitions.
9287
9288 * gdb.base/langs.exp, gdb.base/langs*: New test.
9289 * gdb.base/Makefile.in: Build it.
9290 * TODO: Remove item about checking that C names don't get C++
9291 demangling applied; this test tests it.
9292
9293 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9294
9295 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9296 went with the const70 xfail. The xfail went away a year ago.
9297
9298 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9299
9300 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9301 for hp300.
9302
9303 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9304
9305 * gdb.base/a1-selftest.exp: Don't run on hp300.
9306
9307 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9308
9309 * Makefile.in (site.exp): Set host_alias and target_alias as well
9310 as host_triplet and target_triplet.
9311
9312 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9313
9314 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9315
9316 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9317 places as other ecoff systems).
9318
9319 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9320 ultrix.
9321
9322 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9323
9324 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9325 remove them.
9326 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9327 variable and "variable" in addition to "data variable".
9328 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9329
9330 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9331 2.
9332 * gdb.base/list1.c (long_line): Add additional statement at start
9333 of function.
9334 * gdb.base/list.exp (test_forward_search): Update line number to
9335 reflect new statement.
9336
9337 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9338
9339 * gdb.base/signals.exp: Reinitialize searched source directories
9340 after gdb_start call.
9341
9342 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9343
9344 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9345 * gdb.stabs/Makefile.in: Likewise.
9346
9347 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9348 change. Instead split the tests into smaller pieces.
9349 * gdb.disasm/hppa.s: Corresponding changes.
9350
9351 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9352
9353 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9354 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9355
9356 * gdb.base/funcargs.exp: Modify many tests so that every test
9357 either passes or fails. Make some test names unique.
9358
9359 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9360
9361 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9362 Call stty to set interrupt character.
9363
9364 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9365 for HP assembler versus GNU assembler based on actual behavior of
9366 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9367
9368 * TODO: Suggest a few more stepping tests.
9369
9370 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9371
9372 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9373 restart GDB for h8300 after a continue.
9374 (return): Add pattern to match a29k-udi behavior.
9375 * gdb.base/nodebug.exp: Remove obsolete comment.
9376 * gdb.base/regs.exp: New file, testing of register displays.
9377 * gdb.base/return.exp: Fix typo in reference to $objdir.
9378 * gdb.base/whatis.exp: Always start with a fresh GDB.
9379
9380 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9381
9382 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9383 higher, these tests generate a lot of output.
9384
9385 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9386
9387 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9388 code following the catch silently ignored some errors; without the
9389 catch they should be thrown like any other tcl error. Also, the
9390 catch used "" instead of {} which meant all the callers who wanted
9391 to include one of the characters "[]$ had to quote it an extra time.
9392 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9393 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9394 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9395 Remove extra quoting.
9396
9397 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9398
9399 * gdb.base/commands.exp: Make test names unique; every test either
9400 passes or fails. Update some comments.
9401
9402 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9403
9404 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9405
9406 The following fixes a FAIL caused by the fact that the alpha stabs
9407 configuration didn't use the ".if alpha" code in weird.def.
9408 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9409 bit pointer, so the 32 bit version works even on the alpha.
9410 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9411 Remove the stuff which allowed us to have separate versions for
9412 alpha and everything else.
9413
9414 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9415 regexp which "info func operator\[\](" is supposed to match. Fix
9416 string to send to GDB. Note that GDB still doesn't work right. Add a
9417 new test for "info func .perator\[\](" which GDB does handle correctly.
9418
9419 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9420
9421 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9422
9423 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9424 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9425 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9426 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9427 it makes the tests harder to understand and confuses test-o-matic.
9428 The preferred style is that each test provides a PASS or a FAIL,
9429 and has a unique message (e.g. "continue #54" not just "continue")
9430 which is the same for the pass and the fail.
9431 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9432 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9433 to lib/gdb.exp.
9434 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9435 prt_accept which was basically the same thing. Likewise for
9436 test_print_reject and prt_reject.
9437 * lib/gdb.exp (test_print_reject): Add some more error message
9438 patterns to match from the former printcmds.exp (prt_reject).
9439 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9440 One defect of the passcount stuff is that some of it failed to
9441 report XPASS where appropriate.
9442 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9443 stuff before and after arg in expected pattern.
9444 (test_paddr_operator_functions): Re-do test without print_addr_of;
9445 this is the only test which seems to want extra stuff there.
9446
9447 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9448
9449 * gdb.base/nodebug.exp: Update new tests to reflect improved
9450 wording of gdb output.
9451
9452 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9453 and "ptype" work on variables in files compiled without -g.
9454 Replaces commented out "maint print msymbol" tests.
9455
9456 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9457
9458 * gdb.base/setvar.c (dummy): Call malloc.
9459
9460 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9461 losing with the irix4 sed.
9462
9463 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9464 ALRM" on irix4.
9465
9466 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9467
9468 * TODO: Remove items about corefile.exp testing new exec-file and
9469 backtrace; both are now done. Add items about printing enums.
9470
9471 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9472
9473 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9474 "get signal $thissig" test fails.
9475
9476 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9477
9478 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9479
9480 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9481 compiler warning with dec alpha compiler.
9482
9483 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9484 extra \n from gdb_test call (this explains why the prompt test
9485 that I removed yesterday was there).
9486 (user_defined_command_test): Remove extra \n and prompt test.
9487
9488 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9489 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9490 doesn't exist.
9491 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9492 Also remove alpha workaround, which turns out to be because
9493 SIGABRT == SIGLOST.
9494
9495 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9496
9497 * gdb.base/help.exp: Don't test "help show".
9498
9499 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9500
9501 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9502 "set print address" is on.
9503 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9504 pass prompt to gdb_test; gdb_test already looks for the prompt.
9505
9506 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9507
9508 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9509 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9510 was to make sure that gdb can read a core file. But (a) the "read
9511 the corefile" part didn't make it to a1-selftest.exp, we just
9512 delete the corefile after creating it, and (b) we test reading
9513 corefiles in corefile.exp anyway. Also, this test left around a
9514 xgdb process on Solaris.
9515
9516 * gdb.base/corefile.exp: Also test backtrace.
9517
9518 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9519
9520 * gdb.base/commands.exp: Test a simple user defined command with
9521 arguments and if/while statements; verify the full user command is
9522 printed by "show user".
9523
9524 * gdb.base/commands.exp: Test if/while commands as part of a
9525 breakpoint command list; verify they appear in breakpoint
9526 information.
9527
9528 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9529
9530 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9531 than by dividing by zero.
9532
9533 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9534
9535 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9536 performing an inferior call with watchpoints enabled.
9537 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9538 call.
9539
9540 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9541
9542 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9543 of "file" command.
9544
9545 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9546 Add additional pattern for when "int operator int(void);" appears
9547 in a different order.
9548
9549 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9550
9551 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9552
9553 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9554 and "signal" with ".*".
9555
9556 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9557
9558 * TODO: Add note about "handle all nostop".
9559
9560 * gdb.base/{sigall.c, sigall.exp}: New test.
9561 * gdb.base/Makefile.in: Add it.
9562
9563 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9564
9565 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9566 when invoking GDB, suppresses any windowing interface.
9567
9568 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9569
9570 * config/sim-gdb: New file, simulator testing support.
9571
9572 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9573
9574 * gdb.base/interrupt.exp: Test calling func1 twice.
9575
9576 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9577
9578 * gdb.base/list.exp (test_forward_search): Set timeout higher
9579 when we'll be getting lots of output from gdb.
9580
9581 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9582 "init_malloc" to after the expect statement. Run it if that
9583 regexp is taken, but also for two others which happen if source
9584 cannot be found.
9585
9586 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9587
9588 * gdb.base/printcmds.exp: New test, for printing register before
9589 program is running.
9590
9591 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9592
9593 * gdb.base/list.exp: Correct some alternate expect patterns
9594 to reflect changes in list1.c.
9595
9596 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9597
9598 * TODO: Add item regarding large frames.
9599
9600 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9601
9602 * TODO: Remove item about enabling return.exp; it
9603 is enabled. Suggest a few more "return" tests.
9604
9605 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9606
9607 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9608 anonymous unions.
9609
9610 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9611
9612 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9613 and pr-5646.o, so "make" is the same as "make all", not "make
9614 pr-4975.o".
9615
9616 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9617
9618 * gdb.base/list.exp: Adjust expectations to reflect changes in
9619 list1.c.
9620 (test_forward_search): New test proc.
9621 * gdb.base/list1.c (long_line): New function, has long source line.
9622
9623 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9624
9625 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9626 additional line of code that was added.
9627
9628 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9629
9630 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9631 tests so as not to overflow expect's input buffers.
9632 * gdb.disasm/hppa.exp: Corresponding changes.
9633
9634 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9635
9636 Beginnings of template debugging tests.
9637 * gdb.c++/templ-info.cc: New file to test for template
9638 debugging capability of the compiler.
9639 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9640 templ-info.cc.
9641 * gdb.c++/templates.cc: Add explicit template instantiations
9642 to enable compiling with -fno-implicit-templates. Add destructor
9643 and 'value' method to T5 class for template tests.
9644 * gdb.c++/templates.exp: Add testcases for printing of template
9645 types, setting breakpoints on template methods and calling a
9646 template method.
9647
9648 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9649
9650 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9651 branch target since some assemblers (gas-2.5) may emit a
9652 relocation for the branch instead of resolving it in the
9653 assembler.
9654
9655 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9656
9657 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9658 through signal handler.
9659
9660 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9661
9662 * configure.in (*-*-netware): Use config/mt-netware.
9663
9664 * config/mt-netware: New file.
9665 * config/mt-i386-netware: Removed, separate configs for different
9666 netware architectures are no longer needed now that we have
9667 --with-headers.
9668
9669 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9670
9671 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9672 by the recent changes to use ANSI C arithmetic conversions.
9673
9674 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9675
9676 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9677 bug involving using inferior_pid to figure out whether to select a
9678 frame.
9679
9680 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9681
9682 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9683 match the current disassembler output.
9684
9685 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9686
9687 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9688 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9689 types, expect "int" as type of integer values (for now).
9690
9691 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9692
9693 * gdb.base/commands.exp: New tests for if/while commands.
9694
9695 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9696
9697 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9698 by .*, since hex values have different syntax in Chill mode.
9699
9700 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9701
9702 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9703 linefeed from expect pattern for repeated types with indices > 9.
9704
9705 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9706
9707 First part of Fortran test suite.
9708 * gdb.fortran: New directory.
9709 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9710
9711 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9712
9713 * gdb.base/default.exp: Update expect pattern for load command
9714 without arguments.
9715
9716 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9717
9718 * configure.in: Change i386 to i[345]86.
9719 * gdb.base/configure.in: Likewise.
9720 * gdb.c++/configure.in: Likewise.
9721 * gdb.chill/configure.in: Likewise.
9722
9723 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9724
9725 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9726 patterns, since that is not a valid context for comments.
9727
9728 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9729
9730 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9731 repeated types and repeated types with indices > 9.
9732
9733 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9734
9735 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9736 2417; old bug has been fixed.
9737
9738 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9739
9740 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9741 send the newline ourselves instead of assuming gdb_test will do
9742 so when passed an empty input string.
9743
9744 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9745 stabs testcode.
9746
9747 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9748
9749 * lib/gdb.exp (gdb_test): Don't send anything if the first
9750 argument is an empty string. This makes cases where we want to
9751 match output that is already in expect's buffers (for example,
9752 matching a breakpoint after gdb_run_cmd has been called) work
9753 reliably.
9754
9755 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9756
9757 * config/netware.exp: New file.
9758
9759 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9760
9761 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9762 the -B and -L prefixes so we can find the debugging stub.
9763
9764 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9765 there and we are using the gcc from the tree.
9766
9767 * gdb.base/types.c: Removed.
9768
9769 * gdb.base/configure.in: Look for makefile fragments in ../config.
9770 Recognize i386-*-netware.
9771 * gdb.c++/configure.in: Likewise.
9772
9773 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9774
9775 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9776 the correct TCL syntax.
9777
9778 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9779
9780 * gdb.base/opaque.exp: use runto instead of messing around with
9781 breakpoints. Simplify by using gdb_test.
9782
9783 * gdb.base/bitfields.exp: restart between tests on netware targets
9784 because breakpoints aren't relocated after target death. Run
9785 processes to completion.
9786
9787 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9788
9789 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9790
9791 * Makefile.in: Remove extra tabs that confuse some versions
9792 of "make". Use the newly built gdb to test with by default,
9793 rather than the first one in the tester's search path.
9794
9795 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9796
9797 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9798
9799 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9800 condition help.
9801
9802 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9803
9804 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9805
9806 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9807 running.
9808 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9809 * gdb.base/funcargs.exp: Likewise.
9810
9811 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9812 * gdb.base/funcargs.exp: Likewise.
9813
9814 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9815 message is "".
9816
9817 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9818
9819 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9820 return,signals,twice}.exp: Handle non-existant binaries
9821 consistantly.
9822
9823 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9824 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9825 might testing a cross development system.
9826
9827 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9828
9829 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9830 runtest script is relative to ${srcdir}, not ${rootdir}.
9831
9832 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9833
9834 * gdb.base/signals.exp: Allow for optionality of breakpoint
9835 address.
9836
9837 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9838
9839 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9840
9841 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9842
9843 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9844 for size_t definition.
9845 * gdb.c++/templates.cc: Likewise
9846
9847 * config/mt-i386-netware: New file.
9848
9849 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9850 defined.
9851
9852 * gdb.base/Makefile.in: Added support for systems that name core
9853 files by appending "core" to the program name.
9854 * gdb.base/a1-selftest.exp: Likewise.
9855
9856 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9857
9858 * gdb.base/return.exp: Add comment and message for `return double'
9859 test failure on Sparc Solaris.
9860
9861 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9862
9863 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9864
9865 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9866
9867 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9868 from optimizing them away.
9869 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9870 patterns to include default constructors and assignment operators,
9871 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9872 character in the output of the virtual base pointer.
9873
9874 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9875
9876 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9877 expression match in print_addr_of to avoid unintented matches.
9878 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9879 versions up to 2.5.8.
9880
9881 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9882
9883 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9884 included file to run under newer versions of expect.
9885 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9886 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9887 Remove xfail for the virtual table of BDDHookV.
9888
9889 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9890
9891 * lib/gdb.exp (string_to_regexp): Set a default result.
9892 (default_gdb_start): Fix misleading message.
9893
9894 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9895
9896 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9897 Remove all CC, etc definitions.
9898 * config/mt-hpux: New file.
9899 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9900 (CFLAGS, LDFLAGS): Define.
9901 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9902
9903 * Makefile.in (site.exp): Don't insert host_os, etc.
9904 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9905 (distclean): Check existence of subdir.
9906 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9907 * gdb.base/Makefile.in: General cleanup and simplification.
9908 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9909 to build executables. Use default rule to build .o files.
9910 (EXPECT, RUNTEST, CC): Fix relative pathname.
9911 (site.exp): Don't insert host_os, etc.
9912 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9913 and/or SIGUSR1 defined.
9914 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9915 * gdb.c++/Makefile.in: General cleanup and simplification.
9916 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9917 (CFLAGS): Remove.
9918 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9919
9920 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9921
9922 * gdb.base/recurse.exp: Misc changes to get tests running again
9923 after Kung's changes to the watchpoint code.
9924 * gdb.base/watchpoint.exp: Likewise.
9925
9926 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9927
9928 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9929
9930 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9931
9932 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9933 * lib/gdb.exp (default_gdb_start): Define.
9934 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9935 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9936 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9937 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9938 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9939 Don't call gdb_target_udi in between tests.
9940
9941 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9942
9943 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9944 (which was basically just a local version of the same thing). In
9945 addition to avoiding duplication, gdb_test_exact is faster.
9946 * lib/gdb.exp (gdb_test_exact): Fix typo.
9947
9948 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9949 don't give an error.
9950
9951 * gdb.base/term.exp: Call delete_breakpoints before starting.
9952
9953 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9954 (t10): Add comment.
9955
9956 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9957
9958 Reorganization of the GDB Test Suite.
9959
9960 * gdb.base: New directory, contains all the basic tests.
9961 * gdb.c++: New directory, tests specific to C++.
9962 * gdb.chill: New directory, tests specific to Chill.
9963 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9964 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9965 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9966 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9967 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9968 t30-31 to chill).
9969 * */gdbme.*: Rename to match appropriate expect scripts.
9970 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9971 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9972 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9973 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9974 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9975 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9976 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9977 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9978 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9979 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9980 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9981 gdb.c++/virtfunc.cc: New names of C++ files.
9982 * gdb.chill/chillvars.ch: New name of Chill file.
9983 * gdb.base/configure.in, gdb.c++/configure.in,
9984 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9985 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9986 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9987 * configure.in (configdirs): Update to reflect directory changes.
9988 (target_abbrev): No longer define for any configuration.
9989 * Makefile.in: Cosmetic improvements to header comments.
9990
9991 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9992
9993 Various changes to gdb.t31:
9994
9995 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9996 * gdbme.ch: Make all key-words and predefineds be upper-case.
9997 * chillvars.exp: Expect key-words and predefinds in upper-case.
9998
9999 * chillvars.exp: Use gdb_test_exact many places.
10000 Change expected output for arrays (which now includes index labels).
10001
10002 * pr-5020.exp, gdme.ch (module PR_5020):
10003 New test, for PR-5020.
10004
10005 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10006
10007 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10008 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10009
10010 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10011
10012 * Makefile.in: Fix bit-rot in definitions of CHILL,
10013 CHILL_FOR_TARGET and Chill_LIB.
10014 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10015 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10016 CHILL, and CHILL_LIB.
10017
10018 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10019
10020 * Revert the previous changes. Please see Rob's directory
10021 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10022
10023 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10024
10025 * Makefile.in, configure.in, config/mips-gdb.exp,
10026 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10027 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10028 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10029 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10030 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10031 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10032 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10033 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10034 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10035 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10036 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10037 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10038 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10039 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10040 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10041 changes from 94Q1.
10042
10043 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10044
10045 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10046 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10047 Rob's new testing fragments.
10048
10049 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10050
10051 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10052 lib/gdb.exp: Replace error proc calls with perror.
10053
10054 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10055
10056 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10057 version also, match on casted version strings, and match on
10058 gdb startup case where the line numbers might be messed up.
10059
10060 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10061
10062 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10063 (CFLAGS): Delete it from here.
10064
10065 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10066
10067 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10068
10069 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10070
10071 * Makefile.in (RUNTEST): Default to just "runtest".
10072
10073 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10074
10075 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10076 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10077 the code has been restructured.
10078
10079 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10080
10081 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10082 \n, not just one of each.
10083
10084 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10085 /bin/cc gives a warning if you do.
10086
10087 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10088
10089 * gdb.t24/demangle.exp: change expect pattern of
10090 __t10ListS_link1ZUiRCUiPT0
10091
10092 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10093
10094 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10095 on local variables in recursive functions.
10096
10097 * gdb.t07/Makefile.in: Build the new test.
10098
10099 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10100
10101 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10102 directly. Instead compare the return values from actual calls.
10103
10104 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10105
10106 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10107
10108 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10109
10110 * From Peter Schauer with minor modifications.
10111 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10112 stops in mid-line in the caller. Add xfail for returning a float
10113 value on X86 targets.
10114
10115 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10116
10117 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10118 to avoid expect lossage.
10119 (fmem_LRbug_tests): Likewise.
10120 * gdb.disasm/hppa.s: Corresponding changes.
10121
10122 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10123 conditions to work with latest dejagnu/expect.
10124
10125 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10126 expected to fail on the PA.
10127 (backtrace in call with trampolines): Explicitly require main
10128 to be frame #1 (no trampolines should show up in backtrace).
10129
10130 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10131 "continue -expect".
10132 * gdb.t06/break.exp: Likewise.
10133 * gdb.t07/watchpoint.exp: Likewise.
10134 * gdb.t13/bitfields.exp: Likewise.
10135 * gdb.t15/{funcargs,return}.exp: Likewise.
10136 * gdb.stabs/weird.exp: Likewise.
10137 * config/{mips,udi}-gdb.exp: Likewise.
10138
10139 * hppa.sed: Enclose comments within a sed command to avoid
10140 losing with the old OSF1 sed.
10141
10142 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10143
10144 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10145 sequent dynix.
10146 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10147 * gdb.t15/funcargs.exp: Conditionally step again to really
10148 finish from marker_call_with_trampolines. Handle the case where
10149 the first step from within call_with_trampolines already steps
10150 us back to main.
10151 * gdb.t15/gdbme.c: Add comment to closing brace of
10152 call_with_trampolines for funcargs.exp.
10153
10154 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10155
10156 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10157 Fix typo(s).
10158
10159 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10160
10161 * gdb.t07/gdbme.c: More code for watchpoint testing.
10162
10163 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10164 "Hardware watchpoint" throughout file.
10165 (test_watchpoint_triggered_in_syscall): New test.
10166 (test_complex_watchpoint): New test.
10167
10168 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10169
10170 * gdbme.c (call_with_trampolines): New function to try and step
10171 into. Tests trampoline problems on the PA.
10172
10173 * funcargs.exp (localvars_in_indirect_call): No longer expect
10174 stepping into indirect call to fail on PAs.
10175 (test_stepping_over_trampolines): New test.
10176
10177 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10178
10179 * TODO: Add suggestions for static member function tests, and
10180 completion tests.
10181
10182 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10183
10184 * TODO: Add suggestions for "p/a" tests.
10185
10186 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10187 (default_gdb_exit): Replace all the hair with sending "quit" to
10188 the process with a simple close.
10189
10190 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10191
10192 * TODO: Add suggestions for shared library tests.
10193
10194 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10195
10196 * TODO: Add suggestions for x/s tests.
10197
10198 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10199
10200 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10201 "enable once", and "enable breakpoints once" with ".*".
10202
10203 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10204
10205 * TODO: Add suggestions about structure passing tests.
10206
10207 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10208
10209 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10210 the primary1 test, use work around if __GNUC__ < 2.
10211 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10212 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10213 Test for bad output rather than waiting for timeout. Issue
10214 second continue only if first continue failed.
10215
10216 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10217
10218 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10219 operator[] test with gdb_test because the old code didn't seem to
10220 be getting the quoting right with the new dejagnu.
10221
10222 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10223
10224 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10225 one from the path.
10226 * Makefile.in: Use a fresh expect if there is one, use runtest
10227 from the src tree if there is one.
10228
10229 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10230
10231 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10232 next over recursive call. Revise the tests from that point on
10233 (which had been skipped) to match GDB's actual (correct) output.
10234
10235 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10236 with next over a breakpoint whose condition is false.
10237
10238 * gdb.t00/help.exp: Comment out "help set print" tests just like
10239 (and for same reason as) "help set" test.
10240
10241 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10242
10243 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10244 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10245
10246 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10247
10248 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10249 necessary gdb_target_udi.
10250
10251 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10252
10253 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10254 1838 and 2417; they are fixed.
10255
10256 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10257 gdb.t03/ptype.exp (ptype structure, ptype union):
10258 Remove xfails; the test is looser than when the xfails were added.
10259
10260 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10261 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10262
10263 * gdb.t01/run.exp: Only run shell test if isnative.
10264
10265 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10266 since "run" automatically loads if necessary. Call gdb_target_udi
10267 after the "file" since "file" kills any execution target.
10268
10269 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10270 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10271 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10272 argument for UDI.
10273
10274 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10275
10276 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10277
10278 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10279
10280 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10281
10282 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10283 properly quoting regexps. This makes the second argument to
10284 demangle a fixed string, which matches the callers, instead of a
10285 shell-style pattern which is what the previous implementation
10286 used. Update some of the callers.
10287
10288 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10289
10290 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10291 (comib_nullified_tests): Fix typo.
10292 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10293 strings. No longer expected to fail.
10294
10295 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10296 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10297 strings. No longer expected to fail.
10298
10299 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10300 string. No longer expected to fail.
10301
10302 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10303
10304 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10305 No longer expected to fail.
10306
10307 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10308 string. No longer expected to fail.
10309
10310 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10311
10312 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10313 only in the names (I probably got most of them). I was even
10314 generous with some which differed in underscores in names, and
10315 probably missed a few, and I *still* was able to remove almost a
10316 third of the file with almost no impact on testsuite coverage.
10317
10318 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10319
10320 * gdb.t00/default.exp: Match udi_attach error message as well as
10321 the one from child_attach.
10322
10323 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10324
10325 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10326
10327 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10328 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10329
10330 * Move test with enums and partial symbols back to
10331 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10332 Reverts the change of 26 May 93. Per today's change to
10333 stabs.texinfo, the behavior that weird.exp was expecting was
10334 unreasonable; what is important is that the compiler+gdb get
10335 things right, which happens with a recent gcc. Also fix the test
10336 to deal with native compilers which put out the stab gdb can't
10337 deal with.
10338
10339 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10340
10341 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10342 in the names. The main thing these accomplish is to slow things down.
10343 Many more such duplicates surely remain.
10344
10345 * gdb.t00/help.exp: Comment out "help support" test just like
10346 (and for same reason as) "help set" test.
10347
10348 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10349
10350 * gdb.t06/break.exp: Remove setup_xfails for
10351 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10352 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10353 about known bug in gcc to include up through 2.5.8.
10354 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10355 well as "_vb$".
10356 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10357 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10358 with latest gcc and gdb.
10359 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10360 well as "_vb$".
10361
10362 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10363
10364 * configure.in (hppa*-*-*): Also configure and build stabs-only
10365 tests.
10366
10367 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10368
10369 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10370 * gdb.t10/configure.in (hppa*-*-*): Use it.
10371
10372 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10373
10374 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10375
10376 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10377
10378 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10379 versions prior to 1.13.5.
10380
10381 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10382
10383 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10384 the prompt is at the start of a line.
10385
10386 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10387
10388 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10389 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10390 in the copr tests now.
10391 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10392 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10393 expected to fail.
10394
10395 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10396
10397 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10398 gdb.t31/chillvars.exp, lib/gdb.exp:
10399 Tweak to run under either version of expect.
10400 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10401 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10402 * gdb.t11/list.exp: Remove extraneous whitespace.
10403
10404 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10405
10406 * gdb.t16/printcmds.exp (test_print_strings): Accept
10407 "(unsigned char *) " before the string.
10408
10409 * TODO: Add notes about printing of fancy types and GDB expressions.
10410
10411 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10412
10413 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10414 * gdb.t06/configure.in: Don't try to compile signals test program
10415 if doing mips-idt-ecoff.
10416
10417 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10418
10419 * Most .exp files: Tweak to run under either version of expect.
10420
10421 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10422
10423 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10424 xfails; I'm not sure why they are failing, but not because of PR 1806.
10425
10426 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10427
10428 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10429 defined in lib/gdb.exp.
10430
10431 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10432
10433 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10434 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10435 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10436 have to be typeless.
10437
10438 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10439
10440 * TODO: Add suggestion for copyright year test.
10441
10442 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10443
10444 * configure.in (*-*-lynxos*): Add stabs tests.
10445
10446 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10447
10448 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10449 so insert a tab before any assembler directive in column zero.
10450
10451 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10452 stores.
10453 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10454 stores.
10455 (fpu_short_memory_tests): Likewise.
10456
10457 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10458
10459 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10460 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10461 .stabs directives in comments.
10462
10463 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10464
10465 * TODO: New file, describing tests we could write.
10466 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10467
10468 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10469
10470 * gdb.t06/signals.exp: Add kludge to force re-sync.
10471
10472 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10473 to xgdb instead of gdb, get out of gdb.
10474
10475 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10476
10477 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10478 for info.
10479
10480 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10481
10482 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10483 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10484 * gdb.stabs/hppa.sed: New sed script for the PA.
10485
10486 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10487
10488 * gdb.stabs: Re-write weird.def and configuration to use sed
10489 instead of cpp. sed is portable and POSIX; cpp is neither.
10490
10491 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10492
10493 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10494
10495 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10496
10497 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10498
10499 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10500
10501 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10502 "_vb$".
10503 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10504 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10505
10506 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10507
10508 * lib/gdb.exp: Comment out code which depends on non-existent
10509 `transform' procedure.
10510
10511 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10512
10513 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10514 * lib/gdb.exp: Transform tool name.
10515 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10516 1.1's new error handling system.
10517
10518 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10519
10520 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10521
10522 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10523
10524 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10525 They made pattern matching so slow that timeouts happened on
10526 heavily loaded systems. Now any output from "show print" which
10527 gets us back to the GDB prompt is a PASS.
10528
10529 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10530
10531 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10532
10533 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10534
10535 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10536
10537 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10538 It is not from PR 3220.
10539
10540 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10541
10542 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10543 just started failing because they depended on the order the
10544 subcommands are presented, or exact docstring text. This kind of
10545 test is a pain and has minimal benefit.
10546
10547 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10548
10549 * gdb.t09/corefile.exp: At end of test, use "core" command with
10550 no arguments.
10551
10552 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10553
10554 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10555 17}/Makefile.in: Make it possible to run the testsuite with Sun
10556 make and CC = cross gcc by adding explicit build rules for .o
10557 files.
10558
10559 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10560
10561 * gdb.t15/funcargs.exp: Don't put comments on same line as
10562 setup_xfail (@#$*%& tcl braindamage!).
10563
10564 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10565
10566 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10567
10568 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10569
10570 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10571 * gdb.t20/inherit.exp: remove three dumplicate entries.
10572
10573 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10574
10575 * gdb.t06/break.exp: For "next over recursive call", fail on any
10576 incorrect output, not just on "factorial (value=2)".
10577
10578 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10579
10580 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10581 working now. Add an xfail if accesing a bss variable causes
10582 a memory error if the target is not yet run.
10583
10584 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10585
10586 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10587 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10588 name of __st* demangling (2 strings). Did Kung really get the
10589 more than 95 others right without testing them?
10590
10591 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10592
10593 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10594
10595 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10596
10597 * configure.in (configdirs): Add gdb.disasm
10598 * gdb.disasm: New directory for GDB disassembler tests.
10599 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10600
10601 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10602
10603 * gdb.t00/help.exp: Don't test "help set".
10604
10605 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10606 from within expect statements. None of these happen anymore and
10607 they cause regressions to be silently unnoticed.
10608
10609 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10610 messages) about known failures with gcc cygnus-2.4.5-930417.
10611
10612 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10613 comp-info.exp so it gets built if it doesn't exist.
10614
10615 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10616 it is no longer used.
10617 * gdb.t13/comp-info.c: Removed.
10618
10619 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10620
10621 * gdb.t06/signals.exp: Add xfail for sun3.
10622
10623 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10624
10625 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10626 relevant because ^C doesn't get sent but failure can be reproduced
10627 interactively).
10628
10629 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10630
10631 * gdb.stabs/alpha.mt: New configuration file for alpha.
10632 * gdb.stabs/configure.in: Use it.
10633 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10634 sharing with alpha.mt, redefine long to word via preprocessor.
10635 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10636 for alpha.
10637 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10638 native cc.
10639 * gdb.t00/teststrategy.exp: Change expect string so that we
10640 consume the `(xgdb)' from the command echo and from the gdb prompt.
10641 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10642 gdb currently compares all values as long, so this failure probably
10643 applies to any configuration where LONGEST is bigger than a target int.
10644 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10645 with gcc.
10646 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10647 to handle opaque pointers, gcc is.
10648 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10649 as first argument. Include <sys/types.h> and change all operator
10650 new definitions to use size_t.
10651 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10652 now that we use size_t.
10653
10654 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10655
10656 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10657 a long or float array cast all array members to the same type.
10658 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10659 with 64 bit longs.
10660 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10661 on alpha.
10662 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10663
10664 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10665
10666 * gdb.t24 (demangle.exp): Constructors of templates have names like
10667 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10668 section 14.6 of the ARM.
10669
10670 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10671 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10672 accomplish little and slow down the testsuite.
10673
10674 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10675 Accept spaces various places.
10676
10677 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10678
10679 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10680 with watchpoint enabled.
10681
10682 * Makefile.in: Remove definition of CC and remove the second
10683 definition of CXX (the "CXX = gcc" one remains). These definitions
10684 were causing backquotes to be expanded within backquotes, which
10685 doesn't work.
10686
10687 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10688
10689 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10690
10691 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10692
10693 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10694 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10695 by mips cc and contains no stabs entries.
10696
10697 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10698
10699 * config/vx-gdb.exp: Use fake device to load files rather than
10700 NFS.
10701 * lib/gdb.exp: New proc to do "file" command.
10702 * config/unix-gdb.exp: Use new "file" proc.
10703
10704 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10705
10706 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10707 Rework board rebooting slightly.
10708 (gdb_exit): Don't exit from the remote shell; there isn't one.
10709 * gdb.stabs/weird.exp: If a program is being debugged already,
10710 kill it.
10711 * gdb.t04/setvar.exp: Stop and restart gdb.
10712 * gdb.t05/expr.exp: Likewise.
10713 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10714 restart gdb and reload the program.
10715 * gdb.t08/opaque.exp: Likewise.
10716 * gdb.t12/scope.exp: Likewise.
10717 * gdb.t13/bitfields.exp: Likewise.
10718 * gdb.t15/funcargs.exp: Likewise.
10719 * gdb.t20/classes.exp: Likewise.
10720 * gdb.t03/ptype.exp: Increase timeout.
10721 * gdb.t16/printcmds.exp (test_print_string_constants,
10722 test_print_array_constants): Likewise.
10723 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10724 * gdb.t20/classes.exp (do_tests): Likewise.
10725 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10726
10727 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10728
10729 * gdb.stabs: Renamed *wierd* to *weird*.
10730
10731 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10732
10733 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10734 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10735
10736 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10737
10738 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10739 (do_tests): Remove xfail for whatis on one_var and two_var.
10740
10741 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10742
10743 * Makefile.in: Made cross building work better by adding
10744 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10745
10746 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10747
10748 * gdb.t15/{return.c,return.exp,Makefile.in}:
10749 New test, currently commented out.
10750
10751 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10752
10753 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10754 still running and removes the leftover named socket so GDb can do
10755 clean restarts.
10756
10757 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10758
10759 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10760 console, not GDB.
10761 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10762 cross testing works better with "make check"
10763 * config/unix-gdb: Use default procedures for exit and version.
10764 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10765 with the newest VxWorks.
10766
10767 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10768
10769 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10770 old form.
10771
10772 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10773 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10774
10775 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10776
10777 * config/unix-gdb.exp: Remove this version of gdb_exit
10778 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10779 Rob says he'll look at it when he gets back to testing boards.
10780
10781 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10782
10783 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10784 an expected fail for certain ptype commands.
10785
10786 * gdb.t20/classes.exp: Update expected results of "ptype class
10787 Base1" to account for the constructor that now appears in the type.
10788
10789 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10790
10791 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10792 disappeared from list.
10793 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10794 "alldone" proc with call to cleanup and exit.
10795 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10796 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10797 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10798 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10799 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10800 "alldone" proc with simple returns that suppress remaining
10801 tests. The alldone proc went away many months ago.
10802
10803 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10804
10805 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10806
10807 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10808
10809 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10810
10811 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10812 as vax gdb will display them.
10813
10814 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10815
10816 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10817 optimizers.
10818
10819 * scope.exp: Change "bad value for localval" messages so each one
10820 is unique.
10821
10822 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10823 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10824
10825 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10826
10827 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10828
10829 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10830 doesn't exist (due to optimization).
10831
10832 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10833
10834 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10835 contains \r because the filename is long.
10836
10837 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10838 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10839
10840 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10841
10842 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10843 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10844 Ultrix.
10845 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10846 int tests.
10847 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10848
10849 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10850
10851 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10852
10853 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
10854 to match does not match the passing case but still matches the
10855 failing case.
10856
10857 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10858
10859 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10860
10861 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10862
10863 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10864 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10865 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10866 Remove various versions of gdb_exit.
10867 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10868 gdb_exit.
10869 * config/unix-gdb.exp: gdb_exit remains here, and should override
10870 the generic version, since it's doing a lot of wierd stuff that
10871 the other versions aren't. FIXME, fold it in, or abandon this
10872 version.
10873
10874 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10875
10876 * gdb.t24/demangle.exp: Add tests for PR 3220.
10877
10878 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10879
10880 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10881
10882 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10883
10884 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10885 "i386-*-*". Works for i486 as well.
10886
10887 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10888 bug, and expand domain of xfail to all SVR4 systems, since the
10889 actual problem is likely to be in generic SVR4 /proc support.
10890
10891 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10892
10893 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10894
10895 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10896
10897 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10898 xfails for other systems. Match a missing 'Continuing.' as an
10899 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10900
10901 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10902 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10903 Only issue warning for missing executables if -all option is used.
10904
10905 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10906 file if -all option is used. It's like an unpredictable XFAIL.
10907
10908 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10909
10910 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10911 for dynamically linked binaries.
10912
10913 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10914
10915 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10916
10917 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10918 to state that this is a known bug in old versions of g++.
10919
10920 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10921
10922 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10923 while waiting for `Continuing'.
10924
10925 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10926
10927 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10928 in text, data, and bss.
10929 * gdb.t10/nodebug.c: Add local and global test variables for
10930 initialized and uninitialized data.
10931
10932 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10933
10934 * config/unix-gdb.exp (gdb_exit): Add "wait".
10935
10936 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10937
10938 * gdb.t06/signals.exp: xfail the continue from the handler for all
10939 targets.
10940
10941 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10942 function with watchpoints enabled, the i386 call dummy starts with
10943 a call.
10944
10945 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10946 386 bsd names its corefiles.
10947
10948 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10949
10950 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10951 compilers don't grok it.
10952 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10953 with small octal ints rather than character constants, which
10954 are signed and might not fit if first promoted to int.
10955
10956 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10957
10958 * gdb.t09/Makefile.in (clean): Remove corefile.
10959
10960 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10961
10962 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10963
10964 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10965 and Jim Kingdon (kingdon@cygnus.com)
10966
10967 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10968 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10969 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10970
10971 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10972
10973 * gdb.t17/interrupt.exp: Add xfail for hppa.
10974
10975 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10976
10977 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10978 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10979 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10980 to determine signed-ness of bitfields and use the result to setup
10981 the xfail.
10982 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10983 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10984 call line is reached if necessary.
10985
10986 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10987
10988 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10989
10990 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10991
10992 * gdb.t06/break.exp: Also test `clear' command.
10993
10994 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10995
10996 * gdb.t00/teststrategy.exp: Remove extra quote.
10997
10998 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10999 watchpoint enabled to be for all non-68k machines.
11000
11001 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11002
11003 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11004
11005 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11006 targets use aout.mt instead of ecoff.mt as gas understands
11007 standard aout format.
11008
11009 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11010
11011 * lib/gdb.exp (runto): Don't insist that function we are running to
11012 was compiled with -g.
11013
11014 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11015
11016 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11017 to get back into the read system call.
11018 Accept leading newline in case where we woke it up.
11019
11020 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11021
11022 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11023 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11024 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11025 enable ecoff configuration.
11026
11027 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11028
11029 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11030
11031 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11032
11033 * gdb.t16/printcmds.exp: Add another printf test.
11034
11035 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11036
11037 * configure.in: If configured -with-stabs on any target, add
11038 stabsdirs to configdirs.
11039
11040 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11041
11042 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11043 fun" so pattern does not match the command itself.
11044
11045 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11046
11047 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11048
11049 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11050
11051 * gdb.t17/interrupt.exp: Test for more things.
11052
11053 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11054
11055 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11056 compiler arranges the code and line numbers.
11057
11058 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11059
11060 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11061
11062 * gdb.t00/help.exp: Increase expect input buffer size.
11063
11064 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11065
11066 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11067
11068 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11069
11070 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11071
11072 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11073 [0-9]*, not just [0-9].
11074
11075 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11076
11077 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11078
11079 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11080
11081 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11082
11083 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11084
11085 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11086
11087 * gdb.t06/signals.c: Add xfails for sun3.
11088
11089 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11090
11091 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11092 test_stepping tests.
11093
11094 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11095
11096 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11097
11098 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11099
11100 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11101 rather than actually putting it through cpp twice.
11102
11103 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11104
11105 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11106
11107 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11108 no longer needed.
11109
11110 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11111
11112 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11113
11114 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11115 C++ features prints as "struct", make it a pass, not an xfail.
11116
11117 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11118
11119 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11120 Don't require VA to print as "class" rather than "struct".
11121
11122 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11123
11124 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11125
11126 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11127
11128 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11129
11130 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11131
11132 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11133 order.
11134
11135 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11136
11137 * gdb.t16/printcmds.exp: Add printf tests.
11138
11139 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11140
11141 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11142
11143 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11144
11145 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11146 pass counts, to counteract any existing or future setup_xfails.
11147
11148 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11149
11150 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11151 {BEGIN,END}_COMMON for common block instead of STAB.
11152 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11153
11154 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11155 intp_var should be N_GSYM not N_LSYM.
11156 wierd-aout.S: Use a label for the value of the N_SO.
11157 wierd.def: Remove all backslashes.
11158 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11159
11160 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11161
11162 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11163 get the expected next to inheritance3.
11164
11165 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11166
11167 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11168 now that gcc-2.4 gets it right.
11169
11170 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11171
11172 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11173
11174 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11175 generating comp-info.exp which works for cross-compilation.
11176
11177 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11178
11179 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11180 "*-*-sysv4.*".
11181
11182 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11183
11184 * gdb.t01/run.exp: Start with a fresh gdb.
11185 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11186 SVR4.x.
11187
11188 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11189
11190 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11191 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11192 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11193 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11194 things to remove.
11195
11196 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11197
11198 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11199 test cases from bug reports.
11200
11201 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11202
11203 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11204 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11205 avoid spurious xfails.
11206 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11207 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11208 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11209
11210 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11211
11212 * gdb.t00/teststrategy.exp: Rework to provide more useful
11213 description of each test, fix problem with systems that define
11214 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11215 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11216 results for "next over recursive call" so timeouts aren't taken
11217 by error.
11218
11219 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11220
11221 * gdb.t12/scope.exp: Test printing of variables before run.
11222
11223 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11224 printed in wrong order due to sorting.
11225
11226 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11227
11228 * gdb.t00/teststrategy.exp: Fix expected results for printing
11229 user entered string constant. Is array of char, prints with no
11230 address.
11231
11232 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11233 commands.
11234 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11235 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11236 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11237 of struct of char arrays.
11238 * gdb.t00/radix.exp: New tests for radix commands.
11239
11240 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11241
11242 * gdb.t16/printcmd.exp: Print a variable before running program
11243 (with xfail for AIX).
11244
11245 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11246
11247 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11248
11249 * gdb.t16/printcmd.exp: Don't print variables before running program.
11250
11251 * gdb.t06/break.exp: Don't require envp argument to main.
11252
11253 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11254
11255 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11256 Add xfails for rs6000.
11257
11258 * gdb.t02/whatis.exp: Change other tests not to re-test something
11259 we already tested.
11260
11261 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11262 each type used has a variable of that type.
11263
11264 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11265
11266 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11267
11268 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11269
11270 * configure.in: change srctrigger to be a file, not a directory
11271
11272 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11273
11274 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11275
11276 * gdb.t11/list.exp: Fixed a couple of typos.
11277
11278 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11279
11280 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11281 is fixed and PR is closed.
11282 * gdb.t16 (gdbme.c): Add simple test string variable.
11283 * gdb.t16 (printcmds.exp): Add tests with simple test string
11284 variable, primarily for boundaries on "set print elements".
11285
11286 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11287
11288 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11289 Make leading 0's optional and don't expect a tab in the middle
11290 of the number.
11291
11292 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11293
11294 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11295 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11296 don't end command passed to gdb_test with newline.
11297
11298 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11299 signed keyword away, don't expect signed bitfields to be signed.
11300
11301 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11302 printing with only as many 1's as are in the field as well as printing
11303 with 32 1's (see comment).
11304
11305 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11306
11307 * gdb.t00/default.exp: Start with a fresh gdb.
11308 * configure.in (configdirs): Remove gdb.t31 until the chill
11309 compiler works again. It no longer is able to find chillrt0
11310 since it isn't in libchill.a anymore.
11311 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11312 wierd.o, make more modular.
11313 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11314 spurious newlines that caused problems.
11315
11316 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11317
11318 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11319 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11320 gdb.stabs/wierd.{exp,def}: Many new tests.
11321
11322 * gdb.t00/default.exp: update info line for new message.
11323
11324 * gdb.t02/{whatis.exp,gdbme.c}:
11325 Test that "char *" doesn't print as "caddr_t".
11326
11327 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11328
11329 * gdb.t00/help.exp: Use .* in place of some help messages which
11330 just changed.
11331 gdb.t00/default.exp: Update "info frame" test for new message.
11332 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11333 Remove some xfails
11334
11335 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11336
11337 * gdb.t03/{gdbme.c,ptype.exp}:
11338 Add tests for typedef'd struct and union without tags.
11339 Also check "whatis" on a variable of a typedef'd enum without a tag.
11340
11341 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11342 PRMS 1823; the bug still exists but isn't reproduced by this test
11343 anymore), and remove rs6000 XFAIL (the bug is fixed).
11344
11345 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11346 duplicated from whatis.exp. For those that are left, accept
11347 "long", "long int", or "int" for long variables (whatis.exp already
11348 has an XFAIL for "int", so no need to fail it here).
11349
11350 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11351 Deal with GCC's names for types now that GDB uses the compiler's names.
11352
11353 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11354 setup_xfail's for sunos4. If we #defined the signed keyword away,
11355 don't expect GDB to know that char it is signed.
11356
11357 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11358
11359 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11360
11361 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11362 should work on any system, regardless of debugging format.
11363 * gdb.t21/demangle.exp: Move to gdb.t24.
11364 * gdb.t24/demangle.exp: Move from gdb.t21.
11365 * gdb.t24/{Makefile.in, configure.in}: New files.
11366
11367 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11368
11369 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11370 * gdb.stabs: New directory.
11371
11372 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11373
11374 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11375 not just "Quit anyway?".
11376
11377 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11378
11379 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11380 that all setup_xfails are immediately followed by clear_xfails.
11381
11382 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11383
11384 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11385 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11386 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11387 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11388 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11389 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11390 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11391 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11392 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11393 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11394 gdb.t31/chillvars.exp, lib/gdb.exp:
11395 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11396 bug-gdb@prep.ai.mit.edu.
11397
11398 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11399
11400 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11401 with 0.0, not integer 0.
11402
11403 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11404
11405 * gdb.t06/break.exp: Update for "Kill the program" message change.
11406
11407 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11408
11409 * Makefile.in (GDBFLAGS): Set to -nx.
11410 * Makefile.in (site.exp): Use GDBFLAGS.
11411
11412 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11413
11414 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11415 Makefiles.
11416 (check): depend on just-check.
11417 (just-check): added so that tests can be run without a noop
11418 build pass.
11419
11420 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11421
11422 Switch to using configure's configdirs.
11423 * Makefile.in (Makefile): add configure.in dependency.
11424 (SUBDIRS): removed redundant assignment.
11425 * configure.in: switch subdirs assignment to configdirs.
11426 * gdb.t*/configure.in: new files.
11427
11428 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11429
11430 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11431 works.
11432
11433 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11434
11435 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11436 in explicit rules. Apparently this is not supported by some makes.
11437
11438 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11439
11440 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11441
11442 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11443
11444 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11445 disappeared.
11446
11447 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11448
11449 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11450
11451 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11452
11453 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11454 watchpoint problem that is now fixed.
11455 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11456 uninitialized convenience variables.
11457 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11458 structures.
11459
11460 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11461
11462 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11463 which causes expect to get out of sync with gdb on long output
11464 from help set.
11465 * gdb.t09/corefile.exp: Make expected pattern for core file
11466 failing signal and frame output format less sun specific.
11467
11468 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11469
11470 * gdb.t31/chillvars.exp: Add and remove initial dummy
11471 breakpoint, so that symbol table is forced in.
11472 (Needed at least on Sunos4, though it seems not SVR4.)
11473 * gdb.t31/chillvars.exp: Update for changed output format.
11474
11475 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11476
11477 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11478
11479 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11480
11481 * Makefile.in: Added --srcdir when invoking runtest, removed the
11482 need for a local config file. (optional now)
11483
11484 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11485
11486 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11487 failure count used to force early termination. Add some more
11488 expected failures for gnu style demangling.
11489
11490 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11491
11492 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11493 pmi variable from gdb.t20/gdbme to get optimized away.
11494 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11495 Check for written corefile upon timeout _and_ eof.
11496
11497 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11498
11499 * config/unix-gdb.exp: Add missing return 0.
11500
11501 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11502
11503 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11504 test termination.
11505
11506 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11507
11508 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11509 disappeared.
11510
11511 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11512
11513 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11514 time as i860 support works.
11515
11516 * gdb.t15/funcargs.exp: Fix expected outputs to include
11517 "backtrace 100\r" rather than just "backtrace\r", to match last
11518 change.
11519
11520 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11521
11522 * config/udi-gdb.exp (gdb_exit): Remove close command.
11523 (gdb_target_udi): New procedure to set the UDI target.
11524 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11525 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11526 Added waits for prompts after several question responses. Added
11527 some more responses used by a29k-amd-udi-gdb.
11528 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11529 pass different arguments, restart UDI connection after program
11530 completion.
11531 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11532 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11533 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11534 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11535 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11536 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11537 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11538 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11539 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11540 after program completion.
11541 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11542 compiled with a SELECT_VECS setting.
11543 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11544 infinite recursion.
11545
11546 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11547 Added checks for COFF results, and made them expected failures for
11548 all targets. It would be better to make them expected failures
11549 for COFF targets only.
11550
11551 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11552
11553 * Makefile.in: add null dvi target, don't bother to recurse
11554 through test directories for info and install-info; rename
11555 $(datadir) to be dejagnu instead of deja-gnu
11556
11557 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11558
11559 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11560 compiler to coredump.
11561 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11562 code.
11563
11564 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11565
11566 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11567 coredump.
11568 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11569 code.
11570
11571 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11572
11573 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11574 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11575 which in a shell. Deletes xgdb when done.
11576 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11577 Tests the return from the "set height" or "set width" commands.
11578 Added a few return codes where needed.
11579
11580 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11581
11582 * Makefile.in (SUBDIRS): Add gdb.t17.
11583 * configure.in (subdirs): Add gdb.t17.
11584 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11585 files to test gdb's calling of functions in the inferior with
11586 the correct arguments and gdb's ability to retrieve any
11587 result returned.
11588
11589 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11590
11591 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11592 may be called after gdb goes away. Previous versions of expect
11593 needed these to avoid file descriptor leaks, but they cause
11594 errors with the current revision of expect.
11595 * gdb.t00/gdbvars.exp: Use -re on expected output after
11596 setting sevenbit-strings.
11597 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11598 to set sevenbit-strings consistent across tests.
11599 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11600 set sevenbit-strings consistent across tests.
11601
11602 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11603
11604 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11605 expected output to match current "expect" expectations.
11606
11607 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11608
11609 * gdb.t00/default.exp: Change expected output for default "source"
11610 command, to match new gdb behavior which requires a filename to
11611 source.
11612
11613 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11614
11615 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11616 expected fail for i486-*-* that misses the marker2 function.
11617 * gdb.t10/crossload.exp (bfddefault): Allow successful
11618 recognition of a format to pass even if no symbols are found.
11619 Explicitly catch failures where the format is not recognized
11620 or is ambiguous, and add the reason to the fail message.
11621 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11622 the cause is and invalid target and add reason to failure message.
11623 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11624 elf32-i386, elf32-sparc, and elf32-i860.
11625 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11626 Set up expected failure for 'filename'::variable scope resolution,
11627 which is now apparently broken on all targets.
11628 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11629 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11630 gdb.t23/templates.exp: Change failure for missing binfile into
11631 just a warning.
11632 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11633 references.
11634
11635 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11636
11637 * gdb.t00/default.exp: Add expected output for default "source"
11638 command, to match new gdb behavior.
11639 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11640
11641 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11642
11643 * config/*-gdb.exp: returns an error, rather than exiting on
11644 internal errors.
11645
11646 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11647
11648 * gdb.t03/gdbme.c: Add pointer to struct variable.
11649 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11650 referencing struct members.
11651
11652 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11653
11654 * configure.in (mips-idt-ecoff): New target.
11655 * config/mips-gdb.exp: New file for remote board using MIPS remote
11656 debugging protocol.
11657
11658 * Redid configuration scheme. Removed gdb.t*/configure.in.
11659 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11660 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11661 distclean targets. Built executables via .o files. Adjusted
11662 tests to account for source files in $(srcdir) rather than
11663 $(objdir).
11664 * lib/gdb.exp (runto): Don't expect () after the function name,
11665 because it may have arguments.
11666
11667 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11668
11669 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11670 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11671 expected failures for mips-idt-* and mips-sgi-*.
11672 * gdb.t00/default.exp (attach): Kill process if requested.
11673 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11674 that does not read core files.
11675 * gdb.t01/run.exp: Removed checks for exit status code.
11676 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11677 it is linked in.
11678 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11679 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11680 appropriate, rather than doing it by hand.
11681 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11682 execution.
11683 * gdb.t10/crossload.exp: Kill existing program if needed.
11684 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11685 appropriate, rather than doing it by hand. Always increase
11686 timeout for this test, not just for VxWorks.
11687
11688 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11689
11690 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11691 of Chill STRUCT types and STRUCT values.
11692 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11693 than "char".
11694 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
11695 struct2): New struct definitions and initializations to test
11696 simple Chill STRUCT types.
11697
11698 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11699
11700 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11701 the null byte at the end of strings.
11702 * gdb.t00/default.exp: Make show version insensitive to copyright
11703 date.
11704 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11705 to avoid dependencies on target char signedness.
11706 * gdb.t16/printcmds.exp: Update expected results for explicitly
11707 unsigned char.
11708 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11709 now work.
11710 * gdb.t21/demangle.exp: Add many more patterns for template
11711 demangling, most of them being expected failures.
11712 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11713 string we are matching for, to match on the whole string.
11714 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11715 and fix a whole bunch that had incorrect expected output but were
11716 passing anyway because of the bug in "proc demangle".
11717 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11718 type.
11719 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11720
11721 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11722
11723 * gdb/testsuite: made modifications to testcases, etc., to allow
11724 them to work properly given the reorganization of deja-gnu and the
11725 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11726
11727 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11728
11729 * gdb/testsuite: Initial creation of gdb/testsuite.
11730 Migrated dejagnu testcases and support files for testing nm to
11731 gdb/testsuite from deja-gnu. These files were moved "as is"
11732 with no modifications. This migration is part of a major overhaul
11733 of dejagnu. The modifications to these testcases, etc., which
11734 will allow them to work with the new version of dejagnu will be
11735 made in a future update.
11736
11737 For additional changes see gdb.mi/ChangeLog-1999-2003.
11738 \f
11739 Local Variables:
11740 mode: change-log
11741 left-margin: 8
11742 fill-column: 74
11743 version-control: never
11744 End:
This page took 0.277384 seconds and 4 git commands to generate.