* gdb.ada: New subdirectory.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2004-03-31 Joel Brobecker <brobecker@gnat.com>
2
3 * gdb.ada: New subdirectory.
4 * gdb.ada/Makefile.in: New file.
5 * gdb.ada/gnat_ada.gpr.in: New file.
6
7 2004-03-31 Joel Brobecker <brobecker@gnat.com>
8
9 * lib/ada.exp: New file.
10
11 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
12
13 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15
16 2004-03-22 Andrew Cagney <cagney@redhat.com>
17
18 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
19 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20 Problem identified by Ulrich Weigand.
21
22 2004-03-17 David Carlton <carlton@kealia.com>
23
24 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
25 PR c++/826.
26
27 2004-03-16 Roland McGrath <roland@redhat.com>
28
29 * gdb.base/auxv.exp: New file.
30 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
31
32 2004-03-12 David Carlton <carlton@kealia.com>
33
34 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
35 * gdb.cp/pr-1553.cc: Ditto.
36 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
37 pass branch.
38
39 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
40
41 * gdb.cp/templates.exp: Accept more template types.
42
43 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
44
45 From Corinna Vinschen with modifications.
46 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
47 local variable obj_with_enum.
48 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
49 results with obj_with_enum.
50
51 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
52
53 * gdb.cp/classes.cc: New file, copied from misc.cc.
54 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
55
56 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
57
58 * gdb.cp/misc.cc: Add copyright notice.
59
60 2004-03-05 David Carlton <carlton@kealia.com>
61
62 * gdb.cp/rtti.exp: Add 'print *obj3' test.
63 * gdb.cp/rtti.h: Update copyright.
64 (namespace n2::n3): New.
65 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
66 (n2::n3::func3): New.
67 (main): Call n2::n3::func3.
68 * gdb.cp/rtti2.cc: Update copyright.
69 (n2::create3): New.
70
71 2004-03-04 Mark Kettenis <kettenis@gnu.org>
72
73 * gdb.asm/openbsd.inc: Fix typo.
74
75 2004-03-03 Fred Fish <fnf@redhat.com>
76
77 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
78 "val" instead of unused "size". Update copyright year.
79
80 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
81
82 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
83 to use unsigned char.
84 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
85 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
86
87 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
88
89 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
90 line of output.
91
92 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
93
94 * gdb.base/relocate.c (dummy): Initialize.
95
96 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
97
98 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
99 a breakpoint at exit.
100
101 2004-02-27 Fred Fish <fnf@redhat.com>
102
103 * gdb.base/chng-syms.exp: Add expect condition to match failing
104 case that isn't a timeout.
105
106 2004-02-27 Andrew Cagney <cagney@redhat.com>
107
108 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
109 support.
110
111 2004-02-26 Fred Fish <fnf@redhat.com>
112
113 * gdb.arch/gdb1431.c: Remove.
114 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
115 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
116 of "until" incorrectly.
117
118 2004-02-26 J. Brobecker <brobecker@gnat.com>
119
120 * gdb.cp/class2.cc (empty): New class.
121 (refer): New function.
122 (main): Declare an object of type empty and use it.
123 * gdb.cp/class2.exp: Print the value of an object of type empty.
124
125 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
126
127 * gdb.base/langs.exp: Update query string to match the
128 new nquery format used for pending breakpoints.
129
130 2004-02-26 Andrew Cagney <cagney@redhat.com>
131
132 Fix PR i18n/1570.
133 * gdb.base/charset.c: Update copyright notice.
134 (main, init_string): Remove the escape character '\e' tests.
135 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
136 * gdb.base/charset.exp (valid_host_charset): Ditto.
137 * gdb.base/setvar.exp: Ditto.
138
139 2004-02-24 Andrew Cagney <cagney@redhat.com>
140
141 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
142 mmapped data in core file" PASS and FAIL messages consistent.
143
144 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
145 setting a breakpoint. Work around PR java/1565.
146
147 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
148
149 * lib/gdb.exp (gdb_breakpoint): Update query string to match
150 new nquery format.
151 * gdb.base/pending.exp: Ditto.
152
153 2004-02-22 Mark Kettenis <kettenis@gnu.org>
154
155 * configure.in: Run stabs tests on *BSD.
156 * configure: Regenerated.
157
158 2004-02-21 Mark Kettenis <kettenis@gnu.org>
159
160 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
161
162 2004-02-20 Fred Fish <fnf@redhat.com>
163
164 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
165 blank in test for "returns short", for consistency with other
166 "returns xxx" tests. Update copyright year.
167
168 2004-02-19 Fred Fish <fnf@redhat.com>
169
170 New testcase for PR breakpoint/1558.
171 * gdb.arch/gdb1558.exp: New file.
172 * gdb.arch/gdb1558.c: New file.
173
174 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
175
176 * gdb.base/nodebug.exp: Fix typo.
177
178 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
179
180 Committed by Jim Blandy <jimb@redhat.com>.
181
182 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
183
184 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
185
186 * gdb.base/float.exp: Support s390*-*-* targets.
187
188 2004-02-17 Adam Fedor <fedor@gnu.org>
189
190 * gdb.base/gdb1555.exp: New file.
191 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
192
193 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
194
195 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
196
197 2004-02-16 Fred Fish <fnf@redhat.com>
198
199 * gdb.arch/gdb1291.c: Remove
200 * gdb.arch/gdb1291.s: New test input file.
201 * gdb.arch/gdb1291.exp: Expand test to check case that should not
202 fail. Test for correct result, known incorrect result, other
203 failures and timeouts.
204
205 2004-02-16 Andrew Cagney <cagney@redhat.com>
206
207 * gdb.base/bigcore.exp: New file.
208 * gdb.base/bigcore.c: New file.
209
210 2004-02-13 Andrew Cagney <cagney@redhat.com>
211
212 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
213 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
214 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
215 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
216 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
217 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
218 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
219 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
220 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
221 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
222
223 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
224
225 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
226 executed is an alloc instruction.
227
228 2004-02-11 David Carlton <carlton@kealia.com>
229
230 * gdb.cp/breakpoint.exp: New.
231 * gdb.cp/breakpoint.cc: New.
232
233 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
234
235 Partial fix for PR gdb/1543.
236 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
237 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
238 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
239 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
240 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
241 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
242 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
243 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
244 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
245 to bug-gdb@prep.ai.mit.edu .
246 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
247 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
248 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
249 Likewise.
250
251 2004-02-10 Andrew Cagney <cagney@redhat.com>
252
253 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
254 using gdb_internal_error_resync.
255
256 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
257
258 * gdb.threads/thread-specific.exp: Stop early if no threads are
259 found.
260
261 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
262
263 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
264
265 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
266
267 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
268 breakpoints.
269
270 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
271
272 * config/sim.exp (gdb_load): Handle $arg == "".
273 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
274 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
275
276 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
277
278 * gdb.base/maint.exp: Update test to reflect
279 obstack changes.
280
281 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
282
283 * gdb.base/pendshr.c (pendfunc): New function that calls
284 pendfunc1.
285 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
286
287 2004-02-04 Fred Fish <fnf@redhat.com>
288
289 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
290 function symbols and update copyright years.
291 * gdb.arch/gdb1291.c: Ditto.
292
293 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
294
295 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
296
297 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
298
299 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
300
301 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
302
303 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
304
305 2004-02-02 Fred Fish <fnf@redhat.com>
306
307 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
308 remote targets. Update copyright years.
309
310 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
311
312 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
313 support.
314 * gdb.base/langs.exp: Fix test which attempts to create
315 breakpoint on non-existent function to handle new pending
316 support.
317 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
318 a breakpoint.
319 * gdb.base/pending.exp: New test.
320 * gdb.base/pending.c: New file.
321 * gdb.base/pendshr.c: Ditto.
322
323 2004-02-02 David Carlton <carlton@kealia.com>
324
325 * gdb.cp/overload.exp: Add overloadNamespace tests.
326 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
327 (overloadNamespace, XXX): New.
328 (main): Call XXX::marker2.
329
330 2004-02-01 Fred Fish <fnf@redhat.com>
331
332 * gdb.base/dump.exp: Use runto_main instead of "runto main".
333 * gdb.base/finish.exp: Ditto.
334 * gdb.base/gcore.exp: Ditto.
335 * gdb.base/huge.exp: Ditto.
336 * gdb.base/info-proc.exp: Ditto.
337 * gdb.base/return2.exp: Ditto.
338 * gdb.threads/gcore-thread.exp: Ditto.
339
340 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
341
342 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
343
344 2004-02-01 Mark Kettenis <kettenis@gnu.org>
345
346 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
347 that opening the file succeeds on OpenBSD.
348
349 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
350
351 * gdb.threads/thread-specific.c: New file.
352 * gdb.threads/threads-specific.exp: New test script.
353 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
354 to expect_out.
355
356 2004-02-01 Mark Kettenis <kettenis@gnu.org>
357
358 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
359 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
360 only on the "print_small_structs from print_long_arg_list" test.
361
362 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
363
364 * gdb.base/completion.exp: Kill a stray backslash.
365
366 From Jim Ingham <jingham@apple.com>:
367 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
368 agrees with the result from sending a tab.
369
370 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
371
372 * gdb.base/chng-syms.exp: Remove stray newline.
373
374 2004-01-31 Mark Kettenis <kettenis@gnu.org>
375
376 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
377 *-*-openbsd*.
378 * gdb.asm/openbsd.inc: New file.
379
380 2004-01-30 Mark Kettenis <kettenis@gnu.org>
381
382 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
383 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
384 *-*solaris2*. Remove commented out default settings for
385 asm-flags. Replace gdb_compile with target_link.
386
387 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
388
389 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
390 for all tests. Remove old hp-ux and cygnus xfail cases.
391
392 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
393
394 * gdb.base/chng-syms.exp: New file.
395 * gdb.base/chng-syms.c: New file.
396
397 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
398
399 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
400 Provide arms for current output in all my configurations.
401
402 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
403
404 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
405 * lib/compiler.cc: Likewise.
406 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
407 get the right preprocessor. Eval the output directly. Remove
408 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
409 hp_f77_compiler and hp_f90_compiler completely.
410 (gdb_preprocess): Delete.
411 (get_compiler): Delete.
412
413 2004-01-24 Mark Kettenis <kettenis@gnu.org>
414
415 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
416 <string.h>.
417
418 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
419
420 * gdb.mi/mi-stack.exp: Update copyright.
421
422 2004-01-23 David Carlton <carlton@kealia.com>
423
424 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
425 test for cp_lookup_transparent_type.
426 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
427 call them.
428
429 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
430
431 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
432 after -var-update.
433
434 2004-01-23 David Carlton <carlton@kealia.com>
435
436 * gdb.cp/namespace.cc (C::ensureRefs): New.
437 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
438
439 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
440
441 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
442 case "-stack-list-locals 2".
443 * gdb.mi/mi-var-child.exp: Test for case
444 "-var-list-children --all-values NAME".
445
446 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
447
448 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
449
450 2004-01-18 Mark Kettenis <kettenis@gnu.org>
451
452 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
453 used with gdb_test_multiple.
454
455 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
456 read at address 0. This fixes PR testsuite/1504.
457
458 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
459
460 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
461 Remove downloading, guessing the host executable, the calls to
462 gdb_file_cmd and gdb_target_cmd, and "load" support.
463 (infer_host_exec): New function broken out from gdb_load.
464 (gdb_load): New wrapper for gdbserver_gdb_load.
465 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
466 gdb_target_cmd. Use -target-select.
467 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
468 Download binaries to the host. Clear last_mi_remote_file when
469 we load a new binary.
470 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
471 call gdbserver_gdb_load and mi_gdb_target_cmd.
472
473 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
474
475 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
476 type patterns.
477
478 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
479
480 * gdb.cp/templates.exp: Fix typo in test name of
481 "print Foo<volatile char*>::foo".
482
483 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
484
485 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
486
487 2004-01-16 Ben Elliston <bje@wasabisystems.com>
488
489 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
490 (clean mostlyclean): Remove empty rm.
491
492 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
493
494 * gdb.base/setvar.exp: Add copyright years.
495
496 2004-01-14 David Carlton <carlton@bactrian.org>
497
498 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
499 PR c++/1511 and update coment.
500 * gdb.cp/templates.exp: Update patterns to match current output.
501 If changes involve something other than whitespace, KFAIL
502 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
503
504 2004-01-14 David Carlton <carlton@kealia.com>
505
506 * gdb.cp/namespace.exp: Add tests involving classes defined within
507 namespaces.
508 * gdb.cp/namespace.cc (C::CClass): New.
509 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
510
511 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
512
513 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
514 what debug info we have. Print a better message if something goes
515 wrong while producing the separate debug info file.
516
517 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
518
519 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
520
521 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
522
523 * gdb.base/callfuncs.c: Add copyright notice.
524
525 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
526
527 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
528 inheritance. PR gdb/1498, PR gcc/13539.
529
530 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
531
532 * gdb.threads/gcore-thread.exp: Prefix name of binary with
533 test specific name.
534 * gdb.mi/gdb669.exp: Ditto.
535 * gdb.mi/mi-pthreads.exp: Ditto.
536 * gdb.mi/mi1-pthreads.exp: Ditto.
537 * gdb.mi/mi2-pthreads.exp: Ditto.
538
539 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
540
541 * gdb.cp/member-ptr.cc: Add copyright notice.
542
543 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
544
545 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
546 some patterns for recent versions of gcc and hpacc. Delete
547 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
548 Delete tests that access a NULL pointer-to-member-data. This
549 script is still disabled for gcc.
550
551 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
552
553 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
554 escaped correctly.
555
556 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
557
558 * gdb.base/sepdebug.exp: New file.
559 * gdb.base/sepdebug.c: New file.
560 * lib/gdb.exp (separate_debug_filename): New procedure.
561 (gdb_gnu_strip_debug): New procedure.
562
563 2004-01-12 Andrew Cagney <cagney@redhat.com>
564
565 * gdb.mi/ChangeLog: Delete file. Renamed to ...
566 * gdb.mi/ChangeLog-1999-2003: New file.
567
568 2004-01-12 Andrew Cagney <cagney@redhat.com>
569
570 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
571 "Renaming a directory to a non-empty directory returns ENOTEMPTY
572 or EEXIST", treat EBUSY as an XFAIL.
573
574 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
575
576 * gdb.base/scope.exp: Remove obsolete setup_xfail for
577 hp_cc_compiler.
578
579 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
580
581 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
582 decorations.
583
584 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
585
586 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
587 and "(aCC)" decorations. Remove obsolete doco about old
588 test results.
589
590 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
591
592 * gdb.cp/exception.exp: Fix typo in doco.
593
594 2004-01-09 Mark Kettenis <kettenis@gnu.org>
595
596 * gdb.base/gdb1476.exp: Fix typo.
597
598 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
599
600 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
601 file.
602
603 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
604
605 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
606 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
607 Use gdb_compile. Remove restriction on gcc. Add some patterns
608 for recent version of gdb. Delete second half, which was a copy
609 of the first half with different build flags. This test is
610 still disabled because it is still not ready for production.
611
612 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
613
614 * gdb.cp/exception.cc: Add copyright notice.
615 * gdb.cp/exception.exp: Add a notice that this file is broken
616 because of line number changes caused by addition of copyright
617 notice.
618
619 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
620
621 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
622 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
623
624 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
625
626 * gdb.cp/classes.exp: Accept gnu abi 2.
627 * gdb.cp/derivation.exp: Likewise.
628 * gdb.cp/overload.exp: Likewise.
629 * gdb.cp/virtfunc.exp: Likewise.
630
631 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
632
633 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
634 semicolon after end of function.
635
636 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
637
638 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
639 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
640 boilerplate code for compiling and running the program under
641 test. Add some string method tests.
642
643 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
644
645 * gdb.cp/bs15503.cc: Add copyright notice.
646 * gdb.cp/bs15503.exp: Adjust line number.
647
648 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
649
650 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
651 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
652
653 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
654
655 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
656 hp_cc_compiler.
657
658 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
659
660 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
661 * gdb.cp/ctti.exp: Use the marker instead of "next".
662 With gcc, run further before bailing.
663
664 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
665
666 * gdb.cp/cttiadd.cc: Add copyright notice.
667 * gdb.cp/cttiadd1.cc: Likewise.
668 * gdb.cp/cttiadd2.cc: Likewise.
669 * gdb.cp/cttiadd3.cc: Likewise.
670
671 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
672
673 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
674 Use gdb_test, gdb_test_multiple. Use floating-point values that
675 have exact representations in IEEE-ish formats.
676
677 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
678
679 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
680 compilers. Delete duplicate call to get_compiler_info.
681 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
682 * gdb.base/volatile.exp: Likewise.
683
684 2004-01-07 Mark Kettenis <kettenis@gnu.org>
685
686 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
687 memory at address 0.
688
689 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
690
691 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
692 to test for hp-ux assembler. Fix copyright years.
693
694 2004-01-07 Andrew Cagney <cagney@redhat.com>
695
696 * gdb.base/fileio.c (strerrno): Add "EBUSY".
697
698 2004-01-07 Andrew Cagney <cagney@redhat.com>
699
700 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
701 when creating the read-only file. From analysis by Roland McGrath
702 and Elena Zannoni.
703
704 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
705
706 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
707
708 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
709
710 * gdb.base/cvexpr.c: Be type-safe with function pointers and
711 data pointers.
712
713 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
714
715 * gdb.cp/m-static.exp: Compile one source file at a time.
716 Delete unused call to get_compiler_info.
717
718 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
719
720 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
721 * gdb.base/call-rt-st.exp: Likewise.
722 * gdb.base/nodebug.exp: Likewise.
723 * gdb.base/volatile.exp: Likewise.
724 * gdb.cp/ref-types.exp: Likewise.
725 * gdb.cp/templates.exp: Likewise.
726
727 2004-01-05 Mark Kettenis <kettenis@gnu.org>
728
729 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
730
731 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
732
733 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
734 hppa*-hp-hpux*.
735
736 2004-01-04 Mark Kettenis <kettenis@gnu.org>
737
738 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
739 x86_64-*-*.
740
741 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
742 sparc64-*-* and sparc*-solaris2*.
743
744 2004-01-04 Mark Kettenis <kettenis@gnu.org>
745
746 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
747 return ${tests}" test. The ${tests} already mentions the
748 filename.
749
750 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
751
752 * gdb.cp/local.exp: Accept gcc abi 2.
753
754 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
755
756 * gdb.cp/templates.exp: Accept gcc abi 2.
757
758 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
759
760 * lib/compiler.cc: Remove supports_template_debugging.
761 * gdb.cp/templates.exp: Do not test supports_template_debugging.
762
763 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
764
765 * gdb.cp/namespace.exp: Accept gcc abi 2.
766
767 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
768
769 * gdb.cp/method.exp: Accept gcc abi 2.
770
771 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
772
773 * gdb.cp/classes.exp: Generate identical results as old version.
774 * gdb.cp/derivation.exp: Likewise.
775 * gdb.cp/overload.exp: Likewise.
776 * gdb.cp/virtfunc.exp: Likewise.
777
778 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
779
780 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
781 mysterious bug with sourceware version of expect.
782
783 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
784
785 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
786 current versions of gcc, including gcc abi 2. Remove gratuitous
787 restart of test program. Use gdb_test_multiple and gdb_test for
788 all tests. Add patterns to xfail missing "const" in "const char *"
789 and kfail PR gdb/1155.
790
791 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
792
793 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
794 current versions of gcc, including gcc abi 2. Remove gratuitous
795 restart of test program. Use gdb_test_multiple and gdb_test for
796 all tests. Add patterns to kfail PR gdb/1498.
797
798 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
799
800 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
801 current versions of gcc, including gcc abi 2. Use "breakpoint"
802 and "continue" instead of restarting the target program. Use
803 gdb_test_multiple and gdb_test for all tests.
804
805 2004-01-01 Mark Kettenis <kettenis@gnu.org>
806
807 * gdb.asm/asm-source.exp: Update copyright year. Link statically
808 for *-*-solaris2*.
809
810 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
811
812 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
813 current versions of gcc, including gcc abi 2. Use "breakpoint"
814 and "continue" instead of restarting the target program several
815 times. Use gdb_test_multiple and gdb_test for all tests.
816
817 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
818
819 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
820 source files.
821
822 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
823
824 * gdb.base/environ.exp: Handle compiling test case from multiple
825 source files.
826
827 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
828
829 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
830
831 2003-12-17 Jim Blandy <jimb@redhat.com>
832
833 * gdb.base/freebpcmd.c: Add copyright notice.
834
835 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
836
837 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
838
839 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
840
841 2003-12-13 Jim Blandy <jimb@redhat.com>
842
843 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
844
845 2003-12-12 Kevin Buettner <kevinb@redhat.com>
846
847 * gdb.asm/frv.inc: New file.
848 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
849
850 2003-12-09 Fred Fish <fnf@redhat.com>
851
852 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
853 functions to break1.c and leave prototypes behind. Add more
854 "set breakpoint NN here" comments.
855 * gdb.base/break1.c: New file.
856
857 * gdb.base/break.exp: Handle compiling test case from multiple
858 source files and change source file references as needed.
859 * gdb.base/completion.exp: Ditto.
860 * gdb.base/condbreak.exp: Ditto.
861 * gdb.base/define.exp: Ditto.
862 * gdb.base/ena-dis-br.exp: Ditto.
863 * gdb.base/info-proc.exp: Ditto.
864 * gdb.base/maint.exp: Ditto.
865 * gdb.base/until.exp: Ditto.
866
867 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
868 hardcoded line numbers.
869 * gdb.base/define.exp: Ditto.
870 * gdb.base/ena-dis-br.exp: Ditto.
871 * gdb.base/maint.exp: Ditto.
872 * gdb.base/until.exp: Ditto.
873
874 * gdb.base/completion.exp: Use "break1" for completion tests since
875 "break" is no longer a unique prefix.
876
877 2003-12-06 Andrew Cagney <cagney@redhat.com>
878
879 * gdb.base/structs.exp (test_struct_returns): When applicable, set
880 "return_value_unimplemented". When an unimplemented struct return
881 architecture, report incorrect values as a KFAIL
882
883 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
884
885 * gdb.cp/rtti.exp: Accept new wording of warning from
886 cp_lookup_rtti_type.
887
888 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
889
890 Partial fix for PR testsuite/1456.
891 * gdb.base/scope.exp (test_at_main): Replace references to
892 gcc_compiled with calls to test_compiler_info.
893 (test_at_foo): Likewise.
894 (test_at_bar): Likewise.
895
896 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
897
898 Partial fix for PR testsuite/1456.
899 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
900 to test_compiler_info.
901
902 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
903
904 * gdb.base/so-impl-ld.exp: Update copyright notice.
905
906 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
907
908 Partial fix for PR testsuite/1456.
909 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
910 to test_compiler_info.
911
912 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
913
914 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
915 from current versions of gdb. Clean up regular expressions.
916 Delete redundant timeout case.
917
918 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
919
920 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
921 from current versions of gdb. Clean up regular expressions.
922 Delete redundant timeout case.
923
924 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
925
926 Partial fix for PR testsuite/1456.
927 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
928 gcc_compiled with call to test_compiler_info.
929
930 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
931
932 Partial fix for PR testsuite/1456.
933 * gdb.base/list.exp (test_list_function): Delete unused declaration
934 of gcc_compiled.
935
936 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
937
938 Partial fix for PR testsuite/1456.
939 * gdb.base/complex.exp: Replace reference to gcc_compiled with
940 call to test_compiler_info.
941
942 2003-11-29 Mark Kettenis <kettenis@gnu.org>
943
944 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
945 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
946 it to create the appropriate note.inc.
947 * gdb.asm/asmsrc1.s: Include "note.inc".
948 * gdb.asm/netbsd.inc: New file.
949 * gdb.asm/empty.inc: New file.
950
951 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
952
953 Partial fix for PR testsuite/1456.
954 * gdb.base/constvars.exp: Replace references to gcc_compiled with
955 calls to test_compiler_info.
956
957 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
958
959 Partial fix for PR testsuite/1456.
960 * gdb.base/volatile.exp: Replace references to gcc_compiled with
961 calls to test_compiler_info.
962
963 2003-11-27 Mark Kettenis <kettenis@gnu.org>
964
965 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
966 pattern for the KFAILs.
967
968 2003-11-25 Adam Fedor <fedor@gnu.org>
969
970 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
971 * gdb.objc/objcdecode.m: New file.
972
973 2003-11-25 Adam Fedor <fedor@gnu.org>
974
975 * gdb.objc/nondebug.exp: Test for PR objc/1236.
976 * gdb.objc/nondebug.m: New file.
977
978 2003-11-26 Ben Elliston <bje@wasabisystems.com>
979
980 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
981 NetBSD as it does on FreeBSD. Modelled on a similar change by
982 Mark Kettenis on 2003-05-30.
983 (link-flags): Set to "--entry _start" regardless of target.
984 Special linker flags are to be appended to $link-flags.
985 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
986
987 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
988
989 * gdb.cp/method.exp: Accept output of new demangler.
990
991 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
992
993 * gdb/class2.exp: New file.
994 * gdb/class2.cc: New file.
995
996 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
997
998 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
999 of new demangler.
1000
1001 2003-11-23 Mark Kettenis <kettenis@gnu.org>
1002
1003 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1004 of gdb_test "run".
1005
1006 2003-11-23 Mark Kettenis <kettenis@gnu.org>
1007
1008 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1009 "continue" into "run".
1010
1011 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1012
1013 Partial fix for PR testsuite/1456.
1014 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1015 call to test_compiler_info.
1016 * gdb.cp/ctti.exp: Likewise.
1017 * gdb.cp/derivation.exp: Likewise.
1018 * gdb.cp/member-ptr.exp: Likewise.
1019 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1020 reference to gcc_compiled.
1021
1022 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1023
1024 Fix PR testsuite/1463.
1025 * gdb.base/structs.exp (start_structs_test): Call
1026 get_debug_format before using the debug format.
1027
1028 2003-11-22 Andrew Cagney <cagney@redhat.com>
1029
1030 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1031 * gdb.base/structs.exp: Use gdb_test_multiple.
1032
1033 2003-11-20 Andrew Cagney <cagney@redhat.com>
1034
1035 * gdb.base/structs.exp: Handle and recover from internal errors.
1036 Replace "foo${n}" with "foo<n>" in test messages.
1037
1038 * gdb.base/structs.exp: Update copyright. Rewrite.
1039 * gdb.base/structs.c: Update copyright. Rewrite.
1040
1041 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1042 resync count exceeded.
1043
1044 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1045 from the internal error.
1046 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1047 Original from Jim Blandy.
1048 (gdb_test_multiple): Use gdb_internal_error_resync.
1049
1050 2003-11-19 Andrew Cagney <cagney@redhat.com>
1051
1052 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1053 KFAIL.
1054
1055 2003-11-17 Mark Kettenis <kettenis@gnu.org>
1056
1057 New testcase for PR backtrace/1435.
1058 * gdb.arch/i386-unwind.exp: New file.
1059 * gdb.arch/i386-unwind.c: New file.
1060
1061 2003-11-17 Andrew Cagney <cagney@redhat.com>
1062
1063 * lib/gdb.exp (compiler_info): New global.
1064 (test_compiler_info): New function.
1065 (get_compiler_info): Set compiler_info.
1066 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1067 "compiler_info" to gcc-<major>-<minor>.
1068
1069 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1070
1071 * gdb.trace/configure: Remove.
1072
1073 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
1074
1075 * gdb.base/break.c: Add comments to aid finding line numbers for
1076 breakpoints.
1077 * gdb.base/break.exp: Remove all references to explicit line
1078 numbers.
1079
1080 2003-11-11 Nick Clifton <nickc@redhat.com>
1081
1082 * gdb.base/shreloc.exp: Do not run for targets which do not
1083 support shared objects.
1084
1085 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
1086
1087 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1088 Don't run tests if nofileio flag is given.
1089
1090 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
1091
1092 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1093 as well as 'Watchpoint'.
1094
1095 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
1096
1097 Reported by Jim Ingham <jingham@apple.com>:
1098 * gdb.base/annota1.exp: Match at least one occurrence of the
1099 signal handler annotation.
1100
1101 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
1102
1103 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1104 as well as 'Watchpoint'.
1105
1106 2003-11-05 Michael Chastain <mec@shout.net>
1107
1108 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1109
1110 2003-11-03 Kris Warkentin <kewarken@qnx.com>
1111
1112 * gdb.arch/gdb1291.c: New test file.
1113 * gdb.arch/gdb1291.exp: New test script.
1114 * gdb.arch/gdb1431.c: New test file.
1115 * gdb.arch/gdb1431.exp: New test script.
1116
1117 2003-10-22 Michael Chastain <mec@shout.net>
1118
1119 * gdb.mi/pthreads.c: Add copyright notice.
1120
1121 2003-10-22 Michael Chastain <mec@shout.net>
1122
1123 * gdb.threads/pthreads.c: Add copyright notice.
1124
1125 2003-10-20 Michael Chastain <mec@shout.net>
1126
1127 * gdb.base/gdb1056.exp: New test script.
1128
1129 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
1130
1131 * gdb.threads/killed.exp: Use gdb_run_cmd.
1132
1133 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
1134
1135 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1136 create a core file.
1137 * gdb.threads/gcore-thread.exp: Likewise.
1138
1139 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
1140
1141 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1142 type, based on char type.
1143 (struct bit_flags_short_t): New bitfield type, based on short type.
1144 (init_bit_flags_char): New fuction.
1145 (init_bit_flags_short): Ditto.
1146 (print_bit_flags_char): Ditto.
1147 (print_bit_flags_short): Ditto.
1148 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1149
1150 2003-10-11 Michael Chastain <mec@shout.net>
1151
1152 * gdb.base/call-rt-st.exp: Update copyright year.
1153
1154 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1155
1156 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1157 * gdb.disasm/sh3.s: Ditto.
1158
1159 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
1160
1161 * gdb.threads/switch-threads.exp: New test.
1162 * gdb.threads/switch-threads.c: New source file.
1163
1164 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
1165
1166 * gdb.base/ending-run.exp: Add sh specific case.
1167
1168 2003-10-06 Andrew Cagney <cagney@redhat.com>
1169
1170 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1171 * gdb.disasm/mn10200.exp: Delete obsolete file.
1172
1173 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
1174
1175 * ChangeLog: Correct an entry command.exp -> commands.exp.
1176 * gdb.base/commands.exp (bp_deleted_in_command_test)
1177 (temporary_breakpoint_commands): Check noargs.
1178
1179 2003-09-25 David Carlton <carlton@kealia.com>
1180
1181 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1182 of some print tests, where appropriate. Add tests for C::D::cd,
1183 E::ce, F::cXfX, G::XgX.
1184 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1185
1186 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
1187
1188 * lib/java.exp (java_init): Import target_alias before using it.
1189
1190 2003-09-25 David Carlton <carlton@kealia.com>
1191
1192 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1193
1194 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
1195
1196 * gdb.base/selftest.exp: Accomodate more instruction reordering
1197 weirdness.
1198
1199 2003-09-17 Michael Chastain <mec@shout.net>
1200
1201 * gdb.cp/gdb1355.exp: New file.
1202 * gdb.cp/gdb1355.c: New file.
1203
1204 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
1205
1206 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1207 * gdb.asm/sh.inc: New file.
1208
1209 2003-09-11 David Carlton <carlton@kealia.com>
1210
1211 * gdb.cp/namespace.exp: Add tests for namespace types.
1212 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
1213 (test_namespace): New.
1214
1215 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
1216
1217 * gdb.base/relocate.exp: Handle new gdb output at startup.
1218 * gdb.stabs/weird.exp: Ditto.
1219
1220 2003-09-08 Michael Chastain <mec@shout.net>
1221
1222 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1223
1224 2003-09-07 Michael Chastain <mec@shout.net>
1225
1226 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1227 'parse error'.
1228
1229 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1230
1231 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1232
1233 2003-08-30 Michael Chastain <mec@shout.net>
1234
1235 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1236 * gdb.gdb/observer.exp: Ditto.
1237 * gdb.gdb/xfullpath.exp: Ditto.
1238
1239 2003-08-29 Mark Kettenis <kettenis@gnu.org>
1240
1241 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1242 *-*-*bsd*.
1243
1244 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1245
1246 * gdb.base/dump.exp: Skip for ia64.
1247
1248 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1249
1250 * gdb.asm/asm-source.exp: Add ia64 support.
1251 * gdb.asm/ia64.inc: New file.
1252
1253 2003-08-22 Michael Chastain <mec@shout.net>
1254
1255 * gdb.cp: New directory.
1256 * gdb.cp/*: Copy from gdb.c++/*.
1257 * gdb.c++/*: Remove.
1258 * Makefile.in: Change gdb.c++ to gdb.cp.
1259 * configure.in: Ditto.
1260 * configure: Regnerate.
1261
1262 2003-08-18 Mark Kettenis <kettenis@gnu.org>
1263
1264 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1265 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1266
1267 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1268
1269 * mi-var-display.exp (-var-list-children weird): Accept function
1270 pointers with argument types.
1271 * mi1-var-display.exp (-var-list-children weird): Likewise.
1272 * mi2-var-display.exp (-var-list-children weird): Likewise.
1273
1274 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1275
1276 * gdb.base/annota3.exp: Add missing newline.
1277
1278 2003-08-06 Michael Chastain <mec@shout.net>
1279
1280 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1281
1282 2003-08-12 Michael Snyder <msnyder@redhat.com>
1283
1284 * gdb.base/float.exp: Add test for SH.
1285
1286 2003-08-10 Mark Kettenis <kettenis@gnu.org>
1287
1288 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1289
1290 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1291
1292 * gdb.base/completion.exp: Remove reduntant completion test
1293 on filename.
1294
1295 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1296
1297 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1298 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1299 gdb.trace/save-trace.exp: Make sure that full pathnames are
1300 escaped correctly.
1301
1302 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1303
1304 * configure.in: Don't generate config.h from config.hin.
1305 * configure: Regenerate.
1306 * config.hin: Remove file.
1307 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1308 * gdb.threads/pthreads.c: Ditto.
1309
1310 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
1311
1312 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1313 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1314 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1315 Replace ld24 with seth/add3.
1316
1317 2003-08-02 Andrew Cagney <cagney@redhat.com>
1318
1319 * gdb.base/annota3.exp: New file.
1320 * gdb.base/annota3.c: New file.
1321 * gdb.c++/annota3.exp: New file.
1322 * gdb.c++/annota3.cc: New file.
1323
1324 2003-07-29 Michael Chastain <mec@shout.net>
1325
1326 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1327 actually failed.
1328 (do_pass): Likewise.
1329 * gdb.threads/tls.exp: Always initialize no_of_threads.
1330
1331 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
1332
1333 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1334 pattern.
1335 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1336 * gdb.threads/tls.exp: Recognize one case of the host library not
1337 supporting TLS.
1338
1339 2003-07-27 Andrew Cagney <cagney@redhat.com>
1340
1341 * gdb.base/fileio.exp: Use SH when running commands using
1342 remote_exec.
1343
1344 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
1345
1346 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1347 * gdb.base/relocate.c (dummy): New padding array.
1348
1349 2003-07-22 Michael Snyder <msnyder@redhat.com>
1350
1351 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1352
1353 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1354 patterns to be more general, accepting old and new output.
1355 Some output chars (such as '+') also must be quoted.
1356 Some addresses are displayed numerically instead of
1357 symbolically.
1358
1359 2003-07-23 Michael Snyder <msnyder@redhat.com>
1360
1361 * gdb.base/return2.exp: Don't test long-long return.
1362
1363 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1364 * gdb.disasm/t01_mov.exp: Ditto.
1365 * gdb.disasm/t02_mova.s: Ditto.
1366 * gdb.disasm/t02_mova.exp: Ditto.
1367 * gdb.disasm/t03_add.s: Ditto.
1368 * gdb.disasm/t03_add.exp: Ditto.
1369 * gdb.disasm/t04_sub.s: Ditto.
1370 * gdb.disasm/t04_sub.exp: Ditto.
1371 * gdb.disasm/t05_cmp.s: Ditto.
1372 * gdb.disasm/t05_cmp.exp: Ditto.
1373 * gdb.disasm/t06_ari2.s: Ditto.
1374 * gdb.disasm/t06_ari2.exp: Ditto.
1375 * gdb.disasm/t07_ari3.s: Ditto.
1376 * gdb.disasm/t07_ari3.exp: Ditto.
1377 * gdb.disasm/t08_or.s: Ditto.
1378 * gdb.disasm/t08_or.exp: Ditto.
1379 * gdb.disasm/t09_xor.s: Ditto.
1380 * gdb.disasm/t09_xor.exp: Ditto.
1381 * gdb.disasm/t10_and.s: Ditto.
1382 * gdb.disasm/t10_and.exp: Ditto.
1383 * gdb.disasm/t11_logs.s: Ditto.
1384 * gdb.disasm/t11_logs.exp: Ditto.
1385 * gdb.disasm/t12_bit.s: Ditto.
1386 * gdb.disasm/t12_bit.exp: Ditto.
1387 * gdb.disasm/t13_otr.s: Ditto.
1388 * gdb.disasm/t13_otr.exp: Ditto.
1389
1390 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1391
1392 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1393
1394 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1395
1396 * gdb.threads/tls.c : New file.
1397 * gdb.threads/tls.exp : New file.
1398 * gdb.threads/tls-main.c : New file.
1399 * gdb.threads/tls-shared.c : New file.
1400 * gdb.threads/tls-shared.exp : New file.
1401
1402 2003-07-22 Andreas Schwab <schwab@suse.de>
1403
1404 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1405
1406 2003-07-20 Andreas Schwab <schwab@suse.de>
1407
1408 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1409 due to insn reordering.
1410
1411 2003-07-15 Andrew Cagney <cagney@redhat.com>
1412
1413 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1414
1415 2003-07-15 Michael Chastain <mec@shout.net>
1416
1417 * gdb.base/gdb1250.exp: New file.
1418 * gdb.base/gdb1250.c: New file.
1419
1420 2003-07-09 Michal Ludvig <mludvig@suse.cz>
1421
1422 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1423 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1424
1425 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1426
1427 * gdb.threads/tls.c: New file.
1428 * gdb.threads/tls.exp: New file.
1429 * gdb.threads/tls-main.c: New file.
1430 * gdb.threads/tls-shared.c: New file.
1431 * gdb.threads/tls-shared.exp: New file.
1432
1433 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1434
1435 * gdb.base/annota1.exp: Make sure that we properly escape the
1436 full path of the source file. Xfail more permissive patterns,
1437 due to a compiler debug info problem.
1438
1439 2003-07-07 Andreas Schwab <schwab@suse.de>
1440
1441 * gdb.asm/m68k.inc: New file.
1442 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1443
1444 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1445 arguments"): Also match negative number.
1446
1447 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1448
1449 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
1450
1451 * gdb.base/store.c (charest): New typedef.
1452 (add_char): Rename to add_charest, update.
1453 (wack_char): Rename to wack_charest, update types. Return l + r
1454 to keep r live across the call.
1455 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1456 (wack_double, wack_doublest): Return l + r to keep r live across
1457 the call.
1458 * gdb.base/store.exp: Accomodate store.c changes.
1459
1460 2003-06-30 David Carlton <carlton@kealia.com>
1461
1462 * gdb.c++/maint.exp (test_invalid_name): New.
1463 (test_first_component): Add tests for invalid names.
1464
1465 2003-06-29 Michael Chastain <mec@shout.net>
1466
1467 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1468 output of '<VTT for class>' for virtual base classes.
1469
1470 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1471
1472 * gdb.base/completion.exp: Tab-complete "complet" instead of
1473 "compl".
1474 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1475
1476 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1477
1478 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1479 * gdb.base/volatile.exp: Likewise.
1480
1481 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1482
1483 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1484 gdb/1265.
1485
1486 2003-06-28 Michael Chastain <mec@shout.net>
1487 Daniel Jacobowitz <drow@mvista.com>
1488
1489 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1490 initial line count of 'captured_main' from 26 to 32.
1491 (test_with_self): Allow xmalloc call to be interleaved with the
1492 preceding two lines.
1493
1494 2003-06-24 Joel Brobecker <brobecker@gnat.com>
1495
1496 * gdb.base/bang.exp: New testcase.
1497
1498 2003-06-23 Joel Brobecker <brobecker@gnat.com>
1499
1500 * gdb.base/langs.exp: Add some tests for the "minimal" language
1501 support.
1502
1503 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
1504
1505 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1506 the testcase.
1507
1508 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
1509
1510 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1511 offset.
1512
1513 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
1514
1515 * gdb.c++/pr-1210.cc: New file.
1516 * gdb.c++/pr-1210.exp: New file.
1517
1518 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
1519
1520 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1521 000-exec-continue.
1522
1523 2003-06-15 Mark Kettenis <kettenis@gnu.org>
1524
1525 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1526 on *-*-*bsd* instead of *-*-freebsd*.
1527
1528 2003-06-14 Andrew Cagney <cagney@redhat.com>
1529
1530 * gdb.base/store.exp: Test longest and doublest. Test all
1531 parameters. Weaken return statement match.
1532 * gdb.base/store.c: Add longest and doublest - aka long long and
1533 long double functions. Put all parameters into local register
1534 variables. Use negative values.
1535
1536 2003-06-14 Andrew Cagney <cagney@redhat.com>
1537
1538 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1539 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1540 exit status.
1541 * gdb.base/fileio.exp: Disable target when nointerrupts and
1542 noinferiorio, instead of limiting it to remote. Use remote_exec
1543 instead of system.
1544
1545 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1546
1547 * gdb.base/float.exp: Add ia64 support.
1548
1549 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
1550
1551 * gdb.base/fileio.exp: Run only on remote targets.
1552
1553 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
1554
1555 * gdb.base/fileio.c: New file, testing File-I/O.
1556 * gdb.base/fileio.exp: Ditto.
1557
1558 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1559
1560 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1561 shared objects after relocation at load time (gdb PR/1132).
1562 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1563 as above, part of the shared object relocation test.
1564
1565 2003-06-08 Mark Kettenis <kettenis@gnu.org>
1566
1567 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1568 fully filled history list.
1569 * gdb.base/gdb_history: New file.
1570
1571 * gdb.base/signals.exp: XFAIL "continue to func1" on
1572 i*86-*-freebsd*.
1573
1574 * gdb.base/attach.exp: When trying to attach to a nonexistent
1575 process, make it possible to specify the PID based on the target,
1576 and do so for *-*-freebsd*.
1577
1578 2003-06-02 Richard Henderson <rth@redhat.com>
1579
1580 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1581
1582 2003-06-02 Richard Henderson <rth@redhat.com>
1583
1584 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1585
1586 2003-06-02 Richard Henderson <rth@redhat.com>
1587
1588 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1589
1590 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
1591
1592 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1593 of globalvar.
1594
1595 2003-06-01 Mark Kettenis <kettenis@gnu.org>
1596
1597 * gdb.asm/asm-source.exp: Check for memory read errors in
1598 disassembler test on *BSD too.
1599
1600 2003-06-01 Richard Henderson <rth@redhat.com>
1601
1602 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1603 for .frame.
1604 (gdbasm_call): Lose ldgp.
1605 (gdbasm_startup): Add frame information.
1606 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1607
1608 2003-05-31 Mark Kettenis <kettenis@gnu.org>
1609
1610 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1611 i?86-*-*.
1612
1613 2003-05-30 Mark Kettenis <kettenis@gnu.org>
1614
1615 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1616 FreeBSD.
1617
1618 2003-05-29 Richard Henderson <rth@redhat.com>
1619
1620 * gdb.asm/alpha.inc: New file.
1621 * gdb.asm/asm-source.exp: Use it.
1622
1623 2003-05-29 Jim Blandy <jimb@redhat.com>
1624
1625 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1626 'core.PID'.
1627
1628 2003-05-22 Jim Blandy <jimb@redhat.com>
1629
1630 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1631 backtrace.
1632
1633 2003-05-20 David Carlton <carlton@math.stanford.edu>
1634
1635 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1636 this time.
1637
1638 2003-05-19 David Carlton <carlton@bactrian.org>
1639
1640 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1641 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1642
1643 2003-05-19 David Carlton <carlton@bactrian.org>
1644
1645 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1646 namespace tests.
1647 Bump copyright date.
1648 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1649 (main): Call C::D::marker2.
1650 * gdb.c++/namespace1.cc: New file.
1651
1652 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1653
1654 Roland McGrath <roland@redhat.com>
1655 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1656 there is no manager thread.
1657
1658 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1659
1660 * gdb.threads/schedlock.exp: Remove assumption that all threads
1661 will run in a particular small time slice. Also ensure we break
1662 in one of the child threads rather than the main thread.
1663
1664 2003-05-07 Jim Blandy <jimb@redhat.com>
1665
1666 Add support for assembly source testing on the s390x.
1667 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1668 architecture.
1669 * gdb.asm/s390x.inc: New file.
1670
1671 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1672 succession of 'if' statements.
1673
1674 2003-05-05 Andrew Cagney <cagney@redhat.com>
1675
1676 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1677
1678 2003-05-05 Andrew Cagney <cagney@redhat.com>
1679
1680 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1681 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1682
1683 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
1684
1685 * gdb.base/charset.exp: Update based on new behavior of set/show
1686 charset commands.
1687
1688 2003-05-01 Andrew Cagney <cagney@redhat.com>
1689
1690 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1691 variable do not give memory errors.
1692
1693 2003-04-30 Adam Fedor <fedor@gnu.org>
1694
1695 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1696 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1697 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1698 gdb.objc/basicclass.m: : New files
1699
1700 * lib/gdb.exp (gdb_compile_objc): New procedure.
1701
1702 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
1703
1704 * gdb.base/signals.exp: Make backtrace tests more specific.
1705
1706 2003-04-23 David Carlton <carlton@bactrian.org>
1707
1708 * gdb.c++/maint.exp (test_first_component): Add tests for
1709 'operator' in more locations.
1710
1711 2003-04-16 Kevin Buettner <kevinb@redhat.com>
1712
1713 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1714
1715 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
1716
1717 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1718 func marke' instead. Update test name.
1719
1720 2003-04-15 David Carlton <carlton@math.stanford.edu>
1721
1722 * gdb.c++/maint.exp: New file.
1723
1724 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1725
1726 * gdb.threads/schedlock.c: Change type of thread function argument
1727 to long, to avoid warnings on 64-bit platforms.
1728
1729 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1730
1731 * gdb.base/attach.exp: Add new message from ptrace in case of
1732 attaching to nonexistent process.
1733
1734 2003-04-11 Jim Blandy <jimb@redhat.com>
1735
1736 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1737 gdb.c++/userdef.cc: Place comments on the lines to which the
1738 marker function might return.
1739 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1740 gdb.c++/userdef.exp: Look for those comments to check that we've
1741 returned to the right place, instead of checking line numbers.
1742
1743 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
1744
1745 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1746 match on sourcefile name, instead of directory name.
1747
1748 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
1749
1750 * gdb.base/completion.exp: Use string_to_regexp to match the
1751 working directory name.
1752
1753 2003-04-09 Jim Blandy <jimb@redhat.com>
1754
1755 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1756 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1757 after an inferior function call, report the failure, but allow the
1758 test to continue.
1759
1760 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1761
1762 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1763 with -DPROTOTYPES.
1764
1765 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1766
1767 * gdb.base/break.exp: Revert last patch.
1768
1769 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1770
1771 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1772 with -DPROTOTYPES.
1773
1774 2003-04-02 Andrew Cagney <cagney@redhat.com>
1775
1776 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1777 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1778 matching directories by the name breakpoint.
1779 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1780 Make "continue to marker1" consistent.
1781 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1782 message consistent.
1783 * lib/gdb.exp: Put "the program is no longer running", and "the
1784 program exited" in parenthesis.
1785 * lib/mi-support.exp: Ditto.
1786
1787 2003-04-02 Bob Rossi <bob_rossi@cox.net>
1788
1789 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1790
1791 2003-03-29 Andrew Cagney <cagney@redhat.com>
1792
1793 * gdb.base/sizeof.c (main): Print the value of '\377'.
1794 * gdb.base/sizeof.exp: Check the sign of '\377'.
1795
1796 2003-03-27 Michael Chastain <mec@shout.net>
1797
1798 * gdb.base/gdb1090.exp: New file.
1799 * gdb.base/gdb1090.cc: New file.
1800
1801 2003-03-27 J. Brobecker <brobecker@gnat.com>
1802
1803 * gdb.gdb/observer.exp: New regression test.
1804
1805 2003-03-27 Michael Chastain <mec@shout.net>
1806
1807 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1808 * gdb.base/ptype.exp: Likewise.
1809
1810 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
1811
1812 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1813
1814 2003-03-26 Michael Chastain <mec@shout.net>
1815
1816 * gdb.base/ptype.exp: Actually use some typedef'd types.
1817
1818 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1819
1820 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1821 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1822
1823 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1824
1825 * gdb.base/default.exp: Fix regular expression.
1826
1827 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1828
1829 * gdb.base/args.exp: Fix regular expression.
1830
1831 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1832
1833 * gdb.base/help.exp: Allow Win32 child process.
1834
1835 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1836
1837 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1838 when stepping out of main().
1839
1840 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1841
1842 * gdb.base/default.exp: Check for win32 specific message when calling
1843 "run" without executable.
1844
1845 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1846
1847 * gdb.base/args.exp: Expect .exe in output.
1848
1849 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1850
1851 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1852 Cygwin native.
1853
1854 2003-03-17 Andrew Cagney <cagney@redhat.com>
1855
1856 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1857 vector registes.
1858 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1859 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1860
1861 2003-03-17 David Carlton <carlton@math.stanford.edu>
1862
1863 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1864 test, for PR breakpoints/38.
1865 Call test_watchpoint_and_breakpoint.
1866 * gdb.base/watchpoint.c (func3): New function.
1867 (main): Call func3.
1868
1869 2003-03-04 David Carlton <carlton@math.stanford.edu>
1870
1871 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1872 Garply<Garply<char> >:: garply".
1873 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1874 with respect to PR c++/1111; note also PR c++/1113.
1875 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1876 respect to PR c++/1062.
1877 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1878
1879 2003-03-03 David Carlton <carlton@math.stanford.edu>
1880
1881 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1882 with respect to PR c++/57.
1883 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1884 c++/826.
1885 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1886 respect to PR c++/57.
1887
1888 2003-03-03 David Carlton <carlton@math.stanford.edu>
1889
1890 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1891 respect to PR c++/33 into FAILs.
1892
1893 2003-03-03 Michael Chastain <mec@shout.net>
1894
1895 * configure.in: Update copyright years.
1896
1897 2003-03-03 Michael Chastain <mec@shout.net>
1898
1899 * Makefile.in: Update copyright years.
1900
1901 2003-02-28 David Carlton <carlton@math.stanford.edu>
1902
1903 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1904 print class instead of struct and/or superfluous protection
1905 specifiers, as long as the resulting output is equivalent to the
1906 source code.
1907 Delete FIXME from end of messages on tests that don't need
1908 fixing.
1909
1910 2003-02-28 David Carlton <carlton@math.stanford.edu>
1911
1912 * gdb.c++/templates.exp (do_tests): Allow const in the two
1913 Foo<volatile char *>::foo tests.
1914
1915 2003-02-27 Michael Snyder <msnyder@redhat.com>
1916
1917 * gdb.base/restore.c (main): Return zero, so exit code
1918 will be consistant.
1919
1920 2003-02-26 David Carlton <carlton@math.stanford.edu>
1921
1922 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1923 char *>::foo" test with respect to PR c++/33. Create a new test
1924 which is identical to that one except that it doesn't put the
1925 space between the "char" and the "*"; KFAIL it, too.
1926
1927 2003-02-26 David Carlton <carlton@math.stanford.edu>
1928
1929 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1930 template types into either PASSes or KFAILs (corresponding to PR
1931 c++/57). Tweak indentation. Update copyright.
1932
1933 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1934
1935 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1936
1937 2003-02-13 Michael Chastain <mec@shout.net>
1938
1939 * gdb.base/exprs.exp: Remove i960 remnants.
1940 * gdb.base/funcargs.exp: Likewise.
1941 * gdb.base/list.exp: Likewise.
1942 * gdb.base/ptype.exp: Likewise.
1943
1944 2003-02-14 David Carlton <carlton@math.stanford.edu>
1945
1946 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1947 pEe->D::vg()" from XFAIL to KFAIL.
1948
1949 2003-02-13 Jason Molenda (jmolenda@apple.com)
1950
1951 * gdb.base/maint.exp: Update maint print statistics regexp to include
1952 new entries.
1953
1954 2003-02-13 Michael Chastain <mec@shout.net>
1955
1956 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1957
1958 2003-02-12 Michael Chastain <mec@shout.net>
1959
1960 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1961 * gdb.c++/inherit.exp: Likewise.
1962 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1963 * gdb.c++/templates.exp: Likewise.
1964 * gdb.c++/virtfunc.exp: Likewise.
1965
1966 2003-02-06 Jason Molenda (jason-cl@molenda.com)
1967
1968 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1969 why the code is written that way.
1970
1971 2003-02-05 Michael Chastain <mec@shout.net>
1972
1973 * gdb.base/dump.exp: Add missing copyright line.
1974
1975 2003-02-05 Jason Molenda (jason-cl@molenda.com)
1976
1977 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
1978 at the beginning so the breakpoint doesn't get set on the loop.
1979
1980 2003-02-05 Michael Chastain <mec@shout.net>
1981
1982 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1983 output for configurations with gcc 2.95.3.
1984
1985 2003-02-05 Keith Seitz <keiths@redhat.com>
1986 Andrew Cagney <ac131313@redhat.com>
1987
1988 * gdb.mi/mi-cli.exp: New file.
1989
1990 2003-02-04 Michael Chastain <mec@shout.net>
1991
1992 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1993 Call perror and then continue.
1994
1995 2003-02-03 Michael Chastain <mec@shout.net>
1996
1997 * gdb.c++/pr-1023.cc: New file.
1998 * gdb.c++/pr-1023.exp: New file.
1999
2000 2003-02-05 Jim Blandy <jimb@redhat.com>
2001
2002 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2003 it's local to foobar. Check for it there, and check that it's not
2004 present in main.
2005 * gdb.c++/local.cc (marker2): New function.
2006 (foobar): Call marker1.
2007 (main): Call marker2 instead of marker1.
2008
2009 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2010
2011 * gdb.disasm/mn10200.exp: Obsolete file.
2012 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2013 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2014 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2015
2016 2003-02-04 David Carlton <carlton@math.stanford.edu>
2017
2018 * gdb.c++/overload.exp: Test intToChar(1).
2019 * gdb.c++/overload.cc (intToChar): New.
2020 (main): Call intToChar.
2021
2022 2003-02-03 David Carlton <carlton@math.stanford.edu>
2023
2024 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2025 'might_kfail' arg.
2026 KFAIL some of the continue_to_bp_overloaded calls, according to
2027 PR c++/1025.
2028
2029 2003-02-01 Michael Chastain <mec@shout.net>
2030
2031 * gdb.base/advance.c (marker1): New marker function.
2032 * gdb.base/advance.exp: When the 'advance' command lands on the
2033 return breakpoint, it can legitimately stop on either the
2034 current line or the next line. Accommodate both outcomes.
2035 * gdb.base/until.exp: Likewise.
2036
2037 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2038
2039 2002-11-10 Jason Molenda (jason-cl@molenda.com):
2040 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2041 now a list, not a tuple.
2042 * gdb.mi/mi-var-display.exp: Ditto.
2043 * gdb.mi/gdb792.exp: Ditto.
2044
2045 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2046
2047 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2048 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2049 stack backtraces.
2050 * gdb.mi/mi-syn-frame.c: Part of same.
2051
2052 2003-02-01 Mark Kettenis <kettenis@gnu.org>
2053
2054 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2055 gdb.mi/mi1-pthreads.exp: Return instead of calling
2056 gdb_suppress_entire_file.
2057
2058 2003-02-01 Mark Salter <msalter@redhat.com>
2059
2060 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2061
2062 2003-01-31 Mark Salter <msalter@redhat.com>
2063
2064 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2065 Support empty arg.
2066
2067 2003-01-30 Michael Chastain <mec@shout.net>
2068
2069 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2070 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2071 has been fixed in gdb/readline on 2003-01-09.
2072
2073 2003-01-29 Michael Snyder <msnyder@redhat.com>
2074
2075 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2076 * gdb.base/display.exp: Allow for leading underscore in symbol.
2077 * gdb.base/args.exp: Skip if target does not support args passing.
2078
2079 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
2080
2081 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2082 gdb_test. Accept a list of expect arguments as the third
2083 parameter.
2084 (gdb_test): Use it.
2085
2086 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
2087
2088 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2089 allow for different test tree configurations. Update some
2090 tescases accordingly.
2091 * gdb.arch/altivec-regs.exp: Ditto.
2092 * gdb.asm/asm-source.exp: Ditto.
2093 * gdb.base/advance.exp: Ditto.
2094 * gdb.base/display.exp: Ditto.
2095 * gdb.base/long_long.exp: Ditto.
2096 * gdb.base/mips_pro.exp: Ditto.
2097 * gdb.base/overlays.exp: Ditto.
2098 * gdb.base/relocate.exp: Ditto.
2099 * gdb.base/setshow.exp: Ditto.
2100 * gdb.base/step-line.exp: Ditto.
2101 * gdb.base/step-test.exp: Ditto.
2102 * gdb.base/until.exp: Ditto.
2103 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2104
2105 2003-01-17 David Carlton <carlton@math.stanford.edu>
2106
2107 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2108 corresponding to PR c++/945.
2109 Update copyright.
2110
2111 2003-01-17 David Carlton <carlton@math.stanford.edu>
2112
2113 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2114 corresponding to PR c++/68.
2115
2116 2003-01-17 David Carlton <carlton@math.stanford.edu>
2117
2118 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2119 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2120 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2121
2122 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
2123
2124 * gdb.base/break.exp: Fix change of default location, because of
2125 removal of until tests.
2126 * gdb.base/help.exp: Update test for new 'until' help message.
2127 Add test for help on 'advance'.
2128 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2129
2130 2003-01-15 Mark Kettenis <kettenis@gnu.org>
2131
2132 * gdb.base/default.exp: Adapt "info float" test for recent changes
2133 to that command. Add test for "info vector".
2134 * gdb.base/float.exp: New file. Add test for "info float" that
2135 resembles the old test in gdb.base/default.exp.
2136
2137 2003-01-15 David Carlton <carlton@math.stanford.edu>
2138
2139 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2140
2141 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
2142
2143 * gdb.base/break.exp: Move the tests of until command from here...
2144 * gdb.base/until.exp: ... to here. New file. Add other tests.
2145 * gdb.base/advance.c: New file.
2146 * gdb.base/advance.exp: New file.
2147
2148 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
2149
2150 * gdb.base/args.c: New file.
2151 * gdb.base/args.exp: New file.
2152
2153 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2154
2155 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2156
2157 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2158
2159 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2160
2161 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2162
2163 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2164 dates.
2165
2166 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2167
2168 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2169
2170 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2171
2172 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2173 (ptype &*"foo").
2174 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2175
2176 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2177
2178 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2179 * gdb.mi/mi1-console.exp: Likewise.
2180
2181 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2182
2183 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2184 * gdb.mi/mi1-console.exp: Likewise.
2185
2186 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2187
2188 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2189
2190 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2191
2192 * gdb.base/detach.exp: New test.
2193
2194 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2195
2196 * Makefile.in (ALL_SUBDIRS): New variable.
2197 (subdirs, clean, distclean): Use it.
2198 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2199 regenerating Makefile, since it is generated from the top level.
2200 * gdb.asm/Makefile.in: Likewise.
2201 * gdb.base/Makefile.in: Likewise.
2202 * gdb.c++/Makefile.in: Likewise.
2203 * gdb.disasm/Makefile.in: Likewise.
2204 * gdb.java/Makefile.in: Likewise.
2205 * gdb.mi/Makefile.in: Likewise.
2206 * gdb.threads/Makefile.in: Likewise.
2207 * gdb.trace/Makefile.in: Likewise.
2208
2209 2003-01-09 David Carlton <carlton@math.stanford.edu>
2210
2211 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2212 Add copyright year 2003.
2213
2214 2003-01-06 Michael Chastain <mec@shout.net>
2215
2216 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2217 When selecting a thread, 'line' and 'file' are optional.
2218 * gdb.mi/mi1-pthreads.exp: Likewise.
2219
2220 2003-01-06 Andreas Schwab <schwab@suse.de>
2221
2222 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2223 failures.
2224
2225 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2226
2227 Fix PR gdb/844
2228 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2229 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2230
2231 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2232 instead of calling gdb_suppress_entire_file.
2233 * gdb.threads/print-threads.exp: Likewise.
2234 * gdb.threads/schedlock.exp: Likewise.
2235
2236 * gdb.threads/killed.exp: Return instead of calling
2237 gdb_suppress_entire_file.
2238 * gdb.threads/linux-dp.exp: Likewise.
2239 * gdb.threads/pthreads.exp: Likewise.
2240
2241 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2242
2243 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2244 stabs.
2245 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2246 * gdb.base/whatis.exp: Always allow (void) after function names.
2247
2248 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2249
2250 * gdb.c++/casts.exp: Correct regexp.
2251
2252 2003-01-04 Mark Kettenis <kettenis@gnu.org>
2253
2254 * configure.in: Call AC_CONFIG_HEADER. Don't call
2255 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2256 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2257 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2258 aforementioned directories in the AC_OUPUT call.
2259 * config.hin: New file.
2260 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2261 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2262 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2263 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2264 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2265 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2266 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2267 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2268 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2269 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2270 gdb.threads/configure.in, gdb.threads/configure,
2271 gdb.threads/config.in, gdb.trace/configure.in,
2272 gdb.trace/configure: Removed.
2273
2274 2003-01-03 Michael Chastain <mec@shout.net>
2275
2276 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2277 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2278
2279 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
2280
2281 * gdb.base/store.exp: Fix regular expressions.
2282
2283 2002-12-28 Mark Kettenis <kettenis@gnu.org>
2284
2285 * configure.in: Rewrite.
2286 * configure: Regenerated.
2287
2288 2003-01-03 David Carlton <carlton@math.stanford.edu>
2289
2290 * gdb.base/psymtab.exp: New file.
2291 * gdb.base/psymtab1.c: Ditto.
2292 * gdb.base/psymtab2.c: Ditto.
2293
2294 2002-12-23 Adam Fedor <fedor@gnu.org>
2295
2296 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2297
2298 2002-12-23 David Carlton <carlton@math.stanford.edu>
2299
2300 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2301 and current_directory initialization.
2302
2303 2002-12-22 Jim Blandy <jimb@redhat.com>
2304
2305 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2306 rather than as part of the output file name.
2307
2308 * gdb.base/attach.exp: There's no need to copy the test program to
2309 /tmp; that was only ever necessary on HP/UX, and this test is
2310 entirely disabled there anyway.
2311
2312 2002-12-21 Jim Blandy <jimb@redhat.com>
2313
2314 * gdb.c++/psmang.exp: Doc fix.
2315
2316 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2317 test.
2318
2319 2002-12-20 David Carlton <carlton@math.stanford.edu>
2320
2321 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2322
2323 2002-12-18 Michael Chastain <mec@shout.net>
2324
2325 * gdb.c++/annota2.exp: Add copyright year 2002.
2326
2327 2002-12-17 David Carlton <carlton@math.stanford.edu>
2328
2329 * gdb.c++/try_catch.cc: Add marker comments.
2330 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2331 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2332 * gdb.c++/m-static.cc: Ditto.
2333 * gdb.c++/m-static1.cc: Ditto.
2334 * gdb.c++/try_catch.cc: Ditto.
2335
2336 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2337
2338 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2339 to see whether we are using the new -environment-directory
2340 command which resets via -r or the old version of the command
2341 which may prompt the user. Part of fix for gdb/741.
2342
2343 2002-12-13 Andrew Cagney <ac131313@redhat.com>
2344
2345 * gdb.fortran/types.exp: Update obsolete comment.
2346 * gdb.fortran/exprs.exp: Ditto.
2347 * lib/gdb.exp: Delete obsolete code.
2348 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2349 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2350 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2351 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2352 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2353 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2354 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2355 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2356 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2357 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2358 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2359 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2360 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2361 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2362 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2363 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2364 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2365 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2366 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2367 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2368 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2369 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2370 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2371 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2372 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2373 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2374 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2375 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2376 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2377 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2378 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2379 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2380 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2381 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2382 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2383 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2384 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2385
2386 2002-12-11 David Carlton <carlton@math.stanford.edu>
2387
2388 * gdb.c++/m-data.exp: Add test for members that shadow global
2389 variables: see PR gdb/804.
2390 * gdb.c++/m-data.cc: Ditto.
2391
2392 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
2393
2394 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2395
2396 2002-12-06 David Carlton <carlton@math.stanford.edu>
2397
2398 * gdb.base/store.c: Don't declare functions static.
2399
2400 2002-12-04 Andrew Cagney <ac131313@redhat.com>
2401
2402 * gdb.base/store.exp, gdb.base/store.c: New files.
2403
2404 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2405
2406 * gdb.base/selftest.exp: Update for current gdb.
2407
2408 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2409
2410 * gdb.base/maint.exp: Only dump symbols from one source file
2411 or objfile.
2412
2413 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2414
2415 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2416 function call.
2417
2418 2002-11-25 Jim Blandy <jimb@redhat.com>
2419
2420 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2421 function appearing in error message.
2422
2423 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
2424
2425 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2426
2427 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2428
2429 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2430 for mi1 and current mi is in correct format. New mi startup message
2431 should be in mi console format. This is part of fix for PR gdb/604.
2432
2433 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2434
2435 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2436 which explicitly prints the zero offset as "+0".
2437
2438 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
2439
2440 * gdb.threads/schedlock.c (args): Make unsigned.
2441
2442 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
2443
2444 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2445 numbers. Allow "foo2|selected stack frame".
2446 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2447 * gdb.asm/asmsrc2.s: Likewise.
2448 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2449 comments.
2450 * gdb.asm/mips.inc: New file.
2451
2452 2002-10-18 Adam Fedor <fedor@gnu.org>
2453
2454 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2455 * gdb.base/help.exp: Likewise.
2456
2457 2002-10-17 Kevin Buettner <kevinb@redhat.com>
2458
2459 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2460 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2461
2462 2002-10-02 Jim Blandy <jimb@redhat.com>
2463
2464 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2465
2466 2002-10-01 Andrew Cagney <ac131313@redhat.com>
2467
2468 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2469 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2470 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2471 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2472 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2473 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2474 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2475
2476 2002-09-29 Andrew Cagney <ac131313@redhat.com>
2477
2478 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2479 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2480 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2481 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2482 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2483 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2484 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2485
2486 2002-09-27 Kevin Buettner <kevinb@redhat.com>
2487
2488 * gdb.base/annota1.exp (info break): Make directory components of
2489 path optional since not all compilers emit this debug information.
2490
2491 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2492 step ends up stepping out of the function instead of stopping on
2493 the epilogue.
2494
2495 2002-09-26 Keith Seitz <keiths@redhat.com>
2496
2497 * lib/insight-support.exp (gdbtk_start): Figure out where
2498 the insight executable is based on where gdb is. Use this
2499 executable to start insight instead of gdb.
2500
2501 2002-09-25 Andrew Cagney <cagney@redhat.com>
2502
2503 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2504
2505 2002-09-24 Andrew Cagney <ac131313@redhat.com>
2506
2507 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2508 test_isolated_complaints.
2509 (test_empty_complaint): New function.
2510 (test_empty_complaints): New function. Check no output when no
2511 complaints.
2512
2513 2002-09-19 Jim Blandy <jimb@redhat.com>
2514
2515 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2516
2517 2002-09-19 Andrew Cagney <ac131313@redhat.com>
2518
2519 * gdb.gdb/complaints.exp: New file.
2520
2521 2002-09-18 Andrew Cagney <ac131313@redhat.com>
2522
2523 * gdb.base/maint.exp: Check `help maint internal-warning'.
2524
2525 2002-09-18 David Carlton <carlton@math.stanford.edu>
2526
2527 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2528 numbers, and replace them by a single breakpoint after the
2529 constructors are all finished.
2530 Add test 4.
2531 * gdb.c++/m-static.cc: Add test 4.
2532 * gdb.c++/m-static.h: New file.
2533 * gdb.c++/m-static1.cc: New file.
2534
2535 * gdb.c++/printmethod.exp: New file.
2536 * gdb.c++/printmethod.cc: New file.
2537
2538 * gdb.c++/pr-574.exp: New file.
2539 * gdb.c++/pr-574.cc: New file.
2540
2541 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2542
2543 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2544 embedded targets which never actually exit.
2545
2546 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2547
2548 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2549 "don't step after run" as unresolved or unsupported, instead of xfail.
2550
2551 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2552
2553 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2554 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2555 Add newline to expected string in "step out of main (status wrapper)"
2556 case.
2557
2558 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2559
2560 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2561 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2562
2563 2002-09-17 Tom Tromey <tromey@redhat.com>
2564
2565 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2566 \000, not \0, in double-quoted string.
2567
2568 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
2569
2570 * gdb.base/commands.exp: Don't expect a "Program exited normally"
2571 string after running the commands execution on breakpoint tests.
2572
2573 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
2574
2575 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2576
2577 2002-09-12 Joel Brobecker <brobecker@gnat.com>
2578
2579 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2580
2581 2002-09-10 Keith Seitz <keiths@redhat.com>
2582
2583 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2584 runto proc.
2585 (mi_run_to_main): Use mi_runto.
2586 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2587
2588 2002-09-10 Keith Seitz <keiths@redhat.com>
2589
2590 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2591 regexp for stopping at main. Could have multiple event notifications.
2592 Don't assume that main was declared with no parameters.
2593 (mi_next): Use mi_step_to.
2594 (mi_step): Use mi_next_to.
2595
2596 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
2597
2598 * gdb.base/default.exp: Fix expected string in `info float' test.
2599
2600 2002-09-09 Ben Elliston <bje@redhat.com>
2601
2602 * config/mips.exp: Update comments.
2603 * config/mips-idt.exp: Likewise.
2604 * config/nind.exp: Likewise.
2605 * config/slite.exp: Likewise.
2606 * config/sparclet.exp: Likewise.
2607 * config/udi.exp: Likewise.
2608 * config/vx.exp: Likewise.
2609 * config/vxworks29k.exp: Likewise.
2610
2611 2002-09-05 Jim Blandy <jimb@redhat.com>
2612
2613 * gdb.threads/killed.exp: Fix test failure message.
2614
2615 2002-09-04 Keith Seitz <keiths@redhat.com>
2616
2617 * lib/mi-support.exp: Update copyright.
2618 (mi_gdb_test): Increase the priority of the expected pattern
2619 so that it matches gdb_test.
2620
2621 2002-09-03 Keith Seitz <keiths@redhat.com>
2622
2623 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2624 Use integer comparison instead of string comparison for testing
2625 whether binary was built.
2626
2627 2002-09-03 Jim Blandy <jimb@redhat.com>
2628
2629 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2630
2631 2002-08-29 Jim Blandy <jimb@redhat.com>
2632
2633 * gdb.threads/pthreads.exp: Move the portable thread compilation
2634 code into a function in lib/gdb.exp, and call that from here.
2635 * lib/gdb.exp (gdb_compile_pthreads): New function.
2636
2637 2002-08-29 Keith Seitz <keiths@redhat.com>
2638
2639 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2640 expect_out so that callers can get at it.
2641
2642 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
2643
2644 * gdb.threads/print-threads.c: New file.
2645 * gdb.threads/print-threads.exp: New file.
2646 * gdb.threads/schedlock.c: New file.
2647 * gdb.threads/schedlock.exp: New file.
2648
2649 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
2650
2651 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2652 not altivec.c.
2653
2654 2002-08-17 Mark Kettenis <kettenis@gnu.org>
2655
2656 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2657 targets. The problem should be fixed now.
2658
2659 2002-08-15 Mark Kettenis <kettenis@gnu.org>
2660
2661 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2662 2002-07-24 change that removes final dots from error messages.
2663
2664 2002-08-13 Tom Tromey <tromey@redhat.com>
2665
2666 * gdb.base/readline.exp: New file.
2667
2668 2002-08-01 Andrew Cagney <ac131313@redhat.com>
2669
2670 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2671 supress message.
2672
2673 2002-08-01 Andrew Cagney <cagney@redhat.com>
2674
2675 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2676 CHILL_FOR_TARGET and CHILL_LIB.
2677 * configure.in (configdirs): Remove gdb.chill.
2678 * configure: Regenerate.
2679 * lib/gdb.exp: Obsolete references to chill.
2680 * gdb.fortran/types.exp: Ditto.
2681 * gdb.fortran/exprs.exp: Ditto.
2682
2683 2002-07-30 Kevin Buettner <kevinb@redhat.com>
2684
2685 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2686 set Irix-specific compile and link flags.
2687
2688 2002-07-29 Kevin Buettner <kevinb@redhat.com>
2689
2690 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2691 source files. The ``-o'' option doesn't work with the ``-E'' option
2692 when using the Irix compiler.
2693
2694 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
2695
2696 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2697 Improve support for reusing an exec file. Copy exec file
2698 to target, and run gdbserver on the target instead of on the host.
2699
2700 2002-07-18 Jim Blandy <jimb@redhat.com>
2701
2702 * gdb.base/ending-run.exp: Don't expect to see the program end in
2703 some orderly fashion when we're running on a real stand-alone
2704 board.
2705
2706 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2707 targets that don't support interrupts.
2708
2709 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2710
2711 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2712 systems.
2713 Move comments in expect statements to inside the actions, so that they
2714 don't get matched against.
2715
2716 2002-07-10 Mark Kettenis <kettenis@gnu.org>
2717
2718 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2719 function when asleep" test.
2720
2721 2002-07-10 Andrew Cagney <ac131313@redhat.com>
2722
2723 * gdb.base/page.exp: Rewrite to handle problems with very long
2724 `info set' output. Update copyright.
2725
2726 2002-06-26 Andrew Cagney <ac131313@redhat.com>
2727
2728 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2729 gdb.threads-hp.
2730 * gdb.hp/configure: Regenerate.
2731 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2732 * gdb.hp/gdb.threads-hp/configure: Delete file.
2733 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2734
2735 2002-06-22 Andrew Cagney <ac131313@redhat.com>
2736
2737 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2738 setlocale, bindtextdomain and textdomain.
2739
2740 2002-06-11 Jim Blandy <jimb@redhat.com>
2741
2742 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2743 preprocessor macro information is present.
2744
2745 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2746 tests.
2747
2748 2002-06-06 Michael Snyder <msnyder@redhat.com>
2749
2750 * gdb.base/overlays.exp: Record addresses of overlay
2751 functions in TCL variables rather than in GDB variables,
2752 to avoid having GDB convert them to pointers (with loss
2753 of information).
2754
2755 * gdb.base/d10v.ld: Merge in several years worth of
2756 default linker script changes.
2757 * gdb.base/long_long.exp: Add check for sizeof (long double).
2758
2759 2002-06-06 Michal Ludvig <mludvig@suse.cz>
2760
2761 * gdb.asm/asm-source.exp: Add x86-64 target.
2762 * gdb.asm/x86_64.inc: New.
2763
2764 2002-05-30 Michael Chastain <mec@shout.net>
2765
2766 From Benjamin Kosnik <bkoz@redhat.com>:
2767 * gdb.c++/m-static.cc: New file.
2768 * gdb.c++/m-static.exp: New file.
2769
2770 2002-05-28 Michael Snyder <msnyder@redhat.com>
2771
2772 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2773 precision.
2774
2775 2002-05-27 Michael Chastain <mec@shout.net>
2776
2777 From Benjamin Kosnik <bkoz@redhat.com>:
2778 * gdb.c++/m-data.cc: New file.
2779 * gdb.c++/m-data.exp: New file.
2780
2781 2002-05-27 Michael Chastain <mec@shout.net>
2782
2783 From Benjamin Kosnik <bkoz@redhat.com>:
2784 * gdb.c++/try_catch.cc: New file.
2785 * gdb.c++/try_catch.exp: New file.
2786
2787 2002-05-27 Michael Chastain <mec@shout.net>
2788
2789 * gdb.c++/local.exp: Accept more nested types in output.
2790
2791 2002-05-26 Michael Chastain <mec@shout.net>
2792
2793 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2794
2795 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2796
2797 * lib/gdb.exp (gdb_wrapper_init): Just because
2798 gdb_wrapper_file exists, this does not mean that the file
2799 should not be rebuilt. That is what gdb_wrapper_initialized
2800 is for.
2801 (default_gdb_init): Reset gdb_wrapper_initialized.
2802
2803 2002-05-23 Michael Snyder <msnyder@redhat.com>
2804
2805 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2806 the precision of the floating point test results.
2807 * gdb.base/call-rt-st.exp: Ditto.
2808
2809 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2810 * gdb.base/call-rt-st.exp: Ditto.
2811
2812 2002-05-19 Michael Chastain <mec@shout.net>
2813
2814 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2815
2816 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
2817
2818 * configure.in (configdirs): Add gdb.arch.
2819 * configure: Regenerate.
2820
2821 2002-05-17 Jim Blandy <jimb@redhat.com>
2822
2823 * gdb.base/completion.exp: Recognize the more detailed error
2824 messages produced by the macro expander's lexical analyzer.
2825
2826 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2827
2828 * gdb.arch/altivec-abi.c: New file.
2829 * gdb.arch/altivec-abi.exp: New file.
2830 * gdb.arch/altivec-regs.c: New file.
2831 * gdb.arch/altivec-regs.exp: New file.
2832
2833 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
2834
2835 * gdb.base/maint.exp (maint print type): Update for new type
2836 structure.
2837
2838 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2839
2840 * gdb.arch: New directory.
2841 * gdb.arch/configure.in: New file.
2842 * gdb.arch/configure: New file.
2843 * gdb.arch/Makefile.in: New file.
2844
2845 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
2846
2847 * gdb.asm/asm-source.exp: Add v850 as supported target.
2848 * gdb.asm/v850.inc: New file.
2849
2850 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
2851
2852 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2853
2854 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
2855
2856 * gdb.base/break.exp: Check 'break "marker2"'.
2857
2858 2002-05-10 Michael Snyder <msnyder@redhat.com>
2859
2860 * gdb.base/long_long.exp: Fix typo.
2861
2862 2002-05-10 Jim Blandy <jimb@redhat.com>
2863
2864 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2865 a bug.
2866
2867 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2868 Recognize more detailed error message produced by the macro
2869 expander's lexical analyzer.
2870 * lib/gdb.exp (test_print_reject): Same.
2871
2872 2002-05-09 Mark Kettenis <kettenis@gnu.org>
2873
2874 * gdb.c++/method.exp: Fix typo.
2875
2876 2002-05-08 Michael Snyder <msnyder@redhat.com>
2877
2878 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2879 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2880 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2881 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2882 Add iftarget clause for strongarm.
2883
2884 2002-05-06 Michael Snyder <msnyder@redhat.com>
2885
2886 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2887 (gdb_continue_to_end): Accept output from status wrapper.
2888 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2889 Clean up fail messages to match pass messages.
2890
2891 Enable the "needs_status_wrapper" testsuite feature.
2892 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2893 (gdb_compile): Conditionally call gdb_wrapper_init.
2894 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2895 * gdb.c++/method.exp: Recognize output from status wrapper.
2896
2897 2002-05-06 Ben Elliston <bje@redhat.com>
2898 From Graydon Hoare <graydon@redhat.com>
2899
2900 * config/sid.exp: Include support for "rawsid" protocol.
2901
2902 2002-05-03 Jim Blandy <jimb@redhat.com>
2903
2904 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2905 * gdb.c++/hang3.C: New file.
2906
2907 2002-05-04 Andrew Cagney <ac131313@redhat.com>
2908
2909 * gdb.base/default.exp: Remove obsolete code.
2910 * gdb.c++/misc.exp: Ditto. Update copyright.
2911 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2912 * gdb.base/whatis.exp: Ditto. Update copyright.
2913 * gdb.base/scope.exp: Ditto. Update copyright.
2914 * gdb.base/ptype.exp: Ditto. Update copyright.
2915 * gdb.base/printcmds.exp: Ditto. Update copyright.
2916 * gdb.base/opaque.exp: Ditto. Update copyright.
2917 * gdb.base/list.exp: Ditto.
2918 * gdb.base/funcargs.exp: Ditto. Update copyright.
2919 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2920 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2921 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2922 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2923 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2924 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2925
2926 2002-05-02 Michael Snyder <msnyder@redhat.com>
2927
2928 * gdb.base/watchpoint.exp: Add xscale target.
2929 * gdb.base/long_long.exp: Add xscale target.
2930 * gdb.base/default.exp: Add xscale target.
2931
2932 2002-05-01 Jim Blandy <jimb@redhat.com>
2933
2934 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2935 gdb.c++/hang.exp: New test.
2936
2937 2002-05-01 Fred Fish <fnf@redhat.com>
2938
2939 * gdb.base/completion.exp: Handle completions of "./Make" for
2940 more than one completion possibility, as is the case when we
2941 build and test in the source tree.
2942
2943 2002-04-29 Anthony Green <green@redhat.com>
2944
2945 * gdb.java/jmisc1.exp: New file.
2946 * gdb.java/jmisc2.exp: New file.
2947
2948 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
2949
2950 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2951
2952 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
2953
2954 * gdb.base/help.exp: Change 'help status' to allow for target
2955 dependent output differences.
2956
2957 2002-04-22 Michael Chastain <mec@shout.net>
2958
2959 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2960
2961 2002-04-22 Michael Chastain <mec@shout.net>
2962
2963 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2964
2965 2002-04-17 David S. Miller <davem@redhat.com>
2966
2967 * gdb.asm/sparc64.inc: New file.
2968 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2969
2970 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
2971
2972 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2973 instruction file directly into the build tree. Clean up at end of
2974 test.
2975
2976 2002-04-18 David S. Miller <davem@redhat.com>
2977
2978 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2979 handle 64-bit platforms correctly.
2980 * gdb.base/maint.exp: Likewise.
2981
2982 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2983
2984 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2985 ``-fpic'' when compiling files comprising a shared library, but
2986 it does need additional linker flags in order to find shared
2987 libraries at run time.
2988
2989 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2990
2991 * gdb.base/cvexpr.c (use): New function.
2992 (main): Invoke use() on all global variables to prevent
2993 some linkers from deleting these otherwise unused symbols.
2994
2995 2002-04-17 Michael Chastain <mec@shout.net>
2996 From David S. Miller <davem@redhat.com>
2997
2998 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2999 handle 64-bit platforms correctly.
3000
3001 2002-04-12 Michael Snyder <msnyder@redhat.com>
3002 From Jim Blandy <jimb@redhat.com>
3003 * gdb.base/foo.c (foox): Remove section attribute; the linker
3004 script can handle this instead.
3005 * gdb.base/bar.c (barx): Same.
3006 * gdb.base/baz.c (bazx): Same.
3007 * gdb.base/grbx.c (grbxx): Same.
3008
3009 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3010 manager doesn't automatically unmap overlays unnecessarily.
3011
3012 2002-04-10 Martin M. Hunt <hunt@redhat.com>
3013
3014 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3015 stepping out of main.
3016
3017 2002-04-09 Michael Chastain <mec@shout.net>
3018
3019 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3020 scope so that the nested scope tests will make sense.
3021 * gdb.c++/local.exp: Write patterns that actually work with gcc
3022 (the HP patterns "were never known to work with gcc").
3023 Keep the old aCC patterns too.
3024
3025 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
3026
3027 * gdb.base/attach.exp: Correct target board test.
3028
3029 2002-04-08 Michael Chastain <mec@shout.net>
3030
3031 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3032 in a const method. Add some xfail and fail cases for configurations
3033 that do not emit the "const ...".
3034
3035 2002-04-07 Michael Chastain <mec@shout.net>
3036
3037 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3038 Accept "A * const" and "const A * const" as type of "this".
3039 Fix spelling of getFunky throughout. Make messages uniform.
3040
3041 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
3042
3043 Work around for PR gdb/285:
3044 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3045
3046 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
3047
3048 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3049 instructions file at run time instead of configure time.
3050 Sometimes we run the test in a directory that is not the one we
3051 configured in.
3052 * gdb.asm/configure.in: Delete creation of symlink.
3053 * gdb.asm/configure: Regenerate.
3054
3055 2002-04-05 J. Brobecker <brobecker@gnat.com>
3056
3057 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3058 xfullpath () function.
3059
3060 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
3061
3062 * gdb.asm/Makefile.in: Correct dependencies.
3063
3064 * gdb.asm/powerpc.inc: New file.
3065 * gdb.asm/asm-source.exp: Add PowerPC.
3066 * gdb.asm/configure.in: Likewise.
3067 * gdb.asm/configure: Regenerated.
3068
3069 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
3070
3071 * gdb.base/relocate.exp: New file.
3072 * gdb.base/relocate.c: New file.
3073
3074 2002-04-04 Fred Fish <fnf@redhat.com>
3075
3076 * gdb.base/step-test.exp: Update comment regarding stopping in
3077 memcpy/bcopy calls inserted as part of the compiler runtime.
3078
3079 2002-04-04 Michael Snyder <msnyder@redhat.com>
3080
3081 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3082
3083 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
3084
3085 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3086 (gdb_expect): Remove $notransfer hack.
3087
3088 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
3089
3090 * gdb.c++/classes.exp ("calling method for small class"): Match
3091 updated register output.
3092
3093 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
3094
3095 Fix PR gdb/452
3096 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3097 when finished. Make gdb_file_cmd send "exec-file" when
3098 appropriate.
3099
3100 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
3101
3102 * gdb.base/attach.exp: Remove extra setup_xfail.
3103
3104 2002-03-26 Michael Snyder <msnyder@redhat.com>
3105
3106 * gdb.base/default.exp: Add tests for dump, append, and restore.
3107 * gdb.base/help.exp: Add tests for dump, append, and restore.
3108 * gdb.base/dump.exp: New file, test dump, append and restore.
3109 * gdb.base/dump.c: New file.
3110
3111 2002-03-27 Michael Snyder <msnyder@redhat.com>
3112
3113 * gdb.base/help.exp: Modify expect strings to reflect
3114 clean-ups in help messages.
3115
3116 2002-03-26 Fred Fish <fnf@redhat.com>
3117
3118 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3119 have debugging info for those functions and the compiler uses them
3120 internally to copy structs around.
3121
3122 2002-03-26 Fred Fish <fnf@redhat.com>
3123
3124 * gdb.base/list.exp: Revert the change made yesterday and add note
3125 about why we don't list the default lines for remote targets.
3126
3127 2002-03-25 Michael Snyder <msnyder@redhat.com>
3128
3129 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3130
3131 2002-03-25 Fred Fish <fnf@redhat.com>
3132
3133 * gdb.base/list.exp: This test works on remote targets so remove
3134 the short circuit for remote targets. Update copyright.
3135
3136 2002-03-25 Fred Fish <fnf@redhat.com>
3137
3138 * gdb.base/attach.exp: Fix logic error that was suppressing this
3139 test for all non hppa*-*-hpux* targets, instead of the hp target.
3140 Move comments closer to the suppression point. Also now need to
3141 check that we are running natively.
3142
3143 2002-03-22 Michael Snyder <msnyder@redhat.com>
3144
3145 * gdb.base/default.exp: Add test for gcore. Update copyright.
3146 * gdb.base/help.exp: Add test for gcore. Update copyright.
3147
3148 2002-03-06 Fred Fish <fnf@redhat.com>
3149
3150 * gdb.base/funcargs.c: Remove extraneous ';' character.
3151 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3152
3153 2002-03-04 Michael Chastain <mec@shout.net>
3154
3155 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3156 accommodate gcc v3 function signature.
3157 * gdb.mi/mi0-var-cmd-exp: Ditto.
3158
3159 2002-02-24 Andrew Cagney <ac131313@redhat.com>
3160
3161 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3162 ``GNU/Linux'' or ``Linux kernel''
3163 * testsuite/gdb.threads/pthreads.c: Ditto.
3164
3165 2002-02-24 Michael Chastain <mec@shout.net>
3166
3167 * gdb.threads/pthreads.c (thread1): Add a return statement.
3168 (thread2): Likewise.
3169 (foo): Likewise.
3170
3171 2002-02-23 Michael Chastain <mec@shout.net>
3172
3173 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3174 to placate gcc.
3175
3176 2002-02-23 Michael Chastain <mec@shout.net>
3177
3178 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3179 test "ptype bint". The test passes on all my stabs configurations.
3180
3181 2002-02-21 Jim Blandy <jimb@redhat.com>
3182
3183 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3184 filename at a time, and watch for the ones we want to see.
3185
3186 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3187 types of pointers to prototyped functions.
3188
3189 2002-02-20 Andrew Cagney <ac131313@redhat.com>
3190
3191 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3192 signed, unsigned and straight char.
3193 (padding_char, padding_short, padding_int, padding_long,
3194 padding_long_long, padding_float, padding_double,
3195 padding_long_double): New global variables.
3196 (fill, fill_structs): New functions.
3197
3198 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3199 for correctly sized writes. Update copyright.
3200 (get_valueof): New procedure.
3201 (get_sizeof): Call get_valueof.
3202 (check_valueof): New procedure.
3203 (check_padding): New procedure.
3204
3205 2002-02-20 Michael Chastain <mec@shout.net>
3206
3207 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3208 to setup_xfail. Document some of the remaining calls.
3209
3210 2002-02-18 Michael Chastain <mec@shout.net>
3211
3212 * gdb.c++/userdef.exp: Update copyright year.
3213
3214 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
3215
3216 * gdb.c++/userdef.exp: Test overloaded operators properly.
3217 Remove xfails.
3218
3219 2002-02-14 Michael Snyder <msnyder@redhat.com>
3220
3221 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3222
3223 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
3224
3225 * gdb.base/a2-run.exp: Check for a remote target properly.
3226 * gdb.base/annota1.exp: Likewise.
3227 * gdb.base/list.exp: Likewise.
3228 * gdb.base/reread.exp: Likewise.
3229 * gdb.base/scope.exp: Likewise.
3230 * gdb.base/shlib-call.exp: Likewise.
3231 * gdb.base/term.exp: Likewise.
3232 * gdb.c++/annota2.exp: Likewise.
3233
3234 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
3235
3236 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3237
3238 2002-02-10 Michael Chastain <mec@shout.net>
3239
3240 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3241 (call_after_alloca): Ditto.
3242
3243 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
3244
3245 * gdb.base/ending-run.exp: Guard "cont" test with
3246 gdb_skip_stdio_test.
3247
3248 2002-02-06 Jim Blandy <jimb@redhat.com>
3249
3250 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3251 from here...
3252 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3253 To here. Disable this test on non-HP platforms. Add big comment.
3254
3255 2002-02-04 Michael Snyder <msnyder@redhat.com>
3256
3257 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3258 other than d10v and m32r.
3259
3260 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
3261
3262 * gdb.base/default.exp: Rewrite test patterns to reduce time
3263 taken to match them.
3264
3265 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3266
3267 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3268 Allow a start function above main.
3269 * gdb.threads/linux-dp.exp: Fix copyright date.
3270
3271 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3272
3273 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3274 (check_philosopher_stack): Check for manager thread before checking
3275 for a just-starting thread.
3276
3277 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3278
3279 From Neil Booth <neil@daikokuya.demon.co.uk>:
3280 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3281 warnings.
3282
3283 2002-01-21 Fred Fish <fnf@redhat.com>
3284
3285 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3286 not caller.
3287
3288 2002-01-21 Jim Blandy <jimb@redhat.com>
3289
3290 * gdb.base/reread.exp: Check that GDB properly re-reads the
3291 executable file when it changes while no inferior is running.
3292
3293 2002-01-21 Fred Fish <fnf@redhat.com>
3294
3295 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3296 optionally accept the "shlib events" variation.
3297
3298 2002-01-21 Jim Blandy <jimb@redhat.com>
3299
3300 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3301 call `fflush' after every `printf', so that the output is produced
3302 at predictable points, regardless of whatever buffering does (or
3303 doesn't) take place.
3304 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3305 at different points.
3306
3307 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3308
3309 * gdb.c++/inherit.exp: Update copyright years.
3310 * gdb.c++/method.exp: Likewise.
3311
3312 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3313
3314 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3315 artificial methods/arguments.
3316 * gdb.c++/derivation.exp: Likewise.
3317 * gdb.c++/inherit.exp: Likewise.
3318 * gdb.c++/method.exp: Likewise.
3319 * gdb.c++/virtfunc.exp: Likewise.
3320
3321 2002-01-18 Andrew Cagney <ac131313@redhat.com>
3322
3323 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3324 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3325 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3326 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3327 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3328 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3329
3330 2002-01-17 Jim Blandy <jimb@redhat.com>
3331
3332 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3333 anchoring the pattern matching the entry point symbol's name.
3334
3335 2002-01-17 Andrew Cagney <ac131313@redhat.com>
3336
3337 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3338 continue/quit query. Update copyright.
3339
3340 2002-01-14 Michael Snyder <msnyder@redhat.com>
3341
3342 * gdb.base/gcore.exp: Remove extra debugging output.
3343
3344 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3345
3346 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3347 for slightly dubious v2 mangled string.
3348
3349 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3350
3351 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3352
3353 2002-01-10 Jason Merrill <jason@redhat.com>
3354
3355 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
3356
3357 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3358 constructors.
3359 * gdb.c++/derivation.exp: Likewise.
3360 * gdb.c++/templates.exp: Likewise.
3361 * gdb.c++/virtfunc.exp: Likewise.
3362
3363 2002-01-10 Michael Snyder <msnyder@redhat.com>
3364
3365 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
3366
3367 2002-01-08 Michael Snyder <msnyder@redhat.com>
3368
3369 * gdb.base/gcore.exp: New test for generate-core-file command.
3370 * gdb.base/gcore.c: Testcase for above.
3371 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3372
3373 2002-01-08 Jason Merrill <jason@redhat.com>
3374
3375 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3376
3377 2002-01-07 Fred Fish <fnf@redhat.com>
3378
3379 * gdb.c++/overload.exp: Remove unconditional xfails for:
3380 print foo_instance1.overloadargs(1)
3381 print foo_instance1.overloadargs(1, 2)
3382 print foo_instance1.overloadargs(1, 2, 3)
3383 print foo_instance1.overloadargs(1, 2, 3, 4)
3384 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3385 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3386 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3387 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3388 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3389 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3390 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3391 print foo_instance1.overload1arg()
3392 print foo_instance1.overload1arg((char)arg2)
3393 print foo_instance1.overload1arg((signed char)arg3)
3394 print foo_instance1.overload1arg((unsigned char)arg4)
3395 print foo_instance1.overload1arg((int)arg7)
3396 print foo_instance1.overload1arg((unsigned int)arg8)
3397 print foo_instance1.overload1arg((float)arg11)
3398 print foo_instance1.overload1arg((double)arg12)
3399
3400 2002-01-07 Michael Snyder <msnyder@redhat.com>
3401
3402 * gdb.base/huge.exp: New test. Print a very large target data object.
3403 (skip_huge_test): New test variable. Define if you want to skip this
3404 test. The test reads an 8 megabyte data object from the target, so it
3405 might be very time consuming on remote targets with a slow connection.
3406 * gdb.base/huge.c: New file. Test case for above.
3407
3408 2002-01-07 Fred Fish <fnf@redhat.com>
3409
3410 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3411 g_instance.bfoo, and g_instance.cfoo.
3412
3413 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3414
3415 * gdb.base/break.c (multi_line_if_conditional): New function.
3416 (multi_ilne_while_conditional): Likewise.
3417 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3418 IF or WHILE condition puts the breakpoint at the start of
3419 the condition.
3420
3421 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3422 hppa*-*-hpux* expected failure.
3423 * gdb.base/structs.exp (do_function_calls): Similarly.
3424
3425 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3426 watchpoints.
3427
3428 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3429
3430 Fix PR gdb/66.
3431 * gdb.base/structs.exp: Replace skip for a29k with skip for
3432 gdb,cannot_call_functions.
3433 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3434 * gdb.base/callfuncs.exp: Ditto.
3435 * gdb.base/call-rt-st.exp: Ditto.
3436 * gdb.base/call-strs.exp: Ditto.
3437 * gdb.base/callfwmall.exp: Ditto.
3438 * gdb.base/scope.exp: Obsolete xfail a29k.
3439 * gdb.c++/misc.exp: Ditto.
3440 * gdb.c++/cplusfuncs.exp: Ditto.
3441 * gdb.base/ptype.exp: Ditto.
3442 * gdb.base/printcmds.exp: Ditto.
3443 * gdb.base/opaque.exp: Ditto.
3444 * gdb.base/list.exp: Ditto.
3445 * gdb.base/funcargs.exp: Ditto.
3446 * gdb.base/default.exp: Ditto.
3447
3448 2002-01-04 Michael Snyder <msnyder@redhat.com>
3449
3450 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
3451 * gdb.base/maint.exp: Add tests for maint info sections options.
3452
3453 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3454
3455 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3456
3457 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
3458
3459 * gdb.asm/arm.inc: New file.
3460 * gdb.asm/asm-source.exp: Add arm targets.
3461 * gdb.asm/configure.in: Ditto.
3462 * gdb.asm/configure: Recreated from configure.in.
3463
3464 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3465
3466 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3467 with HP's compiler.
3468 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3469 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3470 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3471 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3472
3473 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3474 either HP's compilers or GCC.
3475
3476 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3477 a SIGBUS or SIGSEGV.
3478
3479 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3480
3481 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3482 can be compiled with either HP's compiler or GCC.
3483
3484 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3485 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3486 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3487
3488 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3489 to match current gdb output. Update due to using auto-solib-limit
3490 for limiting instead of overloading auto-solib-add.
3491 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3492 test program.
3493
3494 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
3495 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3496 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3497 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3498 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3499 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3500 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3501 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3502 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3503 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3504 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3505 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3506 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3507
3508 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3509 a SIGTRAP to the inferior.
3510
3511 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
3512
3513 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3514 Substitute call to target_link by call to gdb_compile.
3515
3516 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3517
3518 * gdb.base/break.exp: Fix HP specific search string when testing
3519 backtracing in a called function.
3520
3521 * gdb.base/constvars.exp: Only set lang to C++ if we're
3522 compiling the test with HP's compilers.
3523 * gdb.base/volatile.exp: Similarly.
3524
3525 2001-12-19 Jim Blandy <jimb@redhat.com>
3526
3527 * gdb.base/printcmds.exp: Expect the null character to be printed
3528 as '\0', and the '\013' to be printed as '\v'.
3529 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3530 * gdb.base/setvar.exp: Same.
3531
3532 2001-12-17 Jim Blandy <jimb@redhat.com>
3533
3534 * gdb.base/completion.exp: Rather than completing very long
3535 filenames, which can make the readline library produce output we
3536 don't recognize, cd to the directory first, and then complete
3537 using nice, short relative paths.
3538
3539 * gdb.base/completion.exp: On some systems, there is, in fact, a
3540 variable named `b' in scope, since GDB treats all static
3541 variables as being in scope. So use `no_var_named_this'
3542 instead of `b'.
3543
3544 * gdb.base/corefile.exp: Recognize the message saying that GDB
3545 can't find the core file's registers as a failure.
3546
3547 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3548
3549 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3550 test expect string more specific.
3551
3552 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
3553
3554 * gdb.asm/asm-source.exp: Add support for xstormy16.
3555 * gdb.asm/configure.in: Ditto.
3556 * gdb.asm/configure: Rebuild.
3557 * gdb.asm/xstormy16.inc: New file.
3558
3559 2001-12-10 Fred Fish <fnf@redhat.com>
3560
3561 * gdb.base/maint.exp: Update to match changes in type dumping code.
3562
3563 2001-12-10 Jim Blandy <jimb@redhat.com>
3564
3565 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3566 matching the entry point symbol's name at the beginning of the
3567 line.
3568
3569 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3570
3571 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3572 gdb.c++/inherit.exp, gdb.c++/method.exp,
3573 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3574 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3575 and class layout support.
3576
3577 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3578
3579 * gdb.c++/classes.exp: Add test for static member function.
3580 * gdb.c++/misc.cc: Add class with static member function.
3581
3582 2001-12-07 Jim Blandy <jimb@redhat.com>
3583
3584 If GDB says it can't find the struct the function returned, report
3585 those tests as `unsupported'.
3586 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3587 Rewrite subsequent tests to use it.
3588
3589 If GDB says it can't find the struct the function returned, report
3590 those tests as `unsupported'.
3591 * gdb.base/structs.exp (call_struct_func): New function.
3592 (do_function_calls): Use call_struct_func to call the functions
3593 returning structs.
3594
3595 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3596 whether functions are prototyped or not, so we can't possibly pass
3597 arguments to t_float_values2 properly.
3598
3599 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3600 value of `timeout' for targets other than the mips*tx39-*.
3601
3602 2001-12-06 Michael Snyder <msnyder@redhat.com>
3603
3604 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3605 and detect whether the start symbol has a leading underscore.
3606
3607 2001-12-04 Jim Blandy <jimb@redhat.com>
3608
3609 * gdb.base/completion.exp: Clarify indentation.
3610
3611 2001-12-03 Jim Blandy <jimb@redhat.com>
3612
3613 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3614 variables on the S/390, not `.word'.
3615
3616 2001-11-30 Jim Blandy <jimb@redhat.com>
3617
3618 Add assembly-source tests for s390-ibm-linux.
3619 * gdb.asm/s390.inc: New file.
3620 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3621 the S/390 architecture.
3622 * gdb.asm/configure: Regenerated.
3623
3624 2001-11-30 Michael Snyder <msnyder@redhat.com>
3625
3626 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3627 next, info source, info sources, info line, global and static
3628 variables, and static functions.
3629 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3630 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3631 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3632 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3633 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3634 (gdbasm_leave): Restore frame pointer.
3635 (gdbasm_startup): Copy stack set-up from crt0.S.
3636
3637 2001-11-26 Fernando Nasser <fnasser@redhat.com>
3638
3639 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3640 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3641 to a local (non-static) variable. Copy tstruct.a to a static buffer
3642 and return a pointer to that buffer.
3643 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3644
3645 2001-11-24 Mark Kettenis <kettenis@gnu.org>
3646
3647 * gdb.asm/configure.in: Fix recognition of ix86 target.
3648 * gdb.asm/configure: Regenerate.
3649
3650 2001-11-21 Michael Snyder <msnyder@redhat.com>
3651
3652 * gdb.asm/sparc.inc: New file.
3653 * gdb.asm/asm-source.exp: Recognize sparc target.
3654 * gdb.asm/configure.in: Recognize sparc target.
3655 * gdb.asm/configure: Regenerate.
3656
3657 2001-11-21 Michael Snyder <msnyder@redhat.com>
3658
3659 * gdb.asm/m32r.inc: New file.
3660 * gdb.asm/asm-source.exp: Recognize m32r target.
3661 * gdb.asm/configure.in: Recognize m32r target.
3662 * gdb.asm/configure: Regenerate.
3663
3664 2001-11-20 Michael Snyder <msnyder@redhat.com>
3665
3666 * gdb.asm/i386.inc: New file.
3667 * gdb.asm/asm-source.exp: Recognize ix86 target.
3668 * gdb.asm/configure.in: Recognize ix86 target.
3669 * gdb.asm/configure: Regenerate.
3670
3671 * gdb.c++/namespace.exp: Fix quotes in output messages.
3672
3673 2001-11-14 Michael Snyder <msnyder@redhat.com>
3674
3675 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
3676 qualifier in a type cast expression, to designate an address
3677 in the instruction space (Harvard architecture).
3678
3679 2001-11-13 Michael Snyder <msnyder@redhat.com>
3680
3681 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3682 Tests for expressions using 'const' and 'volatile'.
3683
3684 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
3685
3686 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3687
3688 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
3689
3690 * lib/mi-support.exp (mi_run_to_helper): Move comments
3691 outside of gdb_expect.
3692
3693 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
3694
3695 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3696 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3697 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3698 mi0_run_to): New functions.
3699 * gdb.mi/mi-simplerun.exp: Use them.
3700 * gdb.mi/mi0-simplerun.exp: Likewise.
3701 * gdb.mi/mi-var-cmd.exp: Likewise.
3702 * gdb.mi/mi0-var-cmd.exp: Likewise.
3703
3704 2001-11-10 Andrew Cagney <ac131313@redhat.com>
3705
3706 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3707 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3708
3709 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3710
3711 * gdb.base/restore.exp: Include $expected value in restored test
3712 message.
3713
3714 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3715
3716 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3717 implemented.
3718
3719 2001-11-08 Michael Snyder <msnyder@redhat.com>
3720
3721 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3722 Add pass/fail message for stop at breakpoint in call dummy function.
3723
3724 2001-11-07 Michael Snyder <msnyder@redhat.com>
3725
3726 * gdb.c++/templates.exp (test_template_breakpoints):
3727 If we get an overload menu, but it does not match what
3728 we expect, we still need to issue the "cancel" command.
3729 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3730 making the whitespace optional. Argument for "new" may be
3731 "unsigned" as well as "unsigned int/long".
3732 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3733 making the whitespace optional. Also replace "(void) with
3734 "((void|)), making the keyword "void" optional.
3735 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3736 making the whitespace optional. Also replace "(void) with
3737 "((void|)), making the keyword "void" optional.
3738 * gdb.base/callfuncs.c (t_float_values): This function must
3739 _not_ be prototyped, and the following function (t_float_values2)
3740 must be prototyped (if the compiler supports it), so that GDB
3741 can be tested against both cases. Usually one case involves
3742 promotion of float to double, while the other does not.
3743 * gdb.base/callfwmall.c: Ditto.
3744 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3745 includes a stack frame for "start".
3746
3747 2001-11-05 Jim Blandy <jimb@redhat.com>
3748
3749 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3750 pointers are 32 bits long, and that offsets of relocs are always
3751 stored in the data (REL-style), and not in the reloc entry itself
3752 (RELA-style).
3753 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3754 stabs.
3755
3756 2001-11-01 Michael Snyder <msnyder@redhat.com>
3757
3758 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3759 and regular expression operators by using quoting.
3760
3761 2001-10-31 Michael Snyder <msnyder@redhat.com>
3762
3763 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3764 depending on what the symbol table contains.
3765 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3766 the output of the ptype command. Similarly, accept both "const &"
3767 and "const&".
3768
3769 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
3770
3771 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3772 symbol `STORAGE' to allow to choose the storage class of
3773 the local datastructures.
3774 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3775 compiler directive.
3776
3777 2001-10-30 Michael Snyder <msnyder@redhat.com>
3778
3779 * gdb.base/jump.exp: Allow it to run for all targets.
3780
3781 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3782
3783 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3784 with new double_array size.
3785 (main): Change storage class of all local variables to static.
3786 Reduce size of double_array to 9.
3787 * gdb.base/call-ar-st.exp: Increase timeout value.
3788 Change expected output for double array to match new size in
3789 call-ar-st.c.
3790
3791 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3792
3793 * gdb.base/ending-run.exp: Create identical output when passing
3794 `step to end of run' case. Add regular expression branch satisfying
3795 Stormy16 target.
3796
3797 2001-10-28 Mark Kettenis <kettenis@gnu.org>
3798
3799 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3800 that we catch the expected failure under Linux/x86.
3801
3802 2001-10-29 Orjan Friberg <orjanf@axis.com>
3803
3804 * gdb.base/setvar.exp: Escape curly braces.
3805 * gdb.stabs/weird.exp: Ditto.
3806
3807 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
3808
3809 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3810 * gdm.mi/mi0-hack-cli.exp: Likewise.
3811
3812 2001-10-25 Andrew Cagney <ac131313@redhat.com>
3813
3814 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3815 messages.
3816
3817 2001-10-21 Andrew Cagney <ac131313@redhat.com>
3818
3819 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3820 checking MI enabled.
3821
3822 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
3823
3824 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3825
3826 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
3827
3828 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3829 if gdb child process crashes, just signal an error.
3830
3831 2001-10-02 Jim Blandy <jimb@redhat.com>
3832
3833 * lib/gdb.exp (test_xfail_format): Simplify.
3834
3835 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3836 front of the variable name `format'. Simplify `if'.
3837
3838 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3839
3840 * gdb.threads/pthreads.exp: Wait for output and delay
3841 before sending ^C.
3842
3843 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3844
3845 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3846 some incorrect output instead of timing out.
3847 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3848
3849 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
3850
3851 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3852 check to allow additional `int'.
3853
3854 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
3855
3856 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3857 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3858
3859 2001-09-27 Michael Snyder <msnyder@redhat.com>
3860
3861 * lib/gdb.exp (test_debug_format): New proc.
3862 (setup_xfail_format): Use new proc test_debug_format.
3863 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3864 proc; use new service proc test_debug_format.
3865 Replace all other "gcc_compiled" tests with this test.
3866 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3867 proc; use new service proc test_debug_format.
3868 Replace all other "gcc_compiled" tests with this test.
3869
3870 2001-09-27 Michael Snyder <msnyder@redhat.com>
3871
3872 * gdb.base/cvexpr.exp: New file.
3873 * gdb.base/cvexpr.c: New file
3874 Test for expressions using const and volatile keywords.
3875
3876 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
3877
3878 * gdb.base/constvars.exp: Check for different orders of keywords
3879 and additional "int" strings in output.
3880
3881 2001-09-22 Andrew Cagney <ac131313@redhat.com>
3882
3883 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3884 responses from "help maint".
3885
3886 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
3887
3888 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3889 to localhost:NNN instead of :NNN, in case Xvfb is listening
3890 only on TCP.
3891
3892 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
3893
3894 * gdb.base/recurse.exp: When checking leaving the watchpoint
3895 scope, recognize when gdb is in function's epilogue and pass.
3896
3897 2001-09-18 Keith Seitz <keiths@redhat.com>
3898
3899 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3900 support for running tests against sid targets.
3901 (gdbtk_done): Ditto.
3902
3903 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
3904
3905 * gdb.base/ending-run.c (main): Set stdout buffersize
3906 to the same reasonable value for any target.
3907 * gdb.base/ending-run.exp: Add a regular expression
3908 to make testsuite happy on Sanyo Stormy16 target.
3909
3910 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
3911
3912 * gdb.base/display.c (do_loops): Add float variable `f'.
3913 Increment f in loop.
3914 * gdb.base/display.exp: Increment timeout by 60 seconds.
3915 Change float display test to use variable `f'.
3916
3917 2001-09-17 Jim Blandy <jimb@redhat.com>
3918
3919 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3920 overflowing the limited breakpoint tables on some ROM monitors
3921 (like the ROM68K).
3922
3923 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
3924
3925 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3926 the "-ac" (disable access control) flag.
3927
3928 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
3929
3930 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3931 ints.
3932
3933 2001-08-30 Keith Seitz <keiths@redhat.com>
3934
3935 * lib/gdb.exp: Move all insight-related functionality into
3936 separate file.
3937 * lib/insight-support.exp: New file.
3938
3939 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
3940
3941 * config/sid.exp (sid_start): Never set sid verbosity; disable
3942 expect_background {} that consumed its stdout; tolerate </dev/null.
3943 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3944
3945 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3946
3947 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3948 CLI jump command to start it.
3949 (mi_run_to_main): Fail immediatly when unexpected output.
3950
3951 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3952
3953 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3954 beginning of function. Fix PR gdb/191.
3955
3956 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
3957
3958 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3959 what to force sid endianness to.
3960
3961 2001-08-15 Keith Seitz <keiths@redhat.com>
3962
3963 * lib/gdb.exp (gdbtk_start): Don't set environment
3964 variables for TCL_LIBRARY and friends. Insight will
3965 now figure these out for itself.
3966
3967 2001-08-02 Michael Snyder <msnyder@redhat.com>
3968
3969 * gdb.base/completion.exp: Remove the symbol "a64l" from
3970 the expect string; this is target-specific, and not related
3971 to what is being tested.
3972
3973 2001-08-02 Dave Brolley <brolley@redhat.com>
3974
3975 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3976
3977 2001-07-25 Michael Snyder <msnyder@redhat.com>
3978
3979 * gdb.base/consecutive.exp: New file. Test stepping over
3980 breakpoints on consecutive instructions.
3981 * gdb.base/consecutive.c: New file.
3982
3983 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3984 curly braces in regular expressions.
3985
3986 2001-07-25 Michael Snyder <msnyder@redhat.com>
3987
3988 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3989 legitimate output from stepping out of main.
3990
3991 2001-07-22 Keith Seitz <keiths@redhat.com>
3992
3993 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3994 the empty string, do not run the tests.
3995
3996 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3997
3998 * gdb.base/long_long.exp: Detect size of pointer. Take into
3999 account 2-byte pointers when testing for p/a results.
4000
4001 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4002
4003 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
4004 and defined to 1K for m68hc11.
4005 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4006 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4007 (sizeof_random_data): New variable to tell the size of the data table;
4008 don't test past this size; always run to main.
4009
4010 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4011
4012 * gdb.base/return2.exp: return of long long and double fails for
4013 68HC11; don't execute these tests on that platform.
4014 * gdb.base/return.exp: Return of a double fails for 68hc11.
4015
4016 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4017
4018 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4019 tests that print a float.
4020 * call-rt-st.exp: Likewise.
4021
4022 2001-07-12 Mark Kettenis <kettenis@gnu.org>
4023
4024 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4025 running this test on Linux.
4026
4027 2001-06-24 Michael Chastain <chastain@redhat.com>
4028
4029 * gdb.base/arithmet.exp: Remove some tests to make all test names
4030 unique.
4031
4032 2001-07-03 Michael Snyder <msnyder@redhat.com>
4033
4034 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4035 the output of the ptype command.
4036
4037 2001-07-02 Michael Snyder <msnyder@redhat.com>
4038
4039 * gdb.base/completion.exp: Don't assume that break.c is the only
4040 source file that may contain functions named "marker".
4041 * gdb.base/corefile.exp: Quote the curly braces in regexp.
4042
4043 2001-06-28 Andrew Cagney <ac131313@redhat.com>
4044
4045 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4046 of files to delete.
4047
4048 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4049 * gdb.disasm/h8300s.exp: New file.
4050 gdb.disasm/h8300s.s: Likewise.
4051
4052 2001-06-27 Andrew Cagney <ac131313@redhat.com>
4053
4054 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4055 empty breakpoint tables.
4056
4057 2001-06-25 Andrew Cagney <ac131313@redhat.com>
4058
4059 * lib/mi-support.exp: Update args=... part of stop-reason
4060 patterns. Accept either a list or a tuple.
4061
4062 2001-06-23 Andrew Cagney <ac131313@redhat.com>
4063
4064 * lib/mi-support.exp: Remove local emacs variable defining
4065 change-log-default-name.
4066
4067 2001-06-22 Michael Chastain <chastain@redhat.com>
4068
4069 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4070 This is operationally compatible with the previous version.
4071
4072 2001-06-13 Jim Blandy <jimb@redhat.com>
4073
4074 * lib/gdb.exp (gdb_test): Doc fix.
4075
4076 2001-06-10 Michael Chastain <chastain@redhat.com>
4077
4078 * gdb.base/exprs.exp: Remove a duplicate test.
4079
4080 2001-06-06 Jim Blandy <jimb@redhat.com>
4081
4082 * gdb.base/return2.exp (main): Use values to test float and double
4083 returns that are not NaN's, to avoid being confused by IEEE
4084 comparison rules.
4085
4086 2001-06-04 Michael Snyder <msnyder@redhat.com>
4087
4088 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
4089 non-zero if control_c fails. Terminate the test on failure,
4090 rather than wait for 12 more tests to time out.
4091
4092 2001-06-06 Jim Blandy <jimb@redhat.com>
4093
4094 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
4095 Don't forget to match the GDB prompt.
4096
4097 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4098
4099 2001-06-04 Jim Blandy <jimb@redhat.com>
4100
4101 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4102 command.
4103
4104 2001-05-31 Kevin Buettner <kevinb@redhat.com>
4105
4106 * gdb.base/annota1.exp (info break): Match four or more spaces
4107 after "Address".
4108
4109 2001-05-31 Michael Chastain <chastain@redhat.com>
4110
4111 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4112 (dm_type_int_star): Likewise.
4113 (dm_type_long_star): Likewise.
4114 (dm_type_void_star): Likewise.
4115
4116 2001-05-29 Kevin Buettner <kevinb@redhat.com>
4117
4118 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4119 to a known value in order to get consistent results regardless
4120 of the setting of INPUTRC or the presence or contents of .inputrc.
4121
4122 2001-05-24 Michael Snyder <msnyder@redhat.com>
4123
4124 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4125 Don't require that the main thread and the manager thread are the
4126 first in the list.
4127
4128 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4129 debugging. If test fails, issue an "unsupported" not a "fail".
4130
4131 2001-05-24 Jim Blandy <jimb@redhat.com>
4132
4133 Don't assume that short is shorter than int.
4134 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4135 assume that shorts are smaller than ints. On a 16-bit machine,
4136 this isn't true.
4137 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4138 an int, is not equal to ~0 stored in an unsigned char. This tests
4139 the same thing that the previous test meant to, but works on
4140 16-bit machines, too.
4141 ("print unsigned char != (~0)"): Same test, complemented.
4142
4143 2001-05-24 Michael Snyder <msnyder@redhat.com>
4144
4145 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
4146 test for (full_coverage == 0). This makes the test run faster,
4147 and prevents dejagnu getting out of step.
4148
4149 2001-05-23 Kevin Buettner <kevinb@redhat.com>
4150
4151 * gdb.base/finish.exp (finish_void): Revise pattern for
4152 stopping on the call statement to not permit stopping at
4153 the start of the instructions comprising the call sequence.
4154
4155 2001-05-19 Michael Chastain <chastain@redhat.com>
4156
4157 * gdb.base/callfuncs.exp: Make all test names unique.
4158 * gdb.base/commands.exp: Make all test names unique.
4159 * gdb.base/condbreak.exp: Make all test names unique.
4160 * gdb.base/dbx.exp: Make all test names unique.
4161 * gdb.base/default.exp: Make all test names unique.
4162 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4163 and TIMEOUT messages to their corresponding PASS message.
4164 * gdb.base/ending-run.exp: Make all test names unique.
4165 * gdb.base/long_long.exp: Remove duplicate test.
4166
4167 2001-05-21 Kevin Buettner <kevinb@redhat.com>
4168
4169 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4170 stop on the call statement as well as the statement after the
4171 call.
4172
4173 2001-05-21 Michael Snyder <msnyder@redhat.com>
4174
4175 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4176
4177 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
4178
4179 * gdb.base/completion.exp: Revamp test. Make it execute on all
4180 platforms.
4181
4182 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
4183
4184 * config/gdbserver.exp (gdb_load): Handle the case
4185 in which the arguments to gdbserver are given in the
4186 baseboard configuration file.
4187 Also handle the case in which the server needs to do a
4188 load.
4189
4190 2001-05-07 Keith Seitz <keiths@cygnus.com>
4191
4192 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4193 set up the display for testing.
4194 (gdbtk_start): Convert all paths to paths that tcl will like.
4195 Export target information to environment.
4196 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4197 necessary.
4198 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4199 (to_tcl_path): New proc to convert a given pathname into
4200 a path acceptible as an argument to a tcl command.
4201 (_gdbtk_export_target_info): New proc to export target info
4202 into the environment for gdbtk testing.
4203 (gdbtk_done): New proc to signal end-of-test.
4204
4205 2001-05-06 Jim Blandy <jimb@redhat.com>
4206
4207 * restore.c: Make the code of caller0 correspond to its comment.
4208
4209 2001-05-03 Michael Snyder <msnyder@redhat.com>
4210
4211 * config/sid.exp (gdb_target_sid): Check for error messages.
4212 On error or timeout, don't make expect exit (which will terminate
4213 all subsequent tests); instead just make gdb exit.
4214 (gdb_load): Check for error messages. On error or timeout,
4215 return a negative value.
4216
4217 2001-04-24 Jim Blandy <jimb@redhat.com>
4218
4219 * gdb.c++/templates.exp: If we see the prompt for the overload
4220 list, but we haven't recognized any of the longer patterns,
4221 arrange for this test to fail, not hang.
4222
4223 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4224 variations.
4225
4226 2001-04-22 Michael Chastain <chastain@redhat.com>
4227
4228 * gdb.c++/local.exp: Use the 'runto' library function.
4229 * gdb.c++/namespace.exp: Likewise.
4230 * gdb.c++/overload.exp: Likewise.
4231
4232 2001-03-26 Kevin Buettner <kevinb@redhat.com>
4233
4234 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4235 * gdb.base/step-line.exp: New file. Test step/next in presence of
4236 #line directives.
4237 * gdb.base/step-line.c: New file. Test program for the above.
4238 * gdb.base/step-line.inp: New file. We pretend that this file has
4239 been transformed by some other tool into step-line.c.
4240
4241 2001-03-21 Jim Blandy <jimb@redhat.com>
4242
4243 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4244 unmangled operator names.
4245
4246 2001-03-20 Jim Blandy <jimb@redhat.com>
4247
4248 * gdb.threads/linux-dp.exp: Recognize an additional message
4249 generated by GDB when it doesn't understand how to debug threads
4250 on the target system.
4251
4252 2001-03-19 Andrew Cagney <ac131313@redhat.com>
4253
4254 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4255
4256 2001-03-12 Michael Chastain <chastain@redhat.com>
4257
4258 * gdb.c++/derivation.exp: Use the 'runto' library function.
4259
4260 2001-03-12 Michael Chastain <chastain@redhat.com>
4261
4262 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4263
4264 2001-02-24 Michael Chastain <chastain@redhat.com>
4265
4266 * gdb.c++/ref-types.exp: Change handwritten code to library
4267 function 'runto'.
4268
4269 2001-03-16 Orjan Friberg <orjanf@axis.com>
4270
4271 * gdb.base/signals.exp: Set count to 0 explicitly.
4272
4273 2001-03-15 Mark Salter <msalter@redhat.com>
4274
4275 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4276 (gdb_target_monitor): Add check of gdb_target_cmd return value.
4277 (gdb_load): Add support for additional target_info: gdb_download_size
4278 and gdb_load_timeout.
4279
4280 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4281
4282 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4283 file -- to prevent failing when the compile fails but we have no
4284 intention of running the tests anyway.
4285
4286 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4287 tests if set.
4288
4289 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4290 integers.
4291
4292 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4293 * gdb.c++/namespace.exp: Ditto.
4294
4295 2001-03-07 Orjan Friberg <orjanf@axis.com>
4296
4297 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4298 * gdb.base/pointers.exp: Relax pattern match of decimals.
4299
4300 2001-03-06 Kevin Buettner <kevinb@redhat.com>
4301
4302 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4303 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4304 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4305 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4306 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4307 config/sh.exp, config/sid.exp, config/slite.exp,
4308 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4309 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4310 config/vxworks.exp, config/vxworks29k.exp,
4311 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4312 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4313 gdb.base/arithmet.exp, gdb.base/assign.exp,
4314 gdb.base/async.exp, gdb.base/attach.exp,
4315 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4316 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4317 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4318 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4319 gdb.base/commands.exp, gdb.base/completion.exp,
4320 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4321 gdb.base/constvars.exp, gdb.base/corefile.exp,
4322 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4323 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4324 gdb.base/ending-run.exp, gdb.base/environ.exp,
4325 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4326 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4327 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4328 gdb.base/funcargs.exp, gdb.base/help.exp,
4329 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4330 gdb.base/logical.exp, gdb.base/long_long.exp,
4331 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4332 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4333 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4334 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4335 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4336 gdb.base/regs.exp, gdb.base/relational.exp,
4337 gdb.base/remote.exp, gdb.base/reread.exp,
4338 gdb.base/restore.exp, gdb.base/return2.exp,
4339 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4340 gdb.base/selftest.exp, gdb.base/setshow.exp,
4341 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4342 gdb.base/sigall.exp, gdb.base/signals.exp,
4343 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4344 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4345 gdb.base/step-test.exp, gdb.base/structs.c,
4346 gdb.base/structs.exp, gdb.base/structs2.exp,
4347 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4348 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4349 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4350 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4351 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4352 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4353 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4354 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4355 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4356 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4357 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4358 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4359 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4360 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4361 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4362 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4363 gdb.trace/circ.exp, gdb.trace/collection.exp,
4364 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4365 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4366 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4367 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4368 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4369 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4370 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4371 notices.
4372
4373 2001-02-27 Michael Snyder <msnyder@cygnus.com>
4374
4375 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4376 first arg is int not float.
4377
4378 2001-02-22 Michael Snyder <msnyder@cygnus.com>
4379
4380 * gdb.base/reread.exp: Unsupported for non-native targets;
4381 doesn't work for remote debugging.
4382
4383 2001-02-19 Fernando Nasser <fnasser@redhat.com>
4384
4385 From Drew Moseley <dmoseley@redhat.com>
4386 * gdb.base/ending-run.exp: Properly handle the BSP state when
4387 stepping past the end of main.
4388
4389 2001-02-19 John Moore <jmoore@redhat.com>
4390
4391 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4392 Converted HPUX fix for non-expected items following multiple
4393 step commands into general solution for all platforms.
4394
4395 2001-02-18 Michael Chastain <chastain@redhat.com>
4396
4397 * gdb.c++/classes.exp (do_tests): Change runto statements
4398 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4399 statements demangler agnostic.
4400 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4401 (gdb_virtfunc_restart): Likewise.
4402
4403 2001-02-14 Michael Chastain <chastain@redhat.com>
4404
4405 * gdb.c++/inherit.exp (do_tests): Change runto statements
4406 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4407 statements demangler agnostic.
4408
4409 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4410
4411 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4412 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4413 before calling common_routine 15 times'' tests.
4414
4415 2001-02-11 Michael Chastain <chastain@redhat.com>
4416
4417 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4418 Helps the test script figure out which demangler is in use.
4419 (dm_type_foo_ref): Ditto.
4420 (dm_type_int_star): Ditto.
4421 (dm_type_long_star): Ditto.
4422 (dm_type_unsigned_int): Ditto.
4423 (dm_type_void): Ditto.
4424 (dm_type_void_star): Ditto.
4425 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
4426 Probe the gdb demangler and set variables to accommodate
4427 formatting differences.
4428 (info_func_regexp): New function. Same as info_func, but
4429 matches against a regexp.
4430 (info_func): Match against a literal string.
4431 (print_addr_2): New function. Match against a literal string,
4432 which can be different from the input to gdb.
4433 (print_addr): Simply call print_addr_2 with the same argument twice.
4434 (test_lookup_operator_functions): Use demangler formatting variables.
4435 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4436 the tests in the same order as the C++ class declaration.
4437 (test_paddr_operator_functions): Ditto.
4438 (test_paddr_overloaded_functions): Ditto.
4439 (test_paddr_hairy_functions): Use demangler formatting variables.
4440 Add reference to gdb/19 for related tests.
4441 (do_tests): Call probe_demangler.
4442
4443 2001-01-30 Kevin Buettner <kevinb@redhat.com>
4444
4445 * gdb.c++/templates.cc (printf): Remove unused function definition.
4446
4447 2001-01-26 Felix Lee <flee@redhat.com>
4448
4449 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4450
4451 2001-01-25 matthew green <mrg@redhat.com>
4452
4453 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4454 up sid.
4455 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4456
4457 2001-01-25 matthew green <mrg@redhat.com>
4458
4459 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4460 Deprecate $sid_spawn_id.
4461 (sid_exit): Remove code necessary only for `spawn.'
4462
4463 2001-01-25 matthew green <mrg@redhat.com>
4464
4465 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4466
4467 2001-01-28 Michael Chastain <chastain@redhat.com>
4468
4469 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4470 to call when tests fail. It takes gdb out of the overloaded
4471 function choice menu back to the main prompt, so that the test
4472 program stays synchronized.
4473 (set_bp_overloaded): New proc to collect all the common
4474 code for setting a breakpoint on an overloaded name. Calls
4475 take_gdb_out_of_choice_menu when needed.
4476 (menu_overload1arg): New variable to collect the repeated
4477 instances of the expected menu for an overloaded name. Change
4478 the regular expression to handle changes in g++ type encoding:
4479 "void" can be either "void" or "", and "unsigned int" can be
4480 either "unsigned int" or "unsigned".
4481 (continue_to_bp_overloaded): Change regular expressions to handle
4482 changes in g++ type encoding.
4483 (no proc): Call take_gdb_out_of_choice_menu when needed.
4484 Remove redundant calls to "info break". Accept either "canceled"
4485 or "cancelled". Change regular expressions in "info break"
4486 calls to handle changes in g++ type encoding. Give all tests
4487 unique strings.
4488
4489 2001-01-17 Ben Elliston <bje@redhat.com>
4490
4491 * config/sid.exp: New file.
4492
4493 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4494
4495 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4496
4497 2000-12-21 Michael Snyder <msnyder@cygnus.com>
4498
4499 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4500 Add a RE to accept a non-ascii char if one is ever presented.
4501
4502 2000-12-20 Fernando Nasser <fnasser@redhat.com>
4503
4504 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
4505
4506 2000-12-18 Michael Snyder <msnyder@cygnus.com>
4507
4508 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4509 in regexp. One '\' does not suffice on Linux.
4510
4511 2000-12-09 Michael Chastain <chastain@redhat.com>
4512
4513 * gdb.base/break.exp (test_clear_command): Use a marker function
4514 rather than 'main' for the test function. Also move this
4515 test to an execution point where the marker function names are
4516 guaranteed to be bound to functions. (Executing tests after a
4517 'finish' from main runs into name conflicts with local names
4518 in __libc_start_main).
4519
4520 2000-12-07 Michael Snyder <msnyder@cygnus.com>
4521
4522 * gdb.base/finish.exp: New test for gdb's "finish" command.
4523 * gdb.base/return2.exp: New test for gdb's "return" command.
4524 * gdb.base/return2.c: New source file for above.
4525
4526 2000-12-05 Michael Snyder <msnyder@cygnus.com>
4527
4528 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4529 * gdb.base/miscexprs.exp: Ditto.
4530 * gdb.base/pointers.exp: Ditto.
4531 * gdb.c++/derivation.exp: Ditto.
4532 * gdb.c++/local.exp: Ditto.
4533 * gdb.c++/namespace.exp: Ditto.
4534 * gdb.c++/overload.exp: Ditto.
4535 * gdb.c++/ref-types.exp: Ditto.
4536
4537 2000-12-05 Michael Snyder <msnyder@cygnus.com>
4538
4539 * gdb.base/constvars.exp: Test result of "up" command.
4540 * gdb.base/miscexprs.exp: Ditto.
4541 * gdb.base/pointers.exp: Ditto.
4542 * gdb.base/scope.exp: Ditto.
4543 * gdb.c++/derivation.exp: Ditto.
4544 * gdb.c++/local.exp: Ditto.
4545 * gdb.c++/namespace.exp: Ditto.
4546 * gdb.c++/overload.exp: Ditto.
4547 * gdb.c++/ref-types.exp: Ditto.
4548
4549 2000-11-22 Michael Chastain <chastain@redhat.com>
4550
4551 * mips_pro.exp: Accept either "middle -> top -> main" or
4552 "middle -> main" in the backtrace, because gcc can optimize
4553 tail calls to jumps. Remove setup_xfail for the hppa case.
4554 Add a comment with the original warning messages from PR 3016,
4555 which was filed in 1993, to preserve them for posterity.
4556
4557 2000-11-17 Nick Duffek <nsd@redhat.com>
4558
4559 * lib/gdb.exp (gdb_test): Override timeout with board info.
4560
4561 2000-11-17 Nick Duffek <nsd@redhat.com>
4562
4563 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4564 the second kill and detach messages.
4565
4566 2000-11-17 Nick Duffek <nsd@redhat.com>
4567
4568 * configure.in: Add AC_EXEEXT.
4569 * configure: Regenerate.
4570 * Makefile.in (just-check): Export EXEEXT.
4571 * lib/gdb.exp ($EXEEXT): Import from environment.
4572 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4573 expect "maint dump-me" on Cygwin.
4574 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4575 $EXEEXT.
4576
4577 2000-11-17 Nick Duffek <nsd@redhat.com>
4578
4579 * gdb.base/break.exp: Test backtrace and finish from called
4580 function on all platforms, not just HP-UX.
4581
4582 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4583
4584 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4585 code from gdb_target_monitor, so it can be used independantly
4586 for gdbserver. Also comment out an unnecessary PUTS.
4587
4588 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4589
4590 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4591 * gdb.base/corefile.exp: Expect the message "Program is being
4592 debugged already" when we send the "corefile" command, since
4593 the preceeding gdb_load may have connected gdb to a remote target.
4594 * gdb.base/display.exp: Disable hardware watchpoints if new
4595 board info variable "no_hardware_watchpoints" is true.
4596 Replace single-letter commands with more readable ones.
4597 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4598 if new board info variable "no_hardware_watchpoints" is true.
4599 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4600 to see if stdio (printf) testing is possible.
4601 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4602 board info variable "no_hardware_watchpoints" is true. Use new
4603 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4604
4605 2000-11-13 Fernando Nasser <fnasser@redhat.com>
4606
4607 From Orjan Friberg <orjanf@axis.com>:
4608 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4609 in array print pattern match.
4610
4611 2000-11-09 Fernando Nasser <fnasser@redhat.com>
4612
4613 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4614 spelling "cancelled" to U.S. spelling "canceled" to match changes
4615 made to gdb.
4616 * gdb.c++/ovldbreak.exp: Ditto.
4617
4618 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4619
4620 * gdb.base/callfuncs.c (main): Moved to end of file, call
4621 t_double_values to initialize the FPU before inferior calls are made.
4622 * gdb.base/callfuncs.exp: Test for register preservation after calling
4623 inferior functions. Add tests for continuining, finishing and
4624 returning from a stop in a call dummy.
4625
4626 2000-10-24 Michael Snyder <msnyder@cygnus.com>
4627
4628 * gdb.base/commands.exp: Break up long lines, and re-indent.
4629
4630 2000-10-19 Michael Snyder <msnyder@cygnus.com>
4631
4632 * config/gdbserver.exp: Rewritten from the ground up, to make it
4633 compatible with the current dejagnu tree, and to make it work with
4634 the new "gdbserver" in libremote.
4635
4636 2000-10-16 Michael Snyder <msnyder@cygnus.com>
4637
4638 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4639 * gdb.base/varargs.exp: Skip entire test if no printf support.
4640 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4641 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4642
4643 2000-10-13 Michael Snyder <msnyder@cygnus.com>
4644
4645 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4646 no floating point support.
4647 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4648 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4649 * gdb.base/call-rt-st.exp: Ditto.
4650 * gdb.base/call-strs.exp: Ditto.
4651
4652 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4653
4654 * gdb.base/sizeof.c: include <stdio.h>.
4655
4656 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4657 'finish', otherwise uncaptured gdb_prompt would potentially
4658 throw remaining test points out of sync.
4659
4660 2000-07-26 Scott Bambrough <scottb@netwinder.org>
4661
4662 * gdb.base/recurse.exp: Run tests for all targets.
4663 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4664 gnu-oldld case on ARM.
4665 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4666 for ARM targets.
4667
4668 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4669
4670 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4671 * gdb.java/configure: Rebuild.
4672
4673 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4674
4675 * gdb.java/jv-exp.exp: New file.
4676
4677 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4678
4679 * configure: Rebuilt.
4680 * configure.in (configdirs): Add gdb.java.
4681 * gdb.java/jmisc.java: New file.
4682 * gdb.java/jmisc.exp: New file.
4683 * gdb.java/Makefile.in: New file.
4684 * gdb.java/configure: Rebuilt.
4685 * gdb.java/configure.in: New file.
4686 * lib/java.exp: New file.
4687
4688 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4689
4690 * gdb.base/exprs.exp: Test casts to a pointer including over and
4691 underflow.
4692
4693 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4694
4695 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4696 and the compilers sizes.
4697
4698 2000-07-09 Nick Duffek <nsd@redhat.com>
4699
4700 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4701 (use_methods): New function.
4702 (main): Call use_methods().
4703 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4704 (do_tests): Call test_method_param_class.
4705
4706 2000-07-09 Nick Duffek <nsd@redhat.com>
4707
4708 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4709 spelling.
4710 (test_enums): New procedure. Move enum tests from end of script
4711 to here. Set breakpoint on function name instead of line number.
4712 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4713 (enums2): New marker function.
4714 (enums1): New function.
4715 (main): Call enums1(). Move enum tests to enums1().
4716
4717 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4718
4719 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4720 compile/link program. Update line numbers.
4721 * gdb.asm/d10v.inc: Define ``startup''.
4722 * gdb.asm/asmsrc1.s: Add definition of _start.
4723
4724 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4725
4726 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4727
4728 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4729
4730 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4731 of 'help maint print' command.
4732
4733 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4734
4735 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4736 they use gdb_expect_list.
4737
4738 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4739
4740 * gdb.base/commands.exp: Use ``set remote
4741 memory-read-packet-size'' instead of ``set endian big'' to test
4742 long commands.
4743
4744 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
4745
4746 * gdb.c++/templates.exp (do_tests): Make all of these work under
4747 g++, and stop skipping them.
4748
4749 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4750 work under g++.
4751
4752 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4753 initialization.
4754
4755 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4756
4757 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4758 the regular expression: accept an (almost) arbitrary sequence of
4759 "frames-invalid" and "breakpoints-invalid" messages both before
4760 and after the "starting" message.
4761
4762 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4763
4764 * gdb.c++/local.exp: This test has never been known to work with g++.
4765
4766 2000-05-18 Michael Snyder <msnyder@cygnus.com>
4767
4768 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4769 Relax the regular expression a little, make it pass on Solaris 8.
4770
4771 2000-05-12 Kevin Buettner <kevinb@redhat.com>
4772
4773 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4774 a call, do not require that gdb stop on the line after the call.
4775 Instead, it is permissible for gdb to stop on the line of the
4776 call itself.
4777
4778 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
4779
4780 * gdb.base/break.exp (bp on small function, optimized file):
4781 Add a second pass pattern. The behavior differs here between stabs
4782 and dwarf for one-line functions. Stabs preserves two line symbols
4783 (one before the prologue and one after) with the same line number,
4784 but dwarf regards these as duplicates and discards one of them.
4785 Therefore the address after the prologue (where the breakpoint is)
4786 has no exactly matching line symbol, and GDB reports the breakpoint
4787 as if it were in the middle of a line rather than at the beginning.
4788
4789 2000-05-08 Michael Snyder <msnyder@cygnus.com>
4790
4791 * gdb.base/interrupt.exp: Make "pass" message say "send"
4792 rather than "send_gdb" (for consistancy).
4793
4794 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4795
4796 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4797 * gdb.c++/templates.cc: Properly check for GCC version number.
4798 * lib/compiler.cc: Likewise
4799
4800 2000-04-28 Michael Snyder <msnyder@cygnus.com>
4801
4802 * gdb.base/break.exp: When compiled with -O2 optimization,
4803 gdb may not stop at the first line of main, due to code motion.
4804
4805 2000-04-26 Michael Snyder <msnyder@cygnus.com>
4806
4807 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4808 This test depends on parsing the printf output from the target.
4809 Since the sparclet stub doesn't do stdio, this will never work.
4810 * gdb.base/call-rt-st.exp: ditto.
4811 * gdb.base/call-strs: ditto.
4812
4813 2000-04-24 Michael Snyder <msnyder@cygnus.com>
4814
4815 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4816
4817 * gdb.base/ending-run.exp: After connecting to a remote target,
4818 but before running, the target will appear to be in a random
4819 location. Specify both a file and a line for breakpoints.
4820 Also, the function that calls main may be called 'init'
4821 rather than 'start'.
4822
4823 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4824
4825 * gdb.base/help.exp: Update output for add-symbol-file command.
4826
4827 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
4828
4829 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4830 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4831
4832 2000-04-07 J.T. Conklin <jtc@redback.com>
4833
4834 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4835
4836 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4837
4838 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4839
4840 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4841 values that can be represented exactly.
4842 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4843 above change, and to not check against the directory part of the source
4844 file name.
4845 (step into print_long_arg_list): Likewise.
4846 (print print_small_structs from print_long_arg_list): Likewise.
4847 (print print_long_arg_list): Likewise.
4848
4849 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4850
4851 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
4852
4853 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4854
4855 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4856
4857 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
4858
4859 * gdb.base/commands.exp (deprecated_command_test): Add test for
4860 deprecate with no arguments.
4861
4862 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4863
4864 * gdb.base/break.exp: Add new test for setting breakpoints on
4865 optimized code so we can test breakpoints work even when function
4866 prologues may be optimized away
4867
4868 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4869
4870 From David Whedon <dwhedon@gordian.com>
4871 * gdb.base/commands.exp : Added command deprecator tests.
4872
4873 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
4874
4875 * gdb.base/help.exp: Added test for new apropos command.
4876
4877 2000-03-21 Kevin Buettner <kevinb@redhat.com>
4878
4879 * gdb.base/pointers.c (usevar): New function.
4880 (main): Make sure that global variables v_int_pointer2, rptr,
4881 and y are all referenced someplace in the program by calling
4882 usevar() on them. [Some linkers delete symbols which are
4883 never referenced. The space remains, but there's no way to
4884 get a (symbolic) handle on the variable from the debugger.]
4885
4886 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4887
4888 * gdb.base/printcmds.c: Add typedeffed arrays.
4889
4890 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4891 procedure to test arrays that are typedef'd.
4892
4893 2000-03-13 James Ingham <jingham@leda.cygnus.com>
4894
4895 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
4896 the library directories.
4897
4898 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4899
4900 * configure.in (configdirs): Add sub directory gdb.mi.
4901 * configure: Re-generate.
4902
4903 * gdb.mi: New directory.
4904
4905 2000-02-25 Scott Bambrough <scottb@netwinder.org>
4906
4907 * gdb.base/long_long.exp: Correct test suite failure when printing
4908 a long long value as a double on ARM platforms.
4909
4910 2000-02-16 Jim Blandy <jimb@redhat.com>
4911
4912 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4913 default source file is set properly before running this test.
4914
4915 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4916
4917 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4918 gdbtk/library directory, not in gdbtcl2.
4919
4920 2000-02-04 Jim Blandy <jimb@redhat.com>
4921
4922 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4923 backslash from regexp pattern.
4924
4925 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4926 procedure. Use it to run all the "continue to bp overloaded"
4927 tests. Note that this changes the names of the tests slightly.
4928 If the breakpoint hit message includes a hex PC value, because
4929 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4930 from the real source code, still consider that a pass.
4931
4932 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4933 XFAIL here if the breakpoint message contains a hex address. Note
4934 similar change on 1999-11-02.
4935
4936 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4937
4938 * gdb.base/ptype.exp: Establish a default source file before
4939 calling get_debug_format.
4940
4941 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4942
4943 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4944
4945 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4946
4947 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4948 of successive stepi commands -- while in the prologue we should see
4949 the function entry bracket.
4950
4951 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4952
4953 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4954 reach __change_mode() when stepping through the end of main().
4955
4956 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4957
4958 * gdb.base/default.exp: Fix expected pattern.
4959 * gdb.base/help.exp: Same.
4960
4961 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4962
4963 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4964 Don't use xfail's because that affects only the following test.
4965
4966 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4967 solaris or linux.
4968
4969 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4970
4971 2000-01-07 Michael Snyder <msnyder@cygnus.com>
4972
4973 * gdb.base/display.exp: Some yacc parsers like to say
4974 "A syntax error" rather than "A parse error". Accept both.
4975
4976 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4977
4978 * gdb.base/default.exp: Remove OS dependent string from "target
4979 remote" test.
4980 * gdb.base/help.exp: Same for "help target remote" test.
4981
4982 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4983
4984 From Jim Kingdon <kingdon@redhat.com>:
4985
4986 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4987 prompt (cleanup rather than necessity, but still might keep output
4988 from spilling to next test).
4989
4990 2000-01-02 Fred Fish <fnf@cygnus.com>
4991
4992 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4993 AIX, which defines them in <sys/types.h>.
4994
4995 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
4996
4997 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4998 float" test.
4999
5000 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
5001
5002 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
5003
5004 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5005 outermost frame disallowed".
5006
5007 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5008
5009 * gdb.base/setvar.exp: New tests for setting the value of a struct
5010 with a constant list.
5011
5012 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5013
5014 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5015 require the user to type a cast before setting the value of a struct.
5016
5017 1999-12-06 Jim Blandy <jimb@cygnus.com>
5018
5019 * gdb.base/default.exp: Expect the new 'info float' command on
5020 all i386 platforms.
5021
5022 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5023 LinuxThreads libraries that don't support debugging.
5024
5025 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5026
5027 * gdb.base/remote.c: Fill the buffer with truely random data.
5028 Change the buffer type to ``unsigned char'' to simplify size
5029 arithmetic.
5030
5031 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5032 stub only handles 400-1 byte packets. Verify that the download
5033 worked.
5034
5035 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
5036
5037 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5038 tests, using UNRESOLVED for the untested cases. Also, does not wait
5039 for a timeout if the prompt was received before a recognizable pattern.
5040
5041 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
5042
5043 * lib/gdb.exp (gdb_expect_list): Fix spelling.
5044
5045 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5046
5047 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5048 watchpoints.
5049
5050 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
5051
5052 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5053
5054 * gdb.c++/local.exp: Be more flexible in recognizing local class
5055 name mangling. Don't allow horribly truncated method names.
5056 * gdb.c++/derivation.exp: Expect protected inheritance.
5057 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5058 * gdb.c++/virtfunc.exp: Likewise.
5059 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5060 when printing a nested enum.
5061
5062 1999-11-22 Jim Blandy <jimb@cygnus.com>
5063
5064 * gdb.base/step-test.exp: Properly await GDB's response to setting
5065 a breakpoint on the call to large_struct_by_value.
5066
5067 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5068 just because we have debug info for the `start' function.
5069
5070 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5071
5072 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5073 "Unknown signal" messages, which indicate (on LinuxThreads) that
5074 GDB doesn't know how to debug threads on this system. This is
5075 better than hanging while philosopher 0 dumps chatter into gdb.log.
5076
5077 1999-11-18 Tom Tromey <tromey@cygnus.com>
5078
5079 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5080
5081 1999-11-18 Fred Fish <fnf@cygnus.com>
5082
5083 * gdb.base/coremaker2.c: Add sample program for generating
5084 cores that is more self contained than coremaker.c. Eventually
5085 I'll add more code to this and tie it into the testsuite.
5086
5087 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5088
5089 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5090
5091 1999-11-10 Jimmy Guo <guo@cup.hp.com>
5092
5093 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5094 from $srcdir/lib/.
5095 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5096 and gdb.c++/.
5097
5098 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5099
5100 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
5101 'continue with watch' test point.
5102
5103 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5104
5105 Merged from p2linux-990323-branch:
5106
5107 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5108
5109 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5110
5111 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5112 {limit,fixed}''. Test ``set download-write-size''.
5113
5114 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5115
5116 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5117 gdb_expect_list.
5118
5119 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5120
5121 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5122
5123 1999-11-03 Mark Salter <msalter@cygnus.com>
5124
5125 * gdb.base/break.exp: Fix "stub continue" pattern.
5126
5127 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5128
5129 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5130
5131 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5132
5133 * gdb.base/display.exp ("finish"): Add timeout clause.
5134
5135 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5136 plain prompt clause, so this doesn't have to time out in order to
5137 fail.
5138
5139 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5140 breakpoint hit messages include an address.
5141
5142 * gdb.base/display.exp: Don't forget to escape parens in regular
5143 expressions. Unix regexp notatation sucks.
5144
5145 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5146
5147 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5148 order for 'signalled' message.
5149
5150 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5151
5152 From Jimmy Guo <guo@cup.hp.com>:
5153 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5154 * gdb.base/annota1.c: Add code for tests to work with.
5155
5156 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5157
5158 * gdb.base/remote.exp: New test for remote downloading settings.
5159 * gdb.base/remote.c: New file with large .data.
5160
5161 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5162
5163 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5164 for LinuxThreads support, merged from the Code Fusion branch.
5165
5166 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5167
5168 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5169 containing exp_continue into a while within an expect. Don't
5170 attempt a start more than three times. Check return value from
5171 gdb_load.
5172
5173 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5174
5175 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5176 a pass case.
5177
5178 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
5179
5180 * gdb.base/break.c (main): Added a statement that we can step
5181 off of.
5182 * gdb.base/break.exp: Added tests for setting a breakpoint
5183 at an offset and stepping onto a breakpoint.
5184
5185 1999-10-01 Fred Fish <fnf@cygnus.com>
5186
5187 * gdb.base/help.exp (help add-symbol-file): Update to match current
5188 gdb output.
5189
5190 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5191
5192 * gdb.base/break.exp: Code locations are in hex, don't forget!
5193 (For HP-UX.)
5194
5195 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5196
5197 * condbreak.exp: Use break.c as test program.
5198 * condbreak.c: Remove, redundant with break.c.
5199
5200 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5201
5202 * config/monitor.exp (gdb_target_monitor): Disable X- and
5203 Z-packets if the target needs it.
5204
5205 1999-09-13 James Ingham <jingham@leda.cygnus.com>
5206
5207 * gdb.c++/overload.exp: Added tests for listing overloaded
5208 functions with function pointers in the arg, explicitly calling
5209 out the version you want.
5210
5211 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5212
5213 * long_long.exp: Add variations of test cases that work for
5214 targets with 16-bit ints and 32-bit doubles.
5215
5216 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5217
5218 * break.c (main): Compare a possibly-uninitialized argc with an
5219 unlikely value that fits in 16 bits.
5220
5221 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5222
5223 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5224 0xfeeb, don't want negative numbers if ints are 16 bits.
5225
5226 * lib/gdb.exp (skip_cplus_tests): New proc.
5227 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5228 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5229 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5230 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5231 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5232 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5233 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5234 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5235
5236 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5237
5238 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5239
5240 * gdb.base/corefile.exp (up): Allow a parameter to appear
5241 in the frame that we're going up to.
5242
5243 From Jim Blandy <jimb@cygnus.com>:
5244
5245 * gdb.base/default.exp (info float): Expect some output now.
5246
5247 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5248 returning floating-point values to fail on the x86.
5249 * gdb.base/callfwmall.exp (do_function_calls): Same.
5250
5251 * gdb.base/list.exp (test_listsize): Correct expectations for
5252 listing line 1 with listsize 2. Also, listing a single line
5253 works now, as does listing three lines. [Kevin's note: There
5254 were a number of other cases fixed too where the expectations
5255 differed...]
5256
5257 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5258
5259 * gdb.base/selftest.exp: Add case for when version prints as
5260 constant string instead of char pointer.
5261
5262 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5263
5264 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5265 stepping out of main.
5266
5267 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5268 G++ used.
5269
5270 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5271 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5272
5273 * gdb.c++/ovldbreak.exp: Update match string in test that
5274 includes a warning of multiple breakpoints.
5275
5276 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5277
5278 * gdb.base/display.exp: Improve precision of step-after-finish
5279 added yesterday.
5280
5281 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5282 test.
5283
5284 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5285 configs when using G++, not just hppa*.
5286
5287 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5288
5289 * gdb.base/async.c: New file.
5290 * gdb.base/async.exp: New file.
5291
5292 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5293
5294 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5295 PA64.
5296
5297 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5298
5299 * gdb.base/display.exp: "finish" can leave us mid-line on many
5300 targets, deal with it. Add a small constant to main, instead of
5301 1000 since main+1000 may not be a valid address in the target.
5302
5303 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5304 on hpux11.
5305
5306 * gdb.base/attach.exp: Handle another hpux11 error message variant
5307 when attaching to a process that does not exist.
5308
5309 1999-08-19 J.T. Conklin <jtc@redback.com>
5310
5311 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5312 characters in 'continue to 1241' test.
5313
5314 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5315
5316 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5317 stop in print_long_arg_list, define and use a whitespace
5318 variable in print_small_structs test, add an XFAIL for Solaris.
5319 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5320 interested enough to fix.
5321
5322 1999-08-13 Keith Seitz <keiths@cygnus.com>
5323
5324 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5325 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5326 proc knows about targets other than the natives.
5327 (test_assign): Use "gdb_run_cmd" to "run" the target.
5328 Check that we've actually hit the breakpoint at main.
5329 When we attempt to assign a value to a local variable, check
5330 that the variable is in the current scope, i.e., don't use
5331 a test with an empty result.
5332
5333 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5334
5335 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5336 command.
5337
5338 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5339
5340 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5341 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5342 gdb.compat, gdb.threads-hp.
5343 gdb.hp/configure, gdb.hp/configure.in: New files.
5344 gdb.hp/Makefile.in: Recurse into new subdirs.
5345 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5346 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5347 in object files.
5348 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5349
5350 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5351
5352 * gdb.base/display.exp: Help expect by putting a newline in the
5353 funky printf, remove a bogus p/a test.
5354
5355 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5356
5357 * gdb.base/display.exp: Make sure that when we say 'run', we are
5358 connected to the target. This is necessary when running not
5359 natively.
5360
5361 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5362
5363 * gdb.base/step-test.exp: Removed some extraneous messages.
5364
5365 * gdb.base/long_long.exp: Don't run memory examination tests
5366 on little-endian targets (they will need a different set of
5367 results to match).
5368
5369 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5370
5371 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5372 until somebody decides to fix GDB.
5373
5374 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5375 constant as "ULL".
5376 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5377 matches for a couple x/2 commands.
5378
5379 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5380
5381 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5382 by merging in ref-types2 tests.
5383 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5384
5385 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5386 * gdb.c++/Makefile.in: Add standard actions.
5387 (EXECUTABLES): Rename from PROGS, update list.
5388 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5389 from gdb.hp.
5390 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5391 foo and bar locals.
5392 * gdb.c++/anon-union.exp: Fix tests to match.
5393 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5394 expect matches to handle output variations.
5395 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5396 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5397 output, add HP alternatives for new and delete prints.
5398 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5399 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5400 * gdb.c++/demangle.exp: Use $style when reporting failure.
5401 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5402 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5403 match alternatives.
5404 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5405 compilers.
5406 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5407 * gdb.c++/method.exp: Add match alternatives.
5408 * gdb.c++/misc.cc: Add bool types.
5409 * gdb.c++/misc.exp: Add tests for bool types.
5410 * gdb.c++/overload.exp: Add xfails.
5411 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5412 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5413 add some more template parameter tests (only for HP currently).
5414 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5415 * gdb.c++/virtfunc.cc: Add return type and value for main.
5416 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5417 match alternatives.
5418
5419 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5420
5421 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5422
5423 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5424
5425 * gdb.base/signals.exp: Don't expect getting a backtrace from
5426 within a signal handler to fail on Linux.
5427
5428 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5429
5430 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5431 * lib/gdb.exp: Remove some gratuitious semicolons.
5432 (delete_breakpoints): Increase timeout.
5433 (gdb_expect): Add -notransfer option.
5434 (gdb_test): Use -notransfer option.
5435 (get_compiler_info): Add f77 case.
5436 (get_compiler): New proc, split out from gdb_preprocess, add f77
5437 case.
5438 (gdb_preprocess): Call get_compiler.
5439
5440 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5441 * gdb.base/attach.exp, gdb.base/display.exp,
5442 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5443 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5444 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5445 third arg to gdb_test.
5446 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5447 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5448 HP-UX xfails, add others.
5449 * gdb.base/completion.exp: Reflect name change of self-test.
5450 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5451 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5452 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5453 HP failure number.
5454 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5455 useless HP-UX 10.30 references.
5456 * gdb.base/maint.exp: Loosen matches.
5457 * gdb.base/pointers.c (main): Declare more_code.
5458 * gdb.base/pointers.exp: Match on output of a `next'.
5459 * gdb.base/structs.c: Add prototypes.
5460 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5461 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5462
5463 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5464
5465 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5466 command.
5467
5468 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5469
5470 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5471 Fix run to main failures. Watchpoint can be hardware watchpoint.
5472
5473 * gdb.base/annota1.exp: Clean up some more, in case printf has
5474 debug info. Deal with lack of signal hanlder info in stack.
5475
5476 From Jim Kingdon <kingdon@redhat.com>:
5477 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5478
5479 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5480
5481 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5482 gdb.base/foll-vfork.exp: Don't run for crosses.
5483
5484 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5485
5486 * gdb.base/configure.in: Check for gdbvars.exp instead of
5487 a1-selftest.exp.
5488 * gdb.base/configure: Re-generate.
5489
5490 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5491
5492 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5493 in trying to run first and name is too long.
5494
5495 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5496 pointers2.c and pointers2.exp, respectively.
5497 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5498 doschk happier.
5499
5500 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5501
5502 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5503 callfuncs2.c and callfuncs2.exp.
5504
5505 * gdb.base/list.exp: Remove mistaken xfails.
5506 * gdb.base/list0.h: Add optional prototypes.
5507
5508 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5509
5510 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5511 calling malloc.
5512 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5513 * ptype.exp: Move test for get_debug_format to before its first
5514 use.
5515
5516 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5517
5518 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5519 * gdb.base/annota2.cc, annota2.exp: Move from here.
5520 * gdb.c++/annota2.cc, annota2.exp: To here.
5521 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5522
5523 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5524
5525 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5526 a consistent format.
5527
5528 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5529
5530 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5531 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5532 HP compilers, also set the globals $true and $false.
5533
5534 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5535 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5536 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5537 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5538 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5539 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5540 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5541 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5542 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5543 whatis.c} Add C++ compatible function definitions and return
5544 types, add includes for library functions.
5545 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5546 * gdb.base/step-test.c (myglob): Rename from glob.
5547 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5548 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5549 files, move here from gdb.hp.
5550 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5551 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5552 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5553 Adjust line numbers in regexps.
5554
5555 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5556 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5557 instead of 0/1.
5558
5559 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5560 foll-vfork.exp: New files, move here from gdb.hp.
5561 * gdb.base/page.exp: New file, test of pagination command.
5562
5563 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5564 recursion test.
5565 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5566
5567 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5568 gdb.base/solib.exp: Fix compiler invocation process.
5569
5570 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5571 HP-UX 11, turn off overload resolution explicitly.
5572 * gdb.base/commands.exp: Set argument list explicitly, add
5573 watchpoint test.
5574 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5575 them work.
5576 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5577 expressions properly.
5578 * gdb.base/corefile.exp: Loosen the match slightly.
5579 * gdb.base/default.exp: Allow "Error accessing memory" message
5580 also.
5581 * gdb.base/display.exp: Skip over x/0 j if PA64.
5582 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5583 * gdb.base/interrupt.exp: Ditto.
5584 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5585 in use.
5586 * gdb.base/list.exp: Add xfails for HP-UX.
5587 * gdb.base/long_long.exp: Refine some of the numeric matches.
5588 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5589 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5590 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5591 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5592 * gdb.base/ptype.exp: Succeed on more varieties of output.
5593 * gdb.base/scope.exp: Add xfails for HP-UX.
5594 * gdb.base/sect-cmd.exp: Add more cases.
5595 * gdb.base/setvar.exp: Add xfails for HP-UX.
5596 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5597 * gdb.base/signals.exp: Match on void symbolically.
5598 * gdb.base/step-test.exp: Add case for PA64.
5599 * gdb.base/term.exp: Add exit and restart.
5600 * gdb.base/twice.exp: Clean up after self.
5601 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5602 * gdb.base/whatis.exp: Allow more ways to pass tests.
5603
5604 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5605 no longer useful.
5606
5607 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5608
5609 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5610 list of patterns.
5611 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5612 print_double_array(double_array)", "continuing to breakpoint
5613 1018", "print print_double_array(array_d)" and "continuing to
5614 1034" tests.
5615
5616 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5617
5618 * Makefile.in: Add empty html and install-html targets.
5619
5620 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5621
5622 * config/mt-*: Remove, these haven't been used since 1996.
5623
5624 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5625
5626 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5627 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5628 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5629
5630 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5631
5632 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5633 simpler match case for the ptype of the big class.
5634
5635 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5636
5637 * gdb.exp: Fix test for gdb_prompt existence.
5638
5639 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5640
5641 * gdb.exp (gdb_test): Add fail after calls to perror.
5642
5643 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5644
5645 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5646
5647 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5648
5649 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5650
5651 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5652
5653 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5654 malloc() is linked in.
5655
5656 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5657
5658 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5659 step at end.
5660
5661 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5662
5663 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5664
5665 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5666
5667 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5668
5669 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5670 * gdb.base/mips_pro.exp: Likewise.
5671
5672 1999-06-02 Keith Seitz <keiths@cygnus.com>
5673
5674 * gdb.c++/templates.cc: Change all "new" operators to throw
5675 an exception.
5676 * gdb.c++/cplusfuncs.cc: Likewise.
5677
5678 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5679
5680 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5681
5682 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5683 * gdb.base/ending-run.exp: When stepping out of main, accept a
5684 step into an arbitrary assembler file.
5685
5686 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5687
5688 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
5689 "breakpoint-invalid" to be printed.
5690 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
5691 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5692 * gdb.base/annota2.cc: Initialize a.x to 0.
5693
5694 1999-05-17 Keith Seitz <keiths@cygnus.com>
5695
5696 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5697 when "skip_float_tests" set.
5698 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5699 "print print_ten_doubles", and "step into print_long_arg_list".
5700 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5701 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5702 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5703 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5704 "skip_float_tests" is set.
5705 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5706 when "skip_float_tests" set.
5707
5708 1999-05-06 Keith Seitz <keiths@cygnus.com>
5709
5710 * gdb.base/annota2.cc: Include stdio.h.
5711
5712 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5713
5714 * gdb.base/crossload.exp: Remove, this has been disabled ever
5715 since BFD stopped including all targets, and cross-GDB gets
5716 plenty of testing anyway.
5717 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5718 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5719 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5720 * gdb.base/README: Remove, was doc for this.
5721 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5722 needed.
5723
5724 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5725
5726 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5727 output.
5728
5729 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5730 * gdb.base/annota2.exp: New file. More annotation tests.
5731 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5732 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5733
5734 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
5735
5736 * config/cfdbug.exp: New file.
5737
5738 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5739
5740 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5741 Marcus Daniel's and Dale Hawkins's demangler crashes.
5742
5743 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5744 test_lucid_style_demangling, test_arm_style_demangling,
5745 test_hp_style_demangling): Try Tom Tromey's core-dumping
5746 identifier under each demangling style.
5747
5748 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5749
5750 * gdb.c++/demangle.exp: Include the current demangling style
5751 in all test names.
5752 (current_demangling_style): New global variable.
5753 (set_demangling_style, test_demangling_core, test_demangling,
5754 test_demangling_exact): New functions.
5755 (test_gnu_style_demangling, test_lucid_style_demangling,
5756 test_arm_style_demangling, test_hp_style_demangling): Use those,
5757 instead of calling gdb_test and gdb_test_exact directly.
5758 (catch_demangling_errors): New function, which reports errors
5759 signalled by the demangling test functions in an orderly way.
5760 (do_tests): Use catch_demangling_errors.
5761
5762 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5763
5764 * gdb.base/signals.exp (test_handle_all_print): Use () for
5765 grouping in expressions, not {}.
5766
5767 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5768 initialized yet.
5769
5770 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5771
5772 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5773 are listed.
5774
5775 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5776
5777 * gdb.stabs/weird.exp: Test for CC being defined before
5778 looking at its value.
5779
5780 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5781
5782 * gdb.base/call-ar-st.exp: Remove stray '#'.
5783 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5784 "short int" and "long int".
5785 * gdb.c++/overload.cc: Cast the string added in the previous
5786 change, to mollify finicky HP compiler.
5787 * gdb.hp/reg-test.exp (testfile): Fix file name.
5788 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
5789
5790 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5791 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5792 alternate form of enum ptype.
5793
5794 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5795
5796 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5797 * gdb.hp/*.exp: Change all to run compiler probe only after
5798 passing skip_hp_tests, so as not to waste time on guaranteed
5799 failure.
5800
5801 * gdb.c++/overload.cc: Pass string instead of char addr, always
5802 init ccpfoo.
5803 * gdb.c++/templates.cc: Fix syntax error.
5804
5805 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5806
5807 * gdb.base/commands.exp: Add test for correct position of '>'
5808 when issuing the 'commands' command after a 'while' or 'if'
5809 command.
5810
5811 1999-03-18 James Ingham <jingham@cygnus.com>
5812
5813 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5814
5815 * gdb.c++/method.exp: It was testing an uninitialized int on the
5816 stack and assuming it was positive.
5817
5818 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5819
5820 * gdb.base/step-test.exp: Catch a case where finish is broken and
5821 keep it from killing the rest of the tests.
5822 Use gdb_continue_to_end.
5823
5824 * gdb.base/sigall.exp: use gdb_continue_to_end.
5825
5826 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5827
5828 * gdb.base/display.exp: use runto_main, not run.
5829
5830 * gdb.base/default.exp: Check for the current error message in the
5831 r abbreviation test.
5832 Add strongarm to the targets that know info float.
5833
5834 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
5835 run which doesn't work with monitors.
5836
5837 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5838
5839 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5840
5841 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
5842 program. Traps the case (in Cygmon) when the program never really
5843 exits. Same as Mark's continue_to_exit, but I had put it in a lot
5844 more places, so I used my name. Sorry Mark...
5845
5846 * config/monitor.exp (gdb_target_monitor): added another
5847 target_info parameter: remotebinarydownload. This will set the
5848 remotebinarydownload flag if this is causing some boards trouble.
5849
5850 1999-03-18 Mark Salter <msalter@cygnus.com>
5851
5852 * lib/gdb.exp (continue_to_exit): New function.
5853
5854 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5855 * gdb.base/ending-run.exp: Ditto.
5856 * gdb.base/step-test.exp: Ditto.
5857
5858 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5859
5860 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5861 (suggested by Art Haas <ahaas@neosoft.com>).
5862
5863 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5864
5865 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5866
5867 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5868
5869 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5870 descriptions of types (short unsigned int vs unsigned short, etc).
5871
5872 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5873
5874 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5875 a call to strlen; sometimes we do have sources.
5876
5877 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5878
5879 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5880 character, so GDB won't print garbage after its end.
5881
5882 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5883 breakpoint there instead. Sometimes GCC emits memcpy to handle
5884 the large structures being passed by value, so we step into that
5885 instead of sum_array_print, which obscures what we're really testing.
5886 * gdb.base/step-test.exp: However, we do want a test that notices
5887 the bizarre steps into memcpy, so do that here. Add check for
5888 stepping into function calls that pass large structures by value.
5889 ("Is that a noun clause, or are you just happy to see me?")
5890 Remove all references to specific line numbers.
5891 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5892 New type and function.
5893 (main): Call large_struct_by_value, passing it a large struct by value.
5894 * lib/gdb.exp (gdb_get_line_number): New function.
5895
5896 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5897 more portable.
5898
5899 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5900
5901 * lib/gdb.exp: Doc fixes.
5902
5903 1999-03-05 Nick Clifton <nickc@cygnus.com>
5904
5905 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
5906
5907 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5908
5909 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5910 commands. They're not germane to this test, and they don't work
5911 that way on remote targets.
5912
5913 1999-03-01 James Ingham <jingham@cygnus.com>
5914
5915 * Changelog entries merged over from gdb development branch.
5916
5917 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5918
5919 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5920 for outputting results of test run.
5921
5922 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
5923
5924 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
5925
5926 1999-02-25 Felix Lee <flee@cygnus.com>
5927
5928 * lib/gdb.exp (debug_format): initialize
5929
5930 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5931
5932 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5933 * gdb.base/call-rt-st.c: Ditto.
5934
5935 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5936
5937 * gdb.threads/pthreads.exp (horiz): New variable.
5938 (test_startup): Fix regexps that capture thread numbers.
5939
5940 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5941
5942 * gdb.base/smoke.exp: Disambiguate two test case names (both
5943 called ``print'').
5944
5945 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5946
5947 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5948 compilation.
5949
5950 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5951
5952 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5953 actual output formatting.
5954 * gdb.base/smoke.exp: GDB removes leading 0's.
5955 * gdb.base/volatile.exp: Don't check type of remuneration;
5956 that variable is no longer defined in constvars.c.
5957 * gdb.base/step-test.c (main): Exit with explicit exit code.
5958 * gdb.base/step-test.exp: Remove two nexti checks--they are
5959 not portable.
5960
5961 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5962
5963 * gdb.base/help.exp ("help delete display"): Fix test to match
5964 gdb's output.
5965
5966 * gdb.base/long_long.c (known_types): Initialize values to zero.
5967 * gdb.base/long_long.exp: Step one more line
5968 so 'dec' is initialized in "get to known place". GDB removes
5969 leading zeros. Explicitly ask for hex formatting. Use
5970 unique test case names.
5971
5972 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5973
5974 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
5975
5976 * gdb.c++/method.exp: Add missing close brace.
5977
5978 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5979
5980 * gdb.base/maint.exp: Use 'set height 0' to disable page
5981 prompting, not 'set height 400'.
5982
5983 Fix a bunch of timeouts.
5984 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5985 four separate tests, so expect doesn't take forever to match a ton
5986 of text against a regexp with lots of .* forms.
5987 ("maint print psymbols", "maint print symbols"): Make some of
5988 these greps more selective, so that expect doesn't try to wade
5989 through huge piles of output and time out.
5990
5991 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5992
5993 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5994 tests: one which doesn't expect shlib events to be reported, and
5995 another which does, but is XFAIL for all platforms other than
5996 HP/UX.
5997
5998 * gdb.base/break.exp: Teach the test suite that the `catch
5999 fork', `catch vfork', and `catch exec' commands produce error
6000 messages on platforms that don't provide these features.
6001
6002 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6003
6004 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6005 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6006 (shortening names from solib_threshold.exp etc), won't run on
6007 anything but HP-UX for the foreseeable future.
6008 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6009 reflect move.
6010
6011 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6012
6013 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6014 gdb.trace/Makefile.in (clean): Remove all test executables.
6015
6016 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6017
6018 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6019 successfully re-sets breakpoints in shared libraries.
6020 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6021
6022 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6023
6024 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6025 and compiled w/o GCC.
6026
6027 * gdb.hp/watch-cmd.exp: ditto.
6028
6029 * gdb.hp/watch-hp.exp: ditto.
6030
6031 * gdb.hp/xdb1.exp: ditto.
6032
6033 * gdb.hp/xdb2.exp: ditto.
6034
6035 * gdb.hp/dbx.exp: ditto.
6036
6037 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
6038
6039 * constvars.c: Remove C++-isms.
6040 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6041 with GCC.
6042
6043 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
6044
6045 The following changes are part of the HP merge.
6046
6047 * gdb.base/break.exp: new tests to verify that catchpoints for
6048 fork, vfork, and exec don't trigger inappropriately.
6049
6050 * gdb.base/opaque.exp: compile one file at a time, then link.
6051
6052 * gdb.base/signals.exp: be more restrictive about which hppa
6053 systems receive a setup_xfail. new tests.
6054
6055 * gdb.base/solib_threshold.build: new file.
6056 * gdb.base/solib_threshold.exp: new file.
6057 * gdb.base/solib_threshold.link_opts: new file.
6058 * gdb.base/solib_threshold.mk: new file.
6059 * gdb.base/gen_solib_threshold.c: new file.
6060
6061 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6062 tests. New tests for enums inside classes.
6063
6064 * gdb.c++/compiler.cc: indicate support of template debugging.
6065
6066 * gdb.c++/demangle.exp: run hp style demangling tests.
6067
6068 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6069 tests.
6070
6071 * gdb.c++/misc.cc: changes to support new tests.
6072
6073 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6074 to support new tests.
6075
6076 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6077 gcc, then skip these tests.
6078
6079 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6080
6081 The following files are part of the HP merge; some had longer
6082 names at HP, but have been renamed to be no more than 14
6083 characters in length.
6084
6085 * gdb.hp/ambiguous.cc: new file.
6086 * gdb.hp/ambiguous.exp: new file.
6087 * gdb.hp/attach.exp: new file.
6088 * gdb.hp/attach2.exp: new file.
6089 * gdb.hp/classes-hp.exp: new file.
6090 * gdb.hp/ctti.exp: new file.
6091 * gdb.hp/ctti-add.cc: new file.
6092 * gdb.hp/ctti-add1.cc: new file.
6093 * gdb.hp/ctti-add2.cc: new file.
6094 * gdb.hp/ctti-add3.cc: new file.
6095 * gdb.hp/dbx.exp: new file.
6096 * gdb.hp/exception.cc: new file.
6097 * gdb.hp/exception.exp: new file.
6098 * gdb.hp/foll-exec.c: new file.
6099 * gdb.hp/foll-exec.exp: new file.
6100 * gdb.hp/foll-fork.c: new file.
6101 * gdb.hp/foll-fork.exp: new file.
6102 * gdb.hp/foll-vfork.c: new file.
6103 * gdb.hp/foll-vfork.exp: new file.
6104 * gdb.hp/inherit-hp.exp: new file.
6105 * gdb.hp/more-steps.exp: new file.
6106 * gdb.hp/namespace.cc: new file.
6107 * gdb.hp/namespace.exp: new file.
6108 * gdb.hp/optimize.exp: new file.
6109 * gdb.hp/pxdb.c: new file.
6110 * gdb.hp/pxdb.exp: new file.
6111 * gdb.hp/quicksort.exp: new file.
6112 * gdb.hp/reg-test.exp: new file.
6113 * gdb.hp/reg-test.s: new file.
6114 * gdb.hp/sized-enum.c: new file.
6115 * gdb.hp/sized-enum.exp: new file.
6116 * gdb.hp/start-stop.exp: new file.
6117 * gdb.hp/templ-hp.cc: new file.
6118 * gdb.hp/templ-hp.exp: new file.
6119 * gdb.hp/thr-lib.c: new file.
6120 * gdb.hp/thr-lib.exp: new file.
6121 * gdb.hp/thr-lib.h: new file.
6122 * gdb.hp/thr-liblib.c: new file.
6123 * gdb.hp/virtfun-hp.c: new file.
6124 * gdb.hp/virtfun-hp.exp: new file.
6125 * gdb.hp/watch-cmd.exp: new file.
6126 * gdb.hp/watch-hp.exp: new file.
6127 * gdb.hp/xdb1.exp: new file.
6128 * gdb.hp/xdb2.exp: new file.
6129 * gdb.hp/xdb3.exp: new file.
6130
6131 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6132
6133 The following files are part of the HP merge; some had longer
6134 names at HP, but have been renamed to be no more than 14
6135 characters in length.
6136
6137 * gdb.base/ss.h: new file.
6138 * gdb.base/call-ar-st.c: new file.
6139 * gdb.base/call-ar-st.exp: new file.
6140 * gdb.base/call-rt-st.c: new file.
6141 * gdb.base/call-rt-st-exp: new file.
6142 * gdb.base/call-strs.exp: new file.
6143 * gdb.base/ena-dis-br.exp: new file.
6144 * gdb.base/environ.exp: new file.
6145 * gdb.base/long_long.exp: new file.
6146 * gdb.base/sect-cmd.exp: new file.
6147 * gdb.base/shlib-cl2.exp: new file.
6148 * gdb.base/smoke.exp: new file.
6149 * gdb.base/so-impl-ld.c: new file.
6150 * gdb.base/so-impl-ld.exp: new file.
6151 * gdb.base/so-indr-cl.c: new file.
6152 * gdb.base/so-indr-cl.exp: new file.
6153 * gdb.base/varargs.exp: new file.
6154 * gdb.base/volatile.exp: new file.
6155 * gdb.base/whatis-exp.exp: new file.
6156 * gdb.base/display.exp: new file.
6157 * gdb.c++/derivation.exp: new file.
6158 * gdb.c++/local.exp: new file.
6159 * gdb.c++/member-ptr.exp: new file.
6160 * gdb.c++/overload.exp: new file.
6161 * gdb.c++/ovldbreak.exp: new file.
6162 * gdb.c++/ref-types.exp: new file.
6163 * gdb.c++/ref-types2.exp: new file.
6164 * gdb.c++/userdef.exp: new file.
6165
6166 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6167
6168 * gdb.base/default.exp: Reflect wording change in remote.c.
6169
6170 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
6171
6172 * gdb.base/help.exp: Update to reflect current text.
6173
6174 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6175
6176 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6177 they're stack variables and contain garbage.
6178 * gdb.c++/anon-union.exp: new file.
6179
6180 The following changes were made by David Taylor
6181 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6182 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6183 in changes by HP.
6184
6185 * gdb.base/bitops.exp: new file.
6186 * gdb.base/default.exp: change expected messages for catch and
6187 info catch tests to reflect HP merge changes.
6188 * gdb.base/enable-disable-break.exp
6189 * gdb.base/ending-run.c: new file.
6190 * gdb.base/long_long.c: new file.
6191 * gdb.base/maint.exp: new file.
6192 * gdb.base/pointers2.exp: new file.
6193 * gdb.base/shlib-call2.exp: new file.
6194 * gdb.base/solib.exp: new file.
6195 * gdb.base/step-test.c: new file.
6196 * gdb.c++/anon-union.cc: new file.
6197 * gdb.c++/local.cc: new file.
6198 * gdb.c++/member-pointer.cc: new file.
6199 * gdb.c++/method.cc: new file.
6200 * gdb.c++/ref-types.cc: new file.
6201 * gdb.c++/ref-types2.cc: new file.
6202 * gdb.c++/userdef.cc: new file.
6203
6204 * gdb.base/scope.exp: compile one file at a time, then link.
6205 * gdb.base/langs.exp: ditto.
6206 * gdb.base/list.exp: ditto.
6207
6208 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6209
6210 The following changes were made by David Taylor
6211 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6212 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6213 in changes by HP.
6214
6215 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6216 skip tests. When compiling pass c++ flag to gdb_compile.
6217 * gdb.c++/
6218
6219 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6220 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6221 (skip_hp_tests): new function.
6222 (gdb_preprocess): new function.
6223
6224 * configure.in (hpdir): decide whether to configure gdb.hp.
6225 * configure: regenerated.
6226
6227 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6228 to delete on clean.
6229 (EXECUTABLES): update to reflect new additions.
6230 * gdb.base/commands.exp: update message expected.
6231 * gdb.base/default.exp: add copyright notice.
6232 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6233 * gdb.base/help.exp: update messages to reflect current text.
6234 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6235 targets for recurse tests.
6236 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6237 skip this file.
6238
6239 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6240 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6241 compilation.
6242 * gdb.c++/misc.exp: ditto.
6243 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6244 run the tests. tell gdb_compile that it's a c++ compilation.
6245
6246 * gdb.threads/pthreads.exp: fix typo in message.
6247
6248 * gdb.base/all-bin.exp: new file.
6249 * gdb.base/arithmet.exp: new file.
6250 * gdb.base/assign.exp: new file.
6251 * gdb.base/completion.exp: new file.
6252 * gdb.base/cond-expr.exp: new file.
6253 * gdb.base/condbreak.exp: new file.
6254 * gdb.base/define.exp: new file.
6255 * gdb.base/dollar.exp: new file.
6256 * gdb.base/environment.exp: new file.
6257 * gdb.base/eval-skip.exp: new file.
6258 * gdb.base/jump.exp: new file.
6259 * gdb.base/logical.exp: new file.
6260 * gdb.base/pointers.exp: new file.
6261 * gdb.base/relational.exp: new file.
6262 * gdb.base/section_command.exp: new file.
6263 * gdb.base/whatis-expr.exp: new file.
6264
6265 * gdb.base/all-types.c: new file.
6266 * gdb.base/call-array-struct.c: new file.
6267 * gdb.base/call-return-struct.c: new file.
6268 * gdb.base/call-strings.c: new file.
6269 * gdb.base/callfuncs2.c: new file.
6270 * gdb.base/condbreak.c: new file.
6271 * gdb.base/constvars.c: new file.
6272 * gdb.base/display.c: new file.
6273 * gdb.base/int-type.c: new file.
6274 * gdb.base/jump.c: new file.
6275 * gdb.base/miscexprs.c: new file.
6276 * gdb.base/pointers.c: new file.
6277 * gdb.base/pointers2.c: new file.
6278 * gdb.base/shmain.c: new file.
6279 * gdb.base/shr1.c: new file.
6280 * gdb.base/shr2.c: new file.
6281 * gdb.base/solib.c: new file.
6282 * gdb.base/solib1.c: new file.
6283 * gdb.base/solib2.c: new file.
6284 * gdb.base/varargs.c: new file.
6285 * gdb.c++/derivation.cc: new file.
6286 * gdb.c++/overload.cc: new file.
6287 * gdb.c++/ovldbreak.cc: new file.
6288 * gdb.hp/attach.c: new file.
6289 * gdb.hp/attach2.c: new file.
6290 * gdb.hp/average.c: new file.
6291 * gdb.hp/compiler.c: new file.
6292 * gdb.hp/compiler.cc: new file.
6293 * gdb.hp/execd-program.c: new file.
6294 * gdb.hp/follow-exec.c: new file.
6295 * gdb.hp/follow-fork.c: new file.
6296 * gdb.hp/follow-vfork-and-exec.c: new file.
6297 * gdb.hp/misc-hp.cc: new file.
6298 * gdb.hp/more-steps.c: new file.
6299 * gdb.hp/optimize.c: new file.
6300 * gdb.hp/quicksort.c: new file.
6301 * gdb.hp/run-hp.c: new file.
6302 * gdb.hp/start-stop.c: new file.
6303 * gdb.hp/sum.c: new file.
6304 * gdb.hp/templates-hp.cc: new file.
6305 * gdb.hp/thread-local-in-lib.c: new file.
6306 * gdb.hp/thread-local-in-lib.h: new file.
6307 * gdb.hp/thread-local-in-lib.lib.c: new file.
6308 * gdb.hp/vforked-program.c: new file.
6309 * gdb.hp/virtfunc-hp.cc: new file.
6310 * gdb.hp/watchpoint-hp.c: new file.
6311 * gdb.hp/xdb.c: new file.
6312 * gdb.hp/xdb0.c: new file.
6313 * gdb.hp/xdb0.h: new file.
6314 * gdb.hp/xdb1.c: new file.
6315
6316 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6317
6318 The following change was made by Edith Epstein
6319 <eepstein@cygnus.com> as part of a project to merge in changes
6320 originally made by HP; HP did not create ChangeLog entries.
6321
6322 * gdb.c++/demangle.exp: changed the expected output for some
6323 ARM-style mangling -- removed second reference to datatype.
6324 For example, maint demangle __dt__11T1__pt__2_cFv
6325 T1<char>::~T1<char>(void)
6326 becomes,
6327 maint demangle __dt__11T1__pt__2_cFv
6328 T1<char>::~T1(void)
6329
6330 (test_hp_style_demangling): new hp specific demangling test cases.
6331
6332 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6333
6334 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6335 * gdb.trace/backtrace.exp: Likewise.
6336 * gdb.trace/circ.exp: Likewise.
6337 * gdb.trace/collection.exp: Likewise.
6338 * gdb.trace/deltrace.exp: Likewise.
6339 * gdb.trace/infotrace.exp: Likewise.
6340 * gdb.trace/limits.exp: Likewise.
6341 * gdb.trace/packetlen.exp: Likewise.
6342 * gdb.trace/passc-dyn.exp: Likewise.
6343 * gdb.trace/passcount.exp: Likewise.
6344 * gdb.trace/report.exp: Likewise.
6345 * gdb.trace/save-trace.exp: Likewise.
6346 * gdb.trace/tfind.exp: Likewise.
6347 * gdb.trace/tracecmd.exp: Likewise.
6348 * gdb.trace/while-dyn.exp: Likewise.
6349 * gdb.trace/while-stepping.exp: Likewise.
6350
6351 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6352
6353 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6354
6355 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6356
6357 From Brendan Kehoe:
6358 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6359 int return types.
6360
6361 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6362
6363 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6364 remote dos host testing right.
6365
6366 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6367
6368 * gdb.base/corefile.exp: remove some xfails.
6369
6370 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6371
6372 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6373 have different timestamps.
6374
6375 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6376
6377 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6378 gdb.base/default.exp: Replace "exec" with "executable".
6379
6380 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6381
6382 * gdb.base/default.exp: Change else if to elseif from previous
6383 delta.
6384
6385 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6386
6387 * gdb.base/default.exp: Add brace missing from previous delta.
6388
6389 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6390
6391 * gdb.base/default.exp: Support test for info float for all
6392 varieties of arm toolchain.
6393
6394 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
6395
6396 * gdb.trace/*.exp: remove "remote_download" command.
6397
6398 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
6399
6400 * gdb.trace/*.exp: remove -gdwarf from compile.
6401
6402 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6403
6404 * gdb.trace/configure.in(AC_INIT): typo
6405 * gdb.trace/configure: regenerated
6406
6407 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
6408
6409 * config/m68k-emc.exp: New file.
6410 * lib/<emc-support.exp trace-support.exp}: New files.
6411 * configure.in: add new test directory gdb.trace.
6412 * gdb.trace/{configure configure.in Makefile.in}: New files.
6413 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6414 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6415 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6416 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6417 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6418 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6419 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
6420
6421 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
6422
6423 * gdb.c++/classes.exp: Change all regular expressions to match
6424 arbitrary combinations of newline/carriage-return, so that they
6425 will work equally well on Unix and Windows.
6426 * gdb.c++/inherit.exp: ditto.
6427 * gdb.c++/virtfunc.exp: ditto.
6428
6429 1998-08-11 Dawn Perchik <dawn@cygnus.com>
6430
6431 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6432
6433 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6434
6435 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6436 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6437 to use a0-a3/d0-d3 as needed.
6438
6439 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6440
6441 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6442 * gdb.disasm/am33.exp: Corresponding changes.
6443
6444 1998-07-11 Felix Lee <flee@cygnus.com>
6445
6446 * gdb.base/callfuncs.exp: add cmp10 test.
6447 * gdb.base/callfuncs.c (cmp10): new function.
6448
6449 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6450
6451 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
6452 into two parts to get around a synchronization problem in expect.
6453
6454 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6455
6456 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6457
6458 * configure.in: Add options for gdbtk testsuite.
6459
6460 * configure: Regenerate.
6461
6462 * gdb.gdbtk: New directory to hold gdbtk tests.
6463
6464 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6465
6466 * gdb.fortran/types.exp: Escape brackets in expect patterns
6467 for test_float_literal_types_accepted tests.
6468 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6469 before run test.
6470
6471 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6472
6473 * am33.exp: Just compile, do not link the testcase.
6474 * am33.s: Add ".am33" pseudoop to force am33 mode.
6475
6476 1998-06-25 Felix Lee <flee@cygnus.com>
6477
6478 * gdb.base/setshow.exp: make sure $pc is sane.
6479
6480 * gdb.stabs/weird.exp: split expect patterns properly.
6481
6482 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6483
6484 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6485 * gdb.disasm/am33.exp: Run it.
6486
6487 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
6488
6489 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6490 match processing (and eliminate spurious timeouts when running).
6491
6492 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
6493
6494 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6495 exception test, but conditionalize it on target [mach | gnu].
6496
6497 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
6498
6499 * gdb.base/overlays.exp: fixup compile line for linker script.
6500
6501 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6502
6503 * gdb.fortran/types.exp: don't guess at float size.
6504
6505 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6506
6507 * gdb.base/exprs.exp: delete test that depends on int size.
6508
6509 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6510
6511 * config/sim.exp: Removed checks for target triplets.
6512 (gdb_target_sim): Use gdb,target_sim_options.
6513
6514 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6515
6516 * gdb.base/reread.exp: New file.
6517 * gdb.base/reread1.c: New file.
6518 * gdb.base/reread2.c: New file.
6519
6520 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6521
6522 * config/sim.exp: Use 'target sim -sparclite' when running
6523 SPARClite programs.
6524
6525 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6526
6527 * gdb.base/structs2.exp: New file.
6528 * gdb.base/structs2.c: New file.
6529
6530 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6531
6532 * gdb.asm/common.inc: New file.
6533 * gdb.asm/d10v.inc: New file.
6534 * asm-source.exp: Pass -I's to gas to find .inc files.
6535 Update line numbers in expected output.
6536 * asmsrc1.s: Rewrite.
6537 * asmsrc2.s: Rewrite.
6538 * configure.in: Create arch.inc symlink.
6539 * configure: Regenerate.
6540 * Makefile.in (distclean): Delete arch.inc.
6541
6542 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6543
6544 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6545 (t_enum_value2): ditto
6546 (t_enum_value3): ditto
6547 (main): ditto
6548 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6549
6550 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6551 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6552 change.
6553 Use gdb_test instead of send_gdb/gdb_expect sequences.
6554
6555 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6556
6557 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6558 not void.
6559
6560 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6561
6562 * gdb.base/branches.c: Code with lots of loops and
6563 subroutines. Used to test gdbs ability to single step through PC
6564 changes, especially to test mips-tdep.c:mips_next_pc
6565
6566 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6567
6568 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6569 more rigorous EGCS C++ error checking.
6570
6571 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6572
6573 * gdb.base/help.exp: Clean up `help set args' and `help show args'
6574 tests.
6575 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
6576 function when asleep.
6577 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
6578 for i*86 Linux and SVR4 signal handling problems.
6579 Remove linux xfail for `next to handler in signals_tests_1', fixed
6580 by recent infrun.c change.
6581 Limit backtrace to 10 frames to avoid timeout problems with infinite
6582 stack backtraces.
6583 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6584 target.[ch] change.
6585
6586 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6587
6588 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6589 for a newline from gdb before continuing.
6590 (default_gdb_exit): Just look for y or n.
6591 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6592 it does, fail the rests of the tests in the file.
6593
6594 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6595
6596 * config/cygmon.exp: New file.
6597
6598 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6599
6600 * gdb.base/list.exp: Fix problem with "list default lines around
6601 main" test on remote targets.
6602
6603 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6604 run test on remote targets.
6605
6606 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6607
6608 * gdb.asm: New directory.
6609 * configure.in: Configure it.
6610 * configure: Regenerate.
6611 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6612 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6613
6614 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6615
6616 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6617
6618 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
6619
6620 * gdb.base/overlays (several files): Merge the two overlay
6621 managers into one. Change variables (foox, barx, bazx, grbxx)
6622 back into ints but force them to load in their proper sections.
6623
6624 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6625
6626 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6627 on-chip insn memory and IMAP1 to upper 128k.
6628 (D10VCopy): Handle memory regions crossing 16k boundaries.
6629 (D10VCopy): Transfer data in 32 bit chunks.
6630
6631 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6632
6633 * gdb.base/overlays.c (main): Exit normally when result is
6634 correct.
6635
6636 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6637 map. Include space for printf in .text segment.
6638
6639 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6640 updated d10v memory VMA/LMA map.
6641 (D10VCopy): Call D10VTranslate.
6642
6643 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6644
6645 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6646
6647 * gdb.base/bar.c (barx, bar): Change variable to small array so
6648 that it won't be put into the .sdata - small data -
6649 section. Update reference.
6650 * gdb.base/baz.c (bazx, baz): Ditto.
6651 * gdb.base/foo.c (foox, foo): Ditto.
6652 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6653
6654 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6655 to be arrays.
6656
6657 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
6658
6659 * gdb.base/overlays.exp: fix up and get working again.
6660 Add tests for backtraces from an overlay function.
6661
6662 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6663
6664 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6665 "calling function with watchpoint enabled".
6666
6667 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6668
6669 * gdb.base/break.exp (test_next_with_recursion): Remove
6670 gdb_suppress_tests for d10v-*-*.
6671 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6672 pending review of whether it is useful or not.
6673
6674 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6675
6676 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6677
6678 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6679
6680 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6681 * config/dve.exp: New file to support Densan boards.
6682
6683 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6684
6685 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6686 reads and BSD.
6687
6688 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6689
6690 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6691 response.
6692
6693 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6694
6695 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6696
6697 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6698 test.
6699
6700 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6701 target_sizeof_long and target_bigendian_p.
6702 (structs_by_value, structs_by_reference): Check values according
6703 to targets word size and endianess.
6704
6705 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6706
6707 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6708 output.
6709
6710 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6711
6712 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6713 Update test of set args help to match source change.
6714
6715 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6716
6717 * gdb.base/default.exp: Expect help system output to be in
6718 alphabetical order.
6719 * gdb.base/help.exp: Ditto.
6720
6721 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6722
6723 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6724 "i*86-pc-linux-gnu*".
6725 * gdb.base/interrupt.exp: Ditto.
6726 * gdb.base/corefile.exp: Ditto.
6727
6728 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6729 define vxworks when building the testcase.
6730
6731 * gdb.base/ptype.exp: Fix testnames to be unique.
6732 * gdb.base/radix.exp: Ditto.
6733 * gdb.base/term.exp: Ditto.
6734 * gdb.base/whatis.exp: Ditto.
6735 * gdb.c++/classes.exp: Ditto.
6736
6737 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6738
6739 * gdb.base/callfuncs.exp: Fix indentation.
6740
6741 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6742 suppress_flag has been set.
6743 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6744 target feature.
6745
6746 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6747
6748 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6749 the testcase.
6750
6751 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6752 set_debug_traps() and breakpoint().
6753 * gdb.c++/misc.cc (main): Ditto.
6754 * gdb.c++/templates.cc (main): Ditto.
6755 * gdb.c++/virtfunc.cc (main): Ditto.
6756
6757 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6758
6759 * lib/gdb.exp(gdb_step_for_stub): New function.
6760 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6761 exists, reload the executable and do a "continue" instead of
6762 doing a jump.
6763 (runto_main): Use gdb_step_for_stub.
6764
6765 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6766 tests to have unique names.
6767 * gdb.base/callfuncs.exp: Ditto.
6768 * gdb.base/commands.exp: Ditto.
6769 * gdb.base/default.exp: Ditto.
6770 * gdb.base/help.exp: Ditto.
6771 * gdb.base/list.exp: Ditto.
6772 * gdb.base/opaque.exp: Ditto.
6773 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6774 similar tests.
6775
6776 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6777 * gdb.c++/cplusfuncs.cc: Ditto.
6778 * gdb.c++/virtfunc.cc: Ditto.
6779
6780 * config/monitor.exp: Keep track of the last file we saw, rather
6781 than trying to get the info from gdb.
6782
6783 * gdb.fortran/types.exp: Move comment to previous line.
6784
6785 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6786
6787 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6788 target mode.
6789
6790 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6791
6792 From Bob Manson:
6793 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6794 string from GDB when it connects.
6795
6796 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6797
6798 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6799
6800 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6801 if we can't get a debug format from GDB (we may be testing an
6802 older GDB). Use a 10 second timeout when checking for the format.
6803
6804 * gdb.stabs/weird.exp: Fix quoting.
6805
6806 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6807
6808 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6809
6810 * config/arm-ice.exp: New file.
6811
6812 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6813
6814 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6815 until it has been modified to work with the new testsuite.
6816
6817 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
6818 testcase won't compile, cause all of the testcases in the file to
6819 fail instead.
6820
6821 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6822 (gdb_clear_suppressed): New procedure.
6823 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6824 it contains a positive value.
6825
6826 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6827
6828 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6829
6830 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6831
6832 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6833
6834 * lib/gdb.exp (setup_xfail_format): New function.
6835 (get_debug_format): New function to get debug format.
6836 (debug_format): New global variable to hold last value set
6837 by get_debug_format.
6838 * gdb.base/list.exp: Call get_debug_format and expect some
6839 tests to fail for DWARF 1 and COFF formats.
6840 * gdb.c++/ptype.exp: Ditto.
6841 * gdb.c++/classes.exp: Ditto.
6842 * gdb.c++/cplusfuncs.exp: Ditto.
6843 * gdb.c++/inherit.exp: Ditto.
6844 * gdb.c++/templates.exp: Ditto.
6845 * gdb.c++/virtfunc.exp: Ditto.
6846
6847 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6848
6849 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6850 host doesn't have a currently-open connection.
6851
6852 * config/sparclet.exp: Cleanups and fixes to make it generic for
6853 any gdb stub target. Handle cases where gdb doesn't respond when
6854 interrupted in a sane fashion.
6855
6856 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6857 same thing in a totally different way.
6858
6859 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6860 setting "timeout".
6861 (gdb_start): We set the global gdb_prompt variable in
6862 default_gdb_init now.
6863
6864 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6865
6866 * gdb.base/printcmds.exp: Fix "check for floating addition"
6867 regexp to accept results within approx +/- .01 of exact value.
6868 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6869
6870 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6871
6872 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6873 properly.
6874 (gdb_expect): Add optional timeout parameter, and add timeout
6875 value to various calls.
6876 (gdb_suppress_tests): Only give one warning message per group.
6877
6878 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6879
6880 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6881 global variables. Handle getting a value for $timeout more
6882 gracefully.
6883
6884 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6885
6886 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6887 initialize.
6888 (default_gdb_init): New procedure; allow gdb_init to be overridden
6889 by a target configuration file.
6890 (gdb_expect): Pass the timeout to remote_expect.
6891
6892 * config/monitor.exp(gdb_load): Fix typo in regexp.
6893
6894 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6895
6896 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6897
6898 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6899
6900 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6901 here. Call gdb_target_exec before rebooting the target, to make
6902 sure the connection to the target is closed.
6903 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6904 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6905 Also detect "Timeout reading from remote" error.
6906
6907 * config/gdbserver.exp: Pass the executable being loaded to
6908 gdb_target_monitor. Don't call gdb_file_cmd here; let
6909 gdb_target_monitor do it.
6910
6911 * gdb.disasm/hppa.exp: Don't use exec_output.
6912
6913 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6914
6915 * gdb.base/list.exp: If we're debugging a non-native target,
6916 try to set the pc register to point to the start of the
6917 program before doing the first list command.
6918
6919 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6920 test_calls after restarting.
6921
6922 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6923 reloading.
6924
6925 * gdb.base/watchpoint.exp: Fix typo.
6926
6927 * gdb.base/setshow.exp: Check for use_gdb_stub.
6928
6929 * gdb.base/break.exp: Fix continue until exit test for the gdb
6930 stub case.
6931 * gdb.base/langs.exp: Ditto.
6932
6933 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6934 gdb_load_offset. If we weren't given a file to load, figure out
6935 what the current file is and use it.
6936
6937 * config/i386-bozo.exp: New file.
6938
6939 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6940
6941 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6942 feature.
6943
6944 * config/proelf.exp: New entry.
6945
6946 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6947
6948 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6949 of regexps.
6950
6951 * gdb.base/watchpoint.exp: Don't run the test_stepping
6952 tests if gdb can't call functions on the target.
6953
6954 * gdb.base/setshow.exp: Don't run the set prompt tests if
6955 the board has gdb_prompt set.
6956
6957 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6958
6959 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6960 * gdb.base/commands.exp: Likewise.
6961 * gdb.base/setshow.exp: Likewise.
6962
6963 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6964
6965 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6966 feature.
6967
6968 * config/i960.exp: New file.
6969
6970 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6971
6972 * gdb.base/funcargs.exp: Check for gdb,short_int target
6973 feature instead of looking for explicit target triplets.
6974
6975 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
6976
6977 * gdb.base/printcmds.exp: add a couple more tests a la
6978 "p 123DEADBEEF", to check parse_number.
6979 * top.c: change "to enable to enable" to "to enable" in a couple
6980 of help strings.
6981
6982 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6983
6984 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6985 on the mn10300.
6986
6987 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6988
6989 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6990 where the test executable is run with explicit args.
6991 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6992
6993 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6994
6995 * gdb.base/run.c: Use FAKEARGV to build test executable that
6996 does not require a command line arg, since most simulators
6997 don't currently support passing such an arg into the simulated
6998 program.
6999 * gdb.base/commands.exp: Change tests to insert the proper
7000 value as the arg to the first recursive factorial call. Change
7001 compilation line to define FAKEARGV at compile time.
7002
7003 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7004
7005 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7006 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7007 function with watchpoint enabled" test.
7008
7009 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7010
7011 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7012 Don't call gdb_test when the command doesn't return to a gdb prompt.
7013
7014 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7015 "Tests restarted" messages.
7016
7017 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7018
7019 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7020
7021 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
7022
7023 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7024 for INFO SYMBOL; add help tests for OVERLAY commands.
7025 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7026 add tests for OVERLAY commands
7027 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7028 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7029 * gdb.base/sigall.c: add usestubs code frag
7030 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
7031
7032 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7033
7034 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7035 failures.
7036 (gdb_stop_suppressing_tests): Note that tests have restarted.
7037
7038 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
7039
7040 * config/h8300.exp: New file.
7041
7042 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
7043
7044 * gdb.base/setshow.exp: Check for the existence of a
7045 feature, not its value.
7046
7047 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
7048
7049 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7050
7051 * gdb.base/scope.exp: It's now init0(), not init().
7052
7053 * gdb.base/scope0.c: For now, change init() to be init0().
7054
7055 * config/monitor.exp: Use gdb_serial in preference to serial
7056 or netport.
7057
7058 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7059 and it's not already set.
7060
7061 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7062
7063 * gdb.base/setshow.exp: Only test the run command if the target
7064 isn't using a stub and if it supports argument passing.
7065
7066 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7067
7068 * config/udi.exp(gdb_start): Make sure UDICONF is set
7069 properly before starting gdb.
7070
7071 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7072
7073 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7074 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7075 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7076
7077 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7078
7079 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7080 specialized code to reboot the board, use remote_reboot instead.
7081
7082 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7083
7084 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7085
7086 * config/monitor.exp: Make sure we disconnect from the target.
7087 Also, try a reboot/reload cycle instead of failing if the
7088 load fails.
7089
7090 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7091
7092 * gdb.base/default.exp: Don't set match_max.
7093 * gdb.base/help.exp: Ditto.
7094 * gdb.base/list.exp: Ditto.
7095 * gdb.base/signals.exp: Ditto.
7096
7097 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7098 set, use remote_ld to download the testcase instead of
7099 the GDB loader.
7100
7101 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7102
7103 * config/vr5000.exp: New file.
7104
7105 * config/monitor.exp(gdb_target_monitor): Add pattern for
7106 "Ending remote" to detect errors in connecting.
7107
7108 * gdb.base/setshow.exp: Add .* within auto language test.
7109
7110 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7111 target feature.
7112
7113 * config/monitor.exp(gdb_load): Check for a failure when loading,
7114 and reboot the board if necessary.
7115
7116 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7117 a set of tests. Remove print.* from the patterns being checked.
7118
7119 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7120
7121 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7122 refer to gdb_spawn_id.
7123
7124 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7125 longer used.
7126 * config/sparclet.exp: Ditto.
7127 * config/sparclet-old.exp: Ditto.
7128 * config/slite.exp: Ditto.
7129 * config/sim.exp: Ditto.
7130 * gdb.base/funcargs.exp: Ditto.
7131
7132 * lib/gdb.exp:Remove references to gdb_spawn_id.
7133 (gdb_expect): Move to remote.exp.
7134
7135 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7136
7137 * config/monitor.exp: Detect the "Couldn't establish connection"
7138 message from GDB.
7139
7140 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7141
7142 * gdb.base/bitfields.exp: Use runto instead of explicit
7143 gdb_run_cmd/gdb_expect sequences.
7144
7145 * gdb.base/break.exp(text_next_with_recursion): Add match for
7146 gdb_expect call.
7147
7148 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7149 We also need to handle the "A program is being debugged already"
7150 prompt from gdb. Use gdb_test to set the baud rate.
7151
7152 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7153 to 20000. Really. I mean it.
7154
7155 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7156
7157 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7158 fails. If suppress_flag is set, skip perror message about not
7159 being able to send to GDB.
7160 (send_gdb): If suppress_flag is set, don't try to send commands to
7161 GDB.
7162 (gdb_expect): If suppress_flag is set, always fail immediately.
7163 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7164 (gdb_init): Call gdb_stop_suppressing_tests.
7165 (default_gdb_exit): Ditto.
7166 (default_gdb_start): Ditto.
7167
7168 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7169 gdb_stop_suppressing_tests as appropriate.
7170 * gdb.base/break.exp: Ditto.
7171 * gdb.base/callfuncs.exp: Ditto.
7172 * gdb.base/commands.exp: Ditto.
7173 * gdb.base/exprs.exp: Ditto.
7174 * gdb.base/funcargs.exp: Ditto.
7175 * gdb.base/list.exp: Ditto.
7176 * gdb.base/recurse.exp: Ditto.
7177 * gdb.base/scope.exp: Ditto.
7178 * gdb.base/structs.exp: Ditto.
7179 * gdb.c++/inherit.exp: Ditto.
7180
7181 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7182
7183 * config/vr4300.exp: New file.
7184
7185 * gdb.*/*.exp: Call gdb_expect instead of expect.
7186
7187 * lib/gdb.exp(gdb_expect): New function.
7188
7189 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7190
7191 * lib/gdb.exp(gdb_init): New function.
7192
7193 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7194 for each individual variable set.
7195
7196 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7197 name.
7198
7199 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7200
7201 * gdb.base/scope.exp: Use gdb_test.
7202
7203 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7204 aborting; the testsuite driver will do that for us (see
7205 gdb_finish). Also, use gdb_test in a few more places.
7206
7207 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7208
7209 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7210
7211 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7212
7213 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7214 and "add_tests" are not at the same address.
7215
7216 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7217
7218 * gdb.base/ptype.exp: Use gdb_test.
7219
7220 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7221
7222 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7223 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7224 left in. No longer expect them to fail.
7225
7226 * gdb.stabs/*.mt; Deleted, no longer used.
7227 * gdb.stabs/configure.in: Remove references to target makefile
7228 frags.
7229 * gdb.stabs/configure: Rebuilt.
7230
7231 * gdb.disasm/*.mt: Deleted, no longer used.
7232 * gdb.disasm/configure.in: Remove references to target makefile
7233 frags. Use "sh3.s" as the unique filename for this directory.
7234 * gdb.disasm/configure: Rebuilt.
7235
7236 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7237 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7238 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7239
7240 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7241
7242 * config/udi.exp: Use mondfe,name instead of remote_host.
7243
7244 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7245
7246 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7247 a function with a watchpoint enabled on the mn10200.
7248
7249 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7250 before trying to create it!
7251
7252 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7253
7254 * config/vx.exp: Use hostname instead of netport.
7255
7256 * config/vxworks.exp: New file.
7257
7258 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7259
7260 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7261 gdb before assuming everything worked. Send a ^C if a timeout
7262 occurs.
7263
7264 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7265 $gdb_spawn_id directly.
7266 (gdb_run_cmd): Try _start as well as start. Use the target feature
7267 gdb,start_symbol as the symbol to start from when jumping.
7268
7269 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7270
7271 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7272 redundant) test.
7273
7274 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7275 it doesn't lose for 16bit integer systems.
7276
7277 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7278
7279 * gdb.fortran/types.exp: If the target doesn't support "double"
7280 data types, then expect "real" types to only be 4 bytes.
7281
7282 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7283 call tests if the target doesn't support inferior function calls.
7284
7285 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7286 in printf tests.
7287
7288 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7289
7290 * gdb.base/help.exp: Disable "help set", "help show", and
7291 "help support". Simplify regexp for "help stack".
7292
7293 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7294 to 60 seconds. Temporarily set match_max to 15000 around the
7295 "info copying" test.
7296
7297 * gdb.base/nodebug.exp: Don't try to do an inferior function
7298 call if the target doesn't support them.
7299 * gdb.base/printcmds.exp: Likewise.
7300 * gdb.base/setvar.exp: Likewise.
7301 * gdb.base/structs.exp: Likewise.
7302 * gdb.c++/templates.exp: Likewise.
7303 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7304
7305 * gdb.base/recurse.exp: Enable for the mn10200.
7306
7307 * configure.in: Do configure gdb.stabs directory for *-*-elf
7308 targets.
7309 * configure: Rebuilt.
7310
7311 * gdb.base/break.exp: Check for gdb,noresults before testing
7312 exit status and/or results from the target.
7313 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7314 * lib/gdb.exp: Remove old (now bogus) initialization of
7315 noinferior, noargs, noresults and nosignals.
7316
7317 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7318
7319 * config/sh.exp: New file.
7320
7321 * config/slite.exp: Try to connect multiple times to the board
7322 before rebooting. Only send a "monitor run" if need_monitor_run
7323 is set.
7324
7325 * gdb.base/break.exp: Don't do the "stub continue" test if
7326 the target has gdb_stub set.
7327
7328 * gdb.base/callfuncs.exp: Increase the timeout.
7329
7330 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7331 if the target has gdb,noinferiorio set.
7332
7333 * gdb.base/list.exp: Increase match_max to 10000 characters.
7334
7335 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7336
7337 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7338 target.
7339
7340 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7341
7342 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7343
7344 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7345 trying to delete the copy of gdb. Catch the file delete so we
7346 don't die if the delete fails; also, the file should be copied to
7347 the host, not to the build.
7348
7349 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7350
7351 * lib/gdb.exp(gdb_test): Surround the result pattern with
7352 parenthesis in case it contains multiple regexps separated
7353 with |.
7354
7355 * gdb.base/watchpoint.exp: Use gdb_test.
7356 * gdb.base/default.exp: Ditto.
7357
7358 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7359
7360 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
7361
7362 * gdb.base/scope.exp: Use gdb_test.
7363 * gdb.c++/classes.exp: Ditto.
7364 * gdb.c++/inherit.exp: Ditto.
7365
7366 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7367
7368 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7369 remote_exec instead.
7370 * gdb.base/corefile.exp: Don't be ridiculous.
7371 * gdb.base/*.c: Add missing stub invocations.
7372
7373 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7374
7375 * config/slite.exp: Miscellaneous fixes.
7376
7377 * lib/gdb.exp: Fix runto.
7378
7379 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7380 the target.
7381
7382 * gdb.base/watchpoint.exp: Fix regexp.
7383
7384 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7385 close and wait commands, as the descriptor may now be
7386 invalid. Always call "remote_close host".
7387
7388 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7389
7390 Major rewrite for testsuite revision.
7391
7392 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7393 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7394 instead of relying on spawn_id to always contain a valid
7395 spawn id.
7396 (get_compiler_info): New procedure to build the ${binfile}.ci
7397 file, instead of replicating this in N different places.
7398 (gdb_compile): New procedure.
7399
7400 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7401 appropriate arguments) instead of compile. Use gdb_test in a lot
7402 more places. Use send_gdb instead of send. Always run gdb_start
7403 at the start of a testcase, as this is no longer done magically.
7404
7405 config/*-gdb.exp: Rename without the -gdb suffix.
7406
7407 config/mips.exp: Use remote_close instead of exit_remote_shell.
7408 config/monitor.exp: Use target_info instead of looking at
7409 baud, timeout, etc.
7410 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7411
7412 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7413
7414 * gdb.c++/templates.exp (test_ptype_of_templates),
7415 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7416 Update expect patterns for destructors and assignment operators
7417 to match corresponding c-typeprint.c changes.
7418 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7419 to destructor breakpoint test, GDB should be able to set the
7420 destructor breakpoint without specifying arguments.
7421
7422 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7423
7424 * gdb.threads/pthreads.exp: Change result for failure to compile due
7425 to lack of pthreads runtime support from an error to simply an
7426 unsupported test, per dejagnu standards.
7427
7428 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7429
7430 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7431 where GDB exits to reduce pattern match time.
7432 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7433
7434 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7435
7436 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
7437
7438 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7439 * gdb.base/default.exp: ditto.
7440 * gdb.base/nodebug.exp: ditto.
7441 * gdb.base/printcmds.exp: ditto.
7442 * gdb.base/ptype.exp: ditto.
7443 * gdb.base/setvar.exp: ditto.
7444 * gdb.base/structs.exp: ditto.
7445 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7446
7447 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7448
7449 * configure, */configure: Rebuild with autoconf 2.12.
7450
7451 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7452
7453 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7454 use new i*86-pc-linux*-gnu quads.
7455 * gdb.base/corefile.exp: Ditto.
7456 * gdb.base/signals.exp: Ditto.
7457 * gdb.base/sigall.exp: Ditto.
7458 * gdb.base/interrupt.exp: Ditto.
7459
7460 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7461 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7462 RedHat 4.0.
7463
7464 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7465 linux. This allows the test case to at least compile on latest
7466 linux, but still not run due to missing the threads runtime library.
7467
7468 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7469
7470 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7471 directory to search gdb directory. Accept and step over conditional
7472 stack alignment code. Consume $prompt in failure cases.
7473 Reset timeout to $oldtimeout instead of some arbitrary value.
7474 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7475 timeout problems with infinite stack backtraces.
7476 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7477 Accept function parameters for linkfunc member.
7478
7479 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7480
7481 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7482 (CXXFLAGS): Remove, unreferenced.
7483 (B_OPTIONS): Add for -B options and add code to initialize with
7484 previous -B options and also add -B option to pick up cross compiled
7485 runtime.
7486 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7487 doing cross compiles.
7488 (target_alias): Declare global.
7489 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7490 to verify that gcc exists in build tree, and if so set CC to that
7491 gcc and to use B_OPTIONS and TARGET_INCLUDES.
7492
7493 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7494
7495 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7496 ptype test for anonymous union. Fixup testcase to match
7497 current gcc debug output.
7498
7499 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7500
7501 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7502 force argument to an unsigned long type.
7503
7504 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7505
7506 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7507 tests and anonymous union print/ptype tests.
7508 * gdb.base/list.exp (test_forward-search): Increase timeout by
7509 5 minutes for the "search extremely long line" case.
7510 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7511 completely optional and that the pass/fail messages use the command as
7512 the message if that third arg is a null string.
7513 (gdb_test_exact): Arrange that a null string pattern means match a
7514 null string output rather than any output, which might include random
7515 errors.
7516 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7517 backtrace test.
7518 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7519 always failing and failure is now exposed by gdb.exp changes.
7520
7521 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7522
7523 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7524 weren't being noted.
7525
7526 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7527
7528 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7529 * gdb.stabs/weird.exp: Remove v_comb xfails.
7530
7531 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
7532
7533 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7534 list.exp scope.exp watchpoint.exp]
7535 Make all timeout error msgs explicitly say "(timeout)".
7536
7537 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
7538
7539 * config/monitor.exp: Increase download timeout to 1000 seconds.
7540
7541 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
7542
7543 * config/m32r.exp: Increase timeout to 120 seconds.
7544
7545 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7546
7547 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7548 and accept older ordering as obsolescent gcc or gdb.
7549 * gdb.c++/templates.exp: Ditto.
7550 * gdb.c++/virtfunc.exp: Ditto.
7551
7552 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7553
7554 * gdb.base/coremaker.c: Add code to mmap some data so we
7555 can check that it ends up in the core file.
7556 * gdb.base/corefile.exp: Add test to read mmapped data
7557 from core file.
7558
7559 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
7560
7561 * config/m32r.exp: New file.
7562
7563 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7564
7565 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7566 that cflags can contains -gstabs, and work correctly for other tests.
7567
7568 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
7569
7570 * gdb.base/setshow.exp: New file, tests show and set.
7571 * gdb.base/setshow.c: New file, tests show and set.
7572 * gdb.base/help.exp: Add test for help set|show annotate.
7573 * gdb.base/default.exp: Add test for set|show annotate.
7574
7575 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7576
7577 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7578 errors unique.
7579 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7580 explicitly.
7581
7582 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7583
7584 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7585 and width commands. This is done elsewhere.
7586 * (gdb_start): Don't call gdb_start_sim here. That's already
7587 done in gdb_load. This fixes lots of failures in default.exp.
7588
7589 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7590
7591 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7592 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7593 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7594 in the same we we treat other failures (since it may be an expected
7595 condition), rather than as an error.
7596 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7597 old test format.
7598
7599 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7600
7601 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7602 (distclean maintainer-clean realclean): No need to remove files
7603 twice. Nuke the duplicates.
7604 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
7605 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
7606 Remove config.h along with other config files.
7607
7608 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7609
7610 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7611 "p func1 ()" and note that rests of tests are skipped.
7612 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7613 setup_xfails for "print func2::coremaker_local".
7614 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7615 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7616 affected by the previous run test.
7617 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7618 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7619 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7620 "pass int powerset tuple" and "pass modeless int powerset tuple".
7621 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7622 "real write 4" and "real write 8".
7623 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7624 setup_xfails for "print vs1 after tuple assign 2",
7625 "print \$i after tuple assign 2", and
7626 "print vs2 after tuple assign 2".
7627 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7628 meaningful error message and return -1 so the caller can
7629 suppress further tests and avoid a cascade of errors.
7630
7631 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7632
7633 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7634 format for printing version.
7635 * gdb.base/default.exp: Ditto.
7636 * gdb.base/interrupt.exp: Fix problem with cascade of
7637 errors if child process dies while calling a function.
7638
7639 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7640
7641 * Makefile.in (VPATH): Add
7642 * Makefile.in (Makefile, config.status): Fix rules so things get
7643 remade when necessary.
7644
7645 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7646
7647 * Makefile.in (just-check): Add path to sibling expect dir
7648 to environment variable specified by RPATH_ENVVAR.
7649
7650 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7651
7652 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7653 (just-check): Add shared library paths for libstdc++, tk,
7654 tcl, bfd, and opcodes to the environment variable specified
7655 in RPATH_ENVVAR.
7656 * configure.in: Add support to recognize --enable-shared flag
7657 and generate correct value for RPATH_ENVVAR.
7658 * configure: Regenerated with autoconf.
7659
7660 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7661
7662 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7663 include all osf versions.
7664 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7665 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7666 when target is linux. When failing to build pthreads test
7667 executable, give more meaningful message.
7668 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7669 arg for pthread_create.
7670
7671 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7672
7673 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7674 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7675 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7676 and -lpthreads (everybody else).
7677 (test_startup): Fail gracefully if threads are not supported.
7678 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7679 "p/c array_index("abcdef",2)" when not gcc compiled.
7680 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7681 "print func2::coremaker_local" when not gcc compiled.
7682 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7683 "ptype on opaque struct tagname (statically)",
7684 "ptype on opaque struct tagname (dynamically) 1", and
7685 "ptype on opaque struct tagname (dynamically) 2"
7686 for not compiled with gcc.
7687 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7688 backtrace when compiled with gcc.
7689 * lib/gdb.exp (runto_main): Return result of "runto main" rather
7690 than always return success.
7691
7692 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7693
7694 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7695
7696 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7697
7698 * gdb.base/structs.exp: Undo last change.
7699
7700 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7701
7702 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7703 encapsulate all the steps/nexts done during self test, starting
7704 at main, and makes them less sensitive to optimization issues.
7705 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7706 signal handler" test.
7707 * gdb.threads/pthreads.exp: Only run this for native configs.
7708 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7709 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7710 tests.
7711 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7712 for "runto test_calls(void)" test.
7713
7714 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7715
7716 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7717 and don't expect address info in breakpoint confirmations.
7718
7719 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7720
7721 * gdb.base/list.exp (test_forward_search): Increase timeout
7722 temporarily by 60 seconds for searching extremely long line,
7723 and then reset to old value when done. Increase expect input
7724 buffer to 10000.
7725
7726 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7727
7728 * gdb.base/list.exp (test_forward_search): Fix to handle very
7729 long source line without overflowing expect's input buffer.
7730
7731 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7732
7733 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7734 "buffer_full".
7735
7736 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7737 "buffer_full".
7738
7739 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7740 "buffer_full".
7741
7742 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7743 "buffer_full".
7744
7745 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7746
7747 * configure.in (configdirs): Add gdb.threads.
7748 * configure: Regenerated with autoconf.
7749 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7750 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7751 * gdb.threads/configure: New, generated with autoconf.
7752
7753 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7754
7755 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7756
7757 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7758
7759 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7760 each signal's status in the output of "handle all print".
7761 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7762 the \r\n sequence that immediately precedes the gdb prompt.
7763 * gdb.base/a1-selftest.exp: Save original timeout and restore
7764 after test.
7765
7766 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7767
7768 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7769 symbol.
7770
7771 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7772
7773 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7774
7775 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7776
7777 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7778 timeout by 60 seconds.
7779
7780 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7781
7782 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7783 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7784 error return.
7785
7786 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7787
7788 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7789 gdb initialization, also report how long dejagnu waited. Restore
7790 old timeout before doing error return. Temporarily increase timeout
7791 by 3 minutes to allow for slow startups over heavy NFS use.
7792
7793 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7794
7795 * lib/gdb.exp: Report timeout value for verbosity level 2.
7796 * config/gdbserver.exp: Ditto.
7797 * config/hppro.exp: Ditto.
7798 * config/mips-gdb.exp: Ditto.
7799 * config/monitor.exp: Ditto.
7800 * config/netware.exp: Ditto.
7801 * config/sim-gdb.exp: Ditto.
7802 * config/slite-gdb.exp: Ditto.
7803 * config/udi-gdb.exp: Ditto.
7804 * config/unix-gdb.exp: Ditto.
7805 * config/vx-gdb.exp: Ditto.
7806 * gdb.base/a1-selftest.exp: Ditto.
7807 * gdb.base/a2-run.exp: Ditto.
7808 * gdb.base/break.exp: Ditto.
7809 * gdb.base/corefile.exp: Ditto.
7810 * gdb.base/list.exp: Ditto.
7811 * gdb.base/recurse.exp: Ditto.
7812 * gdb.base/scope.exp: Ditto.
7813 * gdb.base/signals.exp: Ditto.
7814
7815 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7816
7817 * gdb.threads/Makefile.in (docdir): Removed.
7818
7819 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7820
7821 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
7822 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
7823 @srcdir@.
7824 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
7825 autoconf 2.5 or higher.
7826 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7827
7828 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7829
7830 * configure: Regenerated.
7831 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7832 avoid name clashes with SunOS headers.
7833
7834 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7835
7836 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7837
7838 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7839
7840 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7841 prototype information ends up in the compiler info file.
7842
7843 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7844
7845 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7846 attempting to regenerate it. Eliminate use of a temporary file
7847 and just generate the info file directly. Source it immediately,
7848 for consistency of use.
7849 * gdb.base/corefile.exp: Ditto
7850 * gdb.base/exprs.exp: Ditto.
7851 * gdb.base/funcargs.exp: Ditto.
7852 * gdb.base/langs.exp: Ditto.
7853 * gdb.base/list.exp: Ditto.
7854 * gdb.base/mips_pro.exp: Ditto.
7855 * gdb.base/nodebug.exp: Ditto.
7856 * gdb.base/opaque.exp: Ditto.
7857 * gdb.base/ptype.exp: Ditto.
7858 * gdb.base/scope.exp: Ditto.
7859 * gdb.base/setvar.exp: Ditto.
7860 * gdb.base/signals.exp: Ditto.
7861 * gdb.base/whatis.exp: Ditto.
7862 * gdb.c++/templates.exp: Ditto.
7863 * gdb.c++/virtfunc.exp: Ditto.
7864 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7865 whether or not to add -lstdc++ to the compile command line args.
7866
7867 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7868
7869 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7870 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7871 Increase timeout, a lot of single stepping might be needed if the
7872 target has no hardware watchpoints.
7873
7874 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7875
7876 * gdb.base/break.exp: Ignore compiler warnings when compiling
7877 break.c.
7878 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7879 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7880 from remote-sim.
7881 * gdb.base/exprs.exp: Add h8300 xfails.
7882 * gdb.base/funcargs.exp: Likewise.
7883 * gdb.base/nodebug.exp: Likewise.
7884 * gdb.base/printcmds.exp: Likewise.
7885 * gdb.base/ptype.exp: Likewise.
7886 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7887 h8300 xfails.
7888 * gdb.base/return.exp: Handle float/double precision problems
7889 on the h8300.
7890 * gdb.base/funcargs.c: Explicitly make last constant argument to
7891 call_after_alloca_subr an unsigned long type.
7892 * gdb.base/return.c: Include stdio.h.
7893
7894 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7895
7896 * config/abug.exp: New file for the older Motorola Bug monitor
7897 that runs on the mvme13x series VME boards.
7898 * config/monitor.exp: Use the new config array for target settings
7899 if they exist.
7900
7901 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7902
7903 * sim-gdb.exp: Make the SH simulator allocate less space when
7904 it is targeted.
7905
7906 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7907
7908 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7909 test.
7910
7911 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7912
7913 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7914 "rs6000-*-*" for "list function in include file" when gcc compiled.
7915 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7916 for "p ctable1[120]".
7917 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7918 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7919 Remove setup_xfail for "rs6000-*-*" for
7920 "print 'scope0.c'::filelocal before run".
7921 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7922 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7923 since some compilers don't allow both options to be given
7924 on the same command line. Create object file and move it.
7925
7926 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7927
7928 * gdb.base/corefile.exp: Always regenerate the core file, since
7929 we always regenerate the coremaker program. Detect special case
7930 where registers cannot be read from core file.
7931
7932 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7933
7934 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7935 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7936 * gdb.c++/templates.exp: Only match on basename of file since
7937 some formats like xcoff don't encode directory information.
7938 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7939 and rs6000 AIX xcoff targets.
7940 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7941 * configure: Regenerate.
7942 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7943 here, rather than in distclean.
7944
7945 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7946
7947 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7948 defined, and use it to compile the test case with -O2. The
7949 native compilation still uses no optimization.
7950 * gdb.base/mips_pro.c: Remove inline assembly code since
7951 it is compiled PIC by default, which results in assembler
7952 warnings that make the testsuite think the compilation
7953 was unsuccessful.
7954
7955 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7956
7957 * gdb.c++/misc.exp: Add note to message for
7958 "print s.a for foo struct" that this is a known gcc 2.7.2
7959 and earlier bug.
7960
7961 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7962
7963 * gdb.base/break.exp: Fix pattern for matching "Delete all
7964 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7965 setup_xfail for deleting all breakpoints test. Fix various
7966 timeout messages to include "(timeout)".
7967 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7968 for "p t_float_values2(3.14159,float_val2)".
7969 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7970 for "continue to call2g" when gcc compiled.
7971 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7972 "up to foo in langs.exp", "show language at foo in langs.exp",
7973 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7974 and "show language at fsub in langs.exp".
7975 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7976 "list line 1 in include file", "list message for lines past EOF",
7977 "list function in include file", "list list0.h:foo", and
7978 "list filename:function; nonexistant function".
7979 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7980 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7981 and "ptype t_char_array" to be for native cc only.
7982
7983 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7984
7985 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
7986 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7987 "print func2::coremaker_local", and "backtrace in corefile.exp".
7988
7989 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7990
7991 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7992 "bt in signals.exp". This problem only appears when running
7993 the testsuite, and then only intermittently.
7994
7995 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7996
7997 * gdb.base/return.exp (return_tests): Differentiate between
7998 two tests of continuing.
7999
8000 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8001
8002 * */Makefile.in (maintainer-clean): Remove config.log.
8003 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8004 * gdb.c++/Makefile.in (PROGS): Add inherit.
8005 (clean): Remove *.ci.
8006
8007 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8008
8009 * gdb.c++/misc.cc: Add test code from Mike Stump.
8010 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8011
8012 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8013
8014 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8015 to "alpha-*-osf2*" and add comment.
8016 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8017 setup_xfail for "step over execarg initialization" and
8018 "step over corearg initialization".
8019 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8020 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8021 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8022 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8023 "print func2::coremaker_local", and "backtrace in corefile.exp".
8024 * gdb.base/signals.exp: Build and source signals.ci.
8025 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8026 to be for gcc only.
8027 * lib/gdb.exp: Move verbose statements outside conditionals.
8028
8029 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8030
8031 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8032 Feb 3 procfs.c change.
8033
8034 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8035
8036 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8037
8038 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
8039
8040 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8041 from dejagnu's apparent default of 10 seconds, which gives random
8042 results when running the tests over NFS on moderately loaded systems.
8043 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8044
8045 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
8046
8047 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
8048 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8049 result reports.
8050
8051 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8052
8053 * configure.in (CY_AC_PATH_TCLH): Remove.
8054 * configure: Regenerate.
8055
8056 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8057
8058 * gdb.c++/Makefile.in (clean): Add missing '{'.
8059
8060 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8061
8062 * lib/gdb.exp: Provide a default value for noinferior.
8063
8064 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8065 Load libgloss.exp.
8066
8067 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8068
8069 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8070 the executable, not the .o to run the tests from.
8071
8072 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8073
8074 * gdb.base/break.exp: Don't test for program exit or exit status
8075 if $noresults if nonzero.
8076 * gdb.base/langs.exp: Likewise.
8077 * gdb.base/watchpoint.exp: Likewise.
8078
8079 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8080 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8081 trying to compile the testcase.
8082
8083 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8084
8085 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8086 * gdb.base/signals.exp (continue to handler): Likewise.
8087
8088 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8089
8090 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8091
8092 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8093
8094 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8095
8096 * gdb.base/corefile.exp: Recognize "not found" as failure
8097 when trying to determine if a core file was generated.
8098 If no core file was generate the first time, try again without
8099 the ulimit -c to work around braindamaged shells.
8100
8101 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8102
8103 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8104 [] tests with "test" and enclose string in quotes.
8105 * gdb.stabs/configure: Rebuild
8106
8107 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8108
8109 Changes in sync with expect:
8110 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8111 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8112 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8113 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8114 argument to AC_REQUIRE.
8115 * configure: Regenerated.
8116
8117 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8118
8119 * gdb.base/corefile.exp: When generating a core, discard any
8120 error messages about ulimit not found and the "core dumped"
8121 message from the shell that runs the coredumper.
8122
8123 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8124
8125 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8126
8127 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8128 which sed script to run. Expect failure for v_comb test
8129 on PA targets too.
8130
8131 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8132
8133 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8134 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8135
8136 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8137
8138 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8139 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8140 "sparc-sun-solaris*" xfails for "p v_comb".
8141 * lib/gdb.exp (default_gdb_start): Fix typo.
8142 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8143 messages to not include the full program name that caused
8144 the core dump since some systems (such as solaris) apparently
8145 truncate this path to about 80 characters.
8146 When generating a core file first try increasing the core file
8147 size limit to unlimited since some systems may default it to
8148 zero, and it is harmless to try it. Move the test for failing
8149 to generate a core file to where it will actually get executed.
8150 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8151 new gdb result from g++ debug info improvements and make old
8152 pattern obsolescent. Also account for size_t differences
8153 (may be int or long).
8154 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8155 initialization before function call is placed in the delay slot
8156 and thus appears to be skipped over by commands such as "next".
8157
8158 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8159
8160 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8161
8162 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8163
8164 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8165 input source file; fix code to compile test to deal with this
8166 convention.
8167 * gdb.c++/*.exp: Likewise.
8168
8169 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8170
8171 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8172 "bt in signals.exp".
8173
8174 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8175
8176 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8177 "step over execarg initialization" and
8178 "step over corearg initialization".
8179
8180 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8181
8182 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8183 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8184
8185 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8186
8187 From Rob Savoye (rob@poseidon.cygnus.com)
8188 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8189 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8190 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8191 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8192 configure.in}: Major reworking for autoconfig.
8193 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8194 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8195 New files.
8196 * config/unix-gdb.exp: Make GDB global.
8197 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8198 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8199 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8200 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8201 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8202 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8203 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8204 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8205 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8206 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8207 pr-8136.exp, result.exp, string.exp, tuples.exp},
8208 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8209 to returns as necessary, arrange for test to compile own testcase
8210 executable.
8211 * lib/gdb.exp: Changes for testsuite to compile own test cases.
8212
8213 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8214
8215 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8216 clear_xfail at end of test which might not call either pass or fail.
8217 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8218 "backtrace through signal handler".
8219
8220 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8221
8222 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8223 continuing from a job control stop signal.
8224 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8225
8226 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8227
8228 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8229 * gdb.base/corefile.exp: Likewise.
8230 * gdb.base/funcargs.exp: Likewise.
8231
8232 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8233
8234 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8235 * config/monitor.exp: Add support for setting baud rate.
8236
8237 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8238
8239 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8240 i*86-*-linux* xfails for "backtrace through signal handler".
8241 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8242 "print func2::coremaker_local".
8243 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8244 alpha-dec-osf2* xfail for
8245 "delete all breakpoints when none".
8246
8247 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8248
8249 * gdb.base/break.exp: Change test that deletes all breakpoints
8250 when no user breakpoints are installed. A post 4.15 change
8251 causes gdb to no longer prompt in this case.
8252
8253 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8254
8255 * gdb.base/return.exp (return_tests): Change xfail for test
8256 "correct value returned double test" to stop xfailing at
8257 Solaris 2.5. Apparently the bug has been fixed.
8258
8259 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8260
8261 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8262 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8263
8264 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8265
8266 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8267 * gdb.disasm/hppa.s: Corresponding changes.
8268
8269 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8270
8271 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8272 makefile fragment.
8273 * config/mt-hpux: Deleted.
8274
8275 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8276
8277 * Many files: When warning about suppressed tests due to a
8278 nonexistant test binary, avoid incrementing the warning count.
8279
8280 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8281
8282 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
8283
8284 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8285
8286 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8287 "sparc-*-solaris2*".
8288
8289 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8290
8291 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8292 Add global and local variables and initialize them.
8293 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8294 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8295 extracts the file name and terminating signal from the core file.
8296 * TODO: Remove note about tests for correct mapping of corefile.
8297 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8298 from optimizing it away.
8299 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8300 handles common blocks.
8301
8302 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8303
8304 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8305 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8306
8307 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8308
8309 * Makefile.in (maintainer-clean): New target, synonym for
8310 realclean.
8311 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8312 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8313 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8314 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8315 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8316 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8317
8318 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8319
8320 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8321 xfails when not gcc compiled for "print foo::funclocal".
8322 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8323 "print foo::funclocal at foo",
8324 "print 'scope1.c'::foo::funclocal at foo",
8325 "print foo::funclocal_bss at foo",
8326 "print 'scope1.c'::foo::funclocal_bss at foo",
8327 "print foo::funclocal_ro at foo",
8328 "print 'scope1.c'::foo::funclocal_ro at foo",
8329 "print bar::funclocal at foo" and
8330 "print 'scope1.c'::bar::funclocal at foo".
8331 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8332 gcc compiled for "print foo::funclocal at bar".
8333 Expand all messages to ensure that they identify that
8334 the test is at bar().
8335 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8336 gcc compiled for:
8337 "ptype on opaque struct pointer (statically)",
8338 "ptype on opaque struct tagname (statically)",
8339 "ptype on opaque struct pointer (dynamically) 1",
8340 "ptype on opaque struct tagname (dynamically) 1",
8341 "ptype on opaque struct pointer (dynamically) 2" and
8342 "ptype on opaque struct tagname (dynamically) 2
8343 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8344 gcc compiled for:
8345 "p datalocal"
8346 "whatis datalocal",
8347 "ptype datalocal",
8348 "p bsslocal",
8349 "whatis bsslocal", and
8350 "ptype bsslocal".
8351 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8352 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8353 when not gcc compiled.
8354 * gdb.base/funcargs.exp (float_and_integral_args): Add
8355 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8356 compiled.
8357 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8358 "backtrace from call6a" when not gcc compiled.
8359 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8360 "backtrace from call7a" when not gcc compiled.
8361 * gdb.base/callfuncs.exp (do_function_calls):
8362 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8363 "p t_char_array_values(char_array_val2,char_array_val1)",
8364 "p t_char_array_values(char_array_val1,char_array_val2)",
8365 "p t_char_array_values("carray 1","carray 2")",
8366 "p t_char_array_values("carray 1",char_array_val2)",
8367 "p t_char_array_values(char_array_val1,"carray 2")",
8368 "p sum_args(1,{2})",
8369 "p sum_args(2,{2,3})",
8370 "p sum_args(3,{2,3,4})",
8371 "p sum_args(4,{2,3,4,5})"
8372 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8373 "backtrace in corefile.exp" when not gcc compiled.
8374
8375 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8376
8377 * gdb.base/signals.exp: Rewrite `handle all print' test as
8378 a procedure. Accept blanks or TABs as whitespace, increase
8379 timeout and expect input buffer size for the large output
8380 from the command. Remove "i*86-*-bsdi2.0" xfail.
8381
8382 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8383
8384 * gdb.base/setvar.exp: Add new testcases for truncation when
8385 assigning invalid values to bitfields.
8386
8387 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8388
8389 * gdb.base/callfuncs.exp (do_function_calls): Remove
8390 mips-sgi-irix* xfail for
8391 "call inferior func with struct - returns char *"
8392 and fix test so that an optional (unsigned char *) cast is
8393 accepted in the result.
8394
8395 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8396
8397 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8398 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8399 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8400 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8401 that accidentally got checked in.
8402
8403 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8404
8405 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
8406 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8407 compiled test.
8408 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8409 Add mips-sgi-irix5* xfail for not gcc compiled.
8410 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8411 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8412 "p top", "whatis top", "p middle", and "whatis middle".
8413 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8414 "whatis signed char" for not gcc compiled.
8415 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8416 "set variable signed char=-1 (-1)" and
8417 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8418 * gdb.base/funcargs.exp (float_and_integral_args):
8419 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8420 Add mips-sgi-irix* xfail when not gcc compiled for
8421 "continue to call2b".
8422 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8423 "continue to call2g".
8424 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8425 "backtrace from call6a"
8426 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8427 "backtrace from call7k".
8428 Add mips-sgi-irix5* xfail when not gcc compiled for
8429 "backtrace from call7a".
8430 (localvars_after_alloca): Fix gdb_test cmds for
8431 "print * after runto ...".
8432 Remove rs6000-*-* xfails for
8433 "print i after runto localvars_after_alloca" and
8434 "print l after runto localvars_after_alloca"
8435 for all compilers.
8436 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8437 when not compiled with gcc, for:
8438 "print signed char == (minus)",
8439 "print signed char != (minus)",
8440 "print signed char < (minus)",
8441 "print signed char > (minus)".
8442 * gdb.base/callfuncs.exp (do_function_calls):
8443 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8444 "call inferior func with struct - returns char *".
8445 * gdb.base/return.exp (return_tests): Change xfail for
8446 "correct value returned double test" to include Solaris 2.4.
8447 * gdb.base/funcargs.exp (float_and_integral_args):
8448 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8449
8450 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8451
8452 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8453 enumeration bitfields if compiling with GNU C.
8454 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8455 to empty' prompt.
8456
8457 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8458
8459 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8460 test for PRO targets.
8461
8462 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8463 breakpoints in the inferior at any given time by making
8464 two groups of breakpoints for call2*, call6* and call7*
8465 tests.
8466
8467 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8468
8469 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8470 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8471 from optimizing it away.
8472 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8473 "call inferior func with struct".
8474
8475 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8476
8477 * configure.in: Only configure gdb.chill for particular targets.
8478
8479 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8480
8481 * gdb.base/Makefile.in: Add action to .c.o transformation
8482 rule that generates a .ci file for each .o file and remove
8483 explicit .c.o rules except for callfuncs.o.
8484 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8485 generates a .ci file for each .o file and remove explicit
8486 .cc.o rules.
8487 (clean): Remove *.tmp *.ci files.
8488 (EXECUTABLES): Remove templ-info.exp.
8489 * gdb.base/compiler.c: New file.
8490 * gdb.c++/compiler.cc: New file
8491 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8492 Change rs6000-*-* xfail for
8493 "print 'scope0.c'::filelocal_ro" and
8494 "print 'scope1.c'::filelocal" and
8495 "print 'scope1.c'::filelocal_bss" and
8496 "print 'scope1.c'::filelocal_ro" and
8497 "print 'scope1.c'::foo::funclocal" and
8498 "print 'scope1.c'::foo::funclocal_ro" and
8499 "print 'scope1.c'::bar::funclocal" and
8500 "print 'scope0.c'::filelocal_ro" and
8501 "print 'scope1.c'::filelocal at foo" and
8502 "print 'scope1.c'::filelocal_bss at foo" and
8503 "print 'scope1.c'::filelocal_ro at foo" and
8504 "print 'scope1.c'::foo::funclocal at foo" and
8505 "print 'scope1.c'::foo::funclocal_bss at foo" and
8506 "print 'scope1.c'::foo::funclocal_ro at foo" and
8507 "print 'scope1.c'::bar::funclocal at foo" and
8508 "print 'scope0.c'::filelocal_ro" and
8509 "print 'scope1.c'::filelocal" and
8510 "print 'scope1.c'::filelocal_bss" and
8511 "print 'scope1.c'::filelocal_ro" and
8512 "print 'scope1.c'::foo::funclocal" and
8513 "print 'scope1.c'::foo::funclocal_bss" and
8514 "print 'scope1.c'::foo::funclocal_ro" and
8515 "print 'scope1.c'::bar::funclocal" and
8516 "print 'scope1.c'::bar::funclocal_bss"
8517 to only be xfail'd when not compiled with gcc.
8518 Add rs6000-*-* xfail for
8519 "print 'scope0.c'::filelocal_bss before run"
8520 when compiled with gcc.
8521 (test_at_main): Add rs6000-*-* xfail for
8522 "print filelocal_ro in test_at_main"
8523 when compiled with gcc.
8524 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
8525 Add rs6000-*-aix* xfail for
8526 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8527 "ptype t_char_array", not compiled with gcc.
8528 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8529 xfail for "list foo (in include file)" when gcc compiled.
8530 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8531 (integral_args): Add rs6000-*-* xfail for
8532 "run to call0a" if not compiled with gcc.
8533 (unsigned_integral_args): Add rs6000-*-* xfail for
8534 "run to call1a" if not compiled with gcc.
8535 (float_and_integral_args): Add rs6000-*-* xfail for
8536 "run to call2a" if not compiled with gcc and for
8537 "continue to call2b" for any compiler.
8538 Add rs6000-*-* xfail to
8539 "print f1 after run to call2a" for gcc compiled.
8540 (discard_and_shuffle): Add rs6000-*-* xfail for
8541 "run to call6a".
8542 (shuffle_round_robin): Add rs6000-*-* xfail for
8543 "backtrace from call7a" if not compiled with gcc.
8544 Add rs6000-*-* xfail for
8545 "backtrace from call7b" if compiled with gcc.
8546 (call_after_alloca): Add rs6000-*-* xfail for
8547 "print c in call_after_alloca" and
8548 "print s in call_after_alloca" and
8549 "backtrace from call_after_alloca_subr"
8550 if not compiled with gcc.
8551 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8552 "print c in localvars_in_indirect_call" and
8553 "print c in localvars_in_indirect_call" and
8554 "backtrace in indirectly called function" and
8555 "stepping into indirectly called function"
8556 if not compiled with gcc.
8557 (localvars_after_alloca): Add rs6000-*-* xfail for
8558 "print c after runto localvars_after_alloca" and
8559 "print s after runto localvars_after_alloca" and
8560 "print i after runto localvars_after_alloca" and
8561 "print l after runto localvars_after_alloca"
8562 for all compilers.
8563 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8564 than whatis-info.exp.
8565 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8566 than opaque-info.exp.
8567 Setup rs6000-*-* xfail for
8568 "ptype on opaque struct pointer (statically)" and
8569 "ptype on opaque struct pointer (dynamically)" when
8570 not compiled with gcc.
8571 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8572 rather than callf-info.exp.
8573 (do_function_calls): Add clear_xfail for rs6000-*-* for
8574 "p t_float_values2(3.14159,float_val2)". Seems to work
8575 fine there, both with xlc and gcc. Need to find out what
8576 it is doing right and fix other platforms.
8577 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8578 "call inferior func with struct - returns int",
8579 "call inferior func with struct - returns long",
8580 "call inferior func with struct - returns float",
8581 "call inferior func with struct - returns double",
8582 "call inferior func with struct - returns char *",
8583 but only if not gcc compiled (presumes xlc compiled).
8584 Change rs6000-*-* xfails for
8585 "call inferior func with struct - returns char" and
8586 " call inferior func with struct - returns short" to only
8587 xfail if not using gcc.
8588 (clean mostlyclean): Remove *.ci and *.tmp files.
8589 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8590 than templ-info.exp.
8591 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8592 Add rs6000-*-* xfail for "up to foo in langs.exp"
8593 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8594 when not gcc compiled.
8595
8596 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8597
8598 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8599 * gdb.base/corefile.exp: Likewise.
8600 * gdb.base/list.exp: Likewise.
8601 * gdb.base/scope.exp: Likewise.
8602 * gdb.base/siganls.exp: Likewise.
8603
8604 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8605 compiler output.
8606 * gdb.base/whatis.exp: Likewise.
8607
8608 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8609
8610 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8611 failure (opcode table has been fixed to match reality).
8612
8613 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8614
8615 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8616 "call inferior func with struct - returns char",
8617 "call inferior func with struct - returns short"
8618
8619 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8620 "print 'scope0.c'::filelocal at main",
8621 "print 'scope0.c'::filelocal_bss in test_at_main",
8622 "print 'scope0.c'::filelocal at foo",
8623 "print 'scope0.c'::filelocal_bss in test_at_foo",
8624 "print 'scope0.c'::filelocal at bar",
8625 "print 'scope0.c'::filelocal_bss in test_at_bar"
8626
8627 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8628 in source file 1". This bug seems to have been fixed with both
8629 gcc and native cc (was native assembler bug?).
8630
8631 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8632
8633 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8634 "backtrace through signal handler" to "i*86-*-sysv4*".
8635 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8636 continue" case. Add "known SVR4 bug" to fail message.
8637 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8638 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8639 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8640 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8641 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8642 "up to foo in langs.exp", "show language at foo in
8643 langs.exp", "up to cppsub_ in langs.exp", "show
8644 language at cppsub_ in langs.exp", "up to fsub in
8645 langs.exp", and "show language at fsub in langs.exp".
8646 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8647 "bactrace in corefile.exp".
8648 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8649 "call inferior function with struct - returns float" and
8650 "call inferior function with struct - returns double".
8651
8652 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8653
8654 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8655 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8656 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8657 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8658
8659 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8660
8661 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8662 (or overriden) "CHILL" macro rather then bare "gcc".
8663 Also look for ../../gcc/xgcc since that is what we will
8664 actually need, not "Makefile". Remove following assignment
8665 of CHILL to CHILL_FOR_TARGET because that results in
8666 recursive definition.
8667
8668 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8669
8670 * gdb.base/corefile.exp: Change xfail for backtrace in
8671 corefile.exp from linuxaout to all linux.
8672 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8673 cases where we miss the breakpoint at the signal handler
8674 for some reason. Setup xfail for linuxoldld/linuxaout and
8675 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8676 hitting SIGURG breakpoint.
8677 * gdb.base/signals.exp: Setup xfail for "next" acting like
8678 continue to add linuxoldld. Setup xfail for all linux for
8679 "next to handler in signals_tests_1", "backtrace in
8680 signals_tests_1", "continue to func1", "pass SIGUSR1",
8681 and continue to handler".
8682
8683 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8684
8685 * Update all FSF addresses except those in COPYING* files.
8686
8687 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8688
8689 * gdb.base/a2-run.exp: Change messages to be more explicit about
8690 the status of args, and quote binfile in results.
8691
8692 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8693
8694 * gdb.base/callfuncs.exp: Add tests for passing structs to
8695 inferior functions and return various types.
8696 * gdb.base/callfuncs.c: Add functions to receive a struct
8697 and return a member of the struct, in various types.
8698
8699 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8700
8701 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8702
8703 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8704
8705 * config/vxworks29k.exp: New file, sources vxworks.exp.
8706
8707 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8708
8709 * config/gdbremote.exp: New file. Testing framework using
8710 gdbserver.
8711
8712 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8713
8714 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8715 "call function when asleep" and "send end of file".
8716 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8717 for "backtrace in corefile.exp".
8718 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8719 for "backtrace through signal handler".
8720 * gdb.base/corefile.exp: Make sure we actually generate a core file
8721 before trying the core tests. Some systems allow the user to suppress
8722 generation of core files and default to that (linux for example).
8723 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8724 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8725
8726 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8727
8728 * gdb.threads: New directory with some crude multi-threaded
8729 gdb tests (step.exp and step2.exp).
8730 * config/mt-lynx (STEP_EXECUTABLE): Define.
8731 (THREADFLAGS): Define.
8732
8733 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8734
8735 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8736
8737 * gdb.base/signals.exp: Disable whole file for lynx until
8738 further notice.
8739
8740 * gdb.base/signals.exp: xfail test where "next" acts like
8741 "continue" for lynx.
8742
8743 * gdb.base/interrupt.exp: xfail test for calling function while
8744 inferior is asleep for lynx.
8745
8746 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8747 than one cr-lf after each command.
8748
8749 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8750
8751 * configure.in: Reinstate setting of stabsdirs variable, fix
8752 typo in setting up configdirs for native builds.
8753
8754 * gdb.base/return.exp: Fix typo in return double test.
8755 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8756 compiler from optimizing them away.
8757
8758 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8759
8760 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8761 sequences to be echo'd by gdb when using gdb_test.
8762 * gdb.chill/chexp.exp: Likewise.
8763 * gdb.fortran/exprs.exp: Likewise
8764
8765 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8766
8767 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8768 after the inferior gdb has started.
8769
8770 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8771 after each command.
8772 * gdb.base/funcargs.exp: Likewise.
8773 * gdb.base/gdbvars.exp: Likewise.
8774 * gdb.base/interrupt.exp: Likewise.
8775 * gdb.base/list.exp: Likewise.
8776 * gdb.base/watchpoint.exp: Likewise.
8777 * gdb.c++/demangle.exp: Likewise.
8778 * gdb.c++/inherit.exp: Likewise.
8779 * gdb.chill/chexp.exp: Likewise.
8780 * gdb.fortran/exprs.exp: Likewise.
8781
8782 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8783 test if we can't handle IO to/from the inferior.
8784
8785 * gdb.c++/misc.exp: Always check for a program already being
8786 started after sending a "run" command to gdb.
8787
8788 * gdb.base/twice.exp: Start with a fresh gdb.
8789
8790 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8791 only depend on gdb's expression code, not the chill runtime.
8792
8793 * gdb.base/return.c: Put return values into variables so we
8794 can have gdb print them rather than depending on the program
8795 to print them.
8796 * gdb.base/return.exp: Corresponding changes.
8797
8798 * lib/gdb.exp: Provide default value for noinferiorio.
8799 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8800 the inferior.
8801
8802 * gdb.base/break.exp: Always check for a program already being
8803 started after sending a "run" command to gdb.
8804 (text_next_with_recursion): Don't check the output from the
8805 program's printf statement. Instead just make sure the program
8806 exited.
8807
8808 * gdb.base/commands.exp: Protect tests which need arguments with
8809 $noargs conditionals.
8810
8811 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8812
8813 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8814 of structure member arrays to match gdb/valops.c:value_addr change.
8815
8816 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8817
8818 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8819 cases.
8820
8821 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8822
8823 * configure.in (configdirs): Remove gdb.chill from default list
8824 of subdirs and then add it back in only if doing a native build.
8825 The current chill compiler does not yet work in any cross build.
8826 * Revert all signal changes from Jul 6.
8827 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8828 for sh-hms targets, allowing these tests to link, with no other
8829 changes. Testing is suppressed by setting "nosignals" in site.exp.
8830
8831 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8832
8833 * configure.in (signaldirs): Define and add to configdirs for all
8834 targets except some specific ones that are known to not support signals.
8835 Also clean up formatting.
8836 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8837 (signals, sigall): Remove rules to build.
8838 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8839 Moved to new gdb.signals directory.
8840 * gdb.signals: New test directory.
8841 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8842 signals.c signals.exp}: New or moved files.
8843
8844 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8845
8846 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8847
8848 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8849
8850 * gdb.base/return.exp: Xfail `return double' test failure
8851 on at least Solaris 2.3 and handle future/past versions on
8852 a case by case basis as appropriate. Also update message
8853 to include i*86 failures.
8854
8855 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8856
8857 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8858
8859 * lib/gdb.exp: Fix comment which erroneously identified
8860 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8861 gdb_file_cmd not gdb_load).
8862 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8863
8864 * gdb.base/setvar.exp: Make test names consistent between pass and
8865 fail cases. Use gdb_test more.
8866
8867 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8868
8869 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8870
8871 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8872
8873 * gdb.base/help.exp: Fix expected help string for `show commands'.
8874
8875 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8876
8877 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8878
8879 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8880 of a text section.
8881
8882 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8883
8884 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8885 that loop eventually terminates. Fix Connection refused logic so
8886 that testsuite will expire nicely.
8887
8888 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8889
8890 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8891 config/rom68k.exp: New tcl glue for the appropriate monitors.
8892 These all just end up calling monitor.exp.
8893 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8894 refused' by retrying. Cleanup some timeout issues.
8895 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8896 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8897 callers don't have to set/restore global timeout variable.
8898
8899 * The following set of changes centralizes management of the global
8900 timeout variable. This way, it can be set in one target dependent
8901 place instead of dozens of places scattered throughout the test suite.
8902 If you need to lengthen a timeout, then you should either set timeout
8903 in one of the config/{target}.exp files, or multiply it by a factor.
8904 Setting it to an absolute value is always going to lose for some
8905 targets.
8906 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8907 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8908 * gdb.base/funcargs.exp: Don't set timeout.
8909 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8910 * gdb.base/printcmds.exp (test_print_string_constants
8911 test_print_array_constants): Don't set timeout.
8912 * gdb.base/ptype.exp: Don't set timeout.
8913 * gdb.base/recurse.exp: Don't set timeout.
8914 * gdb.base/return.exp: Don't set timeout.
8915 * gdb.base/watchpoint.exp: Don't set timeout.
8916 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8917 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8918
8919 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8920
8921 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8922
8923 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8924
8925 * lib/gdb.exp: Disable chill tests for irix5.
8926
8927 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8928
8929 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8930 each test pass or fail.
8931
8932 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8933
8934 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8935 xlc not gcc.
8936
8937 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8938
8939 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8940
8941 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8942
8943 * config/est.exp: Fix copyright and comments. Remove dead code.
8944 Use targetname, serialport and baud variables instead of fixed
8945 constants.
8946 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8947 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8948
8949 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8950
8951 * gdb.base/watchpoint.exp: Don't run
8952 test_watchpoint_triggered_in_syscall for sunos.
8953
8954 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8955
8956 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8957 they don't seem to exist. Do include stdio.h.
8958
8959 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8960
8961 * gdb.base/a1-selftest.exp: Add alpha xfail.
8962
8963 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8964
8965 * gdb.base/watchpoint.c (main): Prompt before calling read().
8966 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8967 Revise accordingly. Remove cruft about sending "123" several
8968 times, until it gets noticed. Clean up the "print buf[0]" stuff
8969 so that it passes or fails, and waits for prompts in the usual way.
8970
8971 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8972
8973 * gdb.base/recurse.exp: Fix comment.
8974
8975 * TODO: Remove item about printing variables in nodebug.exp. Add
8976 item about enabling tests which are only run on some targets.
8977
8978 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8979 fail, make test names unique, use new gdb_test convention
8980 regarding pattern, use gdb_test more, etc.).
8981
8982 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8983 fail, make test names unique, etc.).
8984
8985 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8986
8987 * gdb.base/nodebug.c: Change return type of top and middle to
8988 short.
8989 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8990 are fixed by the recent mdebugread.c changes. Allow `short ()'
8991 as type for top and middle.
8992
8993 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8994
8995 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8996 nearly as I can tell, the whole thing was an accident in Stu's
8997 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8998 to replace a send/expect pair with gdb_test, but ended up only
8999 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9000 of 30 Mar 1995 took care of it, but left this vestigial comment
9001 which I am now nuking.
9002
9003 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9004
9005 * gdb.base/break.exp: Look for different line number for
9006 breakpoint at main depending on usestubs.
9007
9008 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9009
9010 * gdb.base/list.exp: Adjust some alternate expect patterns to
9011 match recent list0.c change. Add alternate expect pattern for
9012 output from `list default lines around main' for optimizing
9013 compilers.
9014
9015 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9016
9017 * lib/gdb.exp: If nosignals is not set, set it to 0.
9018
9019 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9020
9021 * config/slite-gdb.exp: Responds to load symbol table prompt.
9022 * gdb.base/break.exp: Adjust line number, fix rerun.
9023 * gdb.base/langs0.c: Add #ifdef usestubs.
9024
9025 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9026
9027 * gdb.base/list.exp: Adjust line contents after adding new lines in
9028 list0.c. Also fix a syntax error.
9029
9030 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9031 * gdb.base/break.exp: ditto.
9032 * gdb.base/list.exp: ditto.
9033 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9034 * gdb.base/run.c: ditto.
9035 * gdb.base/list0.c: ditto.
9036 * gdb.base/funcargs.c: ditto.
9037
9038 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
9039
9040 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
9041 $targetname, $serialport and $baud instead of hardwired variables.
9042 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
9043 target doesn't support signals.
9044
9045 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
9046
9047 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9048
9049 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9050
9051 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9052 Don't rely on the value of an auto variable before it has been
9053 initialized. Use gdb_test more.
9054
9055 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9056
9057 * lib/gdb.exp (default_gdb_version): A version number must start
9058 with a digit, but other than that contains all characters up to
9059 the first whitespace character.
9060
9061 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9062
9063 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9064
9065 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9066
9067 * gdb.c++/*.exp: Warn if executable does not exist. The original
9068 reason for skipping the warning was that configure.in sometimes
9069 intentionally skipped building the executables but the tcl code
9070 had no way of knowing. That (a) was always bogus with respect to
9071 error handling, (b) is no longer true (right now there is no way
9072 to skip C++ tests).
9073
9074 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9075
9076 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9077
9078 * gdb.base/list.exp: Add expect patterns for output from
9079 SunPRO compiled executables.
9080 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9081 types.
9082
9083 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9084
9085 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9086 number (we are already testing that the correct source line text
9087 gets printed).
9088
9089 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9090 that is what is intended, but something needed to be done to get
9091 sunos4 native working again.
9092
9093 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9094
9095 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9096 apparently went with a (very) old xfail.
9097
9098 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9099
9100 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9101 runto_main is a proc in gdb.exp that will do 'step' for target use
9102 stubs.
9103 * gdb.base/exprs.exp: ditto.
9104 * gdb.base/interrupt.exp: ditto.
9105 * gdb.base/opaque.exp: ditto.
9106 * gdb.base/printcmds.exp: ditto.
9107 * gdb.base/ptype.exp: ditto.
9108 * gdb.base/scope.exp: ditto.
9109 * gdb.base/setvar.exp: ditto.
9110 * gdb.base/signals.exp: ditto.
9111 * gdb.base/twice.exp: ditto.
9112 * gdb.c++/classes.exp: ditto.
9113 * gdb.c++/inherit.exp: ditto.
9114 * gdb.c++/templates.exp: ditto.
9115 * gdb.base/break.exp: no run and hit main for stubs. Change line
9116 numbers for breakpoints and info breakpoint.
9117 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9118 breakpoint().
9119 * gdb.base/callfuncs.c: ditto.
9120 * gdb.base/exprs: ditto.
9121 * gdb.base/interrupt.c: ditto.
9122 * gdb.base/opaque0.c: ditto.
9123 * gdb.base/printcmds.c: ditto.
9124 * gdb.base/ptype.c: ditto.
9125 * gdb.base/scope0.c: ditto.
9126 * gdb.base/setvar.c: ditto.
9127 * gdb.base/signals.c: ditto.
9128 * gdb.base/twice.c: ditto.
9129 * gdb.c++/misc.cc: ditto.
9130 * gdb.c++/templates.cc: ditto.
9131
9132 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9133
9134 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9135
9136 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9137 somewhere between `read' and `main.c'. I'm pretty sure the
9138 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9139 and it isn't particularly useful.
9140
9141 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9142
9143 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9144
9145 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9146
9147 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9148
9149 * config/mt-slite: add LIBS and -nostdlib.
9150 * config/slite-gdb.exp: add this new file to support sparclite target.
9151
9152 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9153
9154 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9155
9156 * gdb.base/a2-run.exp: Change argument to istarget from
9157 "*-*-vxworks" to "*-*-vxworks*".
9158 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9159
9160 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9161
9162 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9163 will not runto main but do a 'step' to step out of breakpoint().
9164 * config/mt-slite: add -Dusestubs.
9165
9166 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9167
9168 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9169 instead of just @.
9170
9171 * gdb.base/signals.exp: Add test for "handle all print".
9172 * TODO: Remove "handle all print". Also remove item about
9173 checking copyright date (I don't like the idea of a spurious FAIL
9174 based on when we run the tests).
9175
9176 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9177 for SunOS4 (reason for failure not investigated). Remove
9178 redundant test for $binfile.
9179
9180 * gdb.base/nodebug.c (array_index): Call malloc.
9181
9182 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9183
9184 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9185
9186 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9187 conventions and slightly simplify the matching regexp.
9188
9189 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9190
9191 * gdb.base/break.exp: Update gdb_test invocation to use new
9192 convention.
9193
9194 * lib/gdb.exp: If noargs is not set, set it to 0.
9195
9196 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9197 tests unique.
9198
9199 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9200
9201 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9202
9203 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9204 one argument of type "<non-float parameter>".
9205
9206 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9207
9208 * config/rom68k.exp: New file to support Motorola IDP board.
9209 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9210 * gdb.base/break.c: Change things around so that this program
9211 doesn't depend upon args. This is necessary to make remote
9212 targets work (in general, they can't take args).
9213 * gdb.base/break.exp: Don't try to send args to program. Don't
9214 expect output. Also, replace lots of code with gdb_test.
9215
9216 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9217
9218 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9219 printing of '\'' (which is what the comment says we are testing,
9220 even though we were not), not '''.
9221 (test_integer_literals_rejected): Test that printing ''' is an error.
9222
9223 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9224 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9225 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9226 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9227 Use gdb_test not test_print_accept.
9228 * lib/gdb.exp: Remove test_print_accept.
9229
9230 * gdb.base/signals.exp (signal_tests_1): Make pass message
9231 consistent with fail message.
9232
9233 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9234 unsigned char; the bug (PR 1821) is fixed.
9235
9236 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9237
9238 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9239 successful tests--makes xfailing them work right.
9240
9241 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9242
9243 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9244 only \r\n, not .*. The test can pass .* as the last thing in
9245 $pattern if that is what it wants. In addition to providing this
9246 flexibility, this change should speed up pattern matching in cases
9247 where the pattern already ended with .* (there were a number of
9248 them). This change also helps catch bad patterns--in the old
9249 scheme the typo "char \*" instead of "char \\*" would pass. Now
9250 it is caught.
9251 * Many .exp files: Update callers.
9252
9253 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9254 clearer and does not spuriously match multiple ('s. Likewise for
9255 ) and *.
9256
9257 * gdb.base/nodebug.exp: Test ability to call a function and pass
9258 it a string (even with no debugging info).
9259
9260 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9261 "p '\'", which is the same as "p ''" once tcl gets done with
9262 quoting, to "p '\\'", which I suspect is what is intended (one
9263 backslash gets sent to GDB).
9264
9265 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9266
9267 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9268
9269 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9270 1817) was fixed literally years ago.
9271
9272 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9273
9274 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9275 test, it causes stepping out of call_after_alloca_subr with
9276 optimizing compilers.
9277 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9278 fails.
9279
9280 * gdb.c++/templates.exp: Source templ-info.exp only if
9281 the templates executable exists.
9282
9283 * gdb.c++/misc.cc (class Contains_static_instance,
9284 class Contains_nested_static_instance),
9285 gdb.c++/classes.exp (test_static_members): Test printing of
9286 a class that contains a static instance of the class.
9287
9288 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9289
9290 * gdb.base/langs2.c (cppsub_): Don't prototype.
9291 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9292 only, I believe).
9293
9294 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9295
9296 * lib/gdb.exp (skip_chill_tests): New procedure.
9297
9298 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9299
9300 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9301
9302 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9303 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9304
9305 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9306
9307 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9308
9309 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9310 disassemble 8, not 16, instructions for part 4.
9311
9312 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9313 support the latter anymore.
9314
9315 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9316 -DNO_PROTOTYPES.
9317 * gdb.base/callfuncs.c: Control use of prototypes based on
9318 NO_PROTOTYPES, not __STDC__.
9319 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9320 t_float_values2 tests if prototypes in use.
9321
9322 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9323 t_double_values): When checking differences against DELTA, check
9324 that difference is within the range (-DELTA,DELTA), not just
9325 (-infinity,DELTA).
9326
9327 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9328
9329 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9330 'file' command firts, then 'target', then 'load', this is due to gdb
9331 target set up.
9332 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9333
9334 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9335
9336 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9337 FP load/store variants.
9338 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9339
9340 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9341
9342 * gdb.base/term.exp: Do not give a warning if not native, it is
9343 not an abnormal condition.
9344
9345 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9346
9347 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9348 t_char_array".
9349
9350 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9351
9352 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9353 are getting the version number.
9354
9355 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9356 if not native, it is not an abnormal condition.
9357
9358 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9359
9360 * lib/gdb.exp: Just use "file exists", rather than undocumented
9361 dejagnu procedure "findfile".
9362
9363 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9364
9365 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9366 (LDFLAGS): Set to -Xlinker -Ur.
9367
9368 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9369 Removed, these values are set by lib/gdb.exp.
9370
9371 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9372
9373 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9374
9375 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9376 of replicating gdb startup code.
9377
9378 * config/mt-vxworks (LDFLAGS): Set to -r.
9379 (CFLAGS_FOR_TARGET): Removed.
9380
9381 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9382 (gdb) and gdb for vxworks uses (vxgdb).
9383
9384 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9385 executable is not in the tree and host != target, use sed and
9386 program_transform_name to determine the gdb name used by the
9387 target.
9388
9389 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9390 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9391
9392 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9393
9394 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9395 floats, chars, and shorts where there are ANSI-style function
9396 definitions.
9397
9398 * gdb.base/langs.exp, gdb.base/langs*: New test.
9399 * gdb.base/Makefile.in: Build it.
9400 * TODO: Remove item about checking that C names don't get C++
9401 demangling applied; this test tests it.
9402
9403 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9404
9405 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9406 went with the const70 xfail. The xfail went away a year ago.
9407
9408 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9409
9410 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9411 for hp300.
9412
9413 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9414
9415 * gdb.base/a1-selftest.exp: Don't run on hp300.
9416
9417 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9418
9419 * Makefile.in (site.exp): Set host_alias and target_alias as well
9420 as host_triplet and target_triplet.
9421
9422 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9423
9424 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9425
9426 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9427 places as other ecoff systems).
9428
9429 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9430 ultrix.
9431
9432 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9433
9434 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9435 remove them.
9436 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9437 variable and "variable" in addition to "data variable".
9438 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9439
9440 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9441 2.
9442 * gdb.base/list1.c (long_line): Add additional statement at start
9443 of function.
9444 * gdb.base/list.exp (test_forward_search): Update line number to
9445 reflect new statement.
9446
9447 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9448
9449 * gdb.base/signals.exp: Reinitialize searched source directories
9450 after gdb_start call.
9451
9452 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9453
9454 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9455 * gdb.stabs/Makefile.in: Likewise.
9456
9457 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9458 change. Instead split the tests into smaller pieces.
9459 * gdb.disasm/hppa.s: Corresponding changes.
9460
9461 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9462
9463 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9464 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9465
9466 * gdb.base/funcargs.exp: Modify many tests so that every test
9467 either passes or fails. Make some test names unique.
9468
9469 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9470
9471 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9472 Call stty to set interrupt character.
9473
9474 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9475 for HP assembler versus GNU assembler based on actual behavior of
9476 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9477
9478 * TODO: Suggest a few more stepping tests.
9479
9480 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9481
9482 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9483 restart GDB for h8300 after a continue.
9484 (return): Add pattern to match a29k-udi behavior.
9485 * gdb.base/nodebug.exp: Remove obsolete comment.
9486 * gdb.base/regs.exp: New file, testing of register displays.
9487 * gdb.base/return.exp: Fix typo in reference to $objdir.
9488 * gdb.base/whatis.exp: Always start with a fresh GDB.
9489
9490 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9491
9492 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9493 higher, these tests generate a lot of output.
9494
9495 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9496
9497 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9498 code following the catch silently ignored some errors; without the
9499 catch they should be thrown like any other tcl error. Also, the
9500 catch used "" instead of {} which meant all the callers who wanted
9501 to include one of the characters "[]$ had to quote it an extra time.
9502 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9503 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9504 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9505 Remove extra quoting.
9506
9507 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9508
9509 * gdb.base/commands.exp: Make test names unique; every test either
9510 passes or fails. Update some comments.
9511
9512 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9513
9514 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9515
9516 The following fixes a FAIL caused by the fact that the alpha stabs
9517 configuration didn't use the ".if alpha" code in weird.def.
9518 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9519 bit pointer, so the 32 bit version works even on the alpha.
9520 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9521 Remove the stuff which allowed us to have separate versions for
9522 alpha and everything else.
9523
9524 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9525 regexp which "info func operator\[\](" is supposed to match. Fix
9526 string to send to GDB. Note that GDB still doesn't work right. Add a
9527 new test for "info func .perator\[\](" which GDB does handle correctly.
9528
9529 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9530
9531 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9532
9533 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9534 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9535 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9536 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9537 it makes the tests harder to understand and confuses test-o-matic.
9538 The preferred style is that each test provides a PASS or a FAIL,
9539 and has a unique message (e.g. "continue #54" not just "continue")
9540 which is the same for the pass and the fail.
9541 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9542 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9543 to lib/gdb.exp.
9544 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9545 prt_accept which was basically the same thing. Likewise for
9546 test_print_reject and prt_reject.
9547 * lib/gdb.exp (test_print_reject): Add some more error message
9548 patterns to match from the former printcmds.exp (prt_reject).
9549 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9550 One defect of the passcount stuff is that some of it failed to
9551 report XPASS where appropriate.
9552 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9553 stuff before and after arg in expected pattern.
9554 (test_paddr_operator_functions): Re-do test without print_addr_of;
9555 this is the only test which seems to want extra stuff there.
9556
9557 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9558
9559 * gdb.base/nodebug.exp: Update new tests to reflect improved
9560 wording of gdb output.
9561
9562 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9563 and "ptype" work on variables in files compiled without -g.
9564 Replaces commented out "maint print msymbol" tests.
9565
9566 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9567
9568 * gdb.base/setvar.c (dummy): Call malloc.
9569
9570 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9571 losing with the irix4 sed.
9572
9573 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9574 ALRM" on irix4.
9575
9576 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9577
9578 * TODO: Remove items about corefile.exp testing new exec-file and
9579 backtrace; both are now done. Add items about printing enums.
9580
9581 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9582
9583 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9584 "get signal $thissig" test fails.
9585
9586 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9587
9588 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9589
9590 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9591 compiler warning with dec alpha compiler.
9592
9593 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9594 extra \n from gdb_test call (this explains why the prompt test
9595 that I removed yesterday was there).
9596 (user_defined_command_test): Remove extra \n and prompt test.
9597
9598 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9599 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9600 doesn't exist.
9601 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9602 Also remove alpha workaround, which turns out to be because
9603 SIGABRT == SIGLOST.
9604
9605 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9606
9607 * gdb.base/help.exp: Don't test "help show".
9608
9609 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9610
9611 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9612 "set print address" is on.
9613 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9614 pass prompt to gdb_test; gdb_test already looks for the prompt.
9615
9616 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9617
9618 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9619 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9620 was to make sure that gdb can read a core file. But (a) the "read
9621 the corefile" part didn't make it to a1-selftest.exp, we just
9622 delete the corefile after creating it, and (b) we test reading
9623 corefiles in corefile.exp anyway. Also, this test left around a
9624 xgdb process on Solaris.
9625
9626 * gdb.base/corefile.exp: Also test backtrace.
9627
9628 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9629
9630 * gdb.base/commands.exp: Test a simple user defined command with
9631 arguments and if/while statements; verify the full user command is
9632 printed by "show user".
9633
9634 * gdb.base/commands.exp: Test if/while commands as part of a
9635 breakpoint command list; verify they appear in breakpoint
9636 information.
9637
9638 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9639
9640 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9641 than by dividing by zero.
9642
9643 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9644
9645 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9646 performing an inferior call with watchpoints enabled.
9647 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9648 call.
9649
9650 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9651
9652 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9653 of "file" command.
9654
9655 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9656 Add additional pattern for when "int operator int(void);" appears
9657 in a different order.
9658
9659 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9660
9661 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9662
9663 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9664 and "signal" with ".*".
9665
9666 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9667
9668 * TODO: Add note about "handle all nostop".
9669
9670 * gdb.base/{sigall.c, sigall.exp}: New test.
9671 * gdb.base/Makefile.in: Add it.
9672
9673 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9674
9675 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9676 when invoking GDB, suppresses any windowing interface.
9677
9678 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9679
9680 * config/sim-gdb: New file, simulator testing support.
9681
9682 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9683
9684 * gdb.base/interrupt.exp: Test calling func1 twice.
9685
9686 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9687
9688 * gdb.base/list.exp (test_forward_search): Set timeout higher
9689 when we'll be getting lots of output from gdb.
9690
9691 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9692 "init_malloc" to after the expect statement. Run it if that
9693 regexp is taken, but also for two others which happen if source
9694 cannot be found.
9695
9696 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9697
9698 * gdb.base/printcmds.exp: New test, for printing register before
9699 program is running.
9700
9701 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9702
9703 * gdb.base/list.exp: Correct some alternate expect patterns
9704 to reflect changes in list1.c.
9705
9706 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9707
9708 * TODO: Add item regarding large frames.
9709
9710 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9711
9712 * TODO: Remove item about enabling return.exp; it
9713 is enabled. Suggest a few more "return" tests.
9714
9715 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9716
9717 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9718 anonymous unions.
9719
9720 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9721
9722 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9723 and pr-5646.o, so "make" is the same as "make all", not "make
9724 pr-4975.o".
9725
9726 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9727
9728 * gdb.base/list.exp: Adjust expectations to reflect changes in
9729 list1.c.
9730 (test_forward_search): New test proc.
9731 * gdb.base/list1.c (long_line): New function, has long source line.
9732
9733 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9734
9735 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9736 additional line of code that was added.
9737
9738 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9739
9740 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9741 tests so as not to overflow expect's input buffers.
9742 * gdb.disasm/hppa.exp: Corresponding changes.
9743
9744 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9745
9746 Beginnings of template debugging tests.
9747 * gdb.c++/templ-info.cc: New file to test for template
9748 debugging capability of the compiler.
9749 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9750 templ-info.cc.
9751 * gdb.c++/templates.cc: Add explicit template instantiations
9752 to enable compiling with -fno-implicit-templates. Add destructor
9753 and 'value' method to T5 class for template tests.
9754 * gdb.c++/templates.exp: Add testcases for printing of template
9755 types, setting breakpoints on template methods and calling a
9756 template method.
9757
9758 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9759
9760 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9761 branch target since some assemblers (gas-2.5) may emit a
9762 relocation for the branch instead of resolving it in the
9763 assembler.
9764
9765 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9766
9767 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9768 through signal handler.
9769
9770 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9771
9772 * configure.in (*-*-netware): Use config/mt-netware.
9773
9774 * config/mt-netware: New file.
9775 * config/mt-i386-netware: Removed, separate configs for different
9776 netware architectures are no longer needed now that we have
9777 --with-headers.
9778
9779 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9780
9781 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9782 by the recent changes to use ANSI C arithmetic conversions.
9783
9784 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9785
9786 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9787 bug involving using inferior_pid to figure out whether to select a
9788 frame.
9789
9790 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9791
9792 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9793 match the current disassembler output.
9794
9795 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9796
9797 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9798 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9799 types, expect "int" as type of integer values (for now).
9800
9801 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9802
9803 * gdb.base/commands.exp: New tests for if/while commands.
9804
9805 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9806
9807 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9808 by .*, since hex values have different syntax in Chill mode.
9809
9810 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9811
9812 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9813 linefeed from expect pattern for repeated types with indices > 9.
9814
9815 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9816
9817 First part of Fortran test suite.
9818 * gdb.fortran: New directory.
9819 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9820
9821 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9822
9823 * gdb.base/default.exp: Update expect pattern for load command
9824 without arguments.
9825
9826 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9827
9828 * configure.in: Change i386 to i[345]86.
9829 * gdb.base/configure.in: Likewise.
9830 * gdb.c++/configure.in: Likewise.
9831 * gdb.chill/configure.in: Likewise.
9832
9833 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9834
9835 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9836 patterns, since that is not a valid context for comments.
9837
9838 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9839
9840 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9841 repeated types and repeated types with indices > 9.
9842
9843 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9844
9845 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9846 2417; old bug has been fixed.
9847
9848 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9849
9850 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9851 send the newline ourselves instead of assuming gdb_test will do
9852 so when passed an empty input string.
9853
9854 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9855 stabs testcode.
9856
9857 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9858
9859 * lib/gdb.exp (gdb_test): Don't send anything if the first
9860 argument is an empty string. This makes cases where we want to
9861 match output that is already in expect's buffers (for example,
9862 matching a breakpoint after gdb_run_cmd has been called) work
9863 reliably.
9864
9865 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9866
9867 * config/netware.exp: New file.
9868
9869 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9870
9871 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9872 the -B and -L prefixes so we can find the debugging stub.
9873
9874 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9875 there and we are using the gcc from the tree.
9876
9877 * gdb.base/types.c: Removed.
9878
9879 * gdb.base/configure.in: Look for makefile fragments in ../config.
9880 Recognize i386-*-netware.
9881 * gdb.c++/configure.in: Likewise.
9882
9883 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9884
9885 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9886 the correct TCL syntax.
9887
9888 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9889
9890 * gdb.base/opaque.exp: use runto instead of messing around with
9891 breakpoints. Simplify by using gdb_test.
9892
9893 * gdb.base/bitfields.exp: restart between tests on netware targets
9894 because breakpoints aren't relocated after target death. Run
9895 processes to completion.
9896
9897 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9898
9899 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9900
9901 * Makefile.in: Remove extra tabs that confuse some versions
9902 of "make". Use the newly built gdb to test with by default,
9903 rather than the first one in the tester's search path.
9904
9905 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9906
9907 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9908
9909 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9910 condition help.
9911
9912 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9913
9914 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9915
9916 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9917 running.
9918 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9919 * gdb.base/funcargs.exp: Likewise.
9920
9921 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9922 * gdb.base/funcargs.exp: Likewise.
9923
9924 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9925 message is "".
9926
9927 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9928
9929 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9930 return,signals,twice}.exp: Handle non-existant binaries
9931 consistantly.
9932
9933 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9934 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9935 might testing a cross development system.
9936
9937 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9938
9939 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9940 runtest script is relative to ${srcdir}, not ${rootdir}.
9941
9942 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9943
9944 * gdb.base/signals.exp: Allow for optionality of breakpoint
9945 address.
9946
9947 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9948
9949 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9950
9951 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9952
9953 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9954 for size_t definition.
9955 * gdb.c++/templates.cc: Likewise
9956
9957 * config/mt-i386-netware: New file.
9958
9959 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9960 defined.
9961
9962 * gdb.base/Makefile.in: Added support for systems that name core
9963 files by appending "core" to the program name.
9964 * gdb.base/a1-selftest.exp: Likewise.
9965
9966 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9967
9968 * gdb.base/return.exp: Add comment and message for `return double'
9969 test failure on Sparc Solaris.
9970
9971 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9972
9973 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9974
9975 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9976
9977 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9978 from optimizing them away.
9979 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9980 patterns to include default constructors and assignment operators,
9981 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9982 character in the output of the virtual base pointer.
9983
9984 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9985
9986 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9987 expression match in print_addr_of to avoid unintented matches.
9988 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9989 versions up to 2.5.8.
9990
9991 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9992
9993 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9994 included file to run under newer versions of expect.
9995 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9996 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9997 Remove xfail for the virtual table of BDDHookV.
9998
9999 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10000
10001 * lib/gdb.exp (string_to_regexp): Set a default result.
10002 (default_gdb_start): Fix misleading message.
10003
10004 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10005
10006 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10007 Remove all CC, etc definitions.
10008 * config/mt-hpux: New file.
10009 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10010 (CFLAGS, LDFLAGS): Define.
10011 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10012
10013 * Makefile.in (site.exp): Don't insert host_os, etc.
10014 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10015 (distclean): Check existence of subdir.
10016 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10017 * gdb.base/Makefile.in: General cleanup and simplification.
10018 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10019 to build executables. Use default rule to build .o files.
10020 (EXPECT, RUNTEST, CC): Fix relative pathname.
10021 (site.exp): Don't insert host_os, etc.
10022 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10023 and/or SIGUSR1 defined.
10024 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10025 * gdb.c++/Makefile.in: General cleanup and simplification.
10026 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10027 (CFLAGS): Remove.
10028 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10029
10030 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10031
10032 * gdb.base/recurse.exp: Misc changes to get tests running again
10033 after Kung's changes to the watchpoint code.
10034 * gdb.base/watchpoint.exp: Likewise.
10035
10036 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
10037
10038 * lib/gdb.exp (string_to_regexp): Convert {\} also.
10039
10040 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
10041
10042 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10043 * lib/gdb.exp (default_gdb_start): Define.
10044 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10045 gdb.base/funcargs.exp, gdb.base/opaque.exp,
10046 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10047 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10048 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10049 Don't call gdb_target_udi in between tests.
10050
10051 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10052
10053 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10054 (which was basically just a local version of the same thing). In
10055 addition to avoiding duplication, gdb_test_exact is faster.
10056 * lib/gdb.exp (gdb_test_exact): Fix typo.
10057
10058 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10059 don't give an error.
10060
10061 * gdb.base/term.exp: Call delete_breakpoints before starting.
10062
10063 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10064 (t10): Add comment.
10065
10066 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10067
10068 Reorganization of the GDB Test Suite.
10069
10070 * gdb.base: New directory, contains all the basic tests.
10071 * gdb.c++: New directory, tests specific to C++.
10072 * gdb.chill: New directory, tests specific to Chill.
10073 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10074 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10075 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10076 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10077 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10078 t30-31 to chill).
10079 * */gdbme.*: Rename to match appropriate expect scripts.
10080 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10081 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10082 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10083 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10084 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10085 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10086 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10087 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10088 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10089 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10090 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10091 gdb.c++/virtfunc.cc: New names of C++ files.
10092 * gdb.chill/chillvars.ch: New name of Chill file.
10093 * gdb.base/configure.in, gdb.c++/configure.in,
10094 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10095 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10096 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10097 * configure.in (configdirs): Update to reflect directory changes.
10098 (target_abbrev): No longer define for any configuration.
10099 * Makefile.in: Cosmetic improvements to header comments.
10100
10101 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10102
10103 Various changes to gdb.t31:
10104
10105 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10106 * gdbme.ch: Make all key-words and predefineds be upper-case.
10107 * chillvars.exp: Expect key-words and predefinds in upper-case.
10108
10109 * chillvars.exp: Use gdb_test_exact many places.
10110 Change expected output for arrays (which now includes index labels).
10111
10112 * pr-5020.exp, gdme.ch (module PR_5020):
10113 New test, for PR-5020.
10114
10115 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10116
10117 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10118 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10119
10120 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10121
10122 * Makefile.in: Fix bit-rot in definitions of CHILL,
10123 CHILL_FOR_TARGET and Chill_LIB.
10124 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10125 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10126 CHILL, and CHILL_LIB.
10127
10128 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10129
10130 * Revert the previous changes. Please see Rob's directory
10131 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10132
10133 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10134
10135 * Makefile.in, configure.in, config/mips-gdb.exp,
10136 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10137 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10138 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10139 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10140 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10141 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10142 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10143 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10144 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10145 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10146 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10147 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10148 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10149 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10150 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10151 changes from 94Q1.
10152
10153 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10154
10155 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10156 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10157 Rob's new testing fragments.
10158
10159 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10160
10161 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10162 lib/gdb.exp: Replace error proc calls with perror.
10163
10164 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10165
10166 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10167 version also, match on casted version strings, and match on
10168 gdb startup case where the line numbers might be messed up.
10169
10170 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10171
10172 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10173 (CFLAGS): Delete it from here.
10174
10175 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10176
10177 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10178
10179 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10180
10181 * Makefile.in (RUNTEST): Default to just "runtest".
10182
10183 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10184
10185 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10186 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10187 the code has been restructured.
10188
10189 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10190
10191 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10192 \n, not just one of each.
10193
10194 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10195 /bin/cc gives a warning if you do.
10196
10197 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10198
10199 * gdb.t24/demangle.exp: change expect pattern of
10200 __t10ListS_link1ZUiRCUiPT0
10201
10202 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10203
10204 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10205 on local variables in recursive functions.
10206
10207 * gdb.t07/Makefile.in: Build the new test.
10208
10209 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10210
10211 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10212 directly. Instead compare the return values from actual calls.
10213
10214 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10215
10216 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10217
10218 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10219
10220 * From Peter Schauer with minor modifications.
10221 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10222 stops in mid-line in the caller. Add xfail for returning a float
10223 value on X86 targets.
10224
10225 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10226
10227 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10228 to avoid expect lossage.
10229 (fmem_LRbug_tests): Likewise.
10230 * gdb.disasm/hppa.s: Corresponding changes.
10231
10232 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10233 conditions to work with latest dejagnu/expect.
10234
10235 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10236 expected to fail on the PA.
10237 (backtrace in call with trampolines): Explicitly require main
10238 to be frame #1 (no trampolines should show up in backtrace).
10239
10240 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10241 "continue -expect".
10242 * gdb.t06/break.exp: Likewise.
10243 * gdb.t07/watchpoint.exp: Likewise.
10244 * gdb.t13/bitfields.exp: Likewise.
10245 * gdb.t15/{funcargs,return}.exp: Likewise.
10246 * gdb.stabs/weird.exp: Likewise.
10247 * config/{mips,udi}-gdb.exp: Likewise.
10248
10249 * hppa.sed: Enclose comments within a sed command to avoid
10250 losing with the old OSF1 sed.
10251
10252 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10253
10254 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10255 sequent dynix.
10256 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10257 * gdb.t15/funcargs.exp: Conditionally step again to really
10258 finish from marker_call_with_trampolines. Handle the case where
10259 the first step from within call_with_trampolines already steps
10260 us back to main.
10261 * gdb.t15/gdbme.c: Add comment to closing brace of
10262 call_with_trampolines for funcargs.exp.
10263
10264 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10265
10266 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10267 Fix typo(s).
10268
10269 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10270
10271 * gdb.t07/gdbme.c: More code for watchpoint testing.
10272
10273 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10274 "Hardware watchpoint" throughout file.
10275 (test_watchpoint_triggered_in_syscall): New test.
10276 (test_complex_watchpoint): New test.
10277
10278 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10279
10280 * gdbme.c (call_with_trampolines): New function to try and step
10281 into. Tests trampoline problems on the PA.
10282
10283 * funcargs.exp (localvars_in_indirect_call): No longer expect
10284 stepping into indirect call to fail on PAs.
10285 (test_stepping_over_trampolines): New test.
10286
10287 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10288
10289 * TODO: Add suggestions for static member function tests, and
10290 completion tests.
10291
10292 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10293
10294 * TODO: Add suggestions for "p/a" tests.
10295
10296 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10297 (default_gdb_exit): Replace all the hair with sending "quit" to
10298 the process with a simple close.
10299
10300 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10301
10302 * TODO: Add suggestions for shared library tests.
10303
10304 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10305
10306 * TODO: Add suggestions for x/s tests.
10307
10308 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10309
10310 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10311 "enable once", and "enable breakpoints once" with ".*".
10312
10313 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10314
10315 * TODO: Add suggestions about structure passing tests.
10316
10317 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10318
10319 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10320 the primary1 test, use work around if __GNUC__ < 2.
10321 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10322 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10323 Test for bad output rather than waiting for timeout. Issue
10324 second continue only if first continue failed.
10325
10326 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10327
10328 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10329 operator[] test with gdb_test because the old code didn't seem to
10330 be getting the quoting right with the new dejagnu.
10331
10332 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10333
10334 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10335 one from the path.
10336 * Makefile.in: Use a fresh expect if there is one, use runtest
10337 from the src tree if there is one.
10338
10339 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10340
10341 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10342 next over recursive call. Revise the tests from that point on
10343 (which had been skipped) to match GDB's actual (correct) output.
10344
10345 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10346 with next over a breakpoint whose condition is false.
10347
10348 * gdb.t00/help.exp: Comment out "help set print" tests just like
10349 (and for same reason as) "help set" test.
10350
10351 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10352
10353 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10354 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10355
10356 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10357
10358 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10359 necessary gdb_target_udi.
10360
10361 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10362
10363 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10364 1838 and 2417; they are fixed.
10365
10366 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10367 gdb.t03/ptype.exp (ptype structure, ptype union):
10368 Remove xfails; the test is looser than when the xfails were added.
10369
10370 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10371 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10372
10373 * gdb.t01/run.exp: Only run shell test if isnative.
10374
10375 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10376 since "run" automatically loads if necessary. Call gdb_target_udi
10377 after the "file" since "file" kills any execution target.
10378
10379 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10380 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10381 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10382 argument for UDI.
10383
10384 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10385
10386 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10387
10388 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10389
10390 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10391
10392 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10393 properly quoting regexps. This makes the second argument to
10394 demangle a fixed string, which matches the callers, instead of a
10395 shell-style pattern which is what the previous implementation
10396 used. Update some of the callers.
10397
10398 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10399
10400 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10401 (comib_nullified_tests): Fix typo.
10402 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10403 strings. No longer expected to fail.
10404
10405 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10406 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10407 strings. No longer expected to fail.
10408
10409 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10410 string. No longer expected to fail.
10411
10412 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10413
10414 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10415 No longer expected to fail.
10416
10417 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10418 string. No longer expected to fail.
10419
10420 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10421
10422 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10423 only in the names (I probably got most of them). I was even
10424 generous with some which differed in underscores in names, and
10425 probably missed a few, and I *still* was able to remove almost a
10426 third of the file with almost no impact on testsuite coverage.
10427
10428 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10429
10430 * gdb.t00/default.exp: Match udi_attach error message as well as
10431 the one from child_attach.
10432
10433 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10434
10435 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10436
10437 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10438 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10439
10440 * Move test with enums and partial symbols back to
10441 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10442 Reverts the change of 26 May 93. Per today's change to
10443 stabs.texinfo, the behavior that weird.exp was expecting was
10444 unreasonable; what is important is that the compiler+gdb get
10445 things right, which happens with a recent gcc. Also fix the test
10446 to deal with native compilers which put out the stab gdb can't
10447 deal with.
10448
10449 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10450
10451 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10452 in the names. The main thing these accomplish is to slow things down.
10453 Many more such duplicates surely remain.
10454
10455 * gdb.t00/help.exp: Comment out "help support" test just like
10456 (and for same reason as) "help set" test.
10457
10458 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10459
10460 * gdb.t06/break.exp: Remove setup_xfails for
10461 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10462 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10463 about known bug in gcc to include up through 2.5.8.
10464 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10465 well as "_vb$".
10466 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10467 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10468 with latest gcc and gdb.
10469 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10470 well as "_vb$".
10471
10472 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10473
10474 * configure.in (hppa*-*-*): Also configure and build stabs-only
10475 tests.
10476
10477 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10478
10479 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10480 * gdb.t10/configure.in (hppa*-*-*): Use it.
10481
10482 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10483
10484 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10485
10486 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10487
10488 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10489 versions prior to 1.13.5.
10490
10491 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10492
10493 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10494 the prompt is at the start of a line.
10495
10496 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10497
10498 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10499 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10500 in the copr tests now.
10501 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10502 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10503 expected to fail.
10504
10505 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10506
10507 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10508 gdb.t31/chillvars.exp, lib/gdb.exp:
10509 Tweak to run under either version of expect.
10510 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10511 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10512 * gdb.t11/list.exp: Remove extraneous whitespace.
10513
10514 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10515
10516 * gdb.t16/printcmds.exp (test_print_strings): Accept
10517 "(unsigned char *) " before the string.
10518
10519 * TODO: Add notes about printing of fancy types and GDB expressions.
10520
10521 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10522
10523 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10524 * gdb.t06/configure.in: Don't try to compile signals test program
10525 if doing mips-idt-ecoff.
10526
10527 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10528
10529 * Most .exp files: Tweak to run under either version of expect.
10530
10531 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10532
10533 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10534 xfails; I'm not sure why they are failing, but not because of PR 1806.
10535
10536 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10537
10538 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10539 defined in lib/gdb.exp.
10540
10541 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10542
10543 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10544 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10545 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10546 have to be typeless.
10547
10548 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10549
10550 * TODO: Add suggestion for copyright year test.
10551
10552 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10553
10554 * configure.in (*-*-lynxos*): Add stabs tests.
10555
10556 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10557
10558 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10559 so insert a tab before any assembler directive in column zero.
10560
10561 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10562 stores.
10563 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10564 stores.
10565 (fpu_short_memory_tests): Likewise.
10566
10567 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10568
10569 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10570 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10571 .stabs directives in comments.
10572
10573 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10574
10575 * TODO: New file, describing tests we could write.
10576 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10577
10578 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10579
10580 * gdb.t06/signals.exp: Add kludge to force re-sync.
10581
10582 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10583 to xgdb instead of gdb, get out of gdb.
10584
10585 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10586
10587 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10588 for info.
10589
10590 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10591
10592 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10593 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10594 * gdb.stabs/hppa.sed: New sed script for the PA.
10595
10596 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10597
10598 * gdb.stabs: Re-write weird.def and configuration to use sed
10599 instead of cpp. sed is portable and POSIX; cpp is neither.
10600
10601 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10602
10603 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10604
10605 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10606
10607 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10608
10609 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10610
10611 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10612 "_vb$".
10613 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10614 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10615
10616 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10617
10618 * lib/gdb.exp: Comment out code which depends on non-existent
10619 `transform' procedure.
10620
10621 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10622
10623 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10624 * lib/gdb.exp: Transform tool name.
10625 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10626 1.1's new error handling system.
10627
10628 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10629
10630 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10631
10632 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10633
10634 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10635 They made pattern matching so slow that timeouts happened on
10636 heavily loaded systems. Now any output from "show print" which
10637 gets us back to the GDB prompt is a PASS.
10638
10639 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10640
10641 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10642
10643 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10644
10645 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10646
10647 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10648 It is not from PR 3220.
10649
10650 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10651
10652 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10653 just started failing because they depended on the order the
10654 subcommands are presented, or exact docstring text. This kind of
10655 test is a pain and has minimal benefit.
10656
10657 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10658
10659 * gdb.t09/corefile.exp: At end of test, use "core" command with
10660 no arguments.
10661
10662 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10663
10664 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10665 17}/Makefile.in: Make it possible to run the testsuite with Sun
10666 make and CC = cross gcc by adding explicit build rules for .o
10667 files.
10668
10669 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10670
10671 * gdb.t15/funcargs.exp: Don't put comments on same line as
10672 setup_xfail (@#$*%& tcl braindamage!).
10673
10674 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10675
10676 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10677
10678 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10679
10680 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10681 * gdb.t20/inherit.exp: remove three dumplicate entries.
10682
10683 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10684
10685 * gdb.t06/break.exp: For "next over recursive call", fail on any
10686 incorrect output, not just on "factorial (value=2)".
10687
10688 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10689
10690 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10691 working now. Add an xfail if accesing a bss variable causes
10692 a memory error if the target is not yet run.
10693
10694 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10695
10696 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10697 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10698 name of __st* demangling (2 strings). Did Kung really get the
10699 more than 95 others right without testing them?
10700
10701 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10702
10703 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10704
10705 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10706
10707 * configure.in (configdirs): Add gdb.disasm
10708 * gdb.disasm: New directory for GDB disassembler tests.
10709 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10710
10711 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10712
10713 * gdb.t00/help.exp: Don't test "help set".
10714
10715 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10716 from within expect statements. None of these happen anymore and
10717 they cause regressions to be silently unnoticed.
10718
10719 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10720 messages) about known failures with gcc cygnus-2.4.5-930417.
10721
10722 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10723 comp-info.exp so it gets built if it doesn't exist.
10724
10725 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10726 it is no longer used.
10727 * gdb.t13/comp-info.c: Removed.
10728
10729 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10730
10731 * gdb.t06/signals.exp: Add xfail for sun3.
10732
10733 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10734
10735 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10736 relevant because ^C doesn't get sent but failure can be reproduced
10737 interactively).
10738
10739 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10740
10741 * gdb.stabs/alpha.mt: New configuration file for alpha.
10742 * gdb.stabs/configure.in: Use it.
10743 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10744 sharing with alpha.mt, redefine long to word via preprocessor.
10745 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10746 for alpha.
10747 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10748 native cc.
10749 * gdb.t00/teststrategy.exp: Change expect string so that we
10750 consume the `(xgdb)' from the command echo and from the gdb prompt.
10751 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10752 gdb currently compares all values as long, so this failure probably
10753 applies to any configuration where LONGEST is bigger than a target int.
10754 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10755 with gcc.
10756 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10757 to handle opaque pointers, gcc is.
10758 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10759 as first argument. Include <sys/types.h> and change all operator
10760 new definitions to use size_t.
10761 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10762 now that we use size_t.
10763
10764 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10765
10766 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10767 a long or float array cast all array members to the same type.
10768 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10769 with 64 bit longs.
10770 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10771 on alpha.
10772 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10773
10774 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10775
10776 * gdb.t24 (demangle.exp): Constructors of templates have names like
10777 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10778 section 14.6 of the ARM.
10779
10780 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10781 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10782 accomplish little and slow down the testsuite.
10783
10784 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10785 Accept spaces various places.
10786
10787 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10788
10789 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10790 with watchpoint enabled.
10791
10792 * Makefile.in: Remove definition of CC and remove the second
10793 definition of CXX (the "CXX = gcc" one remains). These definitions
10794 were causing backquotes to be expanded within backquotes, which
10795 doesn't work.
10796
10797 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10798
10799 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10800
10801 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10802
10803 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10804 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10805 by mips cc and contains no stabs entries.
10806
10807 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10808
10809 * config/vx-gdb.exp: Use fake device to load files rather than
10810 NFS.
10811 * lib/gdb.exp: New proc to do "file" command.
10812 * config/unix-gdb.exp: Use new "file" proc.
10813
10814 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10815
10816 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10817 Rework board rebooting slightly.
10818 (gdb_exit): Don't exit from the remote shell; there isn't one.
10819 * gdb.stabs/weird.exp: If a program is being debugged already,
10820 kill it.
10821 * gdb.t04/setvar.exp: Stop and restart gdb.
10822 * gdb.t05/expr.exp: Likewise.
10823 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10824 restart gdb and reload the program.
10825 * gdb.t08/opaque.exp: Likewise.
10826 * gdb.t12/scope.exp: Likewise.
10827 * gdb.t13/bitfields.exp: Likewise.
10828 * gdb.t15/funcargs.exp: Likewise.
10829 * gdb.t20/classes.exp: Likewise.
10830 * gdb.t03/ptype.exp: Increase timeout.
10831 * gdb.t16/printcmds.exp (test_print_string_constants,
10832 test_print_array_constants): Likewise.
10833 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10834 * gdb.t20/classes.exp (do_tests): Likewise.
10835 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10836
10837 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10838
10839 * gdb.stabs: Renamed *wierd* to *weird*.
10840
10841 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10842
10843 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10844 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10845
10846 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10847
10848 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10849 (do_tests): Remove xfail for whatis on one_var and two_var.
10850
10851 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10852
10853 * Makefile.in: Made cross building work better by adding
10854 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10855
10856 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10857
10858 * gdb.t15/{return.c,return.exp,Makefile.in}:
10859 New test, currently commented out.
10860
10861 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10862
10863 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10864 still running and removes the leftover named socket so GDb can do
10865 clean restarts.
10866
10867 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10868
10869 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10870 console, not GDB.
10871 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10872 cross testing works better with "make check"
10873 * config/unix-gdb: Use default procedures for exit and version.
10874 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10875 with the newest VxWorks.
10876
10877 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10878
10879 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10880 old form.
10881
10882 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10883 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10884
10885 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10886
10887 * config/unix-gdb.exp: Remove this version of gdb_exit
10888 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10889 Rob says he'll look at it when he gets back to testing boards.
10890
10891 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10892
10893 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10894 an expected fail for certain ptype commands.
10895
10896 * gdb.t20/classes.exp: Update expected results of "ptype class
10897 Base1" to account for the constructor that now appears in the type.
10898
10899 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10900
10901 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10902 disappeared from list.
10903 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10904 "alldone" proc with call to cleanup and exit.
10905 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10906 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10907 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10908 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10909 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10910 "alldone" proc with simple returns that suppress remaining
10911 tests. The alldone proc went away many months ago.
10912
10913 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10914
10915 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10916
10917 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10918
10919 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10920
10921 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10922 as vax gdb will display them.
10923
10924 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10925
10926 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10927 optimizers.
10928
10929 * scope.exp: Change "bad value for localval" messages so each one
10930 is unique.
10931
10932 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10933 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10934
10935 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10936
10937 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10938
10939 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10940 doesn't exist (due to optimization).
10941
10942 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10943
10944 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10945 contains \r because the filename is long.
10946
10947 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10948 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10949
10950 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10951
10952 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10953 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10954 Ultrix.
10955 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10956 int tests.
10957 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10958
10959 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10960
10961 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10962
10963 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
10964 to match does not match the passing case but still matches the
10965 failing case.
10966
10967 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10968
10969 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10970
10971 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10972
10973 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10974 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10975 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10976 Remove various versions of gdb_exit.
10977 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10978 gdb_exit.
10979 * config/unix-gdb.exp: gdb_exit remains here, and should override
10980 the generic version, since it's doing a lot of wierd stuff that
10981 the other versions aren't. FIXME, fold it in, or abandon this
10982 version.
10983
10984 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10985
10986 * gdb.t24/demangle.exp: Add tests for PR 3220.
10987
10988 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10989
10990 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10991
10992 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10993
10994 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10995 "i386-*-*". Works for i486 as well.
10996
10997 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10998 bug, and expand domain of xfail to all SVR4 systems, since the
10999 actual problem is likely to be in generic SVR4 /proc support.
11000
11001 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11002
11003 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11004
11005 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11006
11007 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11008 xfails for other systems. Match a missing 'Continuing.' as an
11009 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11010
11011 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11012 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11013 Only issue warning for missing executables if -all option is used.
11014
11015 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11016 file if -all option is used. It's like an unpredictable XFAIL.
11017
11018 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11019
11020 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11021 for dynamically linked binaries.
11022
11023 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11024
11025 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11026
11027 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11028 to state that this is a known bug in old versions of g++.
11029
11030 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11031
11032 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11033 while waiting for `Continuing'.
11034
11035 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
11036
11037 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
11038 in text, data, and bss.
11039 * gdb.t10/nodebug.c: Add local and global test variables for
11040 initialized and uninitialized data.
11041
11042 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11043
11044 * config/unix-gdb.exp (gdb_exit): Add "wait".
11045
11046 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11047
11048 * gdb.t06/signals.exp: xfail the continue from the handler for all
11049 targets.
11050
11051 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11052 function with watchpoints enabled, the i386 call dummy starts with
11053 a call.
11054
11055 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11056 386 bsd names its corefiles.
11057
11058 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11059
11060 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11061 compilers don't grok it.
11062 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11063 with small octal ints rather than character constants, which
11064 are signed and might not fit if first promoted to int.
11065
11066 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11067
11068 * gdb.t09/Makefile.in (clean): Remove corefile.
11069
11070 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11071
11072 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11073
11074 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11075 and Jim Kingdon (kingdon@cygnus.com)
11076
11077 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11078 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11079 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11080
11081 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11082
11083 * gdb.t17/interrupt.exp: Add xfail for hppa.
11084
11085 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11086
11087 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11088 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11089 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11090 to determine signed-ness of bitfields and use the result to setup
11091 the xfail.
11092 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11093 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11094 call line is reached if necessary.
11095
11096 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11097
11098 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11099
11100 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11101
11102 * gdb.t06/break.exp: Also test `clear' command.
11103
11104 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11105
11106 * gdb.t00/teststrategy.exp: Remove extra quote.
11107
11108 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11109 watchpoint enabled to be for all non-68k machines.
11110
11111 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11112
11113 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11114
11115 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11116 targets use aout.mt instead of ecoff.mt as gas understands
11117 standard aout format.
11118
11119 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11120
11121 * lib/gdb.exp (runto): Don't insist that function we are running to
11122 was compiled with -g.
11123
11124 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11125
11126 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11127 to get back into the read system call.
11128 Accept leading newline in case where we woke it up.
11129
11130 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11131
11132 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11133 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11134 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11135 enable ecoff configuration.
11136
11137 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11138
11139 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11140
11141 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11142
11143 * gdb.t16/printcmds.exp: Add another printf test.
11144
11145 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11146
11147 * configure.in: If configured -with-stabs on any target, add
11148 stabsdirs to configdirs.
11149
11150 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11151
11152 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11153 fun" so pattern does not match the command itself.
11154
11155 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11156
11157 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11158
11159 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11160
11161 * gdb.t17/interrupt.exp: Test for more things.
11162
11163 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11164
11165 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11166 compiler arranges the code and line numbers.
11167
11168 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11169
11170 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11171
11172 * gdb.t00/help.exp: Increase expect input buffer size.
11173
11174 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11175
11176 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11177
11178 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11179
11180 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11181
11182 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11183 [0-9]*, not just [0-9].
11184
11185 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11186
11187 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11188
11189 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11190
11191 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11192
11193 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11194
11195 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11196
11197 * gdb.t06/signals.c: Add xfails for sun3.
11198
11199 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11200
11201 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11202 test_stepping tests.
11203
11204 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11205
11206 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11207
11208 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11209
11210 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11211 rather than actually putting it through cpp twice.
11212
11213 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11214
11215 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11216
11217 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11218 no longer needed.
11219
11220 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11221
11222 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11223
11224 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11225 C++ features prints as "struct", make it a pass, not an xfail.
11226
11227 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11228
11229 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11230 Don't require VA to print as "class" rather than "struct".
11231
11232 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11233
11234 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11235
11236 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11237
11238 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11239
11240 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11241
11242 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11243 order.
11244
11245 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11246
11247 * gdb.t16/printcmds.exp: Add printf tests.
11248
11249 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11250
11251 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11252
11253 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11254
11255 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11256 pass counts, to counteract any existing or future setup_xfails.
11257
11258 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11259
11260 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11261 {BEGIN,END}_COMMON for common block instead of STAB.
11262 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11263
11264 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11265 intp_var should be N_GSYM not N_LSYM.
11266 wierd-aout.S: Use a label for the value of the N_SO.
11267 wierd.def: Remove all backslashes.
11268 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11269
11270 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11271
11272 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11273 get the expected next to inheritance3.
11274
11275 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11276
11277 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11278 now that gcc-2.4 gets it right.
11279
11280 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11281
11282 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11283
11284 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11285 generating comp-info.exp which works for cross-compilation.
11286
11287 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11288
11289 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11290 "*-*-sysv4.*".
11291
11292 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11293
11294 * gdb.t01/run.exp: Start with a fresh gdb.
11295 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11296 SVR4.x.
11297
11298 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11299
11300 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11301 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11302 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11303 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11304 things to remove.
11305
11306 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11307
11308 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11309 test cases from bug reports.
11310
11311 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11312
11313 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11314 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11315 avoid spurious xfails.
11316 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11317 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11318 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11319
11320 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11321
11322 * gdb.t00/teststrategy.exp: Rework to provide more useful
11323 description of each test, fix problem with systems that define
11324 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11325 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11326 results for "next over recursive call" so timeouts aren't taken
11327 by error.
11328
11329 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11330
11331 * gdb.t12/scope.exp: Test printing of variables before run.
11332
11333 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11334 printed in wrong order due to sorting.
11335
11336 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11337
11338 * gdb.t00/teststrategy.exp: Fix expected results for printing
11339 user entered string constant. Is array of char, prints with no
11340 address.
11341
11342 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11343 commands.
11344 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11345 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11346 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11347 of struct of char arrays.
11348 * gdb.t00/radix.exp: New tests for radix commands.
11349
11350 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11351
11352 * gdb.t16/printcmd.exp: Print a variable before running program
11353 (with xfail for AIX).
11354
11355 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11356
11357 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11358
11359 * gdb.t16/printcmd.exp: Don't print variables before running program.
11360
11361 * gdb.t06/break.exp: Don't require envp argument to main.
11362
11363 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11364
11365 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11366 Add xfails for rs6000.
11367
11368 * gdb.t02/whatis.exp: Change other tests not to re-test something
11369 we already tested.
11370
11371 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11372 each type used has a variable of that type.
11373
11374 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11375
11376 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11377
11378 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11379
11380 * configure.in: change srctrigger to be a file, not a directory
11381
11382 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11383
11384 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11385
11386 * gdb.t11/list.exp: Fixed a couple of typos.
11387
11388 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11389
11390 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11391 is fixed and PR is closed.
11392 * gdb.t16 (gdbme.c): Add simple test string variable.
11393 * gdb.t16 (printcmds.exp): Add tests with simple test string
11394 variable, primarily for boundaries on "set print elements".
11395
11396 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11397
11398 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11399 Make leading 0's optional and don't expect a tab in the middle
11400 of the number.
11401
11402 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11403
11404 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11405 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11406 don't end command passed to gdb_test with newline.
11407
11408 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11409 signed keyword away, don't expect signed bitfields to be signed.
11410
11411 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11412 printing with only as many 1's as are in the field as well as printing
11413 with 32 1's (see comment).
11414
11415 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11416
11417 * gdb.t00/default.exp: Start with a fresh gdb.
11418 * configure.in (configdirs): Remove gdb.t31 until the chill
11419 compiler works again. It no longer is able to find chillrt0
11420 since it isn't in libchill.a anymore.
11421 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11422 wierd.o, make more modular.
11423 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11424 spurious newlines that caused problems.
11425
11426 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11427
11428 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11429 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11430 gdb.stabs/wierd.{exp,def}: Many new tests.
11431
11432 * gdb.t00/default.exp: update info line for new message.
11433
11434 * gdb.t02/{whatis.exp,gdbme.c}:
11435 Test that "char *" doesn't print as "caddr_t".
11436
11437 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11438
11439 * gdb.t00/help.exp: Use .* in place of some help messages which
11440 just changed.
11441 gdb.t00/default.exp: Update "info frame" test for new message.
11442 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11443 Remove some xfails
11444
11445 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11446
11447 * gdb.t03/{gdbme.c,ptype.exp}:
11448 Add tests for typedef'd struct and union without tags.
11449 Also check "whatis" on a variable of a typedef'd enum without a tag.
11450
11451 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11452 PRMS 1823; the bug still exists but isn't reproduced by this test
11453 anymore), and remove rs6000 XFAIL (the bug is fixed).
11454
11455 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11456 duplicated from whatis.exp. For those that are left, accept
11457 "long", "long int", or "int" for long variables (whatis.exp already
11458 has an XFAIL for "int", so no need to fail it here).
11459
11460 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11461 Deal with GCC's names for types now that GDB uses the compiler's names.
11462
11463 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11464 setup_xfail's for sunos4. If we #defined the signed keyword away,
11465 don't expect GDB to know that char it is signed.
11466
11467 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11468
11469 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11470
11471 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11472 should work on any system, regardless of debugging format.
11473 * gdb.t21/demangle.exp: Move to gdb.t24.
11474 * gdb.t24/demangle.exp: Move from gdb.t21.
11475 * gdb.t24/{Makefile.in, configure.in}: New files.
11476
11477 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11478
11479 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11480 * gdb.stabs: New directory.
11481
11482 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11483
11484 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11485 not just "Quit anyway?".
11486
11487 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11488
11489 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11490 that all setup_xfails are immediately followed by clear_xfails.
11491
11492 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11493
11494 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11495 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11496 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11497 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11498 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11499 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11500 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11501 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11502 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11503 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11504 gdb.t31/chillvars.exp, lib/gdb.exp:
11505 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11506 bug-gdb@prep.ai.mit.edu.
11507
11508 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11509
11510 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11511 with 0.0, not integer 0.
11512
11513 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11514
11515 * gdb.t06/break.exp: Update for "Kill the program" message change.
11516
11517 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11518
11519 * Makefile.in (GDBFLAGS): Set to -nx.
11520 * Makefile.in (site.exp): Use GDBFLAGS.
11521
11522 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11523
11524 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11525 Makefiles.
11526 (check): depend on just-check.
11527 (just-check): added so that tests can be run without a noop
11528 build pass.
11529
11530 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11531
11532 Switch to using configure's configdirs.
11533 * Makefile.in (Makefile): add configure.in dependency.
11534 (SUBDIRS): removed redundant assignment.
11535 * configure.in: switch subdirs assignment to configdirs.
11536 * gdb.t*/configure.in: new files.
11537
11538 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11539
11540 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11541 works.
11542
11543 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11544
11545 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11546 in explicit rules. Apparently this is not supported by some makes.
11547
11548 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11549
11550 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11551
11552 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11553
11554 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11555 disappeared.
11556
11557 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11558
11559 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11560
11561 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11562
11563 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11564 watchpoint problem that is now fixed.
11565 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11566 uninitialized convenience variables.
11567 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11568 structures.
11569
11570 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11571
11572 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11573 which causes expect to get out of sync with gdb on long output
11574 from help set.
11575 * gdb.t09/corefile.exp: Make expected pattern for core file
11576 failing signal and frame output format less sun specific.
11577
11578 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11579
11580 * gdb.t31/chillvars.exp: Add and remove initial dummy
11581 breakpoint, so that symbol table is forced in.
11582 (Needed at least on Sunos4, though it seems not SVR4.)
11583 * gdb.t31/chillvars.exp: Update for changed output format.
11584
11585 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11586
11587 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11588
11589 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11590
11591 * Makefile.in: Added --srcdir when invoking runtest, removed the
11592 need for a local config file. (optional now)
11593
11594 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11595
11596 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11597 failure count used to force early termination. Add some more
11598 expected failures for gnu style demangling.
11599
11600 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11601
11602 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11603 pmi variable from gdb.t20/gdbme to get optimized away.
11604 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11605 Check for written corefile upon timeout _and_ eof.
11606
11607 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11608
11609 * config/unix-gdb.exp: Add missing return 0.
11610
11611 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11612
11613 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11614 test termination.
11615
11616 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11617
11618 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11619 disappeared.
11620
11621 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11622
11623 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11624 time as i860 support works.
11625
11626 * gdb.t15/funcargs.exp: Fix expected outputs to include
11627 "backtrace 100\r" rather than just "backtrace\r", to match last
11628 change.
11629
11630 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11631
11632 * config/udi-gdb.exp (gdb_exit): Remove close command.
11633 (gdb_target_udi): New procedure to set the UDI target.
11634 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11635 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11636 Added waits for prompts after several question responses. Added
11637 some more responses used by a29k-amd-udi-gdb.
11638 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11639 pass different arguments, restart UDI connection after program
11640 completion.
11641 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11642 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11643 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11644 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11645 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11646 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11647 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11648 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11649 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11650 after program completion.
11651 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11652 compiled with a SELECT_VECS setting.
11653 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11654 infinite recursion.
11655
11656 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11657 Added checks for COFF results, and made them expected failures for
11658 all targets. It would be better to make them expected failures
11659 for COFF targets only.
11660
11661 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11662
11663 * Makefile.in: add null dvi target, don't bother to recurse
11664 through test directories for info and install-info; rename
11665 $(datadir) to be dejagnu instead of deja-gnu
11666
11667 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11668
11669 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11670 compiler to coredump.
11671 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11672 code.
11673
11674 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11675
11676 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11677 coredump.
11678 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11679 code.
11680
11681 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11682
11683 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11684 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11685 which in a shell. Deletes xgdb when done.
11686 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11687 Tests the return from the "set height" or "set width" commands.
11688 Added a few return codes where needed.
11689
11690 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11691
11692 * Makefile.in (SUBDIRS): Add gdb.t17.
11693 * configure.in (subdirs): Add gdb.t17.
11694 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11695 files to test gdb's calling of functions in the inferior with
11696 the correct arguments and gdb's ability to retrieve any
11697 result returned.
11698
11699 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11700
11701 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11702 may be called after gdb goes away. Previous versions of expect
11703 needed these to avoid file descriptor leaks, but they cause
11704 errors with the current revision of expect.
11705 * gdb.t00/gdbvars.exp: Use -re on expected output after
11706 setting sevenbit-strings.
11707 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11708 to set sevenbit-strings consistent across tests.
11709 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11710 set sevenbit-strings consistent across tests.
11711
11712 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11713
11714 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11715 expected output to match current "expect" expectations.
11716
11717 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11718
11719 * gdb.t00/default.exp: Change expected output for default "source"
11720 command, to match new gdb behavior which requires a filename to
11721 source.
11722
11723 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11724
11725 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11726 expected fail for i486-*-* that misses the marker2 function.
11727 * gdb.t10/crossload.exp (bfddefault): Allow successful
11728 recognition of a format to pass even if no symbols are found.
11729 Explicitly catch failures where the format is not recognized
11730 or is ambiguous, and add the reason to the fail message.
11731 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11732 the cause is and invalid target and add reason to failure message.
11733 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11734 elf32-i386, elf32-sparc, and elf32-i860.
11735 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11736 Set up expected failure for 'filename'::variable scope resolution,
11737 which is now apparently broken on all targets.
11738 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11739 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11740 gdb.t23/templates.exp: Change failure for missing binfile into
11741 just a warning.
11742 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11743 references.
11744
11745 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11746
11747 * gdb.t00/default.exp: Add expected output for default "source"
11748 command, to match new gdb behavior.
11749 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11750
11751 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11752
11753 * config/*-gdb.exp: returns an error, rather than exiting on
11754 internal errors.
11755
11756 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11757
11758 * gdb.t03/gdbme.c: Add pointer to struct variable.
11759 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11760 referencing struct members.
11761
11762 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11763
11764 * configure.in (mips-idt-ecoff): New target.
11765 * config/mips-gdb.exp: New file for remote board using MIPS remote
11766 debugging protocol.
11767
11768 * Redid configuration scheme. Removed gdb.t*/configure.in.
11769 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11770 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11771 distclean targets. Built executables via .o files. Adjusted
11772 tests to account for source files in $(srcdir) rather than
11773 $(objdir).
11774 * lib/gdb.exp (runto): Don't expect () after the function name,
11775 because it may have arguments.
11776
11777 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11778
11779 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11780 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11781 expected failures for mips-idt-* and mips-sgi-*.
11782 * gdb.t00/default.exp (attach): Kill process if requested.
11783 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11784 that does not read core files.
11785 * gdb.t01/run.exp: Removed checks for exit status code.
11786 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11787 it is linked in.
11788 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11789 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11790 appropriate, rather than doing it by hand.
11791 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11792 execution.
11793 * gdb.t10/crossload.exp: Kill existing program if needed.
11794 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11795 appropriate, rather than doing it by hand. Always increase
11796 timeout for this test, not just for VxWorks.
11797
11798 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11799
11800 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11801 of Chill STRUCT types and STRUCT values.
11802 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11803 than "char".
11804 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
11805 struct2): New struct definitions and initializations to test
11806 simple Chill STRUCT types.
11807
11808 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11809
11810 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11811 the null byte at the end of strings.
11812 * gdb.t00/default.exp: Make show version insensitive to copyright
11813 date.
11814 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11815 to avoid dependencies on target char signedness.
11816 * gdb.t16/printcmds.exp: Update expected results for explicitly
11817 unsigned char.
11818 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11819 now work.
11820 * gdb.t21/demangle.exp: Add many more patterns for template
11821 demangling, most of them being expected failures.
11822 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11823 string we are matching for, to match on the whole string.
11824 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11825 and fix a whole bunch that had incorrect expected output but were
11826 passing anyway because of the bug in "proc demangle".
11827 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11828 type.
11829 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11830
11831 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11832
11833 * gdb/testsuite: made modifications to testcases, etc., to allow
11834 them to work properly given the reorganization of deja-gnu and the
11835 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11836
11837 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11838
11839 * gdb/testsuite: Initial creation of gdb/testsuite.
11840 Migrated dejagnu testcases and support files for testing nm to
11841 gdb/testsuite from deja-gnu. These files were moved "as is"
11842 with no modifications. This migration is part of a major overhaul
11843 of dejagnu. The modifications to these testcases, etc., which
11844 will allow them to work with the new version of dejagnu will be
11845 made in a future update.
11846
11847 For additional changes see gdb.mi/ChangeLog-1999-2003.
11848 \f
11849 Local Variables:
11850 mode: change-log
11851 left-margin: 8
11852 fill-column: 74
11853 version-control: never
11854 End:
This page took 0.814276 seconds and 5 git commands to generate.