]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
2002-05-27 Michael Chastain <mec@shout.net>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2002-05-27 Michael Chastain <mec@shout.net>
2
3 * gdb.c++/local.exp: Accept more nested types in output.
4
5 2002-05-26 Michael Chastain <mec@shout.net>
6
7 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
8
9 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
10
11 * lib/gdb.exp (gdb_wrapper_init): Just because
12 gdb_wrapper_file exists, this does not mean that the file
13 should not be rebuilt. That is what gdb_wrapper_initialized
14 is for.
15 (default_gdb_init): Reset gdb_wrapper_initialized.
16
17 2002-05-23 Michael Snyder <msnyder@redhat.com>
18
19 * gdb.base/all-bin.exp: Revise previous patch by just reducing
20 the precision of the floating point test results.
21 * gdb.base/call-rt-st.exp: Ditto.
22
23 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
24 * gdb.base/call-rt-st.exp: Ditto.
25
26 2002-05-19 Michael Chastain <mec@shout.net>
27
28 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
29
30 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
31
32 * configure.in (configdirs): Add gdb.arch.
33 * configure: Regenerate.
34
35 2002-05-17 Jim Blandy <jimb@redhat.com>
36
37 * gdb.base/completion.exp: Recognize the more detailed error
38 messages produced by the macro expander's lexical analyzer.
39
40 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
41
42 * gdb.arch/altivec-abi.c: New file.
43 * gdb.arch/altivec-abi.exp: New file.
44 * gdb.arch/altivec-regs.c: New file.
45 * gdb.arch/altivec-regs.exp: New file.
46
47 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
48
49 * gdb.base/maint.exp (maint print type): Update for new type
50 structure.
51
52 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
53
54 * gdb.arch: New directory.
55 * gdb.arch/configure.in: New file.
56 * gdb.arch/configure: New file.
57 * gdb.arch/Makefile.in: New file.
58
59 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
60
61 * gdb.asm/asm-source.exp: Add v850 as supported target.
62 * gdb.asm/v850.inc: New file.
63
64 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
65
66 * gdb.c++/annota2.exp (annotate-quit): Add comment.
67
68 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
69
70 * gdb.base/break.exp: Check 'break "marker2"'.
71
72 2002-05-10 Michael Snyder <msnyder@redhat.com>
73
74 * gdb.base/long_long.exp: Fix typo.
75
76 2002-05-10 Jim Blandy <jimb@redhat.com>
77
78 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
79 a bug.
80
81 * gdb.base/printcmds.exp (test_integer_literals_rejected):
82 Recognize more detailed error message produced by the macro
83 expander's lexical analyzer.
84 * lib/gdb.exp (test_print_reject): Same.
85
86 2002-05-09 Mark Kettenis <kettenis@gnu.org>
87
88 * gdb.c++/method.exp: Fix typo.
89
90 2002-05-08 Michael Snyder <msnyder@redhat.com>
91
92 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
93 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
94 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
95 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
96 Add iftarget clause for strongarm.
97
98 2002-05-06 Michael Snyder <msnyder@redhat.com>
99
100 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
101 (gdb_continue_to_end): Accept output from status wrapper.
102 * gdb.base/ending-run.exp: Add case for output from status wrapper.
103 Clean up fail messages to match pass messages.
104
105 Enable the "needs_status_wrapper" testsuite feature.
106 * lib/gdb.exp (gdb_wrapper_init): New procedure.
107 (gdb_compile): Conditionally call gdb_wrapper_init.
108 * gdb.base/a2-run.exp: Recognize output from status wrapper.
109 * gdb.c++/method.exp: Recognize output from status wrapper.
110
111 2002-05-06 Ben Elliston <bje@redhat.com>
112 From Graydon Hoare <graydon@redhat.com>
113
114 * config/sid.exp: Include support for "rawsid" protocol.
115
116 2002-05-03 Jim Blandy <jimb@redhat.com>
117
118 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
119 * gdb.c++/hang3.C: New file.
120
121 2002-05-04 Andrew Cagney <ac131313@redhat.com>
122
123 * gdb.base/default.exp: Remove obsolete code.
124 * gdb.c++/misc.exp: Ditto. Update copyright.
125 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
126 * gdb.base/whatis.exp: Ditto. Update copyright.
127 * gdb.base/scope.exp: Ditto. Update copyright.
128 * gdb.base/ptype.exp: Ditto. Update copyright.
129 * gdb.base/printcmds.exp: Ditto. Update copyright.
130 * gdb.base/opaque.exp: Ditto. Update copyright.
131 * gdb.base/list.exp: Ditto.
132 * gdb.base/funcargs.exp: Ditto. Update copyright.
133 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
134 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
135 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
136 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
137 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
138 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
139
140 2002-05-02 Michael Snyder <msnyder@redhat.com>
141
142 * gdb.base/watchpoint.exp: Add xscale target.
143 * gdb.base/long_long.exp: Add xscale target.
144 * gdb.base/default.exp: Add xscale target.
145
146 2002-05-01 Jim Blandy <jimb@redhat.com>
147
148 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
149 gdb.c++/hang.exp: New test.
150
151 2002-05-01 Fred Fish <fnf@redhat.com>
152
153 * gdb.base/completion.exp: Handle completions of "./Make" for
154 more than one completion possibility, as is the case when we
155 build and test in the source tree.
156
157 2002-04-29 Anthony Green <green@redhat.com>
158
159 * gdb.java/jmisc1.exp: New file.
160 * gdb.java/jmisc2.exp: New file.
161
162 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
163
164 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
165
166 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
167
168 * gdb.base/help.exp: Change 'help status' to allow for target
169 dependent output differences.
170
171 2002-04-22 Michael Chastain <mec@shout.net>
172
173 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
174
175 2002-04-22 Michael Chastain <mec@shout.net>
176
177 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
178
179 2002-04-17 David S. Miller <davem@redhat.com>
180
181 * gdb.asm/sparc64.inc: New file.
182 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
183
184 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
185
186 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
187 instruction file directly into the build tree. Clean up at end of
188 test.
189
190 2002-04-18 David S. Miller <davem@redhat.com>
191
192 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
193 handle 64-bit platforms correctly.
194 * gdb.base/maint.exp: Likewise.
195
196 2002-04-18 Kevin Buettner <kevinb@redhat.com>
197
198 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
199 ``-fpic'' when compiling files comprising a shared library, but
200 it does need additional linker flags in order to find shared
201 libraries at run time.
202
203 2002-04-18 Kevin Buettner <kevinb@redhat.com>
204
205 * gdb.base/cvexpr.c (use): New function.
206 (main): Invoke use() on all global variables to prevent
207 some linkers from deleting these otherwise unused symbols.
208
209 2002-04-17 Michael Chastain <mec@shout.net>
210 From David S. Miller <davem@redhat.com>
211
212 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
213 handle 64-bit platforms correctly.
214
215 2002-04-12 Michael Snyder <msnyder@redhat.com>
216 From Jim Blandy <jimb@redhat.com>
217 * gdb.base/foo.c (foox): Remove section attribute; the linker
218 script can handle this instead.
219 * gdb.base/bar.c (barx): Same.
220 * gdb.base/baz.c (bazx): Same.
221 * gdb.base/grbx.c (grbxx): Same.
222
223 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
224 manager doesn't automatically unmap overlays unnecessarily.
225
226 2002-04-10 Martin M. Hunt <hunt@redhat.com>
227
228 * gdb.base/ending-run.exp: Fix pattern for Mips targets
229 stepping out of main.
230
231 2002-04-09 Michael Chastain <mec@shout.net>
232
233 * gdb.c++/local.cc (main): Move call to marker1() inside nested
234 scope so that the nested scope tests will make sense.
235 * gdb.c++/local.exp: Write patterns that actually work with gcc
236 (the HP patterns "were never known to work with gcc").
237 Keep the old aCC patterns too.
238
239 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
240
241 * gdb.base/attach.exp: Correct target board test.
242
243 2002-04-08 Michael Chastain <mec@shout.net>
244
245 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
246 in a const method. Add some xfail and fail cases for configurations
247 that do not emit the "const ...".
248
249 2002-04-07 Michael Chastain <mec@shout.net>
250
251 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
252 Accept "A * const" and "const A * const" as type of "this".
253 Fix spelling of getFunky throughout. Make messages uniform.
254
255 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
256
257 Work around for PR gdb/285:
258 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
259
260 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
261
262 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
263 instructions file at run time instead of configure time.
264 Sometimes we run the test in a directory that is not the one we
265 configured in.
266 * gdb.asm/configure.in: Delete creation of symlink.
267 * gdb.asm/configure: Regenerate.
268
269 2002-04-05 J. Brobecker <brobecker@gnat.com>
270
271 * gdb.gdb/xfullpath.exp: New test, to exercise the new
272 xfullpath () function.
273
274 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
275
276 * gdb.asm/Makefile.in: Correct dependencies.
277
278 * gdb.asm/powerpc.inc: New file.
279 * gdb.asm/asm-source.exp: Add PowerPC.
280 * gdb.asm/configure.in: Likewise.
281 * gdb.asm/configure: Regenerated.
282
283 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
284
285 * gdb.base/relocate.exp: New file.
286 * gdb.base/relocate.c: New file.
287
288 2002-04-04 Fred Fish <fnf@redhat.com>
289
290 * gdb.base/step-test.exp: Update comment regarding stopping in
291 memcpy/bcopy calls inserted as part of the compiler runtime.
292
293 2002-04-04 Michael Snyder <msnyder@redhat.com>
294
295 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
296
297 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
298
299 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
300 (gdb_expect): Remove $notransfer hack.
301
302 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
303
304 * gdb.c++/classes.exp ("calling method for small class"): Match
305 updated register output.
306
307 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
308
309 Fix PR gdb/452
310 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
311 when finished. Make gdb_file_cmd send "exec-file" when
312 appropriate.
313
314 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
315
316 * gdb.base/attach.exp: Remove extra setup_xfail.
317
318 2002-03-26 Michael Snyder <msnyder@redhat.com>
319
320 * gdb.base/default.exp: Add tests for dump, append, and restore.
321 * gdb.base/help.exp: Add tests for dump, append, and restore.
322 * gdb.base/dump.exp: New file, test dump, append and restore.
323 * gdb.base/dump.c: New file.
324
325 2002-03-27 Michael Snyder <msnyder@redhat.com>
326
327 * gdb.base/help.exp: Modify expect strings to reflect
328 clean-ups in help messages.
329
330 2002-03-26 Fred Fish <fnf@redhat.com>
331
332 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
333 have debugging info for those functions and the compiler uses them
334 internally to copy structs around.
335
336 2002-03-26 Fred Fish <fnf@redhat.com>
337
338 * gdb.base/list.exp: Revert the change made yesterday and add note
339 about why we don't list the default lines for remote targets.
340
341 2002-03-25 Michael Snyder <msnyder@redhat.com>
342
343 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
344
345 2002-03-25 Fred Fish <fnf@redhat.com>
346
347 * gdb.base/list.exp: This test works on remote targets so remove
348 the short circuit for remote targets. Update copyright.
349
350 2002-03-25 Fred Fish <fnf@redhat.com>
351
352 * gdb.base/attach.exp: Fix logic error that was suppressing this
353 test for all non hppa*-*-hpux* targets, instead of the hp target.
354 Move comments closer to the suppression point. Also now need to
355 check that we are running natively.
356
357 2002-03-22 Michael Snyder <msnyder@redhat.com>
358
359 * gdb.base/default.exp: Add test for gcore. Update copyright.
360 * gdb.base/help.exp: Add test for gcore. Update copyright.
361
362 2002-03-06 Fred Fish <fnf@redhat.com>
363
364 * gdb.base/funcargs.c: Remove extraneous ';' character.
365 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
366
367 2002-03-04 Michael Chastain <mec@shout.net>
368
369 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
370 accommodate gcc v3 function signature.
371 * gdb.mi/mi0-var-cmd-exp: Ditto.
372
373 2002-02-24 Andrew Cagney <ac131313@redhat.com>
374
375 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
376 ``GNU/Linux'' or ``Linux kernel''
377 * testsuite/gdb.threads/pthreads.c: Ditto.
378
379 2002-02-24 Michael Chastain <mec@shout.net>
380
381 * gdb.threads/pthreads.c (thread1): Add a return statement.
382 (thread2): Likewise.
383 (foo): Likewise.
384
385 2002-02-23 Michael Chastain <mec@shout.net>
386
387 * gdb.threads/linux-dp.c (philosopher): Add a return statement
388 to placate gcc.
389
390 2002-02-23 Michael Chastain <mec@shout.net>
391
392 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
393 test "ptype bint". The test passes on all my stabs configurations.
394
395 2002-02-21 Jim Blandy <jimb@redhat.com>
396
397 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
398 filename at a time, and watch for the ones we want to see.
399
400 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
401 types of pointers to prototyped functions.
402
403 2002-02-20 Andrew Cagney <ac131313@redhat.com>
404
405 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
406 signed, unsigned and straight char.
407 (padding_char, padding_short, padding_int, padding_long,
408 padding_long_long, padding_float, padding_double,
409 padding_long_double): New global variables.
410 (fill, fill_structs): New functions.
411
412 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
413 for correctly sized writes. Update copyright.
414 (get_valueof): New procedure.
415 (get_sizeof): Call get_valueof.
416 (check_valueof): New procedure.
417 (check_padding): New procedure.
418
419 2002-02-20 Michael Chastain <mec@shout.net>
420
421 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
422 to setup_xfail. Document some of the remaining calls.
423
424 2002-02-18 Michael Chastain <mec@shout.net>
425
426 * gdb.c++/userdef.exp: Update copyright year.
427
428 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
429
430 * gdb.c++/userdef.exp: Test overloaded operators properly.
431 Remove xfails.
432
433 2002-02-14 Michael Snyder <msnyder@redhat.com>
434
435 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
436
437 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
438
439 * gdb.base/a2-run.exp: Check for a remote target properly.
440 * gdb.base/annota1.exp: Likewise.
441 * gdb.base/list.exp: Likewise.
442 * gdb.base/reread.exp: Likewise.
443 * gdb.base/scope.exp: Likewise.
444 * gdb.base/shlib-call.exp: Likewise.
445 * gdb.base/term.exp: Likewise.
446 * gdb.c++/annota2.exp: Likewise.
447
448 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
449
450 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
451
452 2002-02-10 Michael Chastain <mec@shout.net>
453
454 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
455 (call_after_alloca): Ditto.
456
457 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
458
459 * gdb.base/ending-run.exp: Guard "cont" test with
460 gdb_skip_stdio_test.
461
462 2002-02-06 Jim Blandy <jimb@redhat.com>
463
464 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
465 from here...
466 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
467 To here. Disable this test on non-HP platforms. Add big comment.
468
469 2002-02-04 Michael Snyder <msnyder@redhat.com>
470
471 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
472 other than d10v and m32r.
473
474 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
475
476 * gdb.base/default.exp: Rewrite test patterns to reduce time
477 taken to match them.
478
479 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
480
481 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
482 Allow a start function above main.
483 * gdb.threads/linux-dp.exp: Fix copyright date.
484
485 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
486
487 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
488 (check_philosopher_stack): Check for manager thread before checking
489 for a just-starting thread.
490
491 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
492
493 From Neil Booth <neil@daikokuya.demon.co.uk>:
494 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
495 warnings.
496
497 2002-01-21 Fred Fish <fnf@redhat.com>
498
499 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
500 not caller.
501
502 2002-01-21 Jim Blandy <jimb@redhat.com>
503
504 * gdb.base/reread.exp: Check that GDB properly re-reads the
505 executable file when it changes while no inferior is running.
506
507 2002-01-21 Fred Fish <fnf@redhat.com>
508
509 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
510 optionally accept the "shlib events" variation.
511
512 2002-01-21 Jim Blandy <jimb@redhat.com>
513
514 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
515 call `fflush' after every `printf', so that the output is produced
516 at predictable points, regardless of whatever buffering does (or
517 doesn't) take place.
518 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
519 at different points.
520
521 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
522
523 * gdb.c++/inherit.exp: Update copyright years.
524 * gdb.c++/method.exp: Likewise.
525
526 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
527
528 * gdb.c++/classes.exp: Update for improved v3 support and skipping
529 artificial methods/arguments.
530 * gdb.c++/derivation.exp: Likewise.
531 * gdb.c++/inherit.exp: Likewise.
532 * gdb.c++/method.exp: Likewise.
533 * gdb.c++/virtfunc.exp: Likewise.
534
535 2002-01-18 Andrew Cagney <ac131313@redhat.com>
536
537 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
538 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
539 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
540 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
541 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
542 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
543
544 2002-01-17 Jim Blandy <jimb@redhat.com>
545
546 * gdb.asm/asm-source.exp (info symbol): Take another shot at
547 anchoring the pattern matching the entry point symbol's name.
548
549 2002-01-17 Andrew Cagney <ac131313@redhat.com>
550
551 * gdb.base/maint.exp: Update ``maint internal-error'' to match
552 continue/quit query. Update copyright.
553
554 2002-01-14 Michael Snyder <msnyder@redhat.com>
555
556 * gdb.base/gcore.exp: Remove extra debugging output.
557
558 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
559
560 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
561 for slightly dubious v2 mangled string.
562
563 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
564
565 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
566
567 2002-01-10 Jason Merrill <jason@redhat.com>
568
569 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
570
571 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
572 constructors.
573 * gdb.c++/derivation.exp: Likewise.
574 * gdb.c++/templates.exp: Likewise.
575 * gdb.c++/virtfunc.exp: Likewise.
576
577 2002-01-10 Michael Snyder <msnyder@redhat.com>
578
579 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
580
581 2002-01-08 Michael Snyder <msnyder@redhat.com>
582
583 * gdb.base/gcore.exp: New test for generate-core-file command.
584 * gdb.base/gcore.c: Testcase for above.
585 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
586
587 2002-01-08 Jason Merrill <jason@redhat.com>
588
589 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
590
591 2002-01-07 Fred Fish <fnf@redhat.com>
592
593 * gdb.c++/overload.exp: Remove unconditional xfails for:
594 print foo_instance1.overloadargs(1)
595 print foo_instance1.overloadargs(1, 2)
596 print foo_instance1.overloadargs(1, 2, 3)
597 print foo_instance1.overloadargs(1, 2, 3, 4)
598 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
599 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
600 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
601 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
602 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
603 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
604 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
605 print foo_instance1.overload1arg()
606 print foo_instance1.overload1arg((char)arg2)
607 print foo_instance1.overload1arg((signed char)arg3)
608 print foo_instance1.overload1arg((unsigned char)arg4)
609 print foo_instance1.overload1arg((int)arg7)
610 print foo_instance1.overload1arg((unsigned int)arg8)
611 print foo_instance1.overload1arg((float)arg11)
612 print foo_instance1.overload1arg((double)arg12)
613
614 2002-01-07 Michael Snyder <msnyder@redhat.com>
615
616 * gdb.base/huge.exp: New test. Print a very large target data object.
617 (skip_huge_test): New test variable. Define if you want to skip this
618 test. The test reads an 8 megabyte data object from the target, so it
619 might be very time consuming on remote targets with a slow connection.
620 * gdb.base/huge.c: New file. Test case for above.
621
622 2002-01-07 Fred Fish <fnf@redhat.com>
623
624 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
625 g_instance.bfoo, and g_instance.cfoo.
626
627 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
628
629 * gdb.base/break.c (multi_line_if_conditional): New function.
630 (multi_ilne_while_conditional): Likewise.
631 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
632 IF or WHILE condition puts the breakpoint at the start of
633 the condition.
634
635 * gdb.base/selftest.exp (backtrace through signal handler): Remove
636 hppa*-*-hpux* expected failure.
637 * gdb.base/structs.exp (do_function_calls): Similarly.
638
639 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
640 watchpoints.
641
642 2002-01-06 Andrew Cagney <ac131313@redhat.com>
643
644 Fix PR gdb/66.
645 * gdb.base/structs.exp: Replace skip for a29k with skip for
646 gdb,cannot_call_functions.
647 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
648 * gdb.base/callfuncs.exp: Ditto.
649 * gdb.base/call-rt-st.exp: Ditto.
650 * gdb.base/call-strs.exp: Ditto.
651 * gdb.base/callfwmall.exp: Ditto.
652 * gdb.base/scope.exp: Obsolete xfail a29k.
653 * gdb.c++/misc.exp: Ditto.
654 * gdb.c++/cplusfuncs.exp: Ditto.
655 * gdb.base/ptype.exp: Ditto.
656 * gdb.base/printcmds.exp: Ditto.
657 * gdb.base/opaque.exp: Ditto.
658 * gdb.base/list.exp: Ditto.
659 * gdb.base/funcargs.exp: Ditto.
660 * gdb.base/default.exp: Ditto.
661
662 2002-01-04 Michael Snyder <msnyder@redhat.com>
663
664 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
665 * gdb.base/maint.exp: Add tests for maint info sections options.
666
667 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
668
669 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
670
671 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
672
673 * gdb.asm/arm.inc: New file.
674 * gdb.asm/asm-source.exp: Add arm targets.
675 * gdb.asm/configure.in: Ditto.
676 * gdb.asm/configure: Recreated from configure.in.
677
678 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
679
680 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
681 with HP's compiler.
682 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
683 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
684 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
685 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
686
687 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
688 either HP's compilers or GCC.
689
690 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
691 a SIGBUS or SIGSEGV.
692
693 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
694
695 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
696 can be compiled with either HP's compiler or GCC.
697
698 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
699 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
700 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
701
702 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
703 to match current gdb output. Update due to using auto-solib-limit
704 for limiting instead of overloading auto-solib-add.
705 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
706 test program.
707
708 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
709 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
710 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
711 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
712 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
713 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
714 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
715 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
716 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
717 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
718 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
719 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
720 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
721
722 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
723 a SIGTRAP to the inferior.
724
725 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
726
727 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
728 Substitute call to target_link by call to gdb_compile.
729
730 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
731
732 * gdb.base/break.exp: Fix HP specific search string when testing
733 backtracing in a called function.
734
735 * gdb.base/constvars.exp: Only set lang to C++ if we're
736 compiling the test with HP's compilers.
737 * gdb.base/volatile.exp: Similarly.
738
739 2001-12-19 Jim Blandy <jimb@redhat.com>
740
741 * gdb.base/printcmds.exp: Expect the null character to be printed
742 as '\0', and the '\013' to be printed as '\v'.
743 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
744 * gdb.base/setvar.exp: Same.
745
746 2001-12-17 Jim Blandy <jimb@redhat.com>
747
748 * gdb.base/completion.exp: Rather than completing very long
749 filenames, which can make the readline library produce output we
750 don't recognize, cd to the directory first, and then complete
751 using nice, short relative paths.
752
753 * gdb.base/completion.exp: On some systems, there is, in fact, a
754 variable named `b' in scope, since GDB treats all static
755 variables as being in scope. So use `no_var_named_this'
756 instead of `b'.
757
758 * gdb.base/corefile.exp: Recognize the message saying that GDB
759 can't find the core file's registers as a failure.
760
761 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
762
763 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
764 test expect string more specific.
765
766 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
767
768 * gdb.asm/asm-source.exp: Add support for xstormy16.
769 * gdb.asm/configure.in: Ditto.
770 * gdb.asm/configure: Rebuild.
771 * gdb.asm/xstormy16.inc: New file.
772
773 2001-12-10 Fred Fish <fnf@redhat.com>
774
775 * gdb.base/maint.exp: Update to match changes in type dumping code.
776
777 2001-12-10 Jim Blandy <jimb@redhat.com>
778
779 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
780 matching the entry point symbol's name at the beginning of the
781 line.
782
783 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
784
785 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
786 gdb.c++/inherit.exp, gdb.c++/method.exp,
787 gdb.c++/namespace.exp, gdb.c++/templates.exp,
788 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
789 and class layout support.
790
791 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
792
793 * gdb.c++/classes.exp: Add test for static member function.
794 * gdb.c++/misc.cc: Add class with static member function.
795
796 2001-12-07 Jim Blandy <jimb@redhat.com>
797
798 If GDB says it can't find the struct the function returned, report
799 those tests as `unsupported'.
800 * gdb.base/call-rt-st.exp (print_struct_call): New function.
801 Rewrite subsequent tests to use it.
802
803 If GDB says it can't find the struct the function returned, report
804 those tests as `unsupported'.
805 * gdb.base/structs.exp (call_struct_func): New function.
806 (do_function_calls): Use call_struct_func to call the functions
807 returning structs.
808
809 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
810 whether functions are prototyped or not, so we can't possibly pass
811 arguments to t_float_values2 properly.
812
813 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
814 value of `timeout' for targets other than the mips*tx39-*.
815
816 2001-12-06 Michael Snyder <msnyder@redhat.com>
817
818 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
819 and detect whether the start symbol has a leading underscore.
820
821 2001-12-04 Jim Blandy <jimb@redhat.com>
822
823 * gdb.base/completion.exp: Clarify indentation.
824
825 2001-12-03 Jim Blandy <jimb@redhat.com>
826
827 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
828 variables on the S/390, not `.word'.
829
830 2001-11-30 Jim Blandy <jimb@redhat.com>
831
832 Add assembly-source tests for s390-ibm-linux.
833 * gdb.asm/s390.inc: New file.
834 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
835 the S/390 architecture.
836 * gdb.asm/configure: Regenerated.
837
838 2001-11-30 Michael Snyder <msnyder@redhat.com>
839
840 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
841 next, info source, info sources, info line, global and static
842 variables, and static functions.
843 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
844 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
845 * gdb.asm/asmsrc1.s: Add a static function and some variables.
846 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
847 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
848 (gdbasm_leave): Restore frame pointer.
849 (gdbasm_startup): Copy stack set-up from crt0.S.
850
851 2001-11-26 Fernando Nasser <fnasser@redhat.com>
852
853 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
854 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
855 to a local (non-static) variable. Copy tstruct.a to a static buffer
856 and return a pointer to that buffer.
857 * gdb.base/callfwmall.c (t_structs_a): Ditto.
858
859 2001-11-24 Mark Kettenis <kettenis@gnu.org>
860
861 * gdb.asm/configure.in: Fix recognition of ix86 target.
862 * gdb.asm/configure: Regenerate.
863
864 2001-11-21 Michael Snyder <msnyder@redhat.com>
865
866 * gdb.asm/sparc.inc: New file.
867 * gdb.asm/asm-source.exp: Recognize sparc target.
868 * gdb.asm/configure.in: Recognize sparc target.
869 * gdb.asm/configure: Regenerate.
870
871 2001-11-21 Michael Snyder <msnyder@redhat.com>
872
873 * gdb.asm/m32r.inc: New file.
874 * gdb.asm/asm-source.exp: Recognize m32r target.
875 * gdb.asm/configure.in: Recognize m32r target.
876 * gdb.asm/configure: Regenerate.
877
878 2001-11-20 Michael Snyder <msnyder@redhat.com>
879
880 * gdb.asm/i386.inc: New file.
881 * gdb.asm/asm-source.exp: Recognize ix86 target.
882 * gdb.asm/configure.in: Recognize ix86 target.
883 * gdb.asm/configure: Regenerate.
884
885 * gdb.c++/namespace.exp: Fix quotes in output messages.
886
887 2001-11-14 Michael Snyder <msnyder@redhat.com>
888
889 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
890 qualifier in a type cast expression, to designate an address
891 in the instruction space (Harvard architecture).
892
893 2001-11-13 Michael Snyder <msnyder@redhat.com>
894
895 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
896 Tests for expressions using 'const' and 'volatile'.
897
898 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
899
900 * gdb.asm/asm-sources.exp: Allow defining linker flags.
901
902 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
903
904 * lib/mi-support.exp (mi_run_to_helper): Move comments
905 outside of gdb_expect.
906
907 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
908
909 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
910 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
911 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
912 mi0_run_to): New functions.
913 * gdb.mi/mi-simplerun.exp: Use them.
914 * gdb.mi/mi0-simplerun.exp: Likewise.
915 * gdb.mi/mi-var-cmd.exp: Likewise.
916 * gdb.mi/mi0-var-cmd.exp: Likewise.
917
918 2001-11-10 Andrew Cagney <ac131313@redhat.com>
919
920 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
921 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
922
923 2001-11-09 Andrew Cagney <ac131313@redhat.com>
924
925 * gdb.base/restore.exp: Include $expected value in restored test
926 message.
927
928 2001-11-09 Andrew Cagney <ac131313@redhat.com>
929
930 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
931 implemented.
932
933 2001-11-08 Michael Snyder <msnyder@redhat.com>
934
935 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
936 Add pass/fail message for stop at breakpoint in call dummy function.
937
938 2001-11-07 Michael Snyder <msnyder@redhat.com>
939
940 * gdb.c++/templates.exp (test_template_breakpoints):
941 If we get an overload menu, but it does not match what
942 we expect, we still need to issue the "cancel" command.
943 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
944 making the whitespace optional. Argument for "new" may be
945 "unsigned" as well as "unsigned int/long".
946 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
947 making the whitespace optional. Also replace "(void) with
948 "((void|)), making the keyword "void" optional.
949 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
950 making the whitespace optional. Also replace "(void) with
951 "((void|)), making the keyword "void" optional.
952 * gdb.base/callfuncs.c (t_float_values): This function must
953 _not_ be prototyped, and the following function (t_float_values2)
954 must be prototyped (if the compiler supports it), so that GDB
955 can be tested against both cases. Usually one case involves
956 promotion of float to double, while the other does not.
957 * gdb.base/callfwmall.c: Ditto.
958 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
959 includes a stack frame for "start".
960
961 2001-11-05 Jim Blandy <jimb@redhat.com>
962
963 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
964 pointers are 32 bits long, and that offsets of relocs are always
965 stored in the data (REL-style), and not in the reloc entry itself
966 (RELA-style).
967 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
968 stabs.
969
970 2001-11-01 Michael Snyder <msnyder@redhat.com>
971
972 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
973 and regular expression operators by using quoting.
974
975 2001-10-31 Michael Snyder <msnyder@redhat.com>
976
977 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
978 depending on what the symbol table contains.
979 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
980 the output of the ptype command. Similarly, accept both "const &"
981 and "const&".
982
983 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
984
985 * gdb.base/miscexprs.c (main): Add usage of preprocessor
986 symbol `STORAGE' to allow to choose the storage class of
987 the local datastructures.
988 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
989 compiler directive.
990
991 2001-10-30 Michael Snyder <msnyder@redhat.com>
992
993 * gdb.base/jump.exp: Allow it to run for all targets.
994
995 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
996
997 * gdb.base/call-ar-st.c (print_double_array): Match for loop
998 with new double_array size.
999 (main): Change storage class of all local variables to static.
1000 Reduce size of double_array to 9.
1001 * gdb.base/call-ar-st.exp: Increase timeout value.
1002 Change expected output for double array to match new size in
1003 call-ar-st.c.
1004
1005 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
1006
1007 * gdb.base/ending-run.exp: Create identical output when passing
1008 `step to end of run' case. Add regular expression branch satisfying
1009 Stormy16 target.
1010
1011 2001-10-28 Mark Kettenis <kettenis@gnu.org>
1012
1013 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1014 that we catch the expected failure under Linux/x86.
1015
1016 2001-10-29 Orjan Friberg <orjanf@axis.com>
1017
1018 * gdb.base/setvar.exp: Escape curly braces.
1019 * gdb.stabs/weird.exp: Ditto.
1020
1021 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
1022
1023 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1024 * gdm.mi/mi0-hack-cli.exp: Likewise.
1025
1026 2001-10-25 Andrew Cagney <ac131313@redhat.com>
1027
1028 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1029 messages.
1030
1031 2001-10-21 Andrew Cagney <ac131313@redhat.com>
1032
1033 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1034 checking MI enabled.
1035
1036 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
1037
1038 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1039
1040 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
1041
1042 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1043 if gdb child process crashes, just signal an error.
1044
1045 2001-10-02 Jim Blandy <jimb@redhat.com>
1046
1047 * lib/gdb.exp (test_xfail_format): Simplify.
1048
1049 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1050 front of the variable name `format'. Simplify `if'.
1051
1052 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
1053
1054 * gdb.threads/pthreads.exp: Wait for output and delay
1055 before sending ^C.
1056
1057 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
1058
1059 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1060 some incorrect output instead of timing out.
1061 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1062
1063 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
1064
1065 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1066 check to allow additional `int'.
1067
1068 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
1069
1070 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1071 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1072
1073 2001-09-27 Michael Snyder <msnyder@redhat.com>
1074
1075 * lib/gdb.exp (test_debug_format): New proc.
1076 (setup_xfail_format): Use new proc test_debug_format.
1077 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1078 proc; use new service proc test_debug_format.
1079 Replace all other "gcc_compiled" tests with this test.
1080 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1081 proc; use new service proc test_debug_format.
1082 Replace all other "gcc_compiled" tests with this test.
1083
1084 2001-09-27 Michael Snyder <msnyder@redhat.com>
1085
1086 * gdb.base/cvexpr.exp: New file.
1087 * gdb.base/cvexpr.c: New file
1088 Test for expressions using const and volatile keywords.
1089
1090 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
1091
1092 * gdb.base/constvars.exp: Check for different orders of keywords
1093 and additional "int" strings in output.
1094
1095 2001-09-22 Andrew Cagney <ac131313@redhat.com>
1096
1097 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
1098 responses from "help maint".
1099
1100 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
1101
1102 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
1103 to localhost:NNN instead of :NNN, in case Xvfb is listening
1104 only on TCP.
1105
1106 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
1107
1108 * gdb.base/recurse.exp: When checking leaving the watchpoint
1109 scope, recognize when gdb is in function's epilogue and pass.
1110
1111 2001-09-18 Keith Seitz <keiths@redhat.com>
1112
1113 * lib/insight-support.exp (_gdbtk_export_target_info): Add
1114 support for running tests against sid targets.
1115 (gdbtk_done): Ditto.
1116
1117 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
1118
1119 * gdb.base/ending-run.c (main): Set stdout buffersize
1120 to the same reasonable value for any target.
1121 * gdb.base/ending-run.exp: Add a regular expression
1122 to make testsuite happy on Sanyo Stormy16 target.
1123
1124 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
1125
1126 * gdb.base/display.c (do_loops): Add float variable `f'.
1127 Increment f in loop.
1128 * gdb.base/display.exp: Increment timeout by 60 seconds.
1129 Change float display test to use variable `f'.
1130
1131 2001-09-17 Jim Blandy <jimb@redhat.com>
1132
1133 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
1134 overflowing the limited breakpoint tables on some ROM monitors
1135 (like the ROM68K).
1136
1137 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
1138
1139 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
1140 the "-ac" (disable access control) flag.
1141
1142 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
1143
1144 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
1145 ints.
1146
1147 2001-08-30 Keith Seitz <keiths@redhat.com>
1148
1149 * lib/gdb.exp: Move all insight-related functionality into
1150 separate file.
1151 * lib/insight-support.exp: New file.
1152
1153 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
1154
1155 * config/sid.exp (sid_start): Never set sid verbosity; disable
1156 expect_background {} that consumed its stdout; tolerate </dev/null.
1157 Attempt to set endianness override in "sid" protocol mode. Cleanup.
1158
1159 2001-08-18 Andrew Cagney <ac131313@redhat.com>
1160
1161 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
1162 CLI jump command to start it.
1163 (mi_run_to_main): Fail immediatly when unexpected output.
1164
1165 2001-08-18 Andrew Cagney <ac131313@redhat.com>
1166
1167 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
1168 beginning of function. Fix PR gdb/191.
1169
1170 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
1171
1172 * config/sid.exp (sid_start): Don't warn if we cannot figure out
1173 what to force sid endianness to.
1174
1175 2001-08-15 Keith Seitz <keiths@redhat.com>
1176
1177 * lib/gdb.exp (gdbtk_start): Don't set environment
1178 variables for TCL_LIBRARY and friends. Insight will
1179 now figure these out for itself.
1180
1181 2001-08-02 Michael Snyder <msnyder@redhat.com>
1182
1183 * gdb.base/completion.exp: Remove the symbol "a64l" from
1184 the expect string; this is target-specific, and not related
1185 to what is being tested.
1186
1187 2001-08-02 Dave Brolley <brolley@redhat.com>
1188
1189 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
1190
1191 2001-07-25 Michael Snyder <msnyder@redhat.com>
1192
1193 * gdb.base/consecutive.exp: New file. Test stepping over
1194 breakpoints on consecutive instructions.
1195 * gdb.base/consecutive.c: New file.
1196
1197 * gdb.base/call-rt-st.exp: Use double-backslash to quote
1198 curly braces in regular expressions.
1199
1200 2001-07-25 Michael Snyder <msnyder@redhat.com>
1201
1202 * gdb.base/ending-run.exp: Accept "Program exited normally" as
1203 legitimate output from stepping out of main.
1204
1205 2001-07-22 Keith Seitz <keiths@redhat.com>
1206
1207 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
1208 the empty string, do not run the tests.
1209
1210 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1211
1212 * gdb.base/long_long.exp: Detect size of pointer. Take into
1213 account 2-byte pointers when testing for p/a results.
1214
1215 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1216
1217 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
1218 and defined to 1K for m68hc11.
1219 (random_data): Reduce table to 1K for embedded platforms (68hc11).
1220 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
1221 (sizeof_random_data): New variable to tell the size of the data table;
1222 don't test past this size; always run to main.
1223
1224 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1225
1226 * gdb.base/return2.exp: return of long long and double fails for
1227 68HC11; don't execute these tests on that platform.
1228 * gdb.base/return.exp: Return of a double fails for 68hc11.
1229
1230 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1231
1232 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
1233 tests that print a float.
1234 * call-rt-st.exp: Likewise.
1235
1236 2001-07-12 Mark Kettenis <kettenis@gnu.org>
1237
1238 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
1239 running this test on Linux.
1240
1241 2001-06-24 Michael Chastain <chastain@redhat.com>
1242
1243 * gdb.base/arithmet.exp: Remove some tests to make all test names
1244 unique.
1245
1246 2001-07-03 Michael Snyder <msnyder@redhat.com>
1247
1248 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1249 the output of the ptype command.
1250
1251 2001-07-02 Michael Snyder <msnyder@redhat.com>
1252
1253 * gdb.base/completion.exp: Don't assume that break.c is the only
1254 source file that may contain functions named "marker".
1255 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1256
1257 2001-06-28 Andrew Cagney <ac131313@redhat.com>
1258
1259 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
1260 of files to delete.
1261
1262 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
1263 * gdb.disasm/h8300s.exp: New file.
1264 gdb.disasm/h8300s.s: Likewise.
1265
1266 2001-06-27 Andrew Cagney <ac131313@redhat.com>
1267
1268 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
1269 empty breakpoint tables.
1270
1271 2001-06-25 Andrew Cagney <ac131313@redhat.com>
1272
1273 * lib/mi-support.exp: Update args=... part of stop-reason
1274 patterns. Accept either a list or a tuple.
1275
1276 2001-06-23 Andrew Cagney <ac131313@redhat.com>
1277
1278 * lib/mi-support.exp: Remove local emacs variable defining
1279 change-log-default-name.
1280
1281 2001-06-22 Michael Chastain <chastain@redhat.com>
1282
1283 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
1284 This is operationally compatible with the previous version.
1285
1286 2001-06-13 Jim Blandy <jimb@redhat.com>
1287
1288 * lib/gdb.exp (gdb_test): Doc fix.
1289
1290 2001-06-10 Michael Chastain <chastain@redhat.com>
1291
1292 * gdb.base/exprs.exp: Remove a duplicate test.
1293
1294 2001-06-06 Jim Blandy <jimb@redhat.com>
1295
1296 * gdb.base/return2.exp (main): Use values to test float and double
1297 returns that are not NaN's, to avoid being confused by IEEE
1298 comparison rules.
1299
1300 2001-06-04 Michael Snyder <msnyder@redhat.com>
1301
1302 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
1303 non-zero if control_c fails. Terminate the test on failure,
1304 rather than wait for 12 more tests to time out.
1305
1306 2001-06-06 Jim Blandy <jimb@redhat.com>
1307
1308 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
1309 Don't forget to match the GDB prompt.
1310
1311 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
1312
1313 2001-06-04 Jim Blandy <jimb@redhat.com>
1314
1315 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
1316 command.
1317
1318 2001-05-31 Kevin Buettner <kevinb@redhat.com>
1319
1320 * gdb.base/annota1.exp (info break): Match four or more spaces
1321 after "Address".
1322
1323 2001-05-31 Michael Chastain <chastain@redhat.com>
1324
1325 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
1326 (dm_type_int_star): Likewise.
1327 (dm_type_long_star): Likewise.
1328 (dm_type_void_star): Likewise.
1329
1330 2001-05-29 Kevin Buettner <kevinb@redhat.com>
1331
1332 * gdb.base/completion.exp (INPUTRC): Set this environment variable
1333 to a known value in order to get consistent results regardless
1334 of the setting of INPUTRC or the presence or contents of .inputrc.
1335
1336 2001-05-24 Michael Snyder <msnyder@redhat.com>
1337
1338 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
1339 Don't require that the main thread and the manager thread are the
1340 first in the list.
1341
1342 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
1343 debugging. If test fails, issue an "unsupported" not a "fail".
1344
1345 2001-05-24 Jim Blandy <jimb@redhat.com>
1346
1347 Don't assume that short is shorter than int.
1348 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
1349 assume that shorts are smaller than ints. On a 16-bit machine,
1350 this isn't true.
1351 ("print unsigned char == (~0)"): Add test that verifies that ~0,
1352 an int, is not equal to ~0 stored in an unsigned char. This tests
1353 the same thing that the previous test meant to, but works on
1354 16-bit machines, too.
1355 ("print unsigned char != (~0)"): Same test, complemented.
1356
1357 2001-05-24 Michael Snyder <msnyder@redhat.com>
1358
1359 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
1360 test for (full_coverage == 0). This makes the test run faster,
1361 and prevents dejagnu getting out of step.
1362
1363 2001-05-23 Kevin Buettner <kevinb@redhat.com>
1364
1365 * gdb.base/finish.exp (finish_void): Revise pattern for
1366 stopping on the call statement to not permit stopping at
1367 the start of the instructions comprising the call sequence.
1368
1369 2001-05-19 Michael Chastain <chastain@redhat.com>
1370
1371 * gdb.base/callfuncs.exp: Make all test names unique.
1372 * gdb.base/commands.exp: Make all test names unique.
1373 * gdb.base/condbreak.exp: Make all test names unique.
1374 * gdb.base/dbx.exp: Make all test names unique.
1375 * gdb.base/default.exp: Make all test names unique.
1376 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
1377 and TIMEOUT messages to their corresponding PASS message.
1378 * gdb.base/ending-run.exp: Make all test names unique.
1379 * gdb.base/long_long.exp: Remove duplicate test.
1380
1381 2001-05-21 Kevin Buettner <kevinb@redhat.com>
1382
1383 * gdb.base/finish.exp (finish_void): Allow "finish" command to
1384 stop on the call statement as well as the statement after the
1385 call.
1386
1387 2001-05-21 Michael Snyder <msnyder@redhat.com>
1388
1389 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
1390
1391 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
1392
1393 * gdb.base/completion.exp: Revamp test. Make it execute on all
1394 platforms.
1395
1396 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
1397
1398 * config/gdbserver.exp (gdb_load): Handle the case
1399 in which the arguments to gdbserver are given in the
1400 baseboard configuration file.
1401 Also handle the case in which the server needs to do a
1402 load.
1403
1404 2001-05-07 Keith Seitz <keiths@cygnus.com>
1405
1406 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
1407 set up the display for testing.
1408 (gdbtk_start): Convert all paths to paths that tcl will like.
1409 Export target information to environment.
1410 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
1411 necessary.
1412 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
1413 (to_tcl_path): New proc to convert a given pathname into
1414 a path acceptible as an argument to a tcl command.
1415 (_gdbtk_export_target_info): New proc to export target info
1416 into the environment for gdbtk testing.
1417 (gdbtk_done): New proc to signal end-of-test.
1418
1419 2001-05-06 Jim Blandy <jimb@redhat.com>
1420
1421 * restore.c: Make the code of caller0 correspond to its comment.
1422
1423 2001-05-03 Michael Snyder <msnyder@redhat.com>
1424
1425 * config/sid.exp (gdb_target_sid): Check for error messages.
1426 On error or timeout, don't make expect exit (which will terminate
1427 all subsequent tests); instead just make gdb exit.
1428 (gdb_load): Check for error messages. On error or timeout,
1429 return a negative value.
1430
1431 2001-04-24 Jim Blandy <jimb@redhat.com>
1432
1433 * gdb.c++/templates.exp: If we see the prompt for the overload
1434 list, but we haven't recognized any of the longer patterns,
1435 arrange for this test to fail, not hang.
1436
1437 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
1438 variations.
1439
1440 2001-04-22 Michael Chastain <chastain@redhat.com>
1441
1442 * gdb.c++/local.exp: Use the 'runto' library function.
1443 * gdb.c++/namespace.exp: Likewise.
1444 * gdb.c++/overload.exp: Likewise.
1445
1446 2001-03-26 Kevin Buettner <kevinb@redhat.com>
1447
1448 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
1449 * gdb.base/step-line.exp: New file. Test step/next in presence of
1450 #line directives.
1451 * gdb.base/step-line.c: New file. Test program for the above.
1452 * gdb.base/step-line.inp: New file. We pretend that this file has
1453 been transformed by some other tool into step-line.c.
1454
1455 2001-03-21 Jim Blandy <jimb@redhat.com>
1456
1457 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
1458 unmangled operator names.
1459
1460 2001-03-20 Jim Blandy <jimb@redhat.com>
1461
1462 * gdb.threads/linux-dp.exp: Recognize an additional message
1463 generated by GDB when it doesn't understand how to debug threads
1464 on the target system.
1465
1466 2001-03-19 Andrew Cagney <ac131313@redhat.com>
1467
1468 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
1469
1470 2001-03-12 Michael Chastain <chastain@redhat.com>
1471
1472 * gdb.c++/derivation.exp: Use the 'runto' library function.
1473
1474 2001-03-12 Michael Chastain <chastain@redhat.com>
1475
1476 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
1477
1478 2001-02-24 Michael Chastain <chastain@redhat.com>
1479
1480 * gdb.c++/ref-types.exp: Change handwritten code to library
1481 function 'runto'.
1482
1483 2001-03-16 Orjan Friberg <orjanf@axis.com>
1484
1485 * gdb.base/signals.exp: Set count to 0 explicitly.
1486
1487 2001-03-15 Mark Salter <msalter@redhat.com>
1488
1489 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
1490 (gdb_target_monitor): Add check of gdb_target_cmd return value.
1491 (gdb_load): Add support for additional target_info: gdb_download_size
1492 and gdb_load_timeout.
1493
1494 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
1495
1496 * gdb.base/annota1.exp: Move test of isnative to earlier in the
1497 file -- to prevent failing when the compile fails but we have no
1498 intention of running the tests anyway.
1499
1500 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
1501 tests if set.
1502
1503 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
1504 integers.
1505
1506 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
1507 * gdb.c++/namespace.exp: Ditto.
1508
1509 2001-03-07 Orjan Friberg <orjanf@axis.com>
1510
1511 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
1512 * gdb.base/pointers.exp: Relax pattern match of decimals.
1513
1514 2001-03-06 Kevin Buettner <kevinb@redhat.com>
1515
1516 * Makefile.in, config/abug.exp, config/cfdbug.exp,
1517 config/cpu32bug.exp, config/dve.exp, config/est.exp,
1518 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
1519 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
1520 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
1521 config/sh.exp, config/sid.exp, config/slite.exp,
1522 config/sparclet.exp, config/udi.exp, config/unknown.exp,
1523 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
1524 config/vxworks.exp, config/vxworks29k.exp,
1525 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
1526 gdb.base/all-bin.exp, gdb.base/annota1.exp,
1527 gdb.base/arithmet.exp, gdb.base/assign.exp,
1528 gdb.base/async.exp, gdb.base/attach.exp,
1529 gdb.base/bitfields.exp, gdb.base/bitops.exp,
1530 gdb.base/break.exp, gdb.base/call-ar-st.exp,
1531 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
1532 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
1533 gdb.base/commands.exp, gdb.base/completion.exp,
1534 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
1535 gdb.base/constvars.exp, gdb.base/corefile.exp,
1536 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1537 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
1538 gdb.base/ending-run.exp, gdb.base/environ.exp,
1539 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
1540 gdb.base/finish.exp, gdb.base/foll-exec.exp,
1541 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
1542 gdb.base/funcargs.exp, gdb.base/help.exp,
1543 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
1544 gdb.base/logical.exp, gdb.base/long_long.exp,
1545 gdb.base/maint.exp, gdb.base/mips_pro.exp,
1546 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
1547 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
1548 gdb.base/pointers.exp, gdb.base/printcmds.exp,
1549 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
1550 gdb.base/regs.exp, gdb.base/relational.exp,
1551 gdb.base/remote.exp, gdb.base/reread.exp,
1552 gdb.base/restore.exp, gdb.base/return2.exp,
1553 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
1554 gdb.base/selftest.exp, gdb.base/setshow.exp,
1555 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1556 gdb.base/sigall.exp, gdb.base/signals.exp,
1557 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
1558 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
1559 gdb.base/step-test.exp, gdb.base/structs.c,
1560 gdb.base/structs.exp, gdb.base/structs2.exp,
1561 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
1562 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
1563 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
1564 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
1565 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
1566 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
1567 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
1568 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
1569 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
1570 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
1571 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
1572 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
1573 gdb.fortran/types.exp, gdb.java/jmisc.exp,
1574 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
1575 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
1576 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
1577 gdb.trace/circ.exp, gdb.trace/collection.exp,
1578 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
1579 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
1580 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
1581 gdb.trace/report.exp, gdb.trace/save-trace.exp,
1582 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
1583 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
1584 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
1585 notices.
1586
1587 2001-02-27 Michael Snyder <msnyder@cygnus.com>
1588
1589 * gdb.base/varargs.c (find_max_double): Fix printf format string:
1590 first arg is int not float.
1591
1592 2001-02-22 Michael Snyder <msnyder@cygnus.com>
1593
1594 * gdb.base/reread.exp: Unsupported for non-native targets;
1595 doesn't work for remote debugging.
1596
1597 2001-02-19 Fernando Nasser <fnasser@redhat.com>
1598
1599 From Drew Moseley <dmoseley@redhat.com>
1600 * gdb.base/ending-run.exp: Properly handle the BSP state when
1601 stepping past the end of main.
1602
1603 2001-02-19 John Moore <jmoore@redhat.com>
1604
1605 * gdb.base/commands.exp (infrun_breakpoint_command_test):
1606 Converted HPUX fix for non-expected items following multiple
1607 step commands into general solution for all platforms.
1608
1609 2001-02-18 Michael Chastain <chastain@redhat.com>
1610
1611 * gdb.c++/classes.exp (do_tests): Change runto statements
1612 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1613 statements demangler agnostic.
1614 * gdb.c++/virtfunc.exp (do_tests): Likewise.
1615 (gdb_virtfunc_restart): Likewise.
1616
1617 2001-02-14 Michael Chastain <chastain@redhat.com>
1618
1619 * gdb.c++/inherit.exp (do_tests): Change runto statements
1620 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1621 statements demangler agnostic.
1622
1623 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
1624
1625 * gdb.threads/pthreads.exp: Unify pass/fail messages for
1626 ``continue to bkpt at common_routine in thread 2'' and ``stopped
1627 before calling common_routine 15 times'' tests.
1628
1629 2001-02-11 Michael Chastain <chastain@redhat.com>
1630
1631 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
1632 Helps the test script figure out which demangler is in use.
1633 (dm_type_foo_ref): Ditto.
1634 (dm_type_int_star): Ditto.
1635 (dm_type_long_star): Ditto.
1636 (dm_type_unsigned_int): Ditto.
1637 (dm_type_void): Ditto.
1638 (dm_type_void_star): Ditto.
1639 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
1640 Probe the gdb demangler and set variables to accommodate
1641 formatting differences.
1642 (info_func_regexp): New function. Same as info_func, but
1643 matches against a regexp.
1644 (info_func): Match against a literal string.
1645 (print_addr_2): New function. Match against a literal string,
1646 which can be different from the input to gdb.
1647 (print_addr): Simply call print_addr_2 with the same argument twice.
1648 (test_lookup_operator_functions): Use demangler formatting variables.
1649 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
1650 the tests in the same order as the C++ class declaration.
1651 (test_paddr_operator_functions): Ditto.
1652 (test_paddr_overloaded_functions): Ditto.
1653 (test_paddr_hairy_functions): Use demangler formatting variables.
1654 Add reference to gdb/19 for related tests.
1655 (do_tests): Call probe_demangler.
1656
1657 2001-01-30 Kevin Buettner <kevinb@redhat.com>
1658
1659 * gdb.c++/templates.cc (printf): Remove unused function definition.
1660
1661 2001-01-26 Felix Lee <flee@redhat.com>
1662
1663 * sid.exp (sid_exit): Pass host, not target, to remote_close.
1664
1665 2001-01-25 matthew green <mrg@redhat.com>
1666
1667 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
1668 up sid.
1669 (sid_exit): Call `remote_pop_conn' after GDB is gone.
1670
1671 2001-01-25 matthew green <mrg@redhat.com>
1672
1673 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
1674 Deprecate $sid_spawn_id.
1675 (sid_exit): Remove code necessary only for `spawn.'
1676
1677 2001-01-25 matthew green <mrg@redhat.com>
1678
1679 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
1680
1681 2001-01-28 Michael Chastain <chastain@redhat.com>
1682
1683 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
1684 to call when tests fail. It takes gdb out of the overloaded
1685 function choice menu back to the main prompt, so that the test
1686 program stays synchronized.
1687 (set_bp_overloaded): New proc to collect all the common
1688 code for setting a breakpoint on an overloaded name. Calls
1689 take_gdb_out_of_choice_menu when needed.
1690 (menu_overload1arg): New variable to collect the repeated
1691 instances of the expected menu for an overloaded name. Change
1692 the regular expression to handle changes in g++ type encoding:
1693 "void" can be either "void" or "", and "unsigned int" can be
1694 either "unsigned int" or "unsigned".
1695 (continue_to_bp_overloaded): Change regular expressions to handle
1696 changes in g++ type encoding.
1697 (no proc): Call take_gdb_out_of_choice_menu when needed.
1698 Remove redundant calls to "info break". Accept either "canceled"
1699 or "cancelled". Change regular expressions in "info break"
1700 calls to handle changes in g++ type encoding. Give all tests
1701 unique strings.
1702
1703 2001-01-17 Ben Elliston <bje@redhat.com>
1704
1705 * config/sid.exp: New file.
1706
1707 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
1708
1709 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
1710
1711 2000-12-21 Michael Snyder <msnyder@cygnus.com>
1712
1713 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
1714 Add a RE to accept a non-ascii char if one is ever presented.
1715
1716 2000-12-20 Fernando Nasser <fnasser@redhat.com>
1717
1718 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
1719
1720 2000-12-18 Michael Snyder <msnyder@cygnus.com>
1721
1722 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
1723 in regexp. One '\' does not suffice on Linux.
1724
1725 2000-12-09 Michael Chastain <chastain@redhat.com>
1726
1727 * gdb.base/break.exp (test_clear_command): Use a marker function
1728 rather than 'main' for the test function. Also move this
1729 test to an execution point where the marker function names are
1730 guaranteed to be bound to functions. (Executing tests after a
1731 'finish' from main runs into name conflicts with local names
1732 in __libc_start_main).
1733
1734 2000-12-07 Michael Snyder <msnyder@cygnus.com>
1735
1736 * gdb.base/finish.exp: New test for gdb's "finish" command.
1737 * gdb.base/return2.exp: New test for gdb's "return" command.
1738 * gdb.base/return2.c: New source file for above.
1739
1740 2000-12-05 Michael Snyder <msnyder@cygnus.com>
1741
1742 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
1743 * gdb.base/miscexprs.exp: Ditto.
1744 * gdb.base/pointers.exp: Ditto.
1745 * gdb.c++/derivation.exp: Ditto.
1746 * gdb.c++/local.exp: Ditto.
1747 * gdb.c++/namespace.exp: Ditto.
1748 * gdb.c++/overload.exp: Ditto.
1749 * gdb.c++/ref-types.exp: Ditto.
1750
1751 2000-12-05 Michael Snyder <msnyder@cygnus.com>
1752
1753 * gdb.base/constvars.exp: Test result of "up" command.
1754 * gdb.base/miscexprs.exp: Ditto.
1755 * gdb.base/pointers.exp: Ditto.
1756 * gdb.base/scope.exp: Ditto.
1757 * gdb.c++/derivation.exp: Ditto.
1758 * gdb.c++/local.exp: Ditto.
1759 * gdb.c++/namespace.exp: Ditto.
1760 * gdb.c++/overload.exp: Ditto.
1761 * gdb.c++/ref-types.exp: Ditto.
1762
1763 2000-11-22 Michael Chastain <chastain@redhat.com>
1764
1765 * mips_pro.exp: Accept either "middle -> top -> main" or
1766 "middle -> main" in the backtrace, because gcc can optimize
1767 tail calls to jumps. Remove setup_xfail for the hppa case.
1768 Add a comment with the original warning messages from PR 3016,
1769 which was filed in 1993, to preserve them for posterity.
1770
1771 2000-11-17 Nick Duffek <nsd@redhat.com>
1772
1773 * lib/gdb.exp (gdb_test): Override timeout with board info.
1774
1775 2000-11-17 Nick Duffek <nsd@redhat.com>
1776
1777 * gdb.base/display.exp: Don't kill running stub. Add "again" to
1778 the second kill and detach messages.
1779
1780 2000-11-17 Nick Duffek <nsd@redhat.com>
1781
1782 * configure.in: Add AC_EXEEXT.
1783 * configure: Regenerate.
1784 * Makefile.in (just-check): Export EXEEXT.
1785 * lib/gdb.exp ($EXEEXT): Import from environment.
1786 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
1787 expect "maint dump-me" on Cygwin.
1788 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
1789 $EXEEXT.
1790
1791 2000-11-17 Nick Duffek <nsd@redhat.com>
1792
1793 * gdb.base/break.exp: Test backtrace and finish from called
1794 function on all platforms, not just HP-UX.
1795
1796 2000-11-03 Michael Snyder <msnyder@cygnus.com>
1797
1798 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
1799 code from gdb_target_monitor, so it can be used independantly
1800 for gdbserver. Also comment out an unnecessary PUTS.
1801
1802 2000-11-03 Michael Snyder <msnyder@cygnus.com>
1803
1804 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
1805 * gdb.base/corefile.exp: Expect the message "Program is being
1806 debugged already" when we send the "corefile" command, since
1807 the preceeding gdb_load may have connected gdb to a remote target.
1808 * gdb.base/display.exp: Disable hardware watchpoints if new
1809 board info variable "no_hardware_watchpoints" is true.
1810 Replace single-letter commands with more readable ones.
1811 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
1812 if new board info variable "no_hardware_watchpoints" is true.
1813 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
1814 to see if stdio (printf) testing is possible.
1815 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
1816 board info variable "no_hardware_watchpoints" is true. Use new
1817 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
1818
1819 2000-11-13 Fernando Nasser <fnasser@redhat.com>
1820
1821 From Orjan Friberg <orjanf@axis.com>:
1822 * gdb.base/printcmds.exp: Escape curly braces followed by a number
1823 in array print pattern match.
1824
1825 2000-11-09 Fernando Nasser <fnasser@redhat.com>
1826
1827 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
1828 spelling "cancelled" to U.S. spelling "canceled" to match changes
1829 made to gdb.
1830 * gdb.c++/ovldbreak.exp: Ditto.
1831
1832 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1833
1834 * gdb.base/callfuncs.c (main): Moved to end of file, call
1835 t_double_values to initialize the FPU before inferior calls are made.
1836 * gdb.base/callfuncs.exp: Test for register preservation after calling
1837 inferior functions. Add tests for continuining, finishing and
1838 returning from a stop in a call dummy.
1839
1840 2000-10-24 Michael Snyder <msnyder@cygnus.com>
1841
1842 * gdb.base/commands.exp: Break up long lines, and re-indent.
1843
1844 2000-10-19 Michael Snyder <msnyder@cygnus.com>
1845
1846 * config/gdbserver.exp: Rewritten from the ground up, to make it
1847 compatible with the current dejagnu tree, and to make it work with
1848 the new "gdbserver" in libremote.
1849
1850 2000-10-16 Michael Snyder <msnyder@cygnus.com>
1851
1852 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
1853 * gdb.base/varargs.exp: Skip entire test if no printf support.
1854 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
1855 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
1856
1857 2000-10-13 Michael Snyder <msnyder@cygnus.com>
1858
1859 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
1860 no floating point support.
1861 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
1862 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
1863 * gdb.base/call-rt-st.exp: Ditto.
1864 * gdb.base/call-strs.exp: Ditto.
1865
1866 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
1867
1868 * gdb.base/sizeof.c: include <stdio.h>.
1869
1870 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
1871 'finish', otherwise uncaptured gdb_prompt would potentially
1872 throw remaining test points out of sync.
1873
1874 2000-07-26 Scott Bambrough <scottb@netwinder.org>
1875
1876 * gdb.base/recurse.exp: Run tests for all targets.
1877 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
1878 gnu-oldld case on ARM.
1879 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
1880 for ARM targets.
1881
1882 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
1883
1884 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
1885 * gdb.java/configure: Rebuild.
1886
1887 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
1888
1889 * gdb.java/jv-exp.exp: New file.
1890
1891 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
1892
1893 * configure: Rebuilt.
1894 * configure.in (configdirs): Add gdb.java.
1895 * gdb.java/jmisc.java: New file.
1896 * gdb.java/jmisc.exp: New file.
1897 * gdb.java/Makefile.in: New file.
1898 * gdb.java/configure: Rebuilt.
1899 * gdb.java/configure.in: New file.
1900 * lib/java.exp: New file.
1901
1902 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
1903
1904 * gdb.base/exprs.exp: Test casts to a pointer including over and
1905 underflow.
1906
1907 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
1908
1909 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
1910 and the compilers sizes.
1911
1912 2000-07-09 Nick Duffek <nsd@redhat.com>
1913
1914 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
1915 (use_methods): New function.
1916 (main): Call use_methods().
1917 * gdb.c++/classes.exp (test_method_param_class): New procedure.
1918 (do_tests): Call test_method_param_class.
1919
1920 2000-07-09 Nick Duffek <nsd@redhat.com>
1921
1922 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
1923 spelling.
1924 (test_enums): New procedure. Move enum tests from end of script
1925 to here. Set breakpoint on function name instead of line number.
1926 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
1927 (enums2): New marker function.
1928 (enums1): New function.
1929 (main): Call enums1(). Move enum tests to enums1().
1930
1931 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
1932
1933 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
1934 compile/link program. Update line numbers.
1935 * gdb.asm/d10v.inc: Define ``startup''.
1936 * gdb.asm/asmsrc1.s: Add definition of _start.
1937
1938 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
1939
1940 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
1941
1942 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1943
1944 * gdb.base/maint.exp: Add 'maint print architecture' item to output
1945 of 'help maint print' command.
1946
1947 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
1948
1949 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
1950 they use gdb_expect_list.
1951
1952 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
1953
1954 * gdb.base/commands.exp: Use ``set remote
1955 memory-read-packet-size'' instead of ``set endian big'' to test
1956 long commands.
1957
1958 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
1959
1960 * gdb.c++/templates.exp (do_tests): Make all of these work under
1961 g++, and stop skipping them.
1962
1963 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
1964 work under g++.
1965
1966 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
1967 initialization.
1968
1969 2000-06-02 Michael Snyder <msnyder@cygnus.com>
1970
1971 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
1972 the regular expression: accept an (almost) arbitrary sequence of
1973 "frames-invalid" and "breakpoints-invalid" messages both before
1974 and after the "starting" message.
1975
1976 2000-06-02 Michael Snyder <msnyder@cygnus.com>
1977
1978 * gdb.c++/local.exp: This test has never been known to work with g++.
1979
1980 2000-05-18 Michael Snyder <msnyder@cygnus.com>
1981
1982 * gdb.base/annota1.exp (annotate-signal-handler-caller):
1983 Relax the regular expression a little, make it pass on Solaris 8.
1984
1985 2000-05-12 Kevin Buettner <kevinb@redhat.com>
1986
1987 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
1988 a call, do not require that gdb stop on the line after the call.
1989 Instead, it is permissible for gdb to stop on the line of the
1990 call itself.
1991
1992 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
1993
1994 * gdb.base/break.exp (bp on small function, optimized file):
1995 Add a second pass pattern. The behavior differs here between stabs
1996 and dwarf for one-line functions. Stabs preserves two line symbols
1997 (one before the prologue and one after) with the same line number,
1998 but dwarf regards these as duplicates and discards one of them.
1999 Therefore the address after the prologue (where the breakpoint is)
2000 has no exactly matching line symbol, and GDB reports the breakpoint
2001 as if it were in the middle of a line rather than at the beginning.
2002
2003 2000-05-08 Michael Snyder <msnyder@cygnus.com>
2004
2005 * gdb.base/interrupt.exp: Make "pass" message say "send"
2006 rather than "send_gdb" (for consistancy).
2007
2008 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2009
2010 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2011 * gdb.c++/templates.cc: Properly check for GCC version number.
2012 * lib/compiler.cc: Likewise
2013
2014 2000-04-28 Michael Snyder <msnyder@cygnus.com>
2015
2016 * gdb.base/break.exp: When compiled with -O2 optimization,
2017 gdb may not stop at the first line of main, due to code motion.
2018
2019 2000-04-26 Michael Snyder <msnyder@cygnus.com>
2020
2021 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2022 This test depends on parsing the printf output from the target.
2023 Since the sparclet stub doesn't do stdio, this will never work.
2024 * gdb.base/call-rt-st.exp: ditto.
2025 * gdb.base/call-strs: ditto.
2026
2027 2000-04-24 Michael Snyder <msnyder@cygnus.com>
2028
2029 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2030
2031 * gdb.base/ending-run.exp: After connecting to a remote target,
2032 but before running, the target will appear to be in a random
2033 location. Specify both a file and a line for breakpoints.
2034 Also, the function that calls main may be called 'init'
2035 rather than 'start'.
2036
2037 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2038
2039 * gdb.base/help.exp: Update output for add-symbol-file command.
2040
2041 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
2042
2043 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2044 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2045
2046 2000-04-07 J.T. Conklin <jtc@redback.com>
2047
2048 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2049
2050 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2051
2052 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2053
2054 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2055 values that can be represented exactly.
2056 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2057 above change, and to not check against the directory part of the source
2058 file name.
2059 (step into print_long_arg_list): Likewise.
2060 (print print_small_structs from print_long_arg_list): Likewise.
2061 (print print_long_arg_list): Likewise.
2062
2063 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2064
2065 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
2066
2067 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2068
2069 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2070
2071 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
2072
2073 * gdb.base/commands.exp (deprecated_command_test): Add test for
2074 deprecate with no arguments.
2075
2076 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2077
2078 * gdb.base/break.exp: Add new test for setting breakpoints on
2079 optimized code so we can test breakpoints work even when function
2080 prologues may be optimized away
2081
2082 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
2083
2084 From David Whedon <dwhedon@gordian.com>
2085 * gdb.base/commands.exp : Added command deprecator tests.
2086
2087 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
2088
2089 * gdb.base/help.exp: Added test for new apropos command.
2090
2091 2000-03-21 Kevin Buettner <kevinb@redhat.com>
2092
2093 * gdb.base/pointers.c (usevar): New function.
2094 (main): Make sure that global variables v_int_pointer2, rptr,
2095 and y are all referenced someplace in the program by calling
2096 usevar() on them. [Some linkers delete symbols which are
2097 never referenced. The space remains, but there's no way to
2098 get a (symbolic) handle on the variable from the debugger.]
2099
2100 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2101
2102 * gdb.base/printcmds.c: Add typedeffed arrays.
2103
2104 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
2105 procedure to test arrays that are typedef'd.
2106
2107 2000-03-13 James Ingham <jingham@leda.cygnus.com>
2108
2109 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
2110 the library directories.
2111
2112 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2113
2114 * configure.in (configdirs): Add sub directory gdb.mi.
2115 * configure: Re-generate.
2116
2117 * gdb.mi: New directory.
2118
2119 2000-02-25 Scott Bambrough <scottb@netwinder.org>
2120
2121 * gdb.base/long_long.exp: Correct test suite failure when printing
2122 a long long value as a double on ARM platforms.
2123
2124 2000-02-16 Jim Blandy <jimb@redhat.com>
2125
2126 * gdb.base/break.exp ("breakpoint line number"): Make sure the
2127 default source file is set properly before running this test.
2128
2129 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2130
2131 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
2132 gdbtk/library directory, not in gdbtcl2.
2133
2134 2000-02-04 Jim Blandy <jimb@redhat.com>
2135
2136 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
2137 backslash from regexp pattern.
2138
2139 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
2140 procedure. Use it to run all the "continue to bp overloaded"
2141 tests. Note that this changes the names of the tests slightly.
2142 If the breakpoint hit message includes a hex PC value, because
2143 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
2144 from the real source code, still consider that a pass.
2145
2146 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
2147 XFAIL here if the breakpoint message contains a hex address. Note
2148 similar change on 1999-11-02.
2149
2150 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
2151
2152 * gdb.base/ptype.exp: Establish a default source file before
2153 calling get_debug_format.
2154
2155 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
2156
2157 * gdb.base/watchpoint.exp: Remove duplication of test messages.
2158
2159 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2160
2161 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
2162 of successive stepi commands -- while in the prologue we should see
2163 the function entry bracket.
2164
2165 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2166
2167 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
2168 reach __change_mode() when stepping through the end of main().
2169
2170 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2171
2172 * gdb.base/default.exp: Fix expected pattern.
2173 * gdb.base/help.exp: Same.
2174
2175 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2176
2177 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
2178 Don't use xfail's because that affects only the following test.
2179
2180 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
2181 solaris or linux.
2182
2183 * gdb.base/selftest.exp: Update to reflect changes to main.c.
2184
2185 2000-01-07 Michael Snyder <msnyder@cygnus.com>
2186
2187 * gdb.base/display.exp: Some yacc parsers like to say
2188 "A syntax error" rather than "A parse error". Accept both.
2189
2190 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2191
2192 * gdb.base/default.exp: Remove OS dependent string from "target
2193 remote" test.
2194 * gdb.base/help.exp: Same for "help target remote" test.
2195
2196 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2197
2198 From Jim Kingdon <kingdon@redhat.com>:
2199
2200 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
2201 prompt (cleanup rather than necessity, but still might keep output
2202 from spilling to next test).
2203
2204 2000-01-02 Fred Fish <fnf@cygnus.com>
2205
2206 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
2207 AIX, which defines them in <sys/types.h>.
2208
2209 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
2210
2211 * gdb.base/default.exp: Match arm* etc instead of arm in "info
2212 float" test.
2213
2214 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
2215
2216 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
2217
2218 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
2219 outermost frame disallowed".
2220
2221 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
2222
2223 * gdb.base/setvar.exp: New tests for setting the value of a struct
2224 with a constant list.
2225
2226 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2227
2228 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
2229 require the user to type a cast before setting the value of a struct.
2230
2231 1999-12-06 Jim Blandy <jimb@cygnus.com>
2232
2233 * gdb.base/default.exp: Expect the new 'info float' command on
2234 all i386 platforms.
2235
2236 * gdb.threads/linux-dp.exp: Expand our ability to recognize
2237 LinuxThreads libraries that don't support debugging.
2238
2239 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2240
2241 * gdb.base/remote.c: Fill the buffer with truely random data.
2242 Change the buffer type to ``unsigned char'' to simplify size
2243 arithmetic.
2244
2245 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2246 stub only handles 400-1 byte packets. Verify that the download
2247 worked.
2248
2249 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2250
2251 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2252 tests, using UNRESOLVED for the untested cases. Also, does not wait
2253 for a timeout if the prompt was received before a recognizable pattern.
2254
2255 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2256
2257 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2258
2259 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2260
2261 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
2262 watchpoints.
2263
2264 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
2265
2266 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
2267
2268 * gdb.c++/local.exp: Be more flexible in recognizing local class
2269 name mangling. Don't allow horribly truncated method names.
2270 * gdb.c++/derivation.exp: Expect protected inheritance.
2271 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
2272 * gdb.c++/virtfunc.exp: Likewise.
2273 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
2274 when printing a nested enum.
2275
2276 1999-11-22 Jim Blandy <jimb@cygnus.com>
2277
2278 * gdb.base/step-test.exp: Properly await GDB's response to setting
2279 a breakpoint on the call to large_struct_by_value.
2280
2281 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
2282 just because we have debug info for the `start' function.
2283
2284 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
2285
2286 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
2287 "Unknown signal" messages, which indicate (on LinuxThreads) that
2288 GDB doesn't know how to debug threads on this system. This is
2289 better than hanging while philosopher 0 dumps chatter into gdb.log.
2290
2291 1999-11-18 Tom Tromey <tromey@cygnus.com>
2292
2293 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
2294
2295 1999-11-18 Fred Fish <fnf@cygnus.com>
2296
2297 * gdb.base/coremaker2.c: Add sample program for generating
2298 cores that is more self contained than coremaker.c. Eventually
2299 I'll add more code to this and tie it into the testsuite.
2300
2301 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
2302
2303 * gdb.base/dollar.exp: Remove, now in gdb.hp.
2304
2305 1999-11-10 Jimmy Guo <guo@cup.hp.com>
2306
2307 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
2308 from $srcdir/lib/.
2309 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
2310 and gdb.c++/.
2311
2312 * gdb.c++/derivation.exp: remove redundant get compiler info code.
2313
2314 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
2315 'continue with watch' test point.
2316
2317 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
2318
2319 Merged from p2linux-990323-branch:
2320
2321 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
2322
2323 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
2324
2325 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
2326 {limit,fixed}''. Test ``set download-write-size''.
2327
2328 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
2329
2330 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
2331 gdb_expect_list.
2332
2333 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
2334
2335 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
2336
2337 1999-11-03 Mark Salter <msalter@cygnus.com>
2338
2339 * gdb.base/break.exp: Fix "stub continue" pattern.
2340
2341 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
2342
2343 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
2344
2345 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
2346
2347 * gdb.base/display.exp ("finish"): Add timeout clause.
2348
2349 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
2350 plain prompt clause, so this doesn't have to time out in order to
2351 fail.
2352
2353 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
2354 breakpoint hit messages include an address.
2355
2356 * gdb.base/display.exp: Don't forget to escape parens in regular
2357 expressions. Unix regexp notatation sucks.
2358
2359 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2360
2361 * gdb.base/annota1.exp: Test for annotate-signalled: change output
2362 order for 'signalled' message.
2363
2364 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
2365
2366 From Jimmy Guo <guo@cup.hp.com>:
2367 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
2368 * gdb.base/annota1.c: Add code for tests to work with.
2369
2370 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
2371
2372 * gdb.base/remote.exp: New test for remote downloading settings.
2373 * gdb.base/remote.c: New file with large .data.
2374
2375 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
2376
2377 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
2378 for LinuxThreads support, merged from the Code Fusion branch.
2379
2380 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
2381
2382 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
2383 containing exp_continue into a while within an expect. Don't
2384 attempt a start more than three times. Check return value from
2385 gdb_load.
2386
2387 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
2388
2389 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
2390 a pass case.
2391
2392 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
2393
2394 * gdb.base/break.c (main): Added a statement that we can step
2395 off of.
2396 * gdb.base/break.exp: Added tests for setting a breakpoint
2397 at an offset and stepping onto a breakpoint.
2398
2399 1999-10-01 Fred Fish <fnf@cygnus.com>
2400
2401 * gdb.base/help.exp (help add-symbol-file): Update to match current
2402 gdb output.
2403
2404 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
2405
2406 * gdb.base/break.exp: Code locations are in hex, don't forget!
2407 (For HP-UX.)
2408
2409 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
2410
2411 * condbreak.exp: Use break.c as test program.
2412 * condbreak.c: Remove, redundant with break.c.
2413
2414 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
2415
2416 * config/monitor.exp (gdb_target_monitor): Disable X- and
2417 Z-packets if the target needs it.
2418
2419 1999-09-13 James Ingham <jingham@leda.cygnus.com>
2420
2421 * gdb.c++/overload.exp: Added tests for listing overloaded
2422 functions with function pointers in the arg, explicitly calling
2423 out the version you want.
2424
2425 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
2426
2427 * long_long.exp: Add variations of test cases that work for
2428 targets with 16-bit ints and 32-bit doubles.
2429
2430 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
2431
2432 * break.c (main): Compare a possibly-uninitialized argc with an
2433 unlikely value that fits in 16 bits.
2434
2435 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
2436
2437 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
2438 0xfeeb, don't want negative numbers if ints are 16 bits.
2439
2440 * lib/gdb.exp (skip_cplus_tests): New proc.
2441 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2442 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
2443 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
2444 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
2445 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
2446 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
2447 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
2448 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
2449
2450 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
2451
2452 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
2453
2454 * gdb.base/corefile.exp (up): Allow a parameter to appear
2455 in the frame that we're going up to.
2456
2457 From Jim Blandy <jimb@cygnus.com>:
2458
2459 * gdb.base/default.exp (info float): Expect some output now.
2460
2461 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
2462 returning floating-point values to fail on the x86.
2463 * gdb.base/callfwmall.exp (do_function_calls): Same.
2464
2465 * gdb.base/list.exp (test_listsize): Correct expectations for
2466 listing line 1 with listsize 2. Also, listing a single line
2467 works now, as does listing three lines. [Kevin's note: There
2468 were a number of other cases fixed too where the expectations
2469 differed...]
2470
2471 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
2472
2473 * gdb.base/selftest.exp: Add case for when version prints as
2474 constant string instead of char pointer.
2475
2476 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
2477
2478 * gdb.base/ending-run.exp: Add Solaris case for what happens when
2479 stepping out of main.
2480
2481 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
2482 G++ used.
2483
2484 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
2485 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
2486
2487 * gdb.c++/ovldbreak.exp: Update match string in test that
2488 includes a warning of multiple breakpoints.
2489
2490 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
2491
2492 * gdb.base/display.exp: Improve precision of step-after-finish
2493 added yesterday.
2494
2495 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
2496 test.
2497
2498 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
2499 configs when using G++, not just hppa*.
2500
2501 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2502
2503 * gdb.base/async.c: New file.
2504 * gdb.base/async.exp: New file.
2505
2506 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
2507
2508 * gdb.base/break.exp: Tweak PA specific tests to properly handle
2509 PA64.
2510
2511 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
2512
2513 * gdb.base/display.exp: "finish" can leave us mid-line on many
2514 targets, deal with it. Add a small constant to main, instead of
2515 1000 since main+1000 may not be a valid address in the target.
2516
2517 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
2518 on hpux11.
2519
2520 * gdb.base/attach.exp: Handle another hpux11 error message variant
2521 when attaching to a process that does not exist.
2522
2523 1999-08-19 J.T. Conklin <jtc@redback.com>
2524
2525 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
2526 characters in 'continue to 1241' test.
2527
2528 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
2529
2530 * gdb.base/call-ar-st.exp: Add a shorter match case for the
2531 stop in print_long_arg_list, define and use a whitespace
2532 variable in print_small_structs test, add an XFAIL for Solaris.
2533 * gdb.base/dbx.exp: XFAIL func commands until somebody is
2534 interested enough to fix.
2535
2536 1999-08-13 Keith Seitz <keiths@cygnus.com>
2537
2538 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
2539 (dbx_gdb_load): Remove. Use gdb_load instead, since that
2540 proc knows about targets other than the natives.
2541 (test_assign): Use "gdb_run_cmd" to "run" the target.
2542 Check that we've actually hit the breakpoint at main.
2543 When we attempt to assign a value to a local variable, check
2544 that the variable is in the current scope, i.e., don't use
2545 a test with an empty result.
2546
2547 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
2548
2549 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
2550 command.
2551
2552 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
2553
2554 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2555 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
2556 gdb.compat, gdb.threads-hp.
2557 gdb.hp/configure, gdb.hp/configure.in: New files.
2558 gdb.hp/Makefile.in: Recurse into new subdirs.
2559 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
2560 gdb.hp/gdb.objdbg: New directory, tests for debugging info
2561 in object files.
2562 gdb.hp/tools: New directory, aux tools for HP-specific tests.
2563
2564 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
2565
2566 * gdb.base/display.exp: Help expect by putting a newline in the
2567 funky printf, remove a bogus p/a test.
2568
2569 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2570
2571 * gdb.base/display.exp: Make sure that when we say 'run', we are
2572 connected to the target. This is necessary when running not
2573 natively.
2574
2575 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
2576
2577 * gdb.base/step-test.exp: Removed some extraneous messages.
2578
2579 * gdb.base/long_long.exp: Don't run memory examination tests
2580 on little-endian targets (they will need a different set of
2581 results to match).
2582
2583 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
2584
2585 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
2586 until somebody decides to fix GDB.
2587
2588 * gdb.base/long_long.c: Stop compiler complaint by specifying long
2589 constant as "ULL".
2590 * gdb.base/long_long.exp: Loosen x/c test, add partial result
2591 matches for a couple x/2 commands.
2592
2593 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
2594
2595 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
2596 by merging in ref-types2 tests.
2597 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
2598
2599 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2600 * gdb.c++/Makefile.in: Add standard actions.
2601 (EXECUTABLES): Rename from PROGS, update list.
2602 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
2603 from gdb.hp.
2604 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
2605 foo and bar locals.
2606 * gdb.c++/anon-union.exp: Fix tests to match.
2607 * gdb.c++/classes.exp: Run if HP compiler used, add extra
2608 expect matches to handle output variations.
2609 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
2610 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
2611 output, add HP alternatives for new and delete prints.
2612 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
2613 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
2614 * gdb.c++/demangle.exp: Use $style when reporting failure.
2615 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
2616 * gdb.c++/inherit.exp: Run if HP compiler used, add some
2617 match alternatives.
2618 * gdb.c++/local.exp: Add match alternatives or xfails for HP
2619 compilers.
2620 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
2621 * gdb.c++/method.exp: Add match alternatives.
2622 * gdb.c++/misc.cc: Add bool types.
2623 * gdb.c++/misc.exp: Add tests for bool types.
2624 * gdb.c++/overload.exp: Add xfails.
2625 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
2626 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
2627 add some more template parameter tests (only for HP currently).
2628 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
2629 * gdb.c++/virtfunc.cc: Add return type and value for main.
2630 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
2631 match alternatives.
2632
2633 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2634
2635 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
2636
2637 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
2638
2639 * gdb.base/signals.exp: Don't expect getting a backtrace from
2640 within a signal handler to fail on Linux.
2641
2642 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
2643
2644 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2645 * lib/gdb.exp: Remove some gratuitious semicolons.
2646 (delete_breakpoints): Increase timeout.
2647 (gdb_expect): Add -notransfer option.
2648 (gdb_test): Use -notransfer option.
2649 (get_compiler_info): Add f77 case.
2650 (get_compiler): New proc, split out from gdb_preprocess, add f77
2651 case.
2652 (gdb_preprocess): Call get_compiler.
2653
2654 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
2655 * gdb.base/attach.exp, gdb.base/display.exp,
2656 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
2657 gdb.base/long_long.exp, gdb.base/printcmds.exp,
2658 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
2659 third arg to gdb_test.
2660 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
2661 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
2662 HP-UX xfails, add others.
2663 * gdb.base/completion.exp: Reflect name change of self-test.
2664 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
2665 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
2666 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
2667 HP failure number.
2668 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
2669 useless HP-UX 10.30 references.
2670 * gdb.base/maint.exp: Loosen matches.
2671 * gdb.base/pointers.c (main): Declare more_code.
2672 * gdb.base/pointers.exp: Match on output of a `next'.
2673 * gdb.base/structs.c: Add prototypes.
2674 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
2675 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
2676
2677 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2678
2679 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
2680 command.
2681
2682 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2683
2684 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
2685 Fix run to main failures. Watchpoint can be hardware watchpoint.
2686
2687 * gdb.base/annota1.exp: Clean up some more, in case printf has
2688 debug info. Deal with lack of signal hanlder info in stack.
2689
2690 From Jim Kingdon <kingdon@redhat.com>:
2691 * gdb.base/annota1.exp: If printf has debug info, deal with it.
2692
2693 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
2694
2695 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
2696 gdb.base/foll-vfork.exp: Don't run for crosses.
2697
2698 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2699
2700 * gdb.base/configure.in: Check for gdbvars.exp instead of
2701 a1-selftest.exp.
2702 * gdb.base/configure: Re-generate.
2703
2704 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
2705
2706 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
2707 in trying to run first and name is too long.
2708
2709 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
2710 pointers2.c and pointers2.exp, respectively.
2711 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
2712 doschk happier.
2713
2714 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
2715
2716 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
2717 callfuncs2.c and callfuncs2.exp.
2718
2719 * gdb.base/list.exp: Remove mistaken xfails.
2720 * gdb.base/list0.h: Add optional prototypes.
2721
2722 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
2723
2724 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
2725 calling malloc.
2726 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
2727 * ptype.exp: Move test for get_debug_format to before its first
2728 use.
2729
2730 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2731
2732 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
2733 * gdb.base/annota2.cc, annota2.exp: Move from here.
2734 * gdb.c++/annota2.cc, annota2.exp: To here.
2735 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
2736
2737 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
2738
2739 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
2740 a consistent format.
2741
2742 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
2743
2744 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2745 * lib/gdb.exp (get_compiler_info): Add detection for assorted
2746 HP compilers, also set the globals $true and $false.
2747
2748 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
2749 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
2750 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
2751 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
2752 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
2753 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
2754 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
2755 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
2756 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
2757 whatis.c} Add C++ compatible function definitions and return
2758 types, add includes for library functions.
2759 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
2760 * gdb.base/step-test.c (myglob): Rename from glob.
2761 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
2762 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
2763 files, move here from gdb.hp.
2764 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
2765 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
2766 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
2767 Adjust line numbers in regexps.
2768
2769 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
2770 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
2771 instead of 0/1.
2772
2773 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
2774 foll-vfork.exp: New files, move here from gdb.hp.
2775 * gdb.base/page.exp: New file, test of pagination command.
2776
2777 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
2778 recursion test.
2779 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
2780
2781 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
2782 gdb.base/solib.exp: Fix compiler invocation process.
2783
2784 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
2785 HP-UX 11, turn off overload resolution explicitly.
2786 * gdb.base/commands.exp: Set argument list explicitly, add
2787 watchpoint test.
2788 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
2789 them work.
2790 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
2791 expressions properly.
2792 * gdb.base/corefile.exp: Loosen the match slightly.
2793 * gdb.base/default.exp: Allow "Error accessing memory" message
2794 also.
2795 * gdb.base/display.exp: Skip over x/0 j if PA64.
2796 * gdb.base/funcargs.exp: Add xfails for HP-UX.
2797 * gdb.base/interrupt.exp: Ditto.
2798 * gdb.base/langs.exp: Add symbolic matches governed by compiler
2799 in use.
2800 * gdb.base/list.exp: Add xfails for HP-UX.
2801 * gdb.base/long_long.exp: Refine some of the numeric matches.
2802 * gdb.base/mips_pro.exp: Xfail on HP-UX.
2803 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
2804 * gdb.base/nodebug.exp: Succeed on more varieties of output.
2805 * gdb.base/opaque.exp: Remove some HP-UX xfails.
2806 * gdb.base/ptype.exp: Succeed on more varieties of output.
2807 * gdb.base/scope.exp: Add xfails for HP-UX.
2808 * gdb.base/sect-cmd.exp: Add more cases.
2809 * gdb.base/setvar.exp: Add xfails for HP-UX.
2810 * gdb.base/shlib-call.exp: Loosen some matches slightly.
2811 * gdb.base/signals.exp: Match on void symbolically.
2812 * gdb.base/step-test.exp: Add case for PA64.
2813 * gdb.base/term.exp: Add exit and restart.
2814 * gdb.base/twice.exp: Clean up after self.
2815 * gdb.base/varargs.exp: Disable overload resolution explicitly.
2816 * gdb.base/whatis.exp: Allow more ways to pass tests.
2817
2818 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
2819 no longer useful.
2820
2821 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
2822
2823 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
2824 list of patterns.
2825 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
2826 print_double_array(double_array)", "continuing to breakpoint
2827 1018", "print print_double_array(array_d)" and "continuing to
2828 1034" tests.
2829
2830 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
2831
2832 * Makefile.in: Add empty html and install-html targets.
2833
2834 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
2835
2836 * config/mt-*: Remove, these haven't been used since 1996.
2837
2838 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
2839
2840 * gdb.base/call-strs.c, gdb.base/ending-run.c,
2841 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
2842 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
2843
2844 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
2845
2846 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
2847 simpler match case for the ptype of the big class.
2848
2849 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2850
2851 * gdb.exp: Fix test for gdb_prompt existence.
2852
2853 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2854
2855 * gdb.exp (gdb_test): Add fail after calls to perror.
2856
2857 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2858
2859 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
2860
2861 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2862
2863 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
2864
2865 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
2866
2867 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
2868 malloc() is linked in.
2869
2870 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2871
2872 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
2873 step at end.
2874
2875 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
2876
2877 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
2878
2879 * gdb.java/jv-print.exp: New file. (Our first Java test!)
2880
2881 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
2882
2883 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
2884 * gdb.base/mips_pro.exp: Likewise.
2885
2886 1999-06-02 Keith Seitz <keiths@cygnus.com>
2887
2888 * gdb.c++/templates.cc: Change all "new" operators to throw
2889 an exception.
2890 * gdb.c++/cplusfuncs.cc: Likewise.
2891
2892 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
2893
2894 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
2895
2896 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
2897 * gdb.base/ending-run.exp: When stepping out of main, accept a
2898 step into an arbitrary assembler file.
2899
2900 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2901
2902 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
2903 "breakpoint-invalid" to be printed.
2904 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
2905 number of "frames-invalid" and "breakpoint-invalid" to be printed.
2906 * gdb.base/annota2.cc: Initialize a.x to 0.
2907
2908 1999-05-17 Keith Seitz <keiths@cygnus.com>
2909
2910 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
2911 when "skip_float_tests" set.
2912 Ditto for "print print_double_array(array_d)", "print print_small_structs",
2913 "print print_ten_doubles", and "step into print_long_arg_list".
2914 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
2915 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
2916 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
2917 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
2918 "skip_float_tests" is set.
2919 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
2920 when "skip_float_tests" set.
2921
2922 1999-05-06 Keith Seitz <keiths@cygnus.com>
2923
2924 * gdb.base/annota2.cc: Include stdio.h.
2925
2926 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
2927
2928 * gdb.base/crossload.exp: Remove, this has been disabled ever
2929 since BFD stopped including all targets, and cross-GDB gets
2930 plenty of testing anyway.
2931 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
2932 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
2933 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
2934 * gdb.base/README: Remove, was doc for this.
2935 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
2936 needed.
2937
2938 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2939
2940 * gdb.base/call-ar-st.exp: Fix one regular expression in test
2941 output.
2942
2943 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
2944 * gdb.base/annota2.exp: New file. More annotation tests.
2945 * gdb.base/annota1.c: New file. Source file for annota1.exp.
2946 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
2947
2948 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
2949
2950 * config/cfdbug.exp: New file.
2951
2952 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2953
2954 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
2955 Marcus Daniel's and Dale Hawkins's demangler crashes.
2956
2957 * gdb.c++/demangle.exp (test_gnu_style_demangling,
2958 test_lucid_style_demangling, test_arm_style_demangling,
2959 test_hp_style_demangling): Try Tom Tromey's core-dumping
2960 identifier under each demangling style.
2961
2962 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
2963
2964 * gdb.c++/demangle.exp: Include the current demangling style
2965 in all test names.
2966 (current_demangling_style): New global variable.
2967 (set_demangling_style, test_demangling_core, test_demangling,
2968 test_demangling_exact): New functions.
2969 (test_gnu_style_demangling, test_lucid_style_demangling,
2970 test_arm_style_demangling, test_hp_style_demangling): Use those,
2971 instead of calling gdb_test and gdb_test_exact directly.
2972 (catch_demangling_errors): New function, which reports errors
2973 signalled by the demangling test functions in an orderly way.
2974 (do_tests): Use catch_demangling_errors.
2975
2976 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
2977
2978 * gdb.base/signals.exp (test_handle_all_print): Use () for
2979 grouping in expressions, not {}.
2980
2981 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
2982 initialized yet.
2983
2984 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
2985
2986 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
2987 are listed.
2988
2989 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
2990
2991 * gdb.stabs/weird.exp: Test for CC being defined before
2992 looking at its value.
2993
2994 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
2995
2996 * gdb.base/call-ar-st.exp: Remove stray '#'.
2997 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
2998 "short int" and "long int".
2999 * gdb.c++/overload.cc: Cast the string added in the previous
3000 change, to mollify finicky HP compiler.
3001 * gdb.hp/reg-test.exp (testfile): Fix file name.
3002 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
3003
3004 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3005 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3006 alternate form of enum ptype.
3007
3008 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3009
3010 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3011 * gdb.hp/*.exp: Change all to run compiler probe only after
3012 passing skip_hp_tests, so as not to waste time on guaranteed
3013 failure.
3014
3015 * gdb.c++/overload.cc: Pass string instead of char addr, always
3016 init ccpfoo.
3017 * gdb.c++/templates.cc: Fix syntax error.
3018
3019 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3020
3021 * gdb.base/commands.exp: Add test for correct position of '>'
3022 when issuing the 'commands' command after a 'while' or 'if'
3023 command.
3024
3025 1999-03-18 James Ingham <jingham@cygnus.com>
3026
3027 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3028
3029 * gdb.c++/method.exp: It was testing an uninitialized int on the
3030 stack and assuming it was positive.
3031
3032 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3033
3034 * gdb.base/step-test.exp: Catch a case where finish is broken and
3035 keep it from killing the rest of the tests.
3036 Use gdb_continue_to_end.
3037
3038 * gdb.base/sigall.exp: use gdb_continue_to_end.
3039
3040 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3041
3042 * gdb.base/display.exp: use runto_main, not run.
3043
3044 * gdb.base/default.exp: Check for the current error message in the
3045 r abbreviation test.
3046 Add strongarm to the targets that know info float.
3047
3048 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
3049 run which doesn't work with monitors.
3050
3051 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3052
3053 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3054
3055 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
3056 program. Traps the case (in Cygmon) when the program never really
3057 exits. Same as Mark's continue_to_exit, but I had put it in a lot
3058 more places, so I used my name. Sorry Mark...
3059
3060 * config/monitor.exp (gdb_target_monitor): added another
3061 target_info parameter: remotebinarydownload. This will set the
3062 remotebinarydownload flag if this is causing some boards trouble.
3063
3064 1999-03-18 Mark Salter <msalter@cygnus.com>
3065
3066 * lib/gdb.exp (continue_to_exit): New function.
3067
3068 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3069 * gdb.base/ending-run.exp: Ditto.
3070 * gdb.base/step-test.exp: Ditto.
3071
3072 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3073
3074 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3075 (suggested by Art Haas <ahaas@neosoft.com>).
3076
3077 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3078
3079 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3080
3081 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3082
3083 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
3084 descriptions of types (short unsigned int vs unsigned short, etc).
3085
3086 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3087
3088 * gdb.base/call-strs.exp: Don't assume that `step' will step over
3089 a call to strlen; sometimes we do have sources.
3090
3091 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
3092
3093 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
3094 character, so GDB won't print garbage after its end.
3095
3096 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
3097 breakpoint there instead. Sometimes GCC emits memcpy to handle
3098 the large structures being passed by value, so we step into that
3099 instead of sum_array_print, which obscures what we're really testing.
3100 * gdb.base/step-test.exp: However, we do want a test that notices
3101 the bizarre steps into memcpy, so do that here. Add check for
3102 stepping into function calls that pass large structures by value.
3103 ("Is that a noun clause, or are you just happy to see me?")
3104 Remove all references to specific line numbers.
3105 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
3106 New type and function.
3107 (main): Call large_struct_by_value, passing it a large struct by value.
3108 * lib/gdb.exp (gdb_get_line_number): New function.
3109
3110 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
3111 more portable.
3112
3113 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
3114
3115 * lib/gdb.exp: Doc fixes.
3116
3117 1999-03-05 Nick Clifton <nickc@cygnus.com>
3118
3119 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
3120
3121 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3122
3123 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
3124 commands. They're not germane to this test, and they don't work
3125 that way on remote targets.
3126
3127 1999-03-01 James Ingham <jingham@cygnus.com>
3128
3129 * Changelog entries merged over from gdb development branch.
3130
3131 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
3132
3133 * lib/gdb.exp (gdbtk_analyze_results): Generic function
3134 for outputting results of test run.
3135
3136 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3137
3138 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3139
3140 1999-02-25 Felix Lee <flee@cygnus.com>
3141
3142 * lib/gdb.exp (debug_format): initialize
3143
3144 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
3145
3146 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
3147 * gdb.base/call-rt-st.c: Ditto.
3148
3149 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
3150
3151 * gdb.threads/pthreads.exp (horiz): New variable.
3152 (test_startup): Fix regexps that capture thread numbers.
3153
3154 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
3155
3156 * gdb.base/smoke.exp: Disambiguate two test case names (both
3157 called ``print'').
3158
3159 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3160
3161 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
3162 compilation.
3163
3164 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3165
3166 * gdb.base/miscexprs.exp: Change patterns to match GDB's
3167 actual output formatting.
3168 * gdb.base/smoke.exp: GDB removes leading 0's.
3169 * gdb.base/volatile.exp: Don't check type of remuneration;
3170 that variable is no longer defined in constvars.c.
3171 * gdb.base/step-test.c (main): Exit with explicit exit code.
3172 * gdb.base/step-test.exp: Remove two nexti checks--they are
3173 not portable.
3174
3175 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3176
3177 * gdb.base/help.exp ("help delete display"): Fix test to match
3178 gdb's output.
3179
3180 * gdb.base/long_long.c (known_types): Initialize values to zero.
3181 * gdb.base/long_long.exp: Step one more line
3182 so 'dec' is initialized in "get to known place". GDB removes
3183 leading zeros. Explicitly ask for hex formatting. Use
3184 unique test case names.
3185
3186 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3187
3188 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
3189
3190 * gdb.c++/method.exp: Add missing close brace.
3191
3192 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
3193
3194 * gdb.base/maint.exp: Use 'set height 0' to disable page
3195 prompting, not 'set height 400'.
3196
3197 Fix a bunch of timeouts.
3198 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
3199 four separate tests, so expect doesn't take forever to match a ton
3200 of text against a regexp with lots of .* forms.
3201 ("maint print psymbols", "maint print symbols"): Make some of
3202 these greps more selective, so that expect doesn't try to wade
3203 through huge piles of output and time out.
3204
3205 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
3206
3207 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
3208 tests: one which doesn't expect shlib events to be reported, and
3209 another which does, but is XFAIL for all platforms other than
3210 HP/UX.
3211
3212 * gdb.base/break.exp: Teach the test suite that the `catch
3213 fork', `catch vfork', and `catch exec' commands produce error
3214 messages on platforms that don't provide these features.
3215
3216 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3217
3218 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
3219 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
3220 (shortening names from solib_threshold.exp etc), won't run on
3221 anything but HP-UX for the foreseeable future.
3222 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
3223 reflect move.
3224
3225 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
3226
3227 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3228 gdb.trace/Makefile.in (clean): Remove all test executables.
3229
3230 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
3231
3232 * gdb.base/shlib-call.exp: add test cases to verify that gdb
3233 successfully re-sets breakpoints in shared libraries.
3234 * gdb.base/shmain.c (main): return 0, don't fall off the end.
3235
3236 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3237
3238 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
3239 and compiled w/o GCC.
3240
3241 * gdb.hp/watch-cmd.exp: ditto.
3242
3243 * gdb.hp/watch-hp.exp: ditto.
3244
3245 * gdb.hp/xdb1.exp: ditto.
3246
3247 * gdb.hp/xdb2.exp: ditto.
3248
3249 * gdb.hp/dbx.exp: ditto.
3250
3251 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3252
3253 * constvars.c: Remove C++-isms.
3254 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3255 with GCC.
3256
3257 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3258
3259 The following changes are part of the HP merge.
3260
3261 * gdb.base/break.exp: new tests to verify that catchpoints for
3262 fork, vfork, and exec don't trigger inappropriately.
3263
3264 * gdb.base/opaque.exp: compile one file at a time, then link.
3265
3266 * gdb.base/signals.exp: be more restrictive about which hppa
3267 systems receive a setup_xfail. new tests.
3268
3269 * gdb.base/solib_threshold.build: new file.
3270 * gdb.base/solib_threshold.exp: new file.
3271 * gdb.base/solib_threshold.link_opts: new file.
3272 * gdb.base/solib_threshold.mk: new file.
3273 * gdb.base/gen_solib_threshold.c: new file.
3274
3275 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
3276 tests. New tests for enums inside classes.
3277
3278 * gdb.c++/compiler.cc: indicate support of template debugging.
3279
3280 * gdb.c++/demangle.exp: run hp style demangling tests.
3281
3282 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
3283 tests.
3284
3285 * gdb.c++/misc.cc: changes to support new tests.
3286
3287 * gdb.c++/templates.cc: changes to support HP's compiler; changes
3288 to support new tests.
3289
3290 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
3291 gcc, then skip these tests.
3292
3293 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
3294
3295 The following files are part of the HP merge; some had longer
3296 names at HP, but have been renamed to be no more than 14
3297 characters in length.
3298
3299 * gdb.hp/ambiguous.cc: new file.
3300 * gdb.hp/ambiguous.exp: new file.
3301 * gdb.hp/attach.exp: new file.
3302 * gdb.hp/attach2.exp: new file.
3303 * gdb.hp/classes-hp.exp: new file.
3304 * gdb.hp/ctti.exp: new file.
3305 * gdb.hp/ctti-add.cc: new file.
3306 * gdb.hp/ctti-add1.cc: new file.
3307 * gdb.hp/ctti-add2.cc: new file.
3308 * gdb.hp/ctti-add3.cc: new file.
3309 * gdb.hp/dbx.exp: new file.
3310 * gdb.hp/exception.cc: new file.
3311 * gdb.hp/exception.exp: new file.
3312 * gdb.hp/foll-exec.c: new file.
3313 * gdb.hp/foll-exec.exp: new file.
3314 * gdb.hp/foll-fork.c: new file.
3315 * gdb.hp/foll-fork.exp: new file.
3316 * gdb.hp/foll-vfork.c: new file.
3317 * gdb.hp/foll-vfork.exp: new file.
3318 * gdb.hp/inherit-hp.exp: new file.
3319 * gdb.hp/more-steps.exp: new file.
3320 * gdb.hp/namespace.cc: new file.
3321 * gdb.hp/namespace.exp: new file.
3322 * gdb.hp/optimize.exp: new file.
3323 * gdb.hp/pxdb.c: new file.
3324 * gdb.hp/pxdb.exp: new file.
3325 * gdb.hp/quicksort.exp: new file.
3326 * gdb.hp/reg-test.exp: new file.
3327 * gdb.hp/reg-test.s: new file.
3328 * gdb.hp/sized-enum.c: new file.
3329 * gdb.hp/sized-enum.exp: new file.
3330 * gdb.hp/start-stop.exp: new file.
3331 * gdb.hp/templ-hp.cc: new file.
3332 * gdb.hp/templ-hp.exp: new file.
3333 * gdb.hp/thr-lib.c: new file.
3334 * gdb.hp/thr-lib.exp: new file.
3335 * gdb.hp/thr-lib.h: new file.
3336 * gdb.hp/thr-liblib.c: new file.
3337 * gdb.hp/virtfun-hp.c: new file.
3338 * gdb.hp/virtfun-hp.exp: new file.
3339 * gdb.hp/watch-cmd.exp: new file.
3340 * gdb.hp/watch-hp.exp: new file.
3341 * gdb.hp/xdb1.exp: new file.
3342 * gdb.hp/xdb2.exp: new file.
3343 * gdb.hp/xdb3.exp: new file.
3344
3345 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
3346
3347 The following files are part of the HP merge; some had longer
3348 names at HP, but have been renamed to be no more than 14
3349 characters in length.
3350
3351 * gdb.base/ss.h: new file.
3352 * gdb.base/call-ar-st.c: new file.
3353 * gdb.base/call-ar-st.exp: new file.
3354 * gdb.base/call-rt-st.c: new file.
3355 * gdb.base/call-rt-st-exp: new file.
3356 * gdb.base/call-strs.exp: new file.
3357 * gdb.base/ena-dis-br.exp: new file.
3358 * gdb.base/environ.exp: new file.
3359 * gdb.base/long_long.exp: new file.
3360 * gdb.base/sect-cmd.exp: new file.
3361 * gdb.base/shlib-cl2.exp: new file.
3362 * gdb.base/smoke.exp: new file.
3363 * gdb.base/so-impl-ld.c: new file.
3364 * gdb.base/so-impl-ld.exp: new file.
3365 * gdb.base/so-indr-cl.c: new file.
3366 * gdb.base/so-indr-cl.exp: new file.
3367 * gdb.base/varargs.exp: new file.
3368 * gdb.base/volatile.exp: new file.
3369 * gdb.base/whatis-exp.exp: new file.
3370 * gdb.base/display.exp: new file.
3371 * gdb.c++/derivation.exp: new file.
3372 * gdb.c++/local.exp: new file.
3373 * gdb.c++/member-ptr.exp: new file.
3374 * gdb.c++/overload.exp: new file.
3375 * gdb.c++/ovldbreak.exp: new file.
3376 * gdb.c++/ref-types.exp: new file.
3377 * gdb.c++/ref-types2.exp: new file.
3378 * gdb.c++/userdef.exp: new file.
3379
3380 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
3381
3382 * gdb.base/default.exp: Reflect wording change in remote.c.
3383
3384 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
3385
3386 * gdb.base/help.exp: Update to reflect current text.
3387
3388 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
3389
3390 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
3391 they're stack variables and contain garbage.
3392 * gdb.c++/anon-union.exp: new file.
3393
3394 The following changes were made by David Taylor
3395 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3396 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3397 in changes by HP.
3398
3399 * gdb.base/bitops.exp: new file.
3400 * gdb.base/default.exp: change expected messages for catch and
3401 info catch tests to reflect HP merge changes.
3402 * gdb.base/enable-disable-break.exp
3403 * gdb.base/ending-run.c: new file.
3404 * gdb.base/long_long.c: new file.
3405 * gdb.base/maint.exp: new file.
3406 * gdb.base/pointers2.exp: new file.
3407 * gdb.base/shlib-call2.exp: new file.
3408 * gdb.base/solib.exp: new file.
3409 * gdb.base/step-test.c: new file.
3410 * gdb.c++/anon-union.cc: new file.
3411 * gdb.c++/local.cc: new file.
3412 * gdb.c++/member-pointer.cc: new file.
3413 * gdb.c++/method.cc: new file.
3414 * gdb.c++/ref-types.cc: new file.
3415 * gdb.c++/ref-types2.cc: new file.
3416 * gdb.c++/userdef.cc: new file.
3417
3418 * gdb.base/scope.exp: compile one file at a time, then link.
3419 * gdb.base/langs.exp: ditto.
3420 * gdb.base/list.exp: ditto.
3421
3422 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
3423
3424 The following changes were made by David Taylor
3425 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3426 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3427 in changes by HP.
3428
3429 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
3430 skip tests. When compiling pass c++ flag to gdb_compile.
3431 * gdb.c++/
3432
3433 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
3434 test for on hppa*-*-hpux*; use args to see if c++ was specified.
3435 (skip_hp_tests): new function.
3436 (gdb_preprocess): new function.
3437
3438 * configure.in (hpdir): decide whether to configure gdb.hp.
3439 * configure: regenerated.
3440
3441 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
3442 to delete on clean.
3443 (EXECUTABLES): update to reflect new additions.
3444 * gdb.base/commands.exp: update message expected.
3445 * gdb.base/default.exp: add copyright notice.
3446 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
3447 * gdb.base/help.exp: update messages to reflect current text.
3448 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
3449 targets for recurse tests.
3450 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
3451 skip this file.
3452
3453 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
3454 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
3455 compilation.
3456 * gdb.c++/misc.exp: ditto.
3457 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
3458 run the tests. tell gdb_compile that it's a c++ compilation.
3459
3460 * gdb.threads/pthreads.exp: fix typo in message.
3461
3462 * gdb.base/all-bin.exp: new file.
3463 * gdb.base/arithmet.exp: new file.
3464 * gdb.base/assign.exp: new file.
3465 * gdb.base/completion.exp: new file.
3466 * gdb.base/cond-expr.exp: new file.
3467 * gdb.base/condbreak.exp: new file.
3468 * gdb.base/define.exp: new file.
3469 * gdb.base/dollar.exp: new file.
3470 * gdb.base/environment.exp: new file.
3471 * gdb.base/eval-skip.exp: new file.
3472 * gdb.base/jump.exp: new file.
3473 * gdb.base/logical.exp: new file.
3474 * gdb.base/pointers.exp: new file.
3475 * gdb.base/relational.exp: new file.
3476 * gdb.base/section_command.exp: new file.
3477 * gdb.base/whatis-expr.exp: new file.
3478
3479 * gdb.base/all-types.c: new file.
3480 * gdb.base/call-array-struct.c: new file.
3481 * gdb.base/call-return-struct.c: new file.
3482 * gdb.base/call-strings.c: new file.
3483 * gdb.base/callfuncs2.c: new file.
3484 * gdb.base/condbreak.c: new file.
3485 * gdb.base/constvars.c: new file.
3486 * gdb.base/display.c: new file.
3487 * gdb.base/int-type.c: new file.
3488 * gdb.base/jump.c: new file.
3489 * gdb.base/miscexprs.c: new file.
3490 * gdb.base/pointers.c: new file.
3491 * gdb.base/pointers2.c: new file.
3492 * gdb.base/shmain.c: new file.
3493 * gdb.base/shr1.c: new file.
3494 * gdb.base/shr2.c: new file.
3495 * gdb.base/solib.c: new file.
3496 * gdb.base/solib1.c: new file.
3497 * gdb.base/solib2.c: new file.
3498 * gdb.base/varargs.c: new file.
3499 * gdb.c++/derivation.cc: new file.
3500 * gdb.c++/overload.cc: new file.
3501 * gdb.c++/ovldbreak.cc: new file.
3502 * gdb.hp/attach.c: new file.
3503 * gdb.hp/attach2.c: new file.
3504 * gdb.hp/average.c: new file.
3505 * gdb.hp/compiler.c: new file.
3506 * gdb.hp/compiler.cc: new file.
3507 * gdb.hp/execd-program.c: new file.
3508 * gdb.hp/follow-exec.c: new file.
3509 * gdb.hp/follow-fork.c: new file.
3510 * gdb.hp/follow-vfork-and-exec.c: new file.
3511 * gdb.hp/misc-hp.cc: new file.
3512 * gdb.hp/more-steps.c: new file.
3513 * gdb.hp/optimize.c: new file.
3514 * gdb.hp/quicksort.c: new file.
3515 * gdb.hp/run-hp.c: new file.
3516 * gdb.hp/start-stop.c: new file.
3517 * gdb.hp/sum.c: new file.
3518 * gdb.hp/templates-hp.cc: new file.
3519 * gdb.hp/thread-local-in-lib.c: new file.
3520 * gdb.hp/thread-local-in-lib.h: new file.
3521 * gdb.hp/thread-local-in-lib.lib.c: new file.
3522 * gdb.hp/vforked-program.c: new file.
3523 * gdb.hp/virtfunc-hp.cc: new file.
3524 * gdb.hp/watchpoint-hp.c: new file.
3525 * gdb.hp/xdb.c: new file.
3526 * gdb.hp/xdb0.c: new file.
3527 * gdb.hp/xdb0.h: new file.
3528 * gdb.hp/xdb1.c: new file.
3529
3530 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
3531
3532 The following change was made by Edith Epstein
3533 <eepstein@cygnus.com> as part of a project to merge in changes
3534 originally made by HP; HP did not create ChangeLog entries.
3535
3536 * gdb.c++/demangle.exp: changed the expected output for some
3537 ARM-style mangling -- removed second reference to datatype.
3538 For example, maint demangle __dt__11T1__pt__2_cFv
3539 T1<char>::~T1<char>(void)
3540 becomes,
3541 maint demangle __dt__11T1__pt__2_cFv
3542 T1<char>::~T1(void)
3543
3544 (test_hp_style_demangling): new hp specific demangling test cases.
3545
3546 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
3547
3548 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
3549 * gdb.trace/backtrace.exp: Likewise.
3550 * gdb.trace/circ.exp: Likewise.
3551 * gdb.trace/collection.exp: Likewise.
3552 * gdb.trace/deltrace.exp: Likewise.
3553 * gdb.trace/infotrace.exp: Likewise.
3554 * gdb.trace/limits.exp: Likewise.
3555 * gdb.trace/packetlen.exp: Likewise.
3556 * gdb.trace/passc-dyn.exp: Likewise.
3557 * gdb.trace/passcount.exp: Likewise.
3558 * gdb.trace/report.exp: Likewise.
3559 * gdb.trace/save-trace.exp: Likewise.
3560 * gdb.trace/tfind.exp: Likewise.
3561 * gdb.trace/tracecmd.exp: Likewise.
3562 * gdb.trace/while-dyn.exp: Likewise.
3563 * gdb.trace/while-stepping.exp: Likewise.
3564
3565 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
3566
3567 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
3568
3569 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
3570
3571 From Brendan Kehoe:
3572 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
3573 int return types.
3574
3575 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
3576
3577 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
3578 remote dos host testing right.
3579
3580 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
3581
3582 * gdb.base/corefile.exp: remove some xfails.
3583
3584 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
3585
3586 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
3587 have different timestamps.
3588
3589 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
3590
3591 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
3592 gdb.base/default.exp: Replace "exec" with "executable".
3593
3594 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
3595
3596 * gdb.base/default.exp: Change else if to elseif from previous
3597 delta.
3598
3599 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
3600
3601 * gdb.base/default.exp: Add brace missing from previous delta.
3602
3603 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
3604
3605 * gdb.base/default.exp: Support test for info float for all
3606 varieties of arm toolchain.
3607
3608 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
3609
3610 * gdb.trace/*.exp: remove "remote_download" command.
3611
3612 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
3613
3614 * gdb.trace/*.exp: remove -gdwarf from compile.
3615
3616 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
3617
3618 * gdb.trace/configure.in(AC_INIT): typo
3619 * gdb.trace/configure: regenerated
3620
3621 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
3622
3623 * config/m68k-emc.exp: New file.
3624 * lib/<emc-support.exp trace-support.exp}: New files.
3625 * configure.in: add new test directory gdb.trace.
3626 * gdb.trace/{configure configure.in Makefile.in}: New files.
3627 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
3628 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
3629 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
3630 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
3631 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
3632 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
3633 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
3634
3635 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
3636
3637 * gdb.c++/classes.exp: Change all regular expressions to match
3638 arbitrary combinations of newline/carriage-return, so that they
3639 will work equally well on Unix and Windows.
3640 * gdb.c++/inherit.exp: ditto.
3641 * gdb.c++/virtfunc.exp: ditto.
3642
3643 1998-08-11 Dawn Perchik <dawn@cygnus.com>
3644
3645 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
3646
3647 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
3648
3649 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
3650 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
3651 to use a0-a3/d0-d3 as needed.
3652
3653 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
3654
3655 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
3656 * gdb.disasm/am33.exp: Corresponding changes.
3657
3658 1998-07-11 Felix Lee <flee@cygnus.com>
3659
3660 * gdb.base/callfuncs.exp: add cmp10 test.
3661 * gdb.base/callfuncs.c (cmp10): new function.
3662
3663 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
3664
3665 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
3666 into two parts to get around a synchronization problem in expect.
3667
3668 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
3669
3670 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
3671
3672 * configure.in: Add options for gdbtk testsuite.
3673
3674 * configure: Regenerate.
3675
3676 * gdb.gdbtk: New directory to hold gdbtk tests.
3677
3678 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3679
3680 * gdb.fortran/types.exp: Escape brackets in expect patterns
3681 for test_float_literal_types_accepted tests.
3682 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
3683 before run test.
3684
3685 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
3686
3687 * am33.exp: Just compile, do not link the testcase.
3688 * am33.s: Add ".am33" pseudoop to force am33 mode.
3689
3690 1998-06-25 Felix Lee <flee@cygnus.com>
3691
3692 * gdb.base/setshow.exp: make sure $pc is sane.
3693
3694 * gdb.stabs/weird.exp: split expect patterns properly.
3695
3696 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
3697
3698 * gdb.disasm/am33.s: New disassembler testfile for the am33.
3699 * gdb.disasm/am33.exp: Run it.
3700
3701 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
3702
3703 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
3704 match processing (and eliminate spurious timeouts when running).
3705
3706 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
3707
3708 * gdb.base/signals.exp (test_handle_all_print): put back Mach
3709 exception test, but conditionalize it on target [mach | gnu].
3710
3711 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
3712
3713 * gdb.base/overlays.exp: fixup compile line for linker script.
3714
3715 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
3716
3717 * gdb.fortran/types.exp: don't guess at float size.
3718
3719 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
3720
3721 * gdb.base/exprs.exp: delete test that depends on int size.
3722
3723 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
3724
3725 * config/sim.exp: Removed checks for target triplets.
3726 (gdb_target_sim): Use gdb,target_sim_options.
3727
3728 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
3729
3730 * gdb.base/reread.exp: New file.
3731 * gdb.base/reread1.c: New file.
3732 * gdb.base/reread2.c: New file.
3733
3734 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
3735
3736 * config/sim.exp: Use 'target sim -sparclite' when running
3737 SPARClite programs.
3738
3739 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
3740
3741 * gdb.base/structs2.exp: New file.
3742 * gdb.base/structs2.c: New file.
3743
3744 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
3745
3746 * gdb.asm/common.inc: New file.
3747 * gdb.asm/d10v.inc: New file.
3748 * asm-source.exp: Pass -I's to gas to find .inc files.
3749 Update line numbers in expected output.
3750 * asmsrc1.s: Rewrite.
3751 * asmsrc2.s: Rewrite.
3752 * configure.in: Create arch.inc symlink.
3753 * configure: Regenerate.
3754 * Makefile.in (distclean): Delete arch.inc.
3755
3756 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
3757
3758 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
3759 (t_enum_value2): ditto
3760 (t_enum_value3): ditto
3761 (main): ditto
3762 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3763
3764 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
3765 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
3766 change.
3767 Use gdb_test instead of send_gdb/gdb_expect sequences.
3768
3769 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
3770
3771 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
3772 not void.
3773
3774 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
3775
3776 * gdb.base/branches.c: Code with lots of loops and
3777 subroutines. Used to test gdbs ability to single step through PC
3778 changes, especially to test mips-tdep.c:mips_next_pc
3779
3780 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
3781
3782 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
3783 more rigorous EGCS C++ error checking.
3784
3785 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3786
3787 * gdb.base/help.exp: Clean up `help set args' and `help show args'
3788 tests.
3789 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
3790 function when asleep.
3791 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
3792 for i*86 Linux and SVR4 signal handling problems.
3793 Remove linux xfail for `next to handler in signals_tests_1', fixed
3794 by recent infrun.c change.
3795 Limit backtrace to 10 frames to avoid timeout problems with infinite
3796 stack backtraces.
3797 Adjust expect pattern in `handle all print' test to match Apr 28 1997
3798 target.[ch] change.
3799
3800 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
3801
3802 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
3803 for a newline from gdb before continuing.
3804 (default_gdb_exit): Just look for y or n.
3805 (gdb_test): Detect abnormal exit from GDB running on DOS; if
3806 it does, fail the rests of the tests in the file.
3807
3808 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
3809
3810 * config/cygmon.exp: New file.
3811
3812 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
3813
3814 * gdb.base/list.exp: Fix problem with "list default lines around
3815 main" test on remote targets.
3816
3817 * gdb.base/scope.exp: Fix problem with filelocal_bss before
3818 run test on remote targets.
3819
3820 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
3821
3822 * gdb.asm: New directory.
3823 * configure.in: Configure it.
3824 * configure: Regenerate.
3825 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
3826 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
3827
3828 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
3829
3830 * config/mn10300-eval.exp: New file to support MN10300 eval board.
3831
3832 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
3833
3834 * gdb.base/overlays (several files): Merge the two overlay
3835 managers into one. Change variables (foox, barx, bazx, grbxx)
3836 back into ints but force them to load in their proper sections.
3837
3838 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
3839
3840 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
3841 on-chip insn memory and IMAP1 to upper 128k.
3842 (D10VCopy): Handle memory regions crossing 16k boundaries.
3843 (D10VCopy): Transfer data in 32 bit chunks.
3844
3845 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
3846
3847 * gdb.base/overlays.c (main): Exit normally when result is
3848 correct.
3849
3850 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
3851 map. Include space for printf in .text segment.
3852
3853 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
3854 updated d10v memory VMA/LMA map.
3855 (D10VCopy): Call D10VTranslate.
3856
3857 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
3858
3859 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
3860
3861 * gdb.base/bar.c (barx, bar): Change variable to small array so
3862 that it won't be put into the .sdata - small data -
3863 section. Update reference.
3864 * gdb.base/baz.c (bazx, baz): Ditto.
3865 * gdb.base/foo.c (foox, foo): Ditto.
3866 * gdb.base/grbx.c (grbxx, grbx): Ditto.
3867
3868 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
3869 to be arrays.
3870
3871 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
3872
3873 * gdb.base/overlays.exp: fix up and get working again.
3874 Add tests for backtraces from an overlay function.
3875
3876 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
3877
3878 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
3879 "calling function with watchpoint enabled".
3880
3881 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
3882
3883 * gdb.base/break.exp (test_next_with_recursion): Remove
3884 gdb_suppress_tests for d10v-*-*.
3885 * lib/gdb.exp (gdb_suppress_tests): Disable this function
3886 pending review of whether it is useful or not.
3887
3888 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
3889
3890 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
3891
3892 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
3893
3894 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
3895 * config/dve.exp: New file to support Densan boards.
3896
3897 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
3898
3899 * gdb.base/interrupt.exp: Document problem of simulators, signals,
3900 reads and BSD.
3901
3902 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
3903
3904 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
3905 response.
3906
3907 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
3908
3909 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
3910
3911 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
3912 test.
3913
3914 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
3915 target_sizeof_long and target_bigendian_p.
3916 (structs_by_value, structs_by_reference): Check values according
3917 to targets word size and endianess.
3918
3919 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
3920
3921 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
3922 output.
3923
3924 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
3925
3926 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
3927 Update test of set args help to match source change.
3928
3929 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
3930
3931 * gdb.base/default.exp: Expect help system output to be in
3932 alphabetical order.
3933 * gdb.base/help.exp: Ditto.
3934
3935 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
3936
3937 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
3938 "i*86-pc-linux-gnu*".
3939 * gdb.base/interrupt.exp: Ditto.
3940 * gdb.base/corefile.exp: Ditto.
3941
3942 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
3943 define vxworks when building the testcase.
3944
3945 * gdb.base/ptype.exp: Fix testnames to be unique.
3946 * gdb.base/radix.exp: Ditto.
3947 * gdb.base/term.exp: Ditto.
3948 * gdb.base/whatis.exp: Ditto.
3949 * gdb.c++/classes.exp: Ditto.
3950
3951 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
3952
3953 * gdb.base/callfuncs.exp: Fix indentation.
3954
3955 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
3956 suppress_flag has been set.
3957 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
3958 target feature.
3959
3960 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
3961
3962 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
3963 the testcase.
3964
3965 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
3966 set_debug_traps() and breakpoint().
3967 * gdb.c++/misc.cc (main): Ditto.
3968 * gdb.c++/templates.cc (main): Ditto.
3969 * gdb.c++/virtfunc.cc (main): Ditto.
3970
3971 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
3972
3973 * lib/gdb.exp(gdb_step_for_stub): New function.
3974 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
3975 exists, reload the executable and do a "continue" instead of
3976 doing a jump.
3977 (runto_main): Use gdb_step_for_stub.
3978
3979 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
3980 tests to have unique names.
3981 * gdb.base/callfuncs.exp: Ditto.
3982 * gdb.base/commands.exp: Ditto.
3983 * gdb.base/default.exp: Ditto.
3984 * gdb.base/help.exp: Ditto.
3985 * gdb.base/list.exp: Ditto.
3986 * gdb.base/opaque.exp: Ditto.
3987 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
3988 similar tests.
3989
3990 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
3991 * gdb.c++/cplusfuncs.cc: Ditto.
3992 * gdb.c++/virtfunc.cc: Ditto.
3993
3994 * config/monitor.exp: Keep track of the last file we saw, rather
3995 than trying to get the info from gdb.
3996
3997 * gdb.fortran/types.exp: Move comment to previous line.
3998
3999 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4000
4001 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4002 target mode.
4003
4004 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4005
4006 From Bob Manson:
4007 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4008 string from GDB when it connects.
4009
4010 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4011
4012 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4013
4014 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4015 if we can't get a debug format from GDB (we may be testing an
4016 older GDB). Use a 10 second timeout when checking for the format.
4017
4018 * gdb.stabs/weird.exp: Fix quoting.
4019
4020 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4021
4022 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4023
4024 * config/arm-ice.exp: New file.
4025
4026 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4027
4028 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4029 until it has been modified to work with the new testsuite.
4030
4031 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
4032 testcase won't compile, cause all of the testcases in the file to
4033 fail instead.
4034
4035 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4036 (gdb_clear_suppressed): New procedure.
4037 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4038 it contains a positive value.
4039
4040 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4041
4042 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4043
4044 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4045
4046 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4047
4048 * lib/gdb.exp (setup_xfail_format): New function.
4049 (get_debug_format): New function to get debug format.
4050 (debug_format): New global variable to hold last value set
4051 by get_debug_format.
4052 * gdb.base/list.exp: Call get_debug_format and expect some
4053 tests to fail for DWARF 1 and COFF formats.
4054 * gdb.c++/ptype.exp: Ditto.
4055 * gdb.c++/classes.exp: Ditto.
4056 * gdb.c++/cplusfuncs.exp: Ditto.
4057 * gdb.c++/inherit.exp: Ditto.
4058 * gdb.c++/templates.exp: Ditto.
4059 * gdb.c++/virtfunc.exp: Ditto.
4060
4061 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4062
4063 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4064 host doesn't have a currently-open connection.
4065
4066 * config/sparclet.exp: Cleanups and fixes to make it generic for
4067 any gdb stub target. Handle cases where gdb doesn't respond when
4068 interrupted in a sane fashion.
4069
4070 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4071 same thing in a totally different way.
4072
4073 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4074 setting "timeout".
4075 (gdb_start): We set the global gdb_prompt variable in
4076 default_gdb_init now.
4077
4078 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4079
4080 * gdb.base/printcmds.exp: Fix "check for floating addition"
4081 regexp to accept results within approx +/- .01 of exact value.
4082 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
4083
4084 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
4085
4086 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
4087 properly.
4088 (gdb_expect): Add optional timeout parameter, and add timeout
4089 value to various calls.
4090 (gdb_suppress_tests): Only give one warning message per group.
4091
4092 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
4093
4094 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
4095 global variables. Handle getting a value for $timeout more
4096 gracefully.
4097
4098 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4099
4100 * lib/gdb.exp: Close connection to remote host if gdb doesn't
4101 initialize.
4102 (default_gdb_init): New procedure; allow gdb_init to be overridden
4103 by a target configuration file.
4104 (gdb_expect): Pass the timeout to remote_expect.
4105
4106 * config/monitor.exp(gdb_load): Fix typo in regexp.
4107
4108 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
4109
4110 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
4111
4112 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
4113
4114 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
4115 here. Call gdb_target_exec before rebooting the target, to make
4116 sure the connection to the target is closed.
4117 (gdb_load): Pass the name of the executable to gdb_target_monitor.
4118 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
4119 Also detect "Timeout reading from remote" error.
4120
4121 * config/gdbserver.exp: Pass the executable being loaded to
4122 gdb_target_monitor. Don't call gdb_file_cmd here; let
4123 gdb_target_monitor do it.
4124
4125 * gdb.disasm/hppa.exp: Don't use exec_output.
4126
4127 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
4128
4129 * gdb.base/list.exp: If we're debugging a non-native target,
4130 try to set the pc register to point to the start of the
4131 program before doing the first list command.
4132
4133 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
4134 test_calls after restarting.
4135
4136 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
4137 reloading.
4138
4139 * gdb.base/watchpoint.exp: Fix typo.
4140
4141 * gdb.base/setshow.exp: Check for use_gdb_stub.
4142
4143 * gdb.base/break.exp: Fix continue until exit test for the gdb
4144 stub case.
4145 * gdb.base/langs.exp: Ditto.
4146
4147 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
4148 gdb_load_offset. If we weren't given a file to load, figure out
4149 what the current file is and use it.
4150
4151 * config/i386-bozo.exp: New file.
4152
4153 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
4154
4155 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
4156 feature.
4157
4158 * config/proelf.exp: New entry.
4159
4160 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
4161
4162 * lib/gdb.exp: Remove spurious .* patterns at the beginning
4163 of regexps.
4164
4165 * gdb.base/watchpoint.exp: Don't run the test_stepping
4166 tests if gdb can't call functions on the target.
4167
4168 * gdb.base/setshow.exp: Don't run the set prompt tests if
4169 the board has gdb_prompt set.
4170
4171 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
4172
4173 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
4174 * gdb.base/commands.exp: Likewise.
4175 * gdb.base/setshow.exp: Likewise.
4176
4177 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
4178
4179 * config/monitor.exp(gdb_start): Look for gdb_prompt target
4180 feature.
4181
4182 * config/i960.exp: New file.
4183
4184 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
4185
4186 * gdb.base/funcargs.exp: Check for gdb,short_int target
4187 feature instead of looking for explicit target triplets.
4188
4189 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
4190
4191 * gdb.base/printcmds.exp: add a couple more tests a la
4192 "p 123DEADBEEF", to check parse_number.
4193 * top.c: change "to enable to enable" to "to enable" in a couple
4194 of help strings.
4195
4196 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
4197
4198 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
4199 on the mn10300.
4200
4201 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
4202
4203 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
4204 where the test executable is run with explicit args.
4205 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
4206
4207 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
4208
4209 * gdb.base/run.c: Use FAKEARGV to build test executable that
4210 does not require a command line arg, since most simulators
4211 don't currently support passing such an arg into the simulated
4212 program.
4213 * gdb.base/commands.exp: Change tests to insert the proper
4214 value as the arg to the first recursive factorial call. Change
4215 compilation line to define FAKEARGV at compile time.
4216
4217 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
4218
4219 * gdb.base/recurse.exp: Enable these tests for the mn10300.
4220 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
4221 function with watchpoint enabled" test.
4222
4223 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
4224
4225 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
4226 Don't call gdb_test when the command doesn't return to a gdb prompt.
4227
4228 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
4229 "Tests restarted" messages.
4230
4231 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
4232
4233 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
4234
4235 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
4236
4237 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4238 for INFO SYMBOL; add help tests for OVERLAY commands.
4239 * gdb.base/default.exp: add tests for INFO SYMBOL command;
4240 add tests for OVERLAY commands
4241 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
4242 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
4243 * gdb.base/sigall.c: add usestubs code frag
4244 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
4245
4246 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4247
4248 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4249 failures.
4250 (gdb_stop_suppressing_tests): Note that tests have restarted.
4251
4252 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4253
4254 * config/h8300.exp: New file.
4255
4256 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4257
4258 * gdb.base/setshow.exp: Check for the existence of a
4259 feature, not its value.
4260
4261 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
4262
4263 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
4264
4265 * gdb.base/scope.exp: It's now init0(), not init().
4266
4267 * gdb.base/scope0.c: For now, change init() to be init0().
4268
4269 * config/monitor.exp: Use gdb_serial in preference to serial
4270 or netport.
4271
4272 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
4273 and it's not already set.
4274
4275 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
4276
4277 * gdb.base/setshow.exp: Only test the run command if the target
4278 isn't using a stub and if it supports argument passing.
4279
4280 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
4281
4282 * config/udi.exp(gdb_start): Make sure UDICONF is set
4283 properly before starting gdb.
4284
4285 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
4286
4287 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
4288 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
4289 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
4290
4291 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
4292
4293 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
4294 specialized code to reboot the board, use remote_reboot instead.
4295
4296 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
4297
4298 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
4299
4300 * config/monitor.exp: Make sure we disconnect from the target.
4301 Also, try a reboot/reload cycle instead of failing if the
4302 load fails.
4303
4304 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
4305
4306 * gdb.base/default.exp: Don't set match_max.
4307 * gdb.base/help.exp: Ditto.
4308 * gdb.base/list.exp: Ditto.
4309 * gdb.base/signals.exp: Ditto.
4310
4311 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
4312 set, use remote_ld to download the testcase instead of
4313 the GDB loader.
4314
4315 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
4316
4317 * config/vr5000.exp: New file.
4318
4319 * config/monitor.exp(gdb_target_monitor): Add pattern for
4320 "Ending remote" to detect errors in connecting.
4321
4322 * gdb.base/setshow.exp: Add .* within auto language test.
4323
4324 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
4325 target feature.
4326
4327 * config/monitor.exp(gdb_load): Check for a failure when loading,
4328 and reboot the board if necessary.
4329
4330 * gdb.base/setvar.exp(test_set): Handle multiple prints within
4331 a set of tests. Remove print.* from the patterns being checked.
4332
4333 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
4334
4335 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
4336 refer to gdb_spawn_id.
4337
4338 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
4339 longer used.
4340 * config/sparclet.exp: Ditto.
4341 * config/sparclet-old.exp: Ditto.
4342 * config/slite.exp: Ditto.
4343 * config/sim.exp: Ditto.
4344 * gdb.base/funcargs.exp: Ditto.
4345
4346 * lib/gdb.exp:Remove references to gdb_spawn_id.
4347 (gdb_expect): Move to remote.exp.
4348
4349 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
4350
4351 * config/monitor.exp: Detect the "Couldn't establish connection"
4352 message from GDB.
4353
4354 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
4355
4356 * gdb.base/bitfields.exp: Use runto instead of explicit
4357 gdb_run_cmd/gdb_expect sequences.
4358
4359 * gdb.base/break.exp(text_next_with_recursion): Add match for
4360 gdb_expect call.
4361
4362 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
4363 We also need to handle the "A program is being debugged already"
4364 prompt from gdb. Use gdb_test to set the baud rate.
4365
4366 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
4367 to 20000. Really. I mean it.
4368
4369 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4370
4371 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
4372 fails. If suppress_flag is set, skip perror message about not
4373 being able to send to GDB.
4374 (send_gdb): If suppress_flag is set, don't try to send commands to
4375 GDB.
4376 (gdb_expect): If suppress_flag is set, always fail immediately.
4377 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
4378 (gdb_init): Call gdb_stop_suppressing_tests.
4379 (default_gdb_exit): Ditto.
4380 (default_gdb_start): Ditto.
4381
4382 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
4383 gdb_stop_suppressing_tests as appropriate.
4384 * gdb.base/break.exp: Ditto.
4385 * gdb.base/callfuncs.exp: Ditto.
4386 * gdb.base/commands.exp: Ditto.
4387 * gdb.base/exprs.exp: Ditto.
4388 * gdb.base/funcargs.exp: Ditto.
4389 * gdb.base/list.exp: Ditto.
4390 * gdb.base/recurse.exp: Ditto.
4391 * gdb.base/scope.exp: Ditto.
4392 * gdb.base/structs.exp: Ditto.
4393 * gdb.c++/inherit.exp: Ditto.
4394
4395 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
4396
4397 * config/vr4300.exp: New file.
4398
4399 * gdb.*/*.exp: Call gdb_expect instead of expect.
4400
4401 * lib/gdb.exp(gdb_expect): New function.
4402
4403 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
4404
4405 * lib/gdb.exp(gdb_init): New function.
4406
4407 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
4408 for each individual variable set.
4409
4410 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
4411 name.
4412
4413 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
4414
4415 * gdb.base/scope.exp: Use gdb_test.
4416
4417 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
4418 aborting; the testsuite driver will do that for us (see
4419 gdb_finish). Also, use gdb_test in a few more places.
4420
4421 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
4422
4423 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
4424
4425 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
4426
4427 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
4428 and "add_tests" are not at the same address.
4429
4430 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
4431
4432 * gdb.base/ptype.exp: Use gdb_test.
4433
4434 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
4435
4436 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
4437 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
4438 left in. No longer expect them to fail.
4439
4440 * gdb.stabs/*.mt; Deleted, no longer used.
4441 * gdb.stabs/configure.in: Remove references to target makefile
4442 frags.
4443 * gdb.stabs/configure: Rebuilt.
4444
4445 * gdb.disasm/*.mt: Deleted, no longer used.
4446 * gdb.disasm/configure.in: Remove references to target makefile
4447 frags. Use "sh3.s" as the unique filename for this directory.
4448 * gdb.disasm/configure: Rebuilt.
4449
4450 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
4451 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
4452 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
4453
4454 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
4455
4456 * config/udi.exp: Use mondfe,name instead of remote_host.
4457
4458 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
4459
4460 * gdb.base/watchpoint.exp: Don't expect a failure when calling
4461 a function with a watchpoint enabled on the mn10200.
4462
4463 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
4464 before trying to create it!
4465
4466 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
4467
4468 * config/vx.exp: Use hostname instead of netport.
4469
4470 * config/vxworks.exp: New file.
4471
4472 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
4473
4474 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
4475 gdb before assuming everything worked. Send a ^C if a timeout
4476 occurs.
4477
4478 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
4479 $gdb_spawn_id directly.
4480 (gdb_run_cmd): Try _start as well as start. Use the target feature
4481 gdb,start_symbol as the symbol to start from when jumping.
4482
4483 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
4484
4485 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
4486 redundant) test.
4487
4488 * gdb.base/recurse.exp: Relax final value test for 'b' so that
4489 it doesn't lose for 16bit integer systems.
4490
4491 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
4492
4493 * gdb.fortran/types.exp: If the target doesn't support "double"
4494 data types, then expect "real" types to only be 4 bytes.
4495
4496 * gdb.c++/virtfunc.exp: Expect failure for virtual function
4497 call tests if the target doesn't support inferior function calls.
4498
4499 * gdb.base/printcmds.exp: Allow minor deviation in FP values
4500 in printf tests.
4501
4502 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
4503
4504 * gdb.base/help.exp: Disable "help set", "help show", and
4505 "help support". Simplify regexp for "help stack".
4506
4507 * gdb.base/default.exp: Set match_max to 5000 and the timeout
4508 to 60 seconds. Temporarily set match_max to 15000 around the
4509 "info copying" test.
4510
4511 * gdb.base/nodebug.exp: Don't try to do an inferior function
4512 call if the target doesn't support them.
4513 * gdb.base/printcmds.exp: Likewise.
4514 * gdb.base/setvar.exp: Likewise.
4515 * gdb.base/structs.exp: Likewise.
4516 * gdb.c++/templates.exp: Likewise.
4517 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
4518
4519 * gdb.base/recurse.exp: Enable for the mn10200.
4520
4521 * configure.in: Do configure gdb.stabs directory for *-*-elf
4522 targets.
4523 * configure: Rebuilt.
4524
4525 * gdb.base/break.exp: Check for gdb,noresults before testing
4526 exit status and/or results from the target.
4527 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
4528 * lib/gdb.exp: Remove old (now bogus) initialization of
4529 noinferior, noargs, noresults and nosignals.
4530
4531 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
4532
4533 * config/sh.exp: New file.
4534
4535 * config/slite.exp: Try to connect multiple times to the board
4536 before rebooting. Only send a "monitor run" if need_monitor_run
4537 is set.
4538
4539 * gdb.base/break.exp: Don't do the "stub continue" test if
4540 the target has gdb_stub set.
4541
4542 * gdb.base/callfuncs.exp: Increase the timeout.
4543
4544 * gdb.base/interrupt.exp: Don't even try to compile the testcase
4545 if the target has gdb,noinferiorio set.
4546
4547 * gdb.base/list.exp: Increase match_max to 10000 characters.
4548
4549 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
4550
4551 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
4552 target.
4553
4554 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
4555
4556 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
4557
4558 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
4559 trying to delete the copy of gdb. Catch the file delete so we
4560 don't die if the delete fails; also, the file should be copied to
4561 the host, not to the build.
4562
4563 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
4564
4565 * lib/gdb.exp(gdb_test): Surround the result pattern with
4566 parenthesis in case it contains multiple regexps separated
4567 with |.
4568
4569 * gdb.base/watchpoint.exp: Use gdb_test.
4570 * gdb.base/default.exp: Ditto.
4571
4572 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
4573
4574 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
4575
4576 * gdb.base/scope.exp: Use gdb_test.
4577 * gdb.c++/classes.exp: Ditto.
4578 * gdb.c++/inherit.exp: Ditto.
4579
4580 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
4581
4582 * gdb.base/crossload.exp: Don't use execute_anywhere, use
4583 remote_exec instead.
4584 * gdb.base/corefile.exp: Don't be ridiculous.
4585 * gdb.base/*.c: Add missing stub invocations.
4586
4587 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
4588
4589 * config/slite.exp: Miscellaneous fixes.
4590
4591 * lib/gdb.exp: Fix runto.
4592
4593 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
4594 the target.
4595
4596 * gdb.base/watchpoint.exp: Fix regexp.
4597
4598 * lib/gdb.exp(default_gdb_exit): Add a catch to the
4599 close and wait commands, as the descriptor may now be
4600 invalid. Always call "remote_close host".
4601
4602 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
4603
4604 Major rewrite for testsuite revision.
4605
4606 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
4607 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
4608 instead of relying on spawn_id to always contain a valid
4609 spawn id.
4610 (get_compiler_info): New procedure to build the ${binfile}.ci
4611 file, instead of replicating this in N different places.
4612 (gdb_compile): New procedure.
4613
4614 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
4615 appropriate arguments) instead of compile. Use gdb_test in a lot
4616 more places. Use send_gdb instead of send. Always run gdb_start
4617 at the start of a testcase, as this is no longer done magically.
4618
4619 config/*-gdb.exp: Rename without the -gdb suffix.
4620
4621 config/mips.exp: Use remote_close instead of exit_remote_shell.
4622 config/monitor.exp: Use target_info instead of looking at
4623 baud, timeout, etc.
4624 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
4625
4626 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4627
4628 * gdb.c++/templates.exp (test_ptype_of_templates),
4629 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
4630 Update expect patterns for destructors and assignment operators
4631 to match corresponding c-typeprint.c changes.
4632 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
4633 to destructor breakpoint test, GDB should be able to set the
4634 destructor breakpoint without specifying arguments.
4635
4636 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
4637
4638 * gdb.threads/pthreads.exp: Change result for failure to compile due
4639 to lack of pthreads runtime support from an error to simply an
4640 unsupported test, per dejagnu standards.
4641
4642 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4643
4644 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
4645 where GDB exits to reduce pattern match time.
4646 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
4647
4648 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
4649
4650 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
4651
4652 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
4653 * gdb.base/default.exp: ditto.
4654 * gdb.base/nodebug.exp: ditto.
4655 * gdb.base/printcmds.exp: ditto.
4656 * gdb.base/ptype.exp: ditto.
4657 * gdb.base/setvar.exp: ditto.
4658 * gdb.base/structs.exp: ditto.
4659 * gdb.base/setshow.c: Guard against uninitialized values of argc.
4660
4661 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
4662
4663 * configure, */configure: Rebuild with autoconf 2.12.
4664
4665 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
4666
4667 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
4668 use new i*86-pc-linux*-gnu quads.
4669 * gdb.base/corefile.exp: Ditto.
4670 * gdb.base/signals.exp: Ditto.
4671 * gdb.base/sigall.exp: Ditto.
4672 * gdb.base/interrupt.exp: Ditto.
4673
4674 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
4675 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
4676 RedHat 4.0.
4677
4678 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
4679 linux. This allows the test case to at least compile on latest
4680 linux, but still not run due to missing the threads runtime library.
4681
4682 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4683
4684 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
4685 directory to search gdb directory. Accept and step over conditional
4686 stack alignment code. Consume $prompt in failure cases.
4687 Reset timeout to $oldtimeout instead of some arbitrary value.
4688 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
4689 timeout problems with infinite stack backtraces.
4690 * gdb.base/ptype.exp (ptype struct link, union tu_link):
4691 Accept function parameters for linkfunc member.
4692
4693 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
4694
4695 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
4696 (CXXFLAGS): Remove, unreferenced.
4697 (B_OPTIONS): Add for -B options and add code to initialize with
4698 previous -B options and also add -B option to pick up cross compiled
4699 runtime.
4700 (TARGET_INCLUDES): Add for -I options and add code to initialize when
4701 doing cross compiles.
4702 (target_alias): Declare global.
4703 (xgcc): Set variable to full path of gcc in build tree. Use findfile
4704 to verify that gcc exists in build tree, and if so set CC to that
4705 gcc and to use B_OPTIONS and TARGET_INCLUDES.
4706
4707 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
4708
4709 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
4710 ptype test for anonymous union. Fixup testcase to match
4711 current gcc debug output.
4712
4713 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
4714
4715 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
4716 force argument to an unsigned long type.
4717
4718 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
4719
4720 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
4721 tests and anonymous union print/ptype tests.
4722 * gdb.base/list.exp (test_forward-search): Increase timeout by
4723 5 minutes for the "search extremely long line" case.
4724 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
4725 completely optional and that the pass/fail messages use the command as
4726 the message if that third arg is a null string.
4727 (gdb_test_exact): Arrange that a null string pattern means match a
4728 null string output rather than any output, which might include random
4729 errors.
4730 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
4731 backtrace test.
4732 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
4733 always failing and failure is now exposed by gdb.exp changes.
4734
4735 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
4736
4737 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
4738 weren't being noted.
4739
4740 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4741
4742 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
4743 * gdb.stabs/weird.exp: Remove v_comb xfails.
4744
4745 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
4746
4747 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
4748 list.exp scope.exp watchpoint.exp]
4749 Make all timeout error msgs explicitly say "(timeout)".
4750
4751 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
4752
4753 * config/monitor.exp: Increase download timeout to 1000 seconds.
4754
4755 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
4756
4757 * config/m32r.exp: Increase timeout to 120 seconds.
4758
4759 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
4760
4761 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
4762 and accept older ordering as obsolescent gcc or gdb.
4763 * gdb.c++/templates.exp: Ditto.
4764 * gdb.c++/virtfunc.exp: Ditto.
4765
4766 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
4767
4768 * gdb.base/coremaker.c: Add code to mmap some data so we
4769 can check that it ends up in the core file.
4770 * gdb.base/corefile.exp: Add test to read mmapped data
4771 from core file.
4772
4773 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
4774
4775 * config/m32r.exp: New file.
4776
4777 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
4778
4779 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
4780 that cflags can contains -gstabs, and work correctly for other tests.
4781
4782 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
4783
4784 * gdb.base/setshow.exp: New file, tests show and set.
4785 * gdb.base/setshow.c: New file, tests show and set.
4786 * gdb.base/help.exp: Add test for help set|show annotate.
4787 * gdb.base/default.exp: Add test for set|show annotate.
4788
4789 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
4790
4791 * testsuite/gdb.base/break.exp: Make backtrace from factorial
4792 errors unique.
4793 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
4794 explicitly.
4795
4796 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
4797
4798 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
4799 and width commands. This is done elsewhere.
4800 * (gdb_start): Don't call gdb_start_sim here. That's already
4801 done in gdb_load. This fixes lots of failures in default.exp.
4802
4803 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
4804
4805 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
4806 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
4807 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
4808 in the same we we treat other failures (since it may be an expected
4809 condition), rather than as an error.
4810 * gdb.base/signals.exp (test_handle_all_print): Revert back to
4811 old test format.
4812
4813 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
4814
4815 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
4816 (distclean maintainer-clean realclean): No need to remove files
4817 twice. Nuke the duplicates.
4818 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
4819 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
4820 Remove config.h along with other config files.
4821
4822 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
4823
4824 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
4825 "p func1 ()" and note that rests of tests are skipped.
4826 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
4827 setup_xfails for "print func2::coremaker_local".
4828 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
4829 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
4830 affected by the previous run test.
4831 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
4832 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
4833 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
4834 "pass int powerset tuple" and "pass modeless int powerset tuple".
4835 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
4836 "real write 4" and "real write 8".
4837 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
4838 setup_xfails for "print vs1 after tuple assign 2",
4839 "print \$i after tuple assign 2", and
4840 "print vs2 after tuple assign 2".
4841 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
4842 meaningful error message and return -1 so the caller can
4843 suppress further tests and avoid a cascade of errors.
4844
4845 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
4846
4847 * gdb.base/a1-selftest.exp: Tweak tests to account for new
4848 format for printing version.
4849 * gdb.base/default.exp: Ditto.
4850 * gdb.base/interrupt.exp: Fix problem with cascade of
4851 errors if child process dies while calling a function.
4852
4853 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
4854
4855 * Makefile.in (VPATH): Add
4856 * Makefile.in (Makefile, config.status): Fix rules so things get
4857 remade when necessary.
4858
4859 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
4860
4861 * Makefile.in (just-check): Add path to sibling expect dir
4862 to environment variable specified by RPATH_ENVVAR.
4863
4864 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
4865
4866 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
4867 (just-check): Add shared library paths for libstdc++, tk,
4868 tcl, bfd, and opcodes to the environment variable specified
4869 in RPATH_ENVVAR.
4870 * configure.in: Add support to recognize --enable-shared flag
4871 and generate correct value for RPATH_ENVVAR.
4872 * configure: Regenerated with autoconf.
4873
4874 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
4875
4876 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
4877 include all osf versions.
4878 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
4879 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
4880 when target is linux. When failing to build pthreads test
4881 executable, give more meaningful message.
4882 * gdb.threads/pthreads.c: Hpux also uses old definition of second
4883 arg for pthread_create.
4884
4885 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
4886
4887 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
4888 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
4889 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
4890 and -lpthreads (everybody else).
4891 (test_startup): Fail gracefully if threads are not supported.
4892 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
4893 "p/c array_index("abcdef",2)" when not gcc compiled.
4894 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
4895 "print func2::coremaker_local" when not gcc compiled.
4896 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
4897 "ptype on opaque struct tagname (statically)",
4898 "ptype on opaque struct tagname (dynamically) 1", and
4899 "ptype on opaque struct tagname (dynamically) 2"
4900 for not compiled with gcc.
4901 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
4902 backtrace when compiled with gcc.
4903 * lib/gdb.exp (runto_main): Return result of "runto main" rather
4904 than always return success.
4905
4906 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
4907
4908 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
4909
4910 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
4911
4912 * gdb.base/structs.exp: Undo last change.
4913
4914 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
4915
4916 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
4917 encapsulate all the steps/nexts done during self test, starting
4918 at main, and makes them less sensitive to optimization issues.
4919 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
4920 signal handler" test.
4921 * gdb.threads/pthreads.exp: Only run this for native configs.
4922 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
4923 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
4924 tests.
4925 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
4926 for "runto test_calls(void)" test.
4927
4928 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
4929
4930 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
4931 and don't expect address info in breakpoint confirmations.
4932
4933 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
4934
4935 * gdb.base/list.exp (test_forward_search): Increase timeout
4936 temporarily by 60 seconds for searching extremely long line,
4937 and then reset to old value when done. Increase expect input
4938 buffer to 10000.
4939
4940 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
4941
4942 * gdb.base/list.exp (test_forward_search): Fix to handle very
4943 long source line without overflowing expect's input buffer.
4944
4945 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
4946
4947 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
4948 "buffer_full".
4949
4950 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
4951 "buffer_full".
4952
4953 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
4954 "buffer_full".
4955
4956 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
4957 "buffer_full".
4958
4959 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
4960
4961 * configure.in (configdirs): Add gdb.threads.
4962 * configure: Regenerated with autoconf.
4963 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
4964 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
4965 * gdb.threads/configure: New, generated with autoconf.
4966
4967 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
4968
4969 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
4970
4971 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
4972
4973 * gdb.base/signals.exp (test_handle_all_print): Test separately for
4974 each signal's status in the output of "handle all print".
4975 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
4976 the \r\n sequence that immediately precedes the gdb prompt.
4977 * gdb.base/a1-selftest.exp: Save original timeout and restore
4978 after test.
4979
4980 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
4981
4982 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
4983 symbol.
4984
4985 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
4986
4987 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
4988
4989 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
4990
4991 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
4992 timeout by 60 seconds.
4993
4994 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
4995
4996 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
4997 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
4998 error return.
4999
5000 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5001
5002 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5003 gdb initialization, also report how long dejagnu waited. Restore
5004 old timeout before doing error return. Temporarily increase timeout
5005 by 3 minutes to allow for slow startups over heavy NFS use.
5006
5007 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5008
5009 * lib/gdb.exp: Report timeout value for verbosity level 2.
5010 * config/gdbserver.exp: Ditto.
5011 * config/hppro.exp: Ditto.
5012 * config/mips-gdb.exp: Ditto.
5013 * config/monitor.exp: Ditto.
5014 * config/netware.exp: Ditto.
5015 * config/sim-gdb.exp: Ditto.
5016 * config/slite-gdb.exp: Ditto.
5017 * config/udi-gdb.exp: Ditto.
5018 * config/unix-gdb.exp: Ditto.
5019 * config/vx-gdb.exp: Ditto.
5020 * gdb.base/a1-selftest.exp: Ditto.
5021 * gdb.base/a2-run.exp: Ditto.
5022 * gdb.base/break.exp: Ditto.
5023 * gdb.base/corefile.exp: Ditto.
5024 * gdb.base/list.exp: Ditto.
5025 * gdb.base/recurse.exp: Ditto.
5026 * gdb.base/scope.exp: Ditto.
5027 * gdb.base/signals.exp: Ditto.
5028
5029 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5030
5031 * gdb.threads/Makefile.in (docdir): Removed.
5032
5033 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5034
5035 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
5036 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
5037 @srcdir@.
5038 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
5039 autoconf 2.5 or higher.
5040 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5041
5042 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5043
5044 * configure: Regenerated.
5045 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5046 avoid name clashes with SunOS headers.
5047
5048 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5049
5050 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5051
5052 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5053
5054 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5055 prototype information ends up in the compiler info file.
5056
5057 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5058
5059 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5060 attempting to regenerate it. Eliminate use of a temporary file
5061 and just generate the info file directly. Source it immediately,
5062 for consistency of use.
5063 * gdb.base/corefile.exp: Ditto
5064 * gdb.base/exprs.exp: Ditto.
5065 * gdb.base/funcargs.exp: Ditto.
5066 * gdb.base/langs.exp: Ditto.
5067 * gdb.base/list.exp: Ditto.
5068 * gdb.base/mips_pro.exp: Ditto.
5069 * gdb.base/nodebug.exp: Ditto.
5070 * gdb.base/opaque.exp: Ditto.
5071 * gdb.base/ptype.exp: Ditto.
5072 * gdb.base/scope.exp: Ditto.
5073 * gdb.base/setvar.exp: Ditto.
5074 * gdb.base/signals.exp: Ditto.
5075 * gdb.base/whatis.exp: Ditto.
5076 * gdb.c++/templates.exp: Ditto.
5077 * gdb.c++/virtfunc.exp: Ditto.
5078 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5079 whether or not to add -lstdc++ to the compile command line args.
5080
5081 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5082
5083 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
5084 it got fixed by the recent lookup_minimal_symbol_by_pc change.
5085 Increase timeout, a lot of single stepping might be needed if the
5086 target has no hardware watchpoints.
5087
5088 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
5089
5090 * gdb.base/break.exp: Ignore compiler warnings when compiling
5091 break.c.
5092 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
5093 * gdb.base/default.exp: Add h8300 xfails. Handle messages
5094 from remote-sim.
5095 * gdb.base/exprs.exp: Add h8300 xfails.
5096 * gdb.base/funcargs.exp: Likewise.
5097 * gdb.base/nodebug.exp: Likewise.
5098 * gdb.base/printcmds.exp: Likewise.
5099 * gdb.base/ptype.exp: Likewise.
5100 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
5101 h8300 xfails.
5102 * gdb.base/return.exp: Handle float/double precision problems
5103 on the h8300.
5104 * gdb.base/funcargs.c: Explicitly make last constant argument to
5105 call_after_alloca_subr an unsigned long type.
5106 * gdb.base/return.c: Include stdio.h.
5107
5108 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
5109
5110 * config/abug.exp: New file for the older Motorola Bug monitor
5111 that runs on the mvme13x series VME boards.
5112 * config/monitor.exp: Use the new config array for target settings
5113 if they exist.
5114
5115 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5116
5117 * sim-gdb.exp: Make the SH simulator allocate less space when
5118 it is targeted.
5119
5120 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
5121
5122 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
5123 test.
5124
5125 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
5126
5127 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
5128 "rs6000-*-*" for "list function in include file" when gcc compiled.
5129 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
5130 for "p ctable1[120]".
5131 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
5132 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
5133 Remove setup_xfail for "rs6000-*-*" for
5134 "print 'scope0.c'::filelocal before run".
5135 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
5136 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
5137 since some compilers don't allow both options to be given
5138 on the same command line. Create object file and move it.
5139
5140 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
5141
5142 * gdb.base/corefile.exp: Always regenerate the core file, since
5143 we always regenerate the coremaker program. Detect special case
5144 where registers cannot be read from core file.
5145
5146 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
5147
5148 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
5149 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
5150 * gdb.c++/templates.exp: Only match on basename of file since
5151 some formats like xcoff don't encode directory information.
5152 * gdb.stabs/weird.exp: Use the right sed script for powerpc
5153 and rs6000 AIX xcoff targets.
5154 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
5155 * configure: Regenerate.
5156 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
5157 here, rather than in distclean.
5158
5159 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
5160
5161 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
5162 defined, and use it to compile the test case with -O2. The
5163 native compilation still uses no optimization.
5164 * gdb.base/mips_pro.c: Remove inline assembly code since
5165 it is compiled PIC by default, which results in assembler
5166 warnings that make the testsuite think the compilation
5167 was unsuccessful.
5168
5169 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
5170
5171 * gdb.c++/misc.exp: Add note to message for
5172 "print s.a for foo struct" that this is a known gcc 2.7.2
5173 and earlier bug.
5174
5175 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
5176
5177 * gdb.base/break.exp: Fix pattern for matching "Delete all
5178 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
5179 setup_xfail for deleting all breakpoints test. Fix various
5180 timeout messages to include "(timeout)".
5181 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
5182 for "p t_float_values2(3.14159,float_val2)".
5183 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
5184 for "continue to call2g" when gcc compiled.
5185 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
5186 "up to foo in langs.exp", "show language at foo in langs.exp",
5187 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
5188 and "show language at fsub in langs.exp".
5189 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
5190 "list line 1 in include file", "list message for lines past EOF",
5191 "list function in include file", "list list0.h:foo", and
5192 "list filename:function; nonexistant function".
5193 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
5194 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
5195 and "ptype t_char_array" to be for native cc only.
5196
5197 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
5198
5199 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
5200 setup_xfail for "print coremaker_bss", "print coremaker_ro",
5201 "print func2::coremaker_local", and "backtrace in corefile.exp".
5202
5203 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
5204
5205 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
5206 "bt in signals.exp". This problem only appears when running
5207 the testsuite, and then only intermittently.
5208
5209 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
5210
5211 * gdb.base/return.exp (return_tests): Differentiate between
5212 two tests of continuing.
5213
5214 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
5215
5216 * */Makefile.in (maintainer-clean): Remove config.log.
5217 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
5218 * gdb.c++/Makefile.in (PROGS): Add inherit.
5219 (clean): Remove *.ci.
5220
5221 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
5222
5223 * gdb.c++/misc.cc: Add test code from Mike Stump.
5224 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
5225
5226 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
5227
5228 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
5229 to "alpha-*-osf2*" and add comment.
5230 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
5231 setup_xfail for "step over execarg initialization" and
5232 "step over corearg initialization".
5233 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
5234 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
5235 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
5236 gcc compiled for "print coremaker_bss", "print coremaker_ro",
5237 "print func2::coremaker_local", and "backtrace in corefile.exp".
5238 * gdb.base/signals.exp: Build and source signals.ci.
5239 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
5240 to be for gcc only.
5241 * lib/gdb.exp: Move verbose statements outside conditionals.
5242
5243 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5244
5245 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5246 Feb 3 procfs.c change.
5247
5248 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5249
5250 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5251
5252 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5253
5254 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5255 from dejagnu's apparent default of 10 seconds, which gives random
5256 results when running the tests over NFS on moderately loaded systems.
5257 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5258
5259 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
5260
5261 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
5262 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
5263 result reports.
5264
5265 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
5266
5267 * configure.in (CY_AC_PATH_TCLH): Remove.
5268 * configure: Regenerate.
5269
5270 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
5271
5272 * gdb.c++/Makefile.in (clean): Add missing '{'.
5273
5274 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
5275
5276 * lib/gdb.exp: Provide a default value for noinferior.
5277
5278 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
5279 Load libgloss.exp.
5280
5281 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
5282
5283 * gdb.disasm/hppa.exp: Compile directly into an executable, use
5284 the executable, not the .o to run the tests from.
5285
5286 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
5287
5288 * gdb.base/break.exp: Don't test for program exit or exit status
5289 if $noresults if nonzero.
5290 * gdb.base/langs.exp: Likewise.
5291 * gdb.base/watchpoint.exp: Likewise.
5292
5293 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
5294 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
5295 trying to compile the testcase.
5296
5297 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
5298
5299 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
5300 * gdb.base/signals.exp (continue to handler): Likewise.
5301
5302 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
5303
5304 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
5305
5306 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
5307
5308 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
5309
5310 * gdb.base/corefile.exp: Recognize "not found" as failure
5311 when trying to determine if a core file was generated.
5312 If no core file was generate the first time, try again without
5313 the ulimit -c to work around braindamaged shells.
5314
5315 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
5316
5317 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
5318 [] tests with "test" and enclose string in quotes.
5319 * gdb.stabs/configure: Rebuild
5320
5321 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
5322
5323 Changes in sync with expect:
5324 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
5325 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
5326 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
5327 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
5328 argument to AC_REQUIRE.
5329 * configure: Regenerated.
5330
5331 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
5332
5333 * gdb.base/corefile.exp: When generating a core, discard any
5334 error messages about ulimit not found and the "core dumped"
5335 message from the shell that runs the coredumper.
5336
5337 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
5338
5339 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
5340
5341 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
5342 which sed script to run. Expect failure for v_comb test
5343 on PA targets too.
5344
5345 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
5346
5347 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
5348 "print func2::coremaker_local" and for "backtrace in corefile.exp"
5349
5350 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
5351
5352 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
5353 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
5354 "sparc-sun-solaris*" xfails for "p v_comb".
5355 * lib/gdb.exp (default_gdb_start): Fix typo.
5356 * gdb.base/corefile.exp: Allow "Core was generated by ..."
5357 messages to not include the full program name that caused
5358 the core dump since some systems (such as solaris) apparently
5359 truncate this path to about 80 characters.
5360 When generating a core file first try increasing the core file
5361 size limit to unlimited since some systems may default it to
5362 zero, and it is harmless to try it. Move the test for failing
5363 to generate a core file to where it will actually get executed.
5364 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
5365 new gdb result from g++ debug info improvements and make old
5366 pattern obsolescent. Also account for size_t differences
5367 (may be int or long).
5368 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
5369 initialization before function call is placed in the delay slot
5370 and thus appears to be skipped over by commands such as "next".
5371
5372 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
5373
5374 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
5375
5376 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
5377
5378 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
5379 input source file; fix code to compile test to deal with this
5380 convention.
5381 * gdb.c++/*.exp: Likewise.
5382
5383 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
5384
5385 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
5386 "bt in signals.exp".
5387
5388 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
5389
5390 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
5391 "step over execarg initialization" and
5392 "step over corearg initialization".
5393
5394 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
5395
5396 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
5397 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
5398
5399 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
5400
5401 From Rob Savoye (rob@poseidon.cygnus.com)
5402 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
5403 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
5404 configure.in}, gdb.disasm/{Makefile.in, configure.in},
5405 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
5406 configure.in}: Major reworking for autoconfig.
5407 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
5408 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
5409 New files.
5410 * config/unix-gdb.exp: Make GDB global.
5411 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
5412 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
5413 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
5414 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
5415 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
5416 term.exp, twice.exp, watchpoint.exp, whatis.exp},
5417 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
5418 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
5419 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
5420 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
5421 pr-8136.exp, result.exp, string.exp, tuples.exp},
5422 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
5423 to returns as necessary, arrange for test to compile own testcase
5424 executable.
5425 * lib/gdb.exp: Changes for testsuite to compile own test cases.
5426
5427 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
5428
5429 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
5430 clear_xfail at end of test which might not call either pass or fail.
5431 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
5432 "backtrace through signal handler".
5433
5434 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5435
5436 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
5437 continuing from a job control stop signal.
5438 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
5439
5440 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
5441
5442 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
5443 * gdb.base/corefile.exp: Likewise.
5444 * gdb.base/funcargs.exp: Likewise.
5445
5446 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
5447
5448 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
5449 * config/monitor.exp: Add support for setting baud rate.
5450
5451 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
5452
5453 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
5454 i*86-*-linux* xfails for "backtrace through signal handler".
5455 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
5456 "print func2::coremaker_local".
5457 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
5458 alpha-dec-osf2* xfail for
5459 "delete all breakpoints when none".
5460
5461 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
5462
5463 * gdb.base/break.exp: Change test that deletes all breakpoints
5464 when no user breakpoints are installed. A post 4.15 change
5465 causes gdb to no longer prompt in this case.
5466
5467 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
5468
5469 * gdb.base/return.exp (return_tests): Change xfail for test
5470 "correct value returned double test" to stop xfailing at
5471 Solaris 2.5. Apparently the bug has been fixed.
5472
5473 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
5474
5475 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
5476 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
5477
5478 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
5479
5480 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
5481 * gdb.disasm/hppa.s: Corresponding changes.
5482
5483 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
5484
5485 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
5486 makefile fragment.
5487 * config/mt-hpux: Deleted.
5488
5489 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
5490
5491 * Many files: When warning about suppressed tests due to a
5492 nonexistant test binary, avoid incrementing the warning count.
5493
5494 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
5495
5496 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
5497
5498 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5499
5500 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
5501 "sparc-*-solaris2*".
5502
5503 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5504
5505 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
5506 Add global and local variables and initialize them.
5507 * gdb.base/corefile.exp: Test correct mapping of corefile sections
5508 by printing variables. Remove rs6000 and powerpc xfails, BFD now
5509 extracts the file name and terminating signal from the core file.
5510 * TODO: Remove note about tests for correct mapping of corefile.
5511 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
5512 from optimizing it away.
5513 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
5514 handles common blocks.
5515
5516 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
5517
5518 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
5519 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
5520
5521 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
5522
5523 * Makefile.in (maintainer-clean): New target, synonym for
5524 realclean.
5525 * gdb.base/Makefile.in (maintainer-clean): Likewise.
5526 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
5527 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
5528 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
5529 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
5530 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
5531
5532 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
5533
5534 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
5535 xfails when not gcc compiled for "print foo::funclocal".
5536 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
5537 "print foo::funclocal at foo",
5538 "print 'scope1.c'::foo::funclocal at foo",
5539 "print foo::funclocal_bss at foo",
5540 "print 'scope1.c'::foo::funclocal_bss at foo",
5541 "print foo::funclocal_ro at foo",
5542 "print 'scope1.c'::foo::funclocal_ro at foo",
5543 "print bar::funclocal at foo" and
5544 "print 'scope1.c'::bar::funclocal at foo".
5545 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
5546 gcc compiled for "print foo::funclocal at bar".
5547 Expand all messages to ensure that they identify that
5548 the test is at bar().
5549 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
5550 gcc compiled for:
5551 "ptype on opaque struct pointer (statically)",
5552 "ptype on opaque struct tagname (statically)",
5553 "ptype on opaque struct pointer (dynamically) 1",
5554 "ptype on opaque struct tagname (dynamically) 1",
5555 "ptype on opaque struct pointer (dynamically) 2" and
5556 "ptype on opaque struct tagname (dynamically) 2
5557 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
5558 gcc compiled for:
5559 "p datalocal"
5560 "whatis datalocal",
5561 "ptype datalocal",
5562 "p bsslocal",
5563 "whatis bsslocal", and
5564 "ptype bsslocal".
5565 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
5566 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
5567 when not gcc compiled.
5568 * gdb.base/funcargs.exp (float_and_integral_args): Add
5569 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
5570 compiled.
5571 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
5572 "backtrace from call6a" when not gcc compiled.
5573 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
5574 "backtrace from call7a" when not gcc compiled.
5575 * gdb.base/callfuncs.exp (do_function_calls):
5576 Add "hppa*-*-hpux*" xfail when not gcc compiled for
5577 "p t_char_array_values(char_array_val2,char_array_val1)",
5578 "p t_char_array_values(char_array_val1,char_array_val2)",
5579 "p t_char_array_values("carray 1","carray 2")",
5580 "p t_char_array_values("carray 1",char_array_val2)",
5581 "p t_char_array_values(char_array_val1,"carray 2")",
5582 "p sum_args(1,{2})",
5583 "p sum_args(2,{2,3})",
5584 "p sum_args(3,{2,3,4})",
5585 "p sum_args(4,{2,3,4,5})"
5586 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
5587 "backtrace in corefile.exp" when not gcc compiled.
5588
5589 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5590
5591 * gdb.base/signals.exp: Rewrite `handle all print' test as
5592 a procedure. Accept blanks or TABs as whitespace, increase
5593 timeout and expect input buffer size for the large output
5594 from the command. Remove "i*86-*-bsdi2.0" xfail.
5595
5596 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5597
5598 * gdb.base/setvar.exp: Add new testcases for truncation when
5599 assigning invalid values to bitfields.
5600
5601 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
5602
5603 * gdb.base/callfuncs.exp (do_function_calls): Remove
5604 mips-sgi-irix* xfail for
5605 "call inferior func with struct - returns char *"
5606 and fix test so that an optional (unsigned char *) cast is
5607 accepted in the result.
5608
5609 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
5610
5611 * gdb.base/funcargs.exp (float_and_integral_args): Remove
5612 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
5613 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
5614 * gdb.base/signals.exp: Remove duplicate "handle all print" test
5615 that accidentally got checked in.
5616
5617 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
5618
5619 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
5620 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
5621 compiled test.
5622 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
5623 Add mips-sgi-irix5* xfail for not gcc compiled.
5624 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
5625 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
5626 "p top", "whatis top", "p middle", and "whatis middle".
5627 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
5628 "whatis signed char" for not gcc compiled.
5629 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
5630 "set variable signed char=-1 (-1)" and
5631 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
5632 * gdb.base/funcargs.exp (float_and_integral_args):
5633 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
5634 Add mips-sgi-irix* xfail when not gcc compiled for
5635 "continue to call2b".
5636 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
5637 "continue to call2g".
5638 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
5639 "backtrace from call6a"
5640 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
5641 "backtrace from call7k".
5642 Add mips-sgi-irix5* xfail when not gcc compiled for
5643 "backtrace from call7a".
5644 (localvars_after_alloca): Fix gdb_test cmds for
5645 "print * after runto ...".
5646 Remove rs6000-*-* xfails for
5647 "print i after runto localvars_after_alloca" and
5648 "print l after runto localvars_after_alloca"
5649 for all compilers.
5650 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
5651 when not compiled with gcc, for:
5652 "print signed char == (minus)",
5653 "print signed char != (minus)",
5654 "print signed char < (minus)",
5655 "print signed char > (minus)".
5656 * gdb.base/callfuncs.exp (do_function_calls):
5657 Add mips-sgi-irix* xfail, when compiled with native compiler, for
5658 "call inferior func with struct - returns char *".
5659 * gdb.base/return.exp (return_tests): Change xfail for
5660 "correct value returned double test" to include Solaris 2.4.
5661 * gdb.base/funcargs.exp (float_and_integral_args):
5662 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
5663
5664 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5665
5666 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
5667 enumeration bitfields if compiling with GNU C.
5668 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
5669 to empty' prompt.
5670
5671 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
5672
5673 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
5674 test for PRO targets.
5675
5676 * gdb.base/funcargs.exp: Avoid ever setting more than 8
5677 breakpoints in the inferior at any given time by making
5678 two groups of breakpoints for call2*, call6* and call7*
5679 tests.
5680
5681 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5682
5683 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
5684 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
5685 from optimizing it away.
5686 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
5687 "call inferior func with struct".
5688
5689 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
5690
5691 * configure.in: Only configure gdb.chill for particular targets.
5692
5693 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
5694
5695 * gdb.base/Makefile.in: Add action to .c.o transformation
5696 rule that generates a .ci file for each .o file and remove
5697 explicit .c.o rules except for callfuncs.o.
5698 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
5699 generates a .ci file for each .o file and remove explicit
5700 .cc.o rules.
5701 (clean): Remove *.tmp *.ci files.
5702 (EXECUTABLES): Remove templ-info.exp.
5703 * gdb.base/compiler.c: New file.
5704 * gdb.c++/compiler.cc: New file
5705 * gdb.base/scope.exp: Source gdb.base/scope.ci.
5706 Change rs6000-*-* xfail for
5707 "print 'scope0.c'::filelocal_ro" and
5708 "print 'scope1.c'::filelocal" and
5709 "print 'scope1.c'::filelocal_bss" and
5710 "print 'scope1.c'::filelocal_ro" and
5711 "print 'scope1.c'::foo::funclocal" and
5712 "print 'scope1.c'::foo::funclocal_ro" and
5713 "print 'scope1.c'::bar::funclocal" and
5714 "print 'scope0.c'::filelocal_ro" and
5715 "print 'scope1.c'::filelocal at foo" and
5716 "print 'scope1.c'::filelocal_bss at foo" and
5717 "print 'scope1.c'::filelocal_ro at foo" and
5718 "print 'scope1.c'::foo::funclocal at foo" and
5719 "print 'scope1.c'::foo::funclocal_bss at foo" and
5720 "print 'scope1.c'::foo::funclocal_ro at foo" and
5721 "print 'scope1.c'::bar::funclocal at foo" and
5722 "print 'scope0.c'::filelocal_ro" and
5723 "print 'scope1.c'::filelocal" and
5724 "print 'scope1.c'::filelocal_bss" and
5725 "print 'scope1.c'::filelocal_ro" and
5726 "print 'scope1.c'::foo::funclocal" and
5727 "print 'scope1.c'::foo::funclocal_bss" and
5728 "print 'scope1.c'::foo::funclocal_ro" and
5729 "print 'scope1.c'::bar::funclocal" and
5730 "print 'scope1.c'::bar::funclocal_bss"
5731 to only be xfail'd when not compiled with gcc.
5732 Add rs6000-*-* xfail for
5733 "print 'scope0.c'::filelocal_bss before run"
5734 when compiled with gcc.
5735 (test_at_main): Add rs6000-*-* xfail for
5736 "print filelocal_ro in test_at_main"
5737 when compiled with gcc.
5738 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
5739 Add rs6000-*-aix* xfail for
5740 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
5741 "ptype t_char_array", not compiled with gcc.
5742 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
5743 xfail for "list foo (in include file)" when gcc compiled.
5744 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
5745 (integral_args): Add rs6000-*-* xfail for
5746 "run to call0a" if not compiled with gcc.
5747 (unsigned_integral_args): Add rs6000-*-* xfail for
5748 "run to call1a" if not compiled with gcc.
5749 (float_and_integral_args): Add rs6000-*-* xfail for
5750 "run to call2a" if not compiled with gcc and for
5751 "continue to call2b" for any compiler.
5752 Add rs6000-*-* xfail to
5753 "print f1 after run to call2a" for gcc compiled.
5754 (discard_and_shuffle): Add rs6000-*-* xfail for
5755 "run to call6a".
5756 (shuffle_round_robin): Add rs6000-*-* xfail for
5757 "backtrace from call7a" if not compiled with gcc.
5758 Add rs6000-*-* xfail for
5759 "backtrace from call7b" if compiled with gcc.
5760 (call_after_alloca): Add rs6000-*-* xfail for
5761 "print c in call_after_alloca" and
5762 "print s in call_after_alloca" and
5763 "backtrace from call_after_alloca_subr"
5764 if not compiled with gcc.
5765 (localvars_in_indirect_call): Add rs6000-*-* xfail for
5766 "print c in localvars_in_indirect_call" and
5767 "print c in localvars_in_indirect_call" and
5768 "backtrace in indirectly called function" and
5769 "stepping into indirectly called function"
5770 if not compiled with gcc.
5771 (localvars_after_alloca): Add rs6000-*-* xfail for
5772 "print c after runto localvars_after_alloca" and
5773 "print s after runto localvars_after_alloca" and
5774 "print i after runto localvars_after_alloca" and
5775 "print l after runto localvars_after_alloca"
5776 for all compilers.
5777 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
5778 than whatis-info.exp.
5779 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
5780 than opaque-info.exp.
5781 Setup rs6000-*-* xfail for
5782 "ptype on opaque struct pointer (statically)" and
5783 "ptype on opaque struct pointer (dynamically)" when
5784 not compiled with gcc.
5785 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
5786 rather than callf-info.exp.
5787 (do_function_calls): Add clear_xfail for rs6000-*-* for
5788 "p t_float_values2(3.14159,float_val2)". Seems to work
5789 fine there, both with xlc and gcc. Need to find out what
5790 it is doing right and fix other platforms.
5791 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
5792 "call inferior func with struct - returns int",
5793 "call inferior func with struct - returns long",
5794 "call inferior func with struct - returns float",
5795 "call inferior func with struct - returns double",
5796 "call inferior func with struct - returns char *",
5797 but only if not gcc compiled (presumes xlc compiled).
5798 Change rs6000-*-* xfails for
5799 "call inferior func with struct - returns char" and
5800 " call inferior func with struct - returns short" to only
5801 xfail if not using gcc.
5802 (clean mostlyclean): Remove *.ci and *.tmp files.
5803 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
5804 than templ-info.exp.
5805 * gdb.base/langs.exp: Source gdb.base/langs.ci.
5806 Add rs6000-*-* xfail for "up to foo in langs.exp"
5807 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
5808 when not gcc compiled.
5809
5810 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5811
5812 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
5813 * gdb.base/corefile.exp: Likewise.
5814 * gdb.base/list.exp: Likewise.
5815 * gdb.base/scope.exp: Likewise.
5816 * gdb.base/siganls.exp: Likewise.
5817
5818 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
5819 compiler output.
5820 * gdb.base/whatis.exp: Likewise.
5821
5822 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
5823
5824 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
5825 failure (opcode table has been fixed to match reality).
5826
5827 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
5828
5829 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
5830 "call inferior func with struct - returns char",
5831 "call inferior func with struct - returns short"
5832
5833 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
5834 "print 'scope0.c'::filelocal at main",
5835 "print 'scope0.c'::filelocal_bss in test_at_main",
5836 "print 'scope0.c'::filelocal at foo",
5837 "print 'scope0.c'::filelocal_bss in test_at_foo",
5838 "print 'scope0.c'::filelocal at bar",
5839 "print 'scope0.c'::filelocal_bss in test_at_bar"
5840
5841 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
5842 in source file 1". This bug seems to have been fixed with both
5843 gcc and native cc (was native assembler bug?).
5844
5845 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
5846
5847 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
5848 "backtrace through signal handler" to "i*86-*-sysv4*".
5849 * gdb.base/signals.exp: Add xfail for "'next' behaved as
5850 continue" case. Add "known SVR4 bug" to fail message.
5851 Add "i*86-*-bsdi2.0" xfail for "handle all print".
5852 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
5853 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
5854 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
5855 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
5856 "up to foo in langs.exp", "show language at foo in
5857 langs.exp", "up to cppsub_ in langs.exp", "show
5858 language at cppsub_ in langs.exp", "up to fsub in
5859 langs.exp", and "show language at fsub in langs.exp".
5860 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
5861 "bactrace in corefile.exp".
5862 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
5863 "call inferior function with struct - returns float" and
5864 "call inferior function with struct - returns double".
5865
5866 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
5867
5868 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
5869 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
5870 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
5871 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
5872
5873 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
5874
5875 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
5876 (or overriden) "CHILL" macro rather then bare "gcc".
5877 Also look for ../../gcc/xgcc since that is what we will
5878 actually need, not "Makefile". Remove following assignment
5879 of CHILL to CHILL_FOR_TARGET because that results in
5880 recursive definition.
5881
5882 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
5883
5884 * gdb.base/corefile.exp: Change xfail for backtrace in
5885 corefile.exp from linuxaout to all linux.
5886 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
5887 cases where we miss the breakpoint at the signal handler
5888 for some reason. Setup xfail for linuxoldld/linuxaout and
5889 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
5890 hitting SIGURG breakpoint.
5891 * gdb.base/signals.exp: Setup xfail for "next" acting like
5892 continue to add linuxoldld. Setup xfail for all linux for
5893 "next to handler in signals_tests_1", "backtrace in
5894 signals_tests_1", "continue to func1", "pass SIGUSR1",
5895 and continue to handler".
5896
5897 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
5898
5899 * Update all FSF addresses except those in COPYING* files.
5900
5901 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
5902
5903 * gdb.base/a2-run.exp: Change messages to be more explicit about
5904 the status of args, and quote binfile in results.
5905
5906 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
5907
5908 * gdb.base/callfuncs.exp: Add tests for passing structs to
5909 inferior functions and return various types.
5910 * gdb.base/callfuncs.c: Add functions to receive a struct
5911 and return a member of the struct, in various types.
5912
5913 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5914
5915 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
5916
5917 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
5918
5919 * config/vxworks29k.exp: New file, sources vxworks.exp.
5920
5921 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5922
5923 * config/gdbremote.exp: New file. Testing framework using
5924 gdbserver.
5925
5926 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
5927
5928 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
5929 "call function when asleep" and "send end of file".
5930 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
5931 for "backtrace in corefile.exp".
5932 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
5933 for "backtrace through signal handler".
5934 * gdb.base/corefile.exp: Make sure we actually generate a core file
5935 before trying the core tests. Some systems allow the user to suppress
5936 generation of core files and default to that (linux for example).
5937 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
5938 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
5939
5940 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5941
5942 * gdb.threads: New directory with some crude multi-threaded
5943 gdb tests (step.exp and step2.exp).
5944 * config/mt-lynx (STEP_EXECUTABLE): Define.
5945 (THREADFLAGS): Define.
5946
5947 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
5948
5949 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
5950
5951 * gdb.base/signals.exp: Disable whole file for lynx until
5952 further notice.
5953
5954 * gdb.base/signals.exp: xfail test where "next" acts like
5955 "continue" for lynx.
5956
5957 * gdb.base/interrupt.exp: xfail test for calling function while
5958 inferior is asleep for lynx.
5959
5960 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
5961 than one cr-lf after each command.
5962
5963 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5964
5965 * configure.in: Reinstate setting of stabsdirs variable, fix
5966 typo in setting up configdirs for native builds.
5967
5968 * gdb.base/return.exp: Fix typo in return double test.
5969 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
5970 compiler from optimizing them away.
5971
5972 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
5973
5974 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
5975 sequences to be echo'd by gdb when using gdb_test.
5976 * gdb.chill/chexp.exp: Likewise.
5977 * gdb.fortran/exprs.exp: Likewise
5978
5979 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5980
5981 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
5982 after the inferior gdb has started.
5983
5984 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
5985 after each command.
5986 * gdb.base/funcargs.exp: Likewise.
5987 * gdb.base/gdbvars.exp: Likewise.
5988 * gdb.base/interrupt.exp: Likewise.
5989 * gdb.base/list.exp: Likewise.
5990 * gdb.base/watchpoint.exp: Likewise.
5991 * gdb.c++/demangle.exp: Likewise.
5992 * gdb.c++/inherit.exp: Likewise.
5993 * gdb.chill/chexp.exp: Likewise.
5994 * gdb.fortran/exprs.exp: Likewise.
5995
5996 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
5997 test if we can't handle IO to/from the inferior.
5998
5999 * gdb.c++/misc.exp: Always check for a program already being
6000 started after sending a "run" command to gdb.
6001
6002 * gdb.base/twice.exp: Start with a fresh gdb.
6003
6004 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6005 only depend on gdb's expression code, not the chill runtime.
6006
6007 * gdb.base/return.c: Put return values into variables so we
6008 can have gdb print them rather than depending on the program
6009 to print them.
6010 * gdb.base/return.exp: Corresponding changes.
6011
6012 * lib/gdb.exp: Provide default value for noinferiorio.
6013 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6014 the inferior.
6015
6016 * gdb.base/break.exp: Always check for a program already being
6017 started after sending a "run" command to gdb.
6018 (text_next_with_recursion): Don't check the output from the
6019 program's printf statement. Instead just make sure the program
6020 exited.
6021
6022 * gdb.base/commands.exp: Protect tests which need arguments with
6023 $noargs conditionals.
6024
6025 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6026
6027 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6028 of structure member arrays to match gdb/valops.c:value_addr change.
6029
6030 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6031
6032 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6033 cases.
6034
6035 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6036
6037 * configure.in (configdirs): Remove gdb.chill from default list
6038 of subdirs and then add it back in only if doing a native build.
6039 The current chill compiler does not yet work in any cross build.
6040 * Revert all signal changes from Jul 6.
6041 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6042 for sh-hms targets, allowing these tests to link, with no other
6043 changes. Testing is suppressed by setting "nosignals" in site.exp.
6044
6045 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6046
6047 * configure.in (signaldirs): Define and add to configdirs for all
6048 targets except some specific ones that are known to not support signals.
6049 Also clean up formatting.
6050 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6051 (signals, sigall): Remove rules to build.
6052 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6053 Moved to new gdb.signals directory.
6054 * gdb.signals: New test directory.
6055 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6056 signals.c signals.exp}: New or moved files.
6057
6058 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6059
6060 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6061
6062 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6063
6064 * gdb.base/return.exp: Xfail `return double' test failure
6065 on at least Solaris 2.3 and handle future/past versions on
6066 a case by case basis as appropriate. Also update message
6067 to include i*86 failures.
6068
6069 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6070
6071 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6072
6073 * lib/gdb.exp: Fix comment which erroneously identified
6074 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6075 gdb_file_cmd not gdb_load).
6076 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6077
6078 * gdb.base/setvar.exp: Make test names consistent between pass and
6079 fail cases. Use gdb_test more.
6080
6081 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6082
6083 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
6084
6085 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6086
6087 * gdb.base/help.exp: Fix expected help string for `show commands'.
6088
6089 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
6090
6091 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
6092
6093 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
6094 of a text section.
6095
6096 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
6097
6098 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
6099 that loop eventually terminates. Fix Connection refused logic so
6100 that testsuite will expire nicely.
6101
6102 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
6103
6104 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
6105 config/rom68k.exp: New tcl glue for the appropriate monitors.
6106 These all just end up calling monitor.exp.
6107 * config/monitor.exp (gdb_target_monitor): Handle `Connection
6108 refused' by retrying. Cleanup some timeout issues.
6109 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
6110 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
6111 callers don't have to set/restore global timeout variable.
6112
6113 * The following set of changes centralizes management of the global
6114 timeout variable. This way, it can be set in one target dependent
6115 place instead of dozens of places scattered throughout the test suite.
6116 If you need to lengthen a timeout, then you should either set timeout
6117 in one of the config/{target}.exp files, or multiply it by a factor.
6118 Setting it to an absolute value is always going to lose for some
6119 targets.
6120 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
6121 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
6122 * gdb.base/funcargs.exp: Don't set timeout.
6123 * gdb.base/list.exp (test_forward_search): Only use local timeout.
6124 * gdb.base/printcmds.exp (test_print_string_constants
6125 test_print_array_constants): Don't set timeout.
6126 * gdb.base/ptype.exp: Don't set timeout.
6127 * gdb.base/recurse.exp: Don't set timeout.
6128 * gdb.base/return.exp: Don't set timeout.
6129 * gdb.base/watchpoint.exp: Don't set timeout.
6130 * gdb.c++/classes.exp (do_tests): Don't set timeout.
6131 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
6132
6133 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
6134
6135 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
6136
6137 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6138
6139 * lib/gdb.exp: Disable chill tests for irix5.
6140
6141 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6142
6143 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
6144 each test pass or fail.
6145
6146 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6147
6148 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
6149 xlc not gcc.
6150
6151 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
6152
6153 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
6154
6155 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
6156
6157 * config/est.exp: Fix copyright and comments. Remove dead code.
6158 Use targetname, serialport and baud variables instead of fixed
6159 constants.
6160 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
6161 * config/cpu32bug.exp: New file to support cpu32bug monitors.
6162
6163 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6164
6165 * gdb.base/watchpoint.exp: Don't run
6166 test_watchpoint_triggered_in_syscall for sunos.
6167
6168 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6169
6170 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
6171 they don't seem to exist. Do include stdio.h.
6172
6173 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6174
6175 * gdb.base/a1-selftest.exp: Add alpha xfail.
6176
6177 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6178
6179 * gdb.base/watchpoint.c (main): Prompt before calling read().
6180 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
6181 Revise accordingly. Remove cruft about sending "123" several
6182 times, until it gets noticed. Clean up the "print buf[0]" stuff
6183 so that it passes or fails, and waits for prompts in the usual way.
6184
6185 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6186
6187 * gdb.base/recurse.exp: Fix comment.
6188
6189 * TODO: Remove item about printing variables in nodebug.exp. Add
6190 item about enabling tests which are only run on some targets.
6191
6192 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
6193 fail, make test names unique, use new gdb_test convention
6194 regarding pattern, use gdb_test more, etc.).
6195
6196 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
6197 fail, make test names unique, etc.).
6198
6199 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6200
6201 * gdb.base/nodebug.c: Change return type of top and middle to
6202 short.
6203 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
6204 are fixed by the recent mdebugread.c changes. Allow `short ()'
6205 as type for top and middle.
6206
6207 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6208
6209 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
6210 nearly as I can tell, the whole thing was an accident in Stu's
6211 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
6212 to replace a send/expect pair with gdb_test, but ended up only
6213 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
6214 of 30 Mar 1995 took care of it, but left this vestigial comment
6215 which I am now nuking.
6216
6217 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6218
6219 * gdb.base/break.exp: Look for different line number for
6220 breakpoint at main depending on usestubs.
6221
6222 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6223
6224 * gdb.base/list.exp: Adjust some alternate expect patterns to
6225 match recent list0.c change. Add alternate expect pattern for
6226 output from `list default lines around main' for optimizing
6227 compilers.
6228
6229 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6230
6231 * lib/gdb.exp: If nosignals is not set, set it to 0.
6232
6233 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
6234
6235 * config/slite-gdb.exp: Responds to load symbol table prompt.
6236 * gdb.base/break.exp: Adjust line number, fix rerun.
6237 * gdb.base/langs0.c: Add #ifdef usestubs.
6238
6239 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
6240
6241 * gdb.base/list.exp: Adjust line contents after adding new lines in
6242 list0.c. Also fix a syntax error.
6243
6244 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
6245 * gdb.base/break.exp: ditto.
6246 * gdb.base/list.exp: ditto.
6247 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6248 * gdb.base/run.c: ditto.
6249 * gdb.base/list0.c: ditto.
6250 * gdb.base/funcargs.c: ditto.
6251
6252 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6253
6254 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6255 $targetname, $serialport and $baud instead of hardwired variables.
6256 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6257 target doesn't support signals.
6258
6259 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
6260
6261 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
6262
6263 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6264
6265 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
6266 Don't rely on the value of an auto variable before it has been
6267 initialized. Use gdb_test more.
6268
6269 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6270
6271 * lib/gdb.exp (default_gdb_version): A version number must start
6272 with a digit, but other than that contains all characters up to
6273 the first whitespace character.
6274
6275 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6276
6277 * gdb.base/commands.exp (breakpoint_command_test): New tests.
6278
6279 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6280
6281 * gdb.c++/*.exp: Warn if executable does not exist. The original
6282 reason for skipping the warning was that configure.in sometimes
6283 intentionally skipped building the executables but the tcl code
6284 had no way of knowing. That (a) was always bogus with respect to
6285 error handling, (b) is no longer true (right now there is no way
6286 to skip C++ tests).
6287
6288 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
6289
6290 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6291
6292 * gdb.base/list.exp: Add expect patterns for output from
6293 SunPRO compiled executables.
6294 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
6295 types.
6296
6297 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6298
6299 * gdb.base/break.exp (test_next_with_recursion): Accept any line
6300 number (we are already testing that the correct source line text
6301 gets printed).
6302
6303 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
6304 that is what is intended, but something needed to be done to get
6305 sunos4 native working again.
6306
6307 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
6308
6309 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
6310 apparently went with a (very) old xfail.
6311
6312 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
6313
6314 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
6315 runto_main is a proc in gdb.exp that will do 'step' for target use
6316 stubs.
6317 * gdb.base/exprs.exp: ditto.
6318 * gdb.base/interrupt.exp: ditto.
6319 * gdb.base/opaque.exp: ditto.
6320 * gdb.base/printcmds.exp: ditto.
6321 * gdb.base/ptype.exp: ditto.
6322 * gdb.base/scope.exp: ditto.
6323 * gdb.base/setvar.exp: ditto.
6324 * gdb.base/signals.exp: ditto.
6325 * gdb.base/twice.exp: ditto.
6326 * gdb.c++/classes.exp: ditto.
6327 * gdb.c++/inherit.exp: ditto.
6328 * gdb.c++/templates.exp: ditto.
6329 * gdb.base/break.exp: no run and hit main for stubs. Change line
6330 numbers for breakpoints and info breakpoint.
6331 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
6332 breakpoint().
6333 * gdb.base/callfuncs.c: ditto.
6334 * gdb.base/exprs: ditto.
6335 * gdb.base/interrupt.c: ditto.
6336 * gdb.base/opaque0.c: ditto.
6337 * gdb.base/printcmds.c: ditto.
6338 * gdb.base/ptype.c: ditto.
6339 * gdb.base/scope0.c: ditto.
6340 * gdb.base/setvar.c: ditto.
6341 * gdb.base/signals.c: ditto.
6342 * gdb.base/twice.c: ditto.
6343 * gdb.c++/misc.cc: ditto.
6344 * gdb.c++/templates.cc: ditto.
6345
6346 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6347
6348 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
6349
6350 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
6351 somewhere between `read' and `main.c'. I'm pretty sure the
6352 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
6353 and it isn't particularly useful.
6354
6355 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
6356
6357 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6358
6359 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
6360
6361 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
6362
6363 * config/mt-slite: add LIBS and -nostdlib.
6364 * config/slite-gdb.exp: add this new file to support sparclite target.
6365
6366 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
6367
6368 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
6369
6370 * gdb.base/a2-run.exp: Change argument to istarget from
6371 "*-*-vxworks" to "*-*-vxworks*".
6372 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
6373
6374 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
6375
6376 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
6377 will not runto main but do a 'step' to step out of breakpoint().
6378 * config/mt-slite: add -Dusestubs.
6379
6380 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6381
6382 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
6383 instead of just @.
6384
6385 * gdb.base/signals.exp: Add test for "handle all print".
6386 * TODO: Remove "handle all print". Also remove item about
6387 checking copyright date (I don't like the idea of a spurious FAIL
6388 based on when we run the tests).
6389
6390 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
6391 for SunOS4 (reason for failure not investigated). Remove
6392 redundant test for $binfile.
6393
6394 * gdb.base/nodebug.c (array_index): Call malloc.
6395
6396 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
6397
6398 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
6399
6400 * gdb.base/recurse.exp: Update gdb_test invocation to use new
6401 conventions and slightly simplify the matching regexp.
6402
6403 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6404
6405 * gdb.base/break.exp: Update gdb_test invocation to use new
6406 convention.
6407
6408 * lib/gdb.exp: If noargs is not set, set it to 0.
6409
6410 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
6411 tests unique.
6412
6413 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
6414
6415 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6416
6417 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
6418 one argument of type "<non-float parameter>".
6419
6420 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
6421
6422 * config/rom68k.exp: New file to support Motorola IDP board.
6423 * gdb.base/a2-run.exp: Skip this file if noargs is set.
6424 * gdb.base/break.c: Change things around so that this program
6425 doesn't depend upon args. This is necessary to make remote
6426 targets work (in general, they can't take args).
6427 * gdb.base/break.exp: Don't try to send args to program. Don't
6428 expect output. Also, replace lots of code with gdb_test.
6429
6430 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6431
6432 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
6433 printing of '\'' (which is what the comment says we are testing,
6434 even though we were not), not '''.
6435 (test_integer_literals_rejected): Test that printing ''' is an error.
6436
6437 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6438 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
6439 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
6440 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
6441 Use gdb_test not test_print_accept.
6442 * lib/gdb.exp: Remove test_print_accept.
6443
6444 * gdb.base/signals.exp (signal_tests_1): Make pass message
6445 consistent with fail message.
6446
6447 * gdb.base/whatis.exp: Remove xfails for printing char vs.
6448 unsigned char; the bug (PR 1821) is fixed.
6449
6450 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
6451
6452 * gdb.base/scope.exp (test_at_localscopes): Call pass for
6453 successful tests--makes xfailing them work right.
6454
6455 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6456
6457 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
6458 only \r\n, not .*. The test can pass .* as the last thing in
6459 $pattern if that is what it wants. In addition to providing this
6460 flexibility, this change should speed up pattern matching in cases
6461 where the pattern already ended with .* (there were a number of
6462 them). This change also helps catch bad patterns--in the old
6463 scheme the typo "char \*" instead of "char \\*" would pass. Now
6464 it is caught.
6465 * Many .exp files: Update callers.
6466
6467 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
6468 clearer and does not spuriously match multiple ('s. Likewise for
6469 ) and *.
6470
6471 * gdb.base/nodebug.exp: Test ability to call a function and pass
6472 it a string (even with no debugging info).
6473
6474 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
6475 "p '\'", which is the same as "p ''" once tcl gets done with
6476 quoting, to "p '\\'", which I suspect is what is intended (one
6477 backslash gets sent to GDB).
6478
6479 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
6480
6481 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6482
6483 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
6484 1817) was fixed literally years ago.
6485
6486 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6487
6488 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
6489 test, it causes stepping out of call_after_alloca_subr with
6490 optimizing compilers.
6491 (localvars_in_indirect_call): Consume GDB prompt if `finish'
6492 fails.
6493
6494 * gdb.c++/templates.exp: Source templ-info.exp only if
6495 the templates executable exists.
6496
6497 * gdb.c++/misc.cc (class Contains_static_instance,
6498 class Contains_nested_static_instance),
6499 gdb.c++/classes.exp (test_static_members): Test printing of
6500 a class that contains a static instance of the class.
6501
6502 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6503
6504 * gdb.base/langs2.c (cppsub_): Don't prototype.
6505 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
6506 only, I believe).
6507
6508 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6509
6510 * lib/gdb.exp (skip_chill_tests): New procedure.
6511
6512 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
6513
6514 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
6515
6516 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
6517 each expect pattern. Cuts runtime from 12 to about 4 seconds.
6518
6519 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6520
6521 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
6522
6523 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
6524 disassemble 8, not 16, instructions for part 4.
6525
6526 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
6527 support the latter anymore.
6528
6529 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
6530 -DNO_PROTOTYPES.
6531 * gdb.base/callfuncs.c: Control use of prototypes based on
6532 NO_PROTOTYPES, not __STDC__.
6533 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
6534 t_float_values2 tests if prototypes in use.
6535
6536 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
6537 t_double_values): When checking differences against DELTA, check
6538 that difference is within the range (-DELTA,DELTA), not just
6539 (-infinity,DELTA).
6540
6541 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
6542
6543 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
6544 'file' command firts, then 'target', then 'load', this is due to gdb
6545 target set up.
6546 * config/mips-gdb.exp: Fix a couple regular exp bugs.
6547
6548 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
6549
6550 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
6551 FP load/store variants.
6552 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
6553
6554 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6555
6556 * gdb.base/term.exp: Do not give a warning if not native, it is
6557 not an abnormal condition.
6558
6559 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
6560
6561 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
6562 t_char_array".
6563
6564 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6565
6566 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
6567 are getting the version number.
6568
6569 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
6570 if not native, it is not an abnormal condition.
6571
6572 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6573
6574 * lib/gdb.exp: Just use "file exists", rather than undocumented
6575 dejagnu procedure "findfile".
6576
6577 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6578
6579 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
6580 (LDFLAGS): Set to -Xlinker -Ur.
6581
6582 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
6583 Removed, these values are set by lib/gdb.exp.
6584
6585 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
6586
6587 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6588
6589 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
6590 of replicating gdb startup code.
6591
6592 * config/mt-vxworks (LDFLAGS): Set to -r.
6593 (CFLAGS_FOR_TARGET): Removed.
6594
6595 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
6596 (gdb) and gdb for vxworks uses (vxgdb).
6597
6598 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
6599 executable is not in the tree and host != target, use sed and
6600 program_transform_name to determine the gdb name used by the
6601 target.
6602
6603 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
6604 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
6605
6606 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6607
6608 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
6609 floats, chars, and shorts where there are ANSI-style function
6610 definitions.
6611
6612 * gdb.base/langs.exp, gdb.base/langs*: New test.
6613 * gdb.base/Makefile.in: Build it.
6614 * TODO: Remove item about checking that C names don't get C++
6615 demangling applied; this test tests it.
6616
6617 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6618
6619 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
6620 went with the const70 xfail. The xfail went away a year ago.
6621
6622 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
6623
6624 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
6625 for hp300.
6626
6627 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
6628
6629 * gdb.base/a1-selftest.exp: Don't run on hp300.
6630
6631 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6632
6633 * Makefile.in (site.exp): Set host_alias and target_alias as well
6634 as host_triplet and target_triplet.
6635
6636 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6637
6638 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
6639
6640 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
6641 places as other ecoff systems).
6642
6643 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
6644 ultrix.
6645
6646 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6647
6648 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
6649 remove them.
6650 * gdb.base/nodebug.exp: Accept "function" in addition to "text
6651 variable and "variable" in addition to "data variable".
6652 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
6653
6654 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
6655 2.
6656 * gdb.base/list1.c (long_line): Add additional statement at start
6657 of function.
6658 * gdb.base/list.exp (test_forward_search): Update line number to
6659 reflect new statement.
6660
6661 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6662
6663 * gdb.base/signals.exp: Reinitialize searched source directories
6664 after gdb_start call.
6665
6666 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
6667
6668 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
6669 * gdb.stabs/Makefile.in: Likewise.
6670
6671 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
6672 change. Instead split the tests into smaller pieces.
6673 * gdb.disasm/hppa.s: Corresponding changes.
6674
6675 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6676
6677 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6678 Quote ^C when passing it to stty. For some shells ^ is a pipe.
6679
6680 * gdb.base/funcargs.exp: Modify many tests so that every test
6681 either passes or fails. Make some test names unique.
6682
6683 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6684
6685 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6686 Call stty to set interrupt character.
6687
6688 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
6689 for HP assembler versus GNU assembler based on actual behavior of
6690 $(CC), rather than assuming that $(AS) is always the GNU assembler.
6691
6692 * TODO: Suggest a few more stepping tests.
6693
6694 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
6695
6696 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
6697 restart GDB for h8300 after a continue.
6698 (return): Add pattern to match a29k-udi behavior.
6699 * gdb.base/nodebug.exp: Remove obsolete comment.
6700 * gdb.base/regs.exp: New file, testing of register displays.
6701 * gdb.base/return.exp: Fix typo in reference to $objdir.
6702 * gdb.base/whatis.exp: Always start with a fresh GDB.
6703
6704 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6705
6706 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
6707 higher, these tests generate a lot of output.
6708
6709 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6710
6711 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
6712 code following the catch silently ignored some errors; without the
6713 catch they should be thrown like any other tcl error. Also, the
6714 catch used "" instead of {} which meant all the callers who wanted
6715 to include one of the characters "[]$ had to quote it an extra time.
6716 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
6717 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
6718 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
6719 Remove extra quoting.
6720
6721 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
6722
6723 * gdb.base/commands.exp: Make test names unique; every test either
6724 passes or fails. Update some comments.
6725
6726 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
6727
6728 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6729
6730 The following fixes a FAIL caused by the fact that the alpha stabs
6731 configuration didn't use the ".if alpha" code in weird.def.
6732 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
6733 bit pointer, so the 32 bit version works even on the alpha.
6734 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
6735 Remove the stuff which allowed us to have separate versions for
6736 alpha and everything else.
6737
6738 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
6739 regexp which "info func operator\[\](" is supposed to match. Fix
6740 string to send to GDB. Note that GDB still doesn't work right. Add a
6741 new test for "info func .perator\[\](" which GDB does handle correctly.
6742
6743 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
6744
6745 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6746
6747 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
6748 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
6749 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
6750 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
6751 it makes the tests harder to understand and confuses test-o-matic.
6752 The preferred style is that each test provides a PASS or a FAIL,
6753 and has a unique message (e.g. "continue #54" not just "continue")
6754 which is the same for the pass and the fail.
6755 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6756 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
6757 to lib/gdb.exp.
6758 * gdb.base/printcmds.exp: Use test_print_accept. Remove
6759 prt_accept which was basically the same thing. Likewise for
6760 test_print_reject and prt_reject.
6761 * lib/gdb.exp (test_print_reject): Add some more error message
6762 patterns to match from the former printcmds.exp (prt_reject).
6763 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
6764 One defect of the passcount stuff is that some of it failed to
6765 report XPASS where appropriate.
6766 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
6767 stuff before and after arg in expected pattern.
6768 (test_paddr_operator_functions): Re-do test without print_addr_of;
6769 this is the only test which seems to want extra stuff there.
6770
6771 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6772
6773 * gdb.base/nodebug.exp: Update new tests to reflect improved
6774 wording of gdb output.
6775
6776 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
6777 and "ptype" work on variables in files compiled without -g.
6778 Replaces commented out "maint print msymbol" tests.
6779
6780 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6781
6782 * gdb.base/setvar.c (dummy): Call malloc.
6783
6784 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
6785 losing with the irix4 sed.
6786
6787 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
6788 ALRM" on irix4.
6789
6790 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6791
6792 * TODO: Remove items about corefile.exp testing new exec-file and
6793 backtrace; both are now done. Add items about printing enums.
6794
6795 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6796
6797 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
6798 "get signal $thissig" test fails.
6799
6800 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
6801
6802 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6803
6804 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
6805 compiler warning with dec alpha compiler.
6806
6807 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
6808 extra \n from gdb_test call (this explains why the prompt test
6809 that I removed yesterday was there).
6810 (user_defined_command_test): Remove extra \n and prompt test.
6811
6812 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
6813 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
6814 doesn't exist.
6815 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
6816 Also remove alpha workaround, which turns out to be because
6817 SIGABRT == SIGLOST.
6818
6819 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
6820
6821 * gdb.base/help.exp: Don't test "help show".
6822
6823 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6824
6825 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
6826 "set print address" is on.
6827 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
6828 pass prompt to gdb_test; gdb_test already looks for the prompt.
6829
6830 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
6831
6832 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
6833 was a vestige of the manual TESTSTRATEGY, and the purpose of it
6834 was to make sure that gdb can read a core file. But (a) the "read
6835 the corefile" part didn't make it to a1-selftest.exp, we just
6836 delete the corefile after creating it, and (b) we test reading
6837 corefiles in corefile.exp anyway. Also, this test left around a
6838 xgdb process on Solaris.
6839
6840 * gdb.base/corefile.exp: Also test backtrace.
6841
6842 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
6843
6844 * gdb.base/commands.exp: Test a simple user defined command with
6845 arguments and if/while statements; verify the full user command is
6846 printed by "show user".
6847
6848 * gdb.base/commands.exp: Test if/while commands as part of a
6849 breakpoint command list; verify they appear in breakpoint
6850 information.
6851
6852 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6853
6854 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
6855 than by dividing by zero.
6856
6857 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
6858
6859 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
6860 performing an inferior call with watchpoints enabled.
6861 * gdb.base/watchpoint.c (main): Delete second unnecessary read
6862 call.
6863
6864 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6865
6866 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
6867 of "file" command.
6868
6869 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
6870 Add additional pattern for when "int operator int(void);" appears
6871 in a different order.
6872
6873 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6874
6875 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
6876
6877 * gdb.base/help.exp: Replace most of docstrings for "info signals"
6878 and "signal" with ".*".
6879
6880 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6881
6882 * TODO: Add note about "handle all nostop".
6883
6884 * gdb.base/{sigall.c, sigall.exp}: New test.
6885 * gdb.base/Makefile.in: Add it.
6886
6887 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
6888
6889 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
6890 when invoking GDB, suppresses any windowing interface.
6891
6892 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
6893
6894 * config/sim-gdb: New file, simulator testing support.
6895
6896 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
6897
6898 * gdb.base/interrupt.exp: Test calling func1 twice.
6899
6900 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
6901
6902 * gdb.base/list.exp (test_forward_search): Set timeout higher
6903 when we'll be getting lots of output from gdb.
6904
6905 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
6906 "init_malloc" to after the expect statement. Run it if that
6907 regexp is taken, but also for two others which happen if source
6908 cannot be found.
6909
6910 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6911
6912 * gdb.base/printcmds.exp: New test, for printing register before
6913 program is running.
6914
6915 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6916
6917 * gdb.base/list.exp: Correct some alternate expect patterns
6918 to reflect changes in list1.c.
6919
6920 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6921
6922 * TODO: Add item regarding large frames.
6923
6924 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
6925
6926 * TODO: Remove item about enabling return.exp; it
6927 is enabled. Suggest a few more "return" tests.
6928
6929 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6930
6931 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
6932 anonymous unions.
6933
6934 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6935
6936 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
6937 and pr-5646.o, so "make" is the same as "make all", not "make
6938 pr-4975.o".
6939
6940 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
6941
6942 * gdb.base/list.exp: Adjust expectations to reflect changes in
6943 list1.c.
6944 (test_forward_search): New test proc.
6945 * gdb.base/list1.c (long_line): New function, has long source line.
6946
6947 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
6948
6949 * gdb.base/a1-selftest.exp: Change initial stepping to know about
6950 additional line of code that was added.
6951
6952 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
6953
6954 * gdb.disasm/hppa.s: Break the large branching tests into smaller
6955 tests so as not to overflow expect's input buffers.
6956 * gdb.disasm/hppa.exp: Corresponding changes.
6957
6958 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6959
6960 Beginnings of template debugging tests.
6961 * gdb.c++/templ-info.cc: New file to test for template
6962 debugging capability of the compiler.
6963 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
6964 templ-info.cc.
6965 * gdb.c++/templates.cc: Add explicit template instantiations
6966 to enable compiling with -fno-implicit-templates. Add destructor
6967 and 'value' method to T5 class for template tests.
6968 * gdb.c++/templates.exp: Add testcases for printing of template
6969 types, setting breakpoints on template methods and calling a
6970 template method.
6971
6972 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
6973
6974 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
6975 branch target since some assemblers (gas-2.5) may emit a
6976 relocation for the branch instead of resolving it in the
6977 assembler.
6978
6979 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6980
6981 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
6982 through signal handler.
6983
6984 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6985
6986 * configure.in (*-*-netware): Use config/mt-netware.
6987
6988 * config/mt-netware: New file.
6989 * config/mt-i386-netware: Removed, separate configs for different
6990 netware architectures are no longer needed now that we have
6991 --with-headers.
6992
6993 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6994
6995 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
6996 by the recent changes to use ANSI C arithmetic conversions.
6997
6998 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6999
7000 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7001 bug involving using inferior_pid to figure out whether to select a
7002 frame.
7003
7004 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7005
7006 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7007 match the current disassembler output.
7008
7009 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7010
7011 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7012 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7013 types, expect "int" as type of integer values (for now).
7014
7015 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7016
7017 * gdb.base/commands.exp: New tests for if/while commands.
7018
7019 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7020
7021 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7022 by .*, since hex values have different syntax in Chill mode.
7023
7024 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7025
7026 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7027 linefeed from expect pattern for repeated types with indices > 9.
7028
7029 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7030
7031 First part of Fortran test suite.
7032 * gdb.fortran: New directory.
7033 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7034
7035 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7036
7037 * gdb.base/default.exp: Update expect pattern for load command
7038 without arguments.
7039
7040 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7041
7042 * configure.in: Change i386 to i[345]86.
7043 * gdb.base/configure.in: Likewise.
7044 * gdb.c++/configure.in: Likewise.
7045 * gdb.chill/configure.in: Likewise.
7046
7047 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7048
7049 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7050 patterns, since that is not a valid context for comments.
7051
7052 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7053
7054 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7055 repeated types and repeated types with indices > 9.
7056
7057 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7058
7059 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7060 2417; old bug has been fixed.
7061
7062 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7063
7064 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7065 send the newline ourselves instead of assuming gdb_test will do
7066 so when passed an empty input string.
7067
7068 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7069 stabs testcode.
7070
7071 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7072
7073 * lib/gdb.exp (gdb_test): Don't send anything if the first
7074 argument is an empty string. This makes cases where we want to
7075 match output that is already in expect's buffers (for example,
7076 matching a breakpoint after gdb_run_cmd has been called) work
7077 reliably.
7078
7079 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7080
7081 * config/netware.exp: New file.
7082
7083 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7084
7085 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
7086 the -B and -L prefixes so we can find the debugging stub.
7087
7088 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
7089 there and we are using the gcc from the tree.
7090
7091 * gdb.base/types.c: Removed.
7092
7093 * gdb.base/configure.in: Look for makefile fragments in ../config.
7094 Recognize i386-*-netware.
7095 * gdb.c++/configure.in: Likewise.
7096
7097 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7098
7099 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
7100 the correct TCL syntax.
7101
7102 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7103
7104 * gdb.base/opaque.exp: use runto instead of messing around with
7105 breakpoints. Simplify by using gdb_test.
7106
7107 * gdb.base/bitfields.exp: restart between tests on netware targets
7108 because breakpoints aren't relocated after target death. Run
7109 processes to completion.
7110
7111 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
7112
7113 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
7114
7115 * Makefile.in: Remove extra tabs that confuse some versions
7116 of "make". Use the newly built gdb to test with by default,
7117 rather than the first one in the tester's search path.
7118
7119 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
7120
7121 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
7122
7123 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
7124 condition help.
7125
7126 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7127
7128 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
7129
7130 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
7131 running.
7132 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
7133 * gdb.base/funcargs.exp: Likewise.
7134
7135 * gdb.base/bitfields.exp: Simplify by using gdb_test.
7136 * gdb.base/funcargs.exp: Likewise.
7137
7138 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
7139 message is "".
7140
7141 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7142
7143 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
7144 return,signals,twice}.exp: Handle non-existant binaries
7145 consistantly.
7146
7147 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
7148 * gdb.base/Makefile.in: Don't try to generate a core dump, we
7149 might testing a cross development system.
7150
7151 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7152
7153 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
7154 runtest script is relative to ${srcdir}, not ${rootdir}.
7155
7156 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
7157
7158 * gdb.base/signals.exp: Allow for optionality of breakpoint
7159 address.
7160
7161 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7162
7163 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
7164
7165 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7166
7167 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
7168 for size_t definition.
7169 * gdb.c++/templates.cc: Likewise
7170
7171 * config/mt-i386-netware: New file.
7172
7173 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
7174 defined.
7175
7176 * gdb.base/Makefile.in: Added support for systems that name core
7177 files by appending "core" to the program name.
7178 * gdb.base/a1-selftest.exp: Likewise.
7179
7180 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7181
7182 * gdb.base/return.exp: Add comment and message for `return double'
7183 test failure on Sparc Solaris.
7184
7185 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
7186
7187 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
7188
7189 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7190
7191 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
7192 from optimizing them away.
7193 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
7194 patterns to include default constructors and assignment operators,
7195 to match gcc versions beyond 2.5.8. Accept any cplus demangling
7196 character in the output of the virtual base pointer.
7197
7198 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7199
7200 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
7201 expression match in print_addr_of to avoid unintented matches.
7202 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
7203 versions up to 2.5.8.
7204
7205 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7206
7207 * gdb.base/list.exp: Tweak alternate pattern for listing of an
7208 included file to run under newer versions of expect.
7209 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
7210 consecutive >'s in templates to accomodate recent cplus-dem.c change.
7211 Remove xfail for the virtual table of BDDHookV.
7212
7213 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
7214
7215 * lib/gdb.exp (string_to_regexp): Set a default result.
7216 (default_gdb_start): Fix misleading message.
7217
7218 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
7219
7220 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
7221 Remove all CC, etc definitions.
7222 * config/mt-hpux: New file.
7223 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
7224 (CFLAGS, LDFLAGS): Define.
7225 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
7226
7227 * Makefile.in (site.exp): Don't insert host_os, etc.
7228 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
7229 (distclean): Check existence of subdir.
7230 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
7231 * gdb.base/Makefile.in: General cleanup and simplification.
7232 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7233 to build executables. Use default rule to build .o files.
7234 (EXPECT, RUNTEST, CC): Fix relative pathname.
7235 (site.exp): Don't insert host_os, etc.
7236 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
7237 and/or SIGUSR1 defined.
7238 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
7239 * gdb.c++/Makefile.in: General cleanup and simplification.
7240 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7241 (CFLAGS): Remove.
7242 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
7243
7244 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
7245
7246 * gdb.base/recurse.exp: Misc changes to get tests running again
7247 after Kung's changes to the watchpoint code.
7248 * gdb.base/watchpoint.exp: Likewise.
7249
7250 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7251
7252 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7253
7254 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7255
7256 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7257 * lib/gdb.exp (default_gdb_start): Define.
7258 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7259 gdb.base/funcargs.exp, gdb.base/opaque.exp,
7260 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
7261 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
7262 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
7263 Don't call gdb_target_udi in between tests.
7264
7265 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7266
7267 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
7268 (which was basically just a local version of the same thing). In
7269 addition to avoiding duplication, gdb_test_exact is faster.
7270 * lib/gdb.exp (gdb_test_exact): Fix typo.
7271
7272 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
7273 don't give an error.
7274
7275 * gdb.base/term.exp: Call delete_breakpoints before starting.
7276
7277 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
7278 (t10): Add comment.
7279
7280 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7281
7282 Reorganization of the GDB Test Suite.
7283
7284 * gdb.base: New directory, contains all the basic tests.
7285 * gdb.c++: New directory, tests specific to C++.
7286 * gdb.chill: New directory, tests specific to Chill.
7287 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
7288 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
7289 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
7290 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
7291 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
7292 t30-31 to chill).
7293 * */gdbme.*: Rename to match appropriate expect scripts.
7294 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
7295 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
7296 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
7297 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
7298 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
7299 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
7300 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
7301 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
7302 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
7303 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
7304 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
7305 gdb.c++/virtfunc.cc: New names of C++ files.
7306 * gdb.chill/chillvars.ch: New name of Chill file.
7307 * gdb.base/configure.in, gdb.c++/configure.in,
7308 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
7309 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7310 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
7311 * configure.in (configdirs): Update to reflect directory changes.
7312 (target_abbrev): No longer define for any configuration.
7313 * Makefile.in: Cosmetic improvements to header comments.
7314
7315 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
7316
7317 Various changes to gdb.t31:
7318
7319 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
7320 * gdbme.ch: Make all key-words and predefineds be upper-case.
7321 * chillvars.exp: Expect key-words and predefinds in upper-case.
7322
7323 * chillvars.exp: Use gdb_test_exact many places.
7324 Change expected output for arrays (which now includes index labels).
7325
7326 * pr-5020.exp, gdme.ch (module PR_5020):
7327 New test, for PR-5020.
7328
7329 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
7330
7331 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
7332 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
7333
7334 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
7335
7336 * Makefile.in: Fix bit-rot in definitions of CHILL,
7337 CHILL_FOR_TARGET and Chill_LIB.
7338 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
7339 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
7340 CHILL, and CHILL_LIB.
7341
7342 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
7343
7344 * Revert the previous changes. Please see Rob's directory
7345 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
7346
7347 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
7348
7349 * Makefile.in, configure.in, config/mips-gdb.exp,
7350 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
7351 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
7352 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
7353 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
7354 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
7355 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
7356 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
7357 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
7358 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
7359 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
7360 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
7361 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
7362 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
7363 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
7364 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
7365 changes from 94Q1.
7366
7367 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
7368
7369 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
7370 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
7371 Rob's new testing fragments.
7372
7373 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
7374
7375 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
7376 lib/gdb.exp: Replace error proc calls with perror.
7377
7378 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7379
7380 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
7381 version also, match on casted version strings, and match on
7382 gdb startup case where the line numbers might be messed up.
7383
7384 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
7385
7386 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
7387 (CFLAGS): Delete it from here.
7388
7389 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
7390
7391 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
7392
7393 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
7394
7395 * Makefile.in (RUNTEST): Default to just "runtest".
7396
7397 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7398
7399 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
7400 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
7401 the code has been restructured.
7402
7403 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7404
7405 * gdb.t00/default.exp (set write): Allow any number of \r and/or
7406 \n, not just one of each.
7407
7408 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
7409 /bin/cc gives a warning if you do.
7410
7411 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
7412
7413 * gdb.t24/demangle.exp: change expect pattern of
7414 __t10ListS_link1ZUiRCUiPT0
7415
7416 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7417
7418 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
7419 on local variables in recursive functions.
7420
7421 * gdb.t07/Makefile.in: Build the new test.
7422
7423 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7424
7425 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
7426 directly. Instead compare the return values from actual calls.
7427
7428 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
7429
7430 * Makefile.in (check): Set TCL_LIBRARY for runtest.
7431
7432 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7433
7434 * From Peter Schauer with minor modifications.
7435 * gdb.t15/return.exp (return_tests): Handle targets where "return"
7436 stops in mid-line in the caller. Add xfail for returning a float
7437 value on X86 targets.
7438
7439 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7440
7441 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
7442 to avoid expect lossage.
7443 (fmem_LRbug_tests): Likewise.
7444 * gdb.disasm/hppa.s: Corresponding changes.
7445
7446 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
7447 conditions to work with latest dejagnu/expect.
7448
7449 * gdb.t15/funcargs.exp (finish from indirect call): No longer
7450 expected to fail on the PA.
7451 (backtrace in call with trampolines): Explicitly require main
7452 to be frame #1 (no trampolines should show up in backtrace).
7453
7454 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
7455 "continue -expect".
7456 * gdb.t06/break.exp: Likewise.
7457 * gdb.t07/watchpoint.exp: Likewise.
7458 * gdb.t13/bitfields.exp: Likewise.
7459 * gdb.t15/{funcargs,return}.exp: Likewise.
7460 * gdb.stabs/weird.exp: Likewise.
7461 * config/{mips,udi}-gdb.exp: Likewise.
7462
7463 * hppa.sed: Enclose comments within a sed command to avoid
7464 losing with the old OSF1 sed.
7465
7466 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7467
7468 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
7469 sequent dynix.
7470 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
7471 * gdb.t15/funcargs.exp: Conditionally step again to really
7472 finish from marker_call_with_trampolines. Handle the case where
7473 the first step from within call_with_trampolines already steps
7474 us back to main.
7475 * gdb.t15/gdbme.c: Add comment to closing brace of
7476 call_with_trampolines for funcargs.exp.
7477
7478 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7479
7480 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7481 Fix typo(s).
7482
7483 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7484
7485 * gdb.t07/gdbme.c: More code for watchpoint testing.
7486
7487 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
7488 "Hardware watchpoint" throughout file.
7489 (test_watchpoint_triggered_in_syscall): New test.
7490 (test_complex_watchpoint): New test.
7491
7492 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7493
7494 * gdbme.c (call_with_trampolines): New function to try and step
7495 into. Tests trampoline problems on the PA.
7496
7497 * funcargs.exp (localvars_in_indirect_call): No longer expect
7498 stepping into indirect call to fail on PAs.
7499 (test_stepping_over_trampolines): New test.
7500
7501 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7502
7503 * TODO: Add suggestions for static member function tests, and
7504 completion tests.
7505
7506 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7507
7508 * TODO: Add suggestions for "p/a" tests.
7509
7510 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
7511 (default_gdb_exit): Replace all the hair with sending "quit" to
7512 the process with a simple close.
7513
7514 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7515
7516 * TODO: Add suggestions for shared library tests.
7517
7518 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7519
7520 * TODO: Add suggestions for x/s tests.
7521
7522 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7523
7524 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
7525 "enable once", and "enable breakpoints once" with ".*".
7526
7527 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7528
7529 * TODO: Add suggestions about structure passing tests.
7530
7531 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7532
7533 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
7534 the primary1 test, use work around if __GNUC__ < 2.
7535 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
7536 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
7537 Test for bad output rather than waiting for timeout. Issue
7538 second continue only if first continue failed.
7539
7540 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7541
7542 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
7543 operator[] test with gdb_test because the old code didn't seem to
7544 be getting the quoting right with the new dejagnu.
7545
7546 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
7547
7548 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
7549 one from the path.
7550 * Makefile.in: Use a fresh expect if there is one, use runtest
7551 from the src tree if there is one.
7552
7553 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7554
7555 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
7556 next over recursive call. Revise the tests from that point on
7557 (which had been skipped) to match GDB's actual (correct) output.
7558
7559 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
7560 with next over a breakpoint whose condition is false.
7561
7562 * gdb.t00/help.exp: Comment out "help set print" tests just like
7563 (and for same reason as) "help set" test.
7564
7565 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7566
7567 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
7568 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
7569
7570 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7571
7572 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
7573 necessary gdb_target_udi.
7574
7575 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
7576
7577 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
7578 1838 and 2417; they are fixed.
7579
7580 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
7581 gdb.t03/ptype.exp (ptype structure, ptype union):
7582 Remove xfails; the test is looser than when the xfails were added.
7583
7584 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
7585 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
7586
7587 * gdb.t01/run.exp: Only run shell test if isnative.
7588
7589 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
7590 since "run" automatically loads if necessary. Call gdb_target_udi
7591 after the "file" since "file" kills any execution target.
7592
7593 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
7594 GDB. GDB doesn't work that way (not anymore at least) on UDI.
7595 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
7596 argument for UDI.
7597
7598 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7599
7600 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
7601
7602 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
7603
7604 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7605
7606 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
7607 properly quoting regexps. This makes the second argument to
7608 demangle a fixed string, which matches the callers, instead of a
7609 shell-style pattern which is what the previous implementation
7610 used. Update some of the callers.
7611
7612 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7613
7614 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
7615 (comib_nullified_tests): Fix typo.
7616 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
7617 strings. No longer expected to fail.
7618
7619 * gdb.disasm/hppa.s (addib_tests): Fix typo.
7620 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
7621 strings. No longer expected to fail.
7622
7623 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
7624 string. No longer expected to fail.
7625
7626 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7627
7628 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
7629 No longer expected to fail.
7630
7631 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
7632 string. No longer expected to fail.
7633
7634 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7635
7636 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
7637 only in the names (I probably got most of them). I was even
7638 generous with some which differed in underscores in names, and
7639 probably missed a few, and I *still* was able to remove almost a
7640 third of the file with almost no impact on testsuite coverage.
7641
7642 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7643
7644 * gdb.t00/default.exp: Match udi_attach error message as well as
7645 the one from child_attach.
7646
7647 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
7648
7649 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
7650
7651 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
7652 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
7653
7654 * Move test with enums and partial symbols back to
7655 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
7656 Reverts the change of 26 May 93. Per today's change to
7657 stabs.texinfo, the behavior that weird.exp was expecting was
7658 unreasonable; what is important is that the compiler+gdb get
7659 things right, which happens with a recent gcc. Also fix the test
7660 to deal with native compilers which put out the stab gdb can't
7661 deal with.
7662
7663 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7664
7665 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
7666 in the names. The main thing these accomplish is to slow things down.
7667 Many more such duplicates surely remain.
7668
7669 * gdb.t00/help.exp: Comment out "help support" test just like
7670 (and for same reason as) "help set" test.
7671
7672 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
7673
7674 * gdb.t06/break.exp: Remove setup_xfails for
7675 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
7676 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
7677 about known bug in gcc to include up through 2.5.8.
7678 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
7679 well as "_vb$".
7680 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
7681 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
7682 with latest gcc and gdb.
7683 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
7684 well as "_vb$".
7685
7686 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7687
7688 * configure.in (hppa*-*-*): Also configure and build stabs-only
7689 tests.
7690
7691 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7692
7693 * gdb.t10/hppa.mt: A makefile fragment for the PA.
7694 * gdb.t10/configure.in (hppa*-*-*): Use it.
7695
7696 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7697
7698 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
7699
7700 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7701
7702 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
7703 versions prior to 1.13.5.
7704
7705 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7706
7707 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
7708 the prompt is at the start of a line.
7709
7710 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7711
7712 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
7713 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
7714 in the copr tests now.
7715 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
7716 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
7717 expected to fail.
7718
7719 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
7720
7721 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
7722 gdb.t31/chillvars.exp, lib/gdb.exp:
7723 Tweak to run under either version of expect.
7724 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
7725 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
7726 * gdb.t11/list.exp: Remove extraneous whitespace.
7727
7728 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7729
7730 * gdb.t16/printcmds.exp (test_print_strings): Accept
7731 "(unsigned char *) " before the string.
7732
7733 * TODO: Add notes about printing of fancy types and GDB expressions.
7734
7735 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
7736
7737 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
7738 * gdb.t06/configure.in: Don't try to compile signals test program
7739 if doing mips-idt-ecoff.
7740
7741 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
7742
7743 * Most .exp files: Tweak to run under either version of expect.
7744
7745 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7746
7747 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
7748 xfails; I'm not sure why they are failing, but not because of PR 1806.
7749
7750 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
7751
7752 * config/unix-gdb.exp: Remove gdb_unload cause it's already
7753 defined in lib/gdb.exp.
7754
7755 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7756
7757 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
7758 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
7759 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
7760 have to be typeless.
7761
7762 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7763
7764 * TODO: Add suggestion for copyright year test.
7765
7766 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
7767
7768 * configure.in (*-*-lynxos*): Add stabs tests.
7769
7770 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7771
7772 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
7773 so insert a tab before any assembler directive in column zero.
7774
7775 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
7776 stores.
7777 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
7778 stores.
7779 (fpu_short_memory_tests): Likewise.
7780
7781 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7782
7783 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
7784 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
7785 .stabs directives in comments.
7786
7787 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7788
7789 * TODO: New file, describing tests we could write.
7790 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
7791
7792 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7793
7794 * gdb.t06/signals.exp: Add kludge to force re-sync.
7795
7796 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
7797 to xgdb instead of gdb, get out of gdb.
7798
7799 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
7800
7801 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
7802 for info.
7803
7804 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7805
7806 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
7807 * gdb.stabs/configure.in (hppa*-*-*): Use it.
7808 * gdb.stabs/hppa.sed: New sed script for the PA.
7809
7810 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7811
7812 * gdb.stabs: Re-write weird.def and configuration to use sed
7813 instead of cpp. sed is portable and POSIX; cpp is neither.
7814
7815 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7816
7817 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
7818
7819 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7820
7821 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
7822
7823 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7824
7825 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
7826 "_vb$".
7827 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
7828 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
7829
7830 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7831
7832 * lib/gdb.exp: Comment out code which depends on non-existent
7833 `transform' procedure.
7834
7835 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
7836
7837 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
7838 * lib/gdb.exp: Transform tool name.
7839 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
7840 1.1's new error handling system.
7841
7842 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7843
7844 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
7845
7846 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7847
7848 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
7849 They made pattern matching so slow that timeouts happened on
7850 heavily loaded systems. Now any output from "show print" which
7851 gets us back to the GDB prompt is a PASS.
7852
7853 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
7854
7855 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
7856
7857 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7858
7859 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
7860
7861 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
7862 It is not from PR 3220.
7863
7864 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7865
7866 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
7867 just started failing because they depended on the order the
7868 subcommands are presented, or exact docstring text. This kind of
7869 test is a pain and has minimal benefit.
7870
7871 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7872
7873 * gdb.t09/corefile.exp: At end of test, use "core" command with
7874 no arguments.
7875
7876 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
7877
7878 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
7879 17}/Makefile.in: Make it possible to run the testsuite with Sun
7880 make and CC = cross gcc by adding explicit build rules for .o
7881 files.
7882
7883 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7884
7885 * gdb.t15/funcargs.exp: Don't put comments on same line as
7886 setup_xfail (@#$*%& tcl braindamage!).
7887
7888 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7889
7890 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
7891
7892 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
7893
7894 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
7895 * gdb.t20/inherit.exp: remove three dumplicate entries.
7896
7897 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7898
7899 * gdb.t06/break.exp: For "next over recursive call", fail on any
7900 incorrect output, not just on "factorial (value=2)".
7901
7902 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7903
7904 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
7905 working now. Add an xfail if accesing a bss variable causes
7906 a memory error if the target is not yet run.
7907
7908 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7909
7910 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
7911 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
7912 name of __st* demangling (2 strings). Did Kung really get the
7913 more than 95 others right without testing them?
7914
7915 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
7916
7917 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
7918
7919 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
7920
7921 * configure.in (configdirs): Add gdb.disasm
7922 * gdb.disasm: New directory for GDB disassembler tests.
7923 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
7924
7925 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7926
7927 * gdb.t00/help.exp: Don't test "help set".
7928
7929 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
7930 from within expect statements. None of these happen anymore and
7931 they cause regressions to be silently unnoticed.
7932
7933 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
7934 messages) about known failures with gcc cygnus-2.4.5-930417.
7935
7936 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
7937 comp-info.exp so it gets built if it doesn't exist.
7938
7939 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
7940 it is no longer used.
7941 * gdb.t13/comp-info.c: Removed.
7942
7943 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
7944
7945 * gdb.t06/signals.exp: Add xfail for sun3.
7946
7947 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7948
7949 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
7950 relevant because ^C doesn't get sent but failure can be reproduced
7951 interactively).
7952
7953 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7954
7955 * gdb.stabs/alpha.mt: New configuration file for alpha.
7956 * gdb.stabs/configure.in: Use it.
7957 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
7958 sharing with alpha.mt, redefine long to word via preprocessor.
7959 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
7960 for alpha.
7961 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
7962 native cc.
7963 * gdb.t00/teststrategy.exp: Change expect string so that we
7964 consume the `(xgdb)' from the command echo and from the gdb prompt.
7965 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
7966 gdb currently compares all values as long, so this failure probably
7967 applies to any configuration where LONGEST is bigger than a target int.
7968 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
7969 with gcc.
7970 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
7971 to handle opaque pointers, gcc is.
7972 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
7973 as first argument. Include <sys/types.h> and change all operator
7974 new definitions to use size_t.
7975 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
7976 now that we use size_t.
7977
7978 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7979
7980 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
7981 a long or float array cast all array members to the same type.
7982 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
7983 with 64 bit longs.
7984 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
7985 on alpha.
7986 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
7987
7988 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7989
7990 * gdb.t24 (demangle.exp): Constructors of templates have names like
7991 vector<int>::vector(int) not vector<int>::vector<int>(int). See
7992 section 14.6 of the ARM.
7993
7994 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
7995 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
7996 accomplish little and slow down the testsuite.
7997
7998 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
7999 Accept spaces various places.
8000
8001 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8002
8003 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8004 with watchpoint enabled.
8005
8006 * Makefile.in: Remove definition of CC and remove the second
8007 definition of CXX (the "CXX = gcc" one remains). These definitions
8008 were causing backquotes to be expanded within backquotes, which
8009 doesn't work.
8010
8011 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8012
8013 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8014
8015 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8016
8017 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8018 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8019 by mips cc and contains no stabs entries.
8020
8021 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8022
8023 * config/vx-gdb.exp: Use fake device to load files rather than
8024 NFS.
8025 * lib/gdb.exp: New proc to do "file" command.
8026 * config/unix-gdb.exp: Use new "file" proc.
8027
8028 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8029
8030 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8031 Rework board rebooting slightly.
8032 (gdb_exit): Don't exit from the remote shell; there isn't one.
8033 * gdb.stabs/weird.exp: If a program is being debugged already,
8034 kill it.
8035 * gdb.t04/setvar.exp: Stop and restart gdb.
8036 * gdb.t05/expr.exp: Likewise.
8037 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8038 restart gdb and reload the program.
8039 * gdb.t08/opaque.exp: Likewise.
8040 * gdb.t12/scope.exp: Likewise.
8041 * gdb.t13/bitfields.exp: Likewise.
8042 * gdb.t15/funcargs.exp: Likewise.
8043 * gdb.t20/classes.exp: Likewise.
8044 * gdb.t03/ptype.exp: Increase timeout.
8045 * gdb.t16/printcmds.exp (test_print_string_constants,
8046 test_print_array_constants): Likewise.
8047 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8048 * gdb.t20/classes.exp (do_tests): Likewise.
8049 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8050
8051 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8052
8053 * gdb.stabs: Renamed *wierd* to *weird*.
8054
8055 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8056
8057 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8058 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8059
8060 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8061
8062 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8063 (do_tests): Remove xfail for whatis on one_var and two_var.
8064
8065 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8066
8067 * Makefile.in: Made cross building work better by adding
8068 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8069
8070 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8071
8072 * gdb.t15/{return.c,return.exp,Makefile.in}:
8073 New test, currently commented out.
8074
8075 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8076
8077 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8078 still running and removes the leftover named socket so GDb can do
8079 clean restarts.
8080
8081 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
8082
8083 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
8084 console, not GDB.
8085 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
8086 cross testing works better with "make check"
8087 * config/unix-gdb: Use default procedures for exit and version.
8088 * config/vx-gdb.exp: Cleaned up and massaged back to working order
8089 with the newest VxWorks.
8090
8091 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8092
8093 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
8094 old form.
8095
8096 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
8097 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
8098
8099 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
8100
8101 * config/unix-gdb.exp: Remove this version of gdb_exit
8102 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
8103 Rob says he'll look at it when he gets back to testing boards.
8104
8105 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
8106
8107 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
8108 an expected fail for certain ptype commands.
8109
8110 * gdb.t20/classes.exp: Update expected results of "ptype class
8111 Base1" to account for the constructor that now appears in the type.
8112
8113 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
8114
8115 * configure.in (configdirs): Restore gdb.t04, which mysteriously
8116 disappeared from list.
8117 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
8118 "alldone" proc with call to cleanup and exit.
8119 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
8120 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
8121 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
8122 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
8123 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
8124 "alldone" proc with simple returns that suppress remaining
8125 tests. The alldone proc went away many months ago.
8126
8127 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8128
8129 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
8130
8131 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
8132
8133 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8134
8135 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
8136 as vax gdb will display them.
8137
8138 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8139
8140 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
8141 optimizers.
8142
8143 * scope.exp: Change "bad value for localval" messages so each one
8144 is unique.
8145
8146 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
8147 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
8148
8149 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
8150
8151 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8152
8153 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
8154 doesn't exist (due to optimization).
8155
8156 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8157
8158 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
8159 contains \r because the filename is long.
8160
8161 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
8162 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
8163
8164 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8165
8166 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
8167 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
8168 Ultrix.
8169 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8170 int tests.
8171 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
8172
8173 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
8174
8175 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
8176
8177 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
8178 to match does not match the passing case but still matches the
8179 failing case.
8180
8181 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8182
8183 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
8184
8185 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
8186
8187 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
8188 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
8189 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
8190 Remove various versions of gdb_exit.
8191 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
8192 gdb_exit.
8193 * config/unix-gdb.exp: gdb_exit remains here, and should override
8194 the generic version, since it's doing a lot of wierd stuff that
8195 the other versions aren't. FIXME, fold it in, or abandon this
8196 version.
8197
8198 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8199
8200 * gdb.t24/demangle.exp: Add tests for PR 3220.
8201
8202 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8203
8204 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
8205
8206 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
8207
8208 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
8209 "i386-*-*". Works for i486 as well.
8210
8211 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
8212 bug, and expand domain of xfail to all SVR4 systems, since the
8213 actual problem is likely to be in generic SVR4 /proc support.
8214
8215 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8216
8217 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
8218
8219 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
8220
8221 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
8222 xfails for other systems. Match a missing 'Continuing.' as an
8223 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
8224
8225 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
8226 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
8227 Only issue warning for missing executables if -all option is used.
8228
8229 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
8230 file if -all option is used. It's like an unpredictable XFAIL.
8231
8232 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8233
8234 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
8235 for dynamically linked binaries.
8236
8237 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
8238
8239 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8240
8241 * gdb.t20/inherit.exp: Change message for "print tagless struct"
8242 to state that this is a known bug in old versions of g++.
8243
8244 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8245
8246 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8247 while waiting for `Continuing'.
8248
8249 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8250
8251 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8252 in text, data, and bss.
8253 * gdb.t10/nodebug.c: Add local and global test variables for
8254 initialized and uninitialized data.
8255
8256 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8257
8258 * config/unix-gdb.exp (gdb_exit): Add "wait".
8259
8260 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8261
8262 * gdb.t06/signals.exp: xfail the continue from the handler for all
8263 targets.
8264
8265 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
8266 function with watchpoints enabled, the i386 call dummy starts with
8267 a call.
8268
8269 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
8270 386 bsd names its corefiles.
8271
8272 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
8273
8274 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
8275 compilers don't grok it.
8276 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
8277 with small octal ints rather than character constants, which
8278 are signed and might not fit if first promoted to int.
8279
8280 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
8281
8282 * gdb.t09/Makefile.in (clean): Remove corefile.
8283
8284 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8285
8286 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
8287
8288 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8289 and Jim Kingdon (kingdon@cygnus.com)
8290
8291 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
8292 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
8293 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
8294
8295 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8296
8297 * gdb.t17/interrupt.exp: Add xfail for hppa.
8298
8299 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8300
8301 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
8302 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
8303 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
8304 to determine signed-ness of bitfields and use the result to setup
8305 the xfail.
8306 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
8307 * gdb.t15/funcargs.exp: Use them to step until the second indirect
8308 call line is reached if necessary.
8309
8310 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8311
8312 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
8313
8314 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8315
8316 * gdb.t06/break.exp: Also test `clear' command.
8317
8318 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8319
8320 * gdb.t00/teststrategy.exp: Remove extra quote.
8321
8322 * gdb.t07/watchpoint.exp: Change xfail for calling function with
8323 watchpoint enabled to be for all non-68k machines.
8324
8325 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
8326
8327 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8328
8329 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
8330 targets use aout.mt instead of ecoff.mt as gas understands
8331 standard aout format.
8332
8333 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8334
8335 * lib/gdb.exp (runto): Don't insist that function we are running to
8336 was compiled with -g.
8337
8338 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
8339
8340 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
8341 to get back into the read system call.
8342 Accept leading newline in case where we woke it up.
8343
8344 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8345
8346 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
8347 to make the stabs test work on ecoff systems using gcc and -with-stabs.
8348 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
8349 enable ecoff configuration.
8350
8351 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8352
8353 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
8354
8355 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8356
8357 * gdb.t16/printcmds.exp: Add another printf test.
8358
8359 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
8360
8361 * configure.in: If configured -with-stabs on any target, add
8362 stabsdirs to configdirs.
8363
8364 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8365
8366 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
8367 fun" so pattern does not match the command itself.
8368
8369 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8370
8371 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
8372
8373 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8374
8375 * gdb.t17/interrupt.exp: Test for more things.
8376
8377 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8378
8379 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
8380 compiler arranges the code and line numbers.
8381
8382 * gdb.t17/interrupt.exp: Don't send \n after ^C.
8383
8384 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8385
8386 * gdb.t00/help.exp: Increase expect input buffer size.
8387
8388 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8389
8390 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
8391
8392 * gdb.t07/watchpoint.exp: Add xfail for hppa.
8393
8394 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
8395
8396 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
8397 [0-9]*, not just [0-9].
8398
8399 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8400
8401 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
8402
8403 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
8404
8405 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8406
8407 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
8408
8409 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8410
8411 * gdb.t06/signals.c: Add xfails for sun3.
8412
8413 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
8414
8415 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
8416 test_stepping tests.
8417
8418 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8419
8420 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
8421
8422 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
8423
8424 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
8425 rather than actually putting it through cpp twice.
8426
8427 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
8428
8429 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
8430
8431 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
8432 no longer needed.
8433
8434 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8435
8436 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
8437
8438 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
8439 C++ features prints as "struct", make it a pass, not an xfail.
8440
8441 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8442
8443 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
8444 Don't require VA to print as "class" rather than "struct".
8445
8446 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
8447
8448 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
8449
8450 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8451
8452 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
8453
8454 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8455
8456 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
8457 order.
8458
8459 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8460
8461 * gdb.t16/printcmds.exp: Add printf tests.
8462
8463 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
8464
8465 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
8466
8467 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
8468
8469 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
8470 pass counts, to counteract any existing or future setup_xfails.
8471
8472 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8473
8474 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
8475 {BEGIN,END}_COMMON for common block instead of STAB.
8476 * gdb.stabs/wierd.exp: Add xfail for rs6000.
8477
8478 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
8479 intp_var should be N_GSYM not N_LSYM.
8480 wierd-aout.S: Use a label for the value of the N_SO.
8481 wierd.def: Remove all backslashes.
8482 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
8483
8484 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8485
8486 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
8487 get the expected next to inheritance3.
8488
8489 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8490
8491 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
8492 now that gcc-2.4 gets it right.
8493
8494 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8495
8496 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
8497
8498 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
8499 generating comp-info.exp which works for cross-compilation.
8500
8501 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
8502
8503 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
8504 "*-*-sysv4.*".
8505
8506 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
8507
8508 * gdb.t01/run.exp: Start with a fresh gdb.
8509 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
8510 SVR4.x.
8511
8512 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
8513
8514 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
8515 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
8516 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
8517 Makefile.in (distclean, realclean): Remove gdbme.c from list of
8518 things to remove.
8519
8520 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
8521
8522 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
8523 test cases from bug reports.
8524
8525 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
8526
8527 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
8528 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
8529 avoid spurious xfails.
8530 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
8531 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
8532 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
8533
8534 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
8535
8536 * gdb.t00/teststrategy.exp: Rework to provide more useful
8537 description of each test, fix problem with systems that define
8538 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
8539 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
8540 results for "next over recursive call" so timeouts aren't taken
8541 by error.
8542
8543 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
8544
8545 * gdb.t12/scope.exp: Test printing of variables before run.
8546
8547 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
8548 printed in wrong order due to sorting.
8549
8550 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
8551
8552 * gdb.t00/teststrategy.exp: Fix expected results for printing
8553 user entered string constant. Is array of char, prints with no
8554 address.
8555
8556 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
8557 commands.
8558 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
8559 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
8560 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
8561 of struct of char arrays.
8562 * gdb.t00/radix.exp: New tests for radix commands.
8563
8564 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
8565
8566 * gdb.t16/printcmd.exp: Print a variable before running program
8567 (with xfail for AIX).
8568
8569 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
8570
8571 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
8572
8573 * gdb.t16/printcmd.exp: Don't print variables before running program.
8574
8575 * gdb.t06/break.exp: Don't require envp argument to main.
8576
8577 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
8578
8579 * gdb.t02/whatis.exp, gdb.t11/list.exp:
8580 Add xfails for rs6000.
8581
8582 * gdb.t02/whatis.exp: Change other tests not to re-test something
8583 we already tested.
8584
8585 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
8586 each type used has a variable of that type.
8587
8588 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
8589
8590 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
8591
8592 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8593
8594 * configure.in: change srctrigger to be a file, not a directory
8595
8596 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
8597
8598 * configure.in (mips-idt-ecoff*): Added trailing '*'.
8599
8600 * gdb.t11/list.exp: Fixed a couple of typos.
8601
8602 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
8603
8604 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
8605 is fixed and PR is closed.
8606 * gdb.t16 (gdbme.c): Add simple test string variable.
8607 * gdb.t16 (printcmds.exp): Add tests with simple test string
8608 variable, primarily for boundaries on "set print elements".
8609
8610 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
8611
8612 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
8613 Make leading 0's optional and don't expect a tab in the middle
8614 of the number.
8615
8616 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
8617
8618 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
8619 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
8620 don't end command passed to gdb_test with newline.
8621
8622 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
8623 signed keyword away, don't expect signed bitfields to be signed.
8624
8625 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
8626 printing with only as many 1's as are in the field as well as printing
8627 with 32 1's (see comment).
8628
8629 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
8630
8631 * gdb.t00/default.exp: Start with a fresh gdb.
8632 * configure.in (configdirs): Remove gdb.t31 until the chill
8633 compiler works again. It no longer is able to find chillrt0
8634 since it isn't in libchill.a anymore.
8635 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
8636 wierd.o, make more modular.
8637 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
8638 spurious newlines that caused problems.
8639
8640 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8641
8642 * Move test with enums and partial symbols from gdb.t03/ptype.exp
8643 to gdb.stabs/wierd.exp since GCC has worked around the bug.
8644 gdb.stabs/wierd.{exp,def}: Many new tests.
8645
8646 * gdb.t00/default.exp: update info line for new message.
8647
8648 * gdb.t02/{whatis.exp,gdbme.c}:
8649 Test that "char *" doesn't print as "caddr_t".
8650
8651 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8652
8653 * gdb.t00/help.exp: Use .* in place of some help messages which
8654 just changed.
8655 gdb.t00/default.exp: Update "info frame" test for new message.
8656 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
8657 Remove some xfails
8658
8659 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8660
8661 * gdb.t03/{gdbme.c,ptype.exp}:
8662 Add tests for typedef'd struct and union without tags.
8663 Also check "whatis" on a variable of a typedef'd enum without a tag.
8664
8665 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
8666 PRMS 1823; the bug still exists but isn't reproduced by this test
8667 anymore), and remove rs6000 XFAIL (the bug is fixed).
8668
8669 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
8670 duplicated from whatis.exp. For those that are left, accept
8671 "long", "long int", or "int" for long variables (whatis.exp already
8672 has an XFAIL for "int", so no need to fail it here).
8673
8674 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
8675 Deal with GCC's names for types now that GDB uses the compiler's names.
8676
8677 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
8678 setup_xfail's for sunos4. If we #defined the signed keyword away,
8679 don't expect GDB to know that char it is signed.
8680
8681 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
8682
8683 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
8684
8685 * configure.in (configdirs): Add gdb.t24 for C++ tests that
8686 should work on any system, regardless of debugging format.
8687 * gdb.t21/demangle.exp: Move to gdb.t24.
8688 * gdb.t24/demangle.exp: Move from gdb.t21.
8689 * gdb.t24/{Makefile.in, configure.in}: New files.
8690
8691 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8692
8693 * configure.in: Do gdb.stabs and C++ tests only for stabs.
8694 * gdb.stabs: New directory.
8695
8696 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8697
8698 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
8699 not just "Quit anyway?".
8700
8701 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
8702
8703 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
8704 that all setup_xfails are immediately followed by clear_xfails.
8705
8706 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
8707
8708 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
8709 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
8710 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
8711 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
8712 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
8713 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8714 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8715 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
8716 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
8717 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
8718 gdb.t31/chillvars.exp, lib/gdb.exp:
8719 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
8720 bug-gdb@prep.ai.mit.edu.
8721
8722 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
8723
8724 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
8725 with 0.0, not integer 0.
8726
8727 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
8728
8729 * gdb.t06/break.exp: Update for "Kill the program" message change.
8730
8731 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
8732
8733 * Makefile.in (GDBFLAGS): Set to -nx.
8734 * Makefile.in (site.exp): Use GDBFLAGS.
8735
8736 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8737
8738 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
8739 Makefiles.
8740 (check): depend on just-check.
8741 (just-check): added so that tests can be run without a noop
8742 build pass.
8743
8744 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8745
8746 Switch to using configure's configdirs.
8747 * Makefile.in (Makefile): add configure.in dependency.
8748 (SUBDIRS): removed redundant assignment.
8749 * configure.in: switch subdirs assignment to configdirs.
8750 * gdb.t*/configure.in: new files.
8751
8752 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
8753
8754 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
8755 works.
8756
8757 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
8758
8759 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
8760 in explicit rules. Apparently this is not supported by some makes.
8761
8762 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
8763
8764 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
8765
8766 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8767
8768 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
8769 disappeared.
8770
8771 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
8772
8773 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
8774
8775 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
8776
8777 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
8778 watchpoint problem that is now fixed.
8779 * gdb.t30/chexp.exp: Remove setup_xfail for printing
8780 uninitialized convenience variables.
8781 * gdb.t31/chillvars.exp: Fix expected patterns for printing
8782 structures.
8783
8784 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8785
8786 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
8787 which causes expect to get out of sync with gdb on long output
8788 from help set.
8789 * gdb.t09/corefile.exp: Make expected pattern for core file
8790 failing signal and frame output format less sun specific.
8791
8792 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
8793
8794 * gdb.t31/chillvars.exp: Add and remove initial dummy
8795 breakpoint, so that symbol table is forced in.
8796 (Needed at least on Sunos4, though it seems not SVR4.)
8797 * gdb.t31/chillvars.exp: Update for changed output format.
8798
8799 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
8800
8801 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
8802
8803 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
8804
8805 * Makefile.in: Added --srcdir when invoking runtest, removed the
8806 need for a local config file. (optional now)
8807
8808 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
8809
8810 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
8811 failure count used to force early termination. Add some more
8812 expected failures for gnu style demangling.
8813
8814 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8815
8816 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
8817 pmi variable from gdb.t20/gdbme to get optimized away.
8818 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
8819 Check for written corefile upon timeout _and_ eof.
8820
8821 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8822
8823 * config/unix-gdb.exp: Add missing return 0.
8824
8825 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8826
8827 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
8828 test termination.
8829
8830 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
8831
8832 * configure.in (subdirs): Put back gdb.t17 which mysteriously
8833 disappeared.
8834
8835 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
8836
8837 * gdb.t10/crossload.exp: Disable the i860-elf test until such
8838 time as i860 support works.
8839
8840 * gdb.t15/funcargs.exp: Fix expected outputs to include
8841 "backtrace 100\r" rather than just "backtrace\r", to match last
8842 change.
8843
8844 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
8845
8846 * config/udi-gdb.exp (gdb_exit): Remove close command.
8847 (gdb_target_udi): New procedure to set the UDI target.
8848 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
8849 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
8850 Added waits for prompts after several question responses. Added
8851 some more responses used by a29k-amd-udi-gdb.
8852 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
8853 pass different arguments, restart UDI connection after program
8854 completion.
8855 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
8856 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8857 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
8858 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
8859 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
8860 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
8861 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8862 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
8863 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
8864 after program completion.
8865 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
8866 compiled with a SELECT_VECS setting.
8867 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
8868 infinite recursion.
8869
8870 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
8871 Added checks for COFF results, and made them expected failures for
8872 all targets. It would be better to make them expected failures
8873 for COFF targets only.
8874
8875 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
8876
8877 * Makefile.in: add null dvi target, don't bother to recurse
8878 through test directories for info and install-info; rename
8879 $(datadir) to be dejagnu instead of deja-gnu
8880
8881 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
8882
8883 * gdb.t31/gdbme.ch: Re-enable code that previously caused
8884 compiler to coredump.
8885 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
8886 code.
8887
8888 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
8889
8890 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
8891 coredump.
8892 * gdb.t31/chillvars.exp: Comment out tests that depend on that
8893 code.
8894
8895 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
8896
8897 * gdb.t03/ptype.exp: tests for return code from gdb_test.
8898 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
8899 which in a shell. Deletes xgdb when done.
8900 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
8901 Tests the return from the "set height" or "set width" commands.
8902 Added a few return codes where needed.
8903
8904 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
8905
8906 * Makefile.in (SUBDIRS): Add gdb.t17.
8907 * configure.in (subdirs): Add gdb.t17.
8908 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
8909 files to test gdb's calling of functions in the inferior with
8910 the correct arguments and gdb's ability to retrieve any
8911 result returned.
8912
8913 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
8914
8915 * config/unix-gdb.exp (gdb_exit): Remove close commands that
8916 may be called after gdb goes away. Previous versions of expect
8917 needed these to avoid file descriptor leaks, but they cause
8918 errors with the current revision of expect.
8919 * gdb.t00/gdbvars.exp: Use -re on expected output after
8920 setting sevenbit-strings.
8921 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
8922 to set sevenbit-strings consistent across tests.
8923 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
8924 set sevenbit-strings consistent across tests.
8925
8926 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
8927
8928 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
8929 expected output to match current "expect" expectations.
8930
8931 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
8932
8933 * gdb.t00/default.exp: Change expected output for default "source"
8934 command, to match new gdb behavior which requires a filename to
8935 source.
8936
8937 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
8938
8939 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
8940 expected fail for i486-*-* that misses the marker2 function.
8941 * gdb.t10/crossload.exp (bfddefault): Allow successful
8942 recognition of a format to pass even if no symbols are found.
8943 Explicitly catch failures where the format is not recognized
8944 or is ambiguous, and add the reason to the fail message.
8945 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
8946 the cause is and invalid target and add reason to failure message.
8947 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
8948 elf32-i386, elf32-sparc, and elf32-i860.
8949 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
8950 Set up expected failure for 'filename'::variable scope resolution,
8951 which is now apparently broken on all targets.
8952 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
8953 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
8954 gdb.t23/templates.exp: Change failure for missing binfile into
8955 just a warning.
8956 gdb.t21/demangle.exp: Change all cfront references to 'arm'
8957 references.
8958
8959 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
8960
8961 * gdb.t00/default.exp: Add expected output for default "source"
8962 command, to match new gdb behavior.
8963 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
8964
8965 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
8966
8967 * config/*-gdb.exp: returns an error, rather than exiting on
8968 internal errors.
8969
8970 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
8971
8972 * gdb.t03/gdbme.c: Add pointer to struct variable.
8973 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
8974 referencing struct members.
8975
8976 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
8977
8978 * configure.in (mips-idt-ecoff): New target.
8979 * config/mips-gdb.exp: New file for remote board using MIPS remote
8980 debugging protocol.
8981
8982 * Redid configuration scheme. Removed gdb.t*/configure.in.
8983 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
8984 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
8985 distclean targets. Built executables via .o files. Adjusted
8986 tests to account for source files in $(srcdir) rather than
8987 $(objdir).
8988 * lib/gdb.exp (runto): Don't expect () after the function name,
8989 because it may have arguments.
8990
8991 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
8992
8993 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
8994 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
8995 expected failures for mips-idt-* and mips-sgi-*.
8996 * gdb.t00/default.exp (attach): Kill process if requested.
8997 * gdb.t00/help.exp (help target core, help target): Accept a gdb
8998 that does not read core files.
8999 * gdb.t01/run.exp: Removed checks for exit status code.
9000 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9001 it is linked in.
9002 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9003 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9004 appropriate, rather than doing it by hand.
9005 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9006 execution.
9007 * gdb.t10/crossload.exp: Kill existing program if needed.
9008 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9009 appropriate, rather than doing it by hand. Always increase
9010 timeout for this test, not just for VxWorks.
9011
9012 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9013
9014 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9015 of Chill STRUCT types and STRUCT values.
9016 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9017 than "char".
9018 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
9019 struct2): New struct definitions and initializations to test
9020 simple Chill STRUCT types.
9021
9022 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9023
9024 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9025 the null byte at the end of strings.
9026 * gdb.t00/default.exp: Make show version insensitive to copyright
9027 date.
9028 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9029 to avoid dependencies on target char signedness.
9030 * gdb.t16/printcmds.exp: Update expected results for explicitly
9031 unsigned char.
9032 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9033 now work.
9034 * gdb.t21/demangle.exp: Add many more patterns for template
9035 demangling, most of them being expected failures.
9036 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9037 string we are matching for, to match on the whole string.
9038 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9039 and fix a whole bunch that had incorrect expected output but were
9040 passing anyway because of the bug in "proc demangle".
9041 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9042 type.
9043 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9044
9045 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9046
9047 * gdb/testsuite: made modifications to testcases, etc., to allow
9048 them to work properly given the reorganization of deja-gnu and the
9049 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9050
9051 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9052
9053 * gdb/testsuite: Initial creation of gdb/testsuite.
9054 Migrated dejagnu testcases and support files for testing nm to
9055 gdb/testsuite from deja-gnu. These files were moved "as is"
9056 with no modifications. This migration is part of a major overhaul
9057 of dejagnu. The modifications to these testcases, etc., which
9058 will allow them to work with the new version of dejagnu will be
9059 made in a future update.
9060 \f
9061 Local Variables:
9062 mode: indented-text
9063 left-margin: 8
9064 fill-column: 74
9065 version-control: never
9066 End: