a9c8a5cbdbfaaa5d98de5a0ae6f31cbdf01038a2
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2004-02-27 Andrew Cagney <cagney@redhat.com>
2
3 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
4 support.
5
6 2004-02-26 Fred Fish <fnf@redhat.com>
7
8 * gdb.arch/gdb1431.c: Remove.
9 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
10 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11 of "until" incorrectly.
12
13 2004-02-26 J. Brobecker <brobecker@gnat.com>
14
15 * gdb.cp/class2.cc (empty): New class.
16 (refer): New function.
17 (main): Declare an object of type empty and use it.
18 * gdb.cp/class2.exp: Print the value of an object of type empty.
19
20 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
21
22 * gdb.base/langs.exp: Update query string to match the
23 new nquery format used for pending breakpoints.
24
25 2004-02-26 Andrew Cagney <cagney@redhat.com>
26
27 Fix PR i18n/1570.
28 * gdb.base/charset.c: Update copyright notice.
29 (main, init_string): Remove the escape character '\e' tests.
30 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
31 * gdb.base/charset.exp (valid_host_charset): Ditto.
32 * gdb.base/setvar.exp: Ditto.
33
34 2004-02-24 Andrew Cagney <cagney@redhat.com>
35
36 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
37 mmapped data in core file" PASS and FAIL messages consistent.
38
39 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
40 setting a breakpoint. Work around PR java/1565.
41
42 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
43
44 * lib/gdb.exp (gdb_breakpoint): Update query string to match
45 new nquery format.
46 * gdb.base/pending.exp: Ditto.
47
48 2004-02-22 Mark Kettenis <kettenis@gnu.org>
49
50 * configure.in: Run stabs tests on *BSD.
51 * configure: Regenerated.
52
53 2004-02-21 Mark Kettenis <kettenis@gnu.org>
54
55 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
56
57 2004-02-20 Fred Fish <fnf@redhat.com>
58
59 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
60 blank in test for "returns short", for consistency with other
61 "returns xxx" tests. Update copyright year.
62
63 2004-02-19 Fred Fish <fnf@redhat.com>
64
65 New testcase for PR breakpoint/1558.
66 * gdb.arch/gdb1558.exp: New file.
67 * gdb.arch/gdb1558.c: New file.
68
69 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
70
71 * gdb.base/nodebug.exp: Fix typo.
72
73 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
74
75 Committed by Jim Blandy <jimb@redhat.com>.
76
77 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
78
79 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
80
81 * gdb.base/float.exp: Support s390*-*-* targets.
82
83 2004-02-17 Adam Fedor <fedor@gnu.org>
84
85 * gdb.base/gdb1555.exp: New file.
86 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
87
88 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
89
90 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
91
92 2004-02-16 Fred Fish <fnf@redhat.com>
93
94 * gdb.arch/gdb1291.c: Remove
95 * gdb.arch/gdb1291.s: New test input file.
96 * gdb.arch/gdb1291.exp: Expand test to check case that should not
97 fail. Test for correct result, known incorrect result, other
98 failures and timeouts.
99
100 2004-02-16 Andrew Cagney <cagney@redhat.com>
101
102 * gdb.base/bigcore.exp: New file.
103 * gdb.base/bigcore.c: New file.
104
105 2004-02-13 Andrew Cagney <cagney@redhat.com>
106
107 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
108 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
109 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
110 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
111 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
112 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
113 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
114 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
115 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
116 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
117
118 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
119
120 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
121 executed is an alloc instruction.
122
123 2004-02-11 David Carlton <carlton@kealia.com>
124
125 * gdb.cp/breakpoint.exp: New.
126 * gdb.cp/breakpoint.cc: New.
127
128 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
129
130 Partial fix for PR gdb/1543.
131 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
132 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
133 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
134 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
135 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
136 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
137 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
138 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
139 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
140 to bug-gdb@prep.ai.mit.edu .
141 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
142 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
143 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
144 Likewise.
145
146 2004-02-10 Andrew Cagney <cagney@redhat.com>
147
148 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
149 using gdb_internal_error_resync.
150
151 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
152
153 * gdb.threads/thread-specific.exp: Stop early if no threads are
154 found.
155
156 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
157
158 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
159
160 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
161
162 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
163 breakpoints.
164
165 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
166
167 * config/sim.exp (gdb_load): Handle $arg == "".
168 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
169 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
170
171 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
172
173 * gdb.base/maint.exp: Update test to reflect
174 obstack changes.
175
176 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
177
178 * gdb.base/pendshr.c (pendfunc): New function that calls
179 pendfunc1.
180 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
181
182 2004-02-04 Fred Fish <fnf@redhat.com>
183
184 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
185 function symbols and update copyright years.
186 * gdb.arch/gdb1291.c: Ditto.
187
188 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
189
190 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
191
192 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
193
194 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
195
196 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
197
198 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
199
200 2004-02-02 Fred Fish <fnf@redhat.com>
201
202 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
203 remote targets. Update copyright years.
204
205 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
206
207 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
208 support.
209 * gdb.base/langs.exp: Fix test which attempts to create
210 breakpoint on non-existent function to handle new pending
211 support.
212 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
213 a breakpoint.
214 * gdb.base/pending.exp: New test.
215 * gdb.base/pending.c: New file.
216 * gdb.base/pendshr.c: Ditto.
217
218 2004-02-02 David Carlton <carlton@kealia.com>
219
220 * gdb.cp/overload.exp: Add overloadNamespace tests.
221 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
222 (overloadNamespace, XXX): New.
223 (main): Call XXX::marker2.
224
225 2004-02-01 Fred Fish <fnf@redhat.com>
226
227 * gdb.base/dump.exp: Use runto_main instead of "runto main".
228 * gdb.base/finish.exp: Ditto.
229 * gdb.base/gcore.exp: Ditto.
230 * gdb.base/huge.exp: Ditto.
231 * gdb.base/info-proc.exp: Ditto.
232 * gdb.base/return2.exp: Ditto.
233 * gdb.threads/gcore-thread.exp: Ditto.
234
235 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
236
237 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
238
239 2004-02-01 Mark Kettenis <kettenis@gnu.org>
240
241 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
242 that opening the file succeeds on OpenBSD.
243
244 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
245
246 * gdb.threads/thread-specific.c: New file.
247 * gdb.threads/threads-specific.exp: New test script.
248 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
249 to expect_out.
250
251 2004-02-01 Mark Kettenis <kettenis@gnu.org>
252
253 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
254 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
255 only on the "print_small_structs from print_long_arg_list" test.
256
257 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
258
259 * gdb.base/completion.exp: Kill a stray backslash.
260
261 From Jim Ingham <jingham@apple.com>:
262 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
263 agrees with the result from sending a tab.
264
265 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
266
267 * gdb.base/chng-syms.exp: Remove stray newline.
268
269 2004-01-31 Mark Kettenis <kettenis@gnu.org>
270
271 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
272 *-*-openbsd*.
273 * gdb.asm/openbsd.inc: New file.
274
275 2004-01-30 Mark Kettenis <kettenis@gnu.org>
276
277 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
278 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
279 *-*solaris2*. Remove commented out default settings for
280 asm-flags. Replace gdb_compile with target_link.
281
282 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
283
284 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
285 for all tests. Remove old hp-ux and cygnus xfail cases.
286
287 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
288
289 * gdb.base/chng-syms.exp: New file.
290 * gdb.base/chng-syms.c: New file.
291
292 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
293
294 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
295 Provide arms for current output in all my configurations.
296
297 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
298
299 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
300 * lib/compiler.cc: Likewise.
301 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
302 get the right preprocessor. Eval the output directly. Remove
303 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
304 hp_f77_compiler and hp_f90_compiler completely.
305 (gdb_preprocess): Delete.
306 (get_compiler): Delete.
307
308 2004-01-24 Mark Kettenis <kettenis@gnu.org>
309
310 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
311 <string.h>.
312
313 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
314
315 * gdb.mi/mi-stack.exp: Update copyright.
316
317 2004-01-23 David Carlton <carlton@kealia.com>
318
319 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
320 test for cp_lookup_transparent_type.
321 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
322 call them.
323
324 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
325
326 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
327 after -var-update.
328
329 2004-01-23 David Carlton <carlton@kealia.com>
330
331 * gdb.cp/namespace.cc (C::ensureRefs): New.
332 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
333
334 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
335
336 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
337 case "-stack-list-locals 2".
338 * gdb.mi/mi-var-child.exp: Test for case
339 "-var-list-children --all-values NAME".
340
341 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
342
343 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
344
345 2004-01-18 Mark Kettenis <kettenis@gnu.org>
346
347 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
348 used with gdb_test_multiple.
349
350 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
351 read at address 0. This fixes PR testsuite/1504.
352
353 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
354
355 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
356 Remove downloading, guessing the host executable, the calls to
357 gdb_file_cmd and gdb_target_cmd, and "load" support.
358 (infer_host_exec): New function broken out from gdb_load.
359 (gdb_load): New wrapper for gdbserver_gdb_load.
360 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
361 gdb_target_cmd. Use -target-select.
362 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
363 Download binaries to the host. Clear last_mi_remote_file when
364 we load a new binary.
365 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
366 call gdbserver_gdb_load and mi_gdb_target_cmd.
367
368 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
369
370 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
371 type patterns.
372
373 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
374
375 * gdb.cp/templates.exp: Fix typo in test name of
376 "print Foo<volatile char*>::foo".
377
378 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
379
380 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
381
382 2004-01-16 Ben Elliston <bje@wasabisystems.com>
383
384 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
385 (clean mostlyclean): Remove empty rm.
386
387 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
388
389 * gdb.base/setvar.exp: Add copyright years.
390
391 2004-01-14 David Carlton <carlton@bactrian.org>
392
393 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
394 PR c++/1511 and update coment.
395 * gdb.cp/templates.exp: Update patterns to match current output.
396 If changes involve something other than whitespace, KFAIL
397 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
398
399 2004-01-14 David Carlton <carlton@kealia.com>
400
401 * gdb.cp/namespace.exp: Add tests involving classes defined within
402 namespaces.
403 * gdb.cp/namespace.cc (C::CClass): New.
404 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
405
406 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
407
408 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
409 what debug info we have. Print a better message if something goes
410 wrong while producing the separate debug info file.
411
412 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
413
414 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
415
416 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
417
418 * gdb.base/callfuncs.c: Add copyright notice.
419
420 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
421
422 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
423 inheritance. PR gdb/1498, PR gcc/13539.
424
425 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
426
427 * gdb.threads/gcore-thread.exp: Prefix name of binary with
428 test specific name.
429 * gdb.mi/gdb669.exp: Ditto.
430 * gdb.mi/mi-pthreads.exp: Ditto.
431 * gdb.mi/mi1-pthreads.exp: Ditto.
432 * gdb.mi/mi2-pthreads.exp: Ditto.
433
434 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
435
436 * gdb.cp/member-ptr.cc: Add copyright notice.
437
438 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
439
440 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
441 some patterns for recent versions of gcc and hpacc. Delete
442 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
443 Delete tests that access a NULL pointer-to-member-data. This
444 script is still disabled for gcc.
445
446 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
447
448 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
449 escaped correctly.
450
451 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
452
453 * gdb.base/sepdebug.exp: New file.
454 * gdb.base/sepdebug.c: New file.
455 * lib/gdb.exp (separate_debug_filename): New procedure.
456 (gdb_gnu_strip_debug): New procedure.
457
458 2004-01-12 Andrew Cagney <cagney@redhat.com>
459
460 * gdb.mi/ChangeLog: Delete file. Renamed to ...
461 * gdb.mi/ChangeLog-1999-2003: New file.
462
463 2004-01-12 Andrew Cagney <cagney@redhat.com>
464
465 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
466 "Renaming a directory to a non-empty directory returns ENOTEMPTY
467 or EEXIST", treat EBUSY as an XFAIL.
468
469 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
470
471 * gdb.base/scope.exp: Remove obsolete setup_xfail for
472 hp_cc_compiler.
473
474 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
475
476 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
477 decorations.
478
479 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
480
481 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
482 and "(aCC)" decorations. Remove obsolete doco about old
483 test results.
484
485 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
486
487 * gdb.cp/exception.exp: Fix typo in doco.
488
489 2004-01-09 Mark Kettenis <kettenis@gnu.org>
490
491 * gdb.base/gdb1476.exp: Fix typo.
492
493 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
494
495 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
496 file.
497
498 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
499
500 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
501 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
502 Use gdb_compile. Remove restriction on gcc. Add some patterns
503 for recent version of gdb. Delete second half, which was a copy
504 of the first half with different build flags. This test is
505 still disabled because it is still not ready for production.
506
507 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
508
509 * gdb.cp/exception.cc: Add copyright notice.
510 * gdb.cp/exception.exp: Add a notice that this file is broken
511 because of line number changes caused by addition of copyright
512 notice.
513
514 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
515
516 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
517 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
518
519 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
520
521 * gdb.cp/classes.exp: Accept gnu abi 2.
522 * gdb.cp/derivation.exp: Likewise.
523 * gdb.cp/overload.exp: Likewise.
524 * gdb.cp/virtfunc.exp: Likewise.
525
526 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
527
528 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
529 semicolon after end of function.
530
531 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
532
533 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
534 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
535 boilerplate code for compiling and running the program under
536 test. Add some string method tests.
537
538 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
539
540 * gdb.cp/bs15503.cc: Add copyright notice.
541 * gdb.cp/bs15503.exp: Adjust line number.
542
543 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
544
545 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
546 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
547
548 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
549
550 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
551 hp_cc_compiler.
552
553 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
554
555 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
556 * gdb.cp/ctti.exp: Use the marker instead of "next".
557 With gcc, run further before bailing.
558
559 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
560
561 * gdb.cp/cttiadd.cc: Add copyright notice.
562 * gdb.cp/cttiadd1.cc: Likewise.
563 * gdb.cp/cttiadd2.cc: Likewise.
564 * gdb.cp/cttiadd3.cc: Likewise.
565
566 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
567
568 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
569 Use gdb_test, gdb_test_multiple. Use floating-point values that
570 have exact representations in IEEE-ish formats.
571
572 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
573
574 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
575 compilers. Delete duplicate call to get_compiler_info.
576 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
577 * gdb.base/volatile.exp: Likewise.
578
579 2004-01-07 Mark Kettenis <kettenis@gnu.org>
580
581 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
582 memory at address 0.
583
584 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
585
586 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
587 to test for hp-ux assembler. Fix copyright years.
588
589 2004-01-07 Andrew Cagney <cagney@redhat.com>
590
591 * gdb.base/fileio.c (strerrno): Add "EBUSY".
592
593 2004-01-07 Andrew Cagney <cagney@redhat.com>
594
595 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
596 when creating the read-only file. From analysis by Roland McGrath
597 and Elena Zannoni.
598
599 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
600
601 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
602
603 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
604
605 * gdb.base/cvexpr.c: Be type-safe with function pointers and
606 data pointers.
607
608 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
609
610 * gdb.cp/m-static.exp: Compile one source file at a time.
611 Delete unused call to get_compiler_info.
612
613 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
614
615 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
616 * gdb.base/call-rt-st.exp: Likewise.
617 * gdb.base/nodebug.exp: Likewise.
618 * gdb.base/volatile.exp: Likewise.
619 * gdb.cp/ref-types.exp: Likewise.
620 * gdb.cp/templates.exp: Likewise.
621
622 2004-01-05 Mark Kettenis <kettenis@gnu.org>
623
624 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
625
626 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
627
628 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
629 hppa*-hp-hpux*.
630
631 2004-01-04 Mark Kettenis <kettenis@gnu.org>
632
633 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
634 x86_64-*-*.
635
636 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
637 sparc64-*-* and sparc*-solaris2*.
638
639 2004-01-04 Mark Kettenis <kettenis@gnu.org>
640
641 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
642 return ${tests}" test. The ${tests} already mentions the
643 filename.
644
645 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
646
647 * gdb.cp/local.exp: Accept gcc abi 2.
648
649 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
650
651 * gdb.cp/templates.exp: Accept gcc abi 2.
652
653 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
654
655 * lib/compiler.cc: Remove supports_template_debugging.
656 * gdb.cp/templates.exp: Do not test supports_template_debugging.
657
658 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
659
660 * gdb.cp/namespace.exp: Accept gcc abi 2.
661
662 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
663
664 * gdb.cp/method.exp: Accept gcc abi 2.
665
666 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
667
668 * gdb.cp/classes.exp: Generate identical results as old version.
669 * gdb.cp/derivation.exp: Likewise.
670 * gdb.cp/overload.exp: Likewise.
671 * gdb.cp/virtfunc.exp: Likewise.
672
673 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
674
675 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
676 mysterious bug with sourceware version of expect.
677
678 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
679
680 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
681 current versions of gcc, including gcc abi 2. Remove gratuitous
682 restart of test program. Use gdb_test_multiple and gdb_test for
683 all tests. Add patterns to xfail missing "const" in "const char *"
684 and kfail PR gdb/1155.
685
686 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
687
688 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
689 current versions of gcc, including gcc abi 2. Remove gratuitous
690 restart of test program. Use gdb_test_multiple and gdb_test for
691 all tests. Add patterns to kfail PR gdb/1498.
692
693 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
694
695 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
696 current versions of gcc, including gcc abi 2. Use "breakpoint"
697 and "continue" instead of restarting the target program. Use
698 gdb_test_multiple and gdb_test for all tests.
699
700 2004-01-01 Mark Kettenis <kettenis@gnu.org>
701
702 * gdb.asm/asm-source.exp: Update copyright year. Link statically
703 for *-*-solaris2*.
704
705 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
706
707 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
708 current versions of gcc, including gcc abi 2. Use "breakpoint"
709 and "continue" instead of restarting the target program several
710 times. Use gdb_test_multiple and gdb_test for all tests.
711
712 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
713
714 * gdb.base/sect-cmd.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/environ.exp: Handle compiling test case from multiple
720 source files.
721
722 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
723
724 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
725
726 2003-12-17 Jim Blandy <jimb@redhat.com>
727
728 * gdb.base/freebpcmd.c: Add copyright notice.
729
730 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
731
732 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
733
734 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
735
736 2003-12-13 Jim Blandy <jimb@redhat.com>
737
738 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
739
740 2003-12-12 Kevin Buettner <kevinb@redhat.com>
741
742 * gdb.asm/frv.inc: New file.
743 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
744
745 2003-12-09 Fred Fish <fnf@redhat.com>
746
747 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
748 functions to break1.c and leave prototypes behind. Add more
749 "set breakpoint NN here" comments.
750 * gdb.base/break1.c: New file.
751
752 * gdb.base/break.exp: Handle compiling test case from multiple
753 source files and change source file references as needed.
754 * gdb.base/completion.exp: Ditto.
755 * gdb.base/condbreak.exp: Ditto.
756 * gdb.base/define.exp: Ditto.
757 * gdb.base/ena-dis-br.exp: Ditto.
758 * gdb.base/info-proc.exp: Ditto.
759 * gdb.base/maint.exp: Ditto.
760 * gdb.base/until.exp: Ditto.
761
762 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
763 hardcoded line numbers.
764 * gdb.base/define.exp: Ditto.
765 * gdb.base/ena-dis-br.exp: Ditto.
766 * gdb.base/maint.exp: Ditto.
767 * gdb.base/until.exp: Ditto.
768
769 * gdb.base/completion.exp: Use "break1" for completion tests since
770 "break" is no longer a unique prefix.
771
772 2003-12-06 Andrew Cagney <cagney@redhat.com>
773
774 * gdb.base/structs.exp (test_struct_returns): When applicable, set
775 "return_value_unimplemented". When an unimplemented struct return
776 architecture, report incorrect values as a KFAIL
777
778 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
779
780 * gdb.cp/rtti.exp: Accept new wording of warning from
781 cp_lookup_rtti_type.
782
783 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
784
785 Partial fix for PR testsuite/1456.
786 * gdb.base/scope.exp (test_at_main): Replace references to
787 gcc_compiled with calls to test_compiler_info.
788 (test_at_foo): Likewise.
789 (test_at_bar): Likewise.
790
791 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
792
793 Partial fix for PR testsuite/1456.
794 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
795 to test_compiler_info.
796
797 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
798
799 * gdb.base/so-impl-ld.exp: Update copyright notice.
800
801 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
802
803 Partial fix for PR testsuite/1456.
804 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
805 to test_compiler_info.
806
807 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
808
809 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
810 from current versions of gdb. Clean up regular expressions.
811 Delete redundant timeout case.
812
813 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
814
815 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
816 from current versions of gdb. Clean up regular expressions.
817 Delete redundant timeout case.
818
819 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
820
821 Partial fix for PR testsuite/1456.
822 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
823 gcc_compiled with call to test_compiler_info.
824
825 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
826
827 Partial fix for PR testsuite/1456.
828 * gdb.base/list.exp (test_list_function): Delete unused declaration
829 of gcc_compiled.
830
831 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
832
833 Partial fix for PR testsuite/1456.
834 * gdb.base/complex.exp: Replace reference to gcc_compiled with
835 call to test_compiler_info.
836
837 2003-11-29 Mark Kettenis <kettenis@gnu.org>
838
839 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
840 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
841 it to create the appropriate note.inc.
842 * gdb.asm/asmsrc1.s: Include "note.inc".
843 * gdb.asm/netbsd.inc: New file.
844 * gdb.asm/empty.inc: New file.
845
846 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
847
848 Partial fix for PR testsuite/1456.
849 * gdb.base/constvars.exp: Replace references to gcc_compiled with
850 calls to test_compiler_info.
851
852 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
853
854 Partial fix for PR testsuite/1456.
855 * gdb.base/volatile.exp: Replace references to gcc_compiled with
856 calls to test_compiler_info.
857
858 2003-11-27 Mark Kettenis <kettenis@gnu.org>
859
860 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
861 pattern for the KFAILs.
862
863 2003-11-25 Adam Fedor <fedor@gnu.org>
864
865 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
866 * gdb.objc/objcdecode.m: New file.
867
868 2003-11-25 Adam Fedor <fedor@gnu.org>
869
870 * gdb.objc/nondebug.exp: Test for PR objc/1236.
871 * gdb.objc/nondebug.m: New file.
872
873 2003-11-26 Ben Elliston <bje@wasabisystems.com>
874
875 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
876 NetBSD as it does on FreeBSD. Modelled on a similar change by
877 Mark Kettenis on 2003-05-30.
878 (link-flags): Set to "--entry _start" regardless of target.
879 Special linker flags are to be appended to $link-flags.
880 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
881
882 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
883
884 * gdb.cp/method.exp: Accept output of new demangler.
885
886 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
887
888 * gdb/class2.exp: New file.
889 * gdb/class2.cc: New file.
890
891 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
892
893 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
894 of new demangler.
895
896 2003-11-23 Mark Kettenis <kettenis@gnu.org>
897
898 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
899 of gdb_test "run".
900
901 2003-11-23 Mark Kettenis <kettenis@gnu.org>
902
903 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
904 "continue" into "run".
905
906 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
907
908 Partial fix for PR testsuite/1456.
909 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
910 call to test_compiler_info.
911 * gdb.cp/ctti.exp: Likewise.
912 * gdb.cp/derivation.exp: Likewise.
913 * gdb.cp/member-ptr.exp: Likewise.
914 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
915 reference to gcc_compiled.
916
917 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
918
919 Fix PR testsuite/1463.
920 * gdb.base/structs.exp (start_structs_test): Call
921 get_debug_format before using the debug format.
922
923 2003-11-22 Andrew Cagney <cagney@redhat.com>
924
925 * lib/gdb.exp (gdb_test_multiple): Add simple example.
926 * gdb.base/structs.exp: Use gdb_test_multiple.
927
928 2003-11-20 Andrew Cagney <cagney@redhat.com>
929
930 * gdb.base/structs.exp: Handle and recover from internal errors.
931 Replace "foo${n}" with "foo<n>" in test messages.
932
933 * gdb.base/structs.exp: Update copyright. Rewrite.
934 * gdb.base/structs.c: Update copyright. Rewrite.
935
936 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
937 resync count exceeded.
938
939 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
940 from the internal error.
941 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
942 Original from Jim Blandy.
943 (gdb_test_multiple): Use gdb_internal_error_resync.
944
945 2003-11-19 Andrew Cagney <cagney@redhat.com>
946
947 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
948 KFAIL.
949
950 2003-11-17 Mark Kettenis <kettenis@gnu.org>
951
952 New testcase for PR backtrace/1435.
953 * gdb.arch/i386-unwind.exp: New file.
954 * gdb.arch/i386-unwind.c: New file.
955
956 2003-11-17 Andrew Cagney <cagney@redhat.com>
957
958 * lib/gdb.exp (compiler_info): New global.
959 (test_compiler_info): New function.
960 (get_compiler_info): Set compiler_info.
961 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
962 "compiler_info" to gcc-<major>-<minor>.
963
964 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
965
966 * gdb.trace/configure: Remove.
967
968 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
969
970 * gdb.base/break.c: Add comments to aid finding line numbers for
971 breakpoints.
972 * gdb.base/break.exp: Remove all references to explicit line
973 numbers.
974
975 2003-11-11 Nick Clifton <nickc@redhat.com>
976
977 * gdb.base/shreloc.exp: Do not run for targets which do not
978 support shared objects.
979
980 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
981
982 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
983 Don't run tests if nofileio flag is given.
984
985 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
986
987 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
988 as well as 'Watchpoint'.
989
990 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
991
992 Reported by Jim Ingham <jingham@apple.com>:
993 * gdb.base/annota1.exp: Match at least one occurrence of the
994 signal handler annotation.
995
996 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
997
998 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
999 as well as 'Watchpoint'.
1000
1001 2003-11-05 Michael Chastain <mec@shout.net>
1002
1003 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1004
1005 2003-11-03 Kris Warkentin <kewarken@qnx.com>
1006
1007 * gdb.arch/gdb1291.c: New test file.
1008 * gdb.arch/gdb1291.exp: New test script.
1009 * gdb.arch/gdb1431.c: New test file.
1010 * gdb.arch/gdb1431.exp: New test script.
1011
1012 2003-10-22 Michael Chastain <mec@shout.net>
1013
1014 * gdb.mi/pthreads.c: Add copyright notice.
1015
1016 2003-10-22 Michael Chastain <mec@shout.net>
1017
1018 * gdb.threads/pthreads.c: Add copyright notice.
1019
1020 2003-10-20 Michael Chastain <mec@shout.net>
1021
1022 * gdb.base/gdb1056.exp: New test script.
1023
1024 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
1025
1026 * gdb.threads/killed.exp: Use gdb_run_cmd.
1027
1028 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
1029
1030 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1031 create a core file.
1032 * gdb.threads/gcore-thread.exp: Likewise.
1033
1034 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
1035
1036 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1037 type, based on char type.
1038 (struct bit_flags_short_t): New bitfield type, based on short type.
1039 (init_bit_flags_char): New fuction.
1040 (init_bit_flags_short): Ditto.
1041 (print_bit_flags_char): Ditto.
1042 (print_bit_flags_short): Ditto.
1043 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1044
1045 2003-10-11 Michael Chastain <mec@shout.net>
1046
1047 * gdb.base/call-rt-st.exp: Update copyright year.
1048
1049 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1050
1051 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1052 * gdb.disasm/sh3.s: Ditto.
1053
1054 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
1055
1056 * gdb.threads/switch-threads.exp: New test.
1057 * gdb.threads/switch-threads.c: New source file.
1058
1059 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
1060
1061 * gdb.base/ending-run.exp: Add sh specific case.
1062
1063 2003-10-06 Andrew Cagney <cagney@redhat.com>
1064
1065 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1066 * gdb.disasm/mn10200.exp: Delete obsolete file.
1067
1068 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
1069
1070 * ChangeLog: Correct an entry command.exp -> commands.exp.
1071 * gdb.base/commands.exp (bp_deleted_in_command_test)
1072 (temporary_breakpoint_commands): Check noargs.
1073
1074 2003-09-25 David Carlton <carlton@kealia.com>
1075
1076 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1077 of some print tests, where appropriate. Add tests for C::D::cd,
1078 E::ce, F::cXfX, G::XgX.
1079 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1080
1081 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
1082
1083 * lib/java.exp (java_init): Import target_alias before using it.
1084
1085 2003-09-25 David Carlton <carlton@kealia.com>
1086
1087 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1088
1089 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
1090
1091 * gdb.base/selftest.exp: Accomodate more instruction reordering
1092 weirdness.
1093
1094 2003-09-17 Michael Chastain <mec@shout.net>
1095
1096 * gdb.cp/gdb1355.exp: New file.
1097 * gdb.cp/gdb1355.c: New file.
1098
1099 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
1100
1101 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1102 * gdb.asm/sh.inc: New file.
1103
1104 2003-09-11 David Carlton <carlton@kealia.com>
1105
1106 * gdb.cp/namespace.exp: Add tests for namespace types.
1107 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
1108 (test_namespace): New.
1109
1110 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
1111
1112 * gdb.base/relocate.exp: Handle new gdb output at startup.
1113 * gdb.stabs/weird.exp: Ditto.
1114
1115 2003-09-08 Michael Chastain <mec@shout.net>
1116
1117 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1118
1119 2003-09-07 Michael Chastain <mec@shout.net>
1120
1121 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1122 'parse error'.
1123
1124 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1125
1126 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1127
1128 2003-08-30 Michael Chastain <mec@shout.net>
1129
1130 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1131 * gdb.gdb/observer.exp: Ditto.
1132 * gdb.gdb/xfullpath.exp: Ditto.
1133
1134 2003-08-29 Mark Kettenis <kettenis@gnu.org>
1135
1136 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1137 *-*-*bsd*.
1138
1139 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1140
1141 * gdb.base/dump.exp: Skip for ia64.
1142
1143 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1144
1145 * gdb.asm/asm-source.exp: Add ia64 support.
1146 * gdb.asm/ia64.inc: New file.
1147
1148 2003-08-22 Michael Chastain <mec@shout.net>
1149
1150 * gdb.cp: New directory.
1151 * gdb.cp/*: Copy from gdb.c++/*.
1152 * gdb.c++/*: Remove.
1153 * Makefile.in: Change gdb.c++ to gdb.cp.
1154 * configure.in: Ditto.
1155 * configure: Regnerate.
1156
1157 2003-08-18 Mark Kettenis <kettenis@gnu.org>
1158
1159 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1160 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1161
1162 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1163
1164 * mi-var-display.exp (-var-list-children weird): Accept function
1165 pointers with argument types.
1166 * mi1-var-display.exp (-var-list-children weird): Likewise.
1167 * mi2-var-display.exp (-var-list-children weird): Likewise.
1168
1169 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1170
1171 * gdb.base/annota3.exp: Add missing newline.
1172
1173 2003-08-06 Michael Chastain <mec@shout.net>
1174
1175 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1176
1177 2003-08-12 Michael Snyder <msnyder@redhat.com>
1178
1179 * gdb.base/float.exp: Add test for SH.
1180
1181 2003-08-10 Mark Kettenis <kettenis@gnu.org>
1182
1183 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1184
1185 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1186
1187 * gdb.base/completion.exp: Remove reduntant completion test
1188 on filename.
1189
1190 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1191
1192 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1193 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1194 gdb.trace/save-trace.exp: Make sure that full pathnames are
1195 escaped correctly.
1196
1197 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1198
1199 * configure.in: Don't generate config.h from config.hin.
1200 * configure: Regenerate.
1201 * config.hin: Remove file.
1202 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1203 * gdb.threads/pthreads.c: Ditto.
1204
1205 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
1206
1207 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1208 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1209 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1210 Replace ld24 with seth/add3.
1211
1212 2003-08-02 Andrew Cagney <cagney@redhat.com>
1213
1214 * gdb.base/annota3.exp: New file.
1215 * gdb.base/annota3.c: New file.
1216 * gdb.c++/annota3.exp: New file.
1217 * gdb.c++/annota3.cc: New file.
1218
1219 2003-07-29 Michael Chastain <mec@shout.net>
1220
1221 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1222 actually failed.
1223 (do_pass): Likewise.
1224 * gdb.threads/tls.exp: Always initialize no_of_threads.
1225
1226 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
1227
1228 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1229 pattern.
1230 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1231 * gdb.threads/tls.exp: Recognize one case of the host library not
1232 supporting TLS.
1233
1234 2003-07-27 Andrew Cagney <cagney@redhat.com>
1235
1236 * gdb.base/fileio.exp: Use SH when running commands using
1237 remote_exec.
1238
1239 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
1240
1241 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1242 * gdb.base/relocate.c (dummy): New padding array.
1243
1244 2003-07-22 Michael Snyder <msnyder@redhat.com>
1245
1246 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1247
1248 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1249 patterns to be more general, accepting old and new output.
1250 Some output chars (such as '+') also must be quoted.
1251 Some addresses are displayed numerically instead of
1252 symbolically.
1253
1254 2003-07-23 Michael Snyder <msnyder@redhat.com>
1255
1256 * gdb.base/return2.exp: Don't test long-long return.
1257
1258 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1259 * gdb.disasm/t01_mov.exp: Ditto.
1260 * gdb.disasm/t02_mova.s: Ditto.
1261 * gdb.disasm/t02_mova.exp: Ditto.
1262 * gdb.disasm/t03_add.s: Ditto.
1263 * gdb.disasm/t03_add.exp: Ditto.
1264 * gdb.disasm/t04_sub.s: Ditto.
1265 * gdb.disasm/t04_sub.exp: Ditto.
1266 * gdb.disasm/t05_cmp.s: Ditto.
1267 * gdb.disasm/t05_cmp.exp: Ditto.
1268 * gdb.disasm/t06_ari2.s: Ditto.
1269 * gdb.disasm/t06_ari2.exp: Ditto.
1270 * gdb.disasm/t07_ari3.s: Ditto.
1271 * gdb.disasm/t07_ari3.exp: Ditto.
1272 * gdb.disasm/t08_or.s: Ditto.
1273 * gdb.disasm/t08_or.exp: Ditto.
1274 * gdb.disasm/t09_xor.s: Ditto.
1275 * gdb.disasm/t09_xor.exp: Ditto.
1276 * gdb.disasm/t10_and.s: Ditto.
1277 * gdb.disasm/t10_and.exp: Ditto.
1278 * gdb.disasm/t11_logs.s: Ditto.
1279 * gdb.disasm/t11_logs.exp: Ditto.
1280 * gdb.disasm/t12_bit.s: Ditto.
1281 * gdb.disasm/t12_bit.exp: Ditto.
1282 * gdb.disasm/t13_otr.s: Ditto.
1283 * gdb.disasm/t13_otr.exp: Ditto.
1284
1285 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1286
1287 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1288
1289 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1290
1291 * gdb.threads/tls.c : New file.
1292 * gdb.threads/tls.exp : New file.
1293 * gdb.threads/tls-main.c : New file.
1294 * gdb.threads/tls-shared.c : New file.
1295 * gdb.threads/tls-shared.exp : New file.
1296
1297 2003-07-22 Andreas Schwab <schwab@suse.de>
1298
1299 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1300
1301 2003-07-20 Andreas Schwab <schwab@suse.de>
1302
1303 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1304 due to insn reordering.
1305
1306 2003-07-15 Andrew Cagney <cagney@redhat.com>
1307
1308 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1309
1310 2003-07-15 Michael Chastain <mec@shout.net>
1311
1312 * gdb.base/gdb1250.exp: New file.
1313 * gdb.base/gdb1250.c: New file.
1314
1315 2003-07-09 Michal Ludvig <mludvig@suse.cz>
1316
1317 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1318 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1319
1320 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1321
1322 * gdb.threads/tls.c: New file.
1323 * gdb.threads/tls.exp: New file.
1324 * gdb.threads/tls-main.c: New file.
1325 * gdb.threads/tls-shared.c: New file.
1326 * gdb.threads/tls-shared.exp: New file.
1327
1328 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1329
1330 * gdb.base/annota1.exp: Make sure that we properly escape the
1331 full path of the source file. Xfail more permissive patterns,
1332 due to a compiler debug info problem.
1333
1334 2003-07-07 Andreas Schwab <schwab@suse.de>
1335
1336 * gdb.asm/m68k.inc: New file.
1337 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1338
1339 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1340 arguments"): Also match negative number.
1341
1342 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1343
1344 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
1345
1346 * gdb.base/store.c (charest): New typedef.
1347 (add_char): Rename to add_charest, update.
1348 (wack_char): Rename to wack_charest, update types. Return l + r
1349 to keep r live across the call.
1350 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1351 (wack_double, wack_doublest): Return l + r to keep r live across
1352 the call.
1353 * gdb.base/store.exp: Accomodate store.c changes.
1354
1355 2003-06-30 David Carlton <carlton@kealia.com>
1356
1357 * gdb.c++/maint.exp (test_invalid_name): New.
1358 (test_first_component): Add tests for invalid names.
1359
1360 2003-06-29 Michael Chastain <mec@shout.net>
1361
1362 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1363 output of '<VTT for class>' for virtual base classes.
1364
1365 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1366
1367 * gdb.base/completion.exp: Tab-complete "complet" instead of
1368 "compl".
1369 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1370
1371 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1372
1373 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1374 * gdb.base/volatile.exp: Likewise.
1375
1376 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1377
1378 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1379 gdb/1265.
1380
1381 2003-06-28 Michael Chastain <mec@shout.net>
1382 Daniel Jacobowitz <drow@mvista.com>
1383
1384 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1385 initial line count of 'captured_main' from 26 to 32.
1386 (test_with_self): Allow xmalloc call to be interleaved with the
1387 preceding two lines.
1388
1389 2003-06-24 Joel Brobecker <brobecker@gnat.com>
1390
1391 * gdb.base/bang.exp: New testcase.
1392
1393 2003-06-23 Joel Brobecker <brobecker@gnat.com>
1394
1395 * gdb.base/langs.exp: Add some tests for the "minimal" language
1396 support.
1397
1398 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
1399
1400 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1401 the testcase.
1402
1403 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
1404
1405 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1406 offset.
1407
1408 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
1409
1410 * gdb.c++/pr-1210.cc: New file.
1411 * gdb.c++/pr-1210.exp: New file.
1412
1413 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
1414
1415 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1416 000-exec-continue.
1417
1418 2003-06-15 Mark Kettenis <kettenis@gnu.org>
1419
1420 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1421 on *-*-*bsd* instead of *-*-freebsd*.
1422
1423 2003-06-14 Andrew Cagney <cagney@redhat.com>
1424
1425 * gdb.base/store.exp: Test longest and doublest. Test all
1426 parameters. Weaken return statement match.
1427 * gdb.base/store.c: Add longest and doublest - aka long long and
1428 long double functions. Put all parameters into local register
1429 variables. Use negative values.
1430
1431 2003-06-14 Andrew Cagney <cagney@redhat.com>
1432
1433 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1434 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1435 exit status.
1436 * gdb.base/fileio.exp: Disable target when nointerrupts and
1437 noinferiorio, instead of limiting it to remote. Use remote_exec
1438 instead of system.
1439
1440 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1441
1442 * gdb.base/float.exp: Add ia64 support.
1443
1444 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
1445
1446 * gdb.base/fileio.exp: Run only on remote targets.
1447
1448 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
1449
1450 * gdb.base/fileio.c: New file, testing File-I/O.
1451 * gdb.base/fileio.exp: Ditto.
1452
1453 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1454
1455 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1456 shared objects after relocation at load time (gdb PR/1132).
1457 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1458 as above, part of the shared object relocation test.
1459
1460 2003-06-08 Mark Kettenis <kettenis@gnu.org>
1461
1462 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1463 fully filled history list.
1464 * gdb.base/gdb_history: New file.
1465
1466 * gdb.base/signals.exp: XFAIL "continue to func1" on
1467 i*86-*-freebsd*.
1468
1469 * gdb.base/attach.exp: When trying to attach to a nonexistent
1470 process, make it possible to specify the PID based on the target,
1471 and do so for *-*-freebsd*.
1472
1473 2003-06-02 Richard Henderson <rth@redhat.com>
1474
1475 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1476
1477 2003-06-02 Richard Henderson <rth@redhat.com>
1478
1479 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1480
1481 2003-06-02 Richard Henderson <rth@redhat.com>
1482
1483 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1484
1485 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
1486
1487 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1488 of globalvar.
1489
1490 2003-06-01 Mark Kettenis <kettenis@gnu.org>
1491
1492 * gdb.asm/asm-source.exp: Check for memory read errors in
1493 disassembler test on *BSD too.
1494
1495 2003-06-01 Richard Henderson <rth@redhat.com>
1496
1497 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1498 for .frame.
1499 (gdbasm_call): Lose ldgp.
1500 (gdbasm_startup): Add frame information.
1501 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1502
1503 2003-05-31 Mark Kettenis <kettenis@gnu.org>
1504
1505 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1506 i?86-*-*.
1507
1508 2003-05-30 Mark Kettenis <kettenis@gnu.org>
1509
1510 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1511 FreeBSD.
1512
1513 2003-05-29 Richard Henderson <rth@redhat.com>
1514
1515 * gdb.asm/alpha.inc: New file.
1516 * gdb.asm/asm-source.exp: Use it.
1517
1518 2003-05-29 Jim Blandy <jimb@redhat.com>
1519
1520 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1521 'core.PID'.
1522
1523 2003-05-22 Jim Blandy <jimb@redhat.com>
1524
1525 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1526 backtrace.
1527
1528 2003-05-20 David Carlton <carlton@math.stanford.edu>
1529
1530 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1531 this time.
1532
1533 2003-05-19 David Carlton <carlton@bactrian.org>
1534
1535 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1536 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1537
1538 2003-05-19 David Carlton <carlton@bactrian.org>
1539
1540 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1541 namespace tests.
1542 Bump copyright date.
1543 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1544 (main): Call C::D::marker2.
1545 * gdb.c++/namespace1.cc: New file.
1546
1547 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1548
1549 Roland McGrath <roland@redhat.com>
1550 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1551 there is no manager thread.
1552
1553 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1554
1555 * gdb.threads/schedlock.exp: Remove assumption that all threads
1556 will run in a particular small time slice. Also ensure we break
1557 in one of the child threads rather than the main thread.
1558
1559 2003-05-07 Jim Blandy <jimb@redhat.com>
1560
1561 Add support for assembly source testing on the s390x.
1562 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1563 architecture.
1564 * gdb.asm/s390x.inc: New file.
1565
1566 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1567 succession of 'if' statements.
1568
1569 2003-05-05 Andrew Cagney <cagney@redhat.com>
1570
1571 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1572
1573 2003-05-05 Andrew Cagney <cagney@redhat.com>
1574
1575 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1576 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1577
1578 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
1579
1580 * gdb.base/charset.exp: Update based on new behavior of set/show
1581 charset commands.
1582
1583 2003-05-01 Andrew Cagney <cagney@redhat.com>
1584
1585 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1586 variable do not give memory errors.
1587
1588 2003-04-30 Adam Fedor <fedor@gnu.org>
1589
1590 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1591 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1592 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1593 gdb.objc/basicclass.m: : New files
1594
1595 * lib/gdb.exp (gdb_compile_objc): New procedure.
1596
1597 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
1598
1599 * gdb.base/signals.exp: Make backtrace tests more specific.
1600
1601 2003-04-23 David Carlton <carlton@bactrian.org>
1602
1603 * gdb.c++/maint.exp (test_first_component): Add tests for
1604 'operator' in more locations.
1605
1606 2003-04-16 Kevin Buettner <kevinb@redhat.com>
1607
1608 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1609
1610 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
1611
1612 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1613 func marke' instead. Update test name.
1614
1615 2003-04-15 David Carlton <carlton@math.stanford.edu>
1616
1617 * gdb.c++/maint.exp: New file.
1618
1619 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1620
1621 * gdb.threads/schedlock.c: Change type of thread function argument
1622 to long, to avoid warnings on 64-bit platforms.
1623
1624 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1625
1626 * gdb.base/attach.exp: Add new message from ptrace in case of
1627 attaching to nonexistent process.
1628
1629 2003-04-11 Jim Blandy <jimb@redhat.com>
1630
1631 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1632 gdb.c++/userdef.cc: Place comments on the lines to which the
1633 marker function might return.
1634 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1635 gdb.c++/userdef.exp: Look for those comments to check that we've
1636 returned to the right place, instead of checking line numbers.
1637
1638 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
1639
1640 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1641 match on sourcefile name, instead of directory name.
1642
1643 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
1644
1645 * gdb.base/completion.exp: Use string_to_regexp to match the
1646 working directory name.
1647
1648 2003-04-09 Jim Blandy <jimb@redhat.com>
1649
1650 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1651 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1652 after an inferior function call, report the failure, but allow the
1653 test to continue.
1654
1655 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1656
1657 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1658 with -DPROTOTYPES.
1659
1660 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1661
1662 * gdb.base/break.exp: Revert last patch.
1663
1664 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1665
1666 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1667 with -DPROTOTYPES.
1668
1669 2003-04-02 Andrew Cagney <cagney@redhat.com>
1670
1671 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1672 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1673 matching directories by the name breakpoint.
1674 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1675 Make "continue to marker1" consistent.
1676 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1677 message consistent.
1678 * lib/gdb.exp: Put "the program is no longer running", and "the
1679 program exited" in parenthesis.
1680 * lib/mi-support.exp: Ditto.
1681
1682 2003-04-02 Bob Rossi <bob_rossi@cox.net>
1683
1684 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1685
1686 2003-03-29 Andrew Cagney <cagney@redhat.com>
1687
1688 * gdb.base/sizeof.c (main): Print the value of '\377'.
1689 * gdb.base/sizeof.exp: Check the sign of '\377'.
1690
1691 2003-03-27 Michael Chastain <mec@shout.net>
1692
1693 * gdb.base/gdb1090.exp: New file.
1694 * gdb.base/gdb1090.cc: New file.
1695
1696 2003-03-27 J. Brobecker <brobecker@gnat.com>
1697
1698 * gdb.gdb/observer.exp: New regression test.
1699
1700 2003-03-27 Michael Chastain <mec@shout.net>
1701
1702 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1703 * gdb.base/ptype.exp: Likewise.
1704
1705 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
1706
1707 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1708
1709 2003-03-26 Michael Chastain <mec@shout.net>
1710
1711 * gdb.base/ptype.exp: Actually use some typedef'd types.
1712
1713 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1714
1715 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1716 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1717
1718 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1719
1720 * gdb.base/default.exp: Fix regular expression.
1721
1722 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1723
1724 * gdb.base/args.exp: Fix regular expression.
1725
1726 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1727
1728 * gdb.base/help.exp: Allow Win32 child process.
1729
1730 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1731
1732 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1733 when stepping out of main().
1734
1735 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1736
1737 * gdb.base/default.exp: Check for win32 specific message when calling
1738 "run" without executable.
1739
1740 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1741
1742 * gdb.base/args.exp: Expect .exe in output.
1743
1744 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1745
1746 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1747 Cygwin native.
1748
1749 2003-03-17 Andrew Cagney <cagney@redhat.com>
1750
1751 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1752 vector registes.
1753 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1754 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1755
1756 2003-03-17 David Carlton <carlton@math.stanford.edu>
1757
1758 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1759 test, for PR breakpoints/38.
1760 Call test_watchpoint_and_breakpoint.
1761 * gdb.base/watchpoint.c (func3): New function.
1762 (main): Call func3.
1763
1764 2003-03-04 David Carlton <carlton@math.stanford.edu>
1765
1766 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1767 Garply<Garply<char> >:: garply".
1768 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1769 with respect to PR c++/1111; note also PR c++/1113.
1770 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1771 respect to PR c++/1062.
1772 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1773
1774 2003-03-03 David Carlton <carlton@math.stanford.edu>
1775
1776 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1777 with respect to PR c++/57.
1778 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1779 c++/826.
1780 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1781 respect to PR c++/57.
1782
1783 2003-03-03 David Carlton <carlton@math.stanford.edu>
1784
1785 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1786 respect to PR c++/33 into FAILs.
1787
1788 2003-03-03 Michael Chastain <mec@shout.net>
1789
1790 * configure.in: Update copyright years.
1791
1792 2003-03-03 Michael Chastain <mec@shout.net>
1793
1794 * Makefile.in: Update copyright years.
1795
1796 2003-02-28 David Carlton <carlton@math.stanford.edu>
1797
1798 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1799 print class instead of struct and/or superfluous protection
1800 specifiers, as long as the resulting output is equivalent to the
1801 source code.
1802 Delete FIXME from end of messages on tests that don't need
1803 fixing.
1804
1805 2003-02-28 David Carlton <carlton@math.stanford.edu>
1806
1807 * gdb.c++/templates.exp (do_tests): Allow const in the two
1808 Foo<volatile char *>::foo tests.
1809
1810 2003-02-27 Michael Snyder <msnyder@redhat.com>
1811
1812 * gdb.base/restore.c (main): Return zero, so exit code
1813 will be consistant.
1814
1815 2003-02-26 David Carlton <carlton@math.stanford.edu>
1816
1817 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1818 char *>::foo" test with respect to PR c++/33. Create a new test
1819 which is identical to that one except that it doesn't put the
1820 space between the "char" and the "*"; KFAIL it, too.
1821
1822 2003-02-26 David Carlton <carlton@math.stanford.edu>
1823
1824 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1825 template types into either PASSes or KFAILs (corresponding to PR
1826 c++/57). Tweak indentation. Update copyright.
1827
1828 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1829
1830 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1831
1832 2003-02-13 Michael Chastain <mec@shout.net>
1833
1834 * gdb.base/exprs.exp: Remove i960 remnants.
1835 * gdb.base/funcargs.exp: Likewise.
1836 * gdb.base/list.exp: Likewise.
1837 * gdb.base/ptype.exp: Likewise.
1838
1839 2003-02-14 David Carlton <carlton@math.stanford.edu>
1840
1841 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1842 pEe->D::vg()" from XFAIL to KFAIL.
1843
1844 2003-02-13 Jason Molenda (jmolenda@apple.com)
1845
1846 * gdb.base/maint.exp: Update maint print statistics regexp to include
1847 new entries.
1848
1849 2003-02-13 Michael Chastain <mec@shout.net>
1850
1851 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1852
1853 2003-02-12 Michael Chastain <mec@shout.net>
1854
1855 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1856 * gdb.c++/inherit.exp: Likewise.
1857 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1858 * gdb.c++/templates.exp: Likewise.
1859 * gdb.c++/virtfunc.exp: Likewise.
1860
1861 2003-02-06 Jason Molenda (jason-cl@molenda.com)
1862
1863 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1864 why the code is written that way.
1865
1866 2003-02-05 Michael Chastain <mec@shout.net>
1867
1868 * gdb.base/dump.exp: Add missing copyright line.
1869
1870 2003-02-05 Jason Molenda (jason-cl@molenda.com)
1871
1872 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
1873 at the beginning so the breakpoint doesn't get set on the loop.
1874
1875 2003-02-05 Michael Chastain <mec@shout.net>
1876
1877 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1878 output for configurations with gcc 2.95.3.
1879
1880 2003-02-05 Keith Seitz <keiths@redhat.com>
1881 Andrew Cagney <ac131313@redhat.com>
1882
1883 * gdb.mi/mi-cli.exp: New file.
1884
1885 2003-02-04 Michael Chastain <mec@shout.net>
1886
1887 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1888 Call perror and then continue.
1889
1890 2003-02-03 Michael Chastain <mec@shout.net>
1891
1892 * gdb.c++/pr-1023.cc: New file.
1893 * gdb.c++/pr-1023.exp: New file.
1894
1895 2003-02-05 Jim Blandy <jimb@redhat.com>
1896
1897 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1898 it's local to foobar. Check for it there, and check that it's not
1899 present in main.
1900 * gdb.c++/local.cc (marker2): New function.
1901 (foobar): Call marker1.
1902 (main): Call marker2 instead of marker1.
1903
1904 2003-02-04 Andrew Cagney <ac131313@redhat.com>
1905
1906 * gdb.disasm/mn10200.exp: Obsolete file.
1907 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1908 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1909 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1910
1911 2003-02-04 David Carlton <carlton@math.stanford.edu>
1912
1913 * gdb.c++/overload.exp: Test intToChar(1).
1914 * gdb.c++/overload.cc (intToChar): New.
1915 (main): Call intToChar.
1916
1917 2003-02-03 David Carlton <carlton@math.stanford.edu>
1918
1919 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1920 'might_kfail' arg.
1921 KFAIL some of the continue_to_bp_overloaded calls, according to
1922 PR c++/1025.
1923
1924 2003-02-01 Michael Chastain <mec@shout.net>
1925
1926 * gdb.base/advance.c (marker1): New marker function.
1927 * gdb.base/advance.exp: When the 'advance' command lands on the
1928 return breakpoint, it can legitimately stop on either the
1929 current line or the next line. Accommodate both outcomes.
1930 * gdb.base/until.exp: Likewise.
1931
1932 2003-02-02 Andrew Cagney <ac131313@redhat.com>
1933
1934 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1935 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1936 now a list, not a tuple.
1937 * gdb.mi/mi-var-display.exp: Ditto.
1938 * gdb.mi/gdb792.exp: Ditto.
1939
1940 2003-02-01 Andrew Cagney <ac131313@redhat.com>
1941
1942 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1943 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1944 stack backtraces.
1945 * gdb.mi/mi-syn-frame.c: Part of same.
1946
1947 2003-02-01 Mark Kettenis <kettenis@gnu.org>
1948
1949 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1950 gdb.mi/mi1-pthreads.exp: Return instead of calling
1951 gdb_suppress_entire_file.
1952
1953 2003-02-01 Mark Salter <msalter@redhat.com>
1954
1955 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1956
1957 2003-01-31 Mark Salter <msalter@redhat.com>
1958
1959 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1960 Support empty arg.
1961
1962 2003-01-30 Michael Chastain <mec@shout.net>
1963
1964 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1965 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1966 has been fixed in gdb/readline on 2003-01-09.
1967
1968 2003-01-29 Michael Snyder <msnyder@redhat.com>
1969
1970 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1971 * gdb.base/display.exp: Allow for leading underscore in symbol.
1972 * gdb.base/args.exp: Skip if target does not support args passing.
1973
1974 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
1975
1976 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
1977 gdb_test. Accept a list of expect arguments as the third
1978 parameter.
1979 (gdb_test): Use it.
1980
1981 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
1982
1983 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1984 allow for different test tree configurations. Update some
1985 tescases accordingly.
1986 * gdb.arch/altivec-regs.exp: Ditto.
1987 * gdb.asm/asm-source.exp: Ditto.
1988 * gdb.base/advance.exp: Ditto.
1989 * gdb.base/display.exp: Ditto.
1990 * gdb.base/long_long.exp: Ditto.
1991 * gdb.base/mips_pro.exp: Ditto.
1992 * gdb.base/overlays.exp: Ditto.
1993 * gdb.base/relocate.exp: Ditto.
1994 * gdb.base/setshow.exp: Ditto.
1995 * gdb.base/step-line.exp: Ditto.
1996 * gdb.base/step-test.exp: Ditto.
1997 * gdb.base/until.exp: Ditto.
1998 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1999
2000 2003-01-17 David Carlton <carlton@math.stanford.edu>
2001
2002 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2003 corresponding to PR c++/945.
2004 Update copyright.
2005
2006 2003-01-17 David Carlton <carlton@math.stanford.edu>
2007
2008 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2009 corresponding to PR c++/68.
2010
2011 2003-01-17 David Carlton <carlton@math.stanford.edu>
2012
2013 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2014 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2015 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2016
2017 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
2018
2019 * gdb.base/break.exp: Fix change of default location, because of
2020 removal of until tests.
2021 * gdb.base/help.exp: Update test for new 'until' help message.
2022 Add test for help on 'advance'.
2023 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2024
2025 2003-01-15 Mark Kettenis <kettenis@gnu.org>
2026
2027 * gdb.base/default.exp: Adapt "info float" test for recent changes
2028 to that command. Add test for "info vector".
2029 * gdb.base/float.exp: New file. Add test for "info float" that
2030 resembles the old test in gdb.base/default.exp.
2031
2032 2003-01-15 David Carlton <carlton@math.stanford.edu>
2033
2034 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2035
2036 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
2037
2038 * gdb.base/break.exp: Move the tests of until command from here...
2039 * gdb.base/until.exp: ... to here. New file. Add other tests.
2040 * gdb.base/advance.c: New file.
2041 * gdb.base/advance.exp: New file.
2042
2043 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
2044
2045 * gdb.base/args.c: New file.
2046 * gdb.base/args.exp: New file.
2047
2048 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2049
2050 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2051
2052 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2053
2054 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2055
2056 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2057
2058 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2059 dates.
2060
2061 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2062
2063 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2064
2065 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2066
2067 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2068 (ptype &*"foo").
2069 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2070
2071 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2072
2073 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2074 * gdb.mi/mi1-console.exp: Likewise.
2075
2076 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2077
2078 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2079 * gdb.mi/mi1-console.exp: Likewise.
2080
2081 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2082
2083 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2084
2085 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2086
2087 * gdb.base/detach.exp: New test.
2088
2089 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2090
2091 * Makefile.in (ALL_SUBDIRS): New variable.
2092 (subdirs, clean, distclean): Use it.
2093 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2094 regenerating Makefile, since it is generated from the top level.
2095 * gdb.asm/Makefile.in: Likewise.
2096 * gdb.base/Makefile.in: Likewise.
2097 * gdb.c++/Makefile.in: Likewise.
2098 * gdb.disasm/Makefile.in: Likewise.
2099 * gdb.java/Makefile.in: Likewise.
2100 * gdb.mi/Makefile.in: Likewise.
2101 * gdb.threads/Makefile.in: Likewise.
2102 * gdb.trace/Makefile.in: Likewise.
2103
2104 2003-01-09 David Carlton <carlton@math.stanford.edu>
2105
2106 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2107 Add copyright year 2003.
2108
2109 2003-01-06 Michael Chastain <mec@shout.net>
2110
2111 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2112 When selecting a thread, 'line' and 'file' are optional.
2113 * gdb.mi/mi1-pthreads.exp: Likewise.
2114
2115 2003-01-06 Andreas Schwab <schwab@suse.de>
2116
2117 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2118 failures.
2119
2120 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2121
2122 Fix PR gdb/844
2123 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2124 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2125
2126 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2127 instead of calling gdb_suppress_entire_file.
2128 * gdb.threads/print-threads.exp: Likewise.
2129 * gdb.threads/schedlock.exp: Likewise.
2130
2131 * gdb.threads/killed.exp: Return instead of calling
2132 gdb_suppress_entire_file.
2133 * gdb.threads/linux-dp.exp: Likewise.
2134 * gdb.threads/pthreads.exp: Likewise.
2135
2136 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2137
2138 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2139 stabs.
2140 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2141 * gdb.base/whatis.exp: Always allow (void) after function names.
2142
2143 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2144
2145 * gdb.c++/casts.exp: Correct regexp.
2146
2147 2003-01-04 Mark Kettenis <kettenis@gnu.org>
2148
2149 * configure.in: Call AC_CONFIG_HEADER. Don't call
2150 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2151 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2152 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2153 aforementioned directories in the AC_OUPUT call.
2154 * config.hin: New file.
2155 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2156 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2157 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2158 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2159 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2160 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2161 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2162 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2163 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2164 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2165 gdb.threads/configure.in, gdb.threads/configure,
2166 gdb.threads/config.in, gdb.trace/configure.in,
2167 gdb.trace/configure: Removed.
2168
2169 2003-01-03 Michael Chastain <mec@shout.net>
2170
2171 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2172 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2173
2174 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
2175
2176 * gdb.base/store.exp: Fix regular expressions.
2177
2178 2002-12-28 Mark Kettenis <kettenis@gnu.org>
2179
2180 * configure.in: Rewrite.
2181 * configure: Regenerated.
2182
2183 2003-01-03 David Carlton <carlton@math.stanford.edu>
2184
2185 * gdb.base/psymtab.exp: New file.
2186 * gdb.base/psymtab1.c: Ditto.
2187 * gdb.base/psymtab2.c: Ditto.
2188
2189 2002-12-23 Adam Fedor <fedor@gnu.org>
2190
2191 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2192
2193 2002-12-23 David Carlton <carlton@math.stanford.edu>
2194
2195 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2196 and current_directory initialization.
2197
2198 2002-12-22 Jim Blandy <jimb@redhat.com>
2199
2200 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2201 rather than as part of the output file name.
2202
2203 * gdb.base/attach.exp: There's no need to copy the test program to
2204 /tmp; that was only ever necessary on HP/UX, and this test is
2205 entirely disabled there anyway.
2206
2207 2002-12-21 Jim Blandy <jimb@redhat.com>
2208
2209 * gdb.c++/psmang.exp: Doc fix.
2210
2211 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2212 test.
2213
2214 2002-12-20 David Carlton <carlton@math.stanford.edu>
2215
2216 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2217
2218 2002-12-18 Michael Chastain <mec@shout.net>
2219
2220 * gdb.c++/annota2.exp: Add copyright year 2002.
2221
2222 2002-12-17 David Carlton <carlton@math.stanford.edu>
2223
2224 * gdb.c++/try_catch.cc: Add marker comments.
2225 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2226 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2227 * gdb.c++/m-static.cc: Ditto.
2228 * gdb.c++/m-static1.cc: Ditto.
2229 * gdb.c++/try_catch.cc: Ditto.
2230
2231 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2232
2233 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2234 to see whether we are using the new -environment-directory
2235 command which resets via -r or the old version of the command
2236 which may prompt the user. Part of fix for gdb/741.
2237
2238 2002-12-13 Andrew Cagney <ac131313@redhat.com>
2239
2240 * gdb.fortran/types.exp: Update obsolete comment.
2241 * gdb.fortran/exprs.exp: Ditto.
2242 * lib/gdb.exp: Delete obsolete code.
2243 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2244 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2245 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2246 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2247 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2248 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2249 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2250 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2251 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2252 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2253 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2254 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2255 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2256 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2257 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2258 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2259 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2260 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2261 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2262 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2263 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2264 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2265 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2266 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2267 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2268 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2269 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2270 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2271 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2272 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2273 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2274 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2275 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2276 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2277 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2278 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2279 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2280
2281 2002-12-11 David Carlton <carlton@math.stanford.edu>
2282
2283 * gdb.c++/m-data.exp: Add test for members that shadow global
2284 variables: see PR gdb/804.
2285 * gdb.c++/m-data.cc: Ditto.
2286
2287 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
2288
2289 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2290
2291 2002-12-06 David Carlton <carlton@math.stanford.edu>
2292
2293 * gdb.base/store.c: Don't declare functions static.
2294
2295 2002-12-04 Andrew Cagney <ac131313@redhat.com>
2296
2297 * gdb.base/store.exp, gdb.base/store.c: New files.
2298
2299 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2300
2301 * gdb.base/selftest.exp: Update for current gdb.
2302
2303 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2304
2305 * gdb.base/maint.exp: Only dump symbols from one source file
2306 or objfile.
2307
2308 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2309
2310 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2311 function call.
2312
2313 2002-11-25 Jim Blandy <jimb@redhat.com>
2314
2315 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2316 function appearing in error message.
2317
2318 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
2319
2320 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2321
2322 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2323
2324 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2325 for mi1 and current mi is in correct format. New mi startup message
2326 should be in mi console format. This is part of fix for PR gdb/604.
2327
2328 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2329
2330 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2331 which explicitly prints the zero offset as "+0".
2332
2333 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
2334
2335 * gdb.threads/schedlock.c (args): Make unsigned.
2336
2337 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
2338
2339 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2340 numbers. Allow "foo2|selected stack frame".
2341 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2342 * gdb.asm/asmsrc2.s: Likewise.
2343 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2344 comments.
2345 * gdb.asm/mips.inc: New file.
2346
2347 2002-10-18 Adam Fedor <fedor@gnu.org>
2348
2349 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2350 * gdb.base/help.exp: Likewise.
2351
2352 2002-10-17 Kevin Buettner <kevinb@redhat.com>
2353
2354 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2355 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2356
2357 2002-10-02 Jim Blandy <jimb@redhat.com>
2358
2359 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2360
2361 2002-10-01 Andrew Cagney <ac131313@redhat.com>
2362
2363 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2364 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2365 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2366 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2367 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2368 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2369 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2370
2371 2002-09-29 Andrew Cagney <ac131313@redhat.com>
2372
2373 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2374 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2375 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2376 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2377 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2378 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2379 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2380
2381 2002-09-27 Kevin Buettner <kevinb@redhat.com>
2382
2383 * gdb.base/annota1.exp (info break): Make directory components of
2384 path optional since not all compilers emit this debug information.
2385
2386 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2387 step ends up stepping out of the function instead of stopping on
2388 the epilogue.
2389
2390 2002-09-26 Keith Seitz <keiths@redhat.com>
2391
2392 * lib/insight-support.exp (gdbtk_start): Figure out where
2393 the insight executable is based on where gdb is. Use this
2394 executable to start insight instead of gdb.
2395
2396 2002-09-25 Andrew Cagney <cagney@redhat.com>
2397
2398 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2399
2400 2002-09-24 Andrew Cagney <ac131313@redhat.com>
2401
2402 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2403 test_isolated_complaints.
2404 (test_empty_complaint): New function.
2405 (test_empty_complaints): New function. Check no output when no
2406 complaints.
2407
2408 2002-09-19 Jim Blandy <jimb@redhat.com>
2409
2410 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2411
2412 2002-09-19 Andrew Cagney <ac131313@redhat.com>
2413
2414 * gdb.gdb/complaints.exp: New file.
2415
2416 2002-09-18 Andrew Cagney <ac131313@redhat.com>
2417
2418 * gdb.base/maint.exp: Check `help maint internal-warning'.
2419
2420 2002-09-18 David Carlton <carlton@math.stanford.edu>
2421
2422 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2423 numbers, and replace them by a single breakpoint after the
2424 constructors are all finished.
2425 Add test 4.
2426 * gdb.c++/m-static.cc: Add test 4.
2427 * gdb.c++/m-static.h: New file.
2428 * gdb.c++/m-static1.cc: New file.
2429
2430 * gdb.c++/printmethod.exp: New file.
2431 * gdb.c++/printmethod.cc: New file.
2432
2433 * gdb.c++/pr-574.exp: New file.
2434 * gdb.c++/pr-574.cc: New file.
2435
2436 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2437
2438 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2439 embedded targets which never actually exit.
2440
2441 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2442
2443 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2444 "don't step after run" as unresolved or unsupported, instead of xfail.
2445
2446 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2447
2448 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2449 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2450 Add newline to expected string in "step out of main (status wrapper)"
2451 case.
2452
2453 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2454
2455 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2456 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2457
2458 2002-09-17 Tom Tromey <tromey@redhat.com>
2459
2460 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2461 \000, not \0, in double-quoted string.
2462
2463 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
2464
2465 * gdb.base/commands.exp: Don't expect a "Program exited normally"
2466 string after running the commands execution on breakpoint tests.
2467
2468 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
2469
2470 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2471
2472 2002-09-12 Joel Brobecker <brobecker@gnat.com>
2473
2474 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2475
2476 2002-09-10 Keith Seitz <keiths@redhat.com>
2477
2478 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2479 runto proc.
2480 (mi_run_to_main): Use mi_runto.
2481 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2482
2483 2002-09-10 Keith Seitz <keiths@redhat.com>
2484
2485 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2486 regexp for stopping at main. Could have multiple event notifications.
2487 Don't assume that main was declared with no parameters.
2488 (mi_next): Use mi_step_to.
2489 (mi_step): Use mi_next_to.
2490
2491 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
2492
2493 * gdb.base/default.exp: Fix expected string in `info float' test.
2494
2495 2002-09-09 Ben Elliston <bje@redhat.com>
2496
2497 * config/mips.exp: Update comments.
2498 * config/mips-idt.exp: Likewise.
2499 * config/nind.exp: Likewise.
2500 * config/slite.exp: Likewise.
2501 * config/sparclet.exp: Likewise.
2502 * config/udi.exp: Likewise.
2503 * config/vx.exp: Likewise.
2504 * config/vxworks29k.exp: Likewise.
2505
2506 2002-09-05 Jim Blandy <jimb@redhat.com>
2507
2508 * gdb.threads/killed.exp: Fix test failure message.
2509
2510 2002-09-04 Keith Seitz <keiths@redhat.com>
2511
2512 * lib/mi-support.exp: Update copyright.
2513 (mi_gdb_test): Increase the priority of the expected pattern
2514 so that it matches gdb_test.
2515
2516 2002-09-03 Keith Seitz <keiths@redhat.com>
2517
2518 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2519 Use integer comparison instead of string comparison for testing
2520 whether binary was built.
2521
2522 2002-09-03 Jim Blandy <jimb@redhat.com>
2523
2524 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2525
2526 2002-08-29 Jim Blandy <jimb@redhat.com>
2527
2528 * gdb.threads/pthreads.exp: Move the portable thread compilation
2529 code into a function in lib/gdb.exp, and call that from here.
2530 * lib/gdb.exp (gdb_compile_pthreads): New function.
2531
2532 2002-08-29 Keith Seitz <keiths@redhat.com>
2533
2534 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2535 expect_out so that callers can get at it.
2536
2537 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
2538
2539 * gdb.threads/print-threads.c: New file.
2540 * gdb.threads/print-threads.exp: New file.
2541 * gdb.threads/schedlock.c: New file.
2542 * gdb.threads/schedlock.exp: New file.
2543
2544 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
2545
2546 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2547 not altivec.c.
2548
2549 2002-08-17 Mark Kettenis <kettenis@gnu.org>
2550
2551 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2552 targets. The problem should be fixed now.
2553
2554 2002-08-15 Mark Kettenis <kettenis@gnu.org>
2555
2556 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2557 2002-07-24 change that removes final dots from error messages.
2558
2559 2002-08-13 Tom Tromey <tromey@redhat.com>
2560
2561 * gdb.base/readline.exp: New file.
2562
2563 2002-08-01 Andrew Cagney <ac131313@redhat.com>
2564
2565 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2566 supress message.
2567
2568 2002-08-01 Andrew Cagney <cagney@redhat.com>
2569
2570 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2571 CHILL_FOR_TARGET and CHILL_LIB.
2572 * configure.in (configdirs): Remove gdb.chill.
2573 * configure: Regenerate.
2574 * lib/gdb.exp: Obsolete references to chill.
2575 * gdb.fortran/types.exp: Ditto.
2576 * gdb.fortran/exprs.exp: Ditto.
2577
2578 2002-07-30 Kevin Buettner <kevinb@redhat.com>
2579
2580 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2581 set Irix-specific compile and link flags.
2582
2583 2002-07-29 Kevin Buettner <kevinb@redhat.com>
2584
2585 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2586 source files. The ``-o'' option doesn't work with the ``-E'' option
2587 when using the Irix compiler.
2588
2589 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
2590
2591 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2592 Improve support for reusing an exec file. Copy exec file
2593 to target, and run gdbserver on the target instead of on the host.
2594
2595 2002-07-18 Jim Blandy <jimb@redhat.com>
2596
2597 * gdb.base/ending-run.exp: Don't expect to see the program end in
2598 some orderly fashion when we're running on a real stand-alone
2599 board.
2600
2601 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2602 targets that don't support interrupts.
2603
2604 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2605
2606 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2607 systems.
2608 Move comments in expect statements to inside the actions, so that they
2609 don't get matched against.
2610
2611 2002-07-10 Mark Kettenis <kettenis@gnu.org>
2612
2613 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2614 function when asleep" test.
2615
2616 2002-07-10 Andrew Cagney <ac131313@redhat.com>
2617
2618 * gdb.base/page.exp: Rewrite to handle problems with very long
2619 `info set' output. Update copyright.
2620
2621 2002-06-26 Andrew Cagney <ac131313@redhat.com>
2622
2623 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2624 gdb.threads-hp.
2625 * gdb.hp/configure: Regenerate.
2626 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2627 * gdb.hp/gdb.threads-hp/configure: Delete file.
2628 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2629
2630 2002-06-22 Andrew Cagney <ac131313@redhat.com>
2631
2632 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2633 setlocale, bindtextdomain and textdomain.
2634
2635 2002-06-11 Jim Blandy <jimb@redhat.com>
2636
2637 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2638 preprocessor macro information is present.
2639
2640 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2641 tests.
2642
2643 2002-06-06 Michael Snyder <msnyder@redhat.com>
2644
2645 * gdb.base/overlays.exp: Record addresses of overlay
2646 functions in TCL variables rather than in GDB variables,
2647 to avoid having GDB convert them to pointers (with loss
2648 of information).
2649
2650 * gdb.base/d10v.ld: Merge in several years worth of
2651 default linker script changes.
2652 * gdb.base/long_long.exp: Add check for sizeof (long double).
2653
2654 2002-06-06 Michal Ludvig <mludvig@suse.cz>
2655
2656 * gdb.asm/asm-source.exp: Add x86-64 target.
2657 * gdb.asm/x86_64.inc: New.
2658
2659 2002-05-30 Michael Chastain <mec@shout.net>
2660
2661 From Benjamin Kosnik <bkoz@redhat.com>:
2662 * gdb.c++/m-static.cc: New file.
2663 * gdb.c++/m-static.exp: New file.
2664
2665 2002-05-28 Michael Snyder <msnyder@redhat.com>
2666
2667 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2668 precision.
2669
2670 2002-05-27 Michael Chastain <mec@shout.net>
2671
2672 From Benjamin Kosnik <bkoz@redhat.com>:
2673 * gdb.c++/m-data.cc: New file.
2674 * gdb.c++/m-data.exp: New file.
2675
2676 2002-05-27 Michael Chastain <mec@shout.net>
2677
2678 From Benjamin Kosnik <bkoz@redhat.com>:
2679 * gdb.c++/try_catch.cc: New file.
2680 * gdb.c++/try_catch.exp: New file.
2681
2682 2002-05-27 Michael Chastain <mec@shout.net>
2683
2684 * gdb.c++/local.exp: Accept more nested types in output.
2685
2686 2002-05-26 Michael Chastain <mec@shout.net>
2687
2688 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2689
2690 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2691
2692 * lib/gdb.exp (gdb_wrapper_init): Just because
2693 gdb_wrapper_file exists, this does not mean that the file
2694 should not be rebuilt. That is what gdb_wrapper_initialized
2695 is for.
2696 (default_gdb_init): Reset gdb_wrapper_initialized.
2697
2698 2002-05-23 Michael Snyder <msnyder@redhat.com>
2699
2700 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2701 the precision of the floating point test results.
2702 * gdb.base/call-rt-st.exp: Ditto.
2703
2704 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2705 * gdb.base/call-rt-st.exp: Ditto.
2706
2707 2002-05-19 Michael Chastain <mec@shout.net>
2708
2709 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2710
2711 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
2712
2713 * configure.in (configdirs): Add gdb.arch.
2714 * configure: Regenerate.
2715
2716 2002-05-17 Jim Blandy <jimb@redhat.com>
2717
2718 * gdb.base/completion.exp: Recognize the more detailed error
2719 messages produced by the macro expander's lexical analyzer.
2720
2721 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2722
2723 * gdb.arch/altivec-abi.c: New file.
2724 * gdb.arch/altivec-abi.exp: New file.
2725 * gdb.arch/altivec-regs.c: New file.
2726 * gdb.arch/altivec-regs.exp: New file.
2727
2728 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
2729
2730 * gdb.base/maint.exp (maint print type): Update for new type
2731 structure.
2732
2733 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2734
2735 * gdb.arch: New directory.
2736 * gdb.arch/configure.in: New file.
2737 * gdb.arch/configure: New file.
2738 * gdb.arch/Makefile.in: New file.
2739
2740 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
2741
2742 * gdb.asm/asm-source.exp: Add v850 as supported target.
2743 * gdb.asm/v850.inc: New file.
2744
2745 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
2746
2747 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2748
2749 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
2750
2751 * gdb.base/break.exp: Check 'break "marker2"'.
2752
2753 2002-05-10 Michael Snyder <msnyder@redhat.com>
2754
2755 * gdb.base/long_long.exp: Fix typo.
2756
2757 2002-05-10 Jim Blandy <jimb@redhat.com>
2758
2759 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2760 a bug.
2761
2762 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2763 Recognize more detailed error message produced by the macro
2764 expander's lexical analyzer.
2765 * lib/gdb.exp (test_print_reject): Same.
2766
2767 2002-05-09 Mark Kettenis <kettenis@gnu.org>
2768
2769 * gdb.c++/method.exp: Fix typo.
2770
2771 2002-05-08 Michael Snyder <msnyder@redhat.com>
2772
2773 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2774 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2775 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2776 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2777 Add iftarget clause for strongarm.
2778
2779 2002-05-06 Michael Snyder <msnyder@redhat.com>
2780
2781 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2782 (gdb_continue_to_end): Accept output from status wrapper.
2783 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2784 Clean up fail messages to match pass messages.
2785
2786 Enable the "needs_status_wrapper" testsuite feature.
2787 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2788 (gdb_compile): Conditionally call gdb_wrapper_init.
2789 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2790 * gdb.c++/method.exp: Recognize output from status wrapper.
2791
2792 2002-05-06 Ben Elliston <bje@redhat.com>
2793 From Graydon Hoare <graydon@redhat.com>
2794
2795 * config/sid.exp: Include support for "rawsid" protocol.
2796
2797 2002-05-03 Jim Blandy <jimb@redhat.com>
2798
2799 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2800 * gdb.c++/hang3.C: New file.
2801
2802 2002-05-04 Andrew Cagney <ac131313@redhat.com>
2803
2804 * gdb.base/default.exp: Remove obsolete code.
2805 * gdb.c++/misc.exp: Ditto. Update copyright.
2806 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2807 * gdb.base/whatis.exp: Ditto. Update copyright.
2808 * gdb.base/scope.exp: Ditto. Update copyright.
2809 * gdb.base/ptype.exp: Ditto. Update copyright.
2810 * gdb.base/printcmds.exp: Ditto. Update copyright.
2811 * gdb.base/opaque.exp: Ditto. Update copyright.
2812 * gdb.base/list.exp: Ditto.
2813 * gdb.base/funcargs.exp: Ditto. Update copyright.
2814 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2815 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2816 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2817 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2818 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2819 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2820
2821 2002-05-02 Michael Snyder <msnyder@redhat.com>
2822
2823 * gdb.base/watchpoint.exp: Add xscale target.
2824 * gdb.base/long_long.exp: Add xscale target.
2825 * gdb.base/default.exp: Add xscale target.
2826
2827 2002-05-01 Jim Blandy <jimb@redhat.com>
2828
2829 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2830 gdb.c++/hang.exp: New test.
2831
2832 2002-05-01 Fred Fish <fnf@redhat.com>
2833
2834 * gdb.base/completion.exp: Handle completions of "./Make" for
2835 more than one completion possibility, as is the case when we
2836 build and test in the source tree.
2837
2838 2002-04-29 Anthony Green <green@redhat.com>
2839
2840 * gdb.java/jmisc1.exp: New file.
2841 * gdb.java/jmisc2.exp: New file.
2842
2843 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
2844
2845 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2846
2847 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
2848
2849 * gdb.base/help.exp: Change 'help status' to allow for target
2850 dependent output differences.
2851
2852 2002-04-22 Michael Chastain <mec@shout.net>
2853
2854 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2855
2856 2002-04-22 Michael Chastain <mec@shout.net>
2857
2858 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2859
2860 2002-04-17 David S. Miller <davem@redhat.com>
2861
2862 * gdb.asm/sparc64.inc: New file.
2863 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2864
2865 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
2866
2867 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2868 instruction file directly into the build tree. Clean up at end of
2869 test.
2870
2871 2002-04-18 David S. Miller <davem@redhat.com>
2872
2873 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2874 handle 64-bit platforms correctly.
2875 * gdb.base/maint.exp: Likewise.
2876
2877 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2878
2879 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2880 ``-fpic'' when compiling files comprising a shared library, but
2881 it does need additional linker flags in order to find shared
2882 libraries at run time.
2883
2884 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2885
2886 * gdb.base/cvexpr.c (use): New function.
2887 (main): Invoke use() on all global variables to prevent
2888 some linkers from deleting these otherwise unused symbols.
2889
2890 2002-04-17 Michael Chastain <mec@shout.net>
2891 From David S. Miller <davem@redhat.com>
2892
2893 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2894 handle 64-bit platforms correctly.
2895
2896 2002-04-12 Michael Snyder <msnyder@redhat.com>
2897 From Jim Blandy <jimb@redhat.com>
2898 * gdb.base/foo.c (foox): Remove section attribute; the linker
2899 script can handle this instead.
2900 * gdb.base/bar.c (barx): Same.
2901 * gdb.base/baz.c (bazx): Same.
2902 * gdb.base/grbx.c (grbxx): Same.
2903
2904 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2905 manager doesn't automatically unmap overlays unnecessarily.
2906
2907 2002-04-10 Martin M. Hunt <hunt@redhat.com>
2908
2909 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2910 stepping out of main.
2911
2912 2002-04-09 Michael Chastain <mec@shout.net>
2913
2914 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2915 scope so that the nested scope tests will make sense.
2916 * gdb.c++/local.exp: Write patterns that actually work with gcc
2917 (the HP patterns "were never known to work with gcc").
2918 Keep the old aCC patterns too.
2919
2920 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
2921
2922 * gdb.base/attach.exp: Correct target board test.
2923
2924 2002-04-08 Michael Chastain <mec@shout.net>
2925
2926 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2927 in a const method. Add some xfail and fail cases for configurations
2928 that do not emit the "const ...".
2929
2930 2002-04-07 Michael Chastain <mec@shout.net>
2931
2932 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2933 Accept "A * const" and "const A * const" as type of "this".
2934 Fix spelling of getFunky throughout. Make messages uniform.
2935
2936 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
2937
2938 Work around for PR gdb/285:
2939 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2940
2941 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
2942
2943 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2944 instructions file at run time instead of configure time.
2945 Sometimes we run the test in a directory that is not the one we
2946 configured in.
2947 * gdb.asm/configure.in: Delete creation of symlink.
2948 * gdb.asm/configure: Regenerate.
2949
2950 2002-04-05 J. Brobecker <brobecker@gnat.com>
2951
2952 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2953 xfullpath () function.
2954
2955 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
2956
2957 * gdb.asm/Makefile.in: Correct dependencies.
2958
2959 * gdb.asm/powerpc.inc: New file.
2960 * gdb.asm/asm-source.exp: Add PowerPC.
2961 * gdb.asm/configure.in: Likewise.
2962 * gdb.asm/configure: Regenerated.
2963
2964 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
2965
2966 * gdb.base/relocate.exp: New file.
2967 * gdb.base/relocate.c: New file.
2968
2969 2002-04-04 Fred Fish <fnf@redhat.com>
2970
2971 * gdb.base/step-test.exp: Update comment regarding stopping in
2972 memcpy/bcopy calls inserted as part of the compiler runtime.
2973
2974 2002-04-04 Michael Snyder <msnyder@redhat.com>
2975
2976 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2977
2978 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
2979
2980 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2981 (gdb_expect): Remove $notransfer hack.
2982
2983 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
2984
2985 * gdb.c++/classes.exp ("calling method for small class"): Match
2986 updated register output.
2987
2988 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
2989
2990 Fix PR gdb/452
2991 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2992 when finished. Make gdb_file_cmd send "exec-file" when
2993 appropriate.
2994
2995 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
2996
2997 * gdb.base/attach.exp: Remove extra setup_xfail.
2998
2999 2002-03-26 Michael Snyder <msnyder@redhat.com>
3000
3001 * gdb.base/default.exp: Add tests for dump, append, and restore.
3002 * gdb.base/help.exp: Add tests for dump, append, and restore.
3003 * gdb.base/dump.exp: New file, test dump, append and restore.
3004 * gdb.base/dump.c: New file.
3005
3006 2002-03-27 Michael Snyder <msnyder@redhat.com>
3007
3008 * gdb.base/help.exp: Modify expect strings to reflect
3009 clean-ups in help messages.
3010
3011 2002-03-26 Fred Fish <fnf@redhat.com>
3012
3013 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3014 have debugging info for those functions and the compiler uses them
3015 internally to copy structs around.
3016
3017 2002-03-26 Fred Fish <fnf@redhat.com>
3018
3019 * gdb.base/list.exp: Revert the change made yesterday and add note
3020 about why we don't list the default lines for remote targets.
3021
3022 2002-03-25 Michael Snyder <msnyder@redhat.com>
3023
3024 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3025
3026 2002-03-25 Fred Fish <fnf@redhat.com>
3027
3028 * gdb.base/list.exp: This test works on remote targets so remove
3029 the short circuit for remote targets. Update copyright.
3030
3031 2002-03-25 Fred Fish <fnf@redhat.com>
3032
3033 * gdb.base/attach.exp: Fix logic error that was suppressing this
3034 test for all non hppa*-*-hpux* targets, instead of the hp target.
3035 Move comments closer to the suppression point. Also now need to
3036 check that we are running natively.
3037
3038 2002-03-22 Michael Snyder <msnyder@redhat.com>
3039
3040 * gdb.base/default.exp: Add test for gcore. Update copyright.
3041 * gdb.base/help.exp: Add test for gcore. Update copyright.
3042
3043 2002-03-06 Fred Fish <fnf@redhat.com>
3044
3045 * gdb.base/funcargs.c: Remove extraneous ';' character.
3046 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3047
3048 2002-03-04 Michael Chastain <mec@shout.net>
3049
3050 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3051 accommodate gcc v3 function signature.
3052 * gdb.mi/mi0-var-cmd-exp: Ditto.
3053
3054 2002-02-24 Andrew Cagney <ac131313@redhat.com>
3055
3056 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3057 ``GNU/Linux'' or ``Linux kernel''
3058 * testsuite/gdb.threads/pthreads.c: Ditto.
3059
3060 2002-02-24 Michael Chastain <mec@shout.net>
3061
3062 * gdb.threads/pthreads.c (thread1): Add a return statement.
3063 (thread2): Likewise.
3064 (foo): Likewise.
3065
3066 2002-02-23 Michael Chastain <mec@shout.net>
3067
3068 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3069 to placate gcc.
3070
3071 2002-02-23 Michael Chastain <mec@shout.net>
3072
3073 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3074 test "ptype bint". The test passes on all my stabs configurations.
3075
3076 2002-02-21 Jim Blandy <jimb@redhat.com>
3077
3078 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3079 filename at a time, and watch for the ones we want to see.
3080
3081 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3082 types of pointers to prototyped functions.
3083
3084 2002-02-20 Andrew Cagney <ac131313@redhat.com>
3085
3086 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3087 signed, unsigned and straight char.
3088 (padding_char, padding_short, padding_int, padding_long,
3089 padding_long_long, padding_float, padding_double,
3090 padding_long_double): New global variables.
3091 (fill, fill_structs): New functions.
3092
3093 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3094 for correctly sized writes. Update copyright.
3095 (get_valueof): New procedure.
3096 (get_sizeof): Call get_valueof.
3097 (check_valueof): New procedure.
3098 (check_padding): New procedure.
3099
3100 2002-02-20 Michael Chastain <mec@shout.net>
3101
3102 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3103 to setup_xfail. Document some of the remaining calls.
3104
3105 2002-02-18 Michael Chastain <mec@shout.net>
3106
3107 * gdb.c++/userdef.exp: Update copyright year.
3108
3109 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
3110
3111 * gdb.c++/userdef.exp: Test overloaded operators properly.
3112 Remove xfails.
3113
3114 2002-02-14 Michael Snyder <msnyder@redhat.com>
3115
3116 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3117
3118 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
3119
3120 * gdb.base/a2-run.exp: Check for a remote target properly.
3121 * gdb.base/annota1.exp: Likewise.
3122 * gdb.base/list.exp: Likewise.
3123 * gdb.base/reread.exp: Likewise.
3124 * gdb.base/scope.exp: Likewise.
3125 * gdb.base/shlib-call.exp: Likewise.
3126 * gdb.base/term.exp: Likewise.
3127 * gdb.c++/annota2.exp: Likewise.
3128
3129 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
3130
3131 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3132
3133 2002-02-10 Michael Chastain <mec@shout.net>
3134
3135 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3136 (call_after_alloca): Ditto.
3137
3138 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
3139
3140 * gdb.base/ending-run.exp: Guard "cont" test with
3141 gdb_skip_stdio_test.
3142
3143 2002-02-06 Jim Blandy <jimb@redhat.com>
3144
3145 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3146 from here...
3147 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3148 To here. Disable this test on non-HP platforms. Add big comment.
3149
3150 2002-02-04 Michael Snyder <msnyder@redhat.com>
3151
3152 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3153 other than d10v and m32r.
3154
3155 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
3156
3157 * gdb.base/default.exp: Rewrite test patterns to reduce time
3158 taken to match them.
3159
3160 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3161
3162 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3163 Allow a start function above main.
3164 * gdb.threads/linux-dp.exp: Fix copyright date.
3165
3166 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3167
3168 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3169 (check_philosopher_stack): Check for manager thread before checking
3170 for a just-starting thread.
3171
3172 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3173
3174 From Neil Booth <neil@daikokuya.demon.co.uk>:
3175 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3176 warnings.
3177
3178 2002-01-21 Fred Fish <fnf@redhat.com>
3179
3180 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3181 not caller.
3182
3183 2002-01-21 Jim Blandy <jimb@redhat.com>
3184
3185 * gdb.base/reread.exp: Check that GDB properly re-reads the
3186 executable file when it changes while no inferior is running.
3187
3188 2002-01-21 Fred Fish <fnf@redhat.com>
3189
3190 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3191 optionally accept the "shlib events" variation.
3192
3193 2002-01-21 Jim Blandy <jimb@redhat.com>
3194
3195 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3196 call `fflush' after every `printf', so that the output is produced
3197 at predictable points, regardless of whatever buffering does (or
3198 doesn't) take place.
3199 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3200 at different points.
3201
3202 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3203
3204 * gdb.c++/inherit.exp: Update copyright years.
3205 * gdb.c++/method.exp: Likewise.
3206
3207 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3208
3209 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3210 artificial methods/arguments.
3211 * gdb.c++/derivation.exp: Likewise.
3212 * gdb.c++/inherit.exp: Likewise.
3213 * gdb.c++/method.exp: Likewise.
3214 * gdb.c++/virtfunc.exp: Likewise.
3215
3216 2002-01-18 Andrew Cagney <ac131313@redhat.com>
3217
3218 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3219 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3220 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3221 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3222 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3223 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3224
3225 2002-01-17 Jim Blandy <jimb@redhat.com>
3226
3227 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3228 anchoring the pattern matching the entry point symbol's name.
3229
3230 2002-01-17 Andrew Cagney <ac131313@redhat.com>
3231
3232 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3233 continue/quit query. Update copyright.
3234
3235 2002-01-14 Michael Snyder <msnyder@redhat.com>
3236
3237 * gdb.base/gcore.exp: Remove extra debugging output.
3238
3239 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3240
3241 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3242 for slightly dubious v2 mangled string.
3243
3244 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3245
3246 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3247
3248 2002-01-10 Jason Merrill <jason@redhat.com>
3249
3250 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
3251
3252 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3253 constructors.
3254 * gdb.c++/derivation.exp: Likewise.
3255 * gdb.c++/templates.exp: Likewise.
3256 * gdb.c++/virtfunc.exp: Likewise.
3257
3258 2002-01-10 Michael Snyder <msnyder@redhat.com>
3259
3260 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
3261
3262 2002-01-08 Michael Snyder <msnyder@redhat.com>
3263
3264 * gdb.base/gcore.exp: New test for generate-core-file command.
3265 * gdb.base/gcore.c: Testcase for above.
3266 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3267
3268 2002-01-08 Jason Merrill <jason@redhat.com>
3269
3270 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3271
3272 2002-01-07 Fred Fish <fnf@redhat.com>
3273
3274 * gdb.c++/overload.exp: Remove unconditional xfails for:
3275 print foo_instance1.overloadargs(1)
3276 print foo_instance1.overloadargs(1, 2)
3277 print foo_instance1.overloadargs(1, 2, 3)
3278 print foo_instance1.overloadargs(1, 2, 3, 4)
3279 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3280 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3281 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3282 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3283 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3284 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3285 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3286 print foo_instance1.overload1arg()
3287 print foo_instance1.overload1arg((char)arg2)
3288 print foo_instance1.overload1arg((signed char)arg3)
3289 print foo_instance1.overload1arg((unsigned char)arg4)
3290 print foo_instance1.overload1arg((int)arg7)
3291 print foo_instance1.overload1arg((unsigned int)arg8)
3292 print foo_instance1.overload1arg((float)arg11)
3293 print foo_instance1.overload1arg((double)arg12)
3294
3295 2002-01-07 Michael Snyder <msnyder@redhat.com>
3296
3297 * gdb.base/huge.exp: New test. Print a very large target data object.
3298 (skip_huge_test): New test variable. Define if you want to skip this
3299 test. The test reads an 8 megabyte data object from the target, so it
3300 might be very time consuming on remote targets with a slow connection.
3301 * gdb.base/huge.c: New file. Test case for above.
3302
3303 2002-01-07 Fred Fish <fnf@redhat.com>
3304
3305 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3306 g_instance.bfoo, and g_instance.cfoo.
3307
3308 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3309
3310 * gdb.base/break.c (multi_line_if_conditional): New function.
3311 (multi_ilne_while_conditional): Likewise.
3312 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3313 IF or WHILE condition puts the breakpoint at the start of
3314 the condition.
3315
3316 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3317 hppa*-*-hpux* expected failure.
3318 * gdb.base/structs.exp (do_function_calls): Similarly.
3319
3320 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3321 watchpoints.
3322
3323 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3324
3325 Fix PR gdb/66.
3326 * gdb.base/structs.exp: Replace skip for a29k with skip for
3327 gdb,cannot_call_functions.
3328 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3329 * gdb.base/callfuncs.exp: Ditto.
3330 * gdb.base/call-rt-st.exp: Ditto.
3331 * gdb.base/call-strs.exp: Ditto.
3332 * gdb.base/callfwmall.exp: Ditto.
3333 * gdb.base/scope.exp: Obsolete xfail a29k.
3334 * gdb.c++/misc.exp: Ditto.
3335 * gdb.c++/cplusfuncs.exp: Ditto.
3336 * gdb.base/ptype.exp: Ditto.
3337 * gdb.base/printcmds.exp: Ditto.
3338 * gdb.base/opaque.exp: Ditto.
3339 * gdb.base/list.exp: Ditto.
3340 * gdb.base/funcargs.exp: Ditto.
3341 * gdb.base/default.exp: Ditto.
3342
3343 2002-01-04 Michael Snyder <msnyder@redhat.com>
3344
3345 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
3346 * gdb.base/maint.exp: Add tests for maint info sections options.
3347
3348 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3349
3350 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3351
3352 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
3353
3354 * gdb.asm/arm.inc: New file.
3355 * gdb.asm/asm-source.exp: Add arm targets.
3356 * gdb.asm/configure.in: Ditto.
3357 * gdb.asm/configure: Recreated from configure.in.
3358
3359 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3360
3361 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3362 with HP's compiler.
3363 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3364 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3365 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3366 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3367
3368 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3369 either HP's compilers or GCC.
3370
3371 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3372 a SIGBUS or SIGSEGV.
3373
3374 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3375
3376 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3377 can be compiled with either HP's compiler or GCC.
3378
3379 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3380 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3381 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3382
3383 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3384 to match current gdb output. Update due to using auto-solib-limit
3385 for limiting instead of overloading auto-solib-add.
3386 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3387 test program.
3388
3389 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
3390 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3391 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3392 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3393 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3394 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3395 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3396 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3397 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3398 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3399 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3400 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3401 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3402
3403 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3404 a SIGTRAP to the inferior.
3405
3406 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
3407
3408 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3409 Substitute call to target_link by call to gdb_compile.
3410
3411 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3412
3413 * gdb.base/break.exp: Fix HP specific search string when testing
3414 backtracing in a called function.
3415
3416 * gdb.base/constvars.exp: Only set lang to C++ if we're
3417 compiling the test with HP's compilers.
3418 * gdb.base/volatile.exp: Similarly.
3419
3420 2001-12-19 Jim Blandy <jimb@redhat.com>
3421
3422 * gdb.base/printcmds.exp: Expect the null character to be printed
3423 as '\0', and the '\013' to be printed as '\v'.
3424 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3425 * gdb.base/setvar.exp: Same.
3426
3427 2001-12-17 Jim Blandy <jimb@redhat.com>
3428
3429 * gdb.base/completion.exp: Rather than completing very long
3430 filenames, which can make the readline library produce output we
3431 don't recognize, cd to the directory first, and then complete
3432 using nice, short relative paths.
3433
3434 * gdb.base/completion.exp: On some systems, there is, in fact, a
3435 variable named `b' in scope, since GDB treats all static
3436 variables as being in scope. So use `no_var_named_this'
3437 instead of `b'.
3438
3439 * gdb.base/corefile.exp: Recognize the message saying that GDB
3440 can't find the core file's registers as a failure.
3441
3442 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3443
3444 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3445 test expect string more specific.
3446
3447 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
3448
3449 * gdb.asm/asm-source.exp: Add support for xstormy16.
3450 * gdb.asm/configure.in: Ditto.
3451 * gdb.asm/configure: Rebuild.
3452 * gdb.asm/xstormy16.inc: New file.
3453
3454 2001-12-10 Fred Fish <fnf@redhat.com>
3455
3456 * gdb.base/maint.exp: Update to match changes in type dumping code.
3457
3458 2001-12-10 Jim Blandy <jimb@redhat.com>
3459
3460 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3461 matching the entry point symbol's name at the beginning of the
3462 line.
3463
3464 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3465
3466 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3467 gdb.c++/inherit.exp, gdb.c++/method.exp,
3468 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3469 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3470 and class layout support.
3471
3472 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3473
3474 * gdb.c++/classes.exp: Add test for static member function.
3475 * gdb.c++/misc.cc: Add class with static member function.
3476
3477 2001-12-07 Jim Blandy <jimb@redhat.com>
3478
3479 If GDB says it can't find the struct the function returned, report
3480 those tests as `unsupported'.
3481 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3482 Rewrite subsequent tests to use it.
3483
3484 If GDB says it can't find the struct the function returned, report
3485 those tests as `unsupported'.
3486 * gdb.base/structs.exp (call_struct_func): New function.
3487 (do_function_calls): Use call_struct_func to call the functions
3488 returning structs.
3489
3490 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3491 whether functions are prototyped or not, so we can't possibly pass
3492 arguments to t_float_values2 properly.
3493
3494 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3495 value of `timeout' for targets other than the mips*tx39-*.
3496
3497 2001-12-06 Michael Snyder <msnyder@redhat.com>
3498
3499 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3500 and detect whether the start symbol has a leading underscore.
3501
3502 2001-12-04 Jim Blandy <jimb@redhat.com>
3503
3504 * gdb.base/completion.exp: Clarify indentation.
3505
3506 2001-12-03 Jim Blandy <jimb@redhat.com>
3507
3508 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3509 variables on the S/390, not `.word'.
3510
3511 2001-11-30 Jim Blandy <jimb@redhat.com>
3512
3513 Add assembly-source tests for s390-ibm-linux.
3514 * gdb.asm/s390.inc: New file.
3515 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3516 the S/390 architecture.
3517 * gdb.asm/configure: Regenerated.
3518
3519 2001-11-30 Michael Snyder <msnyder@redhat.com>
3520
3521 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3522 next, info source, info sources, info line, global and static
3523 variables, and static functions.
3524 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3525 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3526 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3527 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3528 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3529 (gdbasm_leave): Restore frame pointer.
3530 (gdbasm_startup): Copy stack set-up from crt0.S.
3531
3532 2001-11-26 Fernando Nasser <fnasser@redhat.com>
3533
3534 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3535 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3536 to a local (non-static) variable. Copy tstruct.a to a static buffer
3537 and return a pointer to that buffer.
3538 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3539
3540 2001-11-24 Mark Kettenis <kettenis@gnu.org>
3541
3542 * gdb.asm/configure.in: Fix recognition of ix86 target.
3543 * gdb.asm/configure: Regenerate.
3544
3545 2001-11-21 Michael Snyder <msnyder@redhat.com>
3546
3547 * gdb.asm/sparc.inc: New file.
3548 * gdb.asm/asm-source.exp: Recognize sparc target.
3549 * gdb.asm/configure.in: Recognize sparc target.
3550 * gdb.asm/configure: Regenerate.
3551
3552 2001-11-21 Michael Snyder <msnyder@redhat.com>
3553
3554 * gdb.asm/m32r.inc: New file.
3555 * gdb.asm/asm-source.exp: Recognize m32r target.
3556 * gdb.asm/configure.in: Recognize m32r target.
3557 * gdb.asm/configure: Regenerate.
3558
3559 2001-11-20 Michael Snyder <msnyder@redhat.com>
3560
3561 * gdb.asm/i386.inc: New file.
3562 * gdb.asm/asm-source.exp: Recognize ix86 target.
3563 * gdb.asm/configure.in: Recognize ix86 target.
3564 * gdb.asm/configure: Regenerate.
3565
3566 * gdb.c++/namespace.exp: Fix quotes in output messages.
3567
3568 2001-11-14 Michael Snyder <msnyder@redhat.com>
3569
3570 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
3571 qualifier in a type cast expression, to designate an address
3572 in the instruction space (Harvard architecture).
3573
3574 2001-11-13 Michael Snyder <msnyder@redhat.com>
3575
3576 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3577 Tests for expressions using 'const' and 'volatile'.
3578
3579 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
3580
3581 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3582
3583 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
3584
3585 * lib/mi-support.exp (mi_run_to_helper): Move comments
3586 outside of gdb_expect.
3587
3588 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
3589
3590 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3591 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3592 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3593 mi0_run_to): New functions.
3594 * gdb.mi/mi-simplerun.exp: Use them.
3595 * gdb.mi/mi0-simplerun.exp: Likewise.
3596 * gdb.mi/mi-var-cmd.exp: Likewise.
3597 * gdb.mi/mi0-var-cmd.exp: Likewise.
3598
3599 2001-11-10 Andrew Cagney <ac131313@redhat.com>
3600
3601 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3602 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3603
3604 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3605
3606 * gdb.base/restore.exp: Include $expected value in restored test
3607 message.
3608
3609 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3610
3611 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3612 implemented.
3613
3614 2001-11-08 Michael Snyder <msnyder@redhat.com>
3615
3616 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3617 Add pass/fail message for stop at breakpoint in call dummy function.
3618
3619 2001-11-07 Michael Snyder <msnyder@redhat.com>
3620
3621 * gdb.c++/templates.exp (test_template_breakpoints):
3622 If we get an overload menu, but it does not match what
3623 we expect, we still need to issue the "cancel" command.
3624 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3625 making the whitespace optional. Argument for "new" may be
3626 "unsigned" as well as "unsigned int/long".
3627 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3628 making the whitespace optional. Also replace "(void) with
3629 "((void|)), making the keyword "void" optional.
3630 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3631 making the whitespace optional. Also replace "(void) with
3632 "((void|)), making the keyword "void" optional.
3633 * gdb.base/callfuncs.c (t_float_values): This function must
3634 _not_ be prototyped, and the following function (t_float_values2)
3635 must be prototyped (if the compiler supports it), so that GDB
3636 can be tested against both cases. Usually one case involves
3637 promotion of float to double, while the other does not.
3638 * gdb.base/callfwmall.c: Ditto.
3639 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3640 includes a stack frame for "start".
3641
3642 2001-11-05 Jim Blandy <jimb@redhat.com>
3643
3644 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3645 pointers are 32 bits long, and that offsets of relocs are always
3646 stored in the data (REL-style), and not in the reloc entry itself
3647 (RELA-style).
3648 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3649 stabs.
3650
3651 2001-11-01 Michael Snyder <msnyder@redhat.com>
3652
3653 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3654 and regular expression operators by using quoting.
3655
3656 2001-10-31 Michael Snyder <msnyder@redhat.com>
3657
3658 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3659 depending on what the symbol table contains.
3660 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3661 the output of the ptype command. Similarly, accept both "const &"
3662 and "const&".
3663
3664 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
3665
3666 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3667 symbol `STORAGE' to allow to choose the storage class of
3668 the local datastructures.
3669 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3670 compiler directive.
3671
3672 2001-10-30 Michael Snyder <msnyder@redhat.com>
3673
3674 * gdb.base/jump.exp: Allow it to run for all targets.
3675
3676 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3677
3678 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3679 with new double_array size.
3680 (main): Change storage class of all local variables to static.
3681 Reduce size of double_array to 9.
3682 * gdb.base/call-ar-st.exp: Increase timeout value.
3683 Change expected output for double array to match new size in
3684 call-ar-st.c.
3685
3686 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3687
3688 * gdb.base/ending-run.exp: Create identical output when passing
3689 `step to end of run' case. Add regular expression branch satisfying
3690 Stormy16 target.
3691
3692 2001-10-28 Mark Kettenis <kettenis@gnu.org>
3693
3694 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3695 that we catch the expected failure under Linux/x86.
3696
3697 2001-10-29 Orjan Friberg <orjanf@axis.com>
3698
3699 * gdb.base/setvar.exp: Escape curly braces.
3700 * gdb.stabs/weird.exp: Ditto.
3701
3702 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
3703
3704 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3705 * gdm.mi/mi0-hack-cli.exp: Likewise.
3706
3707 2001-10-25 Andrew Cagney <ac131313@redhat.com>
3708
3709 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3710 messages.
3711
3712 2001-10-21 Andrew Cagney <ac131313@redhat.com>
3713
3714 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3715 checking MI enabled.
3716
3717 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
3718
3719 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3720
3721 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
3722
3723 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3724 if gdb child process crashes, just signal an error.
3725
3726 2001-10-02 Jim Blandy <jimb@redhat.com>
3727
3728 * lib/gdb.exp (test_xfail_format): Simplify.
3729
3730 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3731 front of the variable name `format'. Simplify `if'.
3732
3733 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3734
3735 * gdb.threads/pthreads.exp: Wait for output and delay
3736 before sending ^C.
3737
3738 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3739
3740 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3741 some incorrect output instead of timing out.
3742 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3743
3744 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
3745
3746 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3747 check to allow additional `int'.
3748
3749 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
3750
3751 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3752 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3753
3754 2001-09-27 Michael Snyder <msnyder@redhat.com>
3755
3756 * lib/gdb.exp (test_debug_format): New proc.
3757 (setup_xfail_format): Use new proc test_debug_format.
3758 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3759 proc; use new service proc test_debug_format.
3760 Replace all other "gcc_compiled" tests with this test.
3761 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3762 proc; use new service proc test_debug_format.
3763 Replace all other "gcc_compiled" tests with this test.
3764
3765 2001-09-27 Michael Snyder <msnyder@redhat.com>
3766
3767 * gdb.base/cvexpr.exp: New file.
3768 * gdb.base/cvexpr.c: New file
3769 Test for expressions using const and volatile keywords.
3770
3771 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
3772
3773 * gdb.base/constvars.exp: Check for different orders of keywords
3774 and additional "int" strings in output.
3775
3776 2001-09-22 Andrew Cagney <ac131313@redhat.com>
3777
3778 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3779 responses from "help maint".
3780
3781 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
3782
3783 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3784 to localhost:NNN instead of :NNN, in case Xvfb is listening
3785 only on TCP.
3786
3787 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
3788
3789 * gdb.base/recurse.exp: When checking leaving the watchpoint
3790 scope, recognize when gdb is in function's epilogue and pass.
3791
3792 2001-09-18 Keith Seitz <keiths@redhat.com>
3793
3794 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3795 support for running tests against sid targets.
3796 (gdbtk_done): Ditto.
3797
3798 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
3799
3800 * gdb.base/ending-run.c (main): Set stdout buffersize
3801 to the same reasonable value for any target.
3802 * gdb.base/ending-run.exp: Add a regular expression
3803 to make testsuite happy on Sanyo Stormy16 target.
3804
3805 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
3806
3807 * gdb.base/display.c (do_loops): Add float variable `f'.
3808 Increment f in loop.
3809 * gdb.base/display.exp: Increment timeout by 60 seconds.
3810 Change float display test to use variable `f'.
3811
3812 2001-09-17 Jim Blandy <jimb@redhat.com>
3813
3814 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3815 overflowing the limited breakpoint tables on some ROM monitors
3816 (like the ROM68K).
3817
3818 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
3819
3820 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3821 the "-ac" (disable access control) flag.
3822
3823 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
3824
3825 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3826 ints.
3827
3828 2001-08-30 Keith Seitz <keiths@redhat.com>
3829
3830 * lib/gdb.exp: Move all insight-related functionality into
3831 separate file.
3832 * lib/insight-support.exp: New file.
3833
3834 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
3835
3836 * config/sid.exp (sid_start): Never set sid verbosity; disable
3837 expect_background {} that consumed its stdout; tolerate </dev/null.
3838 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3839
3840 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3841
3842 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3843 CLI jump command to start it.
3844 (mi_run_to_main): Fail immediatly when unexpected output.
3845
3846 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3847
3848 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3849 beginning of function. Fix PR gdb/191.
3850
3851 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
3852
3853 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3854 what to force sid endianness to.
3855
3856 2001-08-15 Keith Seitz <keiths@redhat.com>
3857
3858 * lib/gdb.exp (gdbtk_start): Don't set environment
3859 variables for TCL_LIBRARY and friends. Insight will
3860 now figure these out for itself.
3861
3862 2001-08-02 Michael Snyder <msnyder@redhat.com>
3863
3864 * gdb.base/completion.exp: Remove the symbol "a64l" from
3865 the expect string; this is target-specific, and not related
3866 to what is being tested.
3867
3868 2001-08-02 Dave Brolley <brolley@redhat.com>
3869
3870 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3871
3872 2001-07-25 Michael Snyder <msnyder@redhat.com>
3873
3874 * gdb.base/consecutive.exp: New file. Test stepping over
3875 breakpoints on consecutive instructions.
3876 * gdb.base/consecutive.c: New file.
3877
3878 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3879 curly braces in regular expressions.
3880
3881 2001-07-25 Michael Snyder <msnyder@redhat.com>
3882
3883 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3884 legitimate output from stepping out of main.
3885
3886 2001-07-22 Keith Seitz <keiths@redhat.com>
3887
3888 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3889 the empty string, do not run the tests.
3890
3891 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3892
3893 * gdb.base/long_long.exp: Detect size of pointer. Take into
3894 account 2-byte pointers when testing for p/a results.
3895
3896 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3897
3898 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3899 and defined to 1K for m68hc11.
3900 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3901 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3902 (sizeof_random_data): New variable to tell the size of the data table;
3903 don't test past this size; always run to main.
3904
3905 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3906
3907 * gdb.base/return2.exp: return of long long and double fails for
3908 68HC11; don't execute these tests on that platform.
3909 * gdb.base/return.exp: Return of a double fails for 68hc11.
3910
3911 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3912
3913 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3914 tests that print a float.
3915 * call-rt-st.exp: Likewise.
3916
3917 2001-07-12 Mark Kettenis <kettenis@gnu.org>
3918
3919 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3920 running this test on Linux.
3921
3922 2001-06-24 Michael Chastain <chastain@redhat.com>
3923
3924 * gdb.base/arithmet.exp: Remove some tests to make all test names
3925 unique.
3926
3927 2001-07-03 Michael Snyder <msnyder@redhat.com>
3928
3929 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3930 the output of the ptype command.
3931
3932 2001-07-02 Michael Snyder <msnyder@redhat.com>
3933
3934 * gdb.base/completion.exp: Don't assume that break.c is the only
3935 source file that may contain functions named "marker".
3936 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3937
3938 2001-06-28 Andrew Cagney <ac131313@redhat.com>
3939
3940 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3941 of files to delete.
3942
3943 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3944 * gdb.disasm/h8300s.exp: New file.
3945 gdb.disasm/h8300s.s: Likewise.
3946
3947 2001-06-27 Andrew Cagney <ac131313@redhat.com>
3948
3949 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3950 empty breakpoint tables.
3951
3952 2001-06-25 Andrew Cagney <ac131313@redhat.com>
3953
3954 * lib/mi-support.exp: Update args=... part of stop-reason
3955 patterns. Accept either a list or a tuple.
3956
3957 2001-06-23 Andrew Cagney <ac131313@redhat.com>
3958
3959 * lib/mi-support.exp: Remove local emacs variable defining
3960 change-log-default-name.
3961
3962 2001-06-22 Michael Chastain <chastain@redhat.com>
3963
3964 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3965 This is operationally compatible with the previous version.
3966
3967 2001-06-13 Jim Blandy <jimb@redhat.com>
3968
3969 * lib/gdb.exp (gdb_test): Doc fix.
3970
3971 2001-06-10 Michael Chastain <chastain@redhat.com>
3972
3973 * gdb.base/exprs.exp: Remove a duplicate test.
3974
3975 2001-06-06 Jim Blandy <jimb@redhat.com>
3976
3977 * gdb.base/return2.exp (main): Use values to test float and double
3978 returns that are not NaN's, to avoid being confused by IEEE
3979 comparison rules.
3980
3981 2001-06-04 Michael Snyder <msnyder@redhat.com>
3982
3983 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3984 non-zero if control_c fails. Terminate the test on failure,
3985 rather than wait for 12 more tests to time out.
3986
3987 2001-06-06 Jim Blandy <jimb@redhat.com>
3988
3989 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3990 Don't forget to match the GDB prompt.
3991
3992 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3993
3994 2001-06-04 Jim Blandy <jimb@redhat.com>
3995
3996 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3997 command.
3998
3999 2001-05-31 Kevin Buettner <kevinb@redhat.com>
4000
4001 * gdb.base/annota1.exp (info break): Match four or more spaces
4002 after "Address".
4003
4004 2001-05-31 Michael Chastain <chastain@redhat.com>
4005
4006 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4007 (dm_type_int_star): Likewise.
4008 (dm_type_long_star): Likewise.
4009 (dm_type_void_star): Likewise.
4010
4011 2001-05-29 Kevin Buettner <kevinb@redhat.com>
4012
4013 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4014 to a known value in order to get consistent results regardless
4015 of the setting of INPUTRC or the presence or contents of .inputrc.
4016
4017 2001-05-24 Michael Snyder <msnyder@redhat.com>
4018
4019 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4020 Don't require that the main thread and the manager thread are the
4021 first in the list.
4022
4023 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4024 debugging. If test fails, issue an "unsupported" not a "fail".
4025
4026 2001-05-24 Jim Blandy <jimb@redhat.com>
4027
4028 Don't assume that short is shorter than int.
4029 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4030 assume that shorts are smaller than ints. On a 16-bit machine,
4031 this isn't true.
4032 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4033 an int, is not equal to ~0 stored in an unsigned char. This tests
4034 the same thing that the previous test meant to, but works on
4035 16-bit machines, too.
4036 ("print unsigned char != (~0)"): Same test, complemented.
4037
4038 2001-05-24 Michael Snyder <msnyder@redhat.com>
4039
4040 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
4041 test for (full_coverage == 0). This makes the test run faster,
4042 and prevents dejagnu getting out of step.
4043
4044 2001-05-23 Kevin Buettner <kevinb@redhat.com>
4045
4046 * gdb.base/finish.exp (finish_void): Revise pattern for
4047 stopping on the call statement to not permit stopping at
4048 the start of the instructions comprising the call sequence.
4049
4050 2001-05-19 Michael Chastain <chastain@redhat.com>
4051
4052 * gdb.base/callfuncs.exp: Make all test names unique.
4053 * gdb.base/commands.exp: Make all test names unique.
4054 * gdb.base/condbreak.exp: Make all test names unique.
4055 * gdb.base/dbx.exp: Make all test names unique.
4056 * gdb.base/default.exp: Make all test names unique.
4057 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4058 and TIMEOUT messages to their corresponding PASS message.
4059 * gdb.base/ending-run.exp: Make all test names unique.
4060 * gdb.base/long_long.exp: Remove duplicate test.
4061
4062 2001-05-21 Kevin Buettner <kevinb@redhat.com>
4063
4064 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4065 stop on the call statement as well as the statement after the
4066 call.
4067
4068 2001-05-21 Michael Snyder <msnyder@redhat.com>
4069
4070 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4071
4072 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
4073
4074 * gdb.base/completion.exp: Revamp test. Make it execute on all
4075 platforms.
4076
4077 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
4078
4079 * config/gdbserver.exp (gdb_load): Handle the case
4080 in which the arguments to gdbserver are given in the
4081 baseboard configuration file.
4082 Also handle the case in which the server needs to do a
4083 load.
4084
4085 2001-05-07 Keith Seitz <keiths@cygnus.com>
4086
4087 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4088 set up the display for testing.
4089 (gdbtk_start): Convert all paths to paths that tcl will like.
4090 Export target information to environment.
4091 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4092 necessary.
4093 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4094 (to_tcl_path): New proc to convert a given pathname into
4095 a path acceptible as an argument to a tcl command.
4096 (_gdbtk_export_target_info): New proc to export target info
4097 into the environment for gdbtk testing.
4098 (gdbtk_done): New proc to signal end-of-test.
4099
4100 2001-05-06 Jim Blandy <jimb@redhat.com>
4101
4102 * restore.c: Make the code of caller0 correspond to its comment.
4103
4104 2001-05-03 Michael Snyder <msnyder@redhat.com>
4105
4106 * config/sid.exp (gdb_target_sid): Check for error messages.
4107 On error or timeout, don't make expect exit (which will terminate
4108 all subsequent tests); instead just make gdb exit.
4109 (gdb_load): Check for error messages. On error or timeout,
4110 return a negative value.
4111
4112 2001-04-24 Jim Blandy <jimb@redhat.com>
4113
4114 * gdb.c++/templates.exp: If we see the prompt for the overload
4115 list, but we haven't recognized any of the longer patterns,
4116 arrange for this test to fail, not hang.
4117
4118 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4119 variations.
4120
4121 2001-04-22 Michael Chastain <chastain@redhat.com>
4122
4123 * gdb.c++/local.exp: Use the 'runto' library function.
4124 * gdb.c++/namespace.exp: Likewise.
4125 * gdb.c++/overload.exp: Likewise.
4126
4127 2001-03-26 Kevin Buettner <kevinb@redhat.com>
4128
4129 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4130 * gdb.base/step-line.exp: New file. Test step/next in presence of
4131 #line directives.
4132 * gdb.base/step-line.c: New file. Test program for the above.
4133 * gdb.base/step-line.inp: New file. We pretend that this file has
4134 been transformed by some other tool into step-line.c.
4135
4136 2001-03-21 Jim Blandy <jimb@redhat.com>
4137
4138 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4139 unmangled operator names.
4140
4141 2001-03-20 Jim Blandy <jimb@redhat.com>
4142
4143 * gdb.threads/linux-dp.exp: Recognize an additional message
4144 generated by GDB when it doesn't understand how to debug threads
4145 on the target system.
4146
4147 2001-03-19 Andrew Cagney <ac131313@redhat.com>
4148
4149 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4150
4151 2001-03-12 Michael Chastain <chastain@redhat.com>
4152
4153 * gdb.c++/derivation.exp: Use the 'runto' library function.
4154
4155 2001-03-12 Michael Chastain <chastain@redhat.com>
4156
4157 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4158
4159 2001-02-24 Michael Chastain <chastain@redhat.com>
4160
4161 * gdb.c++/ref-types.exp: Change handwritten code to library
4162 function 'runto'.
4163
4164 2001-03-16 Orjan Friberg <orjanf@axis.com>
4165
4166 * gdb.base/signals.exp: Set count to 0 explicitly.
4167
4168 2001-03-15 Mark Salter <msalter@redhat.com>
4169
4170 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4171 (gdb_target_monitor): Add check of gdb_target_cmd return value.
4172 (gdb_load): Add support for additional target_info: gdb_download_size
4173 and gdb_load_timeout.
4174
4175 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4176
4177 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4178 file -- to prevent failing when the compile fails but we have no
4179 intention of running the tests anyway.
4180
4181 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4182 tests if set.
4183
4184 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4185 integers.
4186
4187 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4188 * gdb.c++/namespace.exp: Ditto.
4189
4190 2001-03-07 Orjan Friberg <orjanf@axis.com>
4191
4192 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4193 * gdb.base/pointers.exp: Relax pattern match of decimals.
4194
4195 2001-03-06 Kevin Buettner <kevinb@redhat.com>
4196
4197 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4198 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4199 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4200 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4201 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4202 config/sh.exp, config/sid.exp, config/slite.exp,
4203 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4204 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4205 config/vxworks.exp, config/vxworks29k.exp,
4206 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4207 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4208 gdb.base/arithmet.exp, gdb.base/assign.exp,
4209 gdb.base/async.exp, gdb.base/attach.exp,
4210 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4211 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4212 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4213 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4214 gdb.base/commands.exp, gdb.base/completion.exp,
4215 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4216 gdb.base/constvars.exp, gdb.base/corefile.exp,
4217 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4218 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4219 gdb.base/ending-run.exp, gdb.base/environ.exp,
4220 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4221 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4222 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4223 gdb.base/funcargs.exp, gdb.base/help.exp,
4224 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4225 gdb.base/logical.exp, gdb.base/long_long.exp,
4226 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4227 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4228 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4229 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4230 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4231 gdb.base/regs.exp, gdb.base/relational.exp,
4232 gdb.base/remote.exp, gdb.base/reread.exp,
4233 gdb.base/restore.exp, gdb.base/return2.exp,
4234 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4235 gdb.base/selftest.exp, gdb.base/setshow.exp,
4236 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4237 gdb.base/sigall.exp, gdb.base/signals.exp,
4238 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4239 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4240 gdb.base/step-test.exp, gdb.base/structs.c,
4241 gdb.base/structs.exp, gdb.base/structs2.exp,
4242 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4243 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4244 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4245 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4246 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4247 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4248 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4249 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4250 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4251 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4252 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4253 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4254 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4255 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4256 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4257 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4258 gdb.trace/circ.exp, gdb.trace/collection.exp,
4259 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4260 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4261 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4262 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4263 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4264 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4265 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4266 notices.
4267
4268 2001-02-27 Michael Snyder <msnyder@cygnus.com>
4269
4270 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4271 first arg is int not float.
4272
4273 2001-02-22 Michael Snyder <msnyder@cygnus.com>
4274
4275 * gdb.base/reread.exp: Unsupported for non-native targets;
4276 doesn't work for remote debugging.
4277
4278 2001-02-19 Fernando Nasser <fnasser@redhat.com>
4279
4280 From Drew Moseley <dmoseley@redhat.com>
4281 * gdb.base/ending-run.exp: Properly handle the BSP state when
4282 stepping past the end of main.
4283
4284 2001-02-19 John Moore <jmoore@redhat.com>
4285
4286 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4287 Converted HPUX fix for non-expected items following multiple
4288 step commands into general solution for all platforms.
4289
4290 2001-02-18 Michael Chastain <chastain@redhat.com>
4291
4292 * gdb.c++/classes.exp (do_tests): Change runto statements
4293 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4294 statements demangler agnostic.
4295 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4296 (gdb_virtfunc_restart): Likewise.
4297
4298 2001-02-14 Michael Chastain <chastain@redhat.com>
4299
4300 * gdb.c++/inherit.exp (do_tests): Change runto statements
4301 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4302 statements demangler agnostic.
4303
4304 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4305
4306 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4307 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4308 before calling common_routine 15 times'' tests.
4309
4310 2001-02-11 Michael Chastain <chastain@redhat.com>
4311
4312 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4313 Helps the test script figure out which demangler is in use.
4314 (dm_type_foo_ref): Ditto.
4315 (dm_type_int_star): Ditto.
4316 (dm_type_long_star): Ditto.
4317 (dm_type_unsigned_int): Ditto.
4318 (dm_type_void): Ditto.
4319 (dm_type_void_star): Ditto.
4320 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
4321 Probe the gdb demangler and set variables to accommodate
4322 formatting differences.
4323 (info_func_regexp): New function. Same as info_func, but
4324 matches against a regexp.
4325 (info_func): Match against a literal string.
4326 (print_addr_2): New function. Match against a literal string,
4327 which can be different from the input to gdb.
4328 (print_addr): Simply call print_addr_2 with the same argument twice.
4329 (test_lookup_operator_functions): Use demangler formatting variables.
4330 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4331 the tests in the same order as the C++ class declaration.
4332 (test_paddr_operator_functions): Ditto.
4333 (test_paddr_overloaded_functions): Ditto.
4334 (test_paddr_hairy_functions): Use demangler formatting variables.
4335 Add reference to gdb/19 for related tests.
4336 (do_tests): Call probe_demangler.
4337
4338 2001-01-30 Kevin Buettner <kevinb@redhat.com>
4339
4340 * gdb.c++/templates.cc (printf): Remove unused function definition.
4341
4342 2001-01-26 Felix Lee <flee@redhat.com>
4343
4344 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4345
4346 2001-01-25 matthew green <mrg@redhat.com>
4347
4348 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4349 up sid.
4350 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4351
4352 2001-01-25 matthew green <mrg@redhat.com>
4353
4354 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4355 Deprecate $sid_spawn_id.
4356 (sid_exit): Remove code necessary only for `spawn.'
4357
4358 2001-01-25 matthew green <mrg@redhat.com>
4359
4360 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4361
4362 2001-01-28 Michael Chastain <chastain@redhat.com>
4363
4364 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4365 to call when tests fail. It takes gdb out of the overloaded
4366 function choice menu back to the main prompt, so that the test
4367 program stays synchronized.
4368 (set_bp_overloaded): New proc to collect all the common
4369 code for setting a breakpoint on an overloaded name. Calls
4370 take_gdb_out_of_choice_menu when needed.
4371 (menu_overload1arg): New variable to collect the repeated
4372 instances of the expected menu for an overloaded name. Change
4373 the regular expression to handle changes in g++ type encoding:
4374 "void" can be either "void" or "", and "unsigned int" can be
4375 either "unsigned int" or "unsigned".
4376 (continue_to_bp_overloaded): Change regular expressions to handle
4377 changes in g++ type encoding.
4378 (no proc): Call take_gdb_out_of_choice_menu when needed.
4379 Remove redundant calls to "info break". Accept either "canceled"
4380 or "cancelled". Change regular expressions in "info break"
4381 calls to handle changes in g++ type encoding. Give all tests
4382 unique strings.
4383
4384 2001-01-17 Ben Elliston <bje@redhat.com>
4385
4386 * config/sid.exp: New file.
4387
4388 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4389
4390 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4391
4392 2000-12-21 Michael Snyder <msnyder@cygnus.com>
4393
4394 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4395 Add a RE to accept a non-ascii char if one is ever presented.
4396
4397 2000-12-20 Fernando Nasser <fnasser@redhat.com>
4398
4399 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
4400
4401 2000-12-18 Michael Snyder <msnyder@cygnus.com>
4402
4403 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4404 in regexp. One '\' does not suffice on Linux.
4405
4406 2000-12-09 Michael Chastain <chastain@redhat.com>
4407
4408 * gdb.base/break.exp (test_clear_command): Use a marker function
4409 rather than 'main' for the test function. Also move this
4410 test to an execution point where the marker function names are
4411 guaranteed to be bound to functions. (Executing tests after a
4412 'finish' from main runs into name conflicts with local names
4413 in __libc_start_main).
4414
4415 2000-12-07 Michael Snyder <msnyder@cygnus.com>
4416
4417 * gdb.base/finish.exp: New test for gdb's "finish" command.
4418 * gdb.base/return2.exp: New test for gdb's "return" command.
4419 * gdb.base/return2.c: New source file for above.
4420
4421 2000-12-05 Michael Snyder <msnyder@cygnus.com>
4422
4423 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4424 * gdb.base/miscexprs.exp: Ditto.
4425 * gdb.base/pointers.exp: Ditto.
4426 * gdb.c++/derivation.exp: Ditto.
4427 * gdb.c++/local.exp: Ditto.
4428 * gdb.c++/namespace.exp: Ditto.
4429 * gdb.c++/overload.exp: Ditto.
4430 * gdb.c++/ref-types.exp: Ditto.
4431
4432 2000-12-05 Michael Snyder <msnyder@cygnus.com>
4433
4434 * gdb.base/constvars.exp: Test result of "up" command.
4435 * gdb.base/miscexprs.exp: Ditto.
4436 * gdb.base/pointers.exp: Ditto.
4437 * gdb.base/scope.exp: Ditto.
4438 * gdb.c++/derivation.exp: Ditto.
4439 * gdb.c++/local.exp: Ditto.
4440 * gdb.c++/namespace.exp: Ditto.
4441 * gdb.c++/overload.exp: Ditto.
4442 * gdb.c++/ref-types.exp: Ditto.
4443
4444 2000-11-22 Michael Chastain <chastain@redhat.com>
4445
4446 * mips_pro.exp: Accept either "middle -> top -> main" or
4447 "middle -> main" in the backtrace, because gcc can optimize
4448 tail calls to jumps. Remove setup_xfail for the hppa case.
4449 Add a comment with the original warning messages from PR 3016,
4450 which was filed in 1993, to preserve them for posterity.
4451
4452 2000-11-17 Nick Duffek <nsd@redhat.com>
4453
4454 * lib/gdb.exp (gdb_test): Override timeout with board info.
4455
4456 2000-11-17 Nick Duffek <nsd@redhat.com>
4457
4458 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4459 the second kill and detach messages.
4460
4461 2000-11-17 Nick Duffek <nsd@redhat.com>
4462
4463 * configure.in: Add AC_EXEEXT.
4464 * configure: Regenerate.
4465 * Makefile.in (just-check): Export EXEEXT.
4466 * lib/gdb.exp ($EXEEXT): Import from environment.
4467 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4468 expect "maint dump-me" on Cygwin.
4469 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4470 $EXEEXT.
4471
4472 2000-11-17 Nick Duffek <nsd@redhat.com>
4473
4474 * gdb.base/break.exp: Test backtrace and finish from called
4475 function on all platforms, not just HP-UX.
4476
4477 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4478
4479 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4480 code from gdb_target_monitor, so it can be used independantly
4481 for gdbserver. Also comment out an unnecessary PUTS.
4482
4483 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4484
4485 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4486 * gdb.base/corefile.exp: Expect the message "Program is being
4487 debugged already" when we send the "corefile" command, since
4488 the preceeding gdb_load may have connected gdb to a remote target.
4489 * gdb.base/display.exp: Disable hardware watchpoints if new
4490 board info variable "no_hardware_watchpoints" is true.
4491 Replace single-letter commands with more readable ones.
4492 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4493 if new board info variable "no_hardware_watchpoints" is true.
4494 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4495 to see if stdio (printf) testing is possible.
4496 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4497 board info variable "no_hardware_watchpoints" is true. Use new
4498 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4499
4500 2000-11-13 Fernando Nasser <fnasser@redhat.com>
4501
4502 From Orjan Friberg <orjanf@axis.com>:
4503 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4504 in array print pattern match.
4505
4506 2000-11-09 Fernando Nasser <fnasser@redhat.com>
4507
4508 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4509 spelling "cancelled" to U.S. spelling "canceled" to match changes
4510 made to gdb.
4511 * gdb.c++/ovldbreak.exp: Ditto.
4512
4513 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4514
4515 * gdb.base/callfuncs.c (main): Moved to end of file, call
4516 t_double_values to initialize the FPU before inferior calls are made.
4517 * gdb.base/callfuncs.exp: Test for register preservation after calling
4518 inferior functions. Add tests for continuining, finishing and
4519 returning from a stop in a call dummy.
4520
4521 2000-10-24 Michael Snyder <msnyder@cygnus.com>
4522
4523 * gdb.base/commands.exp: Break up long lines, and re-indent.
4524
4525 2000-10-19 Michael Snyder <msnyder@cygnus.com>
4526
4527 * config/gdbserver.exp: Rewritten from the ground up, to make it
4528 compatible with the current dejagnu tree, and to make it work with
4529 the new "gdbserver" in libremote.
4530
4531 2000-10-16 Michael Snyder <msnyder@cygnus.com>
4532
4533 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4534 * gdb.base/varargs.exp: Skip entire test if no printf support.
4535 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4536 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4537
4538 2000-10-13 Michael Snyder <msnyder@cygnus.com>
4539
4540 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4541 no floating point support.
4542 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4543 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4544 * gdb.base/call-rt-st.exp: Ditto.
4545 * gdb.base/call-strs.exp: Ditto.
4546
4547 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4548
4549 * gdb.base/sizeof.c: include <stdio.h>.
4550
4551 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4552 'finish', otherwise uncaptured gdb_prompt would potentially
4553 throw remaining test points out of sync.
4554
4555 2000-07-26 Scott Bambrough <scottb@netwinder.org>
4556
4557 * gdb.base/recurse.exp: Run tests for all targets.
4558 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4559 gnu-oldld case on ARM.
4560 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4561 for ARM targets.
4562
4563 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4564
4565 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4566 * gdb.java/configure: Rebuild.
4567
4568 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4569
4570 * gdb.java/jv-exp.exp: New file.
4571
4572 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4573
4574 * configure: Rebuilt.
4575 * configure.in (configdirs): Add gdb.java.
4576 * gdb.java/jmisc.java: New file.
4577 * gdb.java/jmisc.exp: New file.
4578 * gdb.java/Makefile.in: New file.
4579 * gdb.java/configure: Rebuilt.
4580 * gdb.java/configure.in: New file.
4581 * lib/java.exp: New file.
4582
4583 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4584
4585 * gdb.base/exprs.exp: Test casts to a pointer including over and
4586 underflow.
4587
4588 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4589
4590 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4591 and the compilers sizes.
4592
4593 2000-07-09 Nick Duffek <nsd@redhat.com>
4594
4595 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4596 (use_methods): New function.
4597 (main): Call use_methods().
4598 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4599 (do_tests): Call test_method_param_class.
4600
4601 2000-07-09 Nick Duffek <nsd@redhat.com>
4602
4603 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4604 spelling.
4605 (test_enums): New procedure. Move enum tests from end of script
4606 to here. Set breakpoint on function name instead of line number.
4607 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4608 (enums2): New marker function.
4609 (enums1): New function.
4610 (main): Call enums1(). Move enum tests to enums1().
4611
4612 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4613
4614 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4615 compile/link program. Update line numbers.
4616 * gdb.asm/d10v.inc: Define ``startup''.
4617 * gdb.asm/asmsrc1.s: Add definition of _start.
4618
4619 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4620
4621 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4622
4623 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4624
4625 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4626 of 'help maint print' command.
4627
4628 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4629
4630 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4631 they use gdb_expect_list.
4632
4633 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4634
4635 * gdb.base/commands.exp: Use ``set remote
4636 memory-read-packet-size'' instead of ``set endian big'' to test
4637 long commands.
4638
4639 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
4640
4641 * gdb.c++/templates.exp (do_tests): Make all of these work under
4642 g++, and stop skipping them.
4643
4644 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4645 work under g++.
4646
4647 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4648 initialization.
4649
4650 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4651
4652 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4653 the regular expression: accept an (almost) arbitrary sequence of
4654 "frames-invalid" and "breakpoints-invalid" messages both before
4655 and after the "starting" message.
4656
4657 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4658
4659 * gdb.c++/local.exp: This test has never been known to work with g++.
4660
4661 2000-05-18 Michael Snyder <msnyder@cygnus.com>
4662
4663 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4664 Relax the regular expression a little, make it pass on Solaris 8.
4665
4666 2000-05-12 Kevin Buettner <kevinb@redhat.com>
4667
4668 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4669 a call, do not require that gdb stop on the line after the call.
4670 Instead, it is permissible for gdb to stop on the line of the
4671 call itself.
4672
4673 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
4674
4675 * gdb.base/break.exp (bp on small function, optimized file):
4676 Add a second pass pattern. The behavior differs here between stabs
4677 and dwarf for one-line functions. Stabs preserves two line symbols
4678 (one before the prologue and one after) with the same line number,
4679 but dwarf regards these as duplicates and discards one of them.
4680 Therefore the address after the prologue (where the breakpoint is)
4681 has no exactly matching line symbol, and GDB reports the breakpoint
4682 as if it were in the middle of a line rather than at the beginning.
4683
4684 2000-05-08 Michael Snyder <msnyder@cygnus.com>
4685
4686 * gdb.base/interrupt.exp: Make "pass" message say "send"
4687 rather than "send_gdb" (for consistancy).
4688
4689 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4690
4691 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4692 * gdb.c++/templates.cc: Properly check for GCC version number.
4693 * lib/compiler.cc: Likewise
4694
4695 2000-04-28 Michael Snyder <msnyder@cygnus.com>
4696
4697 * gdb.base/break.exp: When compiled with -O2 optimization,
4698 gdb may not stop at the first line of main, due to code motion.
4699
4700 2000-04-26 Michael Snyder <msnyder@cygnus.com>
4701
4702 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4703 This test depends on parsing the printf output from the target.
4704 Since the sparclet stub doesn't do stdio, this will never work.
4705 * gdb.base/call-rt-st.exp: ditto.
4706 * gdb.base/call-strs: ditto.
4707
4708 2000-04-24 Michael Snyder <msnyder@cygnus.com>
4709
4710 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4711
4712 * gdb.base/ending-run.exp: After connecting to a remote target,
4713 but before running, the target will appear to be in a random
4714 location. Specify both a file and a line for breakpoints.
4715 Also, the function that calls main may be called 'init'
4716 rather than 'start'.
4717
4718 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4719
4720 * gdb.base/help.exp: Update output for add-symbol-file command.
4721
4722 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
4723
4724 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4725 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4726
4727 2000-04-07 J.T. Conklin <jtc@redback.com>
4728
4729 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4730
4731 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4732
4733 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4734
4735 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4736 values that can be represented exactly.
4737 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4738 above change, and to not check against the directory part of the source
4739 file name.
4740 (step into print_long_arg_list): Likewise.
4741 (print print_small_structs from print_long_arg_list): Likewise.
4742 (print print_long_arg_list): Likewise.
4743
4744 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4745
4746 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
4747
4748 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4749
4750 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4751
4752 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
4753
4754 * gdb.base/commands.exp (deprecated_command_test): Add test for
4755 deprecate with no arguments.
4756
4757 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4758
4759 * gdb.base/break.exp: Add new test for setting breakpoints on
4760 optimized code so we can test breakpoints work even when function
4761 prologues may be optimized away
4762
4763 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4764
4765 From David Whedon <dwhedon@gordian.com>
4766 * gdb.base/commands.exp : Added command deprecator tests.
4767
4768 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
4769
4770 * gdb.base/help.exp: Added test for new apropos command.
4771
4772 2000-03-21 Kevin Buettner <kevinb@redhat.com>
4773
4774 * gdb.base/pointers.c (usevar): New function.
4775 (main): Make sure that global variables v_int_pointer2, rptr,
4776 and y are all referenced someplace in the program by calling
4777 usevar() on them. [Some linkers delete symbols which are
4778 never referenced. The space remains, but there's no way to
4779 get a (symbolic) handle on the variable from the debugger.]
4780
4781 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4782
4783 * gdb.base/printcmds.c: Add typedeffed arrays.
4784
4785 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4786 procedure to test arrays that are typedef'd.
4787
4788 2000-03-13 James Ingham <jingham@leda.cygnus.com>
4789
4790 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
4791 the library directories.
4792
4793 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4794
4795 * configure.in (configdirs): Add sub directory gdb.mi.
4796 * configure: Re-generate.
4797
4798 * gdb.mi: New directory.
4799
4800 2000-02-25 Scott Bambrough <scottb@netwinder.org>
4801
4802 * gdb.base/long_long.exp: Correct test suite failure when printing
4803 a long long value as a double on ARM platforms.
4804
4805 2000-02-16 Jim Blandy <jimb@redhat.com>
4806
4807 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4808 default source file is set properly before running this test.
4809
4810 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4811
4812 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4813 gdbtk/library directory, not in gdbtcl2.
4814
4815 2000-02-04 Jim Blandy <jimb@redhat.com>
4816
4817 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4818 backslash from regexp pattern.
4819
4820 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4821 procedure. Use it to run all the "continue to bp overloaded"
4822 tests. Note that this changes the names of the tests slightly.
4823 If the breakpoint hit message includes a hex PC value, because
4824 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4825 from the real source code, still consider that a pass.
4826
4827 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4828 XFAIL here if the breakpoint message contains a hex address. Note
4829 similar change on 1999-11-02.
4830
4831 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4832
4833 * gdb.base/ptype.exp: Establish a default source file before
4834 calling get_debug_format.
4835
4836 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4837
4838 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4839
4840 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4841
4842 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4843 of successive stepi commands -- while in the prologue we should see
4844 the function entry bracket.
4845
4846 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4847
4848 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4849 reach __change_mode() when stepping through the end of main().
4850
4851 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4852
4853 * gdb.base/default.exp: Fix expected pattern.
4854 * gdb.base/help.exp: Same.
4855
4856 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4857
4858 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4859 Don't use xfail's because that affects only the following test.
4860
4861 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4862 solaris or linux.
4863
4864 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4865
4866 2000-01-07 Michael Snyder <msnyder@cygnus.com>
4867
4868 * gdb.base/display.exp: Some yacc parsers like to say
4869 "A syntax error" rather than "A parse error". Accept both.
4870
4871 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4872
4873 * gdb.base/default.exp: Remove OS dependent string from "target
4874 remote" test.
4875 * gdb.base/help.exp: Same for "help target remote" test.
4876
4877 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4878
4879 From Jim Kingdon <kingdon@redhat.com>:
4880
4881 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4882 prompt (cleanup rather than necessity, but still might keep output
4883 from spilling to next test).
4884
4885 2000-01-02 Fred Fish <fnf@cygnus.com>
4886
4887 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4888 AIX, which defines them in <sys/types.h>.
4889
4890 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
4891
4892 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4893 float" test.
4894
4895 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
4896
4897 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
4898
4899 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4900 outermost frame disallowed".
4901
4902 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4903
4904 * gdb.base/setvar.exp: New tests for setting the value of a struct
4905 with a constant list.
4906
4907 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4908
4909 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4910 require the user to type a cast before setting the value of a struct.
4911
4912 1999-12-06 Jim Blandy <jimb@cygnus.com>
4913
4914 * gdb.base/default.exp: Expect the new 'info float' command on
4915 all i386 platforms.
4916
4917 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4918 LinuxThreads libraries that don't support debugging.
4919
4920 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4921
4922 * gdb.base/remote.c: Fill the buffer with truely random data.
4923 Change the buffer type to ``unsigned char'' to simplify size
4924 arithmetic.
4925
4926 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4927 stub only handles 400-1 byte packets. Verify that the download
4928 worked.
4929
4930 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4931
4932 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4933 tests, using UNRESOLVED for the untested cases. Also, does not wait
4934 for a timeout if the prompt was received before a recognizable pattern.
4935
4936 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4937
4938 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4939
4940 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4941
4942 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4943 watchpoints.
4944
4945 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
4946
4947 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4948
4949 * gdb.c++/local.exp: Be more flexible in recognizing local class
4950 name mangling. Don't allow horribly truncated method names.
4951 * gdb.c++/derivation.exp: Expect protected inheritance.
4952 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4953 * gdb.c++/virtfunc.exp: Likewise.
4954 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4955 when printing a nested enum.
4956
4957 1999-11-22 Jim Blandy <jimb@cygnus.com>
4958
4959 * gdb.base/step-test.exp: Properly await GDB's response to setting
4960 a breakpoint on the call to large_struct_by_value.
4961
4962 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4963 just because we have debug info for the `start' function.
4964
4965 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4966
4967 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4968 "Unknown signal" messages, which indicate (on LinuxThreads) that
4969 GDB doesn't know how to debug threads on this system. This is
4970 better than hanging while philosopher 0 dumps chatter into gdb.log.
4971
4972 1999-11-18 Tom Tromey <tromey@cygnus.com>
4973
4974 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4975
4976 1999-11-18 Fred Fish <fnf@cygnus.com>
4977
4978 * gdb.base/coremaker2.c: Add sample program for generating
4979 cores that is more self contained than coremaker.c. Eventually
4980 I'll add more code to this and tie it into the testsuite.
4981
4982 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4983
4984 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4985
4986 1999-11-10 Jimmy Guo <guo@cup.hp.com>
4987
4988 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4989 from $srcdir/lib/.
4990 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4991 and gdb.c++/.
4992
4993 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4994
4995 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4996 'continue with watch' test point.
4997
4998 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4999
5000 Merged from p2linux-990323-branch:
5001
5002 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5003
5004 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5005
5006 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5007 {limit,fixed}''. Test ``set download-write-size''.
5008
5009 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5010
5011 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5012 gdb_expect_list.
5013
5014 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5015
5016 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5017
5018 1999-11-03 Mark Salter <msalter@cygnus.com>
5019
5020 * gdb.base/break.exp: Fix "stub continue" pattern.
5021
5022 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5023
5024 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5025
5026 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5027
5028 * gdb.base/display.exp ("finish"): Add timeout clause.
5029
5030 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5031 plain prompt clause, so this doesn't have to time out in order to
5032 fail.
5033
5034 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5035 breakpoint hit messages include an address.
5036
5037 * gdb.base/display.exp: Don't forget to escape parens in regular
5038 expressions. Unix regexp notatation sucks.
5039
5040 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5041
5042 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5043 order for 'signalled' message.
5044
5045 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5046
5047 From Jimmy Guo <guo@cup.hp.com>:
5048 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5049 * gdb.base/annota1.c: Add code for tests to work with.
5050
5051 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5052
5053 * gdb.base/remote.exp: New test for remote downloading settings.
5054 * gdb.base/remote.c: New file with large .data.
5055
5056 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5057
5058 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5059 for LinuxThreads support, merged from the Code Fusion branch.
5060
5061 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5062
5063 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5064 containing exp_continue into a while within an expect. Don't
5065 attempt a start more than three times. Check return value from
5066 gdb_load.
5067
5068 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5069
5070 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5071 a pass case.
5072
5073 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
5074
5075 * gdb.base/break.c (main): Added a statement that we can step
5076 off of.
5077 * gdb.base/break.exp: Added tests for setting a breakpoint
5078 at an offset and stepping onto a breakpoint.
5079
5080 1999-10-01 Fred Fish <fnf@cygnus.com>
5081
5082 * gdb.base/help.exp (help add-symbol-file): Update to match current
5083 gdb output.
5084
5085 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5086
5087 * gdb.base/break.exp: Code locations are in hex, don't forget!
5088 (For HP-UX.)
5089
5090 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5091
5092 * condbreak.exp: Use break.c as test program.
5093 * condbreak.c: Remove, redundant with break.c.
5094
5095 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5096
5097 * config/monitor.exp (gdb_target_monitor): Disable X- and
5098 Z-packets if the target needs it.
5099
5100 1999-09-13 James Ingham <jingham@leda.cygnus.com>
5101
5102 * gdb.c++/overload.exp: Added tests for listing overloaded
5103 functions with function pointers in the arg, explicitly calling
5104 out the version you want.
5105
5106 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5107
5108 * long_long.exp: Add variations of test cases that work for
5109 targets with 16-bit ints and 32-bit doubles.
5110
5111 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5112
5113 * break.c (main): Compare a possibly-uninitialized argc with an
5114 unlikely value that fits in 16 bits.
5115
5116 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5117
5118 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5119 0xfeeb, don't want negative numbers if ints are 16 bits.
5120
5121 * lib/gdb.exp (skip_cplus_tests): New proc.
5122 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5123 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5124 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5125 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5126 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5127 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5128 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5129 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5130
5131 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5132
5133 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5134
5135 * gdb.base/corefile.exp (up): Allow a parameter to appear
5136 in the frame that we're going up to.
5137
5138 From Jim Blandy <jimb@cygnus.com>:
5139
5140 * gdb.base/default.exp (info float): Expect some output now.
5141
5142 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5143 returning floating-point values to fail on the x86.
5144 * gdb.base/callfwmall.exp (do_function_calls): Same.
5145
5146 * gdb.base/list.exp (test_listsize): Correct expectations for
5147 listing line 1 with listsize 2. Also, listing a single line
5148 works now, as does listing three lines. [Kevin's note: There
5149 were a number of other cases fixed too where the expectations
5150 differed...]
5151
5152 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5153
5154 * gdb.base/selftest.exp: Add case for when version prints as
5155 constant string instead of char pointer.
5156
5157 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5158
5159 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5160 stepping out of main.
5161
5162 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5163 G++ used.
5164
5165 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5166 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5167
5168 * gdb.c++/ovldbreak.exp: Update match string in test that
5169 includes a warning of multiple breakpoints.
5170
5171 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5172
5173 * gdb.base/display.exp: Improve precision of step-after-finish
5174 added yesterday.
5175
5176 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5177 test.
5178
5179 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5180 configs when using G++, not just hppa*.
5181
5182 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5183
5184 * gdb.base/async.c: New file.
5185 * gdb.base/async.exp: New file.
5186
5187 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5188
5189 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5190 PA64.
5191
5192 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5193
5194 * gdb.base/display.exp: "finish" can leave us mid-line on many
5195 targets, deal with it. Add a small constant to main, instead of
5196 1000 since main+1000 may not be a valid address in the target.
5197
5198 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5199 on hpux11.
5200
5201 * gdb.base/attach.exp: Handle another hpux11 error message variant
5202 when attaching to a process that does not exist.
5203
5204 1999-08-19 J.T. Conklin <jtc@redback.com>
5205
5206 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5207 characters in 'continue to 1241' test.
5208
5209 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5210
5211 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5212 stop in print_long_arg_list, define and use a whitespace
5213 variable in print_small_structs test, add an XFAIL for Solaris.
5214 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5215 interested enough to fix.
5216
5217 1999-08-13 Keith Seitz <keiths@cygnus.com>
5218
5219 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5220 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5221 proc knows about targets other than the natives.
5222 (test_assign): Use "gdb_run_cmd" to "run" the target.
5223 Check that we've actually hit the breakpoint at main.
5224 When we attempt to assign a value to a local variable, check
5225 that the variable is in the current scope, i.e., don't use
5226 a test with an empty result.
5227
5228 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5229
5230 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5231 command.
5232
5233 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5234
5235 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5236 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5237 gdb.compat, gdb.threads-hp.
5238 gdb.hp/configure, gdb.hp/configure.in: New files.
5239 gdb.hp/Makefile.in: Recurse into new subdirs.
5240 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5241 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5242 in object files.
5243 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5244
5245 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5246
5247 * gdb.base/display.exp: Help expect by putting a newline in the
5248 funky printf, remove a bogus p/a test.
5249
5250 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5251
5252 * gdb.base/display.exp: Make sure that when we say 'run', we are
5253 connected to the target. This is necessary when running not
5254 natively.
5255
5256 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5257
5258 * gdb.base/step-test.exp: Removed some extraneous messages.
5259
5260 * gdb.base/long_long.exp: Don't run memory examination tests
5261 on little-endian targets (they will need a different set of
5262 results to match).
5263
5264 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5265
5266 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5267 until somebody decides to fix GDB.
5268
5269 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5270 constant as "ULL".
5271 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5272 matches for a couple x/2 commands.
5273
5274 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5275
5276 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5277 by merging in ref-types2 tests.
5278 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5279
5280 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5281 * gdb.c++/Makefile.in: Add standard actions.
5282 (EXECUTABLES): Rename from PROGS, update list.
5283 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5284 from gdb.hp.
5285 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5286 foo and bar locals.
5287 * gdb.c++/anon-union.exp: Fix tests to match.
5288 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5289 expect matches to handle output variations.
5290 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5291 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5292 output, add HP alternatives for new and delete prints.
5293 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5294 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5295 * gdb.c++/demangle.exp: Use $style when reporting failure.
5296 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5297 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5298 match alternatives.
5299 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5300 compilers.
5301 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5302 * gdb.c++/method.exp: Add match alternatives.
5303 * gdb.c++/misc.cc: Add bool types.
5304 * gdb.c++/misc.exp: Add tests for bool types.
5305 * gdb.c++/overload.exp: Add xfails.
5306 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5307 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5308 add some more template parameter tests (only for HP currently).
5309 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5310 * gdb.c++/virtfunc.cc: Add return type and value for main.
5311 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5312 match alternatives.
5313
5314 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5315
5316 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5317
5318 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5319
5320 * gdb.base/signals.exp: Don't expect getting a backtrace from
5321 within a signal handler to fail on Linux.
5322
5323 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5324
5325 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5326 * lib/gdb.exp: Remove some gratuitious semicolons.
5327 (delete_breakpoints): Increase timeout.
5328 (gdb_expect): Add -notransfer option.
5329 (gdb_test): Use -notransfer option.
5330 (get_compiler_info): Add f77 case.
5331 (get_compiler): New proc, split out from gdb_preprocess, add f77
5332 case.
5333 (gdb_preprocess): Call get_compiler.
5334
5335 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5336 * gdb.base/attach.exp, gdb.base/display.exp,
5337 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5338 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5339 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5340 third arg to gdb_test.
5341 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5342 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5343 HP-UX xfails, add others.
5344 * gdb.base/completion.exp: Reflect name change of self-test.
5345 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5346 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5347 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5348 HP failure number.
5349 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5350 useless HP-UX 10.30 references.
5351 * gdb.base/maint.exp: Loosen matches.
5352 * gdb.base/pointers.c (main): Declare more_code.
5353 * gdb.base/pointers.exp: Match on output of a `next'.
5354 * gdb.base/structs.c: Add prototypes.
5355 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5356 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5357
5358 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5359
5360 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5361 command.
5362
5363 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5364
5365 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5366 Fix run to main failures. Watchpoint can be hardware watchpoint.
5367
5368 * gdb.base/annota1.exp: Clean up some more, in case printf has
5369 debug info. Deal with lack of signal hanlder info in stack.
5370
5371 From Jim Kingdon <kingdon@redhat.com>:
5372 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5373
5374 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5375
5376 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5377 gdb.base/foll-vfork.exp: Don't run for crosses.
5378
5379 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5380
5381 * gdb.base/configure.in: Check for gdbvars.exp instead of
5382 a1-selftest.exp.
5383 * gdb.base/configure: Re-generate.
5384
5385 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5386
5387 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5388 in trying to run first and name is too long.
5389
5390 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5391 pointers2.c and pointers2.exp, respectively.
5392 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5393 doschk happier.
5394
5395 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5396
5397 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5398 callfuncs2.c and callfuncs2.exp.
5399
5400 * gdb.base/list.exp: Remove mistaken xfails.
5401 * gdb.base/list0.h: Add optional prototypes.
5402
5403 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5404
5405 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5406 calling malloc.
5407 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5408 * ptype.exp: Move test for get_debug_format to before its first
5409 use.
5410
5411 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5412
5413 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5414 * gdb.base/annota2.cc, annota2.exp: Move from here.
5415 * gdb.c++/annota2.cc, annota2.exp: To here.
5416 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5417
5418 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5419
5420 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5421 a consistent format.
5422
5423 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5424
5425 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5426 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5427 HP compilers, also set the globals $true and $false.
5428
5429 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5430 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5431 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5432 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5433 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5434 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5435 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5436 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5437 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5438 whatis.c} Add C++ compatible function definitions and return
5439 types, add includes for library functions.
5440 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5441 * gdb.base/step-test.c (myglob): Rename from glob.
5442 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5443 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5444 files, move here from gdb.hp.
5445 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5446 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5447 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5448 Adjust line numbers in regexps.
5449
5450 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5451 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5452 instead of 0/1.
5453
5454 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5455 foll-vfork.exp: New files, move here from gdb.hp.
5456 * gdb.base/page.exp: New file, test of pagination command.
5457
5458 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5459 recursion test.
5460 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5461
5462 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5463 gdb.base/solib.exp: Fix compiler invocation process.
5464
5465 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5466 HP-UX 11, turn off overload resolution explicitly.
5467 * gdb.base/commands.exp: Set argument list explicitly, add
5468 watchpoint test.
5469 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5470 them work.
5471 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5472 expressions properly.
5473 * gdb.base/corefile.exp: Loosen the match slightly.
5474 * gdb.base/default.exp: Allow "Error accessing memory" message
5475 also.
5476 * gdb.base/display.exp: Skip over x/0 j if PA64.
5477 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5478 * gdb.base/interrupt.exp: Ditto.
5479 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5480 in use.
5481 * gdb.base/list.exp: Add xfails for HP-UX.
5482 * gdb.base/long_long.exp: Refine some of the numeric matches.
5483 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5484 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5485 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5486 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5487 * gdb.base/ptype.exp: Succeed on more varieties of output.
5488 * gdb.base/scope.exp: Add xfails for HP-UX.
5489 * gdb.base/sect-cmd.exp: Add more cases.
5490 * gdb.base/setvar.exp: Add xfails for HP-UX.
5491 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5492 * gdb.base/signals.exp: Match on void symbolically.
5493 * gdb.base/step-test.exp: Add case for PA64.
5494 * gdb.base/term.exp: Add exit and restart.
5495 * gdb.base/twice.exp: Clean up after self.
5496 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5497 * gdb.base/whatis.exp: Allow more ways to pass tests.
5498
5499 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5500 no longer useful.
5501
5502 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5503
5504 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5505 list of patterns.
5506 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5507 print_double_array(double_array)", "continuing to breakpoint
5508 1018", "print print_double_array(array_d)" and "continuing to
5509 1034" tests.
5510
5511 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5512
5513 * Makefile.in: Add empty html and install-html targets.
5514
5515 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5516
5517 * config/mt-*: Remove, these haven't been used since 1996.
5518
5519 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5520
5521 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5522 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5523 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5524
5525 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5526
5527 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5528 simpler match case for the ptype of the big class.
5529
5530 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5531
5532 * gdb.exp: Fix test for gdb_prompt existence.
5533
5534 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5535
5536 * gdb.exp (gdb_test): Add fail after calls to perror.
5537
5538 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5539
5540 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5541
5542 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5543
5544 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5545
5546 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5547
5548 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5549 malloc() is linked in.
5550
5551 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5552
5553 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5554 step at end.
5555
5556 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5557
5558 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5559
5560 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5561
5562 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5563
5564 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5565 * gdb.base/mips_pro.exp: Likewise.
5566
5567 1999-06-02 Keith Seitz <keiths@cygnus.com>
5568
5569 * gdb.c++/templates.cc: Change all "new" operators to throw
5570 an exception.
5571 * gdb.c++/cplusfuncs.cc: Likewise.
5572
5573 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5574
5575 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5576
5577 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5578 * gdb.base/ending-run.exp: When stepping out of main, accept a
5579 step into an arbitrary assembler file.
5580
5581 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5582
5583 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
5584 "breakpoint-invalid" to be printed.
5585 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
5586 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5587 * gdb.base/annota2.cc: Initialize a.x to 0.
5588
5589 1999-05-17 Keith Seitz <keiths@cygnus.com>
5590
5591 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5592 when "skip_float_tests" set.
5593 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5594 "print print_ten_doubles", and "step into print_long_arg_list".
5595 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5596 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5597 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5598 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5599 "skip_float_tests" is set.
5600 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5601 when "skip_float_tests" set.
5602
5603 1999-05-06 Keith Seitz <keiths@cygnus.com>
5604
5605 * gdb.base/annota2.cc: Include stdio.h.
5606
5607 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5608
5609 * gdb.base/crossload.exp: Remove, this has been disabled ever
5610 since BFD stopped including all targets, and cross-GDB gets
5611 plenty of testing anyway.
5612 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5613 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5614 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5615 * gdb.base/README: Remove, was doc for this.
5616 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5617 needed.
5618
5619 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5620
5621 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5622 output.
5623
5624 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5625 * gdb.base/annota2.exp: New file. More annotation tests.
5626 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5627 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5628
5629 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
5630
5631 * config/cfdbug.exp: New file.
5632
5633 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5634
5635 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5636 Marcus Daniel's and Dale Hawkins's demangler crashes.
5637
5638 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5639 test_lucid_style_demangling, test_arm_style_demangling,
5640 test_hp_style_demangling): Try Tom Tromey's core-dumping
5641 identifier under each demangling style.
5642
5643 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5644
5645 * gdb.c++/demangle.exp: Include the current demangling style
5646 in all test names.
5647 (current_demangling_style): New global variable.
5648 (set_demangling_style, test_demangling_core, test_demangling,
5649 test_demangling_exact): New functions.
5650 (test_gnu_style_demangling, test_lucid_style_demangling,
5651 test_arm_style_demangling, test_hp_style_demangling): Use those,
5652 instead of calling gdb_test and gdb_test_exact directly.
5653 (catch_demangling_errors): New function, which reports errors
5654 signalled by the demangling test functions in an orderly way.
5655 (do_tests): Use catch_demangling_errors.
5656
5657 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5658
5659 * gdb.base/signals.exp (test_handle_all_print): Use () for
5660 grouping in expressions, not {}.
5661
5662 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5663 initialized yet.
5664
5665 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5666
5667 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5668 are listed.
5669
5670 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5671
5672 * gdb.stabs/weird.exp: Test for CC being defined before
5673 looking at its value.
5674
5675 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5676
5677 * gdb.base/call-ar-st.exp: Remove stray '#'.
5678 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5679 "short int" and "long int".
5680 * gdb.c++/overload.cc: Cast the string added in the previous
5681 change, to mollify finicky HP compiler.
5682 * gdb.hp/reg-test.exp (testfile): Fix file name.
5683 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
5684
5685 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5686 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5687 alternate form of enum ptype.
5688
5689 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5690
5691 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5692 * gdb.hp/*.exp: Change all to run compiler probe only after
5693 passing skip_hp_tests, so as not to waste time on guaranteed
5694 failure.
5695
5696 * gdb.c++/overload.cc: Pass string instead of char addr, always
5697 init ccpfoo.
5698 * gdb.c++/templates.cc: Fix syntax error.
5699
5700 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5701
5702 * gdb.base/commands.exp: Add test for correct position of '>'
5703 when issuing the 'commands' command after a 'while' or 'if'
5704 command.
5705
5706 1999-03-18 James Ingham <jingham@cygnus.com>
5707
5708 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5709
5710 * gdb.c++/method.exp: It was testing an uninitialized int on the
5711 stack and assuming it was positive.
5712
5713 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5714
5715 * gdb.base/step-test.exp: Catch a case where finish is broken and
5716 keep it from killing the rest of the tests.
5717 Use gdb_continue_to_end.
5718
5719 * gdb.base/sigall.exp: use gdb_continue_to_end.
5720
5721 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5722
5723 * gdb.base/display.exp: use runto_main, not run.
5724
5725 * gdb.base/default.exp: Check for the current error message in the
5726 r abbreviation test.
5727 Add strongarm to the targets that know info float.
5728
5729 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
5730 run which doesn't work with monitors.
5731
5732 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5733
5734 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5735
5736 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
5737 program. Traps the case (in Cygmon) when the program never really
5738 exits. Same as Mark's continue_to_exit, but I had put it in a lot
5739 more places, so I used my name. Sorry Mark...
5740
5741 * config/monitor.exp (gdb_target_monitor): added another
5742 target_info parameter: remotebinarydownload. This will set the
5743 remotebinarydownload flag if this is causing some boards trouble.
5744
5745 1999-03-18 Mark Salter <msalter@cygnus.com>
5746
5747 * lib/gdb.exp (continue_to_exit): New function.
5748
5749 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5750 * gdb.base/ending-run.exp: Ditto.
5751 * gdb.base/step-test.exp: Ditto.
5752
5753 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5754
5755 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5756 (suggested by Art Haas <ahaas@neosoft.com>).
5757
5758 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5759
5760 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5761
5762 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5763
5764 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5765 descriptions of types (short unsigned int vs unsigned short, etc).
5766
5767 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5768
5769 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5770 a call to strlen; sometimes we do have sources.
5771
5772 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5773
5774 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5775 character, so GDB won't print garbage after its end.
5776
5777 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5778 breakpoint there instead. Sometimes GCC emits memcpy to handle
5779 the large structures being passed by value, so we step into that
5780 instead of sum_array_print, which obscures what we're really testing.
5781 * gdb.base/step-test.exp: However, we do want a test that notices
5782 the bizarre steps into memcpy, so do that here. Add check for
5783 stepping into function calls that pass large structures by value.
5784 ("Is that a noun clause, or are you just happy to see me?")
5785 Remove all references to specific line numbers.
5786 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5787 New type and function.
5788 (main): Call large_struct_by_value, passing it a large struct by value.
5789 * lib/gdb.exp (gdb_get_line_number): New function.
5790
5791 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5792 more portable.
5793
5794 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5795
5796 * lib/gdb.exp: Doc fixes.
5797
5798 1999-03-05 Nick Clifton <nickc@cygnus.com>
5799
5800 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
5801
5802 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5803
5804 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5805 commands. They're not germane to this test, and they don't work
5806 that way on remote targets.
5807
5808 1999-03-01 James Ingham <jingham@cygnus.com>
5809
5810 * Changelog entries merged over from gdb development branch.
5811
5812 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5813
5814 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5815 for outputting results of test run.
5816
5817 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
5818
5819 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
5820
5821 1999-02-25 Felix Lee <flee@cygnus.com>
5822
5823 * lib/gdb.exp (debug_format): initialize
5824
5825 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5826
5827 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5828 * gdb.base/call-rt-st.c: Ditto.
5829
5830 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5831
5832 * gdb.threads/pthreads.exp (horiz): New variable.
5833 (test_startup): Fix regexps that capture thread numbers.
5834
5835 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5836
5837 * gdb.base/smoke.exp: Disambiguate two test case names (both
5838 called ``print'').
5839
5840 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5841
5842 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5843 compilation.
5844
5845 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5846
5847 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5848 actual output formatting.
5849 * gdb.base/smoke.exp: GDB removes leading 0's.
5850 * gdb.base/volatile.exp: Don't check type of remuneration;
5851 that variable is no longer defined in constvars.c.
5852 * gdb.base/step-test.c (main): Exit with explicit exit code.
5853 * gdb.base/step-test.exp: Remove two nexti checks--they are
5854 not portable.
5855
5856 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5857
5858 * gdb.base/help.exp ("help delete display"): Fix test to match
5859 gdb's output.
5860
5861 * gdb.base/long_long.c (known_types): Initialize values to zero.
5862 * gdb.base/long_long.exp: Step one more line
5863 so 'dec' is initialized in "get to known place". GDB removes
5864 leading zeros. Explicitly ask for hex formatting. Use
5865 unique test case names.
5866
5867 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5868
5869 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
5870
5871 * gdb.c++/method.exp: Add missing close brace.
5872
5873 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5874
5875 * gdb.base/maint.exp: Use 'set height 0' to disable page
5876 prompting, not 'set height 400'.
5877
5878 Fix a bunch of timeouts.
5879 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5880 four separate tests, so expect doesn't take forever to match a ton
5881 of text against a regexp with lots of .* forms.
5882 ("maint print psymbols", "maint print symbols"): Make some of
5883 these greps more selective, so that expect doesn't try to wade
5884 through huge piles of output and time out.
5885
5886 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5887
5888 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5889 tests: one which doesn't expect shlib events to be reported, and
5890 another which does, but is XFAIL for all platforms other than
5891 HP/UX.
5892
5893 * gdb.base/break.exp: Teach the test suite that the `catch
5894 fork', `catch vfork', and `catch exec' commands produce error
5895 messages on platforms that don't provide these features.
5896
5897 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5898
5899 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5900 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5901 (shortening names from solib_threshold.exp etc), won't run on
5902 anything but HP-UX for the foreseeable future.
5903 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5904 reflect move.
5905
5906 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5907
5908 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5909 gdb.trace/Makefile.in (clean): Remove all test executables.
5910
5911 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5912
5913 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5914 successfully re-sets breakpoints in shared libraries.
5915 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5916
5917 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5918
5919 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5920 and compiled w/o GCC.
5921
5922 * gdb.hp/watch-cmd.exp: ditto.
5923
5924 * gdb.hp/watch-hp.exp: ditto.
5925
5926 * gdb.hp/xdb1.exp: ditto.
5927
5928 * gdb.hp/xdb2.exp: ditto.
5929
5930 * gdb.hp/dbx.exp: ditto.
5931
5932 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5933
5934 * constvars.c: Remove C++-isms.
5935 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5936 with GCC.
5937
5938 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5939
5940 The following changes are part of the HP merge.
5941
5942 * gdb.base/break.exp: new tests to verify that catchpoints for
5943 fork, vfork, and exec don't trigger inappropriately.
5944
5945 * gdb.base/opaque.exp: compile one file at a time, then link.
5946
5947 * gdb.base/signals.exp: be more restrictive about which hppa
5948 systems receive a setup_xfail. new tests.
5949
5950 * gdb.base/solib_threshold.build: new file.
5951 * gdb.base/solib_threshold.exp: new file.
5952 * gdb.base/solib_threshold.link_opts: new file.
5953 * gdb.base/solib_threshold.mk: new file.
5954 * gdb.base/gen_solib_threshold.c: new file.
5955
5956 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5957 tests. New tests for enums inside classes.
5958
5959 * gdb.c++/compiler.cc: indicate support of template debugging.
5960
5961 * gdb.c++/demangle.exp: run hp style demangling tests.
5962
5963 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5964 tests.
5965
5966 * gdb.c++/misc.cc: changes to support new tests.
5967
5968 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5969 to support new tests.
5970
5971 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5972 gcc, then skip these tests.
5973
5974 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5975
5976 The following files are part of the HP merge; some had longer
5977 names at HP, but have been renamed to be no more than 14
5978 characters in length.
5979
5980 * gdb.hp/ambiguous.cc: new file.
5981 * gdb.hp/ambiguous.exp: new file.
5982 * gdb.hp/attach.exp: new file.
5983 * gdb.hp/attach2.exp: new file.
5984 * gdb.hp/classes-hp.exp: new file.
5985 * gdb.hp/ctti.exp: new file.
5986 * gdb.hp/ctti-add.cc: new file.
5987 * gdb.hp/ctti-add1.cc: new file.
5988 * gdb.hp/ctti-add2.cc: new file.
5989 * gdb.hp/ctti-add3.cc: new file.
5990 * gdb.hp/dbx.exp: new file.
5991 * gdb.hp/exception.cc: new file.
5992 * gdb.hp/exception.exp: new file.
5993 * gdb.hp/foll-exec.c: new file.
5994 * gdb.hp/foll-exec.exp: new file.
5995 * gdb.hp/foll-fork.c: new file.
5996 * gdb.hp/foll-fork.exp: new file.
5997 * gdb.hp/foll-vfork.c: new file.
5998 * gdb.hp/foll-vfork.exp: new file.
5999 * gdb.hp/inherit-hp.exp: new file.
6000 * gdb.hp/more-steps.exp: new file.
6001 * gdb.hp/namespace.cc: new file.
6002 * gdb.hp/namespace.exp: new file.
6003 * gdb.hp/optimize.exp: new file.
6004 * gdb.hp/pxdb.c: new file.
6005 * gdb.hp/pxdb.exp: new file.
6006 * gdb.hp/quicksort.exp: new file.
6007 * gdb.hp/reg-test.exp: new file.
6008 * gdb.hp/reg-test.s: new file.
6009 * gdb.hp/sized-enum.c: new file.
6010 * gdb.hp/sized-enum.exp: new file.
6011 * gdb.hp/start-stop.exp: new file.
6012 * gdb.hp/templ-hp.cc: new file.
6013 * gdb.hp/templ-hp.exp: new file.
6014 * gdb.hp/thr-lib.c: new file.
6015 * gdb.hp/thr-lib.exp: new file.
6016 * gdb.hp/thr-lib.h: new file.
6017 * gdb.hp/thr-liblib.c: new file.
6018 * gdb.hp/virtfun-hp.c: new file.
6019 * gdb.hp/virtfun-hp.exp: new file.
6020 * gdb.hp/watch-cmd.exp: new file.
6021 * gdb.hp/watch-hp.exp: new file.
6022 * gdb.hp/xdb1.exp: new file.
6023 * gdb.hp/xdb2.exp: new file.
6024 * gdb.hp/xdb3.exp: new file.
6025
6026 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6027
6028 The following files are part of the HP merge; some had longer
6029 names at HP, but have been renamed to be no more than 14
6030 characters in length.
6031
6032 * gdb.base/ss.h: new file.
6033 * gdb.base/call-ar-st.c: new file.
6034 * gdb.base/call-ar-st.exp: new file.
6035 * gdb.base/call-rt-st.c: new file.
6036 * gdb.base/call-rt-st-exp: new file.
6037 * gdb.base/call-strs.exp: new file.
6038 * gdb.base/ena-dis-br.exp: new file.
6039 * gdb.base/environ.exp: new file.
6040 * gdb.base/long_long.exp: new file.
6041 * gdb.base/sect-cmd.exp: new file.
6042 * gdb.base/shlib-cl2.exp: new file.
6043 * gdb.base/smoke.exp: new file.
6044 * gdb.base/so-impl-ld.c: new file.
6045 * gdb.base/so-impl-ld.exp: new file.
6046 * gdb.base/so-indr-cl.c: new file.
6047 * gdb.base/so-indr-cl.exp: new file.
6048 * gdb.base/varargs.exp: new file.
6049 * gdb.base/volatile.exp: new file.
6050 * gdb.base/whatis-exp.exp: new file.
6051 * gdb.base/display.exp: new file.
6052 * gdb.c++/derivation.exp: new file.
6053 * gdb.c++/local.exp: new file.
6054 * gdb.c++/member-ptr.exp: new file.
6055 * gdb.c++/overload.exp: new file.
6056 * gdb.c++/ovldbreak.exp: new file.
6057 * gdb.c++/ref-types.exp: new file.
6058 * gdb.c++/ref-types2.exp: new file.
6059 * gdb.c++/userdef.exp: new file.
6060
6061 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6062
6063 * gdb.base/default.exp: Reflect wording change in remote.c.
6064
6065 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
6066
6067 * gdb.base/help.exp: Update to reflect current text.
6068
6069 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6070
6071 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6072 they're stack variables and contain garbage.
6073 * gdb.c++/anon-union.exp: new file.
6074
6075 The following changes were made by David Taylor
6076 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6077 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6078 in changes by HP.
6079
6080 * gdb.base/bitops.exp: new file.
6081 * gdb.base/default.exp: change expected messages for catch and
6082 info catch tests to reflect HP merge changes.
6083 * gdb.base/enable-disable-break.exp
6084 * gdb.base/ending-run.c: new file.
6085 * gdb.base/long_long.c: new file.
6086 * gdb.base/maint.exp: new file.
6087 * gdb.base/pointers2.exp: new file.
6088 * gdb.base/shlib-call2.exp: new file.
6089 * gdb.base/solib.exp: new file.
6090 * gdb.base/step-test.c: new file.
6091 * gdb.c++/anon-union.cc: new file.
6092 * gdb.c++/local.cc: new file.
6093 * gdb.c++/member-pointer.cc: new file.
6094 * gdb.c++/method.cc: new file.
6095 * gdb.c++/ref-types.cc: new file.
6096 * gdb.c++/ref-types2.cc: new file.
6097 * gdb.c++/userdef.cc: new file.
6098
6099 * gdb.base/scope.exp: compile one file at a time, then link.
6100 * gdb.base/langs.exp: ditto.
6101 * gdb.base/list.exp: ditto.
6102
6103 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6104
6105 The following changes were made by David Taylor
6106 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6107 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6108 in changes by HP.
6109
6110 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6111 skip tests. When compiling pass c++ flag to gdb_compile.
6112 * gdb.c++/
6113
6114 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6115 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6116 (skip_hp_tests): new function.
6117 (gdb_preprocess): new function.
6118
6119 * configure.in (hpdir): decide whether to configure gdb.hp.
6120 * configure: regenerated.
6121
6122 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6123 to delete on clean.
6124 (EXECUTABLES): update to reflect new additions.
6125 * gdb.base/commands.exp: update message expected.
6126 * gdb.base/default.exp: add copyright notice.
6127 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6128 * gdb.base/help.exp: update messages to reflect current text.
6129 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6130 targets for recurse tests.
6131 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6132 skip this file.
6133
6134 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6135 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6136 compilation.
6137 * gdb.c++/misc.exp: ditto.
6138 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6139 run the tests. tell gdb_compile that it's a c++ compilation.
6140
6141 * gdb.threads/pthreads.exp: fix typo in message.
6142
6143 * gdb.base/all-bin.exp: new file.
6144 * gdb.base/arithmet.exp: new file.
6145 * gdb.base/assign.exp: new file.
6146 * gdb.base/completion.exp: new file.
6147 * gdb.base/cond-expr.exp: new file.
6148 * gdb.base/condbreak.exp: new file.
6149 * gdb.base/define.exp: new file.
6150 * gdb.base/dollar.exp: new file.
6151 * gdb.base/environment.exp: new file.
6152 * gdb.base/eval-skip.exp: new file.
6153 * gdb.base/jump.exp: new file.
6154 * gdb.base/logical.exp: new file.
6155 * gdb.base/pointers.exp: new file.
6156 * gdb.base/relational.exp: new file.
6157 * gdb.base/section_command.exp: new file.
6158 * gdb.base/whatis-expr.exp: new file.
6159
6160 * gdb.base/all-types.c: new file.
6161 * gdb.base/call-array-struct.c: new file.
6162 * gdb.base/call-return-struct.c: new file.
6163 * gdb.base/call-strings.c: new file.
6164 * gdb.base/callfuncs2.c: new file.
6165 * gdb.base/condbreak.c: new file.
6166 * gdb.base/constvars.c: new file.
6167 * gdb.base/display.c: new file.
6168 * gdb.base/int-type.c: new file.
6169 * gdb.base/jump.c: new file.
6170 * gdb.base/miscexprs.c: new file.
6171 * gdb.base/pointers.c: new file.
6172 * gdb.base/pointers2.c: new file.
6173 * gdb.base/shmain.c: new file.
6174 * gdb.base/shr1.c: new file.
6175 * gdb.base/shr2.c: new file.
6176 * gdb.base/solib.c: new file.
6177 * gdb.base/solib1.c: new file.
6178 * gdb.base/solib2.c: new file.
6179 * gdb.base/varargs.c: new file.
6180 * gdb.c++/derivation.cc: new file.
6181 * gdb.c++/overload.cc: new file.
6182 * gdb.c++/ovldbreak.cc: new file.
6183 * gdb.hp/attach.c: new file.
6184 * gdb.hp/attach2.c: new file.
6185 * gdb.hp/average.c: new file.
6186 * gdb.hp/compiler.c: new file.
6187 * gdb.hp/compiler.cc: new file.
6188 * gdb.hp/execd-program.c: new file.
6189 * gdb.hp/follow-exec.c: new file.
6190 * gdb.hp/follow-fork.c: new file.
6191 * gdb.hp/follow-vfork-and-exec.c: new file.
6192 * gdb.hp/misc-hp.cc: new file.
6193 * gdb.hp/more-steps.c: new file.
6194 * gdb.hp/optimize.c: new file.
6195 * gdb.hp/quicksort.c: new file.
6196 * gdb.hp/run-hp.c: new file.
6197 * gdb.hp/start-stop.c: new file.
6198 * gdb.hp/sum.c: new file.
6199 * gdb.hp/templates-hp.cc: new file.
6200 * gdb.hp/thread-local-in-lib.c: new file.
6201 * gdb.hp/thread-local-in-lib.h: new file.
6202 * gdb.hp/thread-local-in-lib.lib.c: new file.
6203 * gdb.hp/vforked-program.c: new file.
6204 * gdb.hp/virtfunc-hp.cc: new file.
6205 * gdb.hp/watchpoint-hp.c: new file.
6206 * gdb.hp/xdb.c: new file.
6207 * gdb.hp/xdb0.c: new file.
6208 * gdb.hp/xdb0.h: new file.
6209 * gdb.hp/xdb1.c: new file.
6210
6211 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6212
6213 The following change was made by Edith Epstein
6214 <eepstein@cygnus.com> as part of a project to merge in changes
6215 originally made by HP; HP did not create ChangeLog entries.
6216
6217 * gdb.c++/demangle.exp: changed the expected output for some
6218 ARM-style mangling -- removed second reference to datatype.
6219 For example, maint demangle __dt__11T1__pt__2_cFv
6220 T1<char>::~T1<char>(void)
6221 becomes,
6222 maint demangle __dt__11T1__pt__2_cFv
6223 T1<char>::~T1(void)
6224
6225 (test_hp_style_demangling): new hp specific demangling test cases.
6226
6227 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6228
6229 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6230 * gdb.trace/backtrace.exp: Likewise.
6231 * gdb.trace/circ.exp: Likewise.
6232 * gdb.trace/collection.exp: Likewise.
6233 * gdb.trace/deltrace.exp: Likewise.
6234 * gdb.trace/infotrace.exp: Likewise.
6235 * gdb.trace/limits.exp: Likewise.
6236 * gdb.trace/packetlen.exp: Likewise.
6237 * gdb.trace/passc-dyn.exp: Likewise.
6238 * gdb.trace/passcount.exp: Likewise.
6239 * gdb.trace/report.exp: Likewise.
6240 * gdb.trace/save-trace.exp: Likewise.
6241 * gdb.trace/tfind.exp: Likewise.
6242 * gdb.trace/tracecmd.exp: Likewise.
6243 * gdb.trace/while-dyn.exp: Likewise.
6244 * gdb.trace/while-stepping.exp: Likewise.
6245
6246 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6247
6248 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6249
6250 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6251
6252 From Brendan Kehoe:
6253 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6254 int return types.
6255
6256 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6257
6258 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6259 remote dos host testing right.
6260
6261 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6262
6263 * gdb.base/corefile.exp: remove some xfails.
6264
6265 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6266
6267 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6268 have different timestamps.
6269
6270 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6271
6272 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6273 gdb.base/default.exp: Replace "exec" with "executable".
6274
6275 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6276
6277 * gdb.base/default.exp: Change else if to elseif from previous
6278 delta.
6279
6280 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6281
6282 * gdb.base/default.exp: Add brace missing from previous delta.
6283
6284 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6285
6286 * gdb.base/default.exp: Support test for info float for all
6287 varieties of arm toolchain.
6288
6289 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
6290
6291 * gdb.trace/*.exp: remove "remote_download" command.
6292
6293 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
6294
6295 * gdb.trace/*.exp: remove -gdwarf from compile.
6296
6297 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6298
6299 * gdb.trace/configure.in(AC_INIT): typo
6300 * gdb.trace/configure: regenerated
6301
6302 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
6303
6304 * config/m68k-emc.exp: New file.
6305 * lib/<emc-support.exp trace-support.exp}: New files.
6306 * configure.in: add new test directory gdb.trace.
6307 * gdb.trace/{configure configure.in Makefile.in}: New files.
6308 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6309 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6310 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6311 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6312 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6313 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6314 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
6315
6316 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
6317
6318 * gdb.c++/classes.exp: Change all regular expressions to match
6319 arbitrary combinations of newline/carriage-return, so that they
6320 will work equally well on Unix and Windows.
6321 * gdb.c++/inherit.exp: ditto.
6322 * gdb.c++/virtfunc.exp: ditto.
6323
6324 1998-08-11 Dawn Perchik <dawn@cygnus.com>
6325
6326 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6327
6328 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6329
6330 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6331 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6332 to use a0-a3/d0-d3 as needed.
6333
6334 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6335
6336 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6337 * gdb.disasm/am33.exp: Corresponding changes.
6338
6339 1998-07-11 Felix Lee <flee@cygnus.com>
6340
6341 * gdb.base/callfuncs.exp: add cmp10 test.
6342 * gdb.base/callfuncs.c (cmp10): new function.
6343
6344 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6345
6346 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
6347 into two parts to get around a synchronization problem in expect.
6348
6349 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6350
6351 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6352
6353 * configure.in: Add options for gdbtk testsuite.
6354
6355 * configure: Regenerate.
6356
6357 * gdb.gdbtk: New directory to hold gdbtk tests.
6358
6359 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6360
6361 * gdb.fortran/types.exp: Escape brackets in expect patterns
6362 for test_float_literal_types_accepted tests.
6363 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6364 before run test.
6365
6366 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6367
6368 * am33.exp: Just compile, do not link the testcase.
6369 * am33.s: Add ".am33" pseudoop to force am33 mode.
6370
6371 1998-06-25 Felix Lee <flee@cygnus.com>
6372
6373 * gdb.base/setshow.exp: make sure $pc is sane.
6374
6375 * gdb.stabs/weird.exp: split expect patterns properly.
6376
6377 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6378
6379 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6380 * gdb.disasm/am33.exp: Run it.
6381
6382 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
6383
6384 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6385 match processing (and eliminate spurious timeouts when running).
6386
6387 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
6388
6389 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6390 exception test, but conditionalize it on target [mach | gnu].
6391
6392 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
6393
6394 * gdb.base/overlays.exp: fixup compile line for linker script.
6395
6396 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6397
6398 * gdb.fortran/types.exp: don't guess at float size.
6399
6400 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6401
6402 * gdb.base/exprs.exp: delete test that depends on int size.
6403
6404 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6405
6406 * config/sim.exp: Removed checks for target triplets.
6407 (gdb_target_sim): Use gdb,target_sim_options.
6408
6409 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6410
6411 * gdb.base/reread.exp: New file.
6412 * gdb.base/reread1.c: New file.
6413 * gdb.base/reread2.c: New file.
6414
6415 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6416
6417 * config/sim.exp: Use 'target sim -sparclite' when running
6418 SPARClite programs.
6419
6420 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6421
6422 * gdb.base/structs2.exp: New file.
6423 * gdb.base/structs2.c: New file.
6424
6425 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6426
6427 * gdb.asm/common.inc: New file.
6428 * gdb.asm/d10v.inc: New file.
6429 * asm-source.exp: Pass -I's to gas to find .inc files.
6430 Update line numbers in expected output.
6431 * asmsrc1.s: Rewrite.
6432 * asmsrc2.s: Rewrite.
6433 * configure.in: Create arch.inc symlink.
6434 * configure: Regenerate.
6435 * Makefile.in (distclean): Delete arch.inc.
6436
6437 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6438
6439 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6440 (t_enum_value2): ditto
6441 (t_enum_value3): ditto
6442 (main): ditto
6443 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6444
6445 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6446 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6447 change.
6448 Use gdb_test instead of send_gdb/gdb_expect sequences.
6449
6450 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6451
6452 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6453 not void.
6454
6455 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6456
6457 * gdb.base/branches.c: Code with lots of loops and
6458 subroutines. Used to test gdbs ability to single step through PC
6459 changes, especially to test mips-tdep.c:mips_next_pc
6460
6461 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6462
6463 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6464 more rigorous EGCS C++ error checking.
6465
6466 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6467
6468 * gdb.base/help.exp: Clean up `help set args' and `help show args'
6469 tests.
6470 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
6471 function when asleep.
6472 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
6473 for i*86 Linux and SVR4 signal handling problems.
6474 Remove linux xfail for `next to handler in signals_tests_1', fixed
6475 by recent infrun.c change.
6476 Limit backtrace to 10 frames to avoid timeout problems with infinite
6477 stack backtraces.
6478 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6479 target.[ch] change.
6480
6481 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6482
6483 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6484 for a newline from gdb before continuing.
6485 (default_gdb_exit): Just look for y or n.
6486 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6487 it does, fail the rests of the tests in the file.
6488
6489 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6490
6491 * config/cygmon.exp: New file.
6492
6493 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6494
6495 * gdb.base/list.exp: Fix problem with "list default lines around
6496 main" test on remote targets.
6497
6498 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6499 run test on remote targets.
6500
6501 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6502
6503 * gdb.asm: New directory.
6504 * configure.in: Configure it.
6505 * configure: Regenerate.
6506 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6507 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6508
6509 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6510
6511 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6512
6513 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
6514
6515 * gdb.base/overlays (several files): Merge the two overlay
6516 managers into one. Change variables (foox, barx, bazx, grbxx)
6517 back into ints but force them to load in their proper sections.
6518
6519 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6520
6521 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6522 on-chip insn memory and IMAP1 to upper 128k.
6523 (D10VCopy): Handle memory regions crossing 16k boundaries.
6524 (D10VCopy): Transfer data in 32 bit chunks.
6525
6526 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6527
6528 * gdb.base/overlays.c (main): Exit normally when result is
6529 correct.
6530
6531 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6532 map. Include space for printf in .text segment.
6533
6534 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6535 updated d10v memory VMA/LMA map.
6536 (D10VCopy): Call D10VTranslate.
6537
6538 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6539
6540 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6541
6542 * gdb.base/bar.c (barx, bar): Change variable to small array so
6543 that it won't be put into the .sdata - small data -
6544 section. Update reference.
6545 * gdb.base/baz.c (bazx, baz): Ditto.
6546 * gdb.base/foo.c (foox, foo): Ditto.
6547 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6548
6549 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6550 to be arrays.
6551
6552 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
6553
6554 * gdb.base/overlays.exp: fix up and get working again.
6555 Add tests for backtraces from an overlay function.
6556
6557 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6558
6559 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6560 "calling function with watchpoint enabled".
6561
6562 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6563
6564 * gdb.base/break.exp (test_next_with_recursion): Remove
6565 gdb_suppress_tests for d10v-*-*.
6566 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6567 pending review of whether it is useful or not.
6568
6569 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6570
6571 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6572
6573 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6574
6575 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6576 * config/dve.exp: New file to support Densan boards.
6577
6578 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6579
6580 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6581 reads and BSD.
6582
6583 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6584
6585 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6586 response.
6587
6588 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6589
6590 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6591
6592 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6593 test.
6594
6595 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6596 target_sizeof_long and target_bigendian_p.
6597 (structs_by_value, structs_by_reference): Check values according
6598 to targets word size and endianess.
6599
6600 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6601
6602 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6603 output.
6604
6605 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6606
6607 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6608 Update test of set args help to match source change.
6609
6610 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6611
6612 * gdb.base/default.exp: Expect help system output to be in
6613 alphabetical order.
6614 * gdb.base/help.exp: Ditto.
6615
6616 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6617
6618 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6619 "i*86-pc-linux-gnu*".
6620 * gdb.base/interrupt.exp: Ditto.
6621 * gdb.base/corefile.exp: Ditto.
6622
6623 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6624 define vxworks when building the testcase.
6625
6626 * gdb.base/ptype.exp: Fix testnames to be unique.
6627 * gdb.base/radix.exp: Ditto.
6628 * gdb.base/term.exp: Ditto.
6629 * gdb.base/whatis.exp: Ditto.
6630 * gdb.c++/classes.exp: Ditto.
6631
6632 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6633
6634 * gdb.base/callfuncs.exp: Fix indentation.
6635
6636 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6637 suppress_flag has been set.
6638 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6639 target feature.
6640
6641 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6642
6643 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6644 the testcase.
6645
6646 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6647 set_debug_traps() and breakpoint().
6648 * gdb.c++/misc.cc (main): Ditto.
6649 * gdb.c++/templates.cc (main): Ditto.
6650 * gdb.c++/virtfunc.cc (main): Ditto.
6651
6652 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6653
6654 * lib/gdb.exp(gdb_step_for_stub): New function.
6655 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6656 exists, reload the executable and do a "continue" instead of
6657 doing a jump.
6658 (runto_main): Use gdb_step_for_stub.
6659
6660 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6661 tests to have unique names.
6662 * gdb.base/callfuncs.exp: Ditto.
6663 * gdb.base/commands.exp: Ditto.
6664 * gdb.base/default.exp: Ditto.
6665 * gdb.base/help.exp: Ditto.
6666 * gdb.base/list.exp: Ditto.
6667 * gdb.base/opaque.exp: Ditto.
6668 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6669 similar tests.
6670
6671 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6672 * gdb.c++/cplusfuncs.cc: Ditto.
6673 * gdb.c++/virtfunc.cc: Ditto.
6674
6675 * config/monitor.exp: Keep track of the last file we saw, rather
6676 than trying to get the info from gdb.
6677
6678 * gdb.fortran/types.exp: Move comment to previous line.
6679
6680 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6681
6682 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6683 target mode.
6684
6685 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6686
6687 From Bob Manson:
6688 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6689 string from GDB when it connects.
6690
6691 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6692
6693 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6694
6695 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6696 if we can't get a debug format from GDB (we may be testing an
6697 older GDB). Use a 10 second timeout when checking for the format.
6698
6699 * gdb.stabs/weird.exp: Fix quoting.
6700
6701 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6702
6703 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6704
6705 * config/arm-ice.exp: New file.
6706
6707 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6708
6709 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6710 until it has been modified to work with the new testsuite.
6711
6712 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
6713 testcase won't compile, cause all of the testcases in the file to
6714 fail instead.
6715
6716 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6717 (gdb_clear_suppressed): New procedure.
6718 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6719 it contains a positive value.
6720
6721 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6722
6723 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6724
6725 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6726
6727 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6728
6729 * lib/gdb.exp (setup_xfail_format): New function.
6730 (get_debug_format): New function to get debug format.
6731 (debug_format): New global variable to hold last value set
6732 by get_debug_format.
6733 * gdb.base/list.exp: Call get_debug_format and expect some
6734 tests to fail for DWARF 1 and COFF formats.
6735 * gdb.c++/ptype.exp: Ditto.
6736 * gdb.c++/classes.exp: Ditto.
6737 * gdb.c++/cplusfuncs.exp: Ditto.
6738 * gdb.c++/inherit.exp: Ditto.
6739 * gdb.c++/templates.exp: Ditto.
6740 * gdb.c++/virtfunc.exp: Ditto.
6741
6742 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6743
6744 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6745 host doesn't have a currently-open connection.
6746
6747 * config/sparclet.exp: Cleanups and fixes to make it generic for
6748 any gdb stub target. Handle cases where gdb doesn't respond when
6749 interrupted in a sane fashion.
6750
6751 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6752 same thing in a totally different way.
6753
6754 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6755 setting "timeout".
6756 (gdb_start): We set the global gdb_prompt variable in
6757 default_gdb_init now.
6758
6759 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6760
6761 * gdb.base/printcmds.exp: Fix "check for floating addition"
6762 regexp to accept results within approx +/- .01 of exact value.
6763 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6764
6765 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6766
6767 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6768 properly.
6769 (gdb_expect): Add optional timeout parameter, and add timeout
6770 value to various calls.
6771 (gdb_suppress_tests): Only give one warning message per group.
6772
6773 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6774
6775 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6776 global variables. Handle getting a value for $timeout more
6777 gracefully.
6778
6779 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6780
6781 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6782 initialize.
6783 (default_gdb_init): New procedure; allow gdb_init to be overridden
6784 by a target configuration file.
6785 (gdb_expect): Pass the timeout to remote_expect.
6786
6787 * config/monitor.exp(gdb_load): Fix typo in regexp.
6788
6789 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6790
6791 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6792
6793 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6794
6795 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6796 here. Call gdb_target_exec before rebooting the target, to make
6797 sure the connection to the target is closed.
6798 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6799 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6800 Also detect "Timeout reading from remote" error.
6801
6802 * config/gdbserver.exp: Pass the executable being loaded to
6803 gdb_target_monitor. Don't call gdb_file_cmd here; let
6804 gdb_target_monitor do it.
6805
6806 * gdb.disasm/hppa.exp: Don't use exec_output.
6807
6808 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6809
6810 * gdb.base/list.exp: If we're debugging a non-native target,
6811 try to set the pc register to point to the start of the
6812 program before doing the first list command.
6813
6814 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6815 test_calls after restarting.
6816
6817 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6818 reloading.
6819
6820 * gdb.base/watchpoint.exp: Fix typo.
6821
6822 * gdb.base/setshow.exp: Check for use_gdb_stub.
6823
6824 * gdb.base/break.exp: Fix continue until exit test for the gdb
6825 stub case.
6826 * gdb.base/langs.exp: Ditto.
6827
6828 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6829 gdb_load_offset. If we weren't given a file to load, figure out
6830 what the current file is and use it.
6831
6832 * config/i386-bozo.exp: New file.
6833
6834 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6835
6836 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6837 feature.
6838
6839 * config/proelf.exp: New entry.
6840
6841 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6842
6843 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6844 of regexps.
6845
6846 * gdb.base/watchpoint.exp: Don't run the test_stepping
6847 tests if gdb can't call functions on the target.
6848
6849 * gdb.base/setshow.exp: Don't run the set prompt tests if
6850 the board has gdb_prompt set.
6851
6852 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6853
6854 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6855 * gdb.base/commands.exp: Likewise.
6856 * gdb.base/setshow.exp: Likewise.
6857
6858 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6859
6860 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6861 feature.
6862
6863 * config/i960.exp: New file.
6864
6865 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6866
6867 * gdb.base/funcargs.exp: Check for gdb,short_int target
6868 feature instead of looking for explicit target triplets.
6869
6870 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
6871
6872 * gdb.base/printcmds.exp: add a couple more tests a la
6873 "p 123DEADBEEF", to check parse_number.
6874 * top.c: change "to enable to enable" to "to enable" in a couple
6875 of help strings.
6876
6877 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6878
6879 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6880 on the mn10300.
6881
6882 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6883
6884 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6885 where the test executable is run with explicit args.
6886 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6887
6888 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6889
6890 * gdb.base/run.c: Use FAKEARGV to build test executable that
6891 does not require a command line arg, since most simulators
6892 don't currently support passing such an arg into the simulated
6893 program.
6894 * gdb.base/commands.exp: Change tests to insert the proper
6895 value as the arg to the first recursive factorial call. Change
6896 compilation line to define FAKEARGV at compile time.
6897
6898 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6899
6900 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6901 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6902 function with watchpoint enabled" test.
6903
6904 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6905
6906 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6907 Don't call gdb_test when the command doesn't return to a gdb prompt.
6908
6909 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6910 "Tests restarted" messages.
6911
6912 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6913
6914 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6915
6916 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
6917
6918 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6919 for INFO SYMBOL; add help tests for OVERLAY commands.
6920 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6921 add tests for OVERLAY commands
6922 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6923 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6924 * gdb.base/sigall.c: add usestubs code frag
6925 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
6926
6927 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6928
6929 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6930 failures.
6931 (gdb_stop_suppressing_tests): Note that tests have restarted.
6932
6933 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6934
6935 * config/h8300.exp: New file.
6936
6937 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6938
6939 * gdb.base/setshow.exp: Check for the existence of a
6940 feature, not its value.
6941
6942 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6943
6944 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6945
6946 * gdb.base/scope.exp: It's now init0(), not init().
6947
6948 * gdb.base/scope0.c: For now, change init() to be init0().
6949
6950 * config/monitor.exp: Use gdb_serial in preference to serial
6951 or netport.
6952
6953 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6954 and it's not already set.
6955
6956 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6957
6958 * gdb.base/setshow.exp: Only test the run command if the target
6959 isn't using a stub and if it supports argument passing.
6960
6961 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6962
6963 * config/udi.exp(gdb_start): Make sure UDICONF is set
6964 properly before starting gdb.
6965
6966 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6967
6968 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6969 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6970 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6971
6972 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6973
6974 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6975 specialized code to reboot the board, use remote_reboot instead.
6976
6977 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6978
6979 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6980
6981 * config/monitor.exp: Make sure we disconnect from the target.
6982 Also, try a reboot/reload cycle instead of failing if the
6983 load fails.
6984
6985 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6986
6987 * gdb.base/default.exp: Don't set match_max.
6988 * gdb.base/help.exp: Ditto.
6989 * gdb.base/list.exp: Ditto.
6990 * gdb.base/signals.exp: Ditto.
6991
6992 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6993 set, use remote_ld to download the testcase instead of
6994 the GDB loader.
6995
6996 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6997
6998 * config/vr5000.exp: New file.
6999
7000 * config/monitor.exp(gdb_target_monitor): Add pattern for
7001 "Ending remote" to detect errors in connecting.
7002
7003 * gdb.base/setshow.exp: Add .* within auto language test.
7004
7005 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7006 target feature.
7007
7008 * config/monitor.exp(gdb_load): Check for a failure when loading,
7009 and reboot the board if necessary.
7010
7011 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7012 a set of tests. Remove print.* from the patterns being checked.
7013
7014 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7015
7016 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7017 refer to gdb_spawn_id.
7018
7019 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7020 longer used.
7021 * config/sparclet.exp: Ditto.
7022 * config/sparclet-old.exp: Ditto.
7023 * config/slite.exp: Ditto.
7024 * config/sim.exp: Ditto.
7025 * gdb.base/funcargs.exp: Ditto.
7026
7027 * lib/gdb.exp:Remove references to gdb_spawn_id.
7028 (gdb_expect): Move to remote.exp.
7029
7030 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7031
7032 * config/monitor.exp: Detect the "Couldn't establish connection"
7033 message from GDB.
7034
7035 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7036
7037 * gdb.base/bitfields.exp: Use runto instead of explicit
7038 gdb_run_cmd/gdb_expect sequences.
7039
7040 * gdb.base/break.exp(text_next_with_recursion): Add match for
7041 gdb_expect call.
7042
7043 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7044 We also need to handle the "A program is being debugged already"
7045 prompt from gdb. Use gdb_test to set the baud rate.
7046
7047 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7048 to 20000. Really. I mean it.
7049
7050 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7051
7052 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7053 fails. If suppress_flag is set, skip perror message about not
7054 being able to send to GDB.
7055 (send_gdb): If suppress_flag is set, don't try to send commands to
7056 GDB.
7057 (gdb_expect): If suppress_flag is set, always fail immediately.
7058 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7059 (gdb_init): Call gdb_stop_suppressing_tests.
7060 (default_gdb_exit): Ditto.
7061 (default_gdb_start): Ditto.
7062
7063 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7064 gdb_stop_suppressing_tests as appropriate.
7065 * gdb.base/break.exp: Ditto.
7066 * gdb.base/callfuncs.exp: Ditto.
7067 * gdb.base/commands.exp: Ditto.
7068 * gdb.base/exprs.exp: Ditto.
7069 * gdb.base/funcargs.exp: Ditto.
7070 * gdb.base/list.exp: Ditto.
7071 * gdb.base/recurse.exp: Ditto.
7072 * gdb.base/scope.exp: Ditto.
7073 * gdb.base/structs.exp: Ditto.
7074 * gdb.c++/inherit.exp: Ditto.
7075
7076 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7077
7078 * config/vr4300.exp: New file.
7079
7080 * gdb.*/*.exp: Call gdb_expect instead of expect.
7081
7082 * lib/gdb.exp(gdb_expect): New function.
7083
7084 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7085
7086 * lib/gdb.exp(gdb_init): New function.
7087
7088 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7089 for each individual variable set.
7090
7091 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7092 name.
7093
7094 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7095
7096 * gdb.base/scope.exp: Use gdb_test.
7097
7098 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7099 aborting; the testsuite driver will do that for us (see
7100 gdb_finish). Also, use gdb_test in a few more places.
7101
7102 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7103
7104 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7105
7106 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7107
7108 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7109 and "add_tests" are not at the same address.
7110
7111 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7112
7113 * gdb.base/ptype.exp: Use gdb_test.
7114
7115 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7116
7117 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7118 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7119 left in. No longer expect them to fail.
7120
7121 * gdb.stabs/*.mt; Deleted, no longer used.
7122 * gdb.stabs/configure.in: Remove references to target makefile
7123 frags.
7124 * gdb.stabs/configure: Rebuilt.
7125
7126 * gdb.disasm/*.mt: Deleted, no longer used.
7127 * gdb.disasm/configure.in: Remove references to target makefile
7128 frags. Use "sh3.s" as the unique filename for this directory.
7129 * gdb.disasm/configure: Rebuilt.
7130
7131 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7132 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7133 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7134
7135 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7136
7137 * config/udi.exp: Use mondfe,name instead of remote_host.
7138
7139 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7140
7141 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7142 a function with a watchpoint enabled on the mn10200.
7143
7144 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7145 before trying to create it!
7146
7147 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7148
7149 * config/vx.exp: Use hostname instead of netport.
7150
7151 * config/vxworks.exp: New file.
7152
7153 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7154
7155 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7156 gdb before assuming everything worked. Send a ^C if a timeout
7157 occurs.
7158
7159 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7160 $gdb_spawn_id directly.
7161 (gdb_run_cmd): Try _start as well as start. Use the target feature
7162 gdb,start_symbol as the symbol to start from when jumping.
7163
7164 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7165
7166 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7167 redundant) test.
7168
7169 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7170 it doesn't lose for 16bit integer systems.
7171
7172 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7173
7174 * gdb.fortran/types.exp: If the target doesn't support "double"
7175 data types, then expect "real" types to only be 4 bytes.
7176
7177 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7178 call tests if the target doesn't support inferior function calls.
7179
7180 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7181 in printf tests.
7182
7183 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7184
7185 * gdb.base/help.exp: Disable "help set", "help show", and
7186 "help support". Simplify regexp for "help stack".
7187
7188 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7189 to 60 seconds. Temporarily set match_max to 15000 around the
7190 "info copying" test.
7191
7192 * gdb.base/nodebug.exp: Don't try to do an inferior function
7193 call if the target doesn't support them.
7194 * gdb.base/printcmds.exp: Likewise.
7195 * gdb.base/setvar.exp: Likewise.
7196 * gdb.base/structs.exp: Likewise.
7197 * gdb.c++/templates.exp: Likewise.
7198 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7199
7200 * gdb.base/recurse.exp: Enable for the mn10200.
7201
7202 * configure.in: Do configure gdb.stabs directory for *-*-elf
7203 targets.
7204 * configure: Rebuilt.
7205
7206 * gdb.base/break.exp: Check for gdb,noresults before testing
7207 exit status and/or results from the target.
7208 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7209 * lib/gdb.exp: Remove old (now bogus) initialization of
7210 noinferior, noargs, noresults and nosignals.
7211
7212 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7213
7214 * config/sh.exp: New file.
7215
7216 * config/slite.exp: Try to connect multiple times to the board
7217 before rebooting. Only send a "monitor run" if need_monitor_run
7218 is set.
7219
7220 * gdb.base/break.exp: Don't do the "stub continue" test if
7221 the target has gdb_stub set.
7222
7223 * gdb.base/callfuncs.exp: Increase the timeout.
7224
7225 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7226 if the target has gdb,noinferiorio set.
7227
7228 * gdb.base/list.exp: Increase match_max to 10000 characters.
7229
7230 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7231
7232 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7233 target.
7234
7235 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7236
7237 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7238
7239 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7240 trying to delete the copy of gdb. Catch the file delete so we
7241 don't die if the delete fails; also, the file should be copied to
7242 the host, not to the build.
7243
7244 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7245
7246 * lib/gdb.exp(gdb_test): Surround the result pattern with
7247 parenthesis in case it contains multiple regexps separated
7248 with |.
7249
7250 * gdb.base/watchpoint.exp: Use gdb_test.
7251 * gdb.base/default.exp: Ditto.
7252
7253 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7254
7255 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
7256
7257 * gdb.base/scope.exp: Use gdb_test.
7258 * gdb.c++/classes.exp: Ditto.
7259 * gdb.c++/inherit.exp: Ditto.
7260
7261 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7262
7263 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7264 remote_exec instead.
7265 * gdb.base/corefile.exp: Don't be ridiculous.
7266 * gdb.base/*.c: Add missing stub invocations.
7267
7268 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7269
7270 * config/slite.exp: Miscellaneous fixes.
7271
7272 * lib/gdb.exp: Fix runto.
7273
7274 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7275 the target.
7276
7277 * gdb.base/watchpoint.exp: Fix regexp.
7278
7279 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7280 close and wait commands, as the descriptor may now be
7281 invalid. Always call "remote_close host".
7282
7283 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7284
7285 Major rewrite for testsuite revision.
7286
7287 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7288 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7289 instead of relying on spawn_id to always contain a valid
7290 spawn id.
7291 (get_compiler_info): New procedure to build the ${binfile}.ci
7292 file, instead of replicating this in N different places.
7293 (gdb_compile): New procedure.
7294
7295 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7296 appropriate arguments) instead of compile. Use gdb_test in a lot
7297 more places. Use send_gdb instead of send. Always run gdb_start
7298 at the start of a testcase, as this is no longer done magically.
7299
7300 config/*-gdb.exp: Rename without the -gdb suffix.
7301
7302 config/mips.exp: Use remote_close instead of exit_remote_shell.
7303 config/monitor.exp: Use target_info instead of looking at
7304 baud, timeout, etc.
7305 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7306
7307 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7308
7309 * gdb.c++/templates.exp (test_ptype_of_templates),
7310 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7311 Update expect patterns for destructors and assignment operators
7312 to match corresponding c-typeprint.c changes.
7313 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7314 to destructor breakpoint test, GDB should be able to set the
7315 destructor breakpoint without specifying arguments.
7316
7317 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7318
7319 * gdb.threads/pthreads.exp: Change result for failure to compile due
7320 to lack of pthreads runtime support from an error to simply an
7321 unsupported test, per dejagnu standards.
7322
7323 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7324
7325 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7326 where GDB exits to reduce pattern match time.
7327 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7328
7329 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7330
7331 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
7332
7333 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7334 * gdb.base/default.exp: ditto.
7335 * gdb.base/nodebug.exp: ditto.
7336 * gdb.base/printcmds.exp: ditto.
7337 * gdb.base/ptype.exp: ditto.
7338 * gdb.base/setvar.exp: ditto.
7339 * gdb.base/structs.exp: ditto.
7340 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7341
7342 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7343
7344 * configure, */configure: Rebuild with autoconf 2.12.
7345
7346 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7347
7348 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7349 use new i*86-pc-linux*-gnu quads.
7350 * gdb.base/corefile.exp: Ditto.
7351 * gdb.base/signals.exp: Ditto.
7352 * gdb.base/sigall.exp: Ditto.
7353 * gdb.base/interrupt.exp: Ditto.
7354
7355 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7356 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7357 RedHat 4.0.
7358
7359 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7360 linux. This allows the test case to at least compile on latest
7361 linux, but still not run due to missing the threads runtime library.
7362
7363 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7364
7365 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7366 directory to search gdb directory. Accept and step over conditional
7367 stack alignment code. Consume $prompt in failure cases.
7368 Reset timeout to $oldtimeout instead of some arbitrary value.
7369 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7370 timeout problems with infinite stack backtraces.
7371 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7372 Accept function parameters for linkfunc member.
7373
7374 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7375
7376 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7377 (CXXFLAGS): Remove, unreferenced.
7378 (B_OPTIONS): Add for -B options and add code to initialize with
7379 previous -B options and also add -B option to pick up cross compiled
7380 runtime.
7381 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7382 doing cross compiles.
7383 (target_alias): Declare global.
7384 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7385 to verify that gcc exists in build tree, and if so set CC to that
7386 gcc and to use B_OPTIONS and TARGET_INCLUDES.
7387
7388 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7389
7390 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7391 ptype test for anonymous union. Fixup testcase to match
7392 current gcc debug output.
7393
7394 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7395
7396 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7397 force argument to an unsigned long type.
7398
7399 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7400
7401 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7402 tests and anonymous union print/ptype tests.
7403 * gdb.base/list.exp (test_forward-search): Increase timeout by
7404 5 minutes for the "search extremely long line" case.
7405 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7406 completely optional and that the pass/fail messages use the command as
7407 the message if that third arg is a null string.
7408 (gdb_test_exact): Arrange that a null string pattern means match a
7409 null string output rather than any output, which might include random
7410 errors.
7411 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7412 backtrace test.
7413 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7414 always failing and failure is now exposed by gdb.exp changes.
7415
7416 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7417
7418 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7419 weren't being noted.
7420
7421 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7422
7423 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7424 * gdb.stabs/weird.exp: Remove v_comb xfails.
7425
7426 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
7427
7428 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7429 list.exp scope.exp watchpoint.exp]
7430 Make all timeout error msgs explicitly say "(timeout)".
7431
7432 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
7433
7434 * config/monitor.exp: Increase download timeout to 1000 seconds.
7435
7436 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
7437
7438 * config/m32r.exp: Increase timeout to 120 seconds.
7439
7440 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7441
7442 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7443 and accept older ordering as obsolescent gcc or gdb.
7444 * gdb.c++/templates.exp: Ditto.
7445 * gdb.c++/virtfunc.exp: Ditto.
7446
7447 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7448
7449 * gdb.base/coremaker.c: Add code to mmap some data so we
7450 can check that it ends up in the core file.
7451 * gdb.base/corefile.exp: Add test to read mmapped data
7452 from core file.
7453
7454 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
7455
7456 * config/m32r.exp: New file.
7457
7458 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7459
7460 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7461 that cflags can contains -gstabs, and work correctly for other tests.
7462
7463 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
7464
7465 * gdb.base/setshow.exp: New file, tests show and set.
7466 * gdb.base/setshow.c: New file, tests show and set.
7467 * gdb.base/help.exp: Add test for help set|show annotate.
7468 * gdb.base/default.exp: Add test for set|show annotate.
7469
7470 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7471
7472 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7473 errors unique.
7474 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7475 explicitly.
7476
7477 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7478
7479 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7480 and width commands. This is done elsewhere.
7481 * (gdb_start): Don't call gdb_start_sim here. That's already
7482 done in gdb_load. This fixes lots of failures in default.exp.
7483
7484 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7485
7486 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7487 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7488 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7489 in the same we we treat other failures (since it may be an expected
7490 condition), rather than as an error.
7491 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7492 old test format.
7493
7494 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7495
7496 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7497 (distclean maintainer-clean realclean): No need to remove files
7498 twice. Nuke the duplicates.
7499 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
7500 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
7501 Remove config.h along with other config files.
7502
7503 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7504
7505 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7506 "p func1 ()" and note that rests of tests are skipped.
7507 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7508 setup_xfails for "print func2::coremaker_local".
7509 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7510 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7511 affected by the previous run test.
7512 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7513 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7514 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7515 "pass int powerset tuple" and "pass modeless int powerset tuple".
7516 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7517 "real write 4" and "real write 8".
7518 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7519 setup_xfails for "print vs1 after tuple assign 2",
7520 "print \$i after tuple assign 2", and
7521 "print vs2 after tuple assign 2".
7522 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7523 meaningful error message and return -1 so the caller can
7524 suppress further tests and avoid a cascade of errors.
7525
7526 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7527
7528 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7529 format for printing version.
7530 * gdb.base/default.exp: Ditto.
7531 * gdb.base/interrupt.exp: Fix problem with cascade of
7532 errors if child process dies while calling a function.
7533
7534 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7535
7536 * Makefile.in (VPATH): Add
7537 * Makefile.in (Makefile, config.status): Fix rules so things get
7538 remade when necessary.
7539
7540 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7541
7542 * Makefile.in (just-check): Add path to sibling expect dir
7543 to environment variable specified by RPATH_ENVVAR.
7544
7545 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7546
7547 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7548 (just-check): Add shared library paths for libstdc++, tk,
7549 tcl, bfd, and opcodes to the environment variable specified
7550 in RPATH_ENVVAR.
7551 * configure.in: Add support to recognize --enable-shared flag
7552 and generate correct value for RPATH_ENVVAR.
7553 * configure: Regenerated with autoconf.
7554
7555 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7556
7557 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7558 include all osf versions.
7559 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7560 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7561 when target is linux. When failing to build pthreads test
7562 executable, give more meaningful message.
7563 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7564 arg for pthread_create.
7565
7566 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7567
7568 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7569 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7570 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7571 and -lpthreads (everybody else).
7572 (test_startup): Fail gracefully if threads are not supported.
7573 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7574 "p/c array_index("abcdef",2)" when not gcc compiled.
7575 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7576 "print func2::coremaker_local" when not gcc compiled.
7577 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7578 "ptype on opaque struct tagname (statically)",
7579 "ptype on opaque struct tagname (dynamically) 1", and
7580 "ptype on opaque struct tagname (dynamically) 2"
7581 for not compiled with gcc.
7582 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7583 backtrace when compiled with gcc.
7584 * lib/gdb.exp (runto_main): Return result of "runto main" rather
7585 than always return success.
7586
7587 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7588
7589 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7590
7591 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7592
7593 * gdb.base/structs.exp: Undo last change.
7594
7595 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7596
7597 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7598 encapsulate all the steps/nexts done during self test, starting
7599 at main, and makes them less sensitive to optimization issues.
7600 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7601 signal handler" test.
7602 * gdb.threads/pthreads.exp: Only run this for native configs.
7603 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7604 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7605 tests.
7606 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7607 for "runto test_calls(void)" test.
7608
7609 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7610
7611 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7612 and don't expect address info in breakpoint confirmations.
7613
7614 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7615
7616 * gdb.base/list.exp (test_forward_search): Increase timeout
7617 temporarily by 60 seconds for searching extremely long line,
7618 and then reset to old value when done. Increase expect input
7619 buffer to 10000.
7620
7621 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7622
7623 * gdb.base/list.exp (test_forward_search): Fix to handle very
7624 long source line without overflowing expect's input buffer.
7625
7626 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7627
7628 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7629 "buffer_full".
7630
7631 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7632 "buffer_full".
7633
7634 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7635 "buffer_full".
7636
7637 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7638 "buffer_full".
7639
7640 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7641
7642 * configure.in (configdirs): Add gdb.threads.
7643 * configure: Regenerated with autoconf.
7644 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7645 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7646 * gdb.threads/configure: New, generated with autoconf.
7647
7648 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7649
7650 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7651
7652 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7653
7654 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7655 each signal's status in the output of "handle all print".
7656 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7657 the \r\n sequence that immediately precedes the gdb prompt.
7658 * gdb.base/a1-selftest.exp: Save original timeout and restore
7659 after test.
7660
7661 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7662
7663 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7664 symbol.
7665
7666 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7667
7668 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7669
7670 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7671
7672 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7673 timeout by 60 seconds.
7674
7675 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7676
7677 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7678 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7679 error return.
7680
7681 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7682
7683 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7684 gdb initialization, also report how long dejagnu waited. Restore
7685 old timeout before doing error return. Temporarily increase timeout
7686 by 3 minutes to allow for slow startups over heavy NFS use.
7687
7688 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7689
7690 * lib/gdb.exp: Report timeout value for verbosity level 2.
7691 * config/gdbserver.exp: Ditto.
7692 * config/hppro.exp: Ditto.
7693 * config/mips-gdb.exp: Ditto.
7694 * config/monitor.exp: Ditto.
7695 * config/netware.exp: Ditto.
7696 * config/sim-gdb.exp: Ditto.
7697 * config/slite-gdb.exp: Ditto.
7698 * config/udi-gdb.exp: Ditto.
7699 * config/unix-gdb.exp: Ditto.
7700 * config/vx-gdb.exp: Ditto.
7701 * gdb.base/a1-selftest.exp: Ditto.
7702 * gdb.base/a2-run.exp: Ditto.
7703 * gdb.base/break.exp: Ditto.
7704 * gdb.base/corefile.exp: Ditto.
7705 * gdb.base/list.exp: Ditto.
7706 * gdb.base/recurse.exp: Ditto.
7707 * gdb.base/scope.exp: Ditto.
7708 * gdb.base/signals.exp: Ditto.
7709
7710 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7711
7712 * gdb.threads/Makefile.in (docdir): Removed.
7713
7714 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7715
7716 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
7717 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
7718 @srcdir@.
7719 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
7720 autoconf 2.5 or higher.
7721 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7722
7723 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7724
7725 * configure: Regenerated.
7726 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7727 avoid name clashes with SunOS headers.
7728
7729 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7730
7731 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7732
7733 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7734
7735 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7736 prototype information ends up in the compiler info file.
7737
7738 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7739
7740 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7741 attempting to regenerate it. Eliminate use of a temporary file
7742 and just generate the info file directly. Source it immediately,
7743 for consistency of use.
7744 * gdb.base/corefile.exp: Ditto
7745 * gdb.base/exprs.exp: Ditto.
7746 * gdb.base/funcargs.exp: Ditto.
7747 * gdb.base/langs.exp: Ditto.
7748 * gdb.base/list.exp: Ditto.
7749 * gdb.base/mips_pro.exp: Ditto.
7750 * gdb.base/nodebug.exp: Ditto.
7751 * gdb.base/opaque.exp: Ditto.
7752 * gdb.base/ptype.exp: Ditto.
7753 * gdb.base/scope.exp: Ditto.
7754 * gdb.base/setvar.exp: Ditto.
7755 * gdb.base/signals.exp: Ditto.
7756 * gdb.base/whatis.exp: Ditto.
7757 * gdb.c++/templates.exp: Ditto.
7758 * gdb.c++/virtfunc.exp: Ditto.
7759 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7760 whether or not to add -lstdc++ to the compile command line args.
7761
7762 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7763
7764 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7765 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7766 Increase timeout, a lot of single stepping might be needed if the
7767 target has no hardware watchpoints.
7768
7769 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7770
7771 * gdb.base/break.exp: Ignore compiler warnings when compiling
7772 break.c.
7773 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7774 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7775 from remote-sim.
7776 * gdb.base/exprs.exp: Add h8300 xfails.
7777 * gdb.base/funcargs.exp: Likewise.
7778 * gdb.base/nodebug.exp: Likewise.
7779 * gdb.base/printcmds.exp: Likewise.
7780 * gdb.base/ptype.exp: Likewise.
7781 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7782 h8300 xfails.
7783 * gdb.base/return.exp: Handle float/double precision problems
7784 on the h8300.
7785 * gdb.base/funcargs.c: Explicitly make last constant argument to
7786 call_after_alloca_subr an unsigned long type.
7787 * gdb.base/return.c: Include stdio.h.
7788
7789 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7790
7791 * config/abug.exp: New file for the older Motorola Bug monitor
7792 that runs on the mvme13x series VME boards.
7793 * config/monitor.exp: Use the new config array for target settings
7794 if they exist.
7795
7796 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7797
7798 * sim-gdb.exp: Make the SH simulator allocate less space when
7799 it is targeted.
7800
7801 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7802
7803 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7804 test.
7805
7806 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7807
7808 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7809 "rs6000-*-*" for "list function in include file" when gcc compiled.
7810 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7811 for "p ctable1[120]".
7812 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7813 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7814 Remove setup_xfail for "rs6000-*-*" for
7815 "print 'scope0.c'::filelocal before run".
7816 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7817 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7818 since some compilers don't allow both options to be given
7819 on the same command line. Create object file and move it.
7820
7821 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7822
7823 * gdb.base/corefile.exp: Always regenerate the core file, since
7824 we always regenerate the coremaker program. Detect special case
7825 where registers cannot be read from core file.
7826
7827 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7828
7829 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7830 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7831 * gdb.c++/templates.exp: Only match on basename of file since
7832 some formats like xcoff don't encode directory information.
7833 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7834 and rs6000 AIX xcoff targets.
7835 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7836 * configure: Regenerate.
7837 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7838 here, rather than in distclean.
7839
7840 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7841
7842 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7843 defined, and use it to compile the test case with -O2. The
7844 native compilation still uses no optimization.
7845 * gdb.base/mips_pro.c: Remove inline assembly code since
7846 it is compiled PIC by default, which results in assembler
7847 warnings that make the testsuite think the compilation
7848 was unsuccessful.
7849
7850 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7851
7852 * gdb.c++/misc.exp: Add note to message for
7853 "print s.a for foo struct" that this is a known gcc 2.7.2
7854 and earlier bug.
7855
7856 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7857
7858 * gdb.base/break.exp: Fix pattern for matching "Delete all
7859 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7860 setup_xfail for deleting all breakpoints test. Fix various
7861 timeout messages to include "(timeout)".
7862 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7863 for "p t_float_values2(3.14159,float_val2)".
7864 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7865 for "continue to call2g" when gcc compiled.
7866 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7867 "up to foo in langs.exp", "show language at foo in langs.exp",
7868 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7869 and "show language at fsub in langs.exp".
7870 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7871 "list line 1 in include file", "list message for lines past EOF",
7872 "list function in include file", "list list0.h:foo", and
7873 "list filename:function; nonexistant function".
7874 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7875 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7876 and "ptype t_char_array" to be for native cc only.
7877
7878 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7879
7880 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
7881 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7882 "print func2::coremaker_local", and "backtrace in corefile.exp".
7883
7884 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7885
7886 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7887 "bt in signals.exp". This problem only appears when running
7888 the testsuite, and then only intermittently.
7889
7890 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7891
7892 * gdb.base/return.exp (return_tests): Differentiate between
7893 two tests of continuing.
7894
7895 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7896
7897 * */Makefile.in (maintainer-clean): Remove config.log.
7898 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7899 * gdb.c++/Makefile.in (PROGS): Add inherit.
7900 (clean): Remove *.ci.
7901
7902 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7903
7904 * gdb.c++/misc.cc: Add test code from Mike Stump.
7905 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7906
7907 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7908
7909 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7910 to "alpha-*-osf2*" and add comment.
7911 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7912 setup_xfail for "step over execarg initialization" and
7913 "step over corearg initialization".
7914 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7915 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7916 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7917 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7918 "print func2::coremaker_local", and "backtrace in corefile.exp".
7919 * gdb.base/signals.exp: Build and source signals.ci.
7920 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7921 to be for gcc only.
7922 * lib/gdb.exp: Move verbose statements outside conditionals.
7923
7924 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7925
7926 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7927 Feb 3 procfs.c change.
7928
7929 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7930
7931 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7932
7933 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7934
7935 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7936 from dejagnu's apparent default of 10 seconds, which gives random
7937 results when running the tests over NFS on moderately loaded systems.
7938 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7939
7940 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7941
7942 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7943 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7944 result reports.
7945
7946 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7947
7948 * configure.in (CY_AC_PATH_TCLH): Remove.
7949 * configure: Regenerate.
7950
7951 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7952
7953 * gdb.c++/Makefile.in (clean): Add missing '{'.
7954
7955 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7956
7957 * lib/gdb.exp: Provide a default value for noinferior.
7958
7959 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7960 Load libgloss.exp.
7961
7962 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7963
7964 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7965 the executable, not the .o to run the tests from.
7966
7967 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7968
7969 * gdb.base/break.exp: Don't test for program exit or exit status
7970 if $noresults if nonzero.
7971 * gdb.base/langs.exp: Likewise.
7972 * gdb.base/watchpoint.exp: Likewise.
7973
7974 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7975 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7976 trying to compile the testcase.
7977
7978 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7979
7980 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7981 * gdb.base/signals.exp (continue to handler): Likewise.
7982
7983 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7984
7985 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7986
7987 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7988
7989 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7990
7991 * gdb.base/corefile.exp: Recognize "not found" as failure
7992 when trying to determine if a core file was generated.
7993 If no core file was generate the first time, try again without
7994 the ulimit -c to work around braindamaged shells.
7995
7996 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7997
7998 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7999 [] tests with "test" and enclose string in quotes.
8000 * gdb.stabs/configure: Rebuild
8001
8002 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8003
8004 Changes in sync with expect:
8005 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8006 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8007 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8008 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8009 argument to AC_REQUIRE.
8010 * configure: Regenerated.
8011
8012 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8013
8014 * gdb.base/corefile.exp: When generating a core, discard any
8015 error messages about ulimit not found and the "core dumped"
8016 message from the shell that runs the coredumper.
8017
8018 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8019
8020 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8021
8022 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8023 which sed script to run. Expect failure for v_comb test
8024 on PA targets too.
8025
8026 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8027
8028 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8029 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8030
8031 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8032
8033 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8034 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8035 "sparc-sun-solaris*" xfails for "p v_comb".
8036 * lib/gdb.exp (default_gdb_start): Fix typo.
8037 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8038 messages to not include the full program name that caused
8039 the core dump since some systems (such as solaris) apparently
8040 truncate this path to about 80 characters.
8041 When generating a core file first try increasing the core file
8042 size limit to unlimited since some systems may default it to
8043 zero, and it is harmless to try it. Move the test for failing
8044 to generate a core file to where it will actually get executed.
8045 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8046 new gdb result from g++ debug info improvements and make old
8047 pattern obsolescent. Also account for size_t differences
8048 (may be int or long).
8049 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8050 initialization before function call is placed in the delay slot
8051 and thus appears to be skipped over by commands such as "next".
8052
8053 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8054
8055 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8056
8057 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8058
8059 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8060 input source file; fix code to compile test to deal with this
8061 convention.
8062 * gdb.c++/*.exp: Likewise.
8063
8064 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8065
8066 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8067 "bt in signals.exp".
8068
8069 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8070
8071 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8072 "step over execarg initialization" and
8073 "step over corearg initialization".
8074
8075 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8076
8077 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8078 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8079
8080 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8081
8082 From Rob Savoye (rob@poseidon.cygnus.com)
8083 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8084 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8085 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8086 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8087 configure.in}: Major reworking for autoconfig.
8088 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8089 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8090 New files.
8091 * config/unix-gdb.exp: Make GDB global.
8092 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8093 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8094 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8095 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8096 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8097 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8098 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8099 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8100 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8101 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8102 pr-8136.exp, result.exp, string.exp, tuples.exp},
8103 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8104 to returns as necessary, arrange for test to compile own testcase
8105 executable.
8106 * lib/gdb.exp: Changes for testsuite to compile own test cases.
8107
8108 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8109
8110 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8111 clear_xfail at end of test which might not call either pass or fail.
8112 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8113 "backtrace through signal handler".
8114
8115 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8116
8117 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8118 continuing from a job control stop signal.
8119 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8120
8121 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8122
8123 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8124 * gdb.base/corefile.exp: Likewise.
8125 * gdb.base/funcargs.exp: Likewise.
8126
8127 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8128
8129 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8130 * config/monitor.exp: Add support for setting baud rate.
8131
8132 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8133
8134 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8135 i*86-*-linux* xfails for "backtrace through signal handler".
8136 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8137 "print func2::coremaker_local".
8138 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8139 alpha-dec-osf2* xfail for
8140 "delete all breakpoints when none".
8141
8142 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8143
8144 * gdb.base/break.exp: Change test that deletes all breakpoints
8145 when no user breakpoints are installed. A post 4.15 change
8146 causes gdb to no longer prompt in this case.
8147
8148 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8149
8150 * gdb.base/return.exp (return_tests): Change xfail for test
8151 "correct value returned double test" to stop xfailing at
8152 Solaris 2.5. Apparently the bug has been fixed.
8153
8154 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8155
8156 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8157 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8158
8159 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8160
8161 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8162 * gdb.disasm/hppa.s: Corresponding changes.
8163
8164 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8165
8166 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8167 makefile fragment.
8168 * config/mt-hpux: Deleted.
8169
8170 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8171
8172 * Many files: When warning about suppressed tests due to a
8173 nonexistant test binary, avoid incrementing the warning count.
8174
8175 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8176
8177 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
8178
8179 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8180
8181 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8182 "sparc-*-solaris2*".
8183
8184 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8185
8186 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8187 Add global and local variables and initialize them.
8188 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8189 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8190 extracts the file name and terminating signal from the core file.
8191 * TODO: Remove note about tests for correct mapping of corefile.
8192 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8193 from optimizing it away.
8194 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8195 handles common blocks.
8196
8197 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8198
8199 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8200 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8201
8202 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8203
8204 * Makefile.in (maintainer-clean): New target, synonym for
8205 realclean.
8206 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8207 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8208 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8209 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8210 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8211 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8212
8213 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8214
8215 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8216 xfails when not gcc compiled for "print foo::funclocal".
8217 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8218 "print foo::funclocal at foo",
8219 "print 'scope1.c'::foo::funclocal at foo",
8220 "print foo::funclocal_bss at foo",
8221 "print 'scope1.c'::foo::funclocal_bss at foo",
8222 "print foo::funclocal_ro at foo",
8223 "print 'scope1.c'::foo::funclocal_ro at foo",
8224 "print bar::funclocal at foo" and
8225 "print 'scope1.c'::bar::funclocal at foo".
8226 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8227 gcc compiled for "print foo::funclocal at bar".
8228 Expand all messages to ensure that they identify that
8229 the test is at bar().
8230 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8231 gcc compiled for:
8232 "ptype on opaque struct pointer (statically)",
8233 "ptype on opaque struct tagname (statically)",
8234 "ptype on opaque struct pointer (dynamically) 1",
8235 "ptype on opaque struct tagname (dynamically) 1",
8236 "ptype on opaque struct pointer (dynamically) 2" and
8237 "ptype on opaque struct tagname (dynamically) 2
8238 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8239 gcc compiled for:
8240 "p datalocal"
8241 "whatis datalocal",
8242 "ptype datalocal",
8243 "p bsslocal",
8244 "whatis bsslocal", and
8245 "ptype bsslocal".
8246 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8247 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8248 when not gcc compiled.
8249 * gdb.base/funcargs.exp (float_and_integral_args): Add
8250 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8251 compiled.
8252 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8253 "backtrace from call6a" when not gcc compiled.
8254 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8255 "backtrace from call7a" when not gcc compiled.
8256 * gdb.base/callfuncs.exp (do_function_calls):
8257 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8258 "p t_char_array_values(char_array_val2,char_array_val1)",
8259 "p t_char_array_values(char_array_val1,char_array_val2)",
8260 "p t_char_array_values("carray 1","carray 2")",
8261 "p t_char_array_values("carray 1",char_array_val2)",
8262 "p t_char_array_values(char_array_val1,"carray 2")",
8263 "p sum_args(1,{2})",
8264 "p sum_args(2,{2,3})",
8265 "p sum_args(3,{2,3,4})",
8266 "p sum_args(4,{2,3,4,5})"
8267 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8268 "backtrace in corefile.exp" when not gcc compiled.
8269
8270 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8271
8272 * gdb.base/signals.exp: Rewrite `handle all print' test as
8273 a procedure. Accept blanks or TABs as whitespace, increase
8274 timeout and expect input buffer size for the large output
8275 from the command. Remove "i*86-*-bsdi2.0" xfail.
8276
8277 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8278
8279 * gdb.base/setvar.exp: Add new testcases for truncation when
8280 assigning invalid values to bitfields.
8281
8282 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8283
8284 * gdb.base/callfuncs.exp (do_function_calls): Remove
8285 mips-sgi-irix* xfail for
8286 "call inferior func with struct - returns char *"
8287 and fix test so that an optional (unsigned char *) cast is
8288 accepted in the result.
8289
8290 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8291
8292 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8293 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8294 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8295 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8296 that accidentally got checked in.
8297
8298 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8299
8300 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
8301 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8302 compiled test.
8303 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8304 Add mips-sgi-irix5* xfail for not gcc compiled.
8305 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8306 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8307 "p top", "whatis top", "p middle", and "whatis middle".
8308 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8309 "whatis signed char" for not gcc compiled.
8310 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8311 "set variable signed char=-1 (-1)" and
8312 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8313 * gdb.base/funcargs.exp (float_and_integral_args):
8314 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8315 Add mips-sgi-irix* xfail when not gcc compiled for
8316 "continue to call2b".
8317 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8318 "continue to call2g".
8319 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8320 "backtrace from call6a"
8321 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8322 "backtrace from call7k".
8323 Add mips-sgi-irix5* xfail when not gcc compiled for
8324 "backtrace from call7a".
8325 (localvars_after_alloca): Fix gdb_test cmds for
8326 "print * after runto ...".
8327 Remove rs6000-*-* xfails for
8328 "print i after runto localvars_after_alloca" and
8329 "print l after runto localvars_after_alloca"
8330 for all compilers.
8331 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8332 when not compiled with gcc, for:
8333 "print signed char == (minus)",
8334 "print signed char != (minus)",
8335 "print signed char < (minus)",
8336 "print signed char > (minus)".
8337 * gdb.base/callfuncs.exp (do_function_calls):
8338 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8339 "call inferior func with struct - returns char *".
8340 * gdb.base/return.exp (return_tests): Change xfail for
8341 "correct value returned double test" to include Solaris 2.4.
8342 * gdb.base/funcargs.exp (float_and_integral_args):
8343 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8344
8345 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8346
8347 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8348 enumeration bitfields if compiling with GNU C.
8349 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8350 to empty' prompt.
8351
8352 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8353
8354 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8355 test for PRO targets.
8356
8357 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8358 breakpoints in the inferior at any given time by making
8359 two groups of breakpoints for call2*, call6* and call7*
8360 tests.
8361
8362 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8363
8364 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8365 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8366 from optimizing it away.
8367 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8368 "call inferior func with struct".
8369
8370 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8371
8372 * configure.in: Only configure gdb.chill for particular targets.
8373
8374 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8375
8376 * gdb.base/Makefile.in: Add action to .c.o transformation
8377 rule that generates a .ci file for each .o file and remove
8378 explicit .c.o rules except for callfuncs.o.
8379 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8380 generates a .ci file for each .o file and remove explicit
8381 .cc.o rules.
8382 (clean): Remove *.tmp *.ci files.
8383 (EXECUTABLES): Remove templ-info.exp.
8384 * gdb.base/compiler.c: New file.
8385 * gdb.c++/compiler.cc: New file
8386 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8387 Change rs6000-*-* xfail for
8388 "print 'scope0.c'::filelocal_ro" and
8389 "print 'scope1.c'::filelocal" and
8390 "print 'scope1.c'::filelocal_bss" and
8391 "print 'scope1.c'::filelocal_ro" and
8392 "print 'scope1.c'::foo::funclocal" and
8393 "print 'scope1.c'::foo::funclocal_ro" and
8394 "print 'scope1.c'::bar::funclocal" and
8395 "print 'scope0.c'::filelocal_ro" and
8396 "print 'scope1.c'::filelocal at foo" and
8397 "print 'scope1.c'::filelocal_bss at foo" and
8398 "print 'scope1.c'::filelocal_ro at foo" and
8399 "print 'scope1.c'::foo::funclocal at foo" and
8400 "print 'scope1.c'::foo::funclocal_bss at foo" and
8401 "print 'scope1.c'::foo::funclocal_ro at foo" and
8402 "print 'scope1.c'::bar::funclocal at foo" and
8403 "print 'scope0.c'::filelocal_ro" and
8404 "print 'scope1.c'::filelocal" and
8405 "print 'scope1.c'::filelocal_bss" and
8406 "print 'scope1.c'::filelocal_ro" and
8407 "print 'scope1.c'::foo::funclocal" and
8408 "print 'scope1.c'::foo::funclocal_bss" and
8409 "print 'scope1.c'::foo::funclocal_ro" and
8410 "print 'scope1.c'::bar::funclocal" and
8411 "print 'scope1.c'::bar::funclocal_bss"
8412 to only be xfail'd when not compiled with gcc.
8413 Add rs6000-*-* xfail for
8414 "print 'scope0.c'::filelocal_bss before run"
8415 when compiled with gcc.
8416 (test_at_main): Add rs6000-*-* xfail for
8417 "print filelocal_ro in test_at_main"
8418 when compiled with gcc.
8419 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
8420 Add rs6000-*-aix* xfail for
8421 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8422 "ptype t_char_array", not compiled with gcc.
8423 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8424 xfail for "list foo (in include file)" when gcc compiled.
8425 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8426 (integral_args): Add rs6000-*-* xfail for
8427 "run to call0a" if not compiled with gcc.
8428 (unsigned_integral_args): Add rs6000-*-* xfail for
8429 "run to call1a" if not compiled with gcc.
8430 (float_and_integral_args): Add rs6000-*-* xfail for
8431 "run to call2a" if not compiled with gcc and for
8432 "continue to call2b" for any compiler.
8433 Add rs6000-*-* xfail to
8434 "print f1 after run to call2a" for gcc compiled.
8435 (discard_and_shuffle): Add rs6000-*-* xfail for
8436 "run to call6a".
8437 (shuffle_round_robin): Add rs6000-*-* xfail for
8438 "backtrace from call7a" if not compiled with gcc.
8439 Add rs6000-*-* xfail for
8440 "backtrace from call7b" if compiled with gcc.
8441 (call_after_alloca): Add rs6000-*-* xfail for
8442 "print c in call_after_alloca" and
8443 "print s in call_after_alloca" and
8444 "backtrace from call_after_alloca_subr"
8445 if not compiled with gcc.
8446 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8447 "print c in localvars_in_indirect_call" and
8448 "print c in localvars_in_indirect_call" and
8449 "backtrace in indirectly called function" and
8450 "stepping into indirectly called function"
8451 if not compiled with gcc.
8452 (localvars_after_alloca): Add rs6000-*-* xfail for
8453 "print c after runto localvars_after_alloca" and
8454 "print s after runto localvars_after_alloca" and
8455 "print i after runto localvars_after_alloca" and
8456 "print l after runto localvars_after_alloca"
8457 for all compilers.
8458 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8459 than whatis-info.exp.
8460 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8461 than opaque-info.exp.
8462 Setup rs6000-*-* xfail for
8463 "ptype on opaque struct pointer (statically)" and
8464 "ptype on opaque struct pointer (dynamically)" when
8465 not compiled with gcc.
8466 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8467 rather than callf-info.exp.
8468 (do_function_calls): Add clear_xfail for rs6000-*-* for
8469 "p t_float_values2(3.14159,float_val2)". Seems to work
8470 fine there, both with xlc and gcc. Need to find out what
8471 it is doing right and fix other platforms.
8472 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8473 "call inferior func with struct - returns int",
8474 "call inferior func with struct - returns long",
8475 "call inferior func with struct - returns float",
8476 "call inferior func with struct - returns double",
8477 "call inferior func with struct - returns char *",
8478 but only if not gcc compiled (presumes xlc compiled).
8479 Change rs6000-*-* xfails for
8480 "call inferior func with struct - returns char" and
8481 " call inferior func with struct - returns short" to only
8482 xfail if not using gcc.
8483 (clean mostlyclean): Remove *.ci and *.tmp files.
8484 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8485 than templ-info.exp.
8486 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8487 Add rs6000-*-* xfail for "up to foo in langs.exp"
8488 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8489 when not gcc compiled.
8490
8491 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8492
8493 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8494 * gdb.base/corefile.exp: Likewise.
8495 * gdb.base/list.exp: Likewise.
8496 * gdb.base/scope.exp: Likewise.
8497 * gdb.base/siganls.exp: Likewise.
8498
8499 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8500 compiler output.
8501 * gdb.base/whatis.exp: Likewise.
8502
8503 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8504
8505 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8506 failure (opcode table has been fixed to match reality).
8507
8508 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8509
8510 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8511 "call inferior func with struct - returns char",
8512 "call inferior func with struct - returns short"
8513
8514 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8515 "print 'scope0.c'::filelocal at main",
8516 "print 'scope0.c'::filelocal_bss in test_at_main",
8517 "print 'scope0.c'::filelocal at foo",
8518 "print 'scope0.c'::filelocal_bss in test_at_foo",
8519 "print 'scope0.c'::filelocal at bar",
8520 "print 'scope0.c'::filelocal_bss in test_at_bar"
8521
8522 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8523 in source file 1". This bug seems to have been fixed with both
8524 gcc and native cc (was native assembler bug?).
8525
8526 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8527
8528 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8529 "backtrace through signal handler" to "i*86-*-sysv4*".
8530 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8531 continue" case. Add "known SVR4 bug" to fail message.
8532 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8533 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8534 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8535 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8536 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8537 "up to foo in langs.exp", "show language at foo in
8538 langs.exp", "up to cppsub_ in langs.exp", "show
8539 language at cppsub_ in langs.exp", "up to fsub in
8540 langs.exp", and "show language at fsub in langs.exp".
8541 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8542 "bactrace in corefile.exp".
8543 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8544 "call inferior function with struct - returns float" and
8545 "call inferior function with struct - returns double".
8546
8547 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8548
8549 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8550 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8551 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8552 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8553
8554 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8555
8556 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8557 (or overriden) "CHILL" macro rather then bare "gcc".
8558 Also look for ../../gcc/xgcc since that is what we will
8559 actually need, not "Makefile". Remove following assignment
8560 of CHILL to CHILL_FOR_TARGET because that results in
8561 recursive definition.
8562
8563 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8564
8565 * gdb.base/corefile.exp: Change xfail for backtrace in
8566 corefile.exp from linuxaout to all linux.
8567 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8568 cases where we miss the breakpoint at the signal handler
8569 for some reason. Setup xfail for linuxoldld/linuxaout and
8570 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8571 hitting SIGURG breakpoint.
8572 * gdb.base/signals.exp: Setup xfail for "next" acting like
8573 continue to add linuxoldld. Setup xfail for all linux for
8574 "next to handler in signals_tests_1", "backtrace in
8575 signals_tests_1", "continue to func1", "pass SIGUSR1",
8576 and continue to handler".
8577
8578 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8579
8580 * Update all FSF addresses except those in COPYING* files.
8581
8582 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8583
8584 * gdb.base/a2-run.exp: Change messages to be more explicit about
8585 the status of args, and quote binfile in results.
8586
8587 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8588
8589 * gdb.base/callfuncs.exp: Add tests for passing structs to
8590 inferior functions and return various types.
8591 * gdb.base/callfuncs.c: Add functions to receive a struct
8592 and return a member of the struct, in various types.
8593
8594 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8595
8596 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8597
8598 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8599
8600 * config/vxworks29k.exp: New file, sources vxworks.exp.
8601
8602 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8603
8604 * config/gdbremote.exp: New file. Testing framework using
8605 gdbserver.
8606
8607 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8608
8609 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8610 "call function when asleep" and "send end of file".
8611 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8612 for "backtrace in corefile.exp".
8613 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8614 for "backtrace through signal handler".
8615 * gdb.base/corefile.exp: Make sure we actually generate a core file
8616 before trying the core tests. Some systems allow the user to suppress
8617 generation of core files and default to that (linux for example).
8618 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8619 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8620
8621 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8622
8623 * gdb.threads: New directory with some crude multi-threaded
8624 gdb tests (step.exp and step2.exp).
8625 * config/mt-lynx (STEP_EXECUTABLE): Define.
8626 (THREADFLAGS): Define.
8627
8628 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8629
8630 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8631
8632 * gdb.base/signals.exp: Disable whole file for lynx until
8633 further notice.
8634
8635 * gdb.base/signals.exp: xfail test where "next" acts like
8636 "continue" for lynx.
8637
8638 * gdb.base/interrupt.exp: xfail test for calling function while
8639 inferior is asleep for lynx.
8640
8641 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8642 than one cr-lf after each command.
8643
8644 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8645
8646 * configure.in: Reinstate setting of stabsdirs variable, fix
8647 typo in setting up configdirs for native builds.
8648
8649 * gdb.base/return.exp: Fix typo in return double test.
8650 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8651 compiler from optimizing them away.
8652
8653 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8654
8655 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8656 sequences to be echo'd by gdb when using gdb_test.
8657 * gdb.chill/chexp.exp: Likewise.
8658 * gdb.fortran/exprs.exp: Likewise
8659
8660 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8661
8662 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8663 after the inferior gdb has started.
8664
8665 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8666 after each command.
8667 * gdb.base/funcargs.exp: Likewise.
8668 * gdb.base/gdbvars.exp: Likewise.
8669 * gdb.base/interrupt.exp: Likewise.
8670 * gdb.base/list.exp: Likewise.
8671 * gdb.base/watchpoint.exp: Likewise.
8672 * gdb.c++/demangle.exp: Likewise.
8673 * gdb.c++/inherit.exp: Likewise.
8674 * gdb.chill/chexp.exp: Likewise.
8675 * gdb.fortran/exprs.exp: Likewise.
8676
8677 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8678 test if we can't handle IO to/from the inferior.
8679
8680 * gdb.c++/misc.exp: Always check for a program already being
8681 started after sending a "run" command to gdb.
8682
8683 * gdb.base/twice.exp: Start with a fresh gdb.
8684
8685 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8686 only depend on gdb's expression code, not the chill runtime.
8687
8688 * gdb.base/return.c: Put return values into variables so we
8689 can have gdb print them rather than depending on the program
8690 to print them.
8691 * gdb.base/return.exp: Corresponding changes.
8692
8693 * lib/gdb.exp: Provide default value for noinferiorio.
8694 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8695 the inferior.
8696
8697 * gdb.base/break.exp: Always check for a program already being
8698 started after sending a "run" command to gdb.
8699 (text_next_with_recursion): Don't check the output from the
8700 program's printf statement. Instead just make sure the program
8701 exited.
8702
8703 * gdb.base/commands.exp: Protect tests which need arguments with
8704 $noargs conditionals.
8705
8706 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8707
8708 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8709 of structure member arrays to match gdb/valops.c:value_addr change.
8710
8711 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8712
8713 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8714 cases.
8715
8716 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8717
8718 * configure.in (configdirs): Remove gdb.chill from default list
8719 of subdirs and then add it back in only if doing a native build.
8720 The current chill compiler does not yet work in any cross build.
8721 * Revert all signal changes from Jul 6.
8722 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8723 for sh-hms targets, allowing these tests to link, with no other
8724 changes. Testing is suppressed by setting "nosignals" in site.exp.
8725
8726 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8727
8728 * configure.in (signaldirs): Define and add to configdirs for all
8729 targets except some specific ones that are known to not support signals.
8730 Also clean up formatting.
8731 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8732 (signals, sigall): Remove rules to build.
8733 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8734 Moved to new gdb.signals directory.
8735 * gdb.signals: New test directory.
8736 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8737 signals.c signals.exp}: New or moved files.
8738
8739 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8740
8741 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8742
8743 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8744
8745 * gdb.base/return.exp: Xfail `return double' test failure
8746 on at least Solaris 2.3 and handle future/past versions on
8747 a case by case basis as appropriate. Also update message
8748 to include i*86 failures.
8749
8750 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8751
8752 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8753
8754 * lib/gdb.exp: Fix comment which erroneously identified
8755 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8756 gdb_file_cmd not gdb_load).
8757 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8758
8759 * gdb.base/setvar.exp: Make test names consistent between pass and
8760 fail cases. Use gdb_test more.
8761
8762 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8763
8764 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8765
8766 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8767
8768 * gdb.base/help.exp: Fix expected help string for `show commands'.
8769
8770 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8771
8772 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8773
8774 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8775 of a text section.
8776
8777 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8778
8779 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8780 that loop eventually terminates. Fix Connection refused logic so
8781 that testsuite will expire nicely.
8782
8783 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8784
8785 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8786 config/rom68k.exp: New tcl glue for the appropriate monitors.
8787 These all just end up calling monitor.exp.
8788 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8789 refused' by retrying. Cleanup some timeout issues.
8790 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8791 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8792 callers don't have to set/restore global timeout variable.
8793
8794 * The following set of changes centralizes management of the global
8795 timeout variable. This way, it can be set in one target dependent
8796 place instead of dozens of places scattered throughout the test suite.
8797 If you need to lengthen a timeout, then you should either set timeout
8798 in one of the config/{target}.exp files, or multiply it by a factor.
8799 Setting it to an absolute value is always going to lose for some
8800 targets.
8801 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8802 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8803 * gdb.base/funcargs.exp: Don't set timeout.
8804 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8805 * gdb.base/printcmds.exp (test_print_string_constants
8806 test_print_array_constants): Don't set timeout.
8807 * gdb.base/ptype.exp: Don't set timeout.
8808 * gdb.base/recurse.exp: Don't set timeout.
8809 * gdb.base/return.exp: Don't set timeout.
8810 * gdb.base/watchpoint.exp: Don't set timeout.
8811 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8812 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8813
8814 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8815
8816 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8817
8818 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8819
8820 * lib/gdb.exp: Disable chill tests for irix5.
8821
8822 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8823
8824 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8825 each test pass or fail.
8826
8827 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8828
8829 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8830 xlc not gcc.
8831
8832 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8833
8834 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8835
8836 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8837
8838 * config/est.exp: Fix copyright and comments. Remove dead code.
8839 Use targetname, serialport and baud variables instead of fixed
8840 constants.
8841 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8842 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8843
8844 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8845
8846 * gdb.base/watchpoint.exp: Don't run
8847 test_watchpoint_triggered_in_syscall for sunos.
8848
8849 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8850
8851 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8852 they don't seem to exist. Do include stdio.h.
8853
8854 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8855
8856 * gdb.base/a1-selftest.exp: Add alpha xfail.
8857
8858 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8859
8860 * gdb.base/watchpoint.c (main): Prompt before calling read().
8861 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8862 Revise accordingly. Remove cruft about sending "123" several
8863 times, until it gets noticed. Clean up the "print buf[0]" stuff
8864 so that it passes or fails, and waits for prompts in the usual way.
8865
8866 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8867
8868 * gdb.base/recurse.exp: Fix comment.
8869
8870 * TODO: Remove item about printing variables in nodebug.exp. Add
8871 item about enabling tests which are only run on some targets.
8872
8873 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8874 fail, make test names unique, use new gdb_test convention
8875 regarding pattern, use gdb_test more, etc.).
8876
8877 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8878 fail, make test names unique, etc.).
8879
8880 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8881
8882 * gdb.base/nodebug.c: Change return type of top and middle to
8883 short.
8884 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8885 are fixed by the recent mdebugread.c changes. Allow `short ()'
8886 as type for top and middle.
8887
8888 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8889
8890 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8891 nearly as I can tell, the whole thing was an accident in Stu's
8892 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8893 to replace a send/expect pair with gdb_test, but ended up only
8894 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8895 of 30 Mar 1995 took care of it, but left this vestigial comment
8896 which I am now nuking.
8897
8898 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8899
8900 * gdb.base/break.exp: Look for different line number for
8901 breakpoint at main depending on usestubs.
8902
8903 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8904
8905 * gdb.base/list.exp: Adjust some alternate expect patterns to
8906 match recent list0.c change. Add alternate expect pattern for
8907 output from `list default lines around main' for optimizing
8908 compilers.
8909
8910 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8911
8912 * lib/gdb.exp: If nosignals is not set, set it to 0.
8913
8914 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8915
8916 * config/slite-gdb.exp: Responds to load symbol table prompt.
8917 * gdb.base/break.exp: Adjust line number, fix rerun.
8918 * gdb.base/langs0.c: Add #ifdef usestubs.
8919
8920 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8921
8922 * gdb.base/list.exp: Adjust line contents after adding new lines in
8923 list0.c. Also fix a syntax error.
8924
8925 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8926 * gdb.base/break.exp: ditto.
8927 * gdb.base/list.exp: ditto.
8928 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8929 * gdb.base/run.c: ditto.
8930 * gdb.base/list0.c: ditto.
8931 * gdb.base/funcargs.c: ditto.
8932
8933 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8934
8935 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8936 $targetname, $serialport and $baud instead of hardwired variables.
8937 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8938 target doesn't support signals.
8939
8940 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8941
8942 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8943
8944 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8945
8946 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8947 Don't rely on the value of an auto variable before it has been
8948 initialized. Use gdb_test more.
8949
8950 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8951
8952 * lib/gdb.exp (default_gdb_version): A version number must start
8953 with a digit, but other than that contains all characters up to
8954 the first whitespace character.
8955
8956 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8957
8958 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8959
8960 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8961
8962 * gdb.c++/*.exp: Warn if executable does not exist. The original
8963 reason for skipping the warning was that configure.in sometimes
8964 intentionally skipped building the executables but the tcl code
8965 had no way of knowing. That (a) was always bogus with respect to
8966 error handling, (b) is no longer true (right now there is no way
8967 to skip C++ tests).
8968
8969 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8970
8971 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8972
8973 * gdb.base/list.exp: Add expect patterns for output from
8974 SunPRO compiled executables.
8975 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8976 types.
8977
8978 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8979
8980 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8981 number (we are already testing that the correct source line text
8982 gets printed).
8983
8984 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8985 that is what is intended, but something needed to be done to get
8986 sunos4 native working again.
8987
8988 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8989
8990 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8991 apparently went with a (very) old xfail.
8992
8993 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8994
8995 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8996 runto_main is a proc in gdb.exp that will do 'step' for target use
8997 stubs.
8998 * gdb.base/exprs.exp: ditto.
8999 * gdb.base/interrupt.exp: ditto.
9000 * gdb.base/opaque.exp: ditto.
9001 * gdb.base/printcmds.exp: ditto.
9002 * gdb.base/ptype.exp: ditto.
9003 * gdb.base/scope.exp: ditto.
9004 * gdb.base/setvar.exp: ditto.
9005 * gdb.base/signals.exp: ditto.
9006 * gdb.base/twice.exp: ditto.
9007 * gdb.c++/classes.exp: ditto.
9008 * gdb.c++/inherit.exp: ditto.
9009 * gdb.c++/templates.exp: ditto.
9010 * gdb.base/break.exp: no run and hit main for stubs. Change line
9011 numbers for breakpoints and info breakpoint.
9012 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9013 breakpoint().
9014 * gdb.base/callfuncs.c: ditto.
9015 * gdb.base/exprs: ditto.
9016 * gdb.base/interrupt.c: ditto.
9017 * gdb.base/opaque0.c: ditto.
9018 * gdb.base/printcmds.c: ditto.
9019 * gdb.base/ptype.c: ditto.
9020 * gdb.base/scope0.c: ditto.
9021 * gdb.base/setvar.c: ditto.
9022 * gdb.base/signals.c: ditto.
9023 * gdb.base/twice.c: ditto.
9024 * gdb.c++/misc.cc: ditto.
9025 * gdb.c++/templates.cc: ditto.
9026
9027 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9028
9029 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9030
9031 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9032 somewhere between `read' and `main.c'. I'm pretty sure the
9033 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9034 and it isn't particularly useful.
9035
9036 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9037
9038 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9039
9040 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9041
9042 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9043
9044 * config/mt-slite: add LIBS and -nostdlib.
9045 * config/slite-gdb.exp: add this new file to support sparclite target.
9046
9047 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9048
9049 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9050
9051 * gdb.base/a2-run.exp: Change argument to istarget from
9052 "*-*-vxworks" to "*-*-vxworks*".
9053 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9054
9055 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9056
9057 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9058 will not runto main but do a 'step' to step out of breakpoint().
9059 * config/mt-slite: add -Dusestubs.
9060
9061 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9062
9063 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9064 instead of just @.
9065
9066 * gdb.base/signals.exp: Add test for "handle all print".
9067 * TODO: Remove "handle all print". Also remove item about
9068 checking copyright date (I don't like the idea of a spurious FAIL
9069 based on when we run the tests).
9070
9071 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9072 for SunOS4 (reason for failure not investigated). Remove
9073 redundant test for $binfile.
9074
9075 * gdb.base/nodebug.c (array_index): Call malloc.
9076
9077 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9078
9079 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9080
9081 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9082 conventions and slightly simplify the matching regexp.
9083
9084 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9085
9086 * gdb.base/break.exp: Update gdb_test invocation to use new
9087 convention.
9088
9089 * lib/gdb.exp: If noargs is not set, set it to 0.
9090
9091 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9092 tests unique.
9093
9094 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9095
9096 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9097
9098 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9099 one argument of type "<non-float parameter>".
9100
9101 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9102
9103 * config/rom68k.exp: New file to support Motorola IDP board.
9104 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9105 * gdb.base/break.c: Change things around so that this program
9106 doesn't depend upon args. This is necessary to make remote
9107 targets work (in general, they can't take args).
9108 * gdb.base/break.exp: Don't try to send args to program. Don't
9109 expect output. Also, replace lots of code with gdb_test.
9110
9111 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9112
9113 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9114 printing of '\'' (which is what the comment says we are testing,
9115 even though we were not), not '''.
9116 (test_integer_literals_rejected): Test that printing ''' is an error.
9117
9118 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9119 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9120 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9121 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9122 Use gdb_test not test_print_accept.
9123 * lib/gdb.exp: Remove test_print_accept.
9124
9125 * gdb.base/signals.exp (signal_tests_1): Make pass message
9126 consistent with fail message.
9127
9128 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9129 unsigned char; the bug (PR 1821) is fixed.
9130
9131 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9132
9133 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9134 successful tests--makes xfailing them work right.
9135
9136 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9137
9138 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9139 only \r\n, not .*. The test can pass .* as the last thing in
9140 $pattern if that is what it wants. In addition to providing this
9141 flexibility, this change should speed up pattern matching in cases
9142 where the pattern already ended with .* (there were a number of
9143 them). This change also helps catch bad patterns--in the old
9144 scheme the typo "char \*" instead of "char \\*" would pass. Now
9145 it is caught.
9146 * Many .exp files: Update callers.
9147
9148 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9149 clearer and does not spuriously match multiple ('s. Likewise for
9150 ) and *.
9151
9152 * gdb.base/nodebug.exp: Test ability to call a function and pass
9153 it a string (even with no debugging info).
9154
9155 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9156 "p '\'", which is the same as "p ''" once tcl gets done with
9157 quoting, to "p '\\'", which I suspect is what is intended (one
9158 backslash gets sent to GDB).
9159
9160 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9161
9162 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9163
9164 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9165 1817) was fixed literally years ago.
9166
9167 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9168
9169 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9170 test, it causes stepping out of call_after_alloca_subr with
9171 optimizing compilers.
9172 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9173 fails.
9174
9175 * gdb.c++/templates.exp: Source templ-info.exp only if
9176 the templates executable exists.
9177
9178 * gdb.c++/misc.cc (class Contains_static_instance,
9179 class Contains_nested_static_instance),
9180 gdb.c++/classes.exp (test_static_members): Test printing of
9181 a class that contains a static instance of the class.
9182
9183 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9184
9185 * gdb.base/langs2.c (cppsub_): Don't prototype.
9186 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9187 only, I believe).
9188
9189 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9190
9191 * lib/gdb.exp (skip_chill_tests): New procedure.
9192
9193 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9194
9195 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9196
9197 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9198 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9199
9200 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9201
9202 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9203
9204 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9205 disassemble 8, not 16, instructions for part 4.
9206
9207 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9208 support the latter anymore.
9209
9210 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9211 -DNO_PROTOTYPES.
9212 * gdb.base/callfuncs.c: Control use of prototypes based on
9213 NO_PROTOTYPES, not __STDC__.
9214 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9215 t_float_values2 tests if prototypes in use.
9216
9217 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9218 t_double_values): When checking differences against DELTA, check
9219 that difference is within the range (-DELTA,DELTA), not just
9220 (-infinity,DELTA).
9221
9222 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9223
9224 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9225 'file' command firts, then 'target', then 'load', this is due to gdb
9226 target set up.
9227 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9228
9229 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9230
9231 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9232 FP load/store variants.
9233 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9234
9235 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9236
9237 * gdb.base/term.exp: Do not give a warning if not native, it is
9238 not an abnormal condition.
9239
9240 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9241
9242 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9243 t_char_array".
9244
9245 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9246
9247 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9248 are getting the version number.
9249
9250 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9251 if not native, it is not an abnormal condition.
9252
9253 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9254
9255 * lib/gdb.exp: Just use "file exists", rather than undocumented
9256 dejagnu procedure "findfile".
9257
9258 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9259
9260 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9261 (LDFLAGS): Set to -Xlinker -Ur.
9262
9263 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9264 Removed, these values are set by lib/gdb.exp.
9265
9266 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9267
9268 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9269
9270 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9271 of replicating gdb startup code.
9272
9273 * config/mt-vxworks (LDFLAGS): Set to -r.
9274 (CFLAGS_FOR_TARGET): Removed.
9275
9276 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9277 (gdb) and gdb for vxworks uses (vxgdb).
9278
9279 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9280 executable is not in the tree and host != target, use sed and
9281 program_transform_name to determine the gdb name used by the
9282 target.
9283
9284 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9285 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9286
9287 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9288
9289 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9290 floats, chars, and shorts where there are ANSI-style function
9291 definitions.
9292
9293 * gdb.base/langs.exp, gdb.base/langs*: New test.
9294 * gdb.base/Makefile.in: Build it.
9295 * TODO: Remove item about checking that C names don't get C++
9296 demangling applied; this test tests it.
9297
9298 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9299
9300 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9301 went with the const70 xfail. The xfail went away a year ago.
9302
9303 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9304
9305 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9306 for hp300.
9307
9308 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9309
9310 * gdb.base/a1-selftest.exp: Don't run on hp300.
9311
9312 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9313
9314 * Makefile.in (site.exp): Set host_alias and target_alias as well
9315 as host_triplet and target_triplet.
9316
9317 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9318
9319 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9320
9321 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9322 places as other ecoff systems).
9323
9324 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9325 ultrix.
9326
9327 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9328
9329 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9330 remove them.
9331 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9332 variable and "variable" in addition to "data variable".
9333 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9334
9335 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9336 2.
9337 * gdb.base/list1.c (long_line): Add additional statement at start
9338 of function.
9339 * gdb.base/list.exp (test_forward_search): Update line number to
9340 reflect new statement.
9341
9342 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9343
9344 * gdb.base/signals.exp: Reinitialize searched source directories
9345 after gdb_start call.
9346
9347 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9348
9349 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9350 * gdb.stabs/Makefile.in: Likewise.
9351
9352 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9353 change. Instead split the tests into smaller pieces.
9354 * gdb.disasm/hppa.s: Corresponding changes.
9355
9356 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9357
9358 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9359 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9360
9361 * gdb.base/funcargs.exp: Modify many tests so that every test
9362 either passes or fails. Make some test names unique.
9363
9364 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9365
9366 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9367 Call stty to set interrupt character.
9368
9369 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9370 for HP assembler versus GNU assembler based on actual behavior of
9371 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9372
9373 * TODO: Suggest a few more stepping tests.
9374
9375 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9376
9377 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9378 restart GDB for h8300 after a continue.
9379 (return): Add pattern to match a29k-udi behavior.
9380 * gdb.base/nodebug.exp: Remove obsolete comment.
9381 * gdb.base/regs.exp: New file, testing of register displays.
9382 * gdb.base/return.exp: Fix typo in reference to $objdir.
9383 * gdb.base/whatis.exp: Always start with a fresh GDB.
9384
9385 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9386
9387 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9388 higher, these tests generate a lot of output.
9389
9390 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9391
9392 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9393 code following the catch silently ignored some errors; without the
9394 catch they should be thrown like any other tcl error. Also, the
9395 catch used "" instead of {} which meant all the callers who wanted
9396 to include one of the characters "[]$ had to quote it an extra time.
9397 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9398 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9399 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9400 Remove extra quoting.
9401
9402 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9403
9404 * gdb.base/commands.exp: Make test names unique; every test either
9405 passes or fails. Update some comments.
9406
9407 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9408
9409 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9410
9411 The following fixes a FAIL caused by the fact that the alpha stabs
9412 configuration didn't use the ".if alpha" code in weird.def.
9413 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9414 bit pointer, so the 32 bit version works even on the alpha.
9415 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9416 Remove the stuff which allowed us to have separate versions for
9417 alpha and everything else.
9418
9419 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9420 regexp which "info func operator\[\](" is supposed to match. Fix
9421 string to send to GDB. Note that GDB still doesn't work right. Add a
9422 new test for "info func .perator\[\](" which GDB does handle correctly.
9423
9424 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9425
9426 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9427
9428 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9429 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9430 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9431 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9432 it makes the tests harder to understand and confuses test-o-matic.
9433 The preferred style is that each test provides a PASS or a FAIL,
9434 and has a unique message (e.g. "continue #54" not just "continue")
9435 which is the same for the pass and the fail.
9436 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9437 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9438 to lib/gdb.exp.
9439 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9440 prt_accept which was basically the same thing. Likewise for
9441 test_print_reject and prt_reject.
9442 * lib/gdb.exp (test_print_reject): Add some more error message
9443 patterns to match from the former printcmds.exp (prt_reject).
9444 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9445 One defect of the passcount stuff is that some of it failed to
9446 report XPASS where appropriate.
9447 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9448 stuff before and after arg in expected pattern.
9449 (test_paddr_operator_functions): Re-do test without print_addr_of;
9450 this is the only test which seems to want extra stuff there.
9451
9452 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9453
9454 * gdb.base/nodebug.exp: Update new tests to reflect improved
9455 wording of gdb output.
9456
9457 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9458 and "ptype" work on variables in files compiled without -g.
9459 Replaces commented out "maint print msymbol" tests.
9460
9461 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9462
9463 * gdb.base/setvar.c (dummy): Call malloc.
9464
9465 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9466 losing with the irix4 sed.
9467
9468 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9469 ALRM" on irix4.
9470
9471 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9472
9473 * TODO: Remove items about corefile.exp testing new exec-file and
9474 backtrace; both are now done. Add items about printing enums.
9475
9476 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9477
9478 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9479 "get signal $thissig" test fails.
9480
9481 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9482
9483 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9484
9485 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9486 compiler warning with dec alpha compiler.
9487
9488 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9489 extra \n from gdb_test call (this explains why the prompt test
9490 that I removed yesterday was there).
9491 (user_defined_command_test): Remove extra \n and prompt test.
9492
9493 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9494 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9495 doesn't exist.
9496 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9497 Also remove alpha workaround, which turns out to be because
9498 SIGABRT == SIGLOST.
9499
9500 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9501
9502 * gdb.base/help.exp: Don't test "help show".
9503
9504 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9505
9506 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9507 "set print address" is on.
9508 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9509 pass prompt to gdb_test; gdb_test already looks for the prompt.
9510
9511 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9512
9513 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9514 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9515 was to make sure that gdb can read a core file. But (a) the "read
9516 the corefile" part didn't make it to a1-selftest.exp, we just
9517 delete the corefile after creating it, and (b) we test reading
9518 corefiles in corefile.exp anyway. Also, this test left around a
9519 xgdb process on Solaris.
9520
9521 * gdb.base/corefile.exp: Also test backtrace.
9522
9523 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9524
9525 * gdb.base/commands.exp: Test a simple user defined command with
9526 arguments and if/while statements; verify the full user command is
9527 printed by "show user".
9528
9529 * gdb.base/commands.exp: Test if/while commands as part of a
9530 breakpoint command list; verify they appear in breakpoint
9531 information.
9532
9533 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9534
9535 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9536 than by dividing by zero.
9537
9538 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9539
9540 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9541 performing an inferior call with watchpoints enabled.
9542 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9543 call.
9544
9545 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9546
9547 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9548 of "file" command.
9549
9550 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9551 Add additional pattern for when "int operator int(void);" appears
9552 in a different order.
9553
9554 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9555
9556 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9557
9558 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9559 and "signal" with ".*".
9560
9561 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9562
9563 * TODO: Add note about "handle all nostop".
9564
9565 * gdb.base/{sigall.c, sigall.exp}: New test.
9566 * gdb.base/Makefile.in: Add it.
9567
9568 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9569
9570 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9571 when invoking GDB, suppresses any windowing interface.
9572
9573 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9574
9575 * config/sim-gdb: New file, simulator testing support.
9576
9577 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9578
9579 * gdb.base/interrupt.exp: Test calling func1 twice.
9580
9581 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9582
9583 * gdb.base/list.exp (test_forward_search): Set timeout higher
9584 when we'll be getting lots of output from gdb.
9585
9586 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9587 "init_malloc" to after the expect statement. Run it if that
9588 regexp is taken, but also for two others which happen if source
9589 cannot be found.
9590
9591 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9592
9593 * gdb.base/printcmds.exp: New test, for printing register before
9594 program is running.
9595
9596 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9597
9598 * gdb.base/list.exp: Correct some alternate expect patterns
9599 to reflect changes in list1.c.
9600
9601 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9602
9603 * TODO: Add item regarding large frames.
9604
9605 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9606
9607 * TODO: Remove item about enabling return.exp; it
9608 is enabled. Suggest a few more "return" tests.
9609
9610 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9611
9612 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9613 anonymous unions.
9614
9615 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9616
9617 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9618 and pr-5646.o, so "make" is the same as "make all", not "make
9619 pr-4975.o".
9620
9621 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9622
9623 * gdb.base/list.exp: Adjust expectations to reflect changes in
9624 list1.c.
9625 (test_forward_search): New test proc.
9626 * gdb.base/list1.c (long_line): New function, has long source line.
9627
9628 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9629
9630 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9631 additional line of code that was added.
9632
9633 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9634
9635 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9636 tests so as not to overflow expect's input buffers.
9637 * gdb.disasm/hppa.exp: Corresponding changes.
9638
9639 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9640
9641 Beginnings of template debugging tests.
9642 * gdb.c++/templ-info.cc: New file to test for template
9643 debugging capability of the compiler.
9644 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9645 templ-info.cc.
9646 * gdb.c++/templates.cc: Add explicit template instantiations
9647 to enable compiling with -fno-implicit-templates. Add destructor
9648 and 'value' method to T5 class for template tests.
9649 * gdb.c++/templates.exp: Add testcases for printing of template
9650 types, setting breakpoints on template methods and calling a
9651 template method.
9652
9653 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9654
9655 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9656 branch target since some assemblers (gas-2.5) may emit a
9657 relocation for the branch instead of resolving it in the
9658 assembler.
9659
9660 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9661
9662 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9663 through signal handler.
9664
9665 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9666
9667 * configure.in (*-*-netware): Use config/mt-netware.
9668
9669 * config/mt-netware: New file.
9670 * config/mt-i386-netware: Removed, separate configs for different
9671 netware architectures are no longer needed now that we have
9672 --with-headers.
9673
9674 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9675
9676 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9677 by the recent changes to use ANSI C arithmetic conversions.
9678
9679 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9680
9681 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9682 bug involving using inferior_pid to figure out whether to select a
9683 frame.
9684
9685 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9686
9687 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9688 match the current disassembler output.
9689
9690 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9691
9692 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9693 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9694 types, expect "int" as type of integer values (for now).
9695
9696 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9697
9698 * gdb.base/commands.exp: New tests for if/while commands.
9699
9700 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9701
9702 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9703 by .*, since hex values have different syntax in Chill mode.
9704
9705 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9706
9707 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9708 linefeed from expect pattern for repeated types with indices > 9.
9709
9710 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9711
9712 First part of Fortran test suite.
9713 * gdb.fortran: New directory.
9714 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9715
9716 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9717
9718 * gdb.base/default.exp: Update expect pattern for load command
9719 without arguments.
9720
9721 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9722
9723 * configure.in: Change i386 to i[345]86.
9724 * gdb.base/configure.in: Likewise.
9725 * gdb.c++/configure.in: Likewise.
9726 * gdb.chill/configure.in: Likewise.
9727
9728 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9729
9730 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9731 patterns, since that is not a valid context for comments.
9732
9733 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9734
9735 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9736 repeated types and repeated types with indices > 9.
9737
9738 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9739
9740 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9741 2417; old bug has been fixed.
9742
9743 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9744
9745 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9746 send the newline ourselves instead of assuming gdb_test will do
9747 so when passed an empty input string.
9748
9749 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9750 stabs testcode.
9751
9752 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9753
9754 * lib/gdb.exp (gdb_test): Don't send anything if the first
9755 argument is an empty string. This makes cases where we want to
9756 match output that is already in expect's buffers (for example,
9757 matching a breakpoint after gdb_run_cmd has been called) work
9758 reliably.
9759
9760 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9761
9762 * config/netware.exp: New file.
9763
9764 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9765
9766 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9767 the -B and -L prefixes so we can find the debugging stub.
9768
9769 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9770 there and we are using the gcc from the tree.
9771
9772 * gdb.base/types.c: Removed.
9773
9774 * gdb.base/configure.in: Look for makefile fragments in ../config.
9775 Recognize i386-*-netware.
9776 * gdb.c++/configure.in: Likewise.
9777
9778 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9779
9780 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9781 the correct TCL syntax.
9782
9783 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9784
9785 * gdb.base/opaque.exp: use runto instead of messing around with
9786 breakpoints. Simplify by using gdb_test.
9787
9788 * gdb.base/bitfields.exp: restart between tests on netware targets
9789 because breakpoints aren't relocated after target death. Run
9790 processes to completion.
9791
9792 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9793
9794 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9795
9796 * Makefile.in: Remove extra tabs that confuse some versions
9797 of "make". Use the newly built gdb to test with by default,
9798 rather than the first one in the tester's search path.
9799
9800 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9801
9802 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9803
9804 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9805 condition help.
9806
9807 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9808
9809 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9810
9811 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9812 running.
9813 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9814 * gdb.base/funcargs.exp: Likewise.
9815
9816 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9817 * gdb.base/funcargs.exp: Likewise.
9818
9819 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9820 message is "".
9821
9822 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9823
9824 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9825 return,signals,twice}.exp: Handle non-existant binaries
9826 consistantly.
9827
9828 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9829 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9830 might testing a cross development system.
9831
9832 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9833
9834 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9835 runtest script is relative to ${srcdir}, not ${rootdir}.
9836
9837 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9838
9839 * gdb.base/signals.exp: Allow for optionality of breakpoint
9840 address.
9841
9842 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9843
9844 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9845
9846 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9847
9848 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9849 for size_t definition.
9850 * gdb.c++/templates.cc: Likewise
9851
9852 * config/mt-i386-netware: New file.
9853
9854 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9855 defined.
9856
9857 * gdb.base/Makefile.in: Added support for systems that name core
9858 files by appending "core" to the program name.
9859 * gdb.base/a1-selftest.exp: Likewise.
9860
9861 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9862
9863 * gdb.base/return.exp: Add comment and message for `return double'
9864 test failure on Sparc Solaris.
9865
9866 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9867
9868 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9869
9870 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9871
9872 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9873 from optimizing them away.
9874 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9875 patterns to include default constructors and assignment operators,
9876 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9877 character in the output of the virtual base pointer.
9878
9879 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9880
9881 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9882 expression match in print_addr_of to avoid unintented matches.
9883 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9884 versions up to 2.5.8.
9885
9886 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9887
9888 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9889 included file to run under newer versions of expect.
9890 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9891 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9892 Remove xfail for the virtual table of BDDHookV.
9893
9894 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9895
9896 * lib/gdb.exp (string_to_regexp): Set a default result.
9897 (default_gdb_start): Fix misleading message.
9898
9899 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9900
9901 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9902 Remove all CC, etc definitions.
9903 * config/mt-hpux: New file.
9904 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9905 (CFLAGS, LDFLAGS): Define.
9906 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9907
9908 * Makefile.in (site.exp): Don't insert host_os, etc.
9909 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9910 (distclean): Check existence of subdir.
9911 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9912 * gdb.base/Makefile.in: General cleanup and simplification.
9913 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9914 to build executables. Use default rule to build .o files.
9915 (EXPECT, RUNTEST, CC): Fix relative pathname.
9916 (site.exp): Don't insert host_os, etc.
9917 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9918 and/or SIGUSR1 defined.
9919 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9920 * gdb.c++/Makefile.in: General cleanup and simplification.
9921 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9922 (CFLAGS): Remove.
9923 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9924
9925 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9926
9927 * gdb.base/recurse.exp: Misc changes to get tests running again
9928 after Kung's changes to the watchpoint code.
9929 * gdb.base/watchpoint.exp: Likewise.
9930
9931 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9932
9933 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9934
9935 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9936
9937 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9938 * lib/gdb.exp (default_gdb_start): Define.
9939 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9940 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9941 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9942 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9943 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9944 Don't call gdb_target_udi in between tests.
9945
9946 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9947
9948 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9949 (which was basically just a local version of the same thing). In
9950 addition to avoiding duplication, gdb_test_exact is faster.
9951 * lib/gdb.exp (gdb_test_exact): Fix typo.
9952
9953 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9954 don't give an error.
9955
9956 * gdb.base/term.exp: Call delete_breakpoints before starting.
9957
9958 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9959 (t10): Add comment.
9960
9961 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9962
9963 Reorganization of the GDB Test Suite.
9964
9965 * gdb.base: New directory, contains all the basic tests.
9966 * gdb.c++: New directory, tests specific to C++.
9967 * gdb.chill: New directory, tests specific to Chill.
9968 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9969 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9970 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9971 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9972 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9973 t30-31 to chill).
9974 * */gdbme.*: Rename to match appropriate expect scripts.
9975 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9976 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9977 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9978 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9979 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9980 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9981 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9982 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9983 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9984 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9985 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9986 gdb.c++/virtfunc.cc: New names of C++ files.
9987 * gdb.chill/chillvars.ch: New name of Chill file.
9988 * gdb.base/configure.in, gdb.c++/configure.in,
9989 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9990 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9991 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9992 * configure.in (configdirs): Update to reflect directory changes.
9993 (target_abbrev): No longer define for any configuration.
9994 * Makefile.in: Cosmetic improvements to header comments.
9995
9996 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9997
9998 Various changes to gdb.t31:
9999
10000 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10001 * gdbme.ch: Make all key-words and predefineds be upper-case.
10002 * chillvars.exp: Expect key-words and predefinds in upper-case.
10003
10004 * chillvars.exp: Use gdb_test_exact many places.
10005 Change expected output for arrays (which now includes index labels).
10006
10007 * pr-5020.exp, gdme.ch (module PR_5020):
10008 New test, for PR-5020.
10009
10010 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10011
10012 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10013 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10014
10015 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10016
10017 * Makefile.in: Fix bit-rot in definitions of CHILL,
10018 CHILL_FOR_TARGET and Chill_LIB.
10019 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10020 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10021 CHILL, and CHILL_LIB.
10022
10023 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10024
10025 * Revert the previous changes. Please see Rob's directory
10026 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10027
10028 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10029
10030 * Makefile.in, configure.in, config/mips-gdb.exp,
10031 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10032 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10033 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10034 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10035 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10036 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10037 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10038 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10039 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10040 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10041 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10042 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10043 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10044 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10045 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10046 changes from 94Q1.
10047
10048 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10049
10050 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10051 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10052 Rob's new testing fragments.
10053
10054 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10055
10056 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10057 lib/gdb.exp: Replace error proc calls with perror.
10058
10059 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10060
10061 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10062 version also, match on casted version strings, and match on
10063 gdb startup case where the line numbers might be messed up.
10064
10065 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10066
10067 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10068 (CFLAGS): Delete it from here.
10069
10070 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10071
10072 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10073
10074 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10075
10076 * Makefile.in (RUNTEST): Default to just "runtest".
10077
10078 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10079
10080 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10081 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10082 the code has been restructured.
10083
10084 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10085
10086 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10087 \n, not just one of each.
10088
10089 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10090 /bin/cc gives a warning if you do.
10091
10092 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10093
10094 * gdb.t24/demangle.exp: change expect pattern of
10095 __t10ListS_link1ZUiRCUiPT0
10096
10097 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10098
10099 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10100 on local variables in recursive functions.
10101
10102 * gdb.t07/Makefile.in: Build the new test.
10103
10104 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10105
10106 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10107 directly. Instead compare the return values from actual calls.
10108
10109 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10110
10111 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10112
10113 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10114
10115 * From Peter Schauer with minor modifications.
10116 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10117 stops in mid-line in the caller. Add xfail for returning a float
10118 value on X86 targets.
10119
10120 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10121
10122 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10123 to avoid expect lossage.
10124 (fmem_LRbug_tests): Likewise.
10125 * gdb.disasm/hppa.s: Corresponding changes.
10126
10127 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10128 conditions to work with latest dejagnu/expect.
10129
10130 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10131 expected to fail on the PA.
10132 (backtrace in call with trampolines): Explicitly require main
10133 to be frame #1 (no trampolines should show up in backtrace).
10134
10135 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10136 "continue -expect".
10137 * gdb.t06/break.exp: Likewise.
10138 * gdb.t07/watchpoint.exp: Likewise.
10139 * gdb.t13/bitfields.exp: Likewise.
10140 * gdb.t15/{funcargs,return}.exp: Likewise.
10141 * gdb.stabs/weird.exp: Likewise.
10142 * config/{mips,udi}-gdb.exp: Likewise.
10143
10144 * hppa.sed: Enclose comments within a sed command to avoid
10145 losing with the old OSF1 sed.
10146
10147 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10148
10149 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10150 sequent dynix.
10151 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10152 * gdb.t15/funcargs.exp: Conditionally step again to really
10153 finish from marker_call_with_trampolines. Handle the case where
10154 the first step from within call_with_trampolines already steps
10155 us back to main.
10156 * gdb.t15/gdbme.c: Add comment to closing brace of
10157 call_with_trampolines for funcargs.exp.
10158
10159 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10160
10161 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10162 Fix typo(s).
10163
10164 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10165
10166 * gdb.t07/gdbme.c: More code for watchpoint testing.
10167
10168 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10169 "Hardware watchpoint" throughout file.
10170 (test_watchpoint_triggered_in_syscall): New test.
10171 (test_complex_watchpoint): New test.
10172
10173 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10174
10175 * gdbme.c (call_with_trampolines): New function to try and step
10176 into. Tests trampoline problems on the PA.
10177
10178 * funcargs.exp (localvars_in_indirect_call): No longer expect
10179 stepping into indirect call to fail on PAs.
10180 (test_stepping_over_trampolines): New test.
10181
10182 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10183
10184 * TODO: Add suggestions for static member function tests, and
10185 completion tests.
10186
10187 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10188
10189 * TODO: Add suggestions for "p/a" tests.
10190
10191 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10192 (default_gdb_exit): Replace all the hair with sending "quit" to
10193 the process with a simple close.
10194
10195 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10196
10197 * TODO: Add suggestions for shared library tests.
10198
10199 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10200
10201 * TODO: Add suggestions for x/s tests.
10202
10203 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10204
10205 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10206 "enable once", and "enable breakpoints once" with ".*".
10207
10208 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10209
10210 * TODO: Add suggestions about structure passing tests.
10211
10212 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10213
10214 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10215 the primary1 test, use work around if __GNUC__ < 2.
10216 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10217 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10218 Test for bad output rather than waiting for timeout. Issue
10219 second continue only if first continue failed.
10220
10221 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10222
10223 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10224 operator[] test with gdb_test because the old code didn't seem to
10225 be getting the quoting right with the new dejagnu.
10226
10227 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10228
10229 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10230 one from the path.
10231 * Makefile.in: Use a fresh expect if there is one, use runtest
10232 from the src tree if there is one.
10233
10234 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10235
10236 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10237 next over recursive call. Revise the tests from that point on
10238 (which had been skipped) to match GDB's actual (correct) output.
10239
10240 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10241 with next over a breakpoint whose condition is false.
10242
10243 * gdb.t00/help.exp: Comment out "help set print" tests just like
10244 (and for same reason as) "help set" test.
10245
10246 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10247
10248 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10249 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10250
10251 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10252
10253 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10254 necessary gdb_target_udi.
10255
10256 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10257
10258 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10259 1838 and 2417; they are fixed.
10260
10261 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10262 gdb.t03/ptype.exp (ptype structure, ptype union):
10263 Remove xfails; the test is looser than when the xfails were added.
10264
10265 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10266 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10267
10268 * gdb.t01/run.exp: Only run shell test if isnative.
10269
10270 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10271 since "run" automatically loads if necessary. Call gdb_target_udi
10272 after the "file" since "file" kills any execution target.
10273
10274 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10275 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10276 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10277 argument for UDI.
10278
10279 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10280
10281 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10282
10283 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10284
10285 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10286
10287 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10288 properly quoting regexps. This makes the second argument to
10289 demangle a fixed string, which matches the callers, instead of a
10290 shell-style pattern which is what the previous implementation
10291 used. Update some of the callers.
10292
10293 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10294
10295 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10296 (comib_nullified_tests): Fix typo.
10297 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10298 strings. No longer expected to fail.
10299
10300 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10301 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10302 strings. No longer expected to fail.
10303
10304 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10305 string. No longer expected to fail.
10306
10307 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10308
10309 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10310 No longer expected to fail.
10311
10312 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10313 string. No longer expected to fail.
10314
10315 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10316
10317 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10318 only in the names (I probably got most of them). I was even
10319 generous with some which differed in underscores in names, and
10320 probably missed a few, and I *still* was able to remove almost a
10321 third of the file with almost no impact on testsuite coverage.
10322
10323 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10324
10325 * gdb.t00/default.exp: Match udi_attach error message as well as
10326 the one from child_attach.
10327
10328 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10329
10330 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10331
10332 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10333 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10334
10335 * Move test with enums and partial symbols back to
10336 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10337 Reverts the change of 26 May 93. Per today's change to
10338 stabs.texinfo, the behavior that weird.exp was expecting was
10339 unreasonable; what is important is that the compiler+gdb get
10340 things right, which happens with a recent gcc. Also fix the test
10341 to deal with native compilers which put out the stab gdb can't
10342 deal with.
10343
10344 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10345
10346 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10347 in the names. The main thing these accomplish is to slow things down.
10348 Many more such duplicates surely remain.
10349
10350 * gdb.t00/help.exp: Comment out "help support" test just like
10351 (and for same reason as) "help set" test.
10352
10353 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10354
10355 * gdb.t06/break.exp: Remove setup_xfails for
10356 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10357 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10358 about known bug in gcc to include up through 2.5.8.
10359 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10360 well as "_vb$".
10361 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10362 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10363 with latest gcc and gdb.
10364 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10365 well as "_vb$".
10366
10367 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10368
10369 * configure.in (hppa*-*-*): Also configure and build stabs-only
10370 tests.
10371
10372 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10373
10374 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10375 * gdb.t10/configure.in (hppa*-*-*): Use it.
10376
10377 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10378
10379 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10380
10381 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10382
10383 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10384 versions prior to 1.13.5.
10385
10386 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10387
10388 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10389 the prompt is at the start of a line.
10390
10391 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10392
10393 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10394 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10395 in the copr tests now.
10396 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10397 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10398 expected to fail.
10399
10400 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10401
10402 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10403 gdb.t31/chillvars.exp, lib/gdb.exp:
10404 Tweak to run under either version of expect.
10405 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10406 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10407 * gdb.t11/list.exp: Remove extraneous whitespace.
10408
10409 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10410
10411 * gdb.t16/printcmds.exp (test_print_strings): Accept
10412 "(unsigned char *) " before the string.
10413
10414 * TODO: Add notes about printing of fancy types and GDB expressions.
10415
10416 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10417
10418 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10419 * gdb.t06/configure.in: Don't try to compile signals test program
10420 if doing mips-idt-ecoff.
10421
10422 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10423
10424 * Most .exp files: Tweak to run under either version of expect.
10425
10426 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10427
10428 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10429 xfails; I'm not sure why they are failing, but not because of PR 1806.
10430
10431 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10432
10433 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10434 defined in lib/gdb.exp.
10435
10436 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10437
10438 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10439 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10440 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10441 have to be typeless.
10442
10443 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10444
10445 * TODO: Add suggestion for copyright year test.
10446
10447 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10448
10449 * configure.in (*-*-lynxos*): Add stabs tests.
10450
10451 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10452
10453 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10454 so insert a tab before any assembler directive in column zero.
10455
10456 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10457 stores.
10458 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10459 stores.
10460 (fpu_short_memory_tests): Likewise.
10461
10462 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10463
10464 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10465 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10466 .stabs directives in comments.
10467
10468 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10469
10470 * TODO: New file, describing tests we could write.
10471 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10472
10473 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10474
10475 * gdb.t06/signals.exp: Add kludge to force re-sync.
10476
10477 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10478 to xgdb instead of gdb, get out of gdb.
10479
10480 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10481
10482 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10483 for info.
10484
10485 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10486
10487 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10488 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10489 * gdb.stabs/hppa.sed: New sed script for the PA.
10490
10491 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10492
10493 * gdb.stabs: Re-write weird.def and configuration to use sed
10494 instead of cpp. sed is portable and POSIX; cpp is neither.
10495
10496 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10497
10498 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10499
10500 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10501
10502 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10503
10504 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10505
10506 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10507 "_vb$".
10508 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10509 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10510
10511 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10512
10513 * lib/gdb.exp: Comment out code which depends on non-existent
10514 `transform' procedure.
10515
10516 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10517
10518 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10519 * lib/gdb.exp: Transform tool name.
10520 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10521 1.1's new error handling system.
10522
10523 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10524
10525 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10526
10527 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10528
10529 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10530 They made pattern matching so slow that timeouts happened on
10531 heavily loaded systems. Now any output from "show print" which
10532 gets us back to the GDB prompt is a PASS.
10533
10534 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10535
10536 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10537
10538 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10539
10540 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10541
10542 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10543 It is not from PR 3220.
10544
10545 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10546
10547 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10548 just started failing because they depended on the order the
10549 subcommands are presented, or exact docstring text. This kind of
10550 test is a pain and has minimal benefit.
10551
10552 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10553
10554 * gdb.t09/corefile.exp: At end of test, use "core" command with
10555 no arguments.
10556
10557 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10558
10559 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10560 17}/Makefile.in: Make it possible to run the testsuite with Sun
10561 make and CC = cross gcc by adding explicit build rules for .o
10562 files.
10563
10564 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10565
10566 * gdb.t15/funcargs.exp: Don't put comments on same line as
10567 setup_xfail (@#$*%& tcl braindamage!).
10568
10569 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10570
10571 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10572
10573 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10574
10575 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10576 * gdb.t20/inherit.exp: remove three dumplicate entries.
10577
10578 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10579
10580 * gdb.t06/break.exp: For "next over recursive call", fail on any
10581 incorrect output, not just on "factorial (value=2)".
10582
10583 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10584
10585 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10586 working now. Add an xfail if accesing a bss variable causes
10587 a memory error if the target is not yet run.
10588
10589 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10590
10591 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10592 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10593 name of __st* demangling (2 strings). Did Kung really get the
10594 more than 95 others right without testing them?
10595
10596 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10597
10598 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10599
10600 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10601
10602 * configure.in (configdirs): Add gdb.disasm
10603 * gdb.disasm: New directory for GDB disassembler tests.
10604 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10605
10606 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10607
10608 * gdb.t00/help.exp: Don't test "help set".
10609
10610 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10611 from within expect statements. None of these happen anymore and
10612 they cause regressions to be silently unnoticed.
10613
10614 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10615 messages) about known failures with gcc cygnus-2.4.5-930417.
10616
10617 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10618 comp-info.exp so it gets built if it doesn't exist.
10619
10620 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10621 it is no longer used.
10622 * gdb.t13/comp-info.c: Removed.
10623
10624 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10625
10626 * gdb.t06/signals.exp: Add xfail for sun3.
10627
10628 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10629
10630 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10631 relevant because ^C doesn't get sent but failure can be reproduced
10632 interactively).
10633
10634 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10635
10636 * gdb.stabs/alpha.mt: New configuration file for alpha.
10637 * gdb.stabs/configure.in: Use it.
10638 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10639 sharing with alpha.mt, redefine long to word via preprocessor.
10640 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10641 for alpha.
10642 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10643 native cc.
10644 * gdb.t00/teststrategy.exp: Change expect string so that we
10645 consume the `(xgdb)' from the command echo and from the gdb prompt.
10646 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10647 gdb currently compares all values as long, so this failure probably
10648 applies to any configuration where LONGEST is bigger than a target int.
10649 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10650 with gcc.
10651 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10652 to handle opaque pointers, gcc is.
10653 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10654 as first argument. Include <sys/types.h> and change all operator
10655 new definitions to use size_t.
10656 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10657 now that we use size_t.
10658
10659 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10660
10661 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10662 a long or float array cast all array members to the same type.
10663 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10664 with 64 bit longs.
10665 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10666 on alpha.
10667 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10668
10669 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10670
10671 * gdb.t24 (demangle.exp): Constructors of templates have names like
10672 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10673 section 14.6 of the ARM.
10674
10675 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10676 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10677 accomplish little and slow down the testsuite.
10678
10679 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10680 Accept spaces various places.
10681
10682 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10683
10684 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10685 with watchpoint enabled.
10686
10687 * Makefile.in: Remove definition of CC and remove the second
10688 definition of CXX (the "CXX = gcc" one remains). These definitions
10689 were causing backquotes to be expanded within backquotes, which
10690 doesn't work.
10691
10692 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10693
10694 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10695
10696 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10697
10698 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10699 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10700 by mips cc and contains no stabs entries.
10701
10702 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10703
10704 * config/vx-gdb.exp: Use fake device to load files rather than
10705 NFS.
10706 * lib/gdb.exp: New proc to do "file" command.
10707 * config/unix-gdb.exp: Use new "file" proc.
10708
10709 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10710
10711 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10712 Rework board rebooting slightly.
10713 (gdb_exit): Don't exit from the remote shell; there isn't one.
10714 * gdb.stabs/weird.exp: If a program is being debugged already,
10715 kill it.
10716 * gdb.t04/setvar.exp: Stop and restart gdb.
10717 * gdb.t05/expr.exp: Likewise.
10718 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10719 restart gdb and reload the program.
10720 * gdb.t08/opaque.exp: Likewise.
10721 * gdb.t12/scope.exp: Likewise.
10722 * gdb.t13/bitfields.exp: Likewise.
10723 * gdb.t15/funcargs.exp: Likewise.
10724 * gdb.t20/classes.exp: Likewise.
10725 * gdb.t03/ptype.exp: Increase timeout.
10726 * gdb.t16/printcmds.exp (test_print_string_constants,
10727 test_print_array_constants): Likewise.
10728 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10729 * gdb.t20/classes.exp (do_tests): Likewise.
10730 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10731
10732 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10733
10734 * gdb.stabs: Renamed *wierd* to *weird*.
10735
10736 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10737
10738 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10739 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10740
10741 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10742
10743 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10744 (do_tests): Remove xfail for whatis on one_var and two_var.
10745
10746 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10747
10748 * Makefile.in: Made cross building work better by adding
10749 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10750
10751 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10752
10753 * gdb.t15/{return.c,return.exp,Makefile.in}:
10754 New test, currently commented out.
10755
10756 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10757
10758 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10759 still running and removes the leftover named socket so GDb can do
10760 clean restarts.
10761
10762 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10763
10764 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10765 console, not GDB.
10766 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10767 cross testing works better with "make check"
10768 * config/unix-gdb: Use default procedures for exit and version.
10769 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10770 with the newest VxWorks.
10771
10772 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10773
10774 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10775 old form.
10776
10777 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10778 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10779
10780 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10781
10782 * config/unix-gdb.exp: Remove this version of gdb_exit
10783 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10784 Rob says he'll look at it when he gets back to testing boards.
10785
10786 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10787
10788 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10789 an expected fail for certain ptype commands.
10790
10791 * gdb.t20/classes.exp: Update expected results of "ptype class
10792 Base1" to account for the constructor that now appears in the type.
10793
10794 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10795
10796 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10797 disappeared from list.
10798 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10799 "alldone" proc with call to cleanup and exit.
10800 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10801 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10802 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10803 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10804 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10805 "alldone" proc with simple returns that suppress remaining
10806 tests. The alldone proc went away many months ago.
10807
10808 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10809
10810 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10811
10812 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10813
10814 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10815
10816 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10817 as vax gdb will display them.
10818
10819 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10820
10821 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10822 optimizers.
10823
10824 * scope.exp: Change "bad value for localval" messages so each one
10825 is unique.
10826
10827 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10828 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10829
10830 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10831
10832 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10833
10834 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10835 doesn't exist (due to optimization).
10836
10837 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10838
10839 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10840 contains \r because the filename is long.
10841
10842 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10843 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10844
10845 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10846
10847 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10848 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10849 Ultrix.
10850 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10851 int tests.
10852 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10853
10854 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10855
10856 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10857
10858 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
10859 to match does not match the passing case but still matches the
10860 failing case.
10861
10862 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10863
10864 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10865
10866 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10867
10868 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10869 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10870 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10871 Remove various versions of gdb_exit.
10872 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10873 gdb_exit.
10874 * config/unix-gdb.exp: gdb_exit remains here, and should override
10875 the generic version, since it's doing a lot of wierd stuff that
10876 the other versions aren't. FIXME, fold it in, or abandon this
10877 version.
10878
10879 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10880
10881 * gdb.t24/demangle.exp: Add tests for PR 3220.
10882
10883 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10884
10885 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10886
10887 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10888
10889 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10890 "i386-*-*". Works for i486 as well.
10891
10892 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10893 bug, and expand domain of xfail to all SVR4 systems, since the
10894 actual problem is likely to be in generic SVR4 /proc support.
10895
10896 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10897
10898 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10899
10900 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10901
10902 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10903 xfails for other systems. Match a missing 'Continuing.' as an
10904 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10905
10906 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10907 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10908 Only issue warning for missing executables if -all option is used.
10909
10910 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10911 file if -all option is used. It's like an unpredictable XFAIL.
10912
10913 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10914
10915 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10916 for dynamically linked binaries.
10917
10918 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10919
10920 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10921
10922 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10923 to state that this is a known bug in old versions of g++.
10924
10925 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10926
10927 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10928 while waiting for `Continuing'.
10929
10930 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10931
10932 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10933 in text, data, and bss.
10934 * gdb.t10/nodebug.c: Add local and global test variables for
10935 initialized and uninitialized data.
10936
10937 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10938
10939 * config/unix-gdb.exp (gdb_exit): Add "wait".
10940
10941 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10942
10943 * gdb.t06/signals.exp: xfail the continue from the handler for all
10944 targets.
10945
10946 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10947 function with watchpoints enabled, the i386 call dummy starts with
10948 a call.
10949
10950 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10951 386 bsd names its corefiles.
10952
10953 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10954
10955 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10956 compilers don't grok it.
10957 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10958 with small octal ints rather than character constants, which
10959 are signed and might not fit if first promoted to int.
10960
10961 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10962
10963 * gdb.t09/Makefile.in (clean): Remove corefile.
10964
10965 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10966
10967 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10968
10969 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10970 and Jim Kingdon (kingdon@cygnus.com)
10971
10972 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10973 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10974 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10975
10976 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10977
10978 * gdb.t17/interrupt.exp: Add xfail for hppa.
10979
10980 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10981
10982 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10983 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10984 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10985 to determine signed-ness of bitfields and use the result to setup
10986 the xfail.
10987 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10988 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10989 call line is reached if necessary.
10990
10991 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10992
10993 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10994
10995 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10996
10997 * gdb.t06/break.exp: Also test `clear' command.
10998
10999 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11000
11001 * gdb.t00/teststrategy.exp: Remove extra quote.
11002
11003 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11004 watchpoint enabled to be for all non-68k machines.
11005
11006 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11007
11008 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11009
11010 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11011 targets use aout.mt instead of ecoff.mt as gas understands
11012 standard aout format.
11013
11014 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11015
11016 * lib/gdb.exp (runto): Don't insist that function we are running to
11017 was compiled with -g.
11018
11019 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11020
11021 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11022 to get back into the read system call.
11023 Accept leading newline in case where we woke it up.
11024
11025 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11026
11027 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11028 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11029 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11030 enable ecoff configuration.
11031
11032 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11033
11034 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11035
11036 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11037
11038 * gdb.t16/printcmds.exp: Add another printf test.
11039
11040 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11041
11042 * configure.in: If configured -with-stabs on any target, add
11043 stabsdirs to configdirs.
11044
11045 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11046
11047 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11048 fun" so pattern does not match the command itself.
11049
11050 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11051
11052 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11053
11054 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11055
11056 * gdb.t17/interrupt.exp: Test for more things.
11057
11058 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11059
11060 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11061 compiler arranges the code and line numbers.
11062
11063 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11064
11065 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11066
11067 * gdb.t00/help.exp: Increase expect input buffer size.
11068
11069 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11070
11071 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11072
11073 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11074
11075 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11076
11077 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11078 [0-9]*, not just [0-9].
11079
11080 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11081
11082 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11083
11084 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11085
11086 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11087
11088 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11089
11090 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11091
11092 * gdb.t06/signals.c: Add xfails for sun3.
11093
11094 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11095
11096 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11097 test_stepping tests.
11098
11099 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11100
11101 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11102
11103 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11104
11105 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11106 rather than actually putting it through cpp twice.
11107
11108 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11109
11110 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11111
11112 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11113 no longer needed.
11114
11115 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11116
11117 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11118
11119 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11120 C++ features prints as "struct", make it a pass, not an xfail.
11121
11122 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11123
11124 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11125 Don't require VA to print as "class" rather than "struct".
11126
11127 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11128
11129 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11130
11131 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11132
11133 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11134
11135 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11136
11137 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11138 order.
11139
11140 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11141
11142 * gdb.t16/printcmds.exp: Add printf tests.
11143
11144 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11145
11146 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11147
11148 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11149
11150 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11151 pass counts, to counteract any existing or future setup_xfails.
11152
11153 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11154
11155 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11156 {BEGIN,END}_COMMON for common block instead of STAB.
11157 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11158
11159 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11160 intp_var should be N_GSYM not N_LSYM.
11161 wierd-aout.S: Use a label for the value of the N_SO.
11162 wierd.def: Remove all backslashes.
11163 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11164
11165 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11166
11167 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11168 get the expected next to inheritance3.
11169
11170 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11171
11172 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11173 now that gcc-2.4 gets it right.
11174
11175 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11176
11177 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11178
11179 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11180 generating comp-info.exp which works for cross-compilation.
11181
11182 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11183
11184 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11185 "*-*-sysv4.*".
11186
11187 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11188
11189 * gdb.t01/run.exp: Start with a fresh gdb.
11190 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11191 SVR4.x.
11192
11193 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11194
11195 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11196 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11197 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11198 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11199 things to remove.
11200
11201 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11202
11203 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11204 test cases from bug reports.
11205
11206 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11207
11208 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11209 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11210 avoid spurious xfails.
11211 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11212 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11213 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11214
11215 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11216
11217 * gdb.t00/teststrategy.exp: Rework to provide more useful
11218 description of each test, fix problem with systems that define
11219 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11220 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11221 results for "next over recursive call" so timeouts aren't taken
11222 by error.
11223
11224 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11225
11226 * gdb.t12/scope.exp: Test printing of variables before run.
11227
11228 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11229 printed in wrong order due to sorting.
11230
11231 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11232
11233 * gdb.t00/teststrategy.exp: Fix expected results for printing
11234 user entered string constant. Is array of char, prints with no
11235 address.
11236
11237 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11238 commands.
11239 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11240 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11241 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11242 of struct of char arrays.
11243 * gdb.t00/radix.exp: New tests for radix commands.
11244
11245 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11246
11247 * gdb.t16/printcmd.exp: Print a variable before running program
11248 (with xfail for AIX).
11249
11250 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11251
11252 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11253
11254 * gdb.t16/printcmd.exp: Don't print variables before running program.
11255
11256 * gdb.t06/break.exp: Don't require envp argument to main.
11257
11258 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11259
11260 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11261 Add xfails for rs6000.
11262
11263 * gdb.t02/whatis.exp: Change other tests not to re-test something
11264 we already tested.
11265
11266 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11267 each type used has a variable of that type.
11268
11269 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11270
11271 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11272
11273 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11274
11275 * configure.in: change srctrigger to be a file, not a directory
11276
11277 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11278
11279 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11280
11281 * gdb.t11/list.exp: Fixed a couple of typos.
11282
11283 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11284
11285 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11286 is fixed and PR is closed.
11287 * gdb.t16 (gdbme.c): Add simple test string variable.
11288 * gdb.t16 (printcmds.exp): Add tests with simple test string
11289 variable, primarily for boundaries on "set print elements".
11290
11291 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11292
11293 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11294 Make leading 0's optional and don't expect a tab in the middle
11295 of the number.
11296
11297 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11298
11299 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11300 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11301 don't end command passed to gdb_test with newline.
11302
11303 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11304 signed keyword away, don't expect signed bitfields to be signed.
11305
11306 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11307 printing with only as many 1's as are in the field as well as printing
11308 with 32 1's (see comment).
11309
11310 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11311
11312 * gdb.t00/default.exp: Start with a fresh gdb.
11313 * configure.in (configdirs): Remove gdb.t31 until the chill
11314 compiler works again. It no longer is able to find chillrt0
11315 since it isn't in libchill.a anymore.
11316 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11317 wierd.o, make more modular.
11318 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11319 spurious newlines that caused problems.
11320
11321 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11322
11323 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11324 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11325 gdb.stabs/wierd.{exp,def}: Many new tests.
11326
11327 * gdb.t00/default.exp: update info line for new message.
11328
11329 * gdb.t02/{whatis.exp,gdbme.c}:
11330 Test that "char *" doesn't print as "caddr_t".
11331
11332 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11333
11334 * gdb.t00/help.exp: Use .* in place of some help messages which
11335 just changed.
11336 gdb.t00/default.exp: Update "info frame" test for new message.
11337 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11338 Remove some xfails
11339
11340 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11341
11342 * gdb.t03/{gdbme.c,ptype.exp}:
11343 Add tests for typedef'd struct and union without tags.
11344 Also check "whatis" on a variable of a typedef'd enum without a tag.
11345
11346 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11347 PRMS 1823; the bug still exists but isn't reproduced by this test
11348 anymore), and remove rs6000 XFAIL (the bug is fixed).
11349
11350 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11351 duplicated from whatis.exp. For those that are left, accept
11352 "long", "long int", or "int" for long variables (whatis.exp already
11353 has an XFAIL for "int", so no need to fail it here).
11354
11355 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11356 Deal with GCC's names for types now that GDB uses the compiler's names.
11357
11358 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11359 setup_xfail's for sunos4. If we #defined the signed keyword away,
11360 don't expect GDB to know that char it is signed.
11361
11362 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11363
11364 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11365
11366 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11367 should work on any system, regardless of debugging format.
11368 * gdb.t21/demangle.exp: Move to gdb.t24.
11369 * gdb.t24/demangle.exp: Move from gdb.t21.
11370 * gdb.t24/{Makefile.in, configure.in}: New files.
11371
11372 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11373
11374 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11375 * gdb.stabs: New directory.
11376
11377 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11378
11379 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11380 not just "Quit anyway?".
11381
11382 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11383
11384 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11385 that all setup_xfails are immediately followed by clear_xfails.
11386
11387 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11388
11389 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11390 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11391 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11392 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11393 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11394 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11395 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11396 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11397 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11398 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11399 gdb.t31/chillvars.exp, lib/gdb.exp:
11400 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11401 bug-gdb@prep.ai.mit.edu.
11402
11403 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11404
11405 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11406 with 0.0, not integer 0.
11407
11408 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11409
11410 * gdb.t06/break.exp: Update for "Kill the program" message change.
11411
11412 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11413
11414 * Makefile.in (GDBFLAGS): Set to -nx.
11415 * Makefile.in (site.exp): Use GDBFLAGS.
11416
11417 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11418
11419 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11420 Makefiles.
11421 (check): depend on just-check.
11422 (just-check): added so that tests can be run without a noop
11423 build pass.
11424
11425 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11426
11427 Switch to using configure's configdirs.
11428 * Makefile.in (Makefile): add configure.in dependency.
11429 (SUBDIRS): removed redundant assignment.
11430 * configure.in: switch subdirs assignment to configdirs.
11431 * gdb.t*/configure.in: new files.
11432
11433 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11434
11435 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11436 works.
11437
11438 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11439
11440 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11441 in explicit rules. Apparently this is not supported by some makes.
11442
11443 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11444
11445 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11446
11447 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11448
11449 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11450 disappeared.
11451
11452 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11453
11454 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11455
11456 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11457
11458 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11459 watchpoint problem that is now fixed.
11460 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11461 uninitialized convenience variables.
11462 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11463 structures.
11464
11465 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11466
11467 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11468 which causes expect to get out of sync with gdb on long output
11469 from help set.
11470 * gdb.t09/corefile.exp: Make expected pattern for core file
11471 failing signal and frame output format less sun specific.
11472
11473 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11474
11475 * gdb.t31/chillvars.exp: Add and remove initial dummy
11476 breakpoint, so that symbol table is forced in.
11477 (Needed at least on Sunos4, though it seems not SVR4.)
11478 * gdb.t31/chillvars.exp: Update for changed output format.
11479
11480 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11481
11482 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11483
11484 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11485
11486 * Makefile.in: Added --srcdir when invoking runtest, removed the
11487 need for a local config file. (optional now)
11488
11489 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11490
11491 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11492 failure count used to force early termination. Add some more
11493 expected failures for gnu style demangling.
11494
11495 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11496
11497 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11498 pmi variable from gdb.t20/gdbme to get optimized away.
11499 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11500 Check for written corefile upon timeout _and_ eof.
11501
11502 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11503
11504 * config/unix-gdb.exp: Add missing return 0.
11505
11506 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11507
11508 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11509 test termination.
11510
11511 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11512
11513 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11514 disappeared.
11515
11516 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11517
11518 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11519 time as i860 support works.
11520
11521 * gdb.t15/funcargs.exp: Fix expected outputs to include
11522 "backtrace 100\r" rather than just "backtrace\r", to match last
11523 change.
11524
11525 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11526
11527 * config/udi-gdb.exp (gdb_exit): Remove close command.
11528 (gdb_target_udi): New procedure to set the UDI target.
11529 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11530 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11531 Added waits for prompts after several question responses. Added
11532 some more responses used by a29k-amd-udi-gdb.
11533 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11534 pass different arguments, restart UDI connection after program
11535 completion.
11536 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11537 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11538 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11539 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11540 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11541 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11542 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11543 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11544 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11545 after program completion.
11546 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11547 compiled with a SELECT_VECS setting.
11548 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11549 infinite recursion.
11550
11551 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11552 Added checks for COFF results, and made them expected failures for
11553 all targets. It would be better to make them expected failures
11554 for COFF targets only.
11555
11556 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11557
11558 * Makefile.in: add null dvi target, don't bother to recurse
11559 through test directories for info and install-info; rename
11560 $(datadir) to be dejagnu instead of deja-gnu
11561
11562 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11563
11564 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11565 compiler to coredump.
11566 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11567 code.
11568
11569 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11570
11571 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11572 coredump.
11573 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11574 code.
11575
11576 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11577
11578 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11579 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11580 which in a shell. Deletes xgdb when done.
11581 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11582 Tests the return from the "set height" or "set width" commands.
11583 Added a few return codes where needed.
11584
11585 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11586
11587 * Makefile.in (SUBDIRS): Add gdb.t17.
11588 * configure.in (subdirs): Add gdb.t17.
11589 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11590 files to test gdb's calling of functions in the inferior with
11591 the correct arguments and gdb's ability to retrieve any
11592 result returned.
11593
11594 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11595
11596 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11597 may be called after gdb goes away. Previous versions of expect
11598 needed these to avoid file descriptor leaks, but they cause
11599 errors with the current revision of expect.
11600 * gdb.t00/gdbvars.exp: Use -re on expected output after
11601 setting sevenbit-strings.
11602 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11603 to set sevenbit-strings consistent across tests.
11604 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11605 set sevenbit-strings consistent across tests.
11606
11607 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11608
11609 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11610 expected output to match current "expect" expectations.
11611
11612 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11613
11614 * gdb.t00/default.exp: Change expected output for default "source"
11615 command, to match new gdb behavior which requires a filename to
11616 source.
11617
11618 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11619
11620 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11621 expected fail for i486-*-* that misses the marker2 function.
11622 * gdb.t10/crossload.exp (bfddefault): Allow successful
11623 recognition of a format to pass even if no symbols are found.
11624 Explicitly catch failures where the format is not recognized
11625 or is ambiguous, and add the reason to the fail message.
11626 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11627 the cause is and invalid target and add reason to failure message.
11628 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11629 elf32-i386, elf32-sparc, and elf32-i860.
11630 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11631 Set up expected failure for 'filename'::variable scope resolution,
11632 which is now apparently broken on all targets.
11633 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11634 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11635 gdb.t23/templates.exp: Change failure for missing binfile into
11636 just a warning.
11637 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11638 references.
11639
11640 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11641
11642 * gdb.t00/default.exp: Add expected output for default "source"
11643 command, to match new gdb behavior.
11644 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11645
11646 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11647
11648 * config/*-gdb.exp: returns an error, rather than exiting on
11649 internal errors.
11650
11651 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11652
11653 * gdb.t03/gdbme.c: Add pointer to struct variable.
11654 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11655 referencing struct members.
11656
11657 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11658
11659 * configure.in (mips-idt-ecoff): New target.
11660 * config/mips-gdb.exp: New file for remote board using MIPS remote
11661 debugging protocol.
11662
11663 * Redid configuration scheme. Removed gdb.t*/configure.in.
11664 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11665 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11666 distclean targets. Built executables via .o files. Adjusted
11667 tests to account for source files in $(srcdir) rather than
11668 $(objdir).
11669 * lib/gdb.exp (runto): Don't expect () after the function name,
11670 because it may have arguments.
11671
11672 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11673
11674 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11675 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11676 expected failures for mips-idt-* and mips-sgi-*.
11677 * gdb.t00/default.exp (attach): Kill process if requested.
11678 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11679 that does not read core files.
11680 * gdb.t01/run.exp: Removed checks for exit status code.
11681 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11682 it is linked in.
11683 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11684 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11685 appropriate, rather than doing it by hand.
11686 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11687 execution.
11688 * gdb.t10/crossload.exp: Kill existing program if needed.
11689 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11690 appropriate, rather than doing it by hand. Always increase
11691 timeout for this test, not just for VxWorks.
11692
11693 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11694
11695 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11696 of Chill STRUCT types and STRUCT values.
11697 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11698 than "char".
11699 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
11700 struct2): New struct definitions and initializations to test
11701 simple Chill STRUCT types.
11702
11703 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11704
11705 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11706 the null byte at the end of strings.
11707 * gdb.t00/default.exp: Make show version insensitive to copyright
11708 date.
11709 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11710 to avoid dependencies on target char signedness.
11711 * gdb.t16/printcmds.exp: Update expected results for explicitly
11712 unsigned char.
11713 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11714 now work.
11715 * gdb.t21/demangle.exp: Add many more patterns for template
11716 demangling, most of them being expected failures.
11717 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11718 string we are matching for, to match on the whole string.
11719 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11720 and fix a whole bunch that had incorrect expected output but were
11721 passing anyway because of the bug in "proc demangle".
11722 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11723 type.
11724 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11725
11726 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11727
11728 * gdb/testsuite: made modifications to testcases, etc., to allow
11729 them to work properly given the reorganization of deja-gnu and the
11730 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11731
11732 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11733
11734 * gdb/testsuite: Initial creation of gdb/testsuite.
11735 Migrated dejagnu testcases and support files for testing nm to
11736 gdb/testsuite from deja-gnu. These files were moved "as is"
11737 with no modifications. This migration is part of a major overhaul
11738 of dejagnu. The modifications to these testcases, etc., which
11739 will allow them to work with the new version of dejagnu will be
11740 made in a future update.
11741
11742 For additional changes see gdb.mi/ChangeLog-1999-2003.
11743 \f
11744 Local Variables:
11745 mode: change-log
11746 left-margin: 8
11747 fill-column: 74
11748 version-control: never
11749 End: