* config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
2
3 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
4 line of output.
5
6 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
7
8 * gdb.base/relocate.c (dummy): Initialize.
9
10 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11
12 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
13 a breakpoint at exit.
14
15 2004-02-27 Fred Fish <fnf@redhat.com>
16
17 * gdb.base/chng-syms.exp: Add expect condition to match failing
18 case that isn't a timeout.
19
20 2004-02-27 Andrew Cagney <cagney@redhat.com>
21
22 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
23 support.
24
25 2004-02-26 Fred Fish <fnf@redhat.com>
26
27 * gdb.arch/gdb1431.c: Remove.
28 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
29 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
30 of "until" incorrectly.
31
32 2004-02-26 J. Brobecker <brobecker@gnat.com>
33
34 * gdb.cp/class2.cc (empty): New class.
35 (refer): New function.
36 (main): Declare an object of type empty and use it.
37 * gdb.cp/class2.exp: Print the value of an object of type empty.
38
39 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
40
41 * gdb.base/langs.exp: Update query string to match the
42 new nquery format used for pending breakpoints.
43
44 2004-02-26 Andrew Cagney <cagney@redhat.com>
45
46 Fix PR i18n/1570.
47 * gdb.base/charset.c: Update copyright notice.
48 (main, init_string): Remove the escape character '\e' tests.
49 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
50 * gdb.base/charset.exp (valid_host_charset): Ditto.
51 * gdb.base/setvar.exp: Ditto.
52
53 2004-02-24 Andrew Cagney <cagney@redhat.com>
54
55 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
56 mmapped data in core file" PASS and FAIL messages consistent.
57
58 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
59 setting a breakpoint. Work around PR java/1565.
60
61 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
62
63 * lib/gdb.exp (gdb_breakpoint): Update query string to match
64 new nquery format.
65 * gdb.base/pending.exp: Ditto.
66
67 2004-02-22 Mark Kettenis <kettenis@gnu.org>
68
69 * configure.in: Run stabs tests on *BSD.
70 * configure: Regenerated.
71
72 2004-02-21 Mark Kettenis <kettenis@gnu.org>
73
74 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
75
76 2004-02-20 Fred Fish <fnf@redhat.com>
77
78 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
79 blank in test for "returns short", for consistency with other
80 "returns xxx" tests. Update copyright year.
81
82 2004-02-19 Fred Fish <fnf@redhat.com>
83
84 New testcase for PR breakpoint/1558.
85 * gdb.arch/gdb1558.exp: New file.
86 * gdb.arch/gdb1558.c: New file.
87
88 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
89
90 * gdb.base/nodebug.exp: Fix typo.
91
92 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
93
94 Committed by Jim Blandy <jimb@redhat.com>.
95
96 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
97
98 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
99
100 * gdb.base/float.exp: Support s390*-*-* targets.
101
102 2004-02-17 Adam Fedor <fedor@gnu.org>
103
104 * gdb.base/gdb1555.exp: New file.
105 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
106
107 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
108
109 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
110
111 2004-02-16 Fred Fish <fnf@redhat.com>
112
113 * gdb.arch/gdb1291.c: Remove
114 * gdb.arch/gdb1291.s: New test input file.
115 * gdb.arch/gdb1291.exp: Expand test to check case that should not
116 fail. Test for correct result, known incorrect result, other
117 failures and timeouts.
118
119 2004-02-16 Andrew Cagney <cagney@redhat.com>
120
121 * gdb.base/bigcore.exp: New file.
122 * gdb.base/bigcore.c: New file.
123
124 2004-02-13 Andrew Cagney <cagney@redhat.com>
125
126 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
127 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
128 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
129 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
130 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
131 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
132 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
133 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
134 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
135 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
136
137 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
138
139 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
140 executed is an alloc instruction.
141
142 2004-02-11 David Carlton <carlton@kealia.com>
143
144 * gdb.cp/breakpoint.exp: New.
145 * gdb.cp/breakpoint.cc: New.
146
147 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
148
149 Partial fix for PR gdb/1543.
150 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
151 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
152 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
153 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
154 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
155 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
156 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
157 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
158 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
159 to bug-gdb@prep.ai.mit.edu .
160 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
161 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
162 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
163 Likewise.
164
165 2004-02-10 Andrew Cagney <cagney@redhat.com>
166
167 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
168 using gdb_internal_error_resync.
169
170 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
171
172 * gdb.threads/thread-specific.exp: Stop early if no threads are
173 found.
174
175 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
176
177 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
178
179 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
180
181 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
182 breakpoints.
183
184 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
185
186 * config/sim.exp (gdb_load): Handle $arg == "".
187 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
188 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
189
190 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
191
192 * gdb.base/maint.exp: Update test to reflect
193 obstack changes.
194
195 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
196
197 * gdb.base/pendshr.c (pendfunc): New function that calls
198 pendfunc1.
199 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
200
201 2004-02-04 Fred Fish <fnf@redhat.com>
202
203 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
204 function symbols and update copyright years.
205 * gdb.arch/gdb1291.c: Ditto.
206
207 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
208
209 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
210
211 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
212
213 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
214
215 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
216
217 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
218
219 2004-02-02 Fred Fish <fnf@redhat.com>
220
221 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
222 remote targets. Update copyright years.
223
224 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
225
226 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
227 support.
228 * gdb.base/langs.exp: Fix test which attempts to create
229 breakpoint on non-existent function to handle new pending
230 support.
231 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
232 a breakpoint.
233 * gdb.base/pending.exp: New test.
234 * gdb.base/pending.c: New file.
235 * gdb.base/pendshr.c: Ditto.
236
237 2004-02-02 David Carlton <carlton@kealia.com>
238
239 * gdb.cp/overload.exp: Add overloadNamespace tests.
240 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
241 (overloadNamespace, XXX): New.
242 (main): Call XXX::marker2.
243
244 2004-02-01 Fred Fish <fnf@redhat.com>
245
246 * gdb.base/dump.exp: Use runto_main instead of "runto main".
247 * gdb.base/finish.exp: Ditto.
248 * gdb.base/gcore.exp: Ditto.
249 * gdb.base/huge.exp: Ditto.
250 * gdb.base/info-proc.exp: Ditto.
251 * gdb.base/return2.exp: Ditto.
252 * gdb.threads/gcore-thread.exp: Ditto.
253
254 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
255
256 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
257
258 2004-02-01 Mark Kettenis <kettenis@gnu.org>
259
260 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
261 that opening the file succeeds on OpenBSD.
262
263 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
264
265 * gdb.threads/thread-specific.c: New file.
266 * gdb.threads/threads-specific.exp: New test script.
267 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
268 to expect_out.
269
270 2004-02-01 Mark Kettenis <kettenis@gnu.org>
271
272 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
273 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
274 only on the "print_small_structs from print_long_arg_list" test.
275
276 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
277
278 * gdb.base/completion.exp: Kill a stray backslash.
279
280 From Jim Ingham <jingham@apple.com>:
281 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
282 agrees with the result from sending a tab.
283
284 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
285
286 * gdb.base/chng-syms.exp: Remove stray newline.
287
288 2004-01-31 Mark Kettenis <kettenis@gnu.org>
289
290 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
291 *-*-openbsd*.
292 * gdb.asm/openbsd.inc: New file.
293
294 2004-01-30 Mark Kettenis <kettenis@gnu.org>
295
296 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
297 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
298 *-*solaris2*. Remove commented out default settings for
299 asm-flags. Replace gdb_compile with target_link.
300
301 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
302
303 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
304 for all tests. Remove old hp-ux and cygnus xfail cases.
305
306 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
307
308 * gdb.base/chng-syms.exp: New file.
309 * gdb.base/chng-syms.c: New file.
310
311 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
312
313 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
314 Provide arms for current output in all my configurations.
315
316 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
317
318 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
319 * lib/compiler.cc: Likewise.
320 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
321 get the right preprocessor. Eval the output directly. Remove
322 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
323 hp_f77_compiler and hp_f90_compiler completely.
324 (gdb_preprocess): Delete.
325 (get_compiler): Delete.
326
327 2004-01-24 Mark Kettenis <kettenis@gnu.org>
328
329 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
330 <string.h>.
331
332 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
333
334 * gdb.mi/mi-stack.exp: Update copyright.
335
336 2004-01-23 David Carlton <carlton@kealia.com>
337
338 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
339 test for cp_lookup_transparent_type.
340 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
341 call them.
342
343 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
344
345 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
346 after -var-update.
347
348 2004-01-23 David Carlton <carlton@kealia.com>
349
350 * gdb.cp/namespace.cc (C::ensureRefs): New.
351 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
352
353 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
354
355 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
356 case "-stack-list-locals 2".
357 * gdb.mi/mi-var-child.exp: Test for case
358 "-var-list-children --all-values NAME".
359
360 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
361
362 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
363
364 2004-01-18 Mark Kettenis <kettenis@gnu.org>
365
366 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
367 used with gdb_test_multiple.
368
369 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
370 read at address 0. This fixes PR testsuite/1504.
371
372 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
373
374 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
375 Remove downloading, guessing the host executable, the calls to
376 gdb_file_cmd and gdb_target_cmd, and "load" support.
377 (infer_host_exec): New function broken out from gdb_load.
378 (gdb_load): New wrapper for gdbserver_gdb_load.
379 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
380 gdb_target_cmd. Use -target-select.
381 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
382 Download binaries to the host. Clear last_mi_remote_file when
383 we load a new binary.
384 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
385 call gdbserver_gdb_load and mi_gdb_target_cmd.
386
387 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
388
389 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
390 type patterns.
391
392 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
393
394 * gdb.cp/templates.exp: Fix typo in test name of
395 "print Foo<volatile char*>::foo".
396
397 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
398
399 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
400
401 2004-01-16 Ben Elliston <bje@wasabisystems.com>
402
403 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
404 (clean mostlyclean): Remove empty rm.
405
406 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
407
408 * gdb.base/setvar.exp: Add copyright years.
409
410 2004-01-14 David Carlton <carlton@bactrian.org>
411
412 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
413 PR c++/1511 and update coment.
414 * gdb.cp/templates.exp: Update patterns to match current output.
415 If changes involve something other than whitespace, KFAIL
416 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
417
418 2004-01-14 David Carlton <carlton@kealia.com>
419
420 * gdb.cp/namespace.exp: Add tests involving classes defined within
421 namespaces.
422 * gdb.cp/namespace.cc (C::CClass): New.
423 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
424
425 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
426
427 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
428 what debug info we have. Print a better message if something goes
429 wrong while producing the separate debug info file.
430
431 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
432
433 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
434
435 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
436
437 * gdb.base/callfuncs.c: Add copyright notice.
438
439 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
440
441 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
442 inheritance. PR gdb/1498, PR gcc/13539.
443
444 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
445
446 * gdb.threads/gcore-thread.exp: Prefix name of binary with
447 test specific name.
448 * gdb.mi/gdb669.exp: Ditto.
449 * gdb.mi/mi-pthreads.exp: Ditto.
450 * gdb.mi/mi1-pthreads.exp: Ditto.
451 * gdb.mi/mi2-pthreads.exp: Ditto.
452
453 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
454
455 * gdb.cp/member-ptr.cc: Add copyright notice.
456
457 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
458
459 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
460 some patterns for recent versions of gcc and hpacc. Delete
461 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
462 Delete tests that access a NULL pointer-to-member-data. This
463 script is still disabled for gcc.
464
465 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
466
467 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
468 escaped correctly.
469
470 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
471
472 * gdb.base/sepdebug.exp: New file.
473 * gdb.base/sepdebug.c: New file.
474 * lib/gdb.exp (separate_debug_filename): New procedure.
475 (gdb_gnu_strip_debug): New procedure.
476
477 2004-01-12 Andrew Cagney <cagney@redhat.com>
478
479 * gdb.mi/ChangeLog: Delete file. Renamed to ...
480 * gdb.mi/ChangeLog-1999-2003: New file.
481
482 2004-01-12 Andrew Cagney <cagney@redhat.com>
483
484 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
485 "Renaming a directory to a non-empty directory returns ENOTEMPTY
486 or EEXIST", treat EBUSY as an XFAIL.
487
488 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
489
490 * gdb.base/scope.exp: Remove obsolete setup_xfail for
491 hp_cc_compiler.
492
493 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
494
495 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
496 decorations.
497
498 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
499
500 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
501 and "(aCC)" decorations. Remove obsolete doco about old
502 test results.
503
504 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
505
506 * gdb.cp/exception.exp: Fix typo in doco.
507
508 2004-01-09 Mark Kettenis <kettenis@gnu.org>
509
510 * gdb.base/gdb1476.exp: Fix typo.
511
512 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
513
514 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
515 file.
516
517 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
518
519 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
520 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
521 Use gdb_compile. Remove restriction on gcc. Add some patterns
522 for recent version of gdb. Delete second half, which was a copy
523 of the first half with different build flags. This test is
524 still disabled because it is still not ready for production.
525
526 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
527
528 * gdb.cp/exception.cc: Add copyright notice.
529 * gdb.cp/exception.exp: Add a notice that this file is broken
530 because of line number changes caused by addition of copyright
531 notice.
532
533 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
534
535 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
536 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
537
538 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
539
540 * gdb.cp/classes.exp: Accept gnu abi 2.
541 * gdb.cp/derivation.exp: Likewise.
542 * gdb.cp/overload.exp: Likewise.
543 * gdb.cp/virtfunc.exp: Likewise.
544
545 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
546
547 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
548 semicolon after end of function.
549
550 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
551
552 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
553 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
554 boilerplate code for compiling and running the program under
555 test. Add some string method tests.
556
557 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
558
559 * gdb.cp/bs15503.cc: Add copyright notice.
560 * gdb.cp/bs15503.exp: Adjust line number.
561
562 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
563
564 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
565 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
566
567 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
568
569 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
570 hp_cc_compiler.
571
572 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
573
574 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
575 * gdb.cp/ctti.exp: Use the marker instead of "next".
576 With gcc, run further before bailing.
577
578 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
579
580 * gdb.cp/cttiadd.cc: Add copyright notice.
581 * gdb.cp/cttiadd1.cc: Likewise.
582 * gdb.cp/cttiadd2.cc: Likewise.
583 * gdb.cp/cttiadd3.cc: Likewise.
584
585 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
586
587 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
588 Use gdb_test, gdb_test_multiple. Use floating-point values that
589 have exact representations in IEEE-ish formats.
590
591 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
592
593 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
594 compilers. Delete duplicate call to get_compiler_info.
595 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
596 * gdb.base/volatile.exp: Likewise.
597
598 2004-01-07 Mark Kettenis <kettenis@gnu.org>
599
600 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
601 memory at address 0.
602
603 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
604
605 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
606 to test for hp-ux assembler. Fix copyright years.
607
608 2004-01-07 Andrew Cagney <cagney@redhat.com>
609
610 * gdb.base/fileio.c (strerrno): Add "EBUSY".
611
612 2004-01-07 Andrew Cagney <cagney@redhat.com>
613
614 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
615 when creating the read-only file. From analysis by Roland McGrath
616 and Elena Zannoni.
617
618 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
619
620 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
621
622 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
623
624 * gdb.base/cvexpr.c: Be type-safe with function pointers and
625 data pointers.
626
627 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
628
629 * gdb.cp/m-static.exp: Compile one source file at a time.
630 Delete unused call to get_compiler_info.
631
632 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
633
634 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
635 * gdb.base/call-rt-st.exp: Likewise.
636 * gdb.base/nodebug.exp: Likewise.
637 * gdb.base/volatile.exp: Likewise.
638 * gdb.cp/ref-types.exp: Likewise.
639 * gdb.cp/templates.exp: Likewise.
640
641 2004-01-05 Mark Kettenis <kettenis@gnu.org>
642
643 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
644
645 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
646
647 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
648 hppa*-hp-hpux*.
649
650 2004-01-04 Mark Kettenis <kettenis@gnu.org>
651
652 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
653 x86_64-*-*.
654
655 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
656 sparc64-*-* and sparc*-solaris2*.
657
658 2004-01-04 Mark Kettenis <kettenis@gnu.org>
659
660 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
661 return ${tests}" test. The ${tests} already mentions the
662 filename.
663
664 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
665
666 * gdb.cp/local.exp: Accept gcc abi 2.
667
668 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
669
670 * gdb.cp/templates.exp: Accept gcc abi 2.
671
672 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
673
674 * lib/compiler.cc: Remove supports_template_debugging.
675 * gdb.cp/templates.exp: Do not test supports_template_debugging.
676
677 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
678
679 * gdb.cp/namespace.exp: Accept gcc abi 2.
680
681 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
682
683 * gdb.cp/method.exp: Accept gcc abi 2.
684
685 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
686
687 * gdb.cp/classes.exp: Generate identical results as old version.
688 * gdb.cp/derivation.exp: Likewise.
689 * gdb.cp/overload.exp: Likewise.
690 * gdb.cp/virtfunc.exp: Likewise.
691
692 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
693
694 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
695 mysterious bug with sourceware version of expect.
696
697 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
698
699 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
700 current versions of gcc, including gcc abi 2. Remove gratuitous
701 restart of test program. Use gdb_test_multiple and gdb_test for
702 all tests. Add patterns to xfail missing "const" in "const char *"
703 and kfail PR gdb/1155.
704
705 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
706
707 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
708 current versions of gcc, including gcc abi 2. Remove gratuitous
709 restart of test program. Use gdb_test_multiple and gdb_test for
710 all tests. Add patterns to kfail PR gdb/1498.
711
712 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
713
714 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
715 current versions of gcc, including gcc abi 2. Use "breakpoint"
716 and "continue" instead of restarting the target program. Use
717 gdb_test_multiple and gdb_test for all tests.
718
719 2004-01-01 Mark Kettenis <kettenis@gnu.org>
720
721 * gdb.asm/asm-source.exp: Update copyright year. Link statically
722 for *-*-solaris2*.
723
724 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
725
726 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
727 current versions of gcc, including gcc abi 2. Use "breakpoint"
728 and "continue" instead of restarting the target program several
729 times. Use gdb_test_multiple and gdb_test for all tests.
730
731 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
732
733 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
734 source files.
735
736 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
737
738 * gdb.base/environ.exp: Handle compiling test case from multiple
739 source files.
740
741 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
742
743 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
744
745 2003-12-17 Jim Blandy <jimb@redhat.com>
746
747 * gdb.base/freebpcmd.c: Add copyright notice.
748
749 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
750
751 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
752
753 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
754
755 2003-12-13 Jim Blandy <jimb@redhat.com>
756
757 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
758
759 2003-12-12 Kevin Buettner <kevinb@redhat.com>
760
761 * gdb.asm/frv.inc: New file.
762 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
763
764 2003-12-09 Fred Fish <fnf@redhat.com>
765
766 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
767 functions to break1.c and leave prototypes behind. Add more
768 "set breakpoint NN here" comments.
769 * gdb.base/break1.c: New file.
770
771 * gdb.base/break.exp: Handle compiling test case from multiple
772 source files and change source file references as needed.
773 * gdb.base/completion.exp: Ditto.
774 * gdb.base/condbreak.exp: Ditto.
775 * gdb.base/define.exp: Ditto.
776 * gdb.base/ena-dis-br.exp: Ditto.
777 * gdb.base/info-proc.exp: Ditto.
778 * gdb.base/maint.exp: Ditto.
779 * gdb.base/until.exp: Ditto.
780
781 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
782 hardcoded line numbers.
783 * gdb.base/define.exp: Ditto.
784 * gdb.base/ena-dis-br.exp: Ditto.
785 * gdb.base/maint.exp: Ditto.
786 * gdb.base/until.exp: Ditto.
787
788 * gdb.base/completion.exp: Use "break1" for completion tests since
789 "break" is no longer a unique prefix.
790
791 2003-12-06 Andrew Cagney <cagney@redhat.com>
792
793 * gdb.base/structs.exp (test_struct_returns): When applicable, set
794 "return_value_unimplemented". When an unimplemented struct return
795 architecture, report incorrect values as a KFAIL
796
797 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
798
799 * gdb.cp/rtti.exp: Accept new wording of warning from
800 cp_lookup_rtti_type.
801
802 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
803
804 Partial fix for PR testsuite/1456.
805 * gdb.base/scope.exp (test_at_main): Replace references to
806 gcc_compiled with calls to test_compiler_info.
807 (test_at_foo): Likewise.
808 (test_at_bar): Likewise.
809
810 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
811
812 Partial fix for PR testsuite/1456.
813 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
814 to test_compiler_info.
815
816 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
817
818 * gdb.base/so-impl-ld.exp: Update copyright notice.
819
820 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
821
822 Partial fix for PR testsuite/1456.
823 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
824 to test_compiler_info.
825
826 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
827
828 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
829 from current versions of gdb. Clean up regular expressions.
830 Delete redundant timeout case.
831
832 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
833
834 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
835 from current versions of gdb. Clean up regular expressions.
836 Delete redundant timeout case.
837
838 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
839
840 Partial fix for PR testsuite/1456.
841 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
842 gcc_compiled with call to test_compiler_info.
843
844 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
845
846 Partial fix for PR testsuite/1456.
847 * gdb.base/list.exp (test_list_function): Delete unused declaration
848 of gcc_compiled.
849
850 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
851
852 Partial fix for PR testsuite/1456.
853 * gdb.base/complex.exp: Replace reference to gcc_compiled with
854 call to test_compiler_info.
855
856 2003-11-29 Mark Kettenis <kettenis@gnu.org>
857
858 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
859 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
860 it to create the appropriate note.inc.
861 * gdb.asm/asmsrc1.s: Include "note.inc".
862 * gdb.asm/netbsd.inc: New file.
863 * gdb.asm/empty.inc: New file.
864
865 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
866
867 Partial fix for PR testsuite/1456.
868 * gdb.base/constvars.exp: Replace references to gcc_compiled with
869 calls to test_compiler_info.
870
871 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
872
873 Partial fix for PR testsuite/1456.
874 * gdb.base/volatile.exp: Replace references to gcc_compiled with
875 calls to test_compiler_info.
876
877 2003-11-27 Mark Kettenis <kettenis@gnu.org>
878
879 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
880 pattern for the KFAILs.
881
882 2003-11-25 Adam Fedor <fedor@gnu.org>
883
884 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
885 * gdb.objc/objcdecode.m: New file.
886
887 2003-11-25 Adam Fedor <fedor@gnu.org>
888
889 * gdb.objc/nondebug.exp: Test for PR objc/1236.
890 * gdb.objc/nondebug.m: New file.
891
892 2003-11-26 Ben Elliston <bje@wasabisystems.com>
893
894 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
895 NetBSD as it does on FreeBSD. Modelled on a similar change by
896 Mark Kettenis on 2003-05-30.
897 (link-flags): Set to "--entry _start" regardless of target.
898 Special linker flags are to be appended to $link-flags.
899 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
900
901 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
902
903 * gdb.cp/method.exp: Accept output of new demangler.
904
905 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
906
907 * gdb/class2.exp: New file.
908 * gdb/class2.cc: New file.
909
910 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
911
912 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
913 of new demangler.
914
915 2003-11-23 Mark Kettenis <kettenis@gnu.org>
916
917 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
918 of gdb_test "run".
919
920 2003-11-23 Mark Kettenis <kettenis@gnu.org>
921
922 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
923 "continue" into "run".
924
925 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
926
927 Partial fix for PR testsuite/1456.
928 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
929 call to test_compiler_info.
930 * gdb.cp/ctti.exp: Likewise.
931 * gdb.cp/derivation.exp: Likewise.
932 * gdb.cp/member-ptr.exp: Likewise.
933 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
934 reference to gcc_compiled.
935
936 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
937
938 Fix PR testsuite/1463.
939 * gdb.base/structs.exp (start_structs_test): Call
940 get_debug_format before using the debug format.
941
942 2003-11-22 Andrew Cagney <cagney@redhat.com>
943
944 * lib/gdb.exp (gdb_test_multiple): Add simple example.
945 * gdb.base/structs.exp: Use gdb_test_multiple.
946
947 2003-11-20 Andrew Cagney <cagney@redhat.com>
948
949 * gdb.base/structs.exp: Handle and recover from internal errors.
950 Replace "foo${n}" with "foo<n>" in test messages.
951
952 * gdb.base/structs.exp: Update copyright. Rewrite.
953 * gdb.base/structs.c: Update copyright. Rewrite.
954
955 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
956 resync count exceeded.
957
958 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
959 from the internal error.
960 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
961 Original from Jim Blandy.
962 (gdb_test_multiple): Use gdb_internal_error_resync.
963
964 2003-11-19 Andrew Cagney <cagney@redhat.com>
965
966 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
967 KFAIL.
968
969 2003-11-17 Mark Kettenis <kettenis@gnu.org>
970
971 New testcase for PR backtrace/1435.
972 * gdb.arch/i386-unwind.exp: New file.
973 * gdb.arch/i386-unwind.c: New file.
974
975 2003-11-17 Andrew Cagney <cagney@redhat.com>
976
977 * lib/gdb.exp (compiler_info): New global.
978 (test_compiler_info): New function.
979 (get_compiler_info): Set compiler_info.
980 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
981 "compiler_info" to gcc-<major>-<minor>.
982
983 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
984
985 * gdb.trace/configure: Remove.
986
987 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
988
989 * gdb.base/break.c: Add comments to aid finding line numbers for
990 breakpoints.
991 * gdb.base/break.exp: Remove all references to explicit line
992 numbers.
993
994 2003-11-11 Nick Clifton <nickc@redhat.com>
995
996 * gdb.base/shreloc.exp: Do not run for targets which do not
997 support shared objects.
998
999 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
1000
1001 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1002 Don't run tests if nofileio flag is given.
1003
1004 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
1005
1006 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1007 as well as 'Watchpoint'.
1008
1009 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
1010
1011 Reported by Jim Ingham <jingham@apple.com>:
1012 * gdb.base/annota1.exp: Match at least one occurrence of the
1013 signal handler annotation.
1014
1015 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
1016
1017 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1018 as well as 'Watchpoint'.
1019
1020 2003-11-05 Michael Chastain <mec@shout.net>
1021
1022 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1023
1024 2003-11-03 Kris Warkentin <kewarken@qnx.com>
1025
1026 * gdb.arch/gdb1291.c: New test file.
1027 * gdb.arch/gdb1291.exp: New test script.
1028 * gdb.arch/gdb1431.c: New test file.
1029 * gdb.arch/gdb1431.exp: New test script.
1030
1031 2003-10-22 Michael Chastain <mec@shout.net>
1032
1033 * gdb.mi/pthreads.c: Add copyright notice.
1034
1035 2003-10-22 Michael Chastain <mec@shout.net>
1036
1037 * gdb.threads/pthreads.c: Add copyright notice.
1038
1039 2003-10-20 Michael Chastain <mec@shout.net>
1040
1041 * gdb.base/gdb1056.exp: New test script.
1042
1043 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
1044
1045 * gdb.threads/killed.exp: Use gdb_run_cmd.
1046
1047 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
1048
1049 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1050 create a core file.
1051 * gdb.threads/gcore-thread.exp: Likewise.
1052
1053 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
1054
1055 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1056 type, based on char type.
1057 (struct bit_flags_short_t): New bitfield type, based on short type.
1058 (init_bit_flags_char): New fuction.
1059 (init_bit_flags_short): Ditto.
1060 (print_bit_flags_char): Ditto.
1061 (print_bit_flags_short): Ditto.
1062 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1063
1064 2003-10-11 Michael Chastain <mec@shout.net>
1065
1066 * gdb.base/call-rt-st.exp: Update copyright year.
1067
1068 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1069
1070 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1071 * gdb.disasm/sh3.s: Ditto.
1072
1073 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
1074
1075 * gdb.threads/switch-threads.exp: New test.
1076 * gdb.threads/switch-threads.c: New source file.
1077
1078 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
1079
1080 * gdb.base/ending-run.exp: Add sh specific case.
1081
1082 2003-10-06 Andrew Cagney <cagney@redhat.com>
1083
1084 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1085 * gdb.disasm/mn10200.exp: Delete obsolete file.
1086
1087 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
1088
1089 * ChangeLog: Correct an entry command.exp -> commands.exp.
1090 * gdb.base/commands.exp (bp_deleted_in_command_test)
1091 (temporary_breakpoint_commands): Check noargs.
1092
1093 2003-09-25 David Carlton <carlton@kealia.com>
1094
1095 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1096 of some print tests, where appropriate. Add tests for C::D::cd,
1097 E::ce, F::cXfX, G::XgX.
1098 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1099
1100 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
1101
1102 * lib/java.exp (java_init): Import target_alias before using it.
1103
1104 2003-09-25 David Carlton <carlton@kealia.com>
1105
1106 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1107
1108 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
1109
1110 * gdb.base/selftest.exp: Accomodate more instruction reordering
1111 weirdness.
1112
1113 2003-09-17 Michael Chastain <mec@shout.net>
1114
1115 * gdb.cp/gdb1355.exp: New file.
1116 * gdb.cp/gdb1355.c: New file.
1117
1118 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
1119
1120 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1121 * gdb.asm/sh.inc: New file.
1122
1123 2003-09-11 David Carlton <carlton@kealia.com>
1124
1125 * gdb.cp/namespace.exp: Add tests for namespace types.
1126 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
1127 (test_namespace): New.
1128
1129 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
1130
1131 * gdb.base/relocate.exp: Handle new gdb output at startup.
1132 * gdb.stabs/weird.exp: Ditto.
1133
1134 2003-09-08 Michael Chastain <mec@shout.net>
1135
1136 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1137
1138 2003-09-07 Michael Chastain <mec@shout.net>
1139
1140 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1141 'parse error'.
1142
1143 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1144
1145 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1146
1147 2003-08-30 Michael Chastain <mec@shout.net>
1148
1149 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1150 * gdb.gdb/observer.exp: Ditto.
1151 * gdb.gdb/xfullpath.exp: Ditto.
1152
1153 2003-08-29 Mark Kettenis <kettenis@gnu.org>
1154
1155 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1156 *-*-*bsd*.
1157
1158 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1159
1160 * gdb.base/dump.exp: Skip for ia64.
1161
1162 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1163
1164 * gdb.asm/asm-source.exp: Add ia64 support.
1165 * gdb.asm/ia64.inc: New file.
1166
1167 2003-08-22 Michael Chastain <mec@shout.net>
1168
1169 * gdb.cp: New directory.
1170 * gdb.cp/*: Copy from gdb.c++/*.
1171 * gdb.c++/*: Remove.
1172 * Makefile.in: Change gdb.c++ to gdb.cp.
1173 * configure.in: Ditto.
1174 * configure: Regnerate.
1175
1176 2003-08-18 Mark Kettenis <kettenis@gnu.org>
1177
1178 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1179 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1180
1181 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1182
1183 * mi-var-display.exp (-var-list-children weird): Accept function
1184 pointers with argument types.
1185 * mi1-var-display.exp (-var-list-children weird): Likewise.
1186 * mi2-var-display.exp (-var-list-children weird): Likewise.
1187
1188 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1189
1190 * gdb.base/annota3.exp: Add missing newline.
1191
1192 2003-08-06 Michael Chastain <mec@shout.net>
1193
1194 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1195
1196 2003-08-12 Michael Snyder <msnyder@redhat.com>
1197
1198 * gdb.base/float.exp: Add test for SH.
1199
1200 2003-08-10 Mark Kettenis <kettenis@gnu.org>
1201
1202 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1203
1204 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1205
1206 * gdb.base/completion.exp: Remove reduntant completion test
1207 on filename.
1208
1209 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1210
1211 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1212 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1213 gdb.trace/save-trace.exp: Make sure that full pathnames are
1214 escaped correctly.
1215
1216 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1217
1218 * configure.in: Don't generate config.h from config.hin.
1219 * configure: Regenerate.
1220 * config.hin: Remove file.
1221 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1222 * gdb.threads/pthreads.c: Ditto.
1223
1224 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
1225
1226 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1227 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1228 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1229 Replace ld24 with seth/add3.
1230
1231 2003-08-02 Andrew Cagney <cagney@redhat.com>
1232
1233 * gdb.base/annota3.exp: New file.
1234 * gdb.base/annota3.c: New file.
1235 * gdb.c++/annota3.exp: New file.
1236 * gdb.c++/annota3.cc: New file.
1237
1238 2003-07-29 Michael Chastain <mec@shout.net>
1239
1240 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1241 actually failed.
1242 (do_pass): Likewise.
1243 * gdb.threads/tls.exp: Always initialize no_of_threads.
1244
1245 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
1246
1247 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1248 pattern.
1249 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1250 * gdb.threads/tls.exp: Recognize one case of the host library not
1251 supporting TLS.
1252
1253 2003-07-27 Andrew Cagney <cagney@redhat.com>
1254
1255 * gdb.base/fileio.exp: Use SH when running commands using
1256 remote_exec.
1257
1258 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
1259
1260 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1261 * gdb.base/relocate.c (dummy): New padding array.
1262
1263 2003-07-22 Michael Snyder <msnyder@redhat.com>
1264
1265 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1266
1267 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1268 patterns to be more general, accepting old and new output.
1269 Some output chars (such as '+') also must be quoted.
1270 Some addresses are displayed numerically instead of
1271 symbolically.
1272
1273 2003-07-23 Michael Snyder <msnyder@redhat.com>
1274
1275 * gdb.base/return2.exp: Don't test long-long return.
1276
1277 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1278 * gdb.disasm/t01_mov.exp: Ditto.
1279 * gdb.disasm/t02_mova.s: Ditto.
1280 * gdb.disasm/t02_mova.exp: Ditto.
1281 * gdb.disasm/t03_add.s: Ditto.
1282 * gdb.disasm/t03_add.exp: Ditto.
1283 * gdb.disasm/t04_sub.s: Ditto.
1284 * gdb.disasm/t04_sub.exp: Ditto.
1285 * gdb.disasm/t05_cmp.s: Ditto.
1286 * gdb.disasm/t05_cmp.exp: Ditto.
1287 * gdb.disasm/t06_ari2.s: Ditto.
1288 * gdb.disasm/t06_ari2.exp: Ditto.
1289 * gdb.disasm/t07_ari3.s: Ditto.
1290 * gdb.disasm/t07_ari3.exp: Ditto.
1291 * gdb.disasm/t08_or.s: Ditto.
1292 * gdb.disasm/t08_or.exp: Ditto.
1293 * gdb.disasm/t09_xor.s: Ditto.
1294 * gdb.disasm/t09_xor.exp: Ditto.
1295 * gdb.disasm/t10_and.s: Ditto.
1296 * gdb.disasm/t10_and.exp: Ditto.
1297 * gdb.disasm/t11_logs.s: Ditto.
1298 * gdb.disasm/t11_logs.exp: Ditto.
1299 * gdb.disasm/t12_bit.s: Ditto.
1300 * gdb.disasm/t12_bit.exp: Ditto.
1301 * gdb.disasm/t13_otr.s: Ditto.
1302 * gdb.disasm/t13_otr.exp: Ditto.
1303
1304 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1305
1306 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1307
1308 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1309
1310 * gdb.threads/tls.c : New file.
1311 * gdb.threads/tls.exp : New file.
1312 * gdb.threads/tls-main.c : New file.
1313 * gdb.threads/tls-shared.c : New file.
1314 * gdb.threads/tls-shared.exp : New file.
1315
1316 2003-07-22 Andreas Schwab <schwab@suse.de>
1317
1318 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1319
1320 2003-07-20 Andreas Schwab <schwab@suse.de>
1321
1322 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1323 due to insn reordering.
1324
1325 2003-07-15 Andrew Cagney <cagney@redhat.com>
1326
1327 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1328
1329 2003-07-15 Michael Chastain <mec@shout.net>
1330
1331 * gdb.base/gdb1250.exp: New file.
1332 * gdb.base/gdb1250.c: New file.
1333
1334 2003-07-09 Michal Ludvig <mludvig@suse.cz>
1335
1336 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1337 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1338
1339 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1340
1341 * gdb.threads/tls.c: New file.
1342 * gdb.threads/tls.exp: New file.
1343 * gdb.threads/tls-main.c: New file.
1344 * gdb.threads/tls-shared.c: New file.
1345 * gdb.threads/tls-shared.exp: New file.
1346
1347 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1348
1349 * gdb.base/annota1.exp: Make sure that we properly escape the
1350 full path of the source file. Xfail more permissive patterns,
1351 due to a compiler debug info problem.
1352
1353 2003-07-07 Andreas Schwab <schwab@suse.de>
1354
1355 * gdb.asm/m68k.inc: New file.
1356 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1357
1358 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1359 arguments"): Also match negative number.
1360
1361 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1362
1363 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
1364
1365 * gdb.base/store.c (charest): New typedef.
1366 (add_char): Rename to add_charest, update.
1367 (wack_char): Rename to wack_charest, update types. Return l + r
1368 to keep r live across the call.
1369 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1370 (wack_double, wack_doublest): Return l + r to keep r live across
1371 the call.
1372 * gdb.base/store.exp: Accomodate store.c changes.
1373
1374 2003-06-30 David Carlton <carlton@kealia.com>
1375
1376 * gdb.c++/maint.exp (test_invalid_name): New.
1377 (test_first_component): Add tests for invalid names.
1378
1379 2003-06-29 Michael Chastain <mec@shout.net>
1380
1381 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1382 output of '<VTT for class>' for virtual base classes.
1383
1384 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1385
1386 * gdb.base/completion.exp: Tab-complete "complet" instead of
1387 "compl".
1388 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1389
1390 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1391
1392 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1393 * gdb.base/volatile.exp: Likewise.
1394
1395 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1396
1397 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1398 gdb/1265.
1399
1400 2003-06-28 Michael Chastain <mec@shout.net>
1401 Daniel Jacobowitz <drow@mvista.com>
1402
1403 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1404 initial line count of 'captured_main' from 26 to 32.
1405 (test_with_self): Allow xmalloc call to be interleaved with the
1406 preceding two lines.
1407
1408 2003-06-24 Joel Brobecker <brobecker@gnat.com>
1409
1410 * gdb.base/bang.exp: New testcase.
1411
1412 2003-06-23 Joel Brobecker <brobecker@gnat.com>
1413
1414 * gdb.base/langs.exp: Add some tests for the "minimal" language
1415 support.
1416
1417 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
1418
1419 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1420 the testcase.
1421
1422 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
1423
1424 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1425 offset.
1426
1427 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
1428
1429 * gdb.c++/pr-1210.cc: New file.
1430 * gdb.c++/pr-1210.exp: New file.
1431
1432 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
1433
1434 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1435 000-exec-continue.
1436
1437 2003-06-15 Mark Kettenis <kettenis@gnu.org>
1438
1439 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1440 on *-*-*bsd* instead of *-*-freebsd*.
1441
1442 2003-06-14 Andrew Cagney <cagney@redhat.com>
1443
1444 * gdb.base/store.exp: Test longest and doublest. Test all
1445 parameters. Weaken return statement match.
1446 * gdb.base/store.c: Add longest and doublest - aka long long and
1447 long double functions. Put all parameters into local register
1448 variables. Use negative values.
1449
1450 2003-06-14 Andrew Cagney <cagney@redhat.com>
1451
1452 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1453 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1454 exit status.
1455 * gdb.base/fileio.exp: Disable target when nointerrupts and
1456 noinferiorio, instead of limiting it to remote. Use remote_exec
1457 instead of system.
1458
1459 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1460
1461 * gdb.base/float.exp: Add ia64 support.
1462
1463 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
1464
1465 * gdb.base/fileio.exp: Run only on remote targets.
1466
1467 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
1468
1469 * gdb.base/fileio.c: New file, testing File-I/O.
1470 * gdb.base/fileio.exp: Ditto.
1471
1472 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1473
1474 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1475 shared objects after relocation at load time (gdb PR/1132).
1476 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1477 as above, part of the shared object relocation test.
1478
1479 2003-06-08 Mark Kettenis <kettenis@gnu.org>
1480
1481 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1482 fully filled history list.
1483 * gdb.base/gdb_history: New file.
1484
1485 * gdb.base/signals.exp: XFAIL "continue to func1" on
1486 i*86-*-freebsd*.
1487
1488 * gdb.base/attach.exp: When trying to attach to a nonexistent
1489 process, make it possible to specify the PID based on the target,
1490 and do so for *-*-freebsd*.
1491
1492 2003-06-02 Richard Henderson <rth@redhat.com>
1493
1494 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1495
1496 2003-06-02 Richard Henderson <rth@redhat.com>
1497
1498 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1499
1500 2003-06-02 Richard Henderson <rth@redhat.com>
1501
1502 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1503
1504 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
1505
1506 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1507 of globalvar.
1508
1509 2003-06-01 Mark Kettenis <kettenis@gnu.org>
1510
1511 * gdb.asm/asm-source.exp: Check for memory read errors in
1512 disassembler test on *BSD too.
1513
1514 2003-06-01 Richard Henderson <rth@redhat.com>
1515
1516 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1517 for .frame.
1518 (gdbasm_call): Lose ldgp.
1519 (gdbasm_startup): Add frame information.
1520 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1521
1522 2003-05-31 Mark Kettenis <kettenis@gnu.org>
1523
1524 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1525 i?86-*-*.
1526
1527 2003-05-30 Mark Kettenis <kettenis@gnu.org>
1528
1529 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1530 FreeBSD.
1531
1532 2003-05-29 Richard Henderson <rth@redhat.com>
1533
1534 * gdb.asm/alpha.inc: New file.
1535 * gdb.asm/asm-source.exp: Use it.
1536
1537 2003-05-29 Jim Blandy <jimb@redhat.com>
1538
1539 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1540 'core.PID'.
1541
1542 2003-05-22 Jim Blandy <jimb@redhat.com>
1543
1544 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1545 backtrace.
1546
1547 2003-05-20 David Carlton <carlton@math.stanford.edu>
1548
1549 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1550 this time.
1551
1552 2003-05-19 David Carlton <carlton@bactrian.org>
1553
1554 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1555 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1556
1557 2003-05-19 David Carlton <carlton@bactrian.org>
1558
1559 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1560 namespace tests.
1561 Bump copyright date.
1562 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1563 (main): Call C::D::marker2.
1564 * gdb.c++/namespace1.cc: New file.
1565
1566 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1567
1568 Roland McGrath <roland@redhat.com>
1569 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1570 there is no manager thread.
1571
1572 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1573
1574 * gdb.threads/schedlock.exp: Remove assumption that all threads
1575 will run in a particular small time slice. Also ensure we break
1576 in one of the child threads rather than the main thread.
1577
1578 2003-05-07 Jim Blandy <jimb@redhat.com>
1579
1580 Add support for assembly source testing on the s390x.
1581 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1582 architecture.
1583 * gdb.asm/s390x.inc: New file.
1584
1585 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1586 succession of 'if' statements.
1587
1588 2003-05-05 Andrew Cagney <cagney@redhat.com>
1589
1590 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1591
1592 2003-05-05 Andrew Cagney <cagney@redhat.com>
1593
1594 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1595 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1596
1597 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
1598
1599 * gdb.base/charset.exp: Update based on new behavior of set/show
1600 charset commands.
1601
1602 2003-05-01 Andrew Cagney <cagney@redhat.com>
1603
1604 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1605 variable do not give memory errors.
1606
1607 2003-04-30 Adam Fedor <fedor@gnu.org>
1608
1609 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1610 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1611 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1612 gdb.objc/basicclass.m: : New files
1613
1614 * lib/gdb.exp (gdb_compile_objc): New procedure.
1615
1616 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
1617
1618 * gdb.base/signals.exp: Make backtrace tests more specific.
1619
1620 2003-04-23 David Carlton <carlton@bactrian.org>
1621
1622 * gdb.c++/maint.exp (test_first_component): Add tests for
1623 'operator' in more locations.
1624
1625 2003-04-16 Kevin Buettner <kevinb@redhat.com>
1626
1627 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1628
1629 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
1630
1631 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1632 func marke' instead. Update test name.
1633
1634 2003-04-15 David Carlton <carlton@math.stanford.edu>
1635
1636 * gdb.c++/maint.exp: New file.
1637
1638 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1639
1640 * gdb.threads/schedlock.c: Change type of thread function argument
1641 to long, to avoid warnings on 64-bit platforms.
1642
1643 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1644
1645 * gdb.base/attach.exp: Add new message from ptrace in case of
1646 attaching to nonexistent process.
1647
1648 2003-04-11 Jim Blandy <jimb@redhat.com>
1649
1650 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1651 gdb.c++/userdef.cc: Place comments on the lines to which the
1652 marker function might return.
1653 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1654 gdb.c++/userdef.exp: Look for those comments to check that we've
1655 returned to the right place, instead of checking line numbers.
1656
1657 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
1658
1659 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1660 match on sourcefile name, instead of directory name.
1661
1662 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
1663
1664 * gdb.base/completion.exp: Use string_to_regexp to match the
1665 working directory name.
1666
1667 2003-04-09 Jim Blandy <jimb@redhat.com>
1668
1669 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1670 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1671 after an inferior function call, report the failure, but allow the
1672 test to continue.
1673
1674 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1675
1676 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1677 with -DPROTOTYPES.
1678
1679 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1680
1681 * gdb.base/break.exp: Revert last patch.
1682
1683 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1684
1685 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1686 with -DPROTOTYPES.
1687
1688 2003-04-02 Andrew Cagney <cagney@redhat.com>
1689
1690 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1691 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1692 matching directories by the name breakpoint.
1693 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1694 Make "continue to marker1" consistent.
1695 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1696 message consistent.
1697 * lib/gdb.exp: Put "the program is no longer running", and "the
1698 program exited" in parenthesis.
1699 * lib/mi-support.exp: Ditto.
1700
1701 2003-04-02 Bob Rossi <bob_rossi@cox.net>
1702
1703 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1704
1705 2003-03-29 Andrew Cagney <cagney@redhat.com>
1706
1707 * gdb.base/sizeof.c (main): Print the value of '\377'.
1708 * gdb.base/sizeof.exp: Check the sign of '\377'.
1709
1710 2003-03-27 Michael Chastain <mec@shout.net>
1711
1712 * gdb.base/gdb1090.exp: New file.
1713 * gdb.base/gdb1090.cc: New file.
1714
1715 2003-03-27 J. Brobecker <brobecker@gnat.com>
1716
1717 * gdb.gdb/observer.exp: New regression test.
1718
1719 2003-03-27 Michael Chastain <mec@shout.net>
1720
1721 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1722 * gdb.base/ptype.exp: Likewise.
1723
1724 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
1725
1726 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1727
1728 2003-03-26 Michael Chastain <mec@shout.net>
1729
1730 * gdb.base/ptype.exp: Actually use some typedef'd types.
1731
1732 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1733
1734 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1735 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1736
1737 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1738
1739 * gdb.base/default.exp: Fix regular expression.
1740
1741 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1742
1743 * gdb.base/args.exp: Fix regular expression.
1744
1745 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1746
1747 * gdb.base/help.exp: Allow Win32 child process.
1748
1749 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1750
1751 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1752 when stepping out of main().
1753
1754 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1755
1756 * gdb.base/default.exp: Check for win32 specific message when calling
1757 "run" without executable.
1758
1759 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1760
1761 * gdb.base/args.exp: Expect .exe in output.
1762
1763 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1764
1765 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1766 Cygwin native.
1767
1768 2003-03-17 Andrew Cagney <cagney@redhat.com>
1769
1770 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1771 vector registes.
1772 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1773 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1774
1775 2003-03-17 David Carlton <carlton@math.stanford.edu>
1776
1777 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1778 test, for PR breakpoints/38.
1779 Call test_watchpoint_and_breakpoint.
1780 * gdb.base/watchpoint.c (func3): New function.
1781 (main): Call func3.
1782
1783 2003-03-04 David Carlton <carlton@math.stanford.edu>
1784
1785 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1786 Garply<Garply<char> >:: garply".
1787 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1788 with respect to PR c++/1111; note also PR c++/1113.
1789 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1790 respect to PR c++/1062.
1791 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1792
1793 2003-03-03 David Carlton <carlton@math.stanford.edu>
1794
1795 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1796 with respect to PR c++/57.
1797 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1798 c++/826.
1799 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1800 respect to PR c++/57.
1801
1802 2003-03-03 David Carlton <carlton@math.stanford.edu>
1803
1804 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1805 respect to PR c++/33 into FAILs.
1806
1807 2003-03-03 Michael Chastain <mec@shout.net>
1808
1809 * configure.in: Update copyright years.
1810
1811 2003-03-03 Michael Chastain <mec@shout.net>
1812
1813 * Makefile.in: Update copyright years.
1814
1815 2003-02-28 David Carlton <carlton@math.stanford.edu>
1816
1817 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1818 print class instead of struct and/or superfluous protection
1819 specifiers, as long as the resulting output is equivalent to the
1820 source code.
1821 Delete FIXME from end of messages on tests that don't need
1822 fixing.
1823
1824 2003-02-28 David Carlton <carlton@math.stanford.edu>
1825
1826 * gdb.c++/templates.exp (do_tests): Allow const in the two
1827 Foo<volatile char *>::foo tests.
1828
1829 2003-02-27 Michael Snyder <msnyder@redhat.com>
1830
1831 * gdb.base/restore.c (main): Return zero, so exit code
1832 will be consistant.
1833
1834 2003-02-26 David Carlton <carlton@math.stanford.edu>
1835
1836 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1837 char *>::foo" test with respect to PR c++/33. Create a new test
1838 which is identical to that one except that it doesn't put the
1839 space between the "char" and the "*"; KFAIL it, too.
1840
1841 2003-02-26 David Carlton <carlton@math.stanford.edu>
1842
1843 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1844 template types into either PASSes or KFAILs (corresponding to PR
1845 c++/57). Tweak indentation. Update copyright.
1846
1847 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1848
1849 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1850
1851 2003-02-13 Michael Chastain <mec@shout.net>
1852
1853 * gdb.base/exprs.exp: Remove i960 remnants.
1854 * gdb.base/funcargs.exp: Likewise.
1855 * gdb.base/list.exp: Likewise.
1856 * gdb.base/ptype.exp: Likewise.
1857
1858 2003-02-14 David Carlton <carlton@math.stanford.edu>
1859
1860 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1861 pEe->D::vg()" from XFAIL to KFAIL.
1862
1863 2003-02-13 Jason Molenda (jmolenda@apple.com)
1864
1865 * gdb.base/maint.exp: Update maint print statistics regexp to include
1866 new entries.
1867
1868 2003-02-13 Michael Chastain <mec@shout.net>
1869
1870 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1871
1872 2003-02-12 Michael Chastain <mec@shout.net>
1873
1874 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1875 * gdb.c++/inherit.exp: Likewise.
1876 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1877 * gdb.c++/templates.exp: Likewise.
1878 * gdb.c++/virtfunc.exp: Likewise.
1879
1880 2003-02-06 Jason Molenda (jason-cl@molenda.com)
1881
1882 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1883 why the code is written that way.
1884
1885 2003-02-05 Michael Chastain <mec@shout.net>
1886
1887 * gdb.base/dump.exp: Add missing copyright line.
1888
1889 2003-02-05 Jason Molenda (jason-cl@molenda.com)
1890
1891 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
1892 at the beginning so the breakpoint doesn't get set on the loop.
1893
1894 2003-02-05 Michael Chastain <mec@shout.net>
1895
1896 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1897 output for configurations with gcc 2.95.3.
1898
1899 2003-02-05 Keith Seitz <keiths@redhat.com>
1900 Andrew Cagney <ac131313@redhat.com>
1901
1902 * gdb.mi/mi-cli.exp: New file.
1903
1904 2003-02-04 Michael Chastain <mec@shout.net>
1905
1906 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1907 Call perror and then continue.
1908
1909 2003-02-03 Michael Chastain <mec@shout.net>
1910
1911 * gdb.c++/pr-1023.cc: New file.
1912 * gdb.c++/pr-1023.exp: New file.
1913
1914 2003-02-05 Jim Blandy <jimb@redhat.com>
1915
1916 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1917 it's local to foobar. Check for it there, and check that it's not
1918 present in main.
1919 * gdb.c++/local.cc (marker2): New function.
1920 (foobar): Call marker1.
1921 (main): Call marker2 instead of marker1.
1922
1923 2003-02-04 Andrew Cagney <ac131313@redhat.com>
1924
1925 * gdb.disasm/mn10200.exp: Obsolete file.
1926 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1927 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1928 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1929
1930 2003-02-04 David Carlton <carlton@math.stanford.edu>
1931
1932 * gdb.c++/overload.exp: Test intToChar(1).
1933 * gdb.c++/overload.cc (intToChar): New.
1934 (main): Call intToChar.
1935
1936 2003-02-03 David Carlton <carlton@math.stanford.edu>
1937
1938 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1939 'might_kfail' arg.
1940 KFAIL some of the continue_to_bp_overloaded calls, according to
1941 PR c++/1025.
1942
1943 2003-02-01 Michael Chastain <mec@shout.net>
1944
1945 * gdb.base/advance.c (marker1): New marker function.
1946 * gdb.base/advance.exp: When the 'advance' command lands on the
1947 return breakpoint, it can legitimately stop on either the
1948 current line or the next line. Accommodate both outcomes.
1949 * gdb.base/until.exp: Likewise.
1950
1951 2003-02-02 Andrew Cagney <ac131313@redhat.com>
1952
1953 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1954 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1955 now a list, not a tuple.
1956 * gdb.mi/mi-var-display.exp: Ditto.
1957 * gdb.mi/gdb792.exp: Ditto.
1958
1959 2003-02-01 Andrew Cagney <ac131313@redhat.com>
1960
1961 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1962 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1963 stack backtraces.
1964 * gdb.mi/mi-syn-frame.c: Part of same.
1965
1966 2003-02-01 Mark Kettenis <kettenis@gnu.org>
1967
1968 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1969 gdb.mi/mi1-pthreads.exp: Return instead of calling
1970 gdb_suppress_entire_file.
1971
1972 2003-02-01 Mark Salter <msalter@redhat.com>
1973
1974 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1975
1976 2003-01-31 Mark Salter <msalter@redhat.com>
1977
1978 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1979 Support empty arg.
1980
1981 2003-01-30 Michael Chastain <mec@shout.net>
1982
1983 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1984 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1985 has been fixed in gdb/readline on 2003-01-09.
1986
1987 2003-01-29 Michael Snyder <msnyder@redhat.com>
1988
1989 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1990 * gdb.base/display.exp: Allow for leading underscore in symbol.
1991 * gdb.base/args.exp: Skip if target does not support args passing.
1992
1993 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
1994
1995 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
1996 gdb_test. Accept a list of expect arguments as the third
1997 parameter.
1998 (gdb_test): Use it.
1999
2000 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
2001
2002 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2003 allow for different test tree configurations. Update some
2004 tescases accordingly.
2005 * gdb.arch/altivec-regs.exp: Ditto.
2006 * gdb.asm/asm-source.exp: Ditto.
2007 * gdb.base/advance.exp: Ditto.
2008 * gdb.base/display.exp: Ditto.
2009 * gdb.base/long_long.exp: Ditto.
2010 * gdb.base/mips_pro.exp: Ditto.
2011 * gdb.base/overlays.exp: Ditto.
2012 * gdb.base/relocate.exp: Ditto.
2013 * gdb.base/setshow.exp: Ditto.
2014 * gdb.base/step-line.exp: Ditto.
2015 * gdb.base/step-test.exp: Ditto.
2016 * gdb.base/until.exp: Ditto.
2017 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2018
2019 2003-01-17 David Carlton <carlton@math.stanford.edu>
2020
2021 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2022 corresponding to PR c++/945.
2023 Update copyright.
2024
2025 2003-01-17 David Carlton <carlton@math.stanford.edu>
2026
2027 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2028 corresponding to PR c++/68.
2029
2030 2003-01-17 David Carlton <carlton@math.stanford.edu>
2031
2032 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2033 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2034 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2035
2036 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
2037
2038 * gdb.base/break.exp: Fix change of default location, because of
2039 removal of until tests.
2040 * gdb.base/help.exp: Update test for new 'until' help message.
2041 Add test for help on 'advance'.
2042 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2043
2044 2003-01-15 Mark Kettenis <kettenis@gnu.org>
2045
2046 * gdb.base/default.exp: Adapt "info float" test for recent changes
2047 to that command. Add test for "info vector".
2048 * gdb.base/float.exp: New file. Add test for "info float" that
2049 resembles the old test in gdb.base/default.exp.
2050
2051 2003-01-15 David Carlton <carlton@math.stanford.edu>
2052
2053 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2054
2055 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
2056
2057 * gdb.base/break.exp: Move the tests of until command from here...
2058 * gdb.base/until.exp: ... to here. New file. Add other tests.
2059 * gdb.base/advance.c: New file.
2060 * gdb.base/advance.exp: New file.
2061
2062 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
2063
2064 * gdb.base/args.c: New file.
2065 * gdb.base/args.exp: New file.
2066
2067 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2068
2069 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2070
2071 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2072
2073 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2074
2075 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2076
2077 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2078 dates.
2079
2080 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2081
2082 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2083
2084 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2085
2086 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2087 (ptype &*"foo").
2088 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2089
2090 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2091
2092 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2093 * gdb.mi/mi1-console.exp: Likewise.
2094
2095 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2096
2097 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2098 * gdb.mi/mi1-console.exp: Likewise.
2099
2100 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2101
2102 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2103
2104 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2105
2106 * gdb.base/detach.exp: New test.
2107
2108 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2109
2110 * Makefile.in (ALL_SUBDIRS): New variable.
2111 (subdirs, clean, distclean): Use it.
2112 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2113 regenerating Makefile, since it is generated from the top level.
2114 * gdb.asm/Makefile.in: Likewise.
2115 * gdb.base/Makefile.in: Likewise.
2116 * gdb.c++/Makefile.in: Likewise.
2117 * gdb.disasm/Makefile.in: Likewise.
2118 * gdb.java/Makefile.in: Likewise.
2119 * gdb.mi/Makefile.in: Likewise.
2120 * gdb.threads/Makefile.in: Likewise.
2121 * gdb.trace/Makefile.in: Likewise.
2122
2123 2003-01-09 David Carlton <carlton@math.stanford.edu>
2124
2125 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2126 Add copyright year 2003.
2127
2128 2003-01-06 Michael Chastain <mec@shout.net>
2129
2130 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2131 When selecting a thread, 'line' and 'file' are optional.
2132 * gdb.mi/mi1-pthreads.exp: Likewise.
2133
2134 2003-01-06 Andreas Schwab <schwab@suse.de>
2135
2136 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2137 failures.
2138
2139 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2140
2141 Fix PR gdb/844
2142 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2143 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2144
2145 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2146 instead of calling gdb_suppress_entire_file.
2147 * gdb.threads/print-threads.exp: Likewise.
2148 * gdb.threads/schedlock.exp: Likewise.
2149
2150 * gdb.threads/killed.exp: Return instead of calling
2151 gdb_suppress_entire_file.
2152 * gdb.threads/linux-dp.exp: Likewise.
2153 * gdb.threads/pthreads.exp: Likewise.
2154
2155 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2156
2157 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2158 stabs.
2159 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2160 * gdb.base/whatis.exp: Always allow (void) after function names.
2161
2162 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2163
2164 * gdb.c++/casts.exp: Correct regexp.
2165
2166 2003-01-04 Mark Kettenis <kettenis@gnu.org>
2167
2168 * configure.in: Call AC_CONFIG_HEADER. Don't call
2169 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2170 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2171 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2172 aforementioned directories in the AC_OUPUT call.
2173 * config.hin: New file.
2174 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2175 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2176 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2177 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2178 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2179 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2180 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2181 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2182 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2183 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2184 gdb.threads/configure.in, gdb.threads/configure,
2185 gdb.threads/config.in, gdb.trace/configure.in,
2186 gdb.trace/configure: Removed.
2187
2188 2003-01-03 Michael Chastain <mec@shout.net>
2189
2190 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2191 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2192
2193 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
2194
2195 * gdb.base/store.exp: Fix regular expressions.
2196
2197 2002-12-28 Mark Kettenis <kettenis@gnu.org>
2198
2199 * configure.in: Rewrite.
2200 * configure: Regenerated.
2201
2202 2003-01-03 David Carlton <carlton@math.stanford.edu>
2203
2204 * gdb.base/psymtab.exp: New file.
2205 * gdb.base/psymtab1.c: Ditto.
2206 * gdb.base/psymtab2.c: Ditto.
2207
2208 2002-12-23 Adam Fedor <fedor@gnu.org>
2209
2210 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2211
2212 2002-12-23 David Carlton <carlton@math.stanford.edu>
2213
2214 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2215 and current_directory initialization.
2216
2217 2002-12-22 Jim Blandy <jimb@redhat.com>
2218
2219 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2220 rather than as part of the output file name.
2221
2222 * gdb.base/attach.exp: There's no need to copy the test program to
2223 /tmp; that was only ever necessary on HP/UX, and this test is
2224 entirely disabled there anyway.
2225
2226 2002-12-21 Jim Blandy <jimb@redhat.com>
2227
2228 * gdb.c++/psmang.exp: Doc fix.
2229
2230 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2231 test.
2232
2233 2002-12-20 David Carlton <carlton@math.stanford.edu>
2234
2235 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2236
2237 2002-12-18 Michael Chastain <mec@shout.net>
2238
2239 * gdb.c++/annota2.exp: Add copyright year 2002.
2240
2241 2002-12-17 David Carlton <carlton@math.stanford.edu>
2242
2243 * gdb.c++/try_catch.cc: Add marker comments.
2244 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2245 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2246 * gdb.c++/m-static.cc: Ditto.
2247 * gdb.c++/m-static1.cc: Ditto.
2248 * gdb.c++/try_catch.cc: Ditto.
2249
2250 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2251
2252 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2253 to see whether we are using the new -environment-directory
2254 command which resets via -r or the old version of the command
2255 which may prompt the user. Part of fix for gdb/741.
2256
2257 2002-12-13 Andrew Cagney <ac131313@redhat.com>
2258
2259 * gdb.fortran/types.exp: Update obsolete comment.
2260 * gdb.fortran/exprs.exp: Ditto.
2261 * lib/gdb.exp: Delete obsolete code.
2262 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2263 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2264 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2265 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2266 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2267 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2268 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2269 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2270 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2271 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2272 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2273 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2274 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2275 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2276 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2277 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2278 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2279 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2280 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2281 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2282 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2283 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2284 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2285 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2286 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2287 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2288 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2289 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2290 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2291 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2292 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2293 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2294 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2295 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2296 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2297 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2298 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2299
2300 2002-12-11 David Carlton <carlton@math.stanford.edu>
2301
2302 * gdb.c++/m-data.exp: Add test for members that shadow global
2303 variables: see PR gdb/804.
2304 * gdb.c++/m-data.cc: Ditto.
2305
2306 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
2307
2308 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2309
2310 2002-12-06 David Carlton <carlton@math.stanford.edu>
2311
2312 * gdb.base/store.c: Don't declare functions static.
2313
2314 2002-12-04 Andrew Cagney <ac131313@redhat.com>
2315
2316 * gdb.base/store.exp, gdb.base/store.c: New files.
2317
2318 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2319
2320 * gdb.base/selftest.exp: Update for current gdb.
2321
2322 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2323
2324 * gdb.base/maint.exp: Only dump symbols from one source file
2325 or objfile.
2326
2327 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2328
2329 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2330 function call.
2331
2332 2002-11-25 Jim Blandy <jimb@redhat.com>
2333
2334 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2335 function appearing in error message.
2336
2337 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
2338
2339 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2340
2341 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2342
2343 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2344 for mi1 and current mi is in correct format. New mi startup message
2345 should be in mi console format. This is part of fix for PR gdb/604.
2346
2347 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2348
2349 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2350 which explicitly prints the zero offset as "+0".
2351
2352 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
2353
2354 * gdb.threads/schedlock.c (args): Make unsigned.
2355
2356 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
2357
2358 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2359 numbers. Allow "foo2|selected stack frame".
2360 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2361 * gdb.asm/asmsrc2.s: Likewise.
2362 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2363 comments.
2364 * gdb.asm/mips.inc: New file.
2365
2366 2002-10-18 Adam Fedor <fedor@gnu.org>
2367
2368 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2369 * gdb.base/help.exp: Likewise.
2370
2371 2002-10-17 Kevin Buettner <kevinb@redhat.com>
2372
2373 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2374 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2375
2376 2002-10-02 Jim Blandy <jimb@redhat.com>
2377
2378 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2379
2380 2002-10-01 Andrew Cagney <ac131313@redhat.com>
2381
2382 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2383 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2384 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2385 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2386 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2387 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2388 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2389
2390 2002-09-29 Andrew Cagney <ac131313@redhat.com>
2391
2392 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2393 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2394 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2395 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2396 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2397 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2398 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2399
2400 2002-09-27 Kevin Buettner <kevinb@redhat.com>
2401
2402 * gdb.base/annota1.exp (info break): Make directory components of
2403 path optional since not all compilers emit this debug information.
2404
2405 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2406 step ends up stepping out of the function instead of stopping on
2407 the epilogue.
2408
2409 2002-09-26 Keith Seitz <keiths@redhat.com>
2410
2411 * lib/insight-support.exp (gdbtk_start): Figure out where
2412 the insight executable is based on where gdb is. Use this
2413 executable to start insight instead of gdb.
2414
2415 2002-09-25 Andrew Cagney <cagney@redhat.com>
2416
2417 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2418
2419 2002-09-24 Andrew Cagney <ac131313@redhat.com>
2420
2421 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2422 test_isolated_complaints.
2423 (test_empty_complaint): New function.
2424 (test_empty_complaints): New function. Check no output when no
2425 complaints.
2426
2427 2002-09-19 Jim Blandy <jimb@redhat.com>
2428
2429 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2430
2431 2002-09-19 Andrew Cagney <ac131313@redhat.com>
2432
2433 * gdb.gdb/complaints.exp: New file.
2434
2435 2002-09-18 Andrew Cagney <ac131313@redhat.com>
2436
2437 * gdb.base/maint.exp: Check `help maint internal-warning'.
2438
2439 2002-09-18 David Carlton <carlton@math.stanford.edu>
2440
2441 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2442 numbers, and replace them by a single breakpoint after the
2443 constructors are all finished.
2444 Add test 4.
2445 * gdb.c++/m-static.cc: Add test 4.
2446 * gdb.c++/m-static.h: New file.
2447 * gdb.c++/m-static1.cc: New file.
2448
2449 * gdb.c++/printmethod.exp: New file.
2450 * gdb.c++/printmethod.cc: New file.
2451
2452 * gdb.c++/pr-574.exp: New file.
2453 * gdb.c++/pr-574.cc: New file.
2454
2455 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2456
2457 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2458 embedded targets which never actually exit.
2459
2460 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2461
2462 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2463 "don't step after run" as unresolved or unsupported, instead of xfail.
2464
2465 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2466
2467 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2468 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2469 Add newline to expected string in "step out of main (status wrapper)"
2470 case.
2471
2472 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2473
2474 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2475 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2476
2477 2002-09-17 Tom Tromey <tromey@redhat.com>
2478
2479 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2480 \000, not \0, in double-quoted string.
2481
2482 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
2483
2484 * gdb.base/commands.exp: Don't expect a "Program exited normally"
2485 string after running the commands execution on breakpoint tests.
2486
2487 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
2488
2489 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2490
2491 2002-09-12 Joel Brobecker <brobecker@gnat.com>
2492
2493 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2494
2495 2002-09-10 Keith Seitz <keiths@redhat.com>
2496
2497 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2498 runto proc.
2499 (mi_run_to_main): Use mi_runto.
2500 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2501
2502 2002-09-10 Keith Seitz <keiths@redhat.com>
2503
2504 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2505 regexp for stopping at main. Could have multiple event notifications.
2506 Don't assume that main was declared with no parameters.
2507 (mi_next): Use mi_step_to.
2508 (mi_step): Use mi_next_to.
2509
2510 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
2511
2512 * gdb.base/default.exp: Fix expected string in `info float' test.
2513
2514 2002-09-09 Ben Elliston <bje@redhat.com>
2515
2516 * config/mips.exp: Update comments.
2517 * config/mips-idt.exp: Likewise.
2518 * config/nind.exp: Likewise.
2519 * config/slite.exp: Likewise.
2520 * config/sparclet.exp: Likewise.
2521 * config/udi.exp: Likewise.
2522 * config/vx.exp: Likewise.
2523 * config/vxworks29k.exp: Likewise.
2524
2525 2002-09-05 Jim Blandy <jimb@redhat.com>
2526
2527 * gdb.threads/killed.exp: Fix test failure message.
2528
2529 2002-09-04 Keith Seitz <keiths@redhat.com>
2530
2531 * lib/mi-support.exp: Update copyright.
2532 (mi_gdb_test): Increase the priority of the expected pattern
2533 so that it matches gdb_test.
2534
2535 2002-09-03 Keith Seitz <keiths@redhat.com>
2536
2537 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2538 Use integer comparison instead of string comparison for testing
2539 whether binary was built.
2540
2541 2002-09-03 Jim Blandy <jimb@redhat.com>
2542
2543 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2544
2545 2002-08-29 Jim Blandy <jimb@redhat.com>
2546
2547 * gdb.threads/pthreads.exp: Move the portable thread compilation
2548 code into a function in lib/gdb.exp, and call that from here.
2549 * lib/gdb.exp (gdb_compile_pthreads): New function.
2550
2551 2002-08-29 Keith Seitz <keiths@redhat.com>
2552
2553 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2554 expect_out so that callers can get at it.
2555
2556 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
2557
2558 * gdb.threads/print-threads.c: New file.
2559 * gdb.threads/print-threads.exp: New file.
2560 * gdb.threads/schedlock.c: New file.
2561 * gdb.threads/schedlock.exp: New file.
2562
2563 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
2564
2565 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2566 not altivec.c.
2567
2568 2002-08-17 Mark Kettenis <kettenis@gnu.org>
2569
2570 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2571 targets. The problem should be fixed now.
2572
2573 2002-08-15 Mark Kettenis <kettenis@gnu.org>
2574
2575 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2576 2002-07-24 change that removes final dots from error messages.
2577
2578 2002-08-13 Tom Tromey <tromey@redhat.com>
2579
2580 * gdb.base/readline.exp: New file.
2581
2582 2002-08-01 Andrew Cagney <ac131313@redhat.com>
2583
2584 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2585 supress message.
2586
2587 2002-08-01 Andrew Cagney <cagney@redhat.com>
2588
2589 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2590 CHILL_FOR_TARGET and CHILL_LIB.
2591 * configure.in (configdirs): Remove gdb.chill.
2592 * configure: Regenerate.
2593 * lib/gdb.exp: Obsolete references to chill.
2594 * gdb.fortran/types.exp: Ditto.
2595 * gdb.fortran/exprs.exp: Ditto.
2596
2597 2002-07-30 Kevin Buettner <kevinb@redhat.com>
2598
2599 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2600 set Irix-specific compile and link flags.
2601
2602 2002-07-29 Kevin Buettner <kevinb@redhat.com>
2603
2604 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2605 source files. The ``-o'' option doesn't work with the ``-E'' option
2606 when using the Irix compiler.
2607
2608 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
2609
2610 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2611 Improve support for reusing an exec file. Copy exec file
2612 to target, and run gdbserver on the target instead of on the host.
2613
2614 2002-07-18 Jim Blandy <jimb@redhat.com>
2615
2616 * gdb.base/ending-run.exp: Don't expect to see the program end in
2617 some orderly fashion when we're running on a real stand-alone
2618 board.
2619
2620 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2621 targets that don't support interrupts.
2622
2623 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2624
2625 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2626 systems.
2627 Move comments in expect statements to inside the actions, so that they
2628 don't get matched against.
2629
2630 2002-07-10 Mark Kettenis <kettenis@gnu.org>
2631
2632 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2633 function when asleep" test.
2634
2635 2002-07-10 Andrew Cagney <ac131313@redhat.com>
2636
2637 * gdb.base/page.exp: Rewrite to handle problems with very long
2638 `info set' output. Update copyright.
2639
2640 2002-06-26 Andrew Cagney <ac131313@redhat.com>
2641
2642 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2643 gdb.threads-hp.
2644 * gdb.hp/configure: Regenerate.
2645 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2646 * gdb.hp/gdb.threads-hp/configure: Delete file.
2647 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2648
2649 2002-06-22 Andrew Cagney <ac131313@redhat.com>
2650
2651 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2652 setlocale, bindtextdomain and textdomain.
2653
2654 2002-06-11 Jim Blandy <jimb@redhat.com>
2655
2656 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2657 preprocessor macro information is present.
2658
2659 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2660 tests.
2661
2662 2002-06-06 Michael Snyder <msnyder@redhat.com>
2663
2664 * gdb.base/overlays.exp: Record addresses of overlay
2665 functions in TCL variables rather than in GDB variables,
2666 to avoid having GDB convert them to pointers (with loss
2667 of information).
2668
2669 * gdb.base/d10v.ld: Merge in several years worth of
2670 default linker script changes.
2671 * gdb.base/long_long.exp: Add check for sizeof (long double).
2672
2673 2002-06-06 Michal Ludvig <mludvig@suse.cz>
2674
2675 * gdb.asm/asm-source.exp: Add x86-64 target.
2676 * gdb.asm/x86_64.inc: New.
2677
2678 2002-05-30 Michael Chastain <mec@shout.net>
2679
2680 From Benjamin Kosnik <bkoz@redhat.com>:
2681 * gdb.c++/m-static.cc: New file.
2682 * gdb.c++/m-static.exp: New file.
2683
2684 2002-05-28 Michael Snyder <msnyder@redhat.com>
2685
2686 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2687 precision.
2688
2689 2002-05-27 Michael Chastain <mec@shout.net>
2690
2691 From Benjamin Kosnik <bkoz@redhat.com>:
2692 * gdb.c++/m-data.cc: New file.
2693 * gdb.c++/m-data.exp: New file.
2694
2695 2002-05-27 Michael Chastain <mec@shout.net>
2696
2697 From Benjamin Kosnik <bkoz@redhat.com>:
2698 * gdb.c++/try_catch.cc: New file.
2699 * gdb.c++/try_catch.exp: New file.
2700
2701 2002-05-27 Michael Chastain <mec@shout.net>
2702
2703 * gdb.c++/local.exp: Accept more nested types in output.
2704
2705 2002-05-26 Michael Chastain <mec@shout.net>
2706
2707 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2708
2709 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2710
2711 * lib/gdb.exp (gdb_wrapper_init): Just because
2712 gdb_wrapper_file exists, this does not mean that the file
2713 should not be rebuilt. That is what gdb_wrapper_initialized
2714 is for.
2715 (default_gdb_init): Reset gdb_wrapper_initialized.
2716
2717 2002-05-23 Michael Snyder <msnyder@redhat.com>
2718
2719 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2720 the precision of the floating point test results.
2721 * gdb.base/call-rt-st.exp: Ditto.
2722
2723 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2724 * gdb.base/call-rt-st.exp: Ditto.
2725
2726 2002-05-19 Michael Chastain <mec@shout.net>
2727
2728 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2729
2730 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
2731
2732 * configure.in (configdirs): Add gdb.arch.
2733 * configure: Regenerate.
2734
2735 2002-05-17 Jim Blandy <jimb@redhat.com>
2736
2737 * gdb.base/completion.exp: Recognize the more detailed error
2738 messages produced by the macro expander's lexical analyzer.
2739
2740 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2741
2742 * gdb.arch/altivec-abi.c: New file.
2743 * gdb.arch/altivec-abi.exp: New file.
2744 * gdb.arch/altivec-regs.c: New file.
2745 * gdb.arch/altivec-regs.exp: New file.
2746
2747 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
2748
2749 * gdb.base/maint.exp (maint print type): Update for new type
2750 structure.
2751
2752 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2753
2754 * gdb.arch: New directory.
2755 * gdb.arch/configure.in: New file.
2756 * gdb.arch/configure: New file.
2757 * gdb.arch/Makefile.in: New file.
2758
2759 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
2760
2761 * gdb.asm/asm-source.exp: Add v850 as supported target.
2762 * gdb.asm/v850.inc: New file.
2763
2764 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
2765
2766 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2767
2768 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
2769
2770 * gdb.base/break.exp: Check 'break "marker2"'.
2771
2772 2002-05-10 Michael Snyder <msnyder@redhat.com>
2773
2774 * gdb.base/long_long.exp: Fix typo.
2775
2776 2002-05-10 Jim Blandy <jimb@redhat.com>
2777
2778 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2779 a bug.
2780
2781 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2782 Recognize more detailed error message produced by the macro
2783 expander's lexical analyzer.
2784 * lib/gdb.exp (test_print_reject): Same.
2785
2786 2002-05-09 Mark Kettenis <kettenis@gnu.org>
2787
2788 * gdb.c++/method.exp: Fix typo.
2789
2790 2002-05-08 Michael Snyder <msnyder@redhat.com>
2791
2792 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2793 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2794 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2795 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2796 Add iftarget clause for strongarm.
2797
2798 2002-05-06 Michael Snyder <msnyder@redhat.com>
2799
2800 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2801 (gdb_continue_to_end): Accept output from status wrapper.
2802 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2803 Clean up fail messages to match pass messages.
2804
2805 Enable the "needs_status_wrapper" testsuite feature.
2806 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2807 (gdb_compile): Conditionally call gdb_wrapper_init.
2808 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2809 * gdb.c++/method.exp: Recognize output from status wrapper.
2810
2811 2002-05-06 Ben Elliston <bje@redhat.com>
2812 From Graydon Hoare <graydon@redhat.com>
2813
2814 * config/sid.exp: Include support for "rawsid" protocol.
2815
2816 2002-05-03 Jim Blandy <jimb@redhat.com>
2817
2818 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2819 * gdb.c++/hang3.C: New file.
2820
2821 2002-05-04 Andrew Cagney <ac131313@redhat.com>
2822
2823 * gdb.base/default.exp: Remove obsolete code.
2824 * gdb.c++/misc.exp: Ditto. Update copyright.
2825 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2826 * gdb.base/whatis.exp: Ditto. Update copyright.
2827 * gdb.base/scope.exp: Ditto. Update copyright.
2828 * gdb.base/ptype.exp: Ditto. Update copyright.
2829 * gdb.base/printcmds.exp: Ditto. Update copyright.
2830 * gdb.base/opaque.exp: Ditto. Update copyright.
2831 * gdb.base/list.exp: Ditto.
2832 * gdb.base/funcargs.exp: Ditto. Update copyright.
2833 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2834 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2835 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2836 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2837 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2838 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2839
2840 2002-05-02 Michael Snyder <msnyder@redhat.com>
2841
2842 * gdb.base/watchpoint.exp: Add xscale target.
2843 * gdb.base/long_long.exp: Add xscale target.
2844 * gdb.base/default.exp: Add xscale target.
2845
2846 2002-05-01 Jim Blandy <jimb@redhat.com>
2847
2848 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2849 gdb.c++/hang.exp: New test.
2850
2851 2002-05-01 Fred Fish <fnf@redhat.com>
2852
2853 * gdb.base/completion.exp: Handle completions of "./Make" for
2854 more than one completion possibility, as is the case when we
2855 build and test in the source tree.
2856
2857 2002-04-29 Anthony Green <green@redhat.com>
2858
2859 * gdb.java/jmisc1.exp: New file.
2860 * gdb.java/jmisc2.exp: New file.
2861
2862 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
2863
2864 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2865
2866 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
2867
2868 * gdb.base/help.exp: Change 'help status' to allow for target
2869 dependent output differences.
2870
2871 2002-04-22 Michael Chastain <mec@shout.net>
2872
2873 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2874
2875 2002-04-22 Michael Chastain <mec@shout.net>
2876
2877 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2878
2879 2002-04-17 David S. Miller <davem@redhat.com>
2880
2881 * gdb.asm/sparc64.inc: New file.
2882 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2883
2884 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
2885
2886 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2887 instruction file directly into the build tree. Clean up at end of
2888 test.
2889
2890 2002-04-18 David S. Miller <davem@redhat.com>
2891
2892 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2893 handle 64-bit platforms correctly.
2894 * gdb.base/maint.exp: Likewise.
2895
2896 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2897
2898 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2899 ``-fpic'' when compiling files comprising a shared library, but
2900 it does need additional linker flags in order to find shared
2901 libraries at run time.
2902
2903 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2904
2905 * gdb.base/cvexpr.c (use): New function.
2906 (main): Invoke use() on all global variables to prevent
2907 some linkers from deleting these otherwise unused symbols.
2908
2909 2002-04-17 Michael Chastain <mec@shout.net>
2910 From David S. Miller <davem@redhat.com>
2911
2912 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2913 handle 64-bit platforms correctly.
2914
2915 2002-04-12 Michael Snyder <msnyder@redhat.com>
2916 From Jim Blandy <jimb@redhat.com>
2917 * gdb.base/foo.c (foox): Remove section attribute; the linker
2918 script can handle this instead.
2919 * gdb.base/bar.c (barx): Same.
2920 * gdb.base/baz.c (bazx): Same.
2921 * gdb.base/grbx.c (grbxx): Same.
2922
2923 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2924 manager doesn't automatically unmap overlays unnecessarily.
2925
2926 2002-04-10 Martin M. Hunt <hunt@redhat.com>
2927
2928 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2929 stepping out of main.
2930
2931 2002-04-09 Michael Chastain <mec@shout.net>
2932
2933 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2934 scope so that the nested scope tests will make sense.
2935 * gdb.c++/local.exp: Write patterns that actually work with gcc
2936 (the HP patterns "were never known to work with gcc").
2937 Keep the old aCC patterns too.
2938
2939 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
2940
2941 * gdb.base/attach.exp: Correct target board test.
2942
2943 2002-04-08 Michael Chastain <mec@shout.net>
2944
2945 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2946 in a const method. Add some xfail and fail cases for configurations
2947 that do not emit the "const ...".
2948
2949 2002-04-07 Michael Chastain <mec@shout.net>
2950
2951 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2952 Accept "A * const" and "const A * const" as type of "this".
2953 Fix spelling of getFunky throughout. Make messages uniform.
2954
2955 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
2956
2957 Work around for PR gdb/285:
2958 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2959
2960 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
2961
2962 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2963 instructions file at run time instead of configure time.
2964 Sometimes we run the test in a directory that is not the one we
2965 configured in.
2966 * gdb.asm/configure.in: Delete creation of symlink.
2967 * gdb.asm/configure: Regenerate.
2968
2969 2002-04-05 J. Brobecker <brobecker@gnat.com>
2970
2971 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2972 xfullpath () function.
2973
2974 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
2975
2976 * gdb.asm/Makefile.in: Correct dependencies.
2977
2978 * gdb.asm/powerpc.inc: New file.
2979 * gdb.asm/asm-source.exp: Add PowerPC.
2980 * gdb.asm/configure.in: Likewise.
2981 * gdb.asm/configure: Regenerated.
2982
2983 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
2984
2985 * gdb.base/relocate.exp: New file.
2986 * gdb.base/relocate.c: New file.
2987
2988 2002-04-04 Fred Fish <fnf@redhat.com>
2989
2990 * gdb.base/step-test.exp: Update comment regarding stopping in
2991 memcpy/bcopy calls inserted as part of the compiler runtime.
2992
2993 2002-04-04 Michael Snyder <msnyder@redhat.com>
2994
2995 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2996
2997 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
2998
2999 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3000 (gdb_expect): Remove $notransfer hack.
3001
3002 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
3003
3004 * gdb.c++/classes.exp ("calling method for small class"): Match
3005 updated register output.
3006
3007 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
3008
3009 Fix PR gdb/452
3010 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3011 when finished. Make gdb_file_cmd send "exec-file" when
3012 appropriate.
3013
3014 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
3015
3016 * gdb.base/attach.exp: Remove extra setup_xfail.
3017
3018 2002-03-26 Michael Snyder <msnyder@redhat.com>
3019
3020 * gdb.base/default.exp: Add tests for dump, append, and restore.
3021 * gdb.base/help.exp: Add tests for dump, append, and restore.
3022 * gdb.base/dump.exp: New file, test dump, append and restore.
3023 * gdb.base/dump.c: New file.
3024
3025 2002-03-27 Michael Snyder <msnyder@redhat.com>
3026
3027 * gdb.base/help.exp: Modify expect strings to reflect
3028 clean-ups in help messages.
3029
3030 2002-03-26 Fred Fish <fnf@redhat.com>
3031
3032 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3033 have debugging info for those functions and the compiler uses them
3034 internally to copy structs around.
3035
3036 2002-03-26 Fred Fish <fnf@redhat.com>
3037
3038 * gdb.base/list.exp: Revert the change made yesterday and add note
3039 about why we don't list the default lines for remote targets.
3040
3041 2002-03-25 Michael Snyder <msnyder@redhat.com>
3042
3043 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3044
3045 2002-03-25 Fred Fish <fnf@redhat.com>
3046
3047 * gdb.base/list.exp: This test works on remote targets so remove
3048 the short circuit for remote targets. Update copyright.
3049
3050 2002-03-25 Fred Fish <fnf@redhat.com>
3051
3052 * gdb.base/attach.exp: Fix logic error that was suppressing this
3053 test for all non hppa*-*-hpux* targets, instead of the hp target.
3054 Move comments closer to the suppression point. Also now need to
3055 check that we are running natively.
3056
3057 2002-03-22 Michael Snyder <msnyder@redhat.com>
3058
3059 * gdb.base/default.exp: Add test for gcore. Update copyright.
3060 * gdb.base/help.exp: Add test for gcore. Update copyright.
3061
3062 2002-03-06 Fred Fish <fnf@redhat.com>
3063
3064 * gdb.base/funcargs.c: Remove extraneous ';' character.
3065 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3066
3067 2002-03-04 Michael Chastain <mec@shout.net>
3068
3069 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3070 accommodate gcc v3 function signature.
3071 * gdb.mi/mi0-var-cmd-exp: Ditto.
3072
3073 2002-02-24 Andrew Cagney <ac131313@redhat.com>
3074
3075 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3076 ``GNU/Linux'' or ``Linux kernel''
3077 * testsuite/gdb.threads/pthreads.c: Ditto.
3078
3079 2002-02-24 Michael Chastain <mec@shout.net>
3080
3081 * gdb.threads/pthreads.c (thread1): Add a return statement.
3082 (thread2): Likewise.
3083 (foo): Likewise.
3084
3085 2002-02-23 Michael Chastain <mec@shout.net>
3086
3087 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3088 to placate gcc.
3089
3090 2002-02-23 Michael Chastain <mec@shout.net>
3091
3092 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3093 test "ptype bint". The test passes on all my stabs configurations.
3094
3095 2002-02-21 Jim Blandy <jimb@redhat.com>
3096
3097 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3098 filename at a time, and watch for the ones we want to see.
3099
3100 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3101 types of pointers to prototyped functions.
3102
3103 2002-02-20 Andrew Cagney <ac131313@redhat.com>
3104
3105 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3106 signed, unsigned and straight char.
3107 (padding_char, padding_short, padding_int, padding_long,
3108 padding_long_long, padding_float, padding_double,
3109 padding_long_double): New global variables.
3110 (fill, fill_structs): New functions.
3111
3112 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3113 for correctly sized writes. Update copyright.
3114 (get_valueof): New procedure.
3115 (get_sizeof): Call get_valueof.
3116 (check_valueof): New procedure.
3117 (check_padding): New procedure.
3118
3119 2002-02-20 Michael Chastain <mec@shout.net>
3120
3121 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3122 to setup_xfail. Document some of the remaining calls.
3123
3124 2002-02-18 Michael Chastain <mec@shout.net>
3125
3126 * gdb.c++/userdef.exp: Update copyright year.
3127
3128 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
3129
3130 * gdb.c++/userdef.exp: Test overloaded operators properly.
3131 Remove xfails.
3132
3133 2002-02-14 Michael Snyder <msnyder@redhat.com>
3134
3135 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3136
3137 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
3138
3139 * gdb.base/a2-run.exp: Check for a remote target properly.
3140 * gdb.base/annota1.exp: Likewise.
3141 * gdb.base/list.exp: Likewise.
3142 * gdb.base/reread.exp: Likewise.
3143 * gdb.base/scope.exp: Likewise.
3144 * gdb.base/shlib-call.exp: Likewise.
3145 * gdb.base/term.exp: Likewise.
3146 * gdb.c++/annota2.exp: Likewise.
3147
3148 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
3149
3150 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3151
3152 2002-02-10 Michael Chastain <mec@shout.net>
3153
3154 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3155 (call_after_alloca): Ditto.
3156
3157 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
3158
3159 * gdb.base/ending-run.exp: Guard "cont" test with
3160 gdb_skip_stdio_test.
3161
3162 2002-02-06 Jim Blandy <jimb@redhat.com>
3163
3164 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3165 from here...
3166 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3167 To here. Disable this test on non-HP platforms. Add big comment.
3168
3169 2002-02-04 Michael Snyder <msnyder@redhat.com>
3170
3171 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3172 other than d10v and m32r.
3173
3174 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
3175
3176 * gdb.base/default.exp: Rewrite test patterns to reduce time
3177 taken to match them.
3178
3179 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3180
3181 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3182 Allow a start function above main.
3183 * gdb.threads/linux-dp.exp: Fix copyright date.
3184
3185 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3186
3187 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3188 (check_philosopher_stack): Check for manager thread before checking
3189 for a just-starting thread.
3190
3191 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3192
3193 From Neil Booth <neil@daikokuya.demon.co.uk>:
3194 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3195 warnings.
3196
3197 2002-01-21 Fred Fish <fnf@redhat.com>
3198
3199 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3200 not caller.
3201
3202 2002-01-21 Jim Blandy <jimb@redhat.com>
3203
3204 * gdb.base/reread.exp: Check that GDB properly re-reads the
3205 executable file when it changes while no inferior is running.
3206
3207 2002-01-21 Fred Fish <fnf@redhat.com>
3208
3209 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3210 optionally accept the "shlib events" variation.
3211
3212 2002-01-21 Jim Blandy <jimb@redhat.com>
3213
3214 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3215 call `fflush' after every `printf', so that the output is produced
3216 at predictable points, regardless of whatever buffering does (or
3217 doesn't) take place.
3218 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3219 at different points.
3220
3221 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3222
3223 * gdb.c++/inherit.exp: Update copyright years.
3224 * gdb.c++/method.exp: Likewise.
3225
3226 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3227
3228 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3229 artificial methods/arguments.
3230 * gdb.c++/derivation.exp: Likewise.
3231 * gdb.c++/inherit.exp: Likewise.
3232 * gdb.c++/method.exp: Likewise.
3233 * gdb.c++/virtfunc.exp: Likewise.
3234
3235 2002-01-18 Andrew Cagney <ac131313@redhat.com>
3236
3237 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3238 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3239 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3240 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3241 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3242 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3243
3244 2002-01-17 Jim Blandy <jimb@redhat.com>
3245
3246 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3247 anchoring the pattern matching the entry point symbol's name.
3248
3249 2002-01-17 Andrew Cagney <ac131313@redhat.com>
3250
3251 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3252 continue/quit query. Update copyright.
3253
3254 2002-01-14 Michael Snyder <msnyder@redhat.com>
3255
3256 * gdb.base/gcore.exp: Remove extra debugging output.
3257
3258 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3259
3260 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3261 for slightly dubious v2 mangled string.
3262
3263 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3264
3265 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3266
3267 2002-01-10 Jason Merrill <jason@redhat.com>
3268
3269 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
3270
3271 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3272 constructors.
3273 * gdb.c++/derivation.exp: Likewise.
3274 * gdb.c++/templates.exp: Likewise.
3275 * gdb.c++/virtfunc.exp: Likewise.
3276
3277 2002-01-10 Michael Snyder <msnyder@redhat.com>
3278
3279 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
3280
3281 2002-01-08 Michael Snyder <msnyder@redhat.com>
3282
3283 * gdb.base/gcore.exp: New test for generate-core-file command.
3284 * gdb.base/gcore.c: Testcase for above.
3285 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3286
3287 2002-01-08 Jason Merrill <jason@redhat.com>
3288
3289 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3290
3291 2002-01-07 Fred Fish <fnf@redhat.com>
3292
3293 * gdb.c++/overload.exp: Remove unconditional xfails for:
3294 print foo_instance1.overloadargs(1)
3295 print foo_instance1.overloadargs(1, 2)
3296 print foo_instance1.overloadargs(1, 2, 3)
3297 print foo_instance1.overloadargs(1, 2, 3, 4)
3298 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3299 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3300 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3301 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3302 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3303 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3304 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3305 print foo_instance1.overload1arg()
3306 print foo_instance1.overload1arg((char)arg2)
3307 print foo_instance1.overload1arg((signed char)arg3)
3308 print foo_instance1.overload1arg((unsigned char)arg4)
3309 print foo_instance1.overload1arg((int)arg7)
3310 print foo_instance1.overload1arg((unsigned int)arg8)
3311 print foo_instance1.overload1arg((float)arg11)
3312 print foo_instance1.overload1arg((double)arg12)
3313
3314 2002-01-07 Michael Snyder <msnyder@redhat.com>
3315
3316 * gdb.base/huge.exp: New test. Print a very large target data object.
3317 (skip_huge_test): New test variable. Define if you want to skip this
3318 test. The test reads an 8 megabyte data object from the target, so it
3319 might be very time consuming on remote targets with a slow connection.
3320 * gdb.base/huge.c: New file. Test case for above.
3321
3322 2002-01-07 Fred Fish <fnf@redhat.com>
3323
3324 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3325 g_instance.bfoo, and g_instance.cfoo.
3326
3327 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3328
3329 * gdb.base/break.c (multi_line_if_conditional): New function.
3330 (multi_ilne_while_conditional): Likewise.
3331 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3332 IF or WHILE condition puts the breakpoint at the start of
3333 the condition.
3334
3335 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3336 hppa*-*-hpux* expected failure.
3337 * gdb.base/structs.exp (do_function_calls): Similarly.
3338
3339 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3340 watchpoints.
3341
3342 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3343
3344 Fix PR gdb/66.
3345 * gdb.base/structs.exp: Replace skip for a29k with skip for
3346 gdb,cannot_call_functions.
3347 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3348 * gdb.base/callfuncs.exp: Ditto.
3349 * gdb.base/call-rt-st.exp: Ditto.
3350 * gdb.base/call-strs.exp: Ditto.
3351 * gdb.base/callfwmall.exp: Ditto.
3352 * gdb.base/scope.exp: Obsolete xfail a29k.
3353 * gdb.c++/misc.exp: Ditto.
3354 * gdb.c++/cplusfuncs.exp: Ditto.
3355 * gdb.base/ptype.exp: Ditto.
3356 * gdb.base/printcmds.exp: Ditto.
3357 * gdb.base/opaque.exp: Ditto.
3358 * gdb.base/list.exp: Ditto.
3359 * gdb.base/funcargs.exp: Ditto.
3360 * gdb.base/default.exp: Ditto.
3361
3362 2002-01-04 Michael Snyder <msnyder@redhat.com>
3363
3364 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
3365 * gdb.base/maint.exp: Add tests for maint info sections options.
3366
3367 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3368
3369 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3370
3371 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
3372
3373 * gdb.asm/arm.inc: New file.
3374 * gdb.asm/asm-source.exp: Add arm targets.
3375 * gdb.asm/configure.in: Ditto.
3376 * gdb.asm/configure: Recreated from configure.in.
3377
3378 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3379
3380 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3381 with HP's compiler.
3382 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3383 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3384 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3385 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3386
3387 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3388 either HP's compilers or GCC.
3389
3390 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3391 a SIGBUS or SIGSEGV.
3392
3393 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3394
3395 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3396 can be compiled with either HP's compiler or GCC.
3397
3398 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3399 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3400 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3401
3402 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3403 to match current gdb output. Update due to using auto-solib-limit
3404 for limiting instead of overloading auto-solib-add.
3405 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3406 test program.
3407
3408 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
3409 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3410 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3411 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3412 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3413 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3414 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3415 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3416 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3417 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3418 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3419 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3420 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3421
3422 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3423 a SIGTRAP to the inferior.
3424
3425 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
3426
3427 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3428 Substitute call to target_link by call to gdb_compile.
3429
3430 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3431
3432 * gdb.base/break.exp: Fix HP specific search string when testing
3433 backtracing in a called function.
3434
3435 * gdb.base/constvars.exp: Only set lang to C++ if we're
3436 compiling the test with HP's compilers.
3437 * gdb.base/volatile.exp: Similarly.
3438
3439 2001-12-19 Jim Blandy <jimb@redhat.com>
3440
3441 * gdb.base/printcmds.exp: Expect the null character to be printed
3442 as '\0', and the '\013' to be printed as '\v'.
3443 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3444 * gdb.base/setvar.exp: Same.
3445
3446 2001-12-17 Jim Blandy <jimb@redhat.com>
3447
3448 * gdb.base/completion.exp: Rather than completing very long
3449 filenames, which can make the readline library produce output we
3450 don't recognize, cd to the directory first, and then complete
3451 using nice, short relative paths.
3452
3453 * gdb.base/completion.exp: On some systems, there is, in fact, a
3454 variable named `b' in scope, since GDB treats all static
3455 variables as being in scope. So use `no_var_named_this'
3456 instead of `b'.
3457
3458 * gdb.base/corefile.exp: Recognize the message saying that GDB
3459 can't find the core file's registers as a failure.
3460
3461 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3462
3463 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3464 test expect string more specific.
3465
3466 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
3467
3468 * gdb.asm/asm-source.exp: Add support for xstormy16.
3469 * gdb.asm/configure.in: Ditto.
3470 * gdb.asm/configure: Rebuild.
3471 * gdb.asm/xstormy16.inc: New file.
3472
3473 2001-12-10 Fred Fish <fnf@redhat.com>
3474
3475 * gdb.base/maint.exp: Update to match changes in type dumping code.
3476
3477 2001-12-10 Jim Blandy <jimb@redhat.com>
3478
3479 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3480 matching the entry point symbol's name at the beginning of the
3481 line.
3482
3483 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3484
3485 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3486 gdb.c++/inherit.exp, gdb.c++/method.exp,
3487 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3488 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3489 and class layout support.
3490
3491 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3492
3493 * gdb.c++/classes.exp: Add test for static member function.
3494 * gdb.c++/misc.cc: Add class with static member function.
3495
3496 2001-12-07 Jim Blandy <jimb@redhat.com>
3497
3498 If GDB says it can't find the struct the function returned, report
3499 those tests as `unsupported'.
3500 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3501 Rewrite subsequent tests to use it.
3502
3503 If GDB says it can't find the struct the function returned, report
3504 those tests as `unsupported'.
3505 * gdb.base/structs.exp (call_struct_func): New function.
3506 (do_function_calls): Use call_struct_func to call the functions
3507 returning structs.
3508
3509 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3510 whether functions are prototyped or not, so we can't possibly pass
3511 arguments to t_float_values2 properly.
3512
3513 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3514 value of `timeout' for targets other than the mips*tx39-*.
3515
3516 2001-12-06 Michael Snyder <msnyder@redhat.com>
3517
3518 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3519 and detect whether the start symbol has a leading underscore.
3520
3521 2001-12-04 Jim Blandy <jimb@redhat.com>
3522
3523 * gdb.base/completion.exp: Clarify indentation.
3524
3525 2001-12-03 Jim Blandy <jimb@redhat.com>
3526
3527 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3528 variables on the S/390, not `.word'.
3529
3530 2001-11-30 Jim Blandy <jimb@redhat.com>
3531
3532 Add assembly-source tests for s390-ibm-linux.
3533 * gdb.asm/s390.inc: New file.
3534 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3535 the S/390 architecture.
3536 * gdb.asm/configure: Regenerated.
3537
3538 2001-11-30 Michael Snyder <msnyder@redhat.com>
3539
3540 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3541 next, info source, info sources, info line, global and static
3542 variables, and static functions.
3543 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3544 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3545 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3546 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3547 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3548 (gdbasm_leave): Restore frame pointer.
3549 (gdbasm_startup): Copy stack set-up from crt0.S.
3550
3551 2001-11-26 Fernando Nasser <fnasser@redhat.com>
3552
3553 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3554 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3555 to a local (non-static) variable. Copy tstruct.a to a static buffer
3556 and return a pointer to that buffer.
3557 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3558
3559 2001-11-24 Mark Kettenis <kettenis@gnu.org>
3560
3561 * gdb.asm/configure.in: Fix recognition of ix86 target.
3562 * gdb.asm/configure: Regenerate.
3563
3564 2001-11-21 Michael Snyder <msnyder@redhat.com>
3565
3566 * gdb.asm/sparc.inc: New file.
3567 * gdb.asm/asm-source.exp: Recognize sparc target.
3568 * gdb.asm/configure.in: Recognize sparc target.
3569 * gdb.asm/configure: Regenerate.
3570
3571 2001-11-21 Michael Snyder <msnyder@redhat.com>
3572
3573 * gdb.asm/m32r.inc: New file.
3574 * gdb.asm/asm-source.exp: Recognize m32r target.
3575 * gdb.asm/configure.in: Recognize m32r target.
3576 * gdb.asm/configure: Regenerate.
3577
3578 2001-11-20 Michael Snyder <msnyder@redhat.com>
3579
3580 * gdb.asm/i386.inc: New file.
3581 * gdb.asm/asm-source.exp: Recognize ix86 target.
3582 * gdb.asm/configure.in: Recognize ix86 target.
3583 * gdb.asm/configure: Regenerate.
3584
3585 * gdb.c++/namespace.exp: Fix quotes in output messages.
3586
3587 2001-11-14 Michael Snyder <msnyder@redhat.com>
3588
3589 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
3590 qualifier in a type cast expression, to designate an address
3591 in the instruction space (Harvard architecture).
3592
3593 2001-11-13 Michael Snyder <msnyder@redhat.com>
3594
3595 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3596 Tests for expressions using 'const' and 'volatile'.
3597
3598 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
3599
3600 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3601
3602 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
3603
3604 * lib/mi-support.exp (mi_run_to_helper): Move comments
3605 outside of gdb_expect.
3606
3607 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
3608
3609 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3610 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3611 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3612 mi0_run_to): New functions.
3613 * gdb.mi/mi-simplerun.exp: Use them.
3614 * gdb.mi/mi0-simplerun.exp: Likewise.
3615 * gdb.mi/mi-var-cmd.exp: Likewise.
3616 * gdb.mi/mi0-var-cmd.exp: Likewise.
3617
3618 2001-11-10 Andrew Cagney <ac131313@redhat.com>
3619
3620 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3621 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3622
3623 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3624
3625 * gdb.base/restore.exp: Include $expected value in restored test
3626 message.
3627
3628 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3629
3630 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3631 implemented.
3632
3633 2001-11-08 Michael Snyder <msnyder@redhat.com>
3634
3635 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3636 Add pass/fail message for stop at breakpoint in call dummy function.
3637
3638 2001-11-07 Michael Snyder <msnyder@redhat.com>
3639
3640 * gdb.c++/templates.exp (test_template_breakpoints):
3641 If we get an overload menu, but it does not match what
3642 we expect, we still need to issue the "cancel" command.
3643 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3644 making the whitespace optional. Argument for "new" may be
3645 "unsigned" as well as "unsigned int/long".
3646 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3647 making the whitespace optional. Also replace "(void) with
3648 "((void|)), making the keyword "void" optional.
3649 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3650 making the whitespace optional. Also replace "(void) with
3651 "((void|)), making the keyword "void" optional.
3652 * gdb.base/callfuncs.c (t_float_values): This function must
3653 _not_ be prototyped, and the following function (t_float_values2)
3654 must be prototyped (if the compiler supports it), so that GDB
3655 can be tested against both cases. Usually one case involves
3656 promotion of float to double, while the other does not.
3657 * gdb.base/callfwmall.c: Ditto.
3658 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3659 includes a stack frame for "start".
3660
3661 2001-11-05 Jim Blandy <jimb@redhat.com>
3662
3663 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3664 pointers are 32 bits long, and that offsets of relocs are always
3665 stored in the data (REL-style), and not in the reloc entry itself
3666 (RELA-style).
3667 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3668 stabs.
3669
3670 2001-11-01 Michael Snyder <msnyder@redhat.com>
3671
3672 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3673 and regular expression operators by using quoting.
3674
3675 2001-10-31 Michael Snyder <msnyder@redhat.com>
3676
3677 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3678 depending on what the symbol table contains.
3679 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3680 the output of the ptype command. Similarly, accept both "const &"
3681 and "const&".
3682
3683 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
3684
3685 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3686 symbol `STORAGE' to allow to choose the storage class of
3687 the local datastructures.
3688 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3689 compiler directive.
3690
3691 2001-10-30 Michael Snyder <msnyder@redhat.com>
3692
3693 * gdb.base/jump.exp: Allow it to run for all targets.
3694
3695 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3696
3697 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3698 with new double_array size.
3699 (main): Change storage class of all local variables to static.
3700 Reduce size of double_array to 9.
3701 * gdb.base/call-ar-st.exp: Increase timeout value.
3702 Change expected output for double array to match new size in
3703 call-ar-st.c.
3704
3705 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3706
3707 * gdb.base/ending-run.exp: Create identical output when passing
3708 `step to end of run' case. Add regular expression branch satisfying
3709 Stormy16 target.
3710
3711 2001-10-28 Mark Kettenis <kettenis@gnu.org>
3712
3713 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3714 that we catch the expected failure under Linux/x86.
3715
3716 2001-10-29 Orjan Friberg <orjanf@axis.com>
3717
3718 * gdb.base/setvar.exp: Escape curly braces.
3719 * gdb.stabs/weird.exp: Ditto.
3720
3721 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
3722
3723 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3724 * gdm.mi/mi0-hack-cli.exp: Likewise.
3725
3726 2001-10-25 Andrew Cagney <ac131313@redhat.com>
3727
3728 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3729 messages.
3730
3731 2001-10-21 Andrew Cagney <ac131313@redhat.com>
3732
3733 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3734 checking MI enabled.
3735
3736 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
3737
3738 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3739
3740 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
3741
3742 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3743 if gdb child process crashes, just signal an error.
3744
3745 2001-10-02 Jim Blandy <jimb@redhat.com>
3746
3747 * lib/gdb.exp (test_xfail_format): Simplify.
3748
3749 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3750 front of the variable name `format'. Simplify `if'.
3751
3752 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3753
3754 * gdb.threads/pthreads.exp: Wait for output and delay
3755 before sending ^C.
3756
3757 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3758
3759 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3760 some incorrect output instead of timing out.
3761 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3762
3763 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
3764
3765 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3766 check to allow additional `int'.
3767
3768 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
3769
3770 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3771 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3772
3773 2001-09-27 Michael Snyder <msnyder@redhat.com>
3774
3775 * lib/gdb.exp (test_debug_format): New proc.
3776 (setup_xfail_format): Use new proc test_debug_format.
3777 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3778 proc; use new service proc test_debug_format.
3779 Replace all other "gcc_compiled" tests with this test.
3780 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3781 proc; use new service proc test_debug_format.
3782 Replace all other "gcc_compiled" tests with this test.
3783
3784 2001-09-27 Michael Snyder <msnyder@redhat.com>
3785
3786 * gdb.base/cvexpr.exp: New file.
3787 * gdb.base/cvexpr.c: New file
3788 Test for expressions using const and volatile keywords.
3789
3790 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
3791
3792 * gdb.base/constvars.exp: Check for different orders of keywords
3793 and additional "int" strings in output.
3794
3795 2001-09-22 Andrew Cagney <ac131313@redhat.com>
3796
3797 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3798 responses from "help maint".
3799
3800 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
3801
3802 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3803 to localhost:NNN instead of :NNN, in case Xvfb is listening
3804 only on TCP.
3805
3806 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
3807
3808 * gdb.base/recurse.exp: When checking leaving the watchpoint
3809 scope, recognize when gdb is in function's epilogue and pass.
3810
3811 2001-09-18 Keith Seitz <keiths@redhat.com>
3812
3813 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3814 support for running tests against sid targets.
3815 (gdbtk_done): Ditto.
3816
3817 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
3818
3819 * gdb.base/ending-run.c (main): Set stdout buffersize
3820 to the same reasonable value for any target.
3821 * gdb.base/ending-run.exp: Add a regular expression
3822 to make testsuite happy on Sanyo Stormy16 target.
3823
3824 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
3825
3826 * gdb.base/display.c (do_loops): Add float variable `f'.
3827 Increment f in loop.
3828 * gdb.base/display.exp: Increment timeout by 60 seconds.
3829 Change float display test to use variable `f'.
3830
3831 2001-09-17 Jim Blandy <jimb@redhat.com>
3832
3833 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3834 overflowing the limited breakpoint tables on some ROM monitors
3835 (like the ROM68K).
3836
3837 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
3838
3839 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3840 the "-ac" (disable access control) flag.
3841
3842 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
3843
3844 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3845 ints.
3846
3847 2001-08-30 Keith Seitz <keiths@redhat.com>
3848
3849 * lib/gdb.exp: Move all insight-related functionality into
3850 separate file.
3851 * lib/insight-support.exp: New file.
3852
3853 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
3854
3855 * config/sid.exp (sid_start): Never set sid verbosity; disable
3856 expect_background {} that consumed its stdout; tolerate </dev/null.
3857 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3858
3859 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3860
3861 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3862 CLI jump command to start it.
3863 (mi_run_to_main): Fail immediatly when unexpected output.
3864
3865 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3866
3867 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3868 beginning of function. Fix PR gdb/191.
3869
3870 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
3871
3872 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3873 what to force sid endianness to.
3874
3875 2001-08-15 Keith Seitz <keiths@redhat.com>
3876
3877 * lib/gdb.exp (gdbtk_start): Don't set environment
3878 variables for TCL_LIBRARY and friends. Insight will
3879 now figure these out for itself.
3880
3881 2001-08-02 Michael Snyder <msnyder@redhat.com>
3882
3883 * gdb.base/completion.exp: Remove the symbol "a64l" from
3884 the expect string; this is target-specific, and not related
3885 to what is being tested.
3886
3887 2001-08-02 Dave Brolley <brolley@redhat.com>
3888
3889 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3890
3891 2001-07-25 Michael Snyder <msnyder@redhat.com>
3892
3893 * gdb.base/consecutive.exp: New file. Test stepping over
3894 breakpoints on consecutive instructions.
3895 * gdb.base/consecutive.c: New file.
3896
3897 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3898 curly braces in regular expressions.
3899
3900 2001-07-25 Michael Snyder <msnyder@redhat.com>
3901
3902 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3903 legitimate output from stepping out of main.
3904
3905 2001-07-22 Keith Seitz <keiths@redhat.com>
3906
3907 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3908 the empty string, do not run the tests.
3909
3910 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3911
3912 * gdb.base/long_long.exp: Detect size of pointer. Take into
3913 account 2-byte pointers when testing for p/a results.
3914
3915 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3916
3917 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3918 and defined to 1K for m68hc11.
3919 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3920 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3921 (sizeof_random_data): New variable to tell the size of the data table;
3922 don't test past this size; always run to main.
3923
3924 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3925
3926 * gdb.base/return2.exp: return of long long and double fails for
3927 68HC11; don't execute these tests on that platform.
3928 * gdb.base/return.exp: Return of a double fails for 68hc11.
3929
3930 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3931
3932 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3933 tests that print a float.
3934 * call-rt-st.exp: Likewise.
3935
3936 2001-07-12 Mark Kettenis <kettenis@gnu.org>
3937
3938 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3939 running this test on Linux.
3940
3941 2001-06-24 Michael Chastain <chastain@redhat.com>
3942
3943 * gdb.base/arithmet.exp: Remove some tests to make all test names
3944 unique.
3945
3946 2001-07-03 Michael Snyder <msnyder@redhat.com>
3947
3948 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3949 the output of the ptype command.
3950
3951 2001-07-02 Michael Snyder <msnyder@redhat.com>
3952
3953 * gdb.base/completion.exp: Don't assume that break.c is the only
3954 source file that may contain functions named "marker".
3955 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3956
3957 2001-06-28 Andrew Cagney <ac131313@redhat.com>
3958
3959 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3960 of files to delete.
3961
3962 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3963 * gdb.disasm/h8300s.exp: New file.
3964 gdb.disasm/h8300s.s: Likewise.
3965
3966 2001-06-27 Andrew Cagney <ac131313@redhat.com>
3967
3968 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3969 empty breakpoint tables.
3970
3971 2001-06-25 Andrew Cagney <ac131313@redhat.com>
3972
3973 * lib/mi-support.exp: Update args=... part of stop-reason
3974 patterns. Accept either a list or a tuple.
3975
3976 2001-06-23 Andrew Cagney <ac131313@redhat.com>
3977
3978 * lib/mi-support.exp: Remove local emacs variable defining
3979 change-log-default-name.
3980
3981 2001-06-22 Michael Chastain <chastain@redhat.com>
3982
3983 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3984 This is operationally compatible with the previous version.
3985
3986 2001-06-13 Jim Blandy <jimb@redhat.com>
3987
3988 * lib/gdb.exp (gdb_test): Doc fix.
3989
3990 2001-06-10 Michael Chastain <chastain@redhat.com>
3991
3992 * gdb.base/exprs.exp: Remove a duplicate test.
3993
3994 2001-06-06 Jim Blandy <jimb@redhat.com>
3995
3996 * gdb.base/return2.exp (main): Use values to test float and double
3997 returns that are not NaN's, to avoid being confused by IEEE
3998 comparison rules.
3999
4000 2001-06-04 Michael Snyder <msnyder@redhat.com>
4001
4002 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
4003 non-zero if control_c fails. Terminate the test on failure,
4004 rather than wait for 12 more tests to time out.
4005
4006 2001-06-06 Jim Blandy <jimb@redhat.com>
4007
4008 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
4009 Don't forget to match the GDB prompt.
4010
4011 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4012
4013 2001-06-04 Jim Blandy <jimb@redhat.com>
4014
4015 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4016 command.
4017
4018 2001-05-31 Kevin Buettner <kevinb@redhat.com>
4019
4020 * gdb.base/annota1.exp (info break): Match four or more spaces
4021 after "Address".
4022
4023 2001-05-31 Michael Chastain <chastain@redhat.com>
4024
4025 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4026 (dm_type_int_star): Likewise.
4027 (dm_type_long_star): Likewise.
4028 (dm_type_void_star): Likewise.
4029
4030 2001-05-29 Kevin Buettner <kevinb@redhat.com>
4031
4032 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4033 to a known value in order to get consistent results regardless
4034 of the setting of INPUTRC or the presence or contents of .inputrc.
4035
4036 2001-05-24 Michael Snyder <msnyder@redhat.com>
4037
4038 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4039 Don't require that the main thread and the manager thread are the
4040 first in the list.
4041
4042 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4043 debugging. If test fails, issue an "unsupported" not a "fail".
4044
4045 2001-05-24 Jim Blandy <jimb@redhat.com>
4046
4047 Don't assume that short is shorter than int.
4048 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4049 assume that shorts are smaller than ints. On a 16-bit machine,
4050 this isn't true.
4051 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4052 an int, is not equal to ~0 stored in an unsigned char. This tests
4053 the same thing that the previous test meant to, but works on
4054 16-bit machines, too.
4055 ("print unsigned char != (~0)"): Same test, complemented.
4056
4057 2001-05-24 Michael Snyder <msnyder@redhat.com>
4058
4059 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
4060 test for (full_coverage == 0). This makes the test run faster,
4061 and prevents dejagnu getting out of step.
4062
4063 2001-05-23 Kevin Buettner <kevinb@redhat.com>
4064
4065 * gdb.base/finish.exp (finish_void): Revise pattern for
4066 stopping on the call statement to not permit stopping at
4067 the start of the instructions comprising the call sequence.
4068
4069 2001-05-19 Michael Chastain <chastain@redhat.com>
4070
4071 * gdb.base/callfuncs.exp: Make all test names unique.
4072 * gdb.base/commands.exp: Make all test names unique.
4073 * gdb.base/condbreak.exp: Make all test names unique.
4074 * gdb.base/dbx.exp: Make all test names unique.
4075 * gdb.base/default.exp: Make all test names unique.
4076 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4077 and TIMEOUT messages to their corresponding PASS message.
4078 * gdb.base/ending-run.exp: Make all test names unique.
4079 * gdb.base/long_long.exp: Remove duplicate test.
4080
4081 2001-05-21 Kevin Buettner <kevinb@redhat.com>
4082
4083 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4084 stop on the call statement as well as the statement after the
4085 call.
4086
4087 2001-05-21 Michael Snyder <msnyder@redhat.com>
4088
4089 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4090
4091 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
4092
4093 * gdb.base/completion.exp: Revamp test. Make it execute on all
4094 platforms.
4095
4096 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
4097
4098 * config/gdbserver.exp (gdb_load): Handle the case
4099 in which the arguments to gdbserver are given in the
4100 baseboard configuration file.
4101 Also handle the case in which the server needs to do a
4102 load.
4103
4104 2001-05-07 Keith Seitz <keiths@cygnus.com>
4105
4106 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4107 set up the display for testing.
4108 (gdbtk_start): Convert all paths to paths that tcl will like.
4109 Export target information to environment.
4110 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4111 necessary.
4112 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4113 (to_tcl_path): New proc to convert a given pathname into
4114 a path acceptible as an argument to a tcl command.
4115 (_gdbtk_export_target_info): New proc to export target info
4116 into the environment for gdbtk testing.
4117 (gdbtk_done): New proc to signal end-of-test.
4118
4119 2001-05-06 Jim Blandy <jimb@redhat.com>
4120
4121 * restore.c: Make the code of caller0 correspond to its comment.
4122
4123 2001-05-03 Michael Snyder <msnyder@redhat.com>
4124
4125 * config/sid.exp (gdb_target_sid): Check for error messages.
4126 On error or timeout, don't make expect exit (which will terminate
4127 all subsequent tests); instead just make gdb exit.
4128 (gdb_load): Check for error messages. On error or timeout,
4129 return a negative value.
4130
4131 2001-04-24 Jim Blandy <jimb@redhat.com>
4132
4133 * gdb.c++/templates.exp: If we see the prompt for the overload
4134 list, but we haven't recognized any of the longer patterns,
4135 arrange for this test to fail, not hang.
4136
4137 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4138 variations.
4139
4140 2001-04-22 Michael Chastain <chastain@redhat.com>
4141
4142 * gdb.c++/local.exp: Use the 'runto' library function.
4143 * gdb.c++/namespace.exp: Likewise.
4144 * gdb.c++/overload.exp: Likewise.
4145
4146 2001-03-26 Kevin Buettner <kevinb@redhat.com>
4147
4148 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4149 * gdb.base/step-line.exp: New file. Test step/next in presence of
4150 #line directives.
4151 * gdb.base/step-line.c: New file. Test program for the above.
4152 * gdb.base/step-line.inp: New file. We pretend that this file has
4153 been transformed by some other tool into step-line.c.
4154
4155 2001-03-21 Jim Blandy <jimb@redhat.com>
4156
4157 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4158 unmangled operator names.
4159
4160 2001-03-20 Jim Blandy <jimb@redhat.com>
4161
4162 * gdb.threads/linux-dp.exp: Recognize an additional message
4163 generated by GDB when it doesn't understand how to debug threads
4164 on the target system.
4165
4166 2001-03-19 Andrew Cagney <ac131313@redhat.com>
4167
4168 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4169
4170 2001-03-12 Michael Chastain <chastain@redhat.com>
4171
4172 * gdb.c++/derivation.exp: Use the 'runto' library function.
4173
4174 2001-03-12 Michael Chastain <chastain@redhat.com>
4175
4176 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4177
4178 2001-02-24 Michael Chastain <chastain@redhat.com>
4179
4180 * gdb.c++/ref-types.exp: Change handwritten code to library
4181 function 'runto'.
4182
4183 2001-03-16 Orjan Friberg <orjanf@axis.com>
4184
4185 * gdb.base/signals.exp: Set count to 0 explicitly.
4186
4187 2001-03-15 Mark Salter <msalter@redhat.com>
4188
4189 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4190 (gdb_target_monitor): Add check of gdb_target_cmd return value.
4191 (gdb_load): Add support for additional target_info: gdb_download_size
4192 and gdb_load_timeout.
4193
4194 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4195
4196 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4197 file -- to prevent failing when the compile fails but we have no
4198 intention of running the tests anyway.
4199
4200 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4201 tests if set.
4202
4203 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4204 integers.
4205
4206 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4207 * gdb.c++/namespace.exp: Ditto.
4208
4209 2001-03-07 Orjan Friberg <orjanf@axis.com>
4210
4211 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4212 * gdb.base/pointers.exp: Relax pattern match of decimals.
4213
4214 2001-03-06 Kevin Buettner <kevinb@redhat.com>
4215
4216 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4217 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4218 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4219 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4220 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4221 config/sh.exp, config/sid.exp, config/slite.exp,
4222 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4223 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4224 config/vxworks.exp, config/vxworks29k.exp,
4225 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4226 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4227 gdb.base/arithmet.exp, gdb.base/assign.exp,
4228 gdb.base/async.exp, gdb.base/attach.exp,
4229 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4230 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4231 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4232 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4233 gdb.base/commands.exp, gdb.base/completion.exp,
4234 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4235 gdb.base/constvars.exp, gdb.base/corefile.exp,
4236 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4237 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4238 gdb.base/ending-run.exp, gdb.base/environ.exp,
4239 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4240 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4241 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4242 gdb.base/funcargs.exp, gdb.base/help.exp,
4243 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4244 gdb.base/logical.exp, gdb.base/long_long.exp,
4245 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4246 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4247 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4248 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4249 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4250 gdb.base/regs.exp, gdb.base/relational.exp,
4251 gdb.base/remote.exp, gdb.base/reread.exp,
4252 gdb.base/restore.exp, gdb.base/return2.exp,
4253 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4254 gdb.base/selftest.exp, gdb.base/setshow.exp,
4255 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4256 gdb.base/sigall.exp, gdb.base/signals.exp,
4257 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4258 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4259 gdb.base/step-test.exp, gdb.base/structs.c,
4260 gdb.base/structs.exp, gdb.base/structs2.exp,
4261 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4262 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4263 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4264 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4265 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4266 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4267 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4268 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4269 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4270 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4271 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4272 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4273 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4274 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4275 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4276 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4277 gdb.trace/circ.exp, gdb.trace/collection.exp,
4278 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4279 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4280 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4281 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4282 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4283 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4284 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4285 notices.
4286
4287 2001-02-27 Michael Snyder <msnyder@cygnus.com>
4288
4289 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4290 first arg is int not float.
4291
4292 2001-02-22 Michael Snyder <msnyder@cygnus.com>
4293
4294 * gdb.base/reread.exp: Unsupported for non-native targets;
4295 doesn't work for remote debugging.
4296
4297 2001-02-19 Fernando Nasser <fnasser@redhat.com>
4298
4299 From Drew Moseley <dmoseley@redhat.com>
4300 * gdb.base/ending-run.exp: Properly handle the BSP state when
4301 stepping past the end of main.
4302
4303 2001-02-19 John Moore <jmoore@redhat.com>
4304
4305 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4306 Converted HPUX fix for non-expected items following multiple
4307 step commands into general solution for all platforms.
4308
4309 2001-02-18 Michael Chastain <chastain@redhat.com>
4310
4311 * gdb.c++/classes.exp (do_tests): Change runto statements
4312 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4313 statements demangler agnostic.
4314 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4315 (gdb_virtfunc_restart): Likewise.
4316
4317 2001-02-14 Michael Chastain <chastain@redhat.com>
4318
4319 * gdb.c++/inherit.exp (do_tests): Change runto statements
4320 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4321 statements demangler agnostic.
4322
4323 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4324
4325 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4326 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4327 before calling common_routine 15 times'' tests.
4328
4329 2001-02-11 Michael Chastain <chastain@redhat.com>
4330
4331 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4332 Helps the test script figure out which demangler is in use.
4333 (dm_type_foo_ref): Ditto.
4334 (dm_type_int_star): Ditto.
4335 (dm_type_long_star): Ditto.
4336 (dm_type_unsigned_int): Ditto.
4337 (dm_type_void): Ditto.
4338 (dm_type_void_star): Ditto.
4339 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
4340 Probe the gdb demangler and set variables to accommodate
4341 formatting differences.
4342 (info_func_regexp): New function. Same as info_func, but
4343 matches against a regexp.
4344 (info_func): Match against a literal string.
4345 (print_addr_2): New function. Match against a literal string,
4346 which can be different from the input to gdb.
4347 (print_addr): Simply call print_addr_2 with the same argument twice.
4348 (test_lookup_operator_functions): Use demangler formatting variables.
4349 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4350 the tests in the same order as the C++ class declaration.
4351 (test_paddr_operator_functions): Ditto.
4352 (test_paddr_overloaded_functions): Ditto.
4353 (test_paddr_hairy_functions): Use demangler formatting variables.
4354 Add reference to gdb/19 for related tests.
4355 (do_tests): Call probe_demangler.
4356
4357 2001-01-30 Kevin Buettner <kevinb@redhat.com>
4358
4359 * gdb.c++/templates.cc (printf): Remove unused function definition.
4360
4361 2001-01-26 Felix Lee <flee@redhat.com>
4362
4363 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4364
4365 2001-01-25 matthew green <mrg@redhat.com>
4366
4367 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4368 up sid.
4369 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4370
4371 2001-01-25 matthew green <mrg@redhat.com>
4372
4373 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4374 Deprecate $sid_spawn_id.
4375 (sid_exit): Remove code necessary only for `spawn.'
4376
4377 2001-01-25 matthew green <mrg@redhat.com>
4378
4379 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4380
4381 2001-01-28 Michael Chastain <chastain@redhat.com>
4382
4383 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4384 to call when tests fail. It takes gdb out of the overloaded
4385 function choice menu back to the main prompt, so that the test
4386 program stays synchronized.
4387 (set_bp_overloaded): New proc to collect all the common
4388 code for setting a breakpoint on an overloaded name. Calls
4389 take_gdb_out_of_choice_menu when needed.
4390 (menu_overload1arg): New variable to collect the repeated
4391 instances of the expected menu for an overloaded name. Change
4392 the regular expression to handle changes in g++ type encoding:
4393 "void" can be either "void" or "", and "unsigned int" can be
4394 either "unsigned int" or "unsigned".
4395 (continue_to_bp_overloaded): Change regular expressions to handle
4396 changes in g++ type encoding.
4397 (no proc): Call take_gdb_out_of_choice_menu when needed.
4398 Remove redundant calls to "info break". Accept either "canceled"
4399 or "cancelled". Change regular expressions in "info break"
4400 calls to handle changes in g++ type encoding. Give all tests
4401 unique strings.
4402
4403 2001-01-17 Ben Elliston <bje@redhat.com>
4404
4405 * config/sid.exp: New file.
4406
4407 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4408
4409 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4410
4411 2000-12-21 Michael Snyder <msnyder@cygnus.com>
4412
4413 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4414 Add a RE to accept a non-ascii char if one is ever presented.
4415
4416 2000-12-20 Fernando Nasser <fnasser@redhat.com>
4417
4418 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
4419
4420 2000-12-18 Michael Snyder <msnyder@cygnus.com>
4421
4422 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4423 in regexp. One '\' does not suffice on Linux.
4424
4425 2000-12-09 Michael Chastain <chastain@redhat.com>
4426
4427 * gdb.base/break.exp (test_clear_command): Use a marker function
4428 rather than 'main' for the test function. Also move this
4429 test to an execution point where the marker function names are
4430 guaranteed to be bound to functions. (Executing tests after a
4431 'finish' from main runs into name conflicts with local names
4432 in __libc_start_main).
4433
4434 2000-12-07 Michael Snyder <msnyder@cygnus.com>
4435
4436 * gdb.base/finish.exp: New test for gdb's "finish" command.
4437 * gdb.base/return2.exp: New test for gdb's "return" command.
4438 * gdb.base/return2.c: New source file for above.
4439
4440 2000-12-05 Michael Snyder <msnyder@cygnus.com>
4441
4442 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4443 * gdb.base/miscexprs.exp: Ditto.
4444 * gdb.base/pointers.exp: Ditto.
4445 * gdb.c++/derivation.exp: Ditto.
4446 * gdb.c++/local.exp: Ditto.
4447 * gdb.c++/namespace.exp: Ditto.
4448 * gdb.c++/overload.exp: Ditto.
4449 * gdb.c++/ref-types.exp: Ditto.
4450
4451 2000-12-05 Michael Snyder <msnyder@cygnus.com>
4452
4453 * gdb.base/constvars.exp: Test result of "up" command.
4454 * gdb.base/miscexprs.exp: Ditto.
4455 * gdb.base/pointers.exp: Ditto.
4456 * gdb.base/scope.exp: Ditto.
4457 * gdb.c++/derivation.exp: Ditto.
4458 * gdb.c++/local.exp: Ditto.
4459 * gdb.c++/namespace.exp: Ditto.
4460 * gdb.c++/overload.exp: Ditto.
4461 * gdb.c++/ref-types.exp: Ditto.
4462
4463 2000-11-22 Michael Chastain <chastain@redhat.com>
4464
4465 * mips_pro.exp: Accept either "middle -> top -> main" or
4466 "middle -> main" in the backtrace, because gcc can optimize
4467 tail calls to jumps. Remove setup_xfail for the hppa case.
4468 Add a comment with the original warning messages from PR 3016,
4469 which was filed in 1993, to preserve them for posterity.
4470
4471 2000-11-17 Nick Duffek <nsd@redhat.com>
4472
4473 * lib/gdb.exp (gdb_test): Override timeout with board info.
4474
4475 2000-11-17 Nick Duffek <nsd@redhat.com>
4476
4477 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4478 the second kill and detach messages.
4479
4480 2000-11-17 Nick Duffek <nsd@redhat.com>
4481
4482 * configure.in: Add AC_EXEEXT.
4483 * configure: Regenerate.
4484 * Makefile.in (just-check): Export EXEEXT.
4485 * lib/gdb.exp ($EXEEXT): Import from environment.
4486 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4487 expect "maint dump-me" on Cygwin.
4488 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4489 $EXEEXT.
4490
4491 2000-11-17 Nick Duffek <nsd@redhat.com>
4492
4493 * gdb.base/break.exp: Test backtrace and finish from called
4494 function on all platforms, not just HP-UX.
4495
4496 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4497
4498 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4499 code from gdb_target_monitor, so it can be used independantly
4500 for gdbserver. Also comment out an unnecessary PUTS.
4501
4502 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4503
4504 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4505 * gdb.base/corefile.exp: Expect the message "Program is being
4506 debugged already" when we send the "corefile" command, since
4507 the preceeding gdb_load may have connected gdb to a remote target.
4508 * gdb.base/display.exp: Disable hardware watchpoints if new
4509 board info variable "no_hardware_watchpoints" is true.
4510 Replace single-letter commands with more readable ones.
4511 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4512 if new board info variable "no_hardware_watchpoints" is true.
4513 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4514 to see if stdio (printf) testing is possible.
4515 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4516 board info variable "no_hardware_watchpoints" is true. Use new
4517 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4518
4519 2000-11-13 Fernando Nasser <fnasser@redhat.com>
4520
4521 From Orjan Friberg <orjanf@axis.com>:
4522 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4523 in array print pattern match.
4524
4525 2000-11-09 Fernando Nasser <fnasser@redhat.com>
4526
4527 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4528 spelling "cancelled" to U.S. spelling "canceled" to match changes
4529 made to gdb.
4530 * gdb.c++/ovldbreak.exp: Ditto.
4531
4532 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4533
4534 * gdb.base/callfuncs.c (main): Moved to end of file, call
4535 t_double_values to initialize the FPU before inferior calls are made.
4536 * gdb.base/callfuncs.exp: Test for register preservation after calling
4537 inferior functions. Add tests for continuining, finishing and
4538 returning from a stop in a call dummy.
4539
4540 2000-10-24 Michael Snyder <msnyder@cygnus.com>
4541
4542 * gdb.base/commands.exp: Break up long lines, and re-indent.
4543
4544 2000-10-19 Michael Snyder <msnyder@cygnus.com>
4545
4546 * config/gdbserver.exp: Rewritten from the ground up, to make it
4547 compatible with the current dejagnu tree, and to make it work with
4548 the new "gdbserver" in libremote.
4549
4550 2000-10-16 Michael Snyder <msnyder@cygnus.com>
4551
4552 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4553 * gdb.base/varargs.exp: Skip entire test if no printf support.
4554 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4555 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4556
4557 2000-10-13 Michael Snyder <msnyder@cygnus.com>
4558
4559 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4560 no floating point support.
4561 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4562 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4563 * gdb.base/call-rt-st.exp: Ditto.
4564 * gdb.base/call-strs.exp: Ditto.
4565
4566 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4567
4568 * gdb.base/sizeof.c: include <stdio.h>.
4569
4570 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4571 'finish', otherwise uncaptured gdb_prompt would potentially
4572 throw remaining test points out of sync.
4573
4574 2000-07-26 Scott Bambrough <scottb@netwinder.org>
4575
4576 * gdb.base/recurse.exp: Run tests for all targets.
4577 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4578 gnu-oldld case on ARM.
4579 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4580 for ARM targets.
4581
4582 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4583
4584 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4585 * gdb.java/configure: Rebuild.
4586
4587 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4588
4589 * gdb.java/jv-exp.exp: New file.
4590
4591 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4592
4593 * configure: Rebuilt.
4594 * configure.in (configdirs): Add gdb.java.
4595 * gdb.java/jmisc.java: New file.
4596 * gdb.java/jmisc.exp: New file.
4597 * gdb.java/Makefile.in: New file.
4598 * gdb.java/configure: Rebuilt.
4599 * gdb.java/configure.in: New file.
4600 * lib/java.exp: New file.
4601
4602 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4603
4604 * gdb.base/exprs.exp: Test casts to a pointer including over and
4605 underflow.
4606
4607 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4608
4609 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4610 and the compilers sizes.
4611
4612 2000-07-09 Nick Duffek <nsd@redhat.com>
4613
4614 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4615 (use_methods): New function.
4616 (main): Call use_methods().
4617 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4618 (do_tests): Call test_method_param_class.
4619
4620 2000-07-09 Nick Duffek <nsd@redhat.com>
4621
4622 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4623 spelling.
4624 (test_enums): New procedure. Move enum tests from end of script
4625 to here. Set breakpoint on function name instead of line number.
4626 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4627 (enums2): New marker function.
4628 (enums1): New function.
4629 (main): Call enums1(). Move enum tests to enums1().
4630
4631 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4632
4633 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4634 compile/link program. Update line numbers.
4635 * gdb.asm/d10v.inc: Define ``startup''.
4636 * gdb.asm/asmsrc1.s: Add definition of _start.
4637
4638 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4639
4640 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4641
4642 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4643
4644 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4645 of 'help maint print' command.
4646
4647 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4648
4649 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4650 they use gdb_expect_list.
4651
4652 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4653
4654 * gdb.base/commands.exp: Use ``set remote
4655 memory-read-packet-size'' instead of ``set endian big'' to test
4656 long commands.
4657
4658 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
4659
4660 * gdb.c++/templates.exp (do_tests): Make all of these work under
4661 g++, and stop skipping them.
4662
4663 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4664 work under g++.
4665
4666 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4667 initialization.
4668
4669 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4670
4671 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4672 the regular expression: accept an (almost) arbitrary sequence of
4673 "frames-invalid" and "breakpoints-invalid" messages both before
4674 and after the "starting" message.
4675
4676 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4677
4678 * gdb.c++/local.exp: This test has never been known to work with g++.
4679
4680 2000-05-18 Michael Snyder <msnyder@cygnus.com>
4681
4682 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4683 Relax the regular expression a little, make it pass on Solaris 8.
4684
4685 2000-05-12 Kevin Buettner <kevinb@redhat.com>
4686
4687 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4688 a call, do not require that gdb stop on the line after the call.
4689 Instead, it is permissible for gdb to stop on the line of the
4690 call itself.
4691
4692 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
4693
4694 * gdb.base/break.exp (bp on small function, optimized file):
4695 Add a second pass pattern. The behavior differs here between stabs
4696 and dwarf for one-line functions. Stabs preserves two line symbols
4697 (one before the prologue and one after) with the same line number,
4698 but dwarf regards these as duplicates and discards one of them.
4699 Therefore the address after the prologue (where the breakpoint is)
4700 has no exactly matching line symbol, and GDB reports the breakpoint
4701 as if it were in the middle of a line rather than at the beginning.
4702
4703 2000-05-08 Michael Snyder <msnyder@cygnus.com>
4704
4705 * gdb.base/interrupt.exp: Make "pass" message say "send"
4706 rather than "send_gdb" (for consistancy).
4707
4708 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4709
4710 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4711 * gdb.c++/templates.cc: Properly check for GCC version number.
4712 * lib/compiler.cc: Likewise
4713
4714 2000-04-28 Michael Snyder <msnyder@cygnus.com>
4715
4716 * gdb.base/break.exp: When compiled with -O2 optimization,
4717 gdb may not stop at the first line of main, due to code motion.
4718
4719 2000-04-26 Michael Snyder <msnyder@cygnus.com>
4720
4721 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4722 This test depends on parsing the printf output from the target.
4723 Since the sparclet stub doesn't do stdio, this will never work.
4724 * gdb.base/call-rt-st.exp: ditto.
4725 * gdb.base/call-strs: ditto.
4726
4727 2000-04-24 Michael Snyder <msnyder@cygnus.com>
4728
4729 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4730
4731 * gdb.base/ending-run.exp: After connecting to a remote target,
4732 but before running, the target will appear to be in a random
4733 location. Specify both a file and a line for breakpoints.
4734 Also, the function that calls main may be called 'init'
4735 rather than 'start'.
4736
4737 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4738
4739 * gdb.base/help.exp: Update output for add-symbol-file command.
4740
4741 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
4742
4743 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4744 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4745
4746 2000-04-07 J.T. Conklin <jtc@redback.com>
4747
4748 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4749
4750 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4751
4752 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4753
4754 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4755 values that can be represented exactly.
4756 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4757 above change, and to not check against the directory part of the source
4758 file name.
4759 (step into print_long_arg_list): Likewise.
4760 (print print_small_structs from print_long_arg_list): Likewise.
4761 (print print_long_arg_list): Likewise.
4762
4763 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4764
4765 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
4766
4767 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4768
4769 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4770
4771 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
4772
4773 * gdb.base/commands.exp (deprecated_command_test): Add test for
4774 deprecate with no arguments.
4775
4776 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4777
4778 * gdb.base/break.exp: Add new test for setting breakpoints on
4779 optimized code so we can test breakpoints work even when function
4780 prologues may be optimized away
4781
4782 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4783
4784 From David Whedon <dwhedon@gordian.com>
4785 * gdb.base/commands.exp : Added command deprecator tests.
4786
4787 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
4788
4789 * gdb.base/help.exp: Added test for new apropos command.
4790
4791 2000-03-21 Kevin Buettner <kevinb@redhat.com>
4792
4793 * gdb.base/pointers.c (usevar): New function.
4794 (main): Make sure that global variables v_int_pointer2, rptr,
4795 and y are all referenced someplace in the program by calling
4796 usevar() on them. [Some linkers delete symbols which are
4797 never referenced. The space remains, but there's no way to
4798 get a (symbolic) handle on the variable from the debugger.]
4799
4800 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4801
4802 * gdb.base/printcmds.c: Add typedeffed arrays.
4803
4804 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4805 procedure to test arrays that are typedef'd.
4806
4807 2000-03-13 James Ingham <jingham@leda.cygnus.com>
4808
4809 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
4810 the library directories.
4811
4812 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4813
4814 * configure.in (configdirs): Add sub directory gdb.mi.
4815 * configure: Re-generate.
4816
4817 * gdb.mi: New directory.
4818
4819 2000-02-25 Scott Bambrough <scottb@netwinder.org>
4820
4821 * gdb.base/long_long.exp: Correct test suite failure when printing
4822 a long long value as a double on ARM platforms.
4823
4824 2000-02-16 Jim Blandy <jimb@redhat.com>
4825
4826 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4827 default source file is set properly before running this test.
4828
4829 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4830
4831 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4832 gdbtk/library directory, not in gdbtcl2.
4833
4834 2000-02-04 Jim Blandy <jimb@redhat.com>
4835
4836 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4837 backslash from regexp pattern.
4838
4839 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4840 procedure. Use it to run all the "continue to bp overloaded"
4841 tests. Note that this changes the names of the tests slightly.
4842 If the breakpoint hit message includes a hex PC value, because
4843 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4844 from the real source code, still consider that a pass.
4845
4846 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4847 XFAIL here if the breakpoint message contains a hex address. Note
4848 similar change on 1999-11-02.
4849
4850 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4851
4852 * gdb.base/ptype.exp: Establish a default source file before
4853 calling get_debug_format.
4854
4855 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4856
4857 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4858
4859 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4860
4861 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4862 of successive stepi commands -- while in the prologue we should see
4863 the function entry bracket.
4864
4865 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4866
4867 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4868 reach __change_mode() when stepping through the end of main().
4869
4870 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4871
4872 * gdb.base/default.exp: Fix expected pattern.
4873 * gdb.base/help.exp: Same.
4874
4875 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4876
4877 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4878 Don't use xfail's because that affects only the following test.
4879
4880 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4881 solaris or linux.
4882
4883 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4884
4885 2000-01-07 Michael Snyder <msnyder@cygnus.com>
4886
4887 * gdb.base/display.exp: Some yacc parsers like to say
4888 "A syntax error" rather than "A parse error". Accept both.
4889
4890 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4891
4892 * gdb.base/default.exp: Remove OS dependent string from "target
4893 remote" test.
4894 * gdb.base/help.exp: Same for "help target remote" test.
4895
4896 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4897
4898 From Jim Kingdon <kingdon@redhat.com>:
4899
4900 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4901 prompt (cleanup rather than necessity, but still might keep output
4902 from spilling to next test).
4903
4904 2000-01-02 Fred Fish <fnf@cygnus.com>
4905
4906 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4907 AIX, which defines them in <sys/types.h>.
4908
4909 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
4910
4911 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4912 float" test.
4913
4914 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
4915
4916 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
4917
4918 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4919 outermost frame disallowed".
4920
4921 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4922
4923 * gdb.base/setvar.exp: New tests for setting the value of a struct
4924 with a constant list.
4925
4926 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4927
4928 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4929 require the user to type a cast before setting the value of a struct.
4930
4931 1999-12-06 Jim Blandy <jimb@cygnus.com>
4932
4933 * gdb.base/default.exp: Expect the new 'info float' command on
4934 all i386 platforms.
4935
4936 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4937 LinuxThreads libraries that don't support debugging.
4938
4939 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4940
4941 * gdb.base/remote.c: Fill the buffer with truely random data.
4942 Change the buffer type to ``unsigned char'' to simplify size
4943 arithmetic.
4944
4945 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4946 stub only handles 400-1 byte packets. Verify that the download
4947 worked.
4948
4949 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4950
4951 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4952 tests, using UNRESOLVED for the untested cases. Also, does not wait
4953 for a timeout if the prompt was received before a recognizable pattern.
4954
4955 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4956
4957 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4958
4959 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4960
4961 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4962 watchpoints.
4963
4964 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
4965
4966 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4967
4968 * gdb.c++/local.exp: Be more flexible in recognizing local class
4969 name mangling. Don't allow horribly truncated method names.
4970 * gdb.c++/derivation.exp: Expect protected inheritance.
4971 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4972 * gdb.c++/virtfunc.exp: Likewise.
4973 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4974 when printing a nested enum.
4975
4976 1999-11-22 Jim Blandy <jimb@cygnus.com>
4977
4978 * gdb.base/step-test.exp: Properly await GDB's response to setting
4979 a breakpoint on the call to large_struct_by_value.
4980
4981 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4982 just because we have debug info for the `start' function.
4983
4984 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4985
4986 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4987 "Unknown signal" messages, which indicate (on LinuxThreads) that
4988 GDB doesn't know how to debug threads on this system. This is
4989 better than hanging while philosopher 0 dumps chatter into gdb.log.
4990
4991 1999-11-18 Tom Tromey <tromey@cygnus.com>
4992
4993 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4994
4995 1999-11-18 Fred Fish <fnf@cygnus.com>
4996
4997 * gdb.base/coremaker2.c: Add sample program for generating
4998 cores that is more self contained than coremaker.c. Eventually
4999 I'll add more code to this and tie it into the testsuite.
5000
5001 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5002
5003 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5004
5005 1999-11-10 Jimmy Guo <guo@cup.hp.com>
5006
5007 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5008 from $srcdir/lib/.
5009 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5010 and gdb.c++/.
5011
5012 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5013
5014 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
5015 'continue with watch' test point.
5016
5017 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5018
5019 Merged from p2linux-990323-branch:
5020
5021 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5022
5023 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5024
5025 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5026 {limit,fixed}''. Test ``set download-write-size''.
5027
5028 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5029
5030 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5031 gdb_expect_list.
5032
5033 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5034
5035 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5036
5037 1999-11-03 Mark Salter <msalter@cygnus.com>
5038
5039 * gdb.base/break.exp: Fix "stub continue" pattern.
5040
5041 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5042
5043 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5044
5045 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5046
5047 * gdb.base/display.exp ("finish"): Add timeout clause.
5048
5049 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5050 plain prompt clause, so this doesn't have to time out in order to
5051 fail.
5052
5053 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5054 breakpoint hit messages include an address.
5055
5056 * gdb.base/display.exp: Don't forget to escape parens in regular
5057 expressions. Unix regexp notatation sucks.
5058
5059 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5060
5061 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5062 order for 'signalled' message.
5063
5064 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5065
5066 From Jimmy Guo <guo@cup.hp.com>:
5067 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5068 * gdb.base/annota1.c: Add code for tests to work with.
5069
5070 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5071
5072 * gdb.base/remote.exp: New test for remote downloading settings.
5073 * gdb.base/remote.c: New file with large .data.
5074
5075 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5076
5077 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5078 for LinuxThreads support, merged from the Code Fusion branch.
5079
5080 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5081
5082 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5083 containing exp_continue into a while within an expect. Don't
5084 attempt a start more than three times. Check return value from
5085 gdb_load.
5086
5087 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5088
5089 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5090 a pass case.
5091
5092 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
5093
5094 * gdb.base/break.c (main): Added a statement that we can step
5095 off of.
5096 * gdb.base/break.exp: Added tests for setting a breakpoint
5097 at an offset and stepping onto a breakpoint.
5098
5099 1999-10-01 Fred Fish <fnf@cygnus.com>
5100
5101 * gdb.base/help.exp (help add-symbol-file): Update to match current
5102 gdb output.
5103
5104 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5105
5106 * gdb.base/break.exp: Code locations are in hex, don't forget!
5107 (For HP-UX.)
5108
5109 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5110
5111 * condbreak.exp: Use break.c as test program.
5112 * condbreak.c: Remove, redundant with break.c.
5113
5114 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5115
5116 * config/monitor.exp (gdb_target_monitor): Disable X- and
5117 Z-packets if the target needs it.
5118
5119 1999-09-13 James Ingham <jingham@leda.cygnus.com>
5120
5121 * gdb.c++/overload.exp: Added tests for listing overloaded
5122 functions with function pointers in the arg, explicitly calling
5123 out the version you want.
5124
5125 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5126
5127 * long_long.exp: Add variations of test cases that work for
5128 targets with 16-bit ints and 32-bit doubles.
5129
5130 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5131
5132 * break.c (main): Compare a possibly-uninitialized argc with an
5133 unlikely value that fits in 16 bits.
5134
5135 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5136
5137 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5138 0xfeeb, don't want negative numbers if ints are 16 bits.
5139
5140 * lib/gdb.exp (skip_cplus_tests): New proc.
5141 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5142 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5143 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5144 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5145 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5146 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5147 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5148 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5149
5150 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5151
5152 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5153
5154 * gdb.base/corefile.exp (up): Allow a parameter to appear
5155 in the frame that we're going up to.
5156
5157 From Jim Blandy <jimb@cygnus.com>:
5158
5159 * gdb.base/default.exp (info float): Expect some output now.
5160
5161 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5162 returning floating-point values to fail on the x86.
5163 * gdb.base/callfwmall.exp (do_function_calls): Same.
5164
5165 * gdb.base/list.exp (test_listsize): Correct expectations for
5166 listing line 1 with listsize 2. Also, listing a single line
5167 works now, as does listing three lines. [Kevin's note: There
5168 were a number of other cases fixed too where the expectations
5169 differed...]
5170
5171 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5172
5173 * gdb.base/selftest.exp: Add case for when version prints as
5174 constant string instead of char pointer.
5175
5176 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5177
5178 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5179 stepping out of main.
5180
5181 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5182 G++ used.
5183
5184 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5185 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5186
5187 * gdb.c++/ovldbreak.exp: Update match string in test that
5188 includes a warning of multiple breakpoints.
5189
5190 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5191
5192 * gdb.base/display.exp: Improve precision of step-after-finish
5193 added yesterday.
5194
5195 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5196 test.
5197
5198 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5199 configs when using G++, not just hppa*.
5200
5201 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5202
5203 * gdb.base/async.c: New file.
5204 * gdb.base/async.exp: New file.
5205
5206 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5207
5208 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5209 PA64.
5210
5211 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5212
5213 * gdb.base/display.exp: "finish" can leave us mid-line on many
5214 targets, deal with it. Add a small constant to main, instead of
5215 1000 since main+1000 may not be a valid address in the target.
5216
5217 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5218 on hpux11.
5219
5220 * gdb.base/attach.exp: Handle another hpux11 error message variant
5221 when attaching to a process that does not exist.
5222
5223 1999-08-19 J.T. Conklin <jtc@redback.com>
5224
5225 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5226 characters in 'continue to 1241' test.
5227
5228 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5229
5230 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5231 stop in print_long_arg_list, define and use a whitespace
5232 variable in print_small_structs test, add an XFAIL for Solaris.
5233 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5234 interested enough to fix.
5235
5236 1999-08-13 Keith Seitz <keiths@cygnus.com>
5237
5238 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5239 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5240 proc knows about targets other than the natives.
5241 (test_assign): Use "gdb_run_cmd" to "run" the target.
5242 Check that we've actually hit the breakpoint at main.
5243 When we attempt to assign a value to a local variable, check
5244 that the variable is in the current scope, i.e., don't use
5245 a test with an empty result.
5246
5247 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5248
5249 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5250 command.
5251
5252 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5253
5254 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5255 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5256 gdb.compat, gdb.threads-hp.
5257 gdb.hp/configure, gdb.hp/configure.in: New files.
5258 gdb.hp/Makefile.in: Recurse into new subdirs.
5259 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5260 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5261 in object files.
5262 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5263
5264 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5265
5266 * gdb.base/display.exp: Help expect by putting a newline in the
5267 funky printf, remove a bogus p/a test.
5268
5269 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5270
5271 * gdb.base/display.exp: Make sure that when we say 'run', we are
5272 connected to the target. This is necessary when running not
5273 natively.
5274
5275 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5276
5277 * gdb.base/step-test.exp: Removed some extraneous messages.
5278
5279 * gdb.base/long_long.exp: Don't run memory examination tests
5280 on little-endian targets (they will need a different set of
5281 results to match).
5282
5283 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5284
5285 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5286 until somebody decides to fix GDB.
5287
5288 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5289 constant as "ULL".
5290 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5291 matches for a couple x/2 commands.
5292
5293 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5294
5295 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5296 by merging in ref-types2 tests.
5297 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5298
5299 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5300 * gdb.c++/Makefile.in: Add standard actions.
5301 (EXECUTABLES): Rename from PROGS, update list.
5302 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5303 from gdb.hp.
5304 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5305 foo and bar locals.
5306 * gdb.c++/anon-union.exp: Fix tests to match.
5307 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5308 expect matches to handle output variations.
5309 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5310 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5311 output, add HP alternatives for new and delete prints.
5312 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5313 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5314 * gdb.c++/demangle.exp: Use $style when reporting failure.
5315 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5316 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5317 match alternatives.
5318 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5319 compilers.
5320 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5321 * gdb.c++/method.exp: Add match alternatives.
5322 * gdb.c++/misc.cc: Add bool types.
5323 * gdb.c++/misc.exp: Add tests for bool types.
5324 * gdb.c++/overload.exp: Add xfails.
5325 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5326 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5327 add some more template parameter tests (only for HP currently).
5328 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5329 * gdb.c++/virtfunc.cc: Add return type and value for main.
5330 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5331 match alternatives.
5332
5333 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5334
5335 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5336
5337 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5338
5339 * gdb.base/signals.exp: Don't expect getting a backtrace from
5340 within a signal handler to fail on Linux.
5341
5342 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5343
5344 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5345 * lib/gdb.exp: Remove some gratuitious semicolons.
5346 (delete_breakpoints): Increase timeout.
5347 (gdb_expect): Add -notransfer option.
5348 (gdb_test): Use -notransfer option.
5349 (get_compiler_info): Add f77 case.
5350 (get_compiler): New proc, split out from gdb_preprocess, add f77
5351 case.
5352 (gdb_preprocess): Call get_compiler.
5353
5354 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5355 * gdb.base/attach.exp, gdb.base/display.exp,
5356 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5357 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5358 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5359 third arg to gdb_test.
5360 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5361 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5362 HP-UX xfails, add others.
5363 * gdb.base/completion.exp: Reflect name change of self-test.
5364 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5365 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5366 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5367 HP failure number.
5368 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5369 useless HP-UX 10.30 references.
5370 * gdb.base/maint.exp: Loosen matches.
5371 * gdb.base/pointers.c (main): Declare more_code.
5372 * gdb.base/pointers.exp: Match on output of a `next'.
5373 * gdb.base/structs.c: Add prototypes.
5374 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5375 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5376
5377 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5378
5379 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5380 command.
5381
5382 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5383
5384 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5385 Fix run to main failures. Watchpoint can be hardware watchpoint.
5386
5387 * gdb.base/annota1.exp: Clean up some more, in case printf has
5388 debug info. Deal with lack of signal hanlder info in stack.
5389
5390 From Jim Kingdon <kingdon@redhat.com>:
5391 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5392
5393 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5394
5395 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5396 gdb.base/foll-vfork.exp: Don't run for crosses.
5397
5398 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5399
5400 * gdb.base/configure.in: Check for gdbvars.exp instead of
5401 a1-selftest.exp.
5402 * gdb.base/configure: Re-generate.
5403
5404 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5405
5406 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5407 in trying to run first and name is too long.
5408
5409 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5410 pointers2.c and pointers2.exp, respectively.
5411 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5412 doschk happier.
5413
5414 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5415
5416 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5417 callfuncs2.c and callfuncs2.exp.
5418
5419 * gdb.base/list.exp: Remove mistaken xfails.
5420 * gdb.base/list0.h: Add optional prototypes.
5421
5422 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5423
5424 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5425 calling malloc.
5426 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5427 * ptype.exp: Move test for get_debug_format to before its first
5428 use.
5429
5430 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5431
5432 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5433 * gdb.base/annota2.cc, annota2.exp: Move from here.
5434 * gdb.c++/annota2.cc, annota2.exp: To here.
5435 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5436
5437 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5438
5439 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5440 a consistent format.
5441
5442 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5443
5444 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5445 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5446 HP compilers, also set the globals $true and $false.
5447
5448 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5449 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5450 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5451 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5452 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5453 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5454 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5455 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5456 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5457 whatis.c} Add C++ compatible function definitions and return
5458 types, add includes for library functions.
5459 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5460 * gdb.base/step-test.c (myglob): Rename from glob.
5461 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5462 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5463 files, move here from gdb.hp.
5464 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5465 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5466 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5467 Adjust line numbers in regexps.
5468
5469 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5470 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5471 instead of 0/1.
5472
5473 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5474 foll-vfork.exp: New files, move here from gdb.hp.
5475 * gdb.base/page.exp: New file, test of pagination command.
5476
5477 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5478 recursion test.
5479 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5480
5481 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5482 gdb.base/solib.exp: Fix compiler invocation process.
5483
5484 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5485 HP-UX 11, turn off overload resolution explicitly.
5486 * gdb.base/commands.exp: Set argument list explicitly, add
5487 watchpoint test.
5488 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5489 them work.
5490 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5491 expressions properly.
5492 * gdb.base/corefile.exp: Loosen the match slightly.
5493 * gdb.base/default.exp: Allow "Error accessing memory" message
5494 also.
5495 * gdb.base/display.exp: Skip over x/0 j if PA64.
5496 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5497 * gdb.base/interrupt.exp: Ditto.
5498 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5499 in use.
5500 * gdb.base/list.exp: Add xfails for HP-UX.
5501 * gdb.base/long_long.exp: Refine some of the numeric matches.
5502 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5503 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5504 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5505 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5506 * gdb.base/ptype.exp: Succeed on more varieties of output.
5507 * gdb.base/scope.exp: Add xfails for HP-UX.
5508 * gdb.base/sect-cmd.exp: Add more cases.
5509 * gdb.base/setvar.exp: Add xfails for HP-UX.
5510 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5511 * gdb.base/signals.exp: Match on void symbolically.
5512 * gdb.base/step-test.exp: Add case for PA64.
5513 * gdb.base/term.exp: Add exit and restart.
5514 * gdb.base/twice.exp: Clean up after self.
5515 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5516 * gdb.base/whatis.exp: Allow more ways to pass tests.
5517
5518 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5519 no longer useful.
5520
5521 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5522
5523 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5524 list of patterns.
5525 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5526 print_double_array(double_array)", "continuing to breakpoint
5527 1018", "print print_double_array(array_d)" and "continuing to
5528 1034" tests.
5529
5530 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5531
5532 * Makefile.in: Add empty html and install-html targets.
5533
5534 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5535
5536 * config/mt-*: Remove, these haven't been used since 1996.
5537
5538 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5539
5540 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5541 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5542 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5543
5544 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5545
5546 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5547 simpler match case for the ptype of the big class.
5548
5549 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5550
5551 * gdb.exp: Fix test for gdb_prompt existence.
5552
5553 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5554
5555 * gdb.exp (gdb_test): Add fail after calls to perror.
5556
5557 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5558
5559 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5560
5561 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5562
5563 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5564
5565 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5566
5567 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5568 malloc() is linked in.
5569
5570 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5571
5572 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5573 step at end.
5574
5575 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5576
5577 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5578
5579 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5580
5581 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5582
5583 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5584 * gdb.base/mips_pro.exp: Likewise.
5585
5586 1999-06-02 Keith Seitz <keiths@cygnus.com>
5587
5588 * gdb.c++/templates.cc: Change all "new" operators to throw
5589 an exception.
5590 * gdb.c++/cplusfuncs.cc: Likewise.
5591
5592 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5593
5594 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5595
5596 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5597 * gdb.base/ending-run.exp: When stepping out of main, accept a
5598 step into an arbitrary assembler file.
5599
5600 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5601
5602 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
5603 "breakpoint-invalid" to be printed.
5604 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
5605 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5606 * gdb.base/annota2.cc: Initialize a.x to 0.
5607
5608 1999-05-17 Keith Seitz <keiths@cygnus.com>
5609
5610 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5611 when "skip_float_tests" set.
5612 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5613 "print print_ten_doubles", and "step into print_long_arg_list".
5614 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5615 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5616 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5617 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5618 "skip_float_tests" is set.
5619 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5620 when "skip_float_tests" set.
5621
5622 1999-05-06 Keith Seitz <keiths@cygnus.com>
5623
5624 * gdb.base/annota2.cc: Include stdio.h.
5625
5626 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5627
5628 * gdb.base/crossload.exp: Remove, this has been disabled ever
5629 since BFD stopped including all targets, and cross-GDB gets
5630 plenty of testing anyway.
5631 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5632 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5633 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5634 * gdb.base/README: Remove, was doc for this.
5635 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5636 needed.
5637
5638 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5639
5640 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5641 output.
5642
5643 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5644 * gdb.base/annota2.exp: New file. More annotation tests.
5645 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5646 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5647
5648 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
5649
5650 * config/cfdbug.exp: New file.
5651
5652 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5653
5654 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5655 Marcus Daniel's and Dale Hawkins's demangler crashes.
5656
5657 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5658 test_lucid_style_demangling, test_arm_style_demangling,
5659 test_hp_style_demangling): Try Tom Tromey's core-dumping
5660 identifier under each demangling style.
5661
5662 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5663
5664 * gdb.c++/demangle.exp: Include the current demangling style
5665 in all test names.
5666 (current_demangling_style): New global variable.
5667 (set_demangling_style, test_demangling_core, test_demangling,
5668 test_demangling_exact): New functions.
5669 (test_gnu_style_demangling, test_lucid_style_demangling,
5670 test_arm_style_demangling, test_hp_style_demangling): Use those,
5671 instead of calling gdb_test and gdb_test_exact directly.
5672 (catch_demangling_errors): New function, which reports errors
5673 signalled by the demangling test functions in an orderly way.
5674 (do_tests): Use catch_demangling_errors.
5675
5676 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5677
5678 * gdb.base/signals.exp (test_handle_all_print): Use () for
5679 grouping in expressions, not {}.
5680
5681 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5682 initialized yet.
5683
5684 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5685
5686 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5687 are listed.
5688
5689 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5690
5691 * gdb.stabs/weird.exp: Test for CC being defined before
5692 looking at its value.
5693
5694 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5695
5696 * gdb.base/call-ar-st.exp: Remove stray '#'.
5697 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5698 "short int" and "long int".
5699 * gdb.c++/overload.cc: Cast the string added in the previous
5700 change, to mollify finicky HP compiler.
5701 * gdb.hp/reg-test.exp (testfile): Fix file name.
5702 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
5703
5704 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5705 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5706 alternate form of enum ptype.
5707
5708 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5709
5710 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5711 * gdb.hp/*.exp: Change all to run compiler probe only after
5712 passing skip_hp_tests, so as not to waste time on guaranteed
5713 failure.
5714
5715 * gdb.c++/overload.cc: Pass string instead of char addr, always
5716 init ccpfoo.
5717 * gdb.c++/templates.cc: Fix syntax error.
5718
5719 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5720
5721 * gdb.base/commands.exp: Add test for correct position of '>'
5722 when issuing the 'commands' command after a 'while' or 'if'
5723 command.
5724
5725 1999-03-18 James Ingham <jingham@cygnus.com>
5726
5727 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5728
5729 * gdb.c++/method.exp: It was testing an uninitialized int on the
5730 stack and assuming it was positive.
5731
5732 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5733
5734 * gdb.base/step-test.exp: Catch a case where finish is broken and
5735 keep it from killing the rest of the tests.
5736 Use gdb_continue_to_end.
5737
5738 * gdb.base/sigall.exp: use gdb_continue_to_end.
5739
5740 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5741
5742 * gdb.base/display.exp: use runto_main, not run.
5743
5744 * gdb.base/default.exp: Check for the current error message in the
5745 r abbreviation test.
5746 Add strongarm to the targets that know info float.
5747
5748 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
5749 run which doesn't work with monitors.
5750
5751 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5752
5753 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5754
5755 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
5756 program. Traps the case (in Cygmon) when the program never really
5757 exits. Same as Mark's continue_to_exit, but I had put it in a lot
5758 more places, so I used my name. Sorry Mark...
5759
5760 * config/monitor.exp (gdb_target_monitor): added another
5761 target_info parameter: remotebinarydownload. This will set the
5762 remotebinarydownload flag if this is causing some boards trouble.
5763
5764 1999-03-18 Mark Salter <msalter@cygnus.com>
5765
5766 * lib/gdb.exp (continue_to_exit): New function.
5767
5768 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5769 * gdb.base/ending-run.exp: Ditto.
5770 * gdb.base/step-test.exp: Ditto.
5771
5772 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5773
5774 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5775 (suggested by Art Haas <ahaas@neosoft.com>).
5776
5777 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5778
5779 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5780
5781 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5782
5783 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5784 descriptions of types (short unsigned int vs unsigned short, etc).
5785
5786 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5787
5788 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5789 a call to strlen; sometimes we do have sources.
5790
5791 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5792
5793 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5794 character, so GDB won't print garbage after its end.
5795
5796 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5797 breakpoint there instead. Sometimes GCC emits memcpy to handle
5798 the large structures being passed by value, so we step into that
5799 instead of sum_array_print, which obscures what we're really testing.
5800 * gdb.base/step-test.exp: However, we do want a test that notices
5801 the bizarre steps into memcpy, so do that here. Add check for
5802 stepping into function calls that pass large structures by value.
5803 ("Is that a noun clause, or are you just happy to see me?")
5804 Remove all references to specific line numbers.
5805 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5806 New type and function.
5807 (main): Call large_struct_by_value, passing it a large struct by value.
5808 * lib/gdb.exp (gdb_get_line_number): New function.
5809
5810 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5811 more portable.
5812
5813 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5814
5815 * lib/gdb.exp: Doc fixes.
5816
5817 1999-03-05 Nick Clifton <nickc@cygnus.com>
5818
5819 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
5820
5821 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5822
5823 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5824 commands. They're not germane to this test, and they don't work
5825 that way on remote targets.
5826
5827 1999-03-01 James Ingham <jingham@cygnus.com>
5828
5829 * Changelog entries merged over from gdb development branch.
5830
5831 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5832
5833 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5834 for outputting results of test run.
5835
5836 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
5837
5838 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
5839
5840 1999-02-25 Felix Lee <flee@cygnus.com>
5841
5842 * lib/gdb.exp (debug_format): initialize
5843
5844 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5845
5846 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5847 * gdb.base/call-rt-st.c: Ditto.
5848
5849 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5850
5851 * gdb.threads/pthreads.exp (horiz): New variable.
5852 (test_startup): Fix regexps that capture thread numbers.
5853
5854 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5855
5856 * gdb.base/smoke.exp: Disambiguate two test case names (both
5857 called ``print'').
5858
5859 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5860
5861 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5862 compilation.
5863
5864 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5865
5866 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5867 actual output formatting.
5868 * gdb.base/smoke.exp: GDB removes leading 0's.
5869 * gdb.base/volatile.exp: Don't check type of remuneration;
5870 that variable is no longer defined in constvars.c.
5871 * gdb.base/step-test.c (main): Exit with explicit exit code.
5872 * gdb.base/step-test.exp: Remove two nexti checks--they are
5873 not portable.
5874
5875 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5876
5877 * gdb.base/help.exp ("help delete display"): Fix test to match
5878 gdb's output.
5879
5880 * gdb.base/long_long.c (known_types): Initialize values to zero.
5881 * gdb.base/long_long.exp: Step one more line
5882 so 'dec' is initialized in "get to known place". GDB removes
5883 leading zeros. Explicitly ask for hex formatting. Use
5884 unique test case names.
5885
5886 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5887
5888 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
5889
5890 * gdb.c++/method.exp: Add missing close brace.
5891
5892 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5893
5894 * gdb.base/maint.exp: Use 'set height 0' to disable page
5895 prompting, not 'set height 400'.
5896
5897 Fix a bunch of timeouts.
5898 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5899 four separate tests, so expect doesn't take forever to match a ton
5900 of text against a regexp with lots of .* forms.
5901 ("maint print psymbols", "maint print symbols"): Make some of
5902 these greps more selective, so that expect doesn't try to wade
5903 through huge piles of output and time out.
5904
5905 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5906
5907 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5908 tests: one which doesn't expect shlib events to be reported, and
5909 another which does, but is XFAIL for all platforms other than
5910 HP/UX.
5911
5912 * gdb.base/break.exp: Teach the test suite that the `catch
5913 fork', `catch vfork', and `catch exec' commands produce error
5914 messages on platforms that don't provide these features.
5915
5916 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5917
5918 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5919 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5920 (shortening names from solib_threshold.exp etc), won't run on
5921 anything but HP-UX for the foreseeable future.
5922 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5923 reflect move.
5924
5925 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5926
5927 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5928 gdb.trace/Makefile.in (clean): Remove all test executables.
5929
5930 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5931
5932 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5933 successfully re-sets breakpoints in shared libraries.
5934 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5935
5936 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5937
5938 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5939 and compiled w/o GCC.
5940
5941 * gdb.hp/watch-cmd.exp: ditto.
5942
5943 * gdb.hp/watch-hp.exp: ditto.
5944
5945 * gdb.hp/xdb1.exp: ditto.
5946
5947 * gdb.hp/xdb2.exp: ditto.
5948
5949 * gdb.hp/dbx.exp: ditto.
5950
5951 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5952
5953 * constvars.c: Remove C++-isms.
5954 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5955 with GCC.
5956
5957 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5958
5959 The following changes are part of the HP merge.
5960
5961 * gdb.base/break.exp: new tests to verify that catchpoints for
5962 fork, vfork, and exec don't trigger inappropriately.
5963
5964 * gdb.base/opaque.exp: compile one file at a time, then link.
5965
5966 * gdb.base/signals.exp: be more restrictive about which hppa
5967 systems receive a setup_xfail. new tests.
5968
5969 * gdb.base/solib_threshold.build: new file.
5970 * gdb.base/solib_threshold.exp: new file.
5971 * gdb.base/solib_threshold.link_opts: new file.
5972 * gdb.base/solib_threshold.mk: new file.
5973 * gdb.base/gen_solib_threshold.c: new file.
5974
5975 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5976 tests. New tests for enums inside classes.
5977
5978 * gdb.c++/compiler.cc: indicate support of template debugging.
5979
5980 * gdb.c++/demangle.exp: run hp style demangling tests.
5981
5982 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5983 tests.
5984
5985 * gdb.c++/misc.cc: changes to support new tests.
5986
5987 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5988 to support new tests.
5989
5990 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5991 gcc, then skip these tests.
5992
5993 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5994
5995 The following files are part of the HP merge; some had longer
5996 names at HP, but have been renamed to be no more than 14
5997 characters in length.
5998
5999 * gdb.hp/ambiguous.cc: new file.
6000 * gdb.hp/ambiguous.exp: new file.
6001 * gdb.hp/attach.exp: new file.
6002 * gdb.hp/attach2.exp: new file.
6003 * gdb.hp/classes-hp.exp: new file.
6004 * gdb.hp/ctti.exp: new file.
6005 * gdb.hp/ctti-add.cc: new file.
6006 * gdb.hp/ctti-add1.cc: new file.
6007 * gdb.hp/ctti-add2.cc: new file.
6008 * gdb.hp/ctti-add3.cc: new file.
6009 * gdb.hp/dbx.exp: new file.
6010 * gdb.hp/exception.cc: new file.
6011 * gdb.hp/exception.exp: new file.
6012 * gdb.hp/foll-exec.c: new file.
6013 * gdb.hp/foll-exec.exp: new file.
6014 * gdb.hp/foll-fork.c: new file.
6015 * gdb.hp/foll-fork.exp: new file.
6016 * gdb.hp/foll-vfork.c: new file.
6017 * gdb.hp/foll-vfork.exp: new file.
6018 * gdb.hp/inherit-hp.exp: new file.
6019 * gdb.hp/more-steps.exp: new file.
6020 * gdb.hp/namespace.cc: new file.
6021 * gdb.hp/namespace.exp: new file.
6022 * gdb.hp/optimize.exp: new file.
6023 * gdb.hp/pxdb.c: new file.
6024 * gdb.hp/pxdb.exp: new file.
6025 * gdb.hp/quicksort.exp: new file.
6026 * gdb.hp/reg-test.exp: new file.
6027 * gdb.hp/reg-test.s: new file.
6028 * gdb.hp/sized-enum.c: new file.
6029 * gdb.hp/sized-enum.exp: new file.
6030 * gdb.hp/start-stop.exp: new file.
6031 * gdb.hp/templ-hp.cc: new file.
6032 * gdb.hp/templ-hp.exp: new file.
6033 * gdb.hp/thr-lib.c: new file.
6034 * gdb.hp/thr-lib.exp: new file.
6035 * gdb.hp/thr-lib.h: new file.
6036 * gdb.hp/thr-liblib.c: new file.
6037 * gdb.hp/virtfun-hp.c: new file.
6038 * gdb.hp/virtfun-hp.exp: new file.
6039 * gdb.hp/watch-cmd.exp: new file.
6040 * gdb.hp/watch-hp.exp: new file.
6041 * gdb.hp/xdb1.exp: new file.
6042 * gdb.hp/xdb2.exp: new file.
6043 * gdb.hp/xdb3.exp: new file.
6044
6045 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6046
6047 The following files are part of the HP merge; some had longer
6048 names at HP, but have been renamed to be no more than 14
6049 characters in length.
6050
6051 * gdb.base/ss.h: new file.
6052 * gdb.base/call-ar-st.c: new file.
6053 * gdb.base/call-ar-st.exp: new file.
6054 * gdb.base/call-rt-st.c: new file.
6055 * gdb.base/call-rt-st-exp: new file.
6056 * gdb.base/call-strs.exp: new file.
6057 * gdb.base/ena-dis-br.exp: new file.
6058 * gdb.base/environ.exp: new file.
6059 * gdb.base/long_long.exp: new file.
6060 * gdb.base/sect-cmd.exp: new file.
6061 * gdb.base/shlib-cl2.exp: new file.
6062 * gdb.base/smoke.exp: new file.
6063 * gdb.base/so-impl-ld.c: new file.
6064 * gdb.base/so-impl-ld.exp: new file.
6065 * gdb.base/so-indr-cl.c: new file.
6066 * gdb.base/so-indr-cl.exp: new file.
6067 * gdb.base/varargs.exp: new file.
6068 * gdb.base/volatile.exp: new file.
6069 * gdb.base/whatis-exp.exp: new file.
6070 * gdb.base/display.exp: new file.
6071 * gdb.c++/derivation.exp: new file.
6072 * gdb.c++/local.exp: new file.
6073 * gdb.c++/member-ptr.exp: new file.
6074 * gdb.c++/overload.exp: new file.
6075 * gdb.c++/ovldbreak.exp: new file.
6076 * gdb.c++/ref-types.exp: new file.
6077 * gdb.c++/ref-types2.exp: new file.
6078 * gdb.c++/userdef.exp: new file.
6079
6080 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6081
6082 * gdb.base/default.exp: Reflect wording change in remote.c.
6083
6084 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
6085
6086 * gdb.base/help.exp: Update to reflect current text.
6087
6088 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6089
6090 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6091 they're stack variables and contain garbage.
6092 * gdb.c++/anon-union.exp: new file.
6093
6094 The following changes were made by David Taylor
6095 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6096 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6097 in changes by HP.
6098
6099 * gdb.base/bitops.exp: new file.
6100 * gdb.base/default.exp: change expected messages for catch and
6101 info catch tests to reflect HP merge changes.
6102 * gdb.base/enable-disable-break.exp
6103 * gdb.base/ending-run.c: new file.
6104 * gdb.base/long_long.c: new file.
6105 * gdb.base/maint.exp: new file.
6106 * gdb.base/pointers2.exp: new file.
6107 * gdb.base/shlib-call2.exp: new file.
6108 * gdb.base/solib.exp: new file.
6109 * gdb.base/step-test.c: new file.
6110 * gdb.c++/anon-union.cc: new file.
6111 * gdb.c++/local.cc: new file.
6112 * gdb.c++/member-pointer.cc: new file.
6113 * gdb.c++/method.cc: new file.
6114 * gdb.c++/ref-types.cc: new file.
6115 * gdb.c++/ref-types2.cc: new file.
6116 * gdb.c++/userdef.cc: new file.
6117
6118 * gdb.base/scope.exp: compile one file at a time, then link.
6119 * gdb.base/langs.exp: ditto.
6120 * gdb.base/list.exp: ditto.
6121
6122 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6123
6124 The following changes were made by David Taylor
6125 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6126 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6127 in changes by HP.
6128
6129 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6130 skip tests. When compiling pass c++ flag to gdb_compile.
6131 * gdb.c++/
6132
6133 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6134 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6135 (skip_hp_tests): new function.
6136 (gdb_preprocess): new function.
6137
6138 * configure.in (hpdir): decide whether to configure gdb.hp.
6139 * configure: regenerated.
6140
6141 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6142 to delete on clean.
6143 (EXECUTABLES): update to reflect new additions.
6144 * gdb.base/commands.exp: update message expected.
6145 * gdb.base/default.exp: add copyright notice.
6146 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6147 * gdb.base/help.exp: update messages to reflect current text.
6148 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6149 targets for recurse tests.
6150 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6151 skip this file.
6152
6153 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6154 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6155 compilation.
6156 * gdb.c++/misc.exp: ditto.
6157 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6158 run the tests. tell gdb_compile that it's a c++ compilation.
6159
6160 * gdb.threads/pthreads.exp: fix typo in message.
6161
6162 * gdb.base/all-bin.exp: new file.
6163 * gdb.base/arithmet.exp: new file.
6164 * gdb.base/assign.exp: new file.
6165 * gdb.base/completion.exp: new file.
6166 * gdb.base/cond-expr.exp: new file.
6167 * gdb.base/condbreak.exp: new file.
6168 * gdb.base/define.exp: new file.
6169 * gdb.base/dollar.exp: new file.
6170 * gdb.base/environment.exp: new file.
6171 * gdb.base/eval-skip.exp: new file.
6172 * gdb.base/jump.exp: new file.
6173 * gdb.base/logical.exp: new file.
6174 * gdb.base/pointers.exp: new file.
6175 * gdb.base/relational.exp: new file.
6176 * gdb.base/section_command.exp: new file.
6177 * gdb.base/whatis-expr.exp: new file.
6178
6179 * gdb.base/all-types.c: new file.
6180 * gdb.base/call-array-struct.c: new file.
6181 * gdb.base/call-return-struct.c: new file.
6182 * gdb.base/call-strings.c: new file.
6183 * gdb.base/callfuncs2.c: new file.
6184 * gdb.base/condbreak.c: new file.
6185 * gdb.base/constvars.c: new file.
6186 * gdb.base/display.c: new file.
6187 * gdb.base/int-type.c: new file.
6188 * gdb.base/jump.c: new file.
6189 * gdb.base/miscexprs.c: new file.
6190 * gdb.base/pointers.c: new file.
6191 * gdb.base/pointers2.c: new file.
6192 * gdb.base/shmain.c: new file.
6193 * gdb.base/shr1.c: new file.
6194 * gdb.base/shr2.c: new file.
6195 * gdb.base/solib.c: new file.
6196 * gdb.base/solib1.c: new file.
6197 * gdb.base/solib2.c: new file.
6198 * gdb.base/varargs.c: new file.
6199 * gdb.c++/derivation.cc: new file.
6200 * gdb.c++/overload.cc: new file.
6201 * gdb.c++/ovldbreak.cc: new file.
6202 * gdb.hp/attach.c: new file.
6203 * gdb.hp/attach2.c: new file.
6204 * gdb.hp/average.c: new file.
6205 * gdb.hp/compiler.c: new file.
6206 * gdb.hp/compiler.cc: new file.
6207 * gdb.hp/execd-program.c: new file.
6208 * gdb.hp/follow-exec.c: new file.
6209 * gdb.hp/follow-fork.c: new file.
6210 * gdb.hp/follow-vfork-and-exec.c: new file.
6211 * gdb.hp/misc-hp.cc: new file.
6212 * gdb.hp/more-steps.c: new file.
6213 * gdb.hp/optimize.c: new file.
6214 * gdb.hp/quicksort.c: new file.
6215 * gdb.hp/run-hp.c: new file.
6216 * gdb.hp/start-stop.c: new file.
6217 * gdb.hp/sum.c: new file.
6218 * gdb.hp/templates-hp.cc: new file.
6219 * gdb.hp/thread-local-in-lib.c: new file.
6220 * gdb.hp/thread-local-in-lib.h: new file.
6221 * gdb.hp/thread-local-in-lib.lib.c: new file.
6222 * gdb.hp/vforked-program.c: new file.
6223 * gdb.hp/virtfunc-hp.cc: new file.
6224 * gdb.hp/watchpoint-hp.c: new file.
6225 * gdb.hp/xdb.c: new file.
6226 * gdb.hp/xdb0.c: new file.
6227 * gdb.hp/xdb0.h: new file.
6228 * gdb.hp/xdb1.c: new file.
6229
6230 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6231
6232 The following change was made by Edith Epstein
6233 <eepstein@cygnus.com> as part of a project to merge in changes
6234 originally made by HP; HP did not create ChangeLog entries.
6235
6236 * gdb.c++/demangle.exp: changed the expected output for some
6237 ARM-style mangling -- removed second reference to datatype.
6238 For example, maint demangle __dt__11T1__pt__2_cFv
6239 T1<char>::~T1<char>(void)
6240 becomes,
6241 maint demangle __dt__11T1__pt__2_cFv
6242 T1<char>::~T1(void)
6243
6244 (test_hp_style_demangling): new hp specific demangling test cases.
6245
6246 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6247
6248 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6249 * gdb.trace/backtrace.exp: Likewise.
6250 * gdb.trace/circ.exp: Likewise.
6251 * gdb.trace/collection.exp: Likewise.
6252 * gdb.trace/deltrace.exp: Likewise.
6253 * gdb.trace/infotrace.exp: Likewise.
6254 * gdb.trace/limits.exp: Likewise.
6255 * gdb.trace/packetlen.exp: Likewise.
6256 * gdb.trace/passc-dyn.exp: Likewise.
6257 * gdb.trace/passcount.exp: Likewise.
6258 * gdb.trace/report.exp: Likewise.
6259 * gdb.trace/save-trace.exp: Likewise.
6260 * gdb.trace/tfind.exp: Likewise.
6261 * gdb.trace/tracecmd.exp: Likewise.
6262 * gdb.trace/while-dyn.exp: Likewise.
6263 * gdb.trace/while-stepping.exp: Likewise.
6264
6265 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6266
6267 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6268
6269 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6270
6271 From Brendan Kehoe:
6272 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6273 int return types.
6274
6275 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6276
6277 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6278 remote dos host testing right.
6279
6280 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6281
6282 * gdb.base/corefile.exp: remove some xfails.
6283
6284 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6285
6286 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6287 have different timestamps.
6288
6289 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6290
6291 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6292 gdb.base/default.exp: Replace "exec" with "executable".
6293
6294 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6295
6296 * gdb.base/default.exp: Change else if to elseif from previous
6297 delta.
6298
6299 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6300
6301 * gdb.base/default.exp: Add brace missing from previous delta.
6302
6303 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6304
6305 * gdb.base/default.exp: Support test for info float for all
6306 varieties of arm toolchain.
6307
6308 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
6309
6310 * gdb.trace/*.exp: remove "remote_download" command.
6311
6312 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
6313
6314 * gdb.trace/*.exp: remove -gdwarf from compile.
6315
6316 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6317
6318 * gdb.trace/configure.in(AC_INIT): typo
6319 * gdb.trace/configure: regenerated
6320
6321 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
6322
6323 * config/m68k-emc.exp: New file.
6324 * lib/<emc-support.exp trace-support.exp}: New files.
6325 * configure.in: add new test directory gdb.trace.
6326 * gdb.trace/{configure configure.in Makefile.in}: New files.
6327 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6328 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6329 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6330 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6331 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6332 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6333 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
6334
6335 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
6336
6337 * gdb.c++/classes.exp: Change all regular expressions to match
6338 arbitrary combinations of newline/carriage-return, so that they
6339 will work equally well on Unix and Windows.
6340 * gdb.c++/inherit.exp: ditto.
6341 * gdb.c++/virtfunc.exp: ditto.
6342
6343 1998-08-11 Dawn Perchik <dawn@cygnus.com>
6344
6345 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6346
6347 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6348
6349 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6350 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6351 to use a0-a3/d0-d3 as needed.
6352
6353 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6354
6355 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6356 * gdb.disasm/am33.exp: Corresponding changes.
6357
6358 1998-07-11 Felix Lee <flee@cygnus.com>
6359
6360 * gdb.base/callfuncs.exp: add cmp10 test.
6361 * gdb.base/callfuncs.c (cmp10): new function.
6362
6363 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6364
6365 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
6366 into two parts to get around a synchronization problem in expect.
6367
6368 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6369
6370 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6371
6372 * configure.in: Add options for gdbtk testsuite.
6373
6374 * configure: Regenerate.
6375
6376 * gdb.gdbtk: New directory to hold gdbtk tests.
6377
6378 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6379
6380 * gdb.fortran/types.exp: Escape brackets in expect patterns
6381 for test_float_literal_types_accepted tests.
6382 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6383 before run test.
6384
6385 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6386
6387 * am33.exp: Just compile, do not link the testcase.
6388 * am33.s: Add ".am33" pseudoop to force am33 mode.
6389
6390 1998-06-25 Felix Lee <flee@cygnus.com>
6391
6392 * gdb.base/setshow.exp: make sure $pc is sane.
6393
6394 * gdb.stabs/weird.exp: split expect patterns properly.
6395
6396 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6397
6398 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6399 * gdb.disasm/am33.exp: Run it.
6400
6401 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
6402
6403 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6404 match processing (and eliminate spurious timeouts when running).
6405
6406 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
6407
6408 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6409 exception test, but conditionalize it on target [mach | gnu].
6410
6411 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
6412
6413 * gdb.base/overlays.exp: fixup compile line for linker script.
6414
6415 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6416
6417 * gdb.fortran/types.exp: don't guess at float size.
6418
6419 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6420
6421 * gdb.base/exprs.exp: delete test that depends on int size.
6422
6423 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6424
6425 * config/sim.exp: Removed checks for target triplets.
6426 (gdb_target_sim): Use gdb,target_sim_options.
6427
6428 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6429
6430 * gdb.base/reread.exp: New file.
6431 * gdb.base/reread1.c: New file.
6432 * gdb.base/reread2.c: New file.
6433
6434 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6435
6436 * config/sim.exp: Use 'target sim -sparclite' when running
6437 SPARClite programs.
6438
6439 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6440
6441 * gdb.base/structs2.exp: New file.
6442 * gdb.base/structs2.c: New file.
6443
6444 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6445
6446 * gdb.asm/common.inc: New file.
6447 * gdb.asm/d10v.inc: New file.
6448 * asm-source.exp: Pass -I's to gas to find .inc files.
6449 Update line numbers in expected output.
6450 * asmsrc1.s: Rewrite.
6451 * asmsrc2.s: Rewrite.
6452 * configure.in: Create arch.inc symlink.
6453 * configure: Regenerate.
6454 * Makefile.in (distclean): Delete arch.inc.
6455
6456 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6457
6458 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6459 (t_enum_value2): ditto
6460 (t_enum_value3): ditto
6461 (main): ditto
6462 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6463
6464 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6465 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6466 change.
6467 Use gdb_test instead of send_gdb/gdb_expect sequences.
6468
6469 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6470
6471 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6472 not void.
6473
6474 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6475
6476 * gdb.base/branches.c: Code with lots of loops and
6477 subroutines. Used to test gdbs ability to single step through PC
6478 changes, especially to test mips-tdep.c:mips_next_pc
6479
6480 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6481
6482 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6483 more rigorous EGCS C++ error checking.
6484
6485 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6486
6487 * gdb.base/help.exp: Clean up `help set args' and `help show args'
6488 tests.
6489 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
6490 function when asleep.
6491 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
6492 for i*86 Linux and SVR4 signal handling problems.
6493 Remove linux xfail for `next to handler in signals_tests_1', fixed
6494 by recent infrun.c change.
6495 Limit backtrace to 10 frames to avoid timeout problems with infinite
6496 stack backtraces.
6497 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6498 target.[ch] change.
6499
6500 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6501
6502 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6503 for a newline from gdb before continuing.
6504 (default_gdb_exit): Just look for y or n.
6505 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6506 it does, fail the rests of the tests in the file.
6507
6508 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6509
6510 * config/cygmon.exp: New file.
6511
6512 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6513
6514 * gdb.base/list.exp: Fix problem with "list default lines around
6515 main" test on remote targets.
6516
6517 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6518 run test on remote targets.
6519
6520 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6521
6522 * gdb.asm: New directory.
6523 * configure.in: Configure it.
6524 * configure: Regenerate.
6525 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6526 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6527
6528 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6529
6530 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6531
6532 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
6533
6534 * gdb.base/overlays (several files): Merge the two overlay
6535 managers into one. Change variables (foox, barx, bazx, grbxx)
6536 back into ints but force them to load in their proper sections.
6537
6538 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6539
6540 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6541 on-chip insn memory and IMAP1 to upper 128k.
6542 (D10VCopy): Handle memory regions crossing 16k boundaries.
6543 (D10VCopy): Transfer data in 32 bit chunks.
6544
6545 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6546
6547 * gdb.base/overlays.c (main): Exit normally when result is
6548 correct.
6549
6550 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6551 map. Include space for printf in .text segment.
6552
6553 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6554 updated d10v memory VMA/LMA map.
6555 (D10VCopy): Call D10VTranslate.
6556
6557 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6558
6559 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6560
6561 * gdb.base/bar.c (barx, bar): Change variable to small array so
6562 that it won't be put into the .sdata - small data -
6563 section. Update reference.
6564 * gdb.base/baz.c (bazx, baz): Ditto.
6565 * gdb.base/foo.c (foox, foo): Ditto.
6566 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6567
6568 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6569 to be arrays.
6570
6571 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
6572
6573 * gdb.base/overlays.exp: fix up and get working again.
6574 Add tests for backtraces from an overlay function.
6575
6576 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6577
6578 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6579 "calling function with watchpoint enabled".
6580
6581 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6582
6583 * gdb.base/break.exp (test_next_with_recursion): Remove
6584 gdb_suppress_tests for d10v-*-*.
6585 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6586 pending review of whether it is useful or not.
6587
6588 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6589
6590 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6591
6592 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6593
6594 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6595 * config/dve.exp: New file to support Densan boards.
6596
6597 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6598
6599 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6600 reads and BSD.
6601
6602 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6603
6604 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6605 response.
6606
6607 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6608
6609 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6610
6611 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6612 test.
6613
6614 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6615 target_sizeof_long and target_bigendian_p.
6616 (structs_by_value, structs_by_reference): Check values according
6617 to targets word size and endianess.
6618
6619 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6620
6621 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6622 output.
6623
6624 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6625
6626 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6627 Update test of set args help to match source change.
6628
6629 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6630
6631 * gdb.base/default.exp: Expect help system output to be in
6632 alphabetical order.
6633 * gdb.base/help.exp: Ditto.
6634
6635 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6636
6637 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6638 "i*86-pc-linux-gnu*".
6639 * gdb.base/interrupt.exp: Ditto.
6640 * gdb.base/corefile.exp: Ditto.
6641
6642 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6643 define vxworks when building the testcase.
6644
6645 * gdb.base/ptype.exp: Fix testnames to be unique.
6646 * gdb.base/radix.exp: Ditto.
6647 * gdb.base/term.exp: Ditto.
6648 * gdb.base/whatis.exp: Ditto.
6649 * gdb.c++/classes.exp: Ditto.
6650
6651 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6652
6653 * gdb.base/callfuncs.exp: Fix indentation.
6654
6655 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6656 suppress_flag has been set.
6657 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6658 target feature.
6659
6660 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6661
6662 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6663 the testcase.
6664
6665 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6666 set_debug_traps() and breakpoint().
6667 * gdb.c++/misc.cc (main): Ditto.
6668 * gdb.c++/templates.cc (main): Ditto.
6669 * gdb.c++/virtfunc.cc (main): Ditto.
6670
6671 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6672
6673 * lib/gdb.exp(gdb_step_for_stub): New function.
6674 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6675 exists, reload the executable and do a "continue" instead of
6676 doing a jump.
6677 (runto_main): Use gdb_step_for_stub.
6678
6679 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6680 tests to have unique names.
6681 * gdb.base/callfuncs.exp: Ditto.
6682 * gdb.base/commands.exp: Ditto.
6683 * gdb.base/default.exp: Ditto.
6684 * gdb.base/help.exp: Ditto.
6685 * gdb.base/list.exp: Ditto.
6686 * gdb.base/opaque.exp: Ditto.
6687 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6688 similar tests.
6689
6690 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6691 * gdb.c++/cplusfuncs.cc: Ditto.
6692 * gdb.c++/virtfunc.cc: Ditto.
6693
6694 * config/monitor.exp: Keep track of the last file we saw, rather
6695 than trying to get the info from gdb.
6696
6697 * gdb.fortran/types.exp: Move comment to previous line.
6698
6699 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6700
6701 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6702 target mode.
6703
6704 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6705
6706 From Bob Manson:
6707 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6708 string from GDB when it connects.
6709
6710 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6711
6712 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6713
6714 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6715 if we can't get a debug format from GDB (we may be testing an
6716 older GDB). Use a 10 second timeout when checking for the format.
6717
6718 * gdb.stabs/weird.exp: Fix quoting.
6719
6720 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6721
6722 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6723
6724 * config/arm-ice.exp: New file.
6725
6726 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6727
6728 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6729 until it has been modified to work with the new testsuite.
6730
6731 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
6732 testcase won't compile, cause all of the testcases in the file to
6733 fail instead.
6734
6735 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6736 (gdb_clear_suppressed): New procedure.
6737 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6738 it contains a positive value.
6739
6740 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6741
6742 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6743
6744 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6745
6746 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6747
6748 * lib/gdb.exp (setup_xfail_format): New function.
6749 (get_debug_format): New function to get debug format.
6750 (debug_format): New global variable to hold last value set
6751 by get_debug_format.
6752 * gdb.base/list.exp: Call get_debug_format and expect some
6753 tests to fail for DWARF 1 and COFF formats.
6754 * gdb.c++/ptype.exp: Ditto.
6755 * gdb.c++/classes.exp: Ditto.
6756 * gdb.c++/cplusfuncs.exp: Ditto.
6757 * gdb.c++/inherit.exp: Ditto.
6758 * gdb.c++/templates.exp: Ditto.
6759 * gdb.c++/virtfunc.exp: Ditto.
6760
6761 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6762
6763 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6764 host doesn't have a currently-open connection.
6765
6766 * config/sparclet.exp: Cleanups and fixes to make it generic for
6767 any gdb stub target. Handle cases where gdb doesn't respond when
6768 interrupted in a sane fashion.
6769
6770 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6771 same thing in a totally different way.
6772
6773 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6774 setting "timeout".
6775 (gdb_start): We set the global gdb_prompt variable in
6776 default_gdb_init now.
6777
6778 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6779
6780 * gdb.base/printcmds.exp: Fix "check for floating addition"
6781 regexp to accept results within approx +/- .01 of exact value.
6782 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6783
6784 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6785
6786 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6787 properly.
6788 (gdb_expect): Add optional timeout parameter, and add timeout
6789 value to various calls.
6790 (gdb_suppress_tests): Only give one warning message per group.
6791
6792 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6793
6794 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6795 global variables. Handle getting a value for $timeout more
6796 gracefully.
6797
6798 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6799
6800 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6801 initialize.
6802 (default_gdb_init): New procedure; allow gdb_init to be overridden
6803 by a target configuration file.
6804 (gdb_expect): Pass the timeout to remote_expect.
6805
6806 * config/monitor.exp(gdb_load): Fix typo in regexp.
6807
6808 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6809
6810 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6811
6812 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6813
6814 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6815 here. Call gdb_target_exec before rebooting the target, to make
6816 sure the connection to the target is closed.
6817 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6818 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6819 Also detect "Timeout reading from remote" error.
6820
6821 * config/gdbserver.exp: Pass the executable being loaded to
6822 gdb_target_monitor. Don't call gdb_file_cmd here; let
6823 gdb_target_monitor do it.
6824
6825 * gdb.disasm/hppa.exp: Don't use exec_output.
6826
6827 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6828
6829 * gdb.base/list.exp: If we're debugging a non-native target,
6830 try to set the pc register to point to the start of the
6831 program before doing the first list command.
6832
6833 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6834 test_calls after restarting.
6835
6836 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6837 reloading.
6838
6839 * gdb.base/watchpoint.exp: Fix typo.
6840
6841 * gdb.base/setshow.exp: Check for use_gdb_stub.
6842
6843 * gdb.base/break.exp: Fix continue until exit test for the gdb
6844 stub case.
6845 * gdb.base/langs.exp: Ditto.
6846
6847 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6848 gdb_load_offset. If we weren't given a file to load, figure out
6849 what the current file is and use it.
6850
6851 * config/i386-bozo.exp: New file.
6852
6853 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6854
6855 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6856 feature.
6857
6858 * config/proelf.exp: New entry.
6859
6860 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6861
6862 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6863 of regexps.
6864
6865 * gdb.base/watchpoint.exp: Don't run the test_stepping
6866 tests if gdb can't call functions on the target.
6867
6868 * gdb.base/setshow.exp: Don't run the set prompt tests if
6869 the board has gdb_prompt set.
6870
6871 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6872
6873 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6874 * gdb.base/commands.exp: Likewise.
6875 * gdb.base/setshow.exp: Likewise.
6876
6877 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6878
6879 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6880 feature.
6881
6882 * config/i960.exp: New file.
6883
6884 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6885
6886 * gdb.base/funcargs.exp: Check for gdb,short_int target
6887 feature instead of looking for explicit target triplets.
6888
6889 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
6890
6891 * gdb.base/printcmds.exp: add a couple more tests a la
6892 "p 123DEADBEEF", to check parse_number.
6893 * top.c: change "to enable to enable" to "to enable" in a couple
6894 of help strings.
6895
6896 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6897
6898 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6899 on the mn10300.
6900
6901 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6902
6903 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6904 where the test executable is run with explicit args.
6905 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6906
6907 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6908
6909 * gdb.base/run.c: Use FAKEARGV to build test executable that
6910 does not require a command line arg, since most simulators
6911 don't currently support passing such an arg into the simulated
6912 program.
6913 * gdb.base/commands.exp: Change tests to insert the proper
6914 value as the arg to the first recursive factorial call. Change
6915 compilation line to define FAKEARGV at compile time.
6916
6917 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6918
6919 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6920 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6921 function with watchpoint enabled" test.
6922
6923 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6924
6925 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6926 Don't call gdb_test when the command doesn't return to a gdb prompt.
6927
6928 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6929 "Tests restarted" messages.
6930
6931 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6932
6933 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6934
6935 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
6936
6937 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6938 for INFO SYMBOL; add help tests for OVERLAY commands.
6939 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6940 add tests for OVERLAY commands
6941 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6942 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6943 * gdb.base/sigall.c: add usestubs code frag
6944 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
6945
6946 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6947
6948 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6949 failures.
6950 (gdb_stop_suppressing_tests): Note that tests have restarted.
6951
6952 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6953
6954 * config/h8300.exp: New file.
6955
6956 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6957
6958 * gdb.base/setshow.exp: Check for the existence of a
6959 feature, not its value.
6960
6961 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6962
6963 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6964
6965 * gdb.base/scope.exp: It's now init0(), not init().
6966
6967 * gdb.base/scope0.c: For now, change init() to be init0().
6968
6969 * config/monitor.exp: Use gdb_serial in preference to serial
6970 or netport.
6971
6972 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6973 and it's not already set.
6974
6975 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6976
6977 * gdb.base/setshow.exp: Only test the run command if the target
6978 isn't using a stub and if it supports argument passing.
6979
6980 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6981
6982 * config/udi.exp(gdb_start): Make sure UDICONF is set
6983 properly before starting gdb.
6984
6985 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6986
6987 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6988 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6989 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6990
6991 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6992
6993 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6994 specialized code to reboot the board, use remote_reboot instead.
6995
6996 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6997
6998 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6999
7000 * config/monitor.exp: Make sure we disconnect from the target.
7001 Also, try a reboot/reload cycle instead of failing if the
7002 load fails.
7003
7004 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7005
7006 * gdb.base/default.exp: Don't set match_max.
7007 * gdb.base/help.exp: Ditto.
7008 * gdb.base/list.exp: Ditto.
7009 * gdb.base/signals.exp: Ditto.
7010
7011 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7012 set, use remote_ld to download the testcase instead of
7013 the GDB loader.
7014
7015 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7016
7017 * config/vr5000.exp: New file.
7018
7019 * config/monitor.exp(gdb_target_monitor): Add pattern for
7020 "Ending remote" to detect errors in connecting.
7021
7022 * gdb.base/setshow.exp: Add .* within auto language test.
7023
7024 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7025 target feature.
7026
7027 * config/monitor.exp(gdb_load): Check for a failure when loading,
7028 and reboot the board if necessary.
7029
7030 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7031 a set of tests. Remove print.* from the patterns being checked.
7032
7033 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7034
7035 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7036 refer to gdb_spawn_id.
7037
7038 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7039 longer used.
7040 * config/sparclet.exp: Ditto.
7041 * config/sparclet-old.exp: Ditto.
7042 * config/slite.exp: Ditto.
7043 * config/sim.exp: Ditto.
7044 * gdb.base/funcargs.exp: Ditto.
7045
7046 * lib/gdb.exp:Remove references to gdb_spawn_id.
7047 (gdb_expect): Move to remote.exp.
7048
7049 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7050
7051 * config/monitor.exp: Detect the "Couldn't establish connection"
7052 message from GDB.
7053
7054 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7055
7056 * gdb.base/bitfields.exp: Use runto instead of explicit
7057 gdb_run_cmd/gdb_expect sequences.
7058
7059 * gdb.base/break.exp(text_next_with_recursion): Add match for
7060 gdb_expect call.
7061
7062 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7063 We also need to handle the "A program is being debugged already"
7064 prompt from gdb. Use gdb_test to set the baud rate.
7065
7066 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7067 to 20000. Really. I mean it.
7068
7069 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7070
7071 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7072 fails. If suppress_flag is set, skip perror message about not
7073 being able to send to GDB.
7074 (send_gdb): If suppress_flag is set, don't try to send commands to
7075 GDB.
7076 (gdb_expect): If suppress_flag is set, always fail immediately.
7077 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7078 (gdb_init): Call gdb_stop_suppressing_tests.
7079 (default_gdb_exit): Ditto.
7080 (default_gdb_start): Ditto.
7081
7082 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7083 gdb_stop_suppressing_tests as appropriate.
7084 * gdb.base/break.exp: Ditto.
7085 * gdb.base/callfuncs.exp: Ditto.
7086 * gdb.base/commands.exp: Ditto.
7087 * gdb.base/exprs.exp: Ditto.
7088 * gdb.base/funcargs.exp: Ditto.
7089 * gdb.base/list.exp: Ditto.
7090 * gdb.base/recurse.exp: Ditto.
7091 * gdb.base/scope.exp: Ditto.
7092 * gdb.base/structs.exp: Ditto.
7093 * gdb.c++/inherit.exp: Ditto.
7094
7095 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7096
7097 * config/vr4300.exp: New file.
7098
7099 * gdb.*/*.exp: Call gdb_expect instead of expect.
7100
7101 * lib/gdb.exp(gdb_expect): New function.
7102
7103 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7104
7105 * lib/gdb.exp(gdb_init): New function.
7106
7107 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7108 for each individual variable set.
7109
7110 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7111 name.
7112
7113 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7114
7115 * gdb.base/scope.exp: Use gdb_test.
7116
7117 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7118 aborting; the testsuite driver will do that for us (see
7119 gdb_finish). Also, use gdb_test in a few more places.
7120
7121 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7122
7123 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7124
7125 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7126
7127 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7128 and "add_tests" are not at the same address.
7129
7130 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7131
7132 * gdb.base/ptype.exp: Use gdb_test.
7133
7134 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7135
7136 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7137 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7138 left in. No longer expect them to fail.
7139
7140 * gdb.stabs/*.mt; Deleted, no longer used.
7141 * gdb.stabs/configure.in: Remove references to target makefile
7142 frags.
7143 * gdb.stabs/configure: Rebuilt.
7144
7145 * gdb.disasm/*.mt: Deleted, no longer used.
7146 * gdb.disasm/configure.in: Remove references to target makefile
7147 frags. Use "sh3.s" as the unique filename for this directory.
7148 * gdb.disasm/configure: Rebuilt.
7149
7150 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7151 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7152 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7153
7154 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7155
7156 * config/udi.exp: Use mondfe,name instead of remote_host.
7157
7158 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7159
7160 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7161 a function with a watchpoint enabled on the mn10200.
7162
7163 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7164 before trying to create it!
7165
7166 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7167
7168 * config/vx.exp: Use hostname instead of netport.
7169
7170 * config/vxworks.exp: New file.
7171
7172 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7173
7174 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7175 gdb before assuming everything worked. Send a ^C if a timeout
7176 occurs.
7177
7178 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7179 $gdb_spawn_id directly.
7180 (gdb_run_cmd): Try _start as well as start. Use the target feature
7181 gdb,start_symbol as the symbol to start from when jumping.
7182
7183 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7184
7185 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7186 redundant) test.
7187
7188 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7189 it doesn't lose for 16bit integer systems.
7190
7191 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7192
7193 * gdb.fortran/types.exp: If the target doesn't support "double"
7194 data types, then expect "real" types to only be 4 bytes.
7195
7196 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7197 call tests if the target doesn't support inferior function calls.
7198
7199 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7200 in printf tests.
7201
7202 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7203
7204 * gdb.base/help.exp: Disable "help set", "help show", and
7205 "help support". Simplify regexp for "help stack".
7206
7207 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7208 to 60 seconds. Temporarily set match_max to 15000 around the
7209 "info copying" test.
7210
7211 * gdb.base/nodebug.exp: Don't try to do an inferior function
7212 call if the target doesn't support them.
7213 * gdb.base/printcmds.exp: Likewise.
7214 * gdb.base/setvar.exp: Likewise.
7215 * gdb.base/structs.exp: Likewise.
7216 * gdb.c++/templates.exp: Likewise.
7217 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7218
7219 * gdb.base/recurse.exp: Enable for the mn10200.
7220
7221 * configure.in: Do configure gdb.stabs directory for *-*-elf
7222 targets.
7223 * configure: Rebuilt.
7224
7225 * gdb.base/break.exp: Check for gdb,noresults before testing
7226 exit status and/or results from the target.
7227 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7228 * lib/gdb.exp: Remove old (now bogus) initialization of
7229 noinferior, noargs, noresults and nosignals.
7230
7231 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7232
7233 * config/sh.exp: New file.
7234
7235 * config/slite.exp: Try to connect multiple times to the board
7236 before rebooting. Only send a "monitor run" if need_monitor_run
7237 is set.
7238
7239 * gdb.base/break.exp: Don't do the "stub continue" test if
7240 the target has gdb_stub set.
7241
7242 * gdb.base/callfuncs.exp: Increase the timeout.
7243
7244 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7245 if the target has gdb,noinferiorio set.
7246
7247 * gdb.base/list.exp: Increase match_max to 10000 characters.
7248
7249 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7250
7251 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7252 target.
7253
7254 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7255
7256 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7257
7258 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7259 trying to delete the copy of gdb. Catch the file delete so we
7260 don't die if the delete fails; also, the file should be copied to
7261 the host, not to the build.
7262
7263 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7264
7265 * lib/gdb.exp(gdb_test): Surround the result pattern with
7266 parenthesis in case it contains multiple regexps separated
7267 with |.
7268
7269 * gdb.base/watchpoint.exp: Use gdb_test.
7270 * gdb.base/default.exp: Ditto.
7271
7272 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7273
7274 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
7275
7276 * gdb.base/scope.exp: Use gdb_test.
7277 * gdb.c++/classes.exp: Ditto.
7278 * gdb.c++/inherit.exp: Ditto.
7279
7280 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7281
7282 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7283 remote_exec instead.
7284 * gdb.base/corefile.exp: Don't be ridiculous.
7285 * gdb.base/*.c: Add missing stub invocations.
7286
7287 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7288
7289 * config/slite.exp: Miscellaneous fixes.
7290
7291 * lib/gdb.exp: Fix runto.
7292
7293 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7294 the target.
7295
7296 * gdb.base/watchpoint.exp: Fix regexp.
7297
7298 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7299 close and wait commands, as the descriptor may now be
7300 invalid. Always call "remote_close host".
7301
7302 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7303
7304 Major rewrite for testsuite revision.
7305
7306 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7307 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7308 instead of relying on spawn_id to always contain a valid
7309 spawn id.
7310 (get_compiler_info): New procedure to build the ${binfile}.ci
7311 file, instead of replicating this in N different places.
7312 (gdb_compile): New procedure.
7313
7314 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7315 appropriate arguments) instead of compile. Use gdb_test in a lot
7316 more places. Use send_gdb instead of send. Always run gdb_start
7317 at the start of a testcase, as this is no longer done magically.
7318
7319 config/*-gdb.exp: Rename without the -gdb suffix.
7320
7321 config/mips.exp: Use remote_close instead of exit_remote_shell.
7322 config/monitor.exp: Use target_info instead of looking at
7323 baud, timeout, etc.
7324 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7325
7326 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7327
7328 * gdb.c++/templates.exp (test_ptype_of_templates),
7329 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7330 Update expect patterns for destructors and assignment operators
7331 to match corresponding c-typeprint.c changes.
7332 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7333 to destructor breakpoint test, GDB should be able to set the
7334 destructor breakpoint without specifying arguments.
7335
7336 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7337
7338 * gdb.threads/pthreads.exp: Change result for failure to compile due
7339 to lack of pthreads runtime support from an error to simply an
7340 unsupported test, per dejagnu standards.
7341
7342 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7343
7344 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7345 where GDB exits to reduce pattern match time.
7346 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7347
7348 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7349
7350 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
7351
7352 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7353 * gdb.base/default.exp: ditto.
7354 * gdb.base/nodebug.exp: ditto.
7355 * gdb.base/printcmds.exp: ditto.
7356 * gdb.base/ptype.exp: ditto.
7357 * gdb.base/setvar.exp: ditto.
7358 * gdb.base/structs.exp: ditto.
7359 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7360
7361 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7362
7363 * configure, */configure: Rebuild with autoconf 2.12.
7364
7365 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7366
7367 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7368 use new i*86-pc-linux*-gnu quads.
7369 * gdb.base/corefile.exp: Ditto.
7370 * gdb.base/signals.exp: Ditto.
7371 * gdb.base/sigall.exp: Ditto.
7372 * gdb.base/interrupt.exp: Ditto.
7373
7374 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7375 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7376 RedHat 4.0.
7377
7378 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7379 linux. This allows the test case to at least compile on latest
7380 linux, but still not run due to missing the threads runtime library.
7381
7382 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7383
7384 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7385 directory to search gdb directory. Accept and step over conditional
7386 stack alignment code. Consume $prompt in failure cases.
7387 Reset timeout to $oldtimeout instead of some arbitrary value.
7388 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7389 timeout problems with infinite stack backtraces.
7390 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7391 Accept function parameters for linkfunc member.
7392
7393 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7394
7395 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7396 (CXXFLAGS): Remove, unreferenced.
7397 (B_OPTIONS): Add for -B options and add code to initialize with
7398 previous -B options and also add -B option to pick up cross compiled
7399 runtime.
7400 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7401 doing cross compiles.
7402 (target_alias): Declare global.
7403 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7404 to verify that gcc exists in build tree, and if so set CC to that
7405 gcc and to use B_OPTIONS and TARGET_INCLUDES.
7406
7407 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7408
7409 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7410 ptype test for anonymous union. Fixup testcase to match
7411 current gcc debug output.
7412
7413 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7414
7415 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7416 force argument to an unsigned long type.
7417
7418 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7419
7420 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7421 tests and anonymous union print/ptype tests.
7422 * gdb.base/list.exp (test_forward-search): Increase timeout by
7423 5 minutes for the "search extremely long line" case.
7424 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7425 completely optional and that the pass/fail messages use the command as
7426 the message if that third arg is a null string.
7427 (gdb_test_exact): Arrange that a null string pattern means match a
7428 null string output rather than any output, which might include random
7429 errors.
7430 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7431 backtrace test.
7432 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7433 always failing and failure is now exposed by gdb.exp changes.
7434
7435 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7436
7437 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7438 weren't being noted.
7439
7440 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7441
7442 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7443 * gdb.stabs/weird.exp: Remove v_comb xfails.
7444
7445 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
7446
7447 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7448 list.exp scope.exp watchpoint.exp]
7449 Make all timeout error msgs explicitly say "(timeout)".
7450
7451 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
7452
7453 * config/monitor.exp: Increase download timeout to 1000 seconds.
7454
7455 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
7456
7457 * config/m32r.exp: Increase timeout to 120 seconds.
7458
7459 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7460
7461 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7462 and accept older ordering as obsolescent gcc or gdb.
7463 * gdb.c++/templates.exp: Ditto.
7464 * gdb.c++/virtfunc.exp: Ditto.
7465
7466 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7467
7468 * gdb.base/coremaker.c: Add code to mmap some data so we
7469 can check that it ends up in the core file.
7470 * gdb.base/corefile.exp: Add test to read mmapped data
7471 from core file.
7472
7473 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
7474
7475 * config/m32r.exp: New file.
7476
7477 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7478
7479 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7480 that cflags can contains -gstabs, and work correctly for other tests.
7481
7482 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
7483
7484 * gdb.base/setshow.exp: New file, tests show and set.
7485 * gdb.base/setshow.c: New file, tests show and set.
7486 * gdb.base/help.exp: Add test for help set|show annotate.
7487 * gdb.base/default.exp: Add test for set|show annotate.
7488
7489 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7490
7491 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7492 errors unique.
7493 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7494 explicitly.
7495
7496 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7497
7498 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7499 and width commands. This is done elsewhere.
7500 * (gdb_start): Don't call gdb_start_sim here. That's already
7501 done in gdb_load. This fixes lots of failures in default.exp.
7502
7503 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7504
7505 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7506 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7507 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7508 in the same we we treat other failures (since it may be an expected
7509 condition), rather than as an error.
7510 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7511 old test format.
7512
7513 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7514
7515 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7516 (distclean maintainer-clean realclean): No need to remove files
7517 twice. Nuke the duplicates.
7518 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
7519 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
7520 Remove config.h along with other config files.
7521
7522 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7523
7524 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7525 "p func1 ()" and note that rests of tests are skipped.
7526 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7527 setup_xfails for "print func2::coremaker_local".
7528 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7529 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7530 affected by the previous run test.
7531 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7532 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7533 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7534 "pass int powerset tuple" and "pass modeless int powerset tuple".
7535 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7536 "real write 4" and "real write 8".
7537 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7538 setup_xfails for "print vs1 after tuple assign 2",
7539 "print \$i after tuple assign 2", and
7540 "print vs2 after tuple assign 2".
7541 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7542 meaningful error message and return -1 so the caller can
7543 suppress further tests and avoid a cascade of errors.
7544
7545 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7546
7547 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7548 format for printing version.
7549 * gdb.base/default.exp: Ditto.
7550 * gdb.base/interrupt.exp: Fix problem with cascade of
7551 errors if child process dies while calling a function.
7552
7553 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7554
7555 * Makefile.in (VPATH): Add
7556 * Makefile.in (Makefile, config.status): Fix rules so things get
7557 remade when necessary.
7558
7559 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7560
7561 * Makefile.in (just-check): Add path to sibling expect dir
7562 to environment variable specified by RPATH_ENVVAR.
7563
7564 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7565
7566 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7567 (just-check): Add shared library paths for libstdc++, tk,
7568 tcl, bfd, and opcodes to the environment variable specified
7569 in RPATH_ENVVAR.
7570 * configure.in: Add support to recognize --enable-shared flag
7571 and generate correct value for RPATH_ENVVAR.
7572 * configure: Regenerated with autoconf.
7573
7574 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7575
7576 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7577 include all osf versions.
7578 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7579 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7580 when target is linux. When failing to build pthreads test
7581 executable, give more meaningful message.
7582 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7583 arg for pthread_create.
7584
7585 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7586
7587 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7588 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7589 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7590 and -lpthreads (everybody else).
7591 (test_startup): Fail gracefully if threads are not supported.
7592 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7593 "p/c array_index("abcdef",2)" when not gcc compiled.
7594 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7595 "print func2::coremaker_local" when not gcc compiled.
7596 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7597 "ptype on opaque struct tagname (statically)",
7598 "ptype on opaque struct tagname (dynamically) 1", and
7599 "ptype on opaque struct tagname (dynamically) 2"
7600 for not compiled with gcc.
7601 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7602 backtrace when compiled with gcc.
7603 * lib/gdb.exp (runto_main): Return result of "runto main" rather
7604 than always return success.
7605
7606 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7607
7608 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7609
7610 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7611
7612 * gdb.base/structs.exp: Undo last change.
7613
7614 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7615
7616 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7617 encapsulate all the steps/nexts done during self test, starting
7618 at main, and makes them less sensitive to optimization issues.
7619 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7620 signal handler" test.
7621 * gdb.threads/pthreads.exp: Only run this for native configs.
7622 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7623 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7624 tests.
7625 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7626 for "runto test_calls(void)" test.
7627
7628 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7629
7630 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7631 and don't expect address info in breakpoint confirmations.
7632
7633 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7634
7635 * gdb.base/list.exp (test_forward_search): Increase timeout
7636 temporarily by 60 seconds for searching extremely long line,
7637 and then reset to old value when done. Increase expect input
7638 buffer to 10000.
7639
7640 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7641
7642 * gdb.base/list.exp (test_forward_search): Fix to handle very
7643 long source line without overflowing expect's input buffer.
7644
7645 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7646
7647 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7648 "buffer_full".
7649
7650 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7651 "buffer_full".
7652
7653 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7654 "buffer_full".
7655
7656 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7657 "buffer_full".
7658
7659 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7660
7661 * configure.in (configdirs): Add gdb.threads.
7662 * configure: Regenerated with autoconf.
7663 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7664 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7665 * gdb.threads/configure: New, generated with autoconf.
7666
7667 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7668
7669 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7670
7671 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7672
7673 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7674 each signal's status in the output of "handle all print".
7675 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7676 the \r\n sequence that immediately precedes the gdb prompt.
7677 * gdb.base/a1-selftest.exp: Save original timeout and restore
7678 after test.
7679
7680 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7681
7682 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7683 symbol.
7684
7685 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7686
7687 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7688
7689 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7690
7691 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7692 timeout by 60 seconds.
7693
7694 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7695
7696 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7697 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7698 error return.
7699
7700 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7701
7702 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7703 gdb initialization, also report how long dejagnu waited. Restore
7704 old timeout before doing error return. Temporarily increase timeout
7705 by 3 minutes to allow for slow startups over heavy NFS use.
7706
7707 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7708
7709 * lib/gdb.exp: Report timeout value for verbosity level 2.
7710 * config/gdbserver.exp: Ditto.
7711 * config/hppro.exp: Ditto.
7712 * config/mips-gdb.exp: Ditto.
7713 * config/monitor.exp: Ditto.
7714 * config/netware.exp: Ditto.
7715 * config/sim-gdb.exp: Ditto.
7716 * config/slite-gdb.exp: Ditto.
7717 * config/udi-gdb.exp: Ditto.
7718 * config/unix-gdb.exp: Ditto.
7719 * config/vx-gdb.exp: Ditto.
7720 * gdb.base/a1-selftest.exp: Ditto.
7721 * gdb.base/a2-run.exp: Ditto.
7722 * gdb.base/break.exp: Ditto.
7723 * gdb.base/corefile.exp: Ditto.
7724 * gdb.base/list.exp: Ditto.
7725 * gdb.base/recurse.exp: Ditto.
7726 * gdb.base/scope.exp: Ditto.
7727 * gdb.base/signals.exp: Ditto.
7728
7729 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7730
7731 * gdb.threads/Makefile.in (docdir): Removed.
7732
7733 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7734
7735 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
7736 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
7737 @srcdir@.
7738 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
7739 autoconf 2.5 or higher.
7740 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7741
7742 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7743
7744 * configure: Regenerated.
7745 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7746 avoid name clashes with SunOS headers.
7747
7748 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7749
7750 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7751
7752 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7753
7754 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7755 prototype information ends up in the compiler info file.
7756
7757 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7758
7759 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7760 attempting to regenerate it. Eliminate use of a temporary file
7761 and just generate the info file directly. Source it immediately,
7762 for consistency of use.
7763 * gdb.base/corefile.exp: Ditto
7764 * gdb.base/exprs.exp: Ditto.
7765 * gdb.base/funcargs.exp: Ditto.
7766 * gdb.base/langs.exp: Ditto.
7767 * gdb.base/list.exp: Ditto.
7768 * gdb.base/mips_pro.exp: Ditto.
7769 * gdb.base/nodebug.exp: Ditto.
7770 * gdb.base/opaque.exp: Ditto.
7771 * gdb.base/ptype.exp: Ditto.
7772 * gdb.base/scope.exp: Ditto.
7773 * gdb.base/setvar.exp: Ditto.
7774 * gdb.base/signals.exp: Ditto.
7775 * gdb.base/whatis.exp: Ditto.
7776 * gdb.c++/templates.exp: Ditto.
7777 * gdb.c++/virtfunc.exp: Ditto.
7778 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7779 whether or not to add -lstdc++ to the compile command line args.
7780
7781 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7782
7783 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7784 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7785 Increase timeout, a lot of single stepping might be needed if the
7786 target has no hardware watchpoints.
7787
7788 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7789
7790 * gdb.base/break.exp: Ignore compiler warnings when compiling
7791 break.c.
7792 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7793 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7794 from remote-sim.
7795 * gdb.base/exprs.exp: Add h8300 xfails.
7796 * gdb.base/funcargs.exp: Likewise.
7797 * gdb.base/nodebug.exp: Likewise.
7798 * gdb.base/printcmds.exp: Likewise.
7799 * gdb.base/ptype.exp: Likewise.
7800 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7801 h8300 xfails.
7802 * gdb.base/return.exp: Handle float/double precision problems
7803 on the h8300.
7804 * gdb.base/funcargs.c: Explicitly make last constant argument to
7805 call_after_alloca_subr an unsigned long type.
7806 * gdb.base/return.c: Include stdio.h.
7807
7808 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7809
7810 * config/abug.exp: New file for the older Motorola Bug monitor
7811 that runs on the mvme13x series VME boards.
7812 * config/monitor.exp: Use the new config array for target settings
7813 if they exist.
7814
7815 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7816
7817 * sim-gdb.exp: Make the SH simulator allocate less space when
7818 it is targeted.
7819
7820 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7821
7822 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7823 test.
7824
7825 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7826
7827 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7828 "rs6000-*-*" for "list function in include file" when gcc compiled.
7829 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7830 for "p ctable1[120]".
7831 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7832 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7833 Remove setup_xfail for "rs6000-*-*" for
7834 "print 'scope0.c'::filelocal before run".
7835 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7836 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7837 since some compilers don't allow both options to be given
7838 on the same command line. Create object file and move it.
7839
7840 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7841
7842 * gdb.base/corefile.exp: Always regenerate the core file, since
7843 we always regenerate the coremaker program. Detect special case
7844 where registers cannot be read from core file.
7845
7846 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7847
7848 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7849 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7850 * gdb.c++/templates.exp: Only match on basename of file since
7851 some formats like xcoff don't encode directory information.
7852 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7853 and rs6000 AIX xcoff targets.
7854 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7855 * configure: Regenerate.
7856 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7857 here, rather than in distclean.
7858
7859 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7860
7861 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7862 defined, and use it to compile the test case with -O2. The
7863 native compilation still uses no optimization.
7864 * gdb.base/mips_pro.c: Remove inline assembly code since
7865 it is compiled PIC by default, which results in assembler
7866 warnings that make the testsuite think the compilation
7867 was unsuccessful.
7868
7869 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7870
7871 * gdb.c++/misc.exp: Add note to message for
7872 "print s.a for foo struct" that this is a known gcc 2.7.2
7873 and earlier bug.
7874
7875 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7876
7877 * gdb.base/break.exp: Fix pattern for matching "Delete all
7878 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7879 setup_xfail for deleting all breakpoints test. Fix various
7880 timeout messages to include "(timeout)".
7881 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7882 for "p t_float_values2(3.14159,float_val2)".
7883 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7884 for "continue to call2g" when gcc compiled.
7885 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7886 "up to foo in langs.exp", "show language at foo in langs.exp",
7887 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7888 and "show language at fsub in langs.exp".
7889 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7890 "list line 1 in include file", "list message for lines past EOF",
7891 "list function in include file", "list list0.h:foo", and
7892 "list filename:function; nonexistant function".
7893 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7894 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7895 and "ptype t_char_array" to be for native cc only.
7896
7897 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7898
7899 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
7900 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7901 "print func2::coremaker_local", and "backtrace in corefile.exp".
7902
7903 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7904
7905 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7906 "bt in signals.exp". This problem only appears when running
7907 the testsuite, and then only intermittently.
7908
7909 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7910
7911 * gdb.base/return.exp (return_tests): Differentiate between
7912 two tests of continuing.
7913
7914 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7915
7916 * */Makefile.in (maintainer-clean): Remove config.log.
7917 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7918 * gdb.c++/Makefile.in (PROGS): Add inherit.
7919 (clean): Remove *.ci.
7920
7921 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7922
7923 * gdb.c++/misc.cc: Add test code from Mike Stump.
7924 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7925
7926 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7927
7928 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7929 to "alpha-*-osf2*" and add comment.
7930 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7931 setup_xfail for "step over execarg initialization" and
7932 "step over corearg initialization".
7933 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7934 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7935 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7936 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7937 "print func2::coremaker_local", and "backtrace in corefile.exp".
7938 * gdb.base/signals.exp: Build and source signals.ci.
7939 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7940 to be for gcc only.
7941 * lib/gdb.exp: Move verbose statements outside conditionals.
7942
7943 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7944
7945 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7946 Feb 3 procfs.c change.
7947
7948 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7949
7950 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7951
7952 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7953
7954 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7955 from dejagnu's apparent default of 10 seconds, which gives random
7956 results when running the tests over NFS on moderately loaded systems.
7957 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7958
7959 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7960
7961 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7962 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7963 result reports.
7964
7965 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7966
7967 * configure.in (CY_AC_PATH_TCLH): Remove.
7968 * configure: Regenerate.
7969
7970 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7971
7972 * gdb.c++/Makefile.in (clean): Add missing '{'.
7973
7974 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7975
7976 * lib/gdb.exp: Provide a default value for noinferior.
7977
7978 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7979 Load libgloss.exp.
7980
7981 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7982
7983 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7984 the executable, not the .o to run the tests from.
7985
7986 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7987
7988 * gdb.base/break.exp: Don't test for program exit or exit status
7989 if $noresults if nonzero.
7990 * gdb.base/langs.exp: Likewise.
7991 * gdb.base/watchpoint.exp: Likewise.
7992
7993 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7994 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7995 trying to compile the testcase.
7996
7997 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7998
7999 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8000 * gdb.base/signals.exp (continue to handler): Likewise.
8001
8002 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8003
8004 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8005
8006 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8007
8008 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8009
8010 * gdb.base/corefile.exp: Recognize "not found" as failure
8011 when trying to determine if a core file was generated.
8012 If no core file was generate the first time, try again without
8013 the ulimit -c to work around braindamaged shells.
8014
8015 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8016
8017 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8018 [] tests with "test" and enclose string in quotes.
8019 * gdb.stabs/configure: Rebuild
8020
8021 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8022
8023 Changes in sync with expect:
8024 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8025 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8026 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8027 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8028 argument to AC_REQUIRE.
8029 * configure: Regenerated.
8030
8031 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8032
8033 * gdb.base/corefile.exp: When generating a core, discard any
8034 error messages about ulimit not found and the "core dumped"
8035 message from the shell that runs the coredumper.
8036
8037 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8038
8039 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8040
8041 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8042 which sed script to run. Expect failure for v_comb test
8043 on PA targets too.
8044
8045 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8046
8047 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8048 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8049
8050 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8051
8052 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8053 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8054 "sparc-sun-solaris*" xfails for "p v_comb".
8055 * lib/gdb.exp (default_gdb_start): Fix typo.
8056 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8057 messages to not include the full program name that caused
8058 the core dump since some systems (such as solaris) apparently
8059 truncate this path to about 80 characters.
8060 When generating a core file first try increasing the core file
8061 size limit to unlimited since some systems may default it to
8062 zero, and it is harmless to try it. Move the test for failing
8063 to generate a core file to where it will actually get executed.
8064 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8065 new gdb result from g++ debug info improvements and make old
8066 pattern obsolescent. Also account for size_t differences
8067 (may be int or long).
8068 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8069 initialization before function call is placed in the delay slot
8070 and thus appears to be skipped over by commands such as "next".
8071
8072 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8073
8074 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8075
8076 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8077
8078 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8079 input source file; fix code to compile test to deal with this
8080 convention.
8081 * gdb.c++/*.exp: Likewise.
8082
8083 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8084
8085 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8086 "bt in signals.exp".
8087
8088 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8089
8090 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8091 "step over execarg initialization" and
8092 "step over corearg initialization".
8093
8094 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8095
8096 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8097 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8098
8099 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8100
8101 From Rob Savoye (rob@poseidon.cygnus.com)
8102 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8103 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8104 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8105 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8106 configure.in}: Major reworking for autoconfig.
8107 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8108 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8109 New files.
8110 * config/unix-gdb.exp: Make GDB global.
8111 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8112 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8113 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8114 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8115 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8116 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8117 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8118 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8119 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8120 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8121 pr-8136.exp, result.exp, string.exp, tuples.exp},
8122 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8123 to returns as necessary, arrange for test to compile own testcase
8124 executable.
8125 * lib/gdb.exp: Changes for testsuite to compile own test cases.
8126
8127 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8128
8129 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8130 clear_xfail at end of test which might not call either pass or fail.
8131 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8132 "backtrace through signal handler".
8133
8134 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8135
8136 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8137 continuing from a job control stop signal.
8138 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8139
8140 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8141
8142 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8143 * gdb.base/corefile.exp: Likewise.
8144 * gdb.base/funcargs.exp: Likewise.
8145
8146 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8147
8148 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8149 * config/monitor.exp: Add support for setting baud rate.
8150
8151 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8152
8153 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8154 i*86-*-linux* xfails for "backtrace through signal handler".
8155 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8156 "print func2::coremaker_local".
8157 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8158 alpha-dec-osf2* xfail for
8159 "delete all breakpoints when none".
8160
8161 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8162
8163 * gdb.base/break.exp: Change test that deletes all breakpoints
8164 when no user breakpoints are installed. A post 4.15 change
8165 causes gdb to no longer prompt in this case.
8166
8167 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8168
8169 * gdb.base/return.exp (return_tests): Change xfail for test
8170 "correct value returned double test" to stop xfailing at
8171 Solaris 2.5. Apparently the bug has been fixed.
8172
8173 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8174
8175 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8176 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8177
8178 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8179
8180 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8181 * gdb.disasm/hppa.s: Corresponding changes.
8182
8183 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8184
8185 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8186 makefile fragment.
8187 * config/mt-hpux: Deleted.
8188
8189 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8190
8191 * Many files: When warning about suppressed tests due to a
8192 nonexistant test binary, avoid incrementing the warning count.
8193
8194 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8195
8196 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
8197
8198 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8199
8200 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8201 "sparc-*-solaris2*".
8202
8203 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8204
8205 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8206 Add global and local variables and initialize them.
8207 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8208 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8209 extracts the file name and terminating signal from the core file.
8210 * TODO: Remove note about tests for correct mapping of corefile.
8211 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8212 from optimizing it away.
8213 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8214 handles common blocks.
8215
8216 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8217
8218 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8219 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8220
8221 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8222
8223 * Makefile.in (maintainer-clean): New target, synonym for
8224 realclean.
8225 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8226 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8227 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8228 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8229 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8230 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8231
8232 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8233
8234 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8235 xfails when not gcc compiled for "print foo::funclocal".
8236 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8237 "print foo::funclocal at foo",
8238 "print 'scope1.c'::foo::funclocal at foo",
8239 "print foo::funclocal_bss at foo",
8240 "print 'scope1.c'::foo::funclocal_bss at foo",
8241 "print foo::funclocal_ro at foo",
8242 "print 'scope1.c'::foo::funclocal_ro at foo",
8243 "print bar::funclocal at foo" and
8244 "print 'scope1.c'::bar::funclocal at foo".
8245 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8246 gcc compiled for "print foo::funclocal at bar".
8247 Expand all messages to ensure that they identify that
8248 the test is at bar().
8249 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8250 gcc compiled for:
8251 "ptype on opaque struct pointer (statically)",
8252 "ptype on opaque struct tagname (statically)",
8253 "ptype on opaque struct pointer (dynamically) 1",
8254 "ptype on opaque struct tagname (dynamically) 1",
8255 "ptype on opaque struct pointer (dynamically) 2" and
8256 "ptype on opaque struct tagname (dynamically) 2
8257 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8258 gcc compiled for:
8259 "p datalocal"
8260 "whatis datalocal",
8261 "ptype datalocal",
8262 "p bsslocal",
8263 "whatis bsslocal", and
8264 "ptype bsslocal".
8265 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8266 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8267 when not gcc compiled.
8268 * gdb.base/funcargs.exp (float_and_integral_args): Add
8269 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8270 compiled.
8271 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8272 "backtrace from call6a" when not gcc compiled.
8273 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8274 "backtrace from call7a" when not gcc compiled.
8275 * gdb.base/callfuncs.exp (do_function_calls):
8276 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8277 "p t_char_array_values(char_array_val2,char_array_val1)",
8278 "p t_char_array_values(char_array_val1,char_array_val2)",
8279 "p t_char_array_values("carray 1","carray 2")",
8280 "p t_char_array_values("carray 1",char_array_val2)",
8281 "p t_char_array_values(char_array_val1,"carray 2")",
8282 "p sum_args(1,{2})",
8283 "p sum_args(2,{2,3})",
8284 "p sum_args(3,{2,3,4})",
8285 "p sum_args(4,{2,3,4,5})"
8286 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8287 "backtrace in corefile.exp" when not gcc compiled.
8288
8289 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8290
8291 * gdb.base/signals.exp: Rewrite `handle all print' test as
8292 a procedure. Accept blanks or TABs as whitespace, increase
8293 timeout and expect input buffer size for the large output
8294 from the command. Remove "i*86-*-bsdi2.0" xfail.
8295
8296 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8297
8298 * gdb.base/setvar.exp: Add new testcases for truncation when
8299 assigning invalid values to bitfields.
8300
8301 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8302
8303 * gdb.base/callfuncs.exp (do_function_calls): Remove
8304 mips-sgi-irix* xfail for
8305 "call inferior func with struct - returns char *"
8306 and fix test so that an optional (unsigned char *) cast is
8307 accepted in the result.
8308
8309 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8310
8311 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8312 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8313 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8314 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8315 that accidentally got checked in.
8316
8317 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8318
8319 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
8320 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8321 compiled test.
8322 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8323 Add mips-sgi-irix5* xfail for not gcc compiled.
8324 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8325 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8326 "p top", "whatis top", "p middle", and "whatis middle".
8327 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8328 "whatis signed char" for not gcc compiled.
8329 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8330 "set variable signed char=-1 (-1)" and
8331 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8332 * gdb.base/funcargs.exp (float_and_integral_args):
8333 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8334 Add mips-sgi-irix* xfail when not gcc compiled for
8335 "continue to call2b".
8336 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8337 "continue to call2g".
8338 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8339 "backtrace from call6a"
8340 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8341 "backtrace from call7k".
8342 Add mips-sgi-irix5* xfail when not gcc compiled for
8343 "backtrace from call7a".
8344 (localvars_after_alloca): Fix gdb_test cmds for
8345 "print * after runto ...".
8346 Remove rs6000-*-* xfails for
8347 "print i after runto localvars_after_alloca" and
8348 "print l after runto localvars_after_alloca"
8349 for all compilers.
8350 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8351 when not compiled with gcc, for:
8352 "print signed char == (minus)",
8353 "print signed char != (minus)",
8354 "print signed char < (minus)",
8355 "print signed char > (minus)".
8356 * gdb.base/callfuncs.exp (do_function_calls):
8357 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8358 "call inferior func with struct - returns char *".
8359 * gdb.base/return.exp (return_tests): Change xfail for
8360 "correct value returned double test" to include Solaris 2.4.
8361 * gdb.base/funcargs.exp (float_and_integral_args):
8362 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8363
8364 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8365
8366 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8367 enumeration bitfields if compiling with GNU C.
8368 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8369 to empty' prompt.
8370
8371 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8372
8373 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8374 test for PRO targets.
8375
8376 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8377 breakpoints in the inferior at any given time by making
8378 two groups of breakpoints for call2*, call6* and call7*
8379 tests.
8380
8381 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8382
8383 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8384 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8385 from optimizing it away.
8386 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8387 "call inferior func with struct".
8388
8389 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8390
8391 * configure.in: Only configure gdb.chill for particular targets.
8392
8393 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8394
8395 * gdb.base/Makefile.in: Add action to .c.o transformation
8396 rule that generates a .ci file for each .o file and remove
8397 explicit .c.o rules except for callfuncs.o.
8398 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8399 generates a .ci file for each .o file and remove explicit
8400 .cc.o rules.
8401 (clean): Remove *.tmp *.ci files.
8402 (EXECUTABLES): Remove templ-info.exp.
8403 * gdb.base/compiler.c: New file.
8404 * gdb.c++/compiler.cc: New file
8405 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8406 Change rs6000-*-* xfail for
8407 "print 'scope0.c'::filelocal_ro" and
8408 "print 'scope1.c'::filelocal" and
8409 "print 'scope1.c'::filelocal_bss" and
8410 "print 'scope1.c'::filelocal_ro" and
8411 "print 'scope1.c'::foo::funclocal" and
8412 "print 'scope1.c'::foo::funclocal_ro" and
8413 "print 'scope1.c'::bar::funclocal" and
8414 "print 'scope0.c'::filelocal_ro" and
8415 "print 'scope1.c'::filelocal at foo" and
8416 "print 'scope1.c'::filelocal_bss at foo" and
8417 "print 'scope1.c'::filelocal_ro at foo" and
8418 "print 'scope1.c'::foo::funclocal at foo" and
8419 "print 'scope1.c'::foo::funclocal_bss at foo" and
8420 "print 'scope1.c'::foo::funclocal_ro at foo" and
8421 "print 'scope1.c'::bar::funclocal at foo" and
8422 "print 'scope0.c'::filelocal_ro" and
8423 "print 'scope1.c'::filelocal" and
8424 "print 'scope1.c'::filelocal_bss" and
8425 "print 'scope1.c'::filelocal_ro" and
8426 "print 'scope1.c'::foo::funclocal" and
8427 "print 'scope1.c'::foo::funclocal_bss" and
8428 "print 'scope1.c'::foo::funclocal_ro" and
8429 "print 'scope1.c'::bar::funclocal" and
8430 "print 'scope1.c'::bar::funclocal_bss"
8431 to only be xfail'd when not compiled with gcc.
8432 Add rs6000-*-* xfail for
8433 "print 'scope0.c'::filelocal_bss before run"
8434 when compiled with gcc.
8435 (test_at_main): Add rs6000-*-* xfail for
8436 "print filelocal_ro in test_at_main"
8437 when compiled with gcc.
8438 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
8439 Add rs6000-*-aix* xfail for
8440 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8441 "ptype t_char_array", not compiled with gcc.
8442 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8443 xfail for "list foo (in include file)" when gcc compiled.
8444 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8445 (integral_args): Add rs6000-*-* xfail for
8446 "run to call0a" if not compiled with gcc.
8447 (unsigned_integral_args): Add rs6000-*-* xfail for
8448 "run to call1a" if not compiled with gcc.
8449 (float_and_integral_args): Add rs6000-*-* xfail for
8450 "run to call2a" if not compiled with gcc and for
8451 "continue to call2b" for any compiler.
8452 Add rs6000-*-* xfail to
8453 "print f1 after run to call2a" for gcc compiled.
8454 (discard_and_shuffle): Add rs6000-*-* xfail for
8455 "run to call6a".
8456 (shuffle_round_robin): Add rs6000-*-* xfail for
8457 "backtrace from call7a" if not compiled with gcc.
8458 Add rs6000-*-* xfail for
8459 "backtrace from call7b" if compiled with gcc.
8460 (call_after_alloca): Add rs6000-*-* xfail for
8461 "print c in call_after_alloca" and
8462 "print s in call_after_alloca" and
8463 "backtrace from call_after_alloca_subr"
8464 if not compiled with gcc.
8465 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8466 "print c in localvars_in_indirect_call" and
8467 "print c in localvars_in_indirect_call" and
8468 "backtrace in indirectly called function" and
8469 "stepping into indirectly called function"
8470 if not compiled with gcc.
8471 (localvars_after_alloca): Add rs6000-*-* xfail for
8472 "print c after runto localvars_after_alloca" and
8473 "print s after runto localvars_after_alloca" and
8474 "print i after runto localvars_after_alloca" and
8475 "print l after runto localvars_after_alloca"
8476 for all compilers.
8477 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8478 than whatis-info.exp.
8479 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8480 than opaque-info.exp.
8481 Setup rs6000-*-* xfail for
8482 "ptype on opaque struct pointer (statically)" and
8483 "ptype on opaque struct pointer (dynamically)" when
8484 not compiled with gcc.
8485 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8486 rather than callf-info.exp.
8487 (do_function_calls): Add clear_xfail for rs6000-*-* for
8488 "p t_float_values2(3.14159,float_val2)". Seems to work
8489 fine there, both with xlc and gcc. Need to find out what
8490 it is doing right and fix other platforms.
8491 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8492 "call inferior func with struct - returns int",
8493 "call inferior func with struct - returns long",
8494 "call inferior func with struct - returns float",
8495 "call inferior func with struct - returns double",
8496 "call inferior func with struct - returns char *",
8497 but only if not gcc compiled (presumes xlc compiled).
8498 Change rs6000-*-* xfails for
8499 "call inferior func with struct - returns char" and
8500 " call inferior func with struct - returns short" to only
8501 xfail if not using gcc.
8502 (clean mostlyclean): Remove *.ci and *.tmp files.
8503 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8504 than templ-info.exp.
8505 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8506 Add rs6000-*-* xfail for "up to foo in langs.exp"
8507 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8508 when not gcc compiled.
8509
8510 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8511
8512 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8513 * gdb.base/corefile.exp: Likewise.
8514 * gdb.base/list.exp: Likewise.
8515 * gdb.base/scope.exp: Likewise.
8516 * gdb.base/siganls.exp: Likewise.
8517
8518 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8519 compiler output.
8520 * gdb.base/whatis.exp: Likewise.
8521
8522 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8523
8524 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8525 failure (opcode table has been fixed to match reality).
8526
8527 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8528
8529 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8530 "call inferior func with struct - returns char",
8531 "call inferior func with struct - returns short"
8532
8533 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8534 "print 'scope0.c'::filelocal at main",
8535 "print 'scope0.c'::filelocal_bss in test_at_main",
8536 "print 'scope0.c'::filelocal at foo",
8537 "print 'scope0.c'::filelocal_bss in test_at_foo",
8538 "print 'scope0.c'::filelocal at bar",
8539 "print 'scope0.c'::filelocal_bss in test_at_bar"
8540
8541 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8542 in source file 1". This bug seems to have been fixed with both
8543 gcc and native cc (was native assembler bug?).
8544
8545 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8546
8547 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8548 "backtrace through signal handler" to "i*86-*-sysv4*".
8549 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8550 continue" case. Add "known SVR4 bug" to fail message.
8551 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8552 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8553 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8554 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8555 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8556 "up to foo in langs.exp", "show language at foo in
8557 langs.exp", "up to cppsub_ in langs.exp", "show
8558 language at cppsub_ in langs.exp", "up to fsub in
8559 langs.exp", and "show language at fsub in langs.exp".
8560 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8561 "bactrace in corefile.exp".
8562 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8563 "call inferior function with struct - returns float" and
8564 "call inferior function with struct - returns double".
8565
8566 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8567
8568 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8569 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8570 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8571 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8572
8573 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8574
8575 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8576 (or overriden) "CHILL" macro rather then bare "gcc".
8577 Also look for ../../gcc/xgcc since that is what we will
8578 actually need, not "Makefile". Remove following assignment
8579 of CHILL to CHILL_FOR_TARGET because that results in
8580 recursive definition.
8581
8582 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8583
8584 * gdb.base/corefile.exp: Change xfail for backtrace in
8585 corefile.exp from linuxaout to all linux.
8586 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8587 cases where we miss the breakpoint at the signal handler
8588 for some reason. Setup xfail for linuxoldld/linuxaout and
8589 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8590 hitting SIGURG breakpoint.
8591 * gdb.base/signals.exp: Setup xfail for "next" acting like
8592 continue to add linuxoldld. Setup xfail for all linux for
8593 "next to handler in signals_tests_1", "backtrace in
8594 signals_tests_1", "continue to func1", "pass SIGUSR1",
8595 and continue to handler".
8596
8597 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8598
8599 * Update all FSF addresses except those in COPYING* files.
8600
8601 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8602
8603 * gdb.base/a2-run.exp: Change messages to be more explicit about
8604 the status of args, and quote binfile in results.
8605
8606 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8607
8608 * gdb.base/callfuncs.exp: Add tests for passing structs to
8609 inferior functions and return various types.
8610 * gdb.base/callfuncs.c: Add functions to receive a struct
8611 and return a member of the struct, in various types.
8612
8613 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8614
8615 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8616
8617 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8618
8619 * config/vxworks29k.exp: New file, sources vxworks.exp.
8620
8621 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8622
8623 * config/gdbremote.exp: New file. Testing framework using
8624 gdbserver.
8625
8626 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8627
8628 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8629 "call function when asleep" and "send end of file".
8630 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8631 for "backtrace in corefile.exp".
8632 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8633 for "backtrace through signal handler".
8634 * gdb.base/corefile.exp: Make sure we actually generate a core file
8635 before trying the core tests. Some systems allow the user to suppress
8636 generation of core files and default to that (linux for example).
8637 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8638 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8639
8640 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8641
8642 * gdb.threads: New directory with some crude multi-threaded
8643 gdb tests (step.exp and step2.exp).
8644 * config/mt-lynx (STEP_EXECUTABLE): Define.
8645 (THREADFLAGS): Define.
8646
8647 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8648
8649 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8650
8651 * gdb.base/signals.exp: Disable whole file for lynx until
8652 further notice.
8653
8654 * gdb.base/signals.exp: xfail test where "next" acts like
8655 "continue" for lynx.
8656
8657 * gdb.base/interrupt.exp: xfail test for calling function while
8658 inferior is asleep for lynx.
8659
8660 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8661 than one cr-lf after each command.
8662
8663 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8664
8665 * configure.in: Reinstate setting of stabsdirs variable, fix
8666 typo in setting up configdirs for native builds.
8667
8668 * gdb.base/return.exp: Fix typo in return double test.
8669 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8670 compiler from optimizing them away.
8671
8672 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8673
8674 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8675 sequences to be echo'd by gdb when using gdb_test.
8676 * gdb.chill/chexp.exp: Likewise.
8677 * gdb.fortran/exprs.exp: Likewise
8678
8679 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8680
8681 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8682 after the inferior gdb has started.
8683
8684 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8685 after each command.
8686 * gdb.base/funcargs.exp: Likewise.
8687 * gdb.base/gdbvars.exp: Likewise.
8688 * gdb.base/interrupt.exp: Likewise.
8689 * gdb.base/list.exp: Likewise.
8690 * gdb.base/watchpoint.exp: Likewise.
8691 * gdb.c++/demangle.exp: Likewise.
8692 * gdb.c++/inherit.exp: Likewise.
8693 * gdb.chill/chexp.exp: Likewise.
8694 * gdb.fortran/exprs.exp: Likewise.
8695
8696 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8697 test if we can't handle IO to/from the inferior.
8698
8699 * gdb.c++/misc.exp: Always check for a program already being
8700 started after sending a "run" command to gdb.
8701
8702 * gdb.base/twice.exp: Start with a fresh gdb.
8703
8704 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8705 only depend on gdb's expression code, not the chill runtime.
8706
8707 * gdb.base/return.c: Put return values into variables so we
8708 can have gdb print them rather than depending on the program
8709 to print them.
8710 * gdb.base/return.exp: Corresponding changes.
8711
8712 * lib/gdb.exp: Provide default value for noinferiorio.
8713 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8714 the inferior.
8715
8716 * gdb.base/break.exp: Always check for a program already being
8717 started after sending a "run" command to gdb.
8718 (text_next_with_recursion): Don't check the output from the
8719 program's printf statement. Instead just make sure the program
8720 exited.
8721
8722 * gdb.base/commands.exp: Protect tests which need arguments with
8723 $noargs conditionals.
8724
8725 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8726
8727 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8728 of structure member arrays to match gdb/valops.c:value_addr change.
8729
8730 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8731
8732 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8733 cases.
8734
8735 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8736
8737 * configure.in (configdirs): Remove gdb.chill from default list
8738 of subdirs and then add it back in only if doing a native build.
8739 The current chill compiler does not yet work in any cross build.
8740 * Revert all signal changes from Jul 6.
8741 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8742 for sh-hms targets, allowing these tests to link, with no other
8743 changes. Testing is suppressed by setting "nosignals" in site.exp.
8744
8745 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8746
8747 * configure.in (signaldirs): Define and add to configdirs for all
8748 targets except some specific ones that are known to not support signals.
8749 Also clean up formatting.
8750 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8751 (signals, sigall): Remove rules to build.
8752 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8753 Moved to new gdb.signals directory.
8754 * gdb.signals: New test directory.
8755 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8756 signals.c signals.exp}: New or moved files.
8757
8758 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8759
8760 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8761
8762 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8763
8764 * gdb.base/return.exp: Xfail `return double' test failure
8765 on at least Solaris 2.3 and handle future/past versions on
8766 a case by case basis as appropriate. Also update message
8767 to include i*86 failures.
8768
8769 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8770
8771 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8772
8773 * lib/gdb.exp: Fix comment which erroneously identified
8774 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8775 gdb_file_cmd not gdb_load).
8776 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8777
8778 * gdb.base/setvar.exp: Make test names consistent between pass and
8779 fail cases. Use gdb_test more.
8780
8781 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8782
8783 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8784
8785 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8786
8787 * gdb.base/help.exp: Fix expected help string for `show commands'.
8788
8789 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8790
8791 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8792
8793 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8794 of a text section.
8795
8796 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8797
8798 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8799 that loop eventually terminates. Fix Connection refused logic so
8800 that testsuite will expire nicely.
8801
8802 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8803
8804 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8805 config/rom68k.exp: New tcl glue for the appropriate monitors.
8806 These all just end up calling monitor.exp.
8807 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8808 refused' by retrying. Cleanup some timeout issues.
8809 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8810 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8811 callers don't have to set/restore global timeout variable.
8812
8813 * The following set of changes centralizes management of the global
8814 timeout variable. This way, it can be set in one target dependent
8815 place instead of dozens of places scattered throughout the test suite.
8816 If you need to lengthen a timeout, then you should either set timeout
8817 in one of the config/{target}.exp files, or multiply it by a factor.
8818 Setting it to an absolute value is always going to lose for some
8819 targets.
8820 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8821 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8822 * gdb.base/funcargs.exp: Don't set timeout.
8823 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8824 * gdb.base/printcmds.exp (test_print_string_constants
8825 test_print_array_constants): Don't set timeout.
8826 * gdb.base/ptype.exp: Don't set timeout.
8827 * gdb.base/recurse.exp: Don't set timeout.
8828 * gdb.base/return.exp: Don't set timeout.
8829 * gdb.base/watchpoint.exp: Don't set timeout.
8830 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8831 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8832
8833 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8834
8835 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8836
8837 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8838
8839 * lib/gdb.exp: Disable chill tests for irix5.
8840
8841 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8842
8843 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8844 each test pass or fail.
8845
8846 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8847
8848 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8849 xlc not gcc.
8850
8851 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8852
8853 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8854
8855 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8856
8857 * config/est.exp: Fix copyright and comments. Remove dead code.
8858 Use targetname, serialport and baud variables instead of fixed
8859 constants.
8860 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8861 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8862
8863 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8864
8865 * gdb.base/watchpoint.exp: Don't run
8866 test_watchpoint_triggered_in_syscall for sunos.
8867
8868 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8869
8870 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8871 they don't seem to exist. Do include stdio.h.
8872
8873 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8874
8875 * gdb.base/a1-selftest.exp: Add alpha xfail.
8876
8877 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8878
8879 * gdb.base/watchpoint.c (main): Prompt before calling read().
8880 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8881 Revise accordingly. Remove cruft about sending "123" several
8882 times, until it gets noticed. Clean up the "print buf[0]" stuff
8883 so that it passes or fails, and waits for prompts in the usual way.
8884
8885 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8886
8887 * gdb.base/recurse.exp: Fix comment.
8888
8889 * TODO: Remove item about printing variables in nodebug.exp. Add
8890 item about enabling tests which are only run on some targets.
8891
8892 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8893 fail, make test names unique, use new gdb_test convention
8894 regarding pattern, use gdb_test more, etc.).
8895
8896 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8897 fail, make test names unique, etc.).
8898
8899 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8900
8901 * gdb.base/nodebug.c: Change return type of top and middle to
8902 short.
8903 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8904 are fixed by the recent mdebugread.c changes. Allow `short ()'
8905 as type for top and middle.
8906
8907 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8908
8909 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8910 nearly as I can tell, the whole thing was an accident in Stu's
8911 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8912 to replace a send/expect pair with gdb_test, but ended up only
8913 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8914 of 30 Mar 1995 took care of it, but left this vestigial comment
8915 which I am now nuking.
8916
8917 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8918
8919 * gdb.base/break.exp: Look for different line number for
8920 breakpoint at main depending on usestubs.
8921
8922 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8923
8924 * gdb.base/list.exp: Adjust some alternate expect patterns to
8925 match recent list0.c change. Add alternate expect pattern for
8926 output from `list default lines around main' for optimizing
8927 compilers.
8928
8929 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8930
8931 * lib/gdb.exp: If nosignals is not set, set it to 0.
8932
8933 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8934
8935 * config/slite-gdb.exp: Responds to load symbol table prompt.
8936 * gdb.base/break.exp: Adjust line number, fix rerun.
8937 * gdb.base/langs0.c: Add #ifdef usestubs.
8938
8939 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8940
8941 * gdb.base/list.exp: Adjust line contents after adding new lines in
8942 list0.c. Also fix a syntax error.
8943
8944 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8945 * gdb.base/break.exp: ditto.
8946 * gdb.base/list.exp: ditto.
8947 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8948 * gdb.base/run.c: ditto.
8949 * gdb.base/list0.c: ditto.
8950 * gdb.base/funcargs.c: ditto.
8951
8952 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8953
8954 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8955 $targetname, $serialport and $baud instead of hardwired variables.
8956 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8957 target doesn't support signals.
8958
8959 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8960
8961 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8962
8963 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8964
8965 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8966 Don't rely on the value of an auto variable before it has been
8967 initialized. Use gdb_test more.
8968
8969 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8970
8971 * lib/gdb.exp (default_gdb_version): A version number must start
8972 with a digit, but other than that contains all characters up to
8973 the first whitespace character.
8974
8975 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8976
8977 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8978
8979 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8980
8981 * gdb.c++/*.exp: Warn if executable does not exist. The original
8982 reason for skipping the warning was that configure.in sometimes
8983 intentionally skipped building the executables but the tcl code
8984 had no way of knowing. That (a) was always bogus with respect to
8985 error handling, (b) is no longer true (right now there is no way
8986 to skip C++ tests).
8987
8988 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8989
8990 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8991
8992 * gdb.base/list.exp: Add expect patterns for output from
8993 SunPRO compiled executables.
8994 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8995 types.
8996
8997 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8998
8999 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9000 number (we are already testing that the correct source line text
9001 gets printed).
9002
9003 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9004 that is what is intended, but something needed to be done to get
9005 sunos4 native working again.
9006
9007 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9008
9009 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9010 apparently went with a (very) old xfail.
9011
9012 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9013
9014 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9015 runto_main is a proc in gdb.exp that will do 'step' for target use
9016 stubs.
9017 * gdb.base/exprs.exp: ditto.
9018 * gdb.base/interrupt.exp: ditto.
9019 * gdb.base/opaque.exp: ditto.
9020 * gdb.base/printcmds.exp: ditto.
9021 * gdb.base/ptype.exp: ditto.
9022 * gdb.base/scope.exp: ditto.
9023 * gdb.base/setvar.exp: ditto.
9024 * gdb.base/signals.exp: ditto.
9025 * gdb.base/twice.exp: ditto.
9026 * gdb.c++/classes.exp: ditto.
9027 * gdb.c++/inherit.exp: ditto.
9028 * gdb.c++/templates.exp: ditto.
9029 * gdb.base/break.exp: no run and hit main for stubs. Change line
9030 numbers for breakpoints and info breakpoint.
9031 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9032 breakpoint().
9033 * gdb.base/callfuncs.c: ditto.
9034 * gdb.base/exprs: ditto.
9035 * gdb.base/interrupt.c: ditto.
9036 * gdb.base/opaque0.c: ditto.
9037 * gdb.base/printcmds.c: ditto.
9038 * gdb.base/ptype.c: ditto.
9039 * gdb.base/scope0.c: ditto.
9040 * gdb.base/setvar.c: ditto.
9041 * gdb.base/signals.c: ditto.
9042 * gdb.base/twice.c: ditto.
9043 * gdb.c++/misc.cc: ditto.
9044 * gdb.c++/templates.cc: ditto.
9045
9046 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9047
9048 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9049
9050 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9051 somewhere between `read' and `main.c'. I'm pretty sure the
9052 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9053 and it isn't particularly useful.
9054
9055 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9056
9057 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9058
9059 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9060
9061 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9062
9063 * config/mt-slite: add LIBS and -nostdlib.
9064 * config/slite-gdb.exp: add this new file to support sparclite target.
9065
9066 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9067
9068 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9069
9070 * gdb.base/a2-run.exp: Change argument to istarget from
9071 "*-*-vxworks" to "*-*-vxworks*".
9072 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9073
9074 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9075
9076 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9077 will not runto main but do a 'step' to step out of breakpoint().
9078 * config/mt-slite: add -Dusestubs.
9079
9080 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9081
9082 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9083 instead of just @.
9084
9085 * gdb.base/signals.exp: Add test for "handle all print".
9086 * TODO: Remove "handle all print". Also remove item about
9087 checking copyright date (I don't like the idea of a spurious FAIL
9088 based on when we run the tests).
9089
9090 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9091 for SunOS4 (reason for failure not investigated). Remove
9092 redundant test for $binfile.
9093
9094 * gdb.base/nodebug.c (array_index): Call malloc.
9095
9096 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9097
9098 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9099
9100 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9101 conventions and slightly simplify the matching regexp.
9102
9103 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9104
9105 * gdb.base/break.exp: Update gdb_test invocation to use new
9106 convention.
9107
9108 * lib/gdb.exp: If noargs is not set, set it to 0.
9109
9110 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9111 tests unique.
9112
9113 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9114
9115 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9116
9117 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9118 one argument of type "<non-float parameter>".
9119
9120 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9121
9122 * config/rom68k.exp: New file to support Motorola IDP board.
9123 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9124 * gdb.base/break.c: Change things around so that this program
9125 doesn't depend upon args. This is necessary to make remote
9126 targets work (in general, they can't take args).
9127 * gdb.base/break.exp: Don't try to send args to program. Don't
9128 expect output. Also, replace lots of code with gdb_test.
9129
9130 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9131
9132 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9133 printing of '\'' (which is what the comment says we are testing,
9134 even though we were not), not '''.
9135 (test_integer_literals_rejected): Test that printing ''' is an error.
9136
9137 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9138 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9139 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9140 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9141 Use gdb_test not test_print_accept.
9142 * lib/gdb.exp: Remove test_print_accept.
9143
9144 * gdb.base/signals.exp (signal_tests_1): Make pass message
9145 consistent with fail message.
9146
9147 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9148 unsigned char; the bug (PR 1821) is fixed.
9149
9150 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9151
9152 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9153 successful tests--makes xfailing them work right.
9154
9155 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9156
9157 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9158 only \r\n, not .*. The test can pass .* as the last thing in
9159 $pattern if that is what it wants. In addition to providing this
9160 flexibility, this change should speed up pattern matching in cases
9161 where the pattern already ended with .* (there were a number of
9162 them). This change also helps catch bad patterns--in the old
9163 scheme the typo "char \*" instead of "char \\*" would pass. Now
9164 it is caught.
9165 * Many .exp files: Update callers.
9166
9167 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9168 clearer and does not spuriously match multiple ('s. Likewise for
9169 ) and *.
9170
9171 * gdb.base/nodebug.exp: Test ability to call a function and pass
9172 it a string (even with no debugging info).
9173
9174 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9175 "p '\'", which is the same as "p ''" once tcl gets done with
9176 quoting, to "p '\\'", which I suspect is what is intended (one
9177 backslash gets sent to GDB).
9178
9179 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9180
9181 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9182
9183 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9184 1817) was fixed literally years ago.
9185
9186 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9187
9188 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9189 test, it causes stepping out of call_after_alloca_subr with
9190 optimizing compilers.
9191 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9192 fails.
9193
9194 * gdb.c++/templates.exp: Source templ-info.exp only if
9195 the templates executable exists.
9196
9197 * gdb.c++/misc.cc (class Contains_static_instance,
9198 class Contains_nested_static_instance),
9199 gdb.c++/classes.exp (test_static_members): Test printing of
9200 a class that contains a static instance of the class.
9201
9202 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9203
9204 * gdb.base/langs2.c (cppsub_): Don't prototype.
9205 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9206 only, I believe).
9207
9208 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9209
9210 * lib/gdb.exp (skip_chill_tests): New procedure.
9211
9212 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9213
9214 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9215
9216 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9217 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9218
9219 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9220
9221 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9222
9223 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9224 disassemble 8, not 16, instructions for part 4.
9225
9226 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9227 support the latter anymore.
9228
9229 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9230 -DNO_PROTOTYPES.
9231 * gdb.base/callfuncs.c: Control use of prototypes based on
9232 NO_PROTOTYPES, not __STDC__.
9233 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9234 t_float_values2 tests if prototypes in use.
9235
9236 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9237 t_double_values): When checking differences against DELTA, check
9238 that difference is within the range (-DELTA,DELTA), not just
9239 (-infinity,DELTA).
9240
9241 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9242
9243 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9244 'file' command firts, then 'target', then 'load', this is due to gdb
9245 target set up.
9246 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9247
9248 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9249
9250 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9251 FP load/store variants.
9252 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9253
9254 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9255
9256 * gdb.base/term.exp: Do not give a warning if not native, it is
9257 not an abnormal condition.
9258
9259 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9260
9261 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9262 t_char_array".
9263
9264 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9265
9266 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9267 are getting the version number.
9268
9269 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9270 if not native, it is not an abnormal condition.
9271
9272 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9273
9274 * lib/gdb.exp: Just use "file exists", rather than undocumented
9275 dejagnu procedure "findfile".
9276
9277 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9278
9279 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9280 (LDFLAGS): Set to -Xlinker -Ur.
9281
9282 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9283 Removed, these values are set by lib/gdb.exp.
9284
9285 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9286
9287 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9288
9289 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9290 of replicating gdb startup code.
9291
9292 * config/mt-vxworks (LDFLAGS): Set to -r.
9293 (CFLAGS_FOR_TARGET): Removed.
9294
9295 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9296 (gdb) and gdb for vxworks uses (vxgdb).
9297
9298 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9299 executable is not in the tree and host != target, use sed and
9300 program_transform_name to determine the gdb name used by the
9301 target.
9302
9303 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9304 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9305
9306 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9307
9308 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9309 floats, chars, and shorts where there are ANSI-style function
9310 definitions.
9311
9312 * gdb.base/langs.exp, gdb.base/langs*: New test.
9313 * gdb.base/Makefile.in: Build it.
9314 * TODO: Remove item about checking that C names don't get C++
9315 demangling applied; this test tests it.
9316
9317 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9318
9319 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9320 went with the const70 xfail. The xfail went away a year ago.
9321
9322 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9323
9324 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9325 for hp300.
9326
9327 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9328
9329 * gdb.base/a1-selftest.exp: Don't run on hp300.
9330
9331 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9332
9333 * Makefile.in (site.exp): Set host_alias and target_alias as well
9334 as host_triplet and target_triplet.
9335
9336 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9337
9338 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9339
9340 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9341 places as other ecoff systems).
9342
9343 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9344 ultrix.
9345
9346 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9347
9348 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9349 remove them.
9350 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9351 variable and "variable" in addition to "data variable".
9352 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9353
9354 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9355 2.
9356 * gdb.base/list1.c (long_line): Add additional statement at start
9357 of function.
9358 * gdb.base/list.exp (test_forward_search): Update line number to
9359 reflect new statement.
9360
9361 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9362
9363 * gdb.base/signals.exp: Reinitialize searched source directories
9364 after gdb_start call.
9365
9366 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9367
9368 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9369 * gdb.stabs/Makefile.in: Likewise.
9370
9371 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9372 change. Instead split the tests into smaller pieces.
9373 * gdb.disasm/hppa.s: Corresponding changes.
9374
9375 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9376
9377 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9378 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9379
9380 * gdb.base/funcargs.exp: Modify many tests so that every test
9381 either passes or fails. Make some test names unique.
9382
9383 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9384
9385 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9386 Call stty to set interrupt character.
9387
9388 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9389 for HP assembler versus GNU assembler based on actual behavior of
9390 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9391
9392 * TODO: Suggest a few more stepping tests.
9393
9394 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9395
9396 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9397 restart GDB for h8300 after a continue.
9398 (return): Add pattern to match a29k-udi behavior.
9399 * gdb.base/nodebug.exp: Remove obsolete comment.
9400 * gdb.base/regs.exp: New file, testing of register displays.
9401 * gdb.base/return.exp: Fix typo in reference to $objdir.
9402 * gdb.base/whatis.exp: Always start with a fresh GDB.
9403
9404 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9405
9406 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9407 higher, these tests generate a lot of output.
9408
9409 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9410
9411 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9412 code following the catch silently ignored some errors; without the
9413 catch they should be thrown like any other tcl error. Also, the
9414 catch used "" instead of {} which meant all the callers who wanted
9415 to include one of the characters "[]$ had to quote it an extra time.
9416 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9417 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9418 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9419 Remove extra quoting.
9420
9421 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9422
9423 * gdb.base/commands.exp: Make test names unique; every test either
9424 passes or fails. Update some comments.
9425
9426 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9427
9428 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9429
9430 The following fixes a FAIL caused by the fact that the alpha stabs
9431 configuration didn't use the ".if alpha" code in weird.def.
9432 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9433 bit pointer, so the 32 bit version works even on the alpha.
9434 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9435 Remove the stuff which allowed us to have separate versions for
9436 alpha and everything else.
9437
9438 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9439 regexp which "info func operator\[\](" is supposed to match. Fix
9440 string to send to GDB. Note that GDB still doesn't work right. Add a
9441 new test for "info func .perator\[\](" which GDB does handle correctly.
9442
9443 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9444
9445 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9446
9447 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9448 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9449 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9450 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9451 it makes the tests harder to understand and confuses test-o-matic.
9452 The preferred style is that each test provides a PASS or a FAIL,
9453 and has a unique message (e.g. "continue #54" not just "continue")
9454 which is the same for the pass and the fail.
9455 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9456 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9457 to lib/gdb.exp.
9458 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9459 prt_accept which was basically the same thing. Likewise for
9460 test_print_reject and prt_reject.
9461 * lib/gdb.exp (test_print_reject): Add some more error message
9462 patterns to match from the former printcmds.exp (prt_reject).
9463 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9464 One defect of the passcount stuff is that some of it failed to
9465 report XPASS where appropriate.
9466 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9467 stuff before and after arg in expected pattern.
9468 (test_paddr_operator_functions): Re-do test without print_addr_of;
9469 this is the only test which seems to want extra stuff there.
9470
9471 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9472
9473 * gdb.base/nodebug.exp: Update new tests to reflect improved
9474 wording of gdb output.
9475
9476 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9477 and "ptype" work on variables in files compiled without -g.
9478 Replaces commented out "maint print msymbol" tests.
9479
9480 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9481
9482 * gdb.base/setvar.c (dummy): Call malloc.
9483
9484 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9485 losing with the irix4 sed.
9486
9487 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9488 ALRM" on irix4.
9489
9490 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9491
9492 * TODO: Remove items about corefile.exp testing new exec-file and
9493 backtrace; both are now done. Add items about printing enums.
9494
9495 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9496
9497 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9498 "get signal $thissig" test fails.
9499
9500 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9501
9502 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9503
9504 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9505 compiler warning with dec alpha compiler.
9506
9507 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9508 extra \n from gdb_test call (this explains why the prompt test
9509 that I removed yesterday was there).
9510 (user_defined_command_test): Remove extra \n and prompt test.
9511
9512 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9513 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9514 doesn't exist.
9515 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9516 Also remove alpha workaround, which turns out to be because
9517 SIGABRT == SIGLOST.
9518
9519 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9520
9521 * gdb.base/help.exp: Don't test "help show".
9522
9523 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9524
9525 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9526 "set print address" is on.
9527 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9528 pass prompt to gdb_test; gdb_test already looks for the prompt.
9529
9530 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9531
9532 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9533 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9534 was to make sure that gdb can read a core file. But (a) the "read
9535 the corefile" part didn't make it to a1-selftest.exp, we just
9536 delete the corefile after creating it, and (b) we test reading
9537 corefiles in corefile.exp anyway. Also, this test left around a
9538 xgdb process on Solaris.
9539
9540 * gdb.base/corefile.exp: Also test backtrace.
9541
9542 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9543
9544 * gdb.base/commands.exp: Test a simple user defined command with
9545 arguments and if/while statements; verify the full user command is
9546 printed by "show user".
9547
9548 * gdb.base/commands.exp: Test if/while commands as part of a
9549 breakpoint command list; verify they appear in breakpoint
9550 information.
9551
9552 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9553
9554 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9555 than by dividing by zero.
9556
9557 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9558
9559 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9560 performing an inferior call with watchpoints enabled.
9561 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9562 call.
9563
9564 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9565
9566 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9567 of "file" command.
9568
9569 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9570 Add additional pattern for when "int operator int(void);" appears
9571 in a different order.
9572
9573 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9574
9575 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9576
9577 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9578 and "signal" with ".*".
9579
9580 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9581
9582 * TODO: Add note about "handle all nostop".
9583
9584 * gdb.base/{sigall.c, sigall.exp}: New test.
9585 * gdb.base/Makefile.in: Add it.
9586
9587 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9588
9589 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9590 when invoking GDB, suppresses any windowing interface.
9591
9592 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9593
9594 * config/sim-gdb: New file, simulator testing support.
9595
9596 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9597
9598 * gdb.base/interrupt.exp: Test calling func1 twice.
9599
9600 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9601
9602 * gdb.base/list.exp (test_forward_search): Set timeout higher
9603 when we'll be getting lots of output from gdb.
9604
9605 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9606 "init_malloc" to after the expect statement. Run it if that
9607 regexp is taken, but also for two others which happen if source
9608 cannot be found.
9609
9610 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9611
9612 * gdb.base/printcmds.exp: New test, for printing register before
9613 program is running.
9614
9615 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9616
9617 * gdb.base/list.exp: Correct some alternate expect patterns
9618 to reflect changes in list1.c.
9619
9620 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9621
9622 * TODO: Add item regarding large frames.
9623
9624 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9625
9626 * TODO: Remove item about enabling return.exp; it
9627 is enabled. Suggest a few more "return" tests.
9628
9629 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9630
9631 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9632 anonymous unions.
9633
9634 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9635
9636 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9637 and pr-5646.o, so "make" is the same as "make all", not "make
9638 pr-4975.o".
9639
9640 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9641
9642 * gdb.base/list.exp: Adjust expectations to reflect changes in
9643 list1.c.
9644 (test_forward_search): New test proc.
9645 * gdb.base/list1.c (long_line): New function, has long source line.
9646
9647 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9648
9649 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9650 additional line of code that was added.
9651
9652 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9653
9654 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9655 tests so as not to overflow expect's input buffers.
9656 * gdb.disasm/hppa.exp: Corresponding changes.
9657
9658 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9659
9660 Beginnings of template debugging tests.
9661 * gdb.c++/templ-info.cc: New file to test for template
9662 debugging capability of the compiler.
9663 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9664 templ-info.cc.
9665 * gdb.c++/templates.cc: Add explicit template instantiations
9666 to enable compiling with -fno-implicit-templates. Add destructor
9667 and 'value' method to T5 class for template tests.
9668 * gdb.c++/templates.exp: Add testcases for printing of template
9669 types, setting breakpoints on template methods and calling a
9670 template method.
9671
9672 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9673
9674 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9675 branch target since some assemblers (gas-2.5) may emit a
9676 relocation for the branch instead of resolving it in the
9677 assembler.
9678
9679 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9680
9681 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9682 through signal handler.
9683
9684 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9685
9686 * configure.in (*-*-netware): Use config/mt-netware.
9687
9688 * config/mt-netware: New file.
9689 * config/mt-i386-netware: Removed, separate configs for different
9690 netware architectures are no longer needed now that we have
9691 --with-headers.
9692
9693 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9694
9695 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9696 by the recent changes to use ANSI C arithmetic conversions.
9697
9698 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9699
9700 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9701 bug involving using inferior_pid to figure out whether to select a
9702 frame.
9703
9704 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9705
9706 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9707 match the current disassembler output.
9708
9709 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9710
9711 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9712 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9713 types, expect "int" as type of integer values (for now).
9714
9715 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9716
9717 * gdb.base/commands.exp: New tests for if/while commands.
9718
9719 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9720
9721 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9722 by .*, since hex values have different syntax in Chill mode.
9723
9724 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9725
9726 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9727 linefeed from expect pattern for repeated types with indices > 9.
9728
9729 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9730
9731 First part of Fortran test suite.
9732 * gdb.fortran: New directory.
9733 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9734
9735 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9736
9737 * gdb.base/default.exp: Update expect pattern for load command
9738 without arguments.
9739
9740 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9741
9742 * configure.in: Change i386 to i[345]86.
9743 * gdb.base/configure.in: Likewise.
9744 * gdb.c++/configure.in: Likewise.
9745 * gdb.chill/configure.in: Likewise.
9746
9747 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9748
9749 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9750 patterns, since that is not a valid context for comments.
9751
9752 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9753
9754 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9755 repeated types and repeated types with indices > 9.
9756
9757 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9758
9759 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9760 2417; old bug has been fixed.
9761
9762 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9763
9764 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9765 send the newline ourselves instead of assuming gdb_test will do
9766 so when passed an empty input string.
9767
9768 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9769 stabs testcode.
9770
9771 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9772
9773 * lib/gdb.exp (gdb_test): Don't send anything if the first
9774 argument is an empty string. This makes cases where we want to
9775 match output that is already in expect's buffers (for example,
9776 matching a breakpoint after gdb_run_cmd has been called) work
9777 reliably.
9778
9779 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9780
9781 * config/netware.exp: New file.
9782
9783 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9784
9785 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9786 the -B and -L prefixes so we can find the debugging stub.
9787
9788 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9789 there and we are using the gcc from the tree.
9790
9791 * gdb.base/types.c: Removed.
9792
9793 * gdb.base/configure.in: Look for makefile fragments in ../config.
9794 Recognize i386-*-netware.
9795 * gdb.c++/configure.in: Likewise.
9796
9797 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9798
9799 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9800 the correct TCL syntax.
9801
9802 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9803
9804 * gdb.base/opaque.exp: use runto instead of messing around with
9805 breakpoints. Simplify by using gdb_test.
9806
9807 * gdb.base/bitfields.exp: restart between tests on netware targets
9808 because breakpoints aren't relocated after target death. Run
9809 processes to completion.
9810
9811 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9812
9813 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9814
9815 * Makefile.in: Remove extra tabs that confuse some versions
9816 of "make". Use the newly built gdb to test with by default,
9817 rather than the first one in the tester's search path.
9818
9819 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9820
9821 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9822
9823 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9824 condition help.
9825
9826 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9827
9828 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9829
9830 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9831 running.
9832 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9833 * gdb.base/funcargs.exp: Likewise.
9834
9835 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9836 * gdb.base/funcargs.exp: Likewise.
9837
9838 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9839 message is "".
9840
9841 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9842
9843 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9844 return,signals,twice}.exp: Handle non-existant binaries
9845 consistantly.
9846
9847 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9848 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9849 might testing a cross development system.
9850
9851 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9852
9853 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9854 runtest script is relative to ${srcdir}, not ${rootdir}.
9855
9856 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9857
9858 * gdb.base/signals.exp: Allow for optionality of breakpoint
9859 address.
9860
9861 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9862
9863 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9864
9865 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9866
9867 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9868 for size_t definition.
9869 * gdb.c++/templates.cc: Likewise
9870
9871 * config/mt-i386-netware: New file.
9872
9873 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9874 defined.
9875
9876 * gdb.base/Makefile.in: Added support for systems that name core
9877 files by appending "core" to the program name.
9878 * gdb.base/a1-selftest.exp: Likewise.
9879
9880 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9881
9882 * gdb.base/return.exp: Add comment and message for `return double'
9883 test failure on Sparc Solaris.
9884
9885 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9886
9887 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9888
9889 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9890
9891 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9892 from optimizing them away.
9893 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9894 patterns to include default constructors and assignment operators,
9895 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9896 character in the output of the virtual base pointer.
9897
9898 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9899
9900 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9901 expression match in print_addr_of to avoid unintented matches.
9902 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9903 versions up to 2.5.8.
9904
9905 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9906
9907 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9908 included file to run under newer versions of expect.
9909 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9910 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9911 Remove xfail for the virtual table of BDDHookV.
9912
9913 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9914
9915 * lib/gdb.exp (string_to_regexp): Set a default result.
9916 (default_gdb_start): Fix misleading message.
9917
9918 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9919
9920 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9921 Remove all CC, etc definitions.
9922 * config/mt-hpux: New file.
9923 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9924 (CFLAGS, LDFLAGS): Define.
9925 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9926
9927 * Makefile.in (site.exp): Don't insert host_os, etc.
9928 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9929 (distclean): Check existence of subdir.
9930 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9931 * gdb.base/Makefile.in: General cleanup and simplification.
9932 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9933 to build executables. Use default rule to build .o files.
9934 (EXPECT, RUNTEST, CC): Fix relative pathname.
9935 (site.exp): Don't insert host_os, etc.
9936 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9937 and/or SIGUSR1 defined.
9938 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9939 * gdb.c++/Makefile.in: General cleanup and simplification.
9940 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9941 (CFLAGS): Remove.
9942 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9943
9944 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9945
9946 * gdb.base/recurse.exp: Misc changes to get tests running again
9947 after Kung's changes to the watchpoint code.
9948 * gdb.base/watchpoint.exp: Likewise.
9949
9950 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9951
9952 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9953
9954 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9955
9956 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9957 * lib/gdb.exp (default_gdb_start): Define.
9958 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9959 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9960 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9961 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9962 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9963 Don't call gdb_target_udi in between tests.
9964
9965 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9966
9967 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9968 (which was basically just a local version of the same thing). In
9969 addition to avoiding duplication, gdb_test_exact is faster.
9970 * lib/gdb.exp (gdb_test_exact): Fix typo.
9971
9972 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9973 don't give an error.
9974
9975 * gdb.base/term.exp: Call delete_breakpoints before starting.
9976
9977 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9978 (t10): Add comment.
9979
9980 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9981
9982 Reorganization of the GDB Test Suite.
9983
9984 * gdb.base: New directory, contains all the basic tests.
9985 * gdb.c++: New directory, tests specific to C++.
9986 * gdb.chill: New directory, tests specific to Chill.
9987 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9988 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9989 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9990 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9991 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9992 t30-31 to chill).
9993 * */gdbme.*: Rename to match appropriate expect scripts.
9994 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9995 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9996 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9997 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9998 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9999 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10000 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10001 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10002 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10003 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10004 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10005 gdb.c++/virtfunc.cc: New names of C++ files.
10006 * gdb.chill/chillvars.ch: New name of Chill file.
10007 * gdb.base/configure.in, gdb.c++/configure.in,
10008 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10009 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10010 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10011 * configure.in (configdirs): Update to reflect directory changes.
10012 (target_abbrev): No longer define for any configuration.
10013 * Makefile.in: Cosmetic improvements to header comments.
10014
10015 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10016
10017 Various changes to gdb.t31:
10018
10019 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10020 * gdbme.ch: Make all key-words and predefineds be upper-case.
10021 * chillvars.exp: Expect key-words and predefinds in upper-case.
10022
10023 * chillvars.exp: Use gdb_test_exact many places.
10024 Change expected output for arrays (which now includes index labels).
10025
10026 * pr-5020.exp, gdme.ch (module PR_5020):
10027 New test, for PR-5020.
10028
10029 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10030
10031 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10032 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10033
10034 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10035
10036 * Makefile.in: Fix bit-rot in definitions of CHILL,
10037 CHILL_FOR_TARGET and Chill_LIB.
10038 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10039 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10040 CHILL, and CHILL_LIB.
10041
10042 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10043
10044 * Revert the previous changes. Please see Rob's directory
10045 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10046
10047 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10048
10049 * Makefile.in, configure.in, config/mips-gdb.exp,
10050 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10051 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10052 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10053 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10054 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10055 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10056 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10057 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10058 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10059 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10060 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10061 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10062 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10063 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10064 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10065 changes from 94Q1.
10066
10067 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10068
10069 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10070 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10071 Rob's new testing fragments.
10072
10073 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10074
10075 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10076 lib/gdb.exp: Replace error proc calls with perror.
10077
10078 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10079
10080 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10081 version also, match on casted version strings, and match on
10082 gdb startup case where the line numbers might be messed up.
10083
10084 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10085
10086 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10087 (CFLAGS): Delete it from here.
10088
10089 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10090
10091 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10092
10093 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10094
10095 * Makefile.in (RUNTEST): Default to just "runtest".
10096
10097 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10098
10099 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10100 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10101 the code has been restructured.
10102
10103 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10104
10105 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10106 \n, not just one of each.
10107
10108 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10109 /bin/cc gives a warning if you do.
10110
10111 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10112
10113 * gdb.t24/demangle.exp: change expect pattern of
10114 __t10ListS_link1ZUiRCUiPT0
10115
10116 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10117
10118 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10119 on local variables in recursive functions.
10120
10121 * gdb.t07/Makefile.in: Build the new test.
10122
10123 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10124
10125 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10126 directly. Instead compare the return values from actual calls.
10127
10128 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10129
10130 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10131
10132 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10133
10134 * From Peter Schauer with minor modifications.
10135 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10136 stops in mid-line in the caller. Add xfail for returning a float
10137 value on X86 targets.
10138
10139 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10140
10141 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10142 to avoid expect lossage.
10143 (fmem_LRbug_tests): Likewise.
10144 * gdb.disasm/hppa.s: Corresponding changes.
10145
10146 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10147 conditions to work with latest dejagnu/expect.
10148
10149 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10150 expected to fail on the PA.
10151 (backtrace in call with trampolines): Explicitly require main
10152 to be frame #1 (no trampolines should show up in backtrace).
10153
10154 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10155 "continue -expect".
10156 * gdb.t06/break.exp: Likewise.
10157 * gdb.t07/watchpoint.exp: Likewise.
10158 * gdb.t13/bitfields.exp: Likewise.
10159 * gdb.t15/{funcargs,return}.exp: Likewise.
10160 * gdb.stabs/weird.exp: Likewise.
10161 * config/{mips,udi}-gdb.exp: Likewise.
10162
10163 * hppa.sed: Enclose comments within a sed command to avoid
10164 losing with the old OSF1 sed.
10165
10166 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10167
10168 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10169 sequent dynix.
10170 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10171 * gdb.t15/funcargs.exp: Conditionally step again to really
10172 finish from marker_call_with_trampolines. Handle the case where
10173 the first step from within call_with_trampolines already steps
10174 us back to main.
10175 * gdb.t15/gdbme.c: Add comment to closing brace of
10176 call_with_trampolines for funcargs.exp.
10177
10178 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10179
10180 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10181 Fix typo(s).
10182
10183 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10184
10185 * gdb.t07/gdbme.c: More code for watchpoint testing.
10186
10187 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10188 "Hardware watchpoint" throughout file.
10189 (test_watchpoint_triggered_in_syscall): New test.
10190 (test_complex_watchpoint): New test.
10191
10192 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10193
10194 * gdbme.c (call_with_trampolines): New function to try and step
10195 into. Tests trampoline problems on the PA.
10196
10197 * funcargs.exp (localvars_in_indirect_call): No longer expect
10198 stepping into indirect call to fail on PAs.
10199 (test_stepping_over_trampolines): New test.
10200
10201 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10202
10203 * TODO: Add suggestions for static member function tests, and
10204 completion tests.
10205
10206 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10207
10208 * TODO: Add suggestions for "p/a" tests.
10209
10210 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10211 (default_gdb_exit): Replace all the hair with sending "quit" to
10212 the process with a simple close.
10213
10214 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10215
10216 * TODO: Add suggestions for shared library tests.
10217
10218 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10219
10220 * TODO: Add suggestions for x/s tests.
10221
10222 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10223
10224 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10225 "enable once", and "enable breakpoints once" with ".*".
10226
10227 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10228
10229 * TODO: Add suggestions about structure passing tests.
10230
10231 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10232
10233 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10234 the primary1 test, use work around if __GNUC__ < 2.
10235 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10236 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10237 Test for bad output rather than waiting for timeout. Issue
10238 second continue only if first continue failed.
10239
10240 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10241
10242 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10243 operator[] test with gdb_test because the old code didn't seem to
10244 be getting the quoting right with the new dejagnu.
10245
10246 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10247
10248 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10249 one from the path.
10250 * Makefile.in: Use a fresh expect if there is one, use runtest
10251 from the src tree if there is one.
10252
10253 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10254
10255 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10256 next over recursive call. Revise the tests from that point on
10257 (which had been skipped) to match GDB's actual (correct) output.
10258
10259 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10260 with next over a breakpoint whose condition is false.
10261
10262 * gdb.t00/help.exp: Comment out "help set print" tests just like
10263 (and for same reason as) "help set" test.
10264
10265 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10266
10267 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10268 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10269
10270 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10271
10272 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10273 necessary gdb_target_udi.
10274
10275 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10276
10277 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10278 1838 and 2417; they are fixed.
10279
10280 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10281 gdb.t03/ptype.exp (ptype structure, ptype union):
10282 Remove xfails; the test is looser than when the xfails were added.
10283
10284 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10285 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10286
10287 * gdb.t01/run.exp: Only run shell test if isnative.
10288
10289 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10290 since "run" automatically loads if necessary. Call gdb_target_udi
10291 after the "file" since "file" kills any execution target.
10292
10293 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10294 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10295 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10296 argument for UDI.
10297
10298 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10299
10300 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10301
10302 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10303
10304 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10305
10306 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10307 properly quoting regexps. This makes the second argument to
10308 demangle a fixed string, which matches the callers, instead of a
10309 shell-style pattern which is what the previous implementation
10310 used. Update some of the callers.
10311
10312 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10313
10314 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10315 (comib_nullified_tests): Fix typo.
10316 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10317 strings. No longer expected to fail.
10318
10319 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10320 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10321 strings. No longer expected to fail.
10322
10323 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10324 string. No longer expected to fail.
10325
10326 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10327
10328 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10329 No longer expected to fail.
10330
10331 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10332 string. No longer expected to fail.
10333
10334 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10335
10336 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10337 only in the names (I probably got most of them). I was even
10338 generous with some which differed in underscores in names, and
10339 probably missed a few, and I *still* was able to remove almost a
10340 third of the file with almost no impact on testsuite coverage.
10341
10342 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10343
10344 * gdb.t00/default.exp: Match udi_attach error message as well as
10345 the one from child_attach.
10346
10347 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10348
10349 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10350
10351 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10352 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10353
10354 * Move test with enums and partial symbols back to
10355 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10356 Reverts the change of 26 May 93. Per today's change to
10357 stabs.texinfo, the behavior that weird.exp was expecting was
10358 unreasonable; what is important is that the compiler+gdb get
10359 things right, which happens with a recent gcc. Also fix the test
10360 to deal with native compilers which put out the stab gdb can't
10361 deal with.
10362
10363 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10364
10365 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10366 in the names. The main thing these accomplish is to slow things down.
10367 Many more such duplicates surely remain.
10368
10369 * gdb.t00/help.exp: Comment out "help support" test just like
10370 (and for same reason as) "help set" test.
10371
10372 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10373
10374 * gdb.t06/break.exp: Remove setup_xfails for
10375 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10376 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10377 about known bug in gcc to include up through 2.5.8.
10378 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10379 well as "_vb$".
10380 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10381 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10382 with latest gcc and gdb.
10383 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10384 well as "_vb$".
10385
10386 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10387
10388 * configure.in (hppa*-*-*): Also configure and build stabs-only
10389 tests.
10390
10391 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10392
10393 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10394 * gdb.t10/configure.in (hppa*-*-*): Use it.
10395
10396 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10397
10398 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10399
10400 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10401
10402 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10403 versions prior to 1.13.5.
10404
10405 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10406
10407 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10408 the prompt is at the start of a line.
10409
10410 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10411
10412 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10413 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10414 in the copr tests now.
10415 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10416 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10417 expected to fail.
10418
10419 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10420
10421 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10422 gdb.t31/chillvars.exp, lib/gdb.exp:
10423 Tweak to run under either version of expect.
10424 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10425 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10426 * gdb.t11/list.exp: Remove extraneous whitespace.
10427
10428 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10429
10430 * gdb.t16/printcmds.exp (test_print_strings): Accept
10431 "(unsigned char *) " before the string.
10432
10433 * TODO: Add notes about printing of fancy types and GDB expressions.
10434
10435 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10436
10437 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10438 * gdb.t06/configure.in: Don't try to compile signals test program
10439 if doing mips-idt-ecoff.
10440
10441 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10442
10443 * Most .exp files: Tweak to run under either version of expect.
10444
10445 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10446
10447 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10448 xfails; I'm not sure why they are failing, but not because of PR 1806.
10449
10450 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10451
10452 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10453 defined in lib/gdb.exp.
10454
10455 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10456
10457 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10458 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10459 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10460 have to be typeless.
10461
10462 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10463
10464 * TODO: Add suggestion for copyright year test.
10465
10466 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10467
10468 * configure.in (*-*-lynxos*): Add stabs tests.
10469
10470 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10471
10472 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10473 so insert a tab before any assembler directive in column zero.
10474
10475 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10476 stores.
10477 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10478 stores.
10479 (fpu_short_memory_tests): Likewise.
10480
10481 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10482
10483 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10484 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10485 .stabs directives in comments.
10486
10487 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10488
10489 * TODO: New file, describing tests we could write.
10490 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10491
10492 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10493
10494 * gdb.t06/signals.exp: Add kludge to force re-sync.
10495
10496 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10497 to xgdb instead of gdb, get out of gdb.
10498
10499 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10500
10501 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10502 for info.
10503
10504 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10505
10506 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10507 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10508 * gdb.stabs/hppa.sed: New sed script for the PA.
10509
10510 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10511
10512 * gdb.stabs: Re-write weird.def and configuration to use sed
10513 instead of cpp. sed is portable and POSIX; cpp is neither.
10514
10515 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10516
10517 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10518
10519 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10520
10521 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10522
10523 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10524
10525 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10526 "_vb$".
10527 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10528 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10529
10530 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10531
10532 * lib/gdb.exp: Comment out code which depends on non-existent
10533 `transform' procedure.
10534
10535 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10536
10537 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10538 * lib/gdb.exp: Transform tool name.
10539 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10540 1.1's new error handling system.
10541
10542 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10543
10544 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10545
10546 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10547
10548 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10549 They made pattern matching so slow that timeouts happened on
10550 heavily loaded systems. Now any output from "show print" which
10551 gets us back to the GDB prompt is a PASS.
10552
10553 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10554
10555 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10556
10557 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10558
10559 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10560
10561 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10562 It is not from PR 3220.
10563
10564 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10565
10566 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10567 just started failing because they depended on the order the
10568 subcommands are presented, or exact docstring text. This kind of
10569 test is a pain and has minimal benefit.
10570
10571 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10572
10573 * gdb.t09/corefile.exp: At end of test, use "core" command with
10574 no arguments.
10575
10576 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10577
10578 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10579 17}/Makefile.in: Make it possible to run the testsuite with Sun
10580 make and CC = cross gcc by adding explicit build rules for .o
10581 files.
10582
10583 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10584
10585 * gdb.t15/funcargs.exp: Don't put comments on same line as
10586 setup_xfail (@#$*%& tcl braindamage!).
10587
10588 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10589
10590 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10591
10592 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10593
10594 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10595 * gdb.t20/inherit.exp: remove three dumplicate entries.
10596
10597 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10598
10599 * gdb.t06/break.exp: For "next over recursive call", fail on any
10600 incorrect output, not just on "factorial (value=2)".
10601
10602 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10603
10604 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10605 working now. Add an xfail if accesing a bss variable causes
10606 a memory error if the target is not yet run.
10607
10608 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10609
10610 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10611 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10612 name of __st* demangling (2 strings). Did Kung really get the
10613 more than 95 others right without testing them?
10614
10615 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10616
10617 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10618
10619 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10620
10621 * configure.in (configdirs): Add gdb.disasm
10622 * gdb.disasm: New directory for GDB disassembler tests.
10623 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10624
10625 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10626
10627 * gdb.t00/help.exp: Don't test "help set".
10628
10629 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10630 from within expect statements. None of these happen anymore and
10631 they cause regressions to be silently unnoticed.
10632
10633 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10634 messages) about known failures with gcc cygnus-2.4.5-930417.
10635
10636 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10637 comp-info.exp so it gets built if it doesn't exist.
10638
10639 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10640 it is no longer used.
10641 * gdb.t13/comp-info.c: Removed.
10642
10643 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10644
10645 * gdb.t06/signals.exp: Add xfail for sun3.
10646
10647 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10648
10649 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10650 relevant because ^C doesn't get sent but failure can be reproduced
10651 interactively).
10652
10653 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10654
10655 * gdb.stabs/alpha.mt: New configuration file for alpha.
10656 * gdb.stabs/configure.in: Use it.
10657 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10658 sharing with alpha.mt, redefine long to word via preprocessor.
10659 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10660 for alpha.
10661 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10662 native cc.
10663 * gdb.t00/teststrategy.exp: Change expect string so that we
10664 consume the `(xgdb)' from the command echo and from the gdb prompt.
10665 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10666 gdb currently compares all values as long, so this failure probably
10667 applies to any configuration where LONGEST is bigger than a target int.
10668 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10669 with gcc.
10670 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10671 to handle opaque pointers, gcc is.
10672 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10673 as first argument. Include <sys/types.h> and change all operator
10674 new definitions to use size_t.
10675 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10676 now that we use size_t.
10677
10678 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10679
10680 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10681 a long or float array cast all array members to the same type.
10682 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10683 with 64 bit longs.
10684 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10685 on alpha.
10686 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10687
10688 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10689
10690 * gdb.t24 (demangle.exp): Constructors of templates have names like
10691 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10692 section 14.6 of the ARM.
10693
10694 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10695 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10696 accomplish little and slow down the testsuite.
10697
10698 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10699 Accept spaces various places.
10700
10701 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10702
10703 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10704 with watchpoint enabled.
10705
10706 * Makefile.in: Remove definition of CC and remove the second
10707 definition of CXX (the "CXX = gcc" one remains). These definitions
10708 were causing backquotes to be expanded within backquotes, which
10709 doesn't work.
10710
10711 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10712
10713 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10714
10715 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10716
10717 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10718 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10719 by mips cc and contains no stabs entries.
10720
10721 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10722
10723 * config/vx-gdb.exp: Use fake device to load files rather than
10724 NFS.
10725 * lib/gdb.exp: New proc to do "file" command.
10726 * config/unix-gdb.exp: Use new "file" proc.
10727
10728 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10729
10730 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10731 Rework board rebooting slightly.
10732 (gdb_exit): Don't exit from the remote shell; there isn't one.
10733 * gdb.stabs/weird.exp: If a program is being debugged already,
10734 kill it.
10735 * gdb.t04/setvar.exp: Stop and restart gdb.
10736 * gdb.t05/expr.exp: Likewise.
10737 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10738 restart gdb and reload the program.
10739 * gdb.t08/opaque.exp: Likewise.
10740 * gdb.t12/scope.exp: Likewise.
10741 * gdb.t13/bitfields.exp: Likewise.
10742 * gdb.t15/funcargs.exp: Likewise.
10743 * gdb.t20/classes.exp: Likewise.
10744 * gdb.t03/ptype.exp: Increase timeout.
10745 * gdb.t16/printcmds.exp (test_print_string_constants,
10746 test_print_array_constants): Likewise.
10747 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10748 * gdb.t20/classes.exp (do_tests): Likewise.
10749 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10750
10751 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10752
10753 * gdb.stabs: Renamed *wierd* to *weird*.
10754
10755 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10756
10757 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10758 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10759
10760 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10761
10762 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10763 (do_tests): Remove xfail for whatis on one_var and two_var.
10764
10765 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10766
10767 * Makefile.in: Made cross building work better by adding
10768 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10769
10770 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10771
10772 * gdb.t15/{return.c,return.exp,Makefile.in}:
10773 New test, currently commented out.
10774
10775 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10776
10777 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10778 still running and removes the leftover named socket so GDb can do
10779 clean restarts.
10780
10781 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10782
10783 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10784 console, not GDB.
10785 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10786 cross testing works better with "make check"
10787 * config/unix-gdb: Use default procedures for exit and version.
10788 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10789 with the newest VxWorks.
10790
10791 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10792
10793 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10794 old form.
10795
10796 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10797 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10798
10799 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10800
10801 * config/unix-gdb.exp: Remove this version of gdb_exit
10802 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10803 Rob says he'll look at it when he gets back to testing boards.
10804
10805 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10806
10807 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10808 an expected fail for certain ptype commands.
10809
10810 * gdb.t20/classes.exp: Update expected results of "ptype class
10811 Base1" to account for the constructor that now appears in the type.
10812
10813 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10814
10815 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10816 disappeared from list.
10817 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10818 "alldone" proc with call to cleanup and exit.
10819 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10820 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10821 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10822 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10823 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10824 "alldone" proc with simple returns that suppress remaining
10825 tests. The alldone proc went away many months ago.
10826
10827 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10828
10829 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10830
10831 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10832
10833 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10834
10835 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10836 as vax gdb will display them.
10837
10838 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10839
10840 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10841 optimizers.
10842
10843 * scope.exp: Change "bad value for localval" messages so each one
10844 is unique.
10845
10846 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10847 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10848
10849 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10850
10851 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10852
10853 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10854 doesn't exist (due to optimization).
10855
10856 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10857
10858 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10859 contains \r because the filename is long.
10860
10861 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10862 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10863
10864 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10865
10866 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10867 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10868 Ultrix.
10869 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10870 int tests.
10871 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10872
10873 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10874
10875 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10876
10877 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
10878 to match does not match the passing case but still matches the
10879 failing case.
10880
10881 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10882
10883 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10884
10885 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10886
10887 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10888 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10889 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10890 Remove various versions of gdb_exit.
10891 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10892 gdb_exit.
10893 * config/unix-gdb.exp: gdb_exit remains here, and should override
10894 the generic version, since it's doing a lot of wierd stuff that
10895 the other versions aren't. FIXME, fold it in, or abandon this
10896 version.
10897
10898 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10899
10900 * gdb.t24/demangle.exp: Add tests for PR 3220.
10901
10902 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10903
10904 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10905
10906 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10907
10908 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10909 "i386-*-*". Works for i486 as well.
10910
10911 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10912 bug, and expand domain of xfail to all SVR4 systems, since the
10913 actual problem is likely to be in generic SVR4 /proc support.
10914
10915 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10916
10917 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10918
10919 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10920
10921 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10922 xfails for other systems. Match a missing 'Continuing.' as an
10923 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10924
10925 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10926 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10927 Only issue warning for missing executables if -all option is used.
10928
10929 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10930 file if -all option is used. It's like an unpredictable XFAIL.
10931
10932 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10933
10934 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10935 for dynamically linked binaries.
10936
10937 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10938
10939 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10940
10941 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10942 to state that this is a known bug in old versions of g++.
10943
10944 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10945
10946 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10947 while waiting for `Continuing'.
10948
10949 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10950
10951 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10952 in text, data, and bss.
10953 * gdb.t10/nodebug.c: Add local and global test variables for
10954 initialized and uninitialized data.
10955
10956 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10957
10958 * config/unix-gdb.exp (gdb_exit): Add "wait".
10959
10960 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10961
10962 * gdb.t06/signals.exp: xfail the continue from the handler for all
10963 targets.
10964
10965 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10966 function with watchpoints enabled, the i386 call dummy starts with
10967 a call.
10968
10969 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10970 386 bsd names its corefiles.
10971
10972 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10973
10974 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10975 compilers don't grok it.
10976 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10977 with small octal ints rather than character constants, which
10978 are signed and might not fit if first promoted to int.
10979
10980 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10981
10982 * gdb.t09/Makefile.in (clean): Remove corefile.
10983
10984 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10985
10986 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10987
10988 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10989 and Jim Kingdon (kingdon@cygnus.com)
10990
10991 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10992 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10993 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10994
10995 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10996
10997 * gdb.t17/interrupt.exp: Add xfail for hppa.
10998
10999 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11000
11001 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11002 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11003 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11004 to determine signed-ness of bitfields and use the result to setup
11005 the xfail.
11006 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11007 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11008 call line is reached if necessary.
11009
11010 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11011
11012 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11013
11014 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11015
11016 * gdb.t06/break.exp: Also test `clear' command.
11017
11018 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11019
11020 * gdb.t00/teststrategy.exp: Remove extra quote.
11021
11022 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11023 watchpoint enabled to be for all non-68k machines.
11024
11025 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11026
11027 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11028
11029 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11030 targets use aout.mt instead of ecoff.mt as gas understands
11031 standard aout format.
11032
11033 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11034
11035 * lib/gdb.exp (runto): Don't insist that function we are running to
11036 was compiled with -g.
11037
11038 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11039
11040 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11041 to get back into the read system call.
11042 Accept leading newline in case where we woke it up.
11043
11044 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11045
11046 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11047 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11048 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11049 enable ecoff configuration.
11050
11051 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11052
11053 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11054
11055 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11056
11057 * gdb.t16/printcmds.exp: Add another printf test.
11058
11059 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11060
11061 * configure.in: If configured -with-stabs on any target, add
11062 stabsdirs to configdirs.
11063
11064 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11065
11066 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11067 fun" so pattern does not match the command itself.
11068
11069 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11070
11071 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11072
11073 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11074
11075 * gdb.t17/interrupt.exp: Test for more things.
11076
11077 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11078
11079 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11080 compiler arranges the code and line numbers.
11081
11082 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11083
11084 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11085
11086 * gdb.t00/help.exp: Increase expect input buffer size.
11087
11088 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11089
11090 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11091
11092 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11093
11094 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11095
11096 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11097 [0-9]*, not just [0-9].
11098
11099 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11100
11101 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11102
11103 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11104
11105 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11106
11107 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11108
11109 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11110
11111 * gdb.t06/signals.c: Add xfails for sun3.
11112
11113 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11114
11115 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11116 test_stepping tests.
11117
11118 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11119
11120 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11121
11122 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11123
11124 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11125 rather than actually putting it through cpp twice.
11126
11127 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11128
11129 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11130
11131 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11132 no longer needed.
11133
11134 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11135
11136 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11137
11138 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11139 C++ features prints as "struct", make it a pass, not an xfail.
11140
11141 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11142
11143 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11144 Don't require VA to print as "class" rather than "struct".
11145
11146 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11147
11148 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11149
11150 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11151
11152 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11153
11154 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11155
11156 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11157 order.
11158
11159 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11160
11161 * gdb.t16/printcmds.exp: Add printf tests.
11162
11163 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11164
11165 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11166
11167 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11168
11169 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11170 pass counts, to counteract any existing or future setup_xfails.
11171
11172 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11173
11174 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11175 {BEGIN,END}_COMMON for common block instead of STAB.
11176 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11177
11178 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11179 intp_var should be N_GSYM not N_LSYM.
11180 wierd-aout.S: Use a label for the value of the N_SO.
11181 wierd.def: Remove all backslashes.
11182 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11183
11184 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11185
11186 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11187 get the expected next to inheritance3.
11188
11189 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11190
11191 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11192 now that gcc-2.4 gets it right.
11193
11194 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11195
11196 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11197
11198 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11199 generating comp-info.exp which works for cross-compilation.
11200
11201 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11202
11203 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11204 "*-*-sysv4.*".
11205
11206 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11207
11208 * gdb.t01/run.exp: Start with a fresh gdb.
11209 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11210 SVR4.x.
11211
11212 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11213
11214 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11215 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11216 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11217 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11218 things to remove.
11219
11220 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11221
11222 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11223 test cases from bug reports.
11224
11225 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11226
11227 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11228 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11229 avoid spurious xfails.
11230 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11231 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11232 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11233
11234 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11235
11236 * gdb.t00/teststrategy.exp: Rework to provide more useful
11237 description of each test, fix problem with systems that define
11238 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11239 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11240 results for "next over recursive call" so timeouts aren't taken
11241 by error.
11242
11243 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11244
11245 * gdb.t12/scope.exp: Test printing of variables before run.
11246
11247 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11248 printed in wrong order due to sorting.
11249
11250 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11251
11252 * gdb.t00/teststrategy.exp: Fix expected results for printing
11253 user entered string constant. Is array of char, prints with no
11254 address.
11255
11256 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11257 commands.
11258 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11259 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11260 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11261 of struct of char arrays.
11262 * gdb.t00/radix.exp: New tests for radix commands.
11263
11264 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11265
11266 * gdb.t16/printcmd.exp: Print a variable before running program
11267 (with xfail for AIX).
11268
11269 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11270
11271 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11272
11273 * gdb.t16/printcmd.exp: Don't print variables before running program.
11274
11275 * gdb.t06/break.exp: Don't require envp argument to main.
11276
11277 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11278
11279 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11280 Add xfails for rs6000.
11281
11282 * gdb.t02/whatis.exp: Change other tests not to re-test something
11283 we already tested.
11284
11285 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11286 each type used has a variable of that type.
11287
11288 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11289
11290 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11291
11292 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11293
11294 * configure.in: change srctrigger to be a file, not a directory
11295
11296 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11297
11298 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11299
11300 * gdb.t11/list.exp: Fixed a couple of typos.
11301
11302 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11303
11304 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11305 is fixed and PR is closed.
11306 * gdb.t16 (gdbme.c): Add simple test string variable.
11307 * gdb.t16 (printcmds.exp): Add tests with simple test string
11308 variable, primarily for boundaries on "set print elements".
11309
11310 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11311
11312 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11313 Make leading 0's optional and don't expect a tab in the middle
11314 of the number.
11315
11316 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11317
11318 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11319 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11320 don't end command passed to gdb_test with newline.
11321
11322 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11323 signed keyword away, don't expect signed bitfields to be signed.
11324
11325 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11326 printing with only as many 1's as are in the field as well as printing
11327 with 32 1's (see comment).
11328
11329 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11330
11331 * gdb.t00/default.exp: Start with a fresh gdb.
11332 * configure.in (configdirs): Remove gdb.t31 until the chill
11333 compiler works again. It no longer is able to find chillrt0
11334 since it isn't in libchill.a anymore.
11335 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11336 wierd.o, make more modular.
11337 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11338 spurious newlines that caused problems.
11339
11340 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11341
11342 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11343 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11344 gdb.stabs/wierd.{exp,def}: Many new tests.
11345
11346 * gdb.t00/default.exp: update info line for new message.
11347
11348 * gdb.t02/{whatis.exp,gdbme.c}:
11349 Test that "char *" doesn't print as "caddr_t".
11350
11351 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11352
11353 * gdb.t00/help.exp: Use .* in place of some help messages which
11354 just changed.
11355 gdb.t00/default.exp: Update "info frame" test for new message.
11356 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11357 Remove some xfails
11358
11359 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11360
11361 * gdb.t03/{gdbme.c,ptype.exp}:
11362 Add tests for typedef'd struct and union without tags.
11363 Also check "whatis" on a variable of a typedef'd enum without a tag.
11364
11365 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11366 PRMS 1823; the bug still exists but isn't reproduced by this test
11367 anymore), and remove rs6000 XFAIL (the bug is fixed).
11368
11369 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11370 duplicated from whatis.exp. For those that are left, accept
11371 "long", "long int", or "int" for long variables (whatis.exp already
11372 has an XFAIL for "int", so no need to fail it here).
11373
11374 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11375 Deal with GCC's names for types now that GDB uses the compiler's names.
11376
11377 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11378 setup_xfail's for sunos4. If we #defined the signed keyword away,
11379 don't expect GDB to know that char it is signed.
11380
11381 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11382
11383 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11384
11385 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11386 should work on any system, regardless of debugging format.
11387 * gdb.t21/demangle.exp: Move to gdb.t24.
11388 * gdb.t24/demangle.exp: Move from gdb.t21.
11389 * gdb.t24/{Makefile.in, configure.in}: New files.
11390
11391 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11392
11393 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11394 * gdb.stabs: New directory.
11395
11396 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11397
11398 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11399 not just "Quit anyway?".
11400
11401 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11402
11403 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11404 that all setup_xfails are immediately followed by clear_xfails.
11405
11406 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11407
11408 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11409 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11410 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11411 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11412 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11413 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11414 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11415 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11416 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11417 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11418 gdb.t31/chillvars.exp, lib/gdb.exp:
11419 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11420 bug-gdb@prep.ai.mit.edu.
11421
11422 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11423
11424 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11425 with 0.0, not integer 0.
11426
11427 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11428
11429 * gdb.t06/break.exp: Update for "Kill the program" message change.
11430
11431 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11432
11433 * Makefile.in (GDBFLAGS): Set to -nx.
11434 * Makefile.in (site.exp): Use GDBFLAGS.
11435
11436 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11437
11438 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11439 Makefiles.
11440 (check): depend on just-check.
11441 (just-check): added so that tests can be run without a noop
11442 build pass.
11443
11444 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11445
11446 Switch to using configure's configdirs.
11447 * Makefile.in (Makefile): add configure.in dependency.
11448 (SUBDIRS): removed redundant assignment.
11449 * configure.in: switch subdirs assignment to configdirs.
11450 * gdb.t*/configure.in: new files.
11451
11452 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11453
11454 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11455 works.
11456
11457 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11458
11459 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11460 in explicit rules. Apparently this is not supported by some makes.
11461
11462 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11463
11464 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11465
11466 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11467
11468 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11469 disappeared.
11470
11471 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11472
11473 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11474
11475 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11476
11477 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11478 watchpoint problem that is now fixed.
11479 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11480 uninitialized convenience variables.
11481 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11482 structures.
11483
11484 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11485
11486 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11487 which causes expect to get out of sync with gdb on long output
11488 from help set.
11489 * gdb.t09/corefile.exp: Make expected pattern for core file
11490 failing signal and frame output format less sun specific.
11491
11492 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11493
11494 * gdb.t31/chillvars.exp: Add and remove initial dummy
11495 breakpoint, so that symbol table is forced in.
11496 (Needed at least on Sunos4, though it seems not SVR4.)
11497 * gdb.t31/chillvars.exp: Update for changed output format.
11498
11499 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11500
11501 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11502
11503 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11504
11505 * Makefile.in: Added --srcdir when invoking runtest, removed the
11506 need for a local config file. (optional now)
11507
11508 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11509
11510 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11511 failure count used to force early termination. Add some more
11512 expected failures for gnu style demangling.
11513
11514 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11515
11516 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11517 pmi variable from gdb.t20/gdbme to get optimized away.
11518 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11519 Check for written corefile upon timeout _and_ eof.
11520
11521 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11522
11523 * config/unix-gdb.exp: Add missing return 0.
11524
11525 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11526
11527 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11528 test termination.
11529
11530 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11531
11532 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11533 disappeared.
11534
11535 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11536
11537 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11538 time as i860 support works.
11539
11540 * gdb.t15/funcargs.exp: Fix expected outputs to include
11541 "backtrace 100\r" rather than just "backtrace\r", to match last
11542 change.
11543
11544 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11545
11546 * config/udi-gdb.exp (gdb_exit): Remove close command.
11547 (gdb_target_udi): New procedure to set the UDI target.
11548 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11549 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11550 Added waits for prompts after several question responses. Added
11551 some more responses used by a29k-amd-udi-gdb.
11552 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11553 pass different arguments, restart UDI connection after program
11554 completion.
11555 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11556 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11557 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11558 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11559 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11560 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11561 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11562 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11563 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11564 after program completion.
11565 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11566 compiled with a SELECT_VECS setting.
11567 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11568 infinite recursion.
11569
11570 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11571 Added checks for COFF results, and made them expected failures for
11572 all targets. It would be better to make them expected failures
11573 for COFF targets only.
11574
11575 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11576
11577 * Makefile.in: add null dvi target, don't bother to recurse
11578 through test directories for info and install-info; rename
11579 $(datadir) to be dejagnu instead of deja-gnu
11580
11581 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11582
11583 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11584 compiler to coredump.
11585 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11586 code.
11587
11588 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11589
11590 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11591 coredump.
11592 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11593 code.
11594
11595 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11596
11597 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11598 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11599 which in a shell. Deletes xgdb when done.
11600 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11601 Tests the return from the "set height" or "set width" commands.
11602 Added a few return codes where needed.
11603
11604 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11605
11606 * Makefile.in (SUBDIRS): Add gdb.t17.
11607 * configure.in (subdirs): Add gdb.t17.
11608 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11609 files to test gdb's calling of functions in the inferior with
11610 the correct arguments and gdb's ability to retrieve any
11611 result returned.
11612
11613 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11614
11615 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11616 may be called after gdb goes away. Previous versions of expect
11617 needed these to avoid file descriptor leaks, but they cause
11618 errors with the current revision of expect.
11619 * gdb.t00/gdbvars.exp: Use -re on expected output after
11620 setting sevenbit-strings.
11621 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11622 to set sevenbit-strings consistent across tests.
11623 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11624 set sevenbit-strings consistent across tests.
11625
11626 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11627
11628 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11629 expected output to match current "expect" expectations.
11630
11631 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11632
11633 * gdb.t00/default.exp: Change expected output for default "source"
11634 command, to match new gdb behavior which requires a filename to
11635 source.
11636
11637 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11638
11639 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11640 expected fail for i486-*-* that misses the marker2 function.
11641 * gdb.t10/crossload.exp (bfddefault): Allow successful
11642 recognition of a format to pass even if no symbols are found.
11643 Explicitly catch failures where the format is not recognized
11644 or is ambiguous, and add the reason to the fail message.
11645 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11646 the cause is and invalid target and add reason to failure message.
11647 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11648 elf32-i386, elf32-sparc, and elf32-i860.
11649 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11650 Set up expected failure for 'filename'::variable scope resolution,
11651 which is now apparently broken on all targets.
11652 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11653 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11654 gdb.t23/templates.exp: Change failure for missing binfile into
11655 just a warning.
11656 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11657 references.
11658
11659 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11660
11661 * gdb.t00/default.exp: Add expected output for default "source"
11662 command, to match new gdb behavior.
11663 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11664
11665 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11666
11667 * config/*-gdb.exp: returns an error, rather than exiting on
11668 internal errors.
11669
11670 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11671
11672 * gdb.t03/gdbme.c: Add pointer to struct variable.
11673 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11674 referencing struct members.
11675
11676 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11677
11678 * configure.in (mips-idt-ecoff): New target.
11679 * config/mips-gdb.exp: New file for remote board using MIPS remote
11680 debugging protocol.
11681
11682 * Redid configuration scheme. Removed gdb.t*/configure.in.
11683 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11684 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11685 distclean targets. Built executables via .o files. Adjusted
11686 tests to account for source files in $(srcdir) rather than
11687 $(objdir).
11688 * lib/gdb.exp (runto): Don't expect () after the function name,
11689 because it may have arguments.
11690
11691 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11692
11693 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11694 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11695 expected failures for mips-idt-* and mips-sgi-*.
11696 * gdb.t00/default.exp (attach): Kill process if requested.
11697 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11698 that does not read core files.
11699 * gdb.t01/run.exp: Removed checks for exit status code.
11700 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11701 it is linked in.
11702 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11703 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11704 appropriate, rather than doing it by hand.
11705 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11706 execution.
11707 * gdb.t10/crossload.exp: Kill existing program if needed.
11708 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11709 appropriate, rather than doing it by hand. Always increase
11710 timeout for this test, not just for VxWorks.
11711
11712 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11713
11714 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11715 of Chill STRUCT types and STRUCT values.
11716 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11717 than "char".
11718 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
11719 struct2): New struct definitions and initializations to test
11720 simple Chill STRUCT types.
11721
11722 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11723
11724 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11725 the null byte at the end of strings.
11726 * gdb.t00/default.exp: Make show version insensitive to copyright
11727 date.
11728 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11729 to avoid dependencies on target char signedness.
11730 * gdb.t16/printcmds.exp: Update expected results for explicitly
11731 unsigned char.
11732 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11733 now work.
11734 * gdb.t21/demangle.exp: Add many more patterns for template
11735 demangling, most of them being expected failures.
11736 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11737 string we are matching for, to match on the whole string.
11738 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11739 and fix a whole bunch that had incorrect expected output but were
11740 passing anyway because of the bug in "proc demangle".
11741 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11742 type.
11743 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11744
11745 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11746
11747 * gdb/testsuite: made modifications to testcases, etc., to allow
11748 them to work properly given the reorganization of deja-gnu and the
11749 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11750
11751 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11752
11753 * gdb/testsuite: Initial creation of gdb/testsuite.
11754 Migrated dejagnu testcases and support files for testing nm to
11755 gdb/testsuite from deja-gnu. These files were moved "as is"
11756 with no modifications. This migration is part of a major overhaul
11757 of dejagnu. The modifications to these testcases, etc., which
11758 will allow them to work with the new version of dejagnu will be
11759 made in a future update.
11760
11761 For additional changes see gdb.mi/ChangeLog-1999-2003.
11762 \f
11763 Local Variables:
11764 mode: change-log
11765 left-margin: 8
11766 fill-column: 74
11767 version-control: never
11768 End:
This page took 0.389342 seconds and 5 git commands to generate.