* gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2004-03-31 Joel Brobecker <brobecker@gnat.com>
2
3 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
4 * gdb.ada (null_record.exp): New testcase.
5
6 2004-03-31 Joel Brobecker <brobecker@gnat.com>
7
8 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
9
10 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11
12 * gdb.ada: New subdirectory.
13 * gdb.ada/Makefile.in: New file.
14 * gdb.ada/gnat_ada.gpr.in: New file.
15
16 2004-03-31 Joel Brobecker <brobecker@gnat.com>
17
18 * lib/ada.exp: New file.
19
20 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
21
22 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
23 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
24
25 2004-03-22 Andrew Cagney <cagney@redhat.com>
26
27 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
28 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
29 Problem identified by Ulrich Weigand.
30
31 2004-03-17 David Carlton <carlton@kealia.com>
32
33 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
34 PR c++/826.
35
36 2004-03-16 Roland McGrath <roland@redhat.com>
37
38 * gdb.base/auxv.exp: New file.
39 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
40
41 2004-03-12 David Carlton <carlton@kealia.com>
42
43 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
44 * gdb.cp/pr-1553.cc: Ditto.
45 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
46 pass branch.
47
48 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
49
50 * gdb.cp/templates.exp: Accept more template types.
51
52 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
53
54 From Corinna Vinschen with modifications.
55 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
56 local variable obj_with_enum.
57 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
58 results with obj_with_enum.
59
60 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
61
62 * gdb.cp/classes.cc: New file, copied from misc.cc.
63 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
64
65 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
66
67 * gdb.cp/misc.cc: Add copyright notice.
68
69 2004-03-05 David Carlton <carlton@kealia.com>
70
71 * gdb.cp/rtti.exp: Add 'print *obj3' test.
72 * gdb.cp/rtti.h: Update copyright.
73 (namespace n2::n3): New.
74 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
75 (n2::n3::func3): New.
76 (main): Call n2::n3::func3.
77 * gdb.cp/rtti2.cc: Update copyright.
78 (n2::create3): New.
79
80 2004-03-04 Mark Kettenis <kettenis@gnu.org>
81
82 * gdb.asm/openbsd.inc: Fix typo.
83
84 2004-03-03 Fred Fish <fnf@redhat.com>
85
86 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
87 "val" instead of unused "size". Update copyright year.
88
89 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
90
91 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
92 to use unsigned char.
93 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
94 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
95
96 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
97
98 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
99 line of output.
100
101 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
102
103 * gdb.base/relocate.c (dummy): Initialize.
104
105 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
106
107 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
108 a breakpoint at exit.
109
110 2004-02-27 Fred Fish <fnf@redhat.com>
111
112 * gdb.base/chng-syms.exp: Add expect condition to match failing
113 case that isn't a timeout.
114
115 2004-02-27 Andrew Cagney <cagney@redhat.com>
116
117 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
118 support.
119
120 2004-02-26 Fred Fish <fnf@redhat.com>
121
122 * gdb.arch/gdb1431.c: Remove.
123 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
124 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
125 of "until" incorrectly.
126
127 2004-02-26 J. Brobecker <brobecker@gnat.com>
128
129 * gdb.cp/class2.cc (empty): New class.
130 (refer): New function.
131 (main): Declare an object of type empty and use it.
132 * gdb.cp/class2.exp: Print the value of an object of type empty.
133
134 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
135
136 * gdb.base/langs.exp: Update query string to match the
137 new nquery format used for pending breakpoints.
138
139 2004-02-26 Andrew Cagney <cagney@redhat.com>
140
141 Fix PR i18n/1570.
142 * gdb.base/charset.c: Update copyright notice.
143 (main, init_string): Remove the escape character '\e' tests.
144 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
145 * gdb.base/charset.exp (valid_host_charset): Ditto.
146 * gdb.base/setvar.exp: Ditto.
147
148 2004-02-24 Andrew Cagney <cagney@redhat.com>
149
150 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
151 mmapped data in core file" PASS and FAIL messages consistent.
152
153 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
154 setting a breakpoint. Work around PR java/1565.
155
156 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
157
158 * lib/gdb.exp (gdb_breakpoint): Update query string to match
159 new nquery format.
160 * gdb.base/pending.exp: Ditto.
161
162 2004-02-22 Mark Kettenis <kettenis@gnu.org>
163
164 * configure.in: Run stabs tests on *BSD.
165 * configure: Regenerated.
166
167 2004-02-21 Mark Kettenis <kettenis@gnu.org>
168
169 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
170
171 2004-02-20 Fred Fish <fnf@redhat.com>
172
173 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
174 blank in test for "returns short", for consistency with other
175 "returns xxx" tests. Update copyright year.
176
177 2004-02-19 Fred Fish <fnf@redhat.com>
178
179 New testcase for PR breakpoint/1558.
180 * gdb.arch/gdb1558.exp: New file.
181 * gdb.arch/gdb1558.c: New file.
182
183 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
184
185 * gdb.base/nodebug.exp: Fix typo.
186
187 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
188
189 Committed by Jim Blandy <jimb@redhat.com>.
190
191 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
192
193 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
194
195 * gdb.base/float.exp: Support s390*-*-* targets.
196
197 2004-02-17 Adam Fedor <fedor@gnu.org>
198
199 * gdb.base/gdb1555.exp: New file.
200 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
201
202 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
203
204 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
205
206 2004-02-16 Fred Fish <fnf@redhat.com>
207
208 * gdb.arch/gdb1291.c: Remove
209 * gdb.arch/gdb1291.s: New test input file.
210 * gdb.arch/gdb1291.exp: Expand test to check case that should not
211 fail. Test for correct result, known incorrect result, other
212 failures and timeouts.
213
214 2004-02-16 Andrew Cagney <cagney@redhat.com>
215
216 * gdb.base/bigcore.exp: New file.
217 * gdb.base/bigcore.c: New file.
218
219 2004-02-13 Andrew Cagney <cagney@redhat.com>
220
221 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
222 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
223 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
224 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
225 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
226 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
227 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
228 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
229 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
230 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
231
232 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
233
234 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
235 executed is an alloc instruction.
236
237 2004-02-11 David Carlton <carlton@kealia.com>
238
239 * gdb.cp/breakpoint.exp: New.
240 * gdb.cp/breakpoint.cc: New.
241
242 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
243
244 Partial fix for PR gdb/1543.
245 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
246 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
247 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
248 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
249 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
250 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
251 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
252 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
253 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
254 to bug-gdb@prep.ai.mit.edu .
255 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
256 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
257 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
258 Likewise.
259
260 2004-02-10 Andrew Cagney <cagney@redhat.com>
261
262 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
263 using gdb_internal_error_resync.
264
265 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
266
267 * gdb.threads/thread-specific.exp: Stop early if no threads are
268 found.
269
270 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
271
272 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
273
274 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
275
276 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
277 breakpoints.
278
279 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
280
281 * config/sim.exp (gdb_load): Handle $arg == "".
282 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
283 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
284
285 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
286
287 * gdb.base/maint.exp: Update test to reflect
288 obstack changes.
289
290 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
291
292 * gdb.base/pendshr.c (pendfunc): New function that calls
293 pendfunc1.
294 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
295
296 2004-02-04 Fred Fish <fnf@redhat.com>
297
298 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
299 function symbols and update copyright years.
300 * gdb.arch/gdb1291.c: Ditto.
301
302 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
303
304 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
305
306 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
307
308 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
309
310 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
311
312 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
313
314 2004-02-02 Fred Fish <fnf@redhat.com>
315
316 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
317 remote targets. Update copyright years.
318
319 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
320
321 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
322 support.
323 * gdb.base/langs.exp: Fix test which attempts to create
324 breakpoint on non-existent function to handle new pending
325 support.
326 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
327 a breakpoint.
328 * gdb.base/pending.exp: New test.
329 * gdb.base/pending.c: New file.
330 * gdb.base/pendshr.c: Ditto.
331
332 2004-02-02 David Carlton <carlton@kealia.com>
333
334 * gdb.cp/overload.exp: Add overloadNamespace tests.
335 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
336 (overloadNamespace, XXX): New.
337 (main): Call XXX::marker2.
338
339 2004-02-01 Fred Fish <fnf@redhat.com>
340
341 * gdb.base/dump.exp: Use runto_main instead of "runto main".
342 * gdb.base/finish.exp: Ditto.
343 * gdb.base/gcore.exp: Ditto.
344 * gdb.base/huge.exp: Ditto.
345 * gdb.base/info-proc.exp: Ditto.
346 * gdb.base/return2.exp: Ditto.
347 * gdb.threads/gcore-thread.exp: Ditto.
348
349 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
350
351 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
352
353 2004-02-01 Mark Kettenis <kettenis@gnu.org>
354
355 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
356 that opening the file succeeds on OpenBSD.
357
358 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
359
360 * gdb.threads/thread-specific.c: New file.
361 * gdb.threads/threads-specific.exp: New test script.
362 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
363 to expect_out.
364
365 2004-02-01 Mark Kettenis <kettenis@gnu.org>
366
367 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
368 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
369 only on the "print_small_structs from print_long_arg_list" test.
370
371 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
372
373 * gdb.base/completion.exp: Kill a stray backslash.
374
375 From Jim Ingham <jingham@apple.com>:
376 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
377 agrees with the result from sending a tab.
378
379 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
380
381 * gdb.base/chng-syms.exp: Remove stray newline.
382
383 2004-01-31 Mark Kettenis <kettenis@gnu.org>
384
385 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
386 *-*-openbsd*.
387 * gdb.asm/openbsd.inc: New file.
388
389 2004-01-30 Mark Kettenis <kettenis@gnu.org>
390
391 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
392 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
393 *-*solaris2*. Remove commented out default settings for
394 asm-flags. Replace gdb_compile with target_link.
395
396 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
397
398 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
399 for all tests. Remove old hp-ux and cygnus xfail cases.
400
401 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
402
403 * gdb.base/chng-syms.exp: New file.
404 * gdb.base/chng-syms.c: New file.
405
406 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
407
408 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
409 Provide arms for current output in all my configurations.
410
411 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
412
413 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
414 * lib/compiler.cc: Likewise.
415 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
416 get the right preprocessor. Eval the output directly. Remove
417 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
418 hp_f77_compiler and hp_f90_compiler completely.
419 (gdb_preprocess): Delete.
420 (get_compiler): Delete.
421
422 2004-01-24 Mark Kettenis <kettenis@gnu.org>
423
424 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
425 <string.h>.
426
427 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
428
429 * gdb.mi/mi-stack.exp: Update copyright.
430
431 2004-01-23 David Carlton <carlton@kealia.com>
432
433 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
434 test for cp_lookup_transparent_type.
435 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
436 call them.
437
438 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
439
440 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
441 after -var-update.
442
443 2004-01-23 David Carlton <carlton@kealia.com>
444
445 * gdb.cp/namespace.cc (C::ensureRefs): New.
446 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
447
448 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
449
450 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
451 case "-stack-list-locals 2".
452 * gdb.mi/mi-var-child.exp: Test for case
453 "-var-list-children --all-values NAME".
454
455 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
456
457 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
458
459 2004-01-18 Mark Kettenis <kettenis@gnu.org>
460
461 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
462 used with gdb_test_multiple.
463
464 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
465 read at address 0. This fixes PR testsuite/1504.
466
467 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
468
469 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
470 Remove downloading, guessing the host executable, the calls to
471 gdb_file_cmd and gdb_target_cmd, and "load" support.
472 (infer_host_exec): New function broken out from gdb_load.
473 (gdb_load): New wrapper for gdbserver_gdb_load.
474 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
475 gdb_target_cmd. Use -target-select.
476 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
477 Download binaries to the host. Clear last_mi_remote_file when
478 we load a new binary.
479 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
480 call gdbserver_gdb_load and mi_gdb_target_cmd.
481
482 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
483
484 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
485 type patterns.
486
487 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
488
489 * gdb.cp/templates.exp: Fix typo in test name of
490 "print Foo<volatile char*>::foo".
491
492 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
493
494 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
495
496 2004-01-16 Ben Elliston <bje@wasabisystems.com>
497
498 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
499 (clean mostlyclean): Remove empty rm.
500
501 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
502
503 * gdb.base/setvar.exp: Add copyright years.
504
505 2004-01-14 David Carlton <carlton@bactrian.org>
506
507 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
508 PR c++/1511 and update coment.
509 * gdb.cp/templates.exp: Update patterns to match current output.
510 If changes involve something other than whitespace, KFAIL
511 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
512
513 2004-01-14 David Carlton <carlton@kealia.com>
514
515 * gdb.cp/namespace.exp: Add tests involving classes defined within
516 namespaces.
517 * gdb.cp/namespace.cc (C::CClass): New.
518 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
519
520 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
521
522 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
523 what debug info we have. Print a better message if something goes
524 wrong while producing the separate debug info file.
525
526 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
527
528 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
529
530 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
531
532 * gdb.base/callfuncs.c: Add copyright notice.
533
534 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
535
536 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
537 inheritance. PR gdb/1498, PR gcc/13539.
538
539 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
540
541 * gdb.threads/gcore-thread.exp: Prefix name of binary with
542 test specific name.
543 * gdb.mi/gdb669.exp: Ditto.
544 * gdb.mi/mi-pthreads.exp: Ditto.
545 * gdb.mi/mi1-pthreads.exp: Ditto.
546 * gdb.mi/mi2-pthreads.exp: Ditto.
547
548 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
549
550 * gdb.cp/member-ptr.cc: Add copyright notice.
551
552 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
553
554 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
555 some patterns for recent versions of gcc and hpacc. Delete
556 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
557 Delete tests that access a NULL pointer-to-member-data. This
558 script is still disabled for gcc.
559
560 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
561
562 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
563 escaped correctly.
564
565 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
566
567 * gdb.base/sepdebug.exp: New file.
568 * gdb.base/sepdebug.c: New file.
569 * lib/gdb.exp (separate_debug_filename): New procedure.
570 (gdb_gnu_strip_debug): New procedure.
571
572 2004-01-12 Andrew Cagney <cagney@redhat.com>
573
574 * gdb.mi/ChangeLog: Delete file. Renamed to ...
575 * gdb.mi/ChangeLog-1999-2003: New file.
576
577 2004-01-12 Andrew Cagney <cagney@redhat.com>
578
579 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
580 "Renaming a directory to a non-empty directory returns ENOTEMPTY
581 or EEXIST", treat EBUSY as an XFAIL.
582
583 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
584
585 * gdb.base/scope.exp: Remove obsolete setup_xfail for
586 hp_cc_compiler.
587
588 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
589
590 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
591 decorations.
592
593 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
594
595 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
596 and "(aCC)" decorations. Remove obsolete doco about old
597 test results.
598
599 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
600
601 * gdb.cp/exception.exp: Fix typo in doco.
602
603 2004-01-09 Mark Kettenis <kettenis@gnu.org>
604
605 * gdb.base/gdb1476.exp: Fix typo.
606
607 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
608
609 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
610 file.
611
612 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
613
614 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
615 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
616 Use gdb_compile. Remove restriction on gcc. Add some patterns
617 for recent version of gdb. Delete second half, which was a copy
618 of the first half with different build flags. This test is
619 still disabled because it is still not ready for production.
620
621 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
622
623 * gdb.cp/exception.cc: Add copyright notice.
624 * gdb.cp/exception.exp: Add a notice that this file is broken
625 because of line number changes caused by addition of copyright
626 notice.
627
628 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
629
630 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
631 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
632
633 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
634
635 * gdb.cp/classes.exp: Accept gnu abi 2.
636 * gdb.cp/derivation.exp: Likewise.
637 * gdb.cp/overload.exp: Likewise.
638 * gdb.cp/virtfunc.exp: Likewise.
639
640 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
641
642 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
643 semicolon after end of function.
644
645 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
646
647 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
648 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
649 boilerplate code for compiling and running the program under
650 test. Add some string method tests.
651
652 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
653
654 * gdb.cp/bs15503.cc: Add copyright notice.
655 * gdb.cp/bs15503.exp: Adjust line number.
656
657 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
658
659 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
660 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
661
662 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
663
664 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
665 hp_cc_compiler.
666
667 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
668
669 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
670 * gdb.cp/ctti.exp: Use the marker instead of "next".
671 With gcc, run further before bailing.
672
673 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
674
675 * gdb.cp/cttiadd.cc: Add copyright notice.
676 * gdb.cp/cttiadd1.cc: Likewise.
677 * gdb.cp/cttiadd2.cc: Likewise.
678 * gdb.cp/cttiadd3.cc: Likewise.
679
680 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
681
682 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
683 Use gdb_test, gdb_test_multiple. Use floating-point values that
684 have exact representations in IEEE-ish formats.
685
686 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
687
688 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
689 compilers. Delete duplicate call to get_compiler_info.
690 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
691 * gdb.base/volatile.exp: Likewise.
692
693 2004-01-07 Mark Kettenis <kettenis@gnu.org>
694
695 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
696 memory at address 0.
697
698 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
699
700 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
701 to test for hp-ux assembler. Fix copyright years.
702
703 2004-01-07 Andrew Cagney <cagney@redhat.com>
704
705 * gdb.base/fileio.c (strerrno): Add "EBUSY".
706
707 2004-01-07 Andrew Cagney <cagney@redhat.com>
708
709 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
710 when creating the read-only file. From analysis by Roland McGrath
711 and Elena Zannoni.
712
713 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
714
715 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
716
717 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
718
719 * gdb.base/cvexpr.c: Be type-safe with function pointers and
720 data pointers.
721
722 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
723
724 * gdb.cp/m-static.exp: Compile one source file at a time.
725 Delete unused call to get_compiler_info.
726
727 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
728
729 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
730 * gdb.base/call-rt-st.exp: Likewise.
731 * gdb.base/nodebug.exp: Likewise.
732 * gdb.base/volatile.exp: Likewise.
733 * gdb.cp/ref-types.exp: Likewise.
734 * gdb.cp/templates.exp: Likewise.
735
736 2004-01-05 Mark Kettenis <kettenis@gnu.org>
737
738 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
739
740 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
741
742 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
743 hppa*-hp-hpux*.
744
745 2004-01-04 Mark Kettenis <kettenis@gnu.org>
746
747 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
748 x86_64-*-*.
749
750 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
751 sparc64-*-* and sparc*-solaris2*.
752
753 2004-01-04 Mark Kettenis <kettenis@gnu.org>
754
755 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
756 return ${tests}" test. The ${tests} already mentions the
757 filename.
758
759 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
760
761 * gdb.cp/local.exp: Accept gcc abi 2.
762
763 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
764
765 * gdb.cp/templates.exp: Accept gcc abi 2.
766
767 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
768
769 * lib/compiler.cc: Remove supports_template_debugging.
770 * gdb.cp/templates.exp: Do not test supports_template_debugging.
771
772 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
773
774 * gdb.cp/namespace.exp: Accept gcc abi 2.
775
776 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
777
778 * gdb.cp/method.exp: Accept gcc abi 2.
779
780 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
781
782 * gdb.cp/classes.exp: Generate identical results as old version.
783 * gdb.cp/derivation.exp: Likewise.
784 * gdb.cp/overload.exp: Likewise.
785 * gdb.cp/virtfunc.exp: Likewise.
786
787 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
788
789 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
790 mysterious bug with sourceware version of expect.
791
792 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
793
794 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
795 current versions of gcc, including gcc abi 2. Remove gratuitous
796 restart of test program. Use gdb_test_multiple and gdb_test for
797 all tests. Add patterns to xfail missing "const" in "const char *"
798 and kfail PR gdb/1155.
799
800 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
801
802 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
803 current versions of gcc, including gcc abi 2. Remove gratuitous
804 restart of test program. Use gdb_test_multiple and gdb_test for
805 all tests. Add patterns to kfail PR gdb/1498.
806
807 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
808
809 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
810 current versions of gcc, including gcc abi 2. Use "breakpoint"
811 and "continue" instead of restarting the target program. Use
812 gdb_test_multiple and gdb_test for all tests.
813
814 2004-01-01 Mark Kettenis <kettenis@gnu.org>
815
816 * gdb.asm/asm-source.exp: Update copyright year. Link statically
817 for *-*-solaris2*.
818
819 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
820
821 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
822 current versions of gcc, including gcc abi 2. Use "breakpoint"
823 and "continue" instead of restarting the target program several
824 times. Use gdb_test_multiple and gdb_test for all tests.
825
826 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
827
828 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
829 source files.
830
831 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
832
833 * gdb.base/environ.exp: Handle compiling test case from multiple
834 source files.
835
836 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
837
838 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
839
840 2003-12-17 Jim Blandy <jimb@redhat.com>
841
842 * gdb.base/freebpcmd.c: Add copyright notice.
843
844 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
845
846 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
847
848 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
849
850 2003-12-13 Jim Blandy <jimb@redhat.com>
851
852 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
853
854 2003-12-12 Kevin Buettner <kevinb@redhat.com>
855
856 * gdb.asm/frv.inc: New file.
857 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
858
859 2003-12-09 Fred Fish <fnf@redhat.com>
860
861 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
862 functions to break1.c and leave prototypes behind. Add more
863 "set breakpoint NN here" comments.
864 * gdb.base/break1.c: New file.
865
866 * gdb.base/break.exp: Handle compiling test case from multiple
867 source files and change source file references as needed.
868 * gdb.base/completion.exp: Ditto.
869 * gdb.base/condbreak.exp: Ditto.
870 * gdb.base/define.exp: Ditto.
871 * gdb.base/ena-dis-br.exp: Ditto.
872 * gdb.base/info-proc.exp: Ditto.
873 * gdb.base/maint.exp: Ditto.
874 * gdb.base/until.exp: Ditto.
875
876 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
877 hardcoded line numbers.
878 * gdb.base/define.exp: Ditto.
879 * gdb.base/ena-dis-br.exp: Ditto.
880 * gdb.base/maint.exp: Ditto.
881 * gdb.base/until.exp: Ditto.
882
883 * gdb.base/completion.exp: Use "break1" for completion tests since
884 "break" is no longer a unique prefix.
885
886 2003-12-06 Andrew Cagney <cagney@redhat.com>
887
888 * gdb.base/structs.exp (test_struct_returns): When applicable, set
889 "return_value_unimplemented". When an unimplemented struct return
890 architecture, report incorrect values as a KFAIL
891
892 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
893
894 * gdb.cp/rtti.exp: Accept new wording of warning from
895 cp_lookup_rtti_type.
896
897 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
898
899 Partial fix for PR testsuite/1456.
900 * gdb.base/scope.exp (test_at_main): Replace references to
901 gcc_compiled with calls to test_compiler_info.
902 (test_at_foo): Likewise.
903 (test_at_bar): Likewise.
904
905 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
906
907 Partial fix for PR testsuite/1456.
908 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
909 to test_compiler_info.
910
911 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
912
913 * gdb.base/so-impl-ld.exp: Update copyright notice.
914
915 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
916
917 Partial fix for PR testsuite/1456.
918 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
919 to test_compiler_info.
920
921 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
922
923 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
924 from current versions of gdb. Clean up regular expressions.
925 Delete redundant timeout case.
926
927 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
928
929 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
930 from current versions of gdb. Clean up regular expressions.
931 Delete redundant timeout case.
932
933 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
934
935 Partial fix for PR testsuite/1456.
936 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
937 gcc_compiled with call to test_compiler_info.
938
939 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
940
941 Partial fix for PR testsuite/1456.
942 * gdb.base/list.exp (test_list_function): Delete unused declaration
943 of gcc_compiled.
944
945 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
946
947 Partial fix for PR testsuite/1456.
948 * gdb.base/complex.exp: Replace reference to gcc_compiled with
949 call to test_compiler_info.
950
951 2003-11-29 Mark Kettenis <kettenis@gnu.org>
952
953 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
954 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
955 it to create the appropriate note.inc.
956 * gdb.asm/asmsrc1.s: Include "note.inc".
957 * gdb.asm/netbsd.inc: New file.
958 * gdb.asm/empty.inc: New file.
959
960 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
961
962 Partial fix for PR testsuite/1456.
963 * gdb.base/constvars.exp: Replace references to gcc_compiled with
964 calls to test_compiler_info.
965
966 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
967
968 Partial fix for PR testsuite/1456.
969 * gdb.base/volatile.exp: Replace references to gcc_compiled with
970 calls to test_compiler_info.
971
972 2003-11-27 Mark Kettenis <kettenis@gnu.org>
973
974 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
975 pattern for the KFAILs.
976
977 2003-11-25 Adam Fedor <fedor@gnu.org>
978
979 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
980 * gdb.objc/objcdecode.m: New file.
981
982 2003-11-25 Adam Fedor <fedor@gnu.org>
983
984 * gdb.objc/nondebug.exp: Test for PR objc/1236.
985 * gdb.objc/nondebug.m: New file.
986
987 2003-11-26 Ben Elliston <bje@wasabisystems.com>
988
989 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
990 NetBSD as it does on FreeBSD. Modelled on a similar change by
991 Mark Kettenis on 2003-05-30.
992 (link-flags): Set to "--entry _start" regardless of target.
993 Special linker flags are to be appended to $link-flags.
994 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
995
996 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
997
998 * gdb.cp/method.exp: Accept output of new demangler.
999
1000 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1001
1002 * gdb/class2.exp: New file.
1003 * gdb/class2.cc: New file.
1004
1005 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1006
1007 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
1008 of new demangler.
1009
1010 2003-11-23 Mark Kettenis <kettenis@gnu.org>
1011
1012 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1013 of gdb_test "run".
1014
1015 2003-11-23 Mark Kettenis <kettenis@gnu.org>
1016
1017 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1018 "continue" into "run".
1019
1020 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1021
1022 Partial fix for PR testsuite/1456.
1023 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1024 call to test_compiler_info.
1025 * gdb.cp/ctti.exp: Likewise.
1026 * gdb.cp/derivation.exp: Likewise.
1027 * gdb.cp/member-ptr.exp: Likewise.
1028 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1029 reference to gcc_compiled.
1030
1031 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1032
1033 Fix PR testsuite/1463.
1034 * gdb.base/structs.exp (start_structs_test): Call
1035 get_debug_format before using the debug format.
1036
1037 2003-11-22 Andrew Cagney <cagney@redhat.com>
1038
1039 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1040 * gdb.base/structs.exp: Use gdb_test_multiple.
1041
1042 2003-11-20 Andrew Cagney <cagney@redhat.com>
1043
1044 * gdb.base/structs.exp: Handle and recover from internal errors.
1045 Replace "foo${n}" with "foo<n>" in test messages.
1046
1047 * gdb.base/structs.exp: Update copyright. Rewrite.
1048 * gdb.base/structs.c: Update copyright. Rewrite.
1049
1050 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1051 resync count exceeded.
1052
1053 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1054 from the internal error.
1055 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1056 Original from Jim Blandy.
1057 (gdb_test_multiple): Use gdb_internal_error_resync.
1058
1059 2003-11-19 Andrew Cagney <cagney@redhat.com>
1060
1061 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1062 KFAIL.
1063
1064 2003-11-17 Mark Kettenis <kettenis@gnu.org>
1065
1066 New testcase for PR backtrace/1435.
1067 * gdb.arch/i386-unwind.exp: New file.
1068 * gdb.arch/i386-unwind.c: New file.
1069
1070 2003-11-17 Andrew Cagney <cagney@redhat.com>
1071
1072 * lib/gdb.exp (compiler_info): New global.
1073 (test_compiler_info): New function.
1074 (get_compiler_info): Set compiler_info.
1075 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1076 "compiler_info" to gcc-<major>-<minor>.
1077
1078 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1079
1080 * gdb.trace/configure: Remove.
1081
1082 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
1083
1084 * gdb.base/break.c: Add comments to aid finding line numbers for
1085 breakpoints.
1086 * gdb.base/break.exp: Remove all references to explicit line
1087 numbers.
1088
1089 2003-11-11 Nick Clifton <nickc@redhat.com>
1090
1091 * gdb.base/shreloc.exp: Do not run for targets which do not
1092 support shared objects.
1093
1094 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
1095
1096 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1097 Don't run tests if nofileio flag is given.
1098
1099 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
1100
1101 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1102 as well as 'Watchpoint'.
1103
1104 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
1105
1106 Reported by Jim Ingham <jingham@apple.com>:
1107 * gdb.base/annota1.exp: Match at least one occurrence of the
1108 signal handler annotation.
1109
1110 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
1111
1112 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1113 as well as 'Watchpoint'.
1114
1115 2003-11-05 Michael Chastain <mec@shout.net>
1116
1117 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1118
1119 2003-11-03 Kris Warkentin <kewarken@qnx.com>
1120
1121 * gdb.arch/gdb1291.c: New test file.
1122 * gdb.arch/gdb1291.exp: New test script.
1123 * gdb.arch/gdb1431.c: New test file.
1124 * gdb.arch/gdb1431.exp: New test script.
1125
1126 2003-10-22 Michael Chastain <mec@shout.net>
1127
1128 * gdb.mi/pthreads.c: Add copyright notice.
1129
1130 2003-10-22 Michael Chastain <mec@shout.net>
1131
1132 * gdb.threads/pthreads.c: Add copyright notice.
1133
1134 2003-10-20 Michael Chastain <mec@shout.net>
1135
1136 * gdb.base/gdb1056.exp: New test script.
1137
1138 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
1139
1140 * gdb.threads/killed.exp: Use gdb_run_cmd.
1141
1142 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
1143
1144 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1145 create a core file.
1146 * gdb.threads/gcore-thread.exp: Likewise.
1147
1148 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
1149
1150 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1151 type, based on char type.
1152 (struct bit_flags_short_t): New bitfield type, based on short type.
1153 (init_bit_flags_char): New fuction.
1154 (init_bit_flags_short): Ditto.
1155 (print_bit_flags_char): Ditto.
1156 (print_bit_flags_short): Ditto.
1157 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1158
1159 2003-10-11 Michael Chastain <mec@shout.net>
1160
1161 * gdb.base/call-rt-st.exp: Update copyright year.
1162
1163 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1164
1165 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1166 * gdb.disasm/sh3.s: Ditto.
1167
1168 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
1169
1170 * gdb.threads/switch-threads.exp: New test.
1171 * gdb.threads/switch-threads.c: New source file.
1172
1173 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
1174
1175 * gdb.base/ending-run.exp: Add sh specific case.
1176
1177 2003-10-06 Andrew Cagney <cagney@redhat.com>
1178
1179 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1180 * gdb.disasm/mn10200.exp: Delete obsolete file.
1181
1182 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
1183
1184 * ChangeLog: Correct an entry command.exp -> commands.exp.
1185 * gdb.base/commands.exp (bp_deleted_in_command_test)
1186 (temporary_breakpoint_commands): Check noargs.
1187
1188 2003-09-25 David Carlton <carlton@kealia.com>
1189
1190 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1191 of some print tests, where appropriate. Add tests for C::D::cd,
1192 E::ce, F::cXfX, G::XgX.
1193 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1194
1195 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
1196
1197 * lib/java.exp (java_init): Import target_alias before using it.
1198
1199 2003-09-25 David Carlton <carlton@kealia.com>
1200
1201 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1202
1203 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
1204
1205 * gdb.base/selftest.exp: Accomodate more instruction reordering
1206 weirdness.
1207
1208 2003-09-17 Michael Chastain <mec@shout.net>
1209
1210 * gdb.cp/gdb1355.exp: New file.
1211 * gdb.cp/gdb1355.c: New file.
1212
1213 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
1214
1215 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1216 * gdb.asm/sh.inc: New file.
1217
1218 2003-09-11 David Carlton <carlton@kealia.com>
1219
1220 * gdb.cp/namespace.exp: Add tests for namespace types.
1221 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
1222 (test_namespace): New.
1223
1224 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
1225
1226 * gdb.base/relocate.exp: Handle new gdb output at startup.
1227 * gdb.stabs/weird.exp: Ditto.
1228
1229 2003-09-08 Michael Chastain <mec@shout.net>
1230
1231 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1232
1233 2003-09-07 Michael Chastain <mec@shout.net>
1234
1235 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1236 'parse error'.
1237
1238 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1239
1240 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1241
1242 2003-08-30 Michael Chastain <mec@shout.net>
1243
1244 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1245 * gdb.gdb/observer.exp: Ditto.
1246 * gdb.gdb/xfullpath.exp: Ditto.
1247
1248 2003-08-29 Mark Kettenis <kettenis@gnu.org>
1249
1250 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1251 *-*-*bsd*.
1252
1253 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1254
1255 * gdb.base/dump.exp: Skip for ia64.
1256
1257 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1258
1259 * gdb.asm/asm-source.exp: Add ia64 support.
1260 * gdb.asm/ia64.inc: New file.
1261
1262 2003-08-22 Michael Chastain <mec@shout.net>
1263
1264 * gdb.cp: New directory.
1265 * gdb.cp/*: Copy from gdb.c++/*.
1266 * gdb.c++/*: Remove.
1267 * Makefile.in: Change gdb.c++ to gdb.cp.
1268 * configure.in: Ditto.
1269 * configure: Regnerate.
1270
1271 2003-08-18 Mark Kettenis <kettenis@gnu.org>
1272
1273 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1274 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1275
1276 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1277
1278 * mi-var-display.exp (-var-list-children weird): Accept function
1279 pointers with argument types.
1280 * mi1-var-display.exp (-var-list-children weird): Likewise.
1281 * mi2-var-display.exp (-var-list-children weird): Likewise.
1282
1283 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1284
1285 * gdb.base/annota3.exp: Add missing newline.
1286
1287 2003-08-06 Michael Chastain <mec@shout.net>
1288
1289 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1290
1291 2003-08-12 Michael Snyder <msnyder@redhat.com>
1292
1293 * gdb.base/float.exp: Add test for SH.
1294
1295 2003-08-10 Mark Kettenis <kettenis@gnu.org>
1296
1297 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1298
1299 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1300
1301 * gdb.base/completion.exp: Remove reduntant completion test
1302 on filename.
1303
1304 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1305
1306 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1307 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1308 gdb.trace/save-trace.exp: Make sure that full pathnames are
1309 escaped correctly.
1310
1311 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1312
1313 * configure.in: Don't generate config.h from config.hin.
1314 * configure: Regenerate.
1315 * config.hin: Remove file.
1316 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1317 * gdb.threads/pthreads.c: Ditto.
1318
1319 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
1320
1321 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1322 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1323 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1324 Replace ld24 with seth/add3.
1325
1326 2003-08-02 Andrew Cagney <cagney@redhat.com>
1327
1328 * gdb.base/annota3.exp: New file.
1329 * gdb.base/annota3.c: New file.
1330 * gdb.c++/annota3.exp: New file.
1331 * gdb.c++/annota3.cc: New file.
1332
1333 2003-07-29 Michael Chastain <mec@shout.net>
1334
1335 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1336 actually failed.
1337 (do_pass): Likewise.
1338 * gdb.threads/tls.exp: Always initialize no_of_threads.
1339
1340 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
1341
1342 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1343 pattern.
1344 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1345 * gdb.threads/tls.exp: Recognize one case of the host library not
1346 supporting TLS.
1347
1348 2003-07-27 Andrew Cagney <cagney@redhat.com>
1349
1350 * gdb.base/fileio.exp: Use SH when running commands using
1351 remote_exec.
1352
1353 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
1354
1355 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1356 * gdb.base/relocate.c (dummy): New padding array.
1357
1358 2003-07-22 Michael Snyder <msnyder@redhat.com>
1359
1360 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1361
1362 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1363 patterns to be more general, accepting old and new output.
1364 Some output chars (such as '+') also must be quoted.
1365 Some addresses are displayed numerically instead of
1366 symbolically.
1367
1368 2003-07-23 Michael Snyder <msnyder@redhat.com>
1369
1370 * gdb.base/return2.exp: Don't test long-long return.
1371
1372 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1373 * gdb.disasm/t01_mov.exp: Ditto.
1374 * gdb.disasm/t02_mova.s: Ditto.
1375 * gdb.disasm/t02_mova.exp: Ditto.
1376 * gdb.disasm/t03_add.s: Ditto.
1377 * gdb.disasm/t03_add.exp: Ditto.
1378 * gdb.disasm/t04_sub.s: Ditto.
1379 * gdb.disasm/t04_sub.exp: Ditto.
1380 * gdb.disasm/t05_cmp.s: Ditto.
1381 * gdb.disasm/t05_cmp.exp: Ditto.
1382 * gdb.disasm/t06_ari2.s: Ditto.
1383 * gdb.disasm/t06_ari2.exp: Ditto.
1384 * gdb.disasm/t07_ari3.s: Ditto.
1385 * gdb.disasm/t07_ari3.exp: Ditto.
1386 * gdb.disasm/t08_or.s: Ditto.
1387 * gdb.disasm/t08_or.exp: Ditto.
1388 * gdb.disasm/t09_xor.s: Ditto.
1389 * gdb.disasm/t09_xor.exp: Ditto.
1390 * gdb.disasm/t10_and.s: Ditto.
1391 * gdb.disasm/t10_and.exp: Ditto.
1392 * gdb.disasm/t11_logs.s: Ditto.
1393 * gdb.disasm/t11_logs.exp: Ditto.
1394 * gdb.disasm/t12_bit.s: Ditto.
1395 * gdb.disasm/t12_bit.exp: Ditto.
1396 * gdb.disasm/t13_otr.s: Ditto.
1397 * gdb.disasm/t13_otr.exp: Ditto.
1398
1399 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1400
1401 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1402
1403 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1404
1405 * gdb.threads/tls.c : New file.
1406 * gdb.threads/tls.exp : New file.
1407 * gdb.threads/tls-main.c : New file.
1408 * gdb.threads/tls-shared.c : New file.
1409 * gdb.threads/tls-shared.exp : New file.
1410
1411 2003-07-22 Andreas Schwab <schwab@suse.de>
1412
1413 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1414
1415 2003-07-20 Andreas Schwab <schwab@suse.de>
1416
1417 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1418 due to insn reordering.
1419
1420 2003-07-15 Andrew Cagney <cagney@redhat.com>
1421
1422 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1423
1424 2003-07-15 Michael Chastain <mec@shout.net>
1425
1426 * gdb.base/gdb1250.exp: New file.
1427 * gdb.base/gdb1250.c: New file.
1428
1429 2003-07-09 Michal Ludvig <mludvig@suse.cz>
1430
1431 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1432 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1433
1434 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1435
1436 * gdb.threads/tls.c: New file.
1437 * gdb.threads/tls.exp: New file.
1438 * gdb.threads/tls-main.c: New file.
1439 * gdb.threads/tls-shared.c: New file.
1440 * gdb.threads/tls-shared.exp: New file.
1441
1442 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1443
1444 * gdb.base/annota1.exp: Make sure that we properly escape the
1445 full path of the source file. Xfail more permissive patterns,
1446 due to a compiler debug info problem.
1447
1448 2003-07-07 Andreas Schwab <schwab@suse.de>
1449
1450 * gdb.asm/m68k.inc: New file.
1451 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1452
1453 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1454 arguments"): Also match negative number.
1455
1456 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1457
1458 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
1459
1460 * gdb.base/store.c (charest): New typedef.
1461 (add_char): Rename to add_charest, update.
1462 (wack_char): Rename to wack_charest, update types. Return l + r
1463 to keep r live across the call.
1464 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1465 (wack_double, wack_doublest): Return l + r to keep r live across
1466 the call.
1467 * gdb.base/store.exp: Accomodate store.c changes.
1468
1469 2003-06-30 David Carlton <carlton@kealia.com>
1470
1471 * gdb.c++/maint.exp (test_invalid_name): New.
1472 (test_first_component): Add tests for invalid names.
1473
1474 2003-06-29 Michael Chastain <mec@shout.net>
1475
1476 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1477 output of '<VTT for class>' for virtual base classes.
1478
1479 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1480
1481 * gdb.base/completion.exp: Tab-complete "complet" instead of
1482 "compl".
1483 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1484
1485 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1486
1487 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1488 * gdb.base/volatile.exp: Likewise.
1489
1490 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1491
1492 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1493 gdb/1265.
1494
1495 2003-06-28 Michael Chastain <mec@shout.net>
1496 Daniel Jacobowitz <drow@mvista.com>
1497
1498 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1499 initial line count of 'captured_main' from 26 to 32.
1500 (test_with_self): Allow xmalloc call to be interleaved with the
1501 preceding two lines.
1502
1503 2003-06-24 Joel Brobecker <brobecker@gnat.com>
1504
1505 * gdb.base/bang.exp: New testcase.
1506
1507 2003-06-23 Joel Brobecker <brobecker@gnat.com>
1508
1509 * gdb.base/langs.exp: Add some tests for the "minimal" language
1510 support.
1511
1512 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
1513
1514 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1515 the testcase.
1516
1517 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
1518
1519 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1520 offset.
1521
1522 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
1523
1524 * gdb.c++/pr-1210.cc: New file.
1525 * gdb.c++/pr-1210.exp: New file.
1526
1527 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
1528
1529 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1530 000-exec-continue.
1531
1532 2003-06-15 Mark Kettenis <kettenis@gnu.org>
1533
1534 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1535 on *-*-*bsd* instead of *-*-freebsd*.
1536
1537 2003-06-14 Andrew Cagney <cagney@redhat.com>
1538
1539 * gdb.base/store.exp: Test longest and doublest. Test all
1540 parameters. Weaken return statement match.
1541 * gdb.base/store.c: Add longest and doublest - aka long long and
1542 long double functions. Put all parameters into local register
1543 variables. Use negative values.
1544
1545 2003-06-14 Andrew Cagney <cagney@redhat.com>
1546
1547 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1548 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1549 exit status.
1550 * gdb.base/fileio.exp: Disable target when nointerrupts and
1551 noinferiorio, instead of limiting it to remote. Use remote_exec
1552 instead of system.
1553
1554 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1555
1556 * gdb.base/float.exp: Add ia64 support.
1557
1558 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
1559
1560 * gdb.base/fileio.exp: Run only on remote targets.
1561
1562 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
1563
1564 * gdb.base/fileio.c: New file, testing File-I/O.
1565 * gdb.base/fileio.exp: Ditto.
1566
1567 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1568
1569 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1570 shared objects after relocation at load time (gdb PR/1132).
1571 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1572 as above, part of the shared object relocation test.
1573
1574 2003-06-08 Mark Kettenis <kettenis@gnu.org>
1575
1576 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1577 fully filled history list.
1578 * gdb.base/gdb_history: New file.
1579
1580 * gdb.base/signals.exp: XFAIL "continue to func1" on
1581 i*86-*-freebsd*.
1582
1583 * gdb.base/attach.exp: When trying to attach to a nonexistent
1584 process, make it possible to specify the PID based on the target,
1585 and do so for *-*-freebsd*.
1586
1587 2003-06-02 Richard Henderson <rth@redhat.com>
1588
1589 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1590
1591 2003-06-02 Richard Henderson <rth@redhat.com>
1592
1593 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1594
1595 2003-06-02 Richard Henderson <rth@redhat.com>
1596
1597 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1598
1599 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
1600
1601 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1602 of globalvar.
1603
1604 2003-06-01 Mark Kettenis <kettenis@gnu.org>
1605
1606 * gdb.asm/asm-source.exp: Check for memory read errors in
1607 disassembler test on *BSD too.
1608
1609 2003-06-01 Richard Henderson <rth@redhat.com>
1610
1611 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1612 for .frame.
1613 (gdbasm_call): Lose ldgp.
1614 (gdbasm_startup): Add frame information.
1615 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1616
1617 2003-05-31 Mark Kettenis <kettenis@gnu.org>
1618
1619 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1620 i?86-*-*.
1621
1622 2003-05-30 Mark Kettenis <kettenis@gnu.org>
1623
1624 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1625 FreeBSD.
1626
1627 2003-05-29 Richard Henderson <rth@redhat.com>
1628
1629 * gdb.asm/alpha.inc: New file.
1630 * gdb.asm/asm-source.exp: Use it.
1631
1632 2003-05-29 Jim Blandy <jimb@redhat.com>
1633
1634 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1635 'core.PID'.
1636
1637 2003-05-22 Jim Blandy <jimb@redhat.com>
1638
1639 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1640 backtrace.
1641
1642 2003-05-20 David Carlton <carlton@math.stanford.edu>
1643
1644 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1645 this time.
1646
1647 2003-05-19 David Carlton <carlton@bactrian.org>
1648
1649 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1650 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1651
1652 2003-05-19 David Carlton <carlton@bactrian.org>
1653
1654 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1655 namespace tests.
1656 Bump copyright date.
1657 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1658 (main): Call C::D::marker2.
1659 * gdb.c++/namespace1.cc: New file.
1660
1661 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1662
1663 Roland McGrath <roland@redhat.com>
1664 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1665 there is no manager thread.
1666
1667 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1668
1669 * gdb.threads/schedlock.exp: Remove assumption that all threads
1670 will run in a particular small time slice. Also ensure we break
1671 in one of the child threads rather than the main thread.
1672
1673 2003-05-07 Jim Blandy <jimb@redhat.com>
1674
1675 Add support for assembly source testing on the s390x.
1676 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1677 architecture.
1678 * gdb.asm/s390x.inc: New file.
1679
1680 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1681 succession of 'if' statements.
1682
1683 2003-05-05 Andrew Cagney <cagney@redhat.com>
1684
1685 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1686
1687 2003-05-05 Andrew Cagney <cagney@redhat.com>
1688
1689 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1690 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1691
1692 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
1693
1694 * gdb.base/charset.exp: Update based on new behavior of set/show
1695 charset commands.
1696
1697 2003-05-01 Andrew Cagney <cagney@redhat.com>
1698
1699 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1700 variable do not give memory errors.
1701
1702 2003-04-30 Adam Fedor <fedor@gnu.org>
1703
1704 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1705 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1706 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1707 gdb.objc/basicclass.m: : New files
1708
1709 * lib/gdb.exp (gdb_compile_objc): New procedure.
1710
1711 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
1712
1713 * gdb.base/signals.exp: Make backtrace tests more specific.
1714
1715 2003-04-23 David Carlton <carlton@bactrian.org>
1716
1717 * gdb.c++/maint.exp (test_first_component): Add tests for
1718 'operator' in more locations.
1719
1720 2003-04-16 Kevin Buettner <kevinb@redhat.com>
1721
1722 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1723
1724 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
1725
1726 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1727 func marke' instead. Update test name.
1728
1729 2003-04-15 David Carlton <carlton@math.stanford.edu>
1730
1731 * gdb.c++/maint.exp: New file.
1732
1733 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1734
1735 * gdb.threads/schedlock.c: Change type of thread function argument
1736 to long, to avoid warnings on 64-bit platforms.
1737
1738 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1739
1740 * gdb.base/attach.exp: Add new message from ptrace in case of
1741 attaching to nonexistent process.
1742
1743 2003-04-11 Jim Blandy <jimb@redhat.com>
1744
1745 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1746 gdb.c++/userdef.cc: Place comments on the lines to which the
1747 marker function might return.
1748 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1749 gdb.c++/userdef.exp: Look for those comments to check that we've
1750 returned to the right place, instead of checking line numbers.
1751
1752 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
1753
1754 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1755 match on sourcefile name, instead of directory name.
1756
1757 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
1758
1759 * gdb.base/completion.exp: Use string_to_regexp to match the
1760 working directory name.
1761
1762 2003-04-09 Jim Blandy <jimb@redhat.com>
1763
1764 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1765 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1766 after an inferior function call, report the failure, but allow the
1767 test to continue.
1768
1769 2003-04-05 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-05 Stephane Carrez <stcarrez@nerim.fr>
1775
1776 * gdb.base/break.exp: Revert last patch.
1777
1778 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1779
1780 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1781 with -DPROTOTYPES.
1782
1783 2003-04-02 Andrew Cagney <cagney@redhat.com>
1784
1785 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1786 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1787 matching directories by the name breakpoint.
1788 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1789 Make "continue to marker1" consistent.
1790 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1791 message consistent.
1792 * lib/gdb.exp: Put "the program is no longer running", and "the
1793 program exited" in parenthesis.
1794 * lib/mi-support.exp: Ditto.
1795
1796 2003-04-02 Bob Rossi <bob_rossi@cox.net>
1797
1798 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1799
1800 2003-03-29 Andrew Cagney <cagney@redhat.com>
1801
1802 * gdb.base/sizeof.c (main): Print the value of '\377'.
1803 * gdb.base/sizeof.exp: Check the sign of '\377'.
1804
1805 2003-03-27 Michael Chastain <mec@shout.net>
1806
1807 * gdb.base/gdb1090.exp: New file.
1808 * gdb.base/gdb1090.cc: New file.
1809
1810 2003-03-27 J. Brobecker <brobecker@gnat.com>
1811
1812 * gdb.gdb/observer.exp: New regression test.
1813
1814 2003-03-27 Michael Chastain <mec@shout.net>
1815
1816 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1817 * gdb.base/ptype.exp: Likewise.
1818
1819 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
1820
1821 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1822
1823 2003-03-26 Michael Chastain <mec@shout.net>
1824
1825 * gdb.base/ptype.exp: Actually use some typedef'd types.
1826
1827 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1828
1829 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1830 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1831
1832 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1833
1834 * gdb.base/default.exp: Fix regular expression.
1835
1836 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1837
1838 * gdb.base/args.exp: Fix regular expression.
1839
1840 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1841
1842 * gdb.base/help.exp: Allow Win32 child process.
1843
1844 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1845
1846 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1847 when stepping out of main().
1848
1849 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1850
1851 * gdb.base/default.exp: Check for win32 specific message when calling
1852 "run" without executable.
1853
1854 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1855
1856 * gdb.base/args.exp: Expect .exe in output.
1857
1858 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1859
1860 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1861 Cygwin native.
1862
1863 2003-03-17 Andrew Cagney <cagney@redhat.com>
1864
1865 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1866 vector registes.
1867 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1868 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1869
1870 2003-03-17 David Carlton <carlton@math.stanford.edu>
1871
1872 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1873 test, for PR breakpoints/38.
1874 Call test_watchpoint_and_breakpoint.
1875 * gdb.base/watchpoint.c (func3): New function.
1876 (main): Call func3.
1877
1878 2003-03-04 David Carlton <carlton@math.stanford.edu>
1879
1880 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1881 Garply<Garply<char> >:: garply".
1882 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1883 with respect to PR c++/1111; note also PR c++/1113.
1884 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1885 respect to PR c++/1062.
1886 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1887
1888 2003-03-03 David Carlton <carlton@math.stanford.edu>
1889
1890 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1891 with respect to PR c++/57.
1892 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1893 c++/826.
1894 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1895 respect to PR c++/57.
1896
1897 2003-03-03 David Carlton <carlton@math.stanford.edu>
1898
1899 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1900 respect to PR c++/33 into FAILs.
1901
1902 2003-03-03 Michael Chastain <mec@shout.net>
1903
1904 * configure.in: Update copyright years.
1905
1906 2003-03-03 Michael Chastain <mec@shout.net>
1907
1908 * Makefile.in: Update copyright years.
1909
1910 2003-02-28 David Carlton <carlton@math.stanford.edu>
1911
1912 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1913 print class instead of struct and/or superfluous protection
1914 specifiers, as long as the resulting output is equivalent to the
1915 source code.
1916 Delete FIXME from end of messages on tests that don't need
1917 fixing.
1918
1919 2003-02-28 David Carlton <carlton@math.stanford.edu>
1920
1921 * gdb.c++/templates.exp (do_tests): Allow const in the two
1922 Foo<volatile char *>::foo tests.
1923
1924 2003-02-27 Michael Snyder <msnyder@redhat.com>
1925
1926 * gdb.base/restore.c (main): Return zero, so exit code
1927 will be consistant.
1928
1929 2003-02-26 David Carlton <carlton@math.stanford.edu>
1930
1931 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1932 char *>::foo" test with respect to PR c++/33. Create a new test
1933 which is identical to that one except that it doesn't put the
1934 space between the "char" and the "*"; KFAIL it, too.
1935
1936 2003-02-26 David Carlton <carlton@math.stanford.edu>
1937
1938 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1939 template types into either PASSes or KFAILs (corresponding to PR
1940 c++/57). Tweak indentation. Update copyright.
1941
1942 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1943
1944 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1945
1946 2003-02-13 Michael Chastain <mec@shout.net>
1947
1948 * gdb.base/exprs.exp: Remove i960 remnants.
1949 * gdb.base/funcargs.exp: Likewise.
1950 * gdb.base/list.exp: Likewise.
1951 * gdb.base/ptype.exp: Likewise.
1952
1953 2003-02-14 David Carlton <carlton@math.stanford.edu>
1954
1955 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1956 pEe->D::vg()" from XFAIL to KFAIL.
1957
1958 2003-02-13 Jason Molenda (jmolenda@apple.com)
1959
1960 * gdb.base/maint.exp: Update maint print statistics regexp to include
1961 new entries.
1962
1963 2003-02-13 Michael Chastain <mec@shout.net>
1964
1965 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1966
1967 2003-02-12 Michael Chastain <mec@shout.net>
1968
1969 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1970 * gdb.c++/inherit.exp: Likewise.
1971 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1972 * gdb.c++/templates.exp: Likewise.
1973 * gdb.c++/virtfunc.exp: Likewise.
1974
1975 2003-02-06 Jason Molenda (jason-cl@molenda.com)
1976
1977 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1978 why the code is written that way.
1979
1980 2003-02-05 Michael Chastain <mec@shout.net>
1981
1982 * gdb.base/dump.exp: Add missing copyright line.
1983
1984 2003-02-05 Jason Molenda (jason-cl@molenda.com)
1985
1986 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
1987 at the beginning so the breakpoint doesn't get set on the loop.
1988
1989 2003-02-05 Michael Chastain <mec@shout.net>
1990
1991 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1992 output for configurations with gcc 2.95.3.
1993
1994 2003-02-05 Keith Seitz <keiths@redhat.com>
1995 Andrew Cagney <ac131313@redhat.com>
1996
1997 * gdb.mi/mi-cli.exp: New file.
1998
1999 2003-02-04 Michael Chastain <mec@shout.net>
2000
2001 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
2002 Call perror and then continue.
2003
2004 2003-02-03 Michael Chastain <mec@shout.net>
2005
2006 * gdb.c++/pr-1023.cc: New file.
2007 * gdb.c++/pr-1023.exp: New file.
2008
2009 2003-02-05 Jim Blandy <jimb@redhat.com>
2010
2011 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2012 it's local to foobar. Check for it there, and check that it's not
2013 present in main.
2014 * gdb.c++/local.cc (marker2): New function.
2015 (foobar): Call marker1.
2016 (main): Call marker2 instead of marker1.
2017
2018 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2019
2020 * gdb.disasm/mn10200.exp: Obsolete file.
2021 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2022 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2023 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2024
2025 2003-02-04 David Carlton <carlton@math.stanford.edu>
2026
2027 * gdb.c++/overload.exp: Test intToChar(1).
2028 * gdb.c++/overload.cc (intToChar): New.
2029 (main): Call intToChar.
2030
2031 2003-02-03 David Carlton <carlton@math.stanford.edu>
2032
2033 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2034 'might_kfail' arg.
2035 KFAIL some of the continue_to_bp_overloaded calls, according to
2036 PR c++/1025.
2037
2038 2003-02-01 Michael Chastain <mec@shout.net>
2039
2040 * gdb.base/advance.c (marker1): New marker function.
2041 * gdb.base/advance.exp: When the 'advance' command lands on the
2042 return breakpoint, it can legitimately stop on either the
2043 current line or the next line. Accommodate both outcomes.
2044 * gdb.base/until.exp: Likewise.
2045
2046 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2047
2048 2002-11-10 Jason Molenda (jason-cl@molenda.com):
2049 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2050 now a list, not a tuple.
2051 * gdb.mi/mi-var-display.exp: Ditto.
2052 * gdb.mi/gdb792.exp: Ditto.
2053
2054 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2055
2056 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2057 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2058 stack backtraces.
2059 * gdb.mi/mi-syn-frame.c: Part of same.
2060
2061 2003-02-01 Mark Kettenis <kettenis@gnu.org>
2062
2063 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2064 gdb.mi/mi1-pthreads.exp: Return instead of calling
2065 gdb_suppress_entire_file.
2066
2067 2003-02-01 Mark Salter <msalter@redhat.com>
2068
2069 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2070
2071 2003-01-31 Mark Salter <msalter@redhat.com>
2072
2073 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2074 Support empty arg.
2075
2076 2003-01-30 Michael Chastain <mec@shout.net>
2077
2078 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2079 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2080 has been fixed in gdb/readline on 2003-01-09.
2081
2082 2003-01-29 Michael Snyder <msnyder@redhat.com>
2083
2084 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2085 * gdb.base/display.exp: Allow for leading underscore in symbol.
2086 * gdb.base/args.exp: Skip if target does not support args passing.
2087
2088 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
2089
2090 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2091 gdb_test. Accept a list of expect arguments as the third
2092 parameter.
2093 (gdb_test): Use it.
2094
2095 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
2096
2097 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2098 allow for different test tree configurations. Update some
2099 tescases accordingly.
2100 * gdb.arch/altivec-regs.exp: Ditto.
2101 * gdb.asm/asm-source.exp: Ditto.
2102 * gdb.base/advance.exp: Ditto.
2103 * gdb.base/display.exp: Ditto.
2104 * gdb.base/long_long.exp: Ditto.
2105 * gdb.base/mips_pro.exp: Ditto.
2106 * gdb.base/overlays.exp: Ditto.
2107 * gdb.base/relocate.exp: Ditto.
2108 * gdb.base/setshow.exp: Ditto.
2109 * gdb.base/step-line.exp: Ditto.
2110 * gdb.base/step-test.exp: Ditto.
2111 * gdb.base/until.exp: Ditto.
2112 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2113
2114 2003-01-17 David Carlton <carlton@math.stanford.edu>
2115
2116 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2117 corresponding to PR c++/945.
2118 Update copyright.
2119
2120 2003-01-17 David Carlton <carlton@math.stanford.edu>
2121
2122 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2123 corresponding to PR c++/68.
2124
2125 2003-01-17 David Carlton <carlton@math.stanford.edu>
2126
2127 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2128 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2129 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2130
2131 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
2132
2133 * gdb.base/break.exp: Fix change of default location, because of
2134 removal of until tests.
2135 * gdb.base/help.exp: Update test for new 'until' help message.
2136 Add test for help on 'advance'.
2137 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2138
2139 2003-01-15 Mark Kettenis <kettenis@gnu.org>
2140
2141 * gdb.base/default.exp: Adapt "info float" test for recent changes
2142 to that command. Add test for "info vector".
2143 * gdb.base/float.exp: New file. Add test for "info float" that
2144 resembles the old test in gdb.base/default.exp.
2145
2146 2003-01-15 David Carlton <carlton@math.stanford.edu>
2147
2148 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2149
2150 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
2151
2152 * gdb.base/break.exp: Move the tests of until command from here...
2153 * gdb.base/until.exp: ... to here. New file. Add other tests.
2154 * gdb.base/advance.c: New file.
2155 * gdb.base/advance.exp: New file.
2156
2157 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
2158
2159 * gdb.base/args.c: New file.
2160 * gdb.base/args.exp: New file.
2161
2162 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2163
2164 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2165
2166 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2167
2168 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2169
2170 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
2171
2172 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2173 dates.
2174
2175 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2176
2177 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2178
2179 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2180
2181 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2182 (ptype &*"foo").
2183 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2184
2185 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2186
2187 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2188 * gdb.mi/mi1-console.exp: Likewise.
2189
2190 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2191
2192 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2193 * gdb.mi/mi1-console.exp: Likewise.
2194
2195 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2196
2197 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2198
2199 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2200
2201 * gdb.base/detach.exp: New test.
2202
2203 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2204
2205 * Makefile.in (ALL_SUBDIRS): New variable.
2206 (subdirs, clean, distclean): Use it.
2207 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2208 regenerating Makefile, since it is generated from the top level.
2209 * gdb.asm/Makefile.in: Likewise.
2210 * gdb.base/Makefile.in: Likewise.
2211 * gdb.c++/Makefile.in: Likewise.
2212 * gdb.disasm/Makefile.in: Likewise.
2213 * gdb.java/Makefile.in: Likewise.
2214 * gdb.mi/Makefile.in: Likewise.
2215 * gdb.threads/Makefile.in: Likewise.
2216 * gdb.trace/Makefile.in: Likewise.
2217
2218 2003-01-09 David Carlton <carlton@math.stanford.edu>
2219
2220 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2221 Add copyright year 2003.
2222
2223 2003-01-06 Michael Chastain <mec@shout.net>
2224
2225 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2226 When selecting a thread, 'line' and 'file' are optional.
2227 * gdb.mi/mi1-pthreads.exp: Likewise.
2228
2229 2003-01-06 Andreas Schwab <schwab@suse.de>
2230
2231 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2232 failures.
2233
2234 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2235
2236 Fix PR gdb/844
2237 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2238 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2239
2240 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2241 instead of calling gdb_suppress_entire_file.
2242 * gdb.threads/print-threads.exp: Likewise.
2243 * gdb.threads/schedlock.exp: Likewise.
2244
2245 * gdb.threads/killed.exp: Return instead of calling
2246 gdb_suppress_entire_file.
2247 * gdb.threads/linux-dp.exp: Likewise.
2248 * gdb.threads/pthreads.exp: Likewise.
2249
2250 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2251
2252 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2253 stabs.
2254 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2255 * gdb.base/whatis.exp: Always allow (void) after function names.
2256
2257 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2258
2259 * gdb.c++/casts.exp: Correct regexp.
2260
2261 2003-01-04 Mark Kettenis <kettenis@gnu.org>
2262
2263 * configure.in: Call AC_CONFIG_HEADER. Don't call
2264 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2265 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2266 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2267 aforementioned directories in the AC_OUPUT call.
2268 * config.hin: New file.
2269 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2270 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2271 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2272 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2273 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2274 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2275 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2276 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2277 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2278 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2279 gdb.threads/configure.in, gdb.threads/configure,
2280 gdb.threads/config.in, gdb.trace/configure.in,
2281 gdb.trace/configure: Removed.
2282
2283 2003-01-03 Michael Chastain <mec@shout.net>
2284
2285 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2286 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2287
2288 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
2289
2290 * gdb.base/store.exp: Fix regular expressions.
2291
2292 2002-12-28 Mark Kettenis <kettenis@gnu.org>
2293
2294 * configure.in: Rewrite.
2295 * configure: Regenerated.
2296
2297 2003-01-03 David Carlton <carlton@math.stanford.edu>
2298
2299 * gdb.base/psymtab.exp: New file.
2300 * gdb.base/psymtab1.c: Ditto.
2301 * gdb.base/psymtab2.c: Ditto.
2302
2303 2002-12-23 Adam Fedor <fedor@gnu.org>
2304
2305 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2306
2307 2002-12-23 David Carlton <carlton@math.stanford.edu>
2308
2309 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2310 and current_directory initialization.
2311
2312 2002-12-22 Jim Blandy <jimb@redhat.com>
2313
2314 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2315 rather than as part of the output file name.
2316
2317 * gdb.base/attach.exp: There's no need to copy the test program to
2318 /tmp; that was only ever necessary on HP/UX, and this test is
2319 entirely disabled there anyway.
2320
2321 2002-12-21 Jim Blandy <jimb@redhat.com>
2322
2323 * gdb.c++/psmang.exp: Doc fix.
2324
2325 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2326 test.
2327
2328 2002-12-20 David Carlton <carlton@math.stanford.edu>
2329
2330 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2331
2332 2002-12-18 Michael Chastain <mec@shout.net>
2333
2334 * gdb.c++/annota2.exp: Add copyright year 2002.
2335
2336 2002-12-17 David Carlton <carlton@math.stanford.edu>
2337
2338 * gdb.c++/try_catch.cc: Add marker comments.
2339 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2340 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2341 * gdb.c++/m-static.cc: Ditto.
2342 * gdb.c++/m-static1.cc: Ditto.
2343 * gdb.c++/try_catch.cc: Ditto.
2344
2345 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2346
2347 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2348 to see whether we are using the new -environment-directory
2349 command which resets via -r or the old version of the command
2350 which may prompt the user. Part of fix for gdb/741.
2351
2352 2002-12-13 Andrew Cagney <ac131313@redhat.com>
2353
2354 * gdb.fortran/types.exp: Update obsolete comment.
2355 * gdb.fortran/exprs.exp: Ditto.
2356 * lib/gdb.exp: Delete obsolete code.
2357 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2358 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2359 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2360 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2361 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2362 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2363 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2364 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2365 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2366 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2367 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2368 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2369 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2370 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2371 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2372 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2373 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2374 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2375 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2376 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2377 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2378 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2379 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2380 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2381 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2382 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2383 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2384 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2385 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2386 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2387 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2388 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2389 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2390 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2391 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2392 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2393 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2394
2395 2002-12-11 David Carlton <carlton@math.stanford.edu>
2396
2397 * gdb.c++/m-data.exp: Add test for members that shadow global
2398 variables: see PR gdb/804.
2399 * gdb.c++/m-data.cc: Ditto.
2400
2401 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
2402
2403 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2404
2405 2002-12-06 David Carlton <carlton@math.stanford.edu>
2406
2407 * gdb.base/store.c: Don't declare functions static.
2408
2409 2002-12-04 Andrew Cagney <ac131313@redhat.com>
2410
2411 * gdb.base/store.exp, gdb.base/store.c: New files.
2412
2413 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2414
2415 * gdb.base/selftest.exp: Update for current gdb.
2416
2417 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2418
2419 * gdb.base/maint.exp: Only dump symbols from one source file
2420 or objfile.
2421
2422 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2423
2424 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2425 function call.
2426
2427 2002-11-25 Jim Blandy <jimb@redhat.com>
2428
2429 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2430 function appearing in error message.
2431
2432 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
2433
2434 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2435
2436 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2437
2438 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2439 for mi1 and current mi is in correct format. New mi startup message
2440 should be in mi console format. This is part of fix for PR gdb/604.
2441
2442 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2443
2444 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2445 which explicitly prints the zero offset as "+0".
2446
2447 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
2448
2449 * gdb.threads/schedlock.c (args): Make unsigned.
2450
2451 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
2452
2453 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2454 numbers. Allow "foo2|selected stack frame".
2455 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2456 * gdb.asm/asmsrc2.s: Likewise.
2457 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2458 comments.
2459 * gdb.asm/mips.inc: New file.
2460
2461 2002-10-18 Adam Fedor <fedor@gnu.org>
2462
2463 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2464 * gdb.base/help.exp: Likewise.
2465
2466 2002-10-17 Kevin Buettner <kevinb@redhat.com>
2467
2468 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2469 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2470
2471 2002-10-02 Jim Blandy <jimb@redhat.com>
2472
2473 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2474
2475 2002-10-01 Andrew Cagney <ac131313@redhat.com>
2476
2477 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2478 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2479 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2480 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2481 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2482 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2483 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2484
2485 2002-09-29 Andrew Cagney <ac131313@redhat.com>
2486
2487 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2488 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2489 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2490 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2491 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2492 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2493 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2494
2495 2002-09-27 Kevin Buettner <kevinb@redhat.com>
2496
2497 * gdb.base/annota1.exp (info break): Make directory components of
2498 path optional since not all compilers emit this debug information.
2499
2500 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2501 step ends up stepping out of the function instead of stopping on
2502 the epilogue.
2503
2504 2002-09-26 Keith Seitz <keiths@redhat.com>
2505
2506 * lib/insight-support.exp (gdbtk_start): Figure out where
2507 the insight executable is based on where gdb is. Use this
2508 executable to start insight instead of gdb.
2509
2510 2002-09-25 Andrew Cagney <cagney@redhat.com>
2511
2512 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2513
2514 2002-09-24 Andrew Cagney <ac131313@redhat.com>
2515
2516 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2517 test_isolated_complaints.
2518 (test_empty_complaint): New function.
2519 (test_empty_complaints): New function. Check no output when no
2520 complaints.
2521
2522 2002-09-19 Jim Blandy <jimb@redhat.com>
2523
2524 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2525
2526 2002-09-19 Andrew Cagney <ac131313@redhat.com>
2527
2528 * gdb.gdb/complaints.exp: New file.
2529
2530 2002-09-18 Andrew Cagney <ac131313@redhat.com>
2531
2532 * gdb.base/maint.exp: Check `help maint internal-warning'.
2533
2534 2002-09-18 David Carlton <carlton@math.stanford.edu>
2535
2536 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2537 numbers, and replace them by a single breakpoint after the
2538 constructors are all finished.
2539 Add test 4.
2540 * gdb.c++/m-static.cc: Add test 4.
2541 * gdb.c++/m-static.h: New file.
2542 * gdb.c++/m-static1.cc: New file.
2543
2544 * gdb.c++/printmethod.exp: New file.
2545 * gdb.c++/printmethod.cc: New file.
2546
2547 * gdb.c++/pr-574.exp: New file.
2548 * gdb.c++/pr-574.cc: New file.
2549
2550 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2551
2552 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2553 embedded targets which never actually exit.
2554
2555 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2556
2557 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2558 "don't step after run" as unresolved or unsupported, instead of xfail.
2559
2560 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2561
2562 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2563 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2564 Add newline to expected string in "step out of main (status wrapper)"
2565 case.
2566
2567 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2568
2569 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2570 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2571
2572 2002-09-17 Tom Tromey <tromey@redhat.com>
2573
2574 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2575 \000, not \0, in double-quoted string.
2576
2577 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
2578
2579 * gdb.base/commands.exp: Don't expect a "Program exited normally"
2580 string after running the commands execution on breakpoint tests.
2581
2582 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
2583
2584 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2585
2586 2002-09-12 Joel Brobecker <brobecker@gnat.com>
2587
2588 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2589
2590 2002-09-10 Keith Seitz <keiths@redhat.com>
2591
2592 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2593 runto proc.
2594 (mi_run_to_main): Use mi_runto.
2595 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2596
2597 2002-09-10 Keith Seitz <keiths@redhat.com>
2598
2599 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2600 regexp for stopping at main. Could have multiple event notifications.
2601 Don't assume that main was declared with no parameters.
2602 (mi_next): Use mi_step_to.
2603 (mi_step): Use mi_next_to.
2604
2605 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
2606
2607 * gdb.base/default.exp: Fix expected string in `info float' test.
2608
2609 2002-09-09 Ben Elliston <bje@redhat.com>
2610
2611 * config/mips.exp: Update comments.
2612 * config/mips-idt.exp: Likewise.
2613 * config/nind.exp: Likewise.
2614 * config/slite.exp: Likewise.
2615 * config/sparclet.exp: Likewise.
2616 * config/udi.exp: Likewise.
2617 * config/vx.exp: Likewise.
2618 * config/vxworks29k.exp: Likewise.
2619
2620 2002-09-05 Jim Blandy <jimb@redhat.com>
2621
2622 * gdb.threads/killed.exp: Fix test failure message.
2623
2624 2002-09-04 Keith Seitz <keiths@redhat.com>
2625
2626 * lib/mi-support.exp: Update copyright.
2627 (mi_gdb_test): Increase the priority of the expected pattern
2628 so that it matches gdb_test.
2629
2630 2002-09-03 Keith Seitz <keiths@redhat.com>
2631
2632 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2633 Use integer comparison instead of string comparison for testing
2634 whether binary was built.
2635
2636 2002-09-03 Jim Blandy <jimb@redhat.com>
2637
2638 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2639
2640 2002-08-29 Jim Blandy <jimb@redhat.com>
2641
2642 * gdb.threads/pthreads.exp: Move the portable thread compilation
2643 code into a function in lib/gdb.exp, and call that from here.
2644 * lib/gdb.exp (gdb_compile_pthreads): New function.
2645
2646 2002-08-29 Keith Seitz <keiths@redhat.com>
2647
2648 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2649 expect_out so that callers can get at it.
2650
2651 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
2652
2653 * gdb.threads/print-threads.c: New file.
2654 * gdb.threads/print-threads.exp: New file.
2655 * gdb.threads/schedlock.c: New file.
2656 * gdb.threads/schedlock.exp: New file.
2657
2658 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
2659
2660 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2661 not altivec.c.
2662
2663 2002-08-17 Mark Kettenis <kettenis@gnu.org>
2664
2665 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2666 targets. The problem should be fixed now.
2667
2668 2002-08-15 Mark Kettenis <kettenis@gnu.org>
2669
2670 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2671 2002-07-24 change that removes final dots from error messages.
2672
2673 2002-08-13 Tom Tromey <tromey@redhat.com>
2674
2675 * gdb.base/readline.exp: New file.
2676
2677 2002-08-01 Andrew Cagney <ac131313@redhat.com>
2678
2679 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2680 supress message.
2681
2682 2002-08-01 Andrew Cagney <cagney@redhat.com>
2683
2684 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2685 CHILL_FOR_TARGET and CHILL_LIB.
2686 * configure.in (configdirs): Remove gdb.chill.
2687 * configure: Regenerate.
2688 * lib/gdb.exp: Obsolete references to chill.
2689 * gdb.fortran/types.exp: Ditto.
2690 * gdb.fortran/exprs.exp: Ditto.
2691
2692 2002-07-30 Kevin Buettner <kevinb@redhat.com>
2693
2694 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2695 set Irix-specific compile and link flags.
2696
2697 2002-07-29 Kevin Buettner <kevinb@redhat.com>
2698
2699 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2700 source files. The ``-o'' option doesn't work with the ``-E'' option
2701 when using the Irix compiler.
2702
2703 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
2704
2705 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2706 Improve support for reusing an exec file. Copy exec file
2707 to target, and run gdbserver on the target instead of on the host.
2708
2709 2002-07-18 Jim Blandy <jimb@redhat.com>
2710
2711 * gdb.base/ending-run.exp: Don't expect to see the program end in
2712 some orderly fashion when we're running on a real stand-alone
2713 board.
2714
2715 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2716 targets that don't support interrupts.
2717
2718 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2719
2720 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2721 systems.
2722 Move comments in expect statements to inside the actions, so that they
2723 don't get matched against.
2724
2725 2002-07-10 Mark Kettenis <kettenis@gnu.org>
2726
2727 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2728 function when asleep" test.
2729
2730 2002-07-10 Andrew Cagney <ac131313@redhat.com>
2731
2732 * gdb.base/page.exp: Rewrite to handle problems with very long
2733 `info set' output. Update copyright.
2734
2735 2002-06-26 Andrew Cagney <ac131313@redhat.com>
2736
2737 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2738 gdb.threads-hp.
2739 * gdb.hp/configure: Regenerate.
2740 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2741 * gdb.hp/gdb.threads-hp/configure: Delete file.
2742 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2743
2744 2002-06-22 Andrew Cagney <ac131313@redhat.com>
2745
2746 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2747 setlocale, bindtextdomain and textdomain.
2748
2749 2002-06-11 Jim Blandy <jimb@redhat.com>
2750
2751 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2752 preprocessor macro information is present.
2753
2754 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2755 tests.
2756
2757 2002-06-06 Michael Snyder <msnyder@redhat.com>
2758
2759 * gdb.base/overlays.exp: Record addresses of overlay
2760 functions in TCL variables rather than in GDB variables,
2761 to avoid having GDB convert them to pointers (with loss
2762 of information).
2763
2764 * gdb.base/d10v.ld: Merge in several years worth of
2765 default linker script changes.
2766 * gdb.base/long_long.exp: Add check for sizeof (long double).
2767
2768 2002-06-06 Michal Ludvig <mludvig@suse.cz>
2769
2770 * gdb.asm/asm-source.exp: Add x86-64 target.
2771 * gdb.asm/x86_64.inc: New.
2772
2773 2002-05-30 Michael Chastain <mec@shout.net>
2774
2775 From Benjamin Kosnik <bkoz@redhat.com>:
2776 * gdb.c++/m-static.cc: New file.
2777 * gdb.c++/m-static.exp: New file.
2778
2779 2002-05-28 Michael Snyder <msnyder@redhat.com>
2780
2781 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2782 precision.
2783
2784 2002-05-27 Michael Chastain <mec@shout.net>
2785
2786 From Benjamin Kosnik <bkoz@redhat.com>:
2787 * gdb.c++/m-data.cc: New file.
2788 * gdb.c++/m-data.exp: New file.
2789
2790 2002-05-27 Michael Chastain <mec@shout.net>
2791
2792 From Benjamin Kosnik <bkoz@redhat.com>:
2793 * gdb.c++/try_catch.cc: New file.
2794 * gdb.c++/try_catch.exp: New file.
2795
2796 2002-05-27 Michael Chastain <mec@shout.net>
2797
2798 * gdb.c++/local.exp: Accept more nested types in output.
2799
2800 2002-05-26 Michael Chastain <mec@shout.net>
2801
2802 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2803
2804 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2805
2806 * lib/gdb.exp (gdb_wrapper_init): Just because
2807 gdb_wrapper_file exists, this does not mean that the file
2808 should not be rebuilt. That is what gdb_wrapper_initialized
2809 is for.
2810 (default_gdb_init): Reset gdb_wrapper_initialized.
2811
2812 2002-05-23 Michael Snyder <msnyder@redhat.com>
2813
2814 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2815 the precision of the floating point test results.
2816 * gdb.base/call-rt-st.exp: Ditto.
2817
2818 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2819 * gdb.base/call-rt-st.exp: Ditto.
2820
2821 2002-05-19 Michael Chastain <mec@shout.net>
2822
2823 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2824
2825 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
2826
2827 * configure.in (configdirs): Add gdb.arch.
2828 * configure: Regenerate.
2829
2830 2002-05-17 Jim Blandy <jimb@redhat.com>
2831
2832 * gdb.base/completion.exp: Recognize the more detailed error
2833 messages produced by the macro expander's lexical analyzer.
2834
2835 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2836
2837 * gdb.arch/altivec-abi.c: New file.
2838 * gdb.arch/altivec-abi.exp: New file.
2839 * gdb.arch/altivec-regs.c: New file.
2840 * gdb.arch/altivec-regs.exp: New file.
2841
2842 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
2843
2844 * gdb.base/maint.exp (maint print type): Update for new type
2845 structure.
2846
2847 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2848
2849 * gdb.arch: New directory.
2850 * gdb.arch/configure.in: New file.
2851 * gdb.arch/configure: New file.
2852 * gdb.arch/Makefile.in: New file.
2853
2854 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
2855
2856 * gdb.asm/asm-source.exp: Add v850 as supported target.
2857 * gdb.asm/v850.inc: New file.
2858
2859 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
2860
2861 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2862
2863 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
2864
2865 * gdb.base/break.exp: Check 'break "marker2"'.
2866
2867 2002-05-10 Michael Snyder <msnyder@redhat.com>
2868
2869 * gdb.base/long_long.exp: Fix typo.
2870
2871 2002-05-10 Jim Blandy <jimb@redhat.com>
2872
2873 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2874 a bug.
2875
2876 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2877 Recognize more detailed error message produced by the macro
2878 expander's lexical analyzer.
2879 * lib/gdb.exp (test_print_reject): Same.
2880
2881 2002-05-09 Mark Kettenis <kettenis@gnu.org>
2882
2883 * gdb.c++/method.exp: Fix typo.
2884
2885 2002-05-08 Michael Snyder <msnyder@redhat.com>
2886
2887 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2888 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2889 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2890 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2891 Add iftarget clause for strongarm.
2892
2893 2002-05-06 Michael Snyder <msnyder@redhat.com>
2894
2895 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2896 (gdb_continue_to_end): Accept output from status wrapper.
2897 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2898 Clean up fail messages to match pass messages.
2899
2900 Enable the "needs_status_wrapper" testsuite feature.
2901 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2902 (gdb_compile): Conditionally call gdb_wrapper_init.
2903 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2904 * gdb.c++/method.exp: Recognize output from status wrapper.
2905
2906 2002-05-06 Ben Elliston <bje@redhat.com>
2907 From Graydon Hoare <graydon@redhat.com>
2908
2909 * config/sid.exp: Include support for "rawsid" protocol.
2910
2911 2002-05-03 Jim Blandy <jimb@redhat.com>
2912
2913 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2914 * gdb.c++/hang3.C: New file.
2915
2916 2002-05-04 Andrew Cagney <ac131313@redhat.com>
2917
2918 * gdb.base/default.exp: Remove obsolete code.
2919 * gdb.c++/misc.exp: Ditto. Update copyright.
2920 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2921 * gdb.base/whatis.exp: Ditto. Update copyright.
2922 * gdb.base/scope.exp: Ditto. Update copyright.
2923 * gdb.base/ptype.exp: Ditto. Update copyright.
2924 * gdb.base/printcmds.exp: Ditto. Update copyright.
2925 * gdb.base/opaque.exp: Ditto. Update copyright.
2926 * gdb.base/list.exp: Ditto.
2927 * gdb.base/funcargs.exp: Ditto. Update copyright.
2928 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2929 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2930 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2931 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2932 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2933 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2934
2935 2002-05-02 Michael Snyder <msnyder@redhat.com>
2936
2937 * gdb.base/watchpoint.exp: Add xscale target.
2938 * gdb.base/long_long.exp: Add xscale target.
2939 * gdb.base/default.exp: Add xscale target.
2940
2941 2002-05-01 Jim Blandy <jimb@redhat.com>
2942
2943 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2944 gdb.c++/hang.exp: New test.
2945
2946 2002-05-01 Fred Fish <fnf@redhat.com>
2947
2948 * gdb.base/completion.exp: Handle completions of "./Make" for
2949 more than one completion possibility, as is the case when we
2950 build and test in the source tree.
2951
2952 2002-04-29 Anthony Green <green@redhat.com>
2953
2954 * gdb.java/jmisc1.exp: New file.
2955 * gdb.java/jmisc2.exp: New file.
2956
2957 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
2958
2959 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2960
2961 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
2962
2963 * gdb.base/help.exp: Change 'help status' to allow for target
2964 dependent output differences.
2965
2966 2002-04-22 Michael Chastain <mec@shout.net>
2967
2968 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2969
2970 2002-04-22 Michael Chastain <mec@shout.net>
2971
2972 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2973
2974 2002-04-17 David S. Miller <davem@redhat.com>
2975
2976 * gdb.asm/sparc64.inc: New file.
2977 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2978
2979 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
2980
2981 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2982 instruction file directly into the build tree. Clean up at end of
2983 test.
2984
2985 2002-04-18 David S. Miller <davem@redhat.com>
2986
2987 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2988 handle 64-bit platforms correctly.
2989 * gdb.base/maint.exp: Likewise.
2990
2991 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2992
2993 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2994 ``-fpic'' when compiling files comprising a shared library, but
2995 it does need additional linker flags in order to find shared
2996 libraries at run time.
2997
2998 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2999
3000 * gdb.base/cvexpr.c (use): New function.
3001 (main): Invoke use() on all global variables to prevent
3002 some linkers from deleting these otherwise unused symbols.
3003
3004 2002-04-17 Michael Chastain <mec@shout.net>
3005 From David S. Miller <davem@redhat.com>
3006
3007 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
3008 handle 64-bit platforms correctly.
3009
3010 2002-04-12 Michael Snyder <msnyder@redhat.com>
3011 From Jim Blandy <jimb@redhat.com>
3012 * gdb.base/foo.c (foox): Remove section attribute; the linker
3013 script can handle this instead.
3014 * gdb.base/bar.c (barx): Same.
3015 * gdb.base/baz.c (bazx): Same.
3016 * gdb.base/grbx.c (grbxx): Same.
3017
3018 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3019 manager doesn't automatically unmap overlays unnecessarily.
3020
3021 2002-04-10 Martin M. Hunt <hunt@redhat.com>
3022
3023 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3024 stepping out of main.
3025
3026 2002-04-09 Michael Chastain <mec@shout.net>
3027
3028 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3029 scope so that the nested scope tests will make sense.
3030 * gdb.c++/local.exp: Write patterns that actually work with gcc
3031 (the HP patterns "were never known to work with gcc").
3032 Keep the old aCC patterns too.
3033
3034 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
3035
3036 * gdb.base/attach.exp: Correct target board test.
3037
3038 2002-04-08 Michael Chastain <mec@shout.net>
3039
3040 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3041 in a const method. Add some xfail and fail cases for configurations
3042 that do not emit the "const ...".
3043
3044 2002-04-07 Michael Chastain <mec@shout.net>
3045
3046 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3047 Accept "A * const" and "const A * const" as type of "this".
3048 Fix spelling of getFunky throughout. Make messages uniform.
3049
3050 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
3051
3052 Work around for PR gdb/285:
3053 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3054
3055 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
3056
3057 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3058 instructions file at run time instead of configure time.
3059 Sometimes we run the test in a directory that is not the one we
3060 configured in.
3061 * gdb.asm/configure.in: Delete creation of symlink.
3062 * gdb.asm/configure: Regenerate.
3063
3064 2002-04-05 J. Brobecker <brobecker@gnat.com>
3065
3066 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3067 xfullpath () function.
3068
3069 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
3070
3071 * gdb.asm/Makefile.in: Correct dependencies.
3072
3073 * gdb.asm/powerpc.inc: New file.
3074 * gdb.asm/asm-source.exp: Add PowerPC.
3075 * gdb.asm/configure.in: Likewise.
3076 * gdb.asm/configure: Regenerated.
3077
3078 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
3079
3080 * gdb.base/relocate.exp: New file.
3081 * gdb.base/relocate.c: New file.
3082
3083 2002-04-04 Fred Fish <fnf@redhat.com>
3084
3085 * gdb.base/step-test.exp: Update comment regarding stopping in
3086 memcpy/bcopy calls inserted as part of the compiler runtime.
3087
3088 2002-04-04 Michael Snyder <msnyder@redhat.com>
3089
3090 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3091
3092 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
3093
3094 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3095 (gdb_expect): Remove $notransfer hack.
3096
3097 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
3098
3099 * gdb.c++/classes.exp ("calling method for small class"): Match
3100 updated register output.
3101
3102 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
3103
3104 Fix PR gdb/452
3105 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3106 when finished. Make gdb_file_cmd send "exec-file" when
3107 appropriate.
3108
3109 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
3110
3111 * gdb.base/attach.exp: Remove extra setup_xfail.
3112
3113 2002-03-26 Michael Snyder <msnyder@redhat.com>
3114
3115 * gdb.base/default.exp: Add tests for dump, append, and restore.
3116 * gdb.base/help.exp: Add tests for dump, append, and restore.
3117 * gdb.base/dump.exp: New file, test dump, append and restore.
3118 * gdb.base/dump.c: New file.
3119
3120 2002-03-27 Michael Snyder <msnyder@redhat.com>
3121
3122 * gdb.base/help.exp: Modify expect strings to reflect
3123 clean-ups in help messages.
3124
3125 2002-03-26 Fred Fish <fnf@redhat.com>
3126
3127 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3128 have debugging info for those functions and the compiler uses them
3129 internally to copy structs around.
3130
3131 2002-03-26 Fred Fish <fnf@redhat.com>
3132
3133 * gdb.base/list.exp: Revert the change made yesterday and add note
3134 about why we don't list the default lines for remote targets.
3135
3136 2002-03-25 Michael Snyder <msnyder@redhat.com>
3137
3138 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3139
3140 2002-03-25 Fred Fish <fnf@redhat.com>
3141
3142 * gdb.base/list.exp: This test works on remote targets so remove
3143 the short circuit for remote targets. Update copyright.
3144
3145 2002-03-25 Fred Fish <fnf@redhat.com>
3146
3147 * gdb.base/attach.exp: Fix logic error that was suppressing this
3148 test for all non hppa*-*-hpux* targets, instead of the hp target.
3149 Move comments closer to the suppression point. Also now need to
3150 check that we are running natively.
3151
3152 2002-03-22 Michael Snyder <msnyder@redhat.com>
3153
3154 * gdb.base/default.exp: Add test for gcore. Update copyright.
3155 * gdb.base/help.exp: Add test for gcore. Update copyright.
3156
3157 2002-03-06 Fred Fish <fnf@redhat.com>
3158
3159 * gdb.base/funcargs.c: Remove extraneous ';' character.
3160 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3161
3162 2002-03-04 Michael Chastain <mec@shout.net>
3163
3164 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3165 accommodate gcc v3 function signature.
3166 * gdb.mi/mi0-var-cmd-exp: Ditto.
3167
3168 2002-02-24 Andrew Cagney <ac131313@redhat.com>
3169
3170 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3171 ``GNU/Linux'' or ``Linux kernel''
3172 * testsuite/gdb.threads/pthreads.c: Ditto.
3173
3174 2002-02-24 Michael Chastain <mec@shout.net>
3175
3176 * gdb.threads/pthreads.c (thread1): Add a return statement.
3177 (thread2): Likewise.
3178 (foo): Likewise.
3179
3180 2002-02-23 Michael Chastain <mec@shout.net>
3181
3182 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3183 to placate gcc.
3184
3185 2002-02-23 Michael Chastain <mec@shout.net>
3186
3187 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3188 test "ptype bint". The test passes on all my stabs configurations.
3189
3190 2002-02-21 Jim Blandy <jimb@redhat.com>
3191
3192 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3193 filename at a time, and watch for the ones we want to see.
3194
3195 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3196 types of pointers to prototyped functions.
3197
3198 2002-02-20 Andrew Cagney <ac131313@redhat.com>
3199
3200 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3201 signed, unsigned and straight char.
3202 (padding_char, padding_short, padding_int, padding_long,
3203 padding_long_long, padding_float, padding_double,
3204 padding_long_double): New global variables.
3205 (fill, fill_structs): New functions.
3206
3207 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3208 for correctly sized writes. Update copyright.
3209 (get_valueof): New procedure.
3210 (get_sizeof): Call get_valueof.
3211 (check_valueof): New procedure.
3212 (check_padding): New procedure.
3213
3214 2002-02-20 Michael Chastain <mec@shout.net>
3215
3216 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3217 to setup_xfail. Document some of the remaining calls.
3218
3219 2002-02-18 Michael Chastain <mec@shout.net>
3220
3221 * gdb.c++/userdef.exp: Update copyright year.
3222
3223 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
3224
3225 * gdb.c++/userdef.exp: Test overloaded operators properly.
3226 Remove xfails.
3227
3228 2002-02-14 Michael Snyder <msnyder@redhat.com>
3229
3230 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3231
3232 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
3233
3234 * gdb.base/a2-run.exp: Check for a remote target properly.
3235 * gdb.base/annota1.exp: Likewise.
3236 * gdb.base/list.exp: Likewise.
3237 * gdb.base/reread.exp: Likewise.
3238 * gdb.base/scope.exp: Likewise.
3239 * gdb.base/shlib-call.exp: Likewise.
3240 * gdb.base/term.exp: Likewise.
3241 * gdb.c++/annota2.exp: Likewise.
3242
3243 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
3244
3245 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3246
3247 2002-02-10 Michael Chastain <mec@shout.net>
3248
3249 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3250 (call_after_alloca): Ditto.
3251
3252 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
3253
3254 * gdb.base/ending-run.exp: Guard "cont" test with
3255 gdb_skip_stdio_test.
3256
3257 2002-02-06 Jim Blandy <jimb@redhat.com>
3258
3259 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3260 from here...
3261 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3262 To here. Disable this test on non-HP platforms. Add big comment.
3263
3264 2002-02-04 Michael Snyder <msnyder@redhat.com>
3265
3266 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3267 other than d10v and m32r.
3268
3269 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
3270
3271 * gdb.base/default.exp: Rewrite test patterns to reduce time
3272 taken to match them.
3273
3274 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3275
3276 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3277 Allow a start function above main.
3278 * gdb.threads/linux-dp.exp: Fix copyright date.
3279
3280 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3281
3282 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3283 (check_philosopher_stack): Check for manager thread before checking
3284 for a just-starting thread.
3285
3286 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3287
3288 From Neil Booth <neil@daikokuya.demon.co.uk>:
3289 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3290 warnings.
3291
3292 2002-01-21 Fred Fish <fnf@redhat.com>
3293
3294 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3295 not caller.
3296
3297 2002-01-21 Jim Blandy <jimb@redhat.com>
3298
3299 * gdb.base/reread.exp: Check that GDB properly re-reads the
3300 executable file when it changes while no inferior is running.
3301
3302 2002-01-21 Fred Fish <fnf@redhat.com>
3303
3304 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3305 optionally accept the "shlib events" variation.
3306
3307 2002-01-21 Jim Blandy <jimb@redhat.com>
3308
3309 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3310 call `fflush' after every `printf', so that the output is produced
3311 at predictable points, regardless of whatever buffering does (or
3312 doesn't) take place.
3313 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3314 at different points.
3315
3316 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3317
3318 * gdb.c++/inherit.exp: Update copyright years.
3319 * gdb.c++/method.exp: Likewise.
3320
3321 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3322
3323 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3324 artificial methods/arguments.
3325 * gdb.c++/derivation.exp: Likewise.
3326 * gdb.c++/inherit.exp: Likewise.
3327 * gdb.c++/method.exp: Likewise.
3328 * gdb.c++/virtfunc.exp: Likewise.
3329
3330 2002-01-18 Andrew Cagney <ac131313@redhat.com>
3331
3332 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3333 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3334 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3335 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3336 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3337 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3338
3339 2002-01-17 Jim Blandy <jimb@redhat.com>
3340
3341 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3342 anchoring the pattern matching the entry point symbol's name.
3343
3344 2002-01-17 Andrew Cagney <ac131313@redhat.com>
3345
3346 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3347 continue/quit query. Update copyright.
3348
3349 2002-01-14 Michael Snyder <msnyder@redhat.com>
3350
3351 * gdb.base/gcore.exp: Remove extra debugging output.
3352
3353 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3354
3355 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3356 for slightly dubious v2 mangled string.
3357
3358 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3359
3360 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3361
3362 2002-01-10 Jason Merrill <jason@redhat.com>
3363
3364 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
3365
3366 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3367 constructors.
3368 * gdb.c++/derivation.exp: Likewise.
3369 * gdb.c++/templates.exp: Likewise.
3370 * gdb.c++/virtfunc.exp: Likewise.
3371
3372 2002-01-10 Michael Snyder <msnyder@redhat.com>
3373
3374 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
3375
3376 2002-01-08 Michael Snyder <msnyder@redhat.com>
3377
3378 * gdb.base/gcore.exp: New test for generate-core-file command.
3379 * gdb.base/gcore.c: Testcase for above.
3380 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3381
3382 2002-01-08 Jason Merrill <jason@redhat.com>
3383
3384 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3385
3386 2002-01-07 Fred Fish <fnf@redhat.com>
3387
3388 * gdb.c++/overload.exp: Remove unconditional xfails for:
3389 print foo_instance1.overloadargs(1)
3390 print foo_instance1.overloadargs(1, 2)
3391 print foo_instance1.overloadargs(1, 2, 3)
3392 print foo_instance1.overloadargs(1, 2, 3, 4)
3393 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3394 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3395 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3396 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3397 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3398 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3399 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3400 print foo_instance1.overload1arg()
3401 print foo_instance1.overload1arg((char)arg2)
3402 print foo_instance1.overload1arg((signed char)arg3)
3403 print foo_instance1.overload1arg((unsigned char)arg4)
3404 print foo_instance1.overload1arg((int)arg7)
3405 print foo_instance1.overload1arg((unsigned int)arg8)
3406 print foo_instance1.overload1arg((float)arg11)
3407 print foo_instance1.overload1arg((double)arg12)
3408
3409 2002-01-07 Michael Snyder <msnyder@redhat.com>
3410
3411 * gdb.base/huge.exp: New test. Print a very large target data object.
3412 (skip_huge_test): New test variable. Define if you want to skip this
3413 test. The test reads an 8 megabyte data object from the target, so it
3414 might be very time consuming on remote targets with a slow connection.
3415 * gdb.base/huge.c: New file. Test case for above.
3416
3417 2002-01-07 Fred Fish <fnf@redhat.com>
3418
3419 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3420 g_instance.bfoo, and g_instance.cfoo.
3421
3422 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3423
3424 * gdb.base/break.c (multi_line_if_conditional): New function.
3425 (multi_ilne_while_conditional): Likewise.
3426 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3427 IF or WHILE condition puts the breakpoint at the start of
3428 the condition.
3429
3430 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3431 hppa*-*-hpux* expected failure.
3432 * gdb.base/structs.exp (do_function_calls): Similarly.
3433
3434 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3435 watchpoints.
3436
3437 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3438
3439 Fix PR gdb/66.
3440 * gdb.base/structs.exp: Replace skip for a29k with skip for
3441 gdb,cannot_call_functions.
3442 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3443 * gdb.base/callfuncs.exp: Ditto.
3444 * gdb.base/call-rt-st.exp: Ditto.
3445 * gdb.base/call-strs.exp: Ditto.
3446 * gdb.base/callfwmall.exp: Ditto.
3447 * gdb.base/scope.exp: Obsolete xfail a29k.
3448 * gdb.c++/misc.exp: Ditto.
3449 * gdb.c++/cplusfuncs.exp: Ditto.
3450 * gdb.base/ptype.exp: Ditto.
3451 * gdb.base/printcmds.exp: Ditto.
3452 * gdb.base/opaque.exp: Ditto.
3453 * gdb.base/list.exp: Ditto.
3454 * gdb.base/funcargs.exp: Ditto.
3455 * gdb.base/default.exp: Ditto.
3456
3457 2002-01-04 Michael Snyder <msnyder@redhat.com>
3458
3459 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
3460 * gdb.base/maint.exp: Add tests for maint info sections options.
3461
3462 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3463
3464 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3465
3466 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
3467
3468 * gdb.asm/arm.inc: New file.
3469 * gdb.asm/asm-source.exp: Add arm targets.
3470 * gdb.asm/configure.in: Ditto.
3471 * gdb.asm/configure: Recreated from configure.in.
3472
3473 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3474
3475 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3476 with HP's compiler.
3477 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3478 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3479 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3480 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3481
3482 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3483 either HP's compilers or GCC.
3484
3485 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3486 a SIGBUS or SIGSEGV.
3487
3488 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3489
3490 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3491 can be compiled with either HP's compiler or GCC.
3492
3493 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3494 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3495 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3496
3497 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3498 to match current gdb output. Update due to using auto-solib-limit
3499 for limiting instead of overloading auto-solib-add.
3500 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3501 test program.
3502
3503 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
3504 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3505 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3506 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3507 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3508 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3509 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3510 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3511 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3512 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3513 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3514 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3515 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3516
3517 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3518 a SIGTRAP to the inferior.
3519
3520 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
3521
3522 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3523 Substitute call to target_link by call to gdb_compile.
3524
3525 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3526
3527 * gdb.base/break.exp: Fix HP specific search string when testing
3528 backtracing in a called function.
3529
3530 * gdb.base/constvars.exp: Only set lang to C++ if we're
3531 compiling the test with HP's compilers.
3532 * gdb.base/volatile.exp: Similarly.
3533
3534 2001-12-19 Jim Blandy <jimb@redhat.com>
3535
3536 * gdb.base/printcmds.exp: Expect the null character to be printed
3537 as '\0', and the '\013' to be printed as '\v'.
3538 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3539 * gdb.base/setvar.exp: Same.
3540
3541 2001-12-17 Jim Blandy <jimb@redhat.com>
3542
3543 * gdb.base/completion.exp: Rather than completing very long
3544 filenames, which can make the readline library produce output we
3545 don't recognize, cd to the directory first, and then complete
3546 using nice, short relative paths.
3547
3548 * gdb.base/completion.exp: On some systems, there is, in fact, a
3549 variable named `b' in scope, since GDB treats all static
3550 variables as being in scope. So use `no_var_named_this'
3551 instead of `b'.
3552
3553 * gdb.base/corefile.exp: Recognize the message saying that GDB
3554 can't find the core file's registers as a failure.
3555
3556 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3557
3558 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3559 test expect string more specific.
3560
3561 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
3562
3563 * gdb.asm/asm-source.exp: Add support for xstormy16.
3564 * gdb.asm/configure.in: Ditto.
3565 * gdb.asm/configure: Rebuild.
3566 * gdb.asm/xstormy16.inc: New file.
3567
3568 2001-12-10 Fred Fish <fnf@redhat.com>
3569
3570 * gdb.base/maint.exp: Update to match changes in type dumping code.
3571
3572 2001-12-10 Jim Blandy <jimb@redhat.com>
3573
3574 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3575 matching the entry point symbol's name at the beginning of the
3576 line.
3577
3578 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3579
3580 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3581 gdb.c++/inherit.exp, gdb.c++/method.exp,
3582 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3583 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3584 and class layout support.
3585
3586 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3587
3588 * gdb.c++/classes.exp: Add test for static member function.
3589 * gdb.c++/misc.cc: Add class with static member function.
3590
3591 2001-12-07 Jim Blandy <jimb@redhat.com>
3592
3593 If GDB says it can't find the struct the function returned, report
3594 those tests as `unsupported'.
3595 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3596 Rewrite subsequent tests to use it.
3597
3598 If GDB says it can't find the struct the function returned, report
3599 those tests as `unsupported'.
3600 * gdb.base/structs.exp (call_struct_func): New function.
3601 (do_function_calls): Use call_struct_func to call the functions
3602 returning structs.
3603
3604 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3605 whether functions are prototyped or not, so we can't possibly pass
3606 arguments to t_float_values2 properly.
3607
3608 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3609 value of `timeout' for targets other than the mips*tx39-*.
3610
3611 2001-12-06 Michael Snyder <msnyder@redhat.com>
3612
3613 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3614 and detect whether the start symbol has a leading underscore.
3615
3616 2001-12-04 Jim Blandy <jimb@redhat.com>
3617
3618 * gdb.base/completion.exp: Clarify indentation.
3619
3620 2001-12-03 Jim Blandy <jimb@redhat.com>
3621
3622 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3623 variables on the S/390, not `.word'.
3624
3625 2001-11-30 Jim Blandy <jimb@redhat.com>
3626
3627 Add assembly-source tests for s390-ibm-linux.
3628 * gdb.asm/s390.inc: New file.
3629 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3630 the S/390 architecture.
3631 * gdb.asm/configure: Regenerated.
3632
3633 2001-11-30 Michael Snyder <msnyder@redhat.com>
3634
3635 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3636 next, info source, info sources, info line, global and static
3637 variables, and static functions.
3638 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3639 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3640 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3641 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3642 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3643 (gdbasm_leave): Restore frame pointer.
3644 (gdbasm_startup): Copy stack set-up from crt0.S.
3645
3646 2001-11-26 Fernando Nasser <fnasser@redhat.com>
3647
3648 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3649 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3650 to a local (non-static) variable. Copy tstruct.a to a static buffer
3651 and return a pointer to that buffer.
3652 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3653
3654 2001-11-24 Mark Kettenis <kettenis@gnu.org>
3655
3656 * gdb.asm/configure.in: Fix recognition of ix86 target.
3657 * gdb.asm/configure: Regenerate.
3658
3659 2001-11-21 Michael Snyder <msnyder@redhat.com>
3660
3661 * gdb.asm/sparc.inc: New file.
3662 * gdb.asm/asm-source.exp: Recognize sparc target.
3663 * gdb.asm/configure.in: Recognize sparc target.
3664 * gdb.asm/configure: Regenerate.
3665
3666 2001-11-21 Michael Snyder <msnyder@redhat.com>
3667
3668 * gdb.asm/m32r.inc: New file.
3669 * gdb.asm/asm-source.exp: Recognize m32r target.
3670 * gdb.asm/configure.in: Recognize m32r target.
3671 * gdb.asm/configure: Regenerate.
3672
3673 2001-11-20 Michael Snyder <msnyder@redhat.com>
3674
3675 * gdb.asm/i386.inc: New file.
3676 * gdb.asm/asm-source.exp: Recognize ix86 target.
3677 * gdb.asm/configure.in: Recognize ix86 target.
3678 * gdb.asm/configure: Regenerate.
3679
3680 * gdb.c++/namespace.exp: Fix quotes in output messages.
3681
3682 2001-11-14 Michael Snyder <msnyder@redhat.com>
3683
3684 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
3685 qualifier in a type cast expression, to designate an address
3686 in the instruction space (Harvard architecture).
3687
3688 2001-11-13 Michael Snyder <msnyder@redhat.com>
3689
3690 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3691 Tests for expressions using 'const' and 'volatile'.
3692
3693 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
3694
3695 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3696
3697 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
3698
3699 * lib/mi-support.exp (mi_run_to_helper): Move comments
3700 outside of gdb_expect.
3701
3702 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
3703
3704 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3705 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3706 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3707 mi0_run_to): New functions.
3708 * gdb.mi/mi-simplerun.exp: Use them.
3709 * gdb.mi/mi0-simplerun.exp: Likewise.
3710 * gdb.mi/mi-var-cmd.exp: Likewise.
3711 * gdb.mi/mi0-var-cmd.exp: Likewise.
3712
3713 2001-11-10 Andrew Cagney <ac131313@redhat.com>
3714
3715 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3716 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3717
3718 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3719
3720 * gdb.base/restore.exp: Include $expected value in restored test
3721 message.
3722
3723 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3724
3725 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3726 implemented.
3727
3728 2001-11-08 Michael Snyder <msnyder@redhat.com>
3729
3730 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3731 Add pass/fail message for stop at breakpoint in call dummy function.
3732
3733 2001-11-07 Michael Snyder <msnyder@redhat.com>
3734
3735 * gdb.c++/templates.exp (test_template_breakpoints):
3736 If we get an overload menu, but it does not match what
3737 we expect, we still need to issue the "cancel" command.
3738 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3739 making the whitespace optional. Argument for "new" may be
3740 "unsigned" as well as "unsigned int/long".
3741 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3742 making the whitespace optional. Also replace "(void) with
3743 "((void|)), making the keyword "void" optional.
3744 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3745 making the whitespace optional. Also replace "(void) with
3746 "((void|)), making the keyword "void" optional.
3747 * gdb.base/callfuncs.c (t_float_values): This function must
3748 _not_ be prototyped, and the following function (t_float_values2)
3749 must be prototyped (if the compiler supports it), so that GDB
3750 can be tested against both cases. Usually one case involves
3751 promotion of float to double, while the other does not.
3752 * gdb.base/callfwmall.c: Ditto.
3753 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3754 includes a stack frame for "start".
3755
3756 2001-11-05 Jim Blandy <jimb@redhat.com>
3757
3758 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3759 pointers are 32 bits long, and that offsets of relocs are always
3760 stored in the data (REL-style), and not in the reloc entry itself
3761 (RELA-style).
3762 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3763 stabs.
3764
3765 2001-11-01 Michael Snyder <msnyder@redhat.com>
3766
3767 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3768 and regular expression operators by using quoting.
3769
3770 2001-10-31 Michael Snyder <msnyder@redhat.com>
3771
3772 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3773 depending on what the symbol table contains.
3774 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3775 the output of the ptype command. Similarly, accept both "const &"
3776 and "const&".
3777
3778 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
3779
3780 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3781 symbol `STORAGE' to allow to choose the storage class of
3782 the local datastructures.
3783 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3784 compiler directive.
3785
3786 2001-10-30 Michael Snyder <msnyder@redhat.com>
3787
3788 * gdb.base/jump.exp: Allow it to run for all targets.
3789
3790 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3791
3792 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3793 with new double_array size.
3794 (main): Change storage class of all local variables to static.
3795 Reduce size of double_array to 9.
3796 * gdb.base/call-ar-st.exp: Increase timeout value.
3797 Change expected output for double array to match new size in
3798 call-ar-st.c.
3799
3800 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3801
3802 * gdb.base/ending-run.exp: Create identical output when passing
3803 `step to end of run' case. Add regular expression branch satisfying
3804 Stormy16 target.
3805
3806 2001-10-28 Mark Kettenis <kettenis@gnu.org>
3807
3808 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3809 that we catch the expected failure under Linux/x86.
3810
3811 2001-10-29 Orjan Friberg <orjanf@axis.com>
3812
3813 * gdb.base/setvar.exp: Escape curly braces.
3814 * gdb.stabs/weird.exp: Ditto.
3815
3816 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
3817
3818 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3819 * gdm.mi/mi0-hack-cli.exp: Likewise.
3820
3821 2001-10-25 Andrew Cagney <ac131313@redhat.com>
3822
3823 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3824 messages.
3825
3826 2001-10-21 Andrew Cagney <ac131313@redhat.com>
3827
3828 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3829 checking MI enabled.
3830
3831 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
3832
3833 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3834
3835 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
3836
3837 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3838 if gdb child process crashes, just signal an error.
3839
3840 2001-10-02 Jim Blandy <jimb@redhat.com>
3841
3842 * lib/gdb.exp (test_xfail_format): Simplify.
3843
3844 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3845 front of the variable name `format'. Simplify `if'.
3846
3847 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3848
3849 * gdb.threads/pthreads.exp: Wait for output and delay
3850 before sending ^C.
3851
3852 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3853
3854 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3855 some incorrect output instead of timing out.
3856 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3857
3858 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
3859
3860 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3861 check to allow additional `int'.
3862
3863 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
3864
3865 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3866 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3867
3868 2001-09-27 Michael Snyder <msnyder@redhat.com>
3869
3870 * lib/gdb.exp (test_debug_format): New proc.
3871 (setup_xfail_format): Use new proc test_debug_format.
3872 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3873 proc; use new service proc test_debug_format.
3874 Replace all other "gcc_compiled" tests with this test.
3875 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3876 proc; use new service proc test_debug_format.
3877 Replace all other "gcc_compiled" tests with this test.
3878
3879 2001-09-27 Michael Snyder <msnyder@redhat.com>
3880
3881 * gdb.base/cvexpr.exp: New file.
3882 * gdb.base/cvexpr.c: New file
3883 Test for expressions using const and volatile keywords.
3884
3885 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
3886
3887 * gdb.base/constvars.exp: Check for different orders of keywords
3888 and additional "int" strings in output.
3889
3890 2001-09-22 Andrew Cagney <ac131313@redhat.com>
3891
3892 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3893 responses from "help maint".
3894
3895 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
3896
3897 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3898 to localhost:NNN instead of :NNN, in case Xvfb is listening
3899 only on TCP.
3900
3901 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
3902
3903 * gdb.base/recurse.exp: When checking leaving the watchpoint
3904 scope, recognize when gdb is in function's epilogue and pass.
3905
3906 2001-09-18 Keith Seitz <keiths@redhat.com>
3907
3908 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3909 support for running tests against sid targets.
3910 (gdbtk_done): Ditto.
3911
3912 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
3913
3914 * gdb.base/ending-run.c (main): Set stdout buffersize
3915 to the same reasonable value for any target.
3916 * gdb.base/ending-run.exp: Add a regular expression
3917 to make testsuite happy on Sanyo Stormy16 target.
3918
3919 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
3920
3921 * gdb.base/display.c (do_loops): Add float variable `f'.
3922 Increment f in loop.
3923 * gdb.base/display.exp: Increment timeout by 60 seconds.
3924 Change float display test to use variable `f'.
3925
3926 2001-09-17 Jim Blandy <jimb@redhat.com>
3927
3928 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3929 overflowing the limited breakpoint tables on some ROM monitors
3930 (like the ROM68K).
3931
3932 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
3933
3934 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3935 the "-ac" (disable access control) flag.
3936
3937 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
3938
3939 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3940 ints.
3941
3942 2001-08-30 Keith Seitz <keiths@redhat.com>
3943
3944 * lib/gdb.exp: Move all insight-related functionality into
3945 separate file.
3946 * lib/insight-support.exp: New file.
3947
3948 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
3949
3950 * config/sid.exp (sid_start): Never set sid verbosity; disable
3951 expect_background {} that consumed its stdout; tolerate </dev/null.
3952 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3953
3954 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3955
3956 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3957 CLI jump command to start it.
3958 (mi_run_to_main): Fail immediatly when unexpected output.
3959
3960 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3961
3962 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3963 beginning of function. Fix PR gdb/191.
3964
3965 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
3966
3967 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3968 what to force sid endianness to.
3969
3970 2001-08-15 Keith Seitz <keiths@redhat.com>
3971
3972 * lib/gdb.exp (gdbtk_start): Don't set environment
3973 variables for TCL_LIBRARY and friends. Insight will
3974 now figure these out for itself.
3975
3976 2001-08-02 Michael Snyder <msnyder@redhat.com>
3977
3978 * gdb.base/completion.exp: Remove the symbol "a64l" from
3979 the expect string; this is target-specific, and not related
3980 to what is being tested.
3981
3982 2001-08-02 Dave Brolley <brolley@redhat.com>
3983
3984 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3985
3986 2001-07-25 Michael Snyder <msnyder@redhat.com>
3987
3988 * gdb.base/consecutive.exp: New file. Test stepping over
3989 breakpoints on consecutive instructions.
3990 * gdb.base/consecutive.c: New file.
3991
3992 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3993 curly braces in regular expressions.
3994
3995 2001-07-25 Michael Snyder <msnyder@redhat.com>
3996
3997 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3998 legitimate output from stepping out of main.
3999
4000 2001-07-22 Keith Seitz <keiths@redhat.com>
4001
4002 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
4003 the empty string, do not run the tests.
4004
4005 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4006
4007 * gdb.base/long_long.exp: Detect size of pointer. Take into
4008 account 2-byte pointers when testing for p/a results.
4009
4010 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4011
4012 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
4013 and defined to 1K for m68hc11.
4014 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4015 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4016 (sizeof_random_data): New variable to tell the size of the data table;
4017 don't test past this size; always run to main.
4018
4019 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4020
4021 * gdb.base/return2.exp: return of long long and double fails for
4022 68HC11; don't execute these tests on that platform.
4023 * gdb.base/return.exp: Return of a double fails for 68hc11.
4024
4025 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4026
4027 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4028 tests that print a float.
4029 * call-rt-st.exp: Likewise.
4030
4031 2001-07-12 Mark Kettenis <kettenis@gnu.org>
4032
4033 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4034 running this test on Linux.
4035
4036 2001-06-24 Michael Chastain <chastain@redhat.com>
4037
4038 * gdb.base/arithmet.exp: Remove some tests to make all test names
4039 unique.
4040
4041 2001-07-03 Michael Snyder <msnyder@redhat.com>
4042
4043 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4044 the output of the ptype command.
4045
4046 2001-07-02 Michael Snyder <msnyder@redhat.com>
4047
4048 * gdb.base/completion.exp: Don't assume that break.c is the only
4049 source file that may contain functions named "marker".
4050 * gdb.base/corefile.exp: Quote the curly braces in regexp.
4051
4052 2001-06-28 Andrew Cagney <ac131313@redhat.com>
4053
4054 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4055 of files to delete.
4056
4057 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4058 * gdb.disasm/h8300s.exp: New file.
4059 gdb.disasm/h8300s.s: Likewise.
4060
4061 2001-06-27 Andrew Cagney <ac131313@redhat.com>
4062
4063 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4064 empty breakpoint tables.
4065
4066 2001-06-25 Andrew Cagney <ac131313@redhat.com>
4067
4068 * lib/mi-support.exp: Update args=... part of stop-reason
4069 patterns. Accept either a list or a tuple.
4070
4071 2001-06-23 Andrew Cagney <ac131313@redhat.com>
4072
4073 * lib/mi-support.exp: Remove local emacs variable defining
4074 change-log-default-name.
4075
4076 2001-06-22 Michael Chastain <chastain@redhat.com>
4077
4078 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4079 This is operationally compatible with the previous version.
4080
4081 2001-06-13 Jim Blandy <jimb@redhat.com>
4082
4083 * lib/gdb.exp (gdb_test): Doc fix.
4084
4085 2001-06-10 Michael Chastain <chastain@redhat.com>
4086
4087 * gdb.base/exprs.exp: Remove a duplicate test.
4088
4089 2001-06-06 Jim Blandy <jimb@redhat.com>
4090
4091 * gdb.base/return2.exp (main): Use values to test float and double
4092 returns that are not NaN's, to avoid being confused by IEEE
4093 comparison rules.
4094
4095 2001-06-04 Michael Snyder <msnyder@redhat.com>
4096
4097 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
4098 non-zero if control_c fails. Terminate the test on failure,
4099 rather than wait for 12 more tests to time out.
4100
4101 2001-06-06 Jim Blandy <jimb@redhat.com>
4102
4103 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
4104 Don't forget to match the GDB prompt.
4105
4106 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4107
4108 2001-06-04 Jim Blandy <jimb@redhat.com>
4109
4110 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4111 command.
4112
4113 2001-05-31 Kevin Buettner <kevinb@redhat.com>
4114
4115 * gdb.base/annota1.exp (info break): Match four or more spaces
4116 after "Address".
4117
4118 2001-05-31 Michael Chastain <chastain@redhat.com>
4119
4120 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4121 (dm_type_int_star): Likewise.
4122 (dm_type_long_star): Likewise.
4123 (dm_type_void_star): Likewise.
4124
4125 2001-05-29 Kevin Buettner <kevinb@redhat.com>
4126
4127 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4128 to a known value in order to get consistent results regardless
4129 of the setting of INPUTRC or the presence or contents of .inputrc.
4130
4131 2001-05-24 Michael Snyder <msnyder@redhat.com>
4132
4133 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4134 Don't require that the main thread and the manager thread are the
4135 first in the list.
4136
4137 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4138 debugging. If test fails, issue an "unsupported" not a "fail".
4139
4140 2001-05-24 Jim Blandy <jimb@redhat.com>
4141
4142 Don't assume that short is shorter than int.
4143 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4144 assume that shorts are smaller than ints. On a 16-bit machine,
4145 this isn't true.
4146 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4147 an int, is not equal to ~0 stored in an unsigned char. This tests
4148 the same thing that the previous test meant to, but works on
4149 16-bit machines, too.
4150 ("print unsigned char != (~0)"): Same test, complemented.
4151
4152 2001-05-24 Michael Snyder <msnyder@redhat.com>
4153
4154 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
4155 test for (full_coverage == 0). This makes the test run faster,
4156 and prevents dejagnu getting out of step.
4157
4158 2001-05-23 Kevin Buettner <kevinb@redhat.com>
4159
4160 * gdb.base/finish.exp (finish_void): Revise pattern for
4161 stopping on the call statement to not permit stopping at
4162 the start of the instructions comprising the call sequence.
4163
4164 2001-05-19 Michael Chastain <chastain@redhat.com>
4165
4166 * gdb.base/callfuncs.exp: Make all test names unique.
4167 * gdb.base/commands.exp: Make all test names unique.
4168 * gdb.base/condbreak.exp: Make all test names unique.
4169 * gdb.base/dbx.exp: Make all test names unique.
4170 * gdb.base/default.exp: Make all test names unique.
4171 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4172 and TIMEOUT messages to their corresponding PASS message.
4173 * gdb.base/ending-run.exp: Make all test names unique.
4174 * gdb.base/long_long.exp: Remove duplicate test.
4175
4176 2001-05-21 Kevin Buettner <kevinb@redhat.com>
4177
4178 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4179 stop on the call statement as well as the statement after the
4180 call.
4181
4182 2001-05-21 Michael Snyder <msnyder@redhat.com>
4183
4184 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4185
4186 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
4187
4188 * gdb.base/completion.exp: Revamp test. Make it execute on all
4189 platforms.
4190
4191 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
4192
4193 * config/gdbserver.exp (gdb_load): Handle the case
4194 in which the arguments to gdbserver are given in the
4195 baseboard configuration file.
4196 Also handle the case in which the server needs to do a
4197 load.
4198
4199 2001-05-07 Keith Seitz <keiths@cygnus.com>
4200
4201 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4202 set up the display for testing.
4203 (gdbtk_start): Convert all paths to paths that tcl will like.
4204 Export target information to environment.
4205 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4206 necessary.
4207 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4208 (to_tcl_path): New proc to convert a given pathname into
4209 a path acceptible as an argument to a tcl command.
4210 (_gdbtk_export_target_info): New proc to export target info
4211 into the environment for gdbtk testing.
4212 (gdbtk_done): New proc to signal end-of-test.
4213
4214 2001-05-06 Jim Blandy <jimb@redhat.com>
4215
4216 * restore.c: Make the code of caller0 correspond to its comment.
4217
4218 2001-05-03 Michael Snyder <msnyder@redhat.com>
4219
4220 * config/sid.exp (gdb_target_sid): Check for error messages.
4221 On error or timeout, don't make expect exit (which will terminate
4222 all subsequent tests); instead just make gdb exit.
4223 (gdb_load): Check for error messages. On error or timeout,
4224 return a negative value.
4225
4226 2001-04-24 Jim Blandy <jimb@redhat.com>
4227
4228 * gdb.c++/templates.exp: If we see the prompt for the overload
4229 list, but we haven't recognized any of the longer patterns,
4230 arrange for this test to fail, not hang.
4231
4232 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4233 variations.
4234
4235 2001-04-22 Michael Chastain <chastain@redhat.com>
4236
4237 * gdb.c++/local.exp: Use the 'runto' library function.
4238 * gdb.c++/namespace.exp: Likewise.
4239 * gdb.c++/overload.exp: Likewise.
4240
4241 2001-03-26 Kevin Buettner <kevinb@redhat.com>
4242
4243 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4244 * gdb.base/step-line.exp: New file. Test step/next in presence of
4245 #line directives.
4246 * gdb.base/step-line.c: New file. Test program for the above.
4247 * gdb.base/step-line.inp: New file. We pretend that this file has
4248 been transformed by some other tool into step-line.c.
4249
4250 2001-03-21 Jim Blandy <jimb@redhat.com>
4251
4252 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4253 unmangled operator names.
4254
4255 2001-03-20 Jim Blandy <jimb@redhat.com>
4256
4257 * gdb.threads/linux-dp.exp: Recognize an additional message
4258 generated by GDB when it doesn't understand how to debug threads
4259 on the target system.
4260
4261 2001-03-19 Andrew Cagney <ac131313@redhat.com>
4262
4263 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4264
4265 2001-03-12 Michael Chastain <chastain@redhat.com>
4266
4267 * gdb.c++/derivation.exp: Use the 'runto' library function.
4268
4269 2001-03-12 Michael Chastain <chastain@redhat.com>
4270
4271 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4272
4273 2001-02-24 Michael Chastain <chastain@redhat.com>
4274
4275 * gdb.c++/ref-types.exp: Change handwritten code to library
4276 function 'runto'.
4277
4278 2001-03-16 Orjan Friberg <orjanf@axis.com>
4279
4280 * gdb.base/signals.exp: Set count to 0 explicitly.
4281
4282 2001-03-15 Mark Salter <msalter@redhat.com>
4283
4284 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4285 (gdb_target_monitor): Add check of gdb_target_cmd return value.
4286 (gdb_load): Add support for additional target_info: gdb_download_size
4287 and gdb_load_timeout.
4288
4289 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4290
4291 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4292 file -- to prevent failing when the compile fails but we have no
4293 intention of running the tests anyway.
4294
4295 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4296 tests if set.
4297
4298 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4299 integers.
4300
4301 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4302 * gdb.c++/namespace.exp: Ditto.
4303
4304 2001-03-07 Orjan Friberg <orjanf@axis.com>
4305
4306 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4307 * gdb.base/pointers.exp: Relax pattern match of decimals.
4308
4309 2001-03-06 Kevin Buettner <kevinb@redhat.com>
4310
4311 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4312 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4313 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4314 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4315 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4316 config/sh.exp, config/sid.exp, config/slite.exp,
4317 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4318 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4319 config/vxworks.exp, config/vxworks29k.exp,
4320 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4321 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4322 gdb.base/arithmet.exp, gdb.base/assign.exp,
4323 gdb.base/async.exp, gdb.base/attach.exp,
4324 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4325 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4326 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4327 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4328 gdb.base/commands.exp, gdb.base/completion.exp,
4329 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4330 gdb.base/constvars.exp, gdb.base/corefile.exp,
4331 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4332 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4333 gdb.base/ending-run.exp, gdb.base/environ.exp,
4334 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4335 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4336 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4337 gdb.base/funcargs.exp, gdb.base/help.exp,
4338 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4339 gdb.base/logical.exp, gdb.base/long_long.exp,
4340 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4341 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4342 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4343 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4344 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4345 gdb.base/regs.exp, gdb.base/relational.exp,
4346 gdb.base/remote.exp, gdb.base/reread.exp,
4347 gdb.base/restore.exp, gdb.base/return2.exp,
4348 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4349 gdb.base/selftest.exp, gdb.base/setshow.exp,
4350 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4351 gdb.base/sigall.exp, gdb.base/signals.exp,
4352 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4353 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4354 gdb.base/step-test.exp, gdb.base/structs.c,
4355 gdb.base/structs.exp, gdb.base/structs2.exp,
4356 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4357 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4358 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4359 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4360 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4361 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4362 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4363 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4364 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4365 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4366 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4367 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4368 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4369 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4370 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4371 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4372 gdb.trace/circ.exp, gdb.trace/collection.exp,
4373 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4374 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4375 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4376 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4377 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4378 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4379 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4380 notices.
4381
4382 2001-02-27 Michael Snyder <msnyder@cygnus.com>
4383
4384 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4385 first arg is int not float.
4386
4387 2001-02-22 Michael Snyder <msnyder@cygnus.com>
4388
4389 * gdb.base/reread.exp: Unsupported for non-native targets;
4390 doesn't work for remote debugging.
4391
4392 2001-02-19 Fernando Nasser <fnasser@redhat.com>
4393
4394 From Drew Moseley <dmoseley@redhat.com>
4395 * gdb.base/ending-run.exp: Properly handle the BSP state when
4396 stepping past the end of main.
4397
4398 2001-02-19 John Moore <jmoore@redhat.com>
4399
4400 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4401 Converted HPUX fix for non-expected items following multiple
4402 step commands into general solution for all platforms.
4403
4404 2001-02-18 Michael Chastain <chastain@redhat.com>
4405
4406 * gdb.c++/classes.exp (do_tests): Change runto statements
4407 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4408 statements demangler agnostic.
4409 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4410 (gdb_virtfunc_restart): Likewise.
4411
4412 2001-02-14 Michael Chastain <chastain@redhat.com>
4413
4414 * gdb.c++/inherit.exp (do_tests): Change runto statements
4415 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4416 statements demangler agnostic.
4417
4418 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4419
4420 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4421 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4422 before calling common_routine 15 times'' tests.
4423
4424 2001-02-11 Michael Chastain <chastain@redhat.com>
4425
4426 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4427 Helps the test script figure out which demangler is in use.
4428 (dm_type_foo_ref): Ditto.
4429 (dm_type_int_star): Ditto.
4430 (dm_type_long_star): Ditto.
4431 (dm_type_unsigned_int): Ditto.
4432 (dm_type_void): Ditto.
4433 (dm_type_void_star): Ditto.
4434 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
4435 Probe the gdb demangler and set variables to accommodate
4436 formatting differences.
4437 (info_func_regexp): New function. Same as info_func, but
4438 matches against a regexp.
4439 (info_func): Match against a literal string.
4440 (print_addr_2): New function. Match against a literal string,
4441 which can be different from the input to gdb.
4442 (print_addr): Simply call print_addr_2 with the same argument twice.
4443 (test_lookup_operator_functions): Use demangler formatting variables.
4444 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4445 the tests in the same order as the C++ class declaration.
4446 (test_paddr_operator_functions): Ditto.
4447 (test_paddr_overloaded_functions): Ditto.
4448 (test_paddr_hairy_functions): Use demangler formatting variables.
4449 Add reference to gdb/19 for related tests.
4450 (do_tests): Call probe_demangler.
4451
4452 2001-01-30 Kevin Buettner <kevinb@redhat.com>
4453
4454 * gdb.c++/templates.cc (printf): Remove unused function definition.
4455
4456 2001-01-26 Felix Lee <flee@redhat.com>
4457
4458 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4459
4460 2001-01-25 matthew green <mrg@redhat.com>
4461
4462 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4463 up sid.
4464 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4465
4466 2001-01-25 matthew green <mrg@redhat.com>
4467
4468 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4469 Deprecate $sid_spawn_id.
4470 (sid_exit): Remove code necessary only for `spawn.'
4471
4472 2001-01-25 matthew green <mrg@redhat.com>
4473
4474 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4475
4476 2001-01-28 Michael Chastain <chastain@redhat.com>
4477
4478 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4479 to call when tests fail. It takes gdb out of the overloaded
4480 function choice menu back to the main prompt, so that the test
4481 program stays synchronized.
4482 (set_bp_overloaded): New proc to collect all the common
4483 code for setting a breakpoint on an overloaded name. Calls
4484 take_gdb_out_of_choice_menu when needed.
4485 (menu_overload1arg): New variable to collect the repeated
4486 instances of the expected menu for an overloaded name. Change
4487 the regular expression to handle changes in g++ type encoding:
4488 "void" can be either "void" or "", and "unsigned int" can be
4489 either "unsigned int" or "unsigned".
4490 (continue_to_bp_overloaded): Change regular expressions to handle
4491 changes in g++ type encoding.
4492 (no proc): Call take_gdb_out_of_choice_menu when needed.
4493 Remove redundant calls to "info break". Accept either "canceled"
4494 or "cancelled". Change regular expressions in "info break"
4495 calls to handle changes in g++ type encoding. Give all tests
4496 unique strings.
4497
4498 2001-01-17 Ben Elliston <bje@redhat.com>
4499
4500 * config/sid.exp: New file.
4501
4502 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4503
4504 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4505
4506 2000-12-21 Michael Snyder <msnyder@cygnus.com>
4507
4508 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4509 Add a RE to accept a non-ascii char if one is ever presented.
4510
4511 2000-12-20 Fernando Nasser <fnasser@redhat.com>
4512
4513 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
4514
4515 2000-12-18 Michael Snyder <msnyder@cygnus.com>
4516
4517 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4518 in regexp. One '\' does not suffice on Linux.
4519
4520 2000-12-09 Michael Chastain <chastain@redhat.com>
4521
4522 * gdb.base/break.exp (test_clear_command): Use a marker function
4523 rather than 'main' for the test function. Also move this
4524 test to an execution point where the marker function names are
4525 guaranteed to be bound to functions. (Executing tests after a
4526 'finish' from main runs into name conflicts with local names
4527 in __libc_start_main).
4528
4529 2000-12-07 Michael Snyder <msnyder@cygnus.com>
4530
4531 * gdb.base/finish.exp: New test for gdb's "finish" command.
4532 * gdb.base/return2.exp: New test for gdb's "return" command.
4533 * gdb.base/return2.c: New source file for above.
4534
4535 2000-12-05 Michael Snyder <msnyder@cygnus.com>
4536
4537 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4538 * gdb.base/miscexprs.exp: Ditto.
4539 * gdb.base/pointers.exp: Ditto.
4540 * gdb.c++/derivation.exp: Ditto.
4541 * gdb.c++/local.exp: Ditto.
4542 * gdb.c++/namespace.exp: Ditto.
4543 * gdb.c++/overload.exp: Ditto.
4544 * gdb.c++/ref-types.exp: Ditto.
4545
4546 2000-12-05 Michael Snyder <msnyder@cygnus.com>
4547
4548 * gdb.base/constvars.exp: Test result of "up" command.
4549 * gdb.base/miscexprs.exp: Ditto.
4550 * gdb.base/pointers.exp: Ditto.
4551 * gdb.base/scope.exp: Ditto.
4552 * gdb.c++/derivation.exp: Ditto.
4553 * gdb.c++/local.exp: Ditto.
4554 * gdb.c++/namespace.exp: Ditto.
4555 * gdb.c++/overload.exp: Ditto.
4556 * gdb.c++/ref-types.exp: Ditto.
4557
4558 2000-11-22 Michael Chastain <chastain@redhat.com>
4559
4560 * mips_pro.exp: Accept either "middle -> top -> main" or
4561 "middle -> main" in the backtrace, because gcc can optimize
4562 tail calls to jumps. Remove setup_xfail for the hppa case.
4563 Add a comment with the original warning messages from PR 3016,
4564 which was filed in 1993, to preserve them for posterity.
4565
4566 2000-11-17 Nick Duffek <nsd@redhat.com>
4567
4568 * lib/gdb.exp (gdb_test): Override timeout with board info.
4569
4570 2000-11-17 Nick Duffek <nsd@redhat.com>
4571
4572 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4573 the second kill and detach messages.
4574
4575 2000-11-17 Nick Duffek <nsd@redhat.com>
4576
4577 * configure.in: Add AC_EXEEXT.
4578 * configure: Regenerate.
4579 * Makefile.in (just-check): Export EXEEXT.
4580 * lib/gdb.exp ($EXEEXT): Import from environment.
4581 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4582 expect "maint dump-me" on Cygwin.
4583 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4584 $EXEEXT.
4585
4586 2000-11-17 Nick Duffek <nsd@redhat.com>
4587
4588 * gdb.base/break.exp: Test backtrace and finish from called
4589 function on all platforms, not just HP-UX.
4590
4591 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4592
4593 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4594 code from gdb_target_monitor, so it can be used independantly
4595 for gdbserver. Also comment out an unnecessary PUTS.
4596
4597 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4598
4599 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4600 * gdb.base/corefile.exp: Expect the message "Program is being
4601 debugged already" when we send the "corefile" command, since
4602 the preceeding gdb_load may have connected gdb to a remote target.
4603 * gdb.base/display.exp: Disable hardware watchpoints if new
4604 board info variable "no_hardware_watchpoints" is true.
4605 Replace single-letter commands with more readable ones.
4606 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4607 if new board info variable "no_hardware_watchpoints" is true.
4608 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4609 to see if stdio (printf) testing is possible.
4610 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4611 board info variable "no_hardware_watchpoints" is true. Use new
4612 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4613
4614 2000-11-13 Fernando Nasser <fnasser@redhat.com>
4615
4616 From Orjan Friberg <orjanf@axis.com>:
4617 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4618 in array print pattern match.
4619
4620 2000-11-09 Fernando Nasser <fnasser@redhat.com>
4621
4622 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4623 spelling "cancelled" to U.S. spelling "canceled" to match changes
4624 made to gdb.
4625 * gdb.c++/ovldbreak.exp: Ditto.
4626
4627 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4628
4629 * gdb.base/callfuncs.c (main): Moved to end of file, call
4630 t_double_values to initialize the FPU before inferior calls are made.
4631 * gdb.base/callfuncs.exp: Test for register preservation after calling
4632 inferior functions. Add tests for continuining, finishing and
4633 returning from a stop in a call dummy.
4634
4635 2000-10-24 Michael Snyder <msnyder@cygnus.com>
4636
4637 * gdb.base/commands.exp: Break up long lines, and re-indent.
4638
4639 2000-10-19 Michael Snyder <msnyder@cygnus.com>
4640
4641 * config/gdbserver.exp: Rewritten from the ground up, to make it
4642 compatible with the current dejagnu tree, and to make it work with
4643 the new "gdbserver" in libremote.
4644
4645 2000-10-16 Michael Snyder <msnyder@cygnus.com>
4646
4647 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4648 * gdb.base/varargs.exp: Skip entire test if no printf support.
4649 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4650 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4651
4652 2000-10-13 Michael Snyder <msnyder@cygnus.com>
4653
4654 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4655 no floating point support.
4656 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4657 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4658 * gdb.base/call-rt-st.exp: Ditto.
4659 * gdb.base/call-strs.exp: Ditto.
4660
4661 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4662
4663 * gdb.base/sizeof.c: include <stdio.h>.
4664
4665 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4666 'finish', otherwise uncaptured gdb_prompt would potentially
4667 throw remaining test points out of sync.
4668
4669 2000-07-26 Scott Bambrough <scottb@netwinder.org>
4670
4671 * gdb.base/recurse.exp: Run tests for all targets.
4672 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4673 gnu-oldld case on ARM.
4674 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4675 for ARM targets.
4676
4677 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4678
4679 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4680 * gdb.java/configure: Rebuild.
4681
4682 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4683
4684 * gdb.java/jv-exp.exp: New file.
4685
4686 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4687
4688 * configure: Rebuilt.
4689 * configure.in (configdirs): Add gdb.java.
4690 * gdb.java/jmisc.java: New file.
4691 * gdb.java/jmisc.exp: New file.
4692 * gdb.java/Makefile.in: New file.
4693 * gdb.java/configure: Rebuilt.
4694 * gdb.java/configure.in: New file.
4695 * lib/java.exp: New file.
4696
4697 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4698
4699 * gdb.base/exprs.exp: Test casts to a pointer including over and
4700 underflow.
4701
4702 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4703
4704 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4705 and the compilers sizes.
4706
4707 2000-07-09 Nick Duffek <nsd@redhat.com>
4708
4709 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4710 (use_methods): New function.
4711 (main): Call use_methods().
4712 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4713 (do_tests): Call test_method_param_class.
4714
4715 2000-07-09 Nick Duffek <nsd@redhat.com>
4716
4717 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4718 spelling.
4719 (test_enums): New procedure. Move enum tests from end of script
4720 to here. Set breakpoint on function name instead of line number.
4721 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4722 (enums2): New marker function.
4723 (enums1): New function.
4724 (main): Call enums1(). Move enum tests to enums1().
4725
4726 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4727
4728 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4729 compile/link program. Update line numbers.
4730 * gdb.asm/d10v.inc: Define ``startup''.
4731 * gdb.asm/asmsrc1.s: Add definition of _start.
4732
4733 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4734
4735 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4736
4737 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4738
4739 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4740 of 'help maint print' command.
4741
4742 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4743
4744 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4745 they use gdb_expect_list.
4746
4747 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4748
4749 * gdb.base/commands.exp: Use ``set remote
4750 memory-read-packet-size'' instead of ``set endian big'' to test
4751 long commands.
4752
4753 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
4754
4755 * gdb.c++/templates.exp (do_tests): Make all of these work under
4756 g++, and stop skipping them.
4757
4758 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4759 work under g++.
4760
4761 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4762 initialization.
4763
4764 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4765
4766 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4767 the regular expression: accept an (almost) arbitrary sequence of
4768 "frames-invalid" and "breakpoints-invalid" messages both before
4769 and after the "starting" message.
4770
4771 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4772
4773 * gdb.c++/local.exp: This test has never been known to work with g++.
4774
4775 2000-05-18 Michael Snyder <msnyder@cygnus.com>
4776
4777 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4778 Relax the regular expression a little, make it pass on Solaris 8.
4779
4780 2000-05-12 Kevin Buettner <kevinb@redhat.com>
4781
4782 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4783 a call, do not require that gdb stop on the line after the call.
4784 Instead, it is permissible for gdb to stop on the line of the
4785 call itself.
4786
4787 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
4788
4789 * gdb.base/break.exp (bp on small function, optimized file):
4790 Add a second pass pattern. The behavior differs here between stabs
4791 and dwarf for one-line functions. Stabs preserves two line symbols
4792 (one before the prologue and one after) with the same line number,
4793 but dwarf regards these as duplicates and discards one of them.
4794 Therefore the address after the prologue (where the breakpoint is)
4795 has no exactly matching line symbol, and GDB reports the breakpoint
4796 as if it were in the middle of a line rather than at the beginning.
4797
4798 2000-05-08 Michael Snyder <msnyder@cygnus.com>
4799
4800 * gdb.base/interrupt.exp: Make "pass" message say "send"
4801 rather than "send_gdb" (for consistancy).
4802
4803 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4804
4805 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4806 * gdb.c++/templates.cc: Properly check for GCC version number.
4807 * lib/compiler.cc: Likewise
4808
4809 2000-04-28 Michael Snyder <msnyder@cygnus.com>
4810
4811 * gdb.base/break.exp: When compiled with -O2 optimization,
4812 gdb may not stop at the first line of main, due to code motion.
4813
4814 2000-04-26 Michael Snyder <msnyder@cygnus.com>
4815
4816 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4817 This test depends on parsing the printf output from the target.
4818 Since the sparclet stub doesn't do stdio, this will never work.
4819 * gdb.base/call-rt-st.exp: ditto.
4820 * gdb.base/call-strs: ditto.
4821
4822 2000-04-24 Michael Snyder <msnyder@cygnus.com>
4823
4824 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4825
4826 * gdb.base/ending-run.exp: After connecting to a remote target,
4827 but before running, the target will appear to be in a random
4828 location. Specify both a file and a line for breakpoints.
4829 Also, the function that calls main may be called 'init'
4830 rather than 'start'.
4831
4832 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4833
4834 * gdb.base/help.exp: Update output for add-symbol-file command.
4835
4836 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
4837
4838 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4839 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4840
4841 2000-04-07 J.T. Conklin <jtc@redback.com>
4842
4843 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4844
4845 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4846
4847 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4848
4849 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4850 values that can be represented exactly.
4851 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4852 above change, and to not check against the directory part of the source
4853 file name.
4854 (step into print_long_arg_list): Likewise.
4855 (print print_small_structs from print_long_arg_list): Likewise.
4856 (print print_long_arg_list): Likewise.
4857
4858 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4859
4860 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
4861
4862 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4863
4864 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4865
4866 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
4867
4868 * gdb.base/commands.exp (deprecated_command_test): Add test for
4869 deprecate with no arguments.
4870
4871 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4872
4873 * gdb.base/break.exp: Add new test for setting breakpoints on
4874 optimized code so we can test breakpoints work even when function
4875 prologues may be optimized away
4876
4877 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4878
4879 From David Whedon <dwhedon@gordian.com>
4880 * gdb.base/commands.exp : Added command deprecator tests.
4881
4882 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
4883
4884 * gdb.base/help.exp: Added test for new apropos command.
4885
4886 2000-03-21 Kevin Buettner <kevinb@redhat.com>
4887
4888 * gdb.base/pointers.c (usevar): New function.
4889 (main): Make sure that global variables v_int_pointer2, rptr,
4890 and y are all referenced someplace in the program by calling
4891 usevar() on them. [Some linkers delete symbols which are
4892 never referenced. The space remains, but there's no way to
4893 get a (symbolic) handle on the variable from the debugger.]
4894
4895 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4896
4897 * gdb.base/printcmds.c: Add typedeffed arrays.
4898
4899 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4900 procedure to test arrays that are typedef'd.
4901
4902 2000-03-13 James Ingham <jingham@leda.cygnus.com>
4903
4904 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
4905 the library directories.
4906
4907 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4908
4909 * configure.in (configdirs): Add sub directory gdb.mi.
4910 * configure: Re-generate.
4911
4912 * gdb.mi: New directory.
4913
4914 2000-02-25 Scott Bambrough <scottb@netwinder.org>
4915
4916 * gdb.base/long_long.exp: Correct test suite failure when printing
4917 a long long value as a double on ARM platforms.
4918
4919 2000-02-16 Jim Blandy <jimb@redhat.com>
4920
4921 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4922 default source file is set properly before running this test.
4923
4924 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4925
4926 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4927 gdbtk/library directory, not in gdbtcl2.
4928
4929 2000-02-04 Jim Blandy <jimb@redhat.com>
4930
4931 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4932 backslash from regexp pattern.
4933
4934 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4935 procedure. Use it to run all the "continue to bp overloaded"
4936 tests. Note that this changes the names of the tests slightly.
4937 If the breakpoint hit message includes a hex PC value, because
4938 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4939 from the real source code, still consider that a pass.
4940
4941 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4942 XFAIL here if the breakpoint message contains a hex address. Note
4943 similar change on 1999-11-02.
4944
4945 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4946
4947 * gdb.base/ptype.exp: Establish a default source file before
4948 calling get_debug_format.
4949
4950 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4951
4952 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4953
4954 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4955
4956 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4957 of successive stepi commands -- while in the prologue we should see
4958 the function entry bracket.
4959
4960 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4961
4962 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4963 reach __change_mode() when stepping through the end of main().
4964
4965 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4966
4967 * gdb.base/default.exp: Fix expected pattern.
4968 * gdb.base/help.exp: Same.
4969
4970 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4971
4972 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4973 Don't use xfail's because that affects only the following test.
4974
4975 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4976 solaris or linux.
4977
4978 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4979
4980 2000-01-07 Michael Snyder <msnyder@cygnus.com>
4981
4982 * gdb.base/display.exp: Some yacc parsers like to say
4983 "A syntax error" rather than "A parse error". Accept both.
4984
4985 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4986
4987 * gdb.base/default.exp: Remove OS dependent string from "target
4988 remote" test.
4989 * gdb.base/help.exp: Same for "help target remote" test.
4990
4991 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4992
4993 From Jim Kingdon <kingdon@redhat.com>:
4994
4995 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4996 prompt (cleanup rather than necessity, but still might keep output
4997 from spilling to next test).
4998
4999 2000-01-02 Fred Fish <fnf@cygnus.com>
5000
5001 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
5002 AIX, which defines them in <sys/types.h>.
5003
5004 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
5005
5006 * gdb.base/default.exp: Match arm* etc instead of arm in "info
5007 float" test.
5008
5009 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
5010
5011 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
5012
5013 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5014 outermost frame disallowed".
5015
5016 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5017
5018 * gdb.base/setvar.exp: New tests for setting the value of a struct
5019 with a constant list.
5020
5021 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5022
5023 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5024 require the user to type a cast before setting the value of a struct.
5025
5026 1999-12-06 Jim Blandy <jimb@cygnus.com>
5027
5028 * gdb.base/default.exp: Expect the new 'info float' command on
5029 all i386 platforms.
5030
5031 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5032 LinuxThreads libraries that don't support debugging.
5033
5034 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5035
5036 * gdb.base/remote.c: Fill the buffer with truely random data.
5037 Change the buffer type to ``unsigned char'' to simplify size
5038 arithmetic.
5039
5040 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5041 stub only handles 400-1 byte packets. Verify that the download
5042 worked.
5043
5044 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
5045
5046 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5047 tests, using UNRESOLVED for the untested cases. Also, does not wait
5048 for a timeout if the prompt was received before a recognizable pattern.
5049
5050 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
5051
5052 * lib/gdb.exp (gdb_expect_list): Fix spelling.
5053
5054 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5055
5056 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5057 watchpoints.
5058
5059 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
5060
5061 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5062
5063 * gdb.c++/local.exp: Be more flexible in recognizing local class
5064 name mangling. Don't allow horribly truncated method names.
5065 * gdb.c++/derivation.exp: Expect protected inheritance.
5066 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5067 * gdb.c++/virtfunc.exp: Likewise.
5068 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5069 when printing a nested enum.
5070
5071 1999-11-22 Jim Blandy <jimb@cygnus.com>
5072
5073 * gdb.base/step-test.exp: Properly await GDB's response to setting
5074 a breakpoint on the call to large_struct_by_value.
5075
5076 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5077 just because we have debug info for the `start' function.
5078
5079 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5080
5081 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5082 "Unknown signal" messages, which indicate (on LinuxThreads) that
5083 GDB doesn't know how to debug threads on this system. This is
5084 better than hanging while philosopher 0 dumps chatter into gdb.log.
5085
5086 1999-11-18 Tom Tromey <tromey@cygnus.com>
5087
5088 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5089
5090 1999-11-18 Fred Fish <fnf@cygnus.com>
5091
5092 * gdb.base/coremaker2.c: Add sample program for generating
5093 cores that is more self contained than coremaker.c. Eventually
5094 I'll add more code to this and tie it into the testsuite.
5095
5096 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5097
5098 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5099
5100 1999-11-10 Jimmy Guo <guo@cup.hp.com>
5101
5102 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5103 from $srcdir/lib/.
5104 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5105 and gdb.c++/.
5106
5107 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5108
5109 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
5110 'continue with watch' test point.
5111
5112 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5113
5114 Merged from p2linux-990323-branch:
5115
5116 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5117
5118 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5119
5120 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5121 {limit,fixed}''. Test ``set download-write-size''.
5122
5123 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5124
5125 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5126 gdb_expect_list.
5127
5128 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5129
5130 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5131
5132 1999-11-03 Mark Salter <msalter@cygnus.com>
5133
5134 * gdb.base/break.exp: Fix "stub continue" pattern.
5135
5136 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5137
5138 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5139
5140 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5141
5142 * gdb.base/display.exp ("finish"): Add timeout clause.
5143
5144 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5145 plain prompt clause, so this doesn't have to time out in order to
5146 fail.
5147
5148 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5149 breakpoint hit messages include an address.
5150
5151 * gdb.base/display.exp: Don't forget to escape parens in regular
5152 expressions. Unix regexp notatation sucks.
5153
5154 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5155
5156 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5157 order for 'signalled' message.
5158
5159 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5160
5161 From Jimmy Guo <guo@cup.hp.com>:
5162 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5163 * gdb.base/annota1.c: Add code for tests to work with.
5164
5165 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5166
5167 * gdb.base/remote.exp: New test for remote downloading settings.
5168 * gdb.base/remote.c: New file with large .data.
5169
5170 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5171
5172 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5173 for LinuxThreads support, merged from the Code Fusion branch.
5174
5175 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5176
5177 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5178 containing exp_continue into a while within an expect. Don't
5179 attempt a start more than three times. Check return value from
5180 gdb_load.
5181
5182 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5183
5184 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5185 a pass case.
5186
5187 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
5188
5189 * gdb.base/break.c (main): Added a statement that we can step
5190 off of.
5191 * gdb.base/break.exp: Added tests for setting a breakpoint
5192 at an offset and stepping onto a breakpoint.
5193
5194 1999-10-01 Fred Fish <fnf@cygnus.com>
5195
5196 * gdb.base/help.exp (help add-symbol-file): Update to match current
5197 gdb output.
5198
5199 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5200
5201 * gdb.base/break.exp: Code locations are in hex, don't forget!
5202 (For HP-UX.)
5203
5204 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5205
5206 * condbreak.exp: Use break.c as test program.
5207 * condbreak.c: Remove, redundant with break.c.
5208
5209 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5210
5211 * config/monitor.exp (gdb_target_monitor): Disable X- and
5212 Z-packets if the target needs it.
5213
5214 1999-09-13 James Ingham <jingham@leda.cygnus.com>
5215
5216 * gdb.c++/overload.exp: Added tests for listing overloaded
5217 functions with function pointers in the arg, explicitly calling
5218 out the version you want.
5219
5220 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5221
5222 * long_long.exp: Add variations of test cases that work for
5223 targets with 16-bit ints and 32-bit doubles.
5224
5225 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5226
5227 * break.c (main): Compare a possibly-uninitialized argc with an
5228 unlikely value that fits in 16 bits.
5229
5230 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5231
5232 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5233 0xfeeb, don't want negative numbers if ints are 16 bits.
5234
5235 * lib/gdb.exp (skip_cplus_tests): New proc.
5236 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5237 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5238 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5239 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5240 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5241 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5242 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5243 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5244
5245 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5246
5247 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5248
5249 * gdb.base/corefile.exp (up): Allow a parameter to appear
5250 in the frame that we're going up to.
5251
5252 From Jim Blandy <jimb@cygnus.com>:
5253
5254 * gdb.base/default.exp (info float): Expect some output now.
5255
5256 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5257 returning floating-point values to fail on the x86.
5258 * gdb.base/callfwmall.exp (do_function_calls): Same.
5259
5260 * gdb.base/list.exp (test_listsize): Correct expectations for
5261 listing line 1 with listsize 2. Also, listing a single line
5262 works now, as does listing three lines. [Kevin's note: There
5263 were a number of other cases fixed too where the expectations
5264 differed...]
5265
5266 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5267
5268 * gdb.base/selftest.exp: Add case for when version prints as
5269 constant string instead of char pointer.
5270
5271 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5272
5273 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5274 stepping out of main.
5275
5276 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5277 G++ used.
5278
5279 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5280 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5281
5282 * gdb.c++/ovldbreak.exp: Update match string in test that
5283 includes a warning of multiple breakpoints.
5284
5285 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5286
5287 * gdb.base/display.exp: Improve precision of step-after-finish
5288 added yesterday.
5289
5290 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5291 test.
5292
5293 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5294 configs when using G++, not just hppa*.
5295
5296 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5297
5298 * gdb.base/async.c: New file.
5299 * gdb.base/async.exp: New file.
5300
5301 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5302
5303 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5304 PA64.
5305
5306 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5307
5308 * gdb.base/display.exp: "finish" can leave us mid-line on many
5309 targets, deal with it. Add a small constant to main, instead of
5310 1000 since main+1000 may not be a valid address in the target.
5311
5312 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5313 on hpux11.
5314
5315 * gdb.base/attach.exp: Handle another hpux11 error message variant
5316 when attaching to a process that does not exist.
5317
5318 1999-08-19 J.T. Conklin <jtc@redback.com>
5319
5320 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5321 characters in 'continue to 1241' test.
5322
5323 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5324
5325 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5326 stop in print_long_arg_list, define and use a whitespace
5327 variable in print_small_structs test, add an XFAIL for Solaris.
5328 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5329 interested enough to fix.
5330
5331 1999-08-13 Keith Seitz <keiths@cygnus.com>
5332
5333 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5334 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5335 proc knows about targets other than the natives.
5336 (test_assign): Use "gdb_run_cmd" to "run" the target.
5337 Check that we've actually hit the breakpoint at main.
5338 When we attempt to assign a value to a local variable, check
5339 that the variable is in the current scope, i.e., don't use
5340 a test with an empty result.
5341
5342 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5343
5344 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5345 command.
5346
5347 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5348
5349 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5350 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5351 gdb.compat, gdb.threads-hp.
5352 gdb.hp/configure, gdb.hp/configure.in: New files.
5353 gdb.hp/Makefile.in: Recurse into new subdirs.
5354 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5355 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5356 in object files.
5357 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5358
5359 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5360
5361 * gdb.base/display.exp: Help expect by putting a newline in the
5362 funky printf, remove a bogus p/a test.
5363
5364 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5365
5366 * gdb.base/display.exp: Make sure that when we say 'run', we are
5367 connected to the target. This is necessary when running not
5368 natively.
5369
5370 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5371
5372 * gdb.base/step-test.exp: Removed some extraneous messages.
5373
5374 * gdb.base/long_long.exp: Don't run memory examination tests
5375 on little-endian targets (they will need a different set of
5376 results to match).
5377
5378 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5379
5380 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5381 until somebody decides to fix GDB.
5382
5383 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5384 constant as "ULL".
5385 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5386 matches for a couple x/2 commands.
5387
5388 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5389
5390 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5391 by merging in ref-types2 tests.
5392 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5393
5394 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5395 * gdb.c++/Makefile.in: Add standard actions.
5396 (EXECUTABLES): Rename from PROGS, update list.
5397 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5398 from gdb.hp.
5399 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5400 foo and bar locals.
5401 * gdb.c++/anon-union.exp: Fix tests to match.
5402 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5403 expect matches to handle output variations.
5404 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5405 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5406 output, add HP alternatives for new and delete prints.
5407 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5408 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5409 * gdb.c++/demangle.exp: Use $style when reporting failure.
5410 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5411 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5412 match alternatives.
5413 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5414 compilers.
5415 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5416 * gdb.c++/method.exp: Add match alternatives.
5417 * gdb.c++/misc.cc: Add bool types.
5418 * gdb.c++/misc.exp: Add tests for bool types.
5419 * gdb.c++/overload.exp: Add xfails.
5420 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5421 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5422 add some more template parameter tests (only for HP currently).
5423 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5424 * gdb.c++/virtfunc.cc: Add return type and value for main.
5425 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5426 match alternatives.
5427
5428 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5429
5430 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5431
5432 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5433
5434 * gdb.base/signals.exp: Don't expect getting a backtrace from
5435 within a signal handler to fail on Linux.
5436
5437 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5438
5439 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5440 * lib/gdb.exp: Remove some gratuitious semicolons.
5441 (delete_breakpoints): Increase timeout.
5442 (gdb_expect): Add -notransfer option.
5443 (gdb_test): Use -notransfer option.
5444 (get_compiler_info): Add f77 case.
5445 (get_compiler): New proc, split out from gdb_preprocess, add f77
5446 case.
5447 (gdb_preprocess): Call get_compiler.
5448
5449 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5450 * gdb.base/attach.exp, gdb.base/display.exp,
5451 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5452 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5453 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5454 third arg to gdb_test.
5455 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5456 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5457 HP-UX xfails, add others.
5458 * gdb.base/completion.exp: Reflect name change of self-test.
5459 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5460 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5461 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5462 HP failure number.
5463 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5464 useless HP-UX 10.30 references.
5465 * gdb.base/maint.exp: Loosen matches.
5466 * gdb.base/pointers.c (main): Declare more_code.
5467 * gdb.base/pointers.exp: Match on output of a `next'.
5468 * gdb.base/structs.c: Add prototypes.
5469 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5470 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5471
5472 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5473
5474 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5475 command.
5476
5477 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5478
5479 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5480 Fix run to main failures. Watchpoint can be hardware watchpoint.
5481
5482 * gdb.base/annota1.exp: Clean up some more, in case printf has
5483 debug info. Deal with lack of signal hanlder info in stack.
5484
5485 From Jim Kingdon <kingdon@redhat.com>:
5486 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5487
5488 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5489
5490 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5491 gdb.base/foll-vfork.exp: Don't run for crosses.
5492
5493 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5494
5495 * gdb.base/configure.in: Check for gdbvars.exp instead of
5496 a1-selftest.exp.
5497 * gdb.base/configure: Re-generate.
5498
5499 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5500
5501 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5502 in trying to run first and name is too long.
5503
5504 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5505 pointers2.c and pointers2.exp, respectively.
5506 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5507 doschk happier.
5508
5509 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5510
5511 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5512 callfuncs2.c and callfuncs2.exp.
5513
5514 * gdb.base/list.exp: Remove mistaken xfails.
5515 * gdb.base/list0.h: Add optional prototypes.
5516
5517 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5518
5519 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5520 calling malloc.
5521 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5522 * ptype.exp: Move test for get_debug_format to before its first
5523 use.
5524
5525 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5526
5527 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5528 * gdb.base/annota2.cc, annota2.exp: Move from here.
5529 * gdb.c++/annota2.cc, annota2.exp: To here.
5530 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5531
5532 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5533
5534 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5535 a consistent format.
5536
5537 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5538
5539 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5540 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5541 HP compilers, also set the globals $true and $false.
5542
5543 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5544 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5545 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5546 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5547 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5548 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5549 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5550 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5551 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5552 whatis.c} Add C++ compatible function definitions and return
5553 types, add includes for library functions.
5554 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5555 * gdb.base/step-test.c (myglob): Rename from glob.
5556 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5557 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5558 files, move here from gdb.hp.
5559 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5560 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5561 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5562 Adjust line numbers in regexps.
5563
5564 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5565 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5566 instead of 0/1.
5567
5568 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5569 foll-vfork.exp: New files, move here from gdb.hp.
5570 * gdb.base/page.exp: New file, test of pagination command.
5571
5572 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5573 recursion test.
5574 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5575
5576 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5577 gdb.base/solib.exp: Fix compiler invocation process.
5578
5579 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5580 HP-UX 11, turn off overload resolution explicitly.
5581 * gdb.base/commands.exp: Set argument list explicitly, add
5582 watchpoint test.
5583 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5584 them work.
5585 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5586 expressions properly.
5587 * gdb.base/corefile.exp: Loosen the match slightly.
5588 * gdb.base/default.exp: Allow "Error accessing memory" message
5589 also.
5590 * gdb.base/display.exp: Skip over x/0 j if PA64.
5591 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5592 * gdb.base/interrupt.exp: Ditto.
5593 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5594 in use.
5595 * gdb.base/list.exp: Add xfails for HP-UX.
5596 * gdb.base/long_long.exp: Refine some of the numeric matches.
5597 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5598 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5599 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5600 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5601 * gdb.base/ptype.exp: Succeed on more varieties of output.
5602 * gdb.base/scope.exp: Add xfails for HP-UX.
5603 * gdb.base/sect-cmd.exp: Add more cases.
5604 * gdb.base/setvar.exp: Add xfails for HP-UX.
5605 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5606 * gdb.base/signals.exp: Match on void symbolically.
5607 * gdb.base/step-test.exp: Add case for PA64.
5608 * gdb.base/term.exp: Add exit and restart.
5609 * gdb.base/twice.exp: Clean up after self.
5610 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5611 * gdb.base/whatis.exp: Allow more ways to pass tests.
5612
5613 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5614 no longer useful.
5615
5616 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5617
5618 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5619 list of patterns.
5620 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5621 print_double_array(double_array)", "continuing to breakpoint
5622 1018", "print print_double_array(array_d)" and "continuing to
5623 1034" tests.
5624
5625 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5626
5627 * Makefile.in: Add empty html and install-html targets.
5628
5629 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5630
5631 * config/mt-*: Remove, these haven't been used since 1996.
5632
5633 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5634
5635 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5636 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5637 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5638
5639 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5640
5641 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5642 simpler match case for the ptype of the big class.
5643
5644 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5645
5646 * gdb.exp: Fix test for gdb_prompt existence.
5647
5648 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5649
5650 * gdb.exp (gdb_test): Add fail after calls to perror.
5651
5652 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5653
5654 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5655
5656 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5657
5658 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5659
5660 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5661
5662 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5663 malloc() is linked in.
5664
5665 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5666
5667 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5668 step at end.
5669
5670 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5671
5672 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5673
5674 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5675
5676 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5677
5678 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5679 * gdb.base/mips_pro.exp: Likewise.
5680
5681 1999-06-02 Keith Seitz <keiths@cygnus.com>
5682
5683 * gdb.c++/templates.cc: Change all "new" operators to throw
5684 an exception.
5685 * gdb.c++/cplusfuncs.cc: Likewise.
5686
5687 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5688
5689 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5690
5691 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5692 * gdb.base/ending-run.exp: When stepping out of main, accept a
5693 step into an arbitrary assembler file.
5694
5695 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5696
5697 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
5698 "breakpoint-invalid" to be printed.
5699 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
5700 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5701 * gdb.base/annota2.cc: Initialize a.x to 0.
5702
5703 1999-05-17 Keith Seitz <keiths@cygnus.com>
5704
5705 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5706 when "skip_float_tests" set.
5707 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5708 "print print_ten_doubles", and "step into print_long_arg_list".
5709 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5710 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5711 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5712 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5713 "skip_float_tests" is set.
5714 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5715 when "skip_float_tests" set.
5716
5717 1999-05-06 Keith Seitz <keiths@cygnus.com>
5718
5719 * gdb.base/annota2.cc: Include stdio.h.
5720
5721 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5722
5723 * gdb.base/crossload.exp: Remove, this has been disabled ever
5724 since BFD stopped including all targets, and cross-GDB gets
5725 plenty of testing anyway.
5726 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5727 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5728 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5729 * gdb.base/README: Remove, was doc for this.
5730 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5731 needed.
5732
5733 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5734
5735 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5736 output.
5737
5738 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5739 * gdb.base/annota2.exp: New file. More annotation tests.
5740 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5741 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5742
5743 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
5744
5745 * config/cfdbug.exp: New file.
5746
5747 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5748
5749 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5750 Marcus Daniel's and Dale Hawkins's demangler crashes.
5751
5752 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5753 test_lucid_style_demangling, test_arm_style_demangling,
5754 test_hp_style_demangling): Try Tom Tromey's core-dumping
5755 identifier under each demangling style.
5756
5757 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5758
5759 * gdb.c++/demangle.exp: Include the current demangling style
5760 in all test names.
5761 (current_demangling_style): New global variable.
5762 (set_demangling_style, test_demangling_core, test_demangling,
5763 test_demangling_exact): New functions.
5764 (test_gnu_style_demangling, test_lucid_style_demangling,
5765 test_arm_style_demangling, test_hp_style_demangling): Use those,
5766 instead of calling gdb_test and gdb_test_exact directly.
5767 (catch_demangling_errors): New function, which reports errors
5768 signalled by the demangling test functions in an orderly way.
5769 (do_tests): Use catch_demangling_errors.
5770
5771 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5772
5773 * gdb.base/signals.exp (test_handle_all_print): Use () for
5774 grouping in expressions, not {}.
5775
5776 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5777 initialized yet.
5778
5779 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5780
5781 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5782 are listed.
5783
5784 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5785
5786 * gdb.stabs/weird.exp: Test for CC being defined before
5787 looking at its value.
5788
5789 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5790
5791 * gdb.base/call-ar-st.exp: Remove stray '#'.
5792 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5793 "short int" and "long int".
5794 * gdb.c++/overload.cc: Cast the string added in the previous
5795 change, to mollify finicky HP compiler.
5796 * gdb.hp/reg-test.exp (testfile): Fix file name.
5797 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
5798
5799 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5800 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5801 alternate form of enum ptype.
5802
5803 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5804
5805 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5806 * gdb.hp/*.exp: Change all to run compiler probe only after
5807 passing skip_hp_tests, so as not to waste time on guaranteed
5808 failure.
5809
5810 * gdb.c++/overload.cc: Pass string instead of char addr, always
5811 init ccpfoo.
5812 * gdb.c++/templates.cc: Fix syntax error.
5813
5814 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5815
5816 * gdb.base/commands.exp: Add test for correct position of '>'
5817 when issuing the 'commands' command after a 'while' or 'if'
5818 command.
5819
5820 1999-03-18 James Ingham <jingham@cygnus.com>
5821
5822 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5823
5824 * gdb.c++/method.exp: It was testing an uninitialized int on the
5825 stack and assuming it was positive.
5826
5827 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5828
5829 * gdb.base/step-test.exp: Catch a case where finish is broken and
5830 keep it from killing the rest of the tests.
5831 Use gdb_continue_to_end.
5832
5833 * gdb.base/sigall.exp: use gdb_continue_to_end.
5834
5835 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5836
5837 * gdb.base/display.exp: use runto_main, not run.
5838
5839 * gdb.base/default.exp: Check for the current error message in the
5840 r abbreviation test.
5841 Add strongarm to the targets that know info float.
5842
5843 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
5844 run which doesn't work with monitors.
5845
5846 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5847
5848 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5849
5850 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
5851 program. Traps the case (in Cygmon) when the program never really
5852 exits. Same as Mark's continue_to_exit, but I had put it in a lot
5853 more places, so I used my name. Sorry Mark...
5854
5855 * config/monitor.exp (gdb_target_monitor): added another
5856 target_info parameter: remotebinarydownload. This will set the
5857 remotebinarydownload flag if this is causing some boards trouble.
5858
5859 1999-03-18 Mark Salter <msalter@cygnus.com>
5860
5861 * lib/gdb.exp (continue_to_exit): New function.
5862
5863 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5864 * gdb.base/ending-run.exp: Ditto.
5865 * gdb.base/step-test.exp: Ditto.
5866
5867 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5868
5869 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5870 (suggested by Art Haas <ahaas@neosoft.com>).
5871
5872 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5873
5874 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5875
5876 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5877
5878 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5879 descriptions of types (short unsigned int vs unsigned short, etc).
5880
5881 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5882
5883 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5884 a call to strlen; sometimes we do have sources.
5885
5886 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5887
5888 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5889 character, so GDB won't print garbage after its end.
5890
5891 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5892 breakpoint there instead. Sometimes GCC emits memcpy to handle
5893 the large structures being passed by value, so we step into that
5894 instead of sum_array_print, which obscures what we're really testing.
5895 * gdb.base/step-test.exp: However, we do want a test that notices
5896 the bizarre steps into memcpy, so do that here. Add check for
5897 stepping into function calls that pass large structures by value.
5898 ("Is that a noun clause, or are you just happy to see me?")
5899 Remove all references to specific line numbers.
5900 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5901 New type and function.
5902 (main): Call large_struct_by_value, passing it a large struct by value.
5903 * lib/gdb.exp (gdb_get_line_number): New function.
5904
5905 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5906 more portable.
5907
5908 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5909
5910 * lib/gdb.exp: Doc fixes.
5911
5912 1999-03-05 Nick Clifton <nickc@cygnus.com>
5913
5914 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
5915
5916 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5917
5918 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5919 commands. They're not germane to this test, and they don't work
5920 that way on remote targets.
5921
5922 1999-03-01 James Ingham <jingham@cygnus.com>
5923
5924 * Changelog entries merged over from gdb development branch.
5925
5926 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5927
5928 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5929 for outputting results of test run.
5930
5931 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
5932
5933 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
5934
5935 1999-02-25 Felix Lee <flee@cygnus.com>
5936
5937 * lib/gdb.exp (debug_format): initialize
5938
5939 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5940
5941 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5942 * gdb.base/call-rt-st.c: Ditto.
5943
5944 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5945
5946 * gdb.threads/pthreads.exp (horiz): New variable.
5947 (test_startup): Fix regexps that capture thread numbers.
5948
5949 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5950
5951 * gdb.base/smoke.exp: Disambiguate two test case names (both
5952 called ``print'').
5953
5954 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5955
5956 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5957 compilation.
5958
5959 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5960
5961 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5962 actual output formatting.
5963 * gdb.base/smoke.exp: GDB removes leading 0's.
5964 * gdb.base/volatile.exp: Don't check type of remuneration;
5965 that variable is no longer defined in constvars.c.
5966 * gdb.base/step-test.c (main): Exit with explicit exit code.
5967 * gdb.base/step-test.exp: Remove two nexti checks--they are
5968 not portable.
5969
5970 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5971
5972 * gdb.base/help.exp ("help delete display"): Fix test to match
5973 gdb's output.
5974
5975 * gdb.base/long_long.c (known_types): Initialize values to zero.
5976 * gdb.base/long_long.exp: Step one more line
5977 so 'dec' is initialized in "get to known place". GDB removes
5978 leading zeros. Explicitly ask for hex formatting. Use
5979 unique test case names.
5980
5981 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5982
5983 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
5984
5985 * gdb.c++/method.exp: Add missing close brace.
5986
5987 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5988
5989 * gdb.base/maint.exp: Use 'set height 0' to disable page
5990 prompting, not 'set height 400'.
5991
5992 Fix a bunch of timeouts.
5993 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5994 four separate tests, so expect doesn't take forever to match a ton
5995 of text against a regexp with lots of .* forms.
5996 ("maint print psymbols", "maint print symbols"): Make some of
5997 these greps more selective, so that expect doesn't try to wade
5998 through huge piles of output and time out.
5999
6000 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
6001
6002 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
6003 tests: one which doesn't expect shlib events to be reported, and
6004 another which does, but is XFAIL for all platforms other than
6005 HP/UX.
6006
6007 * gdb.base/break.exp: Teach the test suite that the `catch
6008 fork', `catch vfork', and `catch exec' commands produce error
6009 messages on platforms that don't provide these features.
6010
6011 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6012
6013 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6014 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6015 (shortening names from solib_threshold.exp etc), won't run on
6016 anything but HP-UX for the foreseeable future.
6017 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6018 reflect move.
6019
6020 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6021
6022 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6023 gdb.trace/Makefile.in (clean): Remove all test executables.
6024
6025 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6026
6027 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6028 successfully re-sets breakpoints in shared libraries.
6029 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6030
6031 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6032
6033 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6034 and compiled w/o GCC.
6035
6036 * gdb.hp/watch-cmd.exp: ditto.
6037
6038 * gdb.hp/watch-hp.exp: ditto.
6039
6040 * gdb.hp/xdb1.exp: ditto.
6041
6042 * gdb.hp/xdb2.exp: ditto.
6043
6044 * gdb.hp/dbx.exp: ditto.
6045
6046 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
6047
6048 * constvars.c: Remove C++-isms.
6049 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6050 with GCC.
6051
6052 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
6053
6054 The following changes are part of the HP merge.
6055
6056 * gdb.base/break.exp: new tests to verify that catchpoints for
6057 fork, vfork, and exec don't trigger inappropriately.
6058
6059 * gdb.base/opaque.exp: compile one file at a time, then link.
6060
6061 * gdb.base/signals.exp: be more restrictive about which hppa
6062 systems receive a setup_xfail. new tests.
6063
6064 * gdb.base/solib_threshold.build: new file.
6065 * gdb.base/solib_threshold.exp: new file.
6066 * gdb.base/solib_threshold.link_opts: new file.
6067 * gdb.base/solib_threshold.mk: new file.
6068 * gdb.base/gen_solib_threshold.c: new file.
6069
6070 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6071 tests. New tests for enums inside classes.
6072
6073 * gdb.c++/compiler.cc: indicate support of template debugging.
6074
6075 * gdb.c++/demangle.exp: run hp style demangling tests.
6076
6077 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6078 tests.
6079
6080 * gdb.c++/misc.cc: changes to support new tests.
6081
6082 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6083 to support new tests.
6084
6085 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6086 gcc, then skip these tests.
6087
6088 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6089
6090 The following files are part of the HP merge; some had longer
6091 names at HP, but have been renamed to be no more than 14
6092 characters in length.
6093
6094 * gdb.hp/ambiguous.cc: new file.
6095 * gdb.hp/ambiguous.exp: new file.
6096 * gdb.hp/attach.exp: new file.
6097 * gdb.hp/attach2.exp: new file.
6098 * gdb.hp/classes-hp.exp: new file.
6099 * gdb.hp/ctti.exp: new file.
6100 * gdb.hp/ctti-add.cc: new file.
6101 * gdb.hp/ctti-add1.cc: new file.
6102 * gdb.hp/ctti-add2.cc: new file.
6103 * gdb.hp/ctti-add3.cc: new file.
6104 * gdb.hp/dbx.exp: new file.
6105 * gdb.hp/exception.cc: new file.
6106 * gdb.hp/exception.exp: new file.
6107 * gdb.hp/foll-exec.c: new file.
6108 * gdb.hp/foll-exec.exp: new file.
6109 * gdb.hp/foll-fork.c: new file.
6110 * gdb.hp/foll-fork.exp: new file.
6111 * gdb.hp/foll-vfork.c: new file.
6112 * gdb.hp/foll-vfork.exp: new file.
6113 * gdb.hp/inherit-hp.exp: new file.
6114 * gdb.hp/more-steps.exp: new file.
6115 * gdb.hp/namespace.cc: new file.
6116 * gdb.hp/namespace.exp: new file.
6117 * gdb.hp/optimize.exp: new file.
6118 * gdb.hp/pxdb.c: new file.
6119 * gdb.hp/pxdb.exp: new file.
6120 * gdb.hp/quicksort.exp: new file.
6121 * gdb.hp/reg-test.exp: new file.
6122 * gdb.hp/reg-test.s: new file.
6123 * gdb.hp/sized-enum.c: new file.
6124 * gdb.hp/sized-enum.exp: new file.
6125 * gdb.hp/start-stop.exp: new file.
6126 * gdb.hp/templ-hp.cc: new file.
6127 * gdb.hp/templ-hp.exp: new file.
6128 * gdb.hp/thr-lib.c: new file.
6129 * gdb.hp/thr-lib.exp: new file.
6130 * gdb.hp/thr-lib.h: new file.
6131 * gdb.hp/thr-liblib.c: new file.
6132 * gdb.hp/virtfun-hp.c: new file.
6133 * gdb.hp/virtfun-hp.exp: new file.
6134 * gdb.hp/watch-cmd.exp: new file.
6135 * gdb.hp/watch-hp.exp: new file.
6136 * gdb.hp/xdb1.exp: new file.
6137 * gdb.hp/xdb2.exp: new file.
6138 * gdb.hp/xdb3.exp: new file.
6139
6140 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6141
6142 The following files are part of the HP merge; some had longer
6143 names at HP, but have been renamed to be no more than 14
6144 characters in length.
6145
6146 * gdb.base/ss.h: new file.
6147 * gdb.base/call-ar-st.c: new file.
6148 * gdb.base/call-ar-st.exp: new file.
6149 * gdb.base/call-rt-st.c: new file.
6150 * gdb.base/call-rt-st-exp: new file.
6151 * gdb.base/call-strs.exp: new file.
6152 * gdb.base/ena-dis-br.exp: new file.
6153 * gdb.base/environ.exp: new file.
6154 * gdb.base/long_long.exp: new file.
6155 * gdb.base/sect-cmd.exp: new file.
6156 * gdb.base/shlib-cl2.exp: new file.
6157 * gdb.base/smoke.exp: new file.
6158 * gdb.base/so-impl-ld.c: new file.
6159 * gdb.base/so-impl-ld.exp: new file.
6160 * gdb.base/so-indr-cl.c: new file.
6161 * gdb.base/so-indr-cl.exp: new file.
6162 * gdb.base/varargs.exp: new file.
6163 * gdb.base/volatile.exp: new file.
6164 * gdb.base/whatis-exp.exp: new file.
6165 * gdb.base/display.exp: new file.
6166 * gdb.c++/derivation.exp: new file.
6167 * gdb.c++/local.exp: new file.
6168 * gdb.c++/member-ptr.exp: new file.
6169 * gdb.c++/overload.exp: new file.
6170 * gdb.c++/ovldbreak.exp: new file.
6171 * gdb.c++/ref-types.exp: new file.
6172 * gdb.c++/ref-types2.exp: new file.
6173 * gdb.c++/userdef.exp: new file.
6174
6175 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6176
6177 * gdb.base/default.exp: Reflect wording change in remote.c.
6178
6179 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
6180
6181 * gdb.base/help.exp: Update to reflect current text.
6182
6183 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6184
6185 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6186 they're stack variables and contain garbage.
6187 * gdb.c++/anon-union.exp: new file.
6188
6189 The following changes were made by David Taylor
6190 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6191 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6192 in changes by HP.
6193
6194 * gdb.base/bitops.exp: new file.
6195 * gdb.base/default.exp: change expected messages for catch and
6196 info catch tests to reflect HP merge changes.
6197 * gdb.base/enable-disable-break.exp
6198 * gdb.base/ending-run.c: new file.
6199 * gdb.base/long_long.c: new file.
6200 * gdb.base/maint.exp: new file.
6201 * gdb.base/pointers2.exp: new file.
6202 * gdb.base/shlib-call2.exp: new file.
6203 * gdb.base/solib.exp: new file.
6204 * gdb.base/step-test.c: new file.
6205 * gdb.c++/anon-union.cc: new file.
6206 * gdb.c++/local.cc: new file.
6207 * gdb.c++/member-pointer.cc: new file.
6208 * gdb.c++/method.cc: new file.
6209 * gdb.c++/ref-types.cc: new file.
6210 * gdb.c++/ref-types2.cc: new file.
6211 * gdb.c++/userdef.cc: new file.
6212
6213 * gdb.base/scope.exp: compile one file at a time, then link.
6214 * gdb.base/langs.exp: ditto.
6215 * gdb.base/list.exp: ditto.
6216
6217 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6218
6219 The following changes were made by David Taylor
6220 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6221 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6222 in changes by HP.
6223
6224 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6225 skip tests. When compiling pass c++ flag to gdb_compile.
6226 * gdb.c++/
6227
6228 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6229 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6230 (skip_hp_tests): new function.
6231 (gdb_preprocess): new function.
6232
6233 * configure.in (hpdir): decide whether to configure gdb.hp.
6234 * configure: regenerated.
6235
6236 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6237 to delete on clean.
6238 (EXECUTABLES): update to reflect new additions.
6239 * gdb.base/commands.exp: update message expected.
6240 * gdb.base/default.exp: add copyright notice.
6241 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6242 * gdb.base/help.exp: update messages to reflect current text.
6243 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6244 targets for recurse tests.
6245 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6246 skip this file.
6247
6248 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6249 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6250 compilation.
6251 * gdb.c++/misc.exp: ditto.
6252 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6253 run the tests. tell gdb_compile that it's a c++ compilation.
6254
6255 * gdb.threads/pthreads.exp: fix typo in message.
6256
6257 * gdb.base/all-bin.exp: new file.
6258 * gdb.base/arithmet.exp: new file.
6259 * gdb.base/assign.exp: new file.
6260 * gdb.base/completion.exp: new file.
6261 * gdb.base/cond-expr.exp: new file.
6262 * gdb.base/condbreak.exp: new file.
6263 * gdb.base/define.exp: new file.
6264 * gdb.base/dollar.exp: new file.
6265 * gdb.base/environment.exp: new file.
6266 * gdb.base/eval-skip.exp: new file.
6267 * gdb.base/jump.exp: new file.
6268 * gdb.base/logical.exp: new file.
6269 * gdb.base/pointers.exp: new file.
6270 * gdb.base/relational.exp: new file.
6271 * gdb.base/section_command.exp: new file.
6272 * gdb.base/whatis-expr.exp: new file.
6273
6274 * gdb.base/all-types.c: new file.
6275 * gdb.base/call-array-struct.c: new file.
6276 * gdb.base/call-return-struct.c: new file.
6277 * gdb.base/call-strings.c: new file.
6278 * gdb.base/callfuncs2.c: new file.
6279 * gdb.base/condbreak.c: new file.
6280 * gdb.base/constvars.c: new file.
6281 * gdb.base/display.c: new file.
6282 * gdb.base/int-type.c: new file.
6283 * gdb.base/jump.c: new file.
6284 * gdb.base/miscexprs.c: new file.
6285 * gdb.base/pointers.c: new file.
6286 * gdb.base/pointers2.c: new file.
6287 * gdb.base/shmain.c: new file.
6288 * gdb.base/shr1.c: new file.
6289 * gdb.base/shr2.c: new file.
6290 * gdb.base/solib.c: new file.
6291 * gdb.base/solib1.c: new file.
6292 * gdb.base/solib2.c: new file.
6293 * gdb.base/varargs.c: new file.
6294 * gdb.c++/derivation.cc: new file.
6295 * gdb.c++/overload.cc: new file.
6296 * gdb.c++/ovldbreak.cc: new file.
6297 * gdb.hp/attach.c: new file.
6298 * gdb.hp/attach2.c: new file.
6299 * gdb.hp/average.c: new file.
6300 * gdb.hp/compiler.c: new file.
6301 * gdb.hp/compiler.cc: new file.
6302 * gdb.hp/execd-program.c: new file.
6303 * gdb.hp/follow-exec.c: new file.
6304 * gdb.hp/follow-fork.c: new file.
6305 * gdb.hp/follow-vfork-and-exec.c: new file.
6306 * gdb.hp/misc-hp.cc: new file.
6307 * gdb.hp/more-steps.c: new file.
6308 * gdb.hp/optimize.c: new file.
6309 * gdb.hp/quicksort.c: new file.
6310 * gdb.hp/run-hp.c: new file.
6311 * gdb.hp/start-stop.c: new file.
6312 * gdb.hp/sum.c: new file.
6313 * gdb.hp/templates-hp.cc: new file.
6314 * gdb.hp/thread-local-in-lib.c: new file.
6315 * gdb.hp/thread-local-in-lib.h: new file.
6316 * gdb.hp/thread-local-in-lib.lib.c: new file.
6317 * gdb.hp/vforked-program.c: new file.
6318 * gdb.hp/virtfunc-hp.cc: new file.
6319 * gdb.hp/watchpoint-hp.c: new file.
6320 * gdb.hp/xdb.c: new file.
6321 * gdb.hp/xdb0.c: new file.
6322 * gdb.hp/xdb0.h: new file.
6323 * gdb.hp/xdb1.c: new file.
6324
6325 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6326
6327 The following change was made by Edith Epstein
6328 <eepstein@cygnus.com> as part of a project to merge in changes
6329 originally made by HP; HP did not create ChangeLog entries.
6330
6331 * gdb.c++/demangle.exp: changed the expected output for some
6332 ARM-style mangling -- removed second reference to datatype.
6333 For example, maint demangle __dt__11T1__pt__2_cFv
6334 T1<char>::~T1<char>(void)
6335 becomes,
6336 maint demangle __dt__11T1__pt__2_cFv
6337 T1<char>::~T1(void)
6338
6339 (test_hp_style_demangling): new hp specific demangling test cases.
6340
6341 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6342
6343 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6344 * gdb.trace/backtrace.exp: Likewise.
6345 * gdb.trace/circ.exp: Likewise.
6346 * gdb.trace/collection.exp: Likewise.
6347 * gdb.trace/deltrace.exp: Likewise.
6348 * gdb.trace/infotrace.exp: Likewise.
6349 * gdb.trace/limits.exp: Likewise.
6350 * gdb.trace/packetlen.exp: Likewise.
6351 * gdb.trace/passc-dyn.exp: Likewise.
6352 * gdb.trace/passcount.exp: Likewise.
6353 * gdb.trace/report.exp: Likewise.
6354 * gdb.trace/save-trace.exp: Likewise.
6355 * gdb.trace/tfind.exp: Likewise.
6356 * gdb.trace/tracecmd.exp: Likewise.
6357 * gdb.trace/while-dyn.exp: Likewise.
6358 * gdb.trace/while-stepping.exp: Likewise.
6359
6360 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6361
6362 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6363
6364 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6365
6366 From Brendan Kehoe:
6367 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6368 int return types.
6369
6370 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6371
6372 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6373 remote dos host testing right.
6374
6375 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6376
6377 * gdb.base/corefile.exp: remove some xfails.
6378
6379 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6380
6381 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6382 have different timestamps.
6383
6384 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6385
6386 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6387 gdb.base/default.exp: Replace "exec" with "executable".
6388
6389 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6390
6391 * gdb.base/default.exp: Change else if to elseif from previous
6392 delta.
6393
6394 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6395
6396 * gdb.base/default.exp: Add brace missing from previous delta.
6397
6398 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6399
6400 * gdb.base/default.exp: Support test for info float for all
6401 varieties of arm toolchain.
6402
6403 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
6404
6405 * gdb.trace/*.exp: remove "remote_download" command.
6406
6407 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
6408
6409 * gdb.trace/*.exp: remove -gdwarf from compile.
6410
6411 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6412
6413 * gdb.trace/configure.in(AC_INIT): typo
6414 * gdb.trace/configure: regenerated
6415
6416 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
6417
6418 * config/m68k-emc.exp: New file.
6419 * lib/<emc-support.exp trace-support.exp}: New files.
6420 * configure.in: add new test directory gdb.trace.
6421 * gdb.trace/{configure configure.in Makefile.in}: New files.
6422 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6423 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6424 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6425 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6426 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6427 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6428 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
6429
6430 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
6431
6432 * gdb.c++/classes.exp: Change all regular expressions to match
6433 arbitrary combinations of newline/carriage-return, so that they
6434 will work equally well on Unix and Windows.
6435 * gdb.c++/inherit.exp: ditto.
6436 * gdb.c++/virtfunc.exp: ditto.
6437
6438 1998-08-11 Dawn Perchik <dawn@cygnus.com>
6439
6440 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6441
6442 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6443
6444 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6445 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6446 to use a0-a3/d0-d3 as needed.
6447
6448 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6449
6450 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6451 * gdb.disasm/am33.exp: Corresponding changes.
6452
6453 1998-07-11 Felix Lee <flee@cygnus.com>
6454
6455 * gdb.base/callfuncs.exp: add cmp10 test.
6456 * gdb.base/callfuncs.c (cmp10): new function.
6457
6458 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6459
6460 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
6461 into two parts to get around a synchronization problem in expect.
6462
6463 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6464
6465 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6466
6467 * configure.in: Add options for gdbtk testsuite.
6468
6469 * configure: Regenerate.
6470
6471 * gdb.gdbtk: New directory to hold gdbtk tests.
6472
6473 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6474
6475 * gdb.fortran/types.exp: Escape brackets in expect patterns
6476 for test_float_literal_types_accepted tests.
6477 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6478 before run test.
6479
6480 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6481
6482 * am33.exp: Just compile, do not link the testcase.
6483 * am33.s: Add ".am33" pseudoop to force am33 mode.
6484
6485 1998-06-25 Felix Lee <flee@cygnus.com>
6486
6487 * gdb.base/setshow.exp: make sure $pc is sane.
6488
6489 * gdb.stabs/weird.exp: split expect patterns properly.
6490
6491 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6492
6493 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6494 * gdb.disasm/am33.exp: Run it.
6495
6496 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
6497
6498 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6499 match processing (and eliminate spurious timeouts when running).
6500
6501 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
6502
6503 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6504 exception test, but conditionalize it on target [mach | gnu].
6505
6506 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
6507
6508 * gdb.base/overlays.exp: fixup compile line for linker script.
6509
6510 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6511
6512 * gdb.fortran/types.exp: don't guess at float size.
6513
6514 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6515
6516 * gdb.base/exprs.exp: delete test that depends on int size.
6517
6518 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6519
6520 * config/sim.exp: Removed checks for target triplets.
6521 (gdb_target_sim): Use gdb,target_sim_options.
6522
6523 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6524
6525 * gdb.base/reread.exp: New file.
6526 * gdb.base/reread1.c: New file.
6527 * gdb.base/reread2.c: New file.
6528
6529 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6530
6531 * config/sim.exp: Use 'target sim -sparclite' when running
6532 SPARClite programs.
6533
6534 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6535
6536 * gdb.base/structs2.exp: New file.
6537 * gdb.base/structs2.c: New file.
6538
6539 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6540
6541 * gdb.asm/common.inc: New file.
6542 * gdb.asm/d10v.inc: New file.
6543 * asm-source.exp: Pass -I's to gas to find .inc files.
6544 Update line numbers in expected output.
6545 * asmsrc1.s: Rewrite.
6546 * asmsrc2.s: Rewrite.
6547 * configure.in: Create arch.inc symlink.
6548 * configure: Regenerate.
6549 * Makefile.in (distclean): Delete arch.inc.
6550
6551 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6552
6553 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6554 (t_enum_value2): ditto
6555 (t_enum_value3): ditto
6556 (main): ditto
6557 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6558
6559 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6560 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6561 change.
6562 Use gdb_test instead of send_gdb/gdb_expect sequences.
6563
6564 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6565
6566 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6567 not void.
6568
6569 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6570
6571 * gdb.base/branches.c: Code with lots of loops and
6572 subroutines. Used to test gdbs ability to single step through PC
6573 changes, especially to test mips-tdep.c:mips_next_pc
6574
6575 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6576
6577 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6578 more rigorous EGCS C++ error checking.
6579
6580 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6581
6582 * gdb.base/help.exp: Clean up `help set args' and `help show args'
6583 tests.
6584 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
6585 function when asleep.
6586 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
6587 for i*86 Linux and SVR4 signal handling problems.
6588 Remove linux xfail for `next to handler in signals_tests_1', fixed
6589 by recent infrun.c change.
6590 Limit backtrace to 10 frames to avoid timeout problems with infinite
6591 stack backtraces.
6592 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6593 target.[ch] change.
6594
6595 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6596
6597 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6598 for a newline from gdb before continuing.
6599 (default_gdb_exit): Just look for y or n.
6600 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6601 it does, fail the rests of the tests in the file.
6602
6603 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6604
6605 * config/cygmon.exp: New file.
6606
6607 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6608
6609 * gdb.base/list.exp: Fix problem with "list default lines around
6610 main" test on remote targets.
6611
6612 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6613 run test on remote targets.
6614
6615 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6616
6617 * gdb.asm: New directory.
6618 * configure.in: Configure it.
6619 * configure: Regenerate.
6620 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6621 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6622
6623 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6624
6625 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6626
6627 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
6628
6629 * gdb.base/overlays (several files): Merge the two overlay
6630 managers into one. Change variables (foox, barx, bazx, grbxx)
6631 back into ints but force them to load in their proper sections.
6632
6633 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6634
6635 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6636 on-chip insn memory and IMAP1 to upper 128k.
6637 (D10VCopy): Handle memory regions crossing 16k boundaries.
6638 (D10VCopy): Transfer data in 32 bit chunks.
6639
6640 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6641
6642 * gdb.base/overlays.c (main): Exit normally when result is
6643 correct.
6644
6645 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6646 map. Include space for printf in .text segment.
6647
6648 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6649 updated d10v memory VMA/LMA map.
6650 (D10VCopy): Call D10VTranslate.
6651
6652 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6653
6654 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6655
6656 * gdb.base/bar.c (barx, bar): Change variable to small array so
6657 that it won't be put into the .sdata - small data -
6658 section. Update reference.
6659 * gdb.base/baz.c (bazx, baz): Ditto.
6660 * gdb.base/foo.c (foox, foo): Ditto.
6661 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6662
6663 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6664 to be arrays.
6665
6666 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
6667
6668 * gdb.base/overlays.exp: fix up and get working again.
6669 Add tests for backtraces from an overlay function.
6670
6671 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6672
6673 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6674 "calling function with watchpoint enabled".
6675
6676 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6677
6678 * gdb.base/break.exp (test_next_with_recursion): Remove
6679 gdb_suppress_tests for d10v-*-*.
6680 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6681 pending review of whether it is useful or not.
6682
6683 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6684
6685 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6686
6687 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6688
6689 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6690 * config/dve.exp: New file to support Densan boards.
6691
6692 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6693
6694 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6695 reads and BSD.
6696
6697 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6698
6699 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6700 response.
6701
6702 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6703
6704 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6705
6706 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6707 test.
6708
6709 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6710 target_sizeof_long and target_bigendian_p.
6711 (structs_by_value, structs_by_reference): Check values according
6712 to targets word size and endianess.
6713
6714 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6715
6716 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6717 output.
6718
6719 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6720
6721 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6722 Update test of set args help to match source change.
6723
6724 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6725
6726 * gdb.base/default.exp: Expect help system output to be in
6727 alphabetical order.
6728 * gdb.base/help.exp: Ditto.
6729
6730 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6731
6732 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6733 "i*86-pc-linux-gnu*".
6734 * gdb.base/interrupt.exp: Ditto.
6735 * gdb.base/corefile.exp: Ditto.
6736
6737 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6738 define vxworks when building the testcase.
6739
6740 * gdb.base/ptype.exp: Fix testnames to be unique.
6741 * gdb.base/radix.exp: Ditto.
6742 * gdb.base/term.exp: Ditto.
6743 * gdb.base/whatis.exp: Ditto.
6744 * gdb.c++/classes.exp: Ditto.
6745
6746 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6747
6748 * gdb.base/callfuncs.exp: Fix indentation.
6749
6750 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6751 suppress_flag has been set.
6752 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6753 target feature.
6754
6755 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6756
6757 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6758 the testcase.
6759
6760 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6761 set_debug_traps() and breakpoint().
6762 * gdb.c++/misc.cc (main): Ditto.
6763 * gdb.c++/templates.cc (main): Ditto.
6764 * gdb.c++/virtfunc.cc (main): Ditto.
6765
6766 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6767
6768 * lib/gdb.exp(gdb_step_for_stub): New function.
6769 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6770 exists, reload the executable and do a "continue" instead of
6771 doing a jump.
6772 (runto_main): Use gdb_step_for_stub.
6773
6774 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6775 tests to have unique names.
6776 * gdb.base/callfuncs.exp: Ditto.
6777 * gdb.base/commands.exp: Ditto.
6778 * gdb.base/default.exp: Ditto.
6779 * gdb.base/help.exp: Ditto.
6780 * gdb.base/list.exp: Ditto.
6781 * gdb.base/opaque.exp: Ditto.
6782 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6783 similar tests.
6784
6785 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6786 * gdb.c++/cplusfuncs.cc: Ditto.
6787 * gdb.c++/virtfunc.cc: Ditto.
6788
6789 * config/monitor.exp: Keep track of the last file we saw, rather
6790 than trying to get the info from gdb.
6791
6792 * gdb.fortran/types.exp: Move comment to previous line.
6793
6794 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6795
6796 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6797 target mode.
6798
6799 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6800
6801 From Bob Manson:
6802 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6803 string from GDB when it connects.
6804
6805 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6806
6807 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6808
6809 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6810 if we can't get a debug format from GDB (we may be testing an
6811 older GDB). Use a 10 second timeout when checking for the format.
6812
6813 * gdb.stabs/weird.exp: Fix quoting.
6814
6815 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6816
6817 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6818
6819 * config/arm-ice.exp: New file.
6820
6821 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6822
6823 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6824 until it has been modified to work with the new testsuite.
6825
6826 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
6827 testcase won't compile, cause all of the testcases in the file to
6828 fail instead.
6829
6830 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6831 (gdb_clear_suppressed): New procedure.
6832 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6833 it contains a positive value.
6834
6835 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6836
6837 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6838
6839 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6840
6841 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6842
6843 * lib/gdb.exp (setup_xfail_format): New function.
6844 (get_debug_format): New function to get debug format.
6845 (debug_format): New global variable to hold last value set
6846 by get_debug_format.
6847 * gdb.base/list.exp: Call get_debug_format and expect some
6848 tests to fail for DWARF 1 and COFF formats.
6849 * gdb.c++/ptype.exp: Ditto.
6850 * gdb.c++/classes.exp: Ditto.
6851 * gdb.c++/cplusfuncs.exp: Ditto.
6852 * gdb.c++/inherit.exp: Ditto.
6853 * gdb.c++/templates.exp: Ditto.
6854 * gdb.c++/virtfunc.exp: Ditto.
6855
6856 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6857
6858 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6859 host doesn't have a currently-open connection.
6860
6861 * config/sparclet.exp: Cleanups and fixes to make it generic for
6862 any gdb stub target. Handle cases where gdb doesn't respond when
6863 interrupted in a sane fashion.
6864
6865 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6866 same thing in a totally different way.
6867
6868 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6869 setting "timeout".
6870 (gdb_start): We set the global gdb_prompt variable in
6871 default_gdb_init now.
6872
6873 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6874
6875 * gdb.base/printcmds.exp: Fix "check for floating addition"
6876 regexp to accept results within approx +/- .01 of exact value.
6877 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6878
6879 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6880
6881 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6882 properly.
6883 (gdb_expect): Add optional timeout parameter, and add timeout
6884 value to various calls.
6885 (gdb_suppress_tests): Only give one warning message per group.
6886
6887 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6888
6889 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6890 global variables. Handle getting a value for $timeout more
6891 gracefully.
6892
6893 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6894
6895 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6896 initialize.
6897 (default_gdb_init): New procedure; allow gdb_init to be overridden
6898 by a target configuration file.
6899 (gdb_expect): Pass the timeout to remote_expect.
6900
6901 * config/monitor.exp(gdb_load): Fix typo in regexp.
6902
6903 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6904
6905 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6906
6907 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6908
6909 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6910 here. Call gdb_target_exec before rebooting the target, to make
6911 sure the connection to the target is closed.
6912 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6913 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6914 Also detect "Timeout reading from remote" error.
6915
6916 * config/gdbserver.exp: Pass the executable being loaded to
6917 gdb_target_monitor. Don't call gdb_file_cmd here; let
6918 gdb_target_monitor do it.
6919
6920 * gdb.disasm/hppa.exp: Don't use exec_output.
6921
6922 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6923
6924 * gdb.base/list.exp: If we're debugging a non-native target,
6925 try to set the pc register to point to the start of the
6926 program before doing the first list command.
6927
6928 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6929 test_calls after restarting.
6930
6931 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6932 reloading.
6933
6934 * gdb.base/watchpoint.exp: Fix typo.
6935
6936 * gdb.base/setshow.exp: Check for use_gdb_stub.
6937
6938 * gdb.base/break.exp: Fix continue until exit test for the gdb
6939 stub case.
6940 * gdb.base/langs.exp: Ditto.
6941
6942 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6943 gdb_load_offset. If we weren't given a file to load, figure out
6944 what the current file is and use it.
6945
6946 * config/i386-bozo.exp: New file.
6947
6948 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6949
6950 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6951 feature.
6952
6953 * config/proelf.exp: New entry.
6954
6955 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6956
6957 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6958 of regexps.
6959
6960 * gdb.base/watchpoint.exp: Don't run the test_stepping
6961 tests if gdb can't call functions on the target.
6962
6963 * gdb.base/setshow.exp: Don't run the set prompt tests if
6964 the board has gdb_prompt set.
6965
6966 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6967
6968 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6969 * gdb.base/commands.exp: Likewise.
6970 * gdb.base/setshow.exp: Likewise.
6971
6972 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6973
6974 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6975 feature.
6976
6977 * config/i960.exp: New file.
6978
6979 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6980
6981 * gdb.base/funcargs.exp: Check for gdb,short_int target
6982 feature instead of looking for explicit target triplets.
6983
6984 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
6985
6986 * gdb.base/printcmds.exp: add a couple more tests a la
6987 "p 123DEADBEEF", to check parse_number.
6988 * top.c: change "to enable to enable" to "to enable" in a couple
6989 of help strings.
6990
6991 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6992
6993 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6994 on the mn10300.
6995
6996 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6997
6998 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6999 where the test executable is run with explicit args.
7000 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
7001
7002 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
7003
7004 * gdb.base/run.c: Use FAKEARGV to build test executable that
7005 does not require a command line arg, since most simulators
7006 don't currently support passing such an arg into the simulated
7007 program.
7008 * gdb.base/commands.exp: Change tests to insert the proper
7009 value as the arg to the first recursive factorial call. Change
7010 compilation line to define FAKEARGV at compile time.
7011
7012 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7013
7014 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7015 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7016 function with watchpoint enabled" test.
7017
7018 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7019
7020 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7021 Don't call gdb_test when the command doesn't return to a gdb prompt.
7022
7023 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7024 "Tests restarted" messages.
7025
7026 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7027
7028 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7029
7030 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
7031
7032 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7033 for INFO SYMBOL; add help tests for OVERLAY commands.
7034 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7035 add tests for OVERLAY commands
7036 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7037 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7038 * gdb.base/sigall.c: add usestubs code frag
7039 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
7040
7041 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7042
7043 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7044 failures.
7045 (gdb_stop_suppressing_tests): Note that tests have restarted.
7046
7047 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
7048
7049 * config/h8300.exp: New file.
7050
7051 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
7052
7053 * gdb.base/setshow.exp: Check for the existence of a
7054 feature, not its value.
7055
7056 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
7057
7058 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7059
7060 * gdb.base/scope.exp: It's now init0(), not init().
7061
7062 * gdb.base/scope0.c: For now, change init() to be init0().
7063
7064 * config/monitor.exp: Use gdb_serial in preference to serial
7065 or netport.
7066
7067 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7068 and it's not already set.
7069
7070 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7071
7072 * gdb.base/setshow.exp: Only test the run command if the target
7073 isn't using a stub and if it supports argument passing.
7074
7075 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7076
7077 * config/udi.exp(gdb_start): Make sure UDICONF is set
7078 properly before starting gdb.
7079
7080 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7081
7082 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7083 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7084 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7085
7086 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7087
7088 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7089 specialized code to reboot the board, use remote_reboot instead.
7090
7091 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7092
7093 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7094
7095 * config/monitor.exp: Make sure we disconnect from the target.
7096 Also, try a reboot/reload cycle instead of failing if the
7097 load fails.
7098
7099 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7100
7101 * gdb.base/default.exp: Don't set match_max.
7102 * gdb.base/help.exp: Ditto.
7103 * gdb.base/list.exp: Ditto.
7104 * gdb.base/signals.exp: Ditto.
7105
7106 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7107 set, use remote_ld to download the testcase instead of
7108 the GDB loader.
7109
7110 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7111
7112 * config/vr5000.exp: New file.
7113
7114 * config/monitor.exp(gdb_target_monitor): Add pattern for
7115 "Ending remote" to detect errors in connecting.
7116
7117 * gdb.base/setshow.exp: Add .* within auto language test.
7118
7119 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7120 target feature.
7121
7122 * config/monitor.exp(gdb_load): Check for a failure when loading,
7123 and reboot the board if necessary.
7124
7125 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7126 a set of tests. Remove print.* from the patterns being checked.
7127
7128 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7129
7130 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7131 refer to gdb_spawn_id.
7132
7133 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7134 longer used.
7135 * config/sparclet.exp: Ditto.
7136 * config/sparclet-old.exp: Ditto.
7137 * config/slite.exp: Ditto.
7138 * config/sim.exp: Ditto.
7139 * gdb.base/funcargs.exp: Ditto.
7140
7141 * lib/gdb.exp:Remove references to gdb_spawn_id.
7142 (gdb_expect): Move to remote.exp.
7143
7144 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7145
7146 * config/monitor.exp: Detect the "Couldn't establish connection"
7147 message from GDB.
7148
7149 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7150
7151 * gdb.base/bitfields.exp: Use runto instead of explicit
7152 gdb_run_cmd/gdb_expect sequences.
7153
7154 * gdb.base/break.exp(text_next_with_recursion): Add match for
7155 gdb_expect call.
7156
7157 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7158 We also need to handle the "A program is being debugged already"
7159 prompt from gdb. Use gdb_test to set the baud rate.
7160
7161 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7162 to 20000. Really. I mean it.
7163
7164 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7165
7166 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7167 fails. If suppress_flag is set, skip perror message about not
7168 being able to send to GDB.
7169 (send_gdb): If suppress_flag is set, don't try to send commands to
7170 GDB.
7171 (gdb_expect): If suppress_flag is set, always fail immediately.
7172 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7173 (gdb_init): Call gdb_stop_suppressing_tests.
7174 (default_gdb_exit): Ditto.
7175 (default_gdb_start): Ditto.
7176
7177 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7178 gdb_stop_suppressing_tests as appropriate.
7179 * gdb.base/break.exp: Ditto.
7180 * gdb.base/callfuncs.exp: Ditto.
7181 * gdb.base/commands.exp: Ditto.
7182 * gdb.base/exprs.exp: Ditto.
7183 * gdb.base/funcargs.exp: Ditto.
7184 * gdb.base/list.exp: Ditto.
7185 * gdb.base/recurse.exp: Ditto.
7186 * gdb.base/scope.exp: Ditto.
7187 * gdb.base/structs.exp: Ditto.
7188 * gdb.c++/inherit.exp: Ditto.
7189
7190 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7191
7192 * config/vr4300.exp: New file.
7193
7194 * gdb.*/*.exp: Call gdb_expect instead of expect.
7195
7196 * lib/gdb.exp(gdb_expect): New function.
7197
7198 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7199
7200 * lib/gdb.exp(gdb_init): New function.
7201
7202 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7203 for each individual variable set.
7204
7205 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7206 name.
7207
7208 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7209
7210 * gdb.base/scope.exp: Use gdb_test.
7211
7212 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7213 aborting; the testsuite driver will do that for us (see
7214 gdb_finish). Also, use gdb_test in a few more places.
7215
7216 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7217
7218 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7219
7220 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7221
7222 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7223 and "add_tests" are not at the same address.
7224
7225 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7226
7227 * gdb.base/ptype.exp: Use gdb_test.
7228
7229 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7230
7231 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7232 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7233 left in. No longer expect them to fail.
7234
7235 * gdb.stabs/*.mt; Deleted, no longer used.
7236 * gdb.stabs/configure.in: Remove references to target makefile
7237 frags.
7238 * gdb.stabs/configure: Rebuilt.
7239
7240 * gdb.disasm/*.mt: Deleted, no longer used.
7241 * gdb.disasm/configure.in: Remove references to target makefile
7242 frags. Use "sh3.s" as the unique filename for this directory.
7243 * gdb.disasm/configure: Rebuilt.
7244
7245 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7246 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7247 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7248
7249 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7250
7251 * config/udi.exp: Use mondfe,name instead of remote_host.
7252
7253 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7254
7255 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7256 a function with a watchpoint enabled on the mn10200.
7257
7258 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7259 before trying to create it!
7260
7261 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7262
7263 * config/vx.exp: Use hostname instead of netport.
7264
7265 * config/vxworks.exp: New file.
7266
7267 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7268
7269 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7270 gdb before assuming everything worked. Send a ^C if a timeout
7271 occurs.
7272
7273 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7274 $gdb_spawn_id directly.
7275 (gdb_run_cmd): Try _start as well as start. Use the target feature
7276 gdb,start_symbol as the symbol to start from when jumping.
7277
7278 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7279
7280 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7281 redundant) test.
7282
7283 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7284 it doesn't lose for 16bit integer systems.
7285
7286 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7287
7288 * gdb.fortran/types.exp: If the target doesn't support "double"
7289 data types, then expect "real" types to only be 4 bytes.
7290
7291 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7292 call tests if the target doesn't support inferior function calls.
7293
7294 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7295 in printf tests.
7296
7297 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7298
7299 * gdb.base/help.exp: Disable "help set", "help show", and
7300 "help support". Simplify regexp for "help stack".
7301
7302 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7303 to 60 seconds. Temporarily set match_max to 15000 around the
7304 "info copying" test.
7305
7306 * gdb.base/nodebug.exp: Don't try to do an inferior function
7307 call if the target doesn't support them.
7308 * gdb.base/printcmds.exp: Likewise.
7309 * gdb.base/setvar.exp: Likewise.
7310 * gdb.base/structs.exp: Likewise.
7311 * gdb.c++/templates.exp: Likewise.
7312 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7313
7314 * gdb.base/recurse.exp: Enable for the mn10200.
7315
7316 * configure.in: Do configure gdb.stabs directory for *-*-elf
7317 targets.
7318 * configure: Rebuilt.
7319
7320 * gdb.base/break.exp: Check for gdb,noresults before testing
7321 exit status and/or results from the target.
7322 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7323 * lib/gdb.exp: Remove old (now bogus) initialization of
7324 noinferior, noargs, noresults and nosignals.
7325
7326 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7327
7328 * config/sh.exp: New file.
7329
7330 * config/slite.exp: Try to connect multiple times to the board
7331 before rebooting. Only send a "monitor run" if need_monitor_run
7332 is set.
7333
7334 * gdb.base/break.exp: Don't do the "stub continue" test if
7335 the target has gdb_stub set.
7336
7337 * gdb.base/callfuncs.exp: Increase the timeout.
7338
7339 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7340 if the target has gdb,noinferiorio set.
7341
7342 * gdb.base/list.exp: Increase match_max to 10000 characters.
7343
7344 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7345
7346 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7347 target.
7348
7349 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7350
7351 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7352
7353 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7354 trying to delete the copy of gdb. Catch the file delete so we
7355 don't die if the delete fails; also, the file should be copied to
7356 the host, not to the build.
7357
7358 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7359
7360 * lib/gdb.exp(gdb_test): Surround the result pattern with
7361 parenthesis in case it contains multiple regexps separated
7362 with |.
7363
7364 * gdb.base/watchpoint.exp: Use gdb_test.
7365 * gdb.base/default.exp: Ditto.
7366
7367 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7368
7369 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
7370
7371 * gdb.base/scope.exp: Use gdb_test.
7372 * gdb.c++/classes.exp: Ditto.
7373 * gdb.c++/inherit.exp: Ditto.
7374
7375 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7376
7377 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7378 remote_exec instead.
7379 * gdb.base/corefile.exp: Don't be ridiculous.
7380 * gdb.base/*.c: Add missing stub invocations.
7381
7382 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7383
7384 * config/slite.exp: Miscellaneous fixes.
7385
7386 * lib/gdb.exp: Fix runto.
7387
7388 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7389 the target.
7390
7391 * gdb.base/watchpoint.exp: Fix regexp.
7392
7393 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7394 close and wait commands, as the descriptor may now be
7395 invalid. Always call "remote_close host".
7396
7397 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7398
7399 Major rewrite for testsuite revision.
7400
7401 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7402 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7403 instead of relying on spawn_id to always contain a valid
7404 spawn id.
7405 (get_compiler_info): New procedure to build the ${binfile}.ci
7406 file, instead of replicating this in N different places.
7407 (gdb_compile): New procedure.
7408
7409 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7410 appropriate arguments) instead of compile. Use gdb_test in a lot
7411 more places. Use send_gdb instead of send. Always run gdb_start
7412 at the start of a testcase, as this is no longer done magically.
7413
7414 config/*-gdb.exp: Rename without the -gdb suffix.
7415
7416 config/mips.exp: Use remote_close instead of exit_remote_shell.
7417 config/monitor.exp: Use target_info instead of looking at
7418 baud, timeout, etc.
7419 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7420
7421 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7422
7423 * gdb.c++/templates.exp (test_ptype_of_templates),
7424 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7425 Update expect patterns for destructors and assignment operators
7426 to match corresponding c-typeprint.c changes.
7427 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7428 to destructor breakpoint test, GDB should be able to set the
7429 destructor breakpoint without specifying arguments.
7430
7431 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7432
7433 * gdb.threads/pthreads.exp: Change result for failure to compile due
7434 to lack of pthreads runtime support from an error to simply an
7435 unsupported test, per dejagnu standards.
7436
7437 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7438
7439 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7440 where GDB exits to reduce pattern match time.
7441 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7442
7443 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7444
7445 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
7446
7447 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7448 * gdb.base/default.exp: ditto.
7449 * gdb.base/nodebug.exp: ditto.
7450 * gdb.base/printcmds.exp: ditto.
7451 * gdb.base/ptype.exp: ditto.
7452 * gdb.base/setvar.exp: ditto.
7453 * gdb.base/structs.exp: ditto.
7454 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7455
7456 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7457
7458 * configure, */configure: Rebuild with autoconf 2.12.
7459
7460 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7461
7462 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7463 use new i*86-pc-linux*-gnu quads.
7464 * gdb.base/corefile.exp: Ditto.
7465 * gdb.base/signals.exp: Ditto.
7466 * gdb.base/sigall.exp: Ditto.
7467 * gdb.base/interrupt.exp: Ditto.
7468
7469 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7470 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7471 RedHat 4.0.
7472
7473 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7474 linux. This allows the test case to at least compile on latest
7475 linux, but still not run due to missing the threads runtime library.
7476
7477 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7478
7479 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7480 directory to search gdb directory. Accept and step over conditional
7481 stack alignment code. Consume $prompt in failure cases.
7482 Reset timeout to $oldtimeout instead of some arbitrary value.
7483 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7484 timeout problems with infinite stack backtraces.
7485 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7486 Accept function parameters for linkfunc member.
7487
7488 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7489
7490 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7491 (CXXFLAGS): Remove, unreferenced.
7492 (B_OPTIONS): Add for -B options and add code to initialize with
7493 previous -B options and also add -B option to pick up cross compiled
7494 runtime.
7495 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7496 doing cross compiles.
7497 (target_alias): Declare global.
7498 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7499 to verify that gcc exists in build tree, and if so set CC to that
7500 gcc and to use B_OPTIONS and TARGET_INCLUDES.
7501
7502 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7503
7504 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7505 ptype test for anonymous union. Fixup testcase to match
7506 current gcc debug output.
7507
7508 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7509
7510 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7511 force argument to an unsigned long type.
7512
7513 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7514
7515 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7516 tests and anonymous union print/ptype tests.
7517 * gdb.base/list.exp (test_forward-search): Increase timeout by
7518 5 minutes for the "search extremely long line" case.
7519 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7520 completely optional and that the pass/fail messages use the command as
7521 the message if that third arg is a null string.
7522 (gdb_test_exact): Arrange that a null string pattern means match a
7523 null string output rather than any output, which might include random
7524 errors.
7525 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7526 backtrace test.
7527 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7528 always failing and failure is now exposed by gdb.exp changes.
7529
7530 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7531
7532 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7533 weren't being noted.
7534
7535 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7536
7537 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7538 * gdb.stabs/weird.exp: Remove v_comb xfails.
7539
7540 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
7541
7542 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7543 list.exp scope.exp watchpoint.exp]
7544 Make all timeout error msgs explicitly say "(timeout)".
7545
7546 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
7547
7548 * config/monitor.exp: Increase download timeout to 1000 seconds.
7549
7550 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
7551
7552 * config/m32r.exp: Increase timeout to 120 seconds.
7553
7554 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7555
7556 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7557 and accept older ordering as obsolescent gcc or gdb.
7558 * gdb.c++/templates.exp: Ditto.
7559 * gdb.c++/virtfunc.exp: Ditto.
7560
7561 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7562
7563 * gdb.base/coremaker.c: Add code to mmap some data so we
7564 can check that it ends up in the core file.
7565 * gdb.base/corefile.exp: Add test to read mmapped data
7566 from core file.
7567
7568 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
7569
7570 * config/m32r.exp: New file.
7571
7572 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7573
7574 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7575 that cflags can contains -gstabs, and work correctly for other tests.
7576
7577 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
7578
7579 * gdb.base/setshow.exp: New file, tests show and set.
7580 * gdb.base/setshow.c: New file, tests show and set.
7581 * gdb.base/help.exp: Add test for help set|show annotate.
7582 * gdb.base/default.exp: Add test for set|show annotate.
7583
7584 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7585
7586 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7587 errors unique.
7588 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7589 explicitly.
7590
7591 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7592
7593 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7594 and width commands. This is done elsewhere.
7595 * (gdb_start): Don't call gdb_start_sim here. That's already
7596 done in gdb_load. This fixes lots of failures in default.exp.
7597
7598 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7599
7600 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7601 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7602 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7603 in the same we we treat other failures (since it may be an expected
7604 condition), rather than as an error.
7605 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7606 old test format.
7607
7608 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7609
7610 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7611 (distclean maintainer-clean realclean): No need to remove files
7612 twice. Nuke the duplicates.
7613 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
7614 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
7615 Remove config.h along with other config files.
7616
7617 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7618
7619 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7620 "p func1 ()" and note that rests of tests are skipped.
7621 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7622 setup_xfails for "print func2::coremaker_local".
7623 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7624 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7625 affected by the previous run test.
7626 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7627 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7628 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7629 "pass int powerset tuple" and "pass modeless int powerset tuple".
7630 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7631 "real write 4" and "real write 8".
7632 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7633 setup_xfails for "print vs1 after tuple assign 2",
7634 "print \$i after tuple assign 2", and
7635 "print vs2 after tuple assign 2".
7636 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7637 meaningful error message and return -1 so the caller can
7638 suppress further tests and avoid a cascade of errors.
7639
7640 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7641
7642 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7643 format for printing version.
7644 * gdb.base/default.exp: Ditto.
7645 * gdb.base/interrupt.exp: Fix problem with cascade of
7646 errors if child process dies while calling a function.
7647
7648 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7649
7650 * Makefile.in (VPATH): Add
7651 * Makefile.in (Makefile, config.status): Fix rules so things get
7652 remade when necessary.
7653
7654 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7655
7656 * Makefile.in (just-check): Add path to sibling expect dir
7657 to environment variable specified by RPATH_ENVVAR.
7658
7659 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7660
7661 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7662 (just-check): Add shared library paths for libstdc++, tk,
7663 tcl, bfd, and opcodes to the environment variable specified
7664 in RPATH_ENVVAR.
7665 * configure.in: Add support to recognize --enable-shared flag
7666 and generate correct value for RPATH_ENVVAR.
7667 * configure: Regenerated with autoconf.
7668
7669 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7670
7671 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7672 include all osf versions.
7673 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7674 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7675 when target is linux. When failing to build pthreads test
7676 executable, give more meaningful message.
7677 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7678 arg for pthread_create.
7679
7680 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7681
7682 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7683 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7684 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7685 and -lpthreads (everybody else).
7686 (test_startup): Fail gracefully if threads are not supported.
7687 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7688 "p/c array_index("abcdef",2)" when not gcc compiled.
7689 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7690 "print func2::coremaker_local" when not gcc compiled.
7691 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7692 "ptype on opaque struct tagname (statically)",
7693 "ptype on opaque struct tagname (dynamically) 1", and
7694 "ptype on opaque struct tagname (dynamically) 2"
7695 for not compiled with gcc.
7696 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7697 backtrace when compiled with gcc.
7698 * lib/gdb.exp (runto_main): Return result of "runto main" rather
7699 than always return success.
7700
7701 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7702
7703 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7704
7705 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7706
7707 * gdb.base/structs.exp: Undo last change.
7708
7709 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7710
7711 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7712 encapsulate all the steps/nexts done during self test, starting
7713 at main, and makes them less sensitive to optimization issues.
7714 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7715 signal handler" test.
7716 * gdb.threads/pthreads.exp: Only run this for native configs.
7717 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7718 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7719 tests.
7720 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7721 for "runto test_calls(void)" test.
7722
7723 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7724
7725 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7726 and don't expect address info in breakpoint confirmations.
7727
7728 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7729
7730 * gdb.base/list.exp (test_forward_search): Increase timeout
7731 temporarily by 60 seconds for searching extremely long line,
7732 and then reset to old value when done. Increase expect input
7733 buffer to 10000.
7734
7735 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7736
7737 * gdb.base/list.exp (test_forward_search): Fix to handle very
7738 long source line without overflowing expect's input buffer.
7739
7740 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7741
7742 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7743 "buffer_full".
7744
7745 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7746 "buffer_full".
7747
7748 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7749 "buffer_full".
7750
7751 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7752 "buffer_full".
7753
7754 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7755
7756 * configure.in (configdirs): Add gdb.threads.
7757 * configure: Regenerated with autoconf.
7758 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7759 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7760 * gdb.threads/configure: New, generated with autoconf.
7761
7762 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7763
7764 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7765
7766 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7767
7768 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7769 each signal's status in the output of "handle all print".
7770 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7771 the \r\n sequence that immediately precedes the gdb prompt.
7772 * gdb.base/a1-selftest.exp: Save original timeout and restore
7773 after test.
7774
7775 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7776
7777 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7778 symbol.
7779
7780 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7781
7782 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7783
7784 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7785
7786 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7787 timeout by 60 seconds.
7788
7789 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7790
7791 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7792 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7793 error return.
7794
7795 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7796
7797 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7798 gdb initialization, also report how long dejagnu waited. Restore
7799 old timeout before doing error return. Temporarily increase timeout
7800 by 3 minutes to allow for slow startups over heavy NFS use.
7801
7802 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7803
7804 * lib/gdb.exp: Report timeout value for verbosity level 2.
7805 * config/gdbserver.exp: Ditto.
7806 * config/hppro.exp: Ditto.
7807 * config/mips-gdb.exp: Ditto.
7808 * config/monitor.exp: Ditto.
7809 * config/netware.exp: Ditto.
7810 * config/sim-gdb.exp: Ditto.
7811 * config/slite-gdb.exp: Ditto.
7812 * config/udi-gdb.exp: Ditto.
7813 * config/unix-gdb.exp: Ditto.
7814 * config/vx-gdb.exp: Ditto.
7815 * gdb.base/a1-selftest.exp: Ditto.
7816 * gdb.base/a2-run.exp: Ditto.
7817 * gdb.base/break.exp: Ditto.
7818 * gdb.base/corefile.exp: Ditto.
7819 * gdb.base/list.exp: Ditto.
7820 * gdb.base/recurse.exp: Ditto.
7821 * gdb.base/scope.exp: Ditto.
7822 * gdb.base/signals.exp: Ditto.
7823
7824 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7825
7826 * gdb.threads/Makefile.in (docdir): Removed.
7827
7828 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7829
7830 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
7831 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
7832 @srcdir@.
7833 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
7834 autoconf 2.5 or higher.
7835 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7836
7837 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7838
7839 * configure: Regenerated.
7840 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7841 avoid name clashes with SunOS headers.
7842
7843 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7844
7845 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7846
7847 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7848
7849 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7850 prototype information ends up in the compiler info file.
7851
7852 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7853
7854 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7855 attempting to regenerate it. Eliminate use of a temporary file
7856 and just generate the info file directly. Source it immediately,
7857 for consistency of use.
7858 * gdb.base/corefile.exp: Ditto
7859 * gdb.base/exprs.exp: Ditto.
7860 * gdb.base/funcargs.exp: Ditto.
7861 * gdb.base/langs.exp: Ditto.
7862 * gdb.base/list.exp: Ditto.
7863 * gdb.base/mips_pro.exp: Ditto.
7864 * gdb.base/nodebug.exp: Ditto.
7865 * gdb.base/opaque.exp: Ditto.
7866 * gdb.base/ptype.exp: Ditto.
7867 * gdb.base/scope.exp: Ditto.
7868 * gdb.base/setvar.exp: Ditto.
7869 * gdb.base/signals.exp: Ditto.
7870 * gdb.base/whatis.exp: Ditto.
7871 * gdb.c++/templates.exp: Ditto.
7872 * gdb.c++/virtfunc.exp: Ditto.
7873 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7874 whether or not to add -lstdc++ to the compile command line args.
7875
7876 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7877
7878 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7879 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7880 Increase timeout, a lot of single stepping might be needed if the
7881 target has no hardware watchpoints.
7882
7883 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7884
7885 * gdb.base/break.exp: Ignore compiler warnings when compiling
7886 break.c.
7887 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7888 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7889 from remote-sim.
7890 * gdb.base/exprs.exp: Add h8300 xfails.
7891 * gdb.base/funcargs.exp: Likewise.
7892 * gdb.base/nodebug.exp: Likewise.
7893 * gdb.base/printcmds.exp: Likewise.
7894 * gdb.base/ptype.exp: Likewise.
7895 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7896 h8300 xfails.
7897 * gdb.base/return.exp: Handle float/double precision problems
7898 on the h8300.
7899 * gdb.base/funcargs.c: Explicitly make last constant argument to
7900 call_after_alloca_subr an unsigned long type.
7901 * gdb.base/return.c: Include stdio.h.
7902
7903 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7904
7905 * config/abug.exp: New file for the older Motorola Bug monitor
7906 that runs on the mvme13x series VME boards.
7907 * config/monitor.exp: Use the new config array for target settings
7908 if they exist.
7909
7910 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7911
7912 * sim-gdb.exp: Make the SH simulator allocate less space when
7913 it is targeted.
7914
7915 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7916
7917 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7918 test.
7919
7920 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7921
7922 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7923 "rs6000-*-*" for "list function in include file" when gcc compiled.
7924 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7925 for "p ctable1[120]".
7926 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7927 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7928 Remove setup_xfail for "rs6000-*-*" for
7929 "print 'scope0.c'::filelocal before run".
7930 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7931 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7932 since some compilers don't allow both options to be given
7933 on the same command line. Create object file and move it.
7934
7935 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7936
7937 * gdb.base/corefile.exp: Always regenerate the core file, since
7938 we always regenerate the coremaker program. Detect special case
7939 where registers cannot be read from core file.
7940
7941 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7942
7943 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7944 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7945 * gdb.c++/templates.exp: Only match on basename of file since
7946 some formats like xcoff don't encode directory information.
7947 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7948 and rs6000 AIX xcoff targets.
7949 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7950 * configure: Regenerate.
7951 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7952 here, rather than in distclean.
7953
7954 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7955
7956 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7957 defined, and use it to compile the test case with -O2. The
7958 native compilation still uses no optimization.
7959 * gdb.base/mips_pro.c: Remove inline assembly code since
7960 it is compiled PIC by default, which results in assembler
7961 warnings that make the testsuite think the compilation
7962 was unsuccessful.
7963
7964 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7965
7966 * gdb.c++/misc.exp: Add note to message for
7967 "print s.a for foo struct" that this is a known gcc 2.7.2
7968 and earlier bug.
7969
7970 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7971
7972 * gdb.base/break.exp: Fix pattern for matching "Delete all
7973 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7974 setup_xfail for deleting all breakpoints test. Fix various
7975 timeout messages to include "(timeout)".
7976 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7977 for "p t_float_values2(3.14159,float_val2)".
7978 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7979 for "continue to call2g" when gcc compiled.
7980 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7981 "up to foo in langs.exp", "show language at foo in langs.exp",
7982 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7983 and "show language at fsub in langs.exp".
7984 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7985 "list line 1 in include file", "list message for lines past EOF",
7986 "list function in include file", "list list0.h:foo", and
7987 "list filename:function; nonexistant function".
7988 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7989 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7990 and "ptype t_char_array" to be for native cc only.
7991
7992 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7993
7994 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
7995 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7996 "print func2::coremaker_local", and "backtrace in corefile.exp".
7997
7998 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7999
8000 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
8001 "bt in signals.exp". This problem only appears when running
8002 the testsuite, and then only intermittently.
8003
8004 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
8005
8006 * gdb.base/return.exp (return_tests): Differentiate between
8007 two tests of continuing.
8008
8009 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8010
8011 * */Makefile.in (maintainer-clean): Remove config.log.
8012 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8013 * gdb.c++/Makefile.in (PROGS): Add inherit.
8014 (clean): Remove *.ci.
8015
8016 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8017
8018 * gdb.c++/misc.cc: Add test code from Mike Stump.
8019 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8020
8021 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8022
8023 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8024 to "alpha-*-osf2*" and add comment.
8025 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8026 setup_xfail for "step over execarg initialization" and
8027 "step over corearg initialization".
8028 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8029 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8030 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8031 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8032 "print func2::coremaker_local", and "backtrace in corefile.exp".
8033 * gdb.base/signals.exp: Build and source signals.ci.
8034 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8035 to be for gcc only.
8036 * lib/gdb.exp: Move verbose statements outside conditionals.
8037
8038 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8039
8040 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8041 Feb 3 procfs.c change.
8042
8043 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8044
8045 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8046
8047 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
8048
8049 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8050 from dejagnu's apparent default of 10 seconds, which gives random
8051 results when running the tests over NFS on moderately loaded systems.
8052 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8053
8054 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
8055
8056 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
8057 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8058 result reports.
8059
8060 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8061
8062 * configure.in (CY_AC_PATH_TCLH): Remove.
8063 * configure: Regenerate.
8064
8065 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8066
8067 * gdb.c++/Makefile.in (clean): Add missing '{'.
8068
8069 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8070
8071 * lib/gdb.exp: Provide a default value for noinferior.
8072
8073 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8074 Load libgloss.exp.
8075
8076 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8077
8078 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8079 the executable, not the .o to run the tests from.
8080
8081 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8082
8083 * gdb.base/break.exp: Don't test for program exit or exit status
8084 if $noresults if nonzero.
8085 * gdb.base/langs.exp: Likewise.
8086 * gdb.base/watchpoint.exp: Likewise.
8087
8088 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8089 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8090 trying to compile the testcase.
8091
8092 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8093
8094 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8095 * gdb.base/signals.exp (continue to handler): Likewise.
8096
8097 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8098
8099 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8100
8101 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8102
8103 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8104
8105 * gdb.base/corefile.exp: Recognize "not found" as failure
8106 when trying to determine if a core file was generated.
8107 If no core file was generate the first time, try again without
8108 the ulimit -c to work around braindamaged shells.
8109
8110 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8111
8112 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8113 [] tests with "test" and enclose string in quotes.
8114 * gdb.stabs/configure: Rebuild
8115
8116 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8117
8118 Changes in sync with expect:
8119 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8120 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8121 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8122 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8123 argument to AC_REQUIRE.
8124 * configure: Regenerated.
8125
8126 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8127
8128 * gdb.base/corefile.exp: When generating a core, discard any
8129 error messages about ulimit not found and the "core dumped"
8130 message from the shell that runs the coredumper.
8131
8132 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8133
8134 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8135
8136 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8137 which sed script to run. Expect failure for v_comb test
8138 on PA targets too.
8139
8140 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8141
8142 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8143 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8144
8145 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8146
8147 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8148 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8149 "sparc-sun-solaris*" xfails for "p v_comb".
8150 * lib/gdb.exp (default_gdb_start): Fix typo.
8151 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8152 messages to not include the full program name that caused
8153 the core dump since some systems (such as solaris) apparently
8154 truncate this path to about 80 characters.
8155 When generating a core file first try increasing the core file
8156 size limit to unlimited since some systems may default it to
8157 zero, and it is harmless to try it. Move the test for failing
8158 to generate a core file to where it will actually get executed.
8159 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8160 new gdb result from g++ debug info improvements and make old
8161 pattern obsolescent. Also account for size_t differences
8162 (may be int or long).
8163 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8164 initialization before function call is placed in the delay slot
8165 and thus appears to be skipped over by commands such as "next".
8166
8167 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8168
8169 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8170
8171 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8172
8173 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8174 input source file; fix code to compile test to deal with this
8175 convention.
8176 * gdb.c++/*.exp: Likewise.
8177
8178 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8179
8180 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8181 "bt in signals.exp".
8182
8183 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8184
8185 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8186 "step over execarg initialization" and
8187 "step over corearg initialization".
8188
8189 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8190
8191 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8192 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8193
8194 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8195
8196 From Rob Savoye (rob@poseidon.cygnus.com)
8197 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8198 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8199 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8200 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8201 configure.in}: Major reworking for autoconfig.
8202 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8203 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8204 New files.
8205 * config/unix-gdb.exp: Make GDB global.
8206 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8207 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8208 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8209 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8210 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8211 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8212 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8213 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8214 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8215 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8216 pr-8136.exp, result.exp, string.exp, tuples.exp},
8217 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8218 to returns as necessary, arrange for test to compile own testcase
8219 executable.
8220 * lib/gdb.exp: Changes for testsuite to compile own test cases.
8221
8222 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8223
8224 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8225 clear_xfail at end of test which might not call either pass or fail.
8226 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8227 "backtrace through signal handler".
8228
8229 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8230
8231 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8232 continuing from a job control stop signal.
8233 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8234
8235 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8236
8237 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8238 * gdb.base/corefile.exp: Likewise.
8239 * gdb.base/funcargs.exp: Likewise.
8240
8241 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8242
8243 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8244 * config/monitor.exp: Add support for setting baud rate.
8245
8246 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8247
8248 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8249 i*86-*-linux* xfails for "backtrace through signal handler".
8250 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8251 "print func2::coremaker_local".
8252 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8253 alpha-dec-osf2* xfail for
8254 "delete all breakpoints when none".
8255
8256 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8257
8258 * gdb.base/break.exp: Change test that deletes all breakpoints
8259 when no user breakpoints are installed. A post 4.15 change
8260 causes gdb to no longer prompt in this case.
8261
8262 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8263
8264 * gdb.base/return.exp (return_tests): Change xfail for test
8265 "correct value returned double test" to stop xfailing at
8266 Solaris 2.5. Apparently the bug has been fixed.
8267
8268 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8269
8270 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8271 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8272
8273 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8274
8275 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8276 * gdb.disasm/hppa.s: Corresponding changes.
8277
8278 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8279
8280 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8281 makefile fragment.
8282 * config/mt-hpux: Deleted.
8283
8284 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8285
8286 * Many files: When warning about suppressed tests due to a
8287 nonexistant test binary, avoid incrementing the warning count.
8288
8289 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8290
8291 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
8292
8293 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8294
8295 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8296 "sparc-*-solaris2*".
8297
8298 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8299
8300 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8301 Add global and local variables and initialize them.
8302 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8303 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8304 extracts the file name and terminating signal from the core file.
8305 * TODO: Remove note about tests for correct mapping of corefile.
8306 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8307 from optimizing it away.
8308 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8309 handles common blocks.
8310
8311 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8312
8313 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8314 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8315
8316 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8317
8318 * Makefile.in (maintainer-clean): New target, synonym for
8319 realclean.
8320 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8321 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8322 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8323 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8324 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8325 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8326
8327 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8328
8329 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8330 xfails when not gcc compiled for "print foo::funclocal".
8331 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8332 "print foo::funclocal at foo",
8333 "print 'scope1.c'::foo::funclocal at foo",
8334 "print foo::funclocal_bss at foo",
8335 "print 'scope1.c'::foo::funclocal_bss at foo",
8336 "print foo::funclocal_ro at foo",
8337 "print 'scope1.c'::foo::funclocal_ro at foo",
8338 "print bar::funclocal at foo" and
8339 "print 'scope1.c'::bar::funclocal at foo".
8340 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8341 gcc compiled for "print foo::funclocal at bar".
8342 Expand all messages to ensure that they identify that
8343 the test is at bar().
8344 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8345 gcc compiled for:
8346 "ptype on opaque struct pointer (statically)",
8347 "ptype on opaque struct tagname (statically)",
8348 "ptype on opaque struct pointer (dynamically) 1",
8349 "ptype on opaque struct tagname (dynamically) 1",
8350 "ptype on opaque struct pointer (dynamically) 2" and
8351 "ptype on opaque struct tagname (dynamically) 2
8352 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8353 gcc compiled for:
8354 "p datalocal"
8355 "whatis datalocal",
8356 "ptype datalocal",
8357 "p bsslocal",
8358 "whatis bsslocal", and
8359 "ptype bsslocal".
8360 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8361 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8362 when not gcc compiled.
8363 * gdb.base/funcargs.exp (float_and_integral_args): Add
8364 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8365 compiled.
8366 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8367 "backtrace from call6a" when not gcc compiled.
8368 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8369 "backtrace from call7a" when not gcc compiled.
8370 * gdb.base/callfuncs.exp (do_function_calls):
8371 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8372 "p t_char_array_values(char_array_val2,char_array_val1)",
8373 "p t_char_array_values(char_array_val1,char_array_val2)",
8374 "p t_char_array_values("carray 1","carray 2")",
8375 "p t_char_array_values("carray 1",char_array_val2)",
8376 "p t_char_array_values(char_array_val1,"carray 2")",
8377 "p sum_args(1,{2})",
8378 "p sum_args(2,{2,3})",
8379 "p sum_args(3,{2,3,4})",
8380 "p sum_args(4,{2,3,4,5})"
8381 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8382 "backtrace in corefile.exp" when not gcc compiled.
8383
8384 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8385
8386 * gdb.base/signals.exp: Rewrite `handle all print' test as
8387 a procedure. Accept blanks or TABs as whitespace, increase
8388 timeout and expect input buffer size for the large output
8389 from the command. Remove "i*86-*-bsdi2.0" xfail.
8390
8391 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8392
8393 * gdb.base/setvar.exp: Add new testcases for truncation when
8394 assigning invalid values to bitfields.
8395
8396 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8397
8398 * gdb.base/callfuncs.exp (do_function_calls): Remove
8399 mips-sgi-irix* xfail for
8400 "call inferior func with struct - returns char *"
8401 and fix test so that an optional (unsigned char *) cast is
8402 accepted in the result.
8403
8404 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8405
8406 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8407 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8408 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8409 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8410 that accidentally got checked in.
8411
8412 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8413
8414 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
8415 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8416 compiled test.
8417 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8418 Add mips-sgi-irix5* xfail for not gcc compiled.
8419 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8420 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8421 "p top", "whatis top", "p middle", and "whatis middle".
8422 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8423 "whatis signed char" for not gcc compiled.
8424 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8425 "set variable signed char=-1 (-1)" and
8426 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8427 * gdb.base/funcargs.exp (float_and_integral_args):
8428 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8429 Add mips-sgi-irix* xfail when not gcc compiled for
8430 "continue to call2b".
8431 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8432 "continue to call2g".
8433 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8434 "backtrace from call6a"
8435 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8436 "backtrace from call7k".
8437 Add mips-sgi-irix5* xfail when not gcc compiled for
8438 "backtrace from call7a".
8439 (localvars_after_alloca): Fix gdb_test cmds for
8440 "print * after runto ...".
8441 Remove rs6000-*-* xfails for
8442 "print i after runto localvars_after_alloca" and
8443 "print l after runto localvars_after_alloca"
8444 for all compilers.
8445 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8446 when not compiled with gcc, for:
8447 "print signed char == (minus)",
8448 "print signed char != (minus)",
8449 "print signed char < (minus)",
8450 "print signed char > (minus)".
8451 * gdb.base/callfuncs.exp (do_function_calls):
8452 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8453 "call inferior func with struct - returns char *".
8454 * gdb.base/return.exp (return_tests): Change xfail for
8455 "correct value returned double test" to include Solaris 2.4.
8456 * gdb.base/funcargs.exp (float_and_integral_args):
8457 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8458
8459 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8460
8461 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8462 enumeration bitfields if compiling with GNU C.
8463 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8464 to empty' prompt.
8465
8466 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8467
8468 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8469 test for PRO targets.
8470
8471 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8472 breakpoints in the inferior at any given time by making
8473 two groups of breakpoints for call2*, call6* and call7*
8474 tests.
8475
8476 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8477
8478 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8479 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8480 from optimizing it away.
8481 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8482 "call inferior func with struct".
8483
8484 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8485
8486 * configure.in: Only configure gdb.chill for particular targets.
8487
8488 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8489
8490 * gdb.base/Makefile.in: Add action to .c.o transformation
8491 rule that generates a .ci file for each .o file and remove
8492 explicit .c.o rules except for callfuncs.o.
8493 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8494 generates a .ci file for each .o file and remove explicit
8495 .cc.o rules.
8496 (clean): Remove *.tmp *.ci files.
8497 (EXECUTABLES): Remove templ-info.exp.
8498 * gdb.base/compiler.c: New file.
8499 * gdb.c++/compiler.cc: New file
8500 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8501 Change rs6000-*-* xfail for
8502 "print 'scope0.c'::filelocal_ro" and
8503 "print 'scope1.c'::filelocal" and
8504 "print 'scope1.c'::filelocal_bss" and
8505 "print 'scope1.c'::filelocal_ro" and
8506 "print 'scope1.c'::foo::funclocal" and
8507 "print 'scope1.c'::foo::funclocal_ro" and
8508 "print 'scope1.c'::bar::funclocal" and
8509 "print 'scope0.c'::filelocal_ro" and
8510 "print 'scope1.c'::filelocal at foo" and
8511 "print 'scope1.c'::filelocal_bss at foo" and
8512 "print 'scope1.c'::filelocal_ro at foo" and
8513 "print 'scope1.c'::foo::funclocal at foo" and
8514 "print 'scope1.c'::foo::funclocal_bss at foo" and
8515 "print 'scope1.c'::foo::funclocal_ro at foo" and
8516 "print 'scope1.c'::bar::funclocal at foo" and
8517 "print 'scope0.c'::filelocal_ro" and
8518 "print 'scope1.c'::filelocal" and
8519 "print 'scope1.c'::filelocal_bss" and
8520 "print 'scope1.c'::filelocal_ro" and
8521 "print 'scope1.c'::foo::funclocal" and
8522 "print 'scope1.c'::foo::funclocal_bss" and
8523 "print 'scope1.c'::foo::funclocal_ro" and
8524 "print 'scope1.c'::bar::funclocal" and
8525 "print 'scope1.c'::bar::funclocal_bss"
8526 to only be xfail'd when not compiled with gcc.
8527 Add rs6000-*-* xfail for
8528 "print 'scope0.c'::filelocal_bss before run"
8529 when compiled with gcc.
8530 (test_at_main): Add rs6000-*-* xfail for
8531 "print filelocal_ro in test_at_main"
8532 when compiled with gcc.
8533 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
8534 Add rs6000-*-aix* xfail for
8535 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8536 "ptype t_char_array", not compiled with gcc.
8537 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8538 xfail for "list foo (in include file)" when gcc compiled.
8539 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8540 (integral_args): Add rs6000-*-* xfail for
8541 "run to call0a" if not compiled with gcc.
8542 (unsigned_integral_args): Add rs6000-*-* xfail for
8543 "run to call1a" if not compiled with gcc.
8544 (float_and_integral_args): Add rs6000-*-* xfail for
8545 "run to call2a" if not compiled with gcc and for
8546 "continue to call2b" for any compiler.
8547 Add rs6000-*-* xfail to
8548 "print f1 after run to call2a" for gcc compiled.
8549 (discard_and_shuffle): Add rs6000-*-* xfail for
8550 "run to call6a".
8551 (shuffle_round_robin): Add rs6000-*-* xfail for
8552 "backtrace from call7a" if not compiled with gcc.
8553 Add rs6000-*-* xfail for
8554 "backtrace from call7b" if compiled with gcc.
8555 (call_after_alloca): Add rs6000-*-* xfail for
8556 "print c in call_after_alloca" and
8557 "print s in call_after_alloca" and
8558 "backtrace from call_after_alloca_subr"
8559 if not compiled with gcc.
8560 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8561 "print c in localvars_in_indirect_call" and
8562 "print c in localvars_in_indirect_call" and
8563 "backtrace in indirectly called function" and
8564 "stepping into indirectly called function"
8565 if not compiled with gcc.
8566 (localvars_after_alloca): Add rs6000-*-* xfail for
8567 "print c after runto localvars_after_alloca" and
8568 "print s after runto localvars_after_alloca" and
8569 "print i after runto localvars_after_alloca" and
8570 "print l after runto localvars_after_alloca"
8571 for all compilers.
8572 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8573 than whatis-info.exp.
8574 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8575 than opaque-info.exp.
8576 Setup rs6000-*-* xfail for
8577 "ptype on opaque struct pointer (statically)" and
8578 "ptype on opaque struct pointer (dynamically)" when
8579 not compiled with gcc.
8580 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8581 rather than callf-info.exp.
8582 (do_function_calls): Add clear_xfail for rs6000-*-* for
8583 "p t_float_values2(3.14159,float_val2)". Seems to work
8584 fine there, both with xlc and gcc. Need to find out what
8585 it is doing right and fix other platforms.
8586 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8587 "call inferior func with struct - returns int",
8588 "call inferior func with struct - returns long",
8589 "call inferior func with struct - returns float",
8590 "call inferior func with struct - returns double",
8591 "call inferior func with struct - returns char *",
8592 but only if not gcc compiled (presumes xlc compiled).
8593 Change rs6000-*-* xfails for
8594 "call inferior func with struct - returns char" and
8595 " call inferior func with struct - returns short" to only
8596 xfail if not using gcc.
8597 (clean mostlyclean): Remove *.ci and *.tmp files.
8598 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8599 than templ-info.exp.
8600 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8601 Add rs6000-*-* xfail for "up to foo in langs.exp"
8602 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8603 when not gcc compiled.
8604
8605 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8606
8607 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8608 * gdb.base/corefile.exp: Likewise.
8609 * gdb.base/list.exp: Likewise.
8610 * gdb.base/scope.exp: Likewise.
8611 * gdb.base/siganls.exp: Likewise.
8612
8613 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8614 compiler output.
8615 * gdb.base/whatis.exp: Likewise.
8616
8617 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8618
8619 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8620 failure (opcode table has been fixed to match reality).
8621
8622 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8623
8624 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8625 "call inferior func with struct - returns char",
8626 "call inferior func with struct - returns short"
8627
8628 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8629 "print 'scope0.c'::filelocal at main",
8630 "print 'scope0.c'::filelocal_bss in test_at_main",
8631 "print 'scope0.c'::filelocal at foo",
8632 "print 'scope0.c'::filelocal_bss in test_at_foo",
8633 "print 'scope0.c'::filelocal at bar",
8634 "print 'scope0.c'::filelocal_bss in test_at_bar"
8635
8636 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8637 in source file 1". This bug seems to have been fixed with both
8638 gcc and native cc (was native assembler bug?).
8639
8640 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8641
8642 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8643 "backtrace through signal handler" to "i*86-*-sysv4*".
8644 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8645 continue" case. Add "known SVR4 bug" to fail message.
8646 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8647 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8648 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8649 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8650 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8651 "up to foo in langs.exp", "show language at foo in
8652 langs.exp", "up to cppsub_ in langs.exp", "show
8653 language at cppsub_ in langs.exp", "up to fsub in
8654 langs.exp", and "show language at fsub in langs.exp".
8655 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8656 "bactrace in corefile.exp".
8657 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8658 "call inferior function with struct - returns float" and
8659 "call inferior function with struct - returns double".
8660
8661 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8662
8663 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8664 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8665 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8666 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8667
8668 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8669
8670 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8671 (or overriden) "CHILL" macro rather then bare "gcc".
8672 Also look for ../../gcc/xgcc since that is what we will
8673 actually need, not "Makefile". Remove following assignment
8674 of CHILL to CHILL_FOR_TARGET because that results in
8675 recursive definition.
8676
8677 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8678
8679 * gdb.base/corefile.exp: Change xfail for backtrace in
8680 corefile.exp from linuxaout to all linux.
8681 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8682 cases where we miss the breakpoint at the signal handler
8683 for some reason. Setup xfail for linuxoldld/linuxaout and
8684 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8685 hitting SIGURG breakpoint.
8686 * gdb.base/signals.exp: Setup xfail for "next" acting like
8687 continue to add linuxoldld. Setup xfail for all linux for
8688 "next to handler in signals_tests_1", "backtrace in
8689 signals_tests_1", "continue to func1", "pass SIGUSR1",
8690 and continue to handler".
8691
8692 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8693
8694 * Update all FSF addresses except those in COPYING* files.
8695
8696 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8697
8698 * gdb.base/a2-run.exp: Change messages to be more explicit about
8699 the status of args, and quote binfile in results.
8700
8701 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8702
8703 * gdb.base/callfuncs.exp: Add tests for passing structs to
8704 inferior functions and return various types.
8705 * gdb.base/callfuncs.c: Add functions to receive a struct
8706 and return a member of the struct, in various types.
8707
8708 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8709
8710 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8711
8712 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8713
8714 * config/vxworks29k.exp: New file, sources vxworks.exp.
8715
8716 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8717
8718 * config/gdbremote.exp: New file. Testing framework using
8719 gdbserver.
8720
8721 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8722
8723 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8724 "call function when asleep" and "send end of file".
8725 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8726 for "backtrace in corefile.exp".
8727 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8728 for "backtrace through signal handler".
8729 * gdb.base/corefile.exp: Make sure we actually generate a core file
8730 before trying the core tests. Some systems allow the user to suppress
8731 generation of core files and default to that (linux for example).
8732 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8733 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8734
8735 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8736
8737 * gdb.threads: New directory with some crude multi-threaded
8738 gdb tests (step.exp and step2.exp).
8739 * config/mt-lynx (STEP_EXECUTABLE): Define.
8740 (THREADFLAGS): Define.
8741
8742 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8743
8744 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8745
8746 * gdb.base/signals.exp: Disable whole file for lynx until
8747 further notice.
8748
8749 * gdb.base/signals.exp: xfail test where "next" acts like
8750 "continue" for lynx.
8751
8752 * gdb.base/interrupt.exp: xfail test for calling function while
8753 inferior is asleep for lynx.
8754
8755 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8756 than one cr-lf after each command.
8757
8758 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8759
8760 * configure.in: Reinstate setting of stabsdirs variable, fix
8761 typo in setting up configdirs for native builds.
8762
8763 * gdb.base/return.exp: Fix typo in return double test.
8764 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8765 compiler from optimizing them away.
8766
8767 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8768
8769 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8770 sequences to be echo'd by gdb when using gdb_test.
8771 * gdb.chill/chexp.exp: Likewise.
8772 * gdb.fortran/exprs.exp: Likewise
8773
8774 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8775
8776 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8777 after the inferior gdb has started.
8778
8779 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8780 after each command.
8781 * gdb.base/funcargs.exp: Likewise.
8782 * gdb.base/gdbvars.exp: Likewise.
8783 * gdb.base/interrupt.exp: Likewise.
8784 * gdb.base/list.exp: Likewise.
8785 * gdb.base/watchpoint.exp: Likewise.
8786 * gdb.c++/demangle.exp: Likewise.
8787 * gdb.c++/inherit.exp: Likewise.
8788 * gdb.chill/chexp.exp: Likewise.
8789 * gdb.fortran/exprs.exp: Likewise.
8790
8791 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8792 test if we can't handle IO to/from the inferior.
8793
8794 * gdb.c++/misc.exp: Always check for a program already being
8795 started after sending a "run" command to gdb.
8796
8797 * gdb.base/twice.exp: Start with a fresh gdb.
8798
8799 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8800 only depend on gdb's expression code, not the chill runtime.
8801
8802 * gdb.base/return.c: Put return values into variables so we
8803 can have gdb print them rather than depending on the program
8804 to print them.
8805 * gdb.base/return.exp: Corresponding changes.
8806
8807 * lib/gdb.exp: Provide default value for noinferiorio.
8808 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8809 the inferior.
8810
8811 * gdb.base/break.exp: Always check for a program already being
8812 started after sending a "run" command to gdb.
8813 (text_next_with_recursion): Don't check the output from the
8814 program's printf statement. Instead just make sure the program
8815 exited.
8816
8817 * gdb.base/commands.exp: Protect tests which need arguments with
8818 $noargs conditionals.
8819
8820 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8821
8822 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8823 of structure member arrays to match gdb/valops.c:value_addr change.
8824
8825 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8826
8827 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8828 cases.
8829
8830 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8831
8832 * configure.in (configdirs): Remove gdb.chill from default list
8833 of subdirs and then add it back in only if doing a native build.
8834 The current chill compiler does not yet work in any cross build.
8835 * Revert all signal changes from Jul 6.
8836 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8837 for sh-hms targets, allowing these tests to link, with no other
8838 changes. Testing is suppressed by setting "nosignals" in site.exp.
8839
8840 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8841
8842 * configure.in (signaldirs): Define and add to configdirs for all
8843 targets except some specific ones that are known to not support signals.
8844 Also clean up formatting.
8845 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8846 (signals, sigall): Remove rules to build.
8847 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8848 Moved to new gdb.signals directory.
8849 * gdb.signals: New test directory.
8850 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8851 signals.c signals.exp}: New or moved files.
8852
8853 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8854
8855 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8856
8857 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8858
8859 * gdb.base/return.exp: Xfail `return double' test failure
8860 on at least Solaris 2.3 and handle future/past versions on
8861 a case by case basis as appropriate. Also update message
8862 to include i*86 failures.
8863
8864 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8865
8866 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8867
8868 * lib/gdb.exp: Fix comment which erroneously identified
8869 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8870 gdb_file_cmd not gdb_load).
8871 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8872
8873 * gdb.base/setvar.exp: Make test names consistent between pass and
8874 fail cases. Use gdb_test more.
8875
8876 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8877
8878 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8879
8880 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8881
8882 * gdb.base/help.exp: Fix expected help string for `show commands'.
8883
8884 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8885
8886 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8887
8888 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8889 of a text section.
8890
8891 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8892
8893 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8894 that loop eventually terminates. Fix Connection refused logic so
8895 that testsuite will expire nicely.
8896
8897 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8898
8899 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8900 config/rom68k.exp: New tcl glue for the appropriate monitors.
8901 These all just end up calling monitor.exp.
8902 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8903 refused' by retrying. Cleanup some timeout issues.
8904 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8905 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8906 callers don't have to set/restore global timeout variable.
8907
8908 * The following set of changes centralizes management of the global
8909 timeout variable. This way, it can be set in one target dependent
8910 place instead of dozens of places scattered throughout the test suite.
8911 If you need to lengthen a timeout, then you should either set timeout
8912 in one of the config/{target}.exp files, or multiply it by a factor.
8913 Setting it to an absolute value is always going to lose for some
8914 targets.
8915 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8916 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8917 * gdb.base/funcargs.exp: Don't set timeout.
8918 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8919 * gdb.base/printcmds.exp (test_print_string_constants
8920 test_print_array_constants): Don't set timeout.
8921 * gdb.base/ptype.exp: Don't set timeout.
8922 * gdb.base/recurse.exp: Don't set timeout.
8923 * gdb.base/return.exp: Don't set timeout.
8924 * gdb.base/watchpoint.exp: Don't set timeout.
8925 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8926 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8927
8928 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8929
8930 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8931
8932 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8933
8934 * lib/gdb.exp: Disable chill tests for irix5.
8935
8936 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8937
8938 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8939 each test pass or fail.
8940
8941 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8942
8943 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8944 xlc not gcc.
8945
8946 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8947
8948 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8949
8950 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8951
8952 * config/est.exp: Fix copyright and comments. Remove dead code.
8953 Use targetname, serialport and baud variables instead of fixed
8954 constants.
8955 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8956 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8957
8958 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8959
8960 * gdb.base/watchpoint.exp: Don't run
8961 test_watchpoint_triggered_in_syscall for sunos.
8962
8963 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8964
8965 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8966 they don't seem to exist. Do include stdio.h.
8967
8968 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8969
8970 * gdb.base/a1-selftest.exp: Add alpha xfail.
8971
8972 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8973
8974 * gdb.base/watchpoint.c (main): Prompt before calling read().
8975 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8976 Revise accordingly. Remove cruft about sending "123" several
8977 times, until it gets noticed. Clean up the "print buf[0]" stuff
8978 so that it passes or fails, and waits for prompts in the usual way.
8979
8980 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8981
8982 * gdb.base/recurse.exp: Fix comment.
8983
8984 * TODO: Remove item about printing variables in nodebug.exp. Add
8985 item about enabling tests which are only run on some targets.
8986
8987 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8988 fail, make test names unique, use new gdb_test convention
8989 regarding pattern, use gdb_test more, etc.).
8990
8991 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8992 fail, make test names unique, etc.).
8993
8994 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8995
8996 * gdb.base/nodebug.c: Change return type of top and middle to
8997 short.
8998 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8999 are fixed by the recent mdebugread.c changes. Allow `short ()'
9000 as type for top and middle.
9001
9002 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9003
9004 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
9005 nearly as I can tell, the whole thing was an accident in Stu's
9006 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
9007 to replace a send/expect pair with gdb_test, but ended up only
9008 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9009 of 30 Mar 1995 took care of it, but left this vestigial comment
9010 which I am now nuking.
9011
9012 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9013
9014 * gdb.base/break.exp: Look for different line number for
9015 breakpoint at main depending on usestubs.
9016
9017 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9018
9019 * gdb.base/list.exp: Adjust some alternate expect patterns to
9020 match recent list0.c change. Add alternate expect pattern for
9021 output from `list default lines around main' for optimizing
9022 compilers.
9023
9024 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9025
9026 * lib/gdb.exp: If nosignals is not set, set it to 0.
9027
9028 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9029
9030 * config/slite-gdb.exp: Responds to load symbol table prompt.
9031 * gdb.base/break.exp: Adjust line number, fix rerun.
9032 * gdb.base/langs0.c: Add #ifdef usestubs.
9033
9034 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9035
9036 * gdb.base/list.exp: Adjust line contents after adding new lines in
9037 list0.c. Also fix a syntax error.
9038
9039 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9040 * gdb.base/break.exp: ditto.
9041 * gdb.base/list.exp: ditto.
9042 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9043 * gdb.base/run.c: ditto.
9044 * gdb.base/list0.c: ditto.
9045 * gdb.base/funcargs.c: ditto.
9046
9047 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
9048
9049 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
9050 $targetname, $serialport and $baud instead of hardwired variables.
9051 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
9052 target doesn't support signals.
9053
9054 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
9055
9056 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9057
9058 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9059
9060 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9061 Don't rely on the value of an auto variable before it has been
9062 initialized. Use gdb_test more.
9063
9064 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9065
9066 * lib/gdb.exp (default_gdb_version): A version number must start
9067 with a digit, but other than that contains all characters up to
9068 the first whitespace character.
9069
9070 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9071
9072 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9073
9074 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9075
9076 * gdb.c++/*.exp: Warn if executable does not exist. The original
9077 reason for skipping the warning was that configure.in sometimes
9078 intentionally skipped building the executables but the tcl code
9079 had no way of knowing. That (a) was always bogus with respect to
9080 error handling, (b) is no longer true (right now there is no way
9081 to skip C++ tests).
9082
9083 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9084
9085 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9086
9087 * gdb.base/list.exp: Add expect patterns for output from
9088 SunPRO compiled executables.
9089 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9090 types.
9091
9092 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9093
9094 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9095 number (we are already testing that the correct source line text
9096 gets printed).
9097
9098 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9099 that is what is intended, but something needed to be done to get
9100 sunos4 native working again.
9101
9102 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9103
9104 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9105 apparently went with a (very) old xfail.
9106
9107 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9108
9109 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9110 runto_main is a proc in gdb.exp that will do 'step' for target use
9111 stubs.
9112 * gdb.base/exprs.exp: ditto.
9113 * gdb.base/interrupt.exp: ditto.
9114 * gdb.base/opaque.exp: ditto.
9115 * gdb.base/printcmds.exp: ditto.
9116 * gdb.base/ptype.exp: ditto.
9117 * gdb.base/scope.exp: ditto.
9118 * gdb.base/setvar.exp: ditto.
9119 * gdb.base/signals.exp: ditto.
9120 * gdb.base/twice.exp: ditto.
9121 * gdb.c++/classes.exp: ditto.
9122 * gdb.c++/inherit.exp: ditto.
9123 * gdb.c++/templates.exp: ditto.
9124 * gdb.base/break.exp: no run and hit main for stubs. Change line
9125 numbers for breakpoints and info breakpoint.
9126 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9127 breakpoint().
9128 * gdb.base/callfuncs.c: ditto.
9129 * gdb.base/exprs: ditto.
9130 * gdb.base/interrupt.c: ditto.
9131 * gdb.base/opaque0.c: ditto.
9132 * gdb.base/printcmds.c: ditto.
9133 * gdb.base/ptype.c: ditto.
9134 * gdb.base/scope0.c: ditto.
9135 * gdb.base/setvar.c: ditto.
9136 * gdb.base/signals.c: ditto.
9137 * gdb.base/twice.c: ditto.
9138 * gdb.c++/misc.cc: ditto.
9139 * gdb.c++/templates.cc: ditto.
9140
9141 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9142
9143 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9144
9145 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9146 somewhere between `read' and `main.c'. I'm pretty sure the
9147 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9148 and it isn't particularly useful.
9149
9150 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9151
9152 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9153
9154 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9155
9156 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9157
9158 * config/mt-slite: add LIBS and -nostdlib.
9159 * config/slite-gdb.exp: add this new file to support sparclite target.
9160
9161 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9162
9163 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9164
9165 * gdb.base/a2-run.exp: Change argument to istarget from
9166 "*-*-vxworks" to "*-*-vxworks*".
9167 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9168
9169 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9170
9171 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9172 will not runto main but do a 'step' to step out of breakpoint().
9173 * config/mt-slite: add -Dusestubs.
9174
9175 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9176
9177 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9178 instead of just @.
9179
9180 * gdb.base/signals.exp: Add test for "handle all print".
9181 * TODO: Remove "handle all print". Also remove item about
9182 checking copyright date (I don't like the idea of a spurious FAIL
9183 based on when we run the tests).
9184
9185 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9186 for SunOS4 (reason for failure not investigated). Remove
9187 redundant test for $binfile.
9188
9189 * gdb.base/nodebug.c (array_index): Call malloc.
9190
9191 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9192
9193 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9194
9195 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9196 conventions and slightly simplify the matching regexp.
9197
9198 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9199
9200 * gdb.base/break.exp: Update gdb_test invocation to use new
9201 convention.
9202
9203 * lib/gdb.exp: If noargs is not set, set it to 0.
9204
9205 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9206 tests unique.
9207
9208 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9209
9210 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9211
9212 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9213 one argument of type "<non-float parameter>".
9214
9215 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9216
9217 * config/rom68k.exp: New file to support Motorola IDP board.
9218 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9219 * gdb.base/break.c: Change things around so that this program
9220 doesn't depend upon args. This is necessary to make remote
9221 targets work (in general, they can't take args).
9222 * gdb.base/break.exp: Don't try to send args to program. Don't
9223 expect output. Also, replace lots of code with gdb_test.
9224
9225 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9226
9227 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9228 printing of '\'' (which is what the comment says we are testing,
9229 even though we were not), not '''.
9230 (test_integer_literals_rejected): Test that printing ''' is an error.
9231
9232 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9233 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9234 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9235 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9236 Use gdb_test not test_print_accept.
9237 * lib/gdb.exp: Remove test_print_accept.
9238
9239 * gdb.base/signals.exp (signal_tests_1): Make pass message
9240 consistent with fail message.
9241
9242 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9243 unsigned char; the bug (PR 1821) is fixed.
9244
9245 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9246
9247 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9248 successful tests--makes xfailing them work right.
9249
9250 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9251
9252 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9253 only \r\n, not .*. The test can pass .* as the last thing in
9254 $pattern if that is what it wants. In addition to providing this
9255 flexibility, this change should speed up pattern matching in cases
9256 where the pattern already ended with .* (there were a number of
9257 them). This change also helps catch bad patterns--in the old
9258 scheme the typo "char \*" instead of "char \\*" would pass. Now
9259 it is caught.
9260 * Many .exp files: Update callers.
9261
9262 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9263 clearer and does not spuriously match multiple ('s. Likewise for
9264 ) and *.
9265
9266 * gdb.base/nodebug.exp: Test ability to call a function and pass
9267 it a string (even with no debugging info).
9268
9269 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9270 "p '\'", which is the same as "p ''" once tcl gets done with
9271 quoting, to "p '\\'", which I suspect is what is intended (one
9272 backslash gets sent to GDB).
9273
9274 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9275
9276 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9277
9278 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9279 1817) was fixed literally years ago.
9280
9281 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9282
9283 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9284 test, it causes stepping out of call_after_alloca_subr with
9285 optimizing compilers.
9286 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9287 fails.
9288
9289 * gdb.c++/templates.exp: Source templ-info.exp only if
9290 the templates executable exists.
9291
9292 * gdb.c++/misc.cc (class Contains_static_instance,
9293 class Contains_nested_static_instance),
9294 gdb.c++/classes.exp (test_static_members): Test printing of
9295 a class that contains a static instance of the class.
9296
9297 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9298
9299 * gdb.base/langs2.c (cppsub_): Don't prototype.
9300 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9301 only, I believe).
9302
9303 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9304
9305 * lib/gdb.exp (skip_chill_tests): New procedure.
9306
9307 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9308
9309 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9310
9311 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9312 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9313
9314 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9315
9316 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9317
9318 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9319 disassemble 8, not 16, instructions for part 4.
9320
9321 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9322 support the latter anymore.
9323
9324 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9325 -DNO_PROTOTYPES.
9326 * gdb.base/callfuncs.c: Control use of prototypes based on
9327 NO_PROTOTYPES, not __STDC__.
9328 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9329 t_float_values2 tests if prototypes in use.
9330
9331 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9332 t_double_values): When checking differences against DELTA, check
9333 that difference is within the range (-DELTA,DELTA), not just
9334 (-infinity,DELTA).
9335
9336 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9337
9338 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9339 'file' command firts, then 'target', then 'load', this is due to gdb
9340 target set up.
9341 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9342
9343 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9344
9345 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9346 FP load/store variants.
9347 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9348
9349 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9350
9351 * gdb.base/term.exp: Do not give a warning if not native, it is
9352 not an abnormal condition.
9353
9354 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9355
9356 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9357 t_char_array".
9358
9359 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9360
9361 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9362 are getting the version number.
9363
9364 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9365 if not native, it is not an abnormal condition.
9366
9367 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9368
9369 * lib/gdb.exp: Just use "file exists", rather than undocumented
9370 dejagnu procedure "findfile".
9371
9372 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9373
9374 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9375 (LDFLAGS): Set to -Xlinker -Ur.
9376
9377 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9378 Removed, these values are set by lib/gdb.exp.
9379
9380 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9381
9382 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9383
9384 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9385 of replicating gdb startup code.
9386
9387 * config/mt-vxworks (LDFLAGS): Set to -r.
9388 (CFLAGS_FOR_TARGET): Removed.
9389
9390 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9391 (gdb) and gdb for vxworks uses (vxgdb).
9392
9393 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9394 executable is not in the tree and host != target, use sed and
9395 program_transform_name to determine the gdb name used by the
9396 target.
9397
9398 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9399 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9400
9401 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9402
9403 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9404 floats, chars, and shorts where there are ANSI-style function
9405 definitions.
9406
9407 * gdb.base/langs.exp, gdb.base/langs*: New test.
9408 * gdb.base/Makefile.in: Build it.
9409 * TODO: Remove item about checking that C names don't get C++
9410 demangling applied; this test tests it.
9411
9412 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9413
9414 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9415 went with the const70 xfail. The xfail went away a year ago.
9416
9417 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9418
9419 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9420 for hp300.
9421
9422 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9423
9424 * gdb.base/a1-selftest.exp: Don't run on hp300.
9425
9426 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9427
9428 * Makefile.in (site.exp): Set host_alias and target_alias as well
9429 as host_triplet and target_triplet.
9430
9431 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9432
9433 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9434
9435 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9436 places as other ecoff systems).
9437
9438 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9439 ultrix.
9440
9441 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9442
9443 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9444 remove them.
9445 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9446 variable and "variable" in addition to "data variable".
9447 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9448
9449 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9450 2.
9451 * gdb.base/list1.c (long_line): Add additional statement at start
9452 of function.
9453 * gdb.base/list.exp (test_forward_search): Update line number to
9454 reflect new statement.
9455
9456 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9457
9458 * gdb.base/signals.exp: Reinitialize searched source directories
9459 after gdb_start call.
9460
9461 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9462
9463 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9464 * gdb.stabs/Makefile.in: Likewise.
9465
9466 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9467 change. Instead split the tests into smaller pieces.
9468 * gdb.disasm/hppa.s: Corresponding changes.
9469
9470 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9471
9472 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9473 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9474
9475 * gdb.base/funcargs.exp: Modify many tests so that every test
9476 either passes or fails. Make some test names unique.
9477
9478 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9479
9480 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9481 Call stty to set interrupt character.
9482
9483 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9484 for HP assembler versus GNU assembler based on actual behavior of
9485 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9486
9487 * TODO: Suggest a few more stepping tests.
9488
9489 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9490
9491 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9492 restart GDB for h8300 after a continue.
9493 (return): Add pattern to match a29k-udi behavior.
9494 * gdb.base/nodebug.exp: Remove obsolete comment.
9495 * gdb.base/regs.exp: New file, testing of register displays.
9496 * gdb.base/return.exp: Fix typo in reference to $objdir.
9497 * gdb.base/whatis.exp: Always start with a fresh GDB.
9498
9499 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9500
9501 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9502 higher, these tests generate a lot of output.
9503
9504 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9505
9506 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9507 code following the catch silently ignored some errors; without the
9508 catch they should be thrown like any other tcl error. Also, the
9509 catch used "" instead of {} which meant all the callers who wanted
9510 to include one of the characters "[]$ had to quote it an extra time.
9511 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9512 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9513 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9514 Remove extra quoting.
9515
9516 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9517
9518 * gdb.base/commands.exp: Make test names unique; every test either
9519 passes or fails. Update some comments.
9520
9521 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9522
9523 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9524
9525 The following fixes a FAIL caused by the fact that the alpha stabs
9526 configuration didn't use the ".if alpha" code in weird.def.
9527 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9528 bit pointer, so the 32 bit version works even on the alpha.
9529 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9530 Remove the stuff which allowed us to have separate versions for
9531 alpha and everything else.
9532
9533 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9534 regexp which "info func operator\[\](" is supposed to match. Fix
9535 string to send to GDB. Note that GDB still doesn't work right. Add a
9536 new test for "info func .perator\[\](" which GDB does handle correctly.
9537
9538 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9539
9540 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9541
9542 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9543 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9544 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9545 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9546 it makes the tests harder to understand and confuses test-o-matic.
9547 The preferred style is that each test provides a PASS or a FAIL,
9548 and has a unique message (e.g. "continue #54" not just "continue")
9549 which is the same for the pass and the fail.
9550 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9551 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9552 to lib/gdb.exp.
9553 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9554 prt_accept which was basically the same thing. Likewise for
9555 test_print_reject and prt_reject.
9556 * lib/gdb.exp (test_print_reject): Add some more error message
9557 patterns to match from the former printcmds.exp (prt_reject).
9558 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9559 One defect of the passcount stuff is that some of it failed to
9560 report XPASS where appropriate.
9561 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9562 stuff before and after arg in expected pattern.
9563 (test_paddr_operator_functions): Re-do test without print_addr_of;
9564 this is the only test which seems to want extra stuff there.
9565
9566 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9567
9568 * gdb.base/nodebug.exp: Update new tests to reflect improved
9569 wording of gdb output.
9570
9571 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9572 and "ptype" work on variables in files compiled without -g.
9573 Replaces commented out "maint print msymbol" tests.
9574
9575 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9576
9577 * gdb.base/setvar.c (dummy): Call malloc.
9578
9579 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9580 losing with the irix4 sed.
9581
9582 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9583 ALRM" on irix4.
9584
9585 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9586
9587 * TODO: Remove items about corefile.exp testing new exec-file and
9588 backtrace; both are now done. Add items about printing enums.
9589
9590 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9591
9592 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9593 "get signal $thissig" test fails.
9594
9595 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9596
9597 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9598
9599 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9600 compiler warning with dec alpha compiler.
9601
9602 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9603 extra \n from gdb_test call (this explains why the prompt test
9604 that I removed yesterday was there).
9605 (user_defined_command_test): Remove extra \n and prompt test.
9606
9607 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9608 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9609 doesn't exist.
9610 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9611 Also remove alpha workaround, which turns out to be because
9612 SIGABRT == SIGLOST.
9613
9614 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9615
9616 * gdb.base/help.exp: Don't test "help show".
9617
9618 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9619
9620 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9621 "set print address" is on.
9622 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9623 pass prompt to gdb_test; gdb_test already looks for the prompt.
9624
9625 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9626
9627 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9628 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9629 was to make sure that gdb can read a core file. But (a) the "read
9630 the corefile" part didn't make it to a1-selftest.exp, we just
9631 delete the corefile after creating it, and (b) we test reading
9632 corefiles in corefile.exp anyway. Also, this test left around a
9633 xgdb process on Solaris.
9634
9635 * gdb.base/corefile.exp: Also test backtrace.
9636
9637 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9638
9639 * gdb.base/commands.exp: Test a simple user defined command with
9640 arguments and if/while statements; verify the full user command is
9641 printed by "show user".
9642
9643 * gdb.base/commands.exp: Test if/while commands as part of a
9644 breakpoint command list; verify they appear in breakpoint
9645 information.
9646
9647 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9648
9649 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9650 than by dividing by zero.
9651
9652 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9653
9654 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9655 performing an inferior call with watchpoints enabled.
9656 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9657 call.
9658
9659 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9660
9661 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9662 of "file" command.
9663
9664 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9665 Add additional pattern for when "int operator int(void);" appears
9666 in a different order.
9667
9668 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9669
9670 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9671
9672 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9673 and "signal" with ".*".
9674
9675 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9676
9677 * TODO: Add note about "handle all nostop".
9678
9679 * gdb.base/{sigall.c, sigall.exp}: New test.
9680 * gdb.base/Makefile.in: Add it.
9681
9682 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9683
9684 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9685 when invoking GDB, suppresses any windowing interface.
9686
9687 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9688
9689 * config/sim-gdb: New file, simulator testing support.
9690
9691 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9692
9693 * gdb.base/interrupt.exp: Test calling func1 twice.
9694
9695 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9696
9697 * gdb.base/list.exp (test_forward_search): Set timeout higher
9698 when we'll be getting lots of output from gdb.
9699
9700 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9701 "init_malloc" to after the expect statement. Run it if that
9702 regexp is taken, but also for two others which happen if source
9703 cannot be found.
9704
9705 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9706
9707 * gdb.base/printcmds.exp: New test, for printing register before
9708 program is running.
9709
9710 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9711
9712 * gdb.base/list.exp: Correct some alternate expect patterns
9713 to reflect changes in list1.c.
9714
9715 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9716
9717 * TODO: Add item regarding large frames.
9718
9719 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9720
9721 * TODO: Remove item about enabling return.exp; it
9722 is enabled. Suggest a few more "return" tests.
9723
9724 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9725
9726 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9727 anonymous unions.
9728
9729 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9730
9731 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9732 and pr-5646.o, so "make" is the same as "make all", not "make
9733 pr-4975.o".
9734
9735 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9736
9737 * gdb.base/list.exp: Adjust expectations to reflect changes in
9738 list1.c.
9739 (test_forward_search): New test proc.
9740 * gdb.base/list1.c (long_line): New function, has long source line.
9741
9742 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9743
9744 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9745 additional line of code that was added.
9746
9747 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9748
9749 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9750 tests so as not to overflow expect's input buffers.
9751 * gdb.disasm/hppa.exp: Corresponding changes.
9752
9753 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9754
9755 Beginnings of template debugging tests.
9756 * gdb.c++/templ-info.cc: New file to test for template
9757 debugging capability of the compiler.
9758 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9759 templ-info.cc.
9760 * gdb.c++/templates.cc: Add explicit template instantiations
9761 to enable compiling with -fno-implicit-templates. Add destructor
9762 and 'value' method to T5 class for template tests.
9763 * gdb.c++/templates.exp: Add testcases for printing of template
9764 types, setting breakpoints on template methods and calling a
9765 template method.
9766
9767 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9768
9769 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9770 branch target since some assemblers (gas-2.5) may emit a
9771 relocation for the branch instead of resolving it in the
9772 assembler.
9773
9774 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9775
9776 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9777 through signal handler.
9778
9779 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9780
9781 * configure.in (*-*-netware): Use config/mt-netware.
9782
9783 * config/mt-netware: New file.
9784 * config/mt-i386-netware: Removed, separate configs for different
9785 netware architectures are no longer needed now that we have
9786 --with-headers.
9787
9788 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9789
9790 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9791 by the recent changes to use ANSI C arithmetic conversions.
9792
9793 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9794
9795 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9796 bug involving using inferior_pid to figure out whether to select a
9797 frame.
9798
9799 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9800
9801 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9802 match the current disassembler output.
9803
9804 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9805
9806 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9807 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9808 types, expect "int" as type of integer values (for now).
9809
9810 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9811
9812 * gdb.base/commands.exp: New tests for if/while commands.
9813
9814 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9815
9816 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9817 by .*, since hex values have different syntax in Chill mode.
9818
9819 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9820
9821 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9822 linefeed from expect pattern for repeated types with indices > 9.
9823
9824 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9825
9826 First part of Fortran test suite.
9827 * gdb.fortran: New directory.
9828 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9829
9830 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9831
9832 * gdb.base/default.exp: Update expect pattern for load command
9833 without arguments.
9834
9835 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9836
9837 * configure.in: Change i386 to i[345]86.
9838 * gdb.base/configure.in: Likewise.
9839 * gdb.c++/configure.in: Likewise.
9840 * gdb.chill/configure.in: Likewise.
9841
9842 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9843
9844 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9845 patterns, since that is not a valid context for comments.
9846
9847 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9848
9849 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9850 repeated types and repeated types with indices > 9.
9851
9852 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9853
9854 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9855 2417; old bug has been fixed.
9856
9857 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9858
9859 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9860 send the newline ourselves instead of assuming gdb_test will do
9861 so when passed an empty input string.
9862
9863 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9864 stabs testcode.
9865
9866 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9867
9868 * lib/gdb.exp (gdb_test): Don't send anything if the first
9869 argument is an empty string. This makes cases where we want to
9870 match output that is already in expect's buffers (for example,
9871 matching a breakpoint after gdb_run_cmd has been called) work
9872 reliably.
9873
9874 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9875
9876 * config/netware.exp: New file.
9877
9878 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9879
9880 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9881 the -B and -L prefixes so we can find the debugging stub.
9882
9883 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9884 there and we are using the gcc from the tree.
9885
9886 * gdb.base/types.c: Removed.
9887
9888 * gdb.base/configure.in: Look for makefile fragments in ../config.
9889 Recognize i386-*-netware.
9890 * gdb.c++/configure.in: Likewise.
9891
9892 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9893
9894 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9895 the correct TCL syntax.
9896
9897 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9898
9899 * gdb.base/opaque.exp: use runto instead of messing around with
9900 breakpoints. Simplify by using gdb_test.
9901
9902 * gdb.base/bitfields.exp: restart between tests on netware targets
9903 because breakpoints aren't relocated after target death. Run
9904 processes to completion.
9905
9906 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9907
9908 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9909
9910 * Makefile.in: Remove extra tabs that confuse some versions
9911 of "make". Use the newly built gdb to test with by default,
9912 rather than the first one in the tester's search path.
9913
9914 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9915
9916 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9917
9918 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9919 condition help.
9920
9921 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9922
9923 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9924
9925 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9926 running.
9927 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9928 * gdb.base/funcargs.exp: Likewise.
9929
9930 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9931 * gdb.base/funcargs.exp: Likewise.
9932
9933 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9934 message is "".
9935
9936 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9937
9938 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9939 return,signals,twice}.exp: Handle non-existant binaries
9940 consistantly.
9941
9942 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9943 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9944 might testing a cross development system.
9945
9946 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9947
9948 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9949 runtest script is relative to ${srcdir}, not ${rootdir}.
9950
9951 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9952
9953 * gdb.base/signals.exp: Allow for optionality of breakpoint
9954 address.
9955
9956 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9957
9958 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9959
9960 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9961
9962 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9963 for size_t definition.
9964 * gdb.c++/templates.cc: Likewise
9965
9966 * config/mt-i386-netware: New file.
9967
9968 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9969 defined.
9970
9971 * gdb.base/Makefile.in: Added support for systems that name core
9972 files by appending "core" to the program name.
9973 * gdb.base/a1-selftest.exp: Likewise.
9974
9975 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9976
9977 * gdb.base/return.exp: Add comment and message for `return double'
9978 test failure on Sparc Solaris.
9979
9980 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9981
9982 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9983
9984 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9985
9986 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9987 from optimizing them away.
9988 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9989 patterns to include default constructors and assignment operators,
9990 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9991 character in the output of the virtual base pointer.
9992
9993 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9994
9995 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9996 expression match in print_addr_of to avoid unintented matches.
9997 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9998 versions up to 2.5.8.
9999
10000 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10001
10002 * gdb.base/list.exp: Tweak alternate pattern for listing of an
10003 included file to run under newer versions of expect.
10004 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
10005 consecutive >'s in templates to accomodate recent cplus-dem.c change.
10006 Remove xfail for the virtual table of BDDHookV.
10007
10008 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10009
10010 * lib/gdb.exp (string_to_regexp): Set a default result.
10011 (default_gdb_start): Fix misleading message.
10012
10013 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10014
10015 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10016 Remove all CC, etc definitions.
10017 * config/mt-hpux: New file.
10018 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10019 (CFLAGS, LDFLAGS): Define.
10020 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10021
10022 * Makefile.in (site.exp): Don't insert host_os, etc.
10023 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10024 (distclean): Check existence of subdir.
10025 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10026 * gdb.base/Makefile.in: General cleanup and simplification.
10027 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10028 to build executables. Use default rule to build .o files.
10029 (EXPECT, RUNTEST, CC): Fix relative pathname.
10030 (site.exp): Don't insert host_os, etc.
10031 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10032 and/or SIGUSR1 defined.
10033 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10034 * gdb.c++/Makefile.in: General cleanup and simplification.
10035 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10036 (CFLAGS): Remove.
10037 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10038
10039 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10040
10041 * gdb.base/recurse.exp: Misc changes to get tests running again
10042 after Kung's changes to the watchpoint code.
10043 * gdb.base/watchpoint.exp: Likewise.
10044
10045 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
10046
10047 * lib/gdb.exp (string_to_regexp): Convert {\} also.
10048
10049 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
10050
10051 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10052 * lib/gdb.exp (default_gdb_start): Define.
10053 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10054 gdb.base/funcargs.exp, gdb.base/opaque.exp,
10055 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10056 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10057 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10058 Don't call gdb_target_udi in between tests.
10059
10060 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10061
10062 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10063 (which was basically just a local version of the same thing). In
10064 addition to avoiding duplication, gdb_test_exact is faster.
10065 * lib/gdb.exp (gdb_test_exact): Fix typo.
10066
10067 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10068 don't give an error.
10069
10070 * gdb.base/term.exp: Call delete_breakpoints before starting.
10071
10072 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10073 (t10): Add comment.
10074
10075 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10076
10077 Reorganization of the GDB Test Suite.
10078
10079 * gdb.base: New directory, contains all the basic tests.
10080 * gdb.c++: New directory, tests specific to C++.
10081 * gdb.chill: New directory, tests specific to Chill.
10082 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10083 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10084 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10085 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10086 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10087 t30-31 to chill).
10088 * */gdbme.*: Rename to match appropriate expect scripts.
10089 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10090 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10091 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10092 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10093 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10094 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10095 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10096 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10097 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10098 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10099 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10100 gdb.c++/virtfunc.cc: New names of C++ files.
10101 * gdb.chill/chillvars.ch: New name of Chill file.
10102 * gdb.base/configure.in, gdb.c++/configure.in,
10103 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10104 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10105 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10106 * configure.in (configdirs): Update to reflect directory changes.
10107 (target_abbrev): No longer define for any configuration.
10108 * Makefile.in: Cosmetic improvements to header comments.
10109
10110 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10111
10112 Various changes to gdb.t31:
10113
10114 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10115 * gdbme.ch: Make all key-words and predefineds be upper-case.
10116 * chillvars.exp: Expect key-words and predefinds in upper-case.
10117
10118 * chillvars.exp: Use gdb_test_exact many places.
10119 Change expected output for arrays (which now includes index labels).
10120
10121 * pr-5020.exp, gdme.ch (module PR_5020):
10122 New test, for PR-5020.
10123
10124 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10125
10126 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10127 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10128
10129 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10130
10131 * Makefile.in: Fix bit-rot in definitions of CHILL,
10132 CHILL_FOR_TARGET and Chill_LIB.
10133 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10134 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10135 CHILL, and CHILL_LIB.
10136
10137 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10138
10139 * Revert the previous changes. Please see Rob's directory
10140 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10141
10142 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10143
10144 * Makefile.in, configure.in, config/mips-gdb.exp,
10145 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10146 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10147 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10148 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10149 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10150 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10151 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10152 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10153 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10154 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10155 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10156 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10157 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10158 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10159 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10160 changes from 94Q1.
10161
10162 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10163
10164 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10165 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10166 Rob's new testing fragments.
10167
10168 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10169
10170 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10171 lib/gdb.exp: Replace error proc calls with perror.
10172
10173 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10174
10175 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10176 version also, match on casted version strings, and match on
10177 gdb startup case where the line numbers might be messed up.
10178
10179 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10180
10181 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10182 (CFLAGS): Delete it from here.
10183
10184 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10185
10186 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10187
10188 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10189
10190 * Makefile.in (RUNTEST): Default to just "runtest".
10191
10192 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10193
10194 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10195 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10196 the code has been restructured.
10197
10198 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10199
10200 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10201 \n, not just one of each.
10202
10203 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10204 /bin/cc gives a warning if you do.
10205
10206 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10207
10208 * gdb.t24/demangle.exp: change expect pattern of
10209 __t10ListS_link1ZUiRCUiPT0
10210
10211 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10212
10213 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10214 on local variables in recursive functions.
10215
10216 * gdb.t07/Makefile.in: Build the new test.
10217
10218 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10219
10220 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10221 directly. Instead compare the return values from actual calls.
10222
10223 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10224
10225 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10226
10227 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10228
10229 * From Peter Schauer with minor modifications.
10230 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10231 stops in mid-line in the caller. Add xfail for returning a float
10232 value on X86 targets.
10233
10234 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10235
10236 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10237 to avoid expect lossage.
10238 (fmem_LRbug_tests): Likewise.
10239 * gdb.disasm/hppa.s: Corresponding changes.
10240
10241 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10242 conditions to work with latest dejagnu/expect.
10243
10244 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10245 expected to fail on the PA.
10246 (backtrace in call with trampolines): Explicitly require main
10247 to be frame #1 (no trampolines should show up in backtrace).
10248
10249 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10250 "continue -expect".
10251 * gdb.t06/break.exp: Likewise.
10252 * gdb.t07/watchpoint.exp: Likewise.
10253 * gdb.t13/bitfields.exp: Likewise.
10254 * gdb.t15/{funcargs,return}.exp: Likewise.
10255 * gdb.stabs/weird.exp: Likewise.
10256 * config/{mips,udi}-gdb.exp: Likewise.
10257
10258 * hppa.sed: Enclose comments within a sed command to avoid
10259 losing with the old OSF1 sed.
10260
10261 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10262
10263 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10264 sequent dynix.
10265 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10266 * gdb.t15/funcargs.exp: Conditionally step again to really
10267 finish from marker_call_with_trampolines. Handle the case where
10268 the first step from within call_with_trampolines already steps
10269 us back to main.
10270 * gdb.t15/gdbme.c: Add comment to closing brace of
10271 call_with_trampolines for funcargs.exp.
10272
10273 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10274
10275 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10276 Fix typo(s).
10277
10278 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10279
10280 * gdb.t07/gdbme.c: More code for watchpoint testing.
10281
10282 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10283 "Hardware watchpoint" throughout file.
10284 (test_watchpoint_triggered_in_syscall): New test.
10285 (test_complex_watchpoint): New test.
10286
10287 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10288
10289 * gdbme.c (call_with_trampolines): New function to try and step
10290 into. Tests trampoline problems on the PA.
10291
10292 * funcargs.exp (localvars_in_indirect_call): No longer expect
10293 stepping into indirect call to fail on PAs.
10294 (test_stepping_over_trampolines): New test.
10295
10296 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10297
10298 * TODO: Add suggestions for static member function tests, and
10299 completion tests.
10300
10301 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10302
10303 * TODO: Add suggestions for "p/a" tests.
10304
10305 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10306 (default_gdb_exit): Replace all the hair with sending "quit" to
10307 the process with a simple close.
10308
10309 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10310
10311 * TODO: Add suggestions for shared library tests.
10312
10313 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10314
10315 * TODO: Add suggestions for x/s tests.
10316
10317 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10318
10319 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10320 "enable once", and "enable breakpoints once" with ".*".
10321
10322 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10323
10324 * TODO: Add suggestions about structure passing tests.
10325
10326 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10327
10328 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10329 the primary1 test, use work around if __GNUC__ < 2.
10330 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10331 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10332 Test for bad output rather than waiting for timeout. Issue
10333 second continue only if first continue failed.
10334
10335 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10336
10337 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10338 operator[] test with gdb_test because the old code didn't seem to
10339 be getting the quoting right with the new dejagnu.
10340
10341 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10342
10343 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10344 one from the path.
10345 * Makefile.in: Use a fresh expect if there is one, use runtest
10346 from the src tree if there is one.
10347
10348 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10349
10350 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10351 next over recursive call. Revise the tests from that point on
10352 (which had been skipped) to match GDB's actual (correct) output.
10353
10354 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10355 with next over a breakpoint whose condition is false.
10356
10357 * gdb.t00/help.exp: Comment out "help set print" tests just like
10358 (and for same reason as) "help set" test.
10359
10360 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10361
10362 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10363 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10364
10365 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10366
10367 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10368 necessary gdb_target_udi.
10369
10370 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10371
10372 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10373 1838 and 2417; they are fixed.
10374
10375 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10376 gdb.t03/ptype.exp (ptype structure, ptype union):
10377 Remove xfails; the test is looser than when the xfails were added.
10378
10379 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10380 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10381
10382 * gdb.t01/run.exp: Only run shell test if isnative.
10383
10384 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10385 since "run" automatically loads if necessary. Call gdb_target_udi
10386 after the "file" since "file" kills any execution target.
10387
10388 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10389 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10390 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10391 argument for UDI.
10392
10393 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10394
10395 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10396
10397 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10398
10399 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10400
10401 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10402 properly quoting regexps. This makes the second argument to
10403 demangle a fixed string, which matches the callers, instead of a
10404 shell-style pattern which is what the previous implementation
10405 used. Update some of the callers.
10406
10407 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10408
10409 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10410 (comib_nullified_tests): Fix typo.
10411 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10412 strings. No longer expected to fail.
10413
10414 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10415 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10416 strings. No longer expected to fail.
10417
10418 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10419 string. No longer expected to fail.
10420
10421 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10422
10423 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10424 No longer expected to fail.
10425
10426 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10427 string. No longer expected to fail.
10428
10429 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10430
10431 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10432 only in the names (I probably got most of them). I was even
10433 generous with some which differed in underscores in names, and
10434 probably missed a few, and I *still* was able to remove almost a
10435 third of the file with almost no impact on testsuite coverage.
10436
10437 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10438
10439 * gdb.t00/default.exp: Match udi_attach error message as well as
10440 the one from child_attach.
10441
10442 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10443
10444 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10445
10446 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10447 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10448
10449 * Move test with enums and partial symbols back to
10450 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10451 Reverts the change of 26 May 93. Per today's change to
10452 stabs.texinfo, the behavior that weird.exp was expecting was
10453 unreasonable; what is important is that the compiler+gdb get
10454 things right, which happens with a recent gcc. Also fix the test
10455 to deal with native compilers which put out the stab gdb can't
10456 deal with.
10457
10458 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10459
10460 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10461 in the names. The main thing these accomplish is to slow things down.
10462 Many more such duplicates surely remain.
10463
10464 * gdb.t00/help.exp: Comment out "help support" test just like
10465 (and for same reason as) "help set" test.
10466
10467 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10468
10469 * gdb.t06/break.exp: Remove setup_xfails for
10470 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10471 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10472 about known bug in gcc to include up through 2.5.8.
10473 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10474 well as "_vb$".
10475 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10476 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10477 with latest gcc and gdb.
10478 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10479 well as "_vb$".
10480
10481 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10482
10483 * configure.in (hppa*-*-*): Also configure and build stabs-only
10484 tests.
10485
10486 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10487
10488 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10489 * gdb.t10/configure.in (hppa*-*-*): Use it.
10490
10491 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10492
10493 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10494
10495 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10496
10497 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10498 versions prior to 1.13.5.
10499
10500 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10501
10502 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10503 the prompt is at the start of a line.
10504
10505 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10506
10507 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10508 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10509 in the copr tests now.
10510 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10511 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10512 expected to fail.
10513
10514 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10515
10516 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10517 gdb.t31/chillvars.exp, lib/gdb.exp:
10518 Tweak to run under either version of expect.
10519 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10520 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10521 * gdb.t11/list.exp: Remove extraneous whitespace.
10522
10523 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10524
10525 * gdb.t16/printcmds.exp (test_print_strings): Accept
10526 "(unsigned char *) " before the string.
10527
10528 * TODO: Add notes about printing of fancy types and GDB expressions.
10529
10530 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10531
10532 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10533 * gdb.t06/configure.in: Don't try to compile signals test program
10534 if doing mips-idt-ecoff.
10535
10536 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10537
10538 * Most .exp files: Tweak to run under either version of expect.
10539
10540 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10541
10542 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10543 xfails; I'm not sure why they are failing, but not because of PR 1806.
10544
10545 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10546
10547 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10548 defined in lib/gdb.exp.
10549
10550 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10551
10552 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10553 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10554 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10555 have to be typeless.
10556
10557 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10558
10559 * TODO: Add suggestion for copyright year test.
10560
10561 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10562
10563 * configure.in (*-*-lynxos*): Add stabs tests.
10564
10565 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10566
10567 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10568 so insert a tab before any assembler directive in column zero.
10569
10570 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10571 stores.
10572 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10573 stores.
10574 (fpu_short_memory_tests): Likewise.
10575
10576 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10577
10578 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10579 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10580 .stabs directives in comments.
10581
10582 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10583
10584 * TODO: New file, describing tests we could write.
10585 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10586
10587 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10588
10589 * gdb.t06/signals.exp: Add kludge to force re-sync.
10590
10591 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10592 to xgdb instead of gdb, get out of gdb.
10593
10594 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10595
10596 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10597 for info.
10598
10599 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10600
10601 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10602 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10603 * gdb.stabs/hppa.sed: New sed script for the PA.
10604
10605 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10606
10607 * gdb.stabs: Re-write weird.def and configuration to use sed
10608 instead of cpp. sed is portable and POSIX; cpp is neither.
10609
10610 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10611
10612 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10613
10614 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10615
10616 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10617
10618 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10619
10620 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10621 "_vb$".
10622 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10623 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10624
10625 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10626
10627 * lib/gdb.exp: Comment out code which depends on non-existent
10628 `transform' procedure.
10629
10630 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10631
10632 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10633 * lib/gdb.exp: Transform tool name.
10634 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10635 1.1's new error handling system.
10636
10637 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10638
10639 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10640
10641 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10642
10643 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10644 They made pattern matching so slow that timeouts happened on
10645 heavily loaded systems. Now any output from "show print" which
10646 gets us back to the GDB prompt is a PASS.
10647
10648 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10649
10650 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10651
10652 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10653
10654 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10655
10656 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10657 It is not from PR 3220.
10658
10659 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10660
10661 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10662 just started failing because they depended on the order the
10663 subcommands are presented, or exact docstring text. This kind of
10664 test is a pain and has minimal benefit.
10665
10666 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10667
10668 * gdb.t09/corefile.exp: At end of test, use "core" command with
10669 no arguments.
10670
10671 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10672
10673 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10674 17}/Makefile.in: Make it possible to run the testsuite with Sun
10675 make and CC = cross gcc by adding explicit build rules for .o
10676 files.
10677
10678 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10679
10680 * gdb.t15/funcargs.exp: Don't put comments on same line as
10681 setup_xfail (@#$*%& tcl braindamage!).
10682
10683 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10684
10685 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10686
10687 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10688
10689 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10690 * gdb.t20/inherit.exp: remove three dumplicate entries.
10691
10692 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10693
10694 * gdb.t06/break.exp: For "next over recursive call", fail on any
10695 incorrect output, not just on "factorial (value=2)".
10696
10697 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10698
10699 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10700 working now. Add an xfail if accesing a bss variable causes
10701 a memory error if the target is not yet run.
10702
10703 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10704
10705 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10706 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10707 name of __st* demangling (2 strings). Did Kung really get the
10708 more than 95 others right without testing them?
10709
10710 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10711
10712 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10713
10714 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10715
10716 * configure.in (configdirs): Add gdb.disasm
10717 * gdb.disasm: New directory for GDB disassembler tests.
10718 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10719
10720 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10721
10722 * gdb.t00/help.exp: Don't test "help set".
10723
10724 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10725 from within expect statements. None of these happen anymore and
10726 they cause regressions to be silently unnoticed.
10727
10728 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10729 messages) about known failures with gcc cygnus-2.4.5-930417.
10730
10731 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10732 comp-info.exp so it gets built if it doesn't exist.
10733
10734 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10735 it is no longer used.
10736 * gdb.t13/comp-info.c: Removed.
10737
10738 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10739
10740 * gdb.t06/signals.exp: Add xfail for sun3.
10741
10742 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10743
10744 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10745 relevant because ^C doesn't get sent but failure can be reproduced
10746 interactively).
10747
10748 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10749
10750 * gdb.stabs/alpha.mt: New configuration file for alpha.
10751 * gdb.stabs/configure.in: Use it.
10752 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10753 sharing with alpha.mt, redefine long to word via preprocessor.
10754 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10755 for alpha.
10756 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10757 native cc.
10758 * gdb.t00/teststrategy.exp: Change expect string so that we
10759 consume the `(xgdb)' from the command echo and from the gdb prompt.
10760 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10761 gdb currently compares all values as long, so this failure probably
10762 applies to any configuration where LONGEST is bigger than a target int.
10763 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10764 with gcc.
10765 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10766 to handle opaque pointers, gcc is.
10767 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10768 as first argument. Include <sys/types.h> and change all operator
10769 new definitions to use size_t.
10770 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10771 now that we use size_t.
10772
10773 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10774
10775 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10776 a long or float array cast all array members to the same type.
10777 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10778 with 64 bit longs.
10779 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10780 on alpha.
10781 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10782
10783 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10784
10785 * gdb.t24 (demangle.exp): Constructors of templates have names like
10786 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10787 section 14.6 of the ARM.
10788
10789 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10790 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10791 accomplish little and slow down the testsuite.
10792
10793 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10794 Accept spaces various places.
10795
10796 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10797
10798 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10799 with watchpoint enabled.
10800
10801 * Makefile.in: Remove definition of CC and remove the second
10802 definition of CXX (the "CXX = gcc" one remains). These definitions
10803 were causing backquotes to be expanded within backquotes, which
10804 doesn't work.
10805
10806 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10807
10808 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10809
10810 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10811
10812 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10813 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10814 by mips cc and contains no stabs entries.
10815
10816 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10817
10818 * config/vx-gdb.exp: Use fake device to load files rather than
10819 NFS.
10820 * lib/gdb.exp: New proc to do "file" command.
10821 * config/unix-gdb.exp: Use new "file" proc.
10822
10823 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10824
10825 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10826 Rework board rebooting slightly.
10827 (gdb_exit): Don't exit from the remote shell; there isn't one.
10828 * gdb.stabs/weird.exp: If a program is being debugged already,
10829 kill it.
10830 * gdb.t04/setvar.exp: Stop and restart gdb.
10831 * gdb.t05/expr.exp: Likewise.
10832 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10833 restart gdb and reload the program.
10834 * gdb.t08/opaque.exp: Likewise.
10835 * gdb.t12/scope.exp: Likewise.
10836 * gdb.t13/bitfields.exp: Likewise.
10837 * gdb.t15/funcargs.exp: Likewise.
10838 * gdb.t20/classes.exp: Likewise.
10839 * gdb.t03/ptype.exp: Increase timeout.
10840 * gdb.t16/printcmds.exp (test_print_string_constants,
10841 test_print_array_constants): Likewise.
10842 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10843 * gdb.t20/classes.exp (do_tests): Likewise.
10844 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10845
10846 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10847
10848 * gdb.stabs: Renamed *wierd* to *weird*.
10849
10850 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10851
10852 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10853 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10854
10855 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10856
10857 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10858 (do_tests): Remove xfail for whatis on one_var and two_var.
10859
10860 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10861
10862 * Makefile.in: Made cross building work better by adding
10863 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10864
10865 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10866
10867 * gdb.t15/{return.c,return.exp,Makefile.in}:
10868 New test, currently commented out.
10869
10870 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10871
10872 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10873 still running and removes the leftover named socket so GDb can do
10874 clean restarts.
10875
10876 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10877
10878 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10879 console, not GDB.
10880 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10881 cross testing works better with "make check"
10882 * config/unix-gdb: Use default procedures for exit and version.
10883 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10884 with the newest VxWorks.
10885
10886 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10887
10888 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10889 old form.
10890
10891 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10892 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10893
10894 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10895
10896 * config/unix-gdb.exp: Remove this version of gdb_exit
10897 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10898 Rob says he'll look at it when he gets back to testing boards.
10899
10900 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10901
10902 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10903 an expected fail for certain ptype commands.
10904
10905 * gdb.t20/classes.exp: Update expected results of "ptype class
10906 Base1" to account for the constructor that now appears in the type.
10907
10908 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10909
10910 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10911 disappeared from list.
10912 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10913 "alldone" proc with call to cleanup and exit.
10914 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10915 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10916 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10917 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10918 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10919 "alldone" proc with simple returns that suppress remaining
10920 tests. The alldone proc went away many months ago.
10921
10922 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10923
10924 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10925
10926 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10927
10928 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10929
10930 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10931 as vax gdb will display them.
10932
10933 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10934
10935 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10936 optimizers.
10937
10938 * scope.exp: Change "bad value for localval" messages so each one
10939 is unique.
10940
10941 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10942 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10943
10944 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10945
10946 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10947
10948 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10949 doesn't exist (due to optimization).
10950
10951 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10952
10953 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10954 contains \r because the filename is long.
10955
10956 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10957 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10958
10959 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10960
10961 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10962 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10963 Ultrix.
10964 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10965 int tests.
10966 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10967
10968 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10969
10970 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10971
10972 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
10973 to match does not match the passing case but still matches the
10974 failing case.
10975
10976 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10977
10978 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10979
10980 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10981
10982 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10983 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10984 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10985 Remove various versions of gdb_exit.
10986 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10987 gdb_exit.
10988 * config/unix-gdb.exp: gdb_exit remains here, and should override
10989 the generic version, since it's doing a lot of wierd stuff that
10990 the other versions aren't. FIXME, fold it in, or abandon this
10991 version.
10992
10993 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10994
10995 * gdb.t24/demangle.exp: Add tests for PR 3220.
10996
10997 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10998
10999 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
11000
11001 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
11002
11003 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
11004 "i386-*-*". Works for i486 as well.
11005
11006 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
11007 bug, and expand domain of xfail to all SVR4 systems, since the
11008 actual problem is likely to be in generic SVR4 /proc support.
11009
11010 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11011
11012 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11013
11014 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11015
11016 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11017 xfails for other systems. Match a missing 'Continuing.' as an
11018 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11019
11020 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11021 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11022 Only issue warning for missing executables if -all option is used.
11023
11024 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11025 file if -all option is used. It's like an unpredictable XFAIL.
11026
11027 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11028
11029 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11030 for dynamically linked binaries.
11031
11032 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11033
11034 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11035
11036 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11037 to state that this is a known bug in old versions of g++.
11038
11039 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11040
11041 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11042 while waiting for `Continuing'.
11043
11044 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
11045
11046 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
11047 in text, data, and bss.
11048 * gdb.t10/nodebug.c: Add local and global test variables for
11049 initialized and uninitialized data.
11050
11051 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11052
11053 * config/unix-gdb.exp (gdb_exit): Add "wait".
11054
11055 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11056
11057 * gdb.t06/signals.exp: xfail the continue from the handler for all
11058 targets.
11059
11060 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11061 function with watchpoints enabled, the i386 call dummy starts with
11062 a call.
11063
11064 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11065 386 bsd names its corefiles.
11066
11067 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11068
11069 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11070 compilers don't grok it.
11071 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11072 with small octal ints rather than character constants, which
11073 are signed and might not fit if first promoted to int.
11074
11075 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11076
11077 * gdb.t09/Makefile.in (clean): Remove corefile.
11078
11079 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11080
11081 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11082
11083 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11084 and Jim Kingdon (kingdon@cygnus.com)
11085
11086 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11087 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11088 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11089
11090 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11091
11092 * gdb.t17/interrupt.exp: Add xfail for hppa.
11093
11094 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11095
11096 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11097 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11098 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11099 to determine signed-ness of bitfields and use the result to setup
11100 the xfail.
11101 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11102 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11103 call line is reached if necessary.
11104
11105 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11106
11107 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11108
11109 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11110
11111 * gdb.t06/break.exp: Also test `clear' command.
11112
11113 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11114
11115 * gdb.t00/teststrategy.exp: Remove extra quote.
11116
11117 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11118 watchpoint enabled to be for all non-68k machines.
11119
11120 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11121
11122 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11123
11124 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11125 targets use aout.mt instead of ecoff.mt as gas understands
11126 standard aout format.
11127
11128 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11129
11130 * lib/gdb.exp (runto): Don't insist that function we are running to
11131 was compiled with -g.
11132
11133 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11134
11135 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11136 to get back into the read system call.
11137 Accept leading newline in case where we woke it up.
11138
11139 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11140
11141 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11142 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11143 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11144 enable ecoff configuration.
11145
11146 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11147
11148 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11149
11150 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11151
11152 * gdb.t16/printcmds.exp: Add another printf test.
11153
11154 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11155
11156 * configure.in: If configured -with-stabs on any target, add
11157 stabsdirs to configdirs.
11158
11159 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11160
11161 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11162 fun" so pattern does not match the command itself.
11163
11164 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11165
11166 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11167
11168 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11169
11170 * gdb.t17/interrupt.exp: Test for more things.
11171
11172 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11173
11174 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11175 compiler arranges the code and line numbers.
11176
11177 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11178
11179 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11180
11181 * gdb.t00/help.exp: Increase expect input buffer size.
11182
11183 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11184
11185 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11186
11187 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11188
11189 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11190
11191 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11192 [0-9]*, not just [0-9].
11193
11194 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11195
11196 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11197
11198 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11199
11200 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11201
11202 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11203
11204 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11205
11206 * gdb.t06/signals.c: Add xfails for sun3.
11207
11208 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11209
11210 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11211 test_stepping tests.
11212
11213 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11214
11215 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11216
11217 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11218
11219 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11220 rather than actually putting it through cpp twice.
11221
11222 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11223
11224 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11225
11226 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11227 no longer needed.
11228
11229 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11230
11231 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11232
11233 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11234 C++ features prints as "struct", make it a pass, not an xfail.
11235
11236 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11237
11238 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11239 Don't require VA to print as "class" rather than "struct".
11240
11241 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11242
11243 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11244
11245 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11246
11247 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11248
11249 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11250
11251 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11252 order.
11253
11254 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11255
11256 * gdb.t16/printcmds.exp: Add printf tests.
11257
11258 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11259
11260 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11261
11262 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11263
11264 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11265 pass counts, to counteract any existing or future setup_xfails.
11266
11267 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11268
11269 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11270 {BEGIN,END}_COMMON for common block instead of STAB.
11271 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11272
11273 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11274 intp_var should be N_GSYM not N_LSYM.
11275 wierd-aout.S: Use a label for the value of the N_SO.
11276 wierd.def: Remove all backslashes.
11277 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11278
11279 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11280
11281 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11282 get the expected next to inheritance3.
11283
11284 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11285
11286 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11287 now that gcc-2.4 gets it right.
11288
11289 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11290
11291 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11292
11293 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11294 generating comp-info.exp which works for cross-compilation.
11295
11296 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11297
11298 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11299 "*-*-sysv4.*".
11300
11301 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11302
11303 * gdb.t01/run.exp: Start with a fresh gdb.
11304 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11305 SVR4.x.
11306
11307 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11308
11309 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11310 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11311 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11312 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11313 things to remove.
11314
11315 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11316
11317 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11318 test cases from bug reports.
11319
11320 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11321
11322 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11323 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11324 avoid spurious xfails.
11325 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11326 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11327 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11328
11329 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11330
11331 * gdb.t00/teststrategy.exp: Rework to provide more useful
11332 description of each test, fix problem with systems that define
11333 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11334 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11335 results for "next over recursive call" so timeouts aren't taken
11336 by error.
11337
11338 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11339
11340 * gdb.t12/scope.exp: Test printing of variables before run.
11341
11342 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11343 printed in wrong order due to sorting.
11344
11345 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11346
11347 * gdb.t00/teststrategy.exp: Fix expected results for printing
11348 user entered string constant. Is array of char, prints with no
11349 address.
11350
11351 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11352 commands.
11353 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11354 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11355 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11356 of struct of char arrays.
11357 * gdb.t00/radix.exp: New tests for radix commands.
11358
11359 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11360
11361 * gdb.t16/printcmd.exp: Print a variable before running program
11362 (with xfail for AIX).
11363
11364 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11365
11366 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11367
11368 * gdb.t16/printcmd.exp: Don't print variables before running program.
11369
11370 * gdb.t06/break.exp: Don't require envp argument to main.
11371
11372 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11373
11374 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11375 Add xfails for rs6000.
11376
11377 * gdb.t02/whatis.exp: Change other tests not to re-test something
11378 we already tested.
11379
11380 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11381 each type used has a variable of that type.
11382
11383 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11384
11385 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11386
11387 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11388
11389 * configure.in: change srctrigger to be a file, not a directory
11390
11391 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11392
11393 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11394
11395 * gdb.t11/list.exp: Fixed a couple of typos.
11396
11397 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11398
11399 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11400 is fixed and PR is closed.
11401 * gdb.t16 (gdbme.c): Add simple test string variable.
11402 * gdb.t16 (printcmds.exp): Add tests with simple test string
11403 variable, primarily for boundaries on "set print elements".
11404
11405 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11406
11407 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11408 Make leading 0's optional and don't expect a tab in the middle
11409 of the number.
11410
11411 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11412
11413 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11414 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11415 don't end command passed to gdb_test with newline.
11416
11417 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11418 signed keyword away, don't expect signed bitfields to be signed.
11419
11420 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11421 printing with only as many 1's as are in the field as well as printing
11422 with 32 1's (see comment).
11423
11424 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11425
11426 * gdb.t00/default.exp: Start with a fresh gdb.
11427 * configure.in (configdirs): Remove gdb.t31 until the chill
11428 compiler works again. It no longer is able to find chillrt0
11429 since it isn't in libchill.a anymore.
11430 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11431 wierd.o, make more modular.
11432 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11433 spurious newlines that caused problems.
11434
11435 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11436
11437 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11438 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11439 gdb.stabs/wierd.{exp,def}: Many new tests.
11440
11441 * gdb.t00/default.exp: update info line for new message.
11442
11443 * gdb.t02/{whatis.exp,gdbme.c}:
11444 Test that "char *" doesn't print as "caddr_t".
11445
11446 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11447
11448 * gdb.t00/help.exp: Use .* in place of some help messages which
11449 just changed.
11450 gdb.t00/default.exp: Update "info frame" test for new message.
11451 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11452 Remove some xfails
11453
11454 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11455
11456 * gdb.t03/{gdbme.c,ptype.exp}:
11457 Add tests for typedef'd struct and union without tags.
11458 Also check "whatis" on a variable of a typedef'd enum without a tag.
11459
11460 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11461 PRMS 1823; the bug still exists but isn't reproduced by this test
11462 anymore), and remove rs6000 XFAIL (the bug is fixed).
11463
11464 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11465 duplicated from whatis.exp. For those that are left, accept
11466 "long", "long int", or "int" for long variables (whatis.exp already
11467 has an XFAIL for "int", so no need to fail it here).
11468
11469 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11470 Deal with GCC's names for types now that GDB uses the compiler's names.
11471
11472 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11473 setup_xfail's for sunos4. If we #defined the signed keyword away,
11474 don't expect GDB to know that char it is signed.
11475
11476 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11477
11478 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11479
11480 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11481 should work on any system, regardless of debugging format.
11482 * gdb.t21/demangle.exp: Move to gdb.t24.
11483 * gdb.t24/demangle.exp: Move from gdb.t21.
11484 * gdb.t24/{Makefile.in, configure.in}: New files.
11485
11486 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11487
11488 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11489 * gdb.stabs: New directory.
11490
11491 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11492
11493 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11494 not just "Quit anyway?".
11495
11496 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11497
11498 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11499 that all setup_xfails are immediately followed by clear_xfails.
11500
11501 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11502
11503 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11504 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11505 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11506 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11507 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11508 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11509 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11510 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11511 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11512 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11513 gdb.t31/chillvars.exp, lib/gdb.exp:
11514 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11515 bug-gdb@prep.ai.mit.edu.
11516
11517 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11518
11519 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11520 with 0.0, not integer 0.
11521
11522 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11523
11524 * gdb.t06/break.exp: Update for "Kill the program" message change.
11525
11526 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11527
11528 * Makefile.in (GDBFLAGS): Set to -nx.
11529 * Makefile.in (site.exp): Use GDBFLAGS.
11530
11531 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11532
11533 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11534 Makefiles.
11535 (check): depend on just-check.
11536 (just-check): added so that tests can be run without a noop
11537 build pass.
11538
11539 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11540
11541 Switch to using configure's configdirs.
11542 * Makefile.in (Makefile): add configure.in dependency.
11543 (SUBDIRS): removed redundant assignment.
11544 * configure.in: switch subdirs assignment to configdirs.
11545 * gdb.t*/configure.in: new files.
11546
11547 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11548
11549 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11550 works.
11551
11552 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11553
11554 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11555 in explicit rules. Apparently this is not supported by some makes.
11556
11557 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11558
11559 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11560
11561 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11562
11563 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11564 disappeared.
11565
11566 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11567
11568 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11569
11570 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11571
11572 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11573 watchpoint problem that is now fixed.
11574 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11575 uninitialized convenience variables.
11576 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11577 structures.
11578
11579 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11580
11581 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11582 which causes expect to get out of sync with gdb on long output
11583 from help set.
11584 * gdb.t09/corefile.exp: Make expected pattern for core file
11585 failing signal and frame output format less sun specific.
11586
11587 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11588
11589 * gdb.t31/chillvars.exp: Add and remove initial dummy
11590 breakpoint, so that symbol table is forced in.
11591 (Needed at least on Sunos4, though it seems not SVR4.)
11592 * gdb.t31/chillvars.exp: Update for changed output format.
11593
11594 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11595
11596 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11597
11598 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11599
11600 * Makefile.in: Added --srcdir when invoking runtest, removed the
11601 need for a local config file. (optional now)
11602
11603 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11604
11605 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11606 failure count used to force early termination. Add some more
11607 expected failures for gnu style demangling.
11608
11609 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11610
11611 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11612 pmi variable from gdb.t20/gdbme to get optimized away.
11613 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11614 Check for written corefile upon timeout _and_ eof.
11615
11616 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11617
11618 * config/unix-gdb.exp: Add missing return 0.
11619
11620 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11621
11622 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11623 test termination.
11624
11625 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11626
11627 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11628 disappeared.
11629
11630 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11631
11632 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11633 time as i860 support works.
11634
11635 * gdb.t15/funcargs.exp: Fix expected outputs to include
11636 "backtrace 100\r" rather than just "backtrace\r", to match last
11637 change.
11638
11639 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11640
11641 * config/udi-gdb.exp (gdb_exit): Remove close command.
11642 (gdb_target_udi): New procedure to set the UDI target.
11643 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11644 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11645 Added waits for prompts after several question responses. Added
11646 some more responses used by a29k-amd-udi-gdb.
11647 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11648 pass different arguments, restart UDI connection after program
11649 completion.
11650 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11651 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11652 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11653 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11654 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11655 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11656 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11657 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11658 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11659 after program completion.
11660 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11661 compiled with a SELECT_VECS setting.
11662 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11663 infinite recursion.
11664
11665 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11666 Added checks for COFF results, and made them expected failures for
11667 all targets. It would be better to make them expected failures
11668 for COFF targets only.
11669
11670 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11671
11672 * Makefile.in: add null dvi target, don't bother to recurse
11673 through test directories for info and install-info; rename
11674 $(datadir) to be dejagnu instead of deja-gnu
11675
11676 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11677
11678 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11679 compiler to coredump.
11680 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11681 code.
11682
11683 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11684
11685 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11686 coredump.
11687 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11688 code.
11689
11690 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11691
11692 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11693 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11694 which in a shell. Deletes xgdb when done.
11695 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11696 Tests the return from the "set height" or "set width" commands.
11697 Added a few return codes where needed.
11698
11699 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11700
11701 * Makefile.in (SUBDIRS): Add gdb.t17.
11702 * configure.in (subdirs): Add gdb.t17.
11703 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11704 files to test gdb's calling of functions in the inferior with
11705 the correct arguments and gdb's ability to retrieve any
11706 result returned.
11707
11708 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11709
11710 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11711 may be called after gdb goes away. Previous versions of expect
11712 needed these to avoid file descriptor leaks, but they cause
11713 errors with the current revision of expect.
11714 * gdb.t00/gdbvars.exp: Use -re on expected output after
11715 setting sevenbit-strings.
11716 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11717 to set sevenbit-strings consistent across tests.
11718 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11719 set sevenbit-strings consistent across tests.
11720
11721 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11722
11723 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11724 expected output to match current "expect" expectations.
11725
11726 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11727
11728 * gdb.t00/default.exp: Change expected output for default "source"
11729 command, to match new gdb behavior which requires a filename to
11730 source.
11731
11732 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11733
11734 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11735 expected fail for i486-*-* that misses the marker2 function.
11736 * gdb.t10/crossload.exp (bfddefault): Allow successful
11737 recognition of a format to pass even if no symbols are found.
11738 Explicitly catch failures where the format is not recognized
11739 or is ambiguous, and add the reason to the fail message.
11740 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11741 the cause is and invalid target and add reason to failure message.
11742 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11743 elf32-i386, elf32-sparc, and elf32-i860.
11744 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11745 Set up expected failure for 'filename'::variable scope resolution,
11746 which is now apparently broken on all targets.
11747 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11748 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11749 gdb.t23/templates.exp: Change failure for missing binfile into
11750 just a warning.
11751 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11752 references.
11753
11754 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11755
11756 * gdb.t00/default.exp: Add expected output for default "source"
11757 command, to match new gdb behavior.
11758 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11759
11760 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11761
11762 * config/*-gdb.exp: returns an error, rather than exiting on
11763 internal errors.
11764
11765 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11766
11767 * gdb.t03/gdbme.c: Add pointer to struct variable.
11768 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11769 referencing struct members.
11770
11771 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11772
11773 * configure.in (mips-idt-ecoff): New target.
11774 * config/mips-gdb.exp: New file for remote board using MIPS remote
11775 debugging protocol.
11776
11777 * Redid configuration scheme. Removed gdb.t*/configure.in.
11778 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11779 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11780 distclean targets. Built executables via .o files. Adjusted
11781 tests to account for source files in $(srcdir) rather than
11782 $(objdir).
11783 * lib/gdb.exp (runto): Don't expect () after the function name,
11784 because it may have arguments.
11785
11786 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11787
11788 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11789 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11790 expected failures for mips-idt-* and mips-sgi-*.
11791 * gdb.t00/default.exp (attach): Kill process if requested.
11792 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11793 that does not read core files.
11794 * gdb.t01/run.exp: Removed checks for exit status code.
11795 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11796 it is linked in.
11797 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11798 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11799 appropriate, rather than doing it by hand.
11800 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11801 execution.
11802 * gdb.t10/crossload.exp: Kill existing program if needed.
11803 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11804 appropriate, rather than doing it by hand. Always increase
11805 timeout for this test, not just for VxWorks.
11806
11807 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11808
11809 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11810 of Chill STRUCT types and STRUCT values.
11811 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11812 than "char".
11813 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
11814 struct2): New struct definitions and initializations to test
11815 simple Chill STRUCT types.
11816
11817 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11818
11819 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11820 the null byte at the end of strings.
11821 * gdb.t00/default.exp: Make show version insensitive to copyright
11822 date.
11823 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11824 to avoid dependencies on target char signedness.
11825 * gdb.t16/printcmds.exp: Update expected results for explicitly
11826 unsigned char.
11827 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11828 now work.
11829 * gdb.t21/demangle.exp: Add many more patterns for template
11830 demangling, most of them being expected failures.
11831 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11832 string we are matching for, to match on the whole string.
11833 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11834 and fix a whole bunch that had incorrect expected output but were
11835 passing anyway because of the bug in "proc demangle".
11836 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11837 type.
11838 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11839
11840 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11841
11842 * gdb/testsuite: made modifications to testcases, etc., to allow
11843 them to work properly given the reorganization of deja-gnu and the
11844 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11845
11846 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11847
11848 * gdb/testsuite: Initial creation of gdb/testsuite.
11849 Migrated dejagnu testcases and support files for testing nm to
11850 gdb/testsuite from deja-gnu. These files were moved "as is"
11851 with no modifications. This migration is part of a major overhaul
11852 of dejagnu. The modifications to these testcases, etc., which
11853 will allow them to work with the new version of dejagnu will be
11854 made in a future update.
11855
11856 For additional changes see gdb.mi/ChangeLog-1999-2003.
11857 \f
11858 Local Variables:
11859 mode: change-log
11860 left-margin: 8
11861 fill-column: 74
11862 version-control: never
11863 End:
This page took 0.264389 seconds and 5 git commands to generate.